Przeglądaj źródła

清理 主题文件

兔姬桑 3 lat temu
rodzic
commit
e17a43f7d6
82 zmienionych plików z 10 dodań i 8318 usunięć
  1. 0 77
      public/assets/global/js/Plugin/ace-editor.js
  2. 0 166
      public/assets/global/js/Plugin/action-btn.js
  3. 0 149
      public/assets/global/js/Plugin/alertify.js
  4. 0 102
      public/assets/global/js/Plugin/animate-list.js
  5. 0 107
      public/assets/global/js/Plugin/animsition.js
  6. 0 83
      public/assets/global/js/Plugin/asbreadcrumbs.js
  7. 0 107
      public/assets/global/js/Plugin/aspaginator.js
  8. 0 101
      public/assets/global/js/Plugin/asprogress.js
  9. 0 54
      public/assets/global/js/Plugin/asrange.js
  10. 0 176
      public/assets/global/js/Plugin/asselectable.js
  11. 0 57
      public/assets/global/js/Plugin/asspinner.js
  12. 0 107
      public/assets/global/js/Plugin/bootbox.js
  13. 0 54
      public/assets/global/js/Plugin/bootstrap-maxlength.js
  14. 0 65
      public/assets/global/js/Plugin/bootstrap-sweetalert.js
  15. 0 53
      public/assets/global/js/Plugin/bootstrap-tagsinput.js
  16. 0 56
      public/assets/global/js/Plugin/bootstrap-touchspin.js
  17. 0 87
      public/assets/global/js/Plugin/bootstrap-treeview.js
  18. 0 66
      public/assets/global/js/Plugin/card.js
  19. 0 53
      public/assets/global/js/Plugin/clockpicker.js
  20. 0 111
      public/assets/global/js/Plugin/closeable-tabs.js
  21. 0 90
      public/assets/global/js/Plugin/datatables.js
  22. 0 56
      public/assets/global/js/Plugin/datepair.js
  23. 0 91
      public/assets/global/js/Plugin/donut.js
  24. 0 62
      public/assets/global/js/Plugin/editable-table.js
  25. 0 178
      public/assets/global/js/Plugin/editlist.js
  26. 0 93
      public/assets/global/js/Plugin/filterable.js
  27. 0 61
      public/assets/global/js/Plugin/floatthead.js
  28. 0 74
      public/assets/global/js/Plugin/formatter.js
  29. 0 90
      public/assets/global/js/Plugin/gauge.js
  30. 0 252
      public/assets/global/js/Plugin/gmaps.js
  31. 0 65
      public/assets/global/js/Plugin/gridstack.js
  32. 0 57
      public/assets/global/js/Plugin/highlight.js
  33. 0 66
      public/assets/global/js/Plugin/html5sortable.js
  34. 0 51
      public/assets/global/js/Plugin/icheck.js
  35. 0 70
      public/assets/global/js/Plugin/input-group-file.js
  36. 0 46
      public/assets/global/js/Plugin/ionrangeslider.js
  37. 0 74
      public/assets/global/js/Plugin/isotope.js
  38. 0 82
      public/assets/global/js/Plugin/jquery-appear.js
  39. 0 57
      public/assets/global/js/Plugin/jquery-knob.js
  40. 0 53
      public/assets/global/js/Plugin/jquery-labelauty.js
  41. 0 80
      public/assets/global/js/Plugin/jquery-strength.js
  42. 0 77
      public/assets/global/js/Plugin/jquery-wizard.js
  43. 0 46
      public/assets/global/js/Plugin/jstree.js
  44. 0 51
      public/assets/global/js/Plugin/jt-timepicker.js
  45. 0 81
      public/assets/global/js/Plugin/jvectormap.js
  46. 0 78
      public/assets/global/js/Plugin/ladda.js
  47. 0 84
      public/assets/global/js/Plugin/loading-button.js
  48. 0 57
      public/assets/global/js/Plugin/magnific-popup.js
  49. 0 71
      public/assets/global/js/Plugin/masonry.js
  50. 0 70
      public/assets/global/js/Plugin/more-button.js
  51. 0 51
      public/assets/global/js/Plugin/nestable.js
  52. 0 130
      public/assets/global/js/Plugin/notie-js.js
  53. 0 66
      public/assets/global/js/Plugin/nprogress.js
  54. 0 65
      public/assets/global/js/Plugin/owl-carousel.js
  55. 0 247
      public/assets/global/js/Plugin/panel.js
  56. 0 245
      public/assets/global/js/Plugin/peity.js
  57. 0 79
      public/assets/global/js/Plugin/plyr.js
  58. 0 76
      public/assets/global/js/Plugin/raty.js
  59. 0 53
      public/assets/global/js/Plugin/select2.js
  60. 0 69
      public/assets/global/js/Plugin/selectable.js
  61. 0 60
      public/assets/global/js/Plugin/sortable.js
  62. 0 141
      public/assets/global/js/Plugin/sticky-header.js
  63. 0 78
      public/assets/global/js/Plugin/table.js
  64. 0 63
      public/assets/global/js/Plugin/tablesaw.js
  65. 0 67
      public/assets/global/js/Plugin/tasklist.js
  66. 0 90
      public/assets/global/js/Plugin/toastr.js
  67. 0 71
      public/assets/global/js/Plugin/toolbar.js
  68. 4 0
      public/assets/global/vendor/bootstrap-tokenfield/bootstrap-tokenfield.min.css
  69. 6 0
      public/assets/global/vendor/bootstrap-tokenfield/bootstrap-tokenfield.min.js
  70. 0 314
      public/assets/js/App/Calendar.js
  71. 0 132
      public/assets/js/App/Contacts.js
  72. 0 93
      public/assets/js/App/Documents.js
  73. 0 55
      public/assets/js/App/Forum.js
  74. 0 333
      public/assets/js/App/Location.js
  75. 0 113
      public/assets/js/App/Mailbox.js
  76. 0 175
      public/assets/js/App/Media.js
  77. 0 152
      public/assets/js/App/Message.js
  78. 0 130
      public/assets/js/App/Notebook.js
  79. 0 144
      public/assets/js/App/Projects.js
  80. 0 112
      public/assets/js/App/Taskboard.js
  81. 0 436
      public/assets/js/App/Travel.js
  82. 0 284
      public/assets/js/App/Work.js

+ 0 - 77
public/assets/global/js/Plugin/ace-editor.js

@@ -1,77 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/ace-editor", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginAceEditor = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'ace';
-
-  var AceEditor =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(AceEditor, _Plugin);
-
-    function AceEditor() {
-      babelHelpers.classCallCheck(this, AceEditor);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AceEditor).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AceEditor, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (typeof ace === 'undefined') {
-          return;
-        } // ace.config.set("themePath", "../theme");
-
-
-        ace.config.loadModule('ace/ext/language_tools');
-        var $el = this.$el;
-        var id = $el.attr('id');
-        var editor = ace.edit(id);
-        editor.container.style.opacity = '';
-
-        if (this.options.mode) {
-          editor.session.setMode("ace/mode/".concat(this.options.mode));
-        }
-
-        if (this.options.theme) {
-          editor.setTheme("ace/theme/".concat(this.options.theme));
-        }
-
-        editor.setOption('maxLines', 40);
-        editor.setAutoScrollEditorIntoView(true);
-        ace.config.loadModule('ace/ext/language_tools', function () {
-          editor.setOptions({
-            enableSnippets: true,
-            enableBasicAutocompletion: true
-          });
-        });
-      }
-    }]);
-    return AceEditor;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, AceEditor);
-
-  var _default = AceEditor;
-  _exports.default = _default;
-});

+ 0 - 166
public/assets/global/js/Plugin/action-btn.js

@@ -1,166 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/action-btn", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginActionBtn = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var pluginName = 'actionBtn';
-  var defaults = {
-    trigger: 'click',
-    // click, hover
-    toggleSelector: '.site-action-toggle',
-    listSelector: '.site-action-buttons',
-    activeClass: 'active',
-    onShow: function onShow() {},
-    onHide: function onHide() {}
-  };
-
-  var actionBtn =
-  /*#__PURE__*/
-  function () {
-    function actionBtn(element, options) {
-      babelHelpers.classCallCheck(this, actionBtn);
-      this.element = element;
-      this.$element = (0, _jquery.default)(element);
-      this.options = _jquery.default.extend({}, defaults, options, this.$element.data());
-      this.init();
-    }
-
-    babelHelpers.createClass(actionBtn, [{
-      key: "init",
-      value: function init() {
-        this.showed = false;
-        this.$toggle = this.$element.find(this.options.toggleSelector);
-        this.$list = this.$element.find(this.options.listSelector);
-        var self = this;
-
-        if (this.options.trigger === 'hover') {
-          this.$element.on('mouseenter', this.options.toggleSelector, function () {
-            if (!self.showed) {
-              self.show();
-            }
-          });
-          this.$element.on('mouseleave', this.options.toggleSelector, function () {
-            if (self.showed) {
-              self.hide();
-            }
-          });
-        } else {
-          this.$element.on('click', this.options.toggleSelector, function () {
-            if (self.showed) {
-              self.hide();
-            } else {
-              self.show();
-            }
-          });
-        }
-      }
-    }, {
-      key: "show",
-      value: function show() {
-        if (!this.showed) {
-          this.$element.addClass(this.options.activeClass);
-          this.showed = true;
-          this.options.onShow.call(this);
-        }
-      }
-    }, {
-      key: "hide",
-      value: function hide() {
-        if (this.showed) {
-          this.$element.removeClass(this.options.activeClass);
-          this.showed = false;
-          this.options.onHide.call(this);
-        }
-      }
-    }], [{
-      key: "_jQueryInterface",
-      value: function _jQueryInterface(options) {
-        for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-          args[_key - 1] = arguments[_key];
-        }
-
-        if (typeof options === 'string') {
-          var method = options;
-
-          if (/^\_/.test(method)) {
-            return false;
-          } else if (/^(get)$/.test(method)) {
-            var api = this.first().data(pluginName);
-
-            if (api && typeof api[method] === 'function') {
-              return api[method].apply(api, args);
-            }
-          } else {
-            return this.each(function () {
-              var api = _jquery.default.data(this, pluginName);
-
-              if (api && typeof api[method] === 'function') {
-                api[method].apply(api, args);
-              }
-            });
-          }
-        } else {
-          return this.each(function () {
-            if (!_jquery.default.data(this, pluginName)) {
-              _jquery.default.data(this, pluginName, new actionBtn(this, options));
-            }
-          });
-        }
-      }
-    }]);
-    return actionBtn;
-  }();
-
-  _jquery.default.fn[pluginName] = actionBtn._jQueryInterface;
-  _jquery.default.fn[pluginName].constructor = actionBtn;
-
-  _jquery.default.fn[pluginName].noConflict = function () {
-    _jquery.default.fn[pluginName] = window.JQUERY_NO_CONFLICT;
-    return actionBtn._jQueryInterface;
-  };
-
-  var ActionBtn =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(ActionBtn, _Plugin);
-
-    function ActionBtn() {
-      babelHelpers.classCallCheck(this, ActionBtn);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(ActionBtn).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(ActionBtn, [{
-      key: "getName",
-      value: function getName() {
-        return pluginName;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return defaults;
-      }
-    }]);
-    return ActionBtn;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(pluginName, ActionBtn);
-
-  var _default = ActionBtn;
-  _exports.default = _default;
-});

+ 0 - 149
public/assets/global/js/Plugin/alertify.js

@@ -1,149 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/alertify", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginAlertify = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'alertify';
-
-  var Alertify =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Alertify, _Plugin);
-
-    function Alertify() {
-      babelHelpers.classCallCheck(this, Alertify);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Alertify).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Alertify, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (this.options.labelOk) {
-          this.options.okBtn = this.options.labelOk;
-        }
-
-        if (this.options.labelCancel) {
-          this.options.cancelBtn = this.options.labelCancel;
-        }
-
-        this.$el.data('alertifyWrapApi', this);
-      }
-    }, {
-      key: "show",
-      value: function show() {
-        if (typeof alertify === 'undefined') {
-          return;
-        }
-
-        var options = this.options;
-
-        if (typeof options.delay !== 'undefined') {
-          alertify.delay(options.delay);
-        }
-
-        if (typeof options.theme !== 'undefined') {
-          alertify.theme(options.theme);
-        }
-
-        if (typeof options.cancelBtn !== 'undefined') {
-          alertify.cancelBtn(options.cancelBtn);
-        }
-
-        if (typeof options.okBtn !== 'undefined') {
-          alertify.okBtn(options.okBtn);
-        }
-
-        if (typeof options.placeholder !== 'undefined') {
-          alertify.delay(options.placeholder);
-        }
-
-        if (typeof options.defaultValue !== 'undefined') {
-          alertify.delay(options.defaultValue);
-        }
-
-        if (typeof options.maxLogItems !== 'undefined') {
-          alertify.delay(options.maxLogItems);
-        }
-
-        if (typeof options.closeLogOnClick !== 'undefined') {
-          alertify.delay(options.closeLogOnClick);
-        }
-
-        switch (options.type) {
-          case 'confirm':
-            alertify.confirm(options.confirmTitle, function () {
-              alertify.success(options.successMessage);
-            }, function () {
-              alertify.error(options.errorMessage);
-            });
-            break;
-
-          case 'prompt':
-            alertify.prompt(options.promptTitle, function (str, ev) {
-              var message = options.successMessage.replace('%s', str);
-              alertify.success(message);
-            }, function (ev) {
-              alertify.error(options.errorMessage);
-            });
-            break;
-
-          case 'log':
-            alertify.log(options.logMessage);
-            break;
-
-          case 'success':
-            alertify.success(options.successMessage);
-            break;
-
-          case 'error':
-            alertify.error(options.errorMessage);
-            break;
-
-          default:
-            alertify.alert(options.alertMessage);
-            break;
-        }
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          type: 'alert',
-          delay: 5000,
-          theme: 'bootstrap'
-        };
-      }
-    }, {
-      key: "api",
-      value: function api() {
-        return 'click|show';
-      }
-    }]);
-    return Alertify;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Alertify);
-
-  var _default = Alertify;
-  _exports.default = _default;
-});

+ 0 - 102
public/assets/global/js/Plugin/animate-list.js

@@ -1,102 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/animate-list", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginAnimateList = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'animateList';
-
-  var AnimateList =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(AnimateList, _Plugin);
-
-    function AnimateList() {
-      babelHelpers.classCallCheck(this, AnimateList);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AnimateList).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AnimateList, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        var $el = this.$el;
-
-        var animatedBox =
-        /*#__PURE__*/
-        function () {
-          function animatedBox($el, opts) {
-            babelHelpers.classCallCheck(this, animatedBox);
-            this.options = opts;
-            this.$children = $el.find(opts.child);
-            this.$children.addClass("animation-".concat(opts.animate));
-            this.$children.css('animation-fill-mode', opts.fill);
-            this.$children.css('animation-duration', "".concat(opts.duration, "ms"));
-            var delay = 0;
-            var self = this;
-            this.$children.each(function () {
-              (0, _jquery.default)(this).css('animation-delay', "".concat(delay, "ms"));
-              delay += self.options.delay;
-            });
-          }
-
-          babelHelpers.createClass(animatedBox, [{
-            key: "run",
-            value: function run(type) {
-              var _this = this;
-
-              this.$children.removeClass("animation-".concat(this.options.animate));
-
-              if (typeof type !== 'undefined') {
-                this.options.animate = type;
-              }
-
-              setTimeout(function () {
-                _this.$children.addClass("animation-".concat(_this.options.animate));
-              }, 0);
-            }
-          }]);
-          return animatedBox;
-        }();
-
-        $el.data('animateList', new animatedBox($el, this.options));
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          child: '.panel',
-          duration: 250,
-          delay: 50,
-          animate: 'scale-up',
-          fill: 'backwards'
-        };
-      }
-    }]);
-    return AnimateList;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, AnimateList);
-
-  var _default = AnimateList;
-  _exports.default = _default;
-});

+ 0 - 107
public/assets/global/js/Plugin/animsition.js

@@ -1,107 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/animsition", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginAnimsition = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'animsition';
-
-  var Animsition =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Animsition, _Plugin);
-
-    function Animsition() {
-      babelHelpers.classCallCheck(this, Animsition);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Animsition).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Animsition, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render(callback) {
-        var options = this.options;
-
-        if (options.random) {
-          var li = options.inDefaults.length;
-          var lo = options.outDefaults.length;
-          var ni = parseInt(li * Math.random(), 0);
-          var no = parseInt(lo * Math.random(), 0);
-          options.inClass = options.inDefaults[ni];
-          options.outClass = options.outDefaults[no];
-        }
-
-        this.$el.animsition(options);
-        (0, _jquery.default)(".".concat(options.loadingClass)).addClass("loader-".concat(options.loadingType));
-
-        if (this.$el.animsition('supportCheck', options)) {
-          if (_jquery.default.isFunction(callback)) {
-            this.$el.one('animsition.end', function () {
-              callback.call();
-            });
-          }
-
-          return true;
-        }
-
-        if (_jquery.default.isFunction(callback)) {
-          callback.call();
-        }
-
-        return false;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          inClass: 'fade-in',
-          outClass: 'fade-out',
-          inDuration: 800,
-          outDuration: 500,
-          linkElement: '.animsition-link',
-          loading: true,
-          loadingParentElement: 'body',
-          loadingClass: 'loader',
-          loadingType: 'default',
-          timeout: false,
-          timeoutCountdown: 5000,
-          onLoadEvent: true,
-          browser: ['animation-duration', '-webkit-animation-duration'],
-          overlay: false,
-          // random: true,
-          overlayClass: 'animsition-overlay-slide',
-          overlayParentElement: 'body',
-          inDefaults: ['fade-in', 'fade-in-up-sm', 'fade-in-up', 'fade-in-up-lg', 'fade-in-down-sm', 'fade-in-down', 'fade-in-down-lg', 'fade-in-left-sm', 'fade-in-left', 'fade-in-left-lg', 'fade-in-right-sm', 'fade-in-right', 'fade-in-right-lg', // 'overlay-slide-in-top', 'overlay-slide-in-bottom', 'overlay-slide-in-left', 'overlay-slide-in-right',
-          'zoom-in-sm', 'zoom-in', 'zoom-in-lg'],
-          outDefaults: ['fade-out', 'fade-out-up-sm', 'fade-out-up', 'fade-out-up-lg', 'fade-out-down-sm', 'fade-out-down', 'fade-out-down-lg', 'fade-out-left-sm', 'fade-out-left', 'fade-out-left-lg', 'fade-out-right-sm', 'fade-out-right', 'fade-out-right-lg', // 'overlay-slide-out-top', 'overlay-slide-out-bottom', 'overlay-slide-out-left', 'overlay-slide-out-right'
-          'zoom-out-sm', 'zoom-out', 'zoom-out-lg']
-        };
-      }
-    }]);
-    return Animsition;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Animsition);
-
-  var _default = Animsition;
-  _exports.default = _default;
-});

+ 0 - 83
public/assets/global/js/Plugin/asbreadcrumbs.js

@@ -1,83 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/asbreadcrumbs", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginAsbreadcrumbs = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'breadcrumb';
-
-  var Breadcrumb =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Breadcrumb, _Plugin);
-
-    function Breadcrumb() {
-      babelHelpers.classCallCheck(this, Breadcrumb);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Breadcrumb).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Breadcrumb, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        var $el = this.$el;
-        $el.asBreadcrumbs(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          overflow: 'left',
-          namespace: 'breadcrumb',
-          dropdownMenuClass: 'dropdown-menu',
-          dropdownItemClass: 'dropdown-item',
-          toggleIconClass: 'wb-chevron-down-mini',
-          ellipsis: function ellipsis(classes, label) {
-            return "<li class=\"breadcrumb-item ".concat(classes.ellipsisClass, "\">").concat(label, "</li>");
-          },
-          dropdown: function dropdown(classes) {
-            var dropdownClass = 'dropdown';
-            var dropdownMenuClass = 'dropdown-menu';
-
-            if (this.options.overflow === 'right') {
-              dropdownMenuClass += ' dropdown-menu-right';
-            }
-
-            return "<li class=\"breadcrumb-item ".concat(dropdownClass, " ").concat(classes.dropdownClass, "\">\n          <a href=\"javascript:void(0);\" class=\"").concat(classes.toggleClass, "\" data-toggle=\"dropdown\">\n            <i class=\"").concat(classes.toggleIconClass, "\"></i>\n          </a>\n          <div class=\"").concat(dropdownMenuClass, " ").concat(classes.dropdownMenuClass, "\" role=\"menu\"></div>\n        </li>");
-          },
-          dropdownItem: function dropdownItem(classes, label, href) {
-            if (!href) {
-              return "<a class=\"".concat(classes.dropdownItemClass, " ").concat(classes.dropdownItemDisableClass, "\" href=\"#\">").concat(label, "</a>");
-            }
-
-            return "<a class=\"".concat(classes.dropdownItemClass, "\" href=\"").concat(href, "\">").concat(label, "</a>");
-          }
-        };
-      }
-    }]);
-    return Breadcrumb;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Breadcrumb);
-
-  var _default = Breadcrumb;
-  _exports.default = _default;
-});

+ 0 - 107
public/assets/global/js/Plugin/aspaginator.js

