@aplus-frontend/ui 0.0.1-beta.1 → 0.0.1-beta.3
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/index.mjs +124 -118
- package/es/src/ap-field/checkbox/helper.d.ts +6 -0
- package/es/src/ap-field/date/constant.d.ts +1 -0
- package/es/src/ap-field/index.d.ts +5 -0
- package/es/src/ap-field/interface.d.ts +29 -0
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +14 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +58 -0
- package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form-item.vue.d.ts +47 -0
- package/es/src/ap-form/ap-form-item.vue.mjs +76 -0
- package/es/src/ap-form/ap-form-item.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form.d.ts +1681 -0
- package/es/src/ap-form/ap-form.mjs +5 -0
- package/es/src/ap-form/constant.d.ts +3 -0
- package/es/src/ap-form/constant.mjs +17 -0
- package/es/src/ap-form/index.d.ts +2593 -0
- package/es/src/ap-form/index.mjs +10 -0
- package/es/src/ap-form/interface.d.ts +7 -0
- package/es/src/ap-form/style/ap-form-item-group.css +9 -0
- package/es/src/base-button/button.vue.d.ts +5 -5
- package/es/src/base-button/index.d.ts +53 -48
- 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 +6 -6
- 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 +28 -16
- package/es/src/config-provider/config-provider-props.mjs +8 -4
- package/es/src/config-provider/config-provider.d.ts +92 -68
- package/es/src/config-provider/constants.d.ts +3 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +47 -32
- package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/es/src/config-provider/index.d.ts +532 -156
- package/es/src/container/collapse/header.vue.d.ts +3 -3
- package/es/src/container/collapse/index.vue.d.ts +4 -4
- package/es/src/container/index.d.ts +119 -38
- 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 +7 -7
- package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +308 -93
- package/es/src/description/description.vue.d.ts +6 -6
- package/es/src/description/index.d.ts +169 -48
- package/es/src/dropdown/dropdown.vue.d.ts +6 -5
- package/es/src/dropdown/index.d.ts +35 -28
- package/es/src/hooks/index.d.ts +1 -0
- package/es/src/hooks/useControllableValue.d.ts +13 -0
- package/es/src/hooks/useControllableValue.mjs +24 -0
- 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 +9 -8
- package/es/src/icon-picker/index.d.ts +160 -51
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +79 -75
- package/es/src/modal/basic.vue.d.ts +70 -64
- package/es/src/modal/components/modal-close.vue.d.ts +6 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +69 -64
- package/es/src/modal/components/modal-header.vue.d.ts +4 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +5 -4
- package/es/src/modal/components/modal.d.ts +69 -63
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/es/src/modal/index.d.ts +144 -134
- 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 +7 -6
- package/es/src/pro-form/components/api-select.vue.d.ts +8 -7
- 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 +7 -6
- 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 +51 -50
- package/es/src/pro-form/pro-form.vue.d.ts +16 -13
- 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/const.d.ts +3 -0
- package/es/src/pro-table/const.mjs +10 -4
- package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/es/src/pro-table/interface.d.ts +4 -0
- package/es/src/pro-table/pro-table.vue.d.ts +45 -36
- package/es/src/pro-table/pro-table.vue.mjs +221 -211
- package/es/src/pro-table/style/pro-table.css +10 -5
- 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 -53
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
- package/es/src/scroll-bar/scroll-bar.vue.mjs +44 -44
- 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/theme/ap-form/ap-form-item-group.css +9 -0
- package/es/src/theme/pro-table/pro-table.css +10 -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/index.js +1 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +6 -0
- package/lib/src/ap-field/date/constant.d.ts +1 -0
- package/lib/src/ap-field/index.d.ts +5 -0
- package/lib/src/ap-field/interface.d.ts +29 -0
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue.d.ts +47 -0
- package/lib/src/ap-form/ap-form-item.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue2.js +1 -0
- package/lib/src/ap-form/ap-form.d.ts +1681 -0
- package/lib/src/ap-form/ap-form.js +1 -0
- package/lib/src/ap-form/constant.d.ts +3 -0
- package/lib/src/ap-form/constant.js +1 -0
- package/lib/src/ap-form/index.d.ts +2593 -0
- package/lib/src/ap-form/index.js +1 -0
- package/lib/src/ap-form/interface.d.ts +7 -0
- package/lib/src/ap-form/style/ap-form-item-group.css +9 -0
- package/lib/src/base-button/button.vue.d.ts +5 -5
- package/lib/src/base-button/index.d.ts +53 -48
- 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 +6 -6
- 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 +28 -16
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +92 -68
- package/lib/src/config-provider/constants.d.ts +3 -0
- package/lib/src/config-provider/hooks/use-global-config.d.ts +47 -32
- package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/lib/src/config-provider/index.d.ts +532 -156
- package/lib/src/container/collapse/header.vue.d.ts +3 -3
- package/lib/src/container/collapse/index.vue.d.ts +4 -4
- package/lib/src/container/index.d.ts +119 -38
- 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 +7 -7
- package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +308 -93
- package/lib/src/description/description.vue.d.ts +6 -6
- package/lib/src/description/index.d.ts +169 -48
- package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
- package/lib/src/dropdown/index.d.ts +35 -28
- package/lib/src/hooks/index.d.ts +1 -0
- package/lib/src/hooks/useControllableValue.d.ts +13 -0
- package/lib/src/hooks/useControllableValue.js +1 -0
- 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 +9 -8
- package/lib/src/icon-picker/index.d.ts +160 -51
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +70 -64
- package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +69 -64
- package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +5 -4
- package/lib/src/modal/components/modal.d.ts +69 -63
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/lib/src/modal/index.d.ts +144 -134
- 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 +7 -6
- package/lib/src/pro-form/components/api-select.vue.d.ts +8 -7
- 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 +7 -6
- 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 +51 -50
- package/lib/src/pro-form/pro-form.vue.d.ts +16 -13
- 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/const.d.ts +3 -0
- package/lib/src/pro-table/const.js +1 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/lib/src/pro-table/interface.d.ts +4 -0
- package/lib/src/pro-table/pro-table.vue.d.ts +45 -36
- package/lib/src/pro-table/pro-table.vue.js +1 -1
- package/lib/src/pro-table/style/pro-table.css +10 -5
- 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 -53
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
- package/lib/src/scroll-bar/scroll-bar.vue.js +1 -1
- 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/theme/ap-form/ap-form-item-group.css +9 -0
- package/lib/src/theme/pro-table/pro-table.css +10 -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 +2 -2
- package/es/src/constants/component-setting.d.ts +0 -74
- package/es/src/constants/component-setting.mjs +0 -90
- package/lib/src/constants/component-setting.d.ts +0 -74
- package/lib/src/constants/component-setting.js +0 -1
package/lib/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;
|
|
@@ -20,8 +21,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
21
|
immediate: boolean;
|
|
21
22
|
}>>> & {
|
|
22
23
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
24
24
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
25
26
|
}, {
|
|
26
27
|
immediate: boolean;
|
|
27
28
|
params: string | Record<string, any>;
|
|
@@ -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;
|
|
@@ -36,11 +37,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
36
37
|
options: () => never[];
|
|
37
38
|
}>>> & {
|
|
38
39
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
41
42
|
}, {
|
|
42
|
-
immediate: boolean;
|
|
43
43
|
options: ApiSelectOption[];
|
|
44
|
+
immediate: boolean;
|
|
44
45
|
params: Record<string, any>;
|
|
45
46
|
resultField: string;
|
|
46
47
|
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,20 +1,21 @@
|
|
|
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
|
}>>> & {
|
|
15
16
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
18
19
|
}, {
|
|
19
20
|
immediate: boolean;
|
|
20
21
|
resultField: string;
|
|
@@ -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
|
};
|