front-ui-admin 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6807,9 +6807,9 @@ const mousewheel = function (element, callback) {
6807
6807
  }
6808
6808
  }
6809
6809
  });
6810
- ;// external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
6811
- var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
6812
- var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject);
6810
+ ;// external "Vue"
6811
+ var external_Vue_namespaceObject = require("Vue");
6812
+ var external_Vue_default = /*#__PURE__*/__webpack_require__.n(external_Vue_namespaceObject);
6813
6813
  // EXTERNAL MODULE: ./node_modules/deepmerge/dist/cjs.js
6814
6814
  var cjs = __webpack_require__(4679);
6815
6815
  var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs);
@@ -6833,7 +6833,7 @@ let isFunction = functionToCheck => {
6833
6833
  var getType = {};
6834
6834
  return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
6835
6835
  };
6836
- if ( true && typeof Int8Array !== 'object' && ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer || typeof document.childNodes !== 'function')) {
6836
+ if ( true && typeof Int8Array !== 'object' && ((external_Vue_default()).prototype.$isServer || typeof document.childNodes !== 'function')) {
6837
6837
  isFunction = function (obj) {
6838
6838
  return typeof obj === 'function' || false;
6839
6839
  };
@@ -7100,15 +7100,15 @@ const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
7100
7100
 
7101
7101
 
7102
7102
 
7103
- const locale_format = format((external_commonjs_vue_commonjs2_vue_root_Vue_default()));
7103
+ const locale_format = format((external_Vue_default()));
7104
7104
  let lang = zh_CN;
7105
7105
  let merged = false;
7106
7106
  let i18nHandler = function () {
7107
- const vuei18n = Object.getPrototypeOf(this || (external_commonjs_vue_commonjs2_vue_root_Vue_default())).$t;
7108
- if (typeof vuei18n === 'function' && !!(external_commonjs_vue_commonjs2_vue_root_Vue_default()).locale) {
7107
+ const vuei18n = Object.getPrototypeOf(this || (external_Vue_default())).$t;
7108
+ if (typeof vuei18n === 'function' && !!(external_Vue_default()).locale) {
7109
7109
  if (!merged) {
7110
7110
  merged = true;
7111
- external_commonjs_vue_commonjs2_vue_root_Vue_default().locale((external_commonjs_vue_commonjs2_vue_root_Vue_default()).config.lang, cjs_default()(lang, external_commonjs_vue_commonjs2_vue_root_Vue_default().locale((external_commonjs_vue_commonjs2_vue_root_Vue_default()).config.lang) || {}, {
7111
+ external_Vue_default().locale((external_Vue_default()).config.lang, cjs_default()(lang, external_Vue_default().locale((external_Vue_default()).config.lang) || {}, {
7112
7112
  clone: true
7113
7113
  }));
7114
7114
  }
@@ -7889,7 +7889,7 @@ const doFlattenColumns = columns => {
7889
7889
  });
7890
7890
  return result;
7891
7891
  };
7892
- /* harmony default export */ var watcher = (external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
7892
+ /* harmony default export */ var watcher = (external_Vue_default().extend({
7893
7893
  data() {
7894
7894
  return {
7895
7895
  states: {
@@ -8362,7 +8362,7 @@ watcher.prototype.commit = function (name, ...args) {
8362
8362
  }
8363
8363
  };
8364
8364
  watcher.prototype.updateTableScrollY = function () {
8365
- external_commonjs_vue_commonjs2_vue_root_Vue_default().nextTick(this.table.updateScrollY);
8365
+ external_Vue_default().nextTick(this.table.updateScrollY);
8366
8366
  };
8367
8367
  /* harmony default export */ var src_store = (watcher);
8368
8368
  // EXTERNAL MODULE: ./node_modules/throttle-debounce/debounce.js
@@ -8413,7 +8413,7 @@ function mapStates(mapper) {
8413
8413
 
8414
8414
  let scrollBarWidth;
8415
8415
  /* harmony default export */ function scrollbar_width() {
8416
- if ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer) return 0;
8416
+ if ((external_Vue_default()).prototype.$isServer) return 0;
8417
8417
  if (scrollBarWidth !== undefined) return scrollBarWidth;
8418
8418
  const outer = document.createElement('div');
8419
8419
  outer.className = 'p-scrollbar__wrap';
@@ -8489,11 +8489,11 @@ class TableLayout {
8489
8489
  return false;
8490
8490
  }
8491
8491
  setHeight(value, prop = 'height') {
8492
- if ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer) return;
8492
+ if ((external_Vue_default()).prototype.$isServer) return;
8493
8493
  const el = this.table.$el;
8494
8494
  value = parseHeight(value);
8495
8495
  this.height = value;
8496
- if (!el && (value || value === 0)) return external_commonjs_vue_commonjs2_vue_root_Vue_default().nextTick(() => this.setHeight(value, prop));
8496
+ if (!el && (value || value === 0)) return external_Vue_default().nextTick(() => this.setHeight(value, prop));
8497
8497
  if (typeof value === 'number') {
8498
8498
  el.style[prop] = value + 'px';
8499
8499
  this.updateElsHeight();
@@ -8518,7 +8518,7 @@ class TableLayout {
8518
8518
  return flattenColumns;
8519
8519
  }
8520
8520
  updateElsHeight() {
8521
- if (!this.table.$ready) return external_commonjs_vue_commonjs2_vue_root_Vue_default().nextTick(() => this.updateElsHeight());
8521
+ if (!this.table.$ready) return external_Vue_default().nextTick(() => this.updateElsHeight());
8522
8522
  const {
8523
8523
  headerWrapper,
8524
8524
  appendWrapper,
@@ -8532,7 +8532,7 @@ class TableLayout {
8532
8532
  const noneHeader = this.headerDisplayNone(headerTrElm);
8533
8533
  const headerHeight = this.headerHeight = !this.showHeader ? 0 : headerWrapper.offsetHeight;
8534
8534
  if (this.showHeader && !noneHeader && headerWrapper.offsetWidth > 0 && (this.table.columns || []).length > 0 && headerHeight < 2) {
8535
- return external_commonjs_vue_commonjs2_vue_root_Vue_default().nextTick(() => this.updateElsHeight());
8535
+ return external_Vue_default().nextTick(() => this.updateElsHeight());
8536
8536
  }
8537
8537
  const tableHeight = this.tableHeight = this.table.$el.clientHeight;
8538
8538
  const footerHeight = this.footerHeight = footerWrapper ? footerWrapper.offsetHeight : 0;
@@ -8557,7 +8557,7 @@ class TableLayout {
8557
8557
  return false;
8558
8558
  }
8559
8559
  updateColumnsWidth() {
8560
- if ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer) return;
8560
+ if ((external_Vue_default()).prototype.$isServer) return;
8561
8561
  const fit = this.fit;
8562
8562
  const bodyWidth = this.table.$el.clientWidth;
8563
8563
  let bodyMinWidth = 0;
@@ -8661,7 +8661,7 @@ class TableLayout {
8661
8661
  /* istanbul ignore next */
8662
8662
 
8663
8663
 
8664
- const dom_isServer = (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer;
8664
+ const dom_isServer = (external_Vue_default()).prototype.$isServer;
8665
8665
  const SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g;
8666
8666
  const MOZ_HACK_REGEXP = /^moz([A-Z])/;
8667
8667
  const ieVersion = dom_isServer ? 0 : Number(document.documentMode);
@@ -8872,7 +8872,7 @@ let hasModal = false;
8872
8872
  let hasInitZIndex = false;
8873
8873
  let zIndex;
8874
8874
  const getModal = function () {
8875
- if ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer) return;
8875
+ if ((external_Vue_default()).prototype.$isServer) return;
8876
8876
  let modalDom = PopupManager.modalDom;
8877
8877
  if (modalDom) {
8878
8878
  hasModal = true;
@@ -8920,7 +8920,7 @@ const PopupManager = {
8920
8920
  }
8921
8921
  },
8922
8922
  openModal: function (id, zIndex, dom, modalClass, modalFade) {
8923
- if ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer) return;
8923
+ if ((external_Vue_default()).prototype.$isServer) return;
8924
8924
  if (!id || zIndex === undefined) return;
8925
8925
  this.modalFade = modalFade;
8926
8926
  const modalStack = this.modalStack;
@@ -9000,7 +9000,7 @@ Object.defineProperty(PopupManager, 'zIndex', {
9000
9000
  configurable: true,
9001
9001
  get() {
9002
9002
  if (!hasInitZIndex) {
9003
- zIndex = zIndex || ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$ELEMENT || {}).zIndex || 2000;
9003
+ zIndex = zIndex || ((external_Vue_default()).prototype.$ELEMENT || {}).zIndex || 2000;
9004
9004
  hasInitZIndex = true;
9005
9005
  }
9006
9006
  return zIndex;
@@ -9010,7 +9010,7 @@ Object.defineProperty(PopupManager, 'zIndex', {
9010
9010
  }
9011
9011
  });
9012
9012
  const getTopPopup = function () {
9013
- if ((external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer) return;
9013
+ if ((external_Vue_default()).prototype.$isServer) return;
9014
9014
  if (PopupManager.modalStack.length > 0) {
9015
9015
  const topPopup = PopupManager.modalStack[PopupManager.modalStack.length - 1];
9016
9016
  if (!topPopup) return;
@@ -9018,7 +9018,7 @@ const getTopPopup = function () {
9018
9018
  return instance;
9019
9019
  }
9020
9020
  };
9021
- if (!(external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer) {
9021
+ if (!(external_Vue_default()).prototype.$isServer) {
9022
9022
  // handle `esc` key when the popup is shown
9023
9023
  window.addEventListener('keydown', function (event) {
9024
9024
  if (event.keyCode === 27) {
@@ -9097,7 +9097,7 @@ let popup_scrollBarWidth;
9097
9097
  if (this._opening) return;
9098
9098
  if (!this.rendered) {
9099
9099
  this.rendered = true;
9100
- external_commonjs_vue_commonjs2_vue_root_Vue_default().nextTick(() => {
9100
+ external_Vue_default().nextTick(() => {
9101
9101
  this.open();
9102
9102
  });
9103
9103
  } else {
@@ -9215,7 +9215,7 @@ let popup_scrollBarWidth;
9215
9215
  ;// ./src/utils/vue-popper.js
9216
9216
 
9217
9217
 
9218
- const PopperJS = (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer ? function () {} : __webpack_require__(1851);
9218
+ const PopperJS = (external_Vue_default()).prototype.$isServer ? function () {} : __webpack_require__(1851);
9219
9219
  const stop = e => e.stopPropagation();
9220
9220
 
9221
9221
  /**
@@ -9448,7 +9448,7 @@ const stop = e => e.stopPropagation();
9448
9448
  },
9449
9449
  beforeCreate() {
9450
9450
  if (this.$isServer) return;
9451
- this.popperVM = new (external_commonjs_vue_commonjs2_vue_root_Vue_default())({
9451
+ this.popperVM = new (external_Vue_default())({
9452
9452
  data: {
9453
9453
  node: ''
9454
9454
  },
@@ -10344,8 +10344,8 @@ const nodeList = [];
10344
10344
  const ctx = '@@clickoutsideContext';
10345
10345
  let startClick;
10346
10346
  let seed = 0;
10347
- !(external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer && on(document, 'mousedown', e => startClick = e);
10348
- !(external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer && on(document, 'mouseup', e => {
10347
+ !(external_Vue_default()).prototype.$isServer && on(document, 'mousedown', e => startClick = e);
10348
+ !(external_Vue_default()).prototype.$isServer && on(document, 'mouseup', e => {
10349
10349
  nodeList.forEach(node => node[ctx].documentHandler(e, startClick));
10350
10350
  });
10351
10351
  function createDocumentHandler(el, binding, vnode) {
@@ -10398,7 +10398,7 @@ function createDocumentHandler(el, binding, vnode) {
10398
10398
 
10399
10399
 
10400
10400
  var dropdowns = [];
10401
- !(external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isServer && document.addEventListener('click', function (event) {
10401
+ !(external_Vue_default()).prototype.$isServer && document.addEventListener('click', function (event) {
10402
10402
  dropdowns.forEach(function (dropdown) {
10403
10403
  var target = event.target;
10404
10404
  if (!dropdown || !dropdown.$el) return;
@@ -11193,7 +11193,7 @@ const convertToRows = originColumns => {
11193
11193
  return;
11194
11194
  }
11195
11195
  if (!filterPanel) {
11196
- filterPanel = new (external_commonjs_vue_commonjs2_vue_root_Vue_default())(filter_panel);
11196
+ filterPanel = new (external_Vue_default())(filter_panel);
11197
11197
  this.filterPanels[column.id] = filterPanel;
11198
11198
  if (column.filterPlacement) {
11199
11199
  filterPanel.placement = column.filterPlacement;