@@ -1,107 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/aspaginator", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginAspaginator = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'paginator';
-
-  var Paginator =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Paginator, _Plugin);
-
-    function Paginator() {
-      babelHelpers.classCallCheck(this, Paginator);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Paginator).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Paginator, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.asPaginator) {
-          return;
-        }
-
-        var $el = this.$el;
-        var total = $el.data('total');
-        $el.asPaginator(total, this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          namespace: 'pagination',
-          currentPage: 1,
-          itemsPerPage: 10,
-          disabledClass: 'disabled',
-          activeClass: 'active',
-          visibleNum: {
-            0: 3,
-            480: 5
-          },
-          tpl: function tpl() {
-            return '{{prev}}{{lists}}{{next}}';
-          },
-          components: {
-            prev: {
-              tpl: function tpl() {
-                return "<li class=\"".concat(this.namespace, "-prev page-item\"><a class=\"page-link\" href=\"javascript:void(0)\" aria-label=\"Prev\"><span class=\"icon wb-chevron-left-mini\"></span></a></li>");
-              }
-            },
-            next: {
-              tpl: function tpl() {
-                return "<li class=\"".concat(this.namespace, "-next page-item\"><a class=\"page-link\" href=\"javascript:void(0)\" aria-label=\"Next\"><span class=\"icon wb-chevron-right-mini\"></span></a></li>");
-              }
-            },
-            lists: {
-              tpl: function tpl() {
-                var lists = '';
-                var remainder = this.currentPage >= this.visible ? this.currentPage % this.visible : this.currentPage;
-                remainder = remainder === 0 ? this.visible : remainder;
-
-                for (var k = 1; k < remainder; k++) {
-                  lists += "<li class=\"".concat(this.namespace, "-items page-item\" data-value=\"").concat(this.currentPage - remainder + k, "\"><a class=\"page-link\" href=\"javascript:void(0)\">").concat(this.currentPage - remainder + k, "</a></li>");
-                }
-
-                lists += "<li class=\"".concat(this.namespace, "-items page-item ").concat(this.classes.active, "\" data-value=\"").concat(this.currentPage, "\"><a class=\"page-link\" href=\"javascript:void(0)\">").concat(this.currentPage, "</a></li>");
-
-                for (var i = this.currentPage + 1, limit = i + this.visible - remainder - 1 > this.totalPages ? this.totalPages : i + this.visible - remainder - 1; i <= limit; i++) {
-                  lists += "<li class=\"".concat(this.namespace, "-items page-item\" data-value=\"").concat(i, "\"><a class=\"page-link\" href=\"javascript:void(0)\">").concat(i, "</a></li>");
-                }
-
-                return lists;
-              }
-            }
-          }
-        };
-      }
-    }]);
-    return Paginator;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Paginator);
-
-  var _default = Paginator;
-  _exports.default = _default;
-});

+ 0 - 101
public/assets/global/js/Plugin/asprogress.js

@@ -1,101 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/asprogress", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginAsprogress = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'progress';
-
-  var Progress =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Progress, _Plugin);
-
-    function Progress() {
-      babelHelpers.classCallCheck(this, Progress);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Progress).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Progress, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.asProgress) {
-          return;
-        }
-
-        var $el = this.$el;
-        $el.asProgress(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          bootstrap: true,
-          onUpdate: function onUpdate(n) {
-            var per = (n - this.min) / (this.max - this.min);
-
-            if (per < 0.5) {
-              this.$target.addClass('progress-bar-success').removeClass('progress-bar-warning progress-bar-danger');
-            } else if (per >= 0.5 && per < 0.8) {
-              this.$target.addClass('progress-bar-warning').removeClass('progress-bar-success progress-bar-danger');
-            } else {
-              this.$target.addClass('progress-bar-danger').removeClass('progress-bar-success progress-bar-warning');
-            }
-          },
-          labelCallback: function labelCallback(n) {
-            var label;
-            var labelType = this.$element.data('labeltype');
-
-            if (labelType === 'percentage') {
-              var percentage = this.getPercentage(n);
-              label = "".concat(percentage, "%");
-            } else if (labelType === 'steps') {
-              var total = this.$element.data('totalsteps');
-
-              if (!total) {
-                total = 10;
-              }
-
-              var step = Math.round(total * (n - this.min) / (this.max - this.min));
-              label = "".concat(step, " / ").concat(total);
-            } else {
-              label = n;
-            }
-
-            if (this.$element.parent().hasClass('contextual-progress')) {
-              this.$element.parent().find('.progress-label').html(label);
-            }
-
-            return label;
-          }
-        };
-      }
-    }]);
-    return Progress;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Progress);
-
-  var _default = Progress;
-  _exports.default = _default;
-});

+ 0 - 54
public/assets/global/js/Plugin/asrange.js

@@ -1,54 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/asrange", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginAsrange = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'asRange';
-
-  var AsRange =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(AsRange, _Plugin);
-
-    function AsRange() {
-      babelHelpers.classCallCheck(this, AsRange);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AsRange).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AsRange, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          tip: false,
-          scale: false
-        };
-      }
-    }]);
-    return AsRange;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, AsRange);
-
-  var _default = AsRange;
-  _exports.default = _default;
-});

+ 0 - 176
public/assets/global/js/Plugin/asselectable.js

@@ -1,176 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/asselectable", ["exports", "jquery"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery);
-    global.PluginAsselectable = mod.exports;
-  }
-})(this, function (_exports, _jquery) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  var pluginName = 'asSelectable';
-  var defaults = {
-    allSelector: '.selectable-all',
-    itemSelector: '.selectable-item',
-    rowSelector: 'tr',
-    rowSelectable: false,
-    rowActiveClass: 'active',
-    onChange: null
-  };
-
-  var asSelectable =
-  /*#__PURE__*/
-  function () {
-    function asSelectable(element, options) {
-      babelHelpers.classCallCheck(this, asSelectable);
-      this.element = element;
-      this.$element = (0, _jquery.default)(element);
-      this.options = _jquery.default.extend({}, defaults, options, this.$element.data());
-      this.init();
-    }
-
-    babelHelpers.createClass(asSelectable, [{
-      key: "init",
-      value: function init() {
-        var self = this;
-        var options = this.options;
-        self.$element.on('change', options.allSelector, function () {
-          var value = (0, _jquery.default)(this).prop('checked');
-          self.getItems().each(function () {
-            var $one = (0, _jquery.default)(this);
-            $one.prop('checked', value).trigger('change', [true]);
-            self.selectRow($one, value);
-          });
-        });
-        self.$element.on('click', options.itemSelector, function (e) {
-          var $one = (0, _jquery.default)(this);
-          var value = $one.prop('checked');
-          self.selectRow($one, value);
-          e.stopPropagation();
-        });
-        self.$element.on('change', options.itemSelector, function () {
-          var $all = self.$element.find(options.allSelector);
-          var $row = self.getItems();
-          var total = $row.length;
-          var checked = self.getSelected().length;
-
-          if (total === checked) {
-            $all.prop('checked', true);
-          } else {
-            $all.prop('checked', false);
-          }
-
-          self._trigger('change', checked);
-
-          if (typeof options.callback === 'function') {
-            options.callback.call(this);
-          }
-        });
-
-        if (options.rowSelectable) {
-          self.$element.on('click', options.rowSelector, function (e) {
-            if (e.target.type !== 'checkbox' && e.target.type !== 'button' && e.target.tagName.toLowerCase() !== 'a' && !(0, _jquery.default)(e.target).parent('div.checkbox-custom').length) {
-              var $checkbox = (0, _jquery.default)(options.itemSelector, this);
-              var value = $checkbox.prop('checked');
-              $checkbox.prop('checked', !value);
-              self.selectRow($checkbox, !value);
-            }
-          });
-        }
-      }
-    }, {
-      key: "selectRow",
-      value: function selectRow(item, value) {
-        if (value) {
-          item.parents(this.options.rowSelector).addClass(this.options.rowActiveClass);
-        } else {
-          item.parents(this.options.rowSelector).removeClass(this.options.rowActiveClass);
-        }
-      }
-    }, {
-      key: "getItems",
-      value: function getItems() {
-        return this.$element.find(this.options.itemSelector);
-      }
-    }, {
-      key: "getSelected",
-      value: function getSelected() {
-        return this.getItems().filter(':checked');
-      }
-    }, {
-      key: "_trigger",
-      value: function _trigger(eventType) {
-        var method_arguments = Array.prototype.slice.call(arguments, 1);
-        var data = [this].concat(method_arguments); // event
-
-        this.$element.trigger("".concat(pluginName, "::").concat(eventType), data); // callback
-
-        eventType = eventType.replace(/\b\w+\b/g, function (word) {
-          return word.substring(0, 1).toUpperCase() + word.substring(1);
-        });
-        var onFunction = "on".concat(eventType);
-
-        if (typeof this.options[onFunction] === 'function') {
-          this.options[onFunction].apply(this, method_arguments);
-        }
-      }
-    }], [{
-      key: "_jQueryInterface",
-      value: function _jQueryInterface(options) {
-        for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-          args[_key - 1] = arguments[_key];
-        }
-
-        if (typeof options === 'string') {
-          var method = options;
-
-          if (/^\_/.test(method)) {
-            return false;
-          } else if (/^(get)/.test(method)) {
-            var api = this.first().data(pluginName);
-
-            if (api && typeof api[method] === 'function') {
-              return api[method].apply(api, args);
-            }
-          } else {
-            return this.each(function () {
-              var api = _jquery.default.data(this, pluginName);
-
-              if (api && typeof api[method] === 'function') {
-                api[method].apply(api, args);
-              }
-            });
-          }
-        } else {
-          return this.each(function () {
-            if (!_jquery.default.data(this, pluginName)) {
-              _jquery.default.data(this, pluginName, new asSelectable(this, options));
-            }
-          });
-        }
-      }
-    }]);
-    return asSelectable;
-  }();
-
-  _jquery.default.fn[pluginName] = asSelectable._jQueryInterface;
-  _jquery.default.fn[pluginName].constructor = asSelectable;
-
-  _jquery.default.fn[pluginName].noConflict = function () {
-    _jquery.default.fn[pluginName] = window.JQUERY_NO_CONFLICT;
-    return asSelectable._jQueryInterface;
-  };
-
-  var _default = asSelectable;
-  _exports.default = _default;
-});

+ 0 - 57
public/assets/global/js/Plugin/asspinner.js

@@ -1,57 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/asspinner", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginAsspinner = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'asSpinner';
-
-  var AsSpinner =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(AsSpinner, _Plugin);
-
-    function AsSpinner() {
-      babelHelpers.classCallCheck(this, AsSpinner);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AsSpinner).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AsSpinner, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          namespace: 'spinnerUi',
-          skin: null,
-          min: '-10',
-          max: 100,
-          mousewheel: true
-        };
-      }
-    }]);
-    return AsSpinner;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, AsSpinner);
-
-  var _default = AsSpinner;
-  _exports.default = _default;
-});

+ 0 - 107
public/assets/global/js/Plugin/bootbox.js

@@ -1,107 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/bootbox", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginBootbox = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'bootbox';
-
-  var Bootbox =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Bootbox, _Plugin);
-
-    function Bootbox() {
-      babelHelpers.classCallCheck(this, Bootbox);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Bootbox).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Bootbox, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.$el.data('bootboxWrapApi', this);
-      }
-    }, {
-      key: "show",
-      value: function show() {
-        if (typeof bootbox === 'undefined') {
-          return;
-        }
-
-        var options = this.options;
-
-        if (options.classname) {
-          options.className = options.classname;
-        }
-
-        if (options.className) {
-          options.className += ' modal-simple';
-        }
-
-        if (typeof options.callback === 'string' && _jquery.default.isFunction(window[options.callback])) {
-          options.callback = window[options.callback];
-        }
-
-        if (options.type) {
-          switch (options.type) {
-            case 'alert':
-              bootbox.alert(options);
-              break;
-
-            case 'confirm':
-              bootbox.confirm(options);
-              break;
-
-            case 'prompt':
-              bootbox.prompt(options);
-              break;
-
-            default:
-              bootbox.dialog(options);
-          }
-        } else {
-          bootbox.dialog(options);
-        }
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          message: '',
-          className: 'modal-simple'
-        };
-      }
-    }, {
-      key: "api",
-      value: function api() {
-        return 'click|show';
-      }
-    }]);
-    return Bootbox;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Bootbox);
-
-  var _default = Bootbox;
-  _exports.default = _default;
-});

+ 0 - 54
public/assets/global/js/Plugin/bootstrap-maxlength.js

@@ -1,54 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/bootstrap-maxlength", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginBootstrapMaxlength = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'maxlength';
-
-  var Maxlength =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Maxlength, _Plugin);
-
-    function Maxlength() {
-      babelHelpers.classCallCheck(this, Maxlength);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Maxlength).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Maxlength, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          warningClass: 'badge badge-warning',
-          limitReachedClass: 'badge badge-danger'
-        };
-      }
-    }]);
-    return Maxlength;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Maxlength);
-
-  var _default = Maxlength;
-  _exports.default = _default;
-});

+ 0 - 65
public/assets/global/js/Plugin/bootstrap-sweetalert.js

@@ -1,65 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/bootstrap-sweetalert", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginBootstrapSweetalert = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'sweetalert';
-
-  var Sweetalert =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Sweetalert, _Plugin);
-
-    function Sweetalert() {
-      babelHelpers.classCallCheck(this, Sweetalert);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Sweetalert).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Sweetalert, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.$el.data('sweetalertWrapApi', this);
-      }
-    }, {
-      key: "show",
-      value: function show() {
-        if (typeof swal === 'undefined') {
-          return;
-        }
-
-        swal(this.options);
-      }
-    }], [{
-      key: "api",
-      value: function api() {
-        return 'click|show';
-      }
-    }]);
-    return Sweetalert;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Sweetalert);
-
-  var _default = Sweetalert;
-  _exports.default = _default;
-});

+ 0 - 53
public/assets/global/js/Plugin/bootstrap-tagsinput.js

@@ -1,53 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/bootstrap-tagsinput", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginBootstrapTagsinput = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'tagsinput';
-
-  var Tagsinput =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Tagsinput, _Plugin);
-
-    function Tagsinput() {
-      babelHelpers.classCallCheck(this, Tagsinput);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Tagsinput).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Tagsinput, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          tagClass: 'badge badge-default'
-        };
-      }
-    }]);
-    return Tagsinput;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Tagsinput);
-
-  var _default = Tagsinput;
-  _exports.default = _default;
-});

+ 0 - 56
public/assets/global/js/Plugin/bootstrap-touchspin.js

@@ -1,56 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/bootstrap-touchspin", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginBootstrapTouchspin = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'TouchSpin';
-
-  var TouchSpin =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(TouchSpin, _Plugin);
-
-    function TouchSpin() {
-      babelHelpers.classCallCheck(this, TouchSpin);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TouchSpin).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(TouchSpin, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          // verticalupclass: 'wb-plus',
-          // verticaldownclass: 'wb-minus',
-          buttondown_class: 'btn btn-outline btn-default',
-          buttonup_class: 'btn btn-outline btn-default'
-        };
-      }
-    }]);
-    return TouchSpin;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, TouchSpin);
-
-  var _default = TouchSpin;
-  _exports.default = _default;
-});

+ 0 - 87
public/assets/global/js/Plugin/bootstrap-treeview.js

@@ -1,87 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/bootstrap-treeview", ["exports", "jquery", "Plugin", "Config"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"), require("Config"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin, global.Config);
-    global.PluginBootstrapTreeview = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2, _Config) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'treeview';
-
-  var Treeview =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Treeview, _Plugin);
-
-    function Treeview() {
-      babelHelpers.classCallCheck(this, Treeview);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Treeview).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Treeview, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.treeview) {
-          return;
-        }
-
-        var $el = this.$el;
-        var options = this.options;
-
-        if (typeof options.source === 'string' && _jquery.default.isFunction(window[options.source])) {
-          options.data = window[options.source]();
-          delete options.source;
-        } else if (_jquery.default.isFunction(options.souce)) {
-          options.data = options.source();
-          delete options.source;
-        }
-
-        $el.treeview(options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          injectStyle: false,
-          expandIcon: 'icon wb-plus',
-          collapseIcon: 'icon wb-minus',
-          emptyIcon: 'icon',
-          nodeIcon: 'icon wb-folder',
-          showBorder: false,
-          // color: undefined, // "#000000",
-          // backColor: undefined, // "#FFFFFF",
-          borderColor: (0, _Config.colors)('blue-grey', 200),
-          onhoverColor: (0, _Config.colors)('blue-grey', 100),
-          selectedColor: '#ffffff',
-          selectedBackColor: (0, _Config.colors)('primary', 600),
-          searchResultColor: (0, _Config.colors)('primary', 600),
-          searchResultBackColor: '#ffffff'
-        };
-      }
-    }]);
-    return Treeview;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Treeview);
-
-  var _default = Treeview;
-  _exports.default = _default;
-});

+ 0 - 66
public/assets/global/js/Plugin/card.js

@@ -1,66 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/card", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginCard = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'card';
-
-  var Card =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Card, _Plugin);
-
-    function Card() {
-      babelHelpers.classCallCheck(this, Card);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Card).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Card, [{
-      key: "getName",
-      value: function getName() {}
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.card) {
-          return;
-        }
-
-        var $el = this.$el;
-        var options = this.options;
-
-        if (options.target) {
-          options.container = (0, _jquery.default)(options.target);
-        }
-
-        $el.card(options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }]);
-    return Card;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Card);
-
-  var _default = Card;
-  _exports.default = _default;
-});

+ 0 - 53
public/assets/global/js/Plugin/clockpicker.js

@@ -1,53 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/clockpicker", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginClockpicker = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'clockpicker';
-
-  var Clockpicker =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Clockpicker, _Plugin);
-
-    function Clockpicker() {
-      babelHelpers.classCallCheck(this, Clockpicker);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Clockpicker).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Clockpicker, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          donetext: 'Done'
-        };
-      }
-    }]);
-    return Clockpicker;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Clockpicker);
-
-  var _default = Clockpicker;
-  _exports.default = _default;
-});

+ 0 - 111
public/assets/global/js/Plugin/closeable-tabs.js

@@ -1,111 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/closeable-tabs", ["exports", "jquery"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery);
-    global.PluginCloseableTabs = mod.exports;
-  }
-})(this, function (_exports, _jquery) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  var pluginName = 'tabClose';
-  var dismiss = '[data-close="tab"]';
-
-  var TabClose =
-  /*#__PURE__*/
-  function () {
-    function TabClose(el) {
-      babelHelpers.classCallCheck(this, TabClose);
-      (0, _jquery.default)(el).on('click', dismiss, this.close);
-    }
-
-    babelHelpers.createClass(TabClose, [{
-      key: "close",
-      value: function close(e) {
-        var $this = (0, _jquery.default)(this);
-        var $toggle = $this.closest('[data-toggle="tab"]');
-        var selector = $toggle.data('target');
-        var $li = $toggle.parent('li');
-
-        if (!selector) {
-          selector = $toggle.attr('href');
-          selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '');
-        }
-
-        if ($toggle.hasClass('active')) {
-          var $next = $li.siblings().eq(0).children('[data-toggle="tab"]');
-
-          if ($next.length > 0) {
-            var api = $next.tab().data('bs.tab');
-            api.show();
-          }
-        }
-
-        var $parent = (0, _jquery.default)(selector);
-
-        if (e) {
-          e.preventDefault();
-        }
-
-        $parent.trigger(e = _jquery.default.Event('close.bs.tab'));
-
-        if (e.isDefaultPrevented()) {
-          return;
-        }
-
-        $parent.removeClass('in');
-
-        function removeElement() {
-          // detach from parent, fire event then clean up data
-          $parent.detach().trigger('closed.bs.tab').remove();
-          $li.detach().remove();
-        }
-
-        _jquery.default.support.transition && $parent.hasClass('fade') ? $parent.one('bsTransitionEnd', removeElement).emulateTransitionEnd(TabClose.TRANSITION_DURATION) : removeElement();
-      }
-    }], [{
-      key: "_jQueryInterface",
-      value: function _jQueryInterface(option) {
-        console.log(option);
-        return this.each(function () {
-          var $this = (0, _jquery.default)(this);
-          var data = $this.data('bs.tab.close');
-
-          if (!data) {
-            $this.data('bs.tab.close', data = new TabClose(this));
-          }
-
-          if (typeof option === 'string') {
-            data[option].call($this);
-          }
-        });
-      }
-    }]);
-    return TabClose;
-  }();
-
-  TabClose.TRANSITION_DURATION = 150;
-  _jquery.default.fn[pluginName] = TabClose._jQueryInterface;
-  _jquery.default.fn[pluginName].Constructor = TabClose;
-
-  _jquery.default.fn[pluginName].noConflict = function () {
-    _jquery.default.fn[pluginName] = window.JQUERY_NO_CONFLICT;
-    return asSelectable._jQueryInterface;
-  }; // TAB CLOSE DATA-API
-  // ==================
-
-
-  (0, _jquery.default)(document).on('click.bs.tab-close.data-api', dismiss, TabClose.prototype.close);
-  var _default = TabClose;
-  _exports.default = _default;
-});

+ 0 - 90
public/assets/global/js/Plugin/datatables.js

