/** 
 * Kendo UI v2016.3.1118 (http://www.telerik.com/kendo-ui)                                                                                                                                              
 * Copyright 2016 Telerik AD. All rights reserved.                                                                                                                                                      
 *                                                                                                                                                                                                      
 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       

*/
!function(e,define){define("kendo.mobile.modalview.min",["kendo.mobile.shim.min","kendo.mobile.view.min"],e)}(function(){return function(e,i){var t=window.kendo,n=t.mobile.ui,o=n.Shim,s=n.Widget,r="beforeOpen",a="open",l="close",d="init",h='<div class="km-modalview-wrapper" />',m=n.View.extend({init:function(e,i){var t=this;s.fn.init.call(t,e,i),t._id(),t._wrap(),t._shim(),this.options.$angular||(t._layout(),t._scroller(),t._model()),t.element.css("display",""),t.trigger(d)},events:[d,r,a,l],options:{name:"ModalView",modal:!0,width:null,height:null},destroy:function(){s.fn.destroy.call(this),this.shim.destroy()},open:function(i){var t=this;t.target=e(i),t.shim.show(),t._invokeNgController(),t.trigger("show",{view:t})},openFor:function(e){this.trigger(r,{target:e})||(this.open(e),this.trigger(a,{target:e}))},close:function(){this.element.is(":visible")&&!this.trigger(l)&&this.shim.hide()},_wrap:function(){var e,i,t=this,n=t.element,o=t.options;e=n[0].style.width||"auto",i=n[0].style.height||"auto",n.addClass("km-modalview").wrap(h),t.wrapper=n.parent().css({width:o.width||e||300,height:o.height||i||300}).addClass("auto"==i?" km-auto-height":""),n.css({width:"",height:""})},_shim:function(){var e=this;e.shim=new o(e.wrapper,{modal:e.options.modal,position:"center center",align:"center center",effect:"fade:in",className:"km-modalview-root",hide:function(i){e.trigger(l)&&i.preventDefault()}})}});n.plugin(m)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,i,t){(t||i)()});
//# sourceMappingURL=kendo.mobile.modalview.min.js.map
