@duxweb/dvha-pro 1.1.15 → 1.1.16
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/components/card/card.cjs +1 -1
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/crop/imageCrop.cjs +1 -1
- package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
- package/dist/cjs/components/data/selectModal.cjs +1 -1
- package/dist/cjs/components/designEditor/components/grid.cjs +1 -1
- package/dist/cjs/components/designEditor/editor/setting.cjs +1 -1
- package/dist/cjs/components/editor/aiEditor.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/setting.cjs +1 -1
- package/dist/cjs/components/flowEditor/nodes/endNode.cjs +1 -1
- package/dist/cjs/components/flowEditor/nodes/index.cjs +1 -1
- package/dist/cjs/components/flowEditor/nodes/processNode.cjs +1 -1
- package/dist/cjs/components/flowEditor/nodes/startNode.cjs +1 -1
- package/dist/cjs/components/form/drawerForm.cjs +1 -1
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/pageTabForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/formEditor/base/base.cjs +1 -1
- package/dist/cjs/components/formEditor/base/setting.cjs +1 -1
- package/dist/cjs/components/formEditor/components/cascader.cjs +1 -1
- package/dist/cjs/components/formEditor/components/cascaderAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/checkbox.cjs +1 -1
- package/dist/cjs/components/formEditor/components/color.cjs +1 -1
- package/dist/cjs/components/formEditor/components/date.cjs +1 -1
- package/dist/cjs/components/formEditor/components/dynamicInput.cjs +1 -1
- package/dist/cjs/components/formEditor/components/dynamicTags.cjs +1 -1
- package/dist/cjs/components/formEditor/components/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/components/fileUpload.cjs +1 -1
- package/dist/cjs/components/formEditor/components/imageUpload.cjs +1 -1
- package/dist/cjs/components/formEditor/components/input.cjs +1 -1
- package/dist/cjs/components/formEditor/components/inputNumber.cjs +1 -1
- package/dist/cjs/components/formEditor/components/mentionAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/radio.cjs +1 -1
- package/dist/cjs/components/formEditor/components/region.cjs +1 -1
- package/dist/cjs/components/formEditor/components/select.cjs +1 -1
- package/dist/cjs/components/formEditor/components/selectAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/sider.cjs +1 -1
- package/dist/cjs/components/formEditor/components/switch.cjs +1 -1
- package/dist/cjs/components/formEditor/components/time.cjs +1 -1
- package/dist/cjs/components/formEditor/components/transferAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/treeSelect.cjs +1 -1
- package/dist/cjs/components/formEditor/components/treeSelectAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/renderer.cjs +1 -1
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/layout/list.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/layout/tools.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -1
- package/dist/cjs/components/posterEditor/pages/RightPanel.cjs +1 -1
- package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/upload/file.cjs +1 -1
- package/dist/cjs/components/upload/image.cjs +1 -1
- package/dist/cjs/components/upload/manage/item.cjs +1 -1
- package/dist/cjs/components/upload/manager.cjs +1 -1
- package/dist/cjs/config/uno.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/download.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/image.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/pages/layout/global.cjs +1 -1
- package/dist/cjs/pages/layout/page.cjs +1 -1
- package/dist/cjs/pages/login.cjs +1 -1
- package/dist/cjs/pages/menu/avatar.cjs +1 -1
- package/dist/cjs/pages/menu/button.cjs +1 -1
- package/dist/cjs/pages/menu/cmd.cjs +1 -1
- package/dist/cjs/pages/menu/menuApp.cjs +1 -1
- package/dist/cjs/pages/menu/menuMain.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/menu/notice.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +58 -112
- package/dist/esm/components/card/card.js +0 -1
- package/dist/esm/components/chart/echart.js +3 -5
- package/dist/esm/components/crop/imageCrop.js +3 -5
- package/dist/esm/components/data/dynamicSelect.js +3 -5
- package/dist/esm/components/data/selectModal.js +3 -5
- package/dist/esm/components/designEditor/components/grid.js +3 -5
- package/dist/esm/components/designEditor/editor/setting.js +5 -7
- package/dist/esm/components/editor/aiEditor.js +3 -5
- package/dist/esm/components/flowEditor/components/setting.js +13 -15
- package/dist/esm/components/flowEditor/nodes/endNode.js +3 -5
- package/dist/esm/components/flowEditor/nodes/index.js +3 -5
- package/dist/esm/components/flowEditor/nodes/processNode.js +3 -5
- package/dist/esm/components/flowEditor/nodes/startNode.js +3 -5
- package/dist/esm/components/form/drawerForm.js +3 -5
- package/dist/esm/components/form/modalForm.js +3 -5
- package/dist/esm/components/form/pageForm.js +3 -5
- package/dist/esm/components/form/pageTabForm.js +3 -5
- package/dist/esm/components/form/settingForm.js +3 -6
- package/dist/esm/components/formEditor/base/base.js +5 -7
- package/dist/esm/components/formEditor/base/setting.js +3 -5
- package/dist/esm/components/formEditor/components/cascader.js +3 -5
- package/dist/esm/components/formEditor/components/cascaderAsync.js +3 -5
- package/dist/esm/components/formEditor/components/checkbox.js +3 -5
- package/dist/esm/components/formEditor/components/color.js +3 -5
- package/dist/esm/components/formEditor/components/date.js +3 -5
- package/dist/esm/components/formEditor/components/dynamicInput.js +3 -5
- package/dist/esm/components/formEditor/components/dynamicTags.js +10 -12
- package/dist/esm/components/formEditor/components/editor.js +3 -5
- package/dist/esm/components/formEditor/components/fileUpload.js +3 -5
- package/dist/esm/components/formEditor/components/imageUpload.js +3 -5
- package/dist/esm/components/formEditor/components/input.js +3 -5
- package/dist/esm/components/formEditor/components/inputNumber.js +3 -5
- package/dist/esm/components/formEditor/components/mentionAsync.js +14 -16
- package/dist/esm/components/formEditor/components/radio.js +14 -16
- package/dist/esm/components/formEditor/components/region.js +16 -18
- package/dist/esm/components/formEditor/components/select.js +3 -5
- package/dist/esm/components/formEditor/components/selectAsync.js +3 -5
- package/dist/esm/components/formEditor/components/sider.js +3 -5
- package/dist/esm/components/formEditor/components/switch.js +19 -21
- package/dist/esm/components/formEditor/components/time.js +3 -5
- package/dist/esm/components/formEditor/components/transferAsync.js +23 -25
- package/dist/esm/components/formEditor/components/treeSelect.js +3 -5
- package/dist/esm/components/formEditor/components/treeSelectAsync.js +3 -5
- package/dist/esm/components/formEditor/editor.js +3 -5
- package/dist/esm/components/formEditor/renderer.js +3 -5
- package/dist/esm/components/icon/icon.js +3 -5
- package/dist/esm/components/layout/list.js +3 -5
- package/dist/esm/components/layout/table.js +23 -25
- package/dist/esm/components/layout/tools.js +3 -5
- package/dist/esm/components/level/level.js +3 -5
- package/dist/esm/components/posterEditor/pages/RightPanel.js +3 -5
- package/dist/esm/components/posterEditor/posterEditor.js +3 -5
- package/dist/esm/components/table/table.js +8 -10
- package/dist/esm/components/upload/file.js +3 -5
- package/dist/esm/components/upload/image.js +33 -35
- package/dist/esm/components/upload/manage/item.js +3 -5
- package/dist/esm/components/upload/manager.js +3 -5
- package/dist/esm/config/uno.js +6 -8
- package/dist/esm/hooks/dialog.js +3 -5
- package/dist/esm/hooks/download.js +57 -50
- package/dist/esm/hooks/drawer.js +3 -5
- package/dist/esm/hooks/modal.js +3 -5
- package/dist/esm/hooks/table/image.js +3 -5
- package/dist/esm/hooks/table/media.js +3 -5
- package/dist/esm/pages/layout/global.js +3 -5
- package/dist/esm/pages/layout/page.js +7 -9
- package/dist/esm/pages/login.js +8 -10
- package/dist/esm/pages/menu/avatar.js +19 -21
- package/dist/esm/pages/menu/button.js +3 -5
- package/dist/esm/pages/menu/cmd.js +11 -13
- package/dist/esm/pages/menu/menuApp.js +15 -17
- package/dist/esm/pages/menu/menuMain.js +3 -5
- package/dist/esm/pages/menu/mobile.js +3 -5
- package/dist/esm/pages/menu/notice.js +3 -5
- package/dist/esm/pages/page404.js +1 -3
- package/dist/esm/pages/pageStatus.js +3 -5
- package/dist/esm/theme/uno.css.js +58 -112
- package/dist/types/components/table/table.d.ts +5 -5
- package/dist/types/components/widget/avatar.d.ts +2 -2
- package/dist/types/components/widget/image.d.ts +1 -1
- package/dist/types/config/uno.d.ts +2 -2
- package/dist/types/hooks/action.d.ts +1 -1
- package/package.json +7 -8
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -218,7 +216,7 @@ const M = /* @__PURE__ */ i({
|
|
|
218
216
|
}, null)]);
|
|
219
217
|
}
|
|
220
218
|
});
|
|
221
|
-
function
|
|
219
|
+
function Ut(o) {
|
|
222
220
|
return {
|
|
223
221
|
name: "dux-date",
|
|
224
222
|
icon: "i-tabler:calendar-due",
|
|
@@ -238,5 +236,5 @@ function Ht(o) {
|
|
|
238
236
|
};
|
|
239
237
|
}
|
|
240
238
|
export {
|
|
241
|
-
|
|
239
|
+
Ut as duxFormEditorDate
|
|
242
240
|
};
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -216,7 +214,7 @@ const F = /* @__PURE__ */ u({
|
|
|
216
214
|
}, null)]);
|
|
217
215
|
}
|
|
218
216
|
});
|
|
219
|
-
function
|
|
217
|
+
function kt(e) {
|
|
220
218
|
return {
|
|
221
219
|
name: "dux-dynamic-input",
|
|
222
220
|
icon: "i-tabler:calendar-due",
|
|
@@ -240,5 +238,5 @@ function Rt(e) {
|
|
|
240
238
|
};
|
|
241
239
|
}
|
|
242
240
|
export {
|
|
243
|
-
|
|
241
|
+
kt as duxFormEditorDynamicInput
|
|
244
242
|
};
|
|
@@ -23,7 +23,7 @@ import "lodash-es";
|
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
25
|
import "@vue-flow/core";
|
|
26
|
-
import { DuxFormItem as
|
|
26
|
+
import { DuxFormItem as a } from "../../form/formItem.js";
|
|
27
27
|
import "@vee-validate/i18n";
|
|
28
28
|
import "colorizr";
|
|
29
29
|
import "echarts";
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -55,7 +53,7 @@ import "short-unique-id";
|
|
|
55
53
|
import "@vue-flow/background";
|
|
56
54
|
/* empty css */
|
|
57
55
|
import { DuxFormEditorItem as f, DuxFormEditorRule as v } from "../base/base.js";
|
|
58
|
-
import { WidgetEditorSettingCard as
|
|
56
|
+
import { WidgetEditorSettingCard as p } from "../../designEditor/editor/setting.js";
|
|
59
57
|
import "mime";
|
|
60
58
|
import "@iconify-json/tabler/icons.json";
|
|
61
59
|
import "../../posterEditor/elements/index.js";
|
|
@@ -68,7 +66,7 @@ const g = /* @__PURE__ */ l({
|
|
|
68
66
|
options: Object
|
|
69
67
|
},
|
|
70
68
|
setup(o) {
|
|
71
|
-
return () => t(
|
|
69
|
+
return () => t(a, {
|
|
72
70
|
label: o.options?.label,
|
|
73
71
|
description: o.options?.desc
|
|
74
72
|
}, {
|
|
@@ -114,10 +112,10 @@ const x = /* @__PURE__ */ l({
|
|
|
114
112
|
}, [t(f, {
|
|
115
113
|
value: o.value,
|
|
116
114
|
"onUpdate:value": (i) => o.value = i
|
|
117
|
-
}, null), t(
|
|
115
|
+
}, null), t(p, {
|
|
118
116
|
title: e("components.formEditor.config")
|
|
119
117
|
}, {
|
|
120
|
-
default: () => [t(
|
|
118
|
+
default: () => [t(a, {
|
|
121
119
|
label: e("components.formEditor.common.disabled"),
|
|
122
120
|
labelPlacement: "left"
|
|
123
121
|
}, {
|
|
@@ -128,10 +126,10 @@ const x = /* @__PURE__ */ l({
|
|
|
128
126
|
"onUpdate:value": (i) => m.value.attr.disabled = i
|
|
129
127
|
}, null)])]
|
|
130
128
|
})]
|
|
131
|
-
}), t(
|
|
129
|
+
}), t(p, {
|
|
132
130
|
title: e("components.formEditor.options")
|
|
133
131
|
}, {
|
|
134
|
-
default: () => [t(
|
|
132
|
+
default: () => [t(a, {
|
|
135
133
|
label: e("components.formEditor.dynamicTags.max")
|
|
136
134
|
}, {
|
|
137
135
|
default: () => [t(s, {
|
|
@@ -145,7 +143,7 @@ const x = /* @__PURE__ */ l({
|
|
|
145
143
|
}, null)]);
|
|
146
144
|
}
|
|
147
145
|
});
|
|
148
|
-
function
|
|
146
|
+
function Ct(o) {
|
|
149
147
|
return {
|
|
150
148
|
name: "dynamic-tags",
|
|
151
149
|
icon: "i-tabler:tag",
|
|
@@ -163,5 +161,5 @@ function ht(o) {
|
|
|
163
161
|
};
|
|
164
162
|
}
|
|
165
163
|
export {
|
|
166
|
-
|
|
164
|
+
Ct as duxFormEditorDynamicTags
|
|
167
165
|
};
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -134,7 +132,7 @@ const b = /* @__PURE__ */ p({
|
|
|
134
132
|
}, null)]);
|
|
135
133
|
}
|
|
136
134
|
});
|
|
137
|
-
function
|
|
135
|
+
function St(t) {
|
|
138
136
|
return {
|
|
139
137
|
name: "dux-editor",
|
|
140
138
|
icon: "i-tabler:pencil",
|
|
@@ -152,5 +150,5 @@ function Ot(t) {
|
|
|
152
150
|
};
|
|
153
151
|
}
|
|
154
152
|
export {
|
|
155
|
-
|
|
153
|
+
St as duxFormEditorAIEditor
|
|
156
154
|
};
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -167,7 +165,7 @@ const E = /* @__PURE__ */ n({
|
|
|
167
165
|
}, null)]);
|
|
168
166
|
}
|
|
169
167
|
});
|
|
170
|
-
function
|
|
168
|
+
function Po(r) {
|
|
171
169
|
return {
|
|
172
170
|
name: "dux-file-upload",
|
|
173
171
|
icon: "i-tabler:file-upload",
|
|
@@ -190,5 +188,5 @@ function Vo(r) {
|
|
|
190
188
|
};
|
|
191
189
|
}
|
|
192
190
|
export {
|
|
193
|
-
|
|
191
|
+
Po as duxFormEditorFileUpload
|
|
194
192
|
};
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -159,7 +157,7 @@ const b = /* @__PURE__ */ n({
|
|
|
159
157
|
}, null)]);
|
|
160
158
|
}
|
|
161
159
|
});
|
|
162
|
-
function
|
|
160
|
+
function jo(t) {
|
|
163
161
|
return {
|
|
164
162
|
name: "dux-image-upload",
|
|
165
163
|
icon: "i-tabler:photo",
|
|
@@ -181,5 +179,5 @@ function Po(t) {
|
|
|
181
179
|
};
|
|
182
180
|
}
|
|
183
181
|
export {
|
|
184
|
-
|
|
182
|
+
jo as duxFormEditorImageUpload
|
|
185
183
|
};
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -204,7 +202,7 @@ const g = /* @__PURE__ */ u({
|
|
|
204
202
|
}, null)]);
|
|
205
203
|
}
|
|
206
204
|
});
|
|
207
|
-
function
|
|
205
|
+
function St(l) {
|
|
208
206
|
return {
|
|
209
207
|
name: "dux-input",
|
|
210
208
|
icon: "i-tabler:cursor-text",
|
|
@@ -224,5 +222,5 @@ function Lt(l) {
|
|
|
224
222
|
};
|
|
225
223
|
}
|
|
226
224
|
export {
|
|
227
|
-
|
|
225
|
+
St as duxFormEditorInput
|
|
228
226
|
};
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -183,7 +181,7 @@ const E = /* @__PURE__ */ u({
|
|
|
183
181
|
}, null)]);
|
|
184
182
|
}
|
|
185
183
|
});
|
|
186
|
-
function
|
|
184
|
+
function Dt(m) {
|
|
187
185
|
return {
|
|
188
186
|
name: "dux-input-number",
|
|
189
187
|
icon: "i-tabler:number",
|
|
@@ -201,5 +199,5 @@ function jt(m) {
|
|
|
201
199
|
};
|
|
202
200
|
}
|
|
203
201
|
export {
|
|
204
|
-
|
|
202
|
+
Dt as duxFormEditorInputNumber
|
|
205
203
|
};
|
|
@@ -2,7 +2,7 @@ import { createVNode as t, defineComponent as u } from "vue";
|
|
|
2
2
|
import { useI18n as d } from "@duxweb/dvha-core";
|
|
3
3
|
import { DuxMention as s } from "@duxweb/dvha-naiveui";
|
|
4
4
|
import { useVModel as c } from "@vueuse/core";
|
|
5
|
-
import { NSwitch as n, NInput as
|
|
5
|
+
import { NSwitch as n, NInput as m } from "naive-ui";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "vue-router";
|
|
8
8
|
import "@overlastic/vue";
|
|
@@ -24,7 +24,7 @@ import "lodash-es";
|
|
|
24
24
|
import "vue-draggable-plus";
|
|
25
25
|
import "aieditor";
|
|
26
26
|
import "@vue-flow/core";
|
|
27
|
-
import { DuxFormItem as
|
|
27
|
+
import { DuxFormItem as a } from "../../form/formItem.js";
|
|
28
28
|
import "@vee-validate/i18n";
|
|
29
29
|
import "colorizr";
|
|
30
30
|
import "echarts";
|
|
@@ -43,9 +43,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
43
43
|
import "highlight.js/lib/languages/typescript";
|
|
44
44
|
import "highlight.js/lib/languages/xml";
|
|
45
45
|
import "@ant-design/colors";
|
|
46
|
-
import "
|
|
47
|
-
import "@unocss/preset-typography";
|
|
48
|
-
import "unocss/preset-wind4";
|
|
46
|
+
import "unocss";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
50
48
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
51
49
|
import "vee-validate";
|
|
@@ -68,7 +66,7 @@ const b = /* @__PURE__ */ u({
|
|
|
68
66
|
options: Object
|
|
69
67
|
},
|
|
70
68
|
setup(l) {
|
|
71
|
-
return () => t(
|
|
69
|
+
return () => t(a, {
|
|
72
70
|
label: l.options?.label,
|
|
73
71
|
description: l.options?.desc
|
|
74
72
|
}, {
|
|
@@ -117,7 +115,7 @@ const x = /* @__PURE__ */ u({
|
|
|
117
115
|
}, null), t(p, {
|
|
118
116
|
title: i("components.formEditor.config")
|
|
119
117
|
}, {
|
|
120
|
-
default: () => [t(
|
|
118
|
+
default: () => [t(a, {
|
|
121
119
|
label: i("components.formEditor.common.disabled"),
|
|
122
120
|
labelPlacement: "left"
|
|
123
121
|
}, {
|
|
@@ -127,7 +125,7 @@ const x = /* @__PURE__ */ u({
|
|
|
127
125
|
value: o.value.attr.disabled,
|
|
128
126
|
"onUpdate:value": (e) => o.value.attr.disabled = e
|
|
129
127
|
}, null)])]
|
|
130
|
-
}), t(
|
|
128
|
+
}), t(a, {
|
|
131
129
|
label: i("components.formEditor.common.clearable"),
|
|
132
130
|
labelPlacement: "left"
|
|
133
131
|
}, {
|
|
@@ -141,24 +139,24 @@ const x = /* @__PURE__ */ u({
|
|
|
141
139
|
}), t(p, {
|
|
142
140
|
title: i("components.formEditor.options")
|
|
143
141
|
}, {
|
|
144
|
-
default: () => [t(
|
|
142
|
+
default: () => [t(a, {
|
|
145
143
|
label: i("components.formEditor.mentionAsync.path")
|
|
146
144
|
}, {
|
|
147
|
-
default: () => [t(
|
|
145
|
+
default: () => [t(m, {
|
|
148
146
|
value: o.value.attr.path,
|
|
149
147
|
"onUpdate:value": (e) => o.value.attr.path = e
|
|
150
148
|
}, null)]
|
|
151
|
-
}), t(
|
|
149
|
+
}), t(a, {
|
|
152
150
|
label: i("components.formEditor.mentionAsync.labelField")
|
|
153
151
|
}, {
|
|
154
|
-
default: () => [t(
|
|
152
|
+
default: () => [t(m, {
|
|
155
153
|
value: o.value.attr.labelField,
|
|
156
154
|
"onUpdate:value": (e) => o.value.attr.labelField = e
|
|
157
155
|
}, null)]
|
|
158
|
-
}), t(
|
|
156
|
+
}), t(a, {
|
|
159
157
|
label: i("components.formEditor.mentionAsync.valueField")
|
|
160
158
|
}, {
|
|
161
|
-
default: () => [t(
|
|
159
|
+
default: () => [t(m, {
|
|
162
160
|
value: o.value.attr.valueField,
|
|
163
161
|
"onUpdate:value": (e) => o.value.attr.valueField = e
|
|
164
162
|
}, null)]
|
|
@@ -169,7 +167,7 @@ const x = /* @__PURE__ */ u({
|
|
|
169
167
|
}, null)]);
|
|
170
168
|
}
|
|
171
169
|
});
|
|
172
|
-
function
|
|
170
|
+
function Ct(l) {
|
|
173
171
|
return {
|
|
174
172
|
name: "mention-async",
|
|
175
173
|
icon: "i-tabler:at",
|
|
@@ -193,5 +191,5 @@ function Nt(l) {
|
|
|
193
191
|
};
|
|
194
192
|
}
|
|
195
193
|
export {
|
|
196
|
-
|
|
194
|
+
Ct as duxFormEditorMentionAsync
|
|
197
195
|
};
|
|
@@ -43,9 +43,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
43
43
|
import "highlight.js/lib/languages/typescript";
|
|
44
44
|
import "highlight.js/lib/languages/xml";
|
|
45
45
|
import "@ant-design/colors";
|
|
46
|
-
import "
|
|
47
|
-
import "@unocss/preset-typography";
|
|
48
|
-
import "unocss/preset-wind4";
|
|
46
|
+
import "unocss";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
50
48
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
51
49
|
import "vee-validate";
|
|
@@ -107,12 +105,12 @@ function F(o) {
|
|
|
107
105
|
...e?.attr,
|
|
108
106
|
"v-model:value": [r, e?.name]
|
|
109
107
|
},
|
|
110
|
-
children: e?.attr?.options?.map((
|
|
108
|
+
children: e?.attr?.options?.map((m) => ({
|
|
111
109
|
tag: "n-radio",
|
|
112
110
|
attrs: {
|
|
113
|
-
value:
|
|
111
|
+
value: m.value
|
|
114
112
|
},
|
|
115
|
-
children: [
|
|
113
|
+
children: [m.label]
|
|
116
114
|
})) || []
|
|
117
115
|
}]
|
|
118
116
|
};
|
|
@@ -128,7 +126,7 @@ const R = /* @__PURE__ */ u({
|
|
|
128
126
|
setup(o, {
|
|
129
127
|
emit: e
|
|
130
128
|
}) {
|
|
131
|
-
const r = f(o, "value", e),
|
|
129
|
+
const r = f(o, "value", e), m = C(), {
|
|
132
130
|
t: i
|
|
133
131
|
} = s();
|
|
134
132
|
return () => {
|
|
@@ -137,7 +135,7 @@ const R = /* @__PURE__ */ u({
|
|
|
137
135
|
class: ""
|
|
138
136
|
}, [t(V, {
|
|
139
137
|
value: o.value,
|
|
140
|
-
"onUpdate:value": (
|
|
138
|
+
"onUpdate:value": (l) => o.value = l
|
|
141
139
|
}, null), t(p, {
|
|
142
140
|
title: i("components.formEditor.common.componentConfig")
|
|
143
141
|
}, {
|
|
@@ -146,7 +144,7 @@ const R = /* @__PURE__ */ u({
|
|
|
146
144
|
}, {
|
|
147
145
|
default: () => [t(v, {
|
|
148
146
|
value: r.value.attr.defaultValue,
|
|
149
|
-
"onUpdate:value": (
|
|
147
|
+
"onUpdate:value": (l) => r.value.attr.defaultValue = l
|
|
150
148
|
}, null)]
|
|
151
149
|
}), t(n, {
|
|
152
150
|
label: i("components.formEditor.common.disabled"),
|
|
@@ -156,7 +154,7 @@ const R = /* @__PURE__ */ u({
|
|
|
156
154
|
class: "flex flex-1 justify-end"
|
|
157
155
|
}, [t(b, {
|
|
158
156
|
value: r.value.attr.disabled,
|
|
159
|
-
"onUpdate:value": (
|
|
157
|
+
"onUpdate:value": (l) => r.value.attr.disabled = l
|
|
160
158
|
}, null)])]
|
|
161
159
|
})]
|
|
162
160
|
}), t(p, {
|
|
@@ -169,14 +167,14 @@ const R = /* @__PURE__ */ u({
|
|
|
169
167
|
class: "i-tabler:edit"
|
|
170
168
|
}, null),
|
|
171
169
|
onClick: () => {
|
|
172
|
-
|
|
170
|
+
m.show({
|
|
173
171
|
title: i("components.formEditor.common.dataConfig"),
|
|
174
172
|
component: () => import("../base/options.js"),
|
|
175
173
|
componentProps: {
|
|
176
174
|
desc: i("components.formEditor.radio.configDesc"),
|
|
177
175
|
value: r.value.attr.options,
|
|
178
|
-
onChange: (
|
|
179
|
-
r.value.attr.options =
|
|
176
|
+
onChange: (l) => {
|
|
177
|
+
r.value.attr.options = l;
|
|
180
178
|
},
|
|
181
179
|
options: [{
|
|
182
180
|
label: i("components.formEditor.common.optionLabel"),
|
|
@@ -193,12 +191,12 @@ const R = /* @__PURE__ */ u({
|
|
|
193
191
|
})]
|
|
194
192
|
}), t(h, {
|
|
195
193
|
value: r.value.rule,
|
|
196
|
-
"onUpdate:value": (
|
|
194
|
+
"onUpdate:value": (l) => r.value.rule = l
|
|
197
195
|
}, null)]);
|
|
198
196
|
};
|
|
199
197
|
}
|
|
200
198
|
});
|
|
201
|
-
function
|
|
199
|
+
function Bo(o) {
|
|
202
200
|
return {
|
|
203
201
|
name: "dux-radio",
|
|
204
202
|
icon: "i-tabler:circle-dot",
|
|
@@ -225,5 +223,5 @@ function Jo(o) {
|
|
|
225
223
|
};
|
|
226
224
|
}
|
|
227
225
|
export {
|
|
228
|
-
|
|
226
|
+
Bo as duxFormEditorRadio
|
|
229
227
|
};
|
|
@@ -23,7 +23,7 @@ import "lodash-es";
|
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
25
|
import "@vue-flow/core";
|
|
26
|
-
import { DuxFormItem as
|
|
26
|
+
import { DuxFormItem as m } from "../../form/formItem.js";
|
|
27
27
|
import "@vee-validate/i18n";
|
|
28
28
|
import "colorizr";
|
|
29
29
|
import "echarts";
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -70,7 +68,7 @@ const g = /* @__PURE__ */ p({
|
|
|
70
68
|
options: Object
|
|
71
69
|
},
|
|
72
70
|
setup(o) {
|
|
73
|
-
return () => t(
|
|
71
|
+
return () => t(m, {
|
|
74
72
|
label: o.options?.label,
|
|
75
73
|
description: o.options?.desc
|
|
76
74
|
}, {
|
|
@@ -110,7 +108,7 @@ const F = /* @__PURE__ */ p({
|
|
|
110
108
|
emit: i
|
|
111
109
|
}) {
|
|
112
110
|
const e = u(o, "value", i), {
|
|
113
|
-
t:
|
|
111
|
+
t: l
|
|
114
112
|
} = n();
|
|
115
113
|
return () => t("div", {
|
|
116
114
|
class: ""
|
|
@@ -118,36 +116,36 @@ const F = /* @__PURE__ */ p({
|
|
|
118
116
|
value: o.value,
|
|
119
117
|
"onUpdate:value": (r) => o.value = r
|
|
120
118
|
}, null), t(v, {
|
|
121
|
-
title:
|
|
119
|
+
title: l("components.formEditor.config")
|
|
122
120
|
}, {
|
|
123
|
-
default: () => [t(
|
|
124
|
-
label:
|
|
121
|
+
default: () => [t(m, {
|
|
122
|
+
label: l("components.formEditor.region.Path")
|
|
125
123
|
}, {
|
|
126
124
|
default: () => [t(a, {
|
|
127
125
|
value: e.value.attr.path,
|
|
128
126
|
"onUpdate:value": (r) => e.value.attr.path = r
|
|
129
127
|
}, null)]
|
|
130
|
-
}), t(
|
|
131
|
-
label:
|
|
128
|
+
}), t(m, {
|
|
129
|
+
label: l("components.formEditor.region.labelField")
|
|
132
130
|
}, {
|
|
133
131
|
default: () => [t(a, {
|
|
134
132
|
value: e.value.attr.labelField,
|
|
135
133
|
"onUpdate:value": (r) => e.value.attr.labelField = r
|
|
136
134
|
}, null)]
|
|
137
|
-
}), t(
|
|
138
|
-
label:
|
|
135
|
+
}), t(m, {
|
|
136
|
+
label: l("components.formEditor.region.valueField")
|
|
139
137
|
}, {
|
|
140
138
|
default: () => [t(a, {
|
|
141
139
|
value: e.value.attr.valueField,
|
|
142
140
|
"onUpdate:value": (r) => e.value.attr.valueField = r
|
|
143
141
|
}, null)]
|
|
144
|
-
}), t(
|
|
145
|
-
label:
|
|
142
|
+
}), t(m, {
|
|
143
|
+
label: l("components.formEditor.common.status")
|
|
146
144
|
}, {
|
|
147
145
|
default: () => [t("div", {
|
|
148
146
|
class: "w-full grid grid-cols-2"
|
|
149
147
|
}, [t(d, {
|
|
150
|
-
label:
|
|
148
|
+
label: l("components.formEditor.common.disabled"),
|
|
151
149
|
checked: e.value.attr.disabled,
|
|
152
150
|
"onUpdate:checked": (r) => e.value.attr.disabled = r
|
|
153
151
|
}, null)])]
|
|
@@ -158,7 +156,7 @@ const F = /* @__PURE__ */ p({
|
|
|
158
156
|
}, null)]);
|
|
159
157
|
}
|
|
160
158
|
});
|
|
161
|
-
function
|
|
159
|
+
function Nt(o) {
|
|
162
160
|
return {
|
|
163
161
|
name: "region",
|
|
164
162
|
icon: "i-tabler:directions",
|
|
@@ -180,5 +178,5 @@ function Ot(o) {
|
|
|
180
178
|
};
|
|
181
179
|
}
|
|
182
180
|
export {
|
|
183
|
-
|
|
181
|
+
Nt as duxFormEditorRegion
|
|
184
182
|
};
|
|
@@ -43,9 +43,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
43
43
|
import "highlight.js/lib/languages/typescript";
|
|
44
44
|
import "highlight.js/lib/languages/xml";
|
|
45
45
|
import "@ant-design/colors";
|
|
46
|
-
import "
|
|
47
|
-
import "@unocss/preset-typography";
|
|
48
|
-
import "unocss/preset-wind4";
|
|
46
|
+
import "unocss";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
50
48
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
51
49
|
import "vee-validate";
|
|
@@ -195,7 +193,7 @@ const F = /* @__PURE__ */ u({
|
|
|
195
193
|
};
|
|
196
194
|
}
|
|
197
195
|
});
|
|
198
|
-
function
|
|
196
|
+
function wt(o) {
|
|
199
197
|
return {
|
|
200
198
|
name: "dux-select",
|
|
201
199
|
icon: "i-tabler:select",
|
|
@@ -216,5 +214,5 @@ function _t(o) {
|
|
|
216
214
|
};
|
|
217
215
|
}
|
|
218
216
|
export {
|
|
219
|
-
|
|
217
|
+
wt as duxFormEditorSelect
|
|
220
218
|
};
|
|
@@ -43,9 +43,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
43
43
|
import "highlight.js/lib/languages/typescript";
|
|
44
44
|
import "highlight.js/lib/languages/xml";
|
|
45
45
|
import "@ant-design/colors";
|
|
46
|
-
import "
|
|
47
|
-
import "@unocss/preset-typography";
|
|
48
|
-
import "unocss/preset-wind4";
|
|
46
|
+
import "unocss";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
50
48
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
51
49
|
import "vee-validate";
|
|
@@ -203,7 +201,7 @@ const y = /* @__PURE__ */ u({
|
|
|
203
201
|
}, null)]);
|
|
204
202
|
}
|
|
205
203
|
});
|
|
206
|
-
function
|
|
204
|
+
function It(o) {
|
|
207
205
|
return {
|
|
208
206
|
name: "select-async",
|
|
209
207
|
icon: "i-tabler:select",
|
|
@@ -227,5 +225,5 @@ function Ct(o) {
|
|
|
227
225
|
};
|
|
228
226
|
}
|
|
229
227
|
export {
|
|
230
|
-
|
|
228
|
+
It as duxFormEditorSelectAsync
|
|
231
229
|
};
|
|
@@ -42,9 +42,7 @@ import "highlight.js/lib/languages/sql";
|
|
|
42
42
|
import "highlight.js/lib/languages/typescript";
|
|
43
43
|
import "highlight.js/lib/languages/xml";
|
|
44
44
|
import "@ant-design/colors";
|
|
45
|
-
import "
|
|
46
|
-
import "@unocss/preset-typography";
|
|
47
|
-
import "unocss/preset-wind4";
|
|
45
|
+
import "unocss";
|
|
48
46
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
49
47
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
50
48
|
import "vee-validate";
|
|
@@ -159,7 +157,7 @@ const E = /* @__PURE__ */ n({
|
|
|
159
157
|
}, null)]);
|
|
160
158
|
}
|
|
161
159
|
});
|
|
162
|
-
function
|
|
160
|
+
function ht(o) {
|
|
163
161
|
return {
|
|
164
162
|
name: "sider",
|
|
165
163
|
icon: "i-tabler:separator",
|
|
@@ -181,5 +179,5 @@ function Ot(o) {
|
|
|
181
179
|
};
|
|
182
180
|
}
|
|
183
181
|
export {
|
|
184
|
-
|
|
182
|
+
ht as duxFormEditorSider
|
|
185
183
|
};
|