@@ -1,90 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/datatables", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginDatatables = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'dataTable';
-
-  var DataTable =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(DataTable, _Plugin);
-
-    function DataTable() {
-      babelHelpers.classCallCheck(this, DataTable);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(DataTable).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(DataTable, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.dataTable) {
-          return;
-        } // if ($.fn.dataTable.TableTools) {
-        //   // Set the classes that TableTools uses to something suitable for Bootstrap
-        //   $.extend(true, $.fn.dataTable.TableTools.classes, {
-        //     container: 'DTTT btn-group btn-group float-left',
-        //     buttons: {
-        //       normal: 'btn btn-outline btn-default',
-        //       disabled: 'disabled'
-        //     },
-        //     print: {
-        //       body: 'site-print DTTT_Print'
-        //     }
-        //   });
-        // }
-
-
-        this.$el.dataTable(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          responsive: true,
-          language: {
-            lengthMenu: '_MENU_',
-            searchPlaceholder: 'Search..',
-            search: '_INPUT_' // ,paginate: {
-            //   previous: '<i class="icon wb-chevron-left-mini"></i>',
-            //   next: '<i class="icon wb-chevron-right-mini"></i>'
-            // }
-            // ,
-            // classes: {
-            //   sFilterInput: "form-control form-control-sm",
-            //   sLengthSelect: "form-control form-control-sm"
-            // }
-
-          }
-        };
-      }
-    }]);
-    return DataTable;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, DataTable);
-
-  var _default = DataTable;
-  _exports.default = _default;
-});

+ 0 - 56
public/assets/global/js/Plugin/datepair.js

@@ -1,56 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/datepair", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginDatepair = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'datepair';
-
-  var Datepair =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Datepair, _Plugin);
-
-    function Datepair() {
-      babelHelpers.classCallCheck(this, Datepair);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Datepair).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Datepair, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          startClass: 'datepair-start',
-          endClass: 'datepair-end',
-          timeClass: 'datepair-time',
-          dateClass: 'datepair-date'
-        };
-      }
-    }]);
-    return Datepair;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Datepair);
-
-  var _default = Datepair;
-  _exports.default = _default;
-});

+ 0 - 91
public/assets/global/js/Plugin/donut.js

@@ -1,91 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/donut", ["exports", "Plugin", "Config"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"), require("Config"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin, global.Config);
-    global.PluginDonut = mod.exports;
-  }
-})(this, function (_exports, _Plugin2, _Config) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'donut';
-
-  var DonutPlugin =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(DonutPlugin, _Plugin);
-
-    function DonutPlugin() {
-      babelHelpers.classCallCheck(this, DonutPlugin);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(DonutPlugin).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(DonutPlugin, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!Gauge) {
-          return;
-        }
-
-        var $el = this.$el;
-        var $canvas = $el.find('canvas');
-        var $text = $el.find('.donut-label');
-
-        if ($canvas.length === 0) {
-          return;
-        }
-
-        var donut = new Donut($canvas[0]).setOptions(this.options);
-        $el.data('donut', donut);
-        donut.animationSpeed = 50;
-        donut.maxValue = $el.data('max-value');
-        donut.set($el.data('value'));
-
-        if ($text.length > 0) {
-          donut.setTextField($text[0]);
-        }
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          lines: 12,
-          angle: 0.3,
-          lineWidth: 0.08,
-          pointer: {
-            length: 0.9,
-            strokeWidth: 0.035,
-            color: (0, _Config.colors)('blue-grey', 400)
-          },
-          limitMax: false,
-          // If true, the pointer will not go past the end of the gauge
-          colorStart: (0, _Config.colors)('blue-grey', 200),
-          colorStop: (0, _Config.colors)('blue-grey', 200),
-          strokeColor: (0, _Config.colors)('primary', 500),
-          generateGradient: true
-        };
-      }
-    }]);
-    return DonutPlugin;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, DonutPlugin);
-
-  var _default = DonutPlugin;
-  _exports.default = _default;
-});

+ 0 - 62
public/assets/global/js/Plugin/editable-table.js

@@ -1,62 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/editable-table", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginEditableTable = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'editableTable';
-
-  var EditableTable =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(EditableTable, _Plugin);
-
-    function EditableTable() {
-      babelHelpers.classCallCheck(this, EditableTable);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(EditableTable).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(EditableTable, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.editableTableWidget) {
-          return;
-        }
-
-        var $el = this.$el;
-        $el.editableTableWidget(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }]);
-    return EditableTable;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, EditableTable);
-
-  var _default = EditableTable;
-  _exports.default = _default;
-});

+ 0 - 178
public/assets/global/js/Plugin/editlist.js

@@ -1,178 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/editlist", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginEditlist = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var pluginName = 'editlist';
-  var defaults = {};
-
-  var editlist =
-  /*#__PURE__*/
-  function () {
-    function editlist(element, options) {
-      babelHelpers.classCallCheck(this, editlist);
-      this.element = element;
-      this.$element = (0, _jquery.default)(element);
-      this.$content = this.$element.find('.list-content');
-      this.$text = this.$element.find('.list-text');
-      this.$editable = this.$element.find('.list-editable');
-      this.$editBtn = this.$element.find('[data-toggle=list-editable]');
-      this.$delBtn = this.$element.find('[data-toggle=list-delete]');
-      this.$closeBtn = this.$element.find('[data-toggle=list-editable-close]');
-      this.$input = this.$element.find('input');
-      this.options = _jquery.default.extend({}, _Plugin2.default.defaults, options, this.$element.data());
-      this.init();
-    }
-
-    babelHelpers.createClass(editlist, [{
-      key: "init",
-      value: function init() {
-        this.bind();
-      }
-    }, {
-      key: "bind",
-      value: function bind() {
-        var self = this;
-        this.$editBtn.on('click', function () {
-          self.enable();
-        });
-        this.$closeBtn.on('click', function () {
-          self.disable();
-        });
-        this.$delBtn.on('click', function () {
-          if (typeof bootbox === 'undefined') {
-            return;
-          }
-
-          bootbox.dialog({
-            message: 'Do you want to delete the contact?',
-            buttons: {
-              success: {
-                label: 'Delete',
-                className: 'btn-danger',
-                callback: function callback() {
-                  self.$element.remove();
-                }
-              }
-            }
-          });
-        });
-        this.$input.on('keydown', function (e) {
-          var keycode = e.keyCode ? e.keyCode : e.which;
-
-          if (keycode === 13 || keycode === 27) {
-            if (keycode === 13) {
-              self.$text.html(self.$input.val());
-            } else {
-              self.$input.val(self.$text.text());
-            }
-
-            self.disable();
-          }
-        });
-      }
-    }, {
-      key: "enable",
-      value: function enable() {
-        this.$content.hide();
-        this.$editable.show();
-        this.$input.focus().select();
-      }
-    }, {
-      key: "disable",
-      value: function disable() {
-        this.$content.show();
-        this.$editable.hide();
-      }
-    }], [{
-      key: "_jQueryInterface",
-      value: function _jQueryInterface(options) {
-        for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-          args[_key - 1] = arguments[_key];
-        }
-
-        if (typeof options === 'string') {
-          var method = options;
-
-          if (/^\_/.test(method)) {
-            return false;
-          } else if (/^(get)$/.test(method)) {
-            var api = this.first().data(pluginName);
-
-            if (api && typeof api[method] === 'function') {
-              return api[method].apply(api, args);
-            }
-          } else {
-            return this.each(function () {
-              var api = _jquery.default.data(this, pluginName);
-
-              if (api && typeof api[method] === 'function') {
-                api[method].apply(api, args);
-              }
-            });
-          }
-        } else {
-          return this.each(function () {
-            if (!_jquery.default.data(this, pluginName)) {
-              _jquery.default.data(this, pluginName, new editlist(this, options));
-            }
-          });
-        }
-      }
-    }]);
-    return editlist;
-  }();
-
-  _jquery.default.fn[pluginName] = editlist._jQueryInterface;
-  _jquery.default.fn[pluginName].constructor = editlist;
-
-  _jquery.default.fn[pluginName].noConflict = function () {
-    _jquery.default.fn[pluginName] = window.JQUERY_NO_CONFLICT;
-    return editlist._jQueryInterface;
-  };
-
-  var Editlist =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Editlist, _Plugin);
-
-    function Editlist() {
-      babelHelpers.classCallCheck(this, Editlist);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Editlist).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Editlist, [{
-      key: "getName",
-      value: function getName() {
-        return pluginName;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return defaults;
-      }
-    }]);
-    return Editlist;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(pluginName, Editlist);
-
-  var _default = Editlist;
-  _exports.default = _default;
-});

+ 0 - 93
public/assets/global/js/Plugin/filterable.js

@@ -1,93 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/filterable", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginFilterable = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'filterable';
-
-  var Filterable =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Filterable, _Plugin);
-
-    function Filterable() {
-      babelHelpers.classCallCheck(this, Filterable);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Filterable).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Filterable, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (typeof _jquery.default.fn.isotope === 'undefined') {
-          return;
-        }
-
-        var $el = this.$el;
-
-        var options = _jquery.default.extend(this.options, {
-          filter: '*'
-        });
-
-        this.$el.isotope(options);
-        this.$filters = (0, _jquery.default)(options.filters);
-        var self = this;
-        (0, _jquery.default)('[data-filter]', this.$filters).on('click', function (e) {
-          var $this = (0, _jquery.default)(this);
-          var $li = $this.parent('li');
-          $li.siblings().find('.nav-link.active').each(function () {
-            (0, _jquery.default)(this).attr('aria-expanded', false).removeClass('active');
-          });
-          $this.addClass('active').attr('aria-expanded', true);
-          var filter = $this.attr('data-filter');
-
-          if (filter !== '*') {
-            filter = "[data-type=\"".concat(filter, "\"]");
-          }
-
-          self.$el.isotope({
-            filter: filter
-          });
-          e.preventDefault();
-        });
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          animationOptions: {
-            duration: 750,
-            easing: 'linear',
-            queue: false
-          }
-        };
-      }
-    }]);
-    return Filterable;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Filterable);
-
-  var _default = Filterable;
-  _exports.default = _default;
-});

+ 0 - 61
public/assets/global/js/Plugin/floatthead.js

@@ -1,61 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/floatthead", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginFloatthead = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'floatThead';
-
-  var FloatThead =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(FloatThead, _Plugin);
-
-    function FloatThead() {
-      babelHelpers.classCallCheck(this, FloatThead);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(FloatThead).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(FloatThead, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          position: 'auto',
-          top: function top() {
-            var offset = (0, _jquery.default)('.page').offset();
-            return offset.top;
-          },
-          responsiveContainer: function responsiveContainer($table) {
-            return $table.closest('.table-responsive');
-          }
-        };
-      }
-    }]);
-    return FloatThead;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, FloatThead);
-
-  var _default = FloatThead;
-  _exports.default = _default;
-});

+ 0 - 74
public/assets/global/js/Plugin/formatter.js

@@ -1,74 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/formatter", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginFormatter = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'formatter';
-
-  var Formatter =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Formatter, _Plugin);
-
-    function Formatter() {
-      babelHelpers.classCallCheck(this, Formatter);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Formatter).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Formatter, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.formatter) {
-          return;
-        }
-
-        var browserName = navigator.userAgent.toLowerCase();
-
-        if (/msie/i.test(browserName) && !/opera/.test(browserName)) {} else {}
-
-        var $el = this.$el,
-            options = this.options;
-
-        if (options.pattern) {
-          options.pattern = options.pattern.replace(/\[\[/g, '{{').replace(/\]\]/g, '}}');
-        }
-
-        $el.formatter(options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          persistent: true
-        };
-      }
-    }]);
-    return Formatter;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Formatter);
-
-  var _default = Formatter;
-  _exports.default = _default;
-});

+ 0 - 90
public/assets/global/js/Plugin/gauge.js

@@ -1,90 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/gauge", ["exports", "Plugin", "Config"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"), require("Config"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin, global.Config);
-    global.PluginGauge = mod.exports;
-  }
-})(this, function (_exports, _Plugin2, _Config) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'gauge';
-
-  var GaugePlugin =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(GaugePlugin, _Plugin);
-
-    function GaugePlugin() {
-      babelHelpers.classCallCheck(this, GaugePlugin);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(GaugePlugin).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(GaugePlugin, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!Gauge) {
-          return;
-        }
-
-        var $el = this.$el;
-        var $canvas = $el.find('canvas');
-        var $text = $el.find('.gauge-label');
-
-        if ($canvas.length === 0) {
-          return;
-        }
-
-        var gauge = new Gauge($canvas[0]).setOptions(this.options);
-        $el.data('gauge', gauge);
-        gauge.animationSpeed = 50;
-        gauge.maxValue = $el.data('max-value');
-        gauge.set($el.data('value'));
-
-        if ($text.length > 0) {
-          gauge.setTextField($text[0]);
-        }
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          lines: 12,
-          angle: 0.2,
-          lineWidth: 0.4,
-          pointer: {
-            length: 0.58,
-            strokeWidth: 0.03,
-            color: (0, _Config.colors)('blue-grey', 400)
-          },
-          limitMax: true,
-          colorStart: (0, _Config.colors)('blue-grey', 200),
-          colorStop: (0, _Config.colors)('blue-grey', 200),
-          strokeColor: (0, _Config.colors)('primary', 500),
-          generateGradient: true
-        };
-      }
-    }]);
-    return GaugePlugin;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, GaugePlugin);
-
-  var _default = GaugePlugin;
-  _exports.default = _default;
-});

+ 0 - 252
public/assets/global/js/Plugin/gmaps.js

@@ -1,252 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/gmaps", ["exports", "Plugin", "Config"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"), require("Config"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin, global.Config);
-    global.PluginGmaps = mod.exports;
-  }
-})(this, function (_exports, _Plugin2, _Config) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'gmaps';
-
-  var GmapsPlugin =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(GmapsPlugin, _Plugin);
-
-    function GmapsPlugin() {
-      babelHelpers.classCallCheck(this, GmapsPlugin);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(GmapsPlugin).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(GmapsPlugin, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {}
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          styles: [{
-            featureType: 'landscape',
-            elementType: 'all',
-            stylers: [{
-              color: '#ffffff'
-            }]
-          }, {
-            featureType: 'poi',
-            elementType: 'all',
-            stylers: [{
-              color: '#ffffff'
-            }]
-          }, {
-            featureType: 'road',
-            elementType: 'labels.text.fill',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '700')
-            }]
-          }, {
-            featureType: 'administrative',
-            elementType: 'labels.text.fill',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '500')
-            }]
-          }, {
-            featureType: 'road.highway',
-            elementType: 'geometry.fill',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '300')
-            }]
-          }, {
-            featureType: 'road.arterial',
-            elementType: 'geometry.fill',
-            stylers: [{
-              color: '#e0e0e0'
-            }]
-          }, {
-            featureType: 'water',
-            elementType: 'geometry.fill',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '200')
-            }]
-          }, {
-            featureType: 'water',
-            elementType: 'labels.text.fill',
-            stylers: [{
-              color: '#000000'
-            }]
-          }, {
-            featureType: 'poi',
-            elementType: 'labels.text.fill',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '500')
-            }]
-          }, {
-            featureType: 'road',
-            elementType: 'labels.text.stroke',
-            stylers: [{
-              visibility: 'off'
-            }]
-          }, {
-            featureType: 'poi.attraction',
-            elementType: 'labels.text.stroke',
-            stylers: [{
-              visibility: 'off'
-            }]
-          }, {
-            featureType: 'poi',
-            elementType: 'labels.text.stroke',
-            stylers: [{
-              visibility: 'off'
-            }]
-          }, {
-            featureType: 'road.local',
-            elementType: 'all',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '200')
-            }, {
-              weight: 0.5
-            }]
-          }, {
-            featureType: 'road.arterial',
-            elementType: 'geometry',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '300')
-            }]
-          }, {
-            featureType: 'road.arterial',
-            elementType: 'geometry.stroke',
-            stylers: [{
-              visibility: 'off'
-            }]
-          }, {
-            featureType: 'road.highway',
-            elementType: 'geometry.stroke',
-            stylers: [{
-              visibility: 'off'
-            }, {
-              color: '#000000'
-            }]
-          }, {
-            featureType: 'poi',
-            elementType: 'all',
-            stylers: [{
-              visibility: 'off'
-            }, {
-              color: '#000000'
-            }]
-          }, {
-            featureType: 'poi',
-            elementType: 'labels.text',
-            stylers: [{
-              visibility: 'on'
-            }, {
-              color: (0, _Config.colors)('blue-grey', '700')
-            }]
-          }, {
-            featureType: 'road.local',
-            elementType: 'labels.text',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '700')
-            }]
-          }, {
-            featureType: 'transit',
-            elementType: 'all',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '100')
-            }]
-          }, {
-            featureType: 'transit.station',
-            elementType: 'labels.text.fill',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '500')
-            }]
-          }, {
-            featureType: 'road',
-            elementType: 'labels.text.stroke',
-            stylers: [{
-              visibility: 'off'
-            }]
-          }, {
-            featureType: 'road',
-            elementType: 'labels.text.fill',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '600')
-            }]
-          }, {
-            featureType: 'administrative.neighborhood',
-            elementType: 'labels.text',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '700')
-            }]
-          }, {
-            featureType: 'poi',
-            elementType: 'labels.text.stroke',
-            stylers: [{
-              color: '#ffffff'
-            }]
-          }, {
-            featureType: 'road.highway',
-            elementType: 'labels.icon',
-            stylers: [{
-              visibility: 'on'
-            }, {
-              hue: '#ffffff'
-            }, {
-              saturation: -100
-            }, {
-              lightness: 50
-            }]
-          }, {
-            featureType: 'water',
-            elementType: 'labels.text.stroke',
-            stylers: [{
-              visibility: 'on'
-            }, {
-              color: '#ffffff'
-            }]
-          }, {
-            featureType: 'administrative.neighborhood',
-            elementType: 'labels.text.stroke',
-            stylers: [{
-              color: '#ffffff'
-            }]
-          }, {
-            featureType: 'administrative',
-            elementType: 'labels.text.stroke',
-            stylers: [{
-              color: '#ffffff'
-            }]
-          }, {
-            featureType: 'water',
-            elementType: 'labels.text.fill',
-            stylers: [{
-              color: (0, _Config.colors)('blue-grey', '600')
-            }]
-          }]
-        };
-      }
-    }]);
-    return GmapsPlugin;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, GmapsPlugin);
-
-  var _default = GmapsPlugin;
-  _exports.default = _default;
-});

+ 0 - 65
public/assets/global/js/Plugin/gridstack.js

@@ -1,65 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/gridstack", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginGridstack = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'gridstack';
-
-  var Gridstack =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Gridstack, _Plugin);
-
-    function Gridstack() {
-      babelHelpers.classCallCheck(this, Gridstack);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Gridstack).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Gridstack, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.gridstack) {
-          return;
-        }
-
-        var $el = this.$el;
-        $el.gridstack(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          cellHeight: 80,
-          verticalMargin: 20
-        };
-      }
-    }]);
-    return Gridstack;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Gridstack);
-
-  var _default = Gridstack;
-  _exports.default = _default;
-});

+ 0 - 57
public/assets/global/js/Plugin/highlight.js

@@ -1,57 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/highlight", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginHighlight = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'highlight';
-
-  var Highlight =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Highlight, _Plugin);
-
-    function Highlight() {
-      babelHelpers.classCallCheck(this, Highlight);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Highlight).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Highlight, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        hljs.initHighlightingOnLoad();
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }]);
-    return Highlight;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Highlight);
-
-  var _default = Highlight;
-  _exports.default = _default;
-});

+ 0 - 66
public/assets/global/js/Plugin/html5sortable.js

@@ -1,66 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/html5sortable", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginHtml5sortable = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'sortable';
-
-  var Sortable =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Sortable, _Plugin);
-
-    function Sortable() {
-      babelHelpers.classCallCheck(this, Sortable);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Sortable).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Sortable, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        var $el = this.$el;
-        sortable(this.$el.get(0), this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          connectWith: false,
-          placeholder: null,
-          // dragImage can be null or a Element
-          dragImage: null,
-          disableIEFix: false,
-          placeholderClass: 'sortable-placeholder',
-          draggingClass: 'sortable-dragging',
-          hoverClass: false
-        };
-      }
-    }]);
-    return Sortable;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Sortable);
-
-  var _default = Sortable;
-  _exports.default = _default;
-});

+ 0 - 51
public/assets/global/js/Plugin/icheck.js

@@ -1,51 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/icheck", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginIcheck = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'iCheck';
-
-  var ICheck =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(ICheck, _Plugin);
-
-    function ICheck() {
-      babelHelpers.classCallCheck(this, ICheck);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(ICheck).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(ICheck, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }]);
-    return ICheck;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, ICheck);
-
-  var _default = ICheck;
-  _exports.default = _default;
-});

+ 0 - 70
public/assets/global/js/Plugin/input-group-file.js

@@ -1,70 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/input-group-file", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginInputGroupFile = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'inputGroupFile';
-
-  var InputGroupFile =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(InputGroupFile, _Plugin);
-
-    function InputGroupFile() {
-      babelHelpers.classCallCheck(this, InputGroupFile);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(InputGroupFile).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(InputGroupFile, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.$file = this.$el.find('[type=file]');
-        this.$text = this.$el.find('.form-control');
-      }
-    }, {
-      key: "change",
-      value: function change() {
-        var value = '';
-
-        _jquery.default.each(this.$file[0].files, function (i, file) {
-          value += "".concat(file.name, ", ");
-        });
-
-        value = value.substring(0, value.length - 2);
-        this.$text.val(value);
-      }
-    }], [{
-      key: "api",
-      value: function api() {
-        return 'change|change';
-      }
-    }]);
-    return InputGroupFile;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, InputGroupFile);
-
-  var _default = InputGroupFile;
-  _exports.default = _default;
-});

