@duxweb/dvha-pro 1.1.4 → 1.1.6
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/components/editor/aiEditor.cjs +1 -1
- package/dist/cjs/components/form/drawerForm.cjs +1 -1
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/pageTabForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/tree/treeFilter.cjs +1 -1
- package/dist/cjs/components/upload/file.cjs +1 -1
- package/dist/cjs/components/upload/image.cjs +1 -1
- package/dist/cjs/hooks/table/input.cjs +1 -1
- package/dist/cjs/hooks/table/switch.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/theme/uno.css.cjs +4 -1
- package/dist/esm/components/editor/aiEditor.js +62 -61
- package/dist/esm/components/form/drawerForm.js +30 -22
- package/dist/esm/components/form/modalForm.js +18 -10
- package/dist/esm/components/form/pageForm.js +26 -18
- package/dist/esm/components/form/pageTabForm.js +32 -24
- package/dist/esm/components/form/settingForm.js +29 -21
- package/dist/esm/components/tree/treeFilter.js +50 -49
- package/dist/esm/components/upload/file.js +25 -26
- package/dist/esm/components/upload/image.js +60 -64
- package/dist/esm/hooks/table/input.js +74 -40
- package/dist/esm/hooks/table/switch.js +15 -15
- package/dist/esm/langs/en-US.json.js +1 -1
- package/dist/esm/langs/zh-CN.json.js +1 -1
- package/dist/esm/theme/uno.css.js +4 -1
- package/dist/types/components/form/drawerForm.d.ts +12 -0
- package/dist/types/components/form/modalForm.d.ts +12 -0
- package/dist/types/components/form/pageForm.d.ts +12 -0
- package/dist/types/components/form/pageTabForm.d.ts +12 -0
- package/dist/types/components/form/settingForm.d.ts +12 -0
- package/dist/types/hooks/table/input.d.ts +3 -0
- package/dist/types/hooks/table/switch.d.ts +1 -0
- package/package.json +3 -3
|
@@ -13,6 +13,12 @@ export declare const DuxModalForm: import("vue").DefineComponent<import("vue").E
|
|
|
13
13
|
data: {
|
|
14
14
|
type: PropType<MaybeRef<Record<string, any>>>;
|
|
15
15
|
};
|
|
16
|
+
meta: {
|
|
17
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
18
|
+
};
|
|
19
|
+
params: {
|
|
20
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
21
|
+
};
|
|
16
22
|
onClose: {
|
|
17
23
|
type: PropType<() => void>;
|
|
18
24
|
};
|
|
@@ -86,6 +92,12 @@ export declare const DuxModalForm: import("vue").DefineComponent<import("vue").E
|
|
|
86
92
|
data: {
|
|
87
93
|
type: PropType<MaybeRef<Record<string, any>>>;
|
|
88
94
|
};
|
|
95
|
+
meta: {
|
|
96
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
97
|
+
};
|
|
98
|
+
params: {
|
|
99
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
100
|
+
};
|
|
89
101
|
onClose: {
|
|
90
102
|
type: PropType<() => void>;
|
|
91
103
|
};
|
|
@@ -23,6 +23,12 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
|
|
|
23
23
|
data: {
|
|
24
24
|
type: PropType<MaybeRef<Record<string, any>>>;
|
|
25
25
|
};
|
|
26
|
+
meta: {
|
|
27
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
28
|
+
};
|
|
29
|
+
params: {
|
|
30
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
31
|
+
};
|
|
26
32
|
onSuccess: {
|
|
27
33
|
type: PropType<(data?: IDataProviderResponse) => void>;
|
|
28
34
|
};
|
|
@@ -55,6 +61,12 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
|
|
|
55
61
|
data: {
|
|
56
62
|
type: PropType<MaybeRef<Record<string, any>>>;
|
|
57
63
|
};
|
|
64
|
+
meta: {
|
|
65
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
66
|
+
};
|
|
67
|
+
params: {
|
|
68
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
69
|
+
};
|
|
58
70
|
onSuccess: {
|
|
59
71
|
type: PropType<(data?: IDataProviderResponse) => void>;
|
|
60
72
|
};
|
|
@@ -16,6 +16,12 @@ export declare const DuxPageTabForm: import("vue").DefineComponent<import("vue")
|
|
|
16
16
|
data: {
|
|
17
17
|
type: PropType<MaybeRef<Record<string, any>>>;
|
|
18
18
|
};
|
|
19
|
+
meta: {
|
|
20
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
21
|
+
};
|
|
22
|
+
params: {
|
|
23
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
24
|
+
};
|
|
19
25
|
onSuccess: {
|
|
20
26
|
type: PropType<(data?: IDataProviderResponse) => void>;
|
|
21
27
|
};
|
|
@@ -45,6 +51,12 @@ export declare const DuxPageTabForm: import("vue").DefineComponent<import("vue")
|
|
|
45
51
|
data: {
|
|
46
52
|
type: PropType<MaybeRef<Record<string, any>>>;
|
|
47
53
|
};
|
|
54
|
+
meta: {
|
|
55
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
56
|
+
};
|
|
57
|
+
params: {
|
|
58
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
59
|
+
};
|
|
48
60
|
onSuccess: {
|
|
49
61
|
type: PropType<(data?: IDataProviderResponse) => void>;
|
|
50
62
|
};
|
|
@@ -13,6 +13,12 @@ export declare const DuxSettingForm: import("vue").DefineComponent<import("vue")
|
|
|
13
13
|
data: {
|
|
14
14
|
type: PropType<MaybeRef<Record<string, any>>>;
|
|
15
15
|
};
|
|
16
|
+
meta: {
|
|
17
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
18
|
+
};
|
|
19
|
+
params: {
|
|
20
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
21
|
+
};
|
|
16
22
|
onSuccess: {
|
|
17
23
|
type: PropType<(data?: IDataProviderResponse) => void>;
|
|
18
24
|
};
|
|
@@ -47,6 +53,12 @@ export declare const DuxSettingForm: import("vue").DefineComponent<import("vue")
|
|
|
47
53
|
data: {
|
|
48
54
|
type: PropType<MaybeRef<Record<string, any>>>;
|
|
49
55
|
};
|
|
56
|
+
meta: {
|
|
57
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
58
|
+
};
|
|
59
|
+
params: {
|
|
60
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
61
|
+
};
|
|
50
62
|
onSuccess: {
|
|
51
63
|
type: PropType<(data?: IDataProviderResponse) => void>;
|
|
52
64
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import type { IDataProviderCustomOptions } from '@duxweb/dvha-core';
|
|
1
2
|
import type { Component } from 'vue';
|
|
2
3
|
import type { UseTableColumnProps } from './column';
|
|
3
4
|
export interface UseTableColumnInputProps {
|
|
4
5
|
key?: string;
|
|
5
6
|
tag?: Component;
|
|
7
|
+
params?: Record<string, any> | (() => Record<string, any>);
|
|
8
|
+
meta?: IDataProviderCustomOptions | (() => IDataProviderCustomOptions);
|
|
6
9
|
}
|
|
7
10
|
export declare function useTableColumnInput(columnProps?: UseTableColumnProps): {
|
|
8
11
|
render: (props: UseTableColumnInputProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { UseTableColumnProps } from './column';
|
|
2
2
|
export interface useTableColumnSwitchProps {
|
|
3
3
|
key?: string;
|
|
4
|
+
path?: string | ((rowData: Record<string, any>) => string);
|
|
4
5
|
}
|
|
5
6
|
export declare function useTableColumnSwitch(columnProps?: UseTableColumnProps): {
|
|
6
7
|
render: (props: useTableColumnSwitchProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duxweb/dvha-pro",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.6",
|
|
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.1.
|
|
37
|
-
"@duxweb/dvha-naiveui": "^1.1.
|
|
36
|
+
"@duxweb/dvha-core": "^1.1.6",
|
|
37
|
+
"@duxweb/dvha-naiveui": "^1.1.6",
|
|
38
38
|
"@iconify-json/tabler": "^1.2.18",
|
|
39
39
|
"@overlastic/vue": "^0.8.1",
|
|
40
40
|
"@tanstack/vue-query": "^5.80.7",
|