init commit

This commit is contained in:
zino committed 2021-02-16 23:07:41 +01:00
1 parent ec3fc78e0f
commit 12b4ef5db4
5000 files changed
+2596132

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
if("undefined"==typeof jQuery)throw new Error("AdminLTE requires jQuery");!function(i){"use strict";var s="lte.boxrefresh",r={source:"",params:{},trigger:".refresh-btn",content:".box-body",loadInContent:!0,responseType:"",overlayTemplate:'<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>',onLoadStart:function(){},onLoadDone:function(t){return t}},t={data:'[data-widget="box-refresh"]'},a=function(t,e){if(this.element=t,this.options=e,this.$overlay=i(e.overlay),""===e.source)throw new Error("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()};function e(n){return this.each(function(){var t=i(this),e=t.data(s);if(!e){var o=i.extend({},r,t.data(),"object"==typeof n&&n);t.data(s,e=new a(t,o))}if("string"==typeof e){if(void 0===e[n])throw new Error("No method named "+n);e[n]()}})}a.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(i(this)),i.get(this.options.source,this.options.params,function(t){this.options.loadInContent&&i(this.options.content).html(t),this.options.onLoadDone.call(i(this),t),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},a.prototype._setUpListeners=function(){i(this.element).on("click",t.trigger,function(t){t&&t.preventDefault(),this.load()}.bind(this))},a.prototype._addOverlay=function(){i(this.element).append(this.$overlay)},a.prototype._removeOverlay=function(){i(this.element).remove(this.$overlay)};var o=i.fn.boxRefresh;i.fn.boxRefresh=e,i.fn.boxRefresh.Constructor=a,i.fn.boxRefresh.noConflict=function(){return i.fn.boxRefresh=o,this},i(window).on("load",function(){i(t.data).each(function(){e.call(i(this))})})}(jQuery),function(i){"use strict";var s="lte.boxwidget",r={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},t=".box",e=".collapsed-box",n=".box-body",a=".box-footer",d=".box-tools",c="collapsed-box",l="collapsed.boxwidget",h="expanded.boxwidget",o="removed.boxwidget",p=function(t,e){this.element=t,this.options=e,this._setUpListeners()};function f(n){return this.each(function(){var t=i(this),e=t.data(s);if(!e){var o=i.extend({},r,t.data(),"object"==typeof n&&n);t.data(s,e=new p(t,o))}if("string"==typeof n){if(void 0===e[n])throw new Error("No method named "+n);e[n]()}})}p.prototype.toggle=function(){!i(this.element).is(e)?this.collapse():this.expand()},p.prototype.expand=function(){var t=i.Event(h),e=this.options.collapseIcon,o=this.options.expandIcon;i(this.element).removeClass(c),i(this.element).find(d).find("."+o).removeClass(o).addClass(e),i(this.element).find(n+", "+a).slideDown(this.options.animationSpeed,function(){i(this.element).trigger(t)}.bind(this))},p.prototype.collapse=function(){var t=i.Event(l),e=this.options.collapseIcon,o=this.options.expandIcon;i(this.element).find(d).find("."+e).removeClass(e).addClass(o),i(this.element).find(n+", "+a).slideUp(this.options.animationSpeed,function(){i(this.element).addClass(c),i(this.element).trigger(t)}.bind(this))},p.prototype.remove=function(){var t=i.Event(o);i(this.element).slideUp(this.options.animationSpeed,function(){i(this.element).trigger(t),i(this.element).remove()}.bind(this))},p.prototype._setUpListeners=function(){var e=this;i(this.element).on("click",this.options.collapseTrigger,function(t){t&&t.preventDefault(),e.toggle()}),i(this.element).on("click",this.options.removeTrigger,function(t){t&&t.preventDefault(),e.remove()})};var u=i.fn.boxWidget;i.fn.boxWidget=f,i.fn.boxWidget.Constructor=p,i.fn.boxWidget.noConflict=function(){return i.fn.boxWidget=u,this},i(window).on("load",function(){i(t).each(function(){f.call(i(this))})})}(jQuery),function(i){"use strict";var s="lte.controlsidebar",r={slide:!0},e=".control-sidebar",t='[data-toggle="control-sidebar"]',o=".control-sidebar-open",n=".control-sidebar-bg",a=".wrapper",d=".layout-boxed",c="control-sidebar-open",l="collapsed.controlsidebar",h="expanded.controlsidebar",p=function(t,e){this.element=t,this.options=e,this.hasBindedResize=!1,this.init()};function f(n){return this.each(function(){var t=i(this),e=t.data(s);if(!e){var o=i.extend({},r,t.data(),"object"==typeof n&&n);t.data(s,e=new p(t,o))}"string"==typeof n&&e.toggle()})}p.prototype.init=function(){i(this.element).is(t)||i(this).on("click",this.toggle),this.fix(),i(window).resize(function(){this.fix()}.bind(this))},p.prototype.toggle=function(t){t&&t.preventDefault(),this.fix(),i(e).is(o)||i("body").is(o)?this.collapse():this.expand()},p.prototype.expand=function(){this.options.slide?i(e).addClass(c):i("body").addClass(c),i(this.element).trigger(i.Event(h))},p.prototype.collapse=function(){i("body, "+e).removeClass(c),i(this.element).trigger(i.Event(l))},p.prototype.fix=function(){i("body").is(d)&&this._fixForBoxed(i(n))},p.prototype._fixForBoxed=function(t){t.css({position:"absolute",height:i(a).height()})};var u=i.fn.controlSidebar;i.fLine truncated