@duxweb/dvha-core 0.1.17 → 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 H, useCycleList as J, useStyleTag as K } from "@vueuse/core";
2
- import { hex2rgb as P } from "colorizr";
3
- import { storeToRefs as Q } from "pinia";
4
- import { watchEffect as U, computed as h, watch as W, readonly as E } from "vue";
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 X } from "../stores/theme.js";
7
- import { useManage as Y } from "./manage.js";
8
- import { themeColor as Z } from "./themeColor.js";
9
- function ie() {
10
- var V, B;
11
- const d = X(), { mode: M } = Q(d), v = H({
12
- storageRef: M
13
- }), g = Y(), { state: C, next: I } = J(["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
- U(() => {
17
- v.value = C.value;
16
+ Z(() => {
17
+ C.value = x.value;
18
18
  });
19
- const f = h(() => {
20
- const { system: t, store: e } = v;
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;
21
33
  return e.value === "auto" ? t.value === "dark" : e.value === "dark";
22
- }), L = h(() => {
23
- var t, e, o, s, r, i, n, l;
24
- return f.value ? {
25
- logo: (e = (t = g.config) == null ? void 0 : t.theme) == null ? void 0 : e.darkLogo,
26
- banner: (s = (o = g.config) == null ? void 0 : o.theme) == null ? void 0 : s.darkBanner
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: (l = (n = g.config) == null ? void 0 : n.theme) == null ? void 0 : l.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,138 +63,170 @@ function ie() {
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
- }, ...(B = (V = g.config) == null ? void 0 : V.theme) == null ? void 0 : B.config }, { colorShades: S, colorTypes: k } = c, m = h(() => d.theme), x = h(() => Object.keys(c.colors)), w = ["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 T(t, e) {
65
- var r;
66
- const o = O(), s = o.default;
67
- if ((r = o.overrides) != null && r[t]) {
68
- const i = o.overrides[t], n = i == null ? void 0 : i[e];
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 s[e] || "500";
84
+ return c[e] || "500";
73
85
  }
74
- function y(t, e) {
75
- var s;
76
- const o = m.value[t];
77
- return ((s = c.colors[o]) == null ? void 0 : s[e]) || "";
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, e, o) {
80
- const r = (f.value ? c.colorSemantic.dark : c.colorSemantic.light)[t][e];
81
- return r === "white" || r === "black" ? `var(--color-${r})` : `var(--base-color-${o}-${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
- const $ = (t) => {
84
- const e = P(t);
95
+ const S = (t) => {
96
+ const e = X(t);
85
97
  return `${e.r} ${e.g} ${e.b}`;
86
98
  };
87
- function p() {
88
- var r, i;
99
+ function D() {
100
+ var i, l;
89
101
  const t = [];
90
- Object.entries(c.colors).forEach(([n, l]) => {
91
- typeof l == "object" && Object.entries(l).forEach(([u, b]) => {
102
+ Object.entries(n.colors).forEach(([o, s]) => {
103
+ typeof s == "object" && Object.entries(s).forEach(([u, d]) => {
92
104
  try {
93
- t.push(`--base-color-${n}-${u}: ${$(b)};`);
105
+ t.push(`--base-color-${o}-${u}: ${S(d)};`);
94
106
  } catch {
95
- t.push(`--base-color-${n}-${u}: ${b};`);
107
+ t.push(`--base-color-${o}-${u}: ${d};`);
96
108
  }
97
109
  });
98
110
  });
99
111
  const e = [];
100
- k.forEach((n) => {
101
- const l = m.value[n];
102
- S.forEach((u) => {
103
- e.push(`--ui-color-${n}-${u}: var(--base-color-${l}-${u});`);
104
- }), w.forEach((u) => {
105
- const b = T(n, u);
106
- u === "default" ? e.push(`--ui-color-${n}: var(--base-color-${l}-${b});`) : e.push(`--ui-color-${n}-${u}: var(--base-color-${l}-${b});`);
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});`);
107
119
  });
108
120
  });
109
- const o = m.value.gray, s = [
110
- `--color-white: ${$(((r = c.colorBase) == null ? void 0 : r.white) || "#ffffff")};`,
111
- `--color-black: ${$(((i = c.colorBase) == null ? void 0 : i.black) || "#000000")};`,
112
- `--ui-text-dimmed: ${a("text", "dimmed", o)};`,
113
- `--ui-text-muted: ${a("text", "muted", o)};`,
114
- `--ui-text-toned: ${a("text", "toned", o)};`,
115
- `--ui-text: ${a("text", "base", o)};`,
116
- `--ui-text-highlighted: ${a("text", "highlighted", o)};`,
117
- `--ui-text-inverted: ${a("text", "inverted", o)};`,
118
- `--ui-bg: ${a("bg", "base", o)};`,
119
- `--ui-bg-muted: ${a("bg", "muted", o)};`,
120
- `--ui-bg-elevated: ${a("bg", "elevated", o)};`,
121
- `--ui-bg-accented: ${a("bg", "accented", o)};`,
122
- `--ui-bg-inverted: ${a("bg", "inverted", o)};`,
123
- `--ui-border: ${a("border", "base", o)};`,
124
- `--ui-border-muted: ${a("border", "muted", o)};`,
125
- `--ui-border-accented: ${a("border", "accented", o)};`,
126
- `--ui-border-inverted: ${a("border", "inverted", o)};`
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)};`
127
139
  ];
128
140
  return `:root {
129
141
  ${t.join(`
130
142
  `)}
131
143
  ${e.join(`
132
144
  `)}
133
- ${s.join(`
145
+ ${c.join(`
134
146
  `)}
135
147
  }`;
136
148
  }
137
- const { css: j } = K(p(), { id: "theme-variables" });
138
- function R() {
139
- d.cssInit || (d.setCssInit(), j.value = p());
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());
140
156
  }
141
- W([m, f], () => {
142
- d.cssInit && (j.value = p());
157
+ _([g, b], () => {
158
+ f.cssInit && B();
143
159
  }, { deep: !0, immediate: !1 });
144
- function D(t, e) {
145
- x.value.includes(e) ? d.setThemeColor(t, e) : console.warn(`Color "${e}" is not available`);
160
+ function U(t, e) {
161
+ $.value.includes(e) ? f.setThemeColor(t, e) : console.warn(`Color "${e}" is not available`);
146
162
  }
147
- function G(t) {
148
- d.setThemeColors(t);
163
+ function q(t) {
164
+ f.setThemeColors(t);
149
165
  }
150
- function q() {
151
- d.resetTheme();
166
+ function A() {
167
+ f.resetTheme();
152
168
  }
153
- function z(t, e) {
154
- return y(t, e);
169
+ function F(t, e, r = !1) {
170
+ return r ? `rgb(var(--ui-color-${t}-${e}))` : j(t, e);
155
171
  }
156
- function A(t, e) {
157
- e || (e = "default");
158
- const o = T(t, e);
159
- return y(t, o);
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);
160
177
  }
161
- function F(t, e) {
162
- var i, n;
163
- const o = m.value.gray, r = (f.value ? c.colorSemantic.dark : c.colorSemantic.light)[t][e];
164
- return r === "white" ? "#ffffff" : r === "black" ? ((i = c.colorBase) == null ? void 0 : i.black) || "#000000" : ((n = c.colors[o]) == null ? void 0 : n[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]) || "";
165
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
+ });
166
207
  return {
167
- toggle: I,
168
- mode: C,
169
- isDark: f,
170
- resources: L,
171
- config: E(c),
172
- colorMapping: E(m),
173
- colors: x,
174
- colorShades: S,
175
- colorTypes: k,
176
- colorScenes: w,
177
- cssInit: R,
178
- cssReset: q,
179
- setColor: D,
180
- setColors: G,
181
- getSceneColor: A,
182
- getShadeColor: z,
183
- 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
184
228
  };
185
229
  }
186
230
  export {
187
- ie as useTheme
231
+ de as useTheme
188
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
  };