@duxweb/dvha-pro 1.0.25 → 1.0.26
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 -0
- package/dist/cjs/components/designEditor/editor/hook.cjs +1 -0
- package/dist/cjs/components/designEditor/editor/preview.cjs +1 -0
- package/dist/cjs/components/designEditor/editor/setting.cjs +1 -0
- package/dist/cjs/components/designEditor/editor.cjs +1 -0
- package/dist/cjs/components/form/drawerForm.cjs +1 -1
- package/dist/cjs/components/form/formItem.cjs +1 -1
- package/dist/cjs/components/form/formLayout.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/settingForm.cjs +1 -1
- package/dist/cjs/components/formEditor/base/base.cjs +1 -0
- package/dist/cjs/components/formEditor/base/json.cjs +1 -0
- package/dist/cjs/components/formEditor/base/options.cjs +1 -0
- package/dist/cjs/components/formEditor/base/setting.cjs +1 -0
- package/dist/cjs/components/formEditor/components/cascader.cjs +1 -0
- package/dist/cjs/components/formEditor/components/cascaderAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/components/checkbox.cjs +1 -0
- package/dist/cjs/components/formEditor/components/color.cjs +1 -0
- package/dist/cjs/components/formEditor/components/date.cjs +1 -0
- package/dist/cjs/components/formEditor/components/dynamicInput.cjs +1 -0
- package/dist/cjs/components/formEditor/components/dynamicTags.cjs +1 -0
- package/dist/cjs/components/formEditor/components/editor.cjs +1 -0
- package/dist/cjs/components/formEditor/components/input.cjs +1 -0
- package/dist/cjs/components/formEditor/components/inputNumber.cjs +1 -0
- package/dist/cjs/components/formEditor/components/mentionAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/components/radio.cjs +1 -0
- package/dist/cjs/components/formEditor/components/region.cjs +1 -0
- package/dist/cjs/components/formEditor/components/select.cjs +1 -0
- package/dist/cjs/components/formEditor/components/selectAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/components/sider.cjs +1 -0
- package/dist/cjs/components/formEditor/components/switch.cjs +1 -0
- package/dist/cjs/components/formEditor/components/time.cjs +1 -0
- package/dist/cjs/components/formEditor/components/transferAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/components/treeSelect.cjs +1 -0
- package/dist/cjs/components/formEditor/components/treeSelectAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/editor.cjs +1 -0
- package/dist/cjs/components/formEditor/json.cjs +1 -0
- package/dist/cjs/components/formEditor/preview.cjs +1 -0
- package/dist/cjs/components/formEditor/renderer.cjs +1 -0
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/layout/grid.cjs +1 -0
- 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 -0
- package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -0
- 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/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/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 +34 -2
- package/dist/esm/component.js +33 -31
- package/dist/esm/components/chart/echart.js +6 -5
- package/dist/esm/components/crop/imageCrop.js +7 -6
- package/dist/esm/components/data/dynamicSelect.js +8 -7
- package/dist/esm/components/data/selectModal.js +6 -5
- package/dist/esm/components/designEditor/components/grid.js +175 -0
- package/dist/esm/components/designEditor/editor/hook.js +87 -0
- package/dist/esm/components/designEditor/editor/preview.js +65 -0
- package/dist/esm/components/designEditor/editor/setting.js +98 -0
- package/dist/esm/components/designEditor/editor.js +161 -0
- package/dist/esm/components/form/drawerForm.js +8 -7
- package/dist/esm/components/form/formItem.js +33 -33
- package/dist/esm/components/form/formLayout.js +11 -11
- package/dist/esm/components/form/modalForm.js +18 -17
- package/dist/esm/components/form/pageForm.js +11 -10
- package/dist/esm/components/form/settingForm.js +5 -4
- package/dist/esm/components/formEditor/base/base.js +117 -0
- package/dist/esm/components/formEditor/base/json.js +39 -0
- package/dist/esm/components/formEditor/base/options.js +48 -0
- package/dist/esm/components/formEditor/base/setting.js +108 -0
- package/dist/esm/components/formEditor/components/cascader.js +219 -0
- package/dist/esm/components/formEditor/components/cascaderAsync.js +213 -0
- package/dist/esm/components/formEditor/components/checkbox.js +212 -0
- package/dist/esm/components/formEditor/components/color.js +156 -0
- package/dist/esm/components/formEditor/components/date.js +197 -0
- package/dist/esm/components/formEditor/components/dynamicInput.js +227 -0
- package/dist/esm/components/formEditor/components/dynamicTags.js +150 -0
- package/dist/esm/components/formEditor/components/editor.js +139 -0
- package/dist/esm/components/formEditor/components/input.js +211 -0
- package/dist/esm/components/formEditor/components/inputNumber.js +188 -0
- package/dist/esm/components/formEditor/components/mentionAsync.js +180 -0
- package/dist/esm/components/formEditor/components/radio.js +212 -0
- package/dist/esm/components/formEditor/components/region.js +167 -0
- package/dist/esm/components/formEditor/components/select.js +203 -0
- package/dist/esm/components/formEditor/components/selectAsync.js +214 -0
- package/dist/esm/components/formEditor/components/sider.js +168 -0
- package/dist/esm/components/formEditor/components/switch.js +153 -0
- package/dist/esm/components/formEditor/components/time.js +171 -0
- package/dist/esm/components/formEditor/components/transferAsync.js +193 -0
- package/dist/esm/components/formEditor/components/treeSelect.js +207 -0
- package/dist/esm/components/formEditor/components/treeSelectAsync.js +179 -0
- package/dist/esm/components/formEditor/editor.js +162 -0
- package/dist/esm/components/formEditor/json.js +24 -0
- package/dist/esm/components/formEditor/preview.js +38 -0
- package/dist/esm/components/formEditor/renderer.js +151 -0
- package/dist/esm/components/icon/icon.js +7 -6
- package/dist/esm/components/layout/grid.js +24 -0
- package/dist/esm/components/layout/list.js +17 -16
- package/dist/esm/components/layout/table.js +15 -14
- package/dist/esm/components/level/level.js +6 -5
- package/dist/esm/components/{image → posterEditor}/pages/RightPanel.js +5 -4
- package/dist/esm/components/{image → posterEditor}/posterEditor.js +5 -4
- package/dist/esm/components/table/table.js +6 -5
- package/dist/esm/components/upload/file.js +10 -9
- package/dist/esm/components/upload/image.js +16 -15
- package/dist/esm/components/upload/manage/item.js +6 -5
- package/dist/esm/components/upload/manager.js +6 -5
- package/dist/esm/hooks/dialog.js +7 -6
- package/dist/esm/hooks/drawer.js +7 -6
- package/dist/esm/hooks/modal.js +6 -5
- package/dist/esm/hooks/table/image.js +6 -5
- package/dist/esm/hooks/table/media.js +6 -5
- package/dist/esm/index.js +218 -201
- package/dist/esm/langs/en-US.json.js +10 -10
- package/dist/esm/langs/zh-CN.json.js +8 -8
- package/dist/esm/pages/authLayout.js +7 -6
- package/dist/esm/pages/layout/page.js +6 -5
- package/dist/esm/pages/login.js +6 -5
- package/dist/esm/pages/menu/avatar.js +11 -10
- package/dist/esm/pages/menu/button.js +6 -5
- package/dist/esm/pages/menu/cmd.js +6 -5
- package/dist/esm/pages/menu/main.js +6 -5
- package/dist/esm/pages/menu/mobile.js +6 -5
- package/dist/esm/pages/page404.js +4 -3
- package/dist/esm/pages/pageStatus.js +9 -8
- package/dist/esm/theme/uno.css.js +34 -2
- package/dist/types/components/designEditor/components/grid.d.ts +2 -0
- package/dist/types/components/designEditor/components/index.d.ts +1 -0
- package/dist/types/components/designEditor/editor/hook.d.ts +57 -0
- package/dist/types/components/designEditor/editor/index.d.ts +3 -0
- package/dist/types/components/designEditor/editor/preview.d.ts +15 -0
- package/dist/types/components/designEditor/editor/setting.d.ts +14 -0
- package/dist/types/components/designEditor/editor.d.ts +19 -0
- package/dist/types/components/designEditor/index.d.ts +3 -0
- package/dist/types/components/form/drawerForm.d.ts +2 -2
- package/dist/types/components/form/formLayout.d.ts +2 -2
- package/dist/types/components/form/modalForm.d.ts +2 -2
- package/dist/types/components/formEditor/base/base.d.ts +26 -0
- package/dist/types/components/formEditor/base/index.d.ts +4 -0
- package/dist/types/components/formEditor/base/json.d.ts +18 -0
- package/dist/types/components/formEditor/base/options.d.ts +23 -0
- package/dist/types/components/formEditor/base/setting.d.ts +13 -0
- package/dist/types/components/formEditor/components/cascader.d.ts +2 -0
- package/dist/types/components/formEditor/components/cascaderAsync.d.ts +2 -0
- package/dist/types/components/formEditor/components/checkbox.d.ts +2 -0
- package/dist/types/components/formEditor/components/color.d.ts +2 -0
- package/dist/types/components/formEditor/components/date.d.ts +2 -0
- package/dist/types/components/formEditor/components/dynamicInput.d.ts +2 -0
- package/dist/types/components/formEditor/components/dynamicTags.d.ts +2 -0
- package/dist/types/components/formEditor/components/editor.d.ts +2 -0
- package/dist/types/components/formEditor/components/index.d.ts +21 -0
- package/dist/types/components/formEditor/components/input.d.ts +2 -0
- package/dist/types/components/formEditor/components/inputNumber.d.ts +2 -0
- package/dist/types/components/formEditor/components/mentionAsync.d.ts +2 -0
- package/dist/types/components/formEditor/components/radio.d.ts +2 -0
- package/dist/types/components/formEditor/components/region.d.ts +2 -0
- package/dist/types/components/formEditor/components/select.d.ts +2 -0
- package/dist/types/components/formEditor/components/selectAsync.d.ts +2 -0
- package/dist/types/components/formEditor/components/sider.d.ts +2 -0
- package/dist/types/components/formEditor/components/switch.d.ts +2 -0
- package/dist/types/components/formEditor/components/time.d.ts +2 -0
- package/dist/types/components/formEditor/components/transferAsync.d.ts +2 -0
- package/dist/types/components/formEditor/components/treeSelect.d.ts +2 -0
- package/dist/types/components/formEditor/components/treeSelectAsync.d.ts +2 -0
- package/dist/types/components/formEditor/editor.d.ts +22 -0
- package/dist/types/components/formEditor/index.d.ts +2 -0
- package/dist/types/components/formEditor/json.d.ts +14 -0
- package/dist/types/components/formEditor/preview.d.ts +25 -0
- package/dist/types/components/formEditor/renderer.d.ts +58 -0
- package/dist/types/components/index.d.ts +3 -1
- package/dist/types/components/layout/filterLayout.d.ts +1 -1
- package/dist/types/components/layout/grid.d.ts +22 -0
- package/dist/types/components/layout/index.d.ts +1 -0
- package/package.json +4 -3
- package/dist/cjs/components/image/pages/RightPanel.cjs +0 -1
- package/dist/cjs/components/image/posterEditor.cjs +0 -1
- /package/dist/cjs/components/{image → posterEditor}/components/CanvasRuler.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/elements/circle.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/elements/image.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/elements/index.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/elements/rect.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/elements/text.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/hooks/usePosterEditor.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/pages/LeftToolbar.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/pages/Panel.cjs +0 -0
- /package/dist/cjs/components/{image → posterEditor}/pages/PanelItem.cjs +0 -0
- /package/dist/esm/components/{image → posterEditor}/components/CanvasRuler.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/elements/circle.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/elements/image.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/elements/index.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/elements/rect.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/elements/text.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/hooks/usePosterEditor.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/pages/LeftToolbar.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/pages/Panel.js +0 -0
- /package/dist/esm/components/{image → posterEditor}/pages/PanelItem.js +0 -0
- /package/dist/types/components/{image → posterEditor}/components/CanvasRuler.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/components/index.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/elements/circle.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/elements/image.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/elements/index.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/elements/rect.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/elements/text.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/elements/types.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/hooks/index.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/hooks/usePosterEditor.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/index.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/pages/LeftToolbar.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/pages/Panel.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/pages/PanelItem.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/pages/RightPanel.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/pages/index.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/posterEditor.d.ts +0 -0
- /package/dist/types/components/{image → posterEditor}/types/editor.d.ts +0 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { createVNode as t, defineComponent as u, isVNode as d } from "vue";
|
|
2
|
+
import { useI18n as s } from "@duxweb/dvha-core";
|
|
3
|
+
import { useVModel as f } from "@vueuse/core";
|
|
4
|
+
import { NSwitch as m, NButton as v, NTreeSelect as b } from "naive-ui";
|
|
5
|
+
import { useModal as E } from "../../../hooks/modal.js";
|
|
6
|
+
import "clsx";
|
|
7
|
+
import "vue-router";
|
|
8
|
+
import "@overlastic/vue";
|
|
9
|
+
import "vue-echarts";
|
|
10
|
+
import "vue3-ace-editor";
|
|
11
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
12
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
13
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
14
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
15
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
16
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
17
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
18
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
19
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
20
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
21
|
+
import "vue-cropper";
|
|
22
|
+
import "jinrishici";
|
|
23
|
+
import "lodash-es";
|
|
24
|
+
import "vue-draggable-plus";
|
|
25
|
+
import "aieditor";
|
|
26
|
+
import { DuxFormItem as i } from "../../form/formItem.js";
|
|
27
|
+
import "@vee-validate/i18n";
|
|
28
|
+
import "colorizr";
|
|
29
|
+
import "echarts";
|
|
30
|
+
import "@ant-design/colors";
|
|
31
|
+
import "@unocss/preset-icons/browser";
|
|
32
|
+
import "@unocss/preset-typography";
|
|
33
|
+
import "unocss/preset-wind4";
|
|
34
|
+
import "@vee-validate/i18n/dist/locale/en.json";
|
|
35
|
+
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
36
|
+
import "vee-validate";
|
|
37
|
+
import "vue-command-palette";
|
|
38
|
+
import "@duxweb/dvha-naiveui";
|
|
39
|
+
import "../../../pages/page404.js";
|
|
40
|
+
import { DuxFormEditorItem as x, DuxFormEditorRule as g } from "../base/base.js";
|
|
41
|
+
import { WidgetEditorSettingCard as p } from "../../designEditor/editor/setting.js";
|
|
42
|
+
import "@iconify-json/tabler/icons.json";
|
|
43
|
+
import "../../posterEditor/elements/index.js";
|
|
44
|
+
import "fabric";
|
|
45
|
+
import "mime";
|
|
46
|
+
import "dayjs";
|
|
47
|
+
import "@tanstack/vue-query";
|
|
48
|
+
import "pinia";
|
|
49
|
+
import "short-unique-id";
|
|
50
|
+
function S(e) {
|
|
51
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !d(e);
|
|
52
|
+
}
|
|
53
|
+
const j = /* @__PURE__ */ u({
|
|
54
|
+
props: {
|
|
55
|
+
options: Object
|
|
56
|
+
},
|
|
57
|
+
setup(e) {
|
|
58
|
+
return () => t(i, {
|
|
59
|
+
label: e.options?.label,
|
|
60
|
+
description: e.options?.desc
|
|
61
|
+
}, {
|
|
62
|
+
default: () => [t(b, e.options?.attr, null)]
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
function y(e) {
|
|
67
|
+
const {
|
|
68
|
+
options: r,
|
|
69
|
+
model: o
|
|
70
|
+
} = e || {};
|
|
71
|
+
return {
|
|
72
|
+
tag: "dux-form-item",
|
|
73
|
+
attrs: {
|
|
74
|
+
label: r?.label,
|
|
75
|
+
description: r?.desc
|
|
76
|
+
},
|
|
77
|
+
children: [{
|
|
78
|
+
tag: "n-tree-select",
|
|
79
|
+
attrs: {
|
|
80
|
+
...r?.attr,
|
|
81
|
+
"v-model:value": [o, r?.name]
|
|
82
|
+
}
|
|
83
|
+
}]
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
const N = /* @__PURE__ */ u({
|
|
87
|
+
props: {
|
|
88
|
+
value: {
|
|
89
|
+
type: Object,
|
|
90
|
+
default: {}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
setup(e, {
|
|
94
|
+
emit: r
|
|
95
|
+
}) {
|
|
96
|
+
const o = f(e, "value", r), c = E(), {
|
|
97
|
+
t: a
|
|
98
|
+
} = s();
|
|
99
|
+
return () => {
|
|
100
|
+
let n;
|
|
101
|
+
return t("div", {
|
|
102
|
+
class: ""
|
|
103
|
+
}, [t(x, {
|
|
104
|
+
value: e.value,
|
|
105
|
+
"onUpdate:value": (l) => e.value = l
|
|
106
|
+
}, null), t(p, {
|
|
107
|
+
title: a("components.formEditor.config")
|
|
108
|
+
}, {
|
|
109
|
+
default: () => [t(i, {
|
|
110
|
+
label: a("components.formEditor.common.multiple"),
|
|
111
|
+
labelPlacement: "left"
|
|
112
|
+
}, {
|
|
113
|
+
default: () => [t("div", {
|
|
114
|
+
class: "flex flex-1 justify-end"
|
|
115
|
+
}, [t(m, {
|
|
116
|
+
value: o.value.attr.multiple,
|
|
117
|
+
"onUpdate:value": (l) => o.value.attr.multiple = l
|
|
118
|
+
}, null)])]
|
|
119
|
+
}), t(i, {
|
|
120
|
+
label: a("components.formEditor.common.cascade"),
|
|
121
|
+
labelPlacement: "left"
|
|
122
|
+
}, {
|
|
123
|
+
default: () => [t("div", {
|
|
124
|
+
class: "flex flex-1 justify-end"
|
|
125
|
+
}, [t(m, {
|
|
126
|
+
value: o.value.attr.cascade,
|
|
127
|
+
"onUpdate:value": (l) => o.value.attr.cascade = l
|
|
128
|
+
}, null)])]
|
|
129
|
+
}), t(i, {
|
|
130
|
+
label: a("components.formEditor.common.disabled"),
|
|
131
|
+
labelPlacement: "left"
|
|
132
|
+
}, {
|
|
133
|
+
default: () => [t("div", {
|
|
134
|
+
class: "flex flex-1 justify-end"
|
|
135
|
+
}, [t(m, {
|
|
136
|
+
value: o.value.attr.disabled,
|
|
137
|
+
"onUpdate:value": (l) => o.value.attr.disabled = l
|
|
138
|
+
}, null)])]
|
|
139
|
+
}), t(i, {
|
|
140
|
+
label: a("components.formEditor.common.clearable"),
|
|
141
|
+
labelPlacement: "left"
|
|
142
|
+
}, {
|
|
143
|
+
default: () => [t("div", {
|
|
144
|
+
class: "flex flex-1 justify-end"
|
|
145
|
+
}, [t(m, {
|
|
146
|
+
value: o.value.attr.clearable,
|
|
147
|
+
"onUpdate:value": (l) => o.value.attr.clearable = l
|
|
148
|
+
}, null)])]
|
|
149
|
+
})]
|
|
150
|
+
}), t(p, {
|
|
151
|
+
title: a("components.formEditor.options")
|
|
152
|
+
}, {
|
|
153
|
+
default: () => [t(v, {
|
|
154
|
+
block: !0,
|
|
155
|
+
dashed: !0,
|
|
156
|
+
renderIcon: () => t("div", {
|
|
157
|
+
class: "i-tabler:edit"
|
|
158
|
+
}, null),
|
|
159
|
+
onClick: () => {
|
|
160
|
+
c.show({
|
|
161
|
+
title: a("components.formEditor.common.data"),
|
|
162
|
+
component: () => import("../base/json.js"),
|
|
163
|
+
componentProps: {
|
|
164
|
+
desc: a("components.formEditor.cascader.optionsDescription"),
|
|
165
|
+
value: JSON.stringify(o.value.attr.options, null, 2),
|
|
166
|
+
onChange: (l) => {
|
|
167
|
+
try {
|
|
168
|
+
o.value.attr.options = JSON.parse(l);
|
|
169
|
+
} catch {
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
}, S(n = a("components.formEditor.common.data")) ? n : {
|
|
176
|
+
default: () => [n]
|
|
177
|
+
})]
|
|
178
|
+
}), t(g, {
|
|
179
|
+
value: o.value.rule,
|
|
180
|
+
"onUpdate:value": (l) => o.value.rule = l
|
|
181
|
+
}, null)]);
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
function gt(e) {
|
|
186
|
+
return {
|
|
187
|
+
name: "tree-select",
|
|
188
|
+
icon: "i-tabler:binary-tree",
|
|
189
|
+
label: e("components.formEditor.treeSelect.name"),
|
|
190
|
+
group: "select",
|
|
191
|
+
component: (r) => t(j, r, null),
|
|
192
|
+
setting: (r) => t(N, r, null),
|
|
193
|
+
settingDefault: {
|
|
194
|
+
label: e("components.formEditor.treeSelect.name"),
|
|
195
|
+
name: "treeSelect",
|
|
196
|
+
attr: {
|
|
197
|
+
options: [],
|
|
198
|
+
clearable: !0
|
|
199
|
+
},
|
|
200
|
+
rule: []
|
|
201
|
+
},
|
|
202
|
+
json: y
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
export {
|
|
206
|
+
gt as duxFormEditorTreeSelect
|
|
207
|
+
};
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { createVNode as e, defineComponent as u } from "vue";
|
|
2
|
+
import { useI18n as d } from "@duxweb/dvha-core";
|
|
3
|
+
import { DuxTreeSelect as c } from "@duxweb/dvha-naiveui";
|
|
4
|
+
import { useVModel as s } from "@vueuse/core";
|
|
5
|
+
import { NSwitch as n, NInput as m } from "naive-ui";
|
|
6
|
+
import "clsx";
|
|
7
|
+
import "vue-router";
|
|
8
|
+
import "@overlastic/vue";
|
|
9
|
+
import "vue-echarts";
|
|
10
|
+
import "vue3-ace-editor";
|
|
11
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
12
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
13
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
14
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
15
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
16
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
17
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
18
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
19
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
20
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
21
|
+
import "vue-cropper";
|
|
22
|
+
import "jinrishici";
|
|
23
|
+
import "lodash-es";
|
|
24
|
+
import "vue-draggable-plus";
|
|
25
|
+
import "aieditor";
|
|
26
|
+
import { DuxFormItem as i } from "../../form/formItem.js";
|
|
27
|
+
import "@vee-validate/i18n";
|
|
28
|
+
import "colorizr";
|
|
29
|
+
import "echarts";
|
|
30
|
+
import "@ant-design/colors";
|
|
31
|
+
import "@unocss/preset-icons/browser";
|
|
32
|
+
import "@unocss/preset-typography";
|
|
33
|
+
import "unocss/preset-wind4";
|
|
34
|
+
import "@vee-validate/i18n/dist/locale/en.json";
|
|
35
|
+
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
36
|
+
import "vee-validate";
|
|
37
|
+
import "vue-command-palette";
|
|
38
|
+
import "../../../pages/page404.js";
|
|
39
|
+
import { DuxFormEditorItem as f, DuxFormEditorRule as v } from "../base/base.js";
|
|
40
|
+
import { WidgetEditorSettingCard as p } from "../../designEditor/editor/setting.js";
|
|
41
|
+
import "@iconify-json/tabler/icons.json";
|
|
42
|
+
import "../../posterEditor/elements/index.js";
|
|
43
|
+
import "fabric";
|
|
44
|
+
import "mime";
|
|
45
|
+
import "dayjs";
|
|
46
|
+
import "@tanstack/vue-query";
|
|
47
|
+
import "pinia";
|
|
48
|
+
import "short-unique-id";
|
|
49
|
+
const b = /* @__PURE__ */ u({
|
|
50
|
+
props: {
|
|
51
|
+
options: Object
|
|
52
|
+
},
|
|
53
|
+
setup(o) {
|
|
54
|
+
return () => e(i, {
|
|
55
|
+
label: o.options?.label,
|
|
56
|
+
description: o.options?.desc
|
|
57
|
+
}, {
|
|
58
|
+
default: () => [e(c, o.options?.attr, null)]
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
function y(o) {
|
|
63
|
+
const {
|
|
64
|
+
options: r,
|
|
65
|
+
model: t
|
|
66
|
+
} = o || {};
|
|
67
|
+
return {
|
|
68
|
+
tag: "dux-form-item",
|
|
69
|
+
attrs: {
|
|
70
|
+
label: r?.label,
|
|
71
|
+
description: r?.desc
|
|
72
|
+
},
|
|
73
|
+
children: [{
|
|
74
|
+
tag: "dux-tree-select",
|
|
75
|
+
attrs: {
|
|
76
|
+
...r?.attr,
|
|
77
|
+
"v-model:value": [t, r?.name]
|
|
78
|
+
}
|
|
79
|
+
}]
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
const E = /* @__PURE__ */ u({
|
|
83
|
+
props: {
|
|
84
|
+
value: {
|
|
85
|
+
type: Object,
|
|
86
|
+
default: {}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
setup(o, {
|
|
90
|
+
emit: r
|
|
91
|
+
}) {
|
|
92
|
+
const t = s(o, "value", r), {
|
|
93
|
+
t: a
|
|
94
|
+
} = d();
|
|
95
|
+
return () => e("div", {
|
|
96
|
+
class: ""
|
|
97
|
+
}, [e(f, {
|
|
98
|
+
value: o.value,
|
|
99
|
+
"onUpdate:value": (l) => o.value = l
|
|
100
|
+
}, null), e(p, {
|
|
101
|
+
title: a("components.formEditor.config")
|
|
102
|
+
}, {
|
|
103
|
+
default: () => [e(i, {
|
|
104
|
+
label: a("components.formEditor.common.disabled"),
|
|
105
|
+
labelPlacement: "left"
|
|
106
|
+
}, {
|
|
107
|
+
default: () => [e("div", {
|
|
108
|
+
class: "flex flex-1 justify-end"
|
|
109
|
+
}, [e(n, {
|
|
110
|
+
value: t.value.attr.disabled,
|
|
111
|
+
"onUpdate:value": (l) => t.value.attr.disabled = l
|
|
112
|
+
}, null)])]
|
|
113
|
+
}), e(i, {
|
|
114
|
+
label: a("components.formEditor.common.clearable"),
|
|
115
|
+
labelPlacement: "left"
|
|
116
|
+
}, {
|
|
117
|
+
default: () => [e("div", {
|
|
118
|
+
class: "flex flex-1 justify-end"
|
|
119
|
+
}, [e(n, {
|
|
120
|
+
value: t.value.attr.clearable,
|
|
121
|
+
"onUpdate:value": (l) => t.value.attr.clearable = l
|
|
122
|
+
}, null)])]
|
|
123
|
+
})]
|
|
124
|
+
}), e(p, {
|
|
125
|
+
title: a("components.formEditor.options")
|
|
126
|
+
}, {
|
|
127
|
+
default: () => [e(i, {
|
|
128
|
+
label: a("components.formEditor.treeSelectAsync.path")
|
|
129
|
+
}, {
|
|
130
|
+
default: () => [e(m, {
|
|
131
|
+
value: t.value.attr.path,
|
|
132
|
+
"onUpdate:value": (l) => t.value.attr.path = l
|
|
133
|
+
}, null)]
|
|
134
|
+
}), e(i, {
|
|
135
|
+
label: a("components.formEditor.treeSelectAsync.labelField")
|
|
136
|
+
}, {
|
|
137
|
+
default: () => [e(m, {
|
|
138
|
+
value: t.value.attr.labelField,
|
|
139
|
+
"onUpdate:value": (l) => t.value.attr.labelField = l
|
|
140
|
+
}, null)]
|
|
141
|
+
}), e(i, {
|
|
142
|
+
label: a("components.formEditor.treeSelectAsync.keyField")
|
|
143
|
+
}, {
|
|
144
|
+
default: () => [e(m, {
|
|
145
|
+
value: t.value.attr.keyField,
|
|
146
|
+
"onUpdate:value": (l) => t.value.attr.keyField = l
|
|
147
|
+
}, null)]
|
|
148
|
+
})]
|
|
149
|
+
}), e(v, {
|
|
150
|
+
value: t.value.rule,
|
|
151
|
+
"onUpdate:value": (l) => t.value.rule = l
|
|
152
|
+
}, null)]);
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
function se(o) {
|
|
156
|
+
return {
|
|
157
|
+
name: "tree-select-async",
|
|
158
|
+
icon: "i-tabler:binary-tree",
|
|
159
|
+
label: o("components.formEditor.treeSelectAsync.name"),
|
|
160
|
+
group: "async",
|
|
161
|
+
component: (r) => e(b, r, null),
|
|
162
|
+
setting: (r) => e(E, r, null),
|
|
163
|
+
settingDefault: {
|
|
164
|
+
label: o("components.formEditor.treeSelectAsync.name"),
|
|
165
|
+
name: "treeSelectAsync",
|
|
166
|
+
attr: {
|
|
167
|
+
path: "",
|
|
168
|
+
keyField: "id",
|
|
169
|
+
labelField: "name",
|
|
170
|
+
clearable: !0
|
|
171
|
+
},
|
|
172
|
+
rule: []
|
|
173
|
+
},
|
|
174
|
+
json: y
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
export {
|
|
178
|
+
se as duxFormEditorTreeSelectAsync
|
|
179
|
+
};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { defineComponent as f, computed as u, createVNode as t, mergeProps as E, isVNode as x } from "vue";
|
|
2
|
+
import { useI18n as F } from "@duxweb/dvha-core";
|
|
3
|
+
import { NButton as a } from "naive-ui";
|
|
4
|
+
import "vue-router";
|
|
5
|
+
import "@overlastic/vue";
|
|
6
|
+
import "clsx";
|
|
7
|
+
import "vue-echarts";
|
|
8
|
+
import "@vueuse/core";
|
|
9
|
+
import "vue3-ace-editor";
|
|
10
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
11
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
12
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
13
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
14
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
15
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
16
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
17
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
18
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
19
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
20
|
+
import "vue-cropper";
|
|
21
|
+
import "jinrishici";
|
|
22
|
+
import "lodash-es";
|
|
23
|
+
import "vue-draggable-plus";
|
|
24
|
+
import "@vee-validate/i18n";
|
|
25
|
+
import "colorizr";
|
|
26
|
+
import "echarts";
|
|
27
|
+
import "@ant-design/colors";
|
|
28
|
+
import "@unocss/preset-icons/browser";
|
|
29
|
+
import "@unocss/preset-typography";
|
|
30
|
+
import "unocss/preset-wind4";
|
|
31
|
+
import "@vee-validate/i18n/dist/locale/en.json";
|
|
32
|
+
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
33
|
+
import "vee-validate";
|
|
34
|
+
import "vue-command-palette";
|
|
35
|
+
import "@duxweb/dvha-naiveui";
|
|
36
|
+
import "../../pages/page404.js";
|
|
37
|
+
import { DuxDesignEditor as d } from "../designEditor/editor.js";
|
|
38
|
+
import "short-unique-id";
|
|
39
|
+
import "aieditor";
|
|
40
|
+
import { DuxFormLayout as g } from "../form/formLayout.js";
|
|
41
|
+
import { duxFormEditorCascader as y } from "./components/cascader.js";
|
|
42
|
+
import { duxFormEditorCascaderAsync as b } from "./components/cascaderAsync.js";
|
|
43
|
+
import { duxFormEditorCheckbox as v } from "./components/checkbox.js";
|
|
44
|
+
import { duxFormEditorColor as S } from "./components/color.js";
|
|
45
|
+
import { duxFormEditorDate as D } from "./components/date.js";
|
|
46
|
+
import { duxFormEditorDynamicInput as C } from "./components/dynamicInput.js";
|
|
47
|
+
import { duxFormEditorDynamicTags as P } from "./components/dynamicTags.js";
|
|
48
|
+
import { duxFormEditorAIEditor as k } from "./components/editor.js";
|
|
49
|
+
import { duxFormEditorInput as A } from "./components/input.js";
|
|
50
|
+
import { duxFormEditorInputNumber as h } from "./components/inputNumber.js";
|
|
51
|
+
import { duxFormEditorMentionAsync as j } from "./components/mentionAsync.js";
|
|
52
|
+
import { duxFormEditorRadio as I } from "./components/radio.js";
|
|
53
|
+
import { duxFormEditorRegion as T } from "./components/region.js";
|
|
54
|
+
import { duxFormEditorSider as w } from "./components/sider.js";
|
|
55
|
+
import { duxFormEditorSwitch as N } from "./components/switch.js";
|
|
56
|
+
import { duxFormEditorTime as O } from "./components/time.js";
|
|
57
|
+
import { duxFormEditorTransferAsync as _ } from "./components/transferAsync.js";
|
|
58
|
+
import { duxFormEditorTreeSelect as R } from "./components/treeSelect.js";
|
|
59
|
+
import { duxFormEditorTreeSelectAsync as M } from "./components/treeSelectAsync.js";
|
|
60
|
+
import { duxFormEditorSelect as V } from "./components/select.js";
|
|
61
|
+
import { duxFormEditorSelectAsync as B } from "./components/selectAsync.js";
|
|
62
|
+
import { DuxFormEditorSettingPage as L } from "./base/setting.js";
|
|
63
|
+
import "@iconify-json/tabler/icons.json";
|
|
64
|
+
import "../posterEditor/elements/index.js";
|
|
65
|
+
import "fabric";
|
|
66
|
+
import "mime";
|
|
67
|
+
import { useModal as W } from "../../hooks/modal.js";
|
|
68
|
+
import "dayjs";
|
|
69
|
+
import "@tanstack/vue-query";
|
|
70
|
+
import "pinia";
|
|
71
|
+
function p(m) {
|
|
72
|
+
return typeof m == "function" || Object.prototype.toString.call(m) === "[object Object]" && !x(m);
|
|
73
|
+
}
|
|
74
|
+
const er = /* @__PURE__ */ f({
|
|
75
|
+
name: "DuxFormEditor",
|
|
76
|
+
props: {
|
|
77
|
+
onSave: Function
|
|
78
|
+
},
|
|
79
|
+
extends: d,
|
|
80
|
+
setup(m) {
|
|
81
|
+
const c = W(), l = u(() => [{
|
|
82
|
+
name: "form",
|
|
83
|
+
label: o("components.formEditor.groups.form"),
|
|
84
|
+
icon: "i-tabler:forms"
|
|
85
|
+
}, {
|
|
86
|
+
name: "select",
|
|
87
|
+
label: o("components.formEditor.groups.select"),
|
|
88
|
+
icon: "i-tabler:select"
|
|
89
|
+
}, {
|
|
90
|
+
name: "async",
|
|
91
|
+
label: o("components.formEditor.groups.async"),
|
|
92
|
+
icon: "i-tabler:loader"
|
|
93
|
+
}]), {
|
|
94
|
+
t: o
|
|
95
|
+
} = F(), s = u(() => [A(o), h(o), k(o), w(o), D(o), O(o), S(o), v(o), I(o), N(o), C(o), P(o), V(o), y(o), R(o), T(o), B(o), b(o), M(o), _(o), j(o)]);
|
|
96
|
+
return () => t(d, E(m, {
|
|
97
|
+
groups: l.value,
|
|
98
|
+
components: s.value,
|
|
99
|
+
settingPage: {
|
|
100
|
+
component: (r) => t(L, r, null),
|
|
101
|
+
default: {
|
|
102
|
+
labelPlacement: "left"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
previewWrapper: (r, i) => {
|
|
106
|
+
const e = u(() => i?.value?.value?.config);
|
|
107
|
+
return t(g, {
|
|
108
|
+
labelPlacement: e.value?.labelPlacement || "left",
|
|
109
|
+
class: "h-full"
|
|
110
|
+
}, p(r) ? r : {
|
|
111
|
+
default: () => [r]
|
|
112
|
+
});
|
|
113
|
+
},
|
|
114
|
+
actionRender: (r) => {
|
|
115
|
+
let i, e, n;
|
|
116
|
+
return t("div", {
|
|
117
|
+
class: "flex flex-col gap-2"
|
|
118
|
+
}, [t(a, {
|
|
119
|
+
type: "primary",
|
|
120
|
+
secondary: !0,
|
|
121
|
+
block: !0,
|
|
122
|
+
onClick: () => {
|
|
123
|
+
c.show({
|
|
124
|
+
title: o("components.formEditor.main.actions.jsonOutput"),
|
|
125
|
+
component: () => import("./json.js"),
|
|
126
|
+
componentProps: {
|
|
127
|
+
value: r?.value?.value.data || []
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
}, p(i = o("components.formEditor.main.actions.jsonOutput")) ? i : {
|
|
132
|
+
default: () => [i]
|
|
133
|
+
}), t(a, {
|
|
134
|
+
type: "info",
|
|
135
|
+
secondary: !0,
|
|
136
|
+
block: !0,
|
|
137
|
+
onClick: () => {
|
|
138
|
+
c.show({
|
|
139
|
+
title: o("common.preview"),
|
|
140
|
+
component: () => import("./preview.js"),
|
|
141
|
+
componentProps: {
|
|
142
|
+
data: r?.value?.value.data || [],
|
|
143
|
+
config: r?.value?.value.config || {}
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
}, p(e = o("common.preview")) ? e : {
|
|
148
|
+
default: () => [e]
|
|
149
|
+
}), t(a, {
|
|
150
|
+
type: "primary",
|
|
151
|
+
block: !0,
|
|
152
|
+
onClick: () => m.onSave?.(r)
|
|
153
|
+
}, p(n = o("components.formEditor.main.actions.save")) ? n : {
|
|
154
|
+
default: () => [n]
|
|
155
|
+
})]);
|
|
156
|
+
}
|
|
157
|
+
}), null);
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
export {
|
|
161
|
+
er as DuxFormEditor
|
|
162
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as t, createVNode as e } from "vue";
|
|
2
|
+
import { DuxCodeEditor as r } from "../code/code.js";
|
|
3
|
+
import "@overlastic/vue";
|
|
4
|
+
import "naive-ui";
|
|
5
|
+
import l from "../modal/modalPage.js";
|
|
6
|
+
const i = /* @__PURE__ */ t({
|
|
7
|
+
props: {
|
|
8
|
+
value: {
|
|
9
|
+
type: Object,
|
|
10
|
+
default: () => ({})
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
setup(o) {
|
|
14
|
+
return () => e(l, null, {
|
|
15
|
+
default: () => [e(r, {
|
|
16
|
+
value: JSON.stringify(o.value, null, 2),
|
|
17
|
+
readonly: !0
|
|
18
|
+
}, null)]
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
i as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as m, ref as n, createVNode as o } from "vue";
|
|
2
|
+
import { useI18n as u } from "@duxweb/dvha-core";
|
|
3
|
+
import "@overlastic/vue";
|
|
4
|
+
import "naive-ui";
|
|
5
|
+
import f from "../modal/modalPage.js";
|
|
6
|
+
import { DuxFormRenderer as i } from "./renderer.js";
|
|
7
|
+
const x = /* @__PURE__ */ m({
|
|
8
|
+
name: "DuxFormPreview",
|
|
9
|
+
props: {
|
|
10
|
+
data: {
|
|
11
|
+
type: Array,
|
|
12
|
+
default: () => []
|
|
13
|
+
},
|
|
14
|
+
config: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default: () => ({})
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(e) {
|
|
20
|
+
const {
|
|
21
|
+
t: r
|
|
22
|
+
} = u(), t = n({});
|
|
23
|
+
return () => o(f, {
|
|
24
|
+
title: r("common.preview")
|
|
25
|
+
}, {
|
|
26
|
+
default: () => [o(i, {
|
|
27
|
+
value: t.value,
|
|
28
|
+
"onUpdate:value": (a) => t.value = a,
|
|
29
|
+
data: e.data,
|
|
30
|
+
config: e.config
|
|
31
|
+
}, null)]
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
x as DuxFormPreview,
|
|
37
|
+
x as default
|
|
38
|
+
};
|