@duxweb/dvha-pro 1.0.44 → 1.0.46
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/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/flowEditor/components/jsonEditor.cjs +1 -0
- package/dist/cjs/components/flowEditor/components/nodeCard.cjs +1 -0
- package/dist/cjs/components/flowEditor/components/setting.cjs +1 -0
- package/dist/cjs/components/flowEditor/components/toolbar.cjs +1 -0
- package/dist/cjs/components/flowEditor/flowEditor.cjs +1 -0
- package/dist/cjs/components/flowEditor/nodes/endNode.cjs +1 -0
- package/dist/cjs/components/flowEditor/nodes/index.cjs +1 -0
- package/dist/cjs/components/flowEditor/nodes/processNode.cjs +1 -0
- package/dist/cjs/components/flowEditor/nodes/startNode.cjs +1 -0
- package/dist/cjs/components/flowEditor/utils/nodeDataUtils.cjs +1 -0
- 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/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/dvha-pro.css +1 -1
- package/dist/cjs/hooks/dialog.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/index.cjs +1 -1
- package/dist/cjs/langs/en-US.json.cjs +1 -1
- package/dist/cjs/langs/zh-CN.json.cjs +1 -1
- package/dist/cjs/main.cjs +1 -1
- package/dist/cjs/pages/authLayout.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/main.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.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 +75 -3
- package/dist/esm/component.js +5 -2
- package/dist/esm/components/chart/echart.js +5 -2
- package/dist/esm/components/crop/imageCrop.js +13 -10
- package/dist/esm/components/data/dynamicSelect.js +5 -2
- package/dist/esm/components/data/selectModal.js +5 -2
- package/dist/esm/components/designEditor/components/grid.js +5 -2
- package/dist/esm/components/designEditor/editor/setting.js +7 -4
- package/dist/esm/components/flowEditor/components/jsonEditor.js +53 -0
- package/dist/esm/components/flowEditor/components/nodeCard.js +160 -0
- package/dist/esm/components/flowEditor/components/setting.js +319 -0
- package/dist/esm/components/flowEditor/components/toolbar.js +120 -0
- package/dist/esm/components/flowEditor/flowEditor.js +287 -0
- package/dist/esm/components/flowEditor/nodes/endNode.js +144 -0
- package/dist/esm/components/flowEditor/nodes/index.js +66 -0
- package/dist/esm/components/flowEditor/nodes/processNode.js +142 -0
- package/dist/esm/components/flowEditor/nodes/startNode.js +144 -0
- package/dist/esm/components/flowEditor/utils/nodeDataUtils.js +82 -0
- package/dist/esm/components/form/drawerForm.js +5 -2
- package/dist/esm/components/form/modalForm.js +12 -9
- package/dist/esm/components/form/pageForm.js +21 -18
- package/dist/esm/components/form/pageTabForm.js +5 -2
- package/dist/esm/components/form/settingForm.js +11 -8
- package/dist/esm/components/formEditor/base/base.js +8 -5
- package/dist/esm/components/formEditor/base/setting.js +5 -2
- package/dist/esm/components/formEditor/components/cascader.js +6 -3
- package/dist/esm/components/formEditor/components/cascaderAsync.js +6 -3
- package/dist/esm/components/formEditor/components/checkbox.js +17 -14
- package/dist/esm/components/formEditor/components/color.js +6 -3
- package/dist/esm/components/formEditor/components/date.js +6 -3
- package/dist/esm/components/formEditor/components/dynamicInput.js +6 -3
- package/dist/esm/components/formEditor/components/dynamicTags.js +13 -10
- package/dist/esm/components/formEditor/components/editor.js +6 -3
- package/dist/esm/components/formEditor/components/fileUpload.js +6 -3
- package/dist/esm/components/formEditor/components/imageUpload.js +6 -3
- package/dist/esm/components/formEditor/components/input.js +6 -3
- package/dist/esm/components/formEditor/components/inputNumber.js +29 -26
- package/dist/esm/components/formEditor/components/mentionAsync.js +17 -14
- package/dist/esm/components/formEditor/components/radio.js +17 -14
- package/dist/esm/components/formEditor/components/region.js +19 -16
- package/dist/esm/components/formEditor/components/select.js +6 -3
- package/dist/esm/components/formEditor/components/selectAsync.js +12 -9
- package/dist/esm/components/formEditor/components/sider.js +6 -3
- package/dist/esm/components/formEditor/components/switch.js +22 -19
- package/dist/esm/components/formEditor/components/time.js +6 -3
- package/dist/esm/components/formEditor/components/transferAsync.js +26 -23
- package/dist/esm/components/formEditor/components/treeSelect.js +6 -3
- package/dist/esm/components/formEditor/components/treeSelectAsync.js +26 -23
- package/dist/esm/components/formEditor/editor.js +5 -2
- package/dist/esm/components/formEditor/renderer.js +5 -2
- package/dist/esm/components/icon/icon.js +5 -2
- package/dist/esm/components/layout/list.js +5 -2
- package/dist/esm/components/layout/table.js +5 -2
- package/dist/esm/components/level/level.js +5 -2
- package/dist/esm/components/posterEditor/pages/RightPanel.js +5 -2
- package/dist/esm/components/posterEditor/posterEditor.js +5 -2
- package/dist/esm/components/table/table.js +9 -6
- package/dist/esm/components/upload/file.js +5 -2
- package/dist/esm/components/upload/image.js +18 -15
- package/dist/esm/components/upload/manage/item.js +5 -2
- package/dist/esm/components/upload/manager.js +5 -2
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/dialog.js +5 -2
- package/dist/esm/hooks/drawer.js +5 -2
- package/dist/esm/hooks/modal.js +5 -2
- package/dist/esm/hooks/table/image.js +5 -2
- package/dist/esm/hooks/table/media.js +5 -2
- package/dist/esm/index.js +252 -226
- package/dist/esm/langs/en-US.json.js +5 -5
- package/dist/esm/langs/zh-CN.json.js +6 -6
- package/dist/esm/main.js +4 -2
- package/dist/esm/pages/authLayout.js +5 -2
- package/dist/esm/pages/layout/page.js +9 -6
- package/dist/esm/pages/login.js +10 -7
- package/dist/esm/pages/menu/avatar.js +18 -15
- package/dist/esm/pages/menu/button.js +8 -5
- package/dist/esm/pages/menu/cmd.js +13 -10
- package/dist/esm/pages/menu/main.js +29 -26
- package/dist/esm/pages/menu/mobile.js +5 -2
- package/dist/esm/pages/page404.js +3 -0
- package/dist/esm/pages/pageStatus.js +5 -2
- package/dist/esm/theme/uno.css.js +75 -3
- package/dist/types/components/flowEditor/components/index.d.ts +3 -0
- package/dist/types/components/flowEditor/components/jsonEditor.d.ts +22 -0
- package/dist/types/components/flowEditor/components/nodeCard.d.ts +112 -0
- package/dist/types/components/flowEditor/components/setting.d.ts +16 -0
- package/dist/types/components/flowEditor/components/toolbar.d.ts +11 -0
- package/dist/types/components/flowEditor/flowEditor.d.ts +68 -0
- package/dist/types/components/flowEditor/index.d.ts +5 -0
- package/dist/types/components/flowEditor/nodes/endNode.d.ts +19 -0
- package/dist/types/components/flowEditor/nodes/index.d.ts +8 -0
- package/dist/types/components/flowEditor/nodes/processNode.d.ts +19 -0
- package/dist/types/components/flowEditor/nodes/startNode.d.ts +19 -0
- package/dist/types/components/flowEditor/types/index.d.ts +62 -0
- package/dist/types/components/flowEditor/utils/nodeDataUtils.d.ts +59 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/hooks/table/types.d.ts +1 -0
- package/dist/types/main.d.ts +2 -0
- package/package.json +9 -3
|
@@ -22,6 +22,7 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
|
+
import "@vue-flow/core";
|
|
25
26
|
import { DuxFormItem as l } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { WidgetEditorSettingCard as d } from "../../designEditor/editor/setting.js";
|
|
54
58
|
import "mime";
|
|
55
59
|
import "@iconify-json/tabler/icons.json";
|
|
@@ -58,8 +62,7 @@ import "fabric";
|
|
|
58
62
|
import "dayjs";
|
|
59
63
|
import "@tanstack/vue-query";
|
|
60
64
|
import "pinia";
|
|
61
|
-
|
|
62
|
-
const Fo = /* @__PURE__ */ a({
|
|
65
|
+
const go = /* @__PURE__ */ a({
|
|
63
66
|
name: "DuxFormEditorItem",
|
|
64
67
|
props: {
|
|
65
68
|
value: {
|
|
@@ -101,7 +104,7 @@ const Fo = /* @__PURE__ */ a({
|
|
|
101
104
|
})]
|
|
102
105
|
});
|
|
103
106
|
}
|
|
104
|
-
}),
|
|
107
|
+
}), yo = /* @__PURE__ */ a({
|
|
105
108
|
name: "FormEditorInput",
|
|
106
109
|
props: {
|
|
107
110
|
value: {
|
|
@@ -126,6 +129,6 @@ const Fo = /* @__PURE__ */ a({
|
|
|
126
129
|
}
|
|
127
130
|
});
|
|
128
131
|
export {
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
go as DuxFormEditorItem,
|
|
133
|
+
yo as DuxFormEditorRule
|
|
131
134
|
};
|
|
@@ -55,14 +55,17 @@ import "vue-command-palette";
|
|
|
55
55
|
import "../../../pages/page404.js";
|
|
56
56
|
import "short-unique-id";
|
|
57
57
|
import "aieditor";
|
|
58
|
+
import "@vue-flow/core";
|
|
58
59
|
import { DuxFormItem as b } from "../../form/formItem.js";
|
|
60
|
+
import "@vue-flow/background";
|
|
61
|
+
/* empty css */
|
|
59
62
|
import "@iconify-json/tabler/icons.json";
|
|
60
63
|
import "../../posterEditor/elements/index.js";
|
|
61
64
|
import "fabric";
|
|
62
65
|
function i(r) {
|
|
63
66
|
return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !u(r);
|
|
64
67
|
}
|
|
65
|
-
const
|
|
68
|
+
const Ot = /* @__PURE__ */ f({
|
|
66
69
|
name: "DuxFormEditorSettingPage",
|
|
67
70
|
inheritAttrs: !1,
|
|
68
71
|
props: {
|
|
@@ -118,5 +121,5 @@ const Nt = /* @__PURE__ */ f({
|
|
|
118
121
|
}
|
|
119
122
|
});
|
|
120
123
|
export {
|
|
121
|
-
|
|
124
|
+
Ot as DuxFormEditorSettingPage
|
|
122
125
|
};
|
|
@@ -23,6 +23,7 @@ import "jinrishici";
|
|
|
23
23
|
import "lodash-es";
|
|
24
24
|
import "vue-draggable-plus";
|
|
25
25
|
import "aieditor";
|
|
26
|
+
import "@vue-flow/core";
|
|
26
27
|
import { DuxFormItem as m } from "../../form/formItem.js";
|
|
27
28
|
import "@vee-validate/i18n";
|
|
28
29
|
import "colorizr";
|
|
@@ -51,6 +52,9 @@ import "vee-validate";
|
|
|
51
52
|
import "vue-command-palette";
|
|
52
53
|
import "@duxweb/dvha-naiveui";
|
|
53
54
|
import "../../../pages/page404.js";
|
|
55
|
+
import "short-unique-id";
|
|
56
|
+
import "@vue-flow/background";
|
|
57
|
+
/* empty css */
|
|
54
58
|
import { DuxFormEditorItem as x, DuxFormEditorRule as g } from "../base/base.js";
|
|
55
59
|
import { WidgetEditorSettingCard as p } from "../../designEditor/editor/setting.js";
|
|
56
60
|
import "mime";
|
|
@@ -60,7 +64,6 @@ import "fabric";
|
|
|
60
64
|
import "dayjs";
|
|
61
65
|
import "@tanstack/vue-query";
|
|
62
66
|
import "pinia";
|
|
63
|
-
import "short-unique-id";
|
|
64
67
|
function h(o) {
|
|
65
68
|
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !d(o);
|
|
66
69
|
}
|
|
@@ -208,7 +211,7 @@ const C = /* @__PURE__ */ c({
|
|
|
208
211
|
};
|
|
209
212
|
}
|
|
210
213
|
});
|
|
211
|
-
function
|
|
214
|
+
function Mt(o) {
|
|
212
215
|
return {
|
|
213
216
|
name: "dux-cascader",
|
|
214
217
|
icon: "i-tabler:list-tree",
|
|
@@ -229,5 +232,5 @@ function Jt(o) {
|
|
|
229
232
|
};
|
|
230
233
|
}
|
|
231
234
|
export {
|
|
232
|
-
|
|
235
|
+
Mt as duxFormEditorCascader
|
|
233
236
|
};
|
|
@@ -23,6 +23,7 @@ import "jinrishici";
|
|
|
23
23
|
import "lodash-es";
|
|
24
24
|
import "vue-draggable-plus";
|
|
25
25
|
import "aieditor";
|
|
26
|
+
import "@vue-flow/core";
|
|
26
27
|
import { DuxFormItem as m } from "../../form/formItem.js";
|
|
27
28
|
import "@vee-validate/i18n";
|
|
28
29
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
|
50
51
|
import "vee-validate";
|
|
51
52
|
import "vue-command-palette";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as f, DuxFormEditorRule as v } from "../base/base.js";
|
|
54
58
|
import { WidgetEditorSettingCard as u } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import "mime";
|
|
@@ -59,7 +63,6 @@ import "fabric";
|
|
|
59
63
|
import "dayjs";
|
|
60
64
|
import "@tanstack/vue-query";
|
|
61
65
|
import "pinia";
|
|
62
|
-
import "short-unique-id";
|
|
63
66
|
const b = /* @__PURE__ */ p({
|
|
64
67
|
name: "FormEditorCascaderAsync",
|
|
65
68
|
props: {
|
|
@@ -199,7 +202,7 @@ const E = /* @__PURE__ */ p({
|
|
|
199
202
|
}, null)]);
|
|
200
203
|
}
|
|
201
204
|
});
|
|
202
|
-
function
|
|
205
|
+
function It(o) {
|
|
203
206
|
return {
|
|
204
207
|
name: "dux-cascader-async",
|
|
205
208
|
icon: "i-tabler:list-tree",
|
|
@@ -223,5 +226,5 @@ function jt(o) {
|
|
|
223
226
|
};
|
|
224
227
|
}
|
|
225
228
|
export {
|
|
226
|
-
|
|
229
|
+
It as duxFormEditorCascaderAsync
|
|
227
230
|
};
|
|
@@ -23,6 +23,7 @@ import "jinrishici";
|
|
|
23
23
|
import "lodash-es";
|
|
24
24
|
import "vue-draggable-plus";
|
|
25
25
|
import "aieditor";
|
|
26
|
+
import "@vue-flow/core";
|
|
26
27
|
import { DuxFormItem as a } from "../../form/formItem.js";
|
|
27
28
|
import "@vee-validate/i18n";
|
|
28
29
|
import "colorizr";
|
|
@@ -51,6 +52,9 @@ import "vee-validate";
|
|
|
51
52
|
import "vue-command-palette";
|
|
52
53
|
import "@duxweb/dvha-naiveui";
|
|
53
54
|
import "../../../pages/page404.js";
|
|
55
|
+
import "short-unique-id";
|
|
56
|
+
import "@vue-flow/background";
|
|
57
|
+
/* empty css */
|
|
54
58
|
import { DuxFormEditorItem as k, DuxFormEditorRule as C } from "../base/base.js";
|
|
55
59
|
import { WidgetEditorSettingCard as p } from "../../designEditor/editor/setting.js";
|
|
56
60
|
import "mime";
|
|
@@ -60,7 +64,6 @@ import "fabric";
|
|
|
60
64
|
import "dayjs";
|
|
61
65
|
import "@tanstack/vue-query";
|
|
62
66
|
import "pinia";
|
|
63
|
-
import "short-unique-id";
|
|
64
67
|
function V(o) {
|
|
65
68
|
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !d(o);
|
|
66
69
|
}
|
|
@@ -104,12 +107,12 @@ function N(o) {
|
|
|
104
107
|
...e?.attr,
|
|
105
108
|
"v-model:value": [r, e?.name]
|
|
106
109
|
},
|
|
107
|
-
children: e?.attr?.options?.map((
|
|
110
|
+
children: e?.attr?.options?.map((l) => ({
|
|
108
111
|
tag: "n-checkbox",
|
|
109
112
|
attrs: {
|
|
110
|
-
value:
|
|
113
|
+
value: l.value
|
|
111
114
|
},
|
|
112
|
-
children: [
|
|
115
|
+
children: [l.label]
|
|
113
116
|
})) || []
|
|
114
117
|
}]
|
|
115
118
|
};
|
|
@@ -125,7 +128,7 @@ const y = /* @__PURE__ */ u({
|
|
|
125
128
|
setup(o, {
|
|
126
129
|
emit: e
|
|
127
130
|
}) {
|
|
128
|
-
const r = f(o, "value", e),
|
|
131
|
+
const r = f(o, "value", e), l = E(), {
|
|
129
132
|
t: i
|
|
130
133
|
} = s();
|
|
131
134
|
return () => {
|
|
@@ -134,7 +137,7 @@ const y = /* @__PURE__ */ u({
|
|
|
134
137
|
class: ""
|
|
135
138
|
}, [t(k, {
|
|
136
139
|
value: o.value,
|
|
137
|
-
"onUpdate:value": (
|
|
140
|
+
"onUpdate:value": (m) => o.value = m
|
|
138
141
|
}, null), t(p, {
|
|
139
142
|
title: i("components.formEditor.common.componentConfig")
|
|
140
143
|
}, {
|
|
@@ -143,7 +146,7 @@ const y = /* @__PURE__ */ u({
|
|
|
143
146
|
}, {
|
|
144
147
|
default: () => [t(b, {
|
|
145
148
|
value: r.value.attr.defaultValue,
|
|
146
|
-
"onUpdate:value": (
|
|
149
|
+
"onUpdate:value": (m) => r.value.attr.defaultValue = m
|
|
147
150
|
}, null)]
|
|
148
151
|
}), t(a, {
|
|
149
152
|
label: i("components.formEditor.common.disabled"),
|
|
@@ -153,7 +156,7 @@ const y = /* @__PURE__ */ u({
|
|
|
153
156
|
class: "flex flex-1 justify-end"
|
|
154
157
|
}, [t(v, {
|
|
155
158
|
value: r.value.attr.disabled,
|
|
156
|
-
"onUpdate:value": (
|
|
159
|
+
"onUpdate:value": (m) => r.value.attr.disabled = m
|
|
157
160
|
}, null)])]
|
|
158
161
|
})]
|
|
159
162
|
}), t(p, {
|
|
@@ -166,14 +169,14 @@ const y = /* @__PURE__ */ u({
|
|
|
166
169
|
class: "i-tabler:edit"
|
|
167
170
|
}, null),
|
|
168
171
|
onClick: () => {
|
|
169
|
-
|
|
172
|
+
l.show({
|
|
170
173
|
title: i("components.formEditor.common.dataConfig"),
|
|
171
174
|
component: () => import("../base/options.js"),
|
|
172
175
|
componentProps: {
|
|
173
176
|
desc: i("components.formEditor.checkbox.configDesc"),
|
|
174
177
|
value: r.value.attr.options,
|
|
175
|
-
onChange: (
|
|
176
|
-
r.value.attr.options =
|
|
178
|
+
onChange: (m) => {
|
|
179
|
+
r.value.attr.options = m;
|
|
177
180
|
},
|
|
178
181
|
options: [{
|
|
179
182
|
label: i("components.formEditor.common.optionLabel"),
|
|
@@ -190,12 +193,12 @@ const y = /* @__PURE__ */ u({
|
|
|
190
193
|
})]
|
|
191
194
|
}), t(C, {
|
|
192
195
|
value: r.value.rule,
|
|
193
|
-
"onUpdate:value": (
|
|
196
|
+
"onUpdate:value": (m) => r.value.rule = m
|
|
194
197
|
}, null)]);
|
|
195
198
|
};
|
|
196
199
|
}
|
|
197
200
|
});
|
|
198
|
-
function
|
|
201
|
+
function Jo(o) {
|
|
199
202
|
return {
|
|
200
203
|
name: "dux-checkbox",
|
|
201
204
|
icon: "i-tabler:square-check",
|
|
@@ -222,5 +225,5 @@ function qo(o) {
|
|
|
222
225
|
};
|
|
223
226
|
}
|
|
224
227
|
export {
|
|
225
|
-
|
|
228
|
+
Jo as duxFormEditorCheckbox
|
|
226
229
|
};
|
|
@@ -22,6 +22,7 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
|
+
import "@vue-flow/core";
|
|
25
26
|
import { DuxFormItem as l } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as s, DuxFormEditorRule as c } from "../base/base.js";
|
|
54
58
|
import { WidgetEditorSettingCard as f } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import "mime";
|
|
@@ -59,7 +63,6 @@ import "fabric";
|
|
|
59
63
|
import "dayjs";
|
|
60
64
|
import "@tanstack/vue-query";
|
|
61
65
|
import "pinia";
|
|
62
|
-
import "short-unique-id";
|
|
63
66
|
const v = /* @__PURE__ */ a({
|
|
64
67
|
name: "FormEditorColor",
|
|
65
68
|
props: {
|
|
@@ -146,7 +149,7 @@ const x = /* @__PURE__ */ a({
|
|
|
146
149
|
}, null)]);
|
|
147
150
|
}
|
|
148
151
|
});
|
|
149
|
-
function
|
|
152
|
+
function Io(t) {
|
|
150
153
|
return {
|
|
151
154
|
name: "dux-color",
|
|
152
155
|
icon: "i-tabler:palette",
|
|
@@ -166,5 +169,5 @@ function So(t) {
|
|
|
166
169
|
};
|
|
167
170
|
}
|
|
168
171
|
export {
|
|
169
|
-
|
|
172
|
+
Io as duxFormEditorColor
|
|
170
173
|
};
|
|
@@ -22,6 +22,7 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
|
+
import "@vue-flow/core";
|
|
25
26
|
import { DuxFormItem as l } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as f, DuxFormEditorRule as v } from "../base/base.js";
|
|
54
58
|
import { WidgetEditorSettingCard as b } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import "mime";
|
|
@@ -59,7 +63,6 @@ import "fabric";
|
|
|
59
63
|
import "dayjs";
|
|
60
64
|
import "@tanstack/vue-query";
|
|
61
65
|
import "pinia";
|
|
62
|
-
import "short-unique-id";
|
|
63
66
|
const g = /* @__PURE__ */ i({
|
|
64
67
|
name: "FormEditorDate",
|
|
65
68
|
props: {
|
|
@@ -215,7 +218,7 @@ const M = /* @__PURE__ */ i({
|
|
|
215
218
|
}, null)]);
|
|
216
219
|
}
|
|
217
220
|
});
|
|
218
|
-
function
|
|
221
|
+
function Ht(o) {
|
|
219
222
|
return {
|
|
220
223
|
name: "dux-date",
|
|
221
224
|
icon: "i-tabler:calendar-due",
|
|
@@ -235,5 +238,5 @@ function St(o) {
|
|
|
235
238
|
};
|
|
236
239
|
}
|
|
237
240
|
export {
|
|
238
|
-
|
|
241
|
+
Ht as duxFormEditorDate
|
|
239
242
|
};
|
|
@@ -22,6 +22,7 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
|
+
import "@vue-flow/core";
|
|
25
26
|
import { DuxFormItem as l } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as y, DuxFormEditorRule as E } from "../base/base.js";
|
|
54
58
|
import { WidgetEditorSettingCard as C } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import "mime";
|
|
@@ -60,7 +64,6 @@ import "dayjs";
|
|
|
60
64
|
import "@tanstack/vue-query";
|
|
61
65
|
import "pinia";
|
|
62
66
|
import { DuxWidgetEditorPreview as I } from "../../designEditor/editor/preview.js";
|
|
63
|
-
import "short-unique-id";
|
|
64
67
|
const D = /* @__PURE__ */ u({
|
|
65
68
|
name: "FormEditorDynamicInput",
|
|
66
69
|
props: {
|
|
@@ -213,7 +216,7 @@ const F = /* @__PURE__ */ u({
|
|
|
213
216
|
}, null)]);
|
|
214
217
|
}
|
|
215
218
|
});
|
|
216
|
-
function
|
|
219
|
+
function Rt(e) {
|
|
217
220
|
return {
|
|
218
221
|
name: "dux-dynamic-input",
|
|
219
222
|
icon: "i-tabler:calendar-due",
|
|
@@ -237,5 +240,5 @@ function Wt(e) {
|
|
|
237
240
|
};
|
|
238
241
|
}
|
|
239
242
|
export {
|
|
240
|
-
|
|
243
|
+
Rt as duxFormEditorDynamicInput
|
|
241
244
|
};
|
|
@@ -22,7 +22,8 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
|
-
import
|
|
25
|
+
import "@vue-flow/core";
|
|
26
|
+
import { DuxFormItem as p } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
28
29
|
import "echarts";
|
|
@@ -50,8 +51,11 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as f, DuxFormEditorRule as v } from "../base/base.js";
|
|
54
|
-
import { WidgetEditorSettingCard as
|
|
58
|
+
import { WidgetEditorSettingCard as a } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import "mime";
|
|
56
60
|
import "@iconify-json/tabler/icons.json";
|
|
57
61
|
import "../../posterEditor/elements/index.js";
|
|
@@ -59,13 +63,12 @@ import "fabric";
|
|
|
59
63
|
import "dayjs";
|
|
60
64
|
import "@tanstack/vue-query";
|
|
61
65
|
import "pinia";
|
|
62
|
-
import "short-unique-id";
|
|
63
66
|
const g = /* @__PURE__ */ l({
|
|
64
67
|
props: {
|
|
65
68
|
options: Object
|
|
66
69
|
},
|
|
67
70
|
setup(o) {
|
|
68
|
-
return () => t(
|
|
71
|
+
return () => t(p, {
|
|
69
72
|
label: o.options?.label,
|
|
70
73
|
description: o.options?.desc
|
|
71
74
|
}, {
|
|
@@ -111,10 +114,10 @@ const x = /* @__PURE__ */ l({
|
|
|
111
114
|
}, [t(f, {
|
|
112
115
|
value: o.value,
|
|
113
116
|
"onUpdate:value": (i) => o.value = i
|
|
114
|
-
}, null), t(
|
|
117
|
+
}, null), t(a, {
|
|
115
118
|
title: e("components.formEditor.config")
|
|
116
119
|
}, {
|
|
117
|
-
default: () => [t(
|
|
120
|
+
default: () => [t(p, {
|
|
118
121
|
label: e("components.formEditor.common.disabled"),
|
|
119
122
|
labelPlacement: "left"
|
|
120
123
|
}, {
|
|
@@ -125,10 +128,10 @@ const x = /* @__PURE__ */ l({
|
|
|
125
128
|
"onUpdate:value": (i) => m.value.attr.disabled = i
|
|
126
129
|
}, null)])]
|
|
127
130
|
})]
|
|
128
|
-
}), t(
|
|
131
|
+
}), t(a, {
|
|
129
132
|
title: e("components.formEditor.options")
|
|
130
133
|
}, {
|
|
131
|
-
default: () => [t(
|
|
134
|
+
default: () => [t(p, {
|
|
132
135
|
label: e("components.formEditor.dynamicTags.max")
|
|
133
136
|
}, {
|
|
134
137
|
default: () => [t(s, {
|
|
@@ -142,7 +145,7 @@ const x = /* @__PURE__ */ l({
|
|
|
142
145
|
}, null)]);
|
|
143
146
|
}
|
|
144
147
|
});
|
|
145
|
-
function
|
|
148
|
+
function ht(o) {
|
|
146
149
|
return {
|
|
147
150
|
name: "dynamic-tags",
|
|
148
151
|
icon: "i-tabler:tag",
|
|
@@ -160,5 +163,5 @@ function Ut(o) {
|
|
|
160
163
|
};
|
|
161
164
|
}
|
|
162
165
|
export {
|
|
163
|
-
|
|
166
|
+
ht as duxFormEditorDynamicTags
|
|
164
167
|
};
|
|
@@ -22,6 +22,7 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import { DuxAiEditor as d } from "../../editor/aiEditor.js";
|
|
25
|
+
import "@vue-flow/core";
|
|
25
26
|
import { DuxFormItem as l } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as s, DuxFormEditorRule as c } from "../base/base.js";
|
|
54
58
|
import { WidgetEditorSettingCard as f } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import "mime";
|
|
@@ -59,7 +63,6 @@ import "fabric";
|
|
|
59
63
|
import "dayjs";
|
|
60
64
|
import "@tanstack/vue-query";
|
|
61
65
|
import "pinia";
|
|
62
|
-
import "short-unique-id";
|
|
63
66
|
const E = /* @__PURE__ */ p({
|
|
64
67
|
name: "FormEditorAIEditor",
|
|
65
68
|
props: {
|
|
@@ -131,7 +134,7 @@ const b = /* @__PURE__ */ p({
|
|
|
131
134
|
}, null)]);
|
|
132
135
|
}
|
|
133
136
|
});
|
|
134
|
-
function
|
|
137
|
+
function Ot(t) {
|
|
135
138
|
return {
|
|
136
139
|
name: "dux-editor",
|
|
137
140
|
icon: "i-tabler:pencil",
|
|
@@ -149,5 +152,5 @@ function jt(t) {
|
|
|
149
152
|
};
|
|
150
153
|
}
|
|
151
154
|
export {
|
|
152
|
-
|
|
155
|
+
Ot as duxFormEditorAIEditor
|
|
153
156
|
};
|
|
@@ -22,6 +22,7 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
|
+
import "@vue-flow/core";
|
|
25
26
|
import { DuxFormItem as i } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as f, DuxFormEditorRule as s } from "../base/base.js";
|
|
54
58
|
import { WidgetEditorSettingCard as v } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import { DuxFileUpload as b } from "../../upload/file.js";
|
|
@@ -60,7 +64,6 @@ import "dayjs";
|
|
|
60
64
|
import "mime";
|
|
61
65
|
import "@tanstack/vue-query";
|
|
62
66
|
import "pinia";
|
|
63
|
-
import "short-unique-id";
|
|
64
67
|
const x = /* @__PURE__ */ n({
|
|
65
68
|
name: "FormEditorFileUpload",
|
|
66
69
|
props: {
|
|
@@ -164,7 +167,7 @@ const E = /* @__PURE__ */ n({
|
|
|
164
167
|
}, null)]);
|
|
165
168
|
}
|
|
166
169
|
});
|
|
167
|
-
function
|
|
170
|
+
function Vo(r) {
|
|
168
171
|
return {
|
|
169
172
|
name: "dux-file-upload",
|
|
170
173
|
icon: "i-tabler:file-upload",
|
|
@@ -187,5 +190,5 @@ function jo(r) {
|
|
|
187
190
|
};
|
|
188
191
|
}
|
|
189
192
|
export {
|
|
190
|
-
|
|
193
|
+
Vo as duxFormEditorFileUpload
|
|
191
194
|
};
|
|
@@ -22,6 +22,7 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
|
+
import "@vue-flow/core";
|
|
25
26
|
import { DuxFormItem as a } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as c, DuxFormEditorRule as s } from "../base/base.js";
|
|
54
58
|
import { WidgetEditorSettingCard as f } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import "mime";
|
|
@@ -60,7 +64,6 @@ import "fabric";
|
|
|
60
64
|
import "dayjs";
|
|
61
65
|
import "@tanstack/vue-query";
|
|
62
66
|
import "pinia";
|
|
63
|
-
import "short-unique-id";
|
|
64
67
|
const v = /* @__PURE__ */ n({
|
|
65
68
|
name: "FormEditorImageUpload",
|
|
66
69
|
props: {
|
|
@@ -156,7 +159,7 @@ const b = /* @__PURE__ */ n({
|
|
|
156
159
|
}, null)]);
|
|
157
160
|
}
|
|
158
161
|
});
|
|
159
|
-
function
|
|
162
|
+
function Po(t) {
|
|
160
163
|
return {
|
|
161
164
|
name: "dux-image-upload",
|
|
162
165
|
icon: "i-tabler:photo",
|
|
@@ -178,5 +181,5 @@ function Do(t) {
|
|
|
178
181
|
};
|
|
179
182
|
}
|
|
180
183
|
export {
|
|
181
|
-
|
|
184
|
+
Po as duxFormEditorImageUpload
|
|
182
185
|
};
|
|
@@ -22,6 +22,7 @@ import "jinrishici";
|
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
24
|
import "aieditor";
|
|
25
|
+
import "@vue-flow/core";
|
|
25
26
|
import { DuxFormItem as a } from "../../form/formItem.js";
|
|
26
27
|
import "@vee-validate/i18n";
|
|
27
28
|
import "colorizr";
|
|
@@ -50,6 +51,9 @@ import "vee-validate";
|
|
|
50
51
|
import "vue-command-palette";
|
|
51
52
|
import "@duxweb/dvha-naiveui";
|
|
52
53
|
import "../../../pages/page404.js";
|
|
54
|
+
import "short-unique-id";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
53
57
|
import { DuxFormEditorItem as f, DuxFormEditorRule as b } from "../base/base.js";
|
|
54
58
|
import { WidgetEditorSettingCard as x } from "../../designEditor/editor/setting.js";
|
|
55
59
|
import "mime";
|
|
@@ -59,7 +63,6 @@ import "fabric";
|
|
|
59
63
|
import "dayjs";
|
|
60
64
|
import "@tanstack/vue-query";
|
|
61
65
|
import "pinia";
|
|
62
|
-
import "short-unique-id";
|
|
63
66
|
const E = /* @__PURE__ */ u({
|
|
64
67
|
name: "FormEditorInput",
|
|
65
68
|
props: {
|
|
@@ -201,7 +204,7 @@ const g = /* @__PURE__ */ u({
|
|
|
201
204
|
}, null)]);
|
|
202
205
|
}
|
|
203
206
|
});
|
|
204
|
-
function
|
|
207
|
+
function Lt(l) {
|
|
205
208
|
return {
|
|
206
209
|
name: "dux-input",
|
|
207
210
|
icon: "i-tabler:cursor-text",
|
|
@@ -221,5 +224,5 @@ function Dt(l) {
|
|
|
221
224
|
};
|
|
222
225
|
}
|
|
223
226
|
export {
|
|
224
|
-
|
|
227
|
+
Lt as duxFormEditorInput
|
|
225
228
|
};
|