@duxweb/dvha-pro 1.0.24 → 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/components/CanvasRuler.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/circle.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/image.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/index.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/rect.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/text.cjs +1 -0
- package/dist/cjs/components/posterEditor/hooks/usePosterEditor.cjs +1 -0
- package/dist/cjs/components/posterEditor/pages/LeftToolbar.cjs +1 -0
- package/dist/cjs/components/posterEditor/pages/Panel.cjs +1 -0
- package/dist/cjs/components/posterEditor/pages/PanelItem.cjs +1 -0
- 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/layout.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 +58 -2
- package/dist/esm/component.js +52 -48
- package/dist/esm/components/chart/echart.js +18 -15
- package/dist/esm/components/crop/imageCrop.js +19 -16
- package/dist/esm/components/data/dynamicSelect.js +20 -17
- package/dist/esm/components/data/selectModal.js +23 -20
- 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 +25 -22
- 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 +30 -27
- package/dist/esm/components/form/pageForm.js +21 -18
- package/dist/esm/components/form/settingForm.js +14 -11
- 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 +19 -16
- package/dist/esm/components/layout/grid.js +24 -0
- package/dist/esm/components/layout/list.js +29 -26
- package/dist/esm/components/layout/table.js +27 -24
- package/dist/esm/components/level/level.js +18 -15
- package/dist/esm/components/posterEditor/components/CanvasRuler.js +113 -0
- package/dist/esm/components/posterEditor/elements/circle.js +127 -0
- package/dist/esm/components/posterEditor/elements/image.js +131 -0
- package/dist/esm/components/posterEditor/elements/index.js +46 -0
- package/dist/esm/components/posterEditor/elements/rect.js +171 -0
- package/dist/esm/components/posterEditor/elements/text.js +206 -0
- package/dist/esm/components/posterEditor/hooks/usePosterEditor.js +434 -0
- package/dist/esm/components/posterEditor/pages/LeftToolbar.js +40 -0
- package/dist/esm/components/posterEditor/pages/Panel.js +31 -0
- package/dist/esm/components/posterEditor/pages/PanelItem.js +22 -0
- package/dist/esm/components/posterEditor/pages/RightPanel.js +422 -0
- package/dist/esm/components/posterEditor/posterEditor.js +228 -0
- package/dist/esm/components/table/table.js +18 -15
- package/dist/esm/components/upload/file.js +101 -90
- package/dist/esm/components/upload/image.js +109 -96
- package/dist/esm/components/upload/manage/item.js +18 -15
- package/dist/esm/components/upload/manager.js +68 -65
- package/dist/esm/hooks/dialog.js +19 -16
- package/dist/esm/hooks/drawer.js +19 -16
- package/dist/esm/hooks/modal.js +18 -15
- package/dist/esm/hooks/table/image.js +18 -15
- package/dist/esm/hooks/table/media.js +18 -15
- package/dist/esm/index.js +230 -202
- 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 +19 -16
- package/dist/esm/pages/layout/page.js +18 -15
- package/dist/esm/pages/layout.js +7 -6
- package/dist/esm/pages/login.js +19 -17
- package/dist/esm/pages/menu/avatar.js +23 -20
- package/dist/esm/pages/menu/button.js +18 -15
- package/dist/esm/pages/menu/cmd.js +29 -26
- package/dist/esm/pages/menu/main.js +28 -25
- package/dist/esm/pages/menu/mobile.js +18 -15
- package/dist/esm/pages/page404.js +16 -13
- package/dist/esm/pages/pageStatus.js +21 -18
- package/dist/esm/theme/uno.css.js +58 -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 +4 -2
- 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/dist/types/components/posterEditor/components/CanvasRuler.d.ts +43 -0
- package/dist/types/components/posterEditor/components/index.d.ts +1 -0
- package/dist/types/components/posterEditor/elements/circle.d.ts +3 -0
- package/dist/types/components/posterEditor/elements/image.d.ts +3 -0
- package/dist/types/components/posterEditor/elements/index.d.ts +15 -0
- package/dist/types/components/posterEditor/elements/rect.d.ts +3 -0
- package/dist/types/components/posterEditor/elements/text.d.ts +3 -0
- package/dist/types/components/posterEditor/elements/types.d.ts +51 -0
- package/dist/types/components/posterEditor/hooks/index.d.ts +1 -0
- package/dist/types/components/posterEditor/hooks/usePosterEditor.d.ts +48 -0
- package/dist/types/components/posterEditor/index.d.ts +4 -0
- package/dist/types/components/posterEditor/pages/LeftToolbar.d.ts +33 -0
- package/dist/types/components/posterEditor/pages/Panel.d.ts +11 -0
- package/dist/types/components/posterEditor/pages/PanelItem.d.ts +11 -0
- package/dist/types/components/posterEditor/pages/RightPanel.d.ts +208 -0
- package/dist/types/components/posterEditor/pages/index.d.ts +4 -0
- package/dist/types/components/posterEditor/posterEditor.d.ts +61 -0
- package/dist/types/components/posterEditor/types/editor.d.ts +47 -0
- package/dist/types/components/stats/number.d.ts +1 -1
- package/dist/types/components/upload/file.d.ts +5 -3
- package/dist/types/index.d.ts +1 -0
- package/dist/types/pages/layout/global.d.ts +0 -1
- package/package.json +7 -3
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { defineComponent as F, computed as l, createVNode as y } from "vue";
|
|
2
|
+
import { useI18n as h, useJsonSchema as b } from "@duxweb/dvha-core";
|
|
3
|
+
import { useVModel as g } from "@vueuse/core";
|
|
4
|
+
import { duxFormEditorGrid as A } from "../designEditor/components/grid.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "lodash-es";
|
|
7
|
+
import "naive-ui";
|
|
8
|
+
import "short-unique-id";
|
|
9
|
+
import "vue-draggable-plus";
|
|
10
|
+
import "vue-echarts";
|
|
11
|
+
import "vue-router";
|
|
12
|
+
import "@overlastic/vue";
|
|
13
|
+
import "dayjs";
|
|
14
|
+
import "mime";
|
|
15
|
+
import "@tanstack/vue-query";
|
|
16
|
+
import "@duxweb/dvha-naiveui";
|
|
17
|
+
import "pinia";
|
|
18
|
+
import "vue3-ace-editor";
|
|
19
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
20
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
21
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
22
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
23
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
24
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
25
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
26
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
27
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
28
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
29
|
+
import "vue-cropper";
|
|
30
|
+
import "jinrishici";
|
|
31
|
+
import "aieditor";
|
|
32
|
+
import "vee-validate";
|
|
33
|
+
import "@vee-validate/i18n";
|
|
34
|
+
import "colorizr";
|
|
35
|
+
import "echarts";
|
|
36
|
+
import "@ant-design/colors";
|
|
37
|
+
import "@unocss/preset-icons/browser";
|
|
38
|
+
import "@unocss/preset-typography";
|
|
39
|
+
import "unocss/preset-wind4";
|
|
40
|
+
import "@vee-validate/i18n/dist/locale/en.json";
|
|
41
|
+
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
42
|
+
import "vue-command-palette";
|
|
43
|
+
import "../../pages/page404.js";
|
|
44
|
+
import { duxFormEditorCascader as S } from "./components/cascader.js";
|
|
45
|
+
import { duxFormEditorCascaderAsync as v } from "./components/cascaderAsync.js";
|
|
46
|
+
import { duxFormEditorCheckbox as j } from "./components/checkbox.js";
|
|
47
|
+
import { duxFormEditorColor as D } from "./components/color.js";
|
|
48
|
+
import { duxFormEditorDate as T } from "./components/date.js";
|
|
49
|
+
import { duxFormEditorDynamicInput as C } from "./components/dynamicInput.js";
|
|
50
|
+
import { duxFormEditorDynamicTags as I } from "./components/dynamicTags.js";
|
|
51
|
+
import { duxFormEditorAIEditor as M } from "./components/editor.js";
|
|
52
|
+
import { duxFormEditorInput as R } from "./components/input.js";
|
|
53
|
+
import { duxFormEditorInputNumber as J } from "./components/inputNumber.js";
|
|
54
|
+
import { duxFormEditorMentionAsync as N } from "./components/mentionAsync.js";
|
|
55
|
+
import { duxFormEditorRadio as O } from "./components/radio.js";
|
|
56
|
+
import { duxFormEditorRegion as V } from "./components/region.js";
|
|
57
|
+
import { duxFormEditorSider as w } from "./components/sider.js";
|
|
58
|
+
import { duxFormEditorSwitch as B } from "./components/switch.js";
|
|
59
|
+
import { duxFormEditorTime as P } from "./components/time.js";
|
|
60
|
+
import { duxFormEditorTransferAsync as k } from "./components/transferAsync.js";
|
|
61
|
+
import { duxFormEditorTreeSelect as G } from "./components/treeSelect.js";
|
|
62
|
+
import { duxFormEditorTreeSelectAsync as q } from "./components/treeSelectAsync.js";
|
|
63
|
+
import { duxFormEditorSelect as z } from "./components/select.js";
|
|
64
|
+
import { duxFormEditorSelectAsync as H } from "./components/selectAsync.js";
|
|
65
|
+
import "@iconify-json/tabler/icons.json";
|
|
66
|
+
import "../posterEditor/elements/index.js";
|
|
67
|
+
import "fabric";
|
|
68
|
+
const mo = /* @__PURE__ */ F({
|
|
69
|
+
name: "DuxFormRenderer",
|
|
70
|
+
props: {
|
|
71
|
+
data: {
|
|
72
|
+
type: Array,
|
|
73
|
+
default: () => []
|
|
74
|
+
},
|
|
75
|
+
value: {
|
|
76
|
+
type: Object,
|
|
77
|
+
default: () => ({})
|
|
78
|
+
},
|
|
79
|
+
config: {
|
|
80
|
+
type: Object,
|
|
81
|
+
default: () => ({})
|
|
82
|
+
},
|
|
83
|
+
readonly: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
default: !1
|
|
86
|
+
},
|
|
87
|
+
disabled: {
|
|
88
|
+
type: Boolean,
|
|
89
|
+
default: !1
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
setup(i, {
|
|
93
|
+
emit: f
|
|
94
|
+
}) {
|
|
95
|
+
const {
|
|
96
|
+
t: r
|
|
97
|
+
} = h(), s = l(() => {
|
|
98
|
+
const t = [A(r), R(r), J(r), M(r), w(r), T(r), P(r), D(r), j(r), O(r), B(r), C(r), I(r), z(r), S(r), G(r), V(r), H(r), v(r), q(r), k(r), N(r)], m = /* @__PURE__ */ new Map();
|
|
99
|
+
return t.forEach((o) => {
|
|
100
|
+
m.set(o.name, o);
|
|
101
|
+
}), m;
|
|
102
|
+
}), n = g(i, "value", f, {
|
|
103
|
+
defaultValue: {},
|
|
104
|
+
deep: !0
|
|
105
|
+
}), e = (t, m = n.value) => t.length > 0 && Array.isArray(t[0]) ? t.flatMap((o) => Array.isArray(o) ? e(o, m) : []) : t.map((o) => {
|
|
106
|
+
const {
|
|
107
|
+
name: p,
|
|
108
|
+
options: d = {}
|
|
109
|
+
} = o, a = s.value.get(p), u = {
|
|
110
|
+
...d,
|
|
111
|
+
attr: {
|
|
112
|
+
...d.attr,
|
|
113
|
+
readonly: i.readonly || d.attr?.readonly,
|
|
114
|
+
disabled: i.disabled || d.attr?.disabled
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
if (a?.json)
|
|
118
|
+
return a.json({
|
|
119
|
+
options: u,
|
|
120
|
+
children: o.children,
|
|
121
|
+
model: m,
|
|
122
|
+
convertToJsonSchema: e
|
|
123
|
+
});
|
|
124
|
+
const c = {
|
|
125
|
+
tag: p,
|
|
126
|
+
attrs: u.attr || {}
|
|
127
|
+
};
|
|
128
|
+
return o.children?.length && (c.children = e(o.children, m)), c;
|
|
129
|
+
}), x = l(() => {
|
|
130
|
+
const t = e(i.data, n.value);
|
|
131
|
+
return [{
|
|
132
|
+
tag: "dux-form-layout",
|
|
133
|
+
attrs: {
|
|
134
|
+
labelPlacement: i.config?.labelPlacement || "left"
|
|
135
|
+
},
|
|
136
|
+
children: t
|
|
137
|
+
}];
|
|
138
|
+
}), {
|
|
139
|
+
render: E
|
|
140
|
+
} = b({
|
|
141
|
+
data: x,
|
|
142
|
+
context: {
|
|
143
|
+
form: n.value
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
return () => y(E, null, null);
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
export {
|
|
150
|
+
mo as DuxFormRenderer
|
|
151
|
+
};
|
|
@@ -6,12 +6,21 @@ import "vue-router";
|
|
|
6
6
|
import "@overlastic/vue";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "vue-echarts";
|
|
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";
|
|
9
20
|
import "vue-cropper";
|
|
10
21
|
import "jinrishici";
|
|
11
22
|
import "lodash-es";
|
|
12
23
|
import "vue-draggable-plus";
|
|
13
|
-
import "aieditor";
|
|
14
|
-
import "vee-validate";
|
|
15
24
|
import "@vee-validate/i18n";
|
|
16
25
|
import "colorizr";
|
|
17
26
|
import "echarts";
|
|
@@ -21,27 +30,21 @@ import "@unocss/preset-typography";
|
|
|
21
30
|
import "unocss/preset-wind4";
|
|
22
31
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
23
32
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
33
|
+
import "vee-validate";
|
|
24
34
|
import "vue-command-palette";
|
|
25
35
|
import "@duxweb/dvha-naiveui";
|
|
26
36
|
import "../../pages/page404.js";
|
|
37
|
+
import "short-unique-id";
|
|
38
|
+
import "aieditor";
|
|
39
|
+
import { useModal as c } from "../../hooks/modal.js";
|
|
27
40
|
import "@iconify-json/tabler/icons.json";
|
|
41
|
+
import "../posterEditor/elements/index.js";
|
|
42
|
+
import "fabric";
|
|
28
43
|
import "mime";
|
|
29
|
-
import "vue3-ace-editor";
|
|
30
|
-
import "ace-builds/src-noconflict/mode-vue";
|
|
31
|
-
import "ace-builds/src-noconflict/mode-javascript";
|
|
32
|
-
import "ace-builds/src-noconflict/mode-html";
|
|
33
|
-
import "ace-builds/src-noconflict/mode-json";
|
|
34
|
-
import "ace-builds/src-noconflict/mode-json5";
|
|
35
|
-
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
36
|
-
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
37
|
-
import "ace-builds/src-noconflict/ext-searchbox";
|
|
38
|
-
import "ace-builds/src-noconflict/ext-language_tools";
|
|
39
|
-
import "ace-builds/src-noconflict/mode-snippets";
|
|
40
|
-
import { useModal as c } from "../../hooks/modal.js";
|
|
41
44
|
import "dayjs";
|
|
42
45
|
import "@tanstack/vue-query";
|
|
43
46
|
import "pinia";
|
|
44
|
-
const
|
|
47
|
+
const eo = /* @__PURE__ */ n({
|
|
45
48
|
name: "DuxIconPicker",
|
|
46
49
|
props: {
|
|
47
50
|
defaultValue: String,
|
|
@@ -85,5 +88,5 @@ const to = /* @__PURE__ */ n({
|
|
|
85
88
|
}
|
|
86
89
|
});
|
|
87
90
|
export {
|
|
88
|
-
|
|
91
|
+
eo as DuxIconPicker
|
|
89
92
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as d, createVNode as t } from "vue";
|
|
2
|
+
const l = /* @__PURE__ */ d({
|
|
3
|
+
name: "DuxGrid",
|
|
4
|
+
props: {
|
|
5
|
+
cols: {
|
|
6
|
+
type: Number,
|
|
7
|
+
default: 2
|
|
8
|
+
},
|
|
9
|
+
spac: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 2
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
setup(e, {
|
|
15
|
+
slots: r
|
|
16
|
+
}) {
|
|
17
|
+
return () => t("div", {
|
|
18
|
+
class: `w-full grid md:grid-cols-${e?.cols || 2} grid-cols-1 gap-${e?.spac || 2}`
|
|
19
|
+
}, [r.default?.()]);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
l as DuxGrid
|
|
24
|
+
};
|
|
@@ -6,15 +6,24 @@ import { useAction as de } from "../../hooks/action.js";
|
|
|
6
6
|
import "@overlastic/vue";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "vue-echarts";
|
|
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";
|
|
9
20
|
import "vue-cropper";
|
|
10
21
|
import pe from "../modal/modalPage.js";
|
|
11
22
|
import "jinrishici";
|
|
12
23
|
import "lodash-es";
|
|
13
24
|
import "vue-draggable-plus";
|
|
14
|
-
import {
|
|
15
|
-
import "
|
|
16
|
-
import "vee-validate";
|
|
17
|
-
import "vue-router";
|
|
25
|
+
import { DuxTableFilter as me } from "./filter.js";
|
|
26
|
+
import { DuxFilterLayout as fe } from "./filterLayout.js";
|
|
18
27
|
import "@vee-validate/i18n";
|
|
19
28
|
import "colorizr";
|
|
20
29
|
import "echarts";
|
|
@@ -24,34 +33,28 @@ import "@unocss/preset-typography";
|
|
|
24
33
|
import "unocss/preset-wind4";
|
|
25
34
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
26
35
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
36
|
+
import "vee-validate";
|
|
37
|
+
import "vue-router";
|
|
27
38
|
import "vue-command-palette";
|
|
28
39
|
import "@duxweb/dvha-naiveui";
|
|
29
|
-
import { DuxPage as
|
|
40
|
+
import { DuxPage as ge } from "../../pages/page.js";
|
|
30
41
|
import "../../pages/page404.js";
|
|
31
|
-
import { DuxPageEmpty as
|
|
32
|
-
import "
|
|
33
|
-
import { DuxTableFilter as ge } from "./filter.js";
|
|
34
|
-
import { DuxFilterLayout as he } from "./filterLayout.js";
|
|
42
|
+
import { DuxPageEmpty as he } from "../../pages/pageEmpty.js";
|
|
43
|
+
import { DuxDrawerPage as N } from "../drawer/drawerPage.js";
|
|
35
44
|
import { DuxTableTools as ve } from "./tools.js";
|
|
45
|
+
import "short-unique-id";
|
|
46
|
+
import "aieditor";
|
|
47
|
+
import "@iconify-json/tabler/icons.json";
|
|
48
|
+
import "../posterEditor/elements/index.js";
|
|
49
|
+
import "fabric";
|
|
36
50
|
import "mime";
|
|
37
|
-
import "vue3-ace-editor";
|
|
38
|
-
import "ace-builds/src-noconflict/mode-vue";
|
|
39
|
-
import "ace-builds/src-noconflict/mode-javascript";
|
|
40
|
-
import "ace-builds/src-noconflict/mode-html";
|
|
41
|
-
import "ace-builds/src-noconflict/mode-json";
|
|
42
|
-
import "ace-builds/src-noconflict/mode-json5";
|
|
43
|
-
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
44
|
-
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
45
|
-
import "ace-builds/src-noconflict/ext-searchbox";
|
|
46
|
-
import "ace-builds/src-noconflict/ext-language_tools";
|
|
47
|
-
import "ace-builds/src-noconflict/mode-snippets";
|
|
48
51
|
import "dayjs";
|
|
49
52
|
import "@tanstack/vue-query";
|
|
50
53
|
import "pinia";
|
|
51
54
|
function be(t) {
|
|
52
55
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !te(t);
|
|
53
56
|
}
|
|
54
|
-
const
|
|
57
|
+
const bt = /* @__PURE__ */ Y({
|
|
55
58
|
name: "DuxListLayout",
|
|
56
59
|
props: {
|
|
57
60
|
rowKey: {
|
|
@@ -165,7 +168,7 @@ const gt = /* @__PURE__ */ Y({
|
|
|
165
168
|
...X
|
|
166
169
|
} = r;
|
|
167
170
|
return {
|
|
168
|
-
tag:
|
|
171
|
+
tag: me,
|
|
169
172
|
attrs: {
|
|
170
173
|
label: u,
|
|
171
174
|
class: "flex-1 min-w-0"
|
|
@@ -186,7 +189,7 @@ const gt = /* @__PURE__ */ Y({
|
|
|
186
189
|
refresh: !0,
|
|
187
190
|
...t.tools
|
|
188
191
|
}));
|
|
189
|
-
return () => e(
|
|
192
|
+
return () => e(ge, {
|
|
190
193
|
padding: !1,
|
|
191
194
|
scrollbar: !1
|
|
192
195
|
}, {
|
|
@@ -283,7 +286,7 @@ const gt = /* @__PURE__ */ Y({
|
|
|
283
286
|
class: ["h-full overflow-auto rounded-lg px-3"]
|
|
284
287
|
}, [!w.value && x.value.length === 0 && e("div", {
|
|
285
288
|
class: "flex justify-center items-center h-full"
|
|
286
|
-
}, [e(
|
|
289
|
+
}, [e(he, null, null)]), x.value.length > 0 && o?.default?.(a)])]
|
|
287
290
|
}), e("div", {
|
|
288
291
|
class: "flex justify-between px-3 py-2 gap-2"
|
|
289
292
|
}, [e("div", null, [e("div", {
|
|
@@ -386,7 +389,7 @@ const gt = /* @__PURE__ */ Y({
|
|
|
386
389
|
handle: l,
|
|
387
390
|
onClose: () => d.show = !1
|
|
388
391
|
}, {
|
|
389
|
-
default: () => [e(
|
|
392
|
+
default: () => [e(fe, {
|
|
390
393
|
showLabel: !0,
|
|
391
394
|
labelPlacement: "top"
|
|
392
395
|
}, be(r = R(H)) ? r : {
|
|
@@ -425,5 +428,5 @@ const gt = /* @__PURE__ */ Y({
|
|
|
425
428
|
}
|
|
426
429
|
});
|
|
427
430
|
export {
|
|
428
|
-
|
|
431
|
+
bt as DuxListLayout
|
|
429
432
|
};
|