@duxweb/dvha-pro 1.0.22 → 1.0.23

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,132 +1,132 @@
1
1
  import { useI18n as b, useManage as S, useCustomMutation as D, useDelete as C } from "@duxweb/dvha-core";
2
2
  import { useMessage as I, NButton as j, NDropdown as N } from "naive-ui";
3
- import { h as s } from "vue";
3
+ import { h as o } from "vue";
4
4
  import { useRouter as $ } from "vue-router";
5
5
  import { useDialog as B } from "./dialog.js";
6
6
  import { useDrawer as E } from "./drawer.js";
7
7
  import { useModal as T } from "./modal.js";
8
8
  function Q(n) {
9
- const y = T(), d = E(), o = B(), {
9
+ const y = T(), d = E(), s = B(), {
10
10
  t: c
11
11
  } = b(), a = I(), l = S(), u = $(), v = D({
12
- onSuccess: (e) => {
13
- a.success(e.message || c("common.success"));
12
+ onSuccess: (t) => {
13
+ a.success(t.message || c("common.success"));
14
14
  },
15
- onError: (e) => {
16
- a.error(e.message || c("common.error"));
15
+ onError: (t) => {
16
+ a.error(t.message || c("common.error"));
17
17
  }
18
18
  }), A = C({
19
- onSuccess: (e) => {
20
- a.success(e.message || c("common.success"));
19
+ onSuccess: (t) => {
20
+ a.success(t.message || c("common.success"));
21
21
  },
22
- onError: (e) => {
23
- a.error(e.message || c("common.error"));
22
+ onError: (t) => {
23
+ a.error(t.message || c("common.error"));
24
24
  }
25
- }), g = (n == null ? void 0 : n.path) || l.getPath(), x = (e) => {
26
- var f, k;
27
- const i = c(e.item.title || "", {}, e.item.title), r = c(e.item.label || "", {}, e.item.label);
28
- if (e.item.type === "modal") {
29
- const t = e.item, m = typeof t.componentProps == "function" ? t.componentProps(e.data) : t.componentProps;
25
+ }), h = (n == null ? void 0 : n.path) || l.getPath(), x = (t) => {
26
+ var r, k;
27
+ const i = c(t.item.title || "", {}, t.item.title), f = c(t.item.label || "", {}, t.item.label);
28
+ if (t.item.type === "modal") {
29
+ const e = t.item, m = typeof e.componentProps == "function" ? e.componentProps(t.data) : e.componentProps;
30
30
  y.show({
31
- title: i || r,
32
- component: t.component,
31
+ title: i || f,
32
+ component: e.component,
33
33
  componentProps: {
34
- id: e.id,
34
+ id: t.id,
35
35
  ...m
36
36
  },
37
- width: t.width,
38
- draggable: t.draggable !== void 0 ? t.draggable : !0
37
+ width: e.width,
38
+ draggable: e.draggable !== void 0 ? e.draggable : !0
39
39
  });
40
40
  }
41
- if (e.item.type === "drawer") {
42
- const t = e.item, m = typeof t.componentProps == "function" ? t.componentProps(e.data) : t.componentProps;
41
+ if (t.item.type === "drawer") {
42
+ const e = t.item, m = typeof e.componentProps == "function" ? e.componentProps(t.data) : e.componentProps;
43
43
  d.show({
44
- title: i || r,
45
- component: t.component,
44
+ title: i || f,
45
+ component: e.component,
46
46
  componentProps: {
47
- id: e.id,
47
+ id: t.id,
48
48
  ...m
49
49
  },
50
- width: t.width,
51
- maxWidth: t.maxWidth
50
+ width: e.width,
51
+ maxWidth: e.maxWidth
52
52
  });
53
53
  }
54
- if (e.item.type === "confirm") {
55
- const t = e.item;
56
- o.confirm({
57
- title: i || r,
58
- content: t.content
54
+ if (t.item.type === "confirm") {
55
+ const e = t.item;
56
+ s.confirm({
57
+ title: i || f,
58
+ content: e.content
59
59
  }).then((m) => {
60
- var h;
61
- m && ((h = t.callback) == null || h.call(t, e.id, e.data));
60
+ var g;
61
+ m && ((g = e.callback) == null || g.call(e, t.id, t.data));
62
62
  });
63
63
  }
64
- if (e.item.type === "request") {
65
- const t = e.item;
66
- o.confirm({
67
- title: i || r,
68
- content: t.content
64
+ if (t.item.type === "request") {
65
+ const e = t.item;
66
+ s.confirm({
67
+ title: i || f,
68
+ content: e.content
69
69
  }).then(() => {
70
- const m = typeof t.data == "function" ? t.data(e.id, e.data) : t.data, h = (t.method || "post").toLowerCase(), M = t.path || g;
70
+ const m = typeof e.data == "function" ? e.data(t.id, t.data) : e.data, g = (e.method || "post").toLowerCase(), M = typeof e.path == "function" ? e.path(t.id, t.data) : e.path || h;
71
71
  v.mutate({
72
72
  path: M,
73
- method: h,
73
+ method: g,
74
74
  payload: m
75
75
  });
76
76
  });
77
77
  }
78
- if (e.item.type === "delete") {
79
- const t = e.item;
80
- o.confirm({
81
- title: i || r,
82
- content: t.content
78
+ if (t.item.type === "delete") {
79
+ const e = t.item;
80
+ s.confirm({
81
+ title: i || f,
82
+ content: e.content
83
83
  }).then(() => {
84
84
  A.mutate({
85
- id: e.id,
86
- path: t.path || g
85
+ id: t.id,
86
+ path: typeof e.path == "function" ? e.path(t.id, t.data) : e.path || h
87
87
  });
88
88
  });
89
89
  }
90
- if (e.item.type === "link") {
91
- const t = e.item, m = typeof t.path == "function" ? (f = t.path) == null ? void 0 : f.call(t, e.id, e.data) : l.getRoutePath(e.id ? `${t.path || g}${e.data === void 0 ? "" : `/${e.id}`}` : t.path || g);
90
+ if (t.item.type === "link") {
91
+ const e = t.item, m = typeof e.path == "function" ? (r = e.path) == null ? void 0 : r.call(e, t.id, t.data) : l.getRoutePath(t.id ? `${e.path || h}${t.data === void 0 ? "" : `/${t.id}`}` : e.path || h);
92
92
  u.push(m);
93
93
  }
94
- if (e.item.type === "callback") {
95
- const t = e.item;
96
- (k = t.callback) == null || k.call(t, e.id, e.data);
94
+ if (t.item.type === "callback") {
95
+ const e = t.item;
96
+ (k = e.callback) == null || k.call(e, t.id, t.data);
97
97
  }
98
98
  }, w = W(), P = q();
99
99
  return {
100
100
  target: x,
101
- renderTable: (e) => (i, r) => {
102
- const f = {
103
- id: i[e.key || (n == null ? void 0 : n.key) || "id"],
101
+ renderTable: (t) => (i, f) => {
102
+ const r = {
103
+ id: i[t.key || (n == null ? void 0 : n.key) || "id"],
104
104
  data: i,
105
- index: r,
105
+ index: f,
106
106
  target: x,
107
- text: e.text !== void 0 ? e.text : (n == null ? void 0 : n.text) || !1,
108
- align: e.align !== void 0 ? e.align : (n == null ? void 0 : n.align) || "left"
107
+ text: t.text !== void 0 ? t.text : (n == null ? void 0 : n.text) || !1,
108
+ align: t.align !== void 0 ? t.align : (n == null ? void 0 : n.align) || "left"
109
109
  };
110
- return (e.type || (n == null ? void 0 : n.type)) === "button" ? w.render({
111
- ...f,
112
- action: e || n
110
+ return (t.type || (n == null ? void 0 : n.type)) === "button" ? w.render({
111
+ ...r,
112
+ action: t || n
113
113
  }) : P.render({
114
- ...f,
115
- action: e || n
114
+ ...r,
115
+ action: t || n
116
116
  });
117
117
  },
118
- renderAction: (e) => {
118
+ renderAction: (t) => {
119
119
  const i = {
120
120
  target: x,
121
- text: e.text !== void 0 ? e.text : (n == null ? void 0 : n.text) || !1,
122
- align: e.align !== void 0 ? e.align : (n == null ? void 0 : n.align) || "left"
121
+ text: t.text !== void 0 ? t.text : (n == null ? void 0 : n.text) || !1,
122
+ align: t.align !== void 0 ? t.align : (n == null ? void 0 : n.align) || "left"
123
123
  };
124
- return (e.type || (n == null ? void 0 : n.type)) === "button" ? w.render({
124
+ return (t.type || (n == null ? void 0 : n.type)) === "button" ? w.render({
125
125
  ...i,
126
- action: e || n
126
+ action: t || n
127
127
  }) : P.render({
128
128
  ...i,
129
- action: e || n
129
+ action: t || n
130
130
  });
131
131
  }
132
132
  };
@@ -138,10 +138,10 @@ function W() {
138
138
  return {
139
139
  render: (d) => {
140
140
  var c;
141
- const o = (c = d.action.items) == null ? void 0 : c.filter((a) => {
141
+ const s = (c = d.action.items) == null ? void 0 : c.filter((a) => {
142
142
  var l;
143
143
  return !a.show || ((l = a.show) == null ? void 0 : l.call(a, d.data, d.index));
144
- }).map((a, l) => s(j, {
144
+ }).map((a, l) => o(j, {
145
145
  key: l,
146
146
  type: a.color || (a.type === "delete" ? "error" : "primary"),
147
147
  text: d.text,
@@ -154,13 +154,13 @@ function W() {
154
154
  item: a
155
155
  });
156
156
  },
157
- renderIcon: a.icon ? () => s("div", {
157
+ renderIcon: a.icon ? () => o("div", {
158
158
  class: ["n-icon", a.icon]
159
159
  }) : void 0
160
160
  }, () => n(a.label || "", {}, a.label)));
161
- return s("div", {
161
+ return o("div", {
162
162
  class: ["flex gap-2 flex-wrap items-center", d.align === "right" ? "justify-end" : d.align === "center" ? "justify-center" : "justify-start"]
163
- }, o);
163
+ }, s);
164
164
  }
165
165
  };
166
166
  }
@@ -171,13 +171,13 @@ function q() {
171
171
  return {
172
172
  render: (d) => {
173
173
  var c;
174
- const o = (c = d.action.items) == null ? void 0 : c.filter((a) => {
174
+ const s = (c = d.action.items) == null ? void 0 : c.filter((a) => {
175
175
  var l;
176
176
  return !a.show || ((l = a.show) == null ? void 0 : l.call(a, d.data, d.index));
177
177
  }).map((a, l) => ({
178
178
  label: n(a.label || "", {}, a.label),
179
179
  key: l,
180
- icon: a.icon ? () => s("div", {
180
+ icon: a.icon ? () => o("div", {
181
181
  class: ["n-icon", a.icon]
182
182
  }) : void 0,
183
183
  onSelect: () => {
@@ -189,20 +189,20 @@ function q() {
189
189
  });
190
190
  }
191
191
  }));
192
- return s(N, {
192
+ return o(N, {
193
193
  trigger: "click",
194
- options: o,
194
+ options: s,
195
195
  onSelect: (a, l) => {
196
196
  var u;
197
197
  (u = l == null ? void 0 : l.onSelect) == null || u.call(l);
198
198
  }
199
- }, () => [s("div", {
199
+ }, () => [o("div", {
200
200
  class: ["flex items-center", d.align === "right" ? "justify-end" : d.align === "center" ? "justify-center" : "justify-start"]
201
- }, s(j, {
201
+ }, o(j, {
202
202
  type: "default",
203
203
  text: d.text,
204
204
  secondary: !d.text,
205
- renderIcon: () => s("div", {
205
+ renderIcon: () => o("div", {
206
206
  class: ["n-icon", "i-tabler:dots-vertical"]
207
207
  })
208
208
  }))]);
package/dist/esm/index.js CHANGED
@@ -7,8 +7,8 @@ import { DuxImageCrop as h } from "./components/crop/imageCrop.js";
7
7
  import { DuxImageCropModal as C } from "./components/crop/imageCropModal.js";
8
8
  import { DuxDashboardHello as T } from "./components/dashboard/hello.js";
9
9
  import { DuxDashboardHelloBig as M } from "./components/dashboard/helloBig.js";
10
- import { DuxDashboardQuick as L, DuxDashboardQuickItem as S } from "./components/dashboard/quick.js";
11
- import { DuxDynamicData as F } from "./components/data/dynamicData.js";
10
+ import { DuxDashboardQuick as y, DuxDashboardQuickItem as F } from "./components/dashboard/quick.js";
11
+ import { DuxDynamicData as S } from "./components/data/dynamicData.js";
12
12
  import { DuxDynamicSelect as I } from "./components/data/dynamicSelect.js";
13
13
  import "vue";
14
14
  import "@duxweb/dvha-core";
@@ -18,171 +18,173 @@ import { useDialog as H } from "./hooks/dialog.js";
18
18
  import { useDownload as Q } from "./hooks/download.js";
19
19
  import { useDrawer as z } from "./hooks/drawer.js";
20
20
  import { useEchartBar as W, useEchartCommon as j, useEchartFunnel as q, useEchartLine as G, useEchartMap as J, useEchartPie as K, useEchartRadar as X, useEchartRing as Y, useEchartRose as Z, useEchartTreeMap as _, useEchartType as $ } from "./hooks/echart.js";
21
- import { useImagePreview as ro } from "./hooks/image.js";
22
- import { useLevel as to } from "./hooks/level.js";
23
- import { useModal as uo } from "./hooks/modal.js";
24
- import { useTable as ao } from "./hooks/table.js";
25
- import { useTableColumn as fo } from "./hooks/table/column.js";
26
- import { useTableColumnImage as lo } from "./hooks/table/image.js";
27
- import { useTableColumnMap as io } from "./hooks/table/map.js";
28
- import { useTableColumnMedia as go } from "./hooks/table/media.js";
29
- import { useTableColumnStatus as ho } from "./hooks/table/status.js";
30
- import { useTableColumnSwitch as Co } from "./hooks/table/switch.js";
31
- import { useUI as To } from "./hooks/ui.js";
32
- import { DuxModal as Mo } from "./components/modal/modal.js";
33
- import { default as Lo } from "./components/modal/modalPage.js";
34
- import { default as wo } from "./components/modal/modalTab.js";
35
- import { default as Ao } from "./components/dialog/dialog.js";
36
- import { DuxDrawApps as vo } from "./components/draw/drawApps.js";
37
- import { DuxDrawAuth as Ro } from "./components/draw/drawAuth.js";
38
- import { DuxDrawEmpty as ko } from "./components/draw/drawEmpty.js";
39
- import { DuxDrawEmptyForm as No } from "./components/draw/drawEmptyForm.js";
40
- import { DuxDrawError as Vo } from "./components/draw/drawError.js";
41
- import { default as Oo } from "./components/drawer/drawer.js";
42
- import { DuxDrawerPage as jo } from "./components/drawer/drawerPage.js";
43
- import { DuxAiEditor as Go } from "./components/editor/aiEditor.js";
44
- import { DuxFormItem as Ko } from "./components/form/formItem.js";
45
- import { DuxFormLayout as Yo } from "./components/form/formLayout.js";
46
- import { DuxModalForm as _o } from "./components/form/modalForm.js";
47
- import { DuxPageForm as or } from "./components/form/pageForm.js";
48
- import { DuxSettingForm as er } from "./components/form/settingForm.js";
49
- import { DuxIconPicker as xr } from "./components/icon/icon.js";
21
+ import { useImagePreview as or } from "./hooks/image.js";
22
+ import { useLevel as tr } from "./hooks/level.js";
23
+ import { useModal as ur } from "./hooks/modal.js";
24
+ import { useTable as ar } from "./hooks/table.js";
25
+ import { useTableColumn as fr } from "./hooks/table/column.js";
26
+ import { useTableColumnImage as lr } from "./hooks/table/image.js";
27
+ import { useTableColumnMap as ir } from "./hooks/table/map.js";
28
+ import { useTableColumnMedia as dr } from "./hooks/table/media.js";
29
+ import { useTableColumnStatus as cr } from "./hooks/table/status.js";
30
+ import { useTableColumnSwitch as Pr } from "./hooks/table/switch.js";
31
+ import { useUI as br } from "./hooks/ui.js";
32
+ import { DuxModal as Er } from "./components/modal/modal.js";
33
+ import { default as wr } from "./components/modal/modalPage.js";
34
+ import { default as Fr } from "./components/modal/modalTab.js";
35
+ import { default as Sr } from "./components/dialog/dialog.js";
36
+ import { DuxDrawApps as Ir } from "./components/draw/drawApps.js";
37
+ import { DuxDrawAuth as Br } from "./components/draw/drawAuth.js";
38
+ import { DuxDrawEmpty as Ur } from "./components/draw/drawEmpty.js";
39
+ import { DuxDrawEmptyForm as Hr } from "./components/draw/drawEmptyForm.js";
40
+ import { DuxDrawError as Qr } from "./components/draw/drawError.js";
41
+ import { default as zr } from "./components/drawer/drawer.js";
42
+ import { DuxDrawerPage as Wr } from "./components/drawer/drawerPage.js";
43
+ import { DuxAiEditor as qr } from "./components/editor/aiEditor.js";
44
+ import { DuxDrawerForm as Jr } from "./components/form/drawerForm.js";
45
+ import { DuxFormItem as Xr } from "./components/form/formItem.js";
46
+ import { DuxFormLayout as Zr } from "./components/form/formLayout.js";
47
+ import { DuxModalForm as $r } from "./components/form/modalForm.js";
48
+ import { DuxPageForm as oo } from "./components/form/pageForm.js";
49
+ import { DuxSettingForm as to } from "./components/form/settingForm.js";
50
+ import { DuxIconPicker as uo } from "./components/icon/icon.js";
50
51
  import "@iconify-json/tabler/icons.json";
51
52
  import "@vueuse/core";
52
- import { DuxTableFilter as mr } from "./components/layout/filter.js";
53
- import { DuxFilterLayout as pr } from "./components/layout/filterLayout.js";
54
- import { DuxListLayout as Dr } from "./components/layout/list.js";
55
- import { DuxTableLayout as sr } from "./components/layout/table.js";
56
- import { DuxTableTools as nr } from "./components/layout/tools.js";
57
- import { DuxLevel as gr } from "./components/level/level.js";
58
- import { DuxCardPage as hr } from "./components/list/card.js";
59
- import { DuxListPage as Cr } from "./components/list/list.js";
60
- import { DuxMedia as Tr } from "./components/media/media.js";
61
- import { DuxPanelAlert as Mr } from "./components/panel/alert.js";
62
- import { DuxPanelCard as Lr } from "./components/panel/setting.js";
63
- import { DuxCollapsePanel as wr } from "./components/panel/collapse.js";
64
- import { DuxSelectCard as Ar } from "./components/select/cardSelect.js";
65
- import { DuxStatsNumber as vr } from "./components/stats/number.js";
66
- import { DuxStatsRealTime as Rr } from "./components/stats/realTime.js";
67
- import { DuxBlockEmpty as kr } from "./components/status/blockEmpty.js";
68
- import { DuxListEmpty as Nr } from "./components/status/listEmpty.js";
69
- import { DuxTable as Vr } from "./components/table/table.js";
70
- import { DuxTablePage as Or } from "./components/table/tablePage.js";
71
- import { DuxTreeFilter as jr } from "./components/tree/treeFilter.js";
72
- import { DuxFileUpload as Gr } from "./components/upload/file.js";
73
- import { DuxImageUpload as Kr } from "./components/upload/image.js";
74
- import { default as Yr } from "./components/upload/manager.js";
75
- import { DuxAvatar as _r } from "./components/widget/avatar.js";
76
- import { DuxWidgetConnect as oe } from "./components/widget/connect.js";
77
- import { DuxPlaceholder as ee } from "./components/widget/placeholder.js";
78
- import { DuxCodeEditor as xe } from "./components/code/code.js";
79
- import { DuxAuthLayout as me } from "./pages/authLayout.js";
80
- import { DuxLayout as pe } from "./pages/layout.js";
81
- import { DuxLoginPage as De } from "./pages/login.js";
82
- import { default as se } from "./pages/menu/avatar.js";
83
- import { default as ne } from "./pages/menu/button.js";
84
- import { DuxMenuCmd as ge } from "./pages/menu/cmd.js";
85
- import { DuxMenuMain as he } from "./pages/menu/main.js";
86
- import { DuxMobileMenu as Ce } from "./pages/menu/mobile.js";
87
- import { DuxPage as Te } from "./pages/page.js";
88
- import { DuxPage403 as Me } from "./pages/page403.js";
53
+ import { DuxTableFilter as ao } from "./components/layout/filter.js";
54
+ import { DuxFilterLayout as fo } from "./components/layout/filterLayout.js";
55
+ import { DuxListLayout as lo } from "./components/layout/list.js";
56
+ import { DuxTableLayout as io } from "./components/layout/table.js";
57
+ import { DuxTableTools as go } from "./components/layout/tools.js";
58
+ import { DuxLevel as ho } from "./components/level/level.js";
59
+ import { DuxCardPage as Co } from "./components/list/card.js";
60
+ import { DuxListPage as To } from "./components/list/list.js";
61
+ import { DuxMedia as Mo } from "./components/media/media.js";
62
+ import { DuxPanelAlert as yo } from "./components/panel/alert.js";
63
+ import { DuxPanelCard as Lo } from "./components/panel/setting.js";
64
+ import { DuxCollapsePanel as Ao } from "./components/panel/collapse.js";
65
+ import { DuxSelectCard as vo } from "./components/select/cardSelect.js";
66
+ import { DuxStatsNumber as Ro } from "./components/stats/number.js";
67
+ import { DuxStatsRealTime as ko } from "./components/stats/realTime.js";
68
+ import { DuxBlockEmpty as No } from "./components/status/blockEmpty.js";
69
+ import { DuxListEmpty as Vo } from "./components/status/listEmpty.js";
70
+ import { DuxTable as Oo } from "./components/table/table.js";
71
+ import { DuxTablePage as jo } from "./components/table/tablePage.js";
72
+ import { DuxTreeFilter as Go } from "./components/tree/treeFilter.js";
73
+ import { DuxFileUpload as Ko } from "./components/upload/file.js";
74
+ import { DuxImageUpload as Yo } from "./components/upload/image.js";
75
+ import { default as _o } from "./components/upload/manager.js";
76
+ import { DuxAvatar as re } from "./components/widget/avatar.js";
77
+ import { DuxWidgetConnect as ee } from "./components/widget/connect.js";
78
+ import { DuxPlaceholder as xe } from "./components/widget/placeholder.js";
79
+ import { DuxCodeEditor as me } from "./components/code/code.js";
80
+ import { DuxAuthLayout as pe } from "./pages/authLayout.js";
81
+ import { DuxLayout as De } from "./pages/layout.js";
82
+ import { DuxLoginPage as se } from "./pages/login.js";
83
+ import { default as ne } from "./pages/menu/avatar.js";
84
+ import { default as ge } from "./pages/menu/button.js";
85
+ import { DuxMenuCmd as he } from "./pages/menu/cmd.js";
86
+ import { DuxMenuMain as Ce } from "./pages/menu/main.js";
87
+ import { DuxMobileMenu as Te } from "./pages/menu/mobile.js";
88
+ import { DuxPage as Me } from "./pages/page.js";
89
+ import { DuxPage403 as ye } from "./pages/page403.js";
89
90
  import { DuxPage404 as Le } from "./pages/page404.js";
90
- import { DuxPage500 as we } from "./pages/page500.js";
91
- import { DuxPageEmpty as Ae } from "./pages/pageEmpty.js";
92
- import { DuxPageLoading as ve } from "./pages/pageLoading.js";
93
- import { DuxPageStatus as Re } from "./pages/pageStatus.js";
94
- import { generateRainbowFromColor as ke, getTheme as He } from "./config/echart.js";
95
- import { config as Qe } from "./config/uno.js";
96
- import { initVeeValidate as ze } from "./config/validate.js";
97
- import { default as We } from "./langs/en-US.json.js";
98
- import { default as qe } from "./langs/zh-CN.json.js";
99
- import { createDuxPro as Je } from "./main.js";
100
- import { useUIStore as Xe } from "./stores/ui.js";
101
- import { themeOverrides as Ze } from "./theme/naiveTheme.js";
102
- import { presetTheme as $e } from "./theme/presetTheme.js";
91
+ import { DuxPage500 as Ae } from "./pages/page500.js";
92
+ import { DuxPageEmpty as ve } from "./pages/pageEmpty.js";
93
+ import { DuxPageLoading as Re } from "./pages/pageLoading.js";
94
+ import { DuxPageStatus as ke } from "./pages/pageStatus.js";
95
+ import { generateRainbowFromColor as Ne, getTheme as Qe } from "./config/echart.js";
96
+ import { config as ze } from "./config/uno.js";
97
+ import { initVeeValidate as We } from "./config/validate.js";
98
+ import { default as qe } from "./langs/en-US.json.js";
99
+ import { default as Je } from "./langs/zh-CN.json.js";
100
+ import { createDuxPro as Xe } from "./main.js";
101
+ import { useUIStore as Ze } from "./stores/ui.js";
102
+ import { themeOverrides as $e } from "./theme/naiveTheme.js";
103
+ import { presetTheme as ot } from "./theme/presetTheme.js";
103
104
  export {
104
- Go as DuxAiEditor,
105
+ qr as DuxAiEditor,
105
106
  a as DuxApp,
106
- me as DuxAuthLayout,
107
- _r as DuxAvatar,
108
- kr as DuxBlockEmpty,
107
+ pe as DuxAuthLayout,
108
+ re as DuxAvatar,
109
+ No as DuxBlockEmpty,
109
110
  f as DuxCard,
110
- hr as DuxCardPage,
111
+ Co as DuxCardPage,
111
112
  n as DuxCarousel,
112
113
  g as DuxChart,
113
- xe as DuxCodeEditor,
114
- wr as DuxCollapsePanel,
114
+ me as DuxCodeEditor,
115
+ Ao as DuxCollapsePanel,
115
116
  T as DuxDashboardHello,
116
117
  M as DuxDashboardHelloBig,
117
- L as DuxDashboardQuick,
118
- S as DuxDashboardQuickItem,
119
- Ao as DuxDialog,
120
- vo as DuxDrawApps,
121
- Ro as DuxDrawAuth,
122
- ko as DuxDrawEmpty,
123
- No as DuxDrawEmptyForm,
124
- Vo as DuxDrawError,
125
- Oo as DuxDrawer,
126
- jo as DuxDrawerPage,
127
- F as DuxDynamicData,
118
+ y as DuxDashboardQuick,
119
+ F as DuxDashboardQuickItem,
120
+ Sr as DuxDialog,
121
+ Ir as DuxDrawApps,
122
+ Br as DuxDrawAuth,
123
+ Ur as DuxDrawEmpty,
124
+ Hr as DuxDrawEmptyForm,
125
+ Qr as DuxDrawError,
126
+ zr as DuxDrawer,
127
+ Jr as DuxDrawerForm,
128
+ Wr as DuxDrawerPage,
129
+ S as DuxDynamicData,
128
130
  I as DuxDynamicSelect,
129
- Yr as DuxFileManage,
130
- Gr as DuxFileUpload,
131
- pr as DuxFilterLayout,
132
- Ko as DuxFormItem,
133
- Yo as DuxFormLayout,
134
- xr as DuxIconPicker,
131
+ _o as DuxFileManage,
132
+ Ko as DuxFileUpload,
133
+ fo as DuxFilterLayout,
134
+ Xr as DuxFormItem,
135
+ Zr as DuxFormLayout,
136
+ uo as DuxIconPicker,
135
137
  h as DuxImageCrop,
136
138
  C as DuxImageCropModal,
137
- Kr as DuxImageUpload,
138
- pe as DuxLayout,
139
- gr as DuxLevel,
140
- Nr as DuxListEmpty,
141
- Dr as DuxListLayout,
142
- Cr as DuxListPage,
143
- De as DuxLoginPage,
144
- Tr as DuxMedia,
145
- se as DuxMenuAvatar,
146
- ne as DuxMenuButton,
147
- ge as DuxMenuCmd,
148
- he as DuxMenuMain,
149
- Ce as DuxMobileMenu,
150
- Mo as DuxModal,
151
- _o as DuxModalForm,
152
- Lo as DuxModalPage,
153
- wo as DuxModalTab,
154
- Te as DuxPage,
155
- Me as DuxPage403,
139
+ Yo as DuxImageUpload,
140
+ De as DuxLayout,
141
+ ho as DuxLevel,
142
+ Vo as DuxListEmpty,
143
+ lo as DuxListLayout,
144
+ To as DuxListPage,
145
+ se as DuxLoginPage,
146
+ Mo as DuxMedia,
147
+ ne as DuxMenuAvatar,
148
+ ge as DuxMenuButton,
149
+ he as DuxMenuCmd,
150
+ Ce as DuxMenuMain,
151
+ Te as DuxMobileMenu,
152
+ Er as DuxModal,
153
+ $r as DuxModalForm,
154
+ wr as DuxModalPage,
155
+ Fr as DuxModalTab,
156
+ Me as DuxPage,
157
+ ye as DuxPage403,
156
158
  Le as DuxPage404,
157
- we as DuxPage500,
158
- Ae as DuxPageEmpty,
159
- or as DuxPageForm,
160
- ve as DuxPageLoading,
161
- Re as DuxPageStatus,
162
- Mr as DuxPanelAlert,
163
- Lr as DuxPanelCard,
164
- ee as DuxPlaceholder,
165
- Ar as DuxSelectCard,
166
- er as DuxSettingForm,
167
- vr as DuxStatsNumber,
168
- Rr as DuxStatsRealTime,
159
+ Ae as DuxPage500,
160
+ ve as DuxPageEmpty,
161
+ oo as DuxPageForm,
162
+ Re as DuxPageLoading,
163
+ ke as DuxPageStatus,
164
+ yo as DuxPanelAlert,
165
+ Lo as DuxPanelCard,
166
+ xe as DuxPlaceholder,
167
+ vo as DuxSelectCard,
168
+ to as DuxSettingForm,
169
+ Ro as DuxStatsNumber,
170
+ ko as DuxStatsRealTime,
169
171
  l as DuxStatsStore,
170
172
  s as DuxStatsStoreItem,
171
- Vr as DuxTable,
172
- mr as DuxTableFilter,
173
- sr as DuxTableLayout,
174
- Or as DuxTablePage,
175
- nr as DuxTableTools,
176
- jr as DuxTreeFilter,
177
- oe as DuxWidgetConnect,
178
- Qe as config,
179
- Je as createDuxPro,
180
- We as enUS,
181
- ke as generateRainbowFromColor,
182
- He as getTheme,
183
- ze as initVeeValidate,
184
- $e as presetTheme,
185
- Ze as themeOverrides,
173
+ Oo as DuxTable,
174
+ ao as DuxTableFilter,
175
+ io as DuxTableLayout,
176
+ jo as DuxTablePage,
177
+ go as DuxTableTools,
178
+ Go as DuxTreeFilter,
179
+ ee as DuxWidgetConnect,
180
+ ze as config,
181
+ Xe as createDuxPro,
182
+ qe as enUS,
183
+ Ne as generateRainbowFromColor,
184
+ Qe as getTheme,
185
+ We as initVeeValidate,
186
+ ot as presetTheme,
187
+ $e as themeOverrides,
186
188
  B as useAction,
187
189
  R as useActionButton,
188
190
  U as useActionDropdown,
@@ -200,17 +202,17 @@ export {
200
202
  Z as useEchartRose,
201
203
  _ as useEchartTreeMap,
202
204
  $ as useEchartType,
203
- ro as useImagePreview,
204
- to as useLevel,
205
- uo as useModal,
206
- ao as useTable,
207
- fo as useTableColumn,
208
- lo as useTableColumnImage,
209
- io as useTableColumnMap,
210
- go as useTableColumnMedia,
211
- ho as useTableColumnStatus,
212
- Co as useTableColumnSwitch,
213
- To as useUI,
214
- Xe as useUIStore,
215
- qe as zhCN
205
+ or as useImagePreview,
206
+ tr as useLevel,
207
+ ur as useModal,
208
+ ar as useTable,
209
+ fr as useTableColumn,
210
+ lr as useTableColumnImage,
211
+ ir as useTableColumnMap,
212
+ dr as useTableColumnMedia,
213
+ cr as useTableColumnStatus,
214
+ Pr as useTableColumnSwitch,
215
+ br as useUI,
216
+ Ze as useUIStore,
217
+ Je as zhCN
216
218
  };