Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
AdminLTE
提交
fe693889
A
AdminLTE
项目概览
知鸟1号
/
AdminLTE
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
AdminLTE
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
fe693889
编写于
7月 29, 2019
作者:
R
REJack
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
added collapse, expand & toggleMaximize to run via js script
上级
64ef08f3
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
5 addition
and
5 deletion
+5
-5
build/js/Widget.js
build/js/Widget.js
+1
-1
dist/js/adminlte.js
dist/js/adminlte.js
+1
-1
dist/js/adminlte.js.map
dist/js/adminlte.js.map
+1
-1
dist/js/adminlte.min.js
dist/js/adminlte.min.js
+1
-1
dist/js/adminlte.min.js.map
dist/js/adminlte.min.js.map
+1
-1
未找到文件。
build/js/Widget.js
浏览文件 @
fe693889
...
...
@@ -170,7 +170,7 @@ const Widget = (($) => {
$
(
this
).
data
(
DATA_KEY
,
typeof
config
===
'
string
'
?
data
:
config
)
}
if
(
typeof
config
===
'
string
'
&&
config
.
match
(
/
remove|toggl
e/
))
{
if
(
typeof
config
===
'
string
'
&&
config
.
match
(
/
collapse|expand|remove|toggle|toggleMaximiz
e/
))
{
data
[
config
]()
}
else
if
(
typeof
config
===
'
object
'
)
{
data
.
_init
(
$
(
this
))
...
...
dist/js/adminlte.js
浏览文件 @
fe693889
...
...
@@ -1051,7 +1051,7 @@
$
(
this
).
data
(
DATA_KEY
,
typeof
config
===
'
string
'
?
data
:
config
);
}
if
(
typeof
config
===
'
string
'
&&
config
.
match
(
/remove|toggle/
))
{
if
(
typeof
config
===
'
string
'
&&
config
.
match
(
/remove|toggle
|toggleMaximize
/
))
{
data
[
config
]();
}
else
if
(
typeof
config
===
'
object
'
)
{
data
.
_init
(
$
(
this
));
...
...
dist/js/adminlte.js.map
浏览文件 @
fe693889
{"version":3,"file":"adminlte.js","sources":["../../build/js/ControlSidebar.js","../../build/js/Layout.js","../../build/js/PushMenu.js","../../build/js/Treeview.js","../../build/js/DirectChat.js","../../build/js/TodoList.js","../../build/js/Widget.js"],"sourcesContent":["/**\n * --------------------------------------------\n * AdminLTE ControlSidebar.js\n * License MIT\n * --------------------------------------------\n */\n\nconst ControlSidebar = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'ControlSidebar'\n const DATA_KEY = 'lte.control.sidebar'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n const DATA_API_KEY = '.data-api'\n\n const Event = {\n CLICK_DATA_API: `click${EVENT_KEY}${DATA_API_KEY}`\n }\n\n const Selector = {\n CONTROL_SIDEBAR: '.control-sidebar',\n DATA_TOGGLE : '[data-widget=\"control-sidebar\"]',\n MAIN_HEADER : '.main-header'\n }\n\n const ClassName = {\n CONTROL_SIDEBAR_ANIMATE: 'control-sidebar-animate',\n CONTROL_SIDEBAR_OPEN : 'control-sidebar-open',\n CONTROL_SIDEBAR_SLIDE : 'control-sidebar-slide-open'\n }\n\n const Default = {\n slide: true\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class ControlSidebar {\n constructor(element, config) {\n this._element = element\n this._config = this._getConfig(config)\n }\n\n // Public\n\n show() {\n // Show the control sidebar\n if (this._config.slide) {\n $('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $('body').removeClass(ClassName.CONTROL_SIDEBAR_SLIDE).delay(300).queue(function(){\n $(Selector.CONTROL_SIDEBAR).hide()\n $('html').removeClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n } else {\n $('body').removeClass(ClassName.CONTROL_SIDEBAR_OPEN)\n }\n }\n\n collapse() {\n // Collapse the control sidebar\n if (this._config.slide) {\n $('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(Selector.CONTROL_SIDEBAR).show().delay(100).queue(function(){\n $('body').addClass(ClassName.CONTROL_SIDEBAR_SLIDE).delay(300).queue(function(){\n $('html').removeClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n $(this).dequeue()\n })\n } else {\n $('body').addClass(ClassName.CONTROL_SIDEBAR_OPEN)\n }\n }\n\n toggle() {\n this._setMargin()\n\n const shouldOpen = $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || $('body')\n .hasClass(ClassName.CONTROL_SIDEBAR_SLIDE)\n if (shouldOpen) {\n // Open the control sidebar\n this.show()\n } else {\n // Close the control sidebar\n this.collapse()\n }\n }\n\n // Private\n\n _getConfig(config) {\n return $.extend({}, Default, config)\n }\n\n _setMargin() {\n $(Selector.CONTROL_SIDEBAR).css({\n top: $(Selector.MAIN_HEADER).innerHeight()\n })\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new ControlSidebar(this, $(this).data())\n $(this).data(DATA_KEY, data)\n }\n\n if (data[operation] === 'undefined') {\n throw new Error(`${operation} is not a function`)\n }\n\n data[operation]()\n })\n }\n }\n\n /**\n *\n * Data Api implementation\n * ====================================================\n */\n $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n event.preventDefault()\n\n ControlSidebar._jQueryInterface.call($(this), 'toggle')\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = ControlSidebar._jQueryInterface\n $.fn[NAME].Constructor = ControlSidebar\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return ControlSidebar._jQueryInterface\n }\n\n return ControlSidebar\n})(jQuery)\n\nexport default ControlSidebar\n","/**\n * --------------------------------------------\n * AdminLTE Layout.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Layout = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Layout'\n const DATA_KEY = 'lte.layout'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n SIDEBAR: 'sidebar'\n }\n\n const Selector = {\n HEADER : '.main-header',\n MAIN_SIDEBAR : '.main-sidebar',\n SIDEBAR : '.main-sidebar .sidebar',\n CONTENT : '.content-wrapper',\n BRAND : '.brand-link',\n CONTENT_HEADER : '.content-header',\n WRAPPER : '.wrapper',\n CONTROL_SIDEBAR: '.control-sidebar',\n LAYOUT_FIXED : '.layout-fixed',\n FOOTER : '.main-footer'\n }\n\n const ClassName = {\n HOLD : 'hold-transition',\n SIDEBAR : 'main-sidebar',\n CONTENT_FIXED : 'content-fixed',\n SIDEBAR_FOCUSED: 'sidebar-focused',\n LAYOUT_FIXED : 'layout-fixed',\n NAVBAR_FIXED : 'layout-navbar-fixed',\n FOOTER_FIXED : 'layout-footer-fixed',\n }\n\n const Default = {\n scrollbarTheme : 'os-theme-light',\n scrollbarAutoHide: 'l'\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class Layout {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n fixLayoutHeight() {\n const heights = {\n window : $(window).height(),\n header : $(Selector.HEADER).outerHeight(),\n footer : $(Selector.FOOTER).outerHeight(),\n sidebar : $(Selector.SIDEBAR).height(),\n }\n\n const max = this._max(heights)\n\n\n if ($('body').hasClass(ClassName.LAYOUT_FIXED)) {\n $(Selector.CONTENT).css('min-height', max - heights.header - heights.footer)\n // $(Selector.SIDEBAR).css('min-height', max - heights.header)\n $(Selector.CONTROL_SIDEBAR + ' .control-sidebar-content').css('height', max - heights.header)\n \n if (typeof $.fn.overlayScrollbars !== 'undefined') {\n $(Selector.SIDEBAR).overlayScrollbars({\n className : this._config.scrollbarTheme,\n sizeAutoCapable : true,\n scrollbars : {\n autoHide: this._config.scrollbarAutoHide, \n clickScrolling : true\n }\n })\n $(Selector.CONTROL_SIDEBAR + ' .control-sidebar-content').overlayScrollbars({\n className : this._config.scrollbarTheme,\n sizeAutoCapable : true,\n scrollbars : {\n autoHide: this._config.scrollbarAutoHide, \n clickScrolling : true\n }\n })\n }\n } else {\n if (heights.window > heights.sidebar) {\n $(Selector.CONTENT).css('min-height', heights.window - heights.header - heights.footer)\n } else {\n $(Selector.CONTENT).css('min-height', heights.sidebar - heights.header)\n }\n }\n }\n\n // Private\n\n _init() {\n // Enable transitions\n $('body').removeClass(ClassName.HOLD)\n\n // Activate layout height watcher\n this.fixLayoutHeight()\n $(Selector.SIDEBAR)\n .on('collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu', () => {\n this.fixLayoutHeight()\n })\n\n $(window).resize(() => {\n this.fixLayoutHeight()\n })\n\n $('body, html').css('height', 'auto')\n }\n\n _max(numbers) {\n // Calculate the maximum number in a list\n let max = 0\n\n Object.keys(numbers).forEach((key) => {\n if (numbers[key] > max) {\n max = numbers[key]\n }\n })\n\n return max\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Layout($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on('load', () => {\n Layout._jQueryInterface.call($('body'))\n })\n\n $(Selector.SIDEBAR + ' a').on('focusin', () => {\n $(Selector.MAIN_SIDEBAR).addClass(ClassName.SIDEBAR_FOCUSED);\n })\n\n $(Selector.SIDEBAR + ' a').on('focusout', () => {\n $(Selector.MAIN_SIDEBAR).removeClass(ClassName.SIDEBAR_FOCUSED);\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Layout._jQueryInterface\n $.fn[NAME].Constructor = Layout\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Layout._jQueryInterface\n }\n\n return Layout\n})(jQuery)\n\nexport default Layout\n","/**\n * --------------------------------------------\n * AdminLTE PushMenu.js\n * License MIT\n * --------------------------------------------\n */\n\nconst PushMenu = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'PushMenu'\n const DATA_KEY = 'lte.pushmenu'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n COLLAPSED: `collapsed${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n }\n\n const Default = {\n autoCollapseSize: false,\n screenCollapseSize: 768\n }\n\n const Selector = {\n TOGGLE_BUTTON : '[data-widget=\"pushmenu\"]',\n SIDEBAR_MINI : '.sidebar-mini',\n SIDEBAR_COLLAPSED: '.sidebar-collapse',\n BODY : 'body',\n OVERLAY : '#sidebar-overlay',\n WRAPPER : '.wrapper'\n }\n\n const ClassName = {\n SIDEBAR_OPEN: 'sidebar-open',\n COLLAPSED : 'sidebar-collapse',\n OPEN : 'sidebar-open',\n SIDEBAR_MINI: 'sidebar-mini'\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class PushMenu {\n constructor(element, options) {\n this._element = element\n this._options = $.extend({}, Default, options)\n\n this._init()\n\n if (!$(Selector.OVERLAY).length) {\n this._addOverlay()\n }\n }\n\n // Public\n\n show() {\n $(Selector.BODY).addClass(ClassName.OPEN).removeClass(ClassName.COLLAPSED)\n\n const shownEvent = $.Event(Event.SHOWN)\n $(this._element).trigger(shownEvent)\n }\n\n collapse() {\n $(Selector.BODY).removeClass(ClassName.OPEN).addClass(ClassName.COLLAPSED)\n\n const collapsedEvent = $.Event(Event.COLLAPSED)\n $(this._element).trigger(collapsedEvent)\n }\n\n isShown() {\n if ($(window).width() >= this._options.screenCollapseSize) {\n return !$(Selector.BODY).hasClass(ClassName.COLLAPSED)\n } else {\n return $(Selector.BODY).hasClass(ClassName.OPEN)\n }\n }\n\n toggle() {\n if (this.isShown()) {\n this.collapse()\n } else {\n this.show()\n }\n }\n\n autoCollapse() {\n if (this._options.autoCollapseSize) {\n if ($(window).width() <= this._options.autoCollapseSize) {\n if (this.isShown()) {\n this.toggle()\n }\n } else {\n if (!this.isShown()) {\n this.toggle()\n }\n }\n }\n }\n\n // Private\n\n _init() {\n this.autoCollapse()\n\n $(window).resize(() => {\n this.autoCollapse()\n })\n }\n\n _addOverlay() {\n const overlay = $('<div />', {\n id: 'sidebar-overlay'\n })\n\n overlay.on('click', () => {\n this.collapse()\n })\n\n $(Selector.WRAPPER).append(overlay)\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new PushMenu(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (operation === 'toggle') {\n data[operation]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(document).on('click', Selector.TOGGLE_BUTTON, (event) => {\n event.preventDefault()\n\n let button = event.currentTarget\n\n if ($(button).data('widget') !== 'pushmenu') {\n button = $(button).closest(Selector.TOGGLE_BUTTON)\n }\n\n PushMenu._jQueryInterface.call($(button), 'toggle')\n })\n\n $(window).on('load', () => {\n PushMenu._jQueryInterface.call($(Selector.TOGGLE_BUTTON))\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = PushMenu._jQueryInterface\n $.fn[NAME].Constructor = PushMenu\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return PushMenu._jQueryInterface\n }\n\n return PushMenu\n})(jQuery)\n\nexport default PushMenu\n","/**\n * --------------------------------------------\n * AdminLTE Treeview.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Treeview = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Treeview'\n const DATA_KEY = 'lte.treeview'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n SELECTED : `selected${EVENT_KEY}`,\n EXPANDED : `expanded${EVENT_KEY}`,\n COLLAPSED : `collapsed${EVENT_KEY}`,\n LOAD_DATA_API: `load${EVENT_KEY}`\n }\n\n const Selector = {\n LI : '.nav-item',\n LINK : '.nav-link',\n TREEVIEW_MENU: '.nav-treeview',\n OPEN : '.menu-open',\n DATA_WIDGET : '[data-widget=\"treeview\"]'\n }\n\n const ClassName = {\n LI : 'nav-item',\n LINK : 'nav-link',\n TREEVIEW_MENU: 'nav-treeview',\n OPEN : 'menu-open'\n }\n\n const Default = {\n trigger : `${Selector.DATA_WIDGET} ${Selector.LINK}`,\n animationSpeed: 300,\n accordion : true\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n class Treeview {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n init() {\n this._setupListeners()\n }\n\n expand(treeviewMenu, parentLi) {\n const expandedEvent = $.Event(Event.EXPANDED)\n\n if (this._config.accordion) {\n const openMenuLi = parentLi.siblings(Selector.OPEN).first()\n const openTreeview = openMenuLi.find(Selector.TREEVIEW_MENU).first()\n this.collapse(openTreeview, openMenuLi)\n }\n\n treeviewMenu.slideDown(this._config.animationSpeed, () => {\n parentLi.addClass(ClassName.OPEN)\n $(this._element).trigger(expandedEvent)\n })\n }\n\n collapse(treeviewMenu, parentLi) {\n const collapsedEvent = $.Event(Event.COLLAPSED)\n\n treeviewMenu.slideUp(this._config.animationSpeed, () => {\n parentLi.removeClass(ClassName.OPEN)\n $(this._element).trigger(collapsedEvent)\n treeviewMenu.find(`${Selector.OPEN} > ${Selector.TREEVIEW_MENU}`).slideUp()\n treeviewMenu.find(Selector.OPEN).removeClass(ClassName.OPEN)\n })\n }\n\n toggle(event) {\n const $relativeTarget = $(event.currentTarget)\n const treeviewMenu = $relativeTarget.next()\n\n if (!treeviewMenu.is(Selector.TREEVIEW_MENU)) {\n return\n }\n\n event.preventDefault()\n\n const parentLi = $relativeTarget.parents(Selector.LI).first()\n const isOpen = parentLi.hasClass(ClassName.OPEN)\n\n if (isOpen) {\n this.collapse($(treeviewMenu), parentLi)\n } else {\n this.expand($(treeviewMenu), parentLi)\n }\n }\n\n // Private\n\n _setupListeners() {\n $(document).on('click', this._config.trigger, (event) => {\n this.toggle(event)\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Treeview($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on(Event.LOAD_DATA_API, () => {\n $(Selector.DATA_WIDGET).each(function () {\n Treeview._jQueryInterface.call($(this), 'init')\n })\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Treeview._jQueryInterface\n $.fn[NAME].Constructor = Treeview\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Treeview._jQueryInterface\n }\n\n return Treeview\n})(jQuery)\n\nexport default Treeview","/**\n * --------------------------------------------\n * AdminLTE DirectChat.js\n * License MIT\n * --------------------------------------------\n */\n\nconst DirectChat = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'DirectChat'\n const DATA_KEY = 'lte.directchat'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n const DATA_API_KEY = '.data-api'\n\n const Selector = {\n DATA_TOGGLE: '[data-widget=\"chat-pane-toggle\"]',\n DIRECT_CHAT: '.direct-chat'\n };\n\n const ClassName = {\n DIRECT_CHAT_OPEN: 'direct-chat-contacts-open'\n };\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class DirectChat {\n constructor(element, config) {\n this._element = element\n }\n\n toggle() {\n $(this._element).parents(Selector.DIRECT_CHAT).first().toggleClass(ClassName.DIRECT_CHAT_OPEN);\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new DirectChat($(this))\n $(this).data(DATA_KEY, data)\n }\n\n data[config]()\n })\n }\n }\n\n /**\n *\n * Data Api implementation\n * ====================================================\n */\n\n $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n if (event) event.preventDefault();\n DirectChat._jQueryInterface.call($(this), 'toggle');\n });\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = DirectChat._jQueryInterface\n $.fn[NAME].Constructor = DirectChat\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return DirectChat._jQueryInterface\n }\n\n return DirectChat\n})(jQuery)\n\nexport default DirectChat\n","/**\n * --------------------------------------------\n * AdminLTE TodoList.js\n * License MIT\n * --------------------------------------------\n */\n\nconst TodoList = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'TodoList'\n const DATA_KEY = 'lte.todolist'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Selector = {\n DATA_TOGGLE: '[data-widget=\"todo-list\"]'\n }\n\n const ClassName = {\n TODO_LIST_DONE: 'done'\n }\n\n const Default = {\n onCheck: function (item) {\n return item;\n },\n onUnCheck: function (item) {\n return item;\n }\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class TodoList {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n toggle(item) {\n item.parents('li').toggleClass(ClassName.TODO_LIST_DONE);\n if (! $(item).prop('checked')) {\n this.unCheck($(item));\n return;\n }\n\n this.check(item);\n }\n\n check (item) {\n this._config.onCheck.call(item);\n }\n\n unCheck (item) {\n this._config.onUnCheck.call(item);\n }\n\n // Private\n\n _init() {\n var that = this\n $(Selector.DATA_TOGGLE).find('input:checkbox:checked').parents('li').toggleClass(ClassName.TODO_LIST_DONE)\n $(Selector.DATA_TOGGLE).on('change', 'input:checkbox', (event) => {\n that.toggle($(event.target))\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new TodoList($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on('load', () => {\n TodoList._jQueryInterface.call($(Selector.DATA_TOGGLE))\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = TodoList._jQueryInterface\n $.fn[NAME].Constructor = TodoList\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return TodoList._jQueryInterface\n }\n\n return TodoList\n})(jQuery)\n\nexport default TodoList\n","/**\n * --------------------------------------------\n * AdminLTE Widget.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Widget = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Widget'\n const DATA_KEY = 'lte.widget'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n EXPANDED : `expanded${EVENT_KEY}`,\n COLLAPSED: `collapsed${EVENT_KEY}`,\n MAXIMIZED: `maximized${EVENT_KEY}`,\n MINIMIZED: `minimized${EVENT_KEY}`,\n REMOVED : `removed${EVENT_KEY}`\n }\n\n const Selector = {\n DATA_REMOVE : '[data-widget=\"remove\"]',\n DATA_COLLAPSE : '[data-widget=\"collapse\"]',\n DATA_MAXIMIZE : '[data-widget=\"maximize\"]',\n CARD : '.card',\n CARD_HEADER : '.card-header',\n CARD_BODY : '.card-body',\n CARD_FOOTER : '.card-footer',\n COLLAPSED : '.collapsed-card',\n COLLAPSE_ICON : '.fa-minus',\n EXPAND_ICON : '.fa-plus'\n }\n\n const ClassName = {\n COLLAPSED : 'collapsed-card',\n WAS_COLLAPSED : 'was-collapsed',\n MAXIMIZED : 'maximized-card',\n COLLAPSE_ICON : 'fa-minus',\n EXPAND_ICON : 'fa-plus',\n MAXIMIZE_ICON : 'fa-expand',\n MINIMIZE_ICON : 'fa-compress',\n }\n\n const Default = {\n animationSpeed : 'normal',\n collapseTrigger: Selector.DATA_COLLAPSE,\n removeTrigger : Selector.DATA_REMOVE\n }\n\n class Widget {\n constructor(element, settings) {\n this._element = element\n this._parent = element.parents(Selector.CARD).first()\n this._settings = $.extend({}, Default, settings)\n }\n\n collapse() {\n this._parent.children(`${Selector.CARD_BODY}, ${Selector.CARD_FOOTER}`)\n .slideUp(this._settings.animationSpeed, () => {\n this._parent.addClass(ClassName.COLLAPSED)\n })\n\n this._element.children(Selector.COLLAPSE_ICON)\n .addClass(ClassName.EXPAND_ICON)\n .removeClass(ClassName.COLLAPSE_ICON)\n\n const collapsed = $.Event(Event.COLLAPSED)\n\n this._element.trigger(collapsed, this._parent)\n }\n\n expand() {\n this._parent.children(`${Selector.CARD_BODY}, ${Selector.CARD_FOOTER}`)\n .slideDown(this._settings.animationSpeed, () => {\n this._parent.removeClass(ClassName.COLLAPSED)\n })\n\n this._element.children(Selector.EXPAND_ICON)\n .addClass(ClassName.COLLAPSE_ICON)\n .removeClass(ClassName.EXPAND_ICON)\n\n const expanded = $.Event(Event.EXPANDED)\n\n this._element.trigger(expanded, this._parent)\n }\n\n remove() {\n this._parent.slideUp()\n\n const removed = $.Event(Event.REMOVED)\n\n this._element.trigger(removed, this._parent)\n }\n\n toggle() {\n if (this._parent.hasClass(ClassName.COLLAPSED)) {\n this.expand()\n return\n }\n\n this.collapse()\n }\n \n toggleMaximize() {\n var button = this._element.find('i')\n\n if (this._parent.hasClass(ClassName.MAXIMIZED)) {\n button.addClass(ClassName.MAXIMIZE_ICON).removeClass(ClassName.MINIMIZE_ICON)\n this._parent.css('cssText', 'height:' + this._parent[0].style.height + ' !important;' +\n 'width:' + this._parent[0].style.width + ' !important; transition: all .15s;'\n ).delay(100).queue(function(){\n $(this).removeClass(ClassName.MAXIMIZED)\n $('html').removeClass(ClassName.MAXIMIZED)\n $(this).trigger(Event.MINIMIZED)\n $(this).css({\n 'height': 'inherit',\n 'width': 'inherit'\n })\n if ($(this).hasClass(ClassName.WAS_COLLAPSED)) {\n $(this).removeClass(ClassName.WAS_COLLAPSED)\n }\n $(this).dequeue()\n })\n } else {\n button.addClass(ClassName.MINIMIZE_ICON).removeClass(ClassName.MAXIMIZE_ICON)\n this._parent.css({\n 'height': this._parent.height(),\n 'width': this._parent.width(),\n 'transition': 'all .15s'\n }).delay(150).queue(function(){\n $(this).addClass(ClassName.MAXIMIZED)\n $('html').addClass(ClassName.MAXIMIZED)\n $(this).trigger(Event.MAXIMIZED)\n if ($(this).hasClass(ClassName.COLLAPSED)) {\n $(this).addClass(ClassName.WAS_COLLAPSED)\n }\n $(this).dequeue()\n })\n }\n }\n\n // Private\n\n _init(card) {\n this._parent = card\n\n $(this).find(this._settings.collapseTrigger).click(() => {\n this.toggle()\n })\n\n $(this).find(this._settings.removeTrigger).click(() => {\n this.remove()\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new Widget($(this), data)\n $(this).data(DATA_KEY, typeof config === 'string' ? data : config)\n }\n\n if (typeof config === 'string' && config.match(/remove|toggle/)) {\n data[config]()\n } else if (typeof config === 'object') {\n data._init($(this))\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(document).on('click', Selector.DATA_COLLAPSE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'toggle')\n })\n\n $(document).on('click', Selector.DATA_REMOVE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'remove')\n })\n\n $(document).on('click', Selector.DATA_MAXIMIZE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'toggleMaximize')\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Widget._jQueryInterface\n $.fn[NAME].Constructor = Widget\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Widget._jQueryInterface\n }\n\n return Widget\n})(jQuery)\n\nexport default Widget\n"],"names":["ControlSidebar","$","NAME","DATA_KEY","JQUERY_NO_CONFLICT","fn","Selector","CONTROL_SIDEBAR","DATA_TOGGLE","MAIN_HEADER","ClassName","CONTROL_SIDEBAR_ANIMATE","CONTROL_SIDEBAR_OPEN","CONTROL_SIDEBAR_SLIDE","Default","slide","element","config","_element","_config","_getConfig","show","addClass","removeClass","delay","queue","hide","dequeue","collapse","toggle","_setMargin","shouldOpen","hasClass","extend","css","top","innerHeight","_jQueryInterface","operation","each","data","Error","document","on","event","preventDefault","call","Constructor","noConflict","jQuery","Layout","HEADER","MAIN_SIDEBAR","SIDEBAR","CONTENT","BRAND","CONTENT_HEADER","WRAPPER","LAYOUT_FIXED","FOOTER","HOLD","CONTENT_FIXED","SIDEBAR_FOCUSED","NAVBAR_FIXED","FOOTER_FIXED","scrollbarTheme","scrollbarAutoHide","_init","fixLayoutHeight","heights","window","height","header","outerHeight","footer","sidebar","max","_max","overlayScrollbars","className","sizeAutoCapable","scrollbars","autoHide","clickScrolling","resize","numbers","Object","keys","forEach","key","PushMenu","EVENT_KEY","Event","COLLAPSED","SHOWN","autoCollapseSize","screenCollapseSize","TOGGLE_BUTTON","SIDEBAR_MINI","SIDEBAR_COLLAPSED","BODY","OVERLAY","SIDEBAR_OPEN","OPEN","options","_options","length","_addOverlay","shownEvent","trigger","collapsedEvent","isShown","width","autoCollapse","overlay","id","append","button","currentTarget","closest","Treeview","SELECTED","EXPANDED","LOAD_DATA_API","LI","LINK","TREEVIEW_MENU","DATA_WIDGET","animationSpeed","accordion","init","_setupListeners","expand","treeviewMenu","parentLi","expandedEvent","openMenuLi","siblings","first","openTreeview","find","slideDown","slideUp","$relativeTarget","next","is","parents","isOpen","DirectChat","DIRECT_CHAT","DIRECT_CHAT_OPEN","toggleClass","TodoList","TODO_LIST_DONE","onCheck","item","onUnCheck","prop","unCheck","check","that","target","Widget","MAXIMIZED","MINIMIZED","REMOVED","DATA_REMOVE","DATA_COLLAPSE","DATA_MAXIMIZE","CARD","CARD_HEADER","CARD_BODY","CARD_FOOTER","COLLAPSE_ICON","EXPAND_ICON","WAS_COLLAPSED","MAXIMIZE_ICON","MINIMIZE_ICON","collapseTrigger","removeTrigger","settings","_parent","_settings","children","collapsed","expanded","remove","removed","toggleMaximize","style","card","click","match"],"mappings":";;;;;;;;;;;EAAA;;;;;;EAOA,IAAMA,cAAc,GAAI,UAACC,CAAD,EAAO;EAC7B;;;;EAKA,MAAMC,IAAI,GAAiB,gBAA3B;EACA,MAAMC,QAAQ,GAAa,qBAA3B;AACA,EACA,MAAMC,kBAAkB,GAAGH,CAAC,CAACI,EAAF,CAAKH,IAAL,CAA3B;AACA,EAMA,MAAMI,QAAQ,GAAG;EACfC,IAAAA,eAAe,EAAE,kBADF;EAEfC,IAAAA,WAAW,EAAM,iCAFF;EAGfC,IAAAA,WAAW,EAAM;EAHF,GAAjB;EAMA,MAAMC,SAAS,GAAG;EAChBC,IAAAA,uBAAuB,EAAE,yBADT;EAEhBC,IAAAA,oBAAoB,EAAK,sBAFT;EAGhBC,IAAAA,qBAAqB,EAAI;EAHT,GAAlB;EAMA,MAAMC,OAAO,GAAG;EACdC,IAAAA,KAAK,EAAE;EAGT;;;;;EAJgB,GAAhB;;EA5B6B,MAqCvBf,cArCuB;EAAA;EAAA;EAsC3B,4BAAYgB,OAAZ,EAAqBC,MAArB,EAA6B;EAC3B,WAAKC,QAAL,GAAgBF,OAAhB;E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,EAAW6C,WAAX,GAAyBmH,MAAzB;;EACAjK,EAAAA,CAAC,CAACI,EAAF,CAAKH,IAAL,EAAW8C,UAAX,GAAyB,YAAY;EACnC/C,IAAAA,CAAC,CAACI,EAAF,CAAKH,IAAL,IAAaE,kBAAb;EACA,WAAO8J,MAAM,CAAC7H,gBAAd;EACD,GAHD;;EAKA,SAAO6H,MAAP;EACD,CAxNc,CAwNZjH,MAxNY,CAAf;;;;;;;;;;;;;;;;;;"}
\ No newline at end of file
{"version":3,"file":"adminlte.js","sources":["../../build/js/ControlSidebar.js","../../build/js/Layout.js","../../build/js/PushMenu.js","../../build/js/Treeview.js","../../build/js/DirectChat.js","../../build/js/TodoList.js","../../build/js/Widget.js"],"sourcesContent":["/**\n * --------------------------------------------\n * AdminLTE ControlSidebar.js\n * License MIT\n * --------------------------------------------\n */\n\nconst ControlSidebar = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'ControlSidebar'\n const DATA_KEY = 'lte.control.sidebar'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n const DATA_API_KEY = '.data-api'\n\n const Event = {\n CLICK_DATA_API: `click${EVENT_KEY}${DATA_API_KEY}`\n }\n\n const Selector = {\n CONTROL_SIDEBAR: '.control-sidebar',\n DATA_TOGGLE : '[data-widget=\"control-sidebar\"]',\n MAIN_HEADER : '.main-header'\n }\n\n const ClassName = {\n CONTROL_SIDEBAR_ANIMATE: 'control-sidebar-animate',\n CONTROL_SIDEBAR_OPEN : 'control-sidebar-open',\n CONTROL_SIDEBAR_SLIDE : 'control-sidebar-slide-open'\n }\n\n const Default = {\n slide: true\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class ControlSidebar {\n constructor(element, config) {\n this._element = element\n this._config = this._getConfig(config)\n }\n\n // Public\n\n show() {\n // Show the control sidebar\n if (this._config.slide) {\n $('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $('body').removeClass(ClassName.CONTROL_SIDEBAR_SLIDE).delay(300).queue(function(){\n $(Selector.CONTROL_SIDEBAR).hide()\n $('html').removeClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n } else {\n $('body').removeClass(ClassName.CONTROL_SIDEBAR_OPEN)\n }\n }\n\n collapse() {\n // Collapse the control sidebar\n if (this._config.slide) {\n $('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(Selector.CONTROL_SIDEBAR).show().delay(100).queue(function(){\n $('body').addClass(ClassName.CONTROL_SIDEBAR_SLIDE).delay(300).queue(function(){\n $('html').removeClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n $(this).dequeue()\n })\n } else {\n $('body').addClass(ClassName.CONTROL_SIDEBAR_OPEN)\n }\n }\n\n toggle() {\n this._setMargin()\n\n const shouldOpen = $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || $('body')\n .hasClass(ClassName.CONTROL_SIDEBAR_SLIDE)\n if (shouldOpen) {\n // Open the control sidebar\n this.show()\n } else {\n // Close the control sidebar\n this.collapse()\n }\n }\n\n // Private\n\n _getConfig(config) {\n return $.extend({}, Default, config)\n }\n\n _setMargin() {\n $(Selector.CONTROL_SIDEBAR).css({\n top: $(Selector.MAIN_HEADER).innerHeight()\n })\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new ControlSidebar(this, $(this).data())\n $(this).data(DATA_KEY, data)\n }\n\n if (data[operation] === 'undefined') {\n throw new Error(`${operation} is not a function`)\n }\n\n data[operation]()\n })\n }\n }\n\n /**\n *\n * Data Api implementation\n * ====================================================\n */\n $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n event.preventDefault()\n\n ControlSidebar._jQueryInterface.call($(this), 'toggle')\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = ControlSidebar._jQueryInterface\n $.fn[NAME].Constructor = ControlSidebar\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return ControlSidebar._jQueryInterface\n }\n\n return ControlSidebar\n})(jQuery)\n\nexport default ControlSidebar\n","/**\n * --------------------------------------------\n * AdminLTE Layout.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Layout = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Layout'\n const DATA_KEY = 'lte.layout'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n SIDEBAR: 'sidebar'\n }\n\n const Selector = {\n HEADER : '.main-header',\n MAIN_SIDEBAR : '.main-sidebar',\n SIDEBAR : '.main-sidebar .sidebar',\n CONTENT : '.content-wrapper',\n BRAND : '.brand-link',\n CONTENT_HEADER : '.content-header',\n WRAPPER : '.wrapper',\n CONTROL_SIDEBAR: '.control-sidebar',\n LAYOUT_FIXED : '.layout-fixed',\n FOOTER : '.main-footer'\n }\n\n const ClassName = {\n HOLD : 'hold-transition',\n SIDEBAR : 'main-sidebar',\n CONTENT_FIXED : 'content-fixed',\n SIDEBAR_FOCUSED: 'sidebar-focused',\n LAYOUT_FIXED : 'layout-fixed',\n NAVBAR_FIXED : 'layout-navbar-fixed',\n FOOTER_FIXED : 'layout-footer-fixed',\n }\n\n const Default = {\n scrollbarTheme : 'os-theme-light',\n scrollbarAutoHide: 'l'\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class Layout {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n fixLayoutHeight() {\n const heights = {\n window : $(window).height(),\n header : $(Selector.HEADER).outerHeight(),\n footer : $(Selector.FOOTER).outerHeight(),\n sidebar : $(Selector.SIDEBAR).height(),\n }\n\n const max = this._max(heights)\n\n\n if ($('body').hasClass(ClassName.LAYOUT_FIXED)) {\n $(Selector.CONTENT).css('min-height', max - heights.header - heights.footer)\n // $(Selector.SIDEBAR).css('min-height', max - heights.header)\n $(Selector.CONTROL_SIDEBAR + ' .control-sidebar-content').css('height', max - heights.header)\n \n if (typeof $.fn.overlayScrollbars !== 'undefined') {\n $(Selector.SIDEBAR).overlayScrollbars({\n className : this._config.scrollbarTheme,\n sizeAutoCapable : true,\n scrollbars : {\n autoHide: this._config.scrollbarAutoHide, \n clickScrolling : true\n }\n })\n $(Selector.CONTROL_SIDEBAR + ' .control-sidebar-content').overlayScrollbars({\n className : this._config.scrollbarTheme,\n sizeAutoCapable : true,\n scrollbars : {\n autoHide: this._config.scrollbarAutoHide, \n clickScrolling : true\n }\n })\n }\n } else {\n if (heights.window > heights.sidebar) {\n $(Selector.CONTENT).css('min-height', heights.window - heights.header - heights.footer)\n } else {\n $(Selector.CONTENT).css('min-height', heights.sidebar - heights.header)\n }\n }\n }\n\n // Private\n\n _init() {\n // Enable transitions\n $('body').removeClass(ClassName.HOLD)\n\n // Activate layout height watcher\n this.fixLayoutHeight()\n $(Selector.SIDEBAR)\n .on('collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu', () => {\n this.fixLayoutHeight()\n })\n\n $(window).resize(() => {\n this.fixLayoutHeight()\n })\n\n $('body, html').css('height', 'auto')\n }\n\n _max(numbers) {\n // Calculate the maximum number in a list\n let max = 0\n\n Object.keys(numbers).forEach((key) => {\n if (numbers[key] > max) {\n max = numbers[key]\n }\n })\n\n return max\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Layout($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on('load', () => {\n Layout._jQueryInterface.call($('body'))\n })\n\n $(Selector.SIDEBAR + ' a').on('focusin', () => {\n $(Selector.MAIN_SIDEBAR).addClass(ClassName.SIDEBAR_FOCUSED);\n })\n\n $(Selector.SIDEBAR + ' a').on('focusout', () => {\n $(Selector.MAIN_SIDEBAR).removeClass(ClassName.SIDEBAR_FOCUSED);\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Layout._jQueryInterface\n $.fn[NAME].Constructor = Layout\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Layout._jQueryInterface\n }\n\n return Layout\n})(jQuery)\n\nexport default Layout\n","/**\n * --------------------------------------------\n * AdminLTE PushMenu.js\n * License MIT\n * --------------------------------------------\n */\n\nconst PushMenu = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'PushMenu'\n const DATA_KEY = 'lte.pushmenu'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n COLLAPSED: `collapsed${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n }\n\n const Default = {\n autoCollapseSize: false,\n screenCollapseSize: 768\n }\n\n const Selector = {\n TOGGLE_BUTTON : '[data-widget=\"pushmenu\"]',\n SIDEBAR_MINI : '.sidebar-mini',\n SIDEBAR_COLLAPSED: '.sidebar-collapse',\n BODY : 'body',\n OVERLAY : '#sidebar-overlay',\n WRAPPER : '.wrapper'\n }\n\n const ClassName = {\n SIDEBAR_OPEN: 'sidebar-open',\n COLLAPSED : 'sidebar-collapse',\n OPEN : 'sidebar-open',\n SIDEBAR_MINI: 'sidebar-mini'\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class PushMenu {\n constructor(element, options) {\n this._element = element\n this._options = $.extend({}, Default, options)\n\n this._init()\n\n if (!$(Selector.OVERLAY).length) {\n this._addOverlay()\n }\n }\n\n // Public\n\n show() {\n $(Selector.BODY).addClass(ClassName.OPEN).removeClass(ClassName.COLLAPSED)\n\n const shownEvent = $.Event(Event.SHOWN)\n $(this._element).trigger(shownEvent)\n }\n\n collapse() {\n $(Selector.BODY).removeClass(ClassName.OPEN).addClass(ClassName.COLLAPSED)\n\n const collapsedEvent = $.Event(Event.COLLAPSED)\n $(this._element).trigger(collapsedEvent)\n }\n\n isShown() {\n if ($(window).width() >= this._options.screenCollapseSize) {\n return !$(Selector.BODY).hasClass(ClassName.COLLAPSED)\n } else {\n return $(Selector.BODY).hasClass(ClassName.OPEN)\n }\n }\n\n toggle() {\n if (this.isShown()) {\n this.collapse()\n } else {\n this.show()\n }\n }\n\n autoCollapse() {\n if (this._options.autoCollapseSize) {\n if ($(window).width() <= this._options.autoCollapseSize) {\n if (this.isShown()) {\n this.toggle()\n }\n } else {\n if (!this.isShown()) {\n this.toggle()\n }\n }\n }\n }\n\n // Private\n\n _init() {\n this.autoCollapse()\n\n $(window).resize(() => {\n this.autoCollapse()\n })\n }\n\n _addOverlay() {\n const overlay = $('<div />', {\n id: 'sidebar-overlay'\n })\n\n overlay.on('click', () => {\n this.collapse()\n })\n\n $(Selector.WRAPPER).append(overlay)\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new PushMenu(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (operation === 'toggle') {\n data[operation]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(document).on('click', Selector.TOGGLE_BUTTON, (event) => {\n event.preventDefault()\n\n let button = event.currentTarget\n\n if ($(button).data('widget') !== 'pushmenu') {\n button = $(button).closest(Selector.TOGGLE_BUTTON)\n }\n\n PushMenu._jQueryInterface.call($(button), 'toggle')\n })\n\n $(window).on('load', () => {\n PushMenu._jQueryInterface.call($(Selector.TOGGLE_BUTTON))\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = PushMenu._jQueryInterface\n $.fn[NAME].Constructor = PushMenu\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return PushMenu._jQueryInterface\n }\n\n return PushMenu\n})(jQuery)\n\nexport default PushMenu\n","/**\n * --------------------------------------------\n * AdminLTE Treeview.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Treeview = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Treeview'\n const DATA_KEY = 'lte.treeview'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n SELECTED : `selected${EVENT_KEY}`,\n EXPANDED : `expanded${EVENT_KEY}`,\n COLLAPSED : `collapsed${EVENT_KEY}`,\n LOAD_DATA_API: `load${EVENT_KEY}`\n }\n\n const Selector = {\n LI : '.nav-item',\n LINK : '.nav-link',\n TREEVIEW_MENU: '.nav-treeview',\n OPEN : '.menu-open',\n DATA_WIDGET : '[data-widget=\"treeview\"]'\n }\n\n const ClassName = {\n LI : 'nav-item',\n LINK : 'nav-link',\n TREEVIEW_MENU: 'nav-treeview',\n OPEN : 'menu-open'\n }\n\n const Default = {\n trigger : `${Selector.DATA_WIDGET} ${Selector.LINK}`,\n animationSpeed: 300,\n accordion : true\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n class Treeview {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n init() {\n this._setupListeners()\n }\n\n expand(treeviewMenu, parentLi) {\n const expandedEvent = $.Event(Event.EXPANDED)\n\n if (this._config.accordion) {\n const openMenuLi = parentLi.siblings(Selector.OPEN).first()\n const openTreeview = openMenuLi.find(Selector.TREEVIEW_MENU).first()\n this.collapse(openTreeview, openMenuLi)\n }\n\n treeviewMenu.slideDown(this._config.animationSpeed, () => {\n parentLi.addClass(ClassName.OPEN)\n $(this._element).trigger(expandedEvent)\n })\n }\n\n collapse(treeviewMenu, parentLi) {\n const collapsedEvent = $.Event(Event.COLLAPSED)\n\n treeviewMenu.slideUp(this._config.animationSpeed, () => {\n parentLi.removeClass(ClassName.OPEN)\n $(this._element).trigger(collapsedEvent)\n treeviewMenu.find(`${Selector.OPEN} > ${Selector.TREEVIEW_MENU}`).slideUp()\n treeviewMenu.find(Selector.OPEN).removeClass(ClassName.OPEN)\n })\n }\n\n toggle(event) {\n const $relativeTarget = $(event.currentTarget)\n const treeviewMenu = $relativeTarget.next()\n\n if (!treeviewMenu.is(Selector.TREEVIEW_MENU)) {\n return\n }\n\n event.preventDefault()\n\n const parentLi = $relativeTarget.parents(Selector.LI).first()\n const isOpen = parentLi.hasClass(ClassName.OPEN)\n\n if (isOpen) {\n this.collapse($(treeviewMenu), parentLi)\n } else {\n this.expand($(treeviewMenu), parentLi)\n }\n }\n\n // Private\n\n _setupListeners() {\n $(document).on('click', this._config.trigger, (event) => {\n this.toggle(event)\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Treeview($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on(Event.LOAD_DATA_API, () => {\n $(Selector.DATA_WIDGET).each(function () {\n Treeview._jQueryInterface.call($(this), 'init')\n })\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Treeview._jQueryInterface\n $.fn[NAME].Constructor = Treeview\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Treeview._jQueryInterface\n }\n\n return Treeview\n})(jQuery)\n\nexport default Treeview","/**\n * --------------------------------------------\n * AdminLTE DirectChat.js\n * License MIT\n * --------------------------------------------\n */\n\nconst DirectChat = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'DirectChat'\n const DATA_KEY = 'lte.directchat'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n const DATA_API_KEY = '.data-api'\n\n const Selector = {\n DATA_TOGGLE: '[data-widget=\"chat-pane-toggle\"]',\n DIRECT_CHAT: '.direct-chat'\n };\n\n const ClassName = {\n DIRECT_CHAT_OPEN: 'direct-chat-contacts-open'\n };\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class DirectChat {\n constructor(element, config) {\n this._element = element\n }\n\n toggle() {\n $(this._element).parents(Selector.DIRECT_CHAT).first().toggleClass(ClassName.DIRECT_CHAT_OPEN);\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new DirectChat($(this))\n $(this).data(DATA_KEY, data)\n }\n\n data[config]()\n })\n }\n }\n\n /**\n *\n * Data Api implementation\n * ====================================================\n */\n\n $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n if (event) event.preventDefault();\n DirectChat._jQueryInterface.call($(this), 'toggle');\n });\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = DirectChat._jQueryInterface\n $.fn[NAME].Constructor = DirectChat\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return DirectChat._jQueryInterface\n }\n\n return DirectChat\n})(jQuery)\n\nexport default DirectChat\n","/**\n * --------------------------------------------\n * AdminLTE TodoList.js\n * License MIT\n * --------------------------------------------\n */\n\nconst TodoList = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'TodoList'\n const DATA_KEY = 'lte.todolist'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Selector = {\n DATA_TOGGLE: '[data-widget=\"todo-list\"]'\n }\n\n const ClassName = {\n TODO_LIST_DONE: 'done'\n }\n\n const Default = {\n onCheck: function (item) {\n return item;\n },\n onUnCheck: function (item) {\n return item;\n }\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class TodoList {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n toggle(item) {\n item.parents('li').toggleClass(ClassName.TODO_LIST_DONE);\n if (! $(item).prop('checked')) {\n this.unCheck($(item));\n return;\n }\n\n this.check(item);\n }\n\n check (item) {\n this._config.onCheck.call(item);\n }\n\n unCheck (item) {\n this._config.onUnCheck.call(item);\n }\n\n // Private\n\n _init() {\n var that = this\n $(Selector.DATA_TOGGLE).find('input:checkbox:checked').parents('li').toggleClass(ClassName.TODO_LIST_DONE)\n $(Selector.DATA_TOGGLE).on('change', 'input:checkbox', (event) => {\n that.toggle($(event.target))\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new TodoList($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on('load', () => {\n TodoList._jQueryInterface.call($(Selector.DATA_TOGGLE))\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = TodoList._jQueryInterface\n $.fn[NAME].Constructor = TodoList\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return TodoList._jQueryInterface\n }\n\n return TodoList\n})(jQuery)\n\nexport default TodoList\n","/**\n * --------------------------------------------\n * AdminLTE Widget.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Widget = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Widget'\n const DATA_KEY = 'lte.widget'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n EXPANDED : `expanded${EVENT_KEY}`,\n COLLAPSED: `collapsed${EVENT_KEY}`,\n MAXIMIZED: `maximized${EVENT_KEY}`,\n MINIMIZED: `minimized${EVENT_KEY}`,\n REMOVED : `removed${EVENT_KEY}`\n }\n\n const Selector = {\n DATA_REMOVE : '[data-widget=\"remove\"]',\n DATA_COLLAPSE : '[data-widget=\"collapse\"]',\n DATA_MAXIMIZE : '[data-widget=\"maximize\"]',\n CARD : '.card',\n CARD_HEADER : '.card-header',\n CARD_BODY : '.card-body',\n CARD_FOOTER : '.card-footer',\n COLLAPSED : '.collapsed-card',\n COLLAPSE_ICON : '.fa-minus',\n EXPAND_ICON : '.fa-plus'\n }\n\n const ClassName = {\n COLLAPSED : 'collapsed-card',\n WAS_COLLAPSED : 'was-collapsed',\n MAXIMIZED : 'maximized-card',\n COLLAPSE_ICON : 'fa-minus',\n EXPAND_ICON : 'fa-plus',\n MAXIMIZE_ICON : 'fa-expand',\n MINIMIZE_ICON : 'fa-compress',\n }\n\n const Default = {\n animationSpeed : 'normal',\n collapseTrigger: Selector.DATA_COLLAPSE,\n removeTrigger : Selector.DATA_REMOVE\n }\n\n class Widget {\n constructor(element, settings) {\n this._element = element\n this._parent = element.parents(Selector.CARD).first()\n this._settings = $.extend({}, Default, settings)\n }\n\n collapse() {\n this._parent.children(`${Selector.CARD_BODY}, ${Selector.CARD_FOOTER}`)\n .slideUp(this._settings.animationSpeed, () => {\n this._parent.addClass(ClassName.COLLAPSED)\n })\n\n this._element.children(Selector.COLLAPSE_ICON)\n .addClass(ClassName.EXPAND_ICON)\n .removeClass(ClassName.COLLAPSE_ICON)\n\n const collapsed = $.Event(Event.COLLAPSED)\n\n this._element.trigger(collapsed, this._parent)\n }\n\n expand() {\n this._parent.children(`${Selector.CARD_BODY}, ${Selector.CARD_FOOTER}`)\n .slideDown(this._settings.animationSpeed, () => {\n this._parent.removeClass(ClassName.COLLAPSED)\n })\n\n this._element.children(Selector.EXPAND_ICON)\n .addClass(ClassName.COLLAPSE_ICON)\n .removeClass(ClassName.EXPAND_ICON)\n\n const expanded = $.Event(Event.EXPANDED)\n\n this._element.trigger(expanded, this._parent)\n }\n\n remove() {\n this._parent.slideUp()\n\n const removed = $.Event(Event.REMOVED)\n\n this._element.trigger(removed, this._parent)\n }\n\n toggle() {\n if (this._parent.hasClass(ClassName.COLLAPSED)) {\n this.expand()\n return\n }\n\n this.collapse()\n }\n \n toggleMaximize() {\n var button = this._element.find('i')\n\n if (this._parent.hasClass(ClassName.MAXIMIZED)) {\n button.addClass(ClassName.MAXIMIZE_ICON).removeClass(ClassName.MINIMIZE_ICON)\n this._parent.css('cssText', 'height:' + this._parent[0].style.height + ' !important;' +\n 'width:' + this._parent[0].style.width + ' !important; transition: all .15s;'\n ).delay(100).queue(function(){\n $(this).removeClass(ClassName.MAXIMIZED)\n $('html').removeClass(ClassName.MAXIMIZED)\n $(this).trigger(Event.MINIMIZED)\n $(this).css({\n 'height': 'inherit',\n 'width': 'inherit'\n })\n if ($(this).hasClass(ClassName.WAS_COLLAPSED)) {\n $(this).removeClass(ClassName.WAS_COLLAPSED)\n }\n $(this).dequeue()\n })\n } else {\n button.addClass(ClassName.MINIMIZE_ICON).removeClass(ClassName.MAXIMIZE_ICON)\n this._parent.css({\n 'height': this._parent.height(),\n 'width': this._parent.width(),\n 'transition': 'all .15s'\n }).delay(150).queue(function(){\n $(this).addClass(ClassName.MAXIMIZED)\n $('html').addClass(ClassName.MAXIMIZED)\n $(this).trigger(Event.MAXIMIZED)\n if ($(this).hasClass(ClassName.COLLAPSED)) {\n $(this).addClass(ClassName.WAS_COLLAPSED)\n }\n $(this).dequeue()\n })\n }\n }\n\n // Private\n\n _init(card) {\n this._parent = card\n\n $(this).find(this._settings.collapseTrigger).click(() => {\n this.toggle()\n })\n\n $(this).find(this._settings.removeTrigger).click(() => {\n this.remove()\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new Widget($(this), data)\n $(this).data(DATA_KEY, typeof config === 'string' ? data : config)\n }\n\n if (typeof config === 'string' && config.match(/remove|toggle|toggleMaximize/)) {\n data[config]()\n } else if (typeof config === 'object') {\n data._init($(this))\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(document).on('click', Selector.DATA_COLLAPSE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'toggle')\n })\n\n $(document).on('click', Selector.DATA_REMOVE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'remove')\n })\n\n $(document).on('click', Selector.DATA_MAXIMIZE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'toggleMaximize')\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Widget._jQueryInterface\n $.fn[NAME].Constructor = Widget\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Widget._jQueryInterface\n }\n\n return Widget\n})(jQuery)\n\nexport default Widget\n"],"names":["ControlSidebar","$","NAME","DATA_KEY","JQUERY_NO_CONFLICT","fn","Selector","CONTROL_SIDEBAR","DATA_TOGGLE","MAIN_HEADER","ClassName","CONTROL_SIDEBAR_ANIMATE","CONTROL_SIDEBAR_OPEN","CONTROL_SIDEBAR_SLIDE","Default","slide","element","config","_element","_config","_getConfig","show","addClass","removeClass","delay","queue","hide","dequeue","collapse","toggle","_setMargin","shouldOpen","hasClass","extend","css","top","innerHeight","_jQueryInterface","operation","each","data","Error","document","on","event","preventDefault","call","Constructor","noConflict","jQuery","Layout","HEADER","MAIN_SIDEBAR","SIDEBAR","CONTENT","BRAND","CONTENT_HEADER","WRAPPER","LAYOUT_FIXED","FOOTER","HOLD","CONTENT_FIXED","SIDEBAR_FOCUSED","NAVBAR_FIXED","FOOTER_FIXED","scrollbarTheme","scrollbarAutoHide","_init","fixLayoutHeight","heights","window","height","header","outerHeight","footer","sidebar","max","_max","overlayScrollbars","className","sizeAutoCapable","scrollbars","autoHide","clickScrolling","resize","numbers","Object","keys","forEach","key","PushMenu","EVENT_KEY","Event","COLLAPSED","SHOWN","autoCollapseSize","screenCollapseSize","TOGGLE_BUTTON","SIDEBAR_MINI","SIDEBAR_COLLAPSED","BODY","OVERLAY","SIDEBAR_OPEN","OPEN","options","_options","length","_addOverlay","shownEvent","trigger","collapsedEvent","isShown","width","autoCollapse","overlay","id","append","button","currentTarget","closest","Treeview","SELECTED","EXPANDED","LOAD_DATA_API","LI","LINK","TREEVIEW_MENU","DATA_WIDGET","animationSpeed","accordion","init","_setupListeners","expand","treeviewMenu","parentLi","expandedEvent","openMenuLi","siblings","first","openTreeview","find","slideDown","slideUp","$relativeTarget","next","is","parents","isOpen","DirectChat","DIRECT_CHAT","DIRECT_CHAT_OPEN","toggleClass","TodoList","TODO_LIST_DONE","onCheck","item","onUnCheck","prop","unCheck","check","that","target","Widget","MAXIMIZED","MINIMIZED","REMOVED","DATA_REMOVE","DATA_COLLAPSE","DATA_MAXIMIZE","CARD","CARD_HEADER","CARD_BODY","CARD_FOOTER","COLLAPSE_ICON","EXPAND_ICON","WAS_COLLAPSED","MAXIMIZE_ICON","MINIMIZE_ICON","collapseTrigger","removeTrigger","settings","_parent","_settings","children","collapsed","expanded","remove","removed","toggleMaximize","style","card","click","match"],"mappings":";;;;;;;;;;;EAAA;;;;;;EAOA,IAAMA,cAAc,GAAI,UAACC,CAAD,EAAO;EAC7B;;;;EAKA,MAAMC,IAAI,GAAiB,gBAA3B;EACA,MAAMC,QAAQ,GAAa,qBAA3B;AACA,EACA,MAAMC,kBAAkB,GAAGH,CAAC,CAACI,EAAF,CAAKH,IAAL,CAA3B;AACA,EAMA,MAAMI,QAAQ,GAAG;EACfC,IAAAA,eAAe,EAAE,kBADF;EAEfC,IAAAA,WAAW,EAAM,iCAFF;EAGfC,IAAAA,WAAW,EAAM;EAHF,GAAjB;EAMA,MAAMC,SAAS,GAAG;EAChBC,IAAAA,uBAAuB,EAAE,yBADT;EAEhBC,IAAAA,oBAAoB,EAAK,sBAFT;EAGhBC,IAAAA,qBAAqB,EAAI;EAHT,GAAlB;EAMA,MAAMC,OAAO,GAAG;EACdC,IAAAA,KAAK,EAAE;EAGT;;;;;EAJgB,GAAhB;;EA5B6B,MAqCvBf,cArCuB;EAAA;EAAA;EAsC3B,4BAAYgB,OAAZ,EAAqBC,MAArB,EAA6B;EAC3B,WAAKC,QAAL,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EAAF,CAAKH,IAAL,EAAW6C,WAAX,GAAyBmH,MAAzB;;EACAjK,EAAAA,CAAC,CAACI,EAAF,CAAKH,IAAL,EAAW8C,UAAX,GAAyB,YAAY;EACnC/C,IAAAA,CAAC,CAACI,EAAF,CAAKH,IAAL,IAAaE,kBAAb;EACA,WAAO8J,MAAM,CAAC7H,gBAAd;EACD,GAHD;;EAKA,SAAO6H,MAAP;EACD,CAxNc,CAwNZjH,MAxNY,CAAf;;;;;;;;;;;;;;;;;;"}
\ No newline at end of file
dist/js/adminlte.min.js
浏览文件 @
fe693889
...
...
@@ -3,5 +3,5 @@
* 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
t
=
function
(
e
){
var
t
=
"
ControlSidebar
"
,
n
=
e
.
fn
[
t
],
i
=
"
.control-sidebar
"
,
o
=
'
[data-widget="control-sidebar"]
'
,
s
=
"
.main-header
"
,
a
=
"
control-sidebar-animate
"
,
r
=
"
control-sidebar-open
"
,
c
=
"
control-sidebar-slide-open
"
,
l
=
{
slide
:
!
0
},
u
=
function
(){
function
t
(
e
,
t
){
this
.
_element
=
e
,
this
.
_config
=
this
.
_getConfig
(
t
)}
var
n
=
t
.
prototype
;
return
n
.
show
=
function
(){
this
.
_config
.
slide
?(
e
(
"
html
"
).
addClass
(
a
),
e
(
"
body
"
).
removeClass
(
c
).
delay
(
300
).
queue
(
function
(){
e
(
i
).
hide
(),
e
(
"
html
"
).
removeClass
(
a
),
e
(
this
).
dequeue
()})):
e
(
"
body
"
).
removeClass
(
r
)},
n
.
collapse
=
function
(){
this
.
_config
.
slide
?(
e
(
"
html
"
).
addClass
(
a
),
e
(
i
).
show
().
delay
(
100
).
queue
(
function
(){
e
(
"
body
"
).
addClass
(
c
).
delay
(
300
).
queue
(
function
(){
e
(
"
html
"
).
removeClass
(
a
),
e
(
this
).
dequeue
()}),
e
(
this
).
dequeue
()})):
e
(
"
body
"
).
addClass
(
r
)},
n
.
toggle
=
function
(){
this
.
_setMargin
(),
e
(
"
body
"
).
hasClass
(
r
)
||
e
(
"
body
"
).
hasClass
(
c
)?
this
.
show
():
this
.
collapse
()},
n
.
_getConfig
=
function
(
t
){
return
e
.
extend
({},
l
,
t
)},
n
.
_setMargin
=
function
(){
e
(
i
).
css
({
top
:
e
(
s
).
innerHeight
()})},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.control.sidebar
"
);
if
(
i
||
(
i
=
new
t
(
this
,
e
(
this
).
data
()),
e
(
this
).
data
(
"
lte.control.sidebar
"
,
i
)),
"
undefined
"
===
i
[
n
])
throw
new
Error
(
n
+
"
is not a function
"
);
i
[
n
]()})},
t
}();
return
e
(
document
).
on
(
"
click
"
,
o
,
function
(
t
){
t
.
preventDefault
(),
u
.
_jQueryInterface
.
call
(
e
(
this
),
"
toggle
"
)}),
e
.
fn
[
t
]
=
u
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
u
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
u
.
_jQueryInterface
},
u
}(
jQuery
),
n
=
function
(
e
){
var
t
=
"
Layout
"
,
n
=
e
.
fn
[
t
],
i
=
"
.main-header
"
,
o
=
"
.main-sidebar
"
,
s
=
"
.main-sidebar .sidebar
"
,
a
=
"
.content-wrapper
"
,
r
=
"
.control-sidebar
"
,
c
=
"
.main-footer
"
,
l
=
"
hold-transition
"
,
u
=
"
sidebar-focused
"
,
h
=
"
layout-fixed
"
,
d
=
{
scrollbarTheme
:
"
os-theme-light
"
,
scrollbarAutoHide
:
"
l
"
},
f
=
function
(){
function
t
(
e
,
t
){
this
.
_config
=
t
,
this
.
_element
=
e
,
this
.
_init
()}
var
n
=
t
.
prototype
;
return
n
.
fixLayoutHeight
=
function
(){
var
t
=
{
window
:
e
(
window
).
height
(),
header
:
e
(
i
).
outerHeight
(),
footer
:
e
(
c
).
outerHeight
(),
sidebar
:
e
(
s
).
height
()},
n
=
this
.
_max
(
t
);
e
(
"
body
"
).
hasClass
(
h
)?(
e
(
a
).
css
(
"
min-height
"
,
n
-
t
.
header
-
t
.
footer
),
e
(
r
+
"
.control-sidebar-content
"
).
css
(
"
height
"
,
n
-
t
.
header
),
"
undefined
"
!=
typeof
e
.
fn
.
overlayScrollbars
&&
(
e
(
s
).
overlayScrollbars
({
className
:
this
.
_config
.
scrollbarTheme
,
sizeAutoCapable
:
!
0
,
scrollbars
:{
autoHide
:
this
.
_config
.
scrollbarAutoHide
,
clickScrolling
:
!
0
}}),
e
(
r
+
"
.control-sidebar-content
"
).
overlayScrollbars
({
className
:
this
.
_config
.
scrollbarTheme
,
sizeAutoCapable
:
!
0
,
scrollbars
:{
autoHide
:
this
.
_config
.
scrollbarAutoHide
,
clickScrolling
:
!
0
}}))):
t
.
window
>
t
.
sidebar
?
e
(
a
).
css
(
"
min-height
"
,
t
.
window
-
t
.
header
-
t
.
footer
):
e
(
a
).
css
(
"
min-height
"
,
t
.
sidebar
-
t
.
header
)},
n
.
_init
=
function
(){
var
t
=
this
;
e
(
"
body
"
).
removeClass
(
l
),
this
.
fixLayoutHeight
(),
e
(
s
).
on
(
"
collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu
"
,
function
(){
t
.
fixLayoutHeight
()}),
e
(
window
).
resize
(
function
(){
t
.
fixLayoutHeight
()}),
e
(
"
body, html
"
).
css
(
"
height
"
,
"
auto
"
)},
n
.
_max
=
function
(
e
){
var
t
=
0
;
return
Object
.
keys
(
e
).
forEach
(
function
(
n
){
e
[
n
]
>
t
&&
(
t
=
e
[
n
])}),
t
},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.layout
"
),
o
=
e
.
extend
({},
d
,
e
(
this
).
data
());
i
||
(
i
=
new
t
(
e
(
this
),
o
),
e
(
this
).
data
(
"
lte.layout
"
,
i
)),
"
init
"
===
n
&&
i
[
n
]()})},
t
}();
return
e
(
window
).
on
(
"
load
"
,
function
(){
f
.
_jQueryInterface
.
call
(
e
(
"
body
"
))}),
e
(
s
+
"
a
"
).
on
(
"
focusin
"
,
function
(){
e
(
o
).
addClass
(
u
)}),
e
(
s
+
"
a
"
).
on
(
"
focusout
"
,
function
(){
e
(
o
).
removeClass
(
u
)}),
e
.
fn
[
t
]
=
f
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
f
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
f
.
_jQueryInterface
},
f
}(
jQuery
),
i
=
function
(
e
){
var
t
=
"
PushMenu
"
,
n
=
e
.
fn
[
t
],
i
=
{
COLLAPSED
:
"
collapsed.lte.pushmenu
"
,
SHOWN
:
"
shown.lte.pushmenu
"
},
o
=
{
autoCollapseSize
:
!
1
,
screenCollapseSize
:
768
},
s
=
{
TOGGLE_BUTTON
:
'
[data-widget="pushmenu"]
'
,
SIDEBAR_MINI
:
"
.sidebar-mini
"
,
SIDEBAR_COLLAPSED
:
"
.sidebar-collapse
"
,
BODY
:
"
body
"
,
OVERLAY
:
"
#sidebar-overlay
"
,
WRAPPER
:
"
.wrapper
"
},
a
=
"
sidebar-collapse
"
,
r
=
"
sidebar-open
"
,
c
=
function
(){
function
t
(
t
,
n
){
this
.
_element
=
t
,
this
.
_options
=
e
.
extend
({},
o
,
n
),
this
.
_init
(),
e
(
s
.
OVERLAY
).
length
||
this
.
_addOverlay
()}
var
n
=
t
.
prototype
;
return
n
.
show
=
function
(){
e
(
s
.
BODY
).
addClass
(
r
).
removeClass
(
a
);
var
t
=
e
.
Event
(
i
.
SHOWN
);
e
(
this
.
_element
).
trigger
(
t
)},
n
.
collapse
=
function
(){
e
(
s
.
BODY
).
removeClass
(
r
).
addClass
(
a
);
var
t
=
e
.
Event
(
i
.
COLLAPSED
);
e
(
this
.
_element
).
trigger
(
t
)},
n
.
isShown
=
function
(){
return
e
(
window
).
width
()
>=
this
.
_options
.
screenCollapseSize
?
!
e
(
s
.
BODY
).
hasClass
(
a
):
e
(
s
.
BODY
).
hasClass
(
r
)},
n
.
toggle
=
function
(){
this
.
isShown
()?
this
.
collapse
():
this
.
show
()},
n
.
autoCollapse
=
function
(){
this
.
_options
.
autoCollapseSize
&&
(
e
(
window
).
width
()
<=
this
.
_options
.
autoCollapseSize
?
this
.
isShown
()
&&
this
.
toggle
():
this
.
isShown
()
||
this
.
toggle
())},
n
.
_init
=
function
(){
var
t
=
this
;
this
.
autoCollapse
(),
e
(
window
).
resize
(
function
(){
t
.
autoCollapse
()})},
n
.
_addOverlay
=
function
(){
var
t
=
this
,
n
=
e
(
"
<div />
"
,{
id
:
"
sidebar-overlay
"
});
n
.
on
(
"
click
"
,
function
(){
t
.
collapse
()}),
e
(
s
.
WRAPPER
).
append
(
n
)},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.pushmenu
"
),
s
=
e
.
extend
({},
o
,
e
(
this
).
data
());
i
||
(
i
=
new
t
(
this
,
s
),
e
(
this
).
data
(
"
lte.pushmenu
"
,
i
)),
"
toggle
"
===
n
&&
i
[
n
]()})},
t
}();
return
e
(
document
).
on
(
"
click
"
,
s
.
TOGGLE_BUTTON
,
function
(
t
){
t
.
preventDefault
();
var
n
=
t
.
currentTarget
;
"
pushmenu
"
!==
e
(
n
).
data
(
"
widget
"
)
&&
(
n
=
e
(
n
).
closest
(
s
.
TOGGLE_BUTTON
)),
c
.
_jQueryInterface
.
call
(
e
(
n
),
"
toggle
"
)}),
e
(
window
).
on
(
"
load
"
,
function
(){
c
.
_jQueryInterface
.
call
(
e
(
s
.
TOGGLE_BUTTON
))}),
e
.
fn
[
t
]
=
c
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
c
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
c
.
_jQueryInterface
},
c
}(
jQuery
),
o
=
function
(
e
){
var
t
=
"
Treeview
"
,
n
=
e
.
fn
[
t
],
i
=
{
SELECTED
:
"
selected.lte.treeview
"
,
EXPANDED
:
"
expanded.lte.treeview
"
,
COLLAPSED
:
"
collapsed.lte.treeview
"
,
LOAD_DATA_API
:
"
load.lte.treeview
"
},
o
=
"
.nav-item
"
,
s
=
"
.nav-treeview
"
,
a
=
"
.menu-open
"
,
r
=
'
[data-widget="treeview"]
'
,
c
=
"
menu-open
"
,
l
=
{
trigger
:
r
+
"
"
+
"
.nav-link
"
,
animationSpeed
:
300
,
accordion
:
!
0
},
u
=
function
(){
function
t
(
e
,
t
){
this
.
_config
=
t
,
this
.
_element
=
e
}
var
n
=
t
.
prototype
;
return
n
.
init
=
function
(){
this
.
_setupListeners
()},
n
.
expand
=
function
(
t
,
n
){
var
o
=
this
,
r
=
e
.
Event
(
i
.
EXPANDED
);
if
(
this
.
_config
.
accordion
){
var
l
=
n
.
siblings
(
a
).
first
(),
u
=
l
.
find
(
s
).
first
();
this
.
collapse
(
u
,
l
)}
t
.
slideDown
(
this
.
_config
.
animationSpeed
,
function
(){
n
.
addClass
(
c
),
e
(
o
.
_element
).
trigger
(
r
)})},
n
.
collapse
=
function
(
t
,
n
){
var
o
=
this
,
r
=
e
.
Event
(
i
.
COLLAPSED
);
t
.
slideUp
(
this
.
_config
.
animationSpeed
,
function
(){
n
.
removeClass
(
c
),
e
(
o
.
_element
).
trigger
(
r
),
t
.
find
(
a
+
"
>
"
+
s
).
slideUp
(),
t
.
find
(
a
).
removeClass
(
c
)})},
n
.
toggle
=
function
(
t
){
var
n
=
e
(
t
.
currentTarget
),
i
=
n
.
next
();
if
(
i
.
is
(
s
)){
t
.
preventDefault
();
var
a
=
n
.
parents
(
o
).
first
();
a
.
hasClass
(
c
)?
this
.
collapse
(
e
(
i
),
a
):
this
.
expand
(
e
(
i
),
a
)}},
n
.
_setupListeners
=
function
(){
var
t
=
this
;
e
(
document
).
on
(
"
click
"
,
this
.
_config
.
trigger
,
function
(
e
){
t
.
toggle
(
e
)})},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.treeview
"
),
o
=
e
.
extend
({},
l
,
e
(
this
).
data
());
i
||
(
i
=
new
t
(
e
(
this
),
o
),
e
(
this
).
data
(
"
lte.treeview
"
,
i
)),
"
init
"
===
n
&&
i
[
n
]()})},
t
}();
return
e
(
window
).
on
(
i
.
LOAD_DATA_API
,
function
(){
e
(
r
).
each
(
function
(){
u
.
_jQueryInterface
.
call
(
e
(
this
),
"
init
"
)})}),
e
.
fn
[
t
]
=
u
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
u
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
u
.
_jQueryInterface
},
u
}(
jQuery
),
s
=
function
(
e
){
var
t
=
"
DirectChat
"
,
n
=
e
.
fn
[
t
],
i
=
'
[data-widget="chat-pane-toggle"]
'
,
o
=
"
.direct-chat
"
,
s
=
"
direct-chat-contacts-open
"
,
a
=
function
(){
function
t
(
e
,
t
){
this
.
_element
=
e
}
return
t
.
prototype
.
toggle
=
function
(){
e
(
this
.
_element
).
parents
(
o
).
first
().
toggleClass
(
s
)},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.directchat
"
);
i
||
(
i
=
new
t
(
e
(
this
)),
e
(
this
).
data
(
"
lte.directchat
"
,
i
)),
i
[
n
]()})},
t
}();
return
e
(
document
).
on
(
"
click
"
,
i
,
function
(
t
){
t
&&
t
.
preventDefault
(),
a
.
_jQueryInterface
.
call
(
e
(
this
),
"
toggle
"
)}),
e
.
fn
[
t
]
=
a
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
a
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
a
.
_jQueryInterface
},
a
}(
jQuery
),
a
=
function
(
e
){
var
t
=
"
TodoList
"
,
n
=
e
.
fn
[
t
],
i
=
'
[data-widget="todo-list"]
'
,
o
=
"
done
"
,
s
=
{
onCheck
:
function
(
e
){
return
e
},
onUnCheck
:
function
(
e
){
return
e
}},
a
=
function
(){
function
t
(
e
,
t
){
this
.
_config
=
t
,
this
.
_element
=
e
,
this
.
_init
()}
var
n
=
t
.
prototype
;
return
n
.
toggle
=
function
(
t
){
t
.
parents
(
"
li
"
).
toggleClass
(
o
),
e
(
t
).
prop
(
"
checked
"
)?
this
.
check
(
t
):
this
.
unCheck
(
e
(
t
))},
n
.
check
=
function
(
e
){
this
.
_config
.
onCheck
.
call
(
e
)},
n
.
unCheck
=
function
(
e
){
this
.
_config
.
onUnCheck
.
call
(
e
)},
n
.
_init
=
function
(){
var
t
=
this
;
e
(
i
).
find
(
"
input:checkbox:checked
"
).
parents
(
"
li
"
).
toggleClass
(
o
),
e
(
i
).
on
(
"
change
"
,
"
input:checkbox
"
,
function
(
n
){
t
.
toggle
(
e
(
n
.
target
))})},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.todolist
"
),
o
=
e
.
extend
({},
s
,
e
(
this
).
data
());
i
||
(
i
=
new
t
(
e
(
this
),
o
),
e
(
this
).
data
(
"
lte.todolist
"
,
i
)),
"
init
"
===
n
&&
i
[
n
]()})},
t
}();
return
e
(
window
).
on
(
"
load
"
,
function
(){
a
.
_jQueryInterface
.
call
(
e
(
i
))}),
e
.
fn
[
t
]
=
a
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
a
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
a
.
_jQueryInterface
},
a
}(
jQuery
),
r
=
function
(
e
){
var
t
=
"
Widget
"
,
n
=
e
.
fn
[
t
],
i
=
{
EXPANDED
:
"
expanded.lte.widget
"
,
COLLAPSED
:
"
collapsed.lte.widget
"
,
MAXIMIZED
:
"
maximized.lte.widget
"
,
MINIMIZED
:
"
minimized.lte.widget
"
,
REMOVED
:
"
removed.lte.widget
"
},
o
=
{
DATA_REMOVE
:
'
[data-widget="remove"]
'
,
DATA_COLLAPSE
:
'
[data-widget="collapse"]
'
,
DATA_MAXIMIZE
:
'
[data-widget="maximize"]
'
,
CARD
:
"
.card
"
,
CARD_HEADER
:
"
.card-header
"
,
CARD_BODY
:
"
.card-body
"
,
CARD_FOOTER
:
"
.card-footer
"
,
COLLAPSED
:
"
.collapsed-card
"
,
COLLAPSE_ICON
:
"
.fa-minus
"
,
EXPAND_ICON
:
"
.fa-plus
"
},
s
=
"
collapsed-card
"
,
a
=
"
was-collapsed
"
,
r
=
"
maximized-card
"
,
c
=
"
fa-minus
"
,
l
=
"
fa-plus
"
,
u
=
"
fa-expand
"
,
h
=
"
fa-compress
"
,
d
=
{
animationSpeed
:
"
normal
"
,
collapseTrigger
:
o
.
DATA_COLLAPSE
,
removeTrigger
:
o
.
DATA_REMOVE
},
f
=
function
(){
function
t
(
t
,
n
){
this
.
_element
=
t
,
this
.
_parent
=
t
.
parents
(
o
.
CARD
).
first
(),
this
.
_settings
=
e
.
extend
({},
d
,
n
)}
var
n
=
t
.
prototype
;
return
n
.
collapse
=
function
(){
var
t
=
this
;
this
.
_parent
.
children
(
o
.
CARD_BODY
+
"
,
"
+
o
.
CARD_FOOTER
).
slideUp
(
this
.
_settings
.
animationSpeed
,
function
(){
t
.
_parent
.
addClass
(
s
)}),
this
.
_element
.
children
(
o
.
COLLAPSE_ICON
).
addClass
(
l
).
removeClass
(
c
);
var
n
=
e
.
Event
(
i
.
COLLAPSED
);
this
.
_element
.
trigger
(
n
,
this
.
_parent
)},
n
.
expand
=
function
(){
var
t
=
this
;
this
.
_parent
.
children
(
o
.
CARD_BODY
+
"
,
"
+
o
.
CARD_FOOTER
).
slideDown
(
this
.
_settings
.
animationSpeed
,
function
(){
t
.
_parent
.
removeClass
(
s
)}),
this
.
_element
.
children
(
o
.
EXPAND_ICON
).
addClass
(
c
).
removeClass
(
l
);
var
n
=
e
.
Event
(
i
.
EXPANDED
);
this
.
_element
.
trigger
(
n
,
this
.
_parent
)},
n
.
remove
=
function
(){
this
.
_parent
.
slideUp
();
var
t
=
e
.
Event
(
i
.
REMOVED
);
this
.
_element
.
trigger
(
t
,
this
.
_parent
)},
n
.
toggle
=
function
(){
this
.
_parent
.
hasClass
(
s
)?
this
.
expand
():
this
.
collapse
()},
n
.
toggleMaximize
=
function
(){
var
t
=
this
.
_element
.
find
(
"
i
"
);
this
.
_parent
.
hasClass
(
r
)?(
t
.
addClass
(
u
).
removeClass
(
h
),
this
.
_parent
.
css
(
"
cssText
"
,
"
height:
"
+
this
.
_parent
[
0
].
style
.
height
+
"
!important;width:
"
+
this
.
_parent
[
0
].
style
.
width
+
"
!important; transition: all .15s;
"
).
delay
(
100
).
queue
(
function
(){
e
(
this
).
removeClass
(
r
),
e
(
"
html
"
).
removeClass
(
r
),
e
(
this
).
trigger
(
i
.
MINIMIZED
),
e
(
this
).
css
({
height
:
"
inherit
"
,
width
:
"
inherit
"
}),
e
(
this
).
hasClass
(
a
)
&&
e
(
this
).
removeClass
(
a
),
e
(
this
).
dequeue
()})):(
t
.
addClass
(
h
).
removeClass
(
u
),
this
.
_parent
.
css
({
height
:
this
.
_parent
.
height
(),
width
:
this
.
_parent
.
width
(),
transition
:
"
all .15s
"
}).
delay
(
150
).
queue
(
function
(){
e
(
this
).
addClass
(
r
),
e
(
"
html
"
).
addClass
(
r
),
e
(
this
).
trigger
(
i
.
MAXIMIZED
),
e
(
this
).
hasClass
(
s
)
&&
e
(
this
).
addClass
(
a
),
e
(
this
).
dequeue
()}))},
n
.
_init
=
function
(
t
){
var
n
=
this
;
this
.
_parent
=
t
,
e
(
this
).
find
(
this
.
_settings
.
collapseTrigger
).
click
(
function
(){
n
.
toggle
()}),
e
(
this
).
find
(
this
.
_settings
.
removeTrigger
).
click
(
function
(){
n
.
remove
()})},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.widget
"
);
i
||
(
i
=
new
t
(
e
(
this
),
i
),
e
(
this
).
data
(
"
lte.widget
"
,
"
string
"
==
typeof
n
?
i
:
n
)),
"
string
"
==
typeof
n
&&
n
.
match
(
/remove|toggle/
)?
i
[
n
]():
"
object
"
==
typeof
n
&&
i
.
_init
(
e
(
this
))})},
t
}();
return
e
(
document
).
on
(
"
click
"
,
o
.
DATA_COLLAPSE
,
function
(
t
){
t
&&
t
.
preventDefault
(),
f
.
_jQueryInterface
.
call
(
e
(
this
),
"
toggle
"
)}),
e
(
document
).
on
(
"
click
"
,
o
.
DATA_REMOVE
,
function
(
t
){
t
&&
t
.
preventDefault
(),
f
.
_jQueryInterface
.
call
(
e
(
this
),
"
remove
"
)}),
e
(
document
).
on
(
"
click
"
,
o
.
DATA_MAXIMIZE
,
function
(
t
){
t
&&
t
.
preventDefault
(),
f
.
_jQueryInterface
.
call
(
e
(
this
),
"
toggleMaximize
"
)}),
e
.
fn
[
t
]
=
f
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
f
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
f
.
_jQueryInterface
},
f
}(
jQuery
);
e
.
ControlSidebar
=
t
,
e
.
DirectChat
=
s
,
e
.
Layout
=
n
,
e
.
PushMenu
=
i
,
e
.
TodoList
=
a
,
e
.
Treeview
=
o
,
e
.
Widget
=
r
,
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})});
!
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
t
=
function
(
e
){
var
t
=
"
ControlSidebar
"
,
n
=
e
.
fn
[
t
],
i
=
"
.control-sidebar
"
,
o
=
'
[data-widget="control-sidebar"]
'
,
a
=
"
.main-header
"
,
s
=
"
control-sidebar-animate
"
,
r
=
"
control-sidebar-open
"
,
c
=
"
control-sidebar-slide-open
"
,
l
=
{
slide
:
!
0
},
u
=
function
(){
function
t
(
e
,
t
){
this
.
_element
=
e
,
this
.
_config
=
this
.
_getConfig
(
t
)}
var
n
=
t
.
prototype
;
return
n
.
show
=
function
(){
this
.
_config
.
slide
?(
e
(
"
html
"
).
addClass
(
s
),
e
(
"
body
"
).
removeClass
(
c
).
delay
(
300
).
queue
(
function
(){
e
(
i
).
hide
(),
e
(
"
html
"
).
removeClass
(
s
),
e
(
this
).
dequeue
()})):
e
(
"
body
"
).
removeClass
(
r
)},
n
.
collapse
=
function
(){
this
.
_config
.
slide
?(
e
(
"
html
"
).
addClass
(
s
),
e
(
i
).
show
().
delay
(
100
).
queue
(
function
(){
e
(
"
body
"
).
addClass
(
c
).
delay
(
300
).
queue
(
function
(){
e
(
"
html
"
).
removeClass
(
s
),
e
(
this
).
dequeue
()}),
e
(
this
).
dequeue
()})):
e
(
"
body
"
).
addClass
(
r
)},
n
.
toggle
=
function
(){
this
.
_setMargin
(),
e
(
"
body
"
).
hasClass
(
r
)
||
e
(
"
body
"
).
hasClass
(
c
)?
this
.
show
():
this
.
collapse
()},
n
.
_getConfig
=
function
(
t
){
return
e
.
extend
({},
l
,
t
)},
n
.
_setMargin
=
function
(){
e
(
i
).
css
({
top
:
e
(
a
).
innerHeight
()})},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.control.sidebar
"
);
if
(
i
||
(
i
=
new
t
(
this
,
e
(
this
).
data
()),
e
(
this
).
data
(
"
lte.control.sidebar
"
,
i
)),
"
undefined
"
===
i
[
n
])
throw
new
Error
(
n
+
"
is not a function
"
);
i
[
n
]()})},
t
}();
return
e
(
document
).
on
(
"
click
"
,
o
,
function
(
t
){
t
.
preventDefault
(),
u
.
_jQueryInterface
.
call
(
e
(
this
),
"
toggle
"
)}),
e
.
fn
[
t
]
=
u
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
u
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
u
.
_jQueryInterface
},
u
}(
jQuery
),
n
=
function
(
e
){
var
t
=
"
Layout
"
,
n
=
e
.
fn
[
t
],
i
=
"
.main-header
"
,
o
=
"
.main-sidebar
"
,
a
=
"
.main-sidebar .sidebar
"
,
s
=
"
.content-wrapper
"
,
r
=
"
.control-sidebar
"
,
c
=
"
.main-footer
"
,
l
=
"
hold-transition
"
,
u
=
"
sidebar-focused
"
,
h
=
"
layout-fixed
"
,
d
=
{
scrollbarTheme
:
"
os-theme-light
"
,
scrollbarAutoHide
:
"
l
"
},
f
=
function
(){
function
t
(
e
,
t
){
this
.
_config
=
t
,
this
.
_element
=
e
,
this
.
_init
()}
var
n
=
t
.
prototype
;
return
n
.
fixLayoutHeight
=
function
(){
var
t
=
{
window
:
e
(
window
).
height
(),
header
:
e
(
i
).
outerHeight
(),
footer
:
e
(
c
).
outerHeight
(),
sidebar
:
e
(
a
).
height
()},
n
=
this
.
_max
(
t
);
e
(
"
body
"
).
hasClass
(
h
)?(
e
(
s
).
css
(
"
min-height
"
,
n
-
t
.
header
-
t
.
footer
),
e
(
r
+
"
.control-sidebar-content
"
).
css
(
"
height
"
,
n
-
t
.
header
),
"
undefined
"
!=
typeof
e
.
fn
.
overlayScrollbars
&&
(
e
(
a
).
overlayScrollbars
({
className
:
this
.
_config
.
scrollbarTheme
,
sizeAutoCapable
:
!
0
,
scrollbars
:{
autoHide
:
this
.
_config
.
scrollbarAutoHide
,
clickScrolling
:
!
0
}}),
e
(
r
+
"
.control-sidebar-content
"
).
overlayScrollbars
({
className
:
this
.
_config
.
scrollbarTheme
,
sizeAutoCapable
:
!
0
,
scrollbars
:{
autoHide
:
this
.
_config
.
scrollbarAutoHide
,
clickScrolling
:
!
0
}}))):
t
.
window
>
t
.
sidebar
?
e
(
s
).
css
(
"
min-height
"
,
t
.
window
-
t
.
header
-
t
.
footer
):
e
(
s
).
css
(
"
min-height
"
,
t
.
sidebar
-
t
.
header
)},
n
.
_init
=
function
(){
var
t
=
this
;
e
(
"
body
"
).
removeClass
(
l
),
this
.
fixLayoutHeight
(),
e
(
a
).
on
(
"
collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu
"
,
function
(){
t
.
fixLayoutHeight
()}),
e
(
window
).
resize
(
function
(){
t
.
fixLayoutHeight
()}),
e
(
"
body, html
"
).
css
(
"
height
"
,
"
auto
"
)},
n
.
_max
=
function
(
e
){
var
t
=
0
;
return
Object
.
keys
(
e
).
forEach
(
function
(
n
){
e
[
n
]
>
t
&&
(
t
=
e
[
n
])}),
t
},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.layout
"
),
o
=
e
.
extend
({},
d
,
e
(
this
).
data
());
i
||
(
i
=
new
t
(
e
(
this
),
o
),
e
(
this
).
data
(
"
lte.layout
"
,
i
)),
"
init
"
===
n
&&
i
[
n
]()})},
t
}();
return
e
(
window
).
on
(
"
load
"
,
function
(){
f
.
_jQueryInterface
.
call
(
e
(
"
body
"
))}),
e
(
a
+
"
a
"
).
on
(
"
focusin
"
,
function
(){
e
(
o
).
addClass
(
u
)}),
e
(
a
+
"
a
"
).
on
(
"
focusout
"
,
function
(){
e
(
o
).
removeClass
(
u
)}),
e
.
fn
[
t
]
=
f
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
f
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
f
.
_jQueryInterface
},
f
}(
jQuery
),
i
=
function
(
e
){
var
t
=
"
PushMenu
"
,
n
=
e
.
fn
[
t
],
i
=
{
COLLAPSED
:
"
collapsed.lte.pushmenu
"
,
SHOWN
:
"
shown.lte.pushmenu
"
},
o
=
{
autoCollapseSize
:
!
1
,
screenCollapseSize
:
768
},
a
=
{
TOGGLE_BUTTON
:
'
[data-widget="pushmenu"]
'
,
SIDEBAR_MINI
:
"
.sidebar-mini
"
,
SIDEBAR_COLLAPSED
:
"
.sidebar-collapse
"
,
BODY
:
"
body
"
,
OVERLAY
:
"
#sidebar-overlay
"
,
WRAPPER
:
"
.wrapper
"
},
s
=
"
sidebar-collapse
"
,
r
=
"
sidebar-open
"
,
c
=
function
(){
function
t
(
t
,
n
){
this
.
_element
=
t
,
this
.
_options
=
e
.
extend
({},
o
,
n
),
this
.
_init
(),
e
(
a
.
OVERLAY
).
length
||
this
.
_addOverlay
()}
var
n
=
t
.
prototype
;
return
n
.
show
=
function
(){
e
(
a
.
BODY
).
addClass
(
r
).
removeClass
(
s
);
var
t
=
e
.
Event
(
i
.
SHOWN
);
e
(
this
.
_element
).
trigger
(
t
)},
n
.
collapse
=
function
(){
e
(
a
.
BODY
).
removeClass
(
r
).
addClass
(
s
);
var
t
=
e
.
Event
(
i
.
COLLAPSED
);
e
(
this
.
_element
).
trigger
(
t
)},
n
.
isShown
=
function
(){
return
e
(
window
).
width
()
>=
this
.
_options
.
screenCollapseSize
?
!
e
(
a
.
BODY
).
hasClass
(
s
):
e
(
a
.
BODY
).
hasClass
(
r
)},
n
.
toggle
=
function
(){
this
.
isShown
()?
this
.
collapse
():
this
.
show
()},
n
.
autoCollapse
=
function
(){
this
.
_options
.
autoCollapseSize
&&
(
e
(
window
).
width
()
<=
this
.
_options
.
autoCollapseSize
?
this
.
isShown
()
&&
this
.
toggle
():
this
.
isShown
()
||
this
.
toggle
())},
n
.
_init
=
function
(){
var
t
=
this
;
this
.
autoCollapse
(),
e
(
window
).
resize
(
function
(){
t
.
autoCollapse
()})},
n
.
_addOverlay
=
function
(){
var
t
=
this
,
n
=
e
(
"
<div />
"
,{
id
:
"
sidebar-overlay
"
});
n
.
on
(
"
click
"
,
function
(){
t
.
collapse
()}),
e
(
a
.
WRAPPER
).
append
(
n
)},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.pushmenu
"
),
a
=
e
.
extend
({},
o
,
e
(
this
).
data
());
i
||
(
i
=
new
t
(
this
,
a
),
e
(
this
).
data
(
"
lte.pushmenu
"
,
i
)),
"
toggle
"
===
n
&&
i
[
n
]()})},
t
}();
return
e
(
document
).
on
(
"
click
"
,
a
.
TOGGLE_BUTTON
,
function
(
t
){
t
.
preventDefault
();
var
n
=
t
.
currentTarget
;
"
pushmenu
"
!==
e
(
n
).
data
(
"
widget
"
)
&&
(
n
=
e
(
n
).
closest
(
a
.
TOGGLE_BUTTON
)),
c
.
_jQueryInterface
.
call
(
e
(
n
),
"
toggle
"
)}),
e
(
window
).
on
(
"
load
"
,
function
(){
c
.
_jQueryInterface
.
call
(
e
(
a
.
TOGGLE_BUTTON
))}),
e
.
fn
[
t
]
=
c
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
c
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
c
.
_jQueryInterface
},
c
}(
jQuery
),
o
=
function
(
e
){
var
t
=
"
Treeview
"
,
n
=
e
.
fn
[
t
],
i
=
{
SELECTED
:
"
selected.lte.treeview
"
,
EXPANDED
:
"
expanded.lte.treeview
"
,
COLLAPSED
:
"
collapsed.lte.treeview
"
,
LOAD_DATA_API
:
"
load.lte.treeview
"
},
o
=
"
.nav-item
"
,
a
=
"
.nav-treeview
"
,
s
=
"
.menu-open
"
,
r
=
'
[data-widget="treeview"]
'
,
c
=
"
menu-open
"
,
l
=
{
trigger
:
r
+
"
"
+
"
.nav-link
"
,
animationSpeed
:
300
,
accordion
:
!
0
},
u
=
function
(){
function
t
(
e
,
t
){
this
.
_config
=
t
,
this
.
_element
=
e
}
var
n
=
t
.
prototype
;
return
n
.
init
=
function
(){
this
.
_setupListeners
()},
n
.
expand
=
function
(
t
,
n
){
var
o
=
this
,
r
=
e
.
Event
(
i
.
EXPANDED
);
if
(
this
.
_config
.
accordion
){
var
l
=
n
.
siblings
(
s
).
first
(),
u
=
l
.
find
(
a
).
first
();
this
.
collapse
(
u
,
l
)}
t
.
slideDown
(
this
.
_config
.
animationSpeed
,
function
(){
n
.
addClass
(
c
),
e
(
o
.
_element
).
trigger
(
r
)})},
n
.
collapse
=
function
(
t
,
n
){
var
o
=
this
,
r
=
e
.
Event
(
i
.
COLLAPSED
);
t
.
slideUp
(
this
.
_config
.
animationSpeed
,
function
(){
n
.
removeClass
(
c
),
e
(
o
.
_element
).
trigger
(
r
),
t
.
find
(
s
+
"
>
"
+
a
).
slideUp
(),
t
.
find
(
s
).
removeClass
(
c
)})},
n
.
toggle
=
function
(
t
){
var
n
=
e
(
t
.
currentTarget
),
i
=
n
.
next
();
if
(
i
.
is
(
a
)){
t
.
preventDefault
();
var
s
=
n
.
parents
(
o
).
first
();
s
.
hasClass
(
c
)?
this
.
collapse
(
e
(
i
),
s
):
this
.
expand
(
e
(
i
),
s
)}},
n
.
_setupListeners
=
function
(){
var
t
=
this
;
e
(
document
).
on
(
"
click
"
,
this
.
_config
.
trigger
,
function
(
e
){
t
.
toggle
(
e
)})},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.treeview
"
),
o
=
e
.
extend
({},
l
,
e
(
this
).
data
());
i
||
(
i
=
new
t
(
e
(
this
),
o
),
e
(
this
).
data
(
"
lte.treeview
"
,
i
)),
"
init
"
===
n
&&
i
[
n
]()})},
t
}();
return
e
(
window
).
on
(
i
.
LOAD_DATA_API
,
function
(){
e
(
r
).
each
(
function
(){
u
.
_jQueryInterface
.
call
(
e
(
this
),
"
init
"
)})}),
e
.
fn
[
t
]
=
u
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
u
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
u
.
_jQueryInterface
},
u
}(
jQuery
),
a
=
function
(
e
){
var
t
=
"
DirectChat
"
,
n
=
e
.
fn
[
t
],
i
=
'
[data-widget="chat-pane-toggle"]
'
,
o
=
"
.direct-chat
"
,
a
=
"
direct-chat-contacts-open
"
,
s
=
function
(){
function
t
(
e
,
t
){
this
.
_element
=
e
}
return
t
.
prototype
.
toggle
=
function
(){
e
(
this
.
_element
).
parents
(
o
).
first
().
toggleClass
(
a
)},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.directchat
"
);
i
||
(
i
=
new
t
(
e
(
this
)),
e
(
this
).
data
(
"
lte.directchat
"
,
i
)),
i
[
n
]()})},
t
}();
return
e
(
document
).
on
(
"
click
"
,
i
,
function
(
t
){
t
&&
t
.
preventDefault
(),
s
.
_jQueryInterface
.
call
(
e
(
this
),
"
toggle
"
)}),
e
.
fn
[
t
]
=
s
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
s
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
s
.
_jQueryInterface
},
s
}(
jQuery
),
s
=
function
(
e
){
var
t
=
"
TodoList
"
,
n
=
e
.
fn
[
t
],
i
=
'
[data-widget="todo-list"]
'
,
o
=
"
done
"
,
a
=
{
onCheck
:
function
(
e
){
return
e
},
onUnCheck
:
function
(
e
){
return
e
}},
s
=
function
(){
function
t
(
e
,
t
){
this
.
_config
=
t
,
this
.
_element
=
e
,
this
.
_init
()}
var
n
=
t
.
prototype
;
return
n
.
toggle
=
function
(
t
){
t
.
parents
(
"
li
"
).
toggleClass
(
o
),
e
(
t
).
prop
(
"
checked
"
)?
this
.
check
(
t
):
this
.
unCheck
(
e
(
t
))},
n
.
check
=
function
(
e
){
this
.
_config
.
onCheck
.
call
(
e
)},
n
.
unCheck
=
function
(
e
){
this
.
_config
.
onUnCheck
.
call
(
e
)},
n
.
_init
=
function
(){
var
t
=
this
;
e
(
i
).
find
(
"
input:checkbox:checked
"
).
parents
(
"
li
"
).
toggleClass
(
o
),
e
(
i
).
on
(
"
change
"
,
"
input:checkbox
"
,
function
(
n
){
t
.
toggle
(
e
(
n
.
target
))})},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.todolist
"
),
o
=
e
.
extend
({},
a
,
e
(
this
).
data
());
i
||
(
i
=
new
t
(
e
(
this
),
o
),
e
(
this
).
data
(
"
lte.todolist
"
,
i
)),
"
init
"
===
n
&&
i
[
n
]()})},
t
}();
return
e
(
window
).
on
(
"
load
"
,
function
(){
s
.
_jQueryInterface
.
call
(
e
(
i
))}),
e
.
fn
[
t
]
=
s
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
s
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
s
.
_jQueryInterface
},
s
}(
jQuery
),
r
=
function
(
e
){
var
t
=
"
Widget
"
,
n
=
e
.
fn
[
t
],
i
=
{
EXPANDED
:
"
expanded.lte.widget
"
,
COLLAPSED
:
"
collapsed.lte.widget
"
,
MAXIMIZED
:
"
maximized.lte.widget
"
,
MINIMIZED
:
"
minimized.lte.widget
"
,
REMOVED
:
"
removed.lte.widget
"
},
o
=
{
DATA_REMOVE
:
'
[data-widget="remove"]
'
,
DATA_COLLAPSE
:
'
[data-widget="collapse"]
'
,
DATA_MAXIMIZE
:
'
[data-widget="maximize"]
'
,
CARD
:
"
.card
"
,
CARD_HEADER
:
"
.card-header
"
,
CARD_BODY
:
"
.card-body
"
,
CARD_FOOTER
:
"
.card-footer
"
,
COLLAPSED
:
"
.collapsed-card
"
,
COLLAPSE_ICON
:
"
.fa-minus
"
,
EXPAND_ICON
:
"
.fa-plus
"
},
a
=
"
collapsed-card
"
,
s
=
"
was-collapsed
"
,
r
=
"
maximized-card
"
,
c
=
"
fa-minus
"
,
l
=
"
fa-plus
"
,
u
=
"
fa-expand
"
,
h
=
"
fa-compress
"
,
d
=
{
animationSpeed
:
"
normal
"
,
collapseTrigger
:
o
.
DATA_COLLAPSE
,
removeTrigger
:
o
.
DATA_REMOVE
},
f
=
function
(){
function
t
(
t
,
n
){
this
.
_element
=
t
,
this
.
_parent
=
t
.
parents
(
o
.
CARD
).
first
(),
this
.
_settings
=
e
.
extend
({},
d
,
n
)}
var
n
=
t
.
prototype
;
return
n
.
collapse
=
function
(){
var
t
=
this
;
this
.
_parent
.
children
(
o
.
CARD_BODY
+
"
,
"
+
o
.
CARD_FOOTER
).
slideUp
(
this
.
_settings
.
animationSpeed
,
function
(){
t
.
_parent
.
addClass
(
a
)}),
this
.
_element
.
children
(
o
.
COLLAPSE_ICON
).
addClass
(
l
).
removeClass
(
c
);
var
n
=
e
.
Event
(
i
.
COLLAPSED
);
this
.
_element
.
trigger
(
n
,
this
.
_parent
)},
n
.
expand
=
function
(){
var
t
=
this
;
this
.
_parent
.
children
(
o
.
CARD_BODY
+
"
,
"
+
o
.
CARD_FOOTER
).
slideDown
(
this
.
_settings
.
animationSpeed
,
function
(){
t
.
_parent
.
removeClass
(
a
)}),
this
.
_element
.
children
(
o
.
EXPAND_ICON
).
addClass
(
c
).
removeClass
(
l
);
var
n
=
e
.
Event
(
i
.
EXPANDED
);
this
.
_element
.
trigger
(
n
,
this
.
_parent
)},
n
.
remove
=
function
(){
this
.
_parent
.
slideUp
();
var
t
=
e
.
Event
(
i
.
REMOVED
);
this
.
_element
.
trigger
(
t
,
this
.
_parent
)},
n
.
toggle
=
function
(){
this
.
_parent
.
hasClass
(
a
)?
this
.
expand
():
this
.
collapse
()},
n
.
toggleMaximize
=
function
(){
var
t
=
this
.
_element
.
find
(
"
i
"
);
this
.
_parent
.
hasClass
(
r
)?(
t
.
addClass
(
u
).
removeClass
(
h
),
this
.
_parent
.
css
(
"
cssText
"
,
"
height:
"
+
this
.
_parent
[
0
].
style
.
height
+
"
!important;width:
"
+
this
.
_parent
[
0
].
style
.
width
+
"
!important; transition: all .15s;
"
).
delay
(
100
).
queue
(
function
(){
e
(
this
).
removeClass
(
r
),
e
(
"
html
"
).
removeClass
(
r
),
e
(
this
).
trigger
(
i
.
MINIMIZED
),
e
(
this
).
css
({
height
:
"
inherit
"
,
width
:
"
inherit
"
}),
e
(
this
).
hasClass
(
s
)
&&
e
(
this
).
removeClass
(
s
),
e
(
this
).
dequeue
()})):(
t
.
addClass
(
h
).
removeClass
(
u
),
this
.
_parent
.
css
({
height
:
this
.
_parent
.
height
(),
width
:
this
.
_parent
.
width
(),
transition
:
"
all .15s
"
}).
delay
(
150
).
queue
(
function
(){
e
(
this
).
addClass
(
r
),
e
(
"
html
"
).
addClass
(
r
),
e
(
this
).
trigger
(
i
.
MAXIMIZED
),
e
(
this
).
hasClass
(
a
)
&&
e
(
this
).
addClass
(
s
),
e
(
this
).
dequeue
()}))},
n
.
_init
=
function
(
t
){
var
n
=
this
;
this
.
_parent
=
t
,
e
(
this
).
find
(
this
.
_settings
.
collapseTrigger
).
click
(
function
(){
n
.
toggle
()}),
e
(
this
).
find
(
this
.
_settings
.
removeTrigger
).
click
(
function
(){
n
.
remove
()})},
t
.
_jQueryInterface
=
function
(
n
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
).
data
(
"
lte.widget
"
);
i
||
(
i
=
new
t
(
e
(
this
),
i
),
e
(
this
).
data
(
"
lte.widget
"
,
"
string
"
==
typeof
n
?
i
:
n
)),
"
string
"
==
typeof
n
&&
n
.
match
(
/remove|toggle|toggleMaximize/
)?
i
[
n
]():
"
object
"
==
typeof
n
&&
i
.
_init
(
e
(
this
))})},
t
}();
return
e
(
document
).
on
(
"
click
"
,
o
.
DATA_COLLAPSE
,
function
(
t
){
t
&&
t
.
preventDefault
(),
f
.
_jQueryInterface
.
call
(
e
(
this
),
"
toggle
"
)}),
e
(
document
).
on
(
"
click
"
,
o
.
DATA_REMOVE
,
function
(
t
){
t
&&
t
.
preventDefault
(),
f
.
_jQueryInterface
.
call
(
e
(
this
),
"
remove
"
)}),
e
(
document
).
on
(
"
click
"
,
o
.
DATA_MAXIMIZE
,
function
(
t
){
t
&&
t
.
preventDefault
(),
f
.
_jQueryInterface
.
call
(
e
(
this
),
"
toggleMaximize
"
)}),
e
.
fn
[
t
]
=
f
.
_jQueryInterface
,
e
.
fn
[
t
].
Constructor
=
f
,
e
.
fn
[
t
].
noConflict
=
function
(){
return
e
.
fn
[
t
]
=
n
,
f
.
_jQueryInterface
},
f
}(
jQuery
);
e
.
ControlSidebar
=
t
,
e
.
DirectChat
=
a
,
e
.
Layout
=
n
,
e
.
PushMenu
=
i
,
e
.
TodoList
=
s
,
e
.
Treeview
=
o
,
e
.
Widget
=
r
,
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})});
//# sourceMappingURL=adminlte.min.js.map
\ No newline at end of file
dist/js/adminlte.min.js.map
浏览文件 @
fe693889
{"version":3,"sources":["../../build/js/ControlSidebar.js","../../build/js/Layout.js","../../build/js/PushMenu.js","../../build/js/Treeview.js","../../build/js/DirectChat.js","../../build/js/TodoList.js","../../build/js/Widget.js"],"names":["ControlSidebar","$","NAME","JQUERY_NO_CONFLICT","fn","Selector","ClassName","Default","slide","element","config","this","_element","_config","_getConfig","_proto","prototype","show","addClass","removeClass","delay","queue","hide","dequeue","collapse","toggle","_setMargin","hasClass","extend","css","top","innerHeight","_jQueryInterface","operation","each","data","Error","document","on","event","preventDefault","call","Constructor","noConflict","jQuery","Layout","scrollbarTheme","scrollbarAutoHide","_init","fixLayoutHeight","heights","window","height","header","outerHeight","footer","sidebar","max","_max","overlayScrollbars","className","sizeAutoCapable","scrollbars","autoHide","clickScrolling","_this","resize","numbers","Object","keys","forEach","key","PushMenu","Event","COLLAPSED","SHOWN","autoCollapseSize","screenCollapseSize","TOGGLE_BUTTON","SIDEBAR_MINI","SIDEBAR_COLLAPSED","BODY","OVERLAY","WRAPPER","options","_options","length","_addOverlay","shownEvent","trigger","collapsedEvent","isShown","width","autoCollapse","_this2","overlay","id","append","button","currentTarget","closest","Treeview","SELECTED","EXPANDED","LOAD_DATA_API","animationSpeed","accordion","init","_setupListeners","expand","treeviewMenu","parentLi","expandedEvent","openMenuLi","siblings","first","openTreeview","find","slideDown","slideUp","$relativeTarget","next","is","parents","_this3","DirectChat","toggleClass","TodoList","onCheck","item","onUnCheck","prop","check","unCheck","that","target","Widget","MAXIMIZED","MINIMIZED","REMOVED","DATA_REMOVE","DATA_COLLAPSE","DATA_MAXIMIZE","CARD","CARD_HEADER","CARD_BODY","CARD_FOOTER","COLLAPSE_ICON","EXPAND_ICON","collapseTrigger","removeTrigger","settings","_parent","_settings","children","collapsed","expanded","remove","removed","toggleMaximize","style","transition","card","click","match"],"mappings":";;;;;qMAOA,IAAMA,EAAkB,SAACC,GAMvB,IAAMC,EAAqB,iBAGrBC,EAAqBF,EAAEG,GAAGF,GAO1BG,EACa,mBADbA,EAEa,kCAFbA,EAGa,eAGbC,EACqB,0BADrBA,EAEqB,uBAFrBA,EAGqB,6BAGrBC,EAAU,CACdC,OAAO,GAQHR,EArCuB,WAsC3B,SAAAA,EAAYS,EAASC,GACnBC,KAAKC,SAAWH,EAChBE,KAAKE,QAAWF,KAAKG,WAAWJ,GAxCP,IAAAK,EAAAf,EAAAgB,UAAA,OAAAD,EA6C3BE,KAAA,WAEMN,KAAKE,QAAQL,OACfP,EAAE,QAAQiB,SAASZ,GACnBL,EAAE,QAAQkB,YAAYb,GAAiCc,MAAM,KAAKC,MAAM,WACtEpB,EAAEI,GAA0BiB,OAC5BrB,EAAE,QAAQkB,YAAYb,GACtBL,EAAEU,MAAMY,aAGVtB,EAAE,QAAQkB,YAAYb,IAvDCS,EA2D3BS,SAAA,WAEMb,KAAKE,QAAQL,OACfP,EAAE,QAAQiB,SAASZ,GACnBL,EAAEI,GAA0BY,OAAOG,MAAM,KAAKC,MAAM,WAClDpB,EAAE,Q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oC,UAAUC,GAAG,QAASjC,EAASuI,YAAa,SAAUrG,GAClDA,GACFA,EAAMC,iBAGRgG,EAAOxG,iBAAiBS,KAAKxC,EAAEU,MAAO,YAGxCV,EAAEoC,UAAUC,GAAG,QAASjC,EAASyI,cAAe,SAAUvG,GACpDA,GACFA,EAAMC,iBAGRgG,EAAOxG,iBAAiBS,KAAKxC,EAAEU,MAAO,oBAQxCV,EAAEG,GAAGF,GAAQsI,EAAOxG,iBACpB/B,EAAEG,GAAGF,GAAMwC,YAAc8F,EACzBvI,EAAEG,GAAGF,GAAMyC,WAAc,WAEvB,OADA1C,EAAEG,GAAGF,GAAQC,EACNqI,EAAOxG,kBAGTwG,EAvNO,CAwNb5F","sourcesContent":["/**\n * --------------------------------------------\n * AdminLTE ControlSidebar.js\n * License MIT\n * --------------------------------------------\n */\n\nconst ControlSidebar = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'ControlSidebar'\n const DATA_KEY = 'lte.control.sidebar'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n const DATA_API_KEY = '.data-api'\n\n const Event = {\n CLICK_DATA_API: `click${EVENT_KEY}${DATA_API_KEY}`\n }\n\n const Selector = {\n CONTROL_SIDEBAR: '.control-sidebar',\n DATA_TOGGLE : '[data-widget=\"control-sidebar\"]',\n MAIN_HEADER : '.main-header'\n }\n\n const ClassName = {\n CONTROL_SIDEBAR_ANIMATE: 'control-sidebar-animate',\n CONTROL_SIDEBAR_OPEN : 'control-sidebar-open',\n CONTROL_SIDEBAR_SLIDE : 'control-sidebar-slide-open'\n }\n\n const Default = {\n slide: true\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class ControlSidebar {\n constructor(element, config) {\n this._element = element\n this._config = this._getConfig(config)\n }\n\n // Public\n\n show() {\n // Show the control sidebar\n if (this._config.slide) {\n $('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $('body').removeClass(ClassName.CONTROL_SIDEBAR_SLIDE).delay(300).queue(function(){\n $(Selector.CONTROL_SIDEBAR).hide()\n $('html').removeClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n } else {\n $('body').removeClass(ClassName.CONTROL_SIDEBAR_OPEN)\n }\n }\n\n collapse() {\n // Collapse the control sidebar\n if (this._config.slide) {\n $('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(Selector.CONTROL_SIDEBAR).show().delay(100).queue(function(){\n $('body').addClass(ClassName.CONTROL_SIDEBAR_SLIDE).delay(300).queue(function(){\n $('html').removeClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n $(this).dequeue()\n })\n } else {\n $('body').addClass(ClassName.CONTROL_SIDEBAR_OPEN)\n }\n }\n\n toggle() {\n this._setMargin()\n\n const shouldOpen = $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || $('body')\n .hasClass(ClassName.CONTROL_SIDEBAR_SLIDE)\n if (shouldOpen) {\n // Open the control sidebar\n this.show()\n } else {\n // Close the control sidebar\n this.collapse()\n }\n }\n\n // Private\n\n _getConfig(config) {\n return $.extend({}, Default, config)\n }\n\n _setMargin() {\n $(Selector.CONTROL_SIDEBAR).css({\n top: $(Selector.MAIN_HEADER).innerHeight()\n })\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new ControlSidebar(this, $(this).data())\n $(this).data(DATA_KEY, data)\n }\n\n if (data[operation] === 'undefined') {\n throw new Error(`${operation} is not a function`)\n }\n\n data[operation]()\n })\n }\n }\n\n /**\n *\n * Data Api implementation\n * ====================================================\n */\n $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n event.preventDefault()\n\n ControlSidebar._jQueryInterface.call($(this), 'toggle')\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = ControlSidebar._jQueryInterface\n $.fn[NAME].Constructor = ControlSidebar\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return ControlSidebar._jQueryInterface\n }\n\n return ControlSidebar\n})(jQuery)\n\nexport default ControlSidebar\n","/**\n * --------------------------------------------\n * AdminLTE Layout.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Layout = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Layout'\n const DATA_KEY = 'lte.layout'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n SIDEBAR: 'sidebar'\n }\n\n const Selector = {\n HEADER : '.main-header',\n MAIN_SIDEBAR : '.main-sidebar',\n SIDEBAR : '.main-sidebar .sidebar',\n CONTENT : '.content-wrapper',\n BRAND : '.brand-link',\n CONTENT_HEADER : '.content-header',\n WRAPPER : '.wrapper',\n CONTROL_SIDEBAR: '.control-sidebar',\n LAYOUT_FIXED : '.layout-fixed',\n FOOTER : '.main-footer'\n }\n\n const ClassName = {\n HOLD : 'hold-transition',\n SIDEBAR : 'main-sidebar',\n CONTENT_FIXED : 'content-fixed',\n SIDEBAR_FOCUSED: 'sidebar-focused',\n LAYOUT_FIXED : 'layout-fixed',\n NAVBAR_FIXED : 'layout-navbar-fixed',\n FOOTER_FIXED : 'layout-footer-fixed',\n }\n\n const Default = {\n scrollbarTheme : 'os-theme-light',\n scrollbarAutoHide: 'l'\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class Layout {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n fixLayoutHeight() {\n const heights = {\n window : $(window).height(),\n header : $(Selector.HEADER).outerHeight(),\n footer : $(Selector.FOOTER).outerHeight(),\n sidebar : $(Selector.SIDEBAR).height(),\n }\n\n const max = this._max(heights)\n\n\n if ($('body').hasClass(ClassName.LAYOUT_FIXED)) {\n $(Selector.CONTENT).css('min-height', max - heights.header - heights.footer)\n // $(Selector.SIDEBAR).css('min-height', max - heights.header)\n $(Selector.CONTROL_SIDEBAR + ' .control-sidebar-content').css('height', max - heights.header)\n \n if (typeof $.fn.overlayScrollbars !== 'undefined') {\n $(Selector.SIDEBAR).overlayScrollbars({\n className : this._config.scrollbarTheme,\n sizeAutoCapable : true,\n scrollbars : {\n autoHide: this._config.scrollbarAutoHide, \n clickScrolling : true\n }\n })\n $(Selector.CONTROL_SIDEBAR + ' .control-sidebar-content').overlayScrollbars({\n className : this._config.scrollbarTheme,\n sizeAutoCapable : true,\n scrollbars : {\n autoHide: this._config.scrollbarAutoHide, \n clickScrolling : true\n }\n })\n }\n } else {\n if (heights.window > heights.sidebar) {\n $(Selector.CONTENT).css('min-height', heights.window - heights.header - heights.footer)\n } else {\n $(Selector.CONTENT).css('min-height', heights.sidebar - heights.header)\n }\n }\n }\n\n // Private\n\n _init() {\n // Enable transitions\n $('body').removeClass(ClassName.HOLD)\n\n // Activate layout height watcher\n this.fixLayoutHeight()\n $(Selector.SIDEBAR)\n .on('collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu', () => {\n this.fixLayoutHeight()\n })\n\n $(window).resize(() => {\n this.fixLayoutHeight()\n })\n\n $('body, html').css('height', 'auto')\n }\n\n _max(numbers) {\n // Calculate the maximum number in a list\n let max = 0\n\n Object.keys(numbers).forEach((key) => {\n if (numbers[key] > max) {\n max = numbers[key]\n }\n })\n\n return max\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Layout($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on('load', () => {\n Layout._jQueryInterface.call($('body'))\n })\n\n $(Selector.SIDEBAR + ' a').on('focusin', () => {\n $(Selector.MAIN_SIDEBAR).addClass(ClassName.SIDEBAR_FOCUSED);\n })\n\n $(Selector.SIDEBAR + ' a').on('focusout', () => {\n $(Selector.MAIN_SIDEBAR).removeClass(ClassName.SIDEBAR_FOCUSED);\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Layout._jQueryInterface\n $.fn[NAME].Constructor = Layout\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Layout._jQueryInterface\n }\n\n return Layout\n})(jQuery)\n\nexport default Layout\n","/**\n * --------------------------------------------\n * AdminLTE PushMenu.js\n * License MIT\n * --------------------------------------------\n */\n\nconst PushMenu = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'PushMenu'\n const DATA_KEY = 'lte.pushmenu'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n COLLAPSED: `collapsed${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n }\n\n const Default = {\n autoCollapseSize: false,\n screenCollapseSize: 768\n }\n\n const Selector = {\n TOGGLE_BUTTON : '[data-widget=\"pushmenu\"]',\n SIDEBAR_MINI : '.sidebar-mini',\n SIDEBAR_COLLAPSED: '.sidebar-collapse',\n BODY : 'body',\n OVERLAY : '#sidebar-overlay',\n WRAPPER : '.wrapper'\n }\n\n const ClassName = {\n SIDEBAR_OPEN: 'sidebar-open',\n COLLAPSED : 'sidebar-collapse',\n OPEN : 'sidebar-open',\n SIDEBAR_MINI: 'sidebar-mini'\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class PushMenu {\n constructor(element, options) {\n this._element = element\n this._options = $.extend({}, Default, options)\n\n this._init()\n\n if (!$(Selector.OVERLAY).length) {\n this._addOverlay()\n }\n }\n\n // Public\n\n show() {\n $(Selector.BODY).addClass(ClassName.OPEN).removeClass(ClassName.COLLAPSED)\n\n const shownEvent = $.Event(Event.SHOWN)\n $(this._element).trigger(shownEvent)\n }\n\n collapse() {\n $(Selector.BODY).removeClass(ClassName.OPEN).addClass(ClassName.COLLAPSED)\n\n const collapsedEvent = $.Event(Event.COLLAPSED)\n $(this._element).trigger(collapsedEvent)\n }\n\n isShown() {\n if ($(window).width() >= this._options.screenCollapseSize) {\n return !$(Selector.BODY).hasClass(ClassName.COLLAPSED)\n } else {\n return $(Selector.BODY).hasClass(ClassName.OPEN)\n }\n }\n\n toggle() {\n if (this.isShown()) {\n this.collapse()\n } else {\n this.show()\n }\n }\n\n autoCollapse() {\n if (this._options.autoCollapseSize) {\n if ($(window).width() <= this._options.autoCollapseSize) {\n if (this.isShown()) {\n this.toggle()\n }\n } else {\n if (!this.isShown()) {\n this.toggle()\n }\n }\n }\n }\n\n // Private\n\n _init() {\n this.autoCollapse()\n\n $(window).resize(() => {\n this.autoCollapse()\n })\n }\n\n _addOverlay() {\n const overlay = $('<div />', {\n id: 'sidebar-overlay'\n })\n\n overlay.on('click', () => {\n this.collapse()\n })\n\n $(Selector.WRAPPER).append(overlay)\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new PushMenu(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (operation === 'toggle') {\n data[operation]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(document).on('click', Selector.TOGGLE_BUTTON, (event) => {\n event.preventDefault()\n\n let button = event.currentTarget\n\n if ($(button).data('widget') !== 'pushmenu') {\n button = $(button).closest(Selector.TOGGLE_BUTTON)\n }\n\n PushMenu._jQueryInterface.call($(button), 'toggle')\n })\n\n $(window).on('load', () => {\n PushMenu._jQueryInterface.call($(Selector.TOGGLE_BUTTON))\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = PushMenu._jQueryInterface\n $.fn[NAME].Constructor = PushMenu\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return PushMenu._jQueryInterface\n }\n\n return PushMenu\n})(jQuery)\n\nexport default PushMenu\n","/**\n * --------------------------------------------\n * AdminLTE Treeview.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Treeview = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Treeview'\n const DATA_KEY = 'lte.treeview'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n SELECTED : `selected${EVENT_KEY}`,\n EXPANDED : `expanded${EVENT_KEY}`,\n COLLAPSED : `collapsed${EVENT_KEY}`,\n LOAD_DATA_API: `load${EVENT_KEY}`\n }\n\n const Selector = {\n LI : '.nav-item',\n LINK : '.nav-link',\n TREEVIEW_MENU: '.nav-treeview',\n OPEN : '.menu-open',\n DATA_WIDGET : '[data-widget=\"treeview\"]'\n }\n\n const ClassName = {\n LI : 'nav-item',\n LINK : 'nav-link',\n TREEVIEW_MENU: 'nav-treeview',\n OPEN : 'menu-open'\n }\n\n const Default = {\n trigger : `${Selector.DATA_WIDGET} ${Selector.LINK}`,\n animationSpeed: 300,\n accordion : true\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n class Treeview {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n init() {\n this._setupListeners()\n }\n\n expand(treeviewMenu, parentLi) {\n const expandedEvent = $.Event(Event.EXPANDED)\n\n if (this._config.accordion) {\n const openMenuLi = parentLi.siblings(Selector.OPEN).first()\n const openTreeview = openMenuLi.find(Selector.TREEVIEW_MENU).first()\n this.collapse(openTreeview, openMenuLi)\n }\n\n treeviewMenu.slideDown(this._config.animationSpeed, () => {\n parentLi.addClass(ClassName.OPEN)\n $(this._element).trigger(expandedEvent)\n })\n }\n\n collapse(treeviewMenu, parentLi) {\n const collapsedEvent = $.Event(Event.COLLAPSED)\n\n treeviewMenu.slideUp(this._config.animationSpeed, () => {\n parentLi.removeClass(ClassName.OPEN)\n $(this._element).trigger(collapsedEvent)\n treeviewMenu.find(`${Selector.OPEN} > ${Selector.TREEVIEW_MENU}`).slideUp()\n treeviewMenu.find(Selector.OPEN).removeClass(ClassName.OPEN)\n })\n }\n\n toggle(event) {\n const $relativeTarget = $(event.currentTarget)\n const treeviewMenu = $relativeTarget.next()\n\n if (!treeviewMenu.is(Selector.TREEVIEW_MENU)) {\n return\n }\n\n event.preventDefault()\n\n const parentLi = $relativeTarget.parents(Selector.LI).first()\n const isOpen = parentLi.hasClass(ClassName.OPEN)\n\n if (isOpen) {\n this.collapse($(treeviewMenu), parentLi)\n } else {\n this.expand($(treeviewMenu), parentLi)\n }\n }\n\n // Private\n\n _setupListeners() {\n $(document).on('click', this._config.trigger, (event) => {\n this.toggle(event)\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Treeview($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on(Event.LOAD_DATA_API, () => {\n $(Selector.DATA_WIDGET).each(function () {\n Treeview._jQueryInterface.call($(this), 'init')\n })\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Treeview._jQueryInterface\n $.fn[NAME].Constructor = Treeview\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Treeview._jQueryInterface\n }\n\n return Treeview\n})(jQuery)\n\nexport default Treeview","/**\n * --------------------------------------------\n * AdminLTE DirectChat.js\n * License MIT\n * --------------------------------------------\n */\n\nconst DirectChat = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'DirectChat'\n const DATA_KEY = 'lte.directchat'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n const DATA_API_KEY = '.data-api'\n\n const Selector = {\n DATA_TOGGLE: '[data-widget=\"chat-pane-toggle\"]',\n DIRECT_CHAT: '.direct-chat'\n };\n\n const ClassName = {\n DIRECT_CHAT_OPEN: 'direct-chat-contacts-open'\n };\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class DirectChat {\n constructor(element, config) {\n this._element = element\n }\n\n toggle() {\n $(this._element).parents(Selector.DIRECT_CHAT).first().toggleClass(ClassName.DIRECT_CHAT_OPEN);\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new DirectChat($(this))\n $(this).data(DATA_KEY, data)\n }\n\n data[config]()\n })\n }\n }\n\n /**\n *\n * Data Api implementation\n * ====================================================\n */\n\n $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n if (event) event.preventDefault();\n DirectChat._jQueryInterface.call($(this), 'toggle');\n });\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = DirectChat._jQueryInterface\n $.fn[NAME].Constructor = DirectChat\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return DirectChat._jQueryInterface\n }\n\n return DirectChat\n})(jQuery)\n\nexport default DirectChat\n","/**\n * --------------------------------------------\n * AdminLTE TodoList.js\n * License MIT\n * --------------------------------------------\n */\n\nconst TodoList = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'TodoList'\n const DATA_KEY = 'lte.todolist'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Selector = {\n DATA_TOGGLE: '[data-widget=\"todo-list\"]'\n }\n\n const ClassName = {\n TODO_LIST_DONE: 'done'\n }\n\n const Default = {\n onCheck: function (item) {\n return item;\n },\n onUnCheck: function (item) {\n return item;\n }\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class TodoList {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n toggle(item) {\n item.parents('li').toggleClass(ClassName.TODO_LIST_DONE);\n if (! $(item).prop('checked')) {\n this.unCheck($(item));\n return;\n }\n\n this.check(item);\n }\n\n check (item) {\n this._config.onCheck.call(item);\n }\n\n unCheck (item) {\n this._config.onUnCheck.call(item);\n }\n\n // Private\n\n _init() {\n var that = this\n $(Selector.DATA_TOGGLE).find('input:checkbox:checked').parents('li').toggleClass(ClassName.TODO_LIST_DONE)\n $(Selector.DATA_TOGGLE).on('change', 'input:checkbox', (event) => {\n that.toggle($(event.target))\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new TodoList($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on('load', () => {\n TodoList._jQueryInterface.call($(Selector.DATA_TOGGLE))\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = TodoList._jQueryInterface\n $.fn[NAME].Constructor = TodoList\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return TodoList._jQueryInterface\n }\n\n return TodoList\n})(jQuery)\n\nexport default TodoList\n","/**\n * --------------------------------------------\n * AdminLTE Widget.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Widget = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Widget'\n const DATA_KEY = 'lte.widget'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n EXPANDED : `expanded${EVENT_KEY}`,\n COLLAPSED: `collapsed${EVENT_KEY}`,\n MAXIMIZED: `maximized${EVENT_KEY}`,\n MINIMIZED: `minimized${EVENT_KEY}`,\n REMOVED : `removed${EVENT_KEY}`\n }\n\n const Selector = {\n DATA_REMOVE : '[data-widget=\"remove\"]',\n DATA_COLLAPSE : '[data-widget=\"collapse\"]',\n DATA_MAXIMIZE : '[data-widget=\"maximize\"]',\n CARD : '.card',\n CARD_HEADER : '.card-header',\n CARD_BODY : '.card-body',\n CARD_FOOTER : '.card-footer',\n COLLAPSED : '.collapsed-card',\n COLLAPSE_ICON : '.fa-minus',\n EXPAND_ICON : '.fa-plus'\n }\n\n const ClassName = {\n COLLAPSED : 'collapsed-card',\n WAS_COLLAPSED : 'was-collapsed',\n MAXIMIZED : 'maximized-card',\n COLLAPSE_ICON : 'fa-minus',\n EXPAND_ICON : 'fa-plus',\n MAXIMIZE_ICON : 'fa-expand',\n MINIMIZE_ICON : 'fa-compress',\n }\n\n const Default = {\n animationSpeed : 'normal',\n collapseTrigger: Selector.DATA_COLLAPSE,\n removeTrigger : Selector.DATA_REMOVE\n }\n\n class Widget {\n constructor(element, settings) {\n this._element = element\n this._parent = element.parents(Selector.CARD).first()\n this._settings = $.extend({}, Default, settings)\n }\n\n collapse() {\n this._parent.children(`${Selector.CARD_BODY}, ${Selector.CARD_FOOTER}`)\n .slideUp(this._settings.animationSpeed, () => {\n this._parent.addClass(ClassName.COLLAPSED)\n })\n\n this._element.children(Selector.COLLAPSE_ICON)\n .addClass(ClassName.EXPAND_ICON)\n .removeClass(ClassName.COLLAPSE_ICON)\n\n const collapsed = $.Event(Event.COLLAPSED)\n\n this._element.trigger(collapsed, this._parent)\n }\n\n expand() {\n this._parent.children(`${Selector.CARD_BODY}, ${Selector.CARD_FOOTER}`)\n .slideDown(this._settings.animationSpeed, () => {\n this._parent.removeClass(ClassName.COLLAPSED)\n })\n\n this._element.children(Selector.EXPAND_ICON)\n .addClass(ClassName.COLLAPSE_ICON)\n .removeClass(ClassName.EXPAND_ICON)\n\n const expanded = $.Event(Event.EXPANDED)\n\n this._element.trigger(expanded, this._parent)\n }\n\n remove() {\n this._parent.slideUp()\n\n const removed = $.Event(Event.REMOVED)\n\n this._element.trigger(removed, this._parent)\n }\n\n toggle() {\n if (this._parent.hasClass(ClassName.COLLAPSED)) {\n this.expand()\n return\n }\n\n this.collapse()\n }\n \n toggleMaximize() {\n var button = this._element.find('i')\n\n if (this._parent.hasClass(ClassName.MAXIMIZED)) {\n button.addClass(ClassName.MAXIMIZE_ICON).removeClass(ClassName.MINIMIZE_ICON)\n this._parent.css('cssText', 'height:' + this._parent[0].style.height + ' !important;' +\n 'width:' + this._parent[0].style.width + ' !important; transition: all .15s;'\n ).delay(100).queue(function(){\n $(this).removeClass(ClassName.MAXIMIZED)\n $('html').removeClass(ClassName.MAXIMIZED)\n $(this).trigger(Event.MINIMIZED)\n $(this).css({\n 'height': 'inherit',\n 'width': 'inherit'\n })\n if ($(this).hasClass(ClassName.WAS_COLLAPSED)) {\n $(this).removeClass(ClassName.WAS_COLLAPSED)\n }\n $(this).dequeue()\n })\n } else {\n button.addClass(ClassName.MINIMIZE_ICON).removeClass(ClassName.MAXIMIZE_ICON)\n this._parent.css({\n 'height': this._parent.height(),\n 'width': this._parent.width(),\n 'transition': 'all .15s'\n }).delay(150).queue(function(){\n $(this).addClass(ClassName.MAXIMIZED)\n $('html').addClass(ClassName.MAXIMIZED)\n $(this).trigger(Event.MAXIMIZED)\n if ($(this).hasClass(ClassName.COLLAPSED)) {\n $(this).addClass(ClassName.WAS_COLLAPSED)\n }\n $(this).dequeue()\n })\n }\n }\n\n // Private\n\n _init(card) {\n this._parent = card\n\n $(this).find(this._settings.collapseTrigger).click(() => {\n this.toggle()\n })\n\n $(this).find(this._settings.removeTrigger).click(() => {\n this.remove()\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new Widget($(this), data)\n $(this).data(DATA_KEY, typeof config === 'string' ? data : config)\n }\n\n if (typeof config === 'string' && config.match(/remove|toggle/)) {\n data[config]()\n } else if (typeof config === 'object') {\n data._init($(this))\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(document).on('click', Selector.DATA_COLLAPSE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'toggle')\n })\n\n $(document).on('click', Selector.DATA_REMOVE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'remove')\n })\n\n $(document).on('click', Selector.DATA_MAXIMIZE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'toggleMaximize')\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Widget._jQueryInterface\n $.fn[NAME].Constructor = Widget\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Widget._jQueryInterface\n }\n\n return Widget\n})(jQuery)\n\nexport default Widget\n"]}
\ No newline at end of file
{"version":3,"sources":["../../build/js/ControlSidebar.js","../../build/js/Layout.js","../../build/js/PushMenu.js","../../build/js/Treeview.js","../../build/js/DirectChat.js","../../build/js/TodoList.js","../../build/js/Widget.js"],"names":["ControlSidebar","$","NAME","JQUERY_NO_CONFLICT","fn","Selector","ClassName","Default","slide","element","config","this","_element","_config","_getConfig","_proto","prototype","show","addClass","removeClass","delay","queue","hide","dequeue","collapse","toggle","_setMargin","hasClass","extend","css","top","innerHeight","_jQueryInterface","operation","each","data","Error","document","on","event","preventDefault","call","Constructor","noConflict","jQuery","Layout","scrollbarTheme","scrollbarAutoHide","_init","fixLayoutHeight","heights","window","height","header","outerHeight","footer","sidebar","max","_max","overlayScrollbars","className","sizeAutoCapable","scrollbars","autoHide","clickScrolling","_this","resize","numbers","Object","keys","forEach","key","PushMenu","Event","COLLAPSED","SHOWN","autoCollapseSize","screenCollapseSize","TOGGLE_BUTTON","SIDEBAR_MINI","SIDEBAR_COLLAPSED","BODY","OVERLAY","WRAPPER","options","_options","length","_addOverlay","shownEvent","trigger","collapsedEvent","isShown","width","autoCollapse","_this2","overlay","id","append","button","currentTarget","closest","Treeview","SELECTED","EXPANDED","LOAD_DATA_API","animationSpeed","accordion","init","_setupListeners","expand","treeviewMenu","parentLi","expandedEvent","openMenuLi","siblings","first","openTreeview","find","slideDown","slideUp","$relativeTarget","next","is","parents","_this3","DirectChat","toggleClass","TodoList","onCheck","item","onUnCheck","prop","check","unCheck","that","target","Widget","MAXIMIZED","MINIMIZED","REMOVED","DATA_REMOVE","DATA_COLLAPSE","DATA_MAXIMIZE","CARD","CARD_HEADER","CARD_BODY","CARD_FOOTER","COLLAPSE_ICON","EXPAND_ICON","collapseTrigger","removeTrigger","settings","_parent","_settings","children","collapsed","expanded","remove","removed","toggleMaximize","style","transition","card","click","match"],"mappings":";;;;;qMAOA,IAAMA,EAAkB,SAACC,GAMvB,IAAMC,EAAqB,iBAGrBC,EAAqBF,EAAEG,GAAGF,GAO1BG,EACa,mBADbA,EAEa,kCAFbA,EAGa,eAGbC,EACqB,0BADrBA,EAEqB,uBAFrBA,EAGqB,6BAGrBC,EAAU,CACdC,OAAO,GAQHR,EArCuB,WAsC3B,SAAAA,EAAYS,EAASC,GACnBC,KAAKC,SAAWH,EAChBE,KAAKE,QAAWF,KAAKG,WAAWJ,GAxCP,IAAAK,EAAAf,EAAAgB,UAAA,OAAAD,EA6C3BE,KAAA,WAEMN,KAAKE,QAAQL,OACfP,EAAE,QAAQiB,SAASZ,GACnBL,EAAE,QAAQkB,YAAYb,GAAiCc,MAAM,KAAKC,MAAM,WACtEpB,EAAEI,GAA0BiB,OAC5BrB,EAAE,QAAQkB,YAAYb,GACtBL,EAAEU,MAAMY,aAGVtB,EAAE,QAAQkB,YAAYb,IAvDCS,EA2D3BS,SAAA,WAEMb,KAAKE,QAAQL,OACfP,EAAE,QAAQiB,SAASZ,GACnBL,EAAEI,GAA0BY,OAAOG,MAAM,KAAKC,MAAM,WAClDpB,EAAE,QAAQiB,SAASZ,GAAiCc,MAAM,KAAKC,MAAM,WACnEpB,EAAE,QAAQkB,YAAYb,GACtBL,EAAEU,MAAMY,YAEVtB,EAAEU,MAAMY,aAGVtB,EAAE,QAAQiB,SAASZ,IAvEIS,EA2E3BU,OAAA,WACEd,KAAKe,aAEczB,EAAE,QAAQ0B,SAASrB,IAAmCL,EAAE,QACxE0B,SAASrB,GAG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QxCV,EAAEG,GAAGF,GAAQsI,EAAOxG,iBACpB/B,EAAEG,GAAGF,GAAMwC,YAAc8F,EACzBvI,EAAEG,GAAGF,GAAMyC,WAAc,WAEvB,OADA1C,EAAEG,GAAGF,GAAQC,EACNqI,EAAOxG,kBAGTwG,EAvNO,CAwNb5F","sourcesContent":["/**\n * --------------------------------------------\n * AdminLTE ControlSidebar.js\n * License MIT\n * --------------------------------------------\n */\n\nconst ControlSidebar = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'ControlSidebar'\n const DATA_KEY = 'lte.control.sidebar'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n const DATA_API_KEY = '.data-api'\n\n const Event = {\n CLICK_DATA_API: `click${EVENT_KEY}${DATA_API_KEY}`\n }\n\n const Selector = {\n CONTROL_SIDEBAR: '.control-sidebar',\n DATA_TOGGLE : '[data-widget=\"control-sidebar\"]',\n MAIN_HEADER : '.main-header'\n }\n\n const ClassName = {\n CONTROL_SIDEBAR_ANIMATE: 'control-sidebar-animate',\n CONTROL_SIDEBAR_OPEN : 'control-sidebar-open',\n CONTROL_SIDEBAR_SLIDE : 'control-sidebar-slide-open'\n }\n\n const Default = {\n slide: true\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class ControlSidebar {\n constructor(element, config) {\n this._element = element\n this._config = this._getConfig(config)\n }\n\n // Public\n\n show() {\n // Show the control sidebar\n if (this._config.slide) {\n $('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $('body').removeClass(ClassName.CONTROL_SIDEBAR_SLIDE).delay(300).queue(function(){\n $(Selector.CONTROL_SIDEBAR).hide()\n $('html').removeClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n } else {\n $('body').removeClass(ClassName.CONTROL_SIDEBAR_OPEN)\n }\n }\n\n collapse() {\n // Collapse the control sidebar\n if (this._config.slide) {\n $('html').addClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(Selector.CONTROL_SIDEBAR).show().delay(100).queue(function(){\n $('body').addClass(ClassName.CONTROL_SIDEBAR_SLIDE).delay(300).queue(function(){\n $('html').removeClass(ClassName.CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n $(this).dequeue()\n })\n } else {\n $('body').addClass(ClassName.CONTROL_SIDEBAR_OPEN)\n }\n }\n\n toggle() {\n this._setMargin()\n\n const shouldOpen = $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || $('body')\n .hasClass(ClassName.CONTROL_SIDEBAR_SLIDE)\n if (shouldOpen) {\n // Open the control sidebar\n this.show()\n } else {\n // Close the control sidebar\n this.collapse()\n }\n }\n\n // Private\n\n _getConfig(config) {\n return $.extend({}, Default, config)\n }\n\n _setMargin() {\n $(Selector.CONTROL_SIDEBAR).css({\n top: $(Selector.MAIN_HEADER).innerHeight()\n })\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new ControlSidebar(this, $(this).data())\n $(this).data(DATA_KEY, data)\n }\n\n if (data[operation] === 'undefined') {\n throw new Error(`${operation} is not a function`)\n }\n\n data[operation]()\n })\n }\n }\n\n /**\n *\n * Data Api implementation\n * ====================================================\n */\n $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n event.preventDefault()\n\n ControlSidebar._jQueryInterface.call($(this), 'toggle')\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = ControlSidebar._jQueryInterface\n $.fn[NAME].Constructor = ControlSidebar\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return ControlSidebar._jQueryInterface\n }\n\n return ControlSidebar\n})(jQuery)\n\nexport default ControlSidebar\n","/**\n * --------------------------------------------\n * AdminLTE Layout.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Layout = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Layout'\n const DATA_KEY = 'lte.layout'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n SIDEBAR: 'sidebar'\n }\n\n const Selector = {\n HEADER : '.main-header',\n MAIN_SIDEBAR : '.main-sidebar',\n SIDEBAR : '.main-sidebar .sidebar',\n CONTENT : '.content-wrapper',\n BRAND : '.brand-link',\n CONTENT_HEADER : '.content-header',\n WRAPPER : '.wrapper',\n CONTROL_SIDEBAR: '.control-sidebar',\n LAYOUT_FIXED : '.layout-fixed',\n FOOTER : '.main-footer'\n }\n\n const ClassName = {\n HOLD : 'hold-transition',\n SIDEBAR : 'main-sidebar',\n CONTENT_FIXED : 'content-fixed',\n SIDEBAR_FOCUSED: 'sidebar-focused',\n LAYOUT_FIXED : 'layout-fixed',\n NAVBAR_FIXED : 'layout-navbar-fixed',\n FOOTER_FIXED : 'layout-footer-fixed',\n }\n\n const Default = {\n scrollbarTheme : 'os-theme-light',\n scrollbarAutoHide: 'l'\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class Layout {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n fixLayoutHeight() {\n const heights = {\n window : $(window).height(),\n header : $(Selector.HEADER).outerHeight(),\n footer : $(Selector.FOOTER).outerHeight(),\n sidebar : $(Selector.SIDEBAR).height(),\n }\n\n const max = this._max(heights)\n\n\n if ($('body').hasClass(ClassName.LAYOUT_FIXED)) {\n $(Selector.CONTENT).css('min-height', max - heights.header - heights.footer)\n // $(Selector.SIDEBAR).css('min-height', max - heights.header)\n $(Selector.CONTROL_SIDEBAR + ' .control-sidebar-content').css('height', max - heights.header)\n \n if (typeof $.fn.overlayScrollbars !== 'undefined') {\n $(Selector.SIDEBAR).overlayScrollbars({\n className : this._config.scrollbarTheme,\n sizeAutoCapable : true,\n scrollbars : {\n autoHide: this._config.scrollbarAutoHide, \n clickScrolling : true\n }\n })\n $(Selector.CONTROL_SIDEBAR + ' .control-sidebar-content').overlayScrollbars({\n className : this._config.scrollbarTheme,\n sizeAutoCapable : true,\n scrollbars : {\n autoHide: this._config.scrollbarAutoHide, \n clickScrolling : true\n }\n })\n }\n } else {\n if (heights.window > heights.sidebar) {\n $(Selector.CONTENT).css('min-height', heights.window - heights.header - heights.footer)\n } else {\n $(Selector.CONTENT).css('min-height', heights.sidebar - heights.header)\n }\n }\n }\n\n // Private\n\n _init() {\n // Enable transitions\n $('body').removeClass(ClassName.HOLD)\n\n // Activate layout height watcher\n this.fixLayoutHeight()\n $(Selector.SIDEBAR)\n .on('collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu', () => {\n this.fixLayoutHeight()\n })\n\n $(window).resize(() => {\n this.fixLayoutHeight()\n })\n\n $('body, html').css('height', 'auto')\n }\n\n _max(numbers) {\n // Calculate the maximum number in a list\n let max = 0\n\n Object.keys(numbers).forEach((key) => {\n if (numbers[key] > max) {\n max = numbers[key]\n }\n })\n\n return max\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Layout($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on('load', () => {\n Layout._jQueryInterface.call($('body'))\n })\n\n $(Selector.SIDEBAR + ' a').on('focusin', () => {\n $(Selector.MAIN_SIDEBAR).addClass(ClassName.SIDEBAR_FOCUSED);\n })\n\n $(Selector.SIDEBAR + ' a').on('focusout', () => {\n $(Selector.MAIN_SIDEBAR).removeClass(ClassName.SIDEBAR_FOCUSED);\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Layout._jQueryInterface\n $.fn[NAME].Constructor = Layout\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Layout._jQueryInterface\n }\n\n return Layout\n})(jQuery)\n\nexport default Layout\n","/**\n * --------------------------------------------\n * AdminLTE PushMenu.js\n * License MIT\n * --------------------------------------------\n */\n\nconst PushMenu = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'PushMenu'\n const DATA_KEY = 'lte.pushmenu'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n COLLAPSED: `collapsed${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n }\n\n const Default = {\n autoCollapseSize: false,\n screenCollapseSize: 768\n }\n\n const Selector = {\n TOGGLE_BUTTON : '[data-widget=\"pushmenu\"]',\n SIDEBAR_MINI : '.sidebar-mini',\n SIDEBAR_COLLAPSED: '.sidebar-collapse',\n BODY : 'body',\n OVERLAY : '#sidebar-overlay',\n WRAPPER : '.wrapper'\n }\n\n const ClassName = {\n SIDEBAR_OPEN: 'sidebar-open',\n COLLAPSED : 'sidebar-collapse',\n OPEN : 'sidebar-open',\n SIDEBAR_MINI: 'sidebar-mini'\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class PushMenu {\n constructor(element, options) {\n this._element = element\n this._options = $.extend({}, Default, options)\n\n this._init()\n\n if (!$(Selector.OVERLAY).length) {\n this._addOverlay()\n }\n }\n\n // Public\n\n show() {\n $(Selector.BODY).addClass(ClassName.OPEN).removeClass(ClassName.COLLAPSED)\n\n const shownEvent = $.Event(Event.SHOWN)\n $(this._element).trigger(shownEvent)\n }\n\n collapse() {\n $(Selector.BODY).removeClass(ClassName.OPEN).addClass(ClassName.COLLAPSED)\n\n const collapsedEvent = $.Event(Event.COLLAPSED)\n $(this._element).trigger(collapsedEvent)\n }\n\n isShown() {\n if ($(window).width() >= this._options.screenCollapseSize) {\n return !$(Selector.BODY).hasClass(ClassName.COLLAPSED)\n } else {\n return $(Selector.BODY).hasClass(ClassName.OPEN)\n }\n }\n\n toggle() {\n if (this.isShown()) {\n this.collapse()\n } else {\n this.show()\n }\n }\n\n autoCollapse() {\n if (this._options.autoCollapseSize) {\n if ($(window).width() <= this._options.autoCollapseSize) {\n if (this.isShown()) {\n this.toggle()\n }\n } else {\n if (!this.isShown()) {\n this.toggle()\n }\n }\n }\n }\n\n // Private\n\n _init() {\n this.autoCollapse()\n\n $(window).resize(() => {\n this.autoCollapse()\n })\n }\n\n _addOverlay() {\n const overlay = $('<div />', {\n id: 'sidebar-overlay'\n })\n\n overlay.on('click', () => {\n this.collapse()\n })\n\n $(Selector.WRAPPER).append(overlay)\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new PushMenu(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (operation === 'toggle') {\n data[operation]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(document).on('click', Selector.TOGGLE_BUTTON, (event) => {\n event.preventDefault()\n\n let button = event.currentTarget\n\n if ($(button).data('widget') !== 'pushmenu') {\n button = $(button).closest(Selector.TOGGLE_BUTTON)\n }\n\n PushMenu._jQueryInterface.call($(button), 'toggle')\n })\n\n $(window).on('load', () => {\n PushMenu._jQueryInterface.call($(Selector.TOGGLE_BUTTON))\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = PushMenu._jQueryInterface\n $.fn[NAME].Constructor = PushMenu\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return PushMenu._jQueryInterface\n }\n\n return PushMenu\n})(jQuery)\n\nexport default PushMenu\n","/**\n * --------------------------------------------\n * AdminLTE Treeview.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Treeview = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Treeview'\n const DATA_KEY = 'lte.treeview'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n SELECTED : `selected${EVENT_KEY}`,\n EXPANDED : `expanded${EVENT_KEY}`,\n COLLAPSED : `collapsed${EVENT_KEY}`,\n LOAD_DATA_API: `load${EVENT_KEY}`\n }\n\n const Selector = {\n LI : '.nav-item',\n LINK : '.nav-link',\n TREEVIEW_MENU: '.nav-treeview',\n OPEN : '.menu-open',\n DATA_WIDGET : '[data-widget=\"treeview\"]'\n }\n\n const ClassName = {\n LI : 'nav-item',\n LINK : 'nav-link',\n TREEVIEW_MENU: 'nav-treeview',\n OPEN : 'menu-open'\n }\n\n const Default = {\n trigger : `${Selector.DATA_WIDGET} ${Selector.LINK}`,\n animationSpeed: 300,\n accordion : true\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n class Treeview {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n init() {\n this._setupListeners()\n }\n\n expand(treeviewMenu, parentLi) {\n const expandedEvent = $.Event(Event.EXPANDED)\n\n if (this._config.accordion) {\n const openMenuLi = parentLi.siblings(Selector.OPEN).first()\n const openTreeview = openMenuLi.find(Selector.TREEVIEW_MENU).first()\n this.collapse(openTreeview, openMenuLi)\n }\n\n treeviewMenu.slideDown(this._config.animationSpeed, () => {\n parentLi.addClass(ClassName.OPEN)\n $(this._element).trigger(expandedEvent)\n })\n }\n\n collapse(treeviewMenu, parentLi) {\n const collapsedEvent = $.Event(Event.COLLAPSED)\n\n treeviewMenu.slideUp(this._config.animationSpeed, () => {\n parentLi.removeClass(ClassName.OPEN)\n $(this._element).trigger(collapsedEvent)\n treeviewMenu.find(`${Selector.OPEN} > ${Selector.TREEVIEW_MENU}`).slideUp()\n treeviewMenu.find(Selector.OPEN).removeClass(ClassName.OPEN)\n })\n }\n\n toggle(event) {\n const $relativeTarget = $(event.currentTarget)\n const treeviewMenu = $relativeTarget.next()\n\n if (!treeviewMenu.is(Selector.TREEVIEW_MENU)) {\n return\n }\n\n event.preventDefault()\n\n const parentLi = $relativeTarget.parents(Selector.LI).first()\n const isOpen = parentLi.hasClass(ClassName.OPEN)\n\n if (isOpen) {\n this.collapse($(treeviewMenu), parentLi)\n } else {\n this.expand($(treeviewMenu), parentLi)\n }\n }\n\n // Private\n\n _setupListeners() {\n $(document).on('click', this._config.trigger, (event) => {\n this.toggle(event)\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Treeview($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on(Event.LOAD_DATA_API, () => {\n $(Selector.DATA_WIDGET).each(function () {\n Treeview._jQueryInterface.call($(this), 'init')\n })\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Treeview._jQueryInterface\n $.fn[NAME].Constructor = Treeview\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Treeview._jQueryInterface\n }\n\n return Treeview\n})(jQuery)\n\nexport default Treeview","/**\n * --------------------------------------------\n * AdminLTE DirectChat.js\n * License MIT\n * --------------------------------------------\n */\n\nconst DirectChat = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'DirectChat'\n const DATA_KEY = 'lte.directchat'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n const DATA_API_KEY = '.data-api'\n\n const Selector = {\n DATA_TOGGLE: '[data-widget=\"chat-pane-toggle\"]',\n DIRECT_CHAT: '.direct-chat'\n };\n\n const ClassName = {\n DIRECT_CHAT_OPEN: 'direct-chat-contacts-open'\n };\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class DirectChat {\n constructor(element, config) {\n this._element = element\n }\n\n toggle() {\n $(this._element).parents(Selector.DIRECT_CHAT).first().toggleClass(ClassName.DIRECT_CHAT_OPEN);\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new DirectChat($(this))\n $(this).data(DATA_KEY, data)\n }\n\n data[config]()\n })\n }\n }\n\n /**\n *\n * Data Api implementation\n * ====================================================\n */\n\n $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n if (event) event.preventDefault();\n DirectChat._jQueryInterface.call($(this), 'toggle');\n });\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = DirectChat._jQueryInterface\n $.fn[NAME].Constructor = DirectChat\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return DirectChat._jQueryInterface\n }\n\n return DirectChat\n})(jQuery)\n\nexport default DirectChat\n","/**\n * --------------------------------------------\n * AdminLTE TodoList.js\n * License MIT\n * --------------------------------------------\n */\n\nconst TodoList = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'TodoList'\n const DATA_KEY = 'lte.todolist'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Selector = {\n DATA_TOGGLE: '[data-widget=\"todo-list\"]'\n }\n\n const ClassName = {\n TODO_LIST_DONE: 'done'\n }\n\n const Default = {\n onCheck: function (item) {\n return item;\n },\n onUnCheck: function (item) {\n return item;\n }\n }\n\n /**\n * Class Definition\n * ====================================================\n */\n\n class TodoList {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n toggle(item) {\n item.parents('li').toggleClass(ClassName.TODO_LIST_DONE);\n if (! $(item).prop('checked')) {\n this.unCheck($(item));\n return;\n }\n\n this.check(item);\n }\n\n check (item) {\n this._config.onCheck.call(item);\n }\n\n unCheck (item) {\n this._config.onUnCheck.call(item);\n }\n\n // Private\n\n _init() {\n var that = this\n $(Selector.DATA_TOGGLE).find('input:checkbox:checked').parents('li').toggleClass(ClassName.TODO_LIST_DONE)\n $(Selector.DATA_TOGGLE).on('change', 'input:checkbox', (event) => {\n that.toggle($(event.target))\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new TodoList($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(window).on('load', () => {\n TodoList._jQueryInterface.call($(Selector.DATA_TOGGLE))\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = TodoList._jQueryInterface\n $.fn[NAME].Constructor = TodoList\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return TodoList._jQueryInterface\n }\n\n return TodoList\n})(jQuery)\n\nexport default TodoList\n","/**\n * --------------------------------------------\n * AdminLTE Widget.js\n * License MIT\n * --------------------------------------------\n */\n\nconst Widget = (($) => {\n /**\n * Constants\n * ====================================================\n */\n\n const NAME = 'Widget'\n const DATA_KEY = 'lte.widget'\n const EVENT_KEY = `.${DATA_KEY}`\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n EXPANDED : `expanded${EVENT_KEY}`,\n COLLAPSED: `collapsed${EVENT_KEY}`,\n MAXIMIZED: `maximized${EVENT_KEY}`,\n MINIMIZED: `minimized${EVENT_KEY}`,\n REMOVED : `removed${EVENT_KEY}`\n }\n\n const Selector = {\n DATA_REMOVE : '[data-widget=\"remove\"]',\n DATA_COLLAPSE : '[data-widget=\"collapse\"]',\n DATA_MAXIMIZE : '[data-widget=\"maximize\"]',\n CARD : '.card',\n CARD_HEADER : '.card-header',\n CARD_BODY : '.card-body',\n CARD_FOOTER : '.card-footer',\n COLLAPSED : '.collapsed-card',\n COLLAPSE_ICON : '.fa-minus',\n EXPAND_ICON : '.fa-plus'\n }\n\n const ClassName = {\n COLLAPSED : 'collapsed-card',\n WAS_COLLAPSED : 'was-collapsed',\n MAXIMIZED : 'maximized-card',\n COLLAPSE_ICON : 'fa-minus',\n EXPAND_ICON : 'fa-plus',\n MAXIMIZE_ICON : 'fa-expand',\n MINIMIZE_ICON : 'fa-compress',\n }\n\n const Default = {\n animationSpeed : 'normal',\n collapseTrigger: Selector.DATA_COLLAPSE,\n removeTrigger : Selector.DATA_REMOVE\n }\n\n class Widget {\n constructor(element, settings) {\n this._element = element\n this._parent = element.parents(Selector.CARD).first()\n this._settings = $.extend({}, Default, settings)\n }\n\n collapse() {\n this._parent.children(`${Selector.CARD_BODY}, ${Selector.CARD_FOOTER}`)\n .slideUp(this._settings.animationSpeed, () => {\n this._parent.addClass(ClassName.COLLAPSED)\n })\n\n this._element.children(Selector.COLLAPSE_ICON)\n .addClass(ClassName.EXPAND_ICON)\n .removeClass(ClassName.COLLAPSE_ICON)\n\n const collapsed = $.Event(Event.COLLAPSED)\n\n this._element.trigger(collapsed, this._parent)\n }\n\n expand() {\n this._parent.children(`${Selector.CARD_BODY}, ${Selector.CARD_FOOTER}`)\n .slideDown(this._settings.animationSpeed, () => {\n this._parent.removeClass(ClassName.COLLAPSED)\n })\n\n this._element.children(Selector.EXPAND_ICON)\n .addClass(ClassName.COLLAPSE_ICON)\n .removeClass(ClassName.EXPAND_ICON)\n\n const expanded = $.Event(Event.EXPANDED)\n\n this._element.trigger(expanded, this._parent)\n }\n\n remove() {\n this._parent.slideUp()\n\n const removed = $.Event(Event.REMOVED)\n\n this._element.trigger(removed, this._parent)\n }\n\n toggle() {\n if (this._parent.hasClass(ClassName.COLLAPSED)) {\n this.expand()\n return\n }\n\n this.collapse()\n }\n \n toggleMaximize() {\n var button = this._element.find('i')\n\n if (this._parent.hasClass(ClassName.MAXIMIZED)) {\n button.addClass(ClassName.MAXIMIZE_ICON).removeClass(ClassName.MINIMIZE_ICON)\n this._parent.css('cssText', 'height:' + this._parent[0].style.height + ' !important;' +\n 'width:' + this._parent[0].style.width + ' !important; transition: all .15s;'\n ).delay(100).queue(function(){\n $(this).removeClass(ClassName.MAXIMIZED)\n $('html').removeClass(ClassName.MAXIMIZED)\n $(this).trigger(Event.MINIMIZED)\n $(this).css({\n 'height': 'inherit',\n 'width': 'inherit'\n })\n if ($(this).hasClass(ClassName.WAS_COLLAPSED)) {\n $(this).removeClass(ClassName.WAS_COLLAPSED)\n }\n $(this).dequeue()\n })\n } else {\n button.addClass(ClassName.MINIMIZE_ICON).removeClass(ClassName.MAXIMIZE_ICON)\n this._parent.css({\n 'height': this._parent.height(),\n 'width': this._parent.width(),\n 'transition': 'all .15s'\n }).delay(150).queue(function(){\n $(this).addClass(ClassName.MAXIMIZED)\n $('html').addClass(ClassName.MAXIMIZED)\n $(this).trigger(Event.MAXIMIZED)\n if ($(this).hasClass(ClassName.COLLAPSED)) {\n $(this).addClass(ClassName.WAS_COLLAPSED)\n }\n $(this).dequeue()\n })\n }\n }\n\n // Private\n\n _init(card) {\n this._parent = card\n\n $(this).find(this._settings.collapseTrigger).click(() => {\n this.toggle()\n })\n\n $(this).find(this._settings.removeTrigger).click(() => {\n this.remove()\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new Widget($(this), data)\n $(this).data(DATA_KEY, typeof config === 'string' ? data : config)\n }\n\n if (typeof config === 'string' && config.match(/remove|toggle|toggleMaximize/)) {\n data[config]()\n } else if (typeof config === 'object') {\n data._init($(this))\n }\n })\n }\n }\n\n /**\n * Data API\n * ====================================================\n */\n\n $(document).on('click', Selector.DATA_COLLAPSE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'toggle')\n })\n\n $(document).on('click', Selector.DATA_REMOVE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'remove')\n })\n\n $(document).on('click', Selector.DATA_MAXIMIZE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Widget._jQueryInterface.call($(this), 'toggleMaximize')\n })\n\n /**\n * jQuery API\n * ====================================================\n */\n\n $.fn[NAME] = Widget._jQueryInterface\n $.fn[NAME].Constructor = Widget\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Widget._jQueryInterface\n }\n\n return Widget\n})(jQuery)\n\nexport default Widget\n"]}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录