@duxweb/dvha-pro 1.0.33 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/crop/imageCrop.cjs +1 -1
- package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
- package/dist/cjs/components/data/selectModal.cjs +1 -1
- package/dist/cjs/components/designEditor/components/grid.cjs +1 -1
- package/dist/cjs/components/designEditor/editor/hook.cjs +1 -1
- package/dist/cjs/components/designEditor/editor.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/pageTabForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/formEditor/base/base.cjs +1 -1
- package/dist/cjs/components/formEditor/components/cascader.cjs +1 -1
- package/dist/cjs/components/formEditor/components/cascaderAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/checkbox.cjs +1 -1
- package/dist/cjs/components/formEditor/components/color.cjs +1 -1
- package/dist/cjs/components/formEditor/components/date.cjs +1 -1
- package/dist/cjs/components/formEditor/components/dynamicInput.cjs +1 -1
- package/dist/cjs/components/formEditor/components/dynamicTags.cjs +1 -1
- package/dist/cjs/components/formEditor/components/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/components/fileUpload.cjs +1 -0
- package/dist/cjs/components/formEditor/components/imageUpload.cjs +1 -0
- package/dist/cjs/components/formEditor/components/input.cjs +1 -1
- package/dist/cjs/components/formEditor/components/inputNumber.cjs +1 -1
- package/dist/cjs/components/formEditor/components/mentionAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/radio.cjs +1 -1
- package/dist/cjs/components/formEditor/components/region.cjs +1 -1
- package/dist/cjs/components/formEditor/components/select.cjs +1 -1
- package/dist/cjs/components/formEditor/components/selectAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/sider.cjs +1 -1
- package/dist/cjs/components/formEditor/components/switch.cjs +1 -1
- package/dist/cjs/components/formEditor/components/time.cjs +1 -1
- package/dist/cjs/components/formEditor/components/transferAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/treeSelect.cjs +1 -1
- package/dist/cjs/components/formEditor/components/treeSelectAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/renderer.cjs +1 -1
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/layout/list.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -1
- package/dist/cjs/components/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/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/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/theme/uno.css.cjs +2 -1
- package/dist/esm/component.js +11 -11
- package/dist/esm/components/chart/echart.js +1 -1
- package/dist/esm/components/crop/imageCrop.js +1 -1
- package/dist/esm/components/data/dynamicSelect.js +1 -1
- package/dist/esm/components/data/selectModal.js +1 -1
- package/dist/esm/components/designEditor/components/grid.js +1 -1
- package/dist/esm/components/designEditor/editor/hook.js +17 -17
- package/dist/esm/components/designEditor/editor.js +6 -6
- package/dist/esm/components/form/pageForm.js +1 -1
- package/dist/esm/components/form/pageTabForm.js +1 -1
- package/dist/esm/components/form/settingForm.js +1 -1
- package/dist/esm/components/formEditor/base/base.js +1 -1
- package/dist/esm/components/formEditor/components/cascader.js +1 -1
- package/dist/esm/components/formEditor/components/cascaderAsync.js +1 -1
- package/dist/esm/components/formEditor/components/checkbox.js +1 -1
- package/dist/esm/components/formEditor/components/color.js +1 -1
- package/dist/esm/components/formEditor/components/date.js +1 -1
- package/dist/esm/components/formEditor/components/dynamicInput.js +1 -1
- package/dist/esm/components/formEditor/components/dynamicTags.js +1 -1
- package/dist/esm/components/formEditor/components/editor.js +1 -1
- package/dist/esm/components/formEditor/components/fileUpload.js +191 -0
- package/dist/esm/components/formEditor/components/imageUpload.js +182 -0
- package/dist/esm/components/formEditor/components/input.js +1 -1
- package/dist/esm/components/formEditor/components/inputNumber.js +1 -1
- package/dist/esm/components/formEditor/components/mentionAsync.js +1 -1
- package/dist/esm/components/formEditor/components/radio.js +1 -1
- package/dist/esm/components/formEditor/components/region.js +1 -1
- package/dist/esm/components/formEditor/components/select.js +1 -1
- package/dist/esm/components/formEditor/components/selectAsync.js +1 -1
- package/dist/esm/components/formEditor/components/sider.js +1 -1
- package/dist/esm/components/formEditor/components/switch.js +1 -1
- package/dist/esm/components/formEditor/components/time.js +1 -1
- package/dist/esm/components/formEditor/components/transferAsync.js +1 -1
- package/dist/esm/components/formEditor/components/treeSelect.js +1 -1
- package/dist/esm/components/formEditor/components/treeSelectAsync.js +1 -1
- package/dist/esm/components/formEditor/editor.js +26 -24
- package/dist/esm/components/formEditor/renderer.js +32 -30
- package/dist/esm/components/icon/icon.js +1 -1
- package/dist/esm/components/layout/list.js +1 -1
- package/dist/esm/components/layout/table.js +1 -1
- package/dist/esm/components/level/level.js +1 -1
- package/dist/esm/components/table/table.js +1 -1
- package/dist/esm/components/upload/file.js +1 -1
- package/dist/esm/components/upload/image.js +2 -2
- package/dist/esm/components/upload/manage/item.js +3 -3
- package/dist/esm/components/upload/manager.js +2 -2
- package/dist/esm/langs/en-US.json.js +5 -5
- package/dist/esm/langs/zh-CN.json.js +6 -6
- package/dist/esm/pages/authLayout.js +1 -1
- package/dist/esm/pages/layout/page.js +1 -1
- package/dist/esm/pages/menu/button.js +1 -1
- package/dist/esm/pages/menu/cmd.js +1 -1
- package/dist/esm/pages/menu/main.js +1 -1
- package/dist/esm/pages/menu/mobile.js +1 -1
- package/dist/esm/theme/uno.css.js +2 -1
- package/dist/types/components/formEditor/components/fileUpload.d.ts +2 -0
- package/dist/types/components/formEditor/components/imageUpload.d.ts +2 -0
- package/dist/types/components/formEditor/components/index.d.ts +4 -2
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as h, useJsonSchema as
|
|
3
|
-
import { useVModel as
|
|
1
|
+
import { defineComponent as E, computed as c, createVNode as y } from "vue";
|
|
2
|
+
import { useI18n as h, useJsonSchema as g } from "@duxweb/dvha-core";
|
|
3
|
+
import { useVModel as b } from "@vueuse/core";
|
|
4
4
|
import { duxFormEditorGrid as A } from "../designEditor/components/grid.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "lodash-es";
|
|
@@ -59,27 +59,29 @@ import { duxFormEditorCascader as S } from "./components/cascader.js";
|
|
|
59
59
|
import { duxFormEditorCascaderAsync as v } from "./components/cascaderAsync.js";
|
|
60
60
|
import { duxFormEditorCheckbox as j } from "./components/checkbox.js";
|
|
61
61
|
import { duxFormEditorColor as D } from "./components/color.js";
|
|
62
|
-
import { duxFormEditorDate as
|
|
63
|
-
import { duxFormEditorDynamicInput as
|
|
64
|
-
import { duxFormEditorDynamicTags as
|
|
62
|
+
import { duxFormEditorDate as I } from "./components/date.js";
|
|
63
|
+
import { duxFormEditorDynamicInput as T } from "./components/dynamicInput.js";
|
|
64
|
+
import { duxFormEditorDynamicTags as C } from "./components/dynamicTags.js";
|
|
65
65
|
import { duxFormEditorAIEditor as M } from "./components/editor.js";
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
66
|
+
import { duxFormEditorFileUpload as R } from "./components/fileUpload.js";
|
|
67
|
+
import { duxFormEditorImageUpload as J } from "./components/imageUpload.js";
|
|
68
|
+
import { duxFormEditorInput as N } from "./components/input.js";
|
|
69
|
+
import { duxFormEditorInputNumber as O } from "./components/inputNumber.js";
|
|
70
|
+
import { duxFormEditorMentionAsync as V } from "./components/mentionAsync.js";
|
|
71
|
+
import { duxFormEditorRadio as w } from "./components/radio.js";
|
|
72
|
+
import { duxFormEditorRegion as B } from "./components/region.js";
|
|
73
|
+
import { duxFormEditorSelect as P } from "./components/select.js";
|
|
74
|
+
import { duxFormEditorSelectAsync as U } from "./components/selectAsync.js";
|
|
75
|
+
import { duxFormEditorSider as k } from "./components/sider.js";
|
|
76
|
+
import { duxFormEditorSwitch as G } from "./components/switch.js";
|
|
77
|
+
import { duxFormEditorTime as q } from "./components/time.js";
|
|
78
|
+
import { duxFormEditorTransferAsync as z } from "./components/transferAsync.js";
|
|
79
|
+
import { duxFormEditorTreeSelect as H } from "./components/treeSelect.js";
|
|
80
|
+
import { duxFormEditorTreeSelectAsync as K } from "./components/treeSelectAsync.js";
|
|
79
81
|
import "@iconify-json/tabler/icons.json";
|
|
80
82
|
import "../posterEditor/elements/index.js";
|
|
81
83
|
import "fabric";
|
|
82
|
-
const
|
|
84
|
+
const Ao = /* @__PURE__ */ E({
|
|
83
85
|
name: "DuxFormRenderer",
|
|
84
86
|
props: {
|
|
85
87
|
data: {
|
|
@@ -108,12 +110,12 @@ const yo = /* @__PURE__ */ F({
|
|
|
108
110
|
}) {
|
|
109
111
|
const {
|
|
110
112
|
t: r
|
|
111
|
-
} = h(), s =
|
|
112
|
-
const t = [A(r),
|
|
113
|
+
} = h(), s = c(() => {
|
|
114
|
+
const t = [A(r), N(r), O(r), M(r), k(r), I(r), q(r), D(r), j(r), w(r), G(r), T(r), C(r), J(r), R(r), P(r), S(r), H(r), B(r), U(r), v(r), K(r), z(r), V(r)], m = /* @__PURE__ */ new Map();
|
|
113
115
|
return t.forEach((o) => {
|
|
114
116
|
m.set(o.name, o);
|
|
115
117
|
}), m;
|
|
116
|
-
}), d =
|
|
118
|
+
}), d = b(i, "value", f, {
|
|
117
119
|
defaultValue: {},
|
|
118
120
|
deep: !0
|
|
119
121
|
}), e = (t, m = d.value) => t.length > 0 && Array.isArray(t[0]) ? t.flatMap((o) => Array.isArray(o) ? e(o, m) : []) : t.map((o) => {
|
|
@@ -135,12 +137,12 @@ const yo = /* @__PURE__ */ F({
|
|
|
135
137
|
model: m,
|
|
136
138
|
convertToJsonSchema: e
|
|
137
139
|
});
|
|
138
|
-
const
|
|
140
|
+
const l = {
|
|
139
141
|
tag: n,
|
|
140
142
|
attrs: u.attr || {}
|
|
141
143
|
};
|
|
142
|
-
return o.children?.length && (
|
|
143
|
-
}), x =
|
|
144
|
+
return o.children?.length && (l.children = e(o.children, m)), l;
|
|
145
|
+
}), x = c(() => {
|
|
144
146
|
const t = e(i.data, d.value);
|
|
145
147
|
return [{
|
|
146
148
|
tag: "dux-form-layout",
|
|
@@ -150,16 +152,16 @@ const yo = /* @__PURE__ */ F({
|
|
|
150
152
|
children: t
|
|
151
153
|
}];
|
|
152
154
|
}), {
|
|
153
|
-
render:
|
|
154
|
-
} =
|
|
155
|
+
render: F
|
|
156
|
+
} = g({
|
|
155
157
|
data: x,
|
|
156
158
|
context: {
|
|
157
159
|
form: d.value
|
|
158
160
|
}
|
|
159
161
|
});
|
|
160
|
-
return () => y(
|
|
162
|
+
return () => y(F, null, null);
|
|
161
163
|
}
|
|
162
164
|
});
|
|
163
165
|
export {
|
|
164
|
-
|
|
166
|
+
Ao as DuxFormRenderer
|
|
165
167
|
};
|
|
@@ -51,10 +51,10 @@ import "../../pages/page404.js";
|
|
|
51
51
|
import "short-unique-id";
|
|
52
52
|
import "aieditor";
|
|
53
53
|
import { useModal as c } from "../../hooks/modal.js";
|
|
54
|
+
import "mime";
|
|
54
55
|
import "@iconify-json/tabler/icons.json";
|
|
55
56
|
import "../posterEditor/elements/index.js";
|
|
56
57
|
import "fabric";
|
|
57
|
-
import "mime";
|
|
58
58
|
import "dayjs";
|
|
59
59
|
import "@tanstack/vue-query";
|
|
60
60
|
import "pinia";
|
|
@@ -58,10 +58,10 @@ import { DuxDrawerPage as N } from "../drawer/drawerPage.js";
|
|
|
58
58
|
import { DuxTableTools as ve } from "./tools.js";
|
|
59
59
|
import "short-unique-id";
|
|
60
60
|
import "aieditor";
|
|
61
|
+
import "mime";
|
|
61
62
|
import "@iconify-json/tabler/icons.json";
|
|
62
63
|
import "../posterEditor/elements/index.js";
|
|
63
64
|
import "fabric";
|
|
64
|
-
import "mime";
|
|
65
65
|
import "dayjs";
|
|
66
66
|
import "@tanstack/vue-query";
|
|
67
67
|
import "pinia";
|
|
@@ -57,10 +57,10 @@ import { DuxDrawerPage as S } from "../drawer/drawerPage.js";
|
|
|
57
57
|
import { DuxTableTools as ce } from "./tools.js";
|
|
58
58
|
import "short-unique-id";
|
|
59
59
|
import "aieditor";
|
|
60
|
+
import "mime";
|
|
60
61
|
import "@iconify-json/tabler/icons.json";
|
|
61
62
|
import "../posterEditor/elements/index.js";
|
|
62
63
|
import "fabric";
|
|
63
|
-
import "mime";
|
|
64
64
|
import "dayjs";
|
|
65
65
|
import "@tanstack/vue-query";
|
|
66
66
|
import { useTable as me } from "../../hooks/table.js";
|
|
@@ -50,10 +50,10 @@ import "@duxweb/dvha-naiveui";
|
|
|
50
50
|
import "../../pages/page404.js";
|
|
51
51
|
import "short-unique-id";
|
|
52
52
|
import "aieditor";
|
|
53
|
+
import "mime";
|
|
53
54
|
import "@iconify-json/tabler/icons.json";
|
|
54
55
|
import "../posterEditor/elements/index.js";
|
|
55
56
|
import "fabric";
|
|
56
|
-
import "mime";
|
|
57
57
|
import "dayjs";
|
|
58
58
|
import { useLevel as c } from "../../hooks/level.js";
|
|
59
59
|
import "pinia";
|
|
@@ -51,10 +51,10 @@ import "@duxweb/dvha-naiveui";
|
|
|
51
51
|
import "../../pages/page404.js";
|
|
52
52
|
import "short-unique-id";
|
|
53
53
|
import "aieditor";
|
|
54
|
+
import "mime";
|
|
54
55
|
import "@iconify-json/tabler/icons.json";
|
|
55
56
|
import "../posterEditor/elements/index.js";
|
|
56
57
|
import "fabric";
|
|
57
|
-
import "mime";
|
|
58
58
|
import "dayjs";
|
|
59
59
|
import "@tanstack/vue-query";
|
|
60
60
|
import { useTable as y } from "../../hooks/table.js";
|
|
@@ -53,10 +53,10 @@ import "../../pages/page404.js";
|
|
|
53
53
|
import "short-unique-id";
|
|
54
54
|
import "aieditor";
|
|
55
55
|
import { useModal as W } from "../../hooks/modal.js";
|
|
56
|
+
import { useUploadConfig as G } from "./config.js";
|
|
56
57
|
import "@iconify-json/tabler/icons.json";
|
|
57
58
|
import "../posterEditor/elements/index.js";
|
|
58
59
|
import "fabric";
|
|
59
|
-
import { useUploadConfig as G } from "./config.js";
|
|
60
60
|
import "dayjs";
|
|
61
61
|
import "@tanstack/vue-query";
|
|
62
62
|
import "pinia";
|
|
@@ -51,11 +51,11 @@ import "../../pages/page404.js";
|
|
|
51
51
|
import "short-unique-id";
|
|
52
52
|
import "aieditor";
|
|
53
53
|
import { useModal as M } from "../../hooks/modal.js";
|
|
54
|
+
import "mime";
|
|
55
|
+
import { useUploadConfig as L } from "./config.js";
|
|
54
56
|
import "@iconify-json/tabler/icons.json";
|
|
55
57
|
import "../posterEditor/elements/index.js";
|
|
56
58
|
import "fabric";
|
|
57
|
-
import "mime";
|
|
58
|
-
import { useUploadConfig as L } from "./config.js";
|
|
59
59
|
import "dayjs";
|
|
60
60
|
import { useImagePreview as O } from "../../hooks/image.js";
|
|
61
61
|
import "@tanstack/vue-query";
|
|
@@ -51,9 +51,6 @@ import "@duxweb/dvha-naiveui";
|
|
|
51
51
|
import "../../../pages/page404.js";
|
|
52
52
|
import "short-unique-id";
|
|
53
53
|
import "aieditor";
|
|
54
|
-
import "@iconify-json/tabler/icons.json";
|
|
55
|
-
import "../../posterEditor/elements/index.js";
|
|
56
|
-
import "fabric";
|
|
57
54
|
import "mime";
|
|
58
55
|
import f from "../../../static/images/icon/audio.svg.js";
|
|
59
56
|
import g from "../../../static/images/icon/excel.svg.js";
|
|
@@ -63,6 +60,9 @@ import h from "../../../static/images/icon/pdf.svg.js";
|
|
|
63
60
|
import x from "../../../static/images/icon/ppt.svg.js";
|
|
64
61
|
import k from "../../../static/images/icon/video.svg.js";
|
|
65
62
|
import w from "../../../static/images/icon/word.svg.js";
|
|
63
|
+
import "@iconify-json/tabler/icons.json";
|
|
64
|
+
import "../../posterEditor/elements/index.js";
|
|
65
|
+
import "fabric";
|
|
66
66
|
import "dayjs";
|
|
67
67
|
import "@tanstack/vue-query";
|
|
68
68
|
import "pinia";
|
|
@@ -52,11 +52,11 @@ import "@duxweb/dvha-naiveui";
|
|
|
52
52
|
import "../../pages/page404.js";
|
|
53
53
|
import "short-unique-id";
|
|
54
54
|
import "aieditor";
|
|
55
|
+
import "mime";
|
|
56
|
+
import { useUploadConfig as ee } from "./config.js";
|
|
55
57
|
import "@iconify-json/tabler/icons.json";
|
|
56
58
|
import "../posterEditor/elements/index.js";
|
|
57
59
|
import "fabric";
|
|
58
|
-
import "mime";
|
|
59
|
-
import { useUploadConfig as ee } from "./config.js";
|
|
60
60
|
import { useDownload as ae } from "../../hooks/download.js";
|
|
61
61
|
import "@tanstack/vue-query";
|
|
62
62
|
import "pinia";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const e = { search: "Search", empty: "No data", menu: "Menu", theme: "Theme", dark: "Dark", light: "Light", back: "Back", loading: "Loading...", success: "Success", error: "Error", unknownError: "Unknown error", preview: "Preview" }, a = { tab: { lock: "Lock", closeOther: "Close Other", closeLeft: "Close Left", closeRight: "Close Right" }, dialog: { confirm: { title: "Confirm", content: "Are you sure you want to confirm?" }, cancel: { title: "Cancel", content: "Are you sure you want to cancel?" }, success: { title: "Success", content: "Your operation has been successful" }, error: { title: "Error", content: "Your operation has been failed" }, prompt: { title: "Prompt" } }, button: { confirm: "Confirm", cancel: "Cancel", submit: "Submit", reset: "Reset", delete: "Delete", search: "Search", advanced: "Advanced", export: "Export", import: "Import", autoRefresh: "Auto Refresh", filter: "Filter", refresh: "Refresh", select: "Select", create: "Create", download: "Download", rename: "Rename", preview: "Preview" }, form: { edit: "Edit", create: "Create" }, list: { selectAll: "Select All", columnSetting: "Column Setting", selectedItems: "Selected Items: {num}", total: "Total: {total}" }, editor: { placeholder: "Please enter content" }, upload: { fileManager: "File Manager", uploadFile: "Upload File", cancel: "Cancel", delete: "Delete", error: "Upload failed", empty: "No files", desc: "Click or drag files to this area", dropHere: "Drop files here", allFormats: "Support any format files", supportFormats: "Support {formats} format files", maxSize: "Max file size: {size}MB", success: "Upload success", failed: "Upload failed", fileExtension: "{ext} file", status: { pending: "Pending", uploading: "Uploading", success: "Success", cancelled: "Cancelled", error: "Error" }, file: { name: "File Name", size: "Size", type: "Type", status: "Status" }, actions: "Actions", selectUpload: { clickOrDrag: "Click to select files or drag here", selectedFiles: "Selected {count} files", multipleSupport: "Support multiple file selection", defaultDesc: "Support uploading specified file types", acceptDesc: "Only support uploading {accept} format files", maxFiles: "Max {max} files" } }, uploadManage: { title: "File Manager", all: "All", image: "Images", media: "Media", docs: "Documents", upload: "Upload", empty: "No files", emptyDesc: "No more files, please upload files", back: "Back to parent", parentLevel: "Parent Level", namePlaceholder: "Please enter name", createError: "Create failed", editError: "Edit failed", delError: "Delete failed", delTitle: "Confirm Delete", delDesc: "Are you sure you want to delete the selected files? This action cannot be undone." }, crop: { title: "Crop", select: "Select", confirm: "Confirm" }, stats: { realTimeData: "Real-time Data" }, data: { selectTitle: "Please select data" }, menu: { language: "Language", chinese: "中文", english: "English", color: "Color", primaryColor: "Primary Color", neutralColor: "Neutral Color", theme: "Theme", followSystem: "Follow System", lightMode: "Light", darkMode: "Dark", logout: "Logout" }, iconPicker: { title: "Icon Picker" }, designEditor: { layout: "Layout", all: "All", grid: { label: "Grid", title: "Grid Settings", columns: "Columns", spacing: "Spacing", columnsPlaceholder: "Enter columns", spacingPlaceholder: "Enter spacing" } }, formEditor: { config: "Component Config", options: "Option Config", data: "Data", common: { componentConfig: "Component Config", optionConfig: "Option Config", optionData: "Option Data", dataConfig: "Data Config", dataEdit: "Data Edit", label: "Label", placeholder: "Placeholder", disabled: "Disabled", clearable: "Clearable", multiple: "Multiple", defaultValue: "Default Value", readonly: "Readonly", showCount: "Show Count", prefix: "Prefix", suffix: "Suffix", status: "Status", minLength: "Min Length", maxLength: "Max Length", minValue: "Min Value", maxValue: "Max Value", minCount: "Min Count", maxCount: "Max Count", optionLabel: "Option Label", optionValue: "Option Value", labelField: "Label Field", valueField: "Value Field", dataInterface: "Data Interface", cascade: "Cascade", showPath: "Show Path", uploadUrl: "Upload URL", showAlpha: "Show Alpha", timeFormat: "Time Format", hour12: "12 Hours", dateType: "Date Type", inputType: "Input Type", formDirection: "Form Direction", leftAlign: "Left Align", topAlign: "Top Align", settingAlign: "Setting Layout", pageAlign: "Page Layout", name: "Name", desc: "Description" }, setting: { title: "Form Settings" }, validation: "Validation Rules", componentConfig: "Component Config", input: { label: "Text", types: { text: "Text", textarea: "Textarea", password: "Password" } }, inputNumber: { label: "Number" }, select: { label: "Select", configDesc: "Config options" }, radio: { label: "Radio", configDesc: "Config options" }, checkbox: { label: "Checkbox", configDesc: "Config options" }, switch: { label: "Switch" }, date: { label: "Date", placeholder: "Select date", dateType: "Date Type", date: "Date", daterange: "Date Range", datetime: "DateTime", datetimerange: "DateTime Range", month: "Month", monthrange: "Month Range", year: "Year", yearrange: "Year Range", quarter: "Quarter", quarterrange: "Quarter Range", week: "Week" }, time: { label: "Time", placeholder: "Select time", timeFormat: "Format", use12Hours: "12 Hours" }, color: { label: "Color", showAlpha: "Show Alpha" }, cascader: { label: "Cascader", desc: "Cascader options data in JSON array format", configDesc: "Config options", optionDesc: "JSON array format", optionsDescription: "Config cascader options", cascade: "Cascade", showPath: "Show Path" }, cascaderAsync: { label: "Cascader", dataApi: "Data API", apiPlaceholder: "Enter API URL", cascade: "Cascade", showPath: "Show Path" }, dynamicInput: { label: "Dynamic" }, editor: { label: "Editor", placeholder: "Enter content", uploadUrlDesc: "Editor image upload URL" }, aiEditor: { label: "Editor", uploadUrl: "Upload URL", uploadUrlFeedback: "Image upload URL" }, sider: { name: "Slider", step: "Step", min: "Min", max: "Max" }, dynamicTags: { name: "Tags", max: "Max Count" }, mentionAsync: { name: "Mention", clearable: "Clearable", path: "Data API", labelField: "Label Field", valueField: "Value Field" }, region: { name: "Region", Path: "Data API", labelField: "Label Field", valueField: "Value Field" }, selectAsync: { name: "Select", pagination: "Pagination", path: "Data API", labelField: "Label Field", valueField: "Value Field", imageField: "Image Field", descField: "Desc Field" }, transferAsync: { name: "Transfer" }, treeSelect: { name: "Tree" }, treeSelectAsync: { name: "Tree Select", path: "Data API", labelField: "Label Field", keyField: "Key Field" }, tree: { disabled: "Disabled" }, groups: { form: "Form", select: "Selector", async: "Async" }, main: { label: "Main Content", categories: { form: "Form", select: "Selector", async: "Async" }, actions: { jsonOutput: "Json Output", save: "Save" } } } }, t = { table: { exportSuccess: "Export data successfully", exportProgress: "Exporting data, please wait...", exportFailed: "Export data failed", exportSuccessContent: "Successfully exported {count} records", exportProgressContent: "Page {page} data", exportFailedContent: "Export data failed: {error}", importSuccess: "Import data successfully", importProgress: "Importing data, please wait...", importFailed: "Import data failed", importSuccessContent: "Successfully imported {count} records", importProgressContent: "{processed} / {total} records", importFailedContent: "Import data failed: {error}", saveSuccess: "Save successfully", copySuccess: "Copy successfully", copyFailed: "Copy failed" }, download: { failed: "Download failed" } },
|
|
1
|
+
const e = { search: "Search", empty: "No data", menu: "Menu", theme: "Theme", dark: "Dark", light: "Light", back: "Back", loading: "Loading...", success: "Success", error: "Error", unknownError: "Unknown error", preview: "Preview" }, a = { tab: { lock: "Lock", closeOther: "Close Other", closeLeft: "Close Left", closeRight: "Close Right" }, dialog: { confirm: { title: "Confirm", content: "Are you sure you want to confirm?" }, cancel: { title: "Cancel", content: "Are you sure you want to cancel?" }, success: { title: "Success", content: "Your operation has been successful" }, error: { title: "Error", content: "Your operation has been failed" }, prompt: { title: "Prompt" } }, button: { confirm: "Confirm", cancel: "Cancel", submit: "Submit", reset: "Reset", delete: "Delete", search: "Search", advanced: "Advanced", export: "Export", import: "Import", autoRefresh: "Auto Refresh", filter: "Filter", refresh: "Refresh", select: "Select", create: "Create", download: "Download", rename: "Rename", preview: "Preview" }, form: { edit: "Edit", create: "Create" }, list: { selectAll: "Select All", columnSetting: "Column Setting", selectedItems: "Selected Items: {num}", total: "Total: {total}" }, editor: { placeholder: "Please enter content" }, upload: { fileManager: "File Manager", uploadFile: "Upload File", cancel: "Cancel", delete: "Delete", error: "Upload failed", empty: "No files", desc: "Click or drag files to this area", dropHere: "Drop files here", allFormats: "Support any format files", supportFormats: "Support {formats} format files", maxSize: "Max file size: {size}MB", success: "Upload success", failed: "Upload failed", fileExtension: "{ext} file", status: { pending: "Pending", uploading: "Uploading", success: "Success", cancelled: "Cancelled", error: "Error" }, file: { name: "File Name", size: "Size", type: "Type", status: "Status" }, actions: "Actions", selectUpload: { clickOrDrag: "Click to select files or drag here", selectedFiles: "Selected {count} files", multipleSupport: "Support multiple file selection", defaultDesc: "Support uploading specified file types", acceptDesc: "Only support uploading {accept} format files", maxFiles: "Max {max} files" } }, uploadManage: { title: "File Manager", all: "All", image: "Images", media: "Media", docs: "Documents", upload: "Upload", empty: "No files", emptyDesc: "No more files, please upload files", back: "Back to parent", parentLevel: "Parent Level", namePlaceholder: "Please enter name", createError: "Create failed", editError: "Edit failed", delError: "Delete failed", delTitle: "Confirm Delete", delDesc: "Are you sure you want to delete the selected files? This action cannot be undone." }, crop: { title: "Crop", select: "Select", confirm: "Confirm" }, stats: { realTimeData: "Real-time Data" }, data: { selectTitle: "Please select data" }, menu: { language: "Language", chinese: "中文", english: "English", color: "Color", primaryColor: "Primary Color", neutralColor: "Neutral Color", theme: "Theme", followSystem: "Follow System", lightMode: "Light", darkMode: "Dark", logout: "Logout" }, iconPicker: { title: "Icon Picker" }, designEditor: { layout: "Layout", all: "All", grid: { label: "Grid", title: "Grid Settings", columns: "Columns", spacing: "Spacing", columnsPlaceholder: "Enter columns", spacingPlaceholder: "Enter spacing" } }, formEditor: { config: "Component Config", options: "Option Config", data: "Data", common: { componentConfig: "Component Config", optionConfig: "Option Config", optionData: "Option Data", dataConfig: "Data Config", dataEdit: "Data Edit", label: "Label", placeholder: "Placeholder", disabled: "Disabled", clearable: "Clearable", multiple: "Multiple", defaultValue: "Default Value", readonly: "Readonly", showCount: "Show Count", prefix: "Prefix", suffix: "Suffix", status: "Status", minLength: "Min Length", maxLength: "Max Length", minValue: "Min Value", maxValue: "Max Value", minCount: "Min Count", maxCount: "Max Count", optionLabel: "Option Label", optionValue: "Option Value", labelField: "Label Field", valueField: "Value Field", dataInterface: "Data Interface", cascade: "Cascade", showPath: "Show Path", uploadUrl: "Upload URL", showAlpha: "Show Alpha", timeFormat: "Time Format", hour12: "12 Hours", dateType: "Date Type", inputType: "Input Type", formDirection: "Form Direction", leftAlign: "Left Align", topAlign: "Top Align", settingAlign: "Setting Layout", pageAlign: "Page Layout", name: "Name", desc: "Description" }, setting: { title: "Form Settings" }, validation: "Validation Rules", componentConfig: "Component Config", input: { label: "Text", types: { text: "Text", textarea: "Textarea", password: "Password" } }, inputNumber: { label: "Number" }, select: { label: "Select", configDesc: "Config options" }, radio: { label: "Radio", configDesc: "Config options" }, checkbox: { label: "Checkbox", configDesc: "Config options" }, switch: { label: "Switch" }, date: { label: "Date", placeholder: "Select date", dateType: "Date Type", date: "Date", daterange: "Date Range", datetime: "DateTime", datetimerange: "DateTime Range", month: "Month", monthrange: "Month Range", year: "Year", yearrange: "Year Range", quarter: "Quarter", quarterrange: "Quarter Range", week: "Week" }, time: { label: "Time", placeholder: "Select time", timeFormat: "Format", use12Hours: "12 Hours" }, color: { label: "Color", showAlpha: "Show Alpha" }, cascader: { label: "Cascader", desc: "Cascader options data in JSON array format", configDesc: "Config options", optionDesc: "JSON array format", optionsDescription: "Config cascader options", cascade: "Cascade", showPath: "Show Path" }, cascaderAsync: { label: "Cascader", dataApi: "Data API", apiPlaceholder: "Enter API URL", cascade: "Cascade", showPath: "Show Path" }, dynamicInput: { label: "Dynamic" }, editor: { label: "Editor", placeholder: "Enter content", uploadUrlDesc: "Editor image upload URL" }, aiEditor: { label: "Editor", uploadUrl: "Upload URL", uploadUrlFeedback: "Image upload URL" }, sider: { name: "Slider", step: "Step", min: "Min", max: "Max" }, dynamicTags: { name: "Tags", max: "Max Count" }, mentionAsync: { name: "Mention", clearable: "Clearable", path: "Data API", labelField: "Label Field", valueField: "Value Field" }, region: { name: "Region", Path: "Data API", labelField: "Label Field", valueField: "Value Field" }, selectAsync: { name: "Select", pagination: "Pagination", path: "Data API", labelField: "Label Field", valueField: "Value Field", imageField: "Image Field", descField: "Desc Field" }, transferAsync: { name: "Transfer" }, treeSelect: { name: "Tree" }, treeSelectAsync: { name: "Tree Select", path: "Data API", labelField: "Label Field", keyField: "Key Field" }, tree: { disabled: "Disabled" }, groups: { form: "Form", select: "Selector", async: "Async" }, imageUpload: { label: "Image Upload", maxSize: "Max File Size (MB)", maxSizePlaceholder: "Enter max file size", maxNumPlaceholder: "Enter max file count", manager: "File Manager" }, fileUpload: { label: "File Upload", accept: "Accept File Types", acceptPlaceholder: "Enter accepted file types, e.g.: image/*,video/*", maxSize: "Max File Size (MB)", maxSizePlaceholder: "Enter max file size", maxNumPlaceholder: "Enter max file count", manager: "File Manager" }, main: { label: "Main Content", categories: { form: "Form", select: "Selector", async: "Async" }, actions: { jsonOutput: "Json Output", save: "Save" } } } }, t = { table: { exportSuccess: "Export data successfully", exportProgress: "Exporting data, please wait...", exportFailed: "Export data failed", exportSuccessContent: "Successfully exported {count} records", exportProgressContent: "Page {page} data", exportFailedContent: "Export data failed: {error}", importSuccess: "Import data successfully", importProgress: "Importing data, please wait...", importFailed: "Import data failed", importSuccessContent: "Successfully imported {count} records", importProgressContent: "{processed} / {total} records", importFailedContent: "Import data failed: {error}", saveSuccess: "Save successfully", copySuccess: "Copy successfully", copyFailed: "Copy failed" }, download: { failed: "Download failed" } }, l = { 400: { title: "400", desc: "Request error" }, 401: { title: "401", desc: "You do not have permission to access this page" }, 403: { title: "403", desc: "You do not have permission to access this page" }, 404: { title: "404", desc: "Page not found" }, 500: { title: "500", desc: "Server error" }, empty: { title: "No data", desc: "No more data, please try again later" }, loading: { title: "Loading", desc: "Data is loading, please try again later" }, login: { success: "Login success", error: "Login failed, please check your username and password", placeholder: { username: "Please enter username", password: "Please enter password" }, buttons: { login: "Login" } } }, o = { "zh-CN": "Chinese", "en-US": "English", "ja-JP": "Japanese", "ko-KR": "Korean", "ru-RU": "Russian" }, i = {
|
|
2
2
|
common: e,
|
|
3
3
|
components: a,
|
|
4
4
|
hooks: t,
|
|
5
|
-
pages:
|
|
6
|
-
locale:
|
|
5
|
+
pages: l,
|
|
6
|
+
locale: o
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
e as common,
|
|
10
10
|
a as components,
|
|
11
11
|
i as default,
|
|
12
12
|
t as hooks,
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
o as locale,
|
|
14
|
+
l as pages
|
|
15
15
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const e = { search: "搜索", empty: "暂无数据", menu: "菜单", theme: "主题", dark: "暗色模式", light: "亮色模式", back: "返回", loading: "加载中...", success: "操作成功", error: "操作失败", unknownError: "未知错误", keyword: "请输入关键字", preview: "预览" },
|
|
1
|
+
const e = { search: "搜索", empty: "暂无数据", menu: "菜单", theme: "主题", dark: "暗色模式", light: "亮色模式", back: "返回", loading: "加载中...", success: "操作成功", error: "操作失败", unknownError: "未知错误", keyword: "请输入关键字", preview: "预览" }, a = { tab: { lock: "锁定", closeOther: "关闭其他", closeLeft: "关闭左侧", closeRight: "关闭右侧" }, dialog: { confirm: { title: "确定", content: "确定要确认吗?" }, cancel: { title: "取消", content: "确定要取消吗?" }, success: { title: "成功", content: "您的操作已成功" }, error: { title: "错误", content: "您的操作已失败" }, prompt: { title: "提示" } }, button: { confirm: "确定", cancel: "取消", submit: "提交", reset: "重置", delete: "删除", search: "查询", advanced: "高级", export: "导出", import: "导入", autoRefresh: "自动刷新", filter: "筛选", refresh: "刷新", select: "选择", create: "新建", download: "下载", rename: "重命名", preview: "预览", sideLeft: "左侧", sideRight: "右侧" }, form: { edit: "编辑", create: "新增", success: "保存成功", error: "保存失败" }, list: { selectAll: "全选", columnSetting: "列设置", selectedItems: "选中项: {num}", total: "共 {total} 条" }, editor: { placeholder: "请输入内容" }, upload: { fileManager: "文件管理器", uploadFile: "上传文件", cancel: "取消", delete: "删除", error: "上传失败", empty: "暂无文件", desc: "点击或拖拽文件到此区域", dropHere: "拖拽文件到此处", allFormats: "支持任意格式文件", supportFormats: "支持 {formats} 格式文件", maxSize: "最大文件大小: {size}MB", success: "上传成功", failed: "上传失败", fileExtension: "{ext}文件", status: { pending: "待上传", uploading: "上传中", success: "已上传", cancelled: "已取消", error: "失败" }, file: { name: "文件名", size: "大小", type: "类型", status: "状态" }, actions: "操作", selectUpload: { clickOrDrag: "点击选择文件或拖拽到此处", selectedFiles: "已选择 {count} 个文件", multipleSupport: "支持多文件选择", defaultDesc: "支持上传指定类型文件", acceptDesc: "仅支持上传 {accept} 格式文件", maxFiles: "最多 {max} 个文件" } }, uploadManage: { title: "文件管理", all: "全部", image: "图片", media: "媒体", docs: "文档", upload: "上传", empty: "暂无文件", emptyDesc: "暂无更多文件,请先上传文件", back: "返回上一级", parentLevel: "上一级", namePlaceholder: "请输入名称", createError: "创建失败", editError: "修改失败", delError: "删除失败", delTitle: "确认删除", delDesc: "确定要删除选中的文件吗?删除后不可恢复。" }, crop: { title: "裁剪", select: "选择", confirm: "确认" }, stats: { realTimeData: "实时数据" }, data: { selectTitle: "请选择数据" }, menu: { language: "语言", chinese: "中文", english: "English", color: "颜色", primaryColor: "主题色", neutralColor: "中性色", theme: "主题", followSystem: "跟随系统", lightMode: "亮色", darkMode: "暗色", logout: "退出登录" }, iconPicker: { title: "图标选择" }, designEditor: { layout: "布局", all: "全部", grid: { label: "网格", title: "网格设置", columns: "列数", spacing: "间距", columnsPlaceholder: "请输入列数", spacingPlaceholder: "请输入间距" } }, formEditor: { config: "组件配置", options: "选项配置", data: "数据", common: { componentConfig: "组件配置", optionConfig: "选项配置", optionData: "选项数据", dataConfig: "数据配置", dataEdit: "数据编辑", label: "标签", disabled: "禁用", clearable: "可清除", readonly: "只读", showCount: "显示字数", placeholder: "占位符", prefix: "前缀", suffix: "后缀", status: "状态", defaultValue: "默认值", minLength: "最小长度", maxLength: "最大长度", minValue: "最小值", maxValue: "最大值", labelField: "标签字段", valueField: "值字段", optionLabel: "选项标签", optionValue: "选项值", dataInterface: "数据接口", multiple: "多选", cascade: "级联", showPath: "显示路径", minCount: "最小数量", maxCount: "最大数量", uploadUrl: "上传地址", showAlpha: "显示透明度", timeFormat: "时间格式", hour12: "12小时制", dateType: "日期类型", inputType: "输入类型", formDirection: "表单方向", leftAlign: "左对齐", topAlign: "上对齐", settingAlign: "设置布局", pageAlign: "页面布局", name: "名称", desc: "描述" }, setting: { title: "表单设置" }, validation: "验证规则", componentConfig: "组件配置", input: { label: "文本", types: { text: "文本", textarea: "多行文本", password: "密码" } }, inputNumber: { label: "数字" }, select: { label: "选择", configDesc: "配置选项数据" }, radio: { label: "单选", configDesc: "配置单选框选项数据" }, checkbox: { label: "复选", configDesc: "配置复选框选项数据" }, switch: { label: "开关" }, date: { label: "日期", placeholder: "选择日期", dateType: "日期类型", date: "日期", daterange: "日期范围", datetime: "日期时间", datetimerange: "日期时间范围", month: "月份", monthrange: "月份范围", year: "年份", yearrange: "年份范围", quarter: "季度", quarterrange: "季度范围", week: "周" }, time: { label: "时间", placeholder: "选择时间", timeFormat: "格式", use12Hours: "12小时制" }, color: { label: "颜色", showAlpha: "显示透明度" }, cascader: { label: "级联", desc: "级联选择器选项数据,格式为 JSON 数组", configDesc: "配置选项", optionDesc: "JSON 数组格式", optionsDescription: "配置级联选择器选项数据", cascade: "级联", showPath: "显示路径" }, cascaderAsync: { label: "级联", dataApi: "数据接口", apiPlaceholder: "输入接口地址", cascade: "级联", showPath: "显示路径" }, dynamicInput: { label: "动态" }, editor: { label: "编辑器", placeholder: "输入内容", uploadUrlDesc: "编辑器图片上传地址" }, aiEditor: { label: "编辑器", uploadUrl: "上传地址", uploadUrlFeedback: "编辑器图片上传地址" }, sider: { name: "滑块", step: "步长", min: "最小", max: "最大" }, dynamicTags: { name: "标签", max: "最大数量" }, mentionAsync: { name: "提及", clearable: "可清除", path: "数据接口", labelField: "标签字段", valueField: "值字段" }, region: { name: "地区", Path: "数据接口", labelField: "标签字段", valueField: "值字段" }, selectAsync: { name: "选择", pagination: "分页", path: "数据接口", labelField: "标签字段", valueField: "值字段", imageField: "图片字段", descField: "描述字段" }, transferAsync: { name: "穿梭框" }, treeSelect: { name: "树选择" }, treeSelectAsync: { name: "异步树选择", path: "数据接口", labelField: "标签字段", keyField: "键字段" }, tree: { disabled: "禁用" }, groups: { form: "表单", select: "选择器", async: "异步" }, imageUpload: { label: "图片上传", maxSize: "最大文件大小(MB)", maxSizePlaceholder: "请输入最大文件大小", maxNumPlaceholder: "请输入最大文件数量", manager: "文件管理器" }, fileUpload: { label: "文件上传", accept: "接受文件类型", acceptPlaceholder: "请输入接受的文件类型,如:image/*,video/*", maxSize: "最大文件大小(MB)", maxSizePlaceholder: "请输入最大文件大小", maxNumPlaceholder: "请输入最大文件数量", manager: "文件管理器" }, main: { label: "主要内容", categories: { form: "表单", select: "选择器", async: "异步" }, actions: { jsonOutput: "Json 输出", save: "保存" } } } }, t = { table: { exportSuccess: "导出数据成功", exportProgress: "导出数据中, 请稍后...", exportFailed: "导出数据失败", exportSuccessContent: "成功导出 {count} 条数据", exportProgressContent: "第 {page} 页数据", exportFailedContent: "导出数据失败:{error}", importSuccess: "导入数据成功", importProgress: "导入数据中, 请稍后...", importFailed: "导入数据失败", importSuccessContent: "成功导入 {count} 条数据", importProgressContent: "{processed} / {total} 条数据", importFailedContent: "导入数据失败:{error}", saveSuccess: "保存成功", copySuccess: "复制成功", copyFailed: "复制失败" }, download: { failed: "下载失败" } }, l = { 400: { title: "400", desc: "请求错误" }, 401: { title: "401", desc: "您没有权限访问该页面" }, 403: { title: "403", desc: "您没有权限访问该页面" }, 404: { title: "404", desc: "页面不存在" }, 500: { title: "500", desc: "服务器错误" }, empty: { title: "暂无数据", desc: "暂无更多数据,请先创建数据" }, loading: { title: "加载中", desc: "数据正在加载中,请稍后..." }, login: { success: "登录成功", error: "登录失败,请检查用户名和密码", placeholder: { username: "请输入用户名", password: "请输入密码" }, buttons: { login: "登录" } } }, o = { "zh-CN": "中文", "en-US": "English", "ja-JP": "日本語", "ko-KR": "한국어", "ru-RU": "Русский" }, c = {
|
|
2
2
|
common: e,
|
|
3
|
-
components:
|
|
4
|
-
hooks:
|
|
3
|
+
components: a,
|
|
4
|
+
hooks: t,
|
|
5
5
|
pages: l,
|
|
6
6
|
locale: o
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
e as common,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
a as components,
|
|
11
|
+
c as default,
|
|
12
|
+
t as hooks,
|
|
13
13
|
o as locale,
|
|
14
14
|
l as pages
|
|
15
15
|
};
|
|
@@ -31,10 +31,10 @@ import "short-unique-id";
|
|
|
31
31
|
import "aieditor";
|
|
32
32
|
import "vee-validate";
|
|
33
33
|
import "@duxweb/dvha-naiveui";
|
|
34
|
+
import "mime";
|
|
34
35
|
import "@iconify-json/tabler/icons.json";
|
|
35
36
|
import "../components/posterEditor/elements/index.js";
|
|
36
37
|
import "fabric";
|
|
37
|
-
import "mime";
|
|
38
38
|
import "dayjs";
|
|
39
39
|
import "@tanstack/vue-query";
|
|
40
40
|
import { useUI as n } from "../hooks/ui.js";
|
|
@@ -52,10 +52,10 @@ import { DuxPageTab as g } from "./tab.js";
|
|
|
52
52
|
import "../page404.js";
|
|
53
53
|
import "short-unique-id";
|
|
54
54
|
import "aieditor";
|
|
55
|
+
import "mime";
|
|
55
56
|
import "@iconify-json/tabler/icons.json";
|
|
56
57
|
import "../../components/posterEditor/elements/index.js";
|
|
57
58
|
import "fabric";
|
|
58
|
-
import "mime";
|
|
59
59
|
import "dayjs";
|
|
60
60
|
import "@tanstack/vue-query";
|
|
61
61
|
import { useUI as v } from "../../hooks/ui.js";
|
|
@@ -50,10 +50,10 @@ import "@duxweb/dvha-naiveui";
|
|
|
50
50
|
import "../page404.js";
|
|
51
51
|
import "short-unique-id";
|
|
52
52
|
import "aieditor";
|
|
53
|
+
import "mime";
|
|
53
54
|
import "@iconify-json/tabler/icons.json";
|
|
54
55
|
import "../../components/posterEditor/elements/index.js";
|
|
55
56
|
import "fabric";
|
|
56
|
-
import "mime";
|
|
57
57
|
import "dayjs";
|
|
58
58
|
import "@tanstack/vue-query";
|
|
59
59
|
import { useUI as m } from "../../hooks/ui.js";
|
|
@@ -50,10 +50,10 @@ import "@duxweb/dvha-naiveui";
|
|
|
50
50
|
import "../page404.js";
|
|
51
51
|
import "short-unique-id";
|
|
52
52
|
import "aieditor";
|
|
53
|
+
import "mime";
|
|
53
54
|
import "@iconify-json/tabler/icons.json";
|
|
54
55
|
import "../../components/posterEditor/elements/index.js";
|
|
55
56
|
import "fabric";
|
|
56
|
-
import "mime";
|
|
57
57
|
import "dayjs";
|
|
58
58
|
import "@tanstack/vue-query";
|
|
59
59
|
import { useUI as q } from "../../hooks/ui.js";
|
|
@@ -52,10 +52,10 @@ import "vue-command-palette";
|
|
|
52
52
|
import "../page404.js";
|
|
53
53
|
import "short-unique-id";
|
|
54
54
|
import "aieditor";
|
|
55
|
+
import "mime";
|
|
55
56
|
import "@iconify-json/tabler/icons.json";
|
|
56
57
|
import "../../components/posterEditor/elements/index.js";
|
|
57
58
|
import "fabric";
|
|
58
|
-
import "mime";
|
|
59
59
|
import "dayjs";
|
|
60
60
|
import "@tanstack/vue-query";
|
|
61
61
|
import { useUI as y } from "../../hooks/ui.js";
|
|
@@ -51,10 +51,10 @@ import "@duxweb/dvha-naiveui";
|
|
|
51
51
|
import "../page404.js";
|
|
52
52
|
import "short-unique-id";
|
|
53
53
|
import "aieditor";
|
|
54
|
+
import "mime";
|
|
54
55
|
import "@iconify-json/tabler/icons.json";
|
|
55
56
|
import "../../components/posterEditor/elements/index.js";
|
|
56
57
|
import "fabric";
|
|
57
|
-
import "mime";
|
|
58
58
|
import "dayjs";
|
|
59
59
|
import "@tanstack/vue-query";
|
|
60
60
|
import { useUI as e } from "../../hooks/ui.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const r = `/* layer: properties */
|
|
2
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-
|
|
2
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-x-reverse:initial;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-ease:initial;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-to-opacity:100%;--un-outline-style:solid;--un-fill-opacity:100%;}}
|
|
3
3
|
@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
4
4
|
@property --un-outline-style{syntax:"*";inherits:false;initial-value:solid;}
|
|
5
5
|
@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
@@ -950,6 +950,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
950
950
|
.i-tabler\\:eye{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M10 12a2 2 0 1 0 4 0a2 2 0 0 0-4 0'/%3E%3Cpath d='M21 12q-3.6 6-9 6t-9-6q3.6-6 9-6t9 6'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
951
951
|
.i-tabler\\:eye-off{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M10.585 10.587a2 2 0 0 0 2.829 2.828'/%3E%3Cpath d='M16.681 16.673A8.7 8.7 0 0 1 12 18q-5.4 0-9-6q1.908-3.18 4.32-4.674m2.86-1.146A9 9 0 0 1 12 6q5.4 0 9 6q-1 1.665-2.138 2.87M3 3l18 18'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
952
952
|
.i-tabler\\:file-export{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M14 3v4a1 1 0 0 0 1 1h4'/%3E%3Cpath d='M11.5 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v5m-5 6h7m-3-3l3 3l-3 3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
953
|
+
.i-tabler\\:file-upload{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M14 3v4a1 1 0 0 0 1 1h4'/%3E%3Cpath d='M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2m-5-10v6'/%3E%3Cpath d='M9.5 13.5L12 11l2.5 2.5'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
953
954
|
.i-tabler\\:folder{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
954
955
|
.i-tabler\\:forms{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3M6 3a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3m7-14h7a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-7M5 7H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h1m12-5h.01M13 12h.01'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
955
956
|
.i-tabler\\:grid-4x4{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6h18M3 12h18M3 18h18M6 3v18m6-18v18m6-18v18'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
@@ -6,16 +6,18 @@ export * from './date';
|
|
|
6
6
|
export * from './dynamicInput';
|
|
7
7
|
export * from './dynamicTags';
|
|
8
8
|
export * from './editor';
|
|
9
|
+
export * from './fileUpload';
|
|
10
|
+
export * from './imageUpload';
|
|
9
11
|
export * from './input';
|
|
10
12
|
export * from './inputNumber';
|
|
11
13
|
export * from './mentionAsync';
|
|
12
14
|
export * from './radio';
|
|
13
15
|
export * from './region';
|
|
16
|
+
export * from './select';
|
|
17
|
+
export * from './selectAsync';
|
|
14
18
|
export * from './sider';
|
|
15
19
|
export * from './switch';
|
|
16
20
|
export * from './time';
|
|
17
21
|
export * from './transferAsync';
|
|
18
22
|
export * from './treeSelect';
|
|
19
23
|
export * from './treeSelectAsync';
|
|
20
|
-
export * from './select';
|
|
21
|
-
export * from './selectAsync';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duxweb/dvha-pro",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.34",
|
|
5
5
|
"author": "DuxWeb",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@ant-design/colors": "^7.2.1",
|
|
36
|
-
"@duxweb/dvha-core": "^1.0.
|
|
37
|
-
"@duxweb/dvha-naiveui": "^1.0.
|
|
36
|
+
"@duxweb/dvha-core": "^1.0.34",
|
|
37
|
+
"@duxweb/dvha-naiveui": "^1.0.34",
|
|
38
38
|
"@iconify-json/tabler": "^1.2.18",
|
|
39
39
|
"@overlastic/vue": "^0.8.1",
|
|
40
40
|
"@tanstack/vue-query": "^5.80.7",
|