1234567891011121314151617181920212223242526 |
- /**
- * Kendo UI v2019.2.619 (http://www.telerik.com/kendo-ui)
- * Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. 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(i,define){define("kendo.pane.min",["kendo.view.min"],i)}(function(){return function(i,e){var t=window.kendo,n=t.roleSelector,o=t.ui,a=o.Widget,r=t.ViewEngine,s=t.View,l=i.extend,c="navigate",p="viewShow",d="sameViewRequested",u=t.support.mobileOS,h=u.ios&&!u.appMode&&u.flatVersion>=700,v="#:back",f=".",w={pane:"k-pane",paneWrapper:"k-pane-wrapper",collapsiblePane:"k-collapsible-pane",vertical:"k-vertical"},g=a.extend({init:function(i,e){var n=this;a.fn.init.call(n,i,e),e=n.options,i=n.element,i.addClass(w.pane),n.options.collapsible&&i.addClass(w.collapsiblePane),this.history=[],this.historyCallback=function(i,e,t){var o=n.transition;return n.transition=null,h&&t&&(o="none"),n.viewEngine.showView(i,o,e)},this._historyNavigate=function(i){if(i===v){if(1===n.history.length)return;n.history.pop(),i=n.history[n.history.length-1]}else i instanceof s&&(i=""),n.history.push(i);n.historyCallback(i,t.parseQueryStringParams(i))},this._historyReplace=function(i){var e=t.parseQueryStringParams(i);n.history[n.history.length-1]=i,n.historyCallback(i,e)},n.viewEngine=new r(l({},{container:i,transition:e.transition,modelScope:e.modelScope,rootNeeded:!e.initial,serverNavigation:e.serverNavigation,remoteViewURLPrefix:e.root||"",layout:e.layout,$angular:e.$angular,showStart:function(){n.closeActiveDialogs()},after:function(){},viewShow:function(i){n.trigger(p,i)},loadStart:function(){},loadComplete:function(){},sameViewRequested:function(){n.trigger(d)},viewTypeDetermined:function(i){i.remote&&n.options.serverNavigation||n.trigger(c,{url:i.url})}},this.options.viewEngine)),this._setPortraitWidth(),t.onResize(function(){n._setPortraitWidth()})},closeActiveDialogs:function(){var e=this.element.find(n("actionsheet popover modalview")).filter(":visible");e.each(function(){t.widgetInstance(i(this),o).close()})},navigateToInitial:function(){var i=this.options.initial;return i&&this.navigate(i),i},options:{name:"Pane",portraitWidth:"",transition:"",layout:"",collapsible:!1,initial:null,modelScope:window},events:[c,p,d],append:function(i){return this.viewEngine.append(i)},destroy:function(){var i=this;a.fn.destroy.call(i),i.viewEngine&&i.viewEngine.destroy()},navigate:function(i,e){i instanceof s&&(i=i.id),this.transition=e,this._historyNavigate(i)},replace:function(i,e){i instanceof s&&(i=i.id),this.transition=e,this._historyReplace(i)},view:function(){return this.viewEngine.view()},_setPortraitWidth:function(){var i,e=this.options.portraitWidth;e&&(i=t.mobile.application.element.is(f+w.vertical)?e:"auto",this.element.css("width",i))}});g.wrap=function(i,e){var o,a;return i.is(n("view"))||(i=i.wrap("<div data-"+t.ns+'role="view" data-stretch="true"></div>').parent()),o=i.wrap('<div class="'+w.paneWrapper+' k-widget"><div></div></div>').parent(),a=new g(o,e),a.navigate(""),a},t.Pane=g}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(i,e,t){(t||e)()});
- //# sourceMappingURL=kendo.pane.min.js.map
|