+ 0 - 46
public/assets/global/js/Plugin/ionrangeslider.js

@@ -1,46 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/ionrangeslider", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginIonrangeslider = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'ionRangeSlider';
-
-  var IonRangeSlider =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(IonRangeSlider, _Plugin);
-
-    function IonRangeSlider() {
-      babelHelpers.classCallCheck(this, IonRangeSlider);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(IonRangeSlider).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(IonRangeSlider, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }]);
-    return IonRangeSlider;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, IonRangeSlider);
-
-  var _default = IonRangeSlider;
-  _exports.default = _default;
-});

+ 0 - 74
public/assets/global/js/Plugin/isotope.js

@@ -1,74 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/isotope", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginIsotope = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'isotope';
-
-  var Isotope =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Isotope, _Plugin);
-
-    function Isotope() {
-      babelHelpers.classCallCheck(this, Isotope);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Isotope).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Isotope, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        var _this = this;
-
-        if (typeof _jquery.default.fn.isotope === 'undefined') {
-          return;
-        }
-
-        var callback = function callback() {
-          var $el = _this.$el;
-          $el.isotope(_this.options);
-        };
-
-        if (this !== document) {
-          callback();
-        } else {
-          (0, _jquery.default)(window).on('load', function () {
-            callback();
-          });
-        }
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }]);
-    return Isotope;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Isotope);
-
-  var _default = Isotope;
-  _exports.default = _default;
-});

+ 0 - 82
public/assets/global/js/Plugin/jquery-appear.js

@@ -1,82 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/jquery-appear", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginJqueryAppear = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'appear';
-
-  var Appear =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Appear, _Plugin);
-
-    function Appear() {
-      babelHelpers.classCallCheck(this, Appear);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Appear).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Appear, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "bind",
-      value: function bind() {
-        var _this = this;
-
-        this.$el.on('appear', function () {
-          if (_this.$el.hasClass('appear-no-repeat')) {
-            return;
-          }
-
-          _this.$el.removeClass('invisible').addClass("animation-".concat(_this.options.animate));
-
-          if (_this.$el.data('repeat') === false) {
-            _this.$el.addClass('appear-no-repeat');
-          }
-        });
-        (0, _jquery.default)(document).on('disappear', function () {
-          if (_this.$el.hasClass('appear-no-repeat')) {
-            return;
-          }
-
-          _this.$el.addClass('invisible').removeClass("animation-".concat(_this.options.animate));
-        });
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.appear) {
-          return;
-        }
-
-        this.$el.appear(this.options);
-        this.$el.not(':appeared').addClass('invisible');
-        this.bind();
-      }
-    }]);
-    return Appear;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Appear);
-
-  var _default = Appear;
-  _exports.default = _default;
-});

+ 0 - 57
public/assets/global/js/Plugin/jquery-knob.js

@@ -1,57 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/jquery-knob", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginJqueryKnob = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'knob';
-
-  var Knob =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Knob, _Plugin);
-
-    function Knob() {
-      babelHelpers.classCallCheck(this, Knob);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Knob).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Knob, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          min: -50,
-          max: 50,
-          width: 120,
-          height: 120,
-          thickness: '.1'
-        };
-      }
-    }]);
-    return Knob;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Knob);
-
-  var _default = Knob;
-  _exports.default = _default;
-});

+ 0 - 53
public/assets/global/js/Plugin/jquery-labelauty.js

@@ -1,53 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/jquery-labelauty", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginJqueryLabelauty = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'labelauty';
-
-  var Labelauty =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Labelauty, _Plugin);
-
-    function Labelauty() {
-      babelHelpers.classCallCheck(this, Labelauty);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Labelauty).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Labelauty, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          same_width: true
-        };
-      }
-    }]);
-    return Labelauty;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Labelauty);
-
-  var _default = Labelauty;
-  _exports.default = _default;
-});

+ 0 - 80
public/assets/global/js/Plugin/jquery-strength.js

@@ -1,80 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/jquery-strength", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginJqueryStrength = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'strength';
-
-  var Strength =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Strength, _Plugin);
-
-    function Strength() {
-      babelHelpers.classCallCheck(this, Strength);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Strength).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Strength, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          showMeter: true,
-          showToggle: false,
-          templates: {
-            toggle: '<div class="checkbox-custom checkbox-primary show-password-wrap"><input type="checkbox" class="{toggleClass}" title="Show/Hide Password" id="show_password" /><label for="show_password">Show Password</label></div>',
-            meter: '<div class="{meterClass}">{score}</div>',
-            score: '<div class="{scoreClass}"></div>',
-            main: '<div class="{containerClass}">{input}{meter}{toggle}</div>'
-          },
-          classes: {
-            container: 'strength-container',
-            status: 'strength-{status}',
-            input: 'strength-input',
-            toggle: 'strength-toggle',
-            meter: 'strength-meter',
-            score: 'strength-score'
-          },
-          scoreLables: {
-            invalid: 'Invalid',
-            weak: 'Weak',
-            good: 'Good',
-            strong: 'Strong'
-          },
-          scoreClasses: {
-            invalid: 'strength-invalid',
-            weak: 'strength-weak',
-            good: 'strength-good',
-            strong: 'strength-strong'
-          }
-        };
-      }
-    }]);
-    return Strength;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Strength);
-
-  var _default = Strength;
-  _exports.default = _default;
-});

+ 0 - 77
public/assets/global/js/Plugin/jquery-wizard.js

@@ -1,77 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/jquery-wizard", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginJqueryWizard = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'wizard';
-
-  var Wizard =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Wizard, _Plugin);
-
-    function Wizard() {
-      babelHelpers.classCallCheck(this, Wizard);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Wizard).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Wizard, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          step: '.steps .step, .pearls .pearl',
-          templates: {
-            buttons: function buttons() {
-              var options = this.options;
-              return "<div class=\"wizard-buttons\"><a class=\"btn btn-default btn-outline\" href=\"#".concat(this.id, "\" data-wizard=\"back\" role=\"button\">").concat(options.buttonLabels.back, "</a><a class=\"btn btn-primary btn-outline float-right\" href=\"#").concat(this.id, "\" data-wizard=\"next\" role=\"button\">").concat(options.buttonLabels.next, "</a><a class=\"btn btn-success btn-outline float-right\" href=\"#").concat(this.id, "\" data-wizard=\"finish\" role=\"button\">").concat(options.buttonLabels.finish, "</a></div>");
-            }
-          },
-          classes: {
-            step: {
-              done: 'done',
-              error: 'error',
-              active: 'active',
-              disabled: 'disabled',
-              activing: 'activing',
-              loading: 'loading'
-            },
-            pane: {
-              active: 'active',
-              activing: 'activing'
-            },
-            button: {
-              hide: 'hidden-xs-up',
-              disabled: 'disabled'
-            }
-          }
-        };
-      }
-    }]);
-    return Wizard;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Wizard);
-
-  var _default = Wizard;
-  _exports.default = _default;
-});

+ 0 - 46
public/assets/global/js/Plugin/jstree.js

@@ -1,46 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/jstree", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginJstree = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'jstree';
-
-  var Jstree =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Jstree, _Plugin);
-
-    function Jstree() {
-      babelHelpers.classCallCheck(this, Jstree);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Jstree).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Jstree, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }]);
-    return Jstree;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Jstree);
-
-  var _default = Jstree;
-  _exports.default = _default;
-});

+ 0 - 51
public/assets/global/js/Plugin/jt-timepicker.js

@@ -1,51 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/jt-timepicker", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginJtTimepicker = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'timepicker';
-
-  var Timepicker =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Timepicker, _Plugin);
-
-    function Timepicker() {
-      babelHelpers.classCallCheck(this, Timepicker);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Timepicker).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Timepicker, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }]);
-    return Timepicker;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Timepicker);
-
-  var _default = Timepicker;
-  _exports.default = _default;
-});

+ 0 - 81
public/assets/global/js/Plugin/jvectormap.js

@@ -1,81 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/jvectormap", ["exports", "Plugin", "Config"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"), require("Config"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin, global.Config);
-    global.PluginJvectormap = mod.exports;
-  }
-})(this, function (_exports, _Plugin2, _Config) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'vectorMap';
-
-  var VectorMap =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(VectorMap, _Plugin);
-
-    function VectorMap() {
-      babelHelpers.classCallCheck(this, VectorMap);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(VectorMap).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(VectorMap, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          map: 'world_mill',
-          backgroundColor: '#fff',
-          zoomAnimate: true,
-          regionStyle: {
-            initial: {
-              fill: (0, _Config.colors)('primary', 600)
-            },
-            hover: {
-              fill: (0, _Config.colors)('primary', 500)
-            },
-            selected: {
-              fill: (0, _Config.colors)('primary', 800)
-            },
-            selectedHover: {
-              fill: (0, _Config.colors)('primary', 500)
-            }
-          },
-          markerStyle: {
-            initial: {
-              r: 8,
-              fill: (0, _Config.colors)('red', 600),
-              'stroke-width': 0
-            },
-            hover: {
-              r: 12,
-              stroke: (0, _Config.colors)('red', 600),
-              'stroke-width': 0
-            }
-          }
-        };
-      }
-    }]);
-    return VectorMap;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, VectorMap);
-
-  var _default = VectorMap;
-  _exports.default = _default;
-});

+ 0 - 78
public/assets/global/js/Plugin/ladda.js

@@ -1,78 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/ladda", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginLadda = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'ladda';
-
-  var LaddaPlugin =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(LaddaPlugin, _Plugin);
-
-    function LaddaPlugin() {
-      babelHelpers.classCallCheck(this, LaddaPlugin);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(LaddaPlugin).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(LaddaPlugin, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (typeof Ladda === 'undefined') {
-          return;
-        }
-
-        if (this.options.type === 'progress') {
-          this.options.callback = function (instance) {
-            var progress = 0;
-            var interval = setInterval(function () {
-              progress = Math.min(progress + Math.random() * 0.1, 1);
-              instance.setProgress(progress);
-
-              if (progress === 1) {
-                instance.stop();
-                clearInterval(interval);
-              }
-            }, 200);
-          };
-        }
-
-        Ladda.bind(this.$el[0], this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          type: 'normal',
-          timeout: 2000
-        };
-      }
-    }]);
-    return LaddaPlugin;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, LaddaPlugin);
-
-  var _default = LaddaPlugin;
-  _exports.default = _default;
-});

+ 0 - 84
public/assets/global/js/Plugin/loading-button.js

@@ -1,84 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/loading-button", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginLoadingButton = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'loadingButton';
-
-  var LoadingButton =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(LoadingButton, _Plugin);
-
-    function LoadingButton() {
-      babelHelpers.classCallCheck(this, LoadingButton);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(LoadingButton).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(LoadingButton, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.text = this.$el.text();
-        this.$el.data('loadingButtonApi', this);
-      }
-    }, {
-      key: "loading",
-      value: function loading() {
-        var $el = this.$el;
-        var i = this.options.time;
-        var loadingText = this.options.loadingText;
-        var opacity = this.options.opacity;
-        var text = this.text;
-        $el.text("".concat(loadingText, "(").concat(i, ")")).css('opacity', opacity);
-        var timeout = setInterval(function () {
-          $el.text("".concat(loadingText, "(").concat(--i, ")"));
-
-          if (i === 0) {
-            clearInterval(timeout);
-            $el.text(text).css('opacity', '1');
-          }
-        }, 1000);
-      }
-    }], [{
-      key: "api",
-      value: function api() {
-        return 'click|loading';
-      }
-    }, {
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          loadingText: 'Loading',
-          time: 20,
-          opacity: '0.6'
-        };
-      }
-    }]);
-    return LoadingButton;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, LoadingButton);
-
-  var _default = LoadingButton;
-  _exports.default = _default;
-});

+ 0 - 57
public/assets/global/js/Plugin/magnific-popup.js

@@ -1,57 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/magnific-popup", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginMagnificPopup = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'magnificPopup';
-
-  var MagnificPopup =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(MagnificPopup, _Plugin);
-
-    function MagnificPopup() {
-      babelHelpers.classCallCheck(this, MagnificPopup);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(MagnificPopup).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(MagnificPopup, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          type: 'image',
-          closeOnContentClick: true,
-          image: {
-            verticalFit: true
-          }
-        };
-      }
-    }]);
-    return MagnificPopup;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, MagnificPopup);
-
-  var _default = MagnificPopup;
-  _exports.default = _default;
-});

+ 0 - 71
public/assets/global/js/Plugin/masonry.js

@@ -1,71 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/masonry", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginMasonry = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'masonry';
-
-  var Masonry =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Masonry, _Plugin);
-
-    function Masonry() {
-      babelHelpers.classCallCheck(this, Masonry);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Masonry).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Masonry, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (typeof _jquery.default.fn.masonry === 'undefined') {
-          return;
-        }
-
-        var $el = this.$el;
-
-        if (_jquery.default.fn.imagesLoaded) {
-          $el.imagesLoaded(function () {
-            $el.masonry(this.options);
-          });
-        } else {
-          $el.masonry(this.options);
-        }
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          itemSelector: '.masonry-item'
-        };
-      }
-    }]);
-    return Masonry;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Masonry);
-
-  var _default = Masonry;
-  _exports.default = _default;
-});

+ 0 - 70
public/assets/global/js/Plugin/more-button.js

@@ -1,70 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/more-button", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginMoreButton = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'moreButton';
-
-  var MoreButton =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(MoreButton, _Plugin);
-
-    function MoreButton() {
-      babelHelpers.classCallCheck(this, MoreButton);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(MoreButton).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(MoreButton, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.$target = (0, _jquery.default)(this.options.more);
-        this.$el.data('moreButtonApi', this);
-      }
-    }, {
-      key: "toggle",
-      value: function toggle() {
-        this.$target.toggle();
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          more: ''
-        };
-      }
-    }, {
-      key: "api",
-      value: function api() {
-        return 'click|toggle';
-      }
-    }]);
-    return MoreButton;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, MoreButton);
-
-  var _default = MoreButton;
-  _exports.default = _default;
-});

+ 0 - 51
public/assets/global/js/Plugin/nestable.js

@@ -1,51 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/nestable", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginNestable = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'nestable';
-
-  var Nestable =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Nestable, _Plugin);
-
-    function Nestable() {
-      babelHelpers.classCallCheck(this, Nestable);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Nestable).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Nestable, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }]);
-    return Nestable;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Nestable);
-
-  var _default = Nestable;
-  _exports.default = _default;
-});

+ 0 - 130
public/assets/global/js/Plugin/notie-js.js

@@ -1,130 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/notie-js", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginNotieJs = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'notie';
-
-  var Notie =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Notie, _Plugin);
-
-    function Notie() {
-      babelHelpers.classCallCheck(this, Notie);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Notie).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Notie, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.$el.data('notieApi', this);
-      }
-    }, {
-      key: "show",
-      value: function show() {
-        var options = this.options;
-
-        if (options.type !== undefined) {
-          switch (options.type) {
-            case 'confirm':
-              notie.confirm(Object.assign(options, {
-                submitCallback: function submitCallback() {
-                  if (options.submitCallback && typeof window[options.submitCallback] === 'function') {
-                    window[options.submitCallback]();
-                  } else {
-                    notie.alert({
-                      type: 1,
-                      text: options.submitMsg,
-                      time: 1.5
-                    });
-                  }
-                },
-                cancelCallback: function cancelCallback() {
-                  if (options.cancelCallback && typeof window[options.cancelCallback] === 'function') {
-                    window[options.cancelCallback]();
-                  } else {
-                    notie.alert({
-                      type: 3,
-                      text: options.cancelMsg,
-                      time: 1.5
-                    });
-                  }
-                }
-              }));
-              break;
-
-            case 'input':
-              notie.input(Object.assign(options, {
-                submitCallback: function submitCallback(value) {
-                  if (options.submitCallback && typeof window[options.submitCallback] === 'function') {
-                    window[options.submitCallback](value);
-                  } else {
-                    notie.alert({
-                      type: 1,
-                      text: "you entered: ".concat(value),
-                      time: 1.5
-                    });
-                  }
-                },
-                cancelCallback: function cancelCallback(value) {
-                  if (options.cancelCallback && typeof window[options.cancelCallback] === 'function') {
-                    window[options.cancelCallback](value);
-                  } else {
-                    notie.alert({
-                      type: 1,
-                      text: "You cancelled with this value: ".concat(value),
-                      time: 1.5
-                    });
-                  }
-                }
-              }));
-              break;
-
-            case 'select':
-              notie.select(options);
-              break;
-
-            case 'date':
-              notie.date(options);
-              break;
-
-            default:
-              notie.alert(options);
-          }
-        }
-      }
-    }], [{
-      key: "api",
-      value: function api() {
-        return 'click|show';
-      }
-    }]);
-    return Notie;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Notie);
-
-  var _default = Notie;
-  _exports.default = _default;
-});

+ 0 - 66
public/assets/global/js/Plugin/nprogress.js

@@ -1,66 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/nprogress", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginNprogress = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'nprogress';
-
-  var Nprogress =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Nprogress, _Plugin);
-
-    function Nprogress() {
-      babelHelpers.classCallCheck(this, Nprogress);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Nprogress).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Nprogress, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (typeof NProgress === 'undefined') {
-          return;
-        }
-
-        NProgress.configure(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          minimum: 0.15,
-          trickleRate: 0.07,
-          trickleSpeed: 360,
-          showSpinner: false,
-          template: '<div class="bar" role="bar"></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
-        };
-      }
-    }]);
-    return Nprogress;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Nprogress);
-
-  var _default = Nprogress;
-  _exports.default = _default;
-});

+ 0 - 65
public/assets/global/js/Plugin/owl-carousel.js

@@ -1,65 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/owl-carousel", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginOwlCarousel = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'owlCarousel';
-
-  var OwlCarousel =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(OwlCarousel, _Plugin);
-
-    function OwlCarousel() {
-      babelHelpers.classCallCheck(this, OwlCarousel);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(OwlCarousel).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(OwlCarousel, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          // autoWidth: true,
-          loop: true,
-          nav: true,
-          dots: false,
-          dotsClass: 'owl-dots owl-dots-fall',
-          responsive: {
-            0: {
-              items: 1
-            },
-            600: {
-              items: 3
-            }
-          }
-        };
-      }
-    }]);
-    return OwlCarousel;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, OwlCarousel);
-
-  var _default = OwlCarousel;
-  _exports.default = _default;
-});

+ 0 - 247
public/assets/global/js/Plugin/panel.js

