ss-component-new 1.1.19 → 1.1.21

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.
@@ -1,4 +1,4 @@
1
- import { hasInjectionContext as z0, inject as M0, effectScope as H0, ref as j2, markRaw as F, toRaw as J, computed as $2, isRef as Q, isReactive as w2, toRef as v2, getCurrentInstance as _1, reactive as l1, nextTick as K2, watch as V0, unref as o1, getCurrentScope as n1, onScopeDispose as s1, toRefs as J2, defineComponent as _, createElementBlock as l, openBlock as o, createElementVNode as r } from "vue";
1
+ import { hasInjectionContext as M0, inject as z0, effectScope as H0, ref as j2, markRaw as F, toRaw as J, computed as $2, isRef as Q, isReactive as w2, toRef as v2, getCurrentInstance as _1, reactive as l1, nextTick as K2, watch as V0, unref as o1, getCurrentScope as n1, onScopeDispose as s1, toRefs as J2, defineComponent as _, createElementBlock as l, openBlock as o, createElementVNode as r } from "vue";
2
2
  function p2(e, t, a) {
3
3
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, a), a) : (e[t] = a, a);
4
4
  }
@@ -105,7 +105,7 @@ function A0(e, t) {
105
105
  * @license MIT
106
106
  */
107
107
  let W;
108
- const l2 = (e) => W = e, _s = () => z0() && M0(D2) || W, D2 = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
108
+ const l2 = (e) => W = e, _s = () => M0() && z0(D2) || W, D2 = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
109
109
  /* istanbul ignore next */
110
110
  Symbol()
111
111
  );
@@ -196,7 +196,7 @@ function w1(e, t, a, n) {
196
196
  }, 4e4);
197
197
  }
198
198
  }
