@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.
- package/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/drawer/drawerPage.cjs +1 -1
- package/dist/cjs/components/form/drawerForm.cjs +1 -0
- package/dist/cjs/components/form/formItem.cjs +1 -1
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/hooks/action.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +1 -1
- package/dist/esm/component.js +3 -3
- package/dist/esm/components/drawer/drawer.js +11 -10
- package/dist/esm/components/drawer/drawerPage.js +10 -10
- package/dist/esm/components/form/drawerForm.js +149 -0
- package/dist/esm/components/form/formItem.js +8 -8
- package/dist/esm/components/form/modalForm.js +1 -1
- package/dist/esm/components/form/pageForm.js +1 -1
- package/dist/esm/hooks/action.js +82 -82
- package/dist/esm/index.js +166 -164
- package/dist/esm/theme/uno.css.js +1 -1
- package/dist/types/components/drawer/drawerPage.d.ts +1 -1
- package/dist/types/components/form/drawerForm.d.ts +98 -0
- package/dist/types/components/form/index.d.ts +1 -0
- package/dist/types/hooks/table/types.d.ts +2 -2
- package/package.json +3 -3
package/dist/esm/hooks/action.js
CHANGED
|
@@ -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
|
|
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(),
|
|
9
|
+
const y = T(), d = E(), s = B(), {
|
|
10
10
|
t: c
|
|
11
11
|
} = b(), a = I(), l = S(), u = $(), v = D({
|
|
12
|
-
onSuccess: (
|
|
13
|
-
a.success(
|
|
12
|
+
onSuccess: (t) => {
|
|
13
|
+
a.success(t.message || c("common.success"));
|
|
14
14
|
},
|
|
15
|
-
onError: (
|
|
16
|
-
a.error(
|
|
15
|
+
onError: (t) => {
|
|
16
|
+
a.error(t.message || c("common.error"));
|
|
17
17
|
}
|
|
18
18
|
}), A = C({
|
|
19
|
-
onSuccess: (
|
|
20
|
-
a.success(
|
|
19
|
+
onSuccess: (t) => {
|
|
20
|
+
a.success(t.message || c("common.success"));
|
|
21
21
|
},
|
|
22
|
-
onError: (
|
|
23
|
-
a.error(
|
|
22
|
+
onError: (t) => {
|
|
23
|
+
a.error(t.message || c("common.error"));
|
|
24
24
|
}
|
|
25
|
-
}),
|
|
26
|
-
var
|
|
27
|
-
const i = c(
|
|
28
|
-
if (
|
|
29
|
-
const
|
|
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 ||
|
|
32
|
-
component:
|
|
31
|
+
title: i || f,
|
|
32
|
+
component: e.component,
|
|
33
33
|
componentProps: {
|
|
34
|
-
id:
|
|
34
|
+
id: t.id,
|
|
35
35
|
...m
|
|
36
36
|
},
|
|
37
|
-
width:
|
|
38
|
-
draggable:
|
|
37
|
+
width: e.width,
|
|
38
|
+
draggable: e.draggable !== void 0 ? e.draggable : !0
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
if (
|
|
42
|
-
const
|
|
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 ||
|
|
45
|
-
component:
|
|
44
|
+
title: i || f,
|
|
45
|
+
component: e.component,
|
|
46
46
|
componentProps: {
|
|
47
|
-
id:
|
|
47
|
+
id: t.id,
|
|
48
48
|
...m
|
|
49
49
|
},
|
|
50
|
-
width:
|
|
51
|
-
maxWidth:
|
|
50
|
+
width: e.width,
|
|
51
|
+
maxWidth: e.maxWidth
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
if (
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
title: i ||
|
|
58
|
-
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
|
|
61
|
-
m && ((
|
|
60
|
+
var g;
|
|
61
|
+
m && ((g = e.callback) == null || g.call(e, t.id, t.data));
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
if (
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
title: i ||
|
|
68
|
-
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
|
|
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:
|
|
73
|
+
method: g,
|
|
74
74
|
payload: m
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
|
-
if (
|
|
79
|
-
const
|
|
80
|
-
|
|
81
|
-
title: i ||
|
|
82
|
-
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:
|
|
86
|
-
path: t.path ||
|
|
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 (
|
|
91
|
-
const
|
|
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 (
|
|
95
|
-
const
|
|
96
|
-
(k =
|
|
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: (
|
|
102
|
-
const
|
|
103
|
-
id: i[
|
|
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:
|
|
105
|
+
index: f,
|
|
106
106
|
target: x,
|
|
107
|
-
text:
|
|
108
|
-
align:
|
|
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 (
|
|
111
|
-
...
|
|
112
|
-
action:
|
|
110
|
+
return (t.type || (n == null ? void 0 : n.type)) === "button" ? w.render({
|
|
111
|
+
...r,
|
|
112
|
+
action: t || n
|
|
113
113
|
}) : P.render({
|
|
114
|
-
...
|
|
115
|
-
action:
|
|
114
|
+
...r,
|
|
115
|
+
action: t || n
|
|
116
116
|
});
|
|
117
117
|
},
|
|
118
|
-
renderAction: (
|
|
118
|
+
renderAction: (t) => {
|
|
119
119
|
const i = {
|
|
120
120
|
target: x,
|
|
121
|
-
text:
|
|
122
|
-
align:
|
|
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 (
|
|
124
|
+
return (t.type || (n == null ? void 0 : n.type)) === "button" ? w.render({
|
|
125
125
|
...i,
|
|
126
|
-
action:
|
|
126
|
+
action: t || n
|
|
127
127
|
}) : P.render({
|
|
128
128
|
...i,
|
|
129
|
-
action:
|
|
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
|
|
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) =>
|
|
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 ? () =>
|
|
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
|
|
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
|
-
},
|
|
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
|
|
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 ? () =>
|
|
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
|
|
192
|
+
return o(N, {
|
|
193
193
|
trigger: "click",
|
|
194
|
-
options:
|
|
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
|
-
}, () => [
|
|
199
|
+
}, () => [o("div", {
|
|
200
200
|
class: ["flex items-center", d.align === "right" ? "justify-end" : d.align === "center" ? "justify-center" : "justify-start"]
|
|
201
|
-
},
|
|
201
|
+
}, o(j, {
|
|
202
202
|
type: "default",
|
|
203
203
|
text: d.text,
|
|
204
204
|
secondary: !d.text,
|
|
205
|
-
renderIcon: () =>
|
|
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
|
|
11
|
-
import { DuxDynamicData as
|
|
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
|
|
22
|
-
import { useLevel as
|
|
23
|
-
import { useModal as
|
|
24
|
-
import { useTable as
|
|
25
|
-
import { useTableColumn as
|
|
26
|
-
import { useTableColumnImage as
|
|
27
|
-
import { useTableColumnMap as
|
|
28
|
-
import { useTableColumnMedia as
|
|
29
|
-
import { useTableColumnStatus as
|
|
30
|
-
import { useTableColumnSwitch as
|
|
31
|
-
import { useUI as
|
|
32
|
-
import { DuxModal as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { DuxDrawApps as
|
|
37
|
-
import { DuxDrawAuth as
|
|
38
|
-
import { DuxDrawEmpty as
|
|
39
|
-
import { DuxDrawEmptyForm as
|
|
40
|
-
import { DuxDrawError as
|
|
41
|
-
import { default as
|
|
42
|
-
import { DuxDrawerPage as
|
|
43
|
-
import { DuxAiEditor as
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
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
|
|
53
|
-
import { DuxFilterLayout as
|
|
54
|
-
import { DuxListLayout as
|
|
55
|
-
import { DuxTableLayout as
|
|
56
|
-
import { DuxTableTools as
|
|
57
|
-
import { DuxLevel as
|
|
58
|
-
import { DuxCardPage as
|
|
59
|
-
import { DuxListPage as
|
|
60
|
-
import { DuxMedia as
|
|
61
|
-
import { DuxPanelAlert as
|
|
62
|
-
import { DuxPanelCard as
|
|
63
|
-
import { DuxCollapsePanel as
|
|
64
|
-
import { DuxSelectCard as
|
|
65
|
-
import { DuxStatsNumber as
|
|
66
|
-
import { DuxStatsRealTime as
|
|
67
|
-
import { DuxBlockEmpty as
|
|
68
|
-
import { DuxListEmpty as
|
|
69
|
-
import { DuxTable as
|
|
70
|
-
import { DuxTablePage as
|
|
71
|
-
import { DuxTreeFilter as
|
|
72
|
-
import { DuxFileUpload as
|
|
73
|
-
import { DuxImageUpload as
|
|
74
|
-
import { default as
|
|
75
|
-
import { DuxAvatar as
|
|
76
|
-
import { DuxWidgetConnect as
|
|
77
|
-
import { DuxPlaceholder as
|
|
78
|
-
import { DuxCodeEditor as
|
|
79
|
-
import { DuxAuthLayout as
|
|
80
|
-
import { DuxLayout as
|
|
81
|
-
import { DuxLoginPage as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { DuxMenuCmd as
|
|
85
|
-
import { DuxMenuMain as
|
|
86
|
-
import { DuxMobileMenu as
|
|
87
|
-
import { DuxPage as
|
|
88
|
-
import { DuxPage403 as
|
|
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
|
|
91
|
-
import { DuxPageEmpty as
|
|
92
|
-
import { DuxPageLoading as
|
|
93
|
-
import { DuxPageStatus as
|
|
94
|
-
import { generateRainbowFromColor as
|
|
95
|
-
import { config as
|
|
96
|
-
import { initVeeValidate as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { createDuxPro as
|
|
100
|
-
import { useUIStore as
|
|
101
|
-
import { themeOverrides as
|
|
102
|
-
import { presetTheme as
|
|
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
|
-
|
|
105
|
+
qr as DuxAiEditor,
|
|
105
106
|
a as DuxApp,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
pe as DuxAuthLayout,
|
|
108
|
+
re as DuxAvatar,
|
|
109
|
+
No as DuxBlockEmpty,
|
|
109
110
|
f as DuxCard,
|
|
110
|
-
|
|
111
|
+
Co as DuxCardPage,
|
|
111
112
|
n as DuxCarousel,
|
|
112
113
|
g as DuxChart,
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
me as DuxCodeEditor,
|
|
115
|
+
Ao as DuxCollapsePanel,
|
|
115
116
|
T as DuxDashboardHello,
|
|
116
117
|
M as DuxDashboardHelloBig,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
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
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
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
|
};
|