upgraded PHPMailer, AdminLTE, chartJS, Select2 Libraries

This commit is contained in:
johnny@pittpc.com
2020-01-21 00:45:16 -05:00
parent 382a4b2842
commit cf740d3ce4
179 changed files with 8016 additions and 15932 deletions

68
dist/js/adminlte.js vendored
View File

@@ -1,6 +1,6 @@
/*!
* AdminLTE v3.0.1 (https://adminlte.io)
* Copyright 2014-2019 Colorlib <http://colorlib.com>
* AdminLTE v3.0.2 (https://adminlte.io)
* Copyright 2014-2020 Colorlib <http://colorlib.com>
* Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
*/
(function (global, factory) {
@@ -75,7 +75,7 @@
var _proto = ControlSidebar.prototype;
_proto.show = function show() {
_proto.collapse = function collapse() {
// Show the control sidebar
if (this._config.controlsidebarSlide) {
$('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE);
@@ -88,11 +88,11 @@
$('body').removeClass(ClassName.CONTROL_SIDEBAR_OPEN);
}
var expandedEvent = $.Event(Event.EXPANDED);
$(this._element).trigger(expandedEvent);
var collapsedEvent = $.Event(Event.COLLAPSED);
$(this._element).trigger(collapsedEvent);
};
_proto.collapse = function collapse() {
_proto.show = function show() {
// Collapse the control sidebar
if (this._config.controlsidebarSlide) {
$('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE);
@@ -107,19 +107,19 @@
$('body').addClass(ClassName.CONTROL_SIDEBAR_OPEN);
}
var collapsedEvent = $.Event(Event.COLLAPSED);
$(this._element).trigger(collapsedEvent);
var expandedEvent = $.Event(Event.EXPANDED);
$(this._element).trigger(expandedEvent);
};
_proto.toggle = function toggle() {
var shouldOpen = $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || $('body').hasClass(ClassName.CONTROL_SIDEBAR_SLIDE);
var shouldClose = $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || $('body').hasClass(ClassName.CONTROL_SIDEBAR_SLIDE);
if (shouldOpen) {
// Open the control sidebar
this.show();
} else {
if (shouldClose) {
// Close the control sidebar
this.collapse();
} else {
// Open the control sidebar
this.show();
}
} // Private
;
@@ -303,6 +303,8 @@
CONTENT_HEADER: '.content-header',
WRAPPER: '.wrapper',
CONTROL_SIDEBAR: '.control-sidebar',
CONTROL_SIDEBAR_CONTENT: '.control-sidebar-content',
CONTROL_SIDEBAR_BTN: '[data-widget="control-sidebar"]',
LAYOUT_FIXED: '.layout-fixed',
FOOTER: '.main-footer',
PUSHMENU_BTN: '[data-widget="pushmenu"]',
@@ -318,7 +320,9 @@
NAVBAR_FIXED: 'layout-navbar-fixed',
FOOTER_FIXED: 'layout-footer-fixed',
LOGIN_PAGE: 'login-page',
REGISTER_PAGE: 'register-page'
REGISTER_PAGE: 'register-page',
CONTROL_SIDEBAR_SLIDE_OPEN: 'control-sidebar-slide-open',
CONTROL_SIDEBAR_OPEN: 'control-sidebar-open'
};
var Default = {
scrollbarTheme: 'os-theme-light',
@@ -342,17 +346,30 @@
var _proto = Layout.prototype;
_proto.fixLayoutHeight = function fixLayoutHeight() {
_proto.fixLayoutHeight = function fixLayoutHeight(extra) {
if (extra === void 0) {
extra = null;
}
var control_sidebar = 0;
if ($('body').hasClass(ClassName.CONTROL_SIDEBAR_SLIDE_OPEN) || $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || extra == 'control_sidebar') {
control_sidebar = $(Selector.CONTROL_SIDEBAR_CONTENT).height();
}
var heights = {
window: $(window).height(),
header: $(Selector.HEADER).length !== 0 ? $(Selector.HEADER).outerHeight() : 0,
footer: $(Selector.FOOTER).length !== 0 ? $(Selector.FOOTER).outerHeight() : 0,
sidebar: $(Selector.SIDEBAR).length !== 0 ? $(Selector.SIDEBAR).height() : 0
sidebar: $(Selector.SIDEBAR).length !== 0 ? $(Selector.SIDEBAR).height() : 0,
control_sidebar: control_sidebar
};
var max = this._max(heights);
if (max == heights.window) {
if (max == heights.control_sidebar) {
$(Selector.CONTENT).css('min-height', max);
} else if (max == heights.window) {
$(Selector.CONTENT).css('min-height', max - heights.header - heights.footer);
} else {
$(Selector.CONTENT).css('min-height', max - heights.header);
@@ -386,6 +403,11 @@
$(Selector.PUSHMENU_BTN).on('collapsed.lte.pushmenu shown.lte.pushmenu', function () {
_this.fixLayoutHeight();
});
$(Selector.CONTROL_SIDEBAR_BTN).on('collapsed.lte.controlsidebar', function () {
_this.fixLayoutHeight();
}).on('expanded.lte.controlsidebar', function () {
_this.fixLayoutHeight('control_sidebar');
});
$(window).resize(function () {
_this.fixLayoutHeight();
});
@@ -413,6 +435,10 @@
;
Layout._jQueryInterface = function _jQueryInterface(config) {
if (config === void 0) {
config = '';
}
return this.each(function () {
var data = $(this).data(DATA_KEY);
@@ -423,8 +449,8 @@
$(this).data(DATA_KEY, data);
}
if (config === 'init') {
data[config]();
if (config === 'init' || config === '') {
data['_init']();
}
});
};
@@ -1147,7 +1173,7 @@
_this._parent.addClass(ClassName.COLLAPSED);
});
this._parent.find(this._settings.collapseTrigger + ' .' + this._settings.collapseIcon).addClass(this._settings.expandIcon).removeClass(this._settings.collapseIcon);
this._parent.find('> ' + Selector.CARD_HEADER + ' ' + this._settings.collapseTrigger + ' .' + this._settings.collapseIcon).addClass(this._settings.expandIcon).removeClass(this._settings.collapseIcon);
var collapsed = $.Event(Event.COLLAPSED);
@@ -1161,7 +1187,7 @@
_this2._parent.removeClass(ClassName.COLLAPSED);
});
this._parent.find(this._settings.collapseTrigger + ' .' + this._settings.expandIcon).addClass(this._settings.collapseIcon).removeClass(this._settings.expandIcon);
this._parent.find('> ' + Selector.CARD_HEADER + ' ' + this._settings.collapseTrigger + ' .' + this._settings.expandIcon).addClass(this._settings.collapseIcon).removeClass(this._settings.expandIcon);
var expanded = $.Event(Event.EXPANDED);