199
- function z(e, t) {
199
+ function M(e, t) {
200
200
  const a = "🍍 " + e;
201
201
  typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(a, t) : t === "error" ? console.error(a) : t === "warn" ? console.warn(a) : console.log(a);
202
202
  }
@@ -205,29 +205,29 @@ function I2(e) {
205
205
  }
206
206
  function T0() {
207
207
  if (!("clipboard" in navigator))
208
- return z("Your browser doesn't support the Clipboard API", "error"), !0;
208
+ return M("Your browser doesn't support the Clipboard API", "error"), !0;
209
209
  }
210
210
  function O0(e) {
211
- return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (z('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
211
+ return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (M('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
212
212
  }
213
213
  async function x1(e) {
214
214
  if (!T0())
215
215
  try {
216
- await navigator.clipboard.writeText(JSON.stringify(e.state.value)), z("Global state copied to clipboard.");
216
+ await navigator.clipboard.writeText(JSON.stringify(e.state.value)), M("Global state copied to clipboard.");
217
217
  } catch (t) {
218
218
  if (O0(t))
219
219
  return;
220
- z("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
220
+ M("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
221
221
  }
222
222
  }
223
223
  async function y1(e) {
224
224
  if (!T0())
225
225
  try {
226
- E0(e, JSON.parse(await navigator.clipboard.readText())), z("Global state pasted from clipboard.");
226
+ E0(e, JSON.parse(await navigator.clipboard.readText())), M("Global state pasted from clipboard.");
227
227
  } catch (t) {
228
228
  if (O0(t))
229
229
  return;
230
- z("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
230
+ M("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
231
231
  }
232
232
  }
233
233
  async function C1(e) {
@@ -236,11 +236,11 @@ async function C1(e) {
236
236
  type: "text/plain;charset=utf-8"
237
237
  }), "pinia-state.json");
238
238
  } catch (t) {
239
- z("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
239
+ M("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
240
240
  }
241
241
  }
242
242
  let O;
243
- function z1() {
243
+ function M1() {
244
244
  O || (O = document.createElement("input"), O.type = "file", O.accept = ".json");
245
245
  function e() {
246
246
  return new Promise((t, a) => {
@@ -255,15 +255,15 @@ function z1() {
255
255
  }
256
256
  return e;
257
257
  }
258
- async function M1(e) {
258
+ async function z1(e) {
259
259
  try {
260
- const a = await z1()();
260
+ const a = await M1()();
261
261
  if (!a)
262
262
  return;
263
263
  const { text: n, file: s } = a;
264
- E0(e, JSON.parse(n)), z(`Global state imported from "${s.name}".`);
264
+ E0(e, JSON.parse(n)), M(`Global state imported from "${s.name}".`);
265
265
  } catch (t) {
266
- z("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
266
+ M("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
267
267
  }
268
268
  }
269
269
  function E0(e, t) {
@@ -362,7 +362,7 @@ function L1(e, t) {
362
362
  componentStateTypes: m2,
363
363
  app: e
364
364
  }, (a) => {
365
- typeof a.now != "function" && z("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), a.addTimelineLayer({
365
+ typeof a.now != "function" && M("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), a.addTimelineLayer({
366
366
  id: D,
367
367
  label: "Pinia 🍍",
368
368
  color: 15064968
@@ -396,7 +396,7 @@ function L1(e, t) {
396
396
  {
397
397
  icon: "folder_open",
398
398
  action: async () => {
399
- await M1(t), a.sendInspectorTree(H), a.sendInspectorState(H);
399
+ await z1(t), a.sendInspectorTree(H), a.sendInspectorState(H);
400
400
  },
401
401
  tooltip: "Import the state from a JSON file"
402
402
  }
@@ -407,7 +407,7 @@ function L1(e, t) {
407
407
  tooltip: 'Reset the state (with "$reset")',
408
408
  action: (n) => {
409
409
  const s = t._s.get(n);
410
- s ? typeof s.$reset != "function" ? z(`Cannot reset "${n}" store because it doesn't have a "$reset" method implemented.`, "warn") : (s.$reset(), z(`Store "${n}" reset.`)) : z(`Cannot reset "${n}" store because it wasn't found.`, "warn");
410
+ s ? typeof s.$reset != "function" ? M(`Cannot reset "${n}" store because it doesn't have a "$reset" method implemented.`, "warn") : (s.$reset(), M(`Store "${n}" reset.`)) : M(`Cannot reset "${n}" store because it wasn't found.`, "warn");
411
411
  }
412
412
  }
413
413
  ]
@@ -466,7 +466,7 @@ function L1(e, t) {
466
466
  if (n.app === e && n.inspectorId === H) {
467
467
  const c = n.nodeId === d2 ? t : t._s.get(n.nodeId);
468
468
  if (!c)
469
- return z(`store "${n.nodeId}" not found`, "error");
469
+ return M(`store "${n.nodeId}" not found`, "error");
470
470
  const { path: u } = n;
471
471
  I2(c) ? u.unshift("state") : (u.length !== 1 || !c._customProperties.has(u[0]) || u[0] in c.$state) && u.unshift("$state"), K = !1, n.set(c, u, n.state.value), K = !0;
472
472
  }
@@ -474,10 +474,10 @@ function L1(e, t) {
474
474
  if (n.type.startsWith("🍍")) {
475
475
  const s = n.type.replace(/^🍍\s*/, ""), c = t._s.get(s);
476
476
  if (!c)
477
- return z(`store "${s}" not found`, "error");
477
+ return M(`store "${s}" not found`, "error");
478
478
  const { path: u } = n;
479
479
  if (u[0] !== "state")
480
- return z(`Invalid path for store "${s}":
480
+ return M(`Invalid path for store "${s}":
481
481
  ${u}
482
482
  Only state can be modified.`);
483
483
  u[0] = "$state", K = !1, n.set(c, u, n.state.value), K = !0;
@@ -611,8 +611,8 @@ function S1(e, t) {
611
611
  });
612
612
  const { $dispose: c } = t;
613
613
  t.$dispose = () => {
614
- c(), a.notifyComponentUpdate(), a.sendInspectorTree(H), a.sendInspectorState(H), a.getSettings().logStoreChanges && z(`Disposed "${t.$id}" store 🗑`);
615
- }, a.notifyComponentUpdate(), a.sendInspectorTree(H), a.sendInspectorState(H), a.getSettings().logStoreChanges && z(`"${t.$id}" store installed 🆕`);
614
+ c(), a.notifyComponentUpdate(), a.sendInspectorTree(H), a.sendInspectorState(H), a.getSettings().logStoreChanges && M(`Disposed "${t.$id}" store 🗑`);
615
+ }, a.notifyComponentUpdate(), a.sendInspectorTree(H), a.sendInspectorState(H), a.getSettings().logStoreChanges && M(`"${t.$id}" store installed 🆕`);
616
616
  });
617
617
  }
618
618
  let P0 = 0, $;
@@ -725,10 +725,10 @@ function t0(e, t, a, n) {
725
725
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
726
726
  J2(j2(s ? s() : {}).value)
727
727
  ) : J2(a.state.value[e]);
728
- return B(x, c, Object.keys(u || {}).reduce((y, M) => (process.env.NODE_ENV !== "production" && M in x && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${M}" in store "${e}".`), y[M] = F($2(() => {
728
+ return B(x, c, Object.keys(u || {}).reduce((y, z) => (process.env.NODE_ENV !== "production" && z in x && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${z}" in store "${e}".`), y[z] = F($2(() => {
729
729
  l2(a);
730
730
  const C = a._s.get(e);
731
- return u[M].call(C, C);
731
+ return u[z].call(C, C);
732
732
  })), y), {}));
733
733
  }
734
734
  return i = T2(e, d, t, a, n, !0), i;
@@ -742,10 +742,10 @@ function T2(e, t, a = {}, n, s, c) {
742
742
  process.env.NODE_ENV !== "production" && (i.onTrigger = (h) => {
743
743
  d ? C = h : d == !1 && !m._hotUpdating && (Array.isArray(C) ? C.push(h) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
744
744
  });
745
- let d, x, y = [], M = [], C;
745
+ let d, x, y = [], z = [], C;
746
746
  const V = n.state.value[e];
747
747
  !c && !V && (process.env.NODE_ENV === "production" || !s) && (n.state.value[e] = {});
748
- const z2 = j2({});
748
+ const M2 = j2({});
749
749
  let U2;
750
750
  function G2(h) {
751
751
  let v;
@@ -776,9 +776,9 @@ function T2(e, t, a = {}, n, s, c) {
776
776
  } : $0
777
777
  );
778
778
  function t1() {
779
- u.stop(), y = [], M = [], n._s.delete(e);
779
+ u.stop(), y = [], z = [], n._s.delete(e);
780
780
  }
781
- const M2 = (h, v = "") => {
781
+ const z2 = (h, v = "") => {
782
782
  if (X2 in h)
783
783
  return h[b2] = v, h;
784
784
  const w = function() {
@@ -790,7 +790,7 @@ function T2(e, t, a = {}, n, s, c) {
790
790
  function r1(A) {
791
791
  H2.push(A);
792
792
  }
793
- G(M, {
793
+ G(z, {
794
794
  args: b,
795
795
  name: w[b2],
796
796
  store: m,
@@ -810,12 +810,12 @@ function T2(e, t, a = {}, n, s, c) {
810
810
  actions: {},
811
811
  getters: {},
812
812
  state: [],
813
- hotState: z2
813
+ hotState: M2
814
814
  }), W2 = {
815
815
  _p: n,
816
816
  // _s: scope,
817
817
  $id: e,
818
- $onAction: Y2.bind(null, M),
818
+ $onAction: Y2.bind(null, z),
819
819
  $patch: G2,
820
820
  $reset: e1,
821
821
  $subscribe(h, v = {}) {
@@ -840,13 +840,13 @@ function T2(e, t, a = {}, n, s, c) {
840
840
  // setupStore
841
841
  ) : W2);
842
842
  n._s.set(e, m);
843
- const P = (n._a && n._a.runWithContext || O1)(() => n._e.run(() => (u = H0()).run(() => t({ action: M2 }))));
843
+ const P = (n._a && n._a.runWithContext || O1)(() => n._e.run(() => (u = H0()).run(() => t({ action: z2 }))));
844
844
  for (const h in P) {
845
845
  const v = P[h];
846
846
  if (Q(v) && !e0(v) || w2(v))
847
- process.env.NODE_ENV !== "production" && s ? p2(z2.value, h, v2(P, h)) : c || (V && k1(v) && (Q(v) ? v.value = V[h] : S2(v, V[h])), n.state.value[e][h] = v), process.env.NODE_ENV !== "production" && c2.state.push(h);
847
+ process.env.NODE_ENV !== "production" && s ? p2(M2.value, h, v2(P, h)) : c || (V && k1(v) && (Q(v) ? v.value = V[h] : S2(v, V[h])), n.state.value[e][h] = v), process.env.NODE_ENV !== "production" && c2.state.push(h);
848
848
  else if (typeof v == "function") {
849
- const w = process.env.NODE_ENV !== "production" && s ? v : M2(v, h);
849
+ const w = process.env.NODE_ENV !== "production" && s ? v : z2(v, h);
850
850
  P[h] = w, process.env.NODE_ENV !== "production" && (c2.actions[h] = v), p.actions[h] = v;
851
851
  } else process.env.NODE_ENV !== "production" && e0(v) && (c2.getters[h] = c ? (
852
852
  // @ts-expect-error
@@ -855,7 +855,7 @@ function T2(e, t, a = {}, n, s, c) {
855
855
  (P._getters = F([]))).push(h));
856
856
  }
857
857
  if (B(m, P), B(J(m), P), Object.defineProperty(m, "$state", {
858
- get: () => process.env.NODE_ENV !== "production" && s ? z2.value : n.state.value[e],
858
+ get: () => process.env.NODE_ENV !== "production" && s ? M2.value : n.state.value[e],
859
859
  set: (h) => {
860
860
  if (process.env.NODE_ENV !== "production" && s)
861
861
  throw new Error("cannot set hotState");
@@ -877,7 +877,7 @@ function T2(e, t, a = {}, n, s, c) {
877
877
  });
878
878
  for (const v in h._hmrPayload.actions) {
879
879
  const w = h[v];
880
- p2(m, v, M2(w, v));
880
+ p2(m, v, z2(w, v));
881
881
  }
882
882
  for (const v in h._hmrPayload.getters) {
883
883
  const w = h._hmrPayload.getters[v], b = c ? (
@@ -932,24 +932,24 @@ function P1(e, t, a) {
932
932
  else if (s = e, n = e.id, process.env.NODE_ENV !== "production" && typeof n != "string")
933
933
  throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');
934
934
  function u(p, i) {
935
- const d = z0();
935
+ const d = M0();
936
936
  if (p = // in test mode, ignore the argument provided as we can always retrieve a
937
937
  // pinia instance with getActivePinia()
938
- (process.env.NODE_ENV === "test" && W && W._testing ? null : p) || (d ? M0(D2, null) : null), p && l2(p), process.env.NODE_ENV !== "production" && !W)
938
+ (process.env.NODE_ENV === "test" && W && W._testing ? null : p) || (d ? z0(D2, null) : null), p && l2(p), process.env.NODE_ENV !== "production" && !W)
939
939
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
940
940
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
941
941
  This will fail in production.`);
942
942
  p = W, p._s.has(n) || (c ? T2(n, t, s, p) : t0(n, s, p), process.env.NODE_ENV !== "production" && (u._pinia = p));
943
943
  const x = p._s.get(n);
944
944
  if (process.env.NODE_ENV !== "production" && i) {
945
- const y = "__hot:" + n, M = c ? T2(y, t, s, p, !0) : t0(y, B({}, s), p, !0);
946
- i._hotUpdate(M), delete p.state.value[y], p._s.delete(y);
945
+ const y = "__hot:" + n, z = c ? T2(y, t, s, p, !0) : t0(y, B({}, s), p, !0);
946
+ i._hotUpdate(z), delete p.state.value[y], p._s.delete(y);
947
947
  }
948
948
  if (process.env.NODE_ENV !== "production" && j) {
949
949
  const y = _1();
950
950
  if (y && y.proxy && // avoid adding stores that are just built for hot module replacement
951
951
  !i) {
952
- const M = y.proxy, C = "_pStores" in M ? M._pStores : M._pStores = {};
952
+ const z = y.proxy, C = "_pStores" in z ? z._pStores : z._pStores = {};
953
953
  C[n] = x;
954
954
  }
955
955
  }
@@ -1111,10 +1111,10 @@ var y4 = "[object Arguments]";
1111
1111
  function o0(e) {
1112
1112
  return u2(e) && s2(e) == y4;
1113
1113
  }
1114
- var U0 = Object.prototype, C4 = U0.hasOwnProperty, z4 = U0.propertyIsEnumerable, M4 = o0(/* @__PURE__ */ function() {
1114
+ var U0 = Object.prototype, C4 = U0.hasOwnProperty, M4 = U0.propertyIsEnumerable, z4 = o0(/* @__PURE__ */ function() {
1115
1115
  return arguments;
1116
1116
  }()) ? o0 : function(e) {
1117
- return u2(e) && C4.call(e, "callee") && !z4.call(e, "callee");
1117
+ return u2(e) && C4.call(e, "callee") && !M4.call(e, "callee");
1118
1118
  };
1119
1119
  function H4() {
1120
1120
  return !1;
@@ -1138,7 +1138,7 @@ var K0 = typeof exports == "object" && exports && !exports.nodeType && exports,
1138
1138
  }
1139
1139
  }(), u0 = Y && Y.isTypedArray, ee = u0 ? q2(u0) : Y4, te = Object.prototype, ae = te.hasOwnProperty;
1140
1140
  function re(e, t) {
1141
- var a = N2(e), n = !a && M4(e), s = !a && !n && W0(e), c = !a && !n && !s && ee(e), u = a || n || s || c, p = u ? x4(e.length, String) : [], i = p.length;
1141
+ var a = N2(e), n = !a && z4(e), s = !a && !n && W0(e), c = !a && !n && !s && ee(e), u = a || n || s || c, p = u ? x4(e.length, String) : [], i = p.length;
1142
1142
  for (var d in e)
1143
1143
  ae.call(e, d) && !(u && // Safari 9 has enumerable `arguments.length` in strict mode.
1144
1144
  (d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -1213,14 +1213,14 @@ function y2(e, t) {
1213
1213
  return -1;
1214
1214
  }
1215
1215
  var ye = Array.prototype, Ce = ye.splice;
1216
- function ze(e) {
1216
+ function Me(e) {
1217
1217
  var t = this.__data__, a = y2(t, e);
1218
1218
  if (a < 0)
1219
1219
  return !1;
1220
1220
  var n = t.length - 1;
1221
1221
  return a == n ? t.pop() : Ce.call(t, a, 1), --this.size, !0;
1222
1222
  }
1223
- function Me(e) {
1223
+ function ze(e) {
1224
1224
  var t = this.__data__, a = y2(t, e);
1225
1225
  return a < 0 ? void 0 : t[a][1];
1226
1226
  }
@@ -1239,8 +1239,8 @@ function k(e) {
1239
1239
  }
1240
1240
  }
1241
1241
  k.prototype.clear = xe;
1242
- k.prototype.delete = ze;
1243
- k.prototype.get = Me;
1242
+ k.prototype.delete = Me;
1243
+ k.prototype.get = ze;
1244
1244
  k.prototype.has = He;
1245
1245
  k.prototype.set = Ve;
1246
1246
  var n2 = R(T, "Map");
@@ -1396,7 +1396,7 @@ function u6(e, t) {
1396
1396
  var a = R2(e.buffer);
1397
1397
  return new e.constructor(a, e.byteOffset, e.length);
1398
1398
  }
1399
- var c6 = "[object Boolean]", p6 = "[object Date]", v6 = "[object Map]", i6 = "[object Number]", h6 = "[object RegExp]", d6 = "[object Set]", m6 = "[object String]", f6 = "[object Symbol]", g6 = "[object ArrayBuffer]", w6 = "[object DataView]", x6 = "[object Float32Array]", y6 = "[object Float64Array]", C6 = "[object Int8Array]", z6 = "[object Int16Array]", M6 = "[object Int32Array]", H6 = "[object Uint8Array]", V6 = "[object Uint8ClampedArray]", b6 = "[object Uint16Array]", A6 = "[object Uint32Array]";
1399
+ var c6 = "[object Boolean]", p6 = "[object Date]", v6 = "[object Map]", i6 = "[object Number]", h6 = "[object RegExp]", d6 = "[object Set]", m6 = "[object String]", f6 = "[object Symbol]", g6 = "[object ArrayBuffer]", w6 = "[object DataView]", x6 = "[object Float32Array]", y6 = "[object Float64Array]", C6 = "[object Int8Array]", M6 = "[object Int16Array]", z6 = "[object Int32Array]", H6 = "[object Uint8Array]", V6 = "[object Uint8ClampedArray]", b6 = "[object Uint16Array]", A6 = "[object Uint32Array]";
1400
1400
  function B6(e, t, a) {
1401
1401
  var n = e.constructor;
1402
1402
  switch (t) {
@@ -1410,8 +1410,8 @@ function B6(e, t, a) {
1410
1410
  case x6:
1411
1411
  case y6:
1412
1412
  case C6:
1413
- case z6:
1414
1413
  case M6:
1414
+ case z6:
1415
1415
  case H6:
1416
1416
  case V6:
1417
1417
  case b6:
@@ -1474,9 +1474,9 @@ function f2(e, t, a, n, s, c) {
1474
1474
  }) : O6(e) && e.forEach(function(C, V) {
1475
1475
  u.set(V, f2(C, t, a, V, e, c));
1476
1476
  });
1477
- var y = Je, M = p ? void 0 : y(e);
1478
- return u4(M || e, function(C, V) {
1479
- M && (V = C, C = e[V]), m4(u, V, f2(C, t, a, V, e, c));
1477
+ var y = Je, z = p ? void 0 : y(e);
1478
+ return u4(z || e, function(C, V) {
1479
+ z && (V = C, C = e[V]), m4(u, V, f2(C, t, a, V, e, c));
1480
1480
  }), u;
1481
1481
  }
1482
1482
  var o3 = 1, n3 = 4;
@@ -1612,7 +1612,7 @@ var s3 = /* @__PURE__ */ _({
1612
1612
  })
1613
1613
  ]));
1614
1614
  }
1615
- }), z3 = C3, M3 = /* @__PURE__ */ _({
1615
+ }), M3 = C3, z3 = /* @__PURE__ */ _({
1616
1616
  name: "ArrowRightBold",
1617
1617
  __name: "arrow-right-bold",
1618
1618
  setup(e) {
@@ -1626,7 +1626,7 @@ var s3 = /* @__PURE__ */ _({
1626
1626
  })
1627
1627
  ]));
1628
1628
  }
1629
- }), H3 = M3, V3 = /* @__PURE__ */ _({
1629
+ }), H3 = z3, V3 = /* @__PURE__ */ _({
1630
1630
  name: "ArrowRight",
1631
1631
  __name: "arrow-right",
1632
1632
  setup(e) {
@@ -2038,7 +2038,7 @@ var s3 = /* @__PURE__ */ _({
2038
2038
  })
2039
2039
  ]));
2040
2040
  }
2041
- }), zt = Ct, Mt = /* @__PURE__ */ _({
2041
+ }), Mt = Ct, zt = /* @__PURE__ */ _({
2042
2042
  name: "Cellphone",
2043
2043
  __name: "cellphone",
2044
2044
  setup(e) {
@@ -2052,7 +2052,7 @@ var s3 = /* @__PURE__ */ _({
2052
2052
  })
2053
2053
  ]));
2054
2054
  }
2055
- }), Ht = Mt, Vt = /* @__PURE__ */ _({
2055
+ }), Ht = zt, Vt = /* @__PURE__ */ _({
2056
2056
  name: "ChatDotRound",
2057
2057
  __name: "chat-dot-round",
2058
2058
  setup(e) {
@@ -2474,7 +2474,7 @@ var s3 = /* @__PURE__ */ _({
2474
2474
  })
2475
2475
  ]));
2476
2476
  }
2477
- }), z8 = C8, M8 = /* @__PURE__ */ _({
2477
+ }), M8 = C8, z8 = /* @__PURE__ */ _({
2478
2478
  name: "Collection",
2479
2479
  __name: "collection",
2480
2480
  setup(e) {
@@ -2492,7 +2492,7 @@ var s3 = /* @__PURE__ */ _({
2492
2492
  })
2493
2493
  ]));
2494
2494
  }
2495
- }), H8 = M8, V8 = /* @__PURE__ */ _({
2495
+ }), H8 = z8, V8 = /* @__PURE__ */ _({
2496
2496
  name: "Comment",
2497
2497
  __name: "comment",
2498
2498
  setup(e) {
@@ -2904,7 +2904,7 @@ var s3 = /* @__PURE__ */ _({
2904
2904
  })
2905
2905
  ]));
2906
2906
  }
2907
- }), za = Ca, Ma = /* @__PURE__ */ _({
2907
+ }), Ma = Ca, za = /* @__PURE__ */ _({
2908
2908
  name: "Document",
2909
2909
  __name: "document",
2910
2910
  setup(e) {
@@ -2918,7 +2918,7 @@ var s3 = /* @__PURE__ */ _({
2918
2918
  })
2919
2919
  ]));
2920
2920
  }
2921
- }), Ha = Ma, Va = /* @__PURE__ */ _({
2921
+ }), Ha = za, Va = /* @__PURE__ */ _({
2922
2922
  name: "Download",
2923
2923
  __name: "download",
2924
2924
  setup(e) {
@@ -3306,7 +3306,7 @@ var s3 = /* @__PURE__ */ _({
3306
3306
  })
3307
3307
  ]));
3308
3308
  }
3309
- }), zr = Cr, Mr = /* @__PURE__ */ _({
3309
+ }), Mr = Cr, zr = /* @__PURE__ */ _({
3310
3310
  name: "Fries",
3311
3311
  __name: "fries",
3312
3312
  setup(e) {
@@ -3320,7 +3320,7 @@ var s3 = /* @__PURE__ */ _({
3320
3320
  })
3321
3321
  ]));
3322
3322
  }
3323
- }), Hr = Mr, Vr = /* @__PURE__ */ _({
3323
+ }), Hr = zr, Vr = /* @__PURE__ */ _({
3324
3324
  name: "FullScreen",
3325
3325
  __name: "full-screen",
3326
3326
  setup(e) {
@@ -3700,7 +3700,7 @@ var s3 = /* @__PURE__ */ _({
3700
3700
  })
3701
3701
  ]));
3702
3702
  }
3703
- }), z_ = C_, M_ = /* @__PURE__ */ _({
3703
+ }), M_ = C_, z_ = /* @__PURE__ */ _({
3704
3704
  name: "Iphone",
3705
3705
  __name: "iphone",
3706
3706
  setup(e) {
@@ -3714,7 +3714,7 @@ var s3 = /* @__PURE__ */ _({
3714
3714
  })
3715
3715
  ]));
3716
3716
  }
3717
- }), H_ = M_, V_ = /* @__PURE__ */ _({
3717
+ }), H_ = z_, V_ = /* @__PURE__ */ _({
3718
3718
  name: "Key",
3719
3719
  __name: "key",
3720
3720
  setup(e) {
@@ -4136,7 +4136,7 @@ var s3 = /* @__PURE__ */ _({
4136
4136
  })
4137
4137
  ]));
4138
4138
  }
4139
- }), z5 = C5, M5 = /* @__PURE__ */ _({
4139
+ }), M5 = C5, z5 = /* @__PURE__ */ _({
4140
4140
  name: "Monitor",
4141
4141
  __name: "monitor",
4142
4142
  setup(e) {
@@ -4150,7 +4150,7 @@ var s3 = /* @__PURE__ */ _({
4150
4150
  })
4151
4151
  ]));
4152
4152
  }
4153
- }), H5 = M5, V5 = /* @__PURE__ */ _({
4153
+ }), H5 = z5, V5 = /* @__PURE__ */ _({
4154
4154
  name: "MoonNight",
4155
4155
  __name: "moon-night",
4156
4156
  setup(e) {
@@ -4570,7 +4570,7 @@ var s3 = /* @__PURE__ */ _({
4570
4570
  })
4571
4571
  ]));
4572
4572
  }
4573
- }), zl = Cl, Ml = /* @__PURE__ */ _({
4573
+ }), Ml = Cl, zl = /* @__PURE__ */ _({
4574
4574
  name: "PieChart",
4575
4575
  __name: "pie-chart",
4576
4576
  setup(e) {
@@ -4588,7 +4588,7 @@ var s3 = /* @__PURE__ */ _({
4588
4588
  })
4589
4589
  ]));
4590
4590
  }
4591
- }), Hl = Ml, Vl = /* @__PURE__ */ _({
4591
+ }), Hl = zl, Vl = /* @__PURE__ */ _({
4592
4592
  name: "Place",
4593
4593
  __name: "place",
4594
4594
  setup(e) {
@@ -4996,7 +4996,7 @@ var s3 = /* @__PURE__ */ _({
4996
4996
  })
4997
4997
  ]));
4998
4998
  }
4999
- }), Co = yo, zo = /* @__PURE__ */ _({
4999
+ }), Co = yo, Mo = /* @__PURE__ */ _({
5000
5000
  name: "Scissor",
5001
5001
  __name: "scissor",
5002
5002
  setup(e) {
@@ -5010,7 +5010,7 @@ var s3 = /* @__PURE__ */ _({
5010
5010
  })
5011
5011
  ]));
5012
5012
  }
5013
- }), Mo = zo, Ho = /* @__PURE__ */ _({
5013
+ }), zo = Mo, Ho = /* @__PURE__ */ _({
5014
5014
  name: "Search",
5015
5015
  __name: "search",
5016
5016
  setup(e) {
@@ -5404,7 +5404,7 @@ var s3 = /* @__PURE__ */ _({
5404
5404
  })
5405
5405
  ]));
5406
5406
  }
5407
- }), C9 = y9, z9 = /* @__PURE__ */ _({
5407
+ }), C9 = y9, M9 = /* @__PURE__ */ _({
5408
5408
  name: "SuitcaseLine",
5409
5409
  __name: "suitcase-line",
5410
5410
  setup(e) {
@@ -5420,7 +5420,7 @@ var s3 = /* @__PURE__ */ _({
5420
5420
  })
5421
5421
  ]));
5422
5422
  }
5423
- }), M9 = z9, H9 = /* @__PURE__ */ _({
5423
+ }), z9 = M9, H9 = /* @__PURE__ */ _({
5424
5424
  name: "Suitcase",
5425
5425
  __name: "suitcase",
5426
5426
  setup(e) {
@@ -5828,7 +5828,7 @@ var s3 = /* @__PURE__ */ _({
5828
5828
  })
5829
5829
  ]));
5830
5830
  }
5831
- }), zn = Cn, Mn = /* @__PURE__ */ _({
5831
+ }), Mn = Cn, zn = /* @__PURE__ */ _({
5832
5832
  name: "Van",
5833
5833
  __name: "van",
5834
5834
  setup(e) {
@@ -5842,7 +5842,7 @@ var s3 = /* @__PURE__ */ _({
5842
5842
  })
5843
5843
  ]));
5844
5844
  }
5845
- }), Hn = Mn, Vn = /* @__PURE__ */ _({
5845
+ }), Hn = zn, Vn = /* @__PURE__ */ _({
5846
5846
  name: "VideoCameraFilled",
5847
5847
  __name: "video-camera-filled",
5848
5848
  setup(e) {
@@ -6079,7 +6079,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6079
6079
  Apple: d3,
6080
6080
  ArrowDown: w3,
6081
6081
  ArrowDownBold: f3,
6082
- ArrowLeft: z3,
6082
+ ArrowLeft: M3,
6083
6083
  ArrowLeftBold: y3,
6084
6084
  ArrowRight: b3,
6085
6085
  ArrowRightBold: H3,
@@ -6107,7 +6107,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6107
6107
  CaretBottom: ft,
6108
6108
  CaretLeft: wt,
6109
6109
  CaretRight: yt,
6110
- CaretTop: zt,
6110
+ CaretTop: Mt,
6111
6111
  Cellphone: Ht,
6112
6112
  ChatDotRound: bt,
6113
6113
  ChatDotSquare: Bt,
@@ -6135,7 +6135,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6135
6135
  Coin: w8,
6136
6136
  ColdDrink: y8,
6137
6137
  Collection: H8,
6138
- CollectionTag: z8,
6138
+ CollectionTag: M8,
6139
6139
  Comment: b8,
6140
6140
  Compass: B8,
6141
6141
  Connection: S8,
@@ -6162,7 +6162,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6162
6162
  DocumentChecked: fa,
6163
6163
  DocumentCopy: wa,
6164
6164
  DocumentDelete: ya,
6165
- DocumentRemove: za,
6165
+ DocumentRemove: Ma,
6166
6166
  Download: ba,
6167
6167
  Drizzling: Ba,
6168
6168
  Edit: Oa,
@@ -6188,7 +6188,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6188
6188
  FolderRemove: dr,
6189
6189
  Food: wr,
6190
6190
  Football: yr,
6191
- ForkSpoon: zr,
6191
+ ForkSpoon: Mr,
6192
6192
  Fries: Hr,
6193
6193
  FullScreen: br,
6194
6194
  Goblet: kr,
@@ -6215,7 +6215,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6215
6215
  IceCreamSquare: d_,
6216
6216
  IceDrink: w_,
6217
6217
  IceTea: y_,
6218
- InfoFilled: z_,
6218
+ InfoFilled: M_,
6219
6219
  Iphone: H_,
6220
6220
  Key: b_,
6221
6221
  KnifeFork: B_,
@@ -6242,7 +6242,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6242
6242
  Microphone: f5,
6243
6243
  MilkTea: w5,
6244
6244
  Minus: y5,
6245
- Money: z5,
6245
+ Money: M5,
6246
6246
  Monitor: H5,
6247
6247
  Moon: B5,
6248
6248
  MoonNight: b5,
@@ -6267,7 +6267,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6267
6267
  Pear: il,
6268
6268
  Phone: fl,
6269
6269
  PhoneFilled: dl,
6270
- Picture: zl,
6270
+ Picture: Ml,
6271
6271
  PictureFilled: wl,
6272
6272
  PictureRounded: yl,
6273
6273
  PieChart: Hl,
@@ -6296,7 +6296,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6296
6296
  Right: go,
6297
6297
  ScaleToOriginal: xo,
6298
6298
  School: Co,
6299
- Scissor: Mo,
6299
+ Scissor: zo,
6300
6300
  Search: Vo,
6301
6301
  Select: Ao,
6302
6302
  Sell: Lo,
@@ -6324,7 +6324,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6324
6324
  SuccessFilled: x9,
6325
6325
  Sugar: C9,
6326
6326
  Suitcase: V9,
6327
- SuitcaseLine: M9,
6327
+ SuitcaseLine: z9,
6328
6328
  Sunny: A9,
6329
6329
  Sunrise: L9,
6330
6330
  Sunset: T9,
@@ -6348,7 +6348,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6348
6348
  Unlock: dn,
6349
6349
  Upload: wn,
6350
6350
  UploadFilled: fn,
6351
- User: zn,
6351
+ User: Mn,
6352
6352
  UserFilled: yn,
6353
6353
  Van: Hn,
6354
6354
  VideoCamera: Bn,
@@ -6374,11 +6374,19 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6374
6374
  }, cs = /* @__PURE__ */ P1("menuState", {
6375
6375
  state: () => ({
6376
6376
  rawMenu: {},
6377
+ menus: [],
6377
6378
  activeMenuPath: "",
6378
6379
  activeMenuOpenPaths: [],
6379
- systemKey: ""
6380
+ systemKey: "",
6381
+ menuTriggerType: "open"
6380
6382
  }),
6381
6383
  actions: {
6384
+ setMenus(e) {
6385
+ this.menus = e;
6386
+ },
6387
+ setMenuTriggerType(e) {
6388
+ this.menuTriggerType = e;
6389
+ },
6382
6390
  setSystemKey(e) {
6383
6391
  this.systemKey = e;
6384
6392
  },
@@ -6386,7 +6394,7 @@ const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6386
6394
  this.activeMenuPath = e, console.log("setActiveMenuPath:", e);
6387
6395
  },
6388
6396
  setActiveMenuOpenPaths(e) {
6389
- this.activeMenuOpenPaths = e;
6397
+ this.activeMenuOpenPaths = e, console.log("setActiveMenuPath-open:", e);
6390
6398
  },
6391
6399
  setRawMenu(e) {
6392
6400
  this.rawMenu = e;
@@ -6403,7 +6411,7 @@ export {
6403
6411
  ns as c,
6404
6412
  P1 as d,
6405
6413
  N2 as e,
6406
- z_ as f,
6414
+ M_ as f,
6407
6415
  _s as g,
6408
6416
  Xt as h,
6409
6417
  u2 as i,