@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as S, computed as n, watch as
|
|
1
|
+
import { defineComponent as S, computed as n, watch as p, ref as U, createVNode as a } from "vue";
|
|
2
2
|
import { useI18n as k, useUpload as w } from "@duxweb/dvha-core";
|
|
3
3
|
import { useVModel as I } from "@vueuse/core";
|
|
4
4
|
import V from "clsx";
|
|
5
|
-
import { useMessage as j, NImage as A, NButton as
|
|
5
|
+
import { useMessage as j, NImage as A, NButton as c, NProgress as D } from "naive-ui";
|
|
6
6
|
import { VueDraggable as B } from "vue-draggable-plus";
|
|
7
7
|
import "vue-router";
|
|
8
8
|
import "@overlastic/vue";
|
|
@@ -21,8 +21,6 @@ import "ace-builds/src-noconflict/mode-snippets";
|
|
|
21
21
|
import "vue-cropper";
|
|
22
22
|
import "jinrishici";
|
|
23
23
|
import "lodash-es";
|
|
24
|
-
import "aieditor";
|
|
25
|
-
import "vee-validate";
|
|
26
24
|
import "@vee-validate/i18n";
|
|
27
25
|
import "colorizr";
|
|
28
26
|
import "echarts";
|
|
@@ -32,20 +30,23 @@ import "@unocss/preset-typography";
|
|
|
32
30
|
import "unocss/preset-wind4";
|
|
33
31
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
34
32
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
33
|
+
import "vee-validate";
|
|
35
34
|
import "vue-command-palette";
|
|
36
35
|
import "@duxweb/dvha-naiveui";
|
|
37
36
|
import "../../pages/page404.js";
|
|
37
|
+
import "short-unique-id";
|
|
38
|
+
import "aieditor";
|
|
39
|
+
import { useModal as M } from "../../hooks/modal.js";
|
|
38
40
|
import "@iconify-json/tabler/icons.json";
|
|
39
|
-
import "../
|
|
41
|
+
import "../posterEditor/elements/index.js";
|
|
40
42
|
import "fabric";
|
|
41
43
|
import "mime";
|
|
42
|
-
import { useUploadConfig as
|
|
43
|
-
import { useModal as L } from "../../hooks/modal.js";
|
|
44
|
+
import { useUploadConfig as L } from "./config.js";
|
|
44
45
|
import "dayjs";
|
|
45
46
|
import { useImagePreview as O } from "../../hooks/image.js";
|
|
46
47
|
import "@tanstack/vue-query";
|
|
47
48
|
import "pinia";
|
|
48
|
-
const
|
|
49
|
+
const Ae = /* @__PURE__ */ S({
|
|
49
50
|
name: "DuxImageUpload",
|
|
50
51
|
props: {
|
|
51
52
|
path: {
|
|
@@ -97,7 +98,7 @@ const je = /* @__PURE__ */ S({
|
|
|
97
98
|
uploadPath: s,
|
|
98
99
|
managePath: b,
|
|
99
100
|
driver: x
|
|
100
|
-
} =
|
|
101
|
+
} = L({
|
|
101
102
|
driver: t?.driver,
|
|
102
103
|
signPath: t?.signPath,
|
|
103
104
|
signCallback: t?.signCallback,
|
|
@@ -115,14 +116,14 @@ const je = /* @__PURE__ */ S({
|
|
|
115
116
|
},
|
|
116
117
|
driver: x.value
|
|
117
118
|
});
|
|
118
|
-
|
|
119
|
+
p(r.dataFiles, (e) => {
|
|
119
120
|
const l = t.multiple ? e?.map((i) => i.url) : e?.[0]?.url;
|
|
120
121
|
u.value = l, t.onUpdateValue?.(l);
|
|
121
122
|
});
|
|
122
123
|
const y = n(() => r.progress.value.totalPercent), z = n(() => r.isUploading.value), F = async () => {
|
|
123
124
|
r.open();
|
|
124
|
-
}, P = n(() => t.multiple ? t.maxNum && r.uploadFiles.value.length >= t.maxNum : !0), C = n(() => r.dataFiles.value?.map((e) => e.url)), N =
|
|
125
|
-
return
|
|
125
|
+
}, P = n(() => t.multiple ? t.maxNum && r.uploadFiles.value.length >= t.maxNum : !0), C = n(() => r.dataFiles.value?.map((e) => e.url)), N = M(), d = U(!1);
|
|
126
|
+
return p(u, (e) => {
|
|
126
127
|
if (!e || !e?.length || d.value)
|
|
127
128
|
return;
|
|
128
129
|
d.value = !0;
|
|
@@ -152,7 +153,7 @@ const je = /* @__PURE__ */ S({
|
|
|
152
153
|
src: i
|
|
153
154
|
}, null), a("div", {
|
|
154
155
|
class: o.imageOverlay
|
|
155
|
-
}, [e.status === "success" && a(
|
|
156
|
+
}, [e.status === "success" && a(c, {
|
|
156
157
|
quaternary: !0,
|
|
157
158
|
circle: !0,
|
|
158
159
|
size: "small",
|
|
@@ -160,7 +161,7 @@ const je = /* @__PURE__ */ S({
|
|
|
160
161
|
class: "n-icon i-tabler:eye"
|
|
161
162
|
}, null),
|
|
162
163
|
onClick: () => f.show(C.value, l)
|
|
163
|
-
}, null), a(
|
|
164
|
+
}, null), a(c, {
|
|
164
165
|
quaternary: !0,
|
|
165
166
|
circle: !0,
|
|
166
167
|
size: "small",
|
|
@@ -220,5 +221,5 @@ const je = /* @__PURE__ */ S({
|
|
|
220
221
|
}
|
|
221
222
|
});
|
|
222
223
|
export {
|
|
223
|
-
|
|
224
|
+
Ae as DuxImageUpload
|
|
224
225
|
};
|
|
@@ -22,8 +22,6 @@ import "vue-cropper";
|
|
|
22
22
|
import "jinrishici";
|
|
23
23
|
import "lodash-es";
|
|
24
24
|
import "vue-draggable-plus";
|
|
25
|
-
import "aieditor";
|
|
26
|
-
import "vee-validate";
|
|
27
25
|
import "@vee-validate/i18n";
|
|
28
26
|
import "colorizr";
|
|
29
27
|
import "echarts";
|
|
@@ -33,11 +31,14 @@ import "@unocss/preset-typography";
|
|
|
33
31
|
import "unocss/preset-wind4";
|
|
34
32
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
35
33
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
34
|
+
import "vee-validate";
|
|
36
35
|
import "vue-command-palette";
|
|
37
36
|
import "@duxweb/dvha-naiveui";
|
|
38
37
|
import "../../../pages/page404.js";
|
|
38
|
+
import "short-unique-id";
|
|
39
|
+
import "aieditor";
|
|
39
40
|
import "@iconify-json/tabler/icons.json";
|
|
40
|
-
import "../../
|
|
41
|
+
import "../../posterEditor/elements/index.js";
|
|
41
42
|
import "fabric";
|
|
42
43
|
import "mime";
|
|
43
44
|
import f from "../../../static/images/icon/audio.svg.js";
|
|
@@ -51,7 +52,7 @@ import w from "../../../static/images/icon/word.svg.js";
|
|
|
51
52
|
import "dayjs";
|
|
52
53
|
import "@tanstack/vue-query";
|
|
53
54
|
import "pinia";
|
|
54
|
-
const
|
|
55
|
+
const ye = /* @__PURE__ */ c({
|
|
55
56
|
name: "DuxFileManageItem",
|
|
56
57
|
props: {
|
|
57
58
|
name: String,
|
|
@@ -186,5 +187,5 @@ const we = /* @__PURE__ */ c({
|
|
|
186
187
|
}
|
|
187
188
|
});
|
|
188
189
|
export {
|
|
189
|
-
|
|
190
|
+
ye as DuxFileManageItem
|
|
190
191
|
};
|
|
@@ -23,8 +23,6 @@ import "vue-cropper";
|
|
|
23
23
|
import "jinrishici";
|
|
24
24
|
import "vue-draggable-plus";
|
|
25
25
|
import { DuxDrawEmpty as Z } from "../draw/drawEmpty.js";
|
|
26
|
-
import "aieditor";
|
|
27
|
-
import "vee-validate";
|
|
28
26
|
import "@vee-validate/i18n";
|
|
29
27
|
import "colorizr";
|
|
30
28
|
import "echarts";
|
|
@@ -34,11 +32,14 @@ import "@unocss/preset-typography";
|
|
|
34
32
|
import "unocss/preset-wind4";
|
|
35
33
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
36
34
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
35
|
+
import "vee-validate";
|
|
37
36
|
import "vue-command-palette";
|
|
38
37
|
import "@duxweb/dvha-naiveui";
|
|
39
38
|
import "../../pages/page404.js";
|
|
39
|
+
import "short-unique-id";
|
|
40
|
+
import "aieditor";
|
|
40
41
|
import "@iconify-json/tabler/icons.json";
|
|
41
|
-
import "../
|
|
42
|
+
import "../posterEditor/elements/index.js";
|
|
42
43
|
import "fabric";
|
|
43
44
|
import "mime";
|
|
44
45
|
import { useUploadConfig as ee } from "./config.js";
|
|
@@ -49,7 +50,7 @@ import { DuxFileManageItem as T } from "./manage/item.js";
|
|
|
49
50
|
function P(l) {
|
|
50
51
|
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !_(l);
|
|
51
52
|
}
|
|
52
|
-
const
|
|
53
|
+
const Qe = /* @__PURE__ */ $({
|
|
53
54
|
name: "DuxFileManage",
|
|
54
55
|
props: {
|
|
55
56
|
path: String,
|
|
@@ -402,5 +403,5 @@ const Ke = /* @__PURE__ */ $({
|
|
|
402
403
|
}
|
|
403
404
|
});
|
|
404
405
|
export {
|
|
405
|
-
|
|
406
|
+
Qe as default
|
|
406
407
|
};
|
package/dist/esm/hooks/dialog.js
CHANGED
|
@@ -26,9 +26,6 @@ import "ace-builds/src-noconflict/mode-snippets";
|
|
|
26
26
|
import "vue-cropper";
|
|
27
27
|
import "jinrishici";
|
|
28
28
|
import "vue-draggable-plus";
|
|
29
|
-
import m from "../components/dialog/dialog.js";
|
|
30
|
-
import "aieditor";
|
|
31
|
-
import "vee-validate";
|
|
32
29
|
import "@vee-validate/i18n";
|
|
33
30
|
import "colorizr";
|
|
34
31
|
import "echarts";
|
|
@@ -38,12 +35,16 @@ import "@unocss/preset-typography";
|
|
|
38
35
|
import "unocss/preset-wind4";
|
|
39
36
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
40
37
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
38
|
+
import "vee-validate";
|
|
41
39
|
import "vue-command-palette";
|
|
42
40
|
import "../pages/page404.js";
|
|
41
|
+
import "short-unique-id";
|
|
42
|
+
import m from "../components/dialog/dialog.js";
|
|
43
|
+
import "aieditor";
|
|
43
44
|
import "@iconify-json/tabler/icons.json";
|
|
44
|
-
import "../components/
|
|
45
|
+
import "../components/posterEditor/elements/index.js";
|
|
45
46
|
import "fabric";
|
|
46
|
-
function
|
|
47
|
+
function tr() {
|
|
47
48
|
const t = p(m), o = (r) => t(r);
|
|
48
49
|
return {
|
|
49
50
|
confirm: (r) => o({
|
|
@@ -69,5 +70,5 @@ function or() {
|
|
|
69
70
|
};
|
|
70
71
|
}
|
|
71
72
|
export {
|
|
72
|
-
|
|
73
|
+
tr as useDialog
|
|
73
74
|
};
|
package/dist/esm/hooks/drawer.js
CHANGED
|
@@ -26,9 +26,6 @@ import "ace-builds/src-noconflict/mode-snippets";
|
|
|
26
26
|
import "vue-cropper";
|
|
27
27
|
import "jinrishici";
|
|
28
28
|
import "vue-draggable-plus";
|
|
29
|
-
import m from "../components/drawer/drawer.js";
|
|
30
|
-
import "aieditor";
|
|
31
|
-
import "vee-validate";
|
|
32
29
|
import "@vee-validate/i18n";
|
|
33
30
|
import "colorizr";
|
|
34
31
|
import "echarts";
|
|
@@ -38,17 +35,21 @@ import "@unocss/preset-typography";
|
|
|
38
35
|
import "unocss/preset-wind4";
|
|
39
36
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
40
37
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
38
|
+
import "vee-validate";
|
|
41
39
|
import "vue-command-palette";
|
|
42
40
|
import "../pages/page404.js";
|
|
41
|
+
import m from "../components/drawer/drawer.js";
|
|
42
|
+
import "short-unique-id";
|
|
43
|
+
import "aieditor";
|
|
43
44
|
import "@iconify-json/tabler/icons.json";
|
|
44
|
-
import "../components/
|
|
45
|
+
import "../components/posterEditor/elements/index.js";
|
|
45
46
|
import "fabric";
|
|
46
|
-
function
|
|
47
|
+
function Z() {
|
|
47
48
|
const r = t(m);
|
|
48
49
|
return {
|
|
49
50
|
show: (o) => r(o)
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
Z as useDrawer
|
|
54
55
|
};
|
package/dist/esm/hooks/modal.js
CHANGED
|
@@ -27,8 +27,6 @@ import "vue-cropper";
|
|
|
27
27
|
import { DuxModal as m } from "../components/modal/modal.js";
|
|
28
28
|
import "jinrishici";
|
|
29
29
|
import "vue-draggable-plus";
|
|
30
|
-
import "aieditor";
|
|
31
|
-
import "vee-validate";
|
|
32
30
|
import "@vee-validate/i18n";
|
|
33
31
|
import "colorizr";
|
|
34
32
|
import "echarts";
|
|
@@ -38,17 +36,20 @@ import "@unocss/preset-typography";
|
|
|
38
36
|
import "unocss/preset-wind4";
|
|
39
37
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
40
38
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
39
|
+
import "vee-validate";
|
|
41
40
|
import "vue-command-palette";
|
|
42
41
|
import "../pages/page404.js";
|
|
42
|
+
import "short-unique-id";
|
|
43
|
+
import "aieditor";
|
|
43
44
|
import "@iconify-json/tabler/icons.json";
|
|
44
|
-
import "../components/
|
|
45
|
+
import "../components/posterEditor/elements/index.js";
|
|
45
46
|
import "fabric";
|
|
46
|
-
function
|
|
47
|
+
function Z() {
|
|
47
48
|
const o = t(m);
|
|
48
49
|
return {
|
|
49
50
|
show: (r) => o(r)
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
Z as useModal
|
|
54
55
|
};
|
|
@@ -27,8 +27,6 @@ import "ace-builds/src-noconflict/mode-snippets";
|
|
|
27
27
|
import "vue-cropper";
|
|
28
28
|
import "jinrishici";
|
|
29
29
|
import "vue-draggable-plus";
|
|
30
|
-
import "aieditor";
|
|
31
|
-
import "vee-validate";
|
|
32
30
|
import "@vee-validate/i18n";
|
|
33
31
|
import "colorizr";
|
|
34
32
|
import "echarts";
|
|
@@ -38,12 +36,15 @@ import "@unocss/preset-typography";
|
|
|
38
36
|
import "unocss/preset-wind4";
|
|
39
37
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
40
38
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
39
|
+
import "vee-validate";
|
|
41
40
|
import "vue-command-palette";
|
|
42
41
|
import "../../pages/page404.js";
|
|
42
|
+
import "short-unique-id";
|
|
43
|
+
import "aieditor";
|
|
43
44
|
import "@iconify-json/tabler/icons.json";
|
|
44
|
-
import "../../components/
|
|
45
|
+
import "../../components/posterEditor/elements/index.js";
|
|
45
46
|
import "fabric";
|
|
46
|
-
function
|
|
47
|
+
function ot() {
|
|
47
48
|
return {
|
|
48
49
|
render: (t) => (e, d) => {
|
|
49
50
|
let i = h(e, t.key || "") || [];
|
|
@@ -72,5 +73,5 @@ function mt() {
|
|
|
72
73
|
};
|
|
73
74
|
}
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
+
ot as useTableColumnImage
|
|
76
77
|
};
|
|
@@ -27,8 +27,6 @@ import "vue-cropper";
|
|
|
27
27
|
import "clsx";
|
|
28
28
|
import "jinrishici";
|
|
29
29
|
import "vue-draggable-plus";
|
|
30
|
-
import "aieditor";
|
|
31
|
-
import "vee-validate";
|
|
32
30
|
import "@vee-validate/i18n";
|
|
33
31
|
import "colorizr";
|
|
34
32
|
import "echarts";
|
|
@@ -38,12 +36,15 @@ import "@unocss/preset-typography";
|
|
|
38
36
|
import "unocss/preset-wind4";
|
|
39
37
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
40
38
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
39
|
+
import "vee-validate";
|
|
41
40
|
import "vue-command-palette";
|
|
42
41
|
import "../../pages/page404.js";
|
|
42
|
+
import "short-unique-id";
|
|
43
|
+
import "aieditor";
|
|
43
44
|
import "@iconify-json/tabler/icons.json";
|
|
44
|
-
import "../../components/
|
|
45
|
+
import "../../components/posterEditor/elements/index.js";
|
|
45
46
|
import "fabric";
|
|
46
|
-
function
|
|
47
|
+
function mt() {
|
|
47
48
|
return {
|
|
48
49
|
render: (t) => (i, d) => {
|
|
49
50
|
const o = typeof t.title == "function" ? t.title(i) : m(i, t.title || ""), r = typeof t.desc == "function" ? t.desc(i) : m(i, t.desc || ""), e = typeof t.image == "function" ? t.image(i) : m(i, t.image || "");
|
|
@@ -59,5 +60,5 @@ function it() {
|
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
62
|
export {
|
|
62
|
-
|
|
63
|
+
mt as useTableColumnMedia
|
|
63
64
|
};
|