@@ -1,247 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/panel", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginPanel = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'panel';
-
-  function getPanelAPI($el) {
-    if ($el.length <= 0) {
-      return;
-    }
-
-    var api = $el.data('panelAPI');
-
-    if (api) {
-      return api;
-    }
-
-    api = new Panel($el, _jquery.default.extend(true, {}, Panel.getDefaults(), $el.data()));
-    api.render();
-    return api;
-  }
-
-  var Panel =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Panel, _Plugin);
-
-    function Panel() {
-      babelHelpers.classCallCheck(this, Panel);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Panel).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Panel, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render(context) {
-        var $el = this.$el;
-        this.isFullscreen = false;
-        this.isClose = false;
-        this.isCollapse = false;
-        this.isLoading = false;
-        this.$panelBody = $el.find('.panel-body');
-        this.$fullscreen = $el.find('[data-toggle="panel-fullscreen"]');
-        this.$collapse = $el.find('[data-toggle="panel-collapse"]');
-        this.$loading = null;
-
-        if ($el.hasClass('is-collapse')) {
-          this.isCollapse = true;
-        }
-
-        if (typeof this.options.loadCallback === 'string') {
-          this.options.loadCallback = window[this.options.loadCallback];
-        }
-
-        $el.data('panelAPI', this);
-      }
-    }, {
-      key: "load",
-      value: function load(callback) {
-        var $el = this.$el;
-        var type = $el.data('loader-type');
-
-        if (!type) {
-          type = 'default';
-        }
-
-        callback = callback || this.options.loadCallback;
-        this.$loading = (0, _jquery.default)("<div class=\"panel-loading\">\n                          <div class=\"loader loader-".concat(type, "\"></div>\n                        </div>")).appendTo($el);
-        $el.addClass('is-loading');
-        $el.trigger('loading.uikit.panel');
-        this.isLoading = true;
-
-        if (typeof callback === 'function') {
-          callback.call(this);
-        }
-      }
-    }, {
-      key: "done",
-      value: function done() {
-        if (this.isLoading === true) {
-          this.$loading.remove();
-          this.$el.removeClass('is-loading');
-          this.$el.trigger('loading.done.uikit.panel');
-        }
-      }
-    }, {
-      key: "toggleContent",
-      value: function toggleContent() {
-        if (this.isCollapse) {
-          this.showContent();
-        } else {
-          this.hideContent();
-        }
-      }
-    }, {
-      key: "showContent",
-      value: function showContent() {
-        if (this.isCollapse !== false) {
-          this.$el.removeClass('is-collapse');
-
-          if (this.$collapse.hasClass('wb-plus')) {
-            this.$collapse.removeClass('wb-plus').addClass('wb-minus');
-          }
-
-          this.$el.trigger('shown.uikit.panel');
-          this.isCollapse = false;
-        }
-      }
-    }, {
-      key: "hideContent",
-      value: function hideContent() {
-        if (this.isCollapse !== true) {
-          this.$el.addClass('is-collapse');
-
-          if (this.$collapse.hasClass('wb-minus')) {
-            this.$collapse.removeClass('wb-minus').addClass('wb-plus');
-          }
-
-          this.$el.trigger('hidden.uikit.panel');
-          this.isCollapse = true;
-        }
-      }
-    }, {
-      key: "toggleFullscreen",
-      value: function toggleFullscreen() {
-        if (this.isFullscreen) {
-          this.leaveFullscreen();
-        } else {
-          this.enterFullscreen();
-        }
-      }
-    }, {
-      key: "enterFullscreen",
-      value: function enterFullscreen() {
-        if (this.isFullscreen !== true) {
-          this.$el.addClass('is-fullscreen');
-
-          if (this.$fullscreen.hasClass('wb-expand')) {
-            this.$fullscreen.removeClass('wb-expand').addClass('wb-contract');
-          }
-
-          this.$el.trigger('enter.fullscreen.uikit.panel');
-          this.isFullscreen = true;
-        }
-      }
-    }, {
-      key: "leaveFullscreen",
-      value: function leaveFullscreen() {
-        if (this.isFullscreen !== false) {
-          this.$el.removeClass('is-fullscreen');
-
-          if (this.$fullscreen.hasClass('wb-contract')) {
-            this.$fullscreen.removeClass('wb-contract').addClass('wb-expand');
-          }
-
-          this.$el.trigger('leave.fullscreen.uikit.panel');
-          this.isFullscreen = false;
-        }
-      }
-    }, {
-      key: "toggle",
-      value: function toggle() {
-        if (this.isClose) {
-          this.open();
-        } else {
-          this.close();
-        }
-      }
-    }, {
-      key: "open",
-      value: function open() {
-        if (this.isClose !== false) {
-          this.$el.removeClass('is-close');
-          this.$el.trigger('open.uikit.panel');
-          this.isClose = false;
-        }
-      }
-    }, {
-      key: "close",
-      value: function close() {
-        if (this.isClose !== true) {
-          this.$el.addClass('is-close');
-          this.$el.trigger('close.uikit.panel');
-          this.isClose = true;
-        }
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }, {
-      key: "api",
-      value: function api() {
-        return function () {
-          (0, _jquery.default)(document).on('click.site.panel', '[data-toggle="panel-fullscreen"]', function (e) {
-            e.preventDefault();
-            var api = getPanelAPI((0, _jquery.default)(this).closest('.panel'));
-            api.toggleFullscreen();
-          });
-          (0, _jquery.default)(document).on('click.site.panel', '[data-toggle="panel-collapse"]', function (e) {
-            e.preventDefault();
-            var api = getPanelAPI((0, _jquery.default)(this).closest('.panel'));
-            api.toggleContent();
-          });
-          (0, _jquery.default)(document).on('click.site.panel', '[data-toggle="panel-close"]', function (e) {
-            e.preventDefault();
-            var api = getPanelAPI((0, _jquery.default)(this).closest('.panel'));
-            api.close();
-          });
-          (0, _jquery.default)(document).on('click.site.panel', '[data-toggle="panel-refresh"]', function (e) {
-            e.preventDefault();
-            var api = getPanelAPI((0, _jquery.default)(this).closest('.panel'));
-            api.load();
-          });
-        };
-      }
-    }]);
-    return Panel;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Panel);
-
-  var _default = Panel;
-  _exports.default = _default;
-});

+ 0 - 245
public/assets/global/js/Plugin/peity.js

@@ -1,245 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/peity", ["exports", "jquery", "Plugin", "Config"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"), require("Config"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin, global.Config);
-    global.PluginPeity = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin5, _Config) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.PeityPie = _exports.PeityDonut = _exports.PeityLine = _exports.PeityBar = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin5 = babelHelpers.interopRequireDefault(_Plugin5);
-
-  var PeityBar =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(PeityBar, _Plugin);
-
-    function PeityBar() {
-      babelHelpers.classCallCheck(this, PeityBar);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(PeityBar).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(PeityBar, [{
-      key: "getName",
-      value: function getName() {
-        return 'peityBar';
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.peity) {
-          return;
-        }
-
-        var $el = this.$el;
-        var options = this.options;
-
-        if (options.skin) {
-          var skinColors = (0, _Config.colors)(options.skin);
-
-          if (skinColors) {
-            options.fill = [skinColors[400]];
-          }
-        }
-
-        $el.peity('bar', options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          delimiter: ',',
-          fill: [(0, _Config.colors)('primary', 400)],
-          height: 22,
-          max: null,
-          min: 0,
-          padding: 0.1,
-          width: 44
-        };
-      }
-    }]);
-    return PeityBar;
-  }(_Plugin5.default);
-
-  _exports.PeityBar = PeityBar;
-
-  _Plugin5.default.register('peityBar', PeityBar);
-
-  var PeityDonut =
-  /*#__PURE__*/
-  function (_Plugin2) {
-    babelHelpers.inherits(PeityDonut, _Plugin2);
-
-    function PeityDonut() {
-      babelHelpers.classCallCheck(this, PeityDonut);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(PeityDonut).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(PeityDonut, [{
-      key: "getName",
-      value: function getName() {
-        return 'peityDonut';
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.peity) {
-          return;
-        }
-
-        var $el = this.$el;
-        var options = this.options;
-
-        if (options.skin) {
-          var skinColors = (0, _Config.colors)(options.skin);
-
-          if (skinColors) {
-            options.fill = [skinColors[700], skinColors[400], skinColors[200]];
-          }
-        }
-
-        $el.peity('donut', options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          delimiter: null,
-          fill: [(0, _Config.colors)('primary', 700), (0, _Config.colors)('primary', 400), (0, _Config.colors)('primary', 200)],
-          height: null,
-          innerRadius: null,
-          radius: 11,
-          width: null
-        };
-      }
-    }]);
-    return PeityDonut;
-  }(_Plugin5.default);
-
-  _exports.PeityDonut = PeityDonut;
-
-  _Plugin5.default.register('peityDonut', PeityDonut);
-
-  var PeityLine =
-  /*#__PURE__*/
-  function (_Plugin3) {
-    babelHelpers.inherits(PeityLine, _Plugin3);
-
-    function PeityLine() {
-      babelHelpers.classCallCheck(this, PeityLine);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(PeityLine).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(PeityLine, [{
-      key: "getName",
-      value: function getName() {
-        return 'peityLine';
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.peity) {
-          return;
-        }
-
-        var $el = this.$el;
-        var options = this.options;
-
-        if (options.skin) {
-          var skinColors = (0, _Config.colors)(options.skin);
-
-          if (skinColors) {
-            options.fill = [skinColors[200]];
-            options.stroke = skinColors[600];
-          }
-        }
-
-        $el.peity('line', options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          delimiter: ',',
-          fill: [(0, _Config.colors)('primary', 200)],
-          height: 22,
-          max: null,
-          min: 0,
-          stroke: (0, _Config.colors)('primary', 600),
-          strokeWidth: 1,
-          width: 44
-        };
-      }
-    }]);
-    return PeityLine;
-  }(_Plugin5.default);
-
-  _exports.PeityLine = PeityLine;
-
-  _Plugin5.default.register('peityLine', PeityLine);
-
-  var PeityPie =
-  /*#__PURE__*/
-  function (_Plugin4) {
-    babelHelpers.inherits(PeityPie, _Plugin4);
-
-    function PeityPie() {
-      babelHelpers.classCallCheck(this, PeityPie);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(PeityPie).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(PeityPie, [{
-      key: "getName",
-      value: function getName() {
-        return 'peityPie';
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.peity) {
-          return;
-        }
-
-        var $el = this.$el;
-        var options = this.options;
-
-        if (options.skin) {
-          var skinColors = (0, _Config.colors)(options.skin);
-
-          if (skinColors) {
-            options.fill = [skinColors[700], skinColors[400], skinColors[200]];
-          }
-        }
-
-        $el.peity('pie', options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          delimiter: null,
-          fill: [(0, _Config.colors)('primary', 700), (0, _Config.colors)('primary', 400), (0, _Config.colors)('primary', 200)],
-          height: null,
-          radius: 11,
-          width: null
-        };
-      }
-    }]);
-    return PeityPie;
-  }(_Plugin5.default);
-
-  _exports.PeityPie = PeityPie;
-
-  _Plugin5.default.register('peityPie', PeityPie);
-});

+ 0 - 79
public/assets/global/js/Plugin/plyr.js

@@ -1,79 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/plyr", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginPlyr = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'plyr';
-  (0, _jquery.default)(document).ready(function () {
-    var a = new XMLHttpRequest();
-    var d = document;
-    var u = 'https://cdn.plyr.io/1.1.5/sprite.svg';
-    var b = d.body; // Check for CORS support
-
-    if ('withCredentials' in a) {
-      a.open('GET', u, true);
-      a.send();
-
-      a.onload = function () {
-        var c = d.createElement('div');
-        c.style.display = 'none';
-        c.innerHTML = a.responseText;
-        b.insertBefore(c, b.childNodes[0]);
-      };
-    }
-  });
-
-  var Plyr =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Plyr, _Plugin);
-
-    function Plyr() {
-      babelHelpers.classCallCheck(this, Plyr);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Plyr).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Plyr, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (typeof plyr === 'undefined') {
-          return;
-        }
-
-        plyr.setup(this.$el[0], this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }]);
-    return Plyr;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Plyr);
-
-  var _default = Plyr;
-  _exports.default = _default;
-});

+ 0 - 76
public/assets/global/js/Plugin/raty.js

@@ -1,76 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/raty", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginRaty = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'rating';
-
-  var Rating =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Rating, _Plugin);
-
-    function Rating() {
-      babelHelpers.classCallCheck(this, Rating);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Rating).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Rating, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.raty) {
-          return;
-        }
-
-        var $el = this.$el;
-
-        if (this.options.hints) {
-          this.options.hints = this.options.hints.split(',');
-        }
-
-        $el.raty(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          targetKeep: true,
-          icon: 'font',
-          starType: 'i',
-          starOff: 'icon wb-star',
-          starOn: 'icon wb-star orange-600',
-          cancelOff: 'icon wb-minus-circle',
-          cancelOn: 'icon wb-minus-circle orange-600',
-          starHalf: 'icon wb-star-half orange-500'
-        };
-      }
-    }]);
-    return Rating;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Rating);
-
-  var _default = Rating;
-  _exports.default = _default;
-});

+ 0 - 53
public/assets/global/js/Plugin/select2.js

@@ -1,53 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/select2", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginSelect2 = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'select2';
-
-  var Select2 =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Select2, _Plugin);
-
-    function Select2() {
-      babelHelpers.classCallCheck(this, Select2);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Select2).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Select2, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          width: 'style'
-        };
-      }
-    }]);
-    return Select2;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Select2);
-
-  var _default = Select2;
-  _exports.default = _default;
-});

+ 0 - 69
public/assets/global/js/Plugin/selectable.js

@@ -1,69 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/selectable", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginSelectable = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'selectable';
-
-  var Selectable =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Selectable, _Plugin);
-
-    function Selectable() {
-      babelHelpers.classCallCheck(this, Selectable);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Selectable).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Selectable, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.asSelectable) {
-          return;
-        }
-
-        var $el = this.$el;
-        $el.asSelectable(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          allSelector: '.selectable-all',
-          itemSelector: '.selectable-item',
-          rowSelector: 'tr',
-          rowSelectable: false,
-          rowActiveClass: 'active',
-          onChange: null
-        };
-      }
-    }]);
-    return Selectable;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Selectable);
-
-  var _default = Selectable;
-  _exports.default = _default;
-});

+ 0 - 60
public/assets/global/js/Plugin/sortable.js

@@ -1,60 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/sortable", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginSortable = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'sortable';
-
-  var Sortable =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Sortable, _Plugin);
-
-    function Sortable() {
-      babelHelpers.classCallCheck(this, Sortable);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Sortable).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Sortable, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        var $el = this.$el;
-        window.Sortable.create(this.$el.get(0), this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          ghostClass: 'sortable-placeholder',
-          dragClass: 'sortable-dragging'
-        };
-      }
-    }]);
-    return Sortable;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Sortable);
-
-  var _default = Sortable;
-  _exports.default = _default;
-});

+ 0 - 141
public/assets/global/js/Plugin/sticky-header.js

@@ -1,141 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/sticky-header", ["exports", "jquery"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery);
-    global.PluginStickyHeader = mod.exports;
-  }
-})(this, function (_exports, _jquery) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  var pluginName = 'stickyHeader';
-  var defaults = {
-    headerSelector: '.header',
-    changeHeaderOn: 100,
-    activeClassName: 'active-sticky-header',
-    min: 50,
-    method: 'toggle'
-  };
-
-  var stickyHeader =
-  /*#__PURE__*/
-  function () {
-    function stickyHeader(el, options) {
-      babelHelpers.classCallCheck(this, stickyHeader);
-      this.isActive = false;
-      this.init(options);
-      this.bind();
-    }
-
-    babelHelpers.createClass(stickyHeader, [{
-      key: "init",
-      value: function init(options) {
-        var $el = this.$el.css('transition', 'none');
-        var $header = this.$header = $el.find(options.headerSelector).css({
-          position: 'absolute',
-          top: 0,
-          left: 0
-        });
-        this.options = _jquery.default.extend(true, {}, defaults, options, $header.data());
-        this.headerHeight = $header.outerHeight(); // this.offsetTop()
-        // $el.css('transition','all .5s linear');
-        // $header.css('transition','all .5s linear');
-
-        this.$el.css('paddingTop', this.headerHeight);
-      }
-    }, {
-      key: "_toggleActive",
-      value: function _toggleActive() {
-        if (this.isActive) {
-          this.$header.css('height', this.options.min);
-        } else {
-          this.$header.css('height', this.headerHeight);
-        }
-      }
-    }, {
-      key: "bind",
-      value: function bind() {
-        var self = this;
-        this.$el.on('scroll', function () {
-          if (self.options.method === 'toggle') {
-            if ((0, _jquery.default)(this).scrollTop() > self.options.changeHeaderOn && !self.isActive) {
-              self.$el.addClass(self.options.activeClassName);
-              self.isActive = true;
-              self.$header.css('height', self.options.min);
-              self.$el.trigger('toggle:sticky', [self, self.isActive]);
-            } else if ((0, _jquery.default)(this).scrollTop() <= self.options.changeHeaderOn && self.isActive) {
-              self.$el.removeClass(self.options.activeClassName);
-              self.isActive = false;
-              self.$header.css('height', self.headerHeight);
-              self.$el.trigger('toggle:sticky', [self, self.isActive]);
-            }
-          } else if (self.options.method === 'scroll') {
-            var offset = Math.max(self.headerHeight - (0, _jquery.default)(this).scrollTop(), self.options.min);
-
-            if (offset === self.headerHeight) {
-              self.$el.removeClass(self.options.activeClassName);
-            } else {
-              self.$el.addClass(self.options.activeClassName);
-            }
-
-            self.$header.css('height', offset);
-            self.$el.trigger('toggle:sticky', [self]);
-          }
-        });
-      }
-    }], [{
-      key: "_jQueryInterface",
-      value: function _jQueryInterface(options) {
-        for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-          args[_key - 1] = arguments[_key];
-        }
-
-        if (typeof options === 'string') {
-          var method = options;
-
-          if (/^\_/.test(method)) {
-            return false;
-          }
-
-          return this.each(function () {
-            var api = _jquery.default.data(this, pluginName);
-
-            if (api && typeof api[method] === 'function') {
-              api[method].apply(api, args);
-            }
-          });
-        }
-
-        return this.each(function () {
-          if (!_jquery.default.data(this, pluginName)) {
-            _jquery.default.data(this, pluginName, new stickyHeader(this, options));
-          } else {
-            _jquery.default.data(this, pluginName).init(options);
-          }
-        });
-      }
-    }]);
-    return stickyHeader;
-  }();
-
-  _jquery.default.fn[pluginName] = stickyHeader._jQueryInterface;
-  _jquery.default.fn[pluginName].constructor = stickyHeader;
-
-  _jquery.default.fn[pluginName].noConflict = function () {
-    _jquery.default.fn[pluginName] = window.JQUERY_NO_CONFLICT;
-    return stickyHeader._jQueryInterface;
-  };
-
-  var _default = stickyHeader;
-  _exports.default = _default;
-});

+ 0 - 78
public/assets/global/js/Plugin/table.js

@@ -1,78 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/table", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginTable = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'tableSection';
-
-  var TableSection =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(TableSection, _Plugin);
-
-    function TableSection() {
-      babelHelpers.classCallCheck(this, TableSection);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TableSection).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(TableSection, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.$el.data('tableApi', this);
-      }
-    }, {
-      key: "toggle",
-      value: function toggle(e) {
-        var $el = this.$el;
-
-        if (e.target.type !== 'checkbox' && e.target.type !== 'button' && e.target.tagName.toLowerCase() !== 'a' && !(0, _jquery.default)(e.target).parent('div.checkbox-custom').length) {
-          if ($el.hasClass('active')) {
-            $el.removeClass('active');
-          } else {
-            $el.siblings('.table-section').removeClass('active');
-            $el.addClass('active');
-          }
-        }
-      }
-    }], [{
-      key: "api",
-      value: function api() {
-        var api = 'click|toggle';
-        var touch = typeof document.ontouchstart !== 'undefined';
-
-        if (touch) {
-          api = 'touchstart|toggle';
-        }
-
-        return api;
-      }
-    }]);
-    return TableSection;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, TableSection);
-
-  var _default = TableSection;
-  _exports.default = _default;
-});

+ 0 - 63
public/assets/global/js/Plugin/tablesaw.js

@@ -1,63 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/tablesaw", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginTablesaw = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'tablesaw';
-
-  var Tablesaw =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Tablesaw, _Plugin);
-
-    function Tablesaw() {
-      babelHelpers.classCallCheck(this, Tablesaw);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Tablesaw).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Tablesaw, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {};
-      }
-    }, {
-      key: "api",
-      value: function api() {
-        return function () {
-          if (typeof _jquery.default.fn.tablesaw === 'undefined') {
-            return;
-          }
-
-          (0, _jquery.default)(document).trigger('enhance.tablesaw');
-        };
-      }
-    }]);
-    return Tablesaw;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Tablesaw);
-
-  var _default = Tablesaw;
-  _exports.default = _default;
-});

+ 0 - 67
public/assets/global/js/Plugin/tasklist.js

@@ -1,67 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/tasklist", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginTasklist = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'tasklist';
-
-  var TaskList =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(TaskList, _Plugin);
-
-    function TaskList() {
-      babelHelpers.classCallCheck(this, TaskList);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TaskList).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(TaskList, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.$el.data('tasklistApi', this);
-        this.$checkbox = this.$el.find('[type="checkbox"]');
-        this.$el.trigger('change.site.task');
-      }
-    }, {
-      key: "toggle",
-      value: function toggle() {
-        if (this.$checkbox.is(':checked')) {
-          this.$el.addClass('task-done');
-        } else {
-          this.$el.removeClass('task-done');
-        }
-      }
-    }], [{
-      key: "api",
-      value: function api() {
-        return 'change|toggle';
-      }
-    }]);
-    return TaskList;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, TaskList);
-
-  var _default = TaskList;
-  _exports.default = _default;
-});

+ 0 - 90
public/assets/global/js/Plugin/toastr.js

@@ -1,90 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/toastr", ["exports", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Plugin);
-    global.PluginToastr = mod.exports;
-  }
-})(this, function (_exports, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'toastr';
-
-  var Toastr =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Toastr, _Plugin);
-
-    function Toastr() {
-      babelHelpers.classCallCheck(this, Toastr);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Toastr).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Toastr, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        this.$el.data('toastrWrapApi', this);
-      }
-    }, {
-      key: "show",
-      value: function show(e) {
-        if (typeof toastr === 'undefined') {
-          return;
-        }
-
-        e.preventDefault();
-        var options = this.options;
-        var message = options.message || '';
-        var type = options.type || 'info';
-        var title = options.title || undefined;
-
-        switch (type) {
-          case 'success':
-            toastr.success(message, title, options);
-            break;
-
-          case 'warning':
-            toastr.warning(message, title, options);
-            break;
-
-          case 'error':
-            toastr.error(message, title, options);
-            break;
-
-          case 'info':
-            toastr.info(message, title, options);
-            break;
-
-          default:
-            toastr.info(message, title, options);
-        }
-      }
-    }], [{
-      key: "api",
-      value: function api() {
-        return 'click|show';
-      }
-    }]);
-    return Toastr;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Toastr);
-
-  var _default = Toastr;
-  _exports.default = _default;
-});

+ 0 - 71
public/assets/global/js/Plugin/toolbar.js

@@ -1,71 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/Plugin/toolbar", ["exports", "jquery", "Plugin"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("jquery"), require("Plugin"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.jQuery, global.Plugin);
-    global.PluginToolbar = mod.exports;
-  }
-})(this, function (_exports, _jquery, _Plugin2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.default = void 0;
-  _jquery = babelHelpers.interopRequireDefault(_jquery);
-  _Plugin2 = babelHelpers.interopRequireDefault(_Plugin2);
-  var NAME = 'toolbar';
-
-  var Toolbar =
-  /*#__PURE__*/
-  function (_Plugin) {
-    babelHelpers.inherits(Toolbar, _Plugin);
-
-    function Toolbar() {
-      babelHelpers.classCallCheck(this, Toolbar);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Toolbar).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(Toolbar, [{
-      key: "getName",
-      value: function getName() {
-        return NAME;
-      }
-    }, {
-      key: "render",
-      value: function render() {
-        if (!_jquery.default.fn.toolbar) {
-          return;
-        }
-
-        var $el = this.$el;
-        var content = $el.data('toolbar');
-
-        if (content) {
-          this.options.content = content;
-        }
-
-        $el.toolbar(this.options);
-      }
-    }], [{
-      key: "getDefaults",
-      value: function getDefaults() {
-        return {
-          hideOnClick: true,
-          event: 'hover'
-        };
-      }
-    }]);
-    return Toolbar;
-  }(_Plugin2.default);
-
-  _Plugin2.default.register(NAME, Toolbar);
-
-  var _default = Toolbar;
-  _exports.default = _default;
-});

