@duxweb/dvha-pro 1.1.21 → 1.1.23
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/cascaderPanel/cascaderPanel.cjs +1 -0
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/dashboard/helloBig.cjs +1 -1
- package/dist/cjs/components/data/dynamicData.cjs +1 -1
- package/dist/cjs/components/data/selectModal.cjs +1 -1
- package/dist/cjs/components/designEditor/editor/setting.cjs +1 -1
- package/dist/cjs/components/designEditor/editor.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/setting.cjs +1 -1
- package/dist/cjs/components/form/drawerForm.cjs +1 -1
- package/dist/cjs/components/form/formItem.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/formEditor/components/imageUpload.cjs +1 -1
- package/dist/cjs/components/formEditor/editor.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/layout/tools.cjs +1 -1
- package/dist/cjs/components/mapCoord/mapCoord.cjs +1 -0
- package/dist/cjs/components/media/media.cjs +1 -1
- package/dist/cjs/components/modal/modalTab.cjs +1 -1
- package/dist/cjs/components/panel/setting.cjs +1 -1
- package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -1
- package/dist/cjs/components/select/selectCard.cjs +1 -1
- package/dist/cjs/components/spec/spec.cjs +1 -1
- package/dist/cjs/components/stats/realTime.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/textImageEditor/textImageEditor.cjs +1 -0
- package/dist/cjs/components/textImageEditor/textModal.cjs +1 -0
- 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/components/upload/video.cjs +1 -0
- package/dist/cjs/components/widget/connect.cjs +1 -1
- package/dist/cjs/dvha-pro.css +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/image.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/hooks/table/switch.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/langs/en-US.json.cjs +1 -1
- package/dist/cjs/langs/zh-CN.json.cjs +1 -1
- package/dist/cjs/pages/authLayout.cjs +1 -1
- package/dist/cjs/pages/login.cjs +1 -1
- package/dist/cjs/pages/menu/avatar.cjs +1 -1
- package/dist/cjs/pages/menu/button.cjs +1 -1
- package/dist/cjs/pages/menu/menuApp.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/menu/notice.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +26 -4
- package/dist/esm/component.js +21 -20
- package/dist/esm/components/cascaderPanel/cascaderPanel.js +378 -0
- package/dist/esm/components/chart/echart.js +1 -1
- package/dist/esm/components/dashboard/helloBig.js +3 -2
- package/dist/esm/components/data/dynamicData.js +49 -40
- package/dist/esm/components/data/selectModal.js +3 -3
- package/dist/esm/components/designEditor/editor/setting.js +2 -2
- package/dist/esm/components/designEditor/editor.js +3 -2
- package/dist/esm/components/drawer/drawer.js +22 -19
- package/dist/esm/components/flowEditor/components/setting.js +1 -1
- package/dist/esm/components/form/drawerForm.js +1 -1
- package/dist/esm/components/form/formItem.js +1 -1
- package/dist/esm/components/form/modalForm.js +1 -1
- 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/components/imageUpload.js +1 -1
- package/dist/esm/components/formEditor/editor.js +1 -1
- package/dist/esm/components/layout/table.js +74 -56
- package/dist/esm/components/layout/tools.js +8 -8
- package/dist/esm/components/mapCoord/mapCoord.js +218 -0
- package/dist/esm/components/media/media.js +57 -32
- package/dist/esm/components/modal/modalTab.js +20 -14
- package/dist/esm/components/panel/setting.js +3 -2
- package/dist/esm/components/posterEditor/posterEditor.js +1 -1
- package/dist/esm/components/select/selectCard.js +3 -3
- package/dist/esm/components/spec/spec.js +142 -103
- package/dist/esm/components/stats/realTime.js +5 -4
- package/dist/esm/components/table/table.js +19 -19
- package/dist/esm/components/textImageEditor/textImageEditor.js +405 -0
- package/dist/esm/components/textImageEditor/textModal.js +77 -0
- package/dist/esm/components/upload/image.js +35 -34
- package/dist/esm/components/upload/manage/item.js +1 -1
- package/dist/esm/components/upload/manager.js +155 -138
- package/dist/esm/components/upload/video.js +340 -0
- package/dist/esm/components/widget/connect.js +3 -2
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/dialog.js +2 -2
- package/dist/esm/hooks/drawer.js +2 -2
- package/dist/esm/hooks/modal.js +2 -2
- package/dist/esm/hooks/table/image.js +2 -2
- package/dist/esm/hooks/table/media.js +2 -2
- package/dist/esm/hooks/table/switch.js +58 -26
- package/dist/esm/index.js +308 -296
- package/dist/esm/langs/en-US.json.js +1 -1
- package/dist/esm/langs/zh-CN.json.js +1 -1
- package/dist/esm/pages/authLayout.js +1 -1
- package/dist/esm/pages/login.js +2 -2
- package/dist/esm/pages/menu/avatar.js +1 -1
- package/dist/esm/pages/menu/button.js +1 -1
- package/dist/esm/pages/menu/menuApp.js +1 -1
- package/dist/esm/pages/menu/mobile.js +1 -1
- package/dist/esm/pages/menu/notice.js +1 -1
- package/dist/esm/pages/page404.js +1 -1
- package/dist/esm/pages/pageStatus.js +2 -2
- package/dist/esm/theme/uno.css.js +26 -4
- package/dist/types/components/cascaderPanel/cascaderPanel.d.ts +110 -0
- package/dist/types/components/cascaderPanel/index.d.ts +1 -0
- package/dist/types/components/data/dynamicData.d.ts +10 -0
- package/dist/types/components/data/index.d.ts +1 -1
- package/dist/types/components/data/selectModal.d.ts +2 -2
- package/dist/types/components/drawer/drawer.d.ts +1 -1
- package/dist/types/components/flowEditor/components/kvInput.d.ts +1 -1
- package/dist/types/components/flowEditor/components/nodeCard.d.ts +1 -1
- package/dist/types/components/form/drawerForm.d.ts +2 -2
- package/dist/types/components/form/formLayout.d.ts +2 -2
- package/dist/types/components/form/modalForm.d.ts +2 -2
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components/level/level.d.ts +2 -2
- package/dist/types/components/mapCoord/index.d.ts +1 -0
- package/dist/types/components/mapCoord/mapCoord.d.ts +93 -0
- package/dist/types/components/media/media.d.ts +3 -32
- package/dist/types/components/modal/modalTab.d.ts +5 -5
- package/dist/types/components/select/checkboxTag.d.ts +2 -2
- package/dist/types/components/select/dateTag.d.ts +2 -2
- package/dist/types/components/select/radioTag.d.ts +2 -2
- package/dist/types/components/select/selectCard.d.ts +4 -4
- package/dist/types/components/spec/spec.d.ts +21 -0
- package/dist/types/components/table/table.d.ts +3 -3
- package/dist/types/components/textImageEditor/index.d.ts +2 -0
- package/dist/types/components/textImageEditor/textImageEditor.d.ts +56 -0
- package/dist/types/components/textImageEditor/textModal.d.ts +72 -0
- package/dist/types/components/textImageEditor/types.d.ts +19 -0
- package/dist/types/components/upload/index.d.ts +1 -0
- package/dist/types/components/upload/video.d.ts +126 -0
- package/dist/types/components/widget/index.d.ts +1 -0
- package/dist/types/hooks/table/column.d.ts +1 -1
- package/dist/types/hooks/table/switch.d.ts +1 -1
- package/dist/types/main.d.ts +5 -0
- package/package.json +3 -3
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
title: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
handle: StringConstructor;
|
|
8
|
+
value: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
editorType: {
|
|
13
|
+
type: PropType<"richtext" | "markdown">;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
aiPath: StringConstructor;
|
|
17
|
+
uploadPath: StringConstructor;
|
|
18
|
+
uploadHeaders: PropType<Record<string, any>>;
|
|
19
|
+
fileManager: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
fileManagerType: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
height: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
onConfirm: PropType<(value: string) => void>;
|
|
32
|
+
onClose: PropType<() => void>;
|
|
33
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
title: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
handle: StringConstructor;
|
|
39
|
+
value: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
editorType: {
|
|
44
|
+
type: PropType<"richtext" | "markdown">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
aiPath: StringConstructor;
|
|
48
|
+
uploadPath: StringConstructor;
|
|
49
|
+
uploadHeaders: PropType<Record<string, any>>;
|
|
50
|
+
fileManager: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
fileManagerType: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
height: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
onConfirm: PropType<(value: string) => void>;
|
|
63
|
+
onClose: PropType<() => void>;
|
|
64
|
+
}>> & Readonly<{}>, {
|
|
65
|
+
title: string;
|
|
66
|
+
height: string;
|
|
67
|
+
value: string;
|
|
68
|
+
editorType: "markdown" | "richtext";
|
|
69
|
+
fileManager: boolean;
|
|
70
|
+
fileManagerType: string;
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TextImageEditorBlockType = 'image' | 'text';
|
|
2
|
+
export interface TextImageEditorBaseBlock {
|
|
3
|
+
id: string;
|
|
4
|
+
type: TextImageEditorBlockType;
|
|
5
|
+
}
|
|
6
|
+
export interface TextImageEditorImageBlock extends TextImageEditorBaseBlock {
|
|
7
|
+
type: 'image';
|
|
8
|
+
url?: string;
|
|
9
|
+
alt?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface TextImageEditorTextBlock extends TextImageEditorBaseBlock {
|
|
12
|
+
type: 'text';
|
|
13
|
+
/**
|
|
14
|
+
* Richtext html (AiEditor.getHtml) or markdown (AiEditor.getMarkdown),
|
|
15
|
+
* depending on editorType configured by consumer.
|
|
16
|
+
*/
|
|
17
|
+
content?: string;
|
|
18
|
+
}
|
|
19
|
+
export type TextImageEditorBlock = TextImageEditorImageBlock | TextImageEditorTextBlock;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import type { IDataProviderResponse, IS3SignData } from '@duxweb/dvha-core';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
export declare const DuxVideoUpload: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
path: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
signPath: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
signCallback: PropType<(response: IDataProviderResponse) => IS3SignData>;
|
|
13
|
+
managePath: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
driver: {
|
|
18
|
+
type: PropType<"local" | "s3">;
|
|
19
|
+
};
|
|
20
|
+
maxNum: NumberConstructor;
|
|
21
|
+
maxSize: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
multiple: BooleanConstructor;
|
|
26
|
+
manager: BooleanConstructor;
|
|
27
|
+
value: (StringConstructor | {
|
|
28
|
+
(arrayLength: number): string[];
|
|
29
|
+
(...items: string[]): string[];
|
|
30
|
+
new (arrayLength: number): string[];
|
|
31
|
+
new (...items: string[]): string[];
|
|
32
|
+
isArray(arg: any): arg is any[];
|
|
33
|
+
readonly prototype: any[];
|
|
34
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
35
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
36
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
37
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
38
|
+
of<T>(...items: T[]): T[];
|
|
39
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
40
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
41
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
42
|
+
})[];
|
|
43
|
+
defaultValue: (StringConstructor | {
|
|
44
|
+
(arrayLength: number): string[];
|
|
45
|
+
(...items: string[]): string[];
|
|
46
|
+
new (arrayLength: number): string[];
|
|
47
|
+
new (...items: string[]): string[];
|
|
48
|
+
isArray(arg: any): arg is any[];
|
|
49
|
+
readonly prototype: any[];
|
|
50
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
51
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
52
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
53
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
54
|
+
of<T>(...items: T[]): T[];
|
|
55
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
56
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
57
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
58
|
+
})[];
|
|
59
|
+
onUpdateValue: PropType<(value?: string | string[]) => void>;
|
|
60
|
+
method: PropType<"POST" | "PUT">;
|
|
61
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
path: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
signPath: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
signCallback: PropType<(response: IDataProviderResponse) => IS3SignData>;
|
|
71
|
+
managePath: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
driver: {
|
|
76
|
+
type: PropType<"local" | "s3">;
|
|
77
|
+
};
|
|
78
|
+
maxNum: NumberConstructor;
|
|
79
|
+
maxSize: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
multiple: BooleanConstructor;
|
|
84
|
+
manager: BooleanConstructor;
|
|
85
|
+
value: (StringConstructor | {
|
|
86
|
+
(arrayLength: number): string[];
|
|
87
|
+
(...items: string[]): string[];
|
|
88
|
+
new (arrayLength: number): string[];
|
|
89
|
+
new (...items: string[]): string[];
|
|
90
|
+
isArray(arg: any): arg is any[];
|
|
91
|
+
readonly prototype: any[];
|
|
92
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
93
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
94
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
95
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
96
|
+
of<T>(...items: T[]): T[];
|
|
97
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
98
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
99
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
100
|
+
})[];
|
|
101
|
+
defaultValue: (StringConstructor | {
|
|
102
|
+
(arrayLength: number): string[];
|
|
103
|
+
(...items: string[]): string[];
|
|
104
|
+
new (arrayLength: number): string[];
|
|
105
|
+
new (...items: string[]): string[];
|
|
106
|
+
isArray(arg: any): arg is any[];
|
|
107
|
+
readonly prototype: any[];
|
|
108
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
109
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
110
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
111
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
112
|
+
of<T>(...items: T[]): T[];
|
|
113
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
114
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
115
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
116
|
+
})[];
|
|
117
|
+
onUpdateValue: PropType<(value?: string | string[]) => void>;
|
|
118
|
+
method: PropType<"POST" | "PUT">;
|
|
119
|
+
}>> & Readonly<{}>, {
|
|
120
|
+
path: string;
|
|
121
|
+
multiple: boolean;
|
|
122
|
+
manager: boolean;
|
|
123
|
+
managePath: string;
|
|
124
|
+
signPath: string;
|
|
125
|
+
maxSize: number;
|
|
126
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -5,7 +5,7 @@ export interface UseTableColumnProps {
|
|
|
5
5
|
export declare function useTableColumn(props?: UseTableColumnProps): {
|
|
6
6
|
renderMedia: (props: import("./media").UseTableColumnMediaProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element;
|
|
7
7
|
renderImage: (props: import("./image").UseTableColumnImageProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element;
|
|
8
|
-
renderSwitch: (props: import("./switch").useTableColumnSwitchProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element;
|
|
8
|
+
renderSwitch: (props: import("./switch").useTableColumnSwitchProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element | null;
|
|
9
9
|
renderStatus: (props: import("./status").useTableColumnStatusProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element | null;
|
|
10
10
|
renderMap: (props: import("./map").useTableColumnMapProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element;
|
|
11
11
|
renderInput: (props: import("./input").UseTableColumnInputProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element;
|
|
@@ -4,5 +4,5 @@ export interface useTableColumnSwitchProps {
|
|
|
4
4
|
path?: string | ((rowData: Record<string, any>) => string);
|
|
5
5
|
}
|
|
6
6
|
export declare function useTableColumnSwitch(columnProps?: UseTableColumnProps): {
|
|
7
|
-
render: (props: useTableColumnSwitchProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element;
|
|
7
|
+
render: (props: useTableColumnSwitchProps) => (rowData: Record<string, any>, _rowIndex: number) => import("vue/jsx-runtime").JSX.Element | null;
|
|
8
8
|
};
|
package/dist/types/main.d.ts
CHANGED
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.23",
|
|
5
5
|
"author": "DuxWeb",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@ant-design/colors": "^7.2.1",
|
|
39
|
-
"@duxweb/dvha-core": "^1.1.
|
|
40
|
-
"@duxweb/dvha-naiveui": "^1.1.
|
|
39
|
+
"@duxweb/dvha-core": "^1.1.23",
|
|
40
|
+
"@duxweb/dvha-naiveui": "^1.1.23",
|
|
41
41
|
"@iconify-json/tabler": "^1.2.23",
|
|
42
42
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
43
43
|
"@overlastic/vue": "^0.8.3",
|