@aplus-frontend/ui 0.0.31 → 0.0.33
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/es/src/ap-action/group/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +8 -8
- package/es/src/ap-field/date-range/index.vue.d.ts +6 -6
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +7 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +30 -25
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +20 -22
- package/es/src/ap-form/ap-form-item.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue.d.ts +2 -2
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/date/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/date-range/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/select/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text-area/index.vue.d.ts +3 -3
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/modal-form/index.vue.mjs +43 -39
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/es/src/ap-list/hooks/use-offline-list.d.ts +1 -1
- package/es/src/ap-list/index.vue.d.ts +15 -15
- package/es/src/ap-table/ap-table.vue.d.ts +60 -60
- package/es/src/ap-table/constants.d.ts +2778 -2778
- package/es/src/ap-table/utils.d.ts +2 -8474
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +16 -6
- package/es/src/ap-tag/ap-tag-group.vue.mjs +81 -61
- package/es/src/ap-tag/interface.d.ts +24 -0
- package/es/src/ap-tag/style/ap-tag-group.css +8 -0
- package/es/src/ap-upload/styles/multiple-file.css +4 -0
- package/es/src/ap-upload/styles/picture.css +1 -1
- package/es/src/base-button/index.d.ts +17 -17
- package/es/src/basic/index.d.ts +3 -3
- package/es/src/business/index.d.ts +40 -40
- package/es/src/button/index.d.ts +1 -1
- package/es/src/check-card/group.vue.d.ts +3 -0
- package/es/src/check-card/group.vue.mjs +17 -16
- package/es/src/check-card/index.vue.d.ts +1 -1
- package/es/src/config-provider/config-provider.d.ts +1 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +4 -3
- package/es/src/container/collapse/header.vue.d.ts +1 -1
- package/es/src/container/collapse/index.vue.d.ts +1 -1
- package/es/src/container/index.d.ts +5 -5
- package/es/src/count-down/index.d.ts +2 -2
- package/es/src/cropper/cropper-image.vue.d.ts +1 -1
- package/es/src/cropper/index.d.ts +34 -34
- package/es/src/description/index.d.ts +2 -2
- package/es/src/design-token/index.mjs +6 -2
- package/es/src/dropdown/index.d.ts +2 -2
- package/es/src/editable-table/form-item.vue.d.ts +23 -23
- package/es/src/editable-table/index.vue.d.ts +27 -27
- package/es/src/icon/index.d.ts +2 -2
- package/es/src/icon-picker/index.d.ts +1 -1
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/index.d.ts +1 -1
- package/es/src/pro-form/component-map.d.ts +2 -2
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-transfer.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-advanced.d.ts +1 -1
- package/es/src/pro-form/hooks/use-form-values.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +27 -27
- package/es/src/pro-form/pro-form.vue.d.ts +4 -4
- package/es/src/pro-table/component-map.d.ts +2 -2
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-action.vue.d.ts +1 -1
- package/es/src/pro-table/components/table-footer.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-image.vue.d.ts +1 -1
- package/es/src/pro-table/hooks/use-data-source.d.ts +5 -5
- package/es/src/pro-table/hooks/use-row-selection.d.ts +1 -1
- package/es/src/pro-table/hooks/use-table-footer.d.ts +1 -1
- package/es/src/pro-table/hooks/use-table-header.d.ts +1 -1
- package/es/src/pro-table/pro-table.vue.d.ts +12 -12
- package/es/src/prompt/utils.d.ts +2 -2
- package/es/src/scroll-bar/index.d.ts +21 -21
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +2 -2
- package/es/src/strength-meter/index.d.ts +1 -1
- package/es/src/theme/ap-tag/ap-tag-group.css +8 -0
- package/es/src/theme/ap-upload/multiple-file.css +4 -0
- package/es/src/theme/ap-upload/picture.css +1 -1
- package/es/src/transition/create-transition.d.ts +1 -1
- package/es/src/transition/index.d.ts +11 -11
- package/es/src/work-order-modal/interfaces.d.ts +2 -2
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +8 -8
- package/lib/src/ap-field/date-range/index.vue.d.ts +6 -6
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +7 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -2
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/date/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/select/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +3 -3
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +1 -1
- package/lib/src/ap-list/index.vue.d.ts +15 -15
- package/lib/src/ap-table/ap-table.vue.d.ts +60 -60
- package/lib/src/ap-table/constants.d.ts +2778 -2778
- package/lib/src/ap-table/utils.d.ts +2 -8474
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +16 -6
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +24 -0
- package/lib/src/ap-tag/style/ap-tag-group.css +8 -0
- package/lib/src/ap-upload/styles/multiple-file.css +4 -0
- package/lib/src/ap-upload/styles/picture.css +1 -1
- package/lib/src/base-button/index.d.ts +17 -17
- package/lib/src/basic/index.d.ts +3 -3
- package/lib/src/business/index.d.ts +40 -40
- package/lib/src/button/index.d.ts +1 -1
- package/lib/src/check-card/group.vue.d.ts +3 -0
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.vue.d.ts +1 -1
- package/lib/src/config-provider/config-provider.d.ts +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +4 -3
- package/lib/src/container/collapse/header.vue.d.ts +1 -1
- package/lib/src/container/collapse/index.vue.d.ts +1 -1
- package/lib/src/container/index.d.ts +5 -5
- package/lib/src/count-down/index.d.ts +2 -2
- package/lib/src/cropper/cropper-image.vue.d.ts +1 -1
- package/lib/src/cropper/index.d.ts +34 -34
- package/lib/src/description/index.d.ts +2 -2
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/dropdown/index.d.ts +2 -2
- package/lib/src/editable-table/form-item.vue.d.ts +23 -23
- package/lib/src/editable-table/index.vue.d.ts +27 -27
- package/lib/src/icon/index.d.ts +2 -2
- package/lib/src/icon-picker/index.d.ts +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.d.ts +1 -1
- package/lib/src/pro-form/component-map.d.ts +2 -2
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-advanced.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-form-values.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +27 -27
- package/lib/src/pro-form/pro-form.vue.d.ts +4 -4
- package/lib/src/pro-table/component-map.d.ts +2 -2
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-action.vue.d.ts +1 -1
- package/lib/src/pro-table/components/table-footer.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-image.vue.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +5 -5
- package/lib/src/pro-table/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-table-footer.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-table-header.d.ts +1 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +12 -12
- package/lib/src/prompt/utils.d.ts +2 -2
- package/lib/src/scroll-bar/index.d.ts +21 -21
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +2 -2
- package/lib/src/strength-meter/index.d.ts +1 -1
- package/lib/src/theme/ap-tag/ap-tag-group.css +8 -0
- package/lib/src/theme/ap-upload/multiple-file.css +4 -0
- package/lib/src/theme/ap-upload/picture.css +1 -1
- package/lib/src/transition/create-transition.d.ts +1 -1
- package/lib/src/transition/index.d.ts +11 -11
- package/lib/src/work-order-modal/interfaces.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
2
|
import { CropperOptions } from './interface';
|
|
3
|
-
import { ButtonProps } from '
|
|
3
|
+
import { ButtonProps } from 'src';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
export declare const CropperImage: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
@@ -12,9 +12,9 @@ export declare const CropperImage: {
|
|
|
12
12
|
type: PropType<CropperOptions>;
|
|
13
13
|
default: () => {};
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
type: PropType<
|
|
17
|
-
default:
|
|
15
|
+
crossorigin: {
|
|
16
|
+
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
17
|
+
default: undefined;
|
|
18
18
|
};
|
|
19
19
|
src: {
|
|
20
20
|
type: PropType<string>;
|
|
@@ -23,6 +23,10 @@ export declare const CropperImage: {
|
|
|
23
23
|
alt: {
|
|
24
24
|
type: PropType<string>;
|
|
25
25
|
};
|
|
26
|
+
imageStyle: {
|
|
27
|
+
type: PropType<CSSProperties>;
|
|
28
|
+
default: () => {};
|
|
29
|
+
};
|
|
26
30
|
circled: {
|
|
27
31
|
type: PropType<boolean>;
|
|
28
32
|
default: boolean;
|
|
@@ -31,10 +35,6 @@ export declare const CropperImage: {
|
|
|
31
35
|
type: PropType<boolean>;
|
|
32
36
|
default: boolean;
|
|
33
37
|
};
|
|
34
|
-
crossorigin: {
|
|
35
|
-
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
36
|
-
default: undefined;
|
|
37
|
-
};
|
|
38
38
|
}>> & {
|
|
39
39
|
onCropend?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -52,9 +52,9 @@ export declare const CropperImage: {
|
|
|
52
52
|
type: PropType<CropperOptions>;
|
|
53
53
|
default: () => {};
|
|
54
54
|
};
|
|
55
|
-
|
|
56
|
-
type: PropType<
|
|
57
|
-
default:
|
|
55
|
+
crossorigin: {
|
|
56
|
+
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
57
|
+
default: undefined;
|
|
58
58
|
};
|
|
59
59
|
src: {
|
|
60
60
|
type: PropType<string>;
|
|
@@ -63,6 +63,10 @@ export declare const CropperImage: {
|
|
|
63
63
|
alt: {
|
|
64
64
|
type: PropType<string>;
|
|
65
65
|
};
|
|
66
|
+
imageStyle: {
|
|
67
|
+
type: PropType<CSSProperties>;
|
|
68
|
+
default: () => {};
|
|
69
|
+
};
|
|
66
70
|
circled: {
|
|
67
71
|
type: PropType<boolean>;
|
|
68
72
|
default: boolean;
|
|
@@ -71,10 +75,6 @@ export declare const CropperImage: {
|
|
|
71
75
|
type: PropType<boolean>;
|
|
72
76
|
default: boolean;
|
|
73
77
|
};
|
|
74
|
-
crossorigin: {
|
|
75
|
-
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
76
|
-
default: undefined;
|
|
77
|
-
};
|
|
78
78
|
}>> & {
|
|
79
79
|
onCropend?: ((...args: any[]) => any) | undefined;
|
|
80
80
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -82,10 +82,10 @@ export declare const CropperImage: {
|
|
|
82
82
|
}, {
|
|
83
83
|
height: string | number;
|
|
84
84
|
options: CropperOptions;
|
|
85
|
+
crossorigin: "" | "anonymous" | "use-credentials";
|
|
85
86
|
imageStyle: CSSProperties;
|
|
86
87
|
circled: boolean;
|
|
87
88
|
realTimePreview: boolean;
|
|
88
|
-
crossorigin: "" | "anonymous" | "use-credentials";
|
|
89
89
|
}, true, {}, {}, {
|
|
90
90
|
P: {};
|
|
91
91
|
B: {};
|
|
@@ -102,9 +102,9 @@ export declare const CropperImage: {
|
|
|
102
102
|
type: PropType<CropperOptions>;
|
|
103
103
|
default: () => {};
|
|
104
104
|
};
|
|
105
|
-
|
|
106
|
-
type: PropType<
|
|
107
|
-
default:
|
|
105
|
+
crossorigin: {
|
|
106
|
+
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
107
|
+
default: undefined;
|
|
108
108
|
};
|
|
109
109
|
src: {
|
|
110
110
|
type: PropType<string>;
|
|
@@ -113,6 +113,10 @@ export declare const CropperImage: {
|
|
|
113
113
|
alt: {
|
|
114
114
|
type: PropType<string>;
|
|
115
115
|
};
|
|
116
|
+
imageStyle: {
|
|
117
|
+
type: PropType<CSSProperties>;
|
|
118
|
+
default: () => {};
|
|
119
|
+
};
|
|
116
120
|
circled: {
|
|
117
121
|
type: PropType<boolean>;
|
|
118
122
|
default: boolean;
|
|
@@ -121,10 +125,6 @@ export declare const CropperImage: {
|
|
|
121
125
|
type: PropType<boolean>;
|
|
122
126
|
default: boolean;
|
|
123
127
|
};
|
|
124
|
-
crossorigin: {
|
|
125
|
-
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
126
|
-
default: undefined;
|
|
127
|
-
};
|
|
128
128
|
}>> & {
|
|
129
129
|
onCropend?: ((...args: any[]) => any) | undefined;
|
|
130
130
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -132,10 +132,10 @@ export declare const CropperImage: {
|
|
|
132
132
|
}, {}, {}, {}, {}, {
|
|
133
133
|
height: string | number;
|
|
134
134
|
options: CropperOptions;
|
|
135
|
+
crossorigin: "" | "anonymous" | "use-credentials";
|
|
135
136
|
imageStyle: CSSProperties;
|
|
136
137
|
circled: boolean;
|
|
137
138
|
realTimePreview: boolean;
|
|
138
|
-
crossorigin: "" | "anonymous" | "use-credentials";
|
|
139
139
|
}>;
|
|
140
140
|
__isFragment?: undefined;
|
|
141
141
|
__isTeleport?: undefined;
|
|
@@ -149,9 +149,9 @@ export declare const CropperImage: {
|
|
|
149
149
|
type: PropType<CropperOptions>;
|
|
150
150
|
default: () => {};
|
|
151
151
|
};
|
|
152
|
-
|
|
153
|
-
type: PropType<
|
|
154
|
-
default:
|
|
152
|
+
crossorigin: {
|
|
153
|
+
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
154
|
+
default: undefined;
|
|
155
155
|
};
|
|
156
156
|
src: {
|
|
157
157
|
type: PropType<string>;
|
|
@@ -160,6 +160,10 @@ export declare const CropperImage: {
|
|
|
160
160
|
alt: {
|
|
161
161
|
type: PropType<string>;
|
|
162
162
|
};
|
|
163
|
+
imageStyle: {
|
|
164
|
+
type: PropType<CSSProperties>;
|
|
165
|
+
default: () => {};
|
|
166
|
+
};
|
|
163
167
|
circled: {
|
|
164
168
|
type: PropType<boolean>;
|
|
165
169
|
default: boolean;
|
|
@@ -168,10 +172,6 @@ export declare const CropperImage: {
|
|
|
168
172
|
type: PropType<boolean>;
|
|
169
173
|
default: boolean;
|
|
170
174
|
};
|
|
171
|
-
crossorigin: {
|
|
172
|
-
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
173
|
-
default: undefined;
|
|
174
|
-
};
|
|
175
175
|
}>> & {
|
|
176
176
|
onCropend?: ((...args: any[]) => any) | undefined;
|
|
177
177
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -183,11 +183,11 @@ export declare const CropperImage: {
|
|
|
183
183
|
}, string, {
|
|
184
184
|
height: string | number;
|
|
185
185
|
options: CropperOptions;
|
|
186
|
+
crossorigin: "" | "anonymous" | "use-credentials";
|
|
186
187
|
imageStyle: CSSProperties;
|
|
187
188
|
circled: boolean;
|
|
188
189
|
realTimePreview: boolean;
|
|
189
|
-
|
|
190
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin<any[]> & (new (...args: any[]) => {
|
|
190
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
191
191
|
$props: {
|
|
192
192
|
onClick?: (() => void) | undefined;
|
|
193
193
|
};
|
|
@@ -362,7 +362,7 @@ export declare const CropperAvatar: {
|
|
|
362
362
|
size: number;
|
|
363
363
|
showBtn: boolean;
|
|
364
364
|
btnText: string;
|
|
365
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin
|
|
365
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
366
366
|
$props: {
|
|
367
367
|
onClick?: (() => void) | undefined;
|
|
368
368
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { CollapseContainerOptions } from '
|
|
2
|
+
import { CollapseContainerOptions } from 'src';
|
|
3
3
|
import { DescItem } from './interface';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
export { useDescription } from './use-description';
|
|
@@ -207,7 +207,7 @@ export declare const Description: {
|
|
|
207
207
|
schema: DescItem[];
|
|
208
208
|
useCollapse: boolean;
|
|
209
209
|
collapseOptions: CollapseContainerOptions;
|
|
210
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin
|
|
210
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
211
211
|
$props: {
|
|
212
212
|
onClick?: (() => void) | undefined;
|
|
213
213
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={borderRadius:4},r={...o,colorPrimary:"#0070FF",colorPrimaryHover:"#66A9FF",colorPrimaryActive:"#338CFF",colorTextBase:"#182948",colorText:"#182948",colorTextSecondary:"#526A90",colorTextTertiary:"#8896B0",colorTextPlaceholder:"#BFBFBF",colorBorder:"#DEE4ED",colorSplit:"#E9EDF3",colorInfo:"#0070FF",colorSuccess:"#2ED1A3",colorError:"#FF4D4F",colorWarning:"#FFA940",colorBgContainerDisabled:"#F9F9FA",wireframe:!1,colorBgLayout:"#F2F6F9",colorBgSpotlight:"#000000cc"},c={...o,colorPrimary:"#34B77C",colorPrimaryHover:"#85D4B0",colorPrimaryActive:"#5DC596",colorBgContainerDisabled:"#f5f5f5",colorText:"#333333",colorTextSecondary:"#666666",colorTextTertiary:"#999999",colorTextPlaceholder:"#ABB7CC",colorBorder:"#D9D9D9",colorSplit:"#E9E9E9",colorInfo:"#1890FF",colorSuccess:"#52C41A",colorError:"#FF4D4F",colorWarning:"#FAAD14",colorLink:"#1890FF",wireframe:!1,colorBgLayout:"#FAFAFA",colorBgSpotlight:"#000000cc"};exports.adminToken=c;exports.aplusToken=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={borderRadius:4},r={...o,colorPrimary:"#0070FF",colorPrimaryHover:"#66A9FF",colorPrimaryActive:"#338CFF",colorTextBase:"#182948",colorText:"#182948",colorTextSecondary:"#526A90",colorTextTertiary:"#8896B0",colorTextPlaceholder:"#BFBFBF",colorBorder:"#DEE4ED",colorSplit:"#E9EDF3",colorInfo:"#0070FF",colorSuccess:"#2ED1A3",colorError:"#FF4D4F",colorWarning:"#FFA940",colorBgContainerDisabled:"#F9F9FA",wireframe:!1,colorBgLayout:"#F2F6F9",colorBgSpotlight:"#000000cc",controlItemBgActive:"#E9EDF3",controlItemBgActiveHover:"#EAF2FF"},c={...o,colorPrimary:"#34B77C",colorPrimaryHover:"#85D4B0",colorPrimaryActive:"#5DC596",colorBgContainerDisabled:"#f5f5f5",colorText:"#333333",colorTextSecondary:"#666666",colorTextTertiary:"#999999",colorTextPlaceholder:"#ABB7CC",colorBorder:"#D9D9D9",colorSplit:"#E9E9E9",colorInfo:"#1890FF",colorSuccess:"#52C41A",colorError:"#FF4D4F",colorWarning:"#FAAD14",colorLink:"#1890FF",wireframe:!1,colorBgLayout:"#FAFAFA",colorBgSpotlight:"#000000cc",controlItemBgActive:"#f3fbf7",controlItemBgActiveHover:"#e6f6ef"};exports.adminToken=c;exports.aplusToken=r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
2
|
import { DropMenu } from './interface';
|
|
3
|
-
import { Recordable } from '
|
|
3
|
+
import { Recordable } from 'src/type';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
export declare const Dropdown: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
@@ -106,7 +106,7 @@ export declare const Dropdown: {
|
|
|
106
106
|
$slots: {
|
|
107
107
|
default?(_: {}): any;
|
|
108
108
|
};
|
|
109
|
-
}) & Plugin
|
|
109
|
+
}) & Plugin & (new (...args: any[]) => {
|
|
110
110
|
$props: {
|
|
111
111
|
onClick?: (() => void) | undefined;
|
|
112
112
|
};
|
|
@@ -3,11 +3,11 @@ import { ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, CSSPr
|
|
|
3
3
|
import { SpinSize } from 'ant-design-vue/es/spin/Spin';
|
|
4
4
|
import { VueTypeValidableDef, VueTypeDef } from '../../node_modules/vue-types';
|
|
5
5
|
import { GetPopupContainer, FilterValue, SorterResult, TableCurrentDataSource, TableLocale, SortOrder, TableRowSelection } from 'ant-design-vue/es/table/interface';
|
|
6
|
-
import { RenderExpandIcon, PanelRender, TableComponents, TransformCellText, TableLayout, TableSticky,
|
|
6
|
+
import { RenderExpandIcon, PanelRender, TableComponents, TransformCellText, TableLayout, GetRowKey, TableSticky, DataIndex, RowClassName, GetComponentProps, ColumnType, Key, ExpandedRowRender } from 'ant-design-vue/es/vc-table/interface';
|
|
7
7
|
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
8
8
|
import { TablePaginationConfig, TableColumnType } from 'ant-design-vue';
|
|
9
9
|
import { EllipsisConfig } from 'ant-design-vue/es/typography/Base';
|
|
10
|
-
import { ValueEnum } from '
|
|
10
|
+
import { ValueEnum } from 'src';
|
|
11
11
|
import { TriggerType } from 'ant-design-vue/es/tooltip/abstractTooltipProps';
|
|
12
12
|
import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
|
|
13
13
|
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
@@ -53,10 +53,6 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
53
53
|
pagination?: false | TablePaginationConfig | undefined;
|
|
54
54
|
value?: RecordType[] | undefined;
|
|
55
55
|
name: string;
|
|
56
|
-
'onUpdate:value'?: ((value: RecordType[]) => void) | undefined;
|
|
57
|
-
defaultValue?: RecordType[] | undefined;
|
|
58
|
-
bordered?: boolean | undefined;
|
|
59
|
-
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
60
56
|
tableLayout?: TableLayout | undefined;
|
|
61
57
|
columns?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & {
|
|
62
58
|
children?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & any) | undefined;
|
|
@@ -81,8 +77,14 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
81
77
|
}> | undefined;
|
|
82
78
|
}) => any) | undefined;
|
|
83
79
|
})[] | undefined;
|
|
84
|
-
sticky?: boolean | TableSticky | undefined;
|
|
85
80
|
rowKey?: string | GetRowKey<RecordType> | undefined;
|
|
81
|
+
sticky?: boolean | TableSticky | undefined;
|
|
82
|
+
bordered?: boolean | undefined;
|
|
83
|
+
defaultValue?: RecordType[] | undefined;
|
|
84
|
+
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
85
|
+
'onUpdate:value'?: ((value: RecordType[]) => void) | undefined;
|
|
86
|
+
maxLength?: number | undefined;
|
|
87
|
+
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
86
88
|
dropdownPrefixCls?: string | undefined;
|
|
87
89
|
sortDirections?: SortOrder[] | undefined;
|
|
88
90
|
showSorterTooltip?: boolean | Partial< ExtractPropTypes<{
|
|
@@ -167,8 +169,6 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
167
169
|
rowExpandable?: ((record: RecordType) => boolean) | undefined;
|
|
168
170
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
169
171
|
rowSelection?: TableRowSelection<RecordType> | undefined;
|
|
170
|
-
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
171
|
-
maxLength?: number | undefined;
|
|
172
172
|
formItem?: Partial<Omit<Partial< ExtractPropTypes<{
|
|
173
173
|
htmlFor: StringConstructor;
|
|
174
174
|
prefixCls: StringConstructor;
|
|
@@ -361,10 +361,6 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
361
361
|
pagination?: false | TablePaginationConfig | undefined;
|
|
362
362
|
value?: RecordType[] | undefined;
|
|
363
363
|
name: string;
|
|
364
|
-
'onUpdate:value'?: ((value: RecordType[]) => void) | undefined;
|
|
365
|
-
defaultValue?: RecordType[] | undefined;
|
|
366
|
-
bordered?: boolean | undefined;
|
|
367
|
-
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
368
364
|
tableLayout?: TableLayout | undefined;
|
|
369
365
|
columns?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & {
|
|
370
366
|
children?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & any) | undefined;
|
|
@@ -389,8 +385,14 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
389
385
|
}> | undefined;
|
|
390
386
|
}) => any) | undefined;
|
|
391
387
|
})[] | undefined;
|
|
392
|
-
sticky?: boolean | TableSticky | undefined;
|
|
393
388
|
rowKey?: string | GetRowKey<RecordType> | undefined;
|
|
389
|
+
sticky?: boolean | TableSticky | undefined;
|
|
390
|
+
bordered?: boolean | undefined;
|
|
391
|
+
defaultValue?: RecordType[] | undefined;
|
|
392
|
+
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
393
|
+
'onUpdate:value'?: ((value: RecordType[]) => void) | undefined;
|
|
394
|
+
maxLength?: number | undefined;
|
|
395
|
+
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
394
396
|
dropdownPrefixCls?: string | undefined;
|
|
395
397
|
sortDirections?: SortOrder[] | undefined;
|
|
396
398
|
showSorterTooltip?: boolean | Partial< ExtractPropTypes<{
|
|
@@ -475,8 +477,6 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
475
477
|
rowExpandable?: ((record: RecordType) => boolean) | undefined;
|
|
476
478
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
477
479
|
rowSelection?: TableRowSelection<RecordType> | undefined;
|
|
478
|
-
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
479
|
-
maxLength?: number | undefined;
|
|
480
480
|
formItem?: Partial<Omit<Partial< ExtractPropTypes<{
|
|
481
481
|
htmlFor: StringConstructor;
|
|
482
482
|
prefixCls: StringConstructor;
|
|
@@ -673,10 +673,6 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
673
673
|
pagination?: false | TablePaginationConfig | undefined;
|
|
674
674
|
value?: RecordType[] | undefined;
|
|
675
675
|
name: string;
|
|
676
|
-
'onUpdate:value'?: ((value: RecordType[]) => void) | undefined;
|
|
677
|
-
defaultValue?: RecordType[] | undefined;
|
|
678
|
-
bordered?: boolean | undefined;
|
|
679
|
-
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
680
676
|
tableLayout?: TableLayout | undefined;
|
|
681
677
|
columns?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & {
|
|
682
678
|
children?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & any) | undefined;
|
|
@@ -701,8 +697,14 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
701
697
|
}> | undefined;
|
|
702
698
|
}) => any) | undefined;
|
|
703
699
|
})[] | undefined;
|
|
704
|
-
sticky?: boolean | TableSticky | undefined;
|
|
705
700
|
rowKey?: string | GetRowKey<RecordType> | undefined;
|
|
701
|
+
sticky?: boolean | TableSticky | undefined;
|
|
702
|
+
bordered?: boolean | undefined;
|
|
703
|
+
defaultValue?: RecordType[] | undefined;
|
|
704
|
+
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
705
|
+
'onUpdate:value'?: ((value: RecordType[]) => void) | undefined;
|
|
706
|
+
maxLength?: number | undefined;
|
|
707
|
+
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
706
708
|
dropdownPrefixCls?: string | undefined;
|
|
707
709
|
sortDirections?: SortOrder[] | undefined;
|
|
708
710
|
showSorterTooltip?: boolean | Partial< ExtractPropTypes<{
|
|
@@ -787,8 +789,6 @@ declare const _default: <RecordType = any>(__VLS_props: {
|
|
|
787
789
|
rowExpandable?: ((record: RecordType) => boolean) | undefined;
|
|
788
790
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
789
791
|
rowSelection?: TableRowSelection<RecordType> | undefined;
|
|
790
|
-
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
791
|
-
maxLength?: number | undefined;
|
|
792
792
|
formItem?: Partial<Omit<Partial< ExtractPropTypes<{
|
|
793
793
|
htmlFor: StringConstructor;
|
|
794
794
|
prefixCls: StringConstructor;
|
|
@@ -5,11 +5,11 @@ import { ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, CSSPr
|
|
|
5
5
|
import { SpinSize } from 'ant-design-vue/es/spin/Spin';
|
|
6
6
|
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
7
7
|
import { GetPopupContainer, FilterValue, SorterResult, TableCurrentDataSource, TableLocale, SortOrder, TableRowSelection } from 'ant-design-vue/es/table/interface';
|
|
8
|
-
import { RenderExpandIcon, PanelRender, TableComponents, TransformCellText, TableLayout, TableSticky,
|
|
8
|
+
import { RenderExpandIcon, PanelRender, TableComponents, TransformCellText, TableLayout, GetRowKey, TableSticky, DataIndex, RowClassName, GetComponentProps, ColumnType, Key, ExpandedRowRender } from 'ant-design-vue/es/vc-table/interface';
|
|
9
9
|
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
10
10
|
import { TablePaginationConfig, TableColumnType } from 'ant-design-vue';
|
|
11
11
|
import { EllipsisConfig } from 'ant-design-vue/es/typography/Base';
|
|
12
|
-
import { ValueEnum } from '
|
|
12
|
+
import { ValueEnum } from 'src';
|
|
13
13
|
import { TriggerType } from 'ant-design-vue/es/tooltip/abstractTooltipProps';
|
|
14
14
|
import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
|
|
15
15
|
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
@@ -17,7 +17,7 @@ import { PresetColorType } from 'ant-design-vue/es/_util/colors';
|
|
|
17
17
|
import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
|
|
18
18
|
import { UnwrapRefSimple } from '@vue/reactivity';
|
|
19
19
|
|
|
20
|
-
declare const _default: <RecordType extends Recordable
|
|
20
|
+
declare const _default: <RecordType extends Recordable = any>(__VLS_props: {
|
|
21
21
|
loading?: boolean | Partial< ExtractPropTypes<{
|
|
22
22
|
prefixCls: StringConstructor;
|
|
23
23
|
spinning: {
|
|
@@ -51,10 +51,6 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
51
51
|
pagination?: false | TablePaginationConfig | undefined;
|
|
52
52
|
value?: RecordType[] | undefined;
|
|
53
53
|
name?: any;
|
|
54
|
-
'onUpdate:value'?: (((...args: any[]) => any) & ((value: RecordType[]) => void)) | undefined;
|
|
55
|
-
defaultValue?: RecordType[] | undefined;
|
|
56
|
-
bordered?: boolean | undefined;
|
|
57
|
-
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
58
54
|
tableLayout?: TableLayout | undefined;
|
|
59
55
|
columns?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & {
|
|
60
56
|
children?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & any) | undefined;
|
|
@@ -79,8 +75,14 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
79
75
|
}> | undefined;
|
|
80
76
|
}) => any) | undefined;
|
|
81
77
|
})[] | undefined;
|
|
82
|
-
sticky?: boolean | TableSticky | undefined;
|
|
83
78
|
rowKey?: string | GetRowKey<RecordType> | undefined;
|
|
79
|
+
sticky?: boolean | TableSticky | undefined;
|
|
80
|
+
bordered?: boolean | undefined;
|
|
81
|
+
defaultValue?: RecordType[] | undefined;
|
|
82
|
+
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
83
|
+
'onUpdate:value'?: (((...args: any[]) => any) & ((value: RecordType[]) => void)) | undefined;
|
|
84
|
+
maxLength?: number | undefined;
|
|
85
|
+
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
84
86
|
dropdownPrefixCls?: string | undefined;
|
|
85
87
|
sortDirections?: SortOrder[] | undefined;
|
|
86
88
|
showSorterTooltip?: boolean | Partial< ExtractPropTypes<{
|
|
@@ -165,8 +167,6 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
165
167
|
rowExpandable?: ((record: RecordType) => boolean) | undefined;
|
|
166
168
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
167
169
|
rowSelection?: TableRowSelection<RecordType> | undefined;
|
|
168
|
-
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
169
|
-
maxLength?: number | undefined;
|
|
170
170
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: {
|
|
171
171
|
attrs: any;
|
|
172
172
|
slots: Readonly<{
|
|
@@ -204,7 +204,7 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
204
204
|
} | undefined, __VLS_expose?: ((exposed: ShallowUnwrapRef<{
|
|
205
205
|
resetFields: () => void;
|
|
206
206
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
207
|
-
add: (defaultValue?: Partial<RecordType
|
|
207
|
+
add: (defaultValue?: Partial<RecordType>, insertIndex?: number) => void;
|
|
208
208
|
remove: (index: number | number[]) => void;
|
|
209
209
|
getRowData: (index: number) => UnwrapRefSimple<RecordType>;
|
|
210
210
|
getRowsData: () => UnwrapRefSimple<RecordType>[];
|
|
@@ -245,10 +245,6 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
245
245
|
pagination?: false | TablePaginationConfig | undefined;
|
|
246
246
|
value?: RecordType[] | undefined;
|
|
247
247
|
name?: any;
|
|
248
|
-
'onUpdate:value'?: (((...args: any[]) => any) & ((value: RecordType[]) => void)) | undefined;
|
|
249
|
-
defaultValue?: RecordType[] | undefined;
|
|
250
|
-
bordered?: boolean | undefined;
|
|
251
|
-
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
252
248
|
tableLayout?: TableLayout | undefined;
|
|
253
249
|
columns?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & {
|
|
254
250
|
children?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & any) | undefined;
|
|
@@ -273,8 +269,14 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
273
269
|
}> | undefined;
|
|
274
270
|
}) => any) | undefined;
|
|
275
271
|
})[] | undefined;
|
|
276
|
-
sticky?: boolean | TableSticky | undefined;
|
|
277
272
|
rowKey?: string | GetRowKey<RecordType> | undefined;
|
|
273
|
+
sticky?: boolean | TableSticky | undefined;
|
|
274
|
+
bordered?: boolean | undefined;
|
|
275
|
+
defaultValue?: RecordType[] | undefined;
|
|
276
|
+
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
277
|
+
'onUpdate:value'?: (((...args: any[]) => any) & ((value: RecordType[]) => void)) | undefined;
|
|
278
|
+
maxLength?: number | undefined;
|
|
279
|
+
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
278
280
|
dropdownPrefixCls?: string | undefined;
|
|
279
281
|
sortDirections?: SortOrder[] | undefined;
|
|
280
282
|
showSorterTooltip?: boolean | Partial< ExtractPropTypes<{
|
|
@@ -359,13 +361,11 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
359
361
|
rowExpandable?: ((record: RecordType) => boolean) | undefined;
|
|
360
362
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
361
363
|
rowSelection?: TableRowSelection<RecordType> | undefined;
|
|
362
|
-
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
363
|
-
maxLength?: number | undefined;
|
|
364
364
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
365
365
|
expose(exposed: ShallowUnwrapRef<{
|
|
366
366
|
resetFields: () => void;
|
|
367
367
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
368
|
-
add: (defaultValue?: Partial<RecordType
|
|
368
|
+
add: (defaultValue?: Partial<RecordType>, insertIndex?: number) => void;
|
|
369
369
|
remove: (index: number | number[]) => void;
|
|
370
370
|
getRowData: (index: number) => UnwrapRefSimple<RecordType>;
|
|
371
371
|
getRowsData: () => UnwrapRefSimple<RecordType>[];
|
|
@@ -443,10 +443,6 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
443
443
|
pagination?: false | TablePaginationConfig | undefined;
|
|
444
444
|
value?: RecordType[] | undefined;
|
|
445
445
|
name?: any;
|
|
446
|
-
'onUpdate:value'?: (((...args: any[]) => any) & ((value: RecordType[]) => void)) | undefined;
|
|
447
|
-
defaultValue?: RecordType[] | undefined;
|
|
448
|
-
bordered?: boolean | undefined;
|
|
449
|
-
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
450
446
|
tableLayout?: TableLayout | undefined;
|
|
451
447
|
columns?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & {
|
|
452
448
|
children?: (Omit< TableColumnType<RecordType>, "children" | "ellipsis" | "customRender"> & any) | undefined;
|
|
@@ -471,8 +467,14 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
471
467
|
}> | undefined;
|
|
472
468
|
}) => any) | undefined;
|
|
473
469
|
})[] | undefined;
|
|
474
|
-
sticky?: boolean | TableSticky | undefined;
|
|
475
470
|
rowKey?: string | GetRowKey<RecordType> | undefined;
|
|
471
|
+
sticky?: boolean | TableSticky | undefined;
|
|
472
|
+
bordered?: boolean | undefined;
|
|
473
|
+
defaultValue?: RecordType[] | undefined;
|
|
474
|
+
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
475
|
+
'onUpdate:value'?: (((...args: any[]) => any) & ((value: RecordType[]) => void)) | undefined;
|
|
476
|
+
maxLength?: number | undefined;
|
|
477
|
+
onExpand?: ((expanded: boolean, record: RecordType) => void) | undefined;
|
|
476
478
|
dropdownPrefixCls?: string | undefined;
|
|
477
479
|
sortDirections?: SortOrder[] | undefined;
|
|
478
480
|
showSorterTooltip?: boolean | Partial< ExtractPropTypes<{
|
|
@@ -557,13 +559,11 @@ declare const _default: <RecordType extends Recordable<any> = any>(__VLS_props:
|
|
|
557
559
|
rowExpandable?: ((record: RecordType) => boolean) | undefined;
|
|
558
560
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
559
561
|
rowSelection?: TableRowSelection<RecordType> | undefined;
|
|
560
|
-
onFieldChange?: ((rowIndex: number, fieldName: DataIndex, newValue: any) => void) | undefined;
|
|
561
|
-
maxLength?: number | undefined;
|
|
562
562
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
563
563
|
expose(exposed: ShallowUnwrapRef<{
|
|
564
564
|
resetFields: () => void;
|
|
565
565
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
566
|
-
add: (defaultValue?: Partial<RecordType
|
|
566
|
+
add: (defaultValue?: Partial<RecordType>, insertIndex?: number) => void;
|
|
567
567
|
remove: (index: number | number[]) => void;
|
|
568
568
|
getRowData: (index: number) => UnwrapRefSimple<RecordType>;
|
|
569
569
|
getRowsData: () => UnwrapRefSimple<RecordType>[];
|
package/lib/src/icon/index.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export declare const Icon: {
|
|
|
104
104
|
size: string | number;
|
|
105
105
|
prefix: string;
|
|
106
106
|
spin: boolean;
|
|
107
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin
|
|
107
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
108
108
|
$props: {
|
|
109
109
|
onClick?: (() => void) | undefined;
|
|
110
110
|
};
|
|
@@ -201,7 +201,7 @@ export declare const SvgIcon: {
|
|
|
201
201
|
size: string | number;
|
|
202
202
|
prefix: string;
|
|
203
203
|
spin: boolean;
|
|
204
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin
|
|
204
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
205
205
|
$props: {
|
|
206
206
|
onClick?: (() => void) | undefined;
|
|
207
207
|
};
|
|
@@ -182,7 +182,7 @@ export declare const IconPicker: {
|
|
|
182
182
|
readonly: boolean;
|
|
183
183
|
allowClear: boolean;
|
|
184
184
|
pageSize: number;
|
|
185
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin
|
|
185
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
186
186
|
$props: {
|
|
187
187
|
onClick?: (() => void) | undefined;
|
|
188
188
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
2
2
|
import { DefineComponent, PropType, VNodeChild, VNode, RendererNode, RendererElement, CSSProperties, ExtractPropTypes, ComponentOptionsMixin, PublicProps } from 'vue';
|
|
3
|
-
import { ModalWrapperProps } from '
|
|
3
|
+
import { ModalWrapperProps } from 'src';
|
|
4
4
|
import { ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
5
5
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
6
6
|
import { MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, PropType, VNodeChild, VNode, RendererNode, RendererElement, CSSProperties, ExtractPropTypes, ComponentOptionsMixin, PublicProps } from 'vue';
|
|
2
|
-
import { ModalWrapperProps } from '
|
|
2
|
+
import { ModalWrapperProps } from 'src';
|
|
3
3
|
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
4
4
|
import { ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
5
5
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
package/lib/src/modal/index.d.ts
CHANGED
|
@@ -953,7 +953,7 @@ export declare const BaseModal: {
|
|
|
953
953
|
$slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
954
954
|
default?(_: {}): any;
|
|
955
955
|
};
|
|
956
|
-
}) & Plugin
|
|
956
|
+
}) & Plugin & (new (...args: any[]) => {
|
|
957
957
|
$props: {
|
|
958
958
|
onClick?: (() => void) | undefined;
|
|
959
959
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Component
|
|
1
|
+
import { Component } from 'vue';
|
|
2
2
|
import { ComponentType } from './types';
|
|
3
3
|
|
|
4
|
-
declare const componentMap: Map<string, Component
|
|
4
|
+
declare const componentMap: Map<string, Component>;
|
|
5
5
|
export declare function add<T extends string, R extends Component>(compName: ComponentType | T, component: R): void;
|
|
6
6
|
export declare function del<T extends string>(compName: ComponentType | T): void;
|
|
7
7
|
export { componentMap };
|
|
@@ -21,8 +21,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
21
21
|
immediate: boolean;
|
|
22
22
|
}>>> & {
|
|
23
23
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
25
24
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
immediate: boolean;
|
|
28
28
|
params: string | Record<string, any>;
|
|
@@ -37,8 +37,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
37
37
|
options: () => never[];
|
|
38
38
|
}>>> & {
|
|
39
39
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
41
40
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
immediate: boolean;
|
|
44
44
|
options: ApiSelectOption[];
|
|
@@ -28,12 +28,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
28
28
|
}, {
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
immediate: boolean;
|
|
31
|
+
showSearch: boolean;
|
|
32
|
+
showSelectAll: boolean;
|
|
31
33
|
resultField: string;
|
|
32
34
|
labelField: string;
|
|
33
35
|
valueField: string;
|
|
34
36
|
alwaysLoad: boolean;
|
|
35
|
-
showSearch: boolean;
|
|
36
|
-
showSelectAll: boolean;
|
|
37
37
|
}, {}>;
|
|
38
38
|
export default _default;
|
|
39
39
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -14,8 +14,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
14
14
|
resultField: string;
|
|
15
15
|
}>>> & {
|
|
16
16
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
18
17
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
immediate: boolean;
|
|
21
21
|
resultField: string;
|
|
@@ -13,6 +13,6 @@ interface UseAdvancedContext {
|
|
|
13
13
|
}
|
|
14
14
|
export default function ({ advanceState, emit, getProps, getSchema, formModel, defaultValueRef }: UseAdvancedContext): {
|
|
15
15
|
handleToggleAdvanced: () => void;
|
|
16
|
-
fieldsIsAdvancedMap: ShallowReactive<Recordable
|
|
16
|
+
fieldsIsAdvancedMap: ShallowReactive<Recordable>;
|
|
17
17
|
};
|
|
18
18
|
export {};
|
|
@@ -9,7 +9,7 @@ interface UseFormValuesContext {
|
|
|
9
9
|
formModel: Recordable;
|
|
10
10
|
}
|
|
11
11
|
export declare function useFormValues({ defaultValueRef, getSchema, formModel, getProps }: UseFormValuesContext): {
|
|
12
|
-
handleFormValues: (values: Recordable) => Recordable
|
|
12
|
+
handleFormValues: (values: Recordable) => Recordable;
|
|
13
13
|
initDefault: () => void;
|
|
14
14
|
};
|
|
15
15
|
export {};
|