mooho-base-admin-plus 0.1.2 → 0.1.5

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.
Files changed (80) hide show
  1. package/dist/mooho-base-admin-plus.min.esm.js +48 -24
  2. package/dist/mooho-base-admin-plus.min.js +6 -6
  3. package/dist/style.css +1 -1
  4. package/index.html +1 -2
  5. package/package.json +1 -1
  6. package/src/App.vue +1 -1
  7. package/src/components/home/notice-list.vue +1 -1
  8. package/src/components/home/shortcut.vue +1 -1
  9. package/src/components/input/dialog-select.vue +1 -1
  10. package/src/components/input/item-select.vue +1 -1
  11. package/src/components/richEditor/index.vue +1 -1
  12. package/src/components/upload/file-upload.vue +1 -1
  13. package/src/components/upload/upload-attachment.vue +1 -1
  14. package/src/components/upload/upload-image.vue +1 -1
  15. package/src/components/view/column-check.vue +2 -2
  16. package/src/components/view/column-edit.vue +2 -2
  17. package/src/components/view/column-select.vue +2 -2
  18. package/src/components/view/condition-edit.vue +1 -1
  19. package/src/components/view/filter-edit.vue +1 -1
  20. package/src/components/view/filter-setting.vue +1 -1
  21. package/src/components/view/form-setting-layout.vue +2 -2
  22. package/src/components/view/form-setting.vue +1 -1
  23. package/src/components/view/group-column.vue +1 -1
  24. package/src/components/view/group-method.vue +1 -1
  25. package/src/components/view/modal-form-filter.vue +1 -1
  26. package/src/components/view/modal-form-sort.vue +1 -1
  27. package/src/components/view/modal-form.vue +3 -3
  28. package/src/components/view/modal-table.vue +1 -1
  29. package/src/components/view/table-filter.vue +4 -4
  30. package/src/components/view/table-setting.vue +1 -1
  31. package/src/components/view/view-chart.vue +4 -4
  32. package/src/components/view/view-form-draggable.vue +4 -4
  33. package/src/components/view/view-form.vue +4 -4
  34. package/src/components/view/view-table.vue +6 -6
  35. package/src/components/workflow/flow-chart.vue +4 -4
  36. package/src/index.js +2 -2
  37. package/src/layouts/basic-layout/header-logo/index.vue +1 -1
  38. package/src/layouts/basic-layout/header-notice/index.vue +3 -3
  39. package/src/layouts/basic-layout/header-user/index.vue +1 -1
  40. package/src/libs/util.db.js +2 -2
  41. package/src/pages/account/login.vue +1 -1
  42. package/src/pages/common/home.vue +1 -1
  43. package/src/pages/common/task-form.vue +5 -5
  44. package/src/pages/common/todo.vue +1 -1
  45. package/src/pages/system/apiLog.vue +1 -1
  46. package/src/pages/system/applicationType.vue +2 -2
  47. package/src/pages/system/customPage.vue +1 -1
  48. package/src/pages/system/customTable.vue +2 -2
  49. package/src/pages/system/dict.vue +1 -1
  50. package/src/pages/system/dictType.vue +2 -2
  51. package/src/pages/system/entityView.vue +2 -2
  52. package/src/pages/system/extendColumn.vue +2 -2
  53. package/src/pages/system/formView.vue +3 -3
  54. package/src/pages/system/log.vue +1 -1
  55. package/src/pages/system/notice.vue +1 -1
  56. package/src/pages/system/openApi.vue +1 -1
  57. package/src/pages/system/openUser.vue +2 -2
  58. package/src/pages/system/organization.vue +2 -2
  59. package/src/pages/system/organizationType.vue +1 -1
  60. package/src/pages/system/permission.vue +3 -3
  61. package/src/pages/system/planJob.vue +2 -2
  62. package/src/pages/system/printTemplate.vue +1 -1
  63. package/src/pages/system/process.vue +3 -3
  64. package/src/pages/system/processType.vue +1 -1
  65. package/src/pages/system/role.vue +5 -5
  66. package/src/pages/system/rolePropertyEdit.vue +2 -2
  67. package/src/pages/system/sequenceSetting.vue +1 -1
  68. package/src/pages/system/systemData.vue +2 -2
  69. package/src/pages/system/tableView.vue +4 -4
  70. package/src/pages/system/taskQueue.vue +1 -1
  71. package/src/pages/system/user.vue +4 -4
  72. package/src/pages/template/processPage.vue +3 -3
  73. package/src/pages/template/reportPage.vue +1 -1
  74. package/src/pages/template/viewPage.vue +1 -1
  75. package/src/setting.js +1 -1
  76. package/src/store/modules/admin/modules/log.js +1 -1
  77. package/vite.config.js +1 -0
  78. package/.env +0 -5
  79. package/.env.development +0 -0
  80. package/.env.production +0 -0
