@aplus-frontend/ui 0.0.1-beta.0 → 0.0.1-beta.2
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/base-button/button.vue.d.ts +5 -5
- package/es/src/base-button/index.d.ts +45 -40
- package/es/src/base-button/modal-button.vue.d.ts +8 -6
- package/es/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/es/src/basic/arrow.vue.d.ts +4 -3
- package/es/src/basic/help.vue.d.ts +5 -5
- package/es/src/basic/index.d.ts +196 -70
- package/es/src/basic/title.vue.d.ts +5 -4
- package/es/src/button/index.d.ts +20 -15
- package/es/src/config-provider/config-provider-props.d.ts +21 -15
- package/es/src/config-provider/config-provider.d.ts +78 -67
- package/es/src/config-provider/hooks/use-global-config.d.ts +41 -32
- package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/es/src/config-provider/index.d.ts +504 -155
- package/es/src/constants/component-setting.d.ts +2 -2
- package/es/src/container/collapse/header.vue.d.ts +3 -3
- package/es/src/container/collapse/index.vue.d.ts +3 -3
- package/es/src/container/index.d.ts +118 -37
- package/es/src/container/scroll-container.vue.d.ts +5 -4
- package/es/src/count-down/button.vue.d.ts +5 -4
- package/es/src/count-down/index.d.ts +88 -41
- package/es/src/count-down/input.vue.d.ts +5 -4
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/es/src/cropper/cropper-image.vue.d.ts +6 -6
- package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +307 -92
- package/es/src/description/description.vue.d.ts +3 -3
- package/es/src/description/index.d.ts +167 -46
- package/es/src/dropdown/dropdown.vue.d.ts +6 -5
- package/es/src/dropdown/index.d.ts +35 -28
- package/es/src/hooks/useMessage.d.ts +9 -7
- package/es/src/icon/icon.vue.d.ts +5 -4
- package/es/src/icon/index.d.ts +175 -52
- package/es/src/icon/svg-icon.vue.d.ts +5 -4
- package/es/src/icon-picker/icon-picker.vue.d.ts +6 -5
- package/es/src/icon-picker/index.d.ts +155 -46
- package/es/src/modal/basic.vue.d.ts +68 -62
- package/es/src/modal/components/modal-close.vue.d.ts +6 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +67 -62
- package/es/src/modal/components/modal-header.vue.d.ts +4 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +4 -3
- package/es/src/modal/components/modal.d.ts +67 -61
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/es/src/modal/index.d.ts +138 -128
- package/es/src/modal/props.d.ts +19 -16
- package/es/src/pro-form/component-map.d.ts +2 -2
- package/es/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-select.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree.vue.d.ts +6 -5
- package/es/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/es/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/es/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/es/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/es/src/pro-form/hooks/use-label-width.d.ts +42 -41
- package/es/src/pro-form/pro-form.vue.d.ts +15 -12
- package/es/src/pro-table/component-map.d.ts +2 -2
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/es/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/es/src/pro-table/components/editable/index.d.ts +2 -2
- package/es/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/es/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/es/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/es/src/pro-table/pro-table.vue.d.ts +42 -36
- package/es/src/prompt/dialog.vue.d.ts +4 -3
- package/es/src/prompt/index.d.ts +2 -2
- package/es/src/scroll-bar/bar-item.d.ts +4 -3
- package/es/src/scroll-bar/index.d.ts +52 -46
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -6
- package/es/src/strength-meter/index.d.ts +26 -21
- package/es/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/es/src/transition/collapse-transition.vue.d.ts +2 -1
- package/es/src/transition/create-transition.d.ts +5 -5
- package/es/src/transition/index.d.ts +97 -96
- package/es/src/utils/slot.d.ts +2 -2
- package/lib/src/base-button/button.vue.d.ts +5 -5
- package/lib/src/base-button/index.d.ts +45 -40
- package/lib/src/base-button/modal-button.vue.d.ts +8 -6
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/lib/src/basic/arrow.vue.d.ts +4 -3
- package/lib/src/basic/help.vue.d.ts +5 -5
- package/lib/src/basic/index.d.ts +196 -70
- package/lib/src/basic/title.vue.d.ts +5 -4
- package/lib/src/button/index.d.ts +20 -15
- package/lib/src/config-provider/config-provider-props.d.ts +21 -15
- package/lib/src/config-provider/config-provider.d.ts +78 -67
- package/lib/src/config-provider/hooks/use-global-config.d.ts +41 -32
- package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/lib/src/config-provider/index.d.ts +504 -155
- package/lib/src/constants/component-setting.d.ts +2 -2
- package/lib/src/container/collapse/header.vue.d.ts +3 -3
- package/lib/src/container/collapse/index.vue.d.ts +3 -3
- package/lib/src/container/index.d.ts +118 -37
- package/lib/src/container/scroll-container.vue.d.ts +5 -4
- package/lib/src/count-down/button.vue.d.ts +5 -4
- package/lib/src/count-down/index.d.ts +88 -41
- package/lib/src/count-down/input.vue.d.ts +5 -4
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/lib/src/cropper/cropper-image.vue.d.ts +6 -6
- package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +307 -92
- package/lib/src/description/description.vue.d.ts +3 -3
- package/lib/src/description/index.d.ts +167 -46
- package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
- package/lib/src/dropdown/index.d.ts +35 -28
- package/lib/src/hooks/useMessage.d.ts +9 -7
- package/lib/src/icon/icon.vue.d.ts +5 -4
- package/lib/src/icon/index.d.ts +175 -52
- package/lib/src/icon/svg-icon.vue.d.ts +5 -4
- package/lib/src/icon-picker/icon-picker.vue.d.ts +6 -5
- package/lib/src/icon-picker/index.d.ts +155 -46
- package/lib/src/modal/basic.vue.d.ts +68 -62
- package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +67 -62
- package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +4 -3
- package/lib/src/modal/components/modal.d.ts +67 -61
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/lib/src/modal/index.d.ts +138 -128
- package/lib/src/modal/props.d.ts +19 -16
- package/lib/src/pro-form/component-map.d.ts +2 -2
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-select.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree.vue.d.ts +6 -5
- package/lib/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/lib/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/lib/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/lib/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/lib/src/pro-form/hooks/use-label-width.d.ts +42 -41
- package/lib/src/pro-form/pro-form.vue.d.ts +15 -12
- package/lib/src/pro-table/component-map.d.ts +2 -2
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/lib/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/lib/src/pro-table/components/editable/index.d.ts +2 -2
- package/lib/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/lib/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/lib/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +42 -36
- package/lib/src/prompt/dialog.vue.d.ts +4 -3
- package/lib/src/prompt/index.d.ts +2 -2
- package/lib/src/scroll-bar/bar-item.d.ts +4 -3
- package/lib/src/scroll-bar/index.d.ts +52 -46
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -6
- package/lib/src/strength-meter/index.d.ts +26 -21
- package/lib/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -1
- package/lib/src/transition/create-transition.d.ts +5 -5
- package/lib/src/transition/index.d.ts +97 -96
- package/lib/src/utils/slot.d.ts +2 -2
- package/package.json +3 -3
package/es/src/modal/props.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { PropType, CSSProperties, VNodeChild, VNode } from 'vue';
|
|
1
|
+
import { PropType, CSSProperties, VNodeChild, VNode, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ModalWrapperProps } from './interface';
|
|
3
|
-
import { ButtonType } from 'ant-design-vue/es/button';
|
|
3
|
+
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
4
|
+
import { ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
5
|
+
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
6
|
+
import { MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
4
7
|
|
|
5
8
|
type VueNode = VNodeChild | VNode;
|
|
6
9
|
export declare const modalProps: {
|
|
@@ -130,18 +133,18 @@ export declare const basicProps: {
|
|
|
130
133
|
type: PropType<"danger" | ButtonType>;
|
|
131
134
|
default: string;
|
|
132
135
|
};
|
|
133
|
-
okButtonProps: PropType<Partial<
|
|
136
|
+
okButtonProps: PropType<Partial< ExtractPropTypes<{
|
|
134
137
|
prefixCls: StringConstructor;
|
|
135
138
|
type: PropType<ButtonType>;
|
|
136
139
|
htmlType: {
|
|
137
|
-
type: PropType<
|
|
140
|
+
type: PropType< ButtonHTMLType>;
|
|
138
141
|
default: string;
|
|
139
142
|
};
|
|
140
143
|
shape: {
|
|
141
|
-
type: PropType<
|
|
144
|
+
type: PropType< ButtonShape>;
|
|
142
145
|
};
|
|
143
146
|
size: {
|
|
144
|
-
type: PropType<
|
|
147
|
+
type: PropType< ButtonSize>;
|
|
145
148
|
};
|
|
146
149
|
loading: {
|
|
147
150
|
type: PropType<boolean | {
|
|
@@ -167,29 +170,29 @@ export declare const basicProps: {
|
|
|
167
170
|
type: BooleanConstructor;
|
|
168
171
|
default: any;
|
|
169
172
|
};
|
|
170
|
-
icon:
|
|
173
|
+
icon: VueTypeValidableDef<any>;
|
|
171
174
|
href: StringConstructor;
|
|
172
175
|
target: StringConstructor;
|
|
173
176
|
title: StringConstructor;
|
|
174
177
|
onClick: {
|
|
175
|
-
type: PropType<
|
|
178
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
176
179
|
};
|
|
177
180
|
onMousedown: {
|
|
178
|
-
type: PropType<
|
|
181
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
179
182
|
};
|
|
180
183
|
}>>>;
|
|
181
|
-
cancelButtonProps: PropType<Partial<
|
|
184
|
+
cancelButtonProps: PropType<Partial< ExtractPropTypes<{
|
|
182
185
|
prefixCls: StringConstructor;
|
|
183
186
|
type: PropType<ButtonType>;
|
|
184
187
|
htmlType: {
|
|
185
|
-
type: PropType<
|
|
188
|
+
type: PropType< ButtonHTMLType>;
|
|
186
189
|
default: string;
|
|
187
190
|
};
|
|
188
191
|
shape: {
|
|
189
|
-
type: PropType<
|
|
192
|
+
type: PropType< ButtonShape>;
|
|
190
193
|
};
|
|
191
194
|
size: {
|
|
192
|
-
type: PropType<
|
|
195
|
+
type: PropType< ButtonSize>;
|
|
193
196
|
};
|
|
194
197
|
loading: {
|
|
195
198
|
type: PropType<boolean | {
|
|
@@ -215,15 +218,15 @@ export declare const basicProps: {
|
|
|
215
218
|
type: BooleanConstructor;
|
|
216
219
|
default: any;
|
|
217
220
|
};
|
|
218
|
-
icon:
|
|
221
|
+
icon: VueTypeValidableDef<any>;
|
|
219
222
|
href: StringConstructor;
|
|
220
223
|
target: StringConstructor;
|
|
221
224
|
title: StringConstructor;
|
|
222
225
|
onClick: {
|
|
223
|
-
type: PropType<
|
|
226
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
224
227
|
};
|
|
225
228
|
onMousedown: {
|
|
226
|
-
type: PropType<
|
|
229
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
227
230
|
};
|
|
228
231
|
}>>>;
|
|
229
232
|
title: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Component } from 'vue';
|
|
1
|
+
import { Component, ComputedOptions, MethodOptions } from 'vue';
|
|
2
2
|
import { ComponentType } from './types';
|
|
3
3
|
|
|
4
|
-
declare const componentMap: Map<string, Component<any, any, any,
|
|
4
|
+
declare const componentMap: Map<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>>;
|
|
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 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiCascaderProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiCascaderProps>, {
|
|
4
5
|
resultField: string;
|
|
5
6
|
labelField: string;
|
|
6
7
|
valueField: string;
|
|
@@ -8,10 +9,10 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
8
9
|
apiParamKey: string;
|
|
9
10
|
immediate: boolean;
|
|
10
11
|
initFetchParams: () => {};
|
|
11
|
-
}>, {}, unknown, {}, {},
|
|
12
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
13
|
change: (...args: any[]) => void;
|
|
13
14
|
defaultChange: (...args: any[]) => void;
|
|
14
|
-
}, string,
|
|
15
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiCascaderProps>, {
|
|
15
16
|
resultField: string;
|
|
16
17
|
labelField: string;
|
|
17
18
|
valueField: string;
|
|
@@ -35,9 +36,9 @@ export default _default;
|
|
|
35
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
37
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
38
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type:
|
|
39
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
40
|
} : {
|
|
40
|
-
type:
|
|
41
|
+
type: PropType<T[K]>;
|
|
41
42
|
required: true;
|
|
42
43
|
};
|
|
43
44
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { ApiRadioGroupProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiRadioGroupProps>, {
|
|
4
5
|
params: () => {};
|
|
5
6
|
isBtn: boolean;
|
|
6
7
|
resultField: string;
|
|
7
8
|
labelField: string;
|
|
8
9
|
valueField: string;
|
|
9
10
|
immediate: boolean;
|
|
10
|
-
}>, {}, unknown, {}, {},
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
12
|
change: (...args: any[]) => void;
|
|
12
13
|
"options-change": (...args: any[]) => void;
|
|
13
14
|
"update:value": (...args: any[]) => void;
|
|
14
|
-
}, string,
|
|
15
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiRadioGroupProps>, {
|
|
15
16
|
params: () => {};
|
|
16
17
|
isBtn: boolean;
|
|
17
18
|
resultField: string;
|
|
@@ -34,9 +35,9 @@ export default _default;
|
|
|
34
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
36
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
37
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type:
|
|
38
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
39
|
} : {
|
|
39
|
-
type:
|
|
40
|
+
type: PropType<T[K]>;
|
|
40
41
|
required: true;
|
|
41
42
|
};
|
|
42
43
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiSelectProps, ApiSelectOption } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
4
|
type SelectSlotsType = {
|
|
4
5
|
notFoundContent: any;
|
|
@@ -14,7 +15,7 @@ type SelectSlotsType = {
|
|
|
14
15
|
optionLabel: any;
|
|
15
16
|
default: any;
|
|
16
17
|
};
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiSelectProps>, {
|
|
18
19
|
params: () => {};
|
|
19
20
|
resultField: string;
|
|
20
21
|
labelField: string;
|
|
@@ -22,11 +23,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
22
23
|
immediate: boolean;
|
|
23
24
|
alwaysLoad: boolean;
|
|
24
25
|
options: () => never[];
|
|
25
|
-
}>, {}, unknown, {}, {},
|
|
26
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
27
|
change: (...args: any[]) => void;
|
|
27
28
|
"options-change": (...args: any[]) => void;
|
|
28
29
|
"update:value": (...args: any[]) => void;
|
|
29
|
-
}, string,
|
|
30
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiSelectProps>, {
|
|
30
31
|
params: () => {};
|
|
31
32
|
resultField: string;
|
|
32
33
|
labelField: string;
|
|
@@ -51,9 +52,9 @@ export default _default;
|
|
|
51
52
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
53
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
54
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type:
|
|
55
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
56
|
} : {
|
|
56
|
-
type:
|
|
57
|
+
type: PropType<T[K]>;
|
|
57
58
|
required: true;
|
|
58
59
|
};
|
|
59
60
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiTransferProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiTransferProps>, {
|
|
4
5
|
resultField: string;
|
|
5
6
|
immediate: boolean;
|
|
6
7
|
alwaysLoad: boolean;
|
|
@@ -9,10 +10,10 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
10
|
showSearch: boolean;
|
|
10
11
|
disabled: boolean;
|
|
11
12
|
showSelectAll: boolean;
|
|
12
|
-
}>, {}, unknown, {}, {},
|
|
13
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
14
|
change: (...args: any[]) => void;
|
|
14
15
|
"options-change": (...args: any[]) => void;
|
|
15
|
-
}, string,
|
|
16
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiTransferProps>, {
|
|
16
17
|
resultField: string;
|
|
17
18
|
immediate: boolean;
|
|
18
19
|
alwaysLoad: boolean;
|
|
@@ -38,9 +39,9 @@ export default _default;
|
|
|
38
39
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
40
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
41
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
-
type:
|
|
42
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
43
|
} : {
|
|
43
|
-
type:
|
|
44
|
+
type: PropType<T[K]>;
|
|
44
45
|
required: true;
|
|
45
46
|
};
|
|
46
47
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { ApiTreeSelectProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
4
|
type AntdTreeSelectSlotNames = 'title' | 'titleRender' | 'placeholder' | 'maxTagPlaceholder' | 'treeIcon' | 'switcherIcon' | 'notFoundContent' | 'default' | 'leafIcon' | 'tagRender' | 'suffixIcon';
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiTreeSelectProps>, {
|
|
5
6
|
immediate: boolean;
|
|
6
7
|
async: boolean;
|
|
7
8
|
resultField: string;
|
|
8
9
|
labelField: string;
|
|
9
10
|
valueField: string;
|
|
10
11
|
childrenField: string;
|
|
11
|
-
}>, {}, unknown, {}, {},
|
|
12
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
13
|
change: (...args: any[]) => void;
|
|
13
14
|
"options-change": (...args: any[]) => void;
|
|
14
15
|
"load-data": (...args: any[]) => void;
|
|
15
|
-
}, string,
|
|
16
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiTreeSelectProps>, {
|
|
16
17
|
immediate: boolean;
|
|
17
18
|
async: boolean;
|
|
18
19
|
resultField: string;
|
|
@@ -35,9 +36,9 @@ export default _default;
|
|
|
35
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
37
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
38
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type:
|
|
39
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
40
|
} : {
|
|
40
|
-
type:
|
|
41
|
+
type: PropType<T[K]>;
|
|
41
42
|
required: true;
|
|
42
43
|
};
|
|
43
44
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ApiTreeProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
4
|
type AntdTreeSlotNames = 'icon' | 'title' | 'switcherIcon' | 'titleRender' | 'default' | 'leafIcon';
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiTreeProps>, {
|
|
5
6
|
immediate: boolean;
|
|
6
7
|
resultField: string;
|
|
7
|
-
}>, {}, unknown, {}, {},
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
9
|
change: (...args: any[]) => void;
|
|
9
10
|
"options-change": (...args: any[]) => void;
|
|
10
11
|
"update:value": (...args: any[]) => void;
|
|
11
|
-
}, string,
|
|
12
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApiTreeProps>, {
|
|
12
13
|
immediate: boolean;
|
|
13
14
|
resultField: string;
|
|
14
15
|
}>>> & {
|
|
@@ -23,9 +24,9 @@ export default _default;
|
|
|
23
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
25
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
26
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type:
|
|
27
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
28
|
} : {
|
|
28
|
-
type:
|
|
29
|
+
type: PropType<T[K]>;
|
|
29
30
|
required: true;
|
|
30
31
|
};
|
|
31
32
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ColEx } from '../types';
|
|
2
2
|
import { ButtonProps } from '../../base-button';
|
|
3
3
|
import { FormActionProps } from './interface';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
5
|
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormActionProps>, {
|
|
6
7
|
showActionButtonGroup: boolean;
|
|
7
8
|
showResetButton: boolean;
|
|
8
9
|
showSubmitButton: boolean;
|
|
@@ -10,9 +11,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
10
11
|
resetButtonOptions: () => {};
|
|
11
12
|
actionColOptions: () => {};
|
|
12
13
|
actionSpan: number;
|
|
13
|
-
}>, {}, unknown, {}, {},
|
|
14
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
15
|
"toggle-advanced": (...args: any[]) => void;
|
|
15
|
-
}, string,
|
|
16
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormActionProps>, {
|
|
16
17
|
showActionButtonGroup: boolean;
|
|
17
18
|
showResetButton: boolean;
|
|
18
19
|
showSubmitButton: boolean;
|
|
@@ -40,9 +41,9 @@ export default _default;
|
|
|
40
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
42
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
43
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
-
type:
|
|
44
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
45
|
} : {
|
|
45
|
-
type:
|
|
46
|
+
type: PropType<T[K]>;
|
|
46
47
|
required: true;
|
|
47
48
|
};
|
|
48
49
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { FormActionType, ProFormProps, FormSchemaInner as FormSchema } from '../types/form';
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
4
|
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: DefineComponent<{
|
|
6
6
|
schema: {
|
|
7
7
|
type: PropType<FormSchema>;
|
|
8
8
|
default: () => {};
|
|
@@ -32,7 +32,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
32
32
|
isAdvanced: {
|
|
33
33
|
type: BooleanConstructor;
|
|
34
34
|
};
|
|
35
|
-
}, () => false | import("vue/jsx-runtime").JSX.Element | null, unknown, {}, {},
|
|
35
|
+
}, () => false | import("vue/jsx-runtime").JSX.Element | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
36
36
|
schema: {
|
|
37
37
|
type: PropType<FormSchema>;
|
|
38
38
|
default: () => {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { RadioButtonGroupProps, RadioButtonOptionsItem } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RadioButtonGroupProps>, {
|
|
4
5
|
options: () => never[];
|
|
5
|
-
}>, {}, unknown, {}, {},
|
|
6
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RadioButtonGroupProps>, {
|
|
6
7
|
options: () => never[];
|
|
7
8
|
}>>>, {
|
|
8
9
|
options: (string | RadioButtonOptionsItem)[];
|
|
@@ -11,9 +12,9 @@ export default _default;
|
|
|
11
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
13
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
14
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type:
|
|
15
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
16
|
} : {
|
|
16
|
-
type:
|
|
17
|
+
type: PropType<T[K]>;
|
|
17
18
|
required: true;
|
|
18
19
|
};
|
|
19
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AdvanceState } from '../types';
|
|
2
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { ComputedRef, Ref, ShallowReactive } from 'vue';
|
|
3
3
|
import { ProFormProps, FormSchemaInner as FormSchema } from '../types/form';
|
|
4
4
|
import { EmitType, Recordable } from '../../type';
|
|
5
5
|
|
|
@@ -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:
|
|
16
|
+
fieldsIsAdvancedMap: ShallowReactive<Recordable<any>>;
|
|
17
17
|
};
|
|
18
18
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
1
2
|
export declare enum SizeEnum {
|
|
2
3
|
XS = "XS",
|
|
3
4
|
SM = "SM",
|
|
@@ -17,7 +18,7 @@ export declare enum ScreenEnum {
|
|
|
17
18
|
declare const screenMap: Map<SizeEnum, number>;
|
|
18
19
|
export { screenMap };
|
|
19
20
|
export declare function useBreakpoint(): {
|
|
20
|
-
screenRef:
|
|
21
|
-
widthRef:
|
|
22
|
-
realWidthRef:
|
|
21
|
+
screenRef: ComputedRef<SizeEnum | undefined>;
|
|
22
|
+
widthRef: ComputedRef<number | undefined>;
|
|
23
|
+
realWidthRef: Ref<number>;
|
|
23
24
|
};
|
|
@@ -1,69 +1,70 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
1
|
+
import { Ref, ComputedRef, ExtractPropTypes, PropType, HTMLAttributes } from 'vue';
|
|
2
2
|
import { ProFormProps, FormSchemaInner as FormSchema } from '../types/form';
|
|
3
|
+
import { ColSize } from 'ant-design-vue/lib/grid/Col';
|
|
3
4
|
|
|
4
|
-
export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<ProFormProps>):
|
|
5
|
-
labelCol: Partial<
|
|
5
|
+
export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<ProFormProps>): ComputedRef<{
|
|
6
|
+
labelCol: Partial< ExtractPropTypes<{
|
|
6
7
|
span: (StringConstructor | NumberConstructor)[];
|
|
7
8
|
order: (StringConstructor | NumberConstructor)[];
|
|
8
9
|
offset: (StringConstructor | NumberConstructor)[];
|
|
9
10
|
push: (StringConstructor | NumberConstructor)[];
|
|
10
11
|
pull: (StringConstructor | NumberConstructor)[];
|
|
11
12
|
xs: {
|
|
12
|
-
type:
|
|
13
|
-
default: string | number |
|
|
13
|
+
type: PropType<string | number | ColSize>;
|
|
14
|
+
default: string | number | ColSize;
|
|
14
15
|
};
|
|
15
16
|
sm: {
|
|
16
|
-
type:
|
|
17
|
-
default: string | number |
|
|
17
|
+
type: PropType<string | number | ColSize>;
|
|
18
|
+
default: string | number | ColSize;
|
|
18
19
|
};
|
|
19
20
|
md: {
|
|
20
|
-
type:
|
|
21
|
-
default: string | number |
|
|
21
|
+
type: PropType<string | number | ColSize>;
|
|
22
|
+
default: string | number | ColSize;
|
|
22
23
|
};
|
|
23
24
|
lg: {
|
|
24
|
-
type:
|
|
25
|
-
default: string | number |
|
|
25
|
+
type: PropType<string | number | ColSize>;
|
|
26
|
+
default: string | number | ColSize;
|
|
26
27
|
};
|
|
27
28
|
xl: {
|
|
28
|
-
type:
|
|
29
|
-
default: string | number |
|
|
29
|
+
type: PropType<string | number | ColSize>;
|
|
30
|
+
default: string | number | ColSize;
|
|
30
31
|
};
|
|
31
32
|
xxl: {
|
|
32
|
-
type:
|
|
33
|
-
default: string | number |
|
|
33
|
+
type: PropType<string | number | ColSize>;
|
|
34
|
+
default: string | number | ColSize;
|
|
34
35
|
};
|
|
35
36
|
prefixCls: StringConstructor;
|
|
36
37
|
flex: (StringConstructor | NumberConstructor)[];
|
|
37
|
-
}>> &
|
|
38
|
-
wrapperCol: Partial<
|
|
38
|
+
}>> & HTMLAttributes;
|
|
39
|
+
wrapperCol: Partial< ExtractPropTypes<{
|
|
39
40
|
span: (StringConstructor | NumberConstructor)[];
|
|
40
41
|
order: (StringConstructor | NumberConstructor)[];
|
|
41
42
|
offset: (StringConstructor | NumberConstructor)[];
|
|
42
43
|
push: (StringConstructor | NumberConstructor)[];
|
|
43
44
|
pull: (StringConstructor | NumberConstructor)[];
|
|
44
45
|
xs: {
|
|
45
|
-
type:
|
|
46
|
-
default: string | number |
|
|
46
|
+
type: PropType<string | number | ColSize>;
|
|
47
|
+
default: string | number | ColSize;
|
|
47
48
|
};
|
|
48
49
|
sm: {
|
|
49
|
-
type:
|
|
50
|
-
default: string | number |
|
|
50
|
+
type: PropType<string | number | ColSize>;
|
|
51
|
+
default: string | number | ColSize;
|
|
51
52
|
};
|
|
52
53
|
md: {
|
|
53
|
-
type:
|
|
54
|
-
default: string | number |
|
|
54
|
+
type: PropType<string | number | ColSize>;
|
|
55
|
+
default: string | number | ColSize;
|
|
55
56
|
};
|
|
56
57
|
lg: {
|
|
57
|
-
type:
|
|
58
|
-
default: string | number |
|
|
58
|
+
type: PropType<string | number | ColSize>;
|
|
59
|
+
default: string | number | ColSize;
|
|
59
60
|
};
|
|
60
61
|
xl: {
|
|
61
|
-
type:
|
|
62
|
-
default: string | number |
|
|
62
|
+
type: PropType<string | number | ColSize>;
|
|
63
|
+
default: string | number | ColSize;
|
|
63
64
|
};
|
|
64
65
|
xxl: {
|
|
65
|
-
type:
|
|
66
|
-
default: string | number |
|
|
66
|
+
type: PropType<string | number | ColSize>;
|
|
67
|
+
default: string | number | ColSize;
|
|
67
68
|
};
|
|
68
69
|
prefixCls: StringConstructor;
|
|
69
70
|
flex: (StringConstructor | NumberConstructor)[];
|
|
@@ -73,27 +74,27 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
73
74
|
xxl?: (string | number) | {
|
|
74
75
|
span: string | number;
|
|
75
76
|
offset: string | number;
|
|
76
|
-
} |
|
|
77
|
+
} | ColSize | undefined;
|
|
77
78
|
xl?: (string | number) | {
|
|
78
79
|
span: string | number;
|
|
79
80
|
offset: string | number;
|
|
80
|
-
} |
|
|
81
|
+
} | ColSize | undefined;
|
|
81
82
|
lg?: (string | number) | {
|
|
82
83
|
span: string | number;
|
|
83
84
|
offset: string | number;
|
|
84
|
-
} |
|
|
85
|
+
} | ColSize | undefined;
|
|
85
86
|
md?: (string | number) | {
|
|
86
87
|
span: string | number;
|
|
87
88
|
offset: string | number;
|
|
88
|
-
} |
|
|
89
|
+
} | ColSize | undefined;
|
|
89
90
|
sm?: (string | number) | {
|
|
90
91
|
span: string | number;
|
|
91
92
|
offset: string | number;
|
|
92
|
-
} |
|
|
93
|
+
} | ColSize | undefined;
|
|
93
94
|
xs?: (string | number) | {
|
|
94
95
|
span: string | number;
|
|
95
96
|
offset: string | number;
|
|
96
|
-
} |
|
|
97
|
+
} | ColSize | undefined;
|
|
97
98
|
span?: (string | number) | undefined;
|
|
98
99
|
prefixCls?: string | undefined;
|
|
99
100
|
push?: (string | number) | undefined;
|
|
@@ -278,27 +279,27 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
278
279
|
xxl?: (string | number) | {
|
|
279
280
|
span: string | number;
|
|
280
281
|
offset: string | number;
|
|
281
|
-
} |
|
|
282
|
+
} | ColSize | undefined;
|
|
282
283
|
xl?: (string | number) | {
|
|
283
284
|
span: string | number;
|
|
284
285
|
offset: string | number;
|
|
285
|
-
} |
|
|
286
|
+
} | ColSize | undefined;
|
|
286
287
|
lg?: (string | number) | {
|
|
287
288
|
span: string | number;
|
|
288
289
|
offset: string | number;
|
|
289
|
-
} |
|
|
290
|
+
} | ColSize | undefined;
|
|
290
291
|
md?: (string | number) | {
|
|
291
292
|
span: string | number;
|
|
292
293
|
offset: string | number;
|
|
293
|
-
} |
|
|
294
|
+
} | ColSize | undefined;
|
|
294
295
|
sm?: (string | number) | {
|
|
295
296
|
span: string | number;
|
|
296
297
|
offset: string | number;
|
|
297
|
-
} |
|
|
298
|
+
} | ColSize | undefined;
|
|
298
299
|
xs?: (string | number) | {
|
|
299
300
|
span: string | number;
|
|
300
301
|
offset: string | number;
|
|
301
|
-
} |
|
|
302
|
+
} | ColSize | undefined;
|
|
302
303
|
span?: (string | number) | undefined;
|
|
303
304
|
prefixCls?: string | undefined;
|
|
304
305
|
push?: (string | number) | undefined;
|