AdminLTE/dist/js/adminlte.min.js
REJack f70483a806
plugins updates part 2
- added .editorconfig
- updated package.json & build/npm/Plugins.js according to the following changes
- updated dev dependencies to clear audits
- updated daterangepicker
- updated overlayScrollbars
- moved flot (0.8.2) to flot-old for plugins
- updated flot
- updated fullcalendar
- replaced icheck with icheck-bootstrap & updated demo files
- added icheck-bootstrap color overrides
- updated inputmask
- updated ion-rangeslider
- updated jquery-ui
- updated bootstrap-slider tweaks & demo files
- replaced jvectormap with jqvmap & updated demo files
- added jquery-mapael & replaced in index2 jvectormap
- updated jquery-knob
- replaced pace with pace-progress
- updated select2 & demo files
- replaced jquery.sparkline with sparklines & updated demo files and removed jquery.sparkline demo section
2019-06-14 09:33:43 +02:00

7 lines
9.2 KiB
JavaScript

/*!
* AdminLTE v3.0.0-beta.1 (https://adminlte.io)
* Copyright 2014-2019 Colorlib <http://colorlib.com>
* Licensed under MIT (https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE)
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).adminlte={})}(this,function(e){"use strict";var i,t,o,n,s,a,r,c,l,d,f,h,u,g,p,_,v,m,y,C,w,b,j,S,E,x,D,Q,I,A,L,O,P,H,T,k,z,N,M,U,W,X,R,V,q,B,F,G,J,K,Y,Z,$,ee,te,ne,ie,oe,se,ae,re,ce,le,de,fe,he,ue,ge,pe,_e,ve,me,ye,Ce=(i=jQuery,t="ControlSidebar",o="lte.control.sidebar",n=i.fn[t],s=".control-sidebar",a='[data-widget="control-sidebar"]',r=".main-header",c="control-sidebar-open",l="control-sidebar-slide-open",d={slide:!0},f=function(){function n(e,t){this._element=e,this._config=this._getConfig(t)}var e=n.prototype;return e.show=function(){this._config.slide?i("body").removeClass(l):i("body").removeClass(c)},e.collapse=function(){this._config.slide?i("body").addClass(l):i("body").addClass(c)},e.toggle=function(){this._setMargin(),i("body").hasClass(c)||i("body").hasClass(l)?this.show():this.collapse()},e._getConfig=function(e){return i.extend({},d,e)},e._setMargin=function(){i(s).css({top:i(r).innerHeight()})},n._jQueryInterface=function(t){return this.each(function(){var e=i(this).data(o);if(e||(e=new n(this,i(this).data()),i(this).data(o,e)),"undefined"===e[t])throw new Error(t+" is not a function");e[t]()})},n}(),i(document).on("click",a,function(e){e.preventDefault(),f._jQueryInterface.call(i(this),"toggle")}),i.fn[t]=f._jQueryInterface,i.fn[t].Constructor=f,i.fn[t].noConflict=function(){return i.fn[t]=n,f._jQueryInterface},f),we=(h=jQuery,u="Layout",g="lte.layout",p=h.fn[u],_=".main-header",v=".main-sidebar .sidebar",m=".content-wrapper",y=".brand-link",C=".control-sidebar",w=".main-footer",b="hold-transition",j="content-fixed",S="layout-fixed",E="layout-navbar-fixed",x="layout-footer-fixed",D={scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l"},Q=function(){function i(e,t){this._config=t,this._element=e,this._init()}var e=i.prototype;return e.fixLayoutHeight=function(){var e={window:h(window).height(),header:h(_).outerHeight(),footer:h(w).outerHeight(),sidebar:h(v).height()},t=this._max(e);h("body").hasClass(S)?(h(m).css("min-height",t-e.header-e.footer),h(C+" .control-sidebar-content").css("height",t-e.header),"undefined"!=typeof h.fn.overlayScrollbars&&(h(v).overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}),h(C+" .control-sidebar-content").overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}))):e.sidebar<e.window?h(m).css("min-height",e.window-e.header-e.footer):h(m).css("min-height",e.sidebar-e.header),h("body").hasClass(E)&&(h(y).css("height",e.header),h(v).css("margin-top",e.header),h(v).css("margin-top",e.header)),h("body").hasClass(x)&&h(m).css("margin-bottom",e.footer),h("body").hasClass(j)&&h(m).css("height",h(m).css("min-height"))},e._init=function(){var e=this;h("body").removeClass(b),this.fixLayoutHeight(),h(v).on("collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu",function(){e.fixLayoutHeight()}),h(window).resize(function(){e.fixLayoutHeight()}),h("body, html").css("height","auto")},e._max=function(t){var n=0;return Object.keys(t).forEach(function(e){t[e]>n&&(n=t[e])}),n},i._jQueryInterface=function(n){return this.each(function(){var e=h(this).data(g),t=h.extend({},D,h(this).data());e||(e=new i(h(this),t),h(this).data(g,e)),"init"===n&&e[n]()})},i}(),h(window).on("load",function(){Q._jQueryInterface.call(h("body"))}),h.fn[u]=Q._jQueryInterface,h.fn[u].Constructor=Q,h.fn[u].noConflict=function(){return h.fn[u]=p,Q._jQueryInterface},Q),be=(I=jQuery,A="PushMenu",O="."+(L="lte.pushmenu"),P=I.fn[A],T={autoCollapseSize:!(H={COLLAPSED:"collapsed"+O,SHOWN:"shown"+O}),screenCollapseSize:768},k='[data-widget="pushmenu"]',z="body",N="#sidebar-overlay",M=".wrapper",U="sidebar-collapse",W="sidebar-open",X=function(){function i(e,t){this._element=e,this._options=I.extend({},T,t),this._init(),I(N).length||this._addOverlay()}var e=i.prototype;return e.show=function(){I(z).addClass(W).removeClass(U);var e=I.Event(H.SHOWN);I(this._element).trigger(e)},e.collapse=function(){I(z).removeClass(W).addClass(U);var e=I.Event(H.COLLAPSED);I(this._element).trigger(e)},e.isShown=function(){return I(window).width()>=this._options.screenCollapseSize?!I(z).hasClass(U):I(z).hasClass(W)},e.toggle=function(){this.isShown()?this.collapse():this.show()},e.autoCollapse=function(){this._options.autoCollapseSize&&(I(window).width()<=this._options.autoCollapseSize?this.isShown()&&this.toggle():this.isShown()||this.toggle())},e._init=function(){var e=this;this.autoCollapse(),I(window).resize(function(){e.autoCollapse()})},e._addOverlay=function(){var e=this,t=I("<div />",{id:"sidebar-overlay"});t.on("click",function(){e.collapse()}),I(M).append(t)},i._jQueryInterface=function(n){return this.each(function(){var e=I(this).data(L),t=I.extend({},T,I(this).data());e||(e=new i(this,t),I(this).data(L,e)),"toggle"===n&&e[n]()})},i}(),I(document).on("click",k,function(e){e.preventDefault();var t=e.currentTarget;"pushmenu"!==I(t).data("widget")&&(t=I(t).closest(k)),X._jQueryInterface.call(I(t),"toggle")}),I(window).on("load",function(){X._jQueryInterface.call(I(k))}),I.fn[A]=X._jQueryInterface,I.fn[A].Constructor=X,I.fn[A].noConflict=function(){return I.fn[A]=P,X._jQueryInterface},X),je=(R=jQuery,V="Treeview",B="."+(q="lte.treeview"),F=R.fn[V],G={SELECTED:"selected"+B,EXPANDED:"expanded"+B,COLLAPSED:"collapsed"+B,LOAD_DATA_API:"load"+B},J=".nav-item",K=".nav-treeview",Y=".menu-open",$="menu-open",ee={trigger:(Z='[data-widget="treeview"]')+" "+".nav-link",animationSpeed:300,accordion:!0},te=function(){function i(e,t){this._config=t,this._element=e}var e=i.prototype;return e.init=function(){this._setupListeners()},e.expand=function(e,t){var n=this,i=R.Event(G.EXPANDED);if(this._config.accordion){var o=t.siblings(Y).first(),s=o.find(K).first();this.collapse(s,o)}e.slideDown(this._config.animationSpeed,function(){t.addClass($),R(n._element).trigger(i)})},e.collapse=function(e,t){var n=this,i=R.Event(G.COLLAPSED);e.slideUp(this._config.animationSpeed,function(){t.removeClass($),R(n._element).trigger(i),e.find(Y+" > "+K).slideUp(),e.find(Y).removeClass($)})},e.toggle=function(e){var t=R(e.currentTarget),n=t.next();if(n.is(K)){e.preventDefault();var i=t.parents(J).first();i.hasClass($)?this.collapse(R(n),i):this.expand(R(n),i)}},e._setupListeners=function(){var t=this;R(document).on("click",this._config.trigger,function(e){t.toggle(e)})},i._jQueryInterface=function(n){return this.each(function(){var e=R(this).data(q),t=R.extend({},ee,R(this).data());e||(e=new i(R(this),t),R(this).data(q,e)),"init"===n&&e[n]()})},i}(),R(window).on(G.LOAD_DATA_API,function(){R(Z).each(function(){te._jQueryInterface.call(R(this),"init")})}),R.fn[V]=te._jQueryInterface,R.fn[V].Constructor=te,R.fn[V].noConflict=function(){return R.fn[V]=F,te._jQueryInterface},te),Se=(ne=jQuery,ie="Widget",se="."+(oe="lte.widget"),ae=ne.fn[ie],re={EXPANDED:"expanded"+se,COLLAPSED:"collapsed"+se,REMOVED:"removed"+se},de=".card",fe=".card-body",he=".card-footer",ue=".fa-minus",ge=".fa-plus",pe="collapsed-card",_e="fa-minus",ve="fa-plus",me={animationSpeed:"normal",collapseTrigger:le='[data-widget="collapse"]',removeTrigger:ce='[data-widget="remove"]'},ye=function(){function n(e,t){this._element=e,this._parent=e.parents(de).first(),this._settings=ne.extend({},me,t)}var e=n.prototype;return e.collapse=function(){var e=this;this._parent.children(fe+", "+he).slideUp(this._settings.animationSpeed,function(){e._parent.addClass(pe)}),this._element.children(ue).addClass(ve).removeClass(_e);var t=ne.Event(re.COLLAPSED);this._element.trigger(t,this._parent)},e.expand=function(){var e=this;this._parent.children(fe+", "+he).slideDown(this._settings.animationSpeed,function(){e._parent.removeClass(pe)}),this._element.children(ge).addClass(_e).removeClass(ve);var t=ne.Event(re.EXPANDED);this._element.trigger(t,this._parent)},e.remove=function(){this._parent.slideUp();var e=ne.Event(re.REMOVED);this._element.trigger(e,this._parent)},e.toggle=function(){this._parent.hasClass(pe)?this.expand():this.collapse()},e._init=function(e){var t=this;this._parent=e,ne(this).find(this._settings.collapseTrigger).click(function(){t.toggle()}),ne(this).find(this._settings.removeTrigger).click(function(){t.remove()})},n._jQueryInterface=function(t){return this.each(function(){var e=ne(this).data(oe);e||(e=new n(ne(this),e),ne(this).data(oe,"string"==typeof t?e:t)),"string"==typeof t&&t.match(/remove|toggle/)?e[t]():"object"==typeof t&&e._init(ne(this))})},n}(),ne(document).on("click",le,function(e){e&&e.preventDefault(),ye._jQueryInterface.call(ne(this),"toggle")}),ne(document).on("click",ce,function(e){e&&e.preventDefault(),ye._jQueryInterface.call(ne(this),"remove")}),ne.fn[ie]=ye._jQueryInterface,ne.fn[ie].Constructor=ye,ne.fn[ie].noConflict=function(){return ne.fn[ie]=ae,ye._jQueryInterface},ye);e.ControlSidebar=Ce,e.Layout=we,e.PushMenu=be,e.Treeview=je,e.Widget=Se,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=adminlte.min.js.map