@aplus-frontend/ui 0.4.19 → 0.4.21
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/item/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-modal/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +2 -1
- package/es/src/ap-button/ap-button.vue.d.ts +2 -1
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
- package/es/src/ap-download/ap-download.vue.d.ts +5 -3
- package/es/src/ap-field/date/index.vue.d.ts +2 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -1
- package/es/src/ap-field/number/index.vue.d.ts +324 -2
- package/es/src/ap-field/radio/index.vue.d.ts +98 -2
- package/es/src/ap-field/rate/index.vue.d.ts +84 -2
- package/es/src/ap-field/segmented/index.vue.d.ts +2 -1
- package/es/src/ap-field/select/index.vue.d.ts +409 -2
- package/es/src/ap-field/select/index.vue.mjs +7 -6
- package/es/src/ap-field/slider/index.vue.d.ts +259 -2
- package/es/src/ap-field/switch/index.vue.d.ts +2 -1
- package/es/src/ap-field/text/index.vue.d.ts +2 -1
- package/es/src/ap-field/text/password.vue.d.ts +2 -1
- package/es/src/ap-field/text-area/index.vue.d.ts +267 -2
- package/es/src/ap-form/ap-form.vue.d.ts +638 -2
- package/es/src/ap-form/dependency/index.vue.d.ts +2 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +1458 -6
- package/es/src/ap-form/item/index.vue.d.ts +779 -2
- package/es/src/ap-form/item-group/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +785 -3
- package/es/src/ap-form/items/radio/index.vue.d.ts +223 -4
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/switch/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/group.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +141 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +150 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +568 -4
- package/es/src/ap-form/list/index.vue.d.ts +2 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +1458 -7
- package/es/src/ap-form/provider/index.vue.d.ts +2 -1
- package/es/src/ap-form/render/control.vue.d.ts +2 -1
- package/es/src/ap-form/render/item.vue.d.ts +2 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +1458 -5
- package/es/src/ap-form/set/index.vue.d.ts +2 -1
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +6 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +1 -1
- package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
- package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-table/constants.d.ts +2264 -14
- package/es/src/ap-table/utils.d.ts +1180 -8
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +5 -2
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +5 -2
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +5 -2
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/index.d.ts +1 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +5 -2
- package/es/src/business/ap-batch-action/index.d.ts +3 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +887 -5
- package/es/src/business/ap-card/ApCard.vue.d.ts +3 -2
- package/es/src/business/ap-card/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +5 -2
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +9 -8
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +10 -346
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +8 -7
- package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/index.d.ts +418 -4
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +412 -340
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +15 -14
- package/es/src/business/ap-image/ApImage.vue.d.ts +2 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/es/src/business/ap-input-radio/index.d.ts +1 -1
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +6 -2
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +4 -1
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +27 -2
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +30 -4
- package/es/src/business/ap-title/ApTitle.vue.d.ts +3 -2
- package/es/src/business/ap-title/index.d.ts +1 -1
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +146 -3
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
- package/es/src/business/hooks/useTableRefresh.mjs +43 -24
- package/es/src/check-card/group.vue.d.ts +2 -1
- package/es/src/check-card/index.vue.d.ts +3 -2
- package/es/src/editable-table/form-item.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/full-screen/index.vue.d.ts +6 -2
- package/es/src/portal/index.vue.d.ts +2 -1
- package/es/src/resize-observer/index.vue.d.ts +2 -1
- package/es/src/scroll-bar/index.vue.d.ts +42 -3
- package/es/src/scroll-bar/internal.vue.d.ts +5 -1
- package/es/src/scroll-bar/internal.vue.mjs +11 -10
- package/es/src/scroll-view/index.vue.d.ts +92 -4
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +828 -2
- package/lib/src/ap-action/item/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-modal/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +2 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +2 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
- package/lib/src/ap-download/ap-download.vue.d.ts +5 -3
- package/lib/src/ap-field/date/index.vue.d.ts +2 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -1
- package/lib/src/ap-field/number/index.vue.d.ts +324 -2
- package/lib/src/ap-field/radio/index.vue.d.ts +98 -2
- package/lib/src/ap-field/rate/index.vue.d.ts +84 -2
- package/lib/src/ap-field/segmented/index.vue.d.ts +2 -1
- package/lib/src/ap-field/select/index.vue.d.ts +409 -2
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +259 -2
- package/lib/src/ap-field/switch/index.vue.d.ts +2 -1
- package/lib/src/ap-field/text/index.vue.d.ts +2 -1
- package/lib/src/ap-field/text/password.vue.d.ts +2 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +267 -2
- package/lib/src/ap-form/ap-form.vue.d.ts +638 -2
- package/lib/src/ap-form/dependency/index.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +1458 -6
- package/lib/src/ap-form/item/index.vue.d.ts +779 -2
- package/lib/src/ap-form/item-group/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +785 -3
- package/lib/src/ap-form/items/radio/index.vue.d.ts +223 -4
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/group.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +141 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +150 -2
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +568 -4
- package/lib/src/ap-form/list/index.vue.d.ts +2 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +1458 -7
- package/lib/src/ap-form/provider/index.vue.d.ts +2 -1
- package/lib/src/ap-form/render/control.vue.d.ts +2 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +1458 -5
- package/lib/src/ap-form/set/index.vue.d.ts +2 -1
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +6 -2
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-table/constants.d.ts +2264 -14
- package/lib/src/ap-table/utils.d.ts +1180 -8
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +5 -2
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +5 -2
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +5 -2
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +5 -2
- package/lib/src/business/ap-batch-action/index.d.ts +3 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
- package/lib/src/business/ap-batch-action-group/index.d.ts +887 -5
- package/lib/src/business/ap-card/ApCard.vue.d.ts +3 -2
- package/lib/src/business/ap-card/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +5 -2
- package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +10 -346
- package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
- package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +418 -4
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +412 -340
- package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
- package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/lib/src/business/ap-input-radio/index.d.ts +1 -1
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +6 -2
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +4 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +27 -2
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +30 -4
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +3 -2
- package/lib/src/business/ap-title/index.d.ts +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +146 -3
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +2 -1
- package/lib/src/check-card/index.vue.d.ts +3 -2
- package/lib/src/editable-table/form-item.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/full-screen/index.vue.d.ts +6 -2
- package/lib/src/portal/index.vue.d.ts +2 -1
- package/lib/src/resize-observer/index.vue.d.ts +2 -1
- package/lib/src/scroll-bar/index.vue.d.ts +42 -3
- package/lib/src/scroll-bar/internal.vue.d.ts +5 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +92 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +828 -2
- package/package.json +1 -1
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { ApFormItemRadioProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
|
-
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
3
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
4
4
|
import { ApFieldRadioProps, FieldMode } from '../../..';
|
|
5
|
+
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
6
|
+
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
7
|
+
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
8
|
+
import { RadioChangeEvent } from '@aplus-frontend/antdv';
|
|
9
|
+
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
5
10
|
type ApFormItemRadioSlots = Omit<ApFormItemSlots, 'default'>;
|
|
6
11
|
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
7
13
|
slots: Readonly<ApFormItemRadioSlots> & ApFormItemRadioSlots;
|
|
8
14
|
refs: {
|
|
9
15
|
radioRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldRadioProps> & Readonly<{
|
|
@@ -18,7 +24,98 @@ declare function __VLS_template(): {
|
|
|
18
24
|
vertical: boolean;
|
|
19
25
|
disabled: boolean;
|
|
20
26
|
emptyText: string;
|
|
21
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
27
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
28
|
+
radioGroupRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
29
|
+
prefixCls: StringConstructor;
|
|
30
|
+
value: VueTypeValidableDef<any>;
|
|
31
|
+
size: {
|
|
32
|
+
type: PropType<"default" | "small" | "large">;
|
|
33
|
+
default: "default" | "small" | "large";
|
|
34
|
+
};
|
|
35
|
+
options: {
|
|
36
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
37
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
38
|
+
};
|
|
39
|
+
disabled: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
name: StringConstructor;
|
|
44
|
+
buttonStyle: {
|
|
45
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
46
|
+
default: RadioGroupButtonStyle;
|
|
47
|
+
};
|
|
48
|
+
id: StringConstructor;
|
|
49
|
+
optionType: {
|
|
50
|
+
type: PropType<RadioGroupOptionType>;
|
|
51
|
+
default: RadioGroupOptionType;
|
|
52
|
+
};
|
|
53
|
+
onChange: {
|
|
54
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
55
|
+
default: (e: RadioChangeEvent) => void;
|
|
56
|
+
};
|
|
57
|
+
'onUpdate:value': {
|
|
58
|
+
type: PropType<(val: any) => void>;
|
|
59
|
+
default: (val: any) => void;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
62
|
+
size: "default" | "small" | "large";
|
|
63
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
'onUpdate:value': (val: any) => void;
|
|
66
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
67
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
68
|
+
optionType: RadioGroupOptionType;
|
|
69
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
70
|
+
P: {};
|
|
71
|
+
B: {};
|
|
72
|
+
D: {};
|
|
73
|
+
C: {};
|
|
74
|
+
M: {};
|
|
75
|
+
Defaults: {};
|
|
76
|
+
}, Readonly< ExtractPropTypes<{
|
|
77
|
+
prefixCls: StringConstructor;
|
|
78
|
+
value: VueTypeValidableDef<any>;
|
|
79
|
+
size: {
|
|
80
|
+
type: PropType<"default" | "small" | "large">;
|
|
81
|
+
default: "default" | "small" | "large";
|
|
82
|
+
};
|
|
83
|
+
options: {
|
|
84
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
85
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
name: StringConstructor;
|
|
92
|
+
buttonStyle: {
|
|
93
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
94
|
+
default: RadioGroupButtonStyle;
|
|
95
|
+
};
|
|
96
|
+
id: StringConstructor;
|
|
97
|
+
optionType: {
|
|
98
|
+
type: PropType<RadioGroupOptionType>;
|
|
99
|
+
default: RadioGroupOptionType;
|
|
100
|
+
};
|
|
101
|
+
onChange: {
|
|
102
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
103
|
+
default: (e: RadioChangeEvent) => void;
|
|
104
|
+
};
|
|
105
|
+
'onUpdate:value': {
|
|
106
|
+
type: PropType<(val: any) => void>;
|
|
107
|
+
default: (val: any) => void;
|
|
108
|
+
};
|
|
109
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
110
|
+
size: "default" | "small" | "large";
|
|
111
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
112
|
+
disabled: boolean;
|
|
113
|
+
'onUpdate:value': (val: any) => void;
|
|
114
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
115
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
116
|
+
optionType: RadioGroupOptionType;
|
|
117
|
+
}> | null;
|
|
118
|
+
}, any, ComponentProvideOptions, {
|
|
22
119
|
P: {};
|
|
23
120
|
B: {};
|
|
24
121
|
D: {};
|
|
@@ -37,7 +134,7 @@ declare function __VLS_template(): {
|
|
|
37
134
|
emptyText: string;
|
|
38
135
|
}> | null;
|
|
39
136
|
};
|
|
40
|
-
|
|
137
|
+
rootEl: any;
|
|
41
138
|
};
|
|
42
139
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
43
140
|
declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
|
|
@@ -51,7 +148,129 @@ declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
|
|
|
51
148
|
hasFeedback: boolean;
|
|
52
149
|
autoLink: boolean;
|
|
53
150
|
validateFirst: boolean;
|
|
54
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
151
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
152
|
+
radioRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldRadioProps> & Readonly<{
|
|
153
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
}>, {
|
|
155
|
+
focus: () => void;
|
|
156
|
+
blur: () => void;
|
|
157
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
158
|
+
"update:value": (...args: any[]) => void;
|
|
159
|
+
}, PublicProps, {
|
|
160
|
+
mode: FieldMode;
|
|
161
|
+
vertical: boolean;
|
|
162
|
+
disabled: boolean;
|
|
163
|
+
emptyText: string;
|
|
164
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
165
|
+
radioGroupRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
166
|
+
prefixCls: StringConstructor;
|
|
167
|
+
value: VueTypeValidableDef<any>;
|
|
168
|
+
size: {
|
|
169
|
+
type: PropType<"default" | "small" | "large">;
|
|
170
|
+
default: "default" | "small" | "large";
|
|
171
|
+
};
|
|
172
|
+
options: {
|
|
173
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
174
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
175
|
+
};
|
|
176
|
+
disabled: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
name: StringConstructor;
|
|
181
|
+
buttonStyle: {
|
|
182
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
183
|
+
default: RadioGroupButtonStyle;
|
|
184
|
+
};
|
|
185
|
+
id: StringConstructor;
|
|
186
|
+
optionType: {
|
|
187
|
+
type: PropType<RadioGroupOptionType>;
|
|
188
|
+
default: RadioGroupOptionType;
|
|
189
|
+
};
|
|
190
|
+
onChange: {
|
|
191
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
192
|
+
default: (e: RadioChangeEvent) => void;
|
|
193
|
+
};
|
|
194
|
+
'onUpdate:value': {
|
|
195
|
+
type: PropType<(val: any) => void>;
|
|
196
|
+
default: (val: any) => void;
|
|
197
|
+
};
|
|
198
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
199
|
+
size: "default" | "small" | "large";
|
|
200
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
201
|
+
disabled: boolean;
|
|
202
|
+
'onUpdate:value': (val: any) => void;
|
|
203
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
204
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
205
|
+
optionType: RadioGroupOptionType;
|
|
206
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
207
|
+
P: {};
|
|
208
|
+
B: {};
|
|
209
|
+
D: {};
|
|
210
|
+
C: {};
|
|
211
|
+
M: {};
|
|
212
|
+
Defaults: {};
|
|
213
|
+
}, Readonly< ExtractPropTypes<{
|
|
214
|
+
prefixCls: StringConstructor;
|
|
215
|
+
value: VueTypeValidableDef<any>;
|
|
216
|
+
size: {
|
|
217
|
+
type: PropType<"default" | "small" | "large">;
|
|
218
|
+
default: "default" | "small" | "large";
|
|
219
|
+
};
|
|
220
|
+
options: {
|
|
221
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
222
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
223
|
+
};
|
|
224
|
+
disabled: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
name: StringConstructor;
|
|
229
|
+
buttonStyle: {
|
|
230
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
231
|
+
default: RadioGroupButtonStyle;
|
|
232
|
+
};
|
|
233
|
+
id: StringConstructor;
|
|
234
|
+
optionType: {
|
|
235
|
+
type: PropType<RadioGroupOptionType>;
|
|
236
|
+
default: RadioGroupOptionType;
|
|
237
|
+
};
|
|
238
|
+
onChange: {
|
|
239
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
240
|
+
default: (e: RadioChangeEvent) => void;
|
|
241
|
+
};
|
|
242
|
+
'onUpdate:value': {
|
|
243
|
+
type: PropType<(val: any) => void>;
|
|
244
|
+
default: (val: any) => void;
|
|
245
|
+
};
|
|
246
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
247
|
+
size: "default" | "small" | "large";
|
|
248
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
249
|
+
disabled: boolean;
|
|
250
|
+
'onUpdate:value': (val: any) => void;
|
|
251
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
252
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
253
|
+
optionType: RadioGroupOptionType;
|
|
254
|
+
}> | null;
|
|
255
|
+
}, any, ComponentProvideOptions, {
|
|
256
|
+
P: {};
|
|
257
|
+
B: {};
|
|
258
|
+
D: {};
|
|
259
|
+
C: {};
|
|
260
|
+
M: {};
|
|
261
|
+
Defaults: {};
|
|
262
|
+
}, Readonly< ApFieldRadioProps> & Readonly<{
|
|
263
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
264
|
+
}>, {
|
|
265
|
+
focus: () => void;
|
|
266
|
+
blur: () => void;
|
|
267
|
+
}, {}, {}, {}, {
|
|
268
|
+
mode: FieldMode;
|
|
269
|
+
vertical: boolean;
|
|
270
|
+
disabled: boolean;
|
|
271
|
+
emptyText: string;
|
|
272
|
+
}> | null;
|
|
273
|
+
}, any>;
|
|
55
274
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
56
275
|
export default _default;
|
|
57
276
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,6 +3,7 @@ import { ApFormItemSlots } from '../../interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ApFieldSelectProps } from '../../..';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<{
|
|
7
8
|
notFoundContent: any;
|
|
8
9
|
suffixIcon: any;
|
|
@@ -31,7 +32,7 @@ declare function __VLS_template(): {
|
|
|
31
32
|
default: any;
|
|
32
33
|
} & Omit<ApFormItemSlots, "default">;
|
|
33
34
|
refs: {};
|
|
34
|
-
|
|
35
|
+
rootEl: any;
|
|
35
36
|
};
|
|
36
37
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
38
|
declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
@@ -3,6 +3,7 @@ import { ApFormItemSlots } from '../../interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ApFieldSwitchProps } from '../../..';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<{
|
|
7
8
|
checkedChildren: any;
|
|
8
9
|
unCheckedChildren: any;
|
|
@@ -13,7 +14,7 @@ declare function __VLS_template(): {
|
|
|
13
14
|
default: any;
|
|
14
15
|
} & Omit<ApFormItemSlots, "default">;
|
|
15
16
|
refs: {};
|
|
16
|
-
|
|
17
|
+
rootEl: any;
|
|
17
18
|
};
|
|
18
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
20
|
declare const __VLS_component: DefineComponent<ApFormItemSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemSwitchProps> & Readonly<{}>, {
|
|
@@ -4,9 +4,10 @@ type ApFormItemTextSlots = {
|
|
|
4
4
|
default: any;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Readonly<ApFormItemTextSlots> & ApFormItemTextSlots;
|
|
8
9
|
refs: {};
|
|
9
|
-
|
|
10
|
+
rootEl: any;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
13
|
declare const __VLS_component: DefineComponent<ApFormItemTextGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemTextGroupProps> & Readonly<{}>, {
|
|
@@ -8,6 +8,7 @@ import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, Keyboar
|
|
|
8
8
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
9
9
|
import { OnCleanup } from '@vue/reactivity';
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
11
12
|
slots: Readonly<{
|
|
12
13
|
addonAfter: any;
|
|
13
14
|
addonBefore: any;
|
|
@@ -137,7 +138,7 @@ declare function __VLS_template(): {
|
|
|
137
138
|
emptyText: string;
|
|
138
139
|
}> & Omit<Readonly< ApFieldTextProps> & Readonly<{
|
|
139
140
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
140
|
-
}>, "blur" | "focus" | "input" | "select" |
|
|
141
|
+
}>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText") | "setSelectionRange"> & ShallowUnwrapRef<{
|
|
141
142
|
focus: (options?: InputFocusOptions) => void;
|
|
142
143
|
blur: () => void;
|
|
143
144
|
input: any;
|
|
@@ -159,7 +160,7 @@ declare function __VLS_template(): {
|
|
|
159
160
|
};
|
|
160
161
|
}) | null;
|
|
161
162
|
};
|
|
162
|
-
|
|
163
|
+
rootEl: any;
|
|
163
164
|
};
|
|
164
165
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
165
166
|
declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
@@ -176,7 +177,144 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
176
177
|
hasFeedback: boolean;
|
|
177
178
|
autoLink: boolean;
|
|
178
179
|
validateFirst: boolean;
|
|
179
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
180
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
181
|
+
inputRef: ({
|
|
182
|
+
$: ComponentInternalInstance;
|
|
183
|
+
$data: {};
|
|
184
|
+
$props: {
|
|
185
|
+
readonly mode?: FieldMode | undefined;
|
|
186
|
+
readonly class?: unknown;
|
|
187
|
+
readonly style?: unknown;
|
|
188
|
+
readonly type?: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password" | undefined;
|
|
189
|
+
readonly lazy?: boolean | undefined;
|
|
190
|
+
readonly size?: ButtonSize;
|
|
191
|
+
readonly hidden?: boolean | undefined;
|
|
192
|
+
readonly onBlur?: FocusEventHandler | undefined;
|
|
193
|
+
readonly onChange?: ChangeEventHandler | undefined;
|
|
194
|
+
readonly onCompositionend?: CompositionEventHandler | undefined;
|
|
195
|
+
readonly onCompositionstart?: CompositionEventHandler | undefined;
|
|
196
|
+
readonly onFocus?: FocusEventHandler | undefined;
|
|
197
|
+
readonly onInput?: ChangeEventHandler | undefined;
|
|
198
|
+
readonly onKeydown?: KeyboardEventHandler | undefined;
|
|
199
|
+
readonly onKeyup?: KeyboardEventHandler | undefined;
|
|
200
|
+
readonly onMousedown?: MouseEventHandler | undefined;
|
|
201
|
+
readonly value?: string | number | undefined;
|
|
202
|
+
readonly disabled?: boolean | undefined;
|
|
203
|
+
readonly bordered?: boolean | undefined;
|
|
204
|
+
readonly prefixCls?: string | undefined;
|
|
205
|
+
readonly name?: string | undefined;
|
|
206
|
+
readonly autocomplete?: string | undefined;
|
|
207
|
+
readonly status?: "" | "error" | "warning" | undefined;
|
|
208
|
+
readonly id?: string | undefined;
|
|
209
|
+
readonly placeholder?: string | number | undefined;
|
|
210
|
+
readonly prefix?: any;
|
|
211
|
+
readonly loading?: boolean | undefined;
|
|
212
|
+
readonly autofocus?: boolean | undefined;
|
|
213
|
+
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
214
|
+
readonly suffix?: any;
|
|
215
|
+
readonly focused?: boolean | undefined;
|
|
216
|
+
readonly defaultValue?: string | number | undefined;
|
|
217
|
+
readonly maxlength?: number | undefined;
|
|
218
|
+
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
219
|
+
readonly htmlSize?: number | undefined;
|
|
220
|
+
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
221
|
+
readonly onMouseUp?: MouseEventHandler | undefined;
|
|
222
|
+
readonly onRawInput?: ChangeEventHandler | undefined;
|
|
223
|
+
readonly valueModifiers?: Record<string, any> | undefined;
|
|
224
|
+
readonly inputElement?: any;
|
|
225
|
+
readonly triggerFocus?: (() => void) | undefined;
|
|
226
|
+
readonly readonly?: boolean | undefined;
|
|
227
|
+
readonly handleReset?: MouseEventHandler | undefined;
|
|
228
|
+
readonly addonBefore?: any;
|
|
229
|
+
readonly addonAfter?: any;
|
|
230
|
+
readonly clearIcon?: any;
|
|
231
|
+
readonly allowClear?: boolean | undefined;
|
|
232
|
+
readonly emptyText?: string | undefined;
|
|
233
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
234
|
+
$attrs: {
|
|
235
|
+
[x: string]: unknown;
|
|
236
|
+
};
|
|
237
|
+
$refs: {
|
|
238
|
+
[x: string]: unknown;
|
|
239
|
+
};
|
|
240
|
+
$slots: Readonly<{
|
|
241
|
+
[name: string]: Slot<any> | undefined;
|
|
242
|
+
}>;
|
|
243
|
+
$root: ComponentPublicInstance | null;
|
|
244
|
+
$parent: ComponentPublicInstance | null;
|
|
245
|
+
$host: Element | null;
|
|
246
|
+
$emit: (event: "update:value", ...args: any[]) => void;
|
|
247
|
+
$el: any;
|
|
248
|
+
$options: ComponentOptionsBase<Readonly< ApFieldTextProps> & Readonly<{
|
|
249
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
250
|
+
}>, {
|
|
251
|
+
focus: (options?: InputFocusOptions) => void;
|
|
252
|
+
blur: () => void;
|
|
253
|
+
input: any;
|
|
254
|
+
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
255
|
+
select: () => void;
|
|
256
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
257
|
+
"update:value": (...args: any[]) => void;
|
|
258
|
+
}, string, {
|
|
259
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
260
|
+
mode: FieldMode;
|
|
261
|
+
disabled: boolean;
|
|
262
|
+
bordered: boolean;
|
|
263
|
+
lazy: boolean;
|
|
264
|
+
allowClear: boolean;
|
|
265
|
+
emptyText: string;
|
|
266
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
267
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
268
|
+
created?: (() => void) | (() => void)[];
|
|
269
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
270
|
+
mounted?: (() => void) | (() => void)[];
|
|
271
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
272
|
+
updated?: (() => void) | (() => void)[];
|
|
273
|
+
activated?: (() => void) | (() => void)[];
|
|
274
|
+
deactivated?: (() => void) | (() => void)[];
|
|
275
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
276
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
277
|
+
destroyed?: (() => void) | (() => void)[];
|
|
278
|
+
unmounted?: (() => void) | (() => void)[];
|
|
279
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
280
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
281
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
282
|
+
};
|
|
283
|
+
$forceUpdate: () => void;
|
|
284
|
+
$nextTick: nextTick;
|
|
285
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
286
|
+
} & Readonly<{
|
|
287
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
288
|
+
mode: FieldMode;
|
|
289
|
+
disabled: boolean;
|
|
290
|
+
bordered: boolean;
|
|
291
|
+
lazy: boolean;
|
|
292
|
+
allowClear: boolean;
|
|
293
|
+
emptyText: string;
|
|
294
|
+
}> & Omit<Readonly< ApFieldTextProps> & Readonly<{
|
|
295
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
296
|
+
}>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText") | "setSelectionRange"> & ShallowUnwrapRef<{
|
|
297
|
+
focus: (options?: InputFocusOptions) => void;
|
|
298
|
+
blur: () => void;
|
|
299
|
+
input: any;
|
|
300
|
+
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
301
|
+
select: () => void;
|
|
302
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
303
|
+
$slots: Readonly<{
|
|
304
|
+
addonAfter?: any;
|
|
305
|
+
addonBefore?: any;
|
|
306
|
+
prefix?: any;
|
|
307
|
+
suffix?: any;
|
|
308
|
+
clearIcon?: any;
|
|
309
|
+
}> & {
|
|
310
|
+
addonAfter?: any;
|
|
311
|
+
addonBefore?: any;
|
|
312
|
+
prefix?: any;
|
|
313
|
+
suffix?: any;
|
|
314
|
+
clearIcon?: any;
|
|
315
|
+
};
|
|
316
|
+
}) | null;
|
|
317
|
+
}, any>;
|
|
180
318
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
181
319
|
export default _default;
|
|
182
320
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -7,6 +7,7 @@ import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, Keyboar
|
|
|
7
7
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
8
8
|
import { OnCleanup } from '@vue/reactivity';
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
10
11
|
slots: Readonly<{
|
|
11
12
|
addonAfter: any;
|
|
12
13
|
addonBefore: any;
|
|
@@ -170,7 +171,7 @@ declare function __VLS_template(): {
|
|
|
170
171
|
};
|
|
171
172
|
}) | null;
|
|
172
173
|
};
|
|
173
|
-
|
|
174
|
+
rootEl: any;
|
|
174
175
|
};
|
|
175
176
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
176
177
|
declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
@@ -184,7 +185,154 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
184
185
|
hasFeedback: boolean;
|
|
185
186
|
autoLink: boolean;
|
|
186
187
|
validateFirst: boolean;
|
|
187
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
188
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
189
|
+
inputRef: ({
|
|
190
|
+
$: ComponentInternalInstance;
|
|
191
|
+
$data: {};
|
|
192
|
+
$props: {
|
|
193
|
+
readonly mode?: FieldMode | undefined;
|
|
194
|
+
readonly class?: unknown;
|
|
195
|
+
readonly style?: unknown;
|
|
196
|
+
readonly type?: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password" | undefined;
|
|
197
|
+
readonly lazy?: boolean | undefined;
|
|
198
|
+
readonly size?: ButtonSize;
|
|
199
|
+
readonly hidden?: boolean | undefined;
|
|
200
|
+
readonly onBlur?: FocusEventHandler | undefined;
|
|
201
|
+
readonly onChange?: ChangeEventHandler | undefined;
|
|
202
|
+
readonly onCompositionend?: CompositionEventHandler | undefined;
|
|
203
|
+
readonly onCompositionstart?: CompositionEventHandler | undefined;
|
|
204
|
+
readonly onFocus?: FocusEventHandler | undefined;
|
|
205
|
+
readonly onInput?: ChangeEventHandler | undefined;
|
|
206
|
+
readonly onKeydown?: KeyboardEventHandler | undefined;
|
|
207
|
+
readonly onKeyup?: KeyboardEventHandler | undefined;
|
|
208
|
+
readonly onMousedown?: MouseEventHandler | undefined;
|
|
209
|
+
readonly value?: string | number | undefined;
|
|
210
|
+
readonly disabled?: boolean | undefined;
|
|
211
|
+
readonly bordered?: boolean | undefined;
|
|
212
|
+
readonly prefixCls?: string | undefined;
|
|
213
|
+
readonly name?: string | undefined;
|
|
214
|
+
readonly autocomplete?: string | undefined;
|
|
215
|
+
readonly status?: "" | "error" | "warning" | undefined;
|
|
216
|
+
readonly id?: string | undefined;
|
|
217
|
+
readonly placeholder?: string | number | undefined;
|
|
218
|
+
readonly prefix?: any;
|
|
219
|
+
readonly loading?: boolean | undefined;
|
|
220
|
+
readonly autofocus?: boolean | undefined;
|
|
221
|
+
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
222
|
+
readonly suffix?: any;
|
|
223
|
+
readonly focused?: boolean | undefined;
|
|
224
|
+
readonly defaultValue?: string | number | undefined;
|
|
225
|
+
readonly maxlength?: number | undefined;
|
|
226
|
+
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
227
|
+
readonly htmlSize?: number | undefined;
|
|
228
|
+
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
229
|
+
readonly onMouseUp?: MouseEventHandler | undefined;
|
|
230
|
+
readonly onRawInput?: ChangeEventHandler | undefined;
|
|
231
|
+
readonly valueModifiers?: Record<string, any> | undefined;
|
|
232
|
+
readonly inputElement?: any;
|
|
233
|
+
readonly triggerFocus?: (() => void) | undefined;
|
|
234
|
+
readonly readonly?: boolean | undefined;
|
|
235
|
+
readonly handleReset?: MouseEventHandler | undefined;
|
|
236
|
+
readonly addonBefore?: any;
|
|
237
|
+
readonly addonAfter?: any;
|
|
238
|
+
readonly clearIcon?: any;
|
|
239
|
+
readonly allowClear?: boolean | undefined;
|
|
240
|
+
readonly inputPrefixCls?: string | undefined;
|
|
241
|
+
readonly action?: string | undefined;
|
|
242
|
+
readonly visibilityToggle?: boolean | undefined;
|
|
243
|
+
readonly visible?: boolean | undefined;
|
|
244
|
+
readonly 'onUpdate:visible'?: (((visible: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
245
|
+
readonly emptyText?: string | undefined;
|
|
246
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
247
|
+
$attrs: {
|
|
248
|
+
[x: string]: unknown;
|
|
249
|
+
};
|
|
250
|
+
$refs: {
|
|
251
|
+
[x: string]: unknown;
|
|
252
|
+
};
|
|
253
|
+
$slots: Readonly<{
|
|
254
|
+
[name: string]: Slot<any> | undefined;
|
|
255
|
+
}>;
|
|
256
|
+
$root: ComponentPublicInstance | null;
|
|
257
|
+
$parent: ComponentPublicInstance | null;
|
|
258
|
+
$host: Element | null;
|
|
259
|
+
$emit: ((event: "update:value", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void);
|
|
260
|
+
$el: any;
|
|
261
|
+
$options: ComponentOptionsBase<Readonly< ApFieldTextPasswordProps> & Readonly<{
|
|
262
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
263
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
264
|
+
}>, {
|
|
265
|
+
focus: () => void;
|
|
266
|
+
blur: () => void;
|
|
267
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
268
|
+
"update:value": (...args: any[]) => void;
|
|
269
|
+
"update:visible": (...args: any[]) => void;
|
|
270
|
+
}, string, {
|
|
271
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
272
|
+
mode: FieldMode;
|
|
273
|
+
visible: boolean;
|
|
274
|
+
disabled: boolean;
|
|
275
|
+
bordered: boolean;
|
|
276
|
+
lazy: boolean;
|
|
277
|
+
allowClear: boolean;
|
|
278
|
+
emptyText: string;
|
|
279
|
+
action: string;
|
|
280
|
+
visibilityToggle: boolean;
|
|
281
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
282
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
283
|
+
created?: (() => void) | (() => void)[];
|
|
284
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
285
|
+
mounted?: (() => void) | (() => void)[];
|
|
286
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
287
|
+
updated?: (() => void) | (() => void)[];
|
|
288
|
+
activated?: (() => void) | (() => void)[];
|
|
289
|
+
deactivated?: (() => void) | (() => void)[];
|
|
290
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
291
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
292
|
+
destroyed?: (() => void) | (() => void)[];
|
|
293
|
+
unmounted?: (() => void) | (() => void)[];
|
|
294
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
295
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
296
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
297
|
+
};
|
|
298
|
+
$forceUpdate: () => void;
|
|
299
|
+
$nextTick: nextTick;
|
|
300
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
301
|
+
} & Readonly<{
|
|
302
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
303
|
+
mode: FieldMode;
|
|
304
|
+
visible: boolean;
|
|
305
|
+
disabled: boolean;
|
|
306
|
+
bordered: boolean;
|
|
307
|
+
lazy: boolean;
|
|
308
|
+
allowClear: boolean;
|
|
309
|
+
emptyText: string;
|
|
310
|
+
action: string;
|
|
311
|
+
visibilityToggle: boolean;
|
|
312
|
+
}> & Omit<Readonly< ApFieldTextPasswordProps> & Readonly<{
|
|
313
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
314
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
315
|
+
}>, "blur" | "focus" | ("type" | "mode" | "visible" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText" | "action" | "visibilityToggle")> & ShallowUnwrapRef<{
|
|
316
|
+
focus: () => void;
|
|
317
|
+
blur: () => void;
|
|
318
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
319
|
+
$slots: Readonly<{
|
|
320
|
+
addonAfter: any;
|
|
321
|
+
addonBefore: any;
|
|
322
|
+
prefix: any;
|
|
323
|
+
suffix: any;
|
|
324
|
+
clearIcon: any;
|
|
325
|
+
iconRender: any;
|
|
326
|
+
}> & {
|
|
327
|
+
addonAfter: any;
|
|
328
|
+
addonBefore: any;
|
|
329
|
+
prefix: any;
|
|
330
|
+
suffix: any;
|
|
331
|
+
clearIcon: any;
|
|
332
|
+
iconRender: any;
|
|
333
|
+
};
|
|
334
|
+
}) | null;
|
|
335
|
+
}, any>;
|
|
188
336
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
189
337
|
export default _default;
|
|
190
338
|
type __VLS_WithTemplateSlots<T, S> = T & {
|