@@ -19,6 +19,22 @@ var __spreadValues = (a, b) => {
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import require$$0$1, { watch, reactive, shallowRef, unref, computed, nextTick, defineComponent, inject, h, provide, ref, openBlock, createElementBlock, createElementVNode, normalizeStyle as normalizeStyle$1, toDisplayString as toDisplayString$1, withDirectives, vModelText, pushScopeId, popScopeId, resolveComponent, resolveDirective, createVNode as createVNode$1, withCtx, Fragment, renderList, createBlock, createTextVNode, createCommentVNode, renderSlot, mergeProps, vShow, resolveDynamicComponent, withModifiers, normalizeProps, guardReactiveProps, Transition, normalizeClass, KeepAlive } from "vue";
21
21
  export { createApp, getCurrentInstance, h } from "vue";
22
+ function _mergeNamespaces(n2, m2) {
23
+ m2.forEach(function(e2) {
24
+ e2 && typeof e2 !== "string" && !Array.isArray(e2) && Object.keys(e2).forEach(function(k2) {
25
+ if (k2 !== "default" && !(k2 in n2)) {
26
+ var d = Object.getOwnPropertyDescriptor(e2, k2);
27
+ Object.defineProperty(n2, k2, d.get ? d : {
28
+ enumerable: true,
29
+ get: function() {
30
+ return e2[k2];
31
+ }
32
+ });
33
+ }
34
+ });
35
+ });
36
+ return Object.freeze(Object.defineProperty(n2, Symbol.toStringTag, { value: "Module" }));
37
+ }
22
38
  function getDevtoolsGlobalHook() {
23
39
  return getTarget$1().__VUE_DEVTOOLS_GLOBAL_HOOK__;
24
40
  }
@@ -14208,7 +14224,7 @@ const Setting = {
14208
14224
  },
14209
14225
  waterMark: {
14210
14226
  show: true,
14211
- text: "Admin Plus",
14227
+ text: "MOOHO",
14212
14228
  options: {}
14213
14229
  },
14214
14230
  sameRouteForceUpdate: false
@@ -16067,12 +16083,12 @@ var lodash$1 = { exports: {} };
16067
16083
  return !!result3;
16068
16084
  }
