mooho-base-admin-plus 0.1.3 → 0.1.6

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.
@@ -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
  }
@@ -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: {}
@@ -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
  }