@duxweb/dvha-pro 1.0.30 → 1.0.32
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/data/dynamicSelect.cjs +1 -1
- package/dist/cjs/components/data/selectModal.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/pageTabForm.cjs +1 -0
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/upload/file.cjs +1 -1
- package/dist/cjs/components/upload/selectFile.cjs +1 -0
- package/dist/cjs/dvha-pro.css +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/layout.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +4 -1
- package/dist/esm/component.js +31 -31
- package/dist/esm/components/data/dynamicSelect.js +1 -1
- package/dist/esm/components/data/selectModal.js +1 -1
- package/dist/esm/components/form/pageForm.js +0 -4
- package/dist/esm/components/form/pageTabForm.js +145 -0
- package/dist/esm/components/layout/table.js +73 -71
- package/dist/esm/components/upload/file.js +4 -2
- package/dist/esm/components/upload/selectFile.js +72 -0
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/index.js +130 -126
- package/dist/esm/langs/en-US.json.js +2 -2
- package/dist/esm/langs/zh-CN.json.js +1 -1
- package/dist/esm/pages/layout.js +6 -7
- package/dist/esm/theme/uno.css.js +4 -1
- package/dist/types/components/data/selectModal.d.ts +1 -1
- package/dist/types/components/form/index.d.ts +1 -0
- package/dist/types/components/form/pageForm.d.ts +0 -9
- package/dist/types/components/form/pageTabForm.d.ts +63 -0
- package/dist/types/components/layout/table.d.ts +2 -2
- package/dist/types/components/table/tablePage.d.ts +2 -2
- package/dist/types/components/upload/index.d.ts +1 -0
- package/dist/types/components/upload/selectFile.d.ts +23 -0
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { DuxCodeEditor as c } from "./components/code/code.js";
|
|
|
7
7
|
import { DuxImageCrop as P } from "./components/crop/imageCrop.js";
|
|
8
8
|
import { DuxImageCropModal as b } from "./components/crop/imageCropModal.js";
|
|
9
9
|
import { DuxDashboardHello as M } from "./components/dashboard/hello.js";
|
|
10
|
-
import { DuxDashboardHelloBig as
|
|
10
|
+
import { DuxDashboardHelloBig as y } from "./components/dashboard/helloBig.js";
|
|
11
11
|
import { DuxDashboardQuick as w, DuxDashboardQuickItem as L } from "./components/dashboard/quick.js";
|
|
12
12
|
import { DuxDynamicData as I } from "./components/data/dynamicData.js";
|
|
13
13
|
import { DuxDynamicSelect as R } from "./components/data/dynamicSelect.js";
|
|
@@ -30,7 +30,7 @@ import { useTableColumnMap as Er } from "./hooks/table/map.js";
|
|
|
30
30
|
import { useTableColumnMedia as Cr } from "./hooks/table/media.js";
|
|
31
31
|
import { useTableColumnStatus as hr } from "./hooks/table/status.js";
|
|
32
32
|
import { useTableColumnSwitch as Tr } from "./hooks/table/switch.js";
|
|
33
|
-
import { useUI as
|
|
33
|
+
import { useUI as Fr } from "./hooks/ui.js";
|
|
34
34
|
import { DuxModal as Sr } from "./components/modal/modal.js";
|
|
35
35
|
import { default as Lr } from "./components/modal/modalPage.js";
|
|
36
36
|
import { default as Ir } from "./components/modal/modalTab.js";
|
|
@@ -53,81 +53,83 @@ import { DuxFormItem as Do } from "./components/form/formItem.js";
|
|
|
53
53
|
import { DuxFormLayout as io } from "./components/form/formLayout.js";
|
|
54
54
|
import { DuxModalForm as no } from "./components/form/modalForm.js";
|
|
55
55
|
import { DuxPageForm as Eo } from "./components/form/pageForm.js";
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
56
|
+
import { DuxPageTabForm as Co } from "./components/form/pageTabForm.js";
|
|
57
|
+
import { DuxSettingForm as ho } from "./components/form/settingForm.js";
|
|
58
|
+
import { DuxFormEditor as To } from "./components/formEditor/editor.js";
|
|
59
|
+
import { DuxFormRenderer as Fo } from "./components/formEditor/renderer.js";
|
|
60
|
+
import { DuxIconPicker as So } from "./components/icon/icon.js";
|
|
60
61
|
import "@iconify-json/tabler/icons.json";
|
|
61
62
|
import "@vueuse/core";
|
|
62
|
-
import { DuxTableFilter as
|
|
63
|
-
import { DuxFilterLayout as
|
|
64
|
-
import { DuxGrid as
|
|
65
|
-
import { DuxListLayout as
|
|
66
|
-
import { DuxTableLayout as
|
|
67
|
-
import { DuxTableTools as
|
|
68
|
-
import { DuxLevel as
|
|
69
|
-
import { DuxCardPage as
|
|
70
|
-
import { DuxListPage as
|
|
71
|
-
import { DuxMedia as
|
|
72
|
-
import { DuxPanelAlert as
|
|
73
|
-
import { DuxPanelCard as
|
|
74
|
-
import { DuxCollapsePanel as
|
|
75
|
-
import { elementConfigs as
|
|
76
|
-
import { usePosterEditor as
|
|
77
|
-
import { DuxPosterEditor as
|
|
78
|
-
import { DuxSelectCard as
|
|
79
|
-
import { DuxStatsNumber as
|
|
80
|
-
import { DuxStatsRealTime as
|
|
81
|
-
import { DuxBlockEmpty as
|
|
82
|
-
import { DuxListEmpty as
|
|
83
|
-
import { DuxTable as
|
|
84
|
-
import { DuxTablePage as
|
|
85
|
-
import { DuxTreeFilter as
|
|
86
|
-
import { DuxFileUpload as
|
|
87
|
-
import { DuxImageUpload as
|
|
88
|
-
import { default as
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import { default as
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import { default as
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
63
|
+
import { DuxTableFilter as Lo } from "./components/layout/filter.js";
|
|
64
|
+
import { DuxFilterLayout as Io } from "./components/layout/filterLayout.js";
|
|
65
|
+
import { DuxGrid as Ro } from "./components/layout/grid.js";
|
|
66
|
+
import { DuxListLayout as Uo } from "./components/layout/list.js";
|
|
67
|
+
import { DuxTableLayout as Wo } from "./components/layout/table.js";
|
|
68
|
+
import { DuxTableTools as Go } from "./components/layout/tools.js";
|
|
69
|
+
import { DuxLevel as No } from "./components/level/level.js";
|
|
70
|
+
import { DuxCardPage as zo } from "./components/list/card.js";
|
|
71
|
+
import { DuxListPage as Oo } from "./components/list/list.js";
|
|
72
|
+
import { DuxMedia as qo } from "./components/media/media.js";
|
|
73
|
+
import { DuxPanelAlert as Xo } from "./components/panel/alert.js";
|
|
74
|
+
import { DuxPanelCard as Zo } from "./components/panel/setting.js";
|
|
75
|
+
import { DuxCollapsePanel as $o } from "./components/panel/collapse.js";
|
|
76
|
+
import { elementConfigs as oe, elementRegistry as ee, getElementConfig as te, getElementsByCategory as xe } from "./components/posterEditor/elements/index.js";
|
|
77
|
+
import { usePosterEditor as ue } from "./components/posterEditor/hooks/usePosterEditor.js";
|
|
78
|
+
import { DuxPosterEditor as pe } from "./components/posterEditor/posterEditor.js";
|
|
79
|
+
import { DuxSelectCard as De } from "./components/select/cardSelect.js";
|
|
80
|
+
import { DuxStatsNumber as ie } from "./components/stats/number.js";
|
|
81
|
+
import { DuxStatsRealTime as de } from "./components/stats/realTime.js";
|
|
82
|
+
import { DuxBlockEmpty as ge } from "./components/status/blockEmpty.js";
|
|
83
|
+
import { DuxListEmpty as ce } from "./components/status/listEmpty.js";
|
|
84
|
+
import { DuxTable as Pe } from "./components/table/table.js";
|
|
85
|
+
import { DuxTablePage as be } from "./components/table/tablePage.js";
|
|
86
|
+
import { DuxTreeFilter as Me } from "./components/tree/treeFilter.js";
|
|
87
|
+
import { DuxFileUpload as ye } from "./components/upload/file.js";
|
|
88
|
+
import { DuxImageUpload as we } from "./components/upload/image.js";
|
|
89
|
+
import { default as Ae } from "./components/upload/manager.js";
|
|
90
|
+
import { DuxSelectUpload as ve } from "./components/upload/selectFile.js";
|
|
91
|
+
import { DuxAvatar as Be } from "./components/widget/avatar.js";
|
|
92
|
+
import { DuxWidgetConnect as ke } from "./components/widget/connect.js";
|
|
93
|
+
import { DuxPlaceholder as Ve } from "./components/widget/placeholder.js";
|
|
94
|
+
import { DuxAuthLayout as He } from "./pages/authLayout.js";
|
|
95
|
+
import { DuxLayout as Qe } from "./pages/layout.js";
|
|
96
|
+
import { DuxLoginPage as Ke } from "./pages/login.js";
|
|
97
|
+
import { default as je } from "./pages/menu/avatar.js";
|
|
98
|
+
import { default as Je } from "./pages/menu/button.js";
|
|
99
|
+
import { DuxMenuCmd as Ye } from "./pages/menu/cmd.js";
|
|
100
|
+
import { DuxMenuMain as _e } from "./pages/menu/main.js";
|
|
101
|
+
import { DuxMobileMenu as rt } from "./pages/menu/mobile.js";
|
|
102
|
+
import { DuxPage as et } from "./pages/page.js";
|
|
103
|
+
import { DuxPage403 as xt } from "./pages/page403.js";
|
|
104
|
+
import { DuxPage404 as ut } from "./pages/page404.js";
|
|
105
|
+
import { DuxPage500 as pt } from "./pages/page500.js";
|
|
106
|
+
import { DuxPageEmpty as Dt } from "./pages/pageEmpty.js";
|
|
107
|
+
import { DuxPageLoading as it } from "./pages/pageLoading.js";
|
|
108
|
+
import { DuxPageStatus as dt } from "./pages/pageStatus.js";
|
|
109
|
+
import { generateRainbowFromColor as gt, getTheme as Et } from "./config/echart.js";
|
|
110
|
+
import { config as Ct } from "./config/uno.js";
|
|
111
|
+
import { initVeeValidate as ht } from "./config/validate.js";
|
|
112
|
+
import { default as Tt } from "./langs/en-US.json.js";
|
|
113
|
+
import { default as Ft } from "./langs/zh-CN.json.js";
|
|
114
|
+
import { createDuxPro as St } from "./main.js";
|
|
115
|
+
import { useUIStore as Lt } from "./stores/ui.js";
|
|
116
|
+
import { themeOverrides as It } from "./theme/naiveTheme.js";
|
|
117
|
+
import { presetTheme as Rt } from "./theme/presetTheme.js";
|
|
118
|
+
import { default as Ut } from "vue-konva";
|
|
117
119
|
export {
|
|
118
120
|
uo as DuxAiEditor,
|
|
119
121
|
a as DuxApp,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
He as DuxAuthLayout,
|
|
123
|
+
Be as DuxAvatar,
|
|
124
|
+
ge as DuxBlockEmpty,
|
|
123
125
|
f as DuxCard,
|
|
124
|
-
|
|
126
|
+
zo as DuxCardPage,
|
|
125
127
|
d as DuxCarousel,
|
|
126
128
|
g as DuxChart,
|
|
127
129
|
c as DuxCodeEditor,
|
|
128
|
-
|
|
130
|
+
$o as DuxCollapsePanel,
|
|
129
131
|
M as DuxDashboardHello,
|
|
130
|
-
|
|
132
|
+
y as DuxDashboardHelloBig,
|
|
131
133
|
w as DuxDashboardQuick,
|
|
132
134
|
L as DuxDashboardQuickItem,
|
|
133
135
|
Ur as DuxDesignEditor,
|
|
@@ -142,76 +144,78 @@ export {
|
|
|
142
144
|
xo as DuxDrawerPage,
|
|
143
145
|
I as DuxDynamicData,
|
|
144
146
|
R as DuxDynamicSelect,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
Ae as DuxFileManage,
|
|
148
|
+
ye as DuxFileUpload,
|
|
149
|
+
Io as DuxFilterLayout,
|
|
150
|
+
To as DuxFormEditor,
|
|
149
151
|
Do as DuxFormItem,
|
|
150
152
|
io as DuxFormLayout,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
153
|
+
Fo as DuxFormRenderer,
|
|
154
|
+
Ro as DuxGrid,
|
|
155
|
+
So as DuxIconPicker,
|
|
154
156
|
P as DuxImageCrop,
|
|
155
157
|
b as DuxImageCropModal,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
158
|
+
we as DuxImageUpload,
|
|
159
|
+
Qe as DuxLayout,
|
|
160
|
+
No as DuxLevel,
|
|
161
|
+
ce as DuxListEmpty,
|
|
162
|
+
Uo as DuxListLayout,
|
|
163
|
+
Oo as DuxListPage,
|
|
164
|
+
Ke as DuxLoginPage,
|
|
165
|
+
qo as DuxMedia,
|
|
166
|
+
je as DuxMenuAvatar,
|
|
167
|
+
Je as DuxMenuButton,
|
|
168
|
+
Ye as DuxMenuCmd,
|
|
169
|
+
_e as DuxMenuMain,
|
|
170
|
+
rt as DuxMobileMenu,
|
|
169
171
|
Sr as DuxModal,
|
|
170
172
|
no as DuxModalForm,
|
|
171
173
|
Lr as DuxModalPage,
|
|
172
174
|
Ir as DuxModalTab,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
et as DuxPage,
|
|
176
|
+
xt as DuxPage403,
|
|
177
|
+
ut as DuxPage404,
|
|
178
|
+
pt as DuxPage500,
|
|
179
|
+
Dt as DuxPageEmpty,
|
|
178
180
|
Eo as DuxPageForm,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
Xo as
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
pe as
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
181
|
+
it as DuxPageLoading,
|
|
182
|
+
dt as DuxPageStatus,
|
|
183
|
+
Co as DuxPageTabForm,
|
|
184
|
+
Xo as DuxPanelAlert,
|
|
185
|
+
Zo as DuxPanelCard,
|
|
186
|
+
Ve as DuxPlaceholder,
|
|
187
|
+
pe as DuxPosterEditor,
|
|
188
|
+
De as DuxSelectCard,
|
|
189
|
+
ve as DuxSelectUpload,
|
|
190
|
+
ho as DuxSettingForm,
|
|
191
|
+
ie as DuxStatsNumber,
|
|
192
|
+
de as DuxStatsRealTime,
|
|
189
193
|
l as DuxStatsStore,
|
|
190
194
|
i as DuxStatsStoreItem,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
195
|
+
Pe as DuxTable,
|
|
196
|
+
Lo as DuxTableFilter,
|
|
197
|
+
Wo as DuxTableLayout,
|
|
198
|
+
be as DuxTablePage,
|
|
199
|
+
Go as DuxTableTools,
|
|
200
|
+
Me as DuxTreeFilter,
|
|
201
|
+
ke as DuxWidgetConnect,
|
|
198
202
|
Gr as DuxWidgetEditorPreview,
|
|
199
|
-
|
|
203
|
+
Ut as VueKonva,
|
|
200
204
|
Nr as WidgetEditorSetting,
|
|
201
205
|
Qr as WidgetEditorSettingCard,
|
|
202
|
-
|
|
203
|
-
|
|
206
|
+
Ct as config,
|
|
207
|
+
St as createDuxPro,
|
|
204
208
|
Rr as duxFormEditorGrid,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
209
|
+
oe as elementConfigs,
|
|
210
|
+
ee as elementRegistry,
|
|
211
|
+
Tt as enUS,
|
|
212
|
+
gt as generateRainbowFromColor,
|
|
213
|
+
te as getElementConfig,
|
|
214
|
+
xe as getElementsByCategory,
|
|
215
|
+
Et as getTheme,
|
|
216
|
+
ht as initVeeValidate,
|
|
217
|
+
Rt as presetTheme,
|
|
218
|
+
It as themeOverrides,
|
|
215
219
|
U as useAction,
|
|
216
220
|
k as useActionButton,
|
|
217
221
|
W as useActionDropdown,
|
|
@@ -233,7 +237,7 @@ export {
|
|
|
233
237
|
tr as useImagePreview,
|
|
234
238
|
mr as useLevel,
|
|
235
239
|
ar as useModal,
|
|
236
|
-
|
|
240
|
+
ue as usePosterEditor,
|
|
237
241
|
fr as useTable,
|
|
238
242
|
sr as useTableColumn,
|
|
239
243
|
lr as useTableColumnColor,
|
|
@@ -242,7 +246,7 @@ export {
|
|
|
242
246
|
Cr as useTableColumnMedia,
|
|
243
247
|
hr as useTableColumnStatus,
|
|
244
248
|
Tr as useTableColumnSwitch,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
249
|
+
Fr as useUI,
|
|
250
|
+
Lt as useUIStore,
|
|
251
|
+
Ft as zhCN
|
|
248
252
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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" }, 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" } }, o = { 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" } } }, l = { "zh-CN": "Chinese", "en-US": "English", "ja-JP": "Japanese", "ko-KR": "Korean", "ru-RU": "Russian" },
|
|
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" } }, o = { 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" } } }, l = { "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,
|
|
@@ -8,7 +8,7 @@ const e = { search: "Search", empty: "No data", menu: "Menu", theme: "Theme", da
|
|
|
8
8
|
export {
|
|
9
9
|
e as common,
|
|
10
10
|
a as components,
|
|
11
|
-
|
|
11
|
+
i as default,
|
|
12
12
|
t as hooks,
|
|
13
13
|
l as locale,
|
|
14
14
|
o as pages
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { search: "搜索", empty: "暂无数据", menu: "菜单", theme: "主题", dark: "暗色模式", light: "亮色模式", back: "返回", loading: "加载中...", success: "操作成功", error: "操作失败", unknownError: "未知错误", keyword: "请输入关键字", preview: "预览" }, t = { 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: "操作" }, 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: "异步" }, main: { label: "主要内容", categories: { form: "表单", select: "选择器", async: "异步" }, actions: { jsonOutput: "Json 输出", save: "保存" } } } }, a = { 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": "Русский" }, s = {
|
|
1
|
+
const e = { search: "搜索", empty: "暂无数据", menu: "菜单", theme: "主题", dark: "暗色模式", light: "亮色模式", back: "返回", loading: "加载中...", success: "操作成功", error: "操作失败", unknownError: "未知错误", keyword: "请输入关键字", preview: "预览" }, t = { 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: "异步" }, main: { label: "主要内容", categories: { form: "表单", select: "选择器", async: "异步" }, actions: { jsonOutput: "Json 输出", save: "保存" } } } }, a = { 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": "Русский" }, s = {
|
|
2
2
|
common: e,
|
|
3
3
|
components: t,
|
|
4
4
|
hooks: a,
|
package/dist/esm/pages/layout.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { defineComponent as t, createVNode as o } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { DuxGlobalLayout as
|
|
4
|
-
const
|
|
2
|
+
import { RouterView as e } from "vue-router";
|
|
3
|
+
import { DuxGlobalLayout as u } from "./layout/global.js";
|
|
4
|
+
const m = /* @__PURE__ */ t({
|
|
5
5
|
name: "DuxLayout",
|
|
6
6
|
setup() {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
default: () => [o(r, null, null)]
|
|
7
|
+
return () => o(u, null, {
|
|
8
|
+
default: () => [o(e, null, null)]
|
|
10
9
|
});
|
|
11
10
|
}
|
|
12
11
|
});
|
|
13
12
|
export {
|
|
14
|
-
|
|
13
|
+
m as DuxLayout
|
|
15
14
|
};
|
|
@@ -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-
|
|
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-shadow-opacity:100%;--un-divide-x-reverse:initial;--un-divide-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%;}
|
|
@@ -1237,6 +1237,8 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1237
1237
|
.min-w-0{min-width:calc(var(--spacing) * 0);}
|
|
1238
1238
|
.min-w-110{min-width:calc(var(--spacing) * 110);}
|
|
1239
1239
|
.min-w-60{min-width:calc(var(--spacing) * 60);}
|
|
1240
|
+
.w-1{width:calc(var(--spacing) * 1);}
|
|
1241
|
+
.w-12{width:calc(var(--spacing) * 12);}
|
|
1240
1242
|
.w-120{width:calc(var(--spacing) * 120);}
|
|
1241
1243
|
.w-120px{width:120px;}
|
|
1242
1244
|
.w-15{width:calc(var(--spacing) * 15);}
|
|
@@ -1289,6 +1291,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1289
1291
|
.transform{transform:var(--un-rotate-x) var(--un-rotate-y) var(--un-rotate-z) var(--un-skew-x) var(--un-skew-y);}
|
|
1290
1292
|
.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--un-ease, var(--default-transition-timingFunction));transition-duration:var(--un-duration, var(--default-transition-duration));}
|
|
1291
1293
|
.transition-all{transition-property:all;transition-timing-function:var(--un-ease, var(--default-transition-timingFunction));transition-duration:var(--un-duration, var(--default-transition-duration));}
|
|
1294
|
+
.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease, var(--default-transition-timingFunction));transition-duration:var(--un-duration, var(--default-transition-duration));}
|
|
1292
1295
|
.transition-opacity{transition-property:opacity;transition-timing-function:var(--un-ease, var(--default-transition-timingFunction));transition-duration:var(--un-duration, var(--default-transition-duration));}
|
|
1293
1296
|
.duration-150{--un-duration:150ms;transition-duration:150ms;}
|
|
1294
1297
|
.duration-200{--un-duration:200ms;transition-duration:200ms;}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { JsonSchemaNode } from '@duxweb/dvha-core';
|
|
1
2
|
import type { TableColumn } from '@duxweb/dvha-naiveui';
|
|
2
3
|
import type { PropType } from 'vue';
|
|
3
|
-
import { type JsonSchemaNode } from '@duxweb/dvha-core';
|
|
4
4
|
declare const Select: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
path: StringConstructor;
|
|
6
6
|
columns: {
|
|
@@ -29,10 +29,6 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
|
|
|
29
29
|
onError: {
|
|
30
30
|
type: PropType<(error?: IDataProviderError) => void>;
|
|
31
31
|
};
|
|
32
|
-
size: {
|
|
33
|
-
type: PropType<"small" | "medium" | "large">;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
32
|
invalidate: {
|
|
37
33
|
type: PropType<string>;
|
|
38
34
|
};
|
|
@@ -65,14 +61,9 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
|
|
|
65
61
|
onError: {
|
|
66
62
|
type: PropType<(error?: IDataProviderError) => void>;
|
|
67
63
|
};
|
|
68
|
-
size: {
|
|
69
|
-
type: PropType<"small" | "medium" | "large">;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
64
|
invalidate: {
|
|
73
65
|
type: PropType<string>;
|
|
74
66
|
};
|
|
75
67
|
}>> & Readonly<{}>, {
|
|
76
|
-
size: "small" | "medium" | "large";
|
|
77
68
|
labelPlacement: "left" | "top" | "page" | "setting";
|
|
78
69
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { IDataProviderError, IDataProviderResponse } from '@duxweb/dvha-core';
|
|
2
|
+
import type { MaybeRef, PropType } from 'vue';
|
|
3
|
+
export declare const DuxPageTabForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
id: {
|
|
5
|
+
type: PropType<string | number>;
|
|
6
|
+
};
|
|
7
|
+
action: {
|
|
8
|
+
type: PropType<"create" | "edit">;
|
|
9
|
+
};
|
|
10
|
+
title: {
|
|
11
|
+
type: PropType<string>;
|
|
12
|
+
};
|
|
13
|
+
path: {
|
|
14
|
+
type: PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
data: {
|
|
17
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
18
|
+
};
|
|
19
|
+
onSuccess: {
|
|
20
|
+
type: PropType<(data?: IDataProviderResponse) => void>;
|
|
21
|
+
};
|
|
22
|
+
onError: {
|
|
23
|
+
type: PropType<(error?: IDataProviderError) => void>;
|
|
24
|
+
};
|
|
25
|
+
invalidate: {
|
|
26
|
+
type: PropType<string>;
|
|
27
|
+
};
|
|
28
|
+
defaultTab: {
|
|
29
|
+
type: PropType<string>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
id: {
|
|
34
|
+
type: PropType<string | number>;
|
|
35
|
+
};
|
|
36
|
+
action: {
|
|
37
|
+
type: PropType<"create" | "edit">;
|
|
38
|
+
};
|
|
39
|
+
title: {
|
|
40
|
+
type: PropType<string>;
|
|
41
|
+
};
|
|
42
|
+
path: {
|
|
43
|
+
type: PropType<string>;
|
|
44
|
+
};
|
|
45
|
+
data: {
|
|
46
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
47
|
+
};
|
|
48
|
+
onSuccess: {
|
|
49
|
+
type: PropType<(data?: IDataProviderResponse) => void>;
|
|
50
|
+
};
|
|
51
|
+
onError: {
|
|
52
|
+
type: PropType<(error?: IDataProviderError) => void>;
|
|
53
|
+
};
|
|
54
|
+
invalidate: {
|
|
55
|
+
type: PropType<string>;
|
|
56
|
+
};
|
|
57
|
+
defaultTab: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
62
|
+
defaultTab: string;
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -54,7 +54,7 @@ export declare const DuxTableLayout: import("vue").DefineComponent<import("vue")
|
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
hookTableProps: {
|
|
57
|
-
type: PropType<UseTableProps
|
|
57
|
+
type: PropType<Partial<UseTableProps>>;
|
|
58
58
|
};
|
|
59
59
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
path: {
|
|
@@ -100,7 +100,7 @@ export declare const DuxTableLayout: import("vue").DefineComponent<import("vue")
|
|
|
100
100
|
default: string;
|
|
101
101
|
};
|
|
102
102
|
hookTableProps: {
|
|
103
|
-
type: PropType<UseTableProps
|
|
103
|
+
type: PropType<Partial<UseTableProps>>;
|
|
104
104
|
};
|
|
105
105
|
}>> & Readonly<{}>, {
|
|
106
106
|
pagination: boolean | TablePagination;
|