16069
16085
  function baseSortedIndex(array, value, retHighest) {
16070
- var low = 0, high = array == null ? low : array.length;
16086
+ var low2 = 0, high = array == null ? low2 : array.length;
16071
16087
  if (typeof value == "number" && value === value && high <= HALF_MAX_ARRAY_LENGTH) {
16072
- while (low < high) {
16073
- var mid = low + high >>> 1, computed2 = array[mid];
16088
+ while (low2 < high) {
16089
+ var mid = low2 + high >>> 1, computed2 = array[mid];
16074
16090
  if (computed2 !== null && !isSymbol2(computed2) && (retHighest ? computed2 <= value : computed2 < value)) {
16075
- low = mid + 1;
16091
+ low2 = mid + 1;
16076
16092
  } else {
16077
16093
  high = mid;
16078
16094
  }
@@ -16082,14 +16098,14 @@ var lodash$1 = { exports: {} };
16082
16098
  return baseSortedIndexBy(array, value, identity2, retHighest);
16083
16099
  }
16084
16100
  function baseSortedIndexBy(array, value, iteratee2, retHighest) {
16085
- var low = 0, high = array == null ? 0 : array.length;
16101
+ var low2 = 0, high = array == null ? 0 : array.length;
16086
16102
  if (high === 0) {
16087
16103
  return 0;
16088
16104
  }
16089
16105
  value = iteratee2(value);
16090
16106
  var valIsNaN = value !== value, valIsNull = value === null, valIsSymbol = isSymbol2(value), valIsUndefined = value === undefined$1;
16091
- while (low < high) {
16092
- var mid = nativeFloor((low + high) / 2), computed2 = iteratee2(array[mid]), othIsDefined = computed2 !== undefined$1, othIsNull = computed2 === null, othIsReflexive = computed2 === computed2, othIsSymbol = isSymbol2(computed2);
16107
+ while (low2 < high) {
16108
+ var mid = nativeFloor((low2 + high) / 2), computed2 = iteratee2(array[mid]), othIsDefined = computed2 !== undefined$1, othIsNull = computed2 === null, othIsReflexive = computed2 === computed2, othIsSymbol = isSymbol2(computed2);
16093
16109
  if (valIsNaN) {
16094
16110
  var setLow = retHighest || othIsReflexive;
16095
16111
  } else if (valIsUndefined) {
@@ -16104,7 +16120,7 @@ var lodash$1 = { exports: {} };
16104
16120
  setLow = retHighest ? computed2 <= value : computed2 < value;
16105
16121
  }
16106
16122
  if (setLow) {
16107
- low = mid + 1;
16123
+ low2 = mid + 1;
16108
16124
  } else {
16109
16125
  high = mid;
16110
16126
  }
@@ -19742,6 +19758,10 @@ var main = function(adapter2) {
19742
19758
  };
19743
19759
  return db2.read();
19744
19760
  };
19761
+ var low = /* @__PURE__ */ _mergeNamespaces({
19762
+ __proto__: null,
19763
+ "default": main
19764
+ }, [main]);
19745
19765
  var _stringify = function stringify2(obj) {
19746
19766
  return JSON.stringify(obj, null, 2);
19747
19767
  };
@@ -19825,8 +19845,12 @@ var LocalStorage = function(_Base) {
19825
19845
  return LocalStorage2;
19826
19846
  }(Base);
19827
19847
  var LocalStorage_1 = LocalStorage;
19828
- const adapter = new LocalStorage_1(`admin-plus-${Setting.appID}`);
19829
- const db$1 = main(adapter);
19848
+ var LocalStorage$1 = /* @__PURE__ */ _mergeNamespaces({
19849
+ __proto__: null,
19850
+ "default": LocalStorage_1
19851
+ }, [LocalStorage_1]);
19852
+ const adapter = new LocalStorage$1(`admin-plus-${Setting.appID}`);
19853
+ const db$1 = low(adapter);
19830
19854
  db$1.defaults({
19831
19855
  sys: {},
19832
19856
  database: {}
@@ -27932,7 +27956,7 @@ var mixinPage = {
27932
27956
  }
27933
27957
  })
27934
27958
  };
27935
- var login_css_vue_type_style_index_0_src_1ebd74b1_scoped_true_lang = "";
27959
+ var login_css_vue_type_style_index_0_src_6801dec0_scoped_true_lang = "";
27936
27960
  var _export_sfc = (sfc, props) => {
27937
27961
  const target = sfc.__vccOpts || sfc;
27938
27962
  for (const [key, val] of props) {
@@ -27982,7 +28006,7 @@ const _sfc_main$1n = {
27982
28006
  }
27983
28007
  })
27984
28008
  };
27985
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-1ebd74b1"), n2 = n2(), popScopeId(), n2);
28009
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-6801dec0"), n2 = n2(), popScopeId(), n2);
27986
28010
  const _hoisted_1$1b = { class: "signIn" };
27987
28011
  const _hoisted_2$T = { class: "box cf" };
27988
28012
  const _hoisted_3$M = { class: "right" };
@@ -28042,7 +28066,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
28042
28066
  createElementVNode("div", _hoisted_7$i, toDisplayString$1(_ctx.sysInfo.copyright), 1)
28043
28067
  ]);
28044
28068
  }
28045
- var login = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__scopeId", "data-v-1ebd74b1"]]);
28069
+ var login = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__scopeId", "data-v-6801dec0"]]);
28046
28070
  var __glob_44_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28047
28071
  __proto__: null,
28048
28072
  "default": login
@@ -28126,7 +28150,7 @@ const _sfc_main$1m = {
28126
28150
  }
28127
28151
  }
28128
28152
  };
28129
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-7f819780"), n2 = n2(), popScopeId(), n2);
28153
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-e221e8ee"), n2 = n2(), popScopeId(), n2);
28130
28154
  const _hoisted_1$1a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ivu-pl-8" }, "\u5FEB\u6377\u64CD\u4F5C", -1));
