@duxweb/dvha-naiveui 1.2.7 → 1.2.8

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 (94) hide show
  1. package/dist/cjs/components/autoComplete/autoComplete.cjs +1 -1
  2. package/dist/cjs/components/cascader/cascader.cjs +1 -1
  3. package/dist/cjs/components/mention/mention.cjs +1 -1
  4. package/dist/cjs/components/select/select.cjs +1 -1
  5. package/dist/cjs/components/transfer/transfer.cjs +1 -1
  6. package/dist/cjs/components/tree/tree.cjs +1 -1
  7. package/dist/cjs/components/treeSelect/treeSelect.cjs +1 -1
  8. package/dist/cjs/hooks/menu.cjs +1 -1
  9. package/dist/cjs/hooks/tab.cjs +1 -1
  10. package/dist/cjs/hooks/table.cjs +1 -1
  11. package/dist/cjs/node_modules/.pnpm/{@overlastic_vue@0.8.7_typescript@5.9.3 → @overlastic_vue@0.8.7_typescript@6.0.2}/node_modules/@overlastic/vue/dist/index.cjs +1 -1
  12. package/dist/cjs/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useBaseQuery.cjs +1 -1
  13. package/dist/cjs/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useMutation.cjs +1 -1
  14. package/dist/cjs/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useQueryClient.cjs +1 -1
  15. package/dist/cjs/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/utils.cjs +1 -1
  16. package/dist/cjs/node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@6.0.2_/node_modules/@vueuse/core/dist/index.cjs +1 -1
  17. package/dist/cjs/node_modules/.pnpm/@vueuse_shared@14.2.1_vue@3.5.31_typescript@6.0.2_/node_modules/@vueuse/shared/dist/index.cjs +1 -1
  18. package/dist/cjs/node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.cjs +5 -1
  19. package/dist/cjs/node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@6.0.2_/node_modules/vue-router/dist/vue-router.cjs +1 -1
  20. package/dist/cjs/packages/core/dist/esm/components/loader/remote/loader.cjs +1 -1
  21. package/dist/cjs/packages/core/dist/esm/components/overlay/overlay.cjs +1 -1
  22. package/dist/cjs/packages/core/dist/esm/hooks/auth.cjs +1 -1
  23. package/dist/cjs/packages/core/dist/esm/hooks/data.cjs +1 -1
  24. package/dist/cjs/packages/core/dist/esm/hooks/importCsv.cjs +1 -1
  25. package/dist/cjs/packages/core/dist/esm/hooks/list.cjs +1 -1
  26. package/dist/cjs/packages/core/dist/esm/hooks/manage.cjs +1 -1
  27. package/dist/cjs/packages/core/dist/esm/hooks/menu.cjs +1 -1
  28. package/dist/cjs/packages/core/dist/esm/hooks/overlay.cjs +1 -1
  29. package/dist/cjs/packages/core/dist/esm/hooks/upload.cjs +1 -1
  30. package/dist/cjs/packages/core/dist/esm/main.cjs +1 -1
  31. package/dist/cjs/packages/core/dist/esm/provider/app.cjs +1 -1
  32. package/dist/cjs/packages/core/dist/esm/stores/auth.cjs +1 -1
  33. package/dist/cjs/packages/core/dist/esm/stores/i18n.cjs +1 -1
  34. package/dist/cjs/packages/core/dist/esm/stores/manage.cjs +1 -1
  35. package/dist/cjs/packages/core/dist/esm/stores/route.cjs +1 -1
  36. package/dist/cjs/packages/core/dist/esm/stores/tab.cjs +1 -1
  37. package/dist/esm/components/autoComplete/autoComplete.js +4 -4
  38. package/dist/esm/components/cascader/cascader.js +4 -4
  39. package/dist/esm/components/mention/mention.js +1 -1
  40. package/dist/esm/components/select/select.js +5 -5
  41. package/dist/esm/components/transfer/transfer.js +1 -1
  42. package/dist/esm/components/tree/tree.js +4 -4
  43. package/dist/esm/components/treeSelect/treeSelect.js +4 -4
  44. package/dist/esm/hooks/menu.js +6 -6
  45. package/dist/esm/hooks/tab.js +4 -4
  46. package/dist/esm/hooks/table.js +6 -6
  47. package/dist/esm/node_modules/.pnpm/{@overlastic_vue@0.8.7_typescript@5.9.3 → @overlastic_vue@0.8.7_typescript@6.0.2}/node_modules/@overlastic/vue/dist/index.js +2 -2
  48. package/dist/esm/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useBaseQuery.js +2 -2
  49. package/dist/esm/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useInfiniteQuery.js +1 -1
  50. package/dist/esm/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useMutation.js +2 -2
  51. package/dist/esm/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useQuery.js +1 -1
  52. package/dist/esm/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useQueryClient.js +2 -2
  53. package/dist/esm/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/utils.js +2 -2
  54. package/dist/esm/node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@6.0.2_/node_modules/@vueuse/core/dist/index.js +101 -19
  55. package/dist/esm/node_modules/.pnpm/@vueuse_shared@14.2.1_vue@3.5.31_typescript@6.0.2_/node_modules/@vueuse/shared/dist/index.js +92 -24
  56. package/dist/esm/node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.js +285 -38
  57. package/dist/esm/node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@6.0.2_/node_modules/vue-router/dist/vue-router.js +4 -1
  58. package/dist/esm/node_modules/.pnpm/{vue3-sfc-loader@0.9.5_lodash@4.17.23_vue@3.5.31_typescript@5.9.3_ → vue3-sfc-loader@0.9.5_lodash@4.17.23_vue@3.5.31_typescript@6.0.2_}/node_modules/vue3-sfc-loader/dist/vue3-sfc-loader.esm.js +1 -1
  59. package/dist/esm/packages/core/dist/esm/components/loader/remote/loader.js +1 -1
  60. package/dist/esm/packages/core/dist/esm/components/overlay/overlay.js +1 -1
  61. package/dist/esm/packages/core/dist/esm/hooks/auth.js +1 -1
  62. package/dist/esm/packages/core/dist/esm/hooks/data.js +3 -3
  63. package/dist/esm/packages/core/dist/esm/hooks/importCsv.js +1 -1
  64. package/dist/esm/packages/core/dist/esm/hooks/list.js +2 -2
  65. package/dist/esm/packages/core/dist/esm/hooks/manage.js +1 -1
  66. package/dist/esm/packages/core/dist/esm/hooks/menu.js +2 -2
  67. package/dist/esm/packages/core/dist/esm/hooks/overlay.js +1 -1
  68. package/dist/esm/packages/core/dist/esm/hooks/upload.js +1 -1
  69. package/dist/esm/packages/core/dist/esm/main.js +1 -1
  70. package/dist/esm/packages/core/dist/esm/provider/app.js +1 -1
  71. package/dist/esm/packages/core/dist/esm/stores/auth.js +1 -1
  72. package/dist/esm/packages/core/dist/esm/stores/i18n.js +1 -1
  73. package/dist/esm/packages/core/dist/esm/stores/manage.js +1 -1
  74. package/dist/esm/packages/core/dist/esm/stores/route.js +1 -1
  75. package/dist/esm/packages/core/dist/esm/stores/tab.js +1 -1
  76. package/dist/types/hooks/tab.d.ts +27 -9
  77. package/package.json +3 -3
  78. package/dist/cjs/node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.cjs +0 -1
  79. package/dist/cjs/node_modules/.pnpm/@vueuse_shared@14.2.1_vue@3.5.31_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.cjs +0 -1
  80. package/dist/cjs/node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3_/node_modules/pinia/dist/pinia.cjs +0 -5
  81. package/dist/cjs/node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@5.9.3_/node_modules/vue-router/dist/devtools-EWN81iOl.cjs +0 -1
  82. package/dist/cjs/node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@5.9.3_/node_modules/vue-router/dist/vue-router.cjs +0 -1
  83. package/dist/esm/node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +0 -89
  84. package/dist/esm/node_modules/.pnpm/@vueuse_shared@14.2.1_vue@3.5.31_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +0 -77
  85. package/dist/esm/node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3_/node_modules/pinia/dist/pinia.js +0 -354
  86. package/dist/esm/node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@5.9.3_/node_modules/vue-router/dist/devtools-EWN81iOl.js +0 -10
  87. package/dist/esm/node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@5.9.3_/node_modules/vue-router/dist/vue-router.js +0 -14
  88. /package/dist/cjs/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useInfiniteQuery.cjs +0 -0
  89. /package/dist/cjs/node_modules/.pnpm/{@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_ → @tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_}/node_modules/@tanstack/vue-query/build/modern/useQuery.cjs +0 -0
  90. /package/dist/cjs/node_modules/.pnpm/{pinia-plugin-persistedstate@4.7.1_pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3__ → pinia-plugin-persistedstate@4.7.1_pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2__}/node_modules/pinia-plugin-persistedstate/dist/index.cjs +0 -0
  91. /package/dist/cjs/node_modules/.pnpm/{vue-demi@0.14.10_vue@3.5.31_typescript@5.9.3_ → vue-demi@0.14.10_vue@3.5.31_typescript@6.0.2_}/node_modules/vue-demi/lib/index.cjs +0 -0
  92. /package/dist/cjs/node_modules/.pnpm/{vue3-sfc-loader@0.9.5_lodash@4.17.23_vue@3.5.31_typescript@5.9.3_ → vue3-sfc-loader@0.9.5_lodash@4.17.23_vue@3.5.31_typescript@6.0.2_}/node_modules/vue3-sfc-loader/dist/vue3-sfc-loader.esm.cjs +0 -0
  93. /package/dist/esm/node_modules/.pnpm/{pinia-plugin-persistedstate@4.7.1_pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3__ → pinia-plugin-persistedstate@4.7.1_pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2__}/node_modules/pinia-plugin-persistedstate/dist/index.js +0 -0
  94. /package/dist/esm/node_modules/.pnpm/{vue-demi@0.14.10_vue@3.5.31_typescript@5.9.3_ → vue-demi@0.14.10_vue@3.5.31_typescript@6.0.2_}/node_modules/vue-demi/lib/index.js +0 -0
@@ -1,26 +1,30 @@
1
- import { isReactive as e, isRef as t, toRaw as n, toRef as r } from "../../../../@vue_reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
2
- import { computed as i } from "../../../../@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
1
+ import { effectScope as e, getCurrentScope as t, isReactive as n, isRef as r, markRaw as i, onScopeDispose as a, reactive as o, ref as s, toRaw as c, toRef as l, toRefs as u } from "../../../../@vue_reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
2
+ import { computed as d, getCurrentInstance as f, hasInjectionContext as p, inject as m, nextTick as h, watch as g } from "../../../../@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
3
  import "../../../../vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
4
  //#region ../../node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.mjs
5
- var a = typeof window < "u";
6
- process.env.NODE_ENV, process.env.NODE_ENV;
7
- var o;
5
+ var _ = typeof window < "u", v, y = (e) => v = e;
6
+ process.env.NODE_ENV;
7
+ var b = process.env.NODE_ENV === "production" ? Symbol() : Symbol("pinia");
8
+ function x(e) {
9
+ return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
10
+ }
11
+ var S;
8
12
  (function(e) {
9
13
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
10
- })(o ||= {});
11
- var s = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
12
- function c(e, { autoBom: t = !1 } = {}) {
14
+ })(S ||= {});
15
+ var C = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
16
+ function w(e, { autoBom: t = !1 } = {}) {
13
17
  return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["", e], { type: e.type }) : e;
14
18
  }
15
- function l(e, t, n) {
19
+ function T(e, t, n) {
16
20
  let r = new XMLHttpRequest();
17
21
  r.open("GET", e), r.responseType = "blob", r.onload = function() {
18
- m(r.response, t, n);
22
+ A(r.response, t, n);
19
23
  }, r.onerror = function() {
20
24
  console.error("could not download file");
21
25
  }, r.send();
22
26
  }
23
- function u(e) {
27
+ function E(e) {
24
28
  let t = new XMLHttpRequest();
25
29
  t.open("HEAD", e, !1);
26
30
  try {
@@ -28,7 +32,7 @@ function u(e) {
28
32
  } catch {}
29
33
  return t.status >= 200 && t.status <= 299;
30
34
  }
31
- function d(e) {
35
+ function D(e) {
32
36
  try {
33
37
  e.dispatchEvent(new MouseEvent("click"));
34
38
  } catch {
@@ -51,29 +55,29 @@ function d(e) {
51
55
  e.dispatchEvent(t);
52
56
  }
53
57
  }
54
- var f = typeof navigator == "object" ? navigator : { userAgent: "" }, p = /Macintosh/.test(f.userAgent) && /AppleWebKit/.test(f.userAgent) && !/Safari/.test(f.userAgent), m = a ? typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !p ? h : "msSaveOrOpenBlob" in f ? g : _ : () => {};
55
- function h(e, t = "download", n) {
58
+ var O = typeof navigator == "object" ? navigator : { userAgent: "" }, k = /Macintosh/.test(O.userAgent) && /AppleWebKit/.test(O.userAgent) && !/Safari/.test(O.userAgent), A = _ ? typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !k ? j : "msSaveOrOpenBlob" in O ? M : N : () => {};
59
+ function j(e, t = "download", n) {
56
60
  let r = document.createElement("a");
57
- r.download = t, r.rel = "noopener", typeof e == "string" ? (r.href = e, r.origin === location.origin ? d(r) : u(r.href) ? l(e, t, n) : (r.target = "_blank", d(r))) : (r.href = URL.createObjectURL(e), setTimeout(function() {
61
+ r.download = t, r.rel = "noopener", typeof e == "string" ? (r.href = e, r.origin === location.origin ? D(r) : E(r.href) ? T(e, t, n) : (r.target = "_blank", D(r))) : (r.href = URL.createObjectURL(e), setTimeout(function() {
58
62
  URL.revokeObjectURL(r.href);
59
63
  }, 4e4), setTimeout(function() {
60
- d(r);
64
+ D(r);
61
65
  }, 0));
62
66
  }
63
- function g(e, t = "download", n) {
64
- if (typeof e == "string") if (u(e)) l(e, t, n);
67
+ function M(e, t = "download", n) {
68
+ if (typeof e == "string") if (E(e)) T(e, t, n);
65
69
  else {
66
70
  let t = document.createElement("a");
67
71
  t.href = e, t.target = "_blank", setTimeout(function() {
68
- d(t);
72
+ D(t);
69
73
  });
70
74
  }
71
- else navigator.msSaveOrOpenBlob(c(e, n), t);
75
+ else navigator.msSaveOrOpenBlob(w(e, n), t);
72
76
  }
73
- function _(e, t, n, r) {
74
- if (r ||= open("", "_blank"), r && (r.document.title = r.document.body.innerText = "downloading..."), typeof e == "string") return l(e, t, n);
75
- let i = e.type === "application/octet-stream", a = /constructor/i.test(String(s.HTMLElement)) || "safari" in s, o = /CriOS\/[\d]+/.test(navigator.userAgent);
76
- if ((o || i && a || p) && typeof FileReader < "u") {
77
+ function N(e, t, n, r) {
78
+ if (r ||= open("", "_blank"), r && (r.document.title = r.document.body.innerText = "downloading..."), typeof e == "string") return T(e, t, n);
79
+ let i = e.type === "application/octet-stream", a = /constructor/i.test(String(C.HTMLElement)) || "safari" in C, o = /CriOS\/[\d]+/.test(navigator.userAgent);
80
+ if ((o || i && a || k) && typeof FileReader < "u") {
77
81
  let t = new FileReader();
78
82
  t.onloadend = function() {
79
83
  let e = t.result;
@@ -87,21 +91,264 @@ function _(e, t, n, r) {
87
91
  }, 4e4);
88
92
  }
89
93
  }
90
- var { assign: v } = Object;
91
- process.env.NODE_ENV;
92
- var { assign: y } = Object;
93
- function b(a) {
94
- let o = n(a), s = {};
95
- for (let n in o) {
96
- let c = o[n];
97
- c.effect ? s[n] = i({
98
- get: () => a[n],
99
- set(e) {
100
- a[n] = e;
94
+ var { assign: P } = Object;
95
+ function F(e, t) {
96
+ for (let i in t) {
97
+ let a = t[i];
98
+ if (!(i in e)) continue;
99
+ let o = e[i];
100
+ x(o) && x(a) && !r(a) && !n(a) ? e[i] = F(o, a) : e[i] = a;
101
+ }
102
+ return e;
103
+ }
104
+ var I = () => {};
105
+ function L(e, n, r, i = I) {
106
+ e.add(n);
107
+ let o = () => {
108
+ e.delete(n) && i();
109
+ };
110
+ return !r && t() && a(o), o;
111
+ }
112
+ function R(e, ...t) {
113
+ e.forEach((e) => {
114
+ e(...t);
115
+ });
116
+ }
117
+ var z = (e) => e(), B = Symbol(), V = Symbol();
118
+ function H(e, t) {
119
+ e instanceof Map && t instanceof Map ? t.forEach((t, n) => e.set(n, t)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
120
+ for (let i in t) {
121
+ if (!t.hasOwnProperty(i)) continue;
122
+ let a = t[i], o = e[i];
123
+ x(o) && x(a) && e.hasOwnProperty(i) && !r(a) && !n(a) ? e[i] = H(o, a) : e[i] = a;
124
+ }
125
+ return e;
126
+ }
127
+ var U = process.env.NODE_ENV === "production" ? Symbol() : Symbol("pinia:skipHydration");
128
+ function W(e) {
129
+ return !x(e) || !Object.prototype.hasOwnProperty.call(e, U);
130
+ }
131
+ var { assign: G } = Object;
132
+ function K(e) {
133
+ return !!(r(e) && e.effect);
134
+ }
135
+ function q(e, t, n, r) {
136
+ let { state: a, actions: o, getters: c } = t, l = n.state.value[e], f;
137
+ function p() {
138
+ !l && (process.env.NODE_ENV === "production" || !r) && (n.state.value[e] = a ? a() : {});
139
+ let t = process.env.NODE_ENV !== "production" && r ? u(s(a ? a() : {}).value) : u(n.state.value[e]);
140
+ return G(t, o, Object.keys(c || {}).reduce((r, a) => (process.env.NODE_ENV !== "production" && a in t && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${a}" in store "${e}".`), r[a] = i(d(() => {
141
+ y(n);
142
+ let t = n._s.get(e);
143
+ return c[a].call(t, t);
144
+ })), r), {}));
145
+ }
146
+ return f = J(e, p, t, n, r, !0), f;
147
+ }
148
+ function J(t, a, u = {}, f, p, m) {
149
+ let v, b = G({ actions: {} }, u);
150
+ /* istanbul ignore if */
151
+ if (process.env.NODE_ENV !== "production" && !f._e.active) throw Error("Pinia destroyed");
152
+ let C = { deep: !0 };
153
+ /* istanbul ignore else */
154
+ process.env.NODE_ENV !== "production" && (C.onTrigger = (e) => {
155
+ /* istanbul ignore else */
156
+ w ? O = e : w == 0 && !Y._hotUpdating && (Array.isArray(O) ? O.push(e) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
157
+ });
158
+ let w, T, E = /* @__PURE__ */ new Set(), D = /* @__PURE__ */ new Set(), O, k = f.state.value[t];
159
+ !m && !k && (process.env.NODE_ENV === "production" || !p) && (f.state.value[t] = {});
160
+ let A = s({}), j;
161
+ function M(e) {
162
+ let n;
163
+ w = T = !1, process.env.NODE_ENV !== "production" && (O = []), typeof e == "function" ? (e(f.state.value[t]), n = {
164
+ type: S.patchFunction,
165
+ storeId: t,
166
+ events: O
167
+ }) : (H(f.state.value[t], e), n = {
168
+ type: S.patchObject,
169
+ payload: e,
170
+ storeId: t,
171
+ events: O
172
+ });
173
+ let r = j = Symbol();
174
+ h().then(() => {
175
+ j === r && (w = !0);
176
+ }), T = !0, R(E, n, f.state.value[t]);
177
+ }
178
+ let N = m ? function() {
179
+ let { state: e } = u, t = e ? e() : {};
180
+ this.$patch((e) => {
181
+ G(e, t);
182
+ });
183
+ } : process.env.NODE_ENV === "production" ? I : () => {
184
+ throw Error(`🍍: Store "${t}" is built using the setup syntax and does not implement $reset().`);
185
+ };
186
+ function P() {
187
+ v.stop(), E.clear(), D.clear(), f._s.delete(t);
188
+ }
189
+ let U = (e, n = "") => {
190
+ if (B in e) return e[V] = n, e;
191
+ let r = function() {
192
+ y(f);
193
+ let n = Array.from(arguments), i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set();
194
+ function o(e) {
195
+ i.add(e);
196
+ }
197
+ function s(e) {
198
+ a.add(e);
199
+ }
200
+ R(D, {
201
+ args: n,
202
+ name: r[V],
203
+ store: Y,
204
+ after: o,
205
+ onError: s
206
+ });
207
+ let c;
208
+ try {
209
+ c = e.apply(this && this.$id === t ? this : Y, n);
210
+ } catch (e) {
211
+ throw R(a, e), e;
212
+ }
213
+ return c instanceof Promise ? c.then((e) => (R(i, e), e)).catch((e) => (R(a, e), Promise.reject(e))) : (R(i, c), c);
214
+ };
215
+ return r[B] = !0, r[V] = n, r;
216
+ }, q = /* @__PURE__ */ i({
217
+ actions: {},
218
+ getters: {},
219
+ state: [],
220
+ hotState: A
221
+ }), J = {
222
+ _p: f,
223
+ $id: t,
224
+ $onAction: L.bind(null, D),
225
+ $patch: M,
226
+ $reset: N,
227
+ $subscribe(e, n = {}) {
228
+ let r = L(E, e, n.detached, () => i()), i = v.run(() => g(() => f.state.value[t], (r) => {
229
+ (n.flush === "sync" ? T : w) && e({
230
+ storeId: t,
231
+ type: S.direct,
232
+ events: O
233
+ }, r);
234
+ }, G({}, C, n)));
235
+ return r;
236
+ },
237
+ $dispose: P
238
+ }, Y = o(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && _ ? G({
239
+ _hmrPayload: q,
240
+ _customProperties: i(/* @__PURE__ */ new Set())
241
+ }, J) : J);
242
+ f._s.set(t, Y);
243
+ let X = (f._a && f._a.runWithContext || z)(() => f._e.run(() => (v = e()).run(() => a({ action: U }))));
244
+ for (let e in X) {
245
+ let a = X[e];
246
+ r(a) && !K(a) || n(a) ? (process.env.NODE_ENV !== "production" && p ? A.value[e] = l(X, e) : m || (k && W(a) && (r(a) ? a.value = k[e] : H(a, k[e])), f.state.value[t][e] = a), process.env.NODE_ENV !== "production" && q.state.push(e)) : typeof a == "function" ? (X[e] = process.env.NODE_ENV !== "production" && p ? a : U(a, e), process.env.NODE_ENV !== "production" && (q.actions[e] = a), b.actions[e] = a) : process.env.NODE_ENV !== "production" && K(a) && (q.getters[e] = m ? u.getters[e] : a, _ && (X._getters ||= i([])).push(e));
247
+ }
248
+ if (G(Y, X), G(c(Y), X), Object.defineProperty(Y, "$state", {
249
+ get: () => process.env.NODE_ENV !== "production" && p ? A.value : f.state.value[t],
250
+ set: (e) => {
251
+ /* istanbul ignore if */
252
+ if (process.env.NODE_ENV !== "production" && p) throw Error("cannot set hotState");
253
+ M((t) => {
254
+ G(t, e);
255
+ });
256
+ }
257
+ }), process.env.NODE_ENV !== "production" && (Y._hotUpdate = i((e) => {
258
+ Y._hotUpdating = !0, e._hmrPayload.state.forEach((t) => {
259
+ if (t in Y.$state) {
260
+ let n = e.$state[t], r = Y.$state[t];
261
+ typeof n == "object" && x(n) && x(r) ? F(n, r) : e.$state[t] = r;
262
+ }
263
+ Y[t] = l(e.$state, t);
264
+ }), Object.keys(Y.$state).forEach((t) => {
265
+ t in e.$state || delete Y[t];
266
+ }), w = !1, T = !1, f.state.value[t] = l(e._hmrPayload, "hotState"), T = !0, h().then(() => {
267
+ w = !0;
268
+ });
269
+ for (let t in e._hmrPayload.actions) {
270
+ let n = e[t];
271
+ Y[t] = U(n, t);
272
+ }
273
+ for (let t in e._hmrPayload.getters) {
274
+ let n = e._hmrPayload.getters[t];
275
+ Y[t] = m ? d(() => (y(f), n.call(Y, Y))) : n;
276
+ }
277
+ Object.keys(Y._hmrPayload.getters).forEach((t) => {
278
+ t in e._hmrPayload.getters || delete Y[t];
279
+ }), Object.keys(Y._hmrPayload.actions).forEach((t) => {
280
+ t in e._hmrPayload.actions || delete Y[t];
281
+ }), Y._hmrPayload = e._hmrPayload, Y._getters = e._getters, Y._hotUpdating = !1;
282
+ })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && _) {
283
+ let e = {
284
+ writable: !0,
285
+ configurable: !0,
286
+ enumerable: !1
287
+ };
288
+ [
289
+ "_p",
290
+ "_hmrPayload",
291
+ "_getters",
292
+ "_customProperties"
293
+ ].forEach((t) => {
294
+ Object.defineProperty(Y, t, G({ value: Y[t] }, e));
295
+ });
296
+ }
297
+ return f._p.forEach((e) => {
298
+ /* istanbul ignore else */
299
+ if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && _) {
300
+ let t = v.run(() => e({
301
+ store: Y,
302
+ app: f._a,
303
+ pinia: f,
304
+ options: b
305
+ }));
306
+ Object.keys(t || {}).forEach((e) => Y._customProperties.add(e)), G(Y, t);
307
+ } else G(Y, v.run(() => e({
308
+ store: Y,
309
+ app: f._a,
310
+ pinia: f,
311
+ options: b
312
+ })));
313
+ }), process.env.NODE_ENV !== "production" && Y.$state && typeof Y.$state == "object" && typeof Y.$state.constructor == "function" && !Y.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
314
+ state: () => new MyClass()
315
+ Found in store "${Y.$id}".`), k && m && u.hydrate && u.hydrate(Y.$state, k), w = !0, T = !0, Y;
316
+ }
317
+ function Y(e, t, n) {
318
+ let r, i = typeof t == "function";
319
+ r = i ? n : t;
320
+ function a(n, o) {
321
+ let s = p();
322
+ if (n = (process.env.NODE_ENV === "test" && v && v._testing ? null : n) || (s ? m(b, null) : null), n && y(n), process.env.NODE_ENV !== "production" && !v) throw Error("[🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"?\nSee https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.\nThis will fail in production.");
323
+ n = v, n._s.has(e) || (i ? J(e, t, r, n) : q(e, r, n), process.env.NODE_ENV !== "production" && (a._pinia = n));
324
+ let c = n._s.get(e);
325
+ if (process.env.NODE_ENV !== "production" && o) {
326
+ let a = "__hot:" + e, s = i ? J(a, t, r, n, !0) : q(a, G({}, r), n, !0);
327
+ o._hotUpdate(s), delete n.state.value[a], n._s.delete(a);
328
+ }
329
+ if (process.env.NODE_ENV !== "production" && _) {
330
+ let t = f();
331
+ if (t && t.proxy && !o) {
332
+ let n = t.proxy, r = "_pStores" in n ? n._pStores : n._pStores = {};
333
+ r[e] = c;
334
+ }
335
+ }
336
+ return c;
337
+ }
338
+ return a.$id = e, a;
339
+ }
340
+ function X(e) {
341
+ let t = c(e), i = {};
342
+ for (let a in t) {
343
+ let o = t[a];
344
+ o.effect ? i[a] = d({
345
+ get: () => e[a],
346
+ set(t) {
347
+ e[a] = t;
101
348
  }
102
- }) : (t(c) || e(c)) && (s[n] = r(a, n));
349
+ }) : (r(o) || n(o)) && (i[a] = l(e, a));
103
350
  }
104
- return s;
351
+ return i;
105
352
  }
106
353
  //#endregion
107
- export { b as storeToRefs };
354
+ export { Y as defineStore, X as storeToRefs };
@@ -109,5 +109,8 @@ var C = (e, t, n) => e ?? t ?? n;
109
109
  function w() {
110
110
  return o(h);
111
111
  }
112
+ function T(e) {
113
+ return o(m);
114
+ }
112
115
  //#endregion
113
- export { y as RouterLink, w as useRouter };
116
+ export { y as RouterLink, T as useRoute, w as useRouter };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/vue3-sfc-loader@0.9.5_lodash@4.17.23_vue@3.5.31_typescript@5.9.3_/node_modules/vue3-sfc-loader/dist/vue3-sfc-loader.esm.js
1
+ //#region ../../node_modules/.pnpm/vue3-sfc-loader@0.9.5_lodash@4.17.23_vue@3.5.31_typescript@6.0.2_/node_modules/vue3-sfc-loader/dist/vue3-sfc-loader.esm.js
2
2
  var e = [
3
3
  (e, t, n) => {
4
4
  Object.defineProperty(t, "__esModule", { value: !0 });
@@ -11,7 +11,7 @@ import { require_dayjs_min as t } from "../../../../../../../node_modules/.pnpm/
11
11
  import "../../../../../../../node_modules/.pnpm/marked@17.0.5/node_modules/marked/lib/marked.esm.js";
12
12
  import "../../../../../../../node_modules/.pnpm/mime@4.1.0/node_modules/mime/dist/src/index.js";
13
13
  import { require_print as n } from "../../../../../../../node_modules/.pnpm/print-js@1.6.0/node_modules/print-js/dist/print.js";
14
- import "../../../../../../../node_modules/.pnpm/vue3-sfc-loader@0.9.5_lodash@4.17.23_vue@3.5.31_typescript@5.9.3_/node_modules/vue3-sfc-loader/dist/vue3-sfc-loader.esm.js";
14
+ import "../../../../../../../node_modules/.pnpm/vue3-sfc-loader@0.9.5_lodash@4.17.23_vue@3.5.31_typescript@6.0.2_/node_modules/vue3-sfc-loader/dist/vue3-sfc-loader.esm.js";
15
15
  import "../../../index.js";
16
16
  e(), t(), n();
17
17
  //#endregion
@@ -1,2 +1,2 @@
1
1
  import "../../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
2
- import "../../../../../../node_modules/.pnpm/@overlastic_vue@0.8.7_typescript@5.9.3/node_modules/@overlastic/vue/dist/index.js";
2
+ import "../../../../../../node_modules/.pnpm/@overlastic_vue@0.8.7_typescript@6.0.2/node_modules/@overlastic/vue/dist/index.js";
@@ -2,7 +2,7 @@ import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modul
2
2
  import { r as e } from "../stores/auth.js";
3
3
  import { r as t } from "../stores/route.js";
4
4
  import "../stores/index.js";
5
- import { useRouter as n } from "../../../../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@5.9.3_/node_modules/vue-router/dist/vue-router.js";
5
+ import { useRouter as n } from "../../../../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@6.0.2_/node_modules/vue-router/dist/vue-router.js";
6
6
  import { i as r } from "./manage.js";
7
7
  //#region ../core/dist/esm/hooks/auth.js
8
8
  function i(i) {
@@ -3,9 +3,9 @@ import { computed as r, watch as i } from "../../../../../node_modules/.pnpm/@vu
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
4
  import { i as a } from "./manage.js";
5
5
  import { d as o, f as s } from "./auth.js";
6
- import { useQuery as c } from "../../../../../node_modules/.pnpm/@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/modern/useQuery.js";
7
- import { useInfiniteQuery as l } from "../../../../../node_modules/.pnpm/@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/modern/useInfiniteQuery.js";
8
- import { useMutation as u } from "../../../../../node_modules/.pnpm/@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@5.9.3_/node_modules/@tanstack/vue-query/build/modern/useMutation.js";
6
+ import { useQuery as c } from "../../../../../node_modules/.pnpm/@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_/node_modules/@tanstack/vue-query/build/modern/useQuery.js";
7
+ import { useInfiniteQuery as l } from "../../../../../node_modules/.pnpm/@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_/node_modules/@tanstack/vue-query/build/modern/useInfiniteQuery.js";
8
+ import { useMutation as u } from "../../../../../node_modules/.pnpm/@tanstack_vue-query@5.95.2_vue@3.5.31_typescript@6.0.2_/node_modules/@tanstack/vue-query/build/modern/useMutation.js";
9
9
  //#region ../core/dist/esm/hooks/data.js
10
10
  function d(l) {
11
11
  let u = a(), d = s(), f = l.providerName || "default", { mutate: p } = o(), m = t(l.pagination ? l.pagination : {
@@ -2,7 +2,7 @@ import { computed as e } from "../../../../../node_modules/.pnpm/@vue_runtime-co
2
2
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
3
3
  import { require_converter as t } from "../../../../../node_modules/.pnpm/json-2-csv@5.5.10/node_modules/json-2-csv/lib/converter.js";
4
4
  import { i as n } from "./import.js";
5
- import { useFileDialog as r } from "../../../../../node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js";
5
+ import { useFileDialog as r } from "../../../../../node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@6.0.2_/node_modules/@vueuse/core/dist/index.js";
6
6
  //#region ../core/dist/esm/hooks/importCsv.js
7
7
  var i = t();
8
8
  function a(t) {
@@ -3,8 +3,8 @@ import { computed as r, watch as i } from "../../../../../node_modules/.pnpm/@vu
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
4
  import { p as a, w as o } from "./data.js";
5
5
  import { r as s } from "./exportCsv.js";
6
- import { reactiveComputed as c } from "../../../../../node_modules/.pnpm/@vueuse_shared@14.2.1_vue@3.5.31_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js";
7
- import { useCountdown as l } from "../../../../../node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js";
6
+ import { reactiveComputed as c } from "../../../../../node_modules/.pnpm/@vueuse_shared@14.2.1_vue@3.5.31_typescript@6.0.2_/node_modules/@vueuse/shared/dist/index.js";
7
+ import { useCountdown as l } from "../../../../../node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@6.0.2_/node_modules/@vueuse/core/dist/index.js";
8
8
  import { i as u } from "./importCsv.js";
9
9
  //#region ../core/dist/esm/hooks/list.js
10
10
  function d(d) {
@@ -3,7 +3,7 @@ import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modul
3
3
  import t from "../../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/trimStart.js";
4
4
  import { o as n } from "../stores/manage.js";
5
5
  import "../stores/index.js";
6
- import { useRoute as r } from "../../../../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@5.9.3_/node_modules/vue-router/dist/vue-router.js";
6
+ import { useRoute as r } from "../../../../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@6.0.2_/node_modules/vue-router/dist/vue-router.js";
7
7
  //#region ../core/dist/esm/hooks/manage.js
8
8
  function i(i) {
9
9
  let a = e("dux.manage");
@@ -1,11 +1,11 @@
1
1
  import { ref as e } from "../../../../../node_modules/.pnpm/@vue_reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
2
2
  import { computed as t, watch as n } from "../../../../../node_modules/.pnpm/@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
- import { storeToRefs as r } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3_/node_modules/pinia/dist/pinia.js";
4
+ import { storeToRefs as r } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.js";
5
5
  import i from "../../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js";
6
6
  import { r as a } from "../stores/route.js";
7
7
  import "../stores/index.js";
8
- import { useRoute as o } from "../../../../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@5.9.3_/node_modules/vue-router/dist/vue-router.js";
8
+ import { useRoute as o } from "../../../../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.31_typescript@6.0.2_/node_modules/vue-router/dist/vue-router.js";
9
9
  import { e as s, t as c } from "../utils/tree.js";
10
10
  import "../utils/index.js";
11
11
  //#region ../core/dist/esm/hooks/menu.js
@@ -1,3 +1,3 @@
1
- import "../../../../../node_modules/.pnpm/@overlastic_vue@0.8.7_typescript@5.9.3/node_modules/@overlastic/vue/dist/index.js";
1
+ import "../../../../../node_modules/.pnpm/@overlastic_vue@0.8.7_typescript@6.0.2/node_modules/@overlastic/vue/dist/index.js";
2
2
  import "../components/overlay/overlay.js";
3
3
  import "../components/index.js";
@@ -2,7 +2,7 @@ import { ref as e } from "../../../../../node_modules/.pnpm/@vue_reactivity@3.5.
2
2
  import { computed as t, watch as n } from "../../../../../node_modules/.pnpm/@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
4
  import r from "../../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniqueId.js";
5
- import { useFileDialog as i } from "../../../../../node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js";
5
+ import { useFileDialog as i } from "../../../../../node_modules/.pnpm/@vueuse_core@14.2.1_vue@3.5.31_typescript@6.0.2_/node_modules/@vueuse/core/dist/index.js";
6
6
  import { t as a } from "./upload/local.js";
7
7
  //#region ../core/dist/esm/hooks/upload.js
8
8
  function o(o) {
@@ -3,4 +3,4 @@ import "./hooks/formValidate.js";
3
3
  import "./hooks/index.js";
4
4
  import "./directive/permission.js";
5
5
  import "./directive/index.js";
6
- import "../../../../node_modules/.pnpm/pinia-plugin-persistedstate@4.7.1_pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3__/node_modules/pinia-plugin-persistedstate/dist/index.js";
6
+ import "../../../../node_modules/.pnpm/pinia-plugin-persistedstate@4.7.1_pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2__/node_modules/pinia-plugin-persistedstate/dist/index.js";
@@ -8,7 +8,7 @@ import "../hooks/manage.js";
8
8
  import "../hooks/auth.js";
9
9
  import "../hooks/config.js";
10
10
  import "../hooks/json.js";
11
- import "../../../../../node_modules/.pnpm/@overlastic_vue@0.8.7_typescript@5.9.3/node_modules/@overlastic/vue/dist/index.js";
11
+ import "../../../../../node_modules/.pnpm/@overlastic_vue@0.8.7_typescript@6.0.2/node_modules/@overlastic/vue/dist/index.js";
12
12
  import "../hooks/index.js";
13
13
  import "../components/status/error.js";
14
14
  import "../components/status/notAuthorized.js";
@@ -1,7 +1,7 @@
1
1
  import { ref as e } from "../../../../../node_modules/.pnpm/@vue_reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
2
2
  import { inject as t } from "../../../../../node_modules/.pnpm/@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
- import { defineStore as n } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3_/node_modules/pinia/dist/pinia.js";
4
+ import { defineStore as n } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.js";
5
5
  //#region ../core/dist/esm/stores/auth.js
6
6
  function r(e) {
7
7
  let n = t("dux.manage");
@@ -1,7 +1,7 @@
1
1
  import { ref as e } from "../../../../../node_modules/.pnpm/@vue_reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
2
2
  import { inject as t } from "../../../../../node_modules/.pnpm/@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
- import { defineStore as n } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3_/node_modules/pinia/dist/pinia.js";
4
+ import { defineStore as n } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.js";
5
5
  //#region ../core/dist/esm/stores/i18n.js
6
6
  function r(e) {
7
7
  let n = t("dux.manage");
@@ -1,7 +1,7 @@
1
1
  import { markRaw as e, ref as t } from "../../../../../node_modules/.pnpm/@vue_reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
2
2
  import { inject as n } from "../../../../../node_modules/.pnpm/@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
- import { defineStore as r } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3_/node_modules/pinia/dist/pinia.js";
4
+ import { defineStore as r } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.js";
5
5
  import i from "../../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js";
6
6
  //#region ../core/dist/esm/stores/manage.js
7
7
  function a(e) {
@@ -1,7 +1,7 @@
1
1
  import { ref as e } from "../../../../../node_modules/.pnpm/@vue_reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
2
2
  import { inject as t } from "../../../../../node_modules/.pnpm/@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
- import { defineStore as n } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3_/node_modules/pinia/dist/pinia.js";
4
+ import { defineStore as n } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.js";
5
5
  //#region ../core/dist/esm/stores/route.js
6
6
  function r(e) {
7
7
  let n = t("dux.manage");
@@ -1,7 +1,7 @@
1
1
  import { ref as e } from "../../../../../node_modules/.pnpm/@vue_reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
2
2
  import { inject as t, nextTick as n } from "../../../../../node_modules/.pnpm/@vue_runtime-core@3.5.31/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
3
  import "../../../../../node_modules/.pnpm/vue@3.5.31_typescript@6.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js";
4
- import { defineStore as r } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.31_typescript@5.9.3_/node_modules/pinia/dist/pinia.js";
4
+ import { defineStore as r } from "../../../../../node_modules/.pnpm/pinia@3.0.4_typescript@6.0.2_vue@3.5.31_typescript@6.0.2_/node_modules/pinia/dist/pinia.js";
5
5
  //#region ../core/dist/esm/stores/tab.js
6
6
  function i(e) {
7
7
  let n = t("dux.manage");
@@ -1,21 +1,39 @@
1
1
  export declare function useNaiveTab(): {
2
- tabs: import("vue").Ref<any, any>;
3
- current: import("vue").Ref<any, any>;
2
+ tabs: import("vue").Ref<import("@duxweb/dvha-core").IMenu[], import("@duxweb/dvha-core").IMenu[]>;
3
+ current: import("vue").Ref<string | undefined, string | undefined>;
4
4
  tabsProps: import("vue").ComputedRef<{
5
- value: any;
6
- defaultValue: any;
5
+ value: string | undefined;
6
+ defaultValue: string;
7
7
  onClose: (value: any) => void;
8
8
  onUpdateValue: (value: any) => void;
9
9
  }>;
10
- $state: import("pinia").StateTree & import("pinia").PiniaCustomStateProperties<import("pinia").StateTree>;
11
- $patch(partialState: import("pinia")._DeepPartial<import("pinia").StateTree>): void;
12
- $patch<F extends (state: import("pinia").StateTree) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
10
+ $state: {
11
+ current: string | undefined;
12
+ tabs: import("@duxweb/dvha-core").IMenu[];
13
+ } & import("pinia").PiniaCustomStateProperties<Pick<import("@duxweb/dvha-core").TabStoreState, "current" | "tabs">>;
14
+ $patch(partialState: import("pinia")._DeepPartial<{
15
+ current: string | undefined;
16
+ tabs: import("@duxweb/dvha-core").IMenu[];
17
+ }>): void;
18
+ $patch<F extends (state: {
19
+ current: string | undefined;
20
+ tabs: import("@duxweb/dvha-core").IMenu[];
21
+ }) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
13
22
  $reset(): void;
14
- $subscribe(callback: import("pinia").SubscriptionCallback<import("pinia").StateTree>, options?: {
23
+ $subscribe(callback: import("pinia").SubscriptionCallback<Pick<import("@duxweb/dvha-core").TabStoreState, "current" | "tabs">>, options?: {
15
24
  detached?: boolean;
16
25
  } & import("vue").WatchOptions): () => void;
17
- $onAction(callback: import("pinia").StoreOnActionListener<string, import("pinia").StateTree, import("pinia")._GettersTree<import("pinia").StateTree>, import("pinia")._ActionsTree>, detached?: boolean): () => void;
26
+ $onAction(callback: import("pinia").StoreOnActionListener<string, Pick<import("@duxweb/dvha-core").TabStoreState, "current" | "tabs">, Pick<import("@duxweb/dvha-core").TabStoreState, never>, Pick<import("@duxweb/dvha-core").TabStoreState, "isTab" | "addTab" | "delTab" | "changeTab" | "delOther" | "delLeft" | "delRight" | "lockTab" | "clearTab">>, detached?: boolean): () => void;
18
27
  $dispose(): void;
19
28
  $id: string;
20
29
  _customProperties: Set<string>;
30
+ isTab: (key: string) => boolean;
31
+ addTab: (item: import("@duxweb/dvha-core").IMenu, cb?: (item: import("@duxweb/dvha-core").IMenu) => void) => void;
32
+ delTab: (key: string, cb?: (item: import("@duxweb/dvha-core").IMenu) => void) => void;
33
+ changeTab: (key: string, cb?: (item: import("@duxweb/dvha-core").IMenu) => void) => void;
34
+ delOther: (key: string, cb?: () => void) => void;
35
+ delLeft: (key: string, cb?: () => void) => void;
36
+ delRight: (key: string, cb?: () => void) => void;
37
+ lockTab: (key: string) => void;
38
+ clearTab: () => void;
21
39
  };