Plik diff jest za duży
+ 4 - 0
public/assets/global/vendor/bootstrap-tokenfield/bootstrap-tokenfield.min.css


Plik diff jest za duży
+ 6 - 0
public/assets/global/vendor/bootstrap-tokenfield/bootstrap-tokenfield.min.js


+ 0 - 314
public/assets/js/App/Calendar.js

@@ -1,314 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Calendar", ["exports", "Site", "Config"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Site"), require("Config"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Site, global.Config);
-    global.AppCalendar = mod.exports;
-  }
-})(this, function (_exports, _Site2, _Config) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppCalendar = void 0;
-  _Site2 = babelHelpers.interopRequireDefault(_Site2);
-
-  var AppCalendar =
-  /*#__PURE__*/
-  function (_Site) {
-    babelHelpers.inherits(AppCalendar, _Site);
-
-    function AppCalendar() {
-      babelHelpers.classCallCheck(this, AppCalendar);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppCalendar).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppCalendar, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppCalendar.prototype), "initialize", this).call(this);
-        this.$actionToggleBtn = $('.site-action-toggle');
-        this.$addNewCalendarForm = $('#addNewCalendar').modal({
-          show: false
-        });
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppCalendar.prototype), "process", this).call(this);
-        this.handleFullcalendar();
-        this.handleSelective();
-        this.handleAction();
-        this.handleListItem();
-        this.handleEventList();
-      }
-    }, {
-      key: "handleFullcalendar",
-      value: function handleFullcalendar() {
-        var myEvents = [{
-          title: 'All Day Event',
-          start: '2016-10-01'
-        }, {
-          title: 'Long Event',
-          start: '2016-10-07',
-          end: '2016-10-10',
-          backgroundColor: (0, _Config.colors)('cyan', 600),
-          borderColor: (0, _Config.colors)('cyan', 600)
-        }, {
-          id: 999,
-          title: 'Repeating Event',
-          start: '2016-10-09T16:00:00',
-          backgroundColor: (0, _Config.colors)('red', 600),
-          borderColor: (0, _Config.colors)('red', 600)
-        }, {
-          title: 'Conference',
-          start: '2016-10-11',
-          end: '2016-10-13'
-        }, {
-          title: 'Meeting',
-          start: '2016-10-12T10:30:00',
-          end: '2016-10-12T12:30:00'
-        }, {
-          title: 'Lunch',
-          start: '2016-10-12T12:00:00'
-        }, {
-          title: 'Meeting',
-          start: '2016-10-12T14:30:00'
-        }, {
-          title: 'Happy Hour',
-          start: '2016-10-12T17:30:00'
-        }, {
-          title: 'Dinner',
-          start: '2016-10-12T20:00:00'
-        }, {
-          title: 'Birthday Party',
-          start: '2016-10-13T07:00:00'
-        }];
-        var myOptions = {
-          header: {
-            left: null,
-            center: 'prev,title,next',
-            right: 'month,agendaWeek,agendaDay'
-          },
-          defaultDate: '2016-10-12',
-          selectable: true,
-          selectHelper: true,
-          select: function select() {
-            $('#addNewEvent').modal('show');
-          },
-          editable: true,
-          eventLimit: true,
-          windowResize: function windowResize(view) {
-            var width = $(window).outerWidth();
-            var options = Object.assign({}, myOptions);
-            options.events = view.calendar.clientEvents();
-            options.aspectRatio = width < 667 ? 0.5 : 1.35;
-            $('#calendar').fullCalendar('destroy');
-            $('#calendar').fullCalendar(options);
-          },
-          eventClick: function eventClick(event) {
-            var color = event.backgroundColor ? event.backgroundColor : (0, _Config.colors)('blue', 600);
-            $('#editEname').val(event.title);
-
-            if (event.start) {
-              $('#editStarts').datepicker('update', event.start._d);
-            } else {
-              $('#editStarts').datepicker('update', '');
-            }
-
-            if (event.end) {
-              $('#editEnds').datepicker('update', event.end._d);
-            } else {
-              $('#editEnds').datepicker('update', '');
-            }
-
-            $('#editColor [type=radio]').each(function () {
-              var $this = $(this);
-
-              var _value = $this.data('color').split('|');
-
-              var value = (0, _Config.colors)(_value[0], _value[1]);
-
-              if (value === color) {
-                $this.prop('checked', true);
-              } else {
-                $this.prop('checked', false);
-              }
-            });
-            $('#editNewEvent').modal('show').one('hidden.bs.modal', function (e) {
-              event.title = $('#editEname').val();
-              var color = $('#editColor [type=radio]:checked').data('color').split('|');
-              color = (0, _Config.colors)(color[0], color[1]);
-              event.backgroundColor = color;
-              event.borderColor = color;
-              event.start = new Date($('#editStarts').data('datepicker').getDate());
-              event.end = new Date($('#editEnds').data('datepicker').getDate());
-              $('#calendar').fullCalendar('updateEvent', event);
-            });
-          },
-          eventDragStart: function eventDragStart() {
-            $('.site-action').data('actionBtn').show();
-          },
-          eventDragStop: function eventDragStop() {
-            $('.site-action').data('actionBtn').hide();
-          },
-          events: myEvents,
-          droppable: true
-        };
-
-        var _options;
-
-        var myOptionsMobile = Object.assign({}, myOptions);
-        myOptionsMobile.aspectRatio = 0.5;
-        _options = $(window).outerWidth() < 667 ? myOptionsMobile : myOptions;
-        $('#editNewEvent').modal();
-        $('#calendar').fullCalendar(_options);
-      }
-    }, {
-      key: "handleSelective",
-      value: function handleSelective() {
-        var member = [{
-          id: 'uid_1',
-          name: 'Herman Beck',
-          avatar: '../../../../global/portraits/1.jpg'
-        }, {
-          id: 'uid_2',
-          name: 'Mary Adams',
-          avatar: '../../../../global/portraits/2.jpg'
-        }, {
-          id: 'uid_3',
-          name: 'Caleb Richards',
-          avatar: '../../../../global/portraits/3.jpg'
-        }, {
-          id: 'uid_4',
-          name: 'June Lane',
-          avatar: '../../../../global/portraits/4.jpg'
-        }];
-        var items = [{
-          id: 'uid_1',
-          name: 'Herman Beck',
-          avatar: '../../../../global/portraits/1.jpg'
-        }, {
-          id: 'uid_2',
-          name: 'Caleb Richards',
-          avatar: '../../../../global/portraits/2.jpg'
-        }];
-        $('.plugin-selective').selective({
-          namespace: 'addMember',
-          local: member,
-          selected: items,
-          buildFromHtml: false,
-          tpl: {
-            optionValue: function optionValue(data) {
-              return data.id;
-            },
-            frame: function frame() {
-              return "<div class=\"".concat(this.namespace, "\">\n          ").concat(this.options.tpl.items.call(this), "\n          <div class=\"").concat(this.namespace, "-trigger\">\n          ").concat(this.options.tpl.triggerButton.call(this), "\n          <div class=\"").concat(this.namespace, "-trigger-dropdown\">\n          ").concat(this.options.tpl.list.call(this), "\n          </div>\n          </div>\n          </div>");
-            },
-            triggerButton: function triggerButton() {
-              return "<div class=\"".concat(this.namespace, "-trigger-button\"><i class=\"wb-plus\"></i></div>");
-            },
-            listItem: function listItem(data) {
-              return "<li class=\"".concat(this.namespace, "-list-item\"><img class=\"avatar\" src=\"").concat(data.avatar, "\">").concat(data.name, "</li>");
-            },
-            item: function item(data) {
-              return "<li class=\"".concat(this.namespace, "-item\"><img class=\"avatar\" src=\"").concat(data.avatar, "\" title=\"").concat(data.name, "\">").concat(this.options.tpl.itemRemove.call(this), "</li>");
-            },
-            itemRemove: function itemRemove() {
-              return "<span class=\"".concat(this.namespace, "-remove\"><i class=\"wb-minus-circle\"></i></span>");
-            },
-            option: function option(data) {
-              return "<option value=\"".concat(this.options.tpl.optionValue.call(this, data), "\">").concat(data.name, "</option>");
-            }
-          }
-        });
-      }
-    }, {
-      key: "handleAction",
-      value: function handleAction() {
-        var _this = this;
-
-        this.$actionToggleBtn.on('click', function (e) {
-          _this.$addNewCalendarForm.modal('show');
-
-          e.stopPropagation();
-        });
-      }
-    }, {
-      key: "handleEventList",
-      value: function handleEventList() {
-        $('#addNewEventBtn').on('click', function () {
-          $('#addNewEvent').modal('show');
-        });
-        $('.calendar-list .calendar-event').each(function () {
-          var $this = $(this);
-          var color = $this.data('color').split('-');
-          $this.data('event', {
-            title: $this.data('title'),
-            stick: $this.data('stick'),
-            backgroundColor: (0, _Config.colors)(color[0], color[1]),
-            borderColor: (0, _Config.colors)(color[0], color[1])
-          });
-          $this.draggable({
-            zIndex: 999,
-            revert: true,
-            revertDuration: 0,
-            appendTo: '.page',
-            helper: function helper() {
-              return "<a class=\"fc-day-grid-event fc-event fc-start fc-end\" style=\"background-color:".concat((0, _Config.colors)(color[0], color[1]), ";border-color:").concat((0, _Config.colors)(color[0], color[1]), "\">\n          <div class=\"fc-content\">\n            <span class=\"fc-title\">").concat($this.data('title'), "</span>\n          </div>\n          </a>");
-            }
-          });
-        });
-      }
-    }, {
-      key: "handleListItem",
-      value: function handleListItem() {
-        this.$actionToggleBtn.on('click', function (e) {
-          $('#addNewCalendar').modal('show');
-          e.stopPropagation();
-        });
-        $(document).on('click', '[data-tag=list-delete]', function (e) {
-          bootbox.dialog({
-            message: 'Do you want to delete the calendar?',
-            buttons: {
-              success: {
-                label: 'Delete',
-                className: 'btn-danger',
-                callback: function callback() {// $(e.target).closest('.list-group-item').remove();
-                }
-              }
-            }
-          });
-        });
-      }
-    }]);
-    return AppCalendar;
-  }(_Site2.default);
-
-  _exports.AppCalendar = AppCalendar;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppCalendar();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppCalendar;
-  _exports.default = _default;
-});

+ 0 - 132
public/assets/js/App/Contacts.js

@@ -1,132 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Contacts", ["exports", "BaseApp"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("BaseApp"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.BaseApp);
-    global.AppContacts = mod.exports;
-  }
-})(this, function (_exports, _BaseApp2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppContacts = void 0;
-  _BaseApp2 = babelHelpers.interopRequireDefault(_BaseApp2);
-
-  var AppContacts =
-  /*#__PURE__*/
-  function (_BaseApp) {
-    babelHelpers.inherits(AppContacts, _BaseApp);
-
-    function AppContacts() {
-      babelHelpers.classCallCheck(this, AppContacts);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppContacts).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppContacts, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppContacts.prototype), "initialize", this).call(this);
-        this.$actionBtn = $('.site-action');
-        this.$actionToggleBtn = this.$actionBtn.find('.site-action-toggle');
-        this.$addMainForm = $('#addUserForm').modal({
-          show: false
-        });
-        this.$content = $('#contactsContent'); // states
-
-        this.states = {
-          checked: false
-        };
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppContacts.prototype), "process", this).call(this);
-        this.setupActionBtn();
-        this.bindListChecked();
-        this.handlSlidePanelContent();
-      }
-    }, {
-      key: "listChecked",
-      value: function listChecked(checked) {
-        var api = this.$actionBtn.data('actionBtn');
-
-        if (checked) {
-          api.show();
-        } else {
-          api.hide();
-        }
-
-        this.states.checked = checked;
-      }
-    }, {
-      key: "setupActionBtn",
-      value: function setupActionBtn() {
-        var _this = this;
-
-        this.$actionToggleBtn.on('click', function (e) {
-          if (!_this.states.checked) {
-            _this.$addMainForm.modal('show');
-
-            e.stopPropagation();
-          }
-        });
-      }
-    }, {
-      key: "bindListChecked",
-      value: function bindListChecked() {
-        var _this2 = this;
-
-        this.$content.on('asSelectable::change', function (e, api, checked) {
-          _this2.listChecked(checked);
-        });
-      }
-    }, {
-      key: "handlSlidePanelContent",
-      value: function handlSlidePanelContent() {
-        var _this3 = this;
-
-        $(document).on('click', '[data-toggle=edit]', function () {
-          var $button = $(this);
-          var $panel = $button.parents('.slidePanel');
-          var $form = $panel.find('.user-info');
-          $button.toggleClass('active');
-          $form.toggleClass('active');
-        });
-        $(document).on('change', '.user-info .form-group', function (e) {
-          var $input = $(_this3).find('input');
-          var $span = $(_this3).siblings('span');
-          $span.html($input.val());
-        });
-      }
-    }]);
-    return AppContacts;
-  }(_BaseApp2.default);
-
-  _exports.AppContacts = AppContacts;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppContacts();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppContacts;
-  _exports.default = _default;
-});

+ 0 - 93
public/assets/js/App/Documents.js

@@ -1,93 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Documents", ["exports", "Site"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Site"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Site);
-    global.AppDocuments = mod.exports;
-  }
-})(this, function (_exports, _Site2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppDocuments = void 0;
-  _Site2 = babelHelpers.interopRequireDefault(_Site2);
-
-  var AppDocuments =
-  /*#__PURE__*/
-  function (_Site) {
-    babelHelpers.inherits(AppDocuments, _Site);
-
-    function AppDocuments() {
-      babelHelpers.classCallCheck(this, AppDocuments);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppDocuments).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppDocuments, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppDocuments.prototype), "initialize", this).call(this);
-        this.scrollHandle();
-        this.stickyfillHandle();
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppDocuments.prototype), "process", this).call(this);
-        this.handleResize();
-      }
-    }, {
-      key: "scrollHandle",
-      value: function scrollHandle() {
-        $('body').scrollspy({
-          target: '#articleSticky',
-          offset: 80
-        });
-      }
-    }, {
-      key: "stickyfillHandle",
-      value: function stickyfillHandle() {
-        if (!window.Stickyfill) {
-          return false;
-        }
-
-        Stickyfill.add($('#articleSticky')); // $('#articleSticky').Stickyfill();
-      }
-    }, {
-      key: "handleResize",
-      value: function handleResize() {
-        $(window).on('resize orientationchange', function () {
-          $(this).width() > 767 ? Stickyfill.refreshAll() : Stickyfill.removeAll();
-        }).resize();
-      }
-    }]);
-    return AppDocuments;
-  }(_Site2.default);
-
-  _exports.AppDocuments = AppDocuments;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppDocuments();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppDocuments;
-  _exports.default = _default;
-});

+ 0 - 55
public/assets/js/App/Forum.js

@@ -1,55 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Forum", ["exports", "BaseApp"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("BaseApp"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.BaseApp);
-    global.AppForum = mod.exports;
-  }
-})(this, function (_exports, _BaseApp2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppForum = void 0;
-  _BaseApp2 = babelHelpers.interopRequireDefault(_BaseApp2);
-
-  var AppForum =
-  /*#__PURE__*/
-  function (_BaseApp) {
-    babelHelpers.inherits(AppForum, _BaseApp);
-
-    function AppForum() {
-      babelHelpers.classCallCheck(this, AppForum);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppForum).apply(this, arguments));
-    }
-
-    return AppForum;
-  }(_BaseApp2.default);
-
-  _exports.AppForum = AppForum;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppForum();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppForum;
-  _exports.default = _default;
-});

+ 0 - 333
public/assets/js/App/Location.js

@@ -1,333 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Location", ["exports", "Site"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Site"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Site);
-    global.AppLocation = mod.exports;
-  }
-})(this, function (_exports, _Site2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppLocation = void 0;
-  _Site2 = babelHelpers.interopRequireDefault(_Site2);
-
-  var Map =
-  /*#__PURE__*/
-  function () {
-    function Map() {
-      babelHelpers.classCallCheck(this, Map);
-      this.window = $(window);
-      this.$siteNavbar = $('.site-navbar');
-      this.$siteFooter = $('.site-footer');
-      this.$pageMain = $('.page-main');
-      this.handleMapHeight();
-    }
-
-    babelHelpers.createClass(Map, [{
-      key: "handleMapHeight",
-      value: function handleMapHeight() {
-        var footerH = this.$siteFooter.outerHeight();
-        var navbarH = this.$siteNavbar.outerHeight();
-        var mapH = this.window.height() - navbarH - footerH;
-        this.$pageMain.outerHeight(mapH);
-      }
-    }, {
-      key: "getMap",
-      value: function getMap() {
-        var mapLatlng = L.latLng(37.769, -122.446); // this accessToken, you can get it to here ==> [ https://www.mapbox.com ]
-
-        L.mapbox.accessToken = 'pk.eyJ1IjoiYW1hemluZ3N1cmdlIiwiYSI6ImNpaDVubzBoOTAxZG11dGx4OW5hODl2b3YifQ.qudwERFDdMJhFA-B2uO6Rg';
-        return L.mapbox.map('map', 'mapbox.light').setView(mapLatlng, 18);
-      }
-    }]);
-    return Map;
-  }();
-
-  var Markers =
-  /*#__PURE__*/
-  function () {
-    function Markers(friends, map) {
-      babelHelpers.classCallCheck(this, Markers);
-      this.friends = friends;
-      this.map = map;
-      this.allMarkers = [];
-      this.handleMarkers();
-    }
-
-    babelHelpers.createClass(Markers, [{
-      key: "handleMarkers",
-      value: function handleMarkers() {
-        /* add markercluster Plugin */
-        // this mapbox's Plugins,you can get it to here ==> [ https://github.com/Leaflet/Leaflet.markercluster.git ]
-        var markers = new L.markerClusterGroup({
-          removeOutsideVisibleBounds: false,
-          polygonOptions: {
-            color: '#444444'
-          }
-        });
-
-        for (var i = 0; i < this.friends.length; i++) {
-          var path = void 0;
-          var x = void 0;
-
-          if (i % 2 === 0) {
-            x = Number(Math.random());
-          } else {
-            x = -1 * Math.random();
-          }
-
-          var markerLatlng = L.latLng(37.769 + Math.random() / 170 * x, -122.446 + Math.random() / 150 * x);
-          path = $(this.friends[i]).find('img').attr('src');
-          var divContent = "<div class='in-map-markers'><div class='friend-icon'><img src='".concat(path, "' /></div></div>");
-          var friendImg = L.divIcon({
-            html: divContent,
-            iconAnchor: [0, 0],
-            className: ''
-          });
-          /* create new marker and add to map */
-
-          var popupInfo = "<div class='friend-popup-info'><div class='detail'>info</div><h3>".concat($(this.friends[i]).find('.friend-name').html(), "</h3><p>").concat($(this.friends[i]).find('.friend-title').html(), "</p></div><i class='icon wb-chevron-right-mini'></i>");
-          var marker = L.marker(markerLatlng, {
-            title: $(this.friends[i]).find('friend-name').html(),
-            icon: friendImg
-          }).bindPopup(popupInfo, {
-            closeButton: false
-          });
-          markers.addLayer(marker);
-          this.allMarkers.push(marker);
-          marker.on('popupopen', function () {
-            this._icon.className += ' marker-active';
-            this.setZIndexOffset(999);
-          });
-          marker.on('popupclose', function () {
-            if (this._icon) {
-              this._icon.className = 'leaflet-marker-icon leaflet-zoom-animated leaflet-clickable';
-            }
-
-            this.setZIndexOffset(450);
-          });
-        }
-
-        this.map.addLayer(markers);
-      }
-    }, {
-      key: "getAllMarkers",
-      value: function getAllMarkers() {
-        return this.allMarkers;
-      }
-    }, {
-      key: "getMarkersInMap",
-      value: function getMarkersInMap() {
-        var inMapMarkers = [];
-        var allMarkers = this.getAllMarkers();
-        /* Get the object of all Markers in the map view */
-
-        for (var i = 0; i < allMarkers.length; i++) {
-          if (this.map.getBounds().contains(allMarkers[i].getLatLng())) {
-            inMapMarkers.push(allMarkers.indexOf(allMarkers[i]));
-          }
-        }
-
-        return inMapMarkers;
-      }
-    }]);
-    return Markers;
-  }();
-
-  var AppLocation =
-  /*#__PURE__*/
-  function (_Site) {
-    babelHelpers.inherits(AppLocation, _Site);
-
-    function AppLocation() {
-      babelHelpers.classCallCheck(this, AppLocation);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppLocation).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppLocation, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppLocation.prototype), "initialize", this).call(this);
-        this.window = $(window);
-        this.$listItem = $('.app-location .page-aside .list-group');
-        this.$allFriends = $('.app-location .friend-info');
-        this.allFriends = this.getAllFriends();
-        this.mapbox = new Map();
-        this.map = this.mapbox.getMap();
-        this.markers = new Markers(this.$allFriends, this.map);
-        this.allMarkers = this.markers.getAllMarkers();
-        this.markersInMap = null;
-        this.friendNum = null; // states
-
-        this.states = {
-          mapChanged: true,
-          listItemActive: false
-        };
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppLocation.prototype), "process", this).call(this);
-        this.handleResize();
-        this.steupListItem();
-        this.steupMapChange();
-        this.handleSearch();
-      }
-    }, {
-      key: "getDefaultState",
-      value: function getDefaultState() {
-        return Object.assign(babelHelpers.get(babelHelpers.getPrototypeOf(AppLocation.prototype), "getDefaultState", this).call(this), {
-          mapChange: true,
-          listItemActive: false
-        });
-      }
-    }, {
-      key: "mapChange",
-      value: function mapChange(change) {
-        if (change) {
-          console.log('map change');
-        } else {
-          var friendsInList = [];
-          this.markersInMap = this.markers.getMarkersInMap();
-
-          for (var i = 0; i < this.allMarkers.length; i++) {
-            if (this.markersInMap.indexOf(i) === -1) {
-              $(this.allFriends[i]).hide();
-            } else {
-              $(this.allFriends[i]).show();
-              friendsInList.push($(this.allFriends[i]));
-            }
-          }
-
-          this.friendsInList = friendsInList;
-        }
-
-        this.states.mapChanged = change;
-      }
-    }, {
-      key: "listItemActive",
-      value: function listItemActive(active) {
-        if (active) {
-          this.map.panTo(this.allMarkers[this.friendNum].getLatLng());
-          this.allMarkers[this.friendNum].openPopup();
-        } else {
-          console.log('listItem unactive');
-        }
-
-        this.states.listItemActived = active;
-      }
-    }, {
-      key: "getAllFriends",
-      value: function getAllFriends() {
-        var allFriends = [];
-        this.$allFriends.each(function () {
-          allFriends.push(this);
-        });
-        return allFriends;
-      }
-    }, {
-      key: "steupListItem",
-      value: function steupListItem() {
-        var _this = this;
-
-        var self = this;
-        this.$allFriends.on('click', function () {
-          $('.list-inline').on('click', function (event) {
-            event.stopPropagation();
-          });
-          self.friendNum = self.allFriends.indexOf(this);
-          self.listItemActive(true);
-        });
-        this.$allFriends.on('mouseup', function () {
-          _this.listItemActive(false);
-        });
-      }
-    }, {
-      key: "steupMapChange",
-      value: function steupMapChange() {
-        var _this2 = this;
-
-        this.map.on('viewreset move', function () {
-          _this2.mapChange(true);
-        });
-        this.map.on('ready blur moveend dragend zoomend', function () {
-          _this2.mapChange(false);
-        });
-      }
-    }, {
-      key: "handleResize",
-      value: function handleResize() {
-        var _this3 = this;
-
-        this.window.on('resize', function () {
-          _this3.mapbox.handleMapHeight();
-        });
-      }
-    }, {
-      key: "handleSearch",
-      value: function handleSearch() {
-        var self = this;
-        $('.search-friends input').on('focus', function () {
-          $(this).on('keyup', function () {
-            var inputName = $('.search-friends input').val();
-
-            for (var i = 0; i < self.friendsInList.length; i++) {
-              var friendName = self.friendsInList[i].find('.friend-name').html();
-
-              if (inputName.length <= friendName.length) {
-                for (var j = 1; j <= inputName.length; j++) {
-                  if (inputName.substring(0, j).toLowerCase() === friendName.substring(0, j).toLowerCase()) {
-                    self.friendsInList[i].show();
-                  } else {
-                    self.friendsInList[i].hide();
-                  }
-                }
-              } else {
-                self.friendsInList[i].hide();
-              }
-            }
-
-            if (inputName === '') {
-              for (var _i = 0; _i < self.friendsInList.length; _i++) {
-                self.friendsInList[_i].show();
-              }
-            }
-          });
-        });
-        $('.search-friends input').on('focusout', function () {
-          $(this).off('keyup');
-        });
-      }
-    }]);
-    return AppLocation;
-  }(_Site2.default);
-
-  _exports.AppLocation = AppLocation;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppLocation();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppLocation;
-  _exports.default = _default;
-});

