@duxweb/dvha-pro 1.0.31 → 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/dvha-pro.css +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +2 -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/dvha-pro.css +1 -1
- package/dist/esm/index.js +130 -128
- package/dist/esm/theme/uno.css.js +2 -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/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,82 +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 { DuxSelectUpload as
|
|
90
|
-
import { DuxAvatar as
|
|
91
|
-
import { DuxWidgetConnect as
|
|
92
|
-
import { DuxPlaceholder as
|
|
93
|
-
import { DuxAuthLayout as
|
|
94
|
-
import { DuxLayout as
|
|
95
|
-
import { DuxLoginPage as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { DuxMenuCmd as
|
|
99
|
-
import { DuxMenuMain as
|
|
100
|
-
import { DuxMobileMenu as
|
|
101
|
-
import { DuxPage as
|
|
102
|
-
import { DuxPage403 as
|
|
103
|
-
import { DuxPage404 as
|
|
104
|
-
import { DuxPage500 as
|
|
105
|
-
import { DuxPageEmpty as
|
|
106
|
-
import { DuxPageLoading as
|
|
107
|
-
import { DuxPageStatus as
|
|
108
|
-
import { generateRainbowFromColor as
|
|
109
|
-
import { config as
|
|
110
|
-
import { initVeeValidate as
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as
|
|
113
|
-
import { createDuxPro as
|
|
114
|
-
import { useUIStore as
|
|
115
|
-
import { themeOverrides as
|
|
116
|
-
import { presetTheme as
|
|
117
|
-
import { default as
|
|
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";
|
|
118
119
|
export {
|
|
119
120
|
uo as DuxAiEditor,
|
|
120
121
|
a as DuxApp,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
He as DuxAuthLayout,
|
|
123
|
+
Be as DuxAvatar,
|
|
124
|
+
ge as DuxBlockEmpty,
|
|
124
125
|
f as DuxCard,
|
|
125
|
-
|
|
126
|
+
zo as DuxCardPage,
|
|
126
127
|
d as DuxCarousel,
|
|
127
128
|
g as DuxChart,
|
|
128
129
|
c as DuxCodeEditor,
|
|
129
|
-
|
|
130
|
+
$o as DuxCollapsePanel,
|
|
130
131
|
M as DuxDashboardHello,
|
|
131
|
-
|
|
132
|
+
y as DuxDashboardHelloBig,
|
|
132
133
|
w as DuxDashboardQuick,
|
|
133
134
|
L as DuxDashboardQuickItem,
|
|
134
135
|
Ur as DuxDesignEditor,
|
|
@@ -143,77 +144,78 @@ export {
|
|
|
143
144
|
xo as DuxDrawerPage,
|
|
144
145
|
I as DuxDynamicData,
|
|
145
146
|
R as DuxDynamicSelect,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
Ae as DuxFileManage,
|
|
148
|
+
ye as DuxFileUpload,
|
|
149
|
+
Io as DuxFilterLayout,
|
|
150
|
+
To as DuxFormEditor,
|
|
150
151
|
Do as DuxFormItem,
|
|
151
152
|
io as DuxFormLayout,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
Fo as DuxFormRenderer,
|
|
154
|
+
Ro as DuxGrid,
|
|
155
|
+
So as DuxIconPicker,
|
|
155
156
|
P as DuxImageCrop,
|
|
156
157
|
b as DuxImageCropModal,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
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,
|
|
170
171
|
Sr as DuxModal,
|
|
171
172
|
no as DuxModalForm,
|
|
172
173
|
Lr as DuxModalPage,
|
|
173
174
|
Ir as DuxModalTab,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
et as DuxPage,
|
|
176
|
+
xt as DuxPage403,
|
|
177
|
+
ut as DuxPage404,
|
|
178
|
+
pt as DuxPage500,
|
|
179
|
+
Dt as DuxPageEmpty,
|
|
179
180
|
Eo as DuxPageForm,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
Xo as
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
pe as
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
ie as
|
|
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,
|
|
191
193
|
l as DuxStatsStore,
|
|
192
194
|
i as DuxStatsStoreItem,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
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,
|
|
200
202
|
Gr as DuxWidgetEditorPreview,
|
|
201
|
-
|
|
203
|
+
Ut as VueKonva,
|
|
202
204
|
Nr as WidgetEditorSetting,
|
|
203
205
|
Qr as WidgetEditorSettingCard,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
+
Ct as config,
|
|
207
|
+
St as createDuxPro,
|
|
206
208
|
Rr as duxFormEditorGrid,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
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,
|
|
217
219
|
U as useAction,
|
|
218
220
|
k as useActionButton,
|
|
219
221
|
W as useActionDropdown,
|
|
@@ -235,7 +237,7 @@ export {
|
|
|
235
237
|
tr as useImagePreview,
|
|
236
238
|
mr as useLevel,
|
|
237
239
|
ar as useModal,
|
|
238
|
-
|
|
240
|
+
ue as usePosterEditor,
|
|
239
241
|
fr as useTable,
|
|
240
242
|
sr as useTableColumn,
|
|
241
243
|
lr as useTableColumnColor,
|
|
@@ -244,7 +246,7 @@ export {
|
|
|
244
246
|
Cr as useTableColumnMedia,
|
|
245
247
|
hr as useTableColumnStatus,
|
|
246
248
|
Tr as useTableColumnSwitch,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
249
|
+
Fr as useUI,
|
|
250
|
+
Lt as useUIStore,
|
|
251
|
+
Ft as zhCN
|
|
250
252
|
};
|
|
@@ -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,7 @@ 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);}
|
|
1240
1241
|
.w-12{width:calc(var(--spacing) * 12);}
|
|
1241
1242
|
.w-120{width:calc(var(--spacing) * 120);}
|
|
1242
1243
|
.w-120px{width:120px;}
|
|
@@ -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;
|
|
@@ -49,7 +49,7 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
|
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
51
|
hookTableProps: {
|
|
52
|
-
type: PropType<import("@duxweb/dvha-naiveui").UseTableProps
|
|
52
|
+
type: PropType<Partial<import("@duxweb/dvha-naiveui").UseTableProps>>;
|
|
53
53
|
};
|
|
54
54
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
55
|
path: {
|
|
@@ -95,7 +95,7 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
|
|
|
95
95
|
default: string;
|
|
96
96
|
};
|
|
97
97
|
hookTableProps: {
|
|
98
|
-
type: PropType<import("@duxweb/dvha-naiveui").UseTableProps
|
|
98
|
+
type: PropType<Partial<import("@duxweb/dvha-naiveui").UseTableProps>>;
|
|
99
99
|
};
|
|
100
100
|
}>> & Readonly<{}>, {
|
|
101
101
|
pagination: boolean | import("@duxweb/dvha-naiveui").TablePagination;
|
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.32",
|
|
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.32",
|
|
37
|
+
"@duxweb/dvha-naiveui": "^1.0.32",
|
|
38
38
|
"@iconify-json/tabler": "^1.2.18",
|
|
39
39
|
"@overlastic/vue": "^0.8.1",
|
|
40
40
|
"@tanstack/vue-query": "^5.80.7",
|