28131
28155
  const _hoisted_2$S = {
28132
28156
  class: "ivu-text-center",
@@ -28272,7 +28296,7 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
28272
28296
  }, 8, ["onOnDragDrop"])
28273
28297
  ]);
28274
28298
  }
28275
- var Shortcut = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__scopeId", "data-v-7f819780"]]);
28299
+ var Shortcut = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__scopeId", "data-v-e221e8ee"]]);
28276
28300
  const _sfc_main$1l = {
28277
28301
  name: "notice-list",
28278
28302
  mixins: [mixinPage],
@@ -28408,7 +28432,7 @@ const _sfc_main$1k = {
28408
28432
  },
28409
28433
  methods: {}
28410
28434
  };
28411
- const _withScopeId = (n2) => (pushScopeId("data-v-d6f772ac"), n2 = n2(), popScopeId(), n2);
28435
+ const _withScopeId = (n2) => (pushScopeId("data-v-77a1e2f3"), n2 = n2(), popScopeId(), n2);
28412
28436
  const _hoisted_1$18 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
28413
28437
  /* @__PURE__ */ createElementVNode("span", null, "\u68C0\u6D4B\u4EFB\u52A1")
28414
28438
  ], -1));
@@ -28683,7 +28707,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
28683
28707
  })
28684
28708
  ]);
28685
28709
  }
28686
- var home = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-d6f772ac"]]);
28710
+ var home = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-77a1e2f3"]]);
28687
28711
  var __glob_44_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28688
28712
  __proto__: null,
28689
28713
  "default": home
@@ -43343,7 +43367,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
43343
43367
  }, 8, ["modelValue", "mask-closable", "draggable"])
43344
43368
  ]);
43345
43369
  }
43346
- var ImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-5bcff74e"]]);
43370
+ var ImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-bc993c40"]]);
43347
43371
  const _sfc_main$x = {
43348
43372
  mixins: [mixinPage],
43349
43373
  data() {
@@ -50325,7 +50349,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
50325
50349
  ], 2)
50326
50350
  ]);
50327
50351
  }
50328
- var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-b96d7a0c"]]);
50352
+ var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-257cee86"]]);
50329
50353
  const _sfc_main$p = {
50330
50354
  mixins: [mixinPage],
50331
50355
  components: { columnSelect, columnEdit },
@@ -58223,7 +58247,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
58223
58247
  }, 512)) : createCommentVNode("", true)
58224
58248
  ]);
58225
58249
  }
58226
- var FormSettingLayout = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-b2a28bd6"]]);
58250
+ var FormSettingLayout = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-25f245bb"]]);
58227
58251
  const _sfc_main$m = {
58228
58252
  mixins: [mixinPage],
58229
58253
  components: { formSetting: FormSetting, formSettingLayout: FormSettingLayout },
@@ -111042,16 +111066,16 @@ function prepareBoxplotData(rawData, opt) {
111042
111066
  var min3 = ascList[0];
111043
111067
  var max3 = ascList[ascList.length - 1];
111044
111068
  var bound = (boundIQR == null ? 1.5 : boundIQR) * (Q3 - Q1);
111045
- var low = useExtreme ? min3 : Math.max(min3, Q1 - bound);
111069
+ var low2 = useExtreme ? min3 : Math.max(min3, Q1 - bound);
111046
111070
  var high = useExtreme ? max3 : Math.min(max3, Q3 + bound);
111047
111071
  var itemNameFormatter = opt.itemNameFormatter;
111048
111072
  var itemName = isFunction(itemNameFormatter) ? itemNameFormatter({
111049
111073
  value: i2
111050
111074
  }) : isString(itemNameFormatter) ? itemNameFormatter.replace("{value}", i2 + "") : i2 + "";
111051
- boxData.push([itemName, low, Q1, Q2, Q3, high]);
111075
+ boxData.push([itemName, low2, Q1, Q2, Q3, high]);
111052
111076
  for (var j = 0; j < ascList.length; j++) {
111053
111077
  var dataItem = ascList[j];
111054
- if (dataItem < low || dataItem > high) {
111078
+ if (dataItem < low2 || dataItem > high) {
111055
111079
  var outlier = [itemName, dataItem];
111056
111080
  outliers.push(outlier);
111057
111081
  }