+ 0 - 113
public/assets/js/App/Mailbox.js

@@ -1,113 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Mailbox", ["exports", "BaseApp"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("BaseApp"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.BaseApp);
-    global.AppMailbox = mod.exports;
-  }
-})(this, function (_exports, _BaseApp2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppMailbox = void 0;
-  _BaseApp2 = babelHelpers.interopRequireDefault(_BaseApp2);
-
-  var AppMailbox =
-  /*#__PURE__*/
-  function (_BaseApp) {
-    babelHelpers.inherits(AppMailbox, _BaseApp);
-
-    function AppMailbox() {
-      babelHelpers.classCallCheck(this, AppMailbox);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppMailbox).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppMailbox, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppMailbox.prototype), "initialize", this).call(this);
-        this.$actionBtn = $('.site-action');
-        this.$actionToggleBtn = this.$actionBtn.find('.site-action-toggle');
-        this.$addMainForm = $('#addMailForm').modal({
-          show: false
-        });
-        this.$content = $('#mailContent'); // states
-
-        this.states = {
-          checked: false
-        };
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppMailbox.prototype), "process", this).call(this);
-        this.setupActionBtn();
-        this.bindListChecked();
-      }
-    }, {
-      key: "listChecked",
-      value: function listChecked(checked) {
-        var api = this.$actionBtn.data('actionBtn');
-
-        if (checked) {
-          api.show();
-        } else {
-          api.hide();
-        }
-
-        this.states.checked = checked;
-      }
-    }, {
-      key: "setupActionBtn",
-      value: function setupActionBtn() {
-        var _this = this;
-
-        this.$actionToggleBtn.on('click', function (e) {
-          if (!_this.states.checked) {
-            _this.$addMainForm.modal('show');
-
-            e.stopPropagation();
-          }
-        });
-      }
-    }, {
-      key: "bindListChecked",
-      value: function bindListChecked() {
-        var _this2 = this;
-
-        this.$content.on('asSelectable::change', function (e, api, checked) {
-          _this2.listChecked(checked);
-        });
-      }
-    }]);
-    return AppMailbox;
-  }(_BaseApp2.default);
-
-  _exports.AppMailbox = AppMailbox;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppMailbox();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppMailbox;
-  _exports.default = _default;
-});

+ 0 - 175
public/assets/js/App/Media.js

@@ -1,175 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Media", ["exports", "BaseApp"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("BaseApp"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.BaseApp);
-    global.AppMedia = mod.exports;
-  }
-})(this, function (_exports, _BaseApp2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppMedia = void 0;
-  _BaseApp2 = babelHelpers.interopRequireDefault(_BaseApp2);
-
-  var AppMedia =
-  /*#__PURE__*/
-  function (_BaseApp) {
-    babelHelpers.inherits(AppMedia, _BaseApp);
-
-    function AppMedia() {
-      babelHelpers.classCallCheck(this, AppMedia);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppMedia).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppMedia, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppMedia.prototype), "initialize", this).call(this);
-        this.$arrGrid = $('#arrangement-grid');
-        this.$arrList = $('#arrangement-list');
-        this.$actionBtn = $('.site-action');
-        this.$actionToggleBtn = this.$actionBtn.find('.site-action-toggle');
-        this.$content = $('#mediaContent');
-        this.$fileupload = $('#fileupload'); // states
-
-        this.states = {
-          list: false,
-          checked: false
-        };
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppMedia.prototype), "process", this).call(this);
-        this.steupArrangement();
-        this.setupActionBtn();
-        this.bindListChecked();
-        this.bindAction();
-        this.bindDropdownAction();
-      }
-    }, {
-      key: "list",
-      value: function list(active) {
-        if (active) {
-          this.$arrGrid.removeClass('active');
-          this.$arrList.addClass('active');
-          $('.media-list').removeClass('is-grid').addClass('is-list');
-          $('.media-list>ul>li').removeClass('animation-scale-up').addClass('animation-fade');
-        } else {
-          this.$arrList.removeClass('active');
-          this.$arrGrid.addClass('active');
-          $('.media-list').removeClass('is-list').addClass('is-grid');
-          $('.media-list>ul>li').removeClass('animation-fade').addClass('animation-scale-up');
-        }
-
-        this.states.list = active;
-      }
-    }, {
-      key: "checked",
-      value: function checked(_checked) {
-        var api = this.$actionBtn.actionBtn().data('actionBtn');
-
-        if (_checked) {
-          api.show();
-        } else {
-          api.hide();
-        }
-
-        this.states.checked = _checked;
-      }
-    }, {
-      key: "steupArrangement",
-      value: function steupArrangement() {
-        var self = this;
-        this.$arrGrid.on('click', function () {
-          if ($(this).hasClass('active')) {
-            return;
-          }
-
-          self.list(false);
-        });
-        this.$arrList.on('click', function () {
-          if ($(this).hasClass('active')) {
-            return;
-          }
-
-          self.list(true);
-        });
-      }
-    }, {
-      key: "setupActionBtn",
-      value: function setupActionBtn() {
-        var _this = this;
-
-        this.$actionToggleBtn.on('click', function (e) {
-          if (!_this.states.checked) {
-            _this.$fileupload.trigger('click');
-
-            e.stopPropagation();
-          }
-        });
-      }
-    }, {
-      key: "bindListChecked",
-      value: function bindListChecked() {
-        var _this2 = this;
-
-        this.$content.on('asSelectable::change', function (e, api, checked) {
-          _this2.checked(checked);
-        });
-      }
-    }, {
-      key: "bindDropdownAction",
-      value: function bindDropdownAction() {
-        $('.info-wrap>.dropdown').on('show.bs.dropdown', function () {
-          $(this).closest('.media-item').toggleClass('item-active');
-        }).on('hidden.bs.dropdown', function () {
-          $(this).closest('.media-item').toggleClass('item-active');
-        });
-        $('.info-wrap .dropdown-menu').on('`click', function (e) {
-          e.stopPropagation();
-        });
-      }
-    }, {
-      key: "bindAction",
-      value: function bindAction() {
-        $('[data-action="trash"]', '.site-action').on('click', function () {
-          console.log('trash');
-        });
-        $('[data-action="download"]', '.site-action').on('click', function () {
-          console.log('download');
-        });
-      }
-    }]);
-    return AppMedia;
-  }(_BaseApp2.default);
-
-  _exports.AppMedia = AppMedia;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppMedia();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppMedia;
-  _exports.default = _default;
-});

+ 0 - 152
public/assets/js/App/Message.js

@@ -1,152 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Message", ["exports", "Site"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Site"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Site);
-    global.AppMessage = mod.exports;
-  }
-})(this, function (_exports, _Site2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppMessage = void 0;
-  _Site2 = babelHelpers.interopRequireDefault(_Site2);
-
-  var ChatsWrap =
-  /*#__PURE__*/
-  function () {
-    function ChatsWrap($el) {
-      var _this = this;
-
-      babelHelpers.classCallCheck(this, ChatsWrap);
-      this.$el = $el;
-      this.$historyBtn = $('#historyBtn');
-      this.scrollChatsToBottom();
-      $(window).on('resize', function () {
-        _this.scrollChatsToBottom();
-      });
-    }
-
-    babelHelpers.createClass(ChatsWrap, [{
-      key: "scrollChatsToBottom",
-      value: function scrollChatsToBottom() {
-        var $el = this.$el;
-        var chatsWrapH = $el.height();
-        var chatsH = $('.chats', $el).outerHeight();
-        var historyBtnH = this.$historyBtn.outerHeight();
-        $el.scrollTop(chatsH + historyBtnH - chatsWrapH);
-      }
-    }]);
-    return ChatsWrap;
-  }();
-
-  var AppMessage =
-  /*#__PURE__*/
-  function (_Site) {
-    babelHelpers.inherits(AppMessage, _Site);
-
-    function AppMessage() {
-      babelHelpers.classCallCheck(this, AppMessage);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppMessage).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppMessage, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppMessage.prototype), "initialize", this).call(this);
-        this.newChatLists = [];
-        this.$chatsWrap = $('.app-message-chats');
-        this.chatApi = new ChatsWrap(this.$chatsWrap);
-        this.$textArea = $('.message-input textarea');
-        this.$textareaWrap = $('.app-message-input');
-        this.$msgEdit = $('.message-input>.form-control');
-        this.$sendBtn = $('.message-input-btn'); // states
-
-        this.states = {
-          chatListsLength: 0
-        };
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppMessage.prototype), "process", this).call(this);
-        this.steupMessage();
-        this.setupTextarea();
-      }
-    }, {
-      key: "chatListsLength",
-      value: function chatListsLength(length) {
-        if (this.newChatLists[length - 1]) {
-          var $newMsg = $("<div class='chat-content'><p>".concat(this.newChatLists[length - 1], "</p></div>"));
-          $('.chat').last().find('.chat-body').append($newMsg);
-          this.$msgEdit.attr('placeholder', '');
-          this.$msgEdit.val('');
-        } else {
-          this.$msgEdit.attr('placeholder', 'type text here...');
-        }
-
-        this.chatApi.scrollChatsToBottom();
-        this.states.chatListsLength = length;
-      }
-    }, {
-      key: "setupTextarea",
-      value: function setupTextarea() {
-        var _this2 = this;
-
-        autosize($('.message-input textarea'));
-        this.$textArea.on('autosize:resized', function () {
-          _this2.$chatsWrap.css('height', "calc(100% - ".concat(_this2.$textareaWrap.outerHeight(), "px)"));
-
-          _this2.triggerResize();
-        });
-      }
-    }, {
-      key: "steupMessage",
-      value: function steupMessage() {
-        var _this3 = this;
-
-        this.$sendBtn.on('click', function () {
-          var num = _this3.states.chatListsLength;
-
-          _this3.newChatLists.push(_this3.getMsg());
-
-          _this3.chatListsLength(++num);
-        });
-      }
-    }, {
-      key: "getMsg",
-      value: function getMsg() {
-        return this.$msgEdit.val();
-      }
-    }]);
-    return AppMessage;
-  }(_Site2.default);
-
-  _exports.AppMessage = AppMessage;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppMessage();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppMessage;
-  _exports.default = _default;
-});

+ 0 - 130
public/assets/js/App/Notebook.js

@@ -1,130 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Notebook", ["exports", "Site"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Site"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Site);
-    global.AppNotebook = mod.exports;
-  }
-})(this, function (_exports, _Site2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppNotebook = void 0;
-  _Site2 = babelHelpers.interopRequireDefault(_Site2);
-
-  var AppNotebook =
-  /*#__PURE__*/
-  function (_Site) {
-    babelHelpers.inherits(AppNotebook, _Site);
-
-    function AppNotebook() {
-      babelHelpers.classCallCheck(this, AppNotebook);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppNotebook).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppNotebook, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppNotebook.prototype), "initialize", this).call(this);
-        this.$listItem = $('.list-group-item');
-        this.$actionBtn = $('.site-action');
-        this.$toggle = this.$actionBtn.find('.site-action-toggle');
-        this.$newNote = $('#addNewNote');
-        this.$mdEdit = $('#mdEdit');
-        this.window = $(window); // states
-
-        this.states = {
-          listItemActive: false
-        };
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppNotebook.prototype), "process", this).call(this);
-        this.handleResize();
-        this.steupListItem();
-        this.steupActionBtn();
-      }
-    }, {
-      key: "initEditer",
-      value: function initEditer() {
-        this.$mdEdit.markdown({
-          autofocus: false,
-          savable: false
-        });
-      }
-    }, {
-      key: "listItemActive",
-      value: function listItemActive(active) {
-        var api = this.$actionBtn.data('actionBtn');
-
-        if (active) {
-          api.show();
-        } else {
-          this.$listItem.removeClass('active');
-        }
-
-        this.states.listItemActive = active;
-      }
-    }, {
-      key: "steupListItem",
-      value: function steupListItem() {
-        var self = this;
-        this.$listItem.on('click', function () {
-          $(this).siblings().removeClass('active');
-          $(this).addClass('active');
-          self.listItemActive(true);
-        });
-      }
-    }, {
-      key: "steupActionBtn",
-      value: function steupActionBtn() {
-        var _this = this;
-
-        this.$toggle.on('click', function (e) {
-          if (_this.states.listItemActive) {
-            _this.listItemActive(false);
-          } else {
-            _this.$newNote.modal('show');
-
-            e.stopPropagation();
-          }
-        });
-      }
-    }, {
-      key: "handleResize",
-      value: function handleResize() {
-        this.window.on('resize', this.initEditer());
-      }
-    }]);
-    return AppNotebook;
-  }(_Site2.default);
-
-  _exports.AppNotebook = AppNotebook;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppNotebook();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppNotebook;
-  _exports.default = _default;
-});

+ 0 - 144
public/assets/js/App/Projects.js

@@ -1,144 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Projects", ["exports", "Site"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Site"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Site);
-    global.AppProjects = mod.exports;
-  }
-})(this, function (_exports, _Site2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppProjects = void 0;
-  _Site2 = babelHelpers.interopRequireDefault(_Site2);
-
-  var AppProjects =
-  /*#__PURE__*/
-  function (_Site) {
-    babelHelpers.inherits(AppProjects, _Site);
-
-    function AppProjects() {
-      babelHelpers.classCallCheck(this, AppProjects);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppProjects).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppProjects, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppProjects.prototype), "initialize", this).call(this);
-        this.handleSelective();
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppProjects.prototype), "process", this).call(this);
-        this.handleProject();
-      }
-    }, {
-      key: "handleSelective",
-      value: function handleSelective() {
-        var members = [{
-          id: 'uid_1',
-          name: 'Herman Beck',
-          img: '../../../../global/portraits/1.jpg'
-        }, {
-          id: 'uid_2',
-          name: 'Mary Adams',
-          img: '../../../../global/portraits/2.jpg'
-        }, {
-          id: 'uid_3',
-          name: 'Caleb Richards',
-          img: '../../../../global/portraits/3.jpg'
-        }, {
-          id: 'uid_4',
-          name: 'June Lane',
-          img: '../../../../global/portraits/4.jpg'
-        }];
-        var selected = [{
-          id: 'uid_1',
-          name: 'Herman Beck',
-          img: '../../../../global/portraits/1.jpg'
-        }, {
-          id: 'uid_2',
-          name: 'Caleb Richards',
-          img: '../../../../global/portraits/2.jpg'
-        }];
-        $('.plugin-selective').selective({
-          namespace: 'addMember',
-          local: members,
-          selected: selected,
-          buildFromHtml: false,
-          tpl: {
-            optionValue: function optionValue(data) {
-              return data.id;
-            },
-            frame: function frame() {
-              return "<div class=\"".concat(this.namespace, "\">\n            ").concat(this.options.tpl.items.call(this), "\n          <div class=\"").concat(this.namespace, "-trigger\">\n            ").concat(this.options.tpl.triggerButton.call(this), "\n          <div class=\"").concat(this.namespace, "-trigger-dropdown\">\n            ").concat(this.options.tpl.list.call(this), "\n          </div>\n          </div>\n          </div>");
-            },
-            triggerButton: function triggerButton() {
-              return "<div class=\"".concat(this.namespace, "-trigger-button\"><i class=\"wb-plus\"></i></div>");
-            },
-            listItem: function listItem(data) {
-              return "<li class=\"".concat(this.namespace, "-list-item\"><img class=\"avatar\" src=\"").concat(data.img, "\">").concat(data.name, "</li>");
-            },
-            item: function item(data) {
-              return "<li class=\"".concat(this.namespace, "-item\"><img class=\"avatar\" src=\"").concat(data.img, "\">").concat(this.options.tpl.itemRemove.call(this), "</li>");
-            },
-            itemRemove: function itemRemove() {
-              return "<span class=\"".concat(this.namespace, "-remove\"><i class=\"wb-minus-circle\"></i></span>");
-            },
-            option: function option(data) {
-              return "<option value=\"".concat(this.options.tpl.optionValue.call(this, data), "\">").concat(data.name, "</option>");
-            }
-          }
-        });
-      }
-    }, {
-      key: "handleProject",
-      value: function handleProject() {
-        $(document).on('click', '[data-tag=project-delete]', function (e) {
-          bootbox.dialog({
-            message: 'Do you want to delete the project?',
-            buttons: {
-              success: {
-                label: 'Delete',
-                className: 'btn-danger',
-                callback: function callback() {// $(e.target).closest('.list-group-item').remove();
-                }
-              }
-            }
-          });
-        });
-      }
-    }]);
-    return AppProjects;
-  }(_Site2.default);
-
-  _exports.AppProjects = AppProjects;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppProjects();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppProjects;
-  _exports.default = _default;
-});

Plik diff jest za duży
+ 0 - 112
public/assets/js/App/Taskboard.js


+ 0 - 436
public/assets/js/App/Travel.js

