Sistema de Gestión Documental
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

0 lines
717 KiB

5 years ago
  1. !function(){var e={3752:function(e,t,n){var i=n(9755);if(void 0===i)throw new Error("AdminLTE requires jQuery");!function(e){"use strict";function t(t,n){if(this.element=t,this.options=n,this.$overlay=e(n.overlayTemplate),""===n.source)throw new Error("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()}var n="lte.boxrefresh",i={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(e){return e}};function s(s){return this.each((function(){var a=e(this),r=a.data(n);if(!r){var o=e.extend({},i,a.data(),"object"==typeof s&&s);a.data(n,r=new t(a,o))}if("string"==typeof r){if(void 0===r[s])throw new Error("No method named "+s);r[s]()}}))}t.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(e(this)),e.get(this.options.source,this.options.params,function(t){this.options.loadInContent&&e(this.element).find(this.options.content).html(t),this.options.onLoadDone.call(e(this),t),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},t.prototype._setUpListeners=function(){e(this.element).on("click",this.options.trigger,function(e){e&&e.preventDefault(),this.load()}.bind(this))},t.prototype._addOverlay=function(){e(this.element).append(this.$overlay)},t.prototype._removeOverlay=function(){e(this.$overlay).remove()};var a=e.fn.boxRefresh;e.fn.boxRefresh=s,e.fn.boxRefresh.Constructor=t,e.fn.boxRefresh.noConflict=function(){return e.fn.boxRefresh=a,this},e(window).on("load",(function(){e('[data-widget="box-refresh"]').each((function(){s.call(e(this))}))}))}(i),function(e){"use strict";function t(e,t){this.element=e,this.options=t,this._setUpListeners()}var n="lte.boxwidget",i={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},s=".box-header",a=".box-body",r=".box-footer",o=".box-tools",d="collapsed-box";function l(s){return this.each((function(){var a=e(this),r=a.data(n);if(!r){var o=e.extend({},i,a.data(),"object"==typeof s&&s);a.data(n,r=new t(a,o))}if("string"==typeof s){if(void 0===r[s])throw new Error("No method named "+s);r[s]()}}))}t.prototype.toggle=function(){e(this.element).is(".collapsed-box")?this.expand():this.collapse()},t.prototype.expand=function(){var t=e.Event("expanded.boxwidget"),n=e.Event("expanding.boxwidget"),i=this.options.collapseIcon,l=this.options.expandIcon;e(this.element).removeClass(d),e(this.element).children(s+", "+a+", "+r).children(o).find("."+l).removeClass(l).addClass(i),e(this.element).children(a+", "+r).slideDown(this.options.animationSpeed,function(){e(this.element).trigger(t)}.bind(this)).trigger(n)},t.prototype.collapse=function(){var t=e.Event("collapsed.boxwidget"),n=e.Event("collapsing.boxwidget"),i=this.options.collapseIcon,l=this.options.expandIcon;e(this.element).children(s+", "+a+", "+r).children(o).find("."+i).removeClass(i).addClass(l),e(this.element).children(a+", "+r).slideUp(this.options.animationSpeed,function(){e(this.element).addClass(d),e(this.element).trigger(t)}.bind(this)).trigger(n)},t.prototype.remove=function(){var t=e.Event("removed.boxwidget"),n=e.Event("removing.boxwidget");e(this.element).slideUp(this.options.animationSpeed,function(){e(this.element).trigger(t),e(this.element).remove()}.bind(this)).trigger(n)},t.prototype._setUpListeners=function(){var t=this;e(this.element).on("click",this.options.collapseTrigger,(function(n){return n&&n.preventDefault(),t.toggle(e(this)),!1})),e(this.element).on("click",this.options.removeTrigger,(function(n){return n&&n.preventDefault(),t.remove(e(this)),!1}))};var u=e.fn.boxWidget;e.fn.boxWidget=l,e.fn.boxWidget.Constructor=t,e.fn.boxWidget.noConflict=function(){return e.fn.boxWidget=u,this},e(window).on("load",(function(){e(".box").each((function(){l.call(e(this))}))}))}(i),function(e){"use strict";function t(e,t){this