@duxweb/dvha-core 0.1.16 → 0.1.18

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,31 +1,33 @@
1
- import { ref as P, computed as t } from "vue";
2
- import { useInfiniteList as d } from "./data.js";
3
- const w = (e) => new Promise((a) => setTimeout(a, e));
1
+ import { ref as w, computed as u } from "vue";
2
+ import { useInfiniteList as h } from "./data.js";
3
+ const y = (e) => new Promise((a) => setTimeout(a, e));
4
4
  function N(e) {
5
- const a = P(!1), i = t(() => {
6
- const { onSuccess: n, interval: h, maxPage: y, ...x } = e;
7
- return x;
8
- }), o = t(() => e.maxPage || 100), l = t(() => e.interval || 300), { data: u, isLoading: r, fetchNextPage: c, hasNextPage: v, refetch: g, pagination: s } = d({
9
- ...i.value,
5
+ const a = w(!1), o = u(() => {
6
+ const { onSuccess: n, onProgress: i, interval: l, maxPage: v, ...d } = e;
7
+ return d;
8
+ }), c = u(() => e.interval || 300), { data: s, isLoading: g, fetchNextPage: f, hasNextPage: r, refetch: m, pagination: t } = h({
9
+ ...o.value,
10
10
  options: {
11
- ...i.value.options,
11
+ ...o.value.options,
12
12
  enabled: !1
13
13
  }
14
- }), f = async () => {
15
- var n;
14
+ }), P = async () => {
15
+ var n, i, l;
16
16
  if (!a.value)
17
17
  try {
18
- for (a.value = !0, s.value.page = 1, await g(); v.value && s.value.page < o.value; )
19
- l.value > 0 && await w(l.value), await c();
20
- (n = e.onSuccess) == null || n.call(e, u.value);
18
+ a.value = !0, t.value.page = 1, (n = e.onProgress) == null || n.call(e, t.value), await m();
19
+ const v = typeof e.maxPage == "function" ? e.maxPage() : e.maxPage || 100;
20
+ for (; r.value && t.value.page < v; )
21
+ c.value > 0 && await y(c.value), await f(), (i = e.onProgress) == null || i.call(e, t.value);
22
+ (l = e.onSuccess) == null || l.call(e, s.value);
21
23
  } finally {
22
24
  a.value = !1;
23
25
  }
24
- }, m = t(() => r.value || a.value);
26
+ }, x = u(() => g.value || a.value);
25
27
  return {
26
- data: u,
27
- isLoading: m,
28
- trigger: f
28
+ data: s,
29
+ isLoading: x,
30
+ trigger: P
29
31
  };
30
32
  }
31
33
  export {
@@ -6,9 +6,9 @@ import { DuxOverlay as m } from "../components/overlay/overlay.js";
6
6
  import "pinia";
7
7
  import "lodash-es";
8
8
  import "@tanstack/vue-query";
9
+ import "json-2-csv";
9
10
  import "@vueuse/core";
10
11
  import "colorizr";
11
- import "json-2-csv";
12
12
  import "axios";
13
13
  function h() {
14
14
  const r = t(m);
@@ -1,35 +1,47 @@
1
- import { useColorMode as J, useCycleList as K, useStyleTag as P } from "@vueuse/core";
2
- import { watchEffect as Q, computed as h, watch as U, readonly as E } from "vue";
3
- import { useManage as W } from "./manage.js";
4
- import { storeToRefs as X } from "pinia";
1
+ import { useColorMode as Q, useCycleList as W } from "@vueuse/core";
2
+ import { hex2rgb as X } from "colorizr";
3
+ import { storeToRefs as Y } from "pinia";
4
+ import { watchEffect as Z, computed as m, watch as _, readonly as I } from "vue";
5
5
  import "lodash-es";
6
- import { useThemeStore as Y } from "../stores/theme.js";
7
- import { themeColor as Z } from "./themeColor.js";
8
- import { hex2rgb as _, formatCSS as N } from "colorizr";
9
- function le() {
10
- var V, j;
11
- const d = Y(), { mode: M } = X(d), v = J({
12
- storageRef: M
13
- }), g = W(), { state: S, next: I } = K(["dark", "light", "auto"], {
14
- initialValue: v.store.value
6
+ import { useThemeStore as N } from "../stores/theme.js";
7
+ import { useManage as ee } from "./manage.js";
8
+ import { themeColor as te } from "./themeColor.js";
9
+ function de() {
10
+ var V, M;
11
+ const f = N(), { mode: L } = Y(f), C = Q({
12
+ storageRef: L
13
+ }), h = ee(), { state: x, next: O, go: p } = W(["dark", "light", "auto"], {
14
+ initialValue: C.store.value
15
15
  });
16
- Q(() => {
17
- v.value = S.value;
16
+ Z(() => {
17
+ C.value = x.value;
18
18
  });
19
- const f = h(() => {
20
- const { system: t, store: o } = v;
21
- return o.value === "auto" ? t.value === "dark" : o.value === "dark";
22
- }), L = h(() => {
23
- var t, o, e, l, r, i, n, s;
24
- return f.value ? {
25
- logo: (o = (t = g.config) == null ? void 0 : t.theme) == null ? void 0 : o.darkLogo,
26
- banner: (l = (e = g.config) == null ? void 0 : e.theme) == null ? void 0 : l.darkBanner
19
+ const R = (t) => {
20
+ switch (t) {
21
+ case "auto":
22
+ p(2);
23
+ break;
24
+ case "light":
25
+ p(1);
26
+ break;
27
+ case "dark":
28
+ p(0);
29
+ break;
30
+ }
31
+ }, b = m(() => {
32
+ const { system: t, store: e } = C;
33
+ return e.value === "auto" ? t.value === "dark" : e.value === "dark";
34
+ }), z = m(() => {
35
+ var t, e, r, c, i, l, o, s;
36
+ return b.value ? {
37
+ logo: (e = (t = h.config) == null ? void 0 : t.theme) == null ? void 0 : e.darkLogo,
38
+ banner: (c = (r = h.config) == null ? void 0 : r.theme) == null ? void 0 : c.darkBanner
27
39
  } : {
28
- logo: (i = (r = g.config) == null ? void 0 : r.theme) == null ? void 0 : i.logo,
29
- banner: (s = (n = g.config) == null ? void 0 : n.theme) == null ? void 0 : s.banner
40
+ logo: (l = (i = h.config) == null ? void 0 : i.theme) == null ? void 0 : l.logo,
41
+ banner: (s = (o = h.config) == null ? void 0 : o.theme) == null ? void 0 : s.banner
30
42
  };
31
- }), c = { ...{
32
- colors: Z,
43
+ }), n = { ...{
44
+ colors: te,
33
45
  // 色彩类型
34
46
  colorTypes: ["primary", "info", "success", "warning", "error", "gray"],
35
47
  // 色彩色阶
@@ -51,135 +63,170 @@ function le() {
51
63
  border: { base: "200", muted: "200", accented: "300", inverted: "900" }
52
64
  },
53
65
  dark: {
54
- text: { dimmed: "600", muted: "500", toned: "400", base: "300", highlighted: "100", inverted: "black" },
66
+ text: { dimmed: "600", muted: "500", toned: "300", base: "200", highlighted: "100", inverted: "black" },
55
67
  bg: { base: "950", muted: "900", elevated: "800", accented: "700", inverted: "100" },
56
- border: { base: "800", muted: "800", accented: "700", inverted: "100" }
68
+ border: { base: "900", muted: "800", accented: "700", inverted: "100" }
57
69
  }
58
70
  },
59
71
  colorBase: { white: "#ffffff", black: "#000000" }
60
- }, ...(j = (V = g.config) == null ? void 0 : V.theme) == null ? void 0 : j.config }, { colorShades: C, colorTypes: p } = c, m = h(() => d.theme), k = h(() => Object.keys(c.colors)), x = ["default", "hover", "pressed", "focus", "disabled"];
61
- function O() {
62
- return f.value ? c.colorScenes.dark : c.colorScenes.light;
72
+ }, ...(M = (V = h.config) == null ? void 0 : V.theme) == null ? void 0 : M.config }, { colorShades: k, colorTypes: w } = n, g = m(() => f.theme), $ = m(() => Object.keys(n.colors)), T = ["default", "hover", "pressed", "focus", "disabled"];
73
+ function y() {
74
+ return b.value ? n.colorScenes.dark : n.colorScenes.light;
63
75
  }
64
- function w(t, o) {
65
- var r;
66
- const e = O(), l = e.default;
67
- if ((r = e.overrides) != null && r[t]) {
68
- const i = e.overrides[t], n = i == null ? void 0 : i[o];
69
- if (n)
70
- return n;
76
+ function E(t, e) {
77
+ var i;
78
+ const r = y(), c = r.default;
79
+ if ((i = r.overrides) != null && i[t]) {
80
+ const l = r.overrides[t], o = l == null ? void 0 : l[e];
81
+ if (o)
82
+ return o;
71
83
  }
72
- return l[o] || "500";
84
+ return c[e] || "500";
73
85
  }
74
- function T(t, o) {
75
- var l;
76
- const e = m.value[t];
77
- return ((l = c.colors[e]) == null ? void 0 : l[o]) || "";
86
+ function j(t, e) {
87
+ var c;
88
+ const r = g.value[t];
89
+ return ((c = n.colors[r]) == null ? void 0 : c[e]) || "";
78
90
  }
79
- function a(t, o, e) {
80
- const r = (f.value ? c.colorSemantic.dark : c.colorSemantic.light)[t][o];
81
- return r === "white" || r === "black" ? `var(--color-${r})` : `var(--base-color-${e}-${r})`;
91
+ function a(t, e, r) {
92
+ const i = (b.value ? n.colorSemantic.dark : n.colorSemantic.light)[t][e];
93
+ return i === "white" || i === "black" ? `var(--ui-color-${i})` : `var(--base-color-${r}-${i})`;
82
94
  }
83
- function $() {
84
- var r, i;
95
+ const S = (t) => {
96
+ const e = X(t);
97
+ return `${e.r} ${e.g} ${e.b}`;
98
+ };
99
+ function D() {
100
+ var i, l;
85
101
  const t = [];
86
- Object.entries(c.colors).forEach(([n, s]) => {
87
- typeof s == "object" && Object.entries(s).forEach(([u, b]) => {
102
+ Object.entries(n.colors).forEach(([o, s]) => {
103
+ typeof s == "object" && Object.entries(s).forEach(([u, d]) => {
88
104
  try {
89
- const B = _(b), H = N(B, { format: "rgb" });
90
- t.push(`--base-color-${n}-${u}: ${H};`);
105
+ t.push(`--base-color-${o}-${u}: ${S(d)};`);
91
106
  } catch {
92
- t.push(`--base-color-${n}-${u}: ${b};`);
107
+ t.push(`--base-color-${o}-${u}: ${d};`);
93
108
  }
94
109
  });
95
110
  });
96
- const o = [];
97
- p.forEach((n) => {
98
- const s = m.value[n];
99
- C.forEach((u) => {
100
- o.push(`--ui-color-${n}-${u}: var(--base-color-${s}-${u});`);
101
- }), x.forEach((u) => {
102
- const b = w(n, u);
103
- u === "default" ? o.push(`--ui-color-${n}: var(--base-color-${s}-${b});`) : o.push(`--ui-color-${n}-${u}: var(--base-color-${s}-${b});`);
111
+ const e = [];
112
+ w.forEach((o) => {
113
+ const s = g.value[o];
114
+ k.forEach((u) => {
115
+ e.push(`--ui-color-${o}-${u}: var(--base-color-${s}-${u});`);
116
+ }), T.forEach((u) => {
117
+ const d = E(o, u);
118
+ u === "default" ? e.push(`--ui-color-${o}: var(--base-color-${s}-${d});`) : e.push(`--ui-color-${o}-${u}: var(--base-color-${s}-${d});`);
104
119
  });
105
120
  });
106
- const e = m.value.gray, l = [
107
- `--color-white: ${((r = c.colorBase) == null ? void 0 : r.white) || "#ffffff"};`,
108
- `--color-black: ${((i = c.colorBase) == null ? void 0 : i.black) || "#000000"};`,
109
- `--ui-text-dimmed: ${a("text", "dimmed", e)};`,
110
- `--ui-text-muted: ${a("text", "muted", e)};`,
111
- `--ui-text-toned: ${a("text", "toned", e)};`,
112
- `--ui-text: ${a("text", "base", e)};`,
113
- `--ui-text-highlighted: ${a("text", "highlighted", e)};`,
114
- `--ui-text-inverted: ${a("text", "inverted", e)};`,
115
- `--ui-bg: ${a("bg", "base", e)};`,
116
- `--ui-bg-muted: ${a("bg", "muted", e)};`,
117
- `--ui-bg-elevated: ${a("bg", "elevated", e)};`,
118
- `--ui-bg-accented: ${a("bg", "accented", e)};`,
119
- `--ui-bg-inverted: ${a("bg", "inverted", e)};`,
120
- `--ui-border: ${a("border", "base", e)};`,
121
- `--ui-border-muted: ${a("border", "muted", e)};`,
122
- `--ui-border-accented: ${a("border", "accented", e)};`,
123
- `--ui-border-inverted: ${a("border", "inverted", e)};`
121
+ const r = g.value.gray, c = [
122
+ `--ui-color-white: ${S(((i = n.colorBase) == null ? void 0 : i.white) || "#ffffff")};`,
123
+ `--ui-color-black: ${S(((l = n.colorBase) == null ? void 0 : l.black) || "#000000")};`,
124
+ `--ui-text-dimmed: ${a("text", "dimmed", r)};`,
125
+ `--ui-text-muted: ${a("text", "muted", r)};`,
126
+ `--ui-text-toned: ${a("text", "toned", r)};`,
127
+ `--ui-text: ${a("text", "base", r)};`,
128
+ `--ui-text-highlighted: ${a("text", "highlighted", r)};`,
129
+ `--ui-text-inverted: ${a("text", "inverted", r)};`,
130
+ `--ui-bg: ${a("bg", "base", r)};`,
131
+ `--ui-bg-muted: ${a("bg", "muted", r)};`,
132
+ `--ui-bg-elevated: ${a("bg", "elevated", r)};`,
133
+ `--ui-bg-accented: ${a("bg", "accented", r)};`,
134
+ `--ui-bg-inverted: ${a("bg", "inverted", r)};`,
135
+ `--ui-border: ${a("border", "base", r)};`,
136
+ `--ui-border-muted: ${a("border", "muted", r)};`,
137
+ `--ui-border-accented: ${a("border", "accented", r)};`,
138
+ `--ui-border-inverted: ${a("border", "inverted", r)};`
124
139
  ];
125
140
  return `:root {
126
141
  ${t.join(`
127
142
  `)}
128
- ${o.join(`
143
+ ${e.join(`
129
144
  `)}
130
- ${l.join(`
145
+ ${c.join(`
131
146
  `)}
132
147
  }`;
133
148
  }
134
- const { css: y } = P($(), { id: "theme-variables" });
135
- function R() {
136
- d.cssInit || (d.setCssInit(), y.value = $());
149
+ let v = null;
150
+ function B() {
151
+ const t = D();
152
+ v || (v = document.createElement("style"), v.id = "dvha-variables", document.head.appendChild(v)), v.textContent = t;
153
+ }
154
+ function G() {
155
+ f.cssInit || (f.setCssInit(), B());
137
156
  }
138
- U([m, f], () => {
139
- d.cssInit && (y.value = $());
157
+ _([g, b], () => {
158
+ f.cssInit && B();
140
159
  }, { deep: !0, immediate: !1 });
141
- function D(t, o) {
142
- k.value.includes(o) ? d.setThemeColor(t, o) : console.warn(`Color "${o}" is not available`);
160
+ function U(t, e) {
161
+ $.value.includes(e) ? f.setThemeColor(t, e) : console.warn(`Color "${e}" is not available`);
143
162
  }
144
- function G(t) {
145
- d.setThemeColors(t);
163
+ function q(t) {
164
+ f.setThemeColors(t);
146
165
  }
147
- function q() {
148
- d.resetTheme();
166
+ function A() {
167
+ f.resetTheme();
149
168
  }
150
- function z(t, o) {
151
- return T(t, o);
169
+ function F(t, e, r = !1) {
170
+ return r ? `rgb(var(--ui-color-${t}-${e}))` : j(t, e);
152
171
  }
153
- function A(t, o) {
154
- o || (o = "default");
155
- const e = w(t, o);
156
- return T(t, e);
172
+ function H(t, e, r = !1) {
173
+ if (e || (e = "default"), r)
174
+ return e === "default" ? `rgb(var(--ui-color-${t}))` : `rgb(var(--ui-color-${t}-${e}))`;
175
+ const c = E(t, e);
176
+ return j(t, c);
157
177
  }
158
- function F(t, o) {
159
- var i, n, s;
160
- const e = m.value.gray, r = (f.value ? c.colorSemantic.dark : c.colorSemantic.light)[t][o];
161
- return r === "white" ? ((i = c.colorBase) == null ? void 0 : i.white) || "#ffffff" : r === "black" ? ((n = c.colorBase) == null ? void 0 : n.black) || "#000000" : ((s = c.colors[e]) == null ? void 0 : s[r]) || "";
178
+ function J(t, e, r = !1) {
179
+ var o, s, u;
180
+ if (r) {
181
+ let d;
182
+ switch (t) {
183
+ case "text":
184
+ d = e === "base" ? "--ui-text" : `--ui-text-${e}`;
185
+ break;
186
+ case "bg":
187
+ d = e === "base" ? "--ui-bg" : `--ui-bg-${e}`;
188
+ break;
189
+ case "border":
190
+ d = e === "base" ? "--ui-border" : `--ui-border-${e}`;
191
+ break;
192
+ default:
193
+ d = `--ui-${t}-${e}`;
194
+ }
195
+ return `rgb(var(${d}))`;
196
+ }
197
+ const c = g.value.gray, l = (b.value ? n.colorSemantic.dark : n.colorSemantic.light)[t][e];
198
+ return l === "white" ? ((o = n.colorBase) == null ? void 0 : o.white) || "#ffffff" : l === "black" ? ((s = n.colorBase) == null ? void 0 : s.black) || "#000000" : ((u = n.colors[c]) == null ? void 0 : u[l]) || "";
162
199
  }
200
+ const K = m(() => {
201
+ var t;
202
+ return (t = $.value) == null ? void 0 : t.filter((e) => ["slate", "gray", "zinc", "neutral", "stone"].includes(e));
203
+ }), P = m(() => {
204
+ var t;
205
+ return (t = $.value) == null ? void 0 : t.filter((e) => !["slate", "gray", "zinc", "neutral", "stone"].includes(e));
206
+ });
163
207
  return {
164
- toggle: I,
165
- mode: S,
166
- isDark: f,
167
- resources: L,
168
- config: E(c),
169
- colorMapping: E(m),
170
- colors: k,
171
- colorShades: C,
172
- colorTypes: p,
173
- colorScenes: x,
174
- cssInit: R,
175
- cssReset: q,
176
- setColor: D,
177
- setColors: G,
178
- getSceneColor: A,
179
- getShadeColor: z,
180
- getSemanticColor: F
208
+ toggle: O,
209
+ mode: x,
210
+ setMode: R,
211
+ isDark: b,
212
+ resources: z,
213
+ config: I(n),
214
+ colorMapping: I(g),
215
+ colors: $,
216
+ neutralColors: K,
217
+ primaryColors: P,
218
+ colorShades: k,
219
+ colorTypes: w,
220
+ colorScenes: T,
221
+ cssInit: G,
222
+ cssReset: A,
223
+ setColor: U,
224
+ setColors: q,
225
+ getSceneColor: H,
226
+ getShadeColor: F,
227
+ getSemanticColor: J
181
228
  };
182
229
  }
183
230
  export {
184
- le as useTheme
231
+ de as useTheme
185
232
  };
package/dist/esm/index.js CHANGED
@@ -1,100 +1,102 @@
1
1
  import { createDux as o } from "./main.js";
2
2
  import { useCan as u, useCheck as s, useError as p, useForgotPassword as m, useGetAuth as x, useIsLogin as f, useLogin as a, useLogout as i, useRegister as n, useUpdatePassword as d } from "./hooks/auth.js";
3
- import { useConfig as C } from "./hooks/config.js";
4
- import { useClient as v, useCreate as g, useCreateMany as h, useCustom as I, useCustomMutation as L, useDelete as M, useDeleteMany as S, useInfiniteList as T, useInvalidate as c, useList as y, useMany as P, useOne as U, useUpdate as A, useUpdateMany as R } from "./hooks/data.js";
5
- import { useManage as E } from "./hooks/manage.js";
6
- import { useMenu as b } from "./hooks/menu.js";
7
- import { useTheme as k } from "./hooks/theme.js";
8
- import { useOverlay as V } from "./hooks/overlay.js";
9
- import { useI18n as q } from "./hooks/i18n.js";
10
- import { useSelect as B } from "./hooks/select.js";
11
- import { useForm as J } from "./hooks/form.js";
12
- import { useExport as N } from "./hooks/export.js";
13
- import { useImport as W } from "./hooks/import.js";
14
- import { useExportCsv as Y } from "./hooks/exportCsv.js";
15
- import { useImportCsv as _ } from "./hooks/importCsv.js";
16
- import { useUpload as ee } from "./hooks/upload.js";
17
- import { createLocalUploadDriver as oe } from "./hooks/upload/local.js";
18
- import { createS3UploadDriver as ue } from "./hooks/upload/s3.js";
19
- import { themeColor as pe } from "./hooks/themeColor.js";
3
+ import { useConfig as D } from "./hooks/config.js";
4
+ import { useClient as v, useCreate as g, useCreateMany as h, useCustom as I, useCustomMutation as L, useDelete as c, useDeleteMany as M, useInfiniteList as S, useInvalidate as T, useList as y, useMany as P, useOne as U, useUpdate as A, useUpdateMany as R } from "./hooks/data.js";
5
+ import { useExport as E } from "./hooks/export.js";
6
+ import { useExportCsv as b } from "./hooks/exportCsv.js";
7
+ import { useForm as k } from "./hooks/form.js";
8
+ import { useI18n as V } from "./hooks/i18n.js";
9
+ import { useImport as q } from "./hooks/import.js";
10
+ import { useImportCsv as B } from "./hooks/importCsv.js";
11
+ import { useManage as J } from "./hooks/manage.js";
12
+ import { useMenu as N } from "./hooks/menu.js";
13
+ import { useOverlay as W } from "./hooks/overlay.js";
14
+ import { useSelect as Y } from "./hooks/select.js";
15
+ import { useTheme as _ } from "./hooks/theme.js";
16
+ import { themeColor as ee } from "./hooks/themeColor.js";
17
+ import { useUpload as oe } from "./hooks/upload.js";
18
+ import { createLocalUploadDriver as ue } from "./hooks/upload/local.js";
19
+ import { createS3UploadDriver as pe } from "./hooks/upload/s3.js";
20
20
  import { initRouter as xe } from "./router/route.js";
21
21
  import { useAuthStore as ae } from "./stores/auth.js";
22
22
  import { useRouteStore as ne } from "./stores/route.js";
23
23
  import { useTabStore as le } from "./stores/tab.js";
24
- import { useManageStore as De } from "./stores/manage.js";
24
+ import { useManageStore as Ce } from "./stores/manage.js";
25
25
  import { useI18nStore as ge } from "./stores/i18n.js";
26
26
  import { useThemeStore as Ie } from "./stores/theme.js";
27
- import { DuxLogo as Me } from "./components/common/logo.js";
28
- import { default as Te } from "./components/loader/iframe.js";
29
- import { DuxOverlay as ye } from "./components/overlay/overlay.js";
30
- import { DuxCan as Ue } from "./components/auth/can.js";
31
- import { arrayToTree as Re, searchTree as we, treeToArr as Ee } from "./utils/tree.js";
32
- import { themePreset as be } from "./utils/theme.js";
33
- import { DuxAppProvider as ke } from "./provider/app.js";
34
- import { DuxTabRouterView as Ve } from "./provider/tab.js";
35
- import { simpleAuthProvider as qe } from "./preset/authProvider.js";
36
- import { simpleDataProvider as Be } from "./preset/dataProvider.js";
37
- import { i18nProvider as Je } from "./preset/i18nProvider.js";
27
+ import { DuxLogo as ce } from "./components/common/logo.js";
28
+ import { DuxLogoIcon as Se } from "./components/common/icon.js";
29
+ import { default as ye } from "./components/loader/iframe.js";
30
+ import { DuxOverlay as Ue } from "./components/overlay/overlay.js";
31
+ import { DuxCan as Re } from "./components/auth/can.js";
32
+ import { arrayToTree as Ee, searchTree as Oe, treeToArr as be } from "./utils/tree.js";
33
+ import { themePreset as ke } from "./utils/theme.js";
34
+ import { DuxAppProvider as Ve } from "./provider/app.js";
35
+ import { DuxTabRouterView as qe } from "./provider/tab.js";
36
+ import { simpleAuthProvider as Be } from "./preset/authProvider.js";
37
+ import { simpleDataProvider as Je } from "./preset/dataProvider.js";
38
+ import { i18nProvider as Ne } from "./preset/i18nProvider.js";
38
39
  export {
39
- ke as DuxAppProvider,
40
- Ue as DuxCan,
41
- Te as DuxLoaderIframe,
42
- Me as DuxLogo,
43
- ye as DuxOverlay,
44
- Ve as DuxTabRouterView,
45
- Re as arrayToTree,
40
+ Ve as DuxAppProvider,
41
+ Re as DuxCan,
42
+ ye as DuxLoaderIframe,
43
+ ce as DuxLogo,
44
+ Se as DuxLogoIcon,
45
+ Ue as DuxOverlay,
46
+ qe as DuxTabRouterView,
47
+ Ee as arrayToTree,
46
48
  o as createDux,
47
- oe as createLocalUploadDriver,
48
- ue as createS3UploadDriver,
49
- Je as i18nProvider,
49
+ ue as createLocalUploadDriver,
50
+ pe as createS3UploadDriver,
51
+ Ne as i18nProvider,
50
52
  xe as initRouter,
51
- we as searchTree,
52
- qe as simpleAuthProvider,
53
- Be as simpleDataProvider,
54
- pe as themeColor,
55
- be as themePreset,
56
- Ee as treeToArr,
53
+ Oe as searchTree,
54
+ Be as simpleAuthProvider,
55
+ Je as simpleDataProvider,
56
+ ee as themeColor,
57
+ ke as themePreset,
58
+ be as treeToArr,
57
59
  ae as useAuthStore,
58
60
  u as useCan,
59
61
  s as useCheck,
60
62
  v as useClient,
61
- C as useConfig,
63
+ D as useConfig,
62
64
  g as useCreate,
63
65
  h as useCreateMany,
64
66
  I as useCustom,
65
67
  L as useCustomMutation,
66
- M as useDelete,
67
- S as useDeleteMany,
68
+ c as useDelete,
69
+ M as useDeleteMany,
68
70
  p as useError,
69
- N as useExport,
70
- Y as useExportCsv,
71
+ E as useExport,
72
+ b as useExportCsv,
71
73
  m as useForgotPassword,
72
- J as useForm,
74
+ k as useForm,
73
75
  x as useGetAuth,
74
- q as useI18n,
76
+ V as useI18n,
75
77
  ge as useI18nStore,
76
- W as useImport,
77
- _ as useImportCsv,
78
- T as useInfiniteList,
79
- c as useInvalidate,
78
+ q as useImport,
79
+ B as useImportCsv,
80
+ S as useInfiniteList,
81
+ T as useInvalidate,
80
82
  f as useIsLogin,
81
83
  y as useList,
82
84
  a as useLogin,
83
85
  i as useLogout,
84
- E as useManage,
85
- De as useManageStore,
86
+ J as useManage,
87
+ Ce as useManageStore,
86
88
  P as useMany,
87
- b as useMenu,
89
+ N as useMenu,
88
90
  U as useOne,
89
- V as useOverlay,
91
+ W as useOverlay,
90
92
  n as useRegister,
91
93
  ne as useRouteStore,
92
- B as useSelect,
94
+ Y as useSelect,
93
95
  le as useTabStore,
94
- k as useTheme,
96
+ _ as useTheme,
95
97
  Ie as useThemeStore,
96
98
  A as useUpdate,
97
99
  R as useUpdateMany,
98
100
  d as useUpdatePassword,
99
- ee as useUpload
101
+ oe as useUpload
100
102
  };