@@ -1,436 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Travel", ["exports", "Site"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("Site"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.Site);
-    global.AppTravel = mod.exports;
-  }
-})(this, function (_exports, _Site2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppTravel = void 0;
-  _Site2 = babelHelpers.interopRequireDefault(_Site2);
-
-  var Map =
-  /*#__PURE__*/
-  function () {
-    function Map() {
-      babelHelpers.classCallCheck(this, Map);
-      this.window = $(window);
-      this.$siteNavbar = $('.site-navbar');
-      this.$siteFooter = $('.site-footer');
-      this.$pageMain = $('.page-main');
-      this.handleMapHeight();
-    }
-
-    babelHelpers.createClass(Map, [{
-      key: "handleMapHeight",
-      value: function handleMapHeight() {
-        var footerH = this.$siteFooter.outerHeight();
-        var navbarH = this.$siteNavbar.outerHeight();
-        var mapH = this.window.height() - navbarH - footerH;
-        this.$pageMain.outerHeight(mapH);
-      }
-    }, {
-      key: "getMap",
-      value: function getMap() {
-        var mapLatlng = L.latLng(37.769, -122.446); // this accessToken, you can get it to here ==> [ https://www.mapbox.com ]
-
-        L.mapbox.accessToken = 'pk.eyJ1IjoiYW1hemluZ3N1cmdlIiwiYSI6ImNpaDVubzBoOTAxZG11dGx4OW5hODl2b3YifQ.qudwERFDdMJhFA-B2uO6Rg';
-        return L.mapbox.map('map', 'mapbox.light').setView(mapLatlng, 18);
-      }
-    }]);
-    return Map;
-  }();
-
-  var Markers =
-  /*#__PURE__*/
-  function () {
-    function Markers(spots, hotels, reviews, map) {
-      babelHelpers.classCallCheck(this, Markers);
-      this.spots = spots;
-      this.hotels = hotels;
-      this.reviews = reviews;
-      this.map = map;
-      this.markers = null;
-      this.allMarkers = [];
-      this.addMarkersByOption('spots');
-    }
-
-    babelHelpers.createClass(Markers, [{
-      key: "deleteMarkers",
-      value: function deleteMarkers() {
-        this.map.removeLayer(this.markers);
-        this.markers = null;
-        this.allMarkers.length = 0;
-      }
-    }, {
-      key: "addMarkersByOption",
-      value: function addMarkersByOption(option) {
-        /* add markercluster Plugin */
-        // this mapbox's Plugins,you can get it to here ==> [ https://github.com/Leaflet/Leaflet.markercluster.git ]
-        this.markers = new L.MarkerClusterGroup({
-          removeOutsideVisibleBounds: false,
-          polygonOptions: {
-            color: '#444'
-          }
-        });
-        this.initMarkers(this.markers, this["".concat(option)]);
-        this.map.addLayer(this.markers);
-      }
-    }, {
-      key: "initMarkers",
-      value: function initMarkers(markers, items) {
-        for (var i = 0; i < items.length; i++) {
-          var path = void 0;
-          var x = void 0;
-
-          if (i % 2 === 0) {
-            x = Number(Math.random());
-          } else {
-            x = -1 * Math.random();
-          }
-
-          var markerLatlng = L.latLng(37.769 + Math.random() / 170 * x, -122.446 + Math.random() / 150 * x);
-          path = $(items[i]).find('img').attr('src');
-          var divContent = "<div class='in-map-markers'>\n                          <div class='marker-icon'>\n                            <img src='".concat(path, "'/>\n                          </div>\n                        </div>");
-          var itemImg = L.divIcon({
-            html: divContent,
-            iconAnchor: [0, 0],
-            className: ''
-          });
-          /* create new marker and add to map */
-
-          var itemName = $(items[i]).find('.item-name').html();
-          var itemTitle = $(items[i]).find('.item-title').html();
-          var popupInfo = "<div class='marker-popup-info'>\n                        <div class='detail'>info</div>\n                        <h3>".concat(itemName, "</h3>\n                        <p>").concat(itemTitle, "</p>\n                      </div>\n                      <i class='icon wb-chevron-right-mini'>\n                      </i>");
-          var marker = L.marker(markerLatlng, {
-            title: itemName,
-            icon: itemImg
-          }).bindPopup(popupInfo, {
-            closeButton: false
-          });
-          markers.addLayer(marker);
-          this.allMarkers.push(marker);
-          marker.on('popupopen', function () {
-            this._icon.className += ' marker-active';
-            this.setZIndexOffset(999);
-          });
-          marker.on('popupclose', function () {
-            if (this._icon) {
-              this._icon.className = 'leaflet-marker-icon leaflet-zoom-animated leaflet-clickable';
-            }
-
-            this.setZIndexOffset(450);
-          });
-        }
-      }
-    }, {
-      key: "getAllMarkers",
-      value: function getAllMarkers() {
-        return this.allMarkers;
-      }
-    }, {
-      key: "getMarkersInMap",
-      value: function getMarkersInMap() {
-        var inMapMarkers = [];
-        var allMarkers = this.getAllMarkers();
-        /* Get the object of all Markers in the map view */
-
-        for (var i = 0; i < allMarkers.length; i++) {
-          if (this.map.getBounds().contains(allMarkers[i].getLatLng())) {
-            inMapMarkers.push(allMarkers.indexOf(allMarkers[i]));
-          }
-        }
-
-        return inMapMarkers;
-      }
-    }]);
-    return Markers;
-  }();
-
-  var AppTravel =
-  /*#__PURE__*/
-  function (_Site) {
-    babelHelpers.inherits(AppTravel, _Site);
-
-    function AppTravel() {
-      babelHelpers.classCallCheck(this, AppTravel);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppTravel).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppTravel, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppTravel.prototype), "initialize", this).call(this);
-        this.window = $(window);
-        this.$pageAside = $('.page-aside');
-        this.$allSpots = $('.app-travel .spot-info');
-        this.allSpots = this.getAllListItems(this.$allSpots);
-        this.$allHotels = $('.app-travel .hotel-info');
-        this.allHotels = this.getAllListItems(this.$allHotels);
-        this.$allReviews = $('.app-travel .review-info');
-        this.allReviews = this.getAllListItems(this.$allReviews);
-        this.mapbox = new Map();
-        this.map = this.mapbox.getMap();
-        this.markers = new Markers(this.$allSpots, this.$allHotels, this.$allReviews, this.map);
-        this.allMarkers = this.markers.getAllMarkers();
-        this.markersInMap = null;
-        this.spotsNum = null;
-        this.hotelsNum = null;
-        this.reviewsNum = null; // states
-
-        this.states = {
-          mapChange: true,
-          listItemActive: false,
-          optionChange: 'spots'
-        };
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppTravel.prototype), "process", this).call(this);
-        this.handleResize();
-        this.steupListItem('spots');
-        this.steupListItem('hotels');
-        this.steupListItem('reviews');
-        this.steupMapChange();
-        this.setupTabChange();
-        this.handleSwitchClick();
-        this.handleSpotAction();
-      }
-    }, {
-      key: "getAllListItems",
-      value: function getAllListItems($allListItems) {
-        var allListItems = [];
-        $allListItems.each(function () {
-          allListItems.push(this);
-        });
-        return allListItems;
-      } // getDefaultState() {
-      //   return Object.assign(super.getDefaultState(), {
-      //     mapChange: true,
-      //     listItemActive: false,
-      //     optionChange: 'spots'
-      //   });
-      // }
-
-    }, {
-      key: "optionChange",
-      value: function optionChange(change) {
-        var self = this;
-        this.states.optionChange = change;
-
-        if (change) {
-          console.log('tab change');
-
-          if (self.markers.markers) {
-            self.markers.deleteMarkers();
-          }
-
-          var tabOption = self.states.optionChange; // spots,hotels,reviews
-
-          self.markers.addMarkersByOption(tabOption);
-          self.changeListItemsByOption(tabOption);
-        }
-      }
-    }, {
-      key: "mapChange",
-      value: function mapChange(change) {
-        if (change) {
-          console.log('map change');
-        } else {
-          var tabOption = this.states.optionChange;
-          this.changeListItemsByOption(tabOption);
-        }
-
-        this.states.mapChange = change;
-      }
-    }, {
-      key: "listItemActive",
-      value: function listItemActive(active) {
-        if (active) {
-          var tabOption = this.states.optionChange;
-          this.changeMapOnListActiveByOption(tabOption);
-        } else {
-          console.log('listItem unactive');
-        }
-
-        this.states.listItemActive = active;
-      } // change list when map change
-
-    }, {
-      key: "changeListItems",
-      value: function changeListItems(allListItems) {
-        var itemsInList = [];
-        this.markersInMap = this.markers.getMarkersInMap();
-
-        for (var i = 0; i < this.allMarkers.length; i++) {
-          if (this.markersInMap.indexOf(i) === -1) {
-            $(allListItems[i]).hide();
-          } else {
-            $(allListItems[i]).show();
-            itemsInList.push($(allListItems[i]));
-          }
-        }
-
-        return itemsInList;
-      }
-    }, {
-      key: "onSpotsListChange",
-      value: function onSpotsListChange(spotsItemsInList) {
-        $('.clearfix.hidden-xl-down').remove();
-
-        for (var i = 0; i < spotsItemsInList.length; i++) {
-          if (i > 0 && (i + 1) % 2 === 0) {
-            var $clear = $('<div></div>').addClass('clearfix hidden-xl-down');
-            spotsItemsInList[i].after($clear);
-          }
-        }
-      }
-    }, {
-      key: "onReviewsListChange",
-      value: function onReviewsListChange(reviewsItemsInList) {
-        var $lastReview = $('.last-review');
-
-        if ($lastReview.length > 0) {
-          $lastReview.removeClass('last-review');
-        }
-
-        var length = reviewsItemsInList.length;
-
-        if (length > 0) {
-          reviewsItemsInList[length - 1].addClass('last-review');
-        }
-      }
-    }, {
-      key: "changeListItemsByOption",
-      value: function changeListItemsByOption(option) {
-        var optionString = option.substring(0, 1).toUpperCase() + option.substring(1);
-        var itemsInList = this.changeListItems(this["all".concat(optionString)]);
-        this["on".concat(optionString, "ListChange")] ? this["on".concat(optionString, "ListChange")](itemsInList) : '';
-        this.window.trigger('resize');
-      } // end change list when map change
-      // change map on list change
-
-    }, {
-      key: "changeMapOnListActive",
-      value: function changeMapOnListActive(num) {
-        this.map.panTo(this.allMarkers[num].getLatLng());
-        this.allMarkers[num].openPopup();
-      }
-    }, {
-      key: "changeMapOnListActiveByOption",
-      value: function changeMapOnListActiveByOption(option) {
-        this.changeMapOnListActive(this["".concat(option, "Num")]);
-      } // end change map on list change
-      // bind
-
-    }, {
-      key: "steupListItem",
-      value: function steupListItem(option) {
-        var _this = this;
-
-        var self = this;
-        var optionString = option.substring(0, 1).toUpperCase() + option.substring(1);
-        this["$all".concat(optionString)].on('click', function () {
-          $('.rating').on('click', function (event) {
-            event.stopPropagation();
-          });
-          self["".concat(option, "Num")] = self["all".concat(optionString)].indexOf(this);
-          self.listItemActive(true);
-        });
-        this["$all".concat(optionString)].on('mouseup', function () {
-          _this.listItemActive(false);
-        });
-      }
-    }, {
-      key: "setupTabChange",
-      value: function setupTabChange() {
-        var self = this;
-        $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
-          var href = $(e.target).attr('href'); // #spots,#travels,#reviews
-
-          if (href) {
-            var option = href.substring(1);
-            self.optionChange("".concat(option));
-          } // e.relatedTarget; /* previous active tab */
-
-        });
-      }
-    }, {
-      key: "steupMapChange",
-      value: function steupMapChange() {
-        var _this2 = this;
-
-        this.map.on('viewreset move', function () {
-          _this2.mapChange(true);
-        });
-        this.map.on('ready blur moveend dragend zoomend', function () {
-          _this2.mapChange(false);
-        });
-      }
-    }, {
-      key: "handleSwitchClick",
-      value: function handleSwitchClick() {
-        var self = this;
-        $(document).on('click', '.page-aside .page-aside-switch', function (event) {
-          if (self.$pageAside.hasClass('open')) {
-            var tabOption = self.states.optionChange;
-            self.changeListItemsByOption(tabOption);
-          } else {
-            event.stopPropagation();
-          }
-        });
-      }
-    }, {
-      key: "handleResize",
-      value: function handleResize() {
-        var _this3 = this;
-
-        this.window.on('resize', function () {
-          _this3.mapbox.handleMapHeight();
-        });
-      }
-    }, {
-      key: "handleSpotAction",
-      value: function handleSpotAction() {
-        $(document).on('click', '.card-actions', function () {
-          var $this = $(this);
-          $this.toggleClass('active');
-        });
-      } // end bind
-
-    }]);
-    return AppTravel;
-  }(_Site2.default);
-
-  _exports.AppTravel = AppTravel;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppTravel();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppTravel;
-  _exports.default = _default;
-});

+ 0 - 284
public/assets/js/App/Work.js

@@ -1,284 +0,0 @@
-(function (global, factory) {
-  if (typeof define === "function" && define.amd) {
-    define("/App/Work", ["exports", "BaseApp"], factory);
-  } else if (typeof exports !== "undefined") {
-    factory(exports, require("BaseApp"));
-  } else {
-    var mod = {
-      exports: {}
-    };
-    factory(mod.exports, global.BaseApp);
-    global.AppWork = mod.exports;
-  }
-})(this, function (_exports, _BaseApp2) {
-  "use strict";
-
-  Object.defineProperty(_exports, "__esModule", {
-    value: true
-  });
-  _exports.run = run;
-  _exports.getInstance = getInstance;
-  _exports.default = _exports.AppWork = void 0;
-  _BaseApp2 = babelHelpers.interopRequireDefault(_BaseApp2);
-
-  var AppWork =
-  /*#__PURE__*/
-  function (_BaseApp) {
-    babelHelpers.inherits(AppWork, _BaseApp);
-
-    function AppWork() {
-      babelHelpers.classCallCheck(this, AppWork);
-      return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppWork).apply(this, arguments));
-    }
-
-    babelHelpers.createClass(AppWork, [{
-      key: "initialize",
-      value: function initialize() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppWork.prototype), "initialize", this).call(this);
-        this.items = [];
-        this.handleChart();
-        this.handleSelective();
-      }
-    }, {
-      key: "process",
-      value: function process() {
-        babelHelpers.get(babelHelpers.getPrototypeOf(AppWork.prototype), "process", this).call(this);
-        this.bindChart();
-      }
-    }, {
-      key: "handleChart",
-      value: function handleChart() {
-        /* create line chart */
-        this.scoreChart = function (data) {
-          var scoreChart = new Chartist.Line(data, {
-            labels: ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'],
-            series: [{
-              name: 'series-1',
-              data: [0.8, 1.5, 0.8, 2.7, 2.4, 3.9, 1.1]
-            }, {
-              name: 'series-2',
-              data: [2.2, 3, 2.7, 3.6, 1.5, 1, 2.9]
-            }]
-          }, {
-            lineSmooth: Chartist.Interpolation.simple({
-              divisor: 100
-            }),
-            fullWidth: true,
-            chartPadding: {
-              right: 25
-            },
-            series: {
-              'series-1': {
-                showArea: false
-              },
-              'series-2': {
-                showArea: false
-              }
-            },
-            axisX: {
-              showGrid: false
-            },
-            axisY: {
-              scaleMinSpace: 40
-            },
-            plugins: [Chartist.plugins.tooltip()],
-            low: 0,
-            height: 250
-          });
-          scoreChart.on('draw', function (data) {
-            if (data.type === 'point') {
-              var parent = new Chartist.Svg(data.element._node.parentNode);
-              parent.elem('line', {
-                x1: data.x,
-                y1: data.y,
-                x2: data.x + 0.01,
-                y2: data.y,
-                class: 'ct-point-content'
-              });
-            }
-          });
-        }; // let WeekLabelList = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'];
-        // let WeekSeries1List = {
-        //   name: 'series-1',
-        //   data: [0.8, 1.5, 0.8, 2.7, 2.4, 3.9, 1.1]
-        // };
-        // let WeekSeries2List = {
-        //   name: 'series-2',
-        //   data: [2.2, 3, 2.7, 3.6, 1.5, 1, 2.9]
-        // };
-
-        /* create bar chart */
-
-
-        this.barChart = function (data) {
-          var barChart = new Chartist.Bar(data, {
-            labels: ['Damon', 'Jimmy', 'Jhon', 'Alex', 'Lucy', 'Peter', 'Chris'],
-            series: [[3.3, 3.5, 2.5, 2, 3.7, 2.7, 1.9], [2, 4, 3.5, 2.7, 3.3, 3.5, 2.5]]
-          }, {
-            axisX: {
-              showGrid: false
-            },
-            axisY: {
-              showGrid: false,
-              scaleMinSpace: 30
-            },
-            height: 210,
-            seriesBarDistance: 24
-          });
-          barChart.on('draw', function (data) {
-            if (data.type === 'bar') {
-              var parent = new Chartist.Svg(data.element._node.parentNode);
-              parent.elem('line', {
-                x1: data.x1,
-                x2: data.x2,
-                y1: data.y2,
-                y2: 0,
-                class: 'ct-bar-fill'
-              });
-              data.element.attr({
-                style: 'stroke-width: 20px'
-              });
-            }
-          });
-        };
-      }
-    }, {
-      key: "bindChart",
-      value: function bindChart() {
-        var _this = this;
-
-        /* run chart */
-        $(document).on('slidePanel::afterLoad', function () {
-          _this.scoreChart('.trends-chart');
-
-          _this.barChart('.member-chart');
-        });
-      }
-    }, {
-      key: "handleSelective",
-      value: function handleSelective() {
-        var _this2 = this;
-
-        var self = this;
-        var member = [{
-          id: 'uid_1',
-          name: 'Herman Beck',
-          avatar: '../../../../global/portraits/1.jpg'
-        }, {
-          id: 'uid_2',
-          name: 'Mary Adams',
-          avatar: '../../../../global/portraits/2.jpg'
-        }, {
-          id: 'uid_3',
-          name: 'Caleb Richards',
-          avatar: '../../../../global/portraits/3.jpg'
-        }, {
-          id: 'uid_4',
-          name: 'June Lane',
-          avatar: '../../../../global/portraits/4.jpg'
-        }, {
-          id: 'uid_5',
-          name: 'June Lane',
-          avatar: '../../../../global/portraits/5.jpg'
-        }, {
-          id: 'uid_6',
-          name: 'June Lane',
-          avatar: '../../../../global/portraits/6.jpg'
-        }, {
-          id: 'uid_7',
-          name: 'June Lane',
-          avatar: '../../../../global/portraits/7.jpg'
-        }];
-
-        var getNum = function getNum(num) {
-          return Math.ceil(Math.random() * (num + 1));
-        };
-
-        var getMember = function getMember() {
-          return member[getNum(member.length - 1) - 1];
-        };
-
-        var isSame = function isSame(items) {
-          var _items = items;
-
-          var _member = getMember();
-
-          if (_items.indexOf(_member) === -1) {
-            return _member;
-          }
-
-          return isSame(_items);
-        };
-
-        var pushMember = function pushMember(num) {
-          var items = [];
-
-          for (var i = 0; i < num; i++) {
-            items.push(isSame(items));
-          }
-
-          _this2.items = items;
-        };
-
-        var setItems = function setItems(membersNum) {
-          var num = getNum(membersNum - 1);
-          pushMember(num);
-        };
-
-        $('.plugin-selective').each(function () {
-          setItems(member.length);
-          var items = self.items;
-          $(this).selective({
-            namespace: 'addMember',
-            local: member,
-            selected: items,
-            buildFromHtml: false,
-            tpl: {
-              optionValue: function optionValue(data) {
-                return data.id;
-              },
-              frame: function frame() {
-                return "<div class=\"".concat(this.namespace, "\">\n                ").concat(this.options.tpl.items.call(this), "\n                <div class=\"").concat(this.namespace, "-trigger\">\n                ").concat(this.options.tpl.triggerButton.call(this), "\n                <div class=\"").concat(this.namespace, "-trigger-dropdown\">\n                ").concat(this.options.tpl.list.call(this), "\n                </div>\n                </div>\n                </div>"); // i++;
-              },
-              triggerButton: function triggerButton() {
-                return "<div class=\"".concat(this.namespace, "-trigger-button\"><i class=\"wb-plus\"></i></div>");
-              },
-              listItem: function listItem(data) {
-                return "<li class=\"".concat(this.namespace, "-list-item\"><img class=\"avatar\" src=\"").concat(data.avatar, "\">").concat(data.name, "</li>");
-              },
-              item: function item(data) {
-                return "<li class=\"".concat(this.namespace, "-item\"><img class=\"avatar\" src=\"").concat(data.avatar, "\" title=\"").concat(data.name, "\">").concat(this.options.tpl.itemRemove.call(this), "</li>");
-              },
-              itemRemove: function itemRemove() {
-                return "<span class=\"".concat(this.namespace, "-remove\"><i class=\"wb-minus-circle\"></i></span>");
-              },
-              option: function option(data) {
-                return "<option value=\"".concat(this.options.tpl.optionValue.call(this, data), "\">").concat(data.name, "</option>");
-              }
-            }
-          });
-        });
-      }
-    }]);
-    return AppWork;
-  }(_BaseApp2.default);
-
-  _exports.AppWork = AppWork;
-  var instance = null;
-
-  function getInstance() {
-    if (!instance) {
-      instance = new AppWork();
-    }
-
-    return instance;
-  }
-
-  function run() {
-    var app = getInstance();
-    app.run();
-  }
-
-  var _default = AppWork;
-  _exports.default = _default;
-});

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików