@aplus-frontend/ui 0.4.19 → 0.4.20
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 +34 -20
- 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,16 +1,26 @@
|
|
|
1
1
|
import { ApColumnType, ValueEnum, ValueEnumType } from './interface';
|
|
2
2
|
import { ValueTypeRenderConfig } from '../config-provider';
|
|
3
3
|
import { apTableRenderItemMap } from './constants';
|
|
4
|
-
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives,
|
|
4
|
+
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef, ExtractPropTypes, PropType, VNodeArrayChildren, RendererNode, RendererElement } from 'vue';
|
|
5
5
|
import { EditableColumnType } from '../editable-table/interface';
|
|
6
6
|
import { ColumnType, ColumnGroupType } from '@aplus-frontend/antdv/es/table';
|
|
7
7
|
import { ApTableDynamicCompProps } from './components/interface';
|
|
8
8
|
import { ApFormItemTextPasswordProps, ApFormItemTextProps, ApFormItemTextAreaProps, ApFormItemNumberProps, ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemCheckboxProps } from '../ap-form/items/interface';
|
|
9
|
-
import { ApFieldTextPasswordProps, ApFormItemSlots, ApFieldTextProps, ApFormItemTextPassword, ApFieldTextAreaProps, ApFieldNumberProps, ApFieldDateProps, ApFieldDateRangeProps, ApFieldRadioProps, ApFieldSelectProps, ApFieldSwitchProps, ApFieldCheckboxProps } from '..';
|
|
9
|
+
import { ApFieldTextPasswordProps, FieldMode, ApFormItemSlots, ApFieldTextProps, ApFormItemTextPassword, ApFieldTextAreaProps, ApFieldNumberProps, ApFieldDateProps, ApFieldDateRangeProps, ApFieldRadioProps, ApFieldSelectProps, ApFieldSwitchProps, ApFieldCheckboxProps } from '..';
|
|
10
|
+
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
|
+
import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
12
|
+
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
13
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
10
14
|
import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
|
|
11
15
|
import { ApFormItemTextGroup } from '../ap-form/items/text';
|
|
16
|
+
import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
|
|
17
|
+
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
18
|
+
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
19
|
+
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
20
|
+
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
21
|
+
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
22
|
+
import { RadioChangeEvent } from '@aplus-frontend/antdv';
|
|
12
23
|
import { ColumnTitleProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
13
|
-
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
14
24
|
export type FieldValueType = 'multiple' | 'multipleNumber' | 'dayjs' | 'dayjsRange' | 'dayjsDayRange' | 'number' | 'boolean' | 'object';
|
|
15
25
|
export declare const formatParamsValueType: (type: FieldValueType | Record<string, FieldValueType>, value: any, cb: (t: FieldValueType, value: any) => any) => any;
|
|
16
26
|
/**
|
|
@@ -91,7 +101,154 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
91
101
|
hasFeedback: boolean;
|
|
92
102
|
autoLink: boolean;
|
|
93
103
|
validateFirst: boolean;
|
|
94
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
104
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
105
|
+
inputRef: ({
|
|
106
|
+
$: ComponentInternalInstance;
|
|
107
|
+
$data: {};
|
|
108
|
+
$props: {
|
|
109
|
+
readonly mode?: FieldMode | undefined;
|
|
110
|
+
readonly class?: unknown;
|
|
111
|
+
readonly style?: unknown;
|
|
112
|
+
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;
|
|
113
|
+
readonly lazy?: boolean | undefined;
|
|
114
|
+
readonly size?: ButtonSize;
|
|
115
|
+
readonly hidden?: boolean | undefined;
|
|
116
|
+
readonly onBlur?: FocusEventHandler | undefined;
|
|
117
|
+
readonly onChange?: ChangeEventHandler | undefined;
|
|
118
|
+
readonly onCompositionend?: CompositionEventHandler | undefined;
|
|
119
|
+
readonly onCompositionstart?: CompositionEventHandler | undefined;
|
|
120
|
+
readonly onFocus?: FocusEventHandler | undefined;
|
|
121
|
+
readonly onInput?: ChangeEventHandler | undefined;
|
|
122
|
+
readonly onKeydown?: KeyboardEventHandler | undefined;
|
|
123
|
+
readonly onKeyup?: KeyboardEventHandler | undefined;
|
|
124
|
+
readonly onMousedown?: MouseEventHandler | undefined;
|
|
125
|
+
readonly value?: string | number | undefined;
|
|
126
|
+
readonly disabled?: boolean | undefined;
|
|
127
|
+
readonly bordered?: boolean | undefined;
|
|
128
|
+
readonly prefixCls?: string | undefined;
|
|
129
|
+
readonly name?: string | undefined;
|
|
130
|
+
readonly autocomplete?: string | undefined;
|
|
131
|
+
readonly status?: "" | "error" | "warning" | undefined;
|
|
132
|
+
readonly id?: string | undefined;
|
|
133
|
+
readonly placeholder?: string | number | undefined;
|
|
134
|
+
readonly prefix?: any;
|
|
135
|
+
readonly loading?: boolean | undefined;
|
|
136
|
+
readonly autofocus?: boolean | undefined;
|
|
137
|
+
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
138
|
+
readonly suffix?: any;
|
|
139
|
+
readonly focused?: boolean | undefined;
|
|
140
|
+
readonly defaultValue?: string | number | undefined;
|
|
141
|
+
readonly maxlength?: number | undefined;
|
|
142
|
+
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
143
|
+
readonly htmlSize?: number | undefined;
|
|
144
|
+
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
145
|
+
readonly onMouseUp?: MouseEventHandler | undefined;
|
|
146
|
+
readonly onRawInput?: ChangeEventHandler | undefined;
|
|
147
|
+
readonly valueModifiers?: Record<string, any> | undefined;
|
|
148
|
+
readonly inputElement?: any;
|
|
149
|
+
readonly triggerFocus?: (() => void) | undefined;
|
|
150
|
+
readonly readonly?: boolean | undefined;
|
|
151
|
+
readonly handleReset?: MouseEventHandler | undefined;
|
|
152
|
+
readonly addonBefore?: any;
|
|
153
|
+
readonly addonAfter?: any;
|
|
154
|
+
readonly clearIcon?: any;
|
|
155
|
+
readonly allowClear?: boolean | undefined;
|
|
156
|
+
readonly inputPrefixCls?: string | undefined;
|
|
157
|
+
readonly action?: string | undefined;
|
|
158
|
+
readonly visibilityToggle?: boolean | undefined;
|
|
159
|
+
readonly visible?: boolean | undefined;
|
|
160
|
+
readonly 'onUpdate:visible'?: (((visible: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
161
|
+
readonly emptyText?: string | undefined;
|
|
162
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
163
|
+
$attrs: {
|
|
164
|
+
[x: string]: unknown;
|
|
165
|
+
};
|
|
166
|
+
$refs: {
|
|
167
|
+
[x: string]: unknown;
|
|
168
|
+
};
|
|
169
|
+
$slots: Readonly<{
|
|
170
|
+
[name: string]: Slot<any> | undefined;
|
|
171
|
+
}>;
|
|
172
|
+
$root: ComponentPublicInstance | null;
|
|
173
|
+
$parent: ComponentPublicInstance | null;
|
|
174
|
+
$host: Element | null;
|
|
175
|
+
$emit: ((event: "update:value", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void);
|
|
176
|
+
$el: any;
|
|
177
|
+
$options: ComponentOptionsBase<Readonly< ApFieldTextPasswordProps> & Readonly<{
|
|
178
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
179
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
180
|
+
}>, {
|
|
181
|
+
focus: () => void;
|
|
182
|
+
blur: () => void;
|
|
183
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
184
|
+
"update:value": (...args: any[]) => void;
|
|
185
|
+
"update:visible": (...args: any[]) => void;
|
|
186
|
+
}, string, {
|
|
187
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
188
|
+
mode: FieldMode;
|
|
189
|
+
visible: boolean;
|
|
190
|
+
disabled: boolean;
|
|
191
|
+
bordered: boolean;
|
|
192
|
+
lazy: boolean;
|
|
193
|
+
allowClear: boolean;
|
|
194
|
+
emptyText: string;
|
|
195
|
+
action: string;
|
|
196
|
+
visibilityToggle: boolean;
|
|
197
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
198
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
199
|
+
created?: (() => void) | (() => void)[];
|
|
200
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
201
|
+
mounted?: (() => void) | (() => void)[];
|
|
202
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
203
|
+
updated?: (() => void) | (() => void)[];
|
|
204
|
+
activated?: (() => void) | (() => void)[];
|
|
205
|
+
deactivated?: (() => void) | (() => void)[];
|
|
206
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
207
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
208
|
+
destroyed?: (() => void) | (() => void)[];
|
|
209
|
+
unmounted?: (() => void) | (() => void)[];
|
|
210
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
211
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
212
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
213
|
+
};
|
|
214
|
+
$forceUpdate: () => void;
|
|
215
|
+
$nextTick: nextTick;
|
|
216
|
+
$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;
|
|
217
|
+
} & Readonly<{
|
|
218
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
219
|
+
mode: FieldMode;
|
|
220
|
+
visible: boolean;
|
|
221
|
+
disabled: boolean;
|
|
222
|
+
bordered: boolean;
|
|
223
|
+
lazy: boolean;
|
|
224
|
+
allowClear: boolean;
|
|
225
|
+
emptyText: string;
|
|
226
|
+
action: string;
|
|
227
|
+
visibilityToggle: boolean;
|
|
228
|
+
}> & Omit<Readonly< ApFieldTextPasswordProps> & Readonly<{
|
|
229
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
230
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
231
|
+
}>, "blur" | "focus" | ("type" | "mode" | "visible" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText" | "action" | "visibilityToggle")> & ShallowUnwrapRef<{
|
|
232
|
+
focus: () => void;
|
|
233
|
+
blur: () => void;
|
|
234
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
235
|
+
$slots: Readonly<{
|
|
236
|
+
addonAfter: any;
|
|
237
|
+
addonBefore: any;
|
|
238
|
+
prefix: any;
|
|
239
|
+
suffix: any;
|
|
240
|
+
clearIcon: any;
|
|
241
|
+
iconRender: any;
|
|
242
|
+
}> & {
|
|
243
|
+
addonAfter: any;
|
|
244
|
+
addonBefore: any;
|
|
245
|
+
prefix: any;
|
|
246
|
+
suffix: any;
|
|
247
|
+
clearIcon: any;
|
|
248
|
+
iconRender: any;
|
|
249
|
+
};
|
|
250
|
+
}) | null;
|
|
251
|
+
}, any, ComponentProvideOptions, {
|
|
95
252
|
P: {};
|
|
96
253
|
B: {};
|
|
97
254
|
D: {};
|
|
@@ -155,7 +312,144 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
155
312
|
hasFeedback: boolean;
|
|
156
313
|
autoLink: boolean;
|
|
157
314
|
validateFirst: boolean;
|
|
158
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
315
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
316
|
+
inputRef: ({
|
|
317
|
+
$: ComponentInternalInstance;
|
|
318
|
+
$data: {};
|
|
319
|
+
$props: {
|
|
320
|
+
readonly mode?: FieldMode | undefined;
|
|
321
|
+
readonly class?: unknown;
|
|
322
|
+
readonly style?: unknown;
|
|
323
|
+
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;
|
|
324
|
+
readonly lazy?: boolean | undefined;
|
|
325
|
+
readonly size?: ButtonSize;
|
|
326
|
+
readonly hidden?: boolean | undefined;
|
|
327
|
+
readonly onBlur?: FocusEventHandler | undefined;
|
|
328
|
+
readonly onChange?: ChangeEventHandler | undefined;
|
|
329
|
+
readonly onCompositionend?: CompositionEventHandler | undefined;
|
|
330
|
+
readonly onCompositionstart?: CompositionEventHandler | undefined;
|
|
331
|
+
readonly onFocus?: FocusEventHandler | undefined;
|
|
332
|
+
readonly onInput?: ChangeEventHandler | undefined;
|
|
333
|
+
readonly onKeydown?: KeyboardEventHandler | undefined;
|
|
334
|
+
readonly onKeyup?: KeyboardEventHandler | undefined;
|
|
335
|
+
readonly onMousedown?: MouseEventHandler | undefined;
|
|
336
|
+
readonly value?: string | number | undefined;
|
|
337
|
+
readonly disabled?: boolean | undefined;
|
|
338
|
+
readonly bordered?: boolean | undefined;
|
|
339
|
+
readonly prefixCls?: string | undefined;
|
|
340
|
+
readonly name?: string | undefined;
|
|
341
|
+
readonly autocomplete?: string | undefined;
|
|
342
|
+
readonly status?: "" | "error" | "warning" | undefined;
|
|
343
|
+
readonly id?: string | undefined;
|
|
344
|
+
readonly placeholder?: string | number | undefined;
|
|
345
|
+
readonly prefix?: any;
|
|
346
|
+
readonly loading?: boolean | undefined;
|
|
347
|
+
readonly autofocus?: boolean | undefined;
|
|
348
|
+
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
349
|
+
readonly suffix?: any;
|
|
350
|
+
readonly focused?: boolean | undefined;
|
|
351
|
+
readonly defaultValue?: string | number | undefined;
|
|
352
|
+
readonly maxlength?: number | undefined;
|
|
353
|
+
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
354
|
+
readonly htmlSize?: number | undefined;
|
|
355
|
+
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
356
|
+
readonly onMouseUp?: MouseEventHandler | undefined;
|
|
357
|
+
readonly onRawInput?: ChangeEventHandler | undefined;
|
|
358
|
+
readonly valueModifiers?: Record<string, any> | undefined;
|
|
359
|
+
readonly inputElement?: any;
|
|
360
|
+
readonly triggerFocus?: (() => void) | undefined;
|
|
361
|
+
readonly readonly?: boolean | undefined;
|
|
362
|
+
readonly handleReset?: MouseEventHandler | undefined;
|
|
363
|
+
readonly addonBefore?: any;
|
|
364
|
+
readonly addonAfter?: any;
|
|
365
|
+
readonly clearIcon?: any;
|
|
366
|
+
readonly allowClear?: boolean | undefined;
|
|
367
|
+
readonly emptyText?: string | undefined;
|
|
368
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
369
|
+
$attrs: {
|
|
370
|
+
[x: string]: unknown;
|
|
371
|
+
};
|
|
372
|
+
$refs: {
|
|
373
|
+
[x: string]: unknown;
|
|
374
|
+
};
|
|
375
|
+
$slots: Readonly<{
|
|
376
|
+
[name: string]: Slot<any> | undefined;
|
|
377
|
+
}>;
|
|
378
|
+
$root: ComponentPublicInstance | null;
|
|
379
|
+
$parent: ComponentPublicInstance | null;
|
|
380
|
+
$host: Element | null;
|
|
381
|
+
$emit: (event: "update:value", ...args: any[]) => void;
|
|
382
|
+
$el: any;
|
|
383
|
+
$options: ComponentOptionsBase<Readonly< ApFieldTextProps> & Readonly<{
|
|
384
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
}>, {
|
|
386
|
+
focus: (options?: InputFocusOptions) => void;
|
|
387
|
+
blur: () => void;
|
|
388
|
+
input: any;
|
|
389
|
+
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
390
|
+
select: () => void;
|
|
391
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
392
|
+
"update:value": (...args: any[]) => void;
|
|
393
|
+
}, string, {
|
|
394
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
395
|
+
mode: FieldMode;
|
|
396
|
+
disabled: boolean;
|
|
397
|
+
bordered: boolean;
|
|
398
|
+
lazy: boolean;
|
|
399
|
+
allowClear: boolean;
|
|
400
|
+
emptyText: string;
|
|
401
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
402
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
403
|
+
created?: (() => void) | (() => void)[];
|
|
404
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
405
|
+
mounted?: (() => void) | (() => void)[];
|
|
406
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
407
|
+
updated?: (() => void) | (() => void)[];
|
|
408
|
+
activated?: (() => void) | (() => void)[];
|
|
409
|
+
deactivated?: (() => void) | (() => void)[];
|
|
410
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
411
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
412
|
+
destroyed?: (() => void) | (() => void)[];
|
|
413
|
+
unmounted?: (() => void) | (() => void)[];
|
|
414
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
415
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
416
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
417
|
+
};
|
|
418
|
+
$forceUpdate: () => void;
|
|
419
|
+
$nextTick: nextTick;
|
|
420
|
+
$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;
|
|
421
|
+
} & Readonly<{
|
|
422
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
423
|
+
mode: FieldMode;
|
|
424
|
+
disabled: boolean;
|
|
425
|
+
bordered: boolean;
|
|
426
|
+
lazy: boolean;
|
|
427
|
+
allowClear: boolean;
|
|
428
|
+
emptyText: string;
|
|
429
|
+
}> & Omit<Readonly< ApFieldTextProps> & Readonly<{
|
|
430
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
431
|
+
}>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText") | "setSelectionRange"> & ShallowUnwrapRef<{
|
|
432
|
+
focus: (options?: InputFocusOptions) => void;
|
|
433
|
+
blur: () => void;
|
|
434
|
+
input: any;
|
|
435
|
+
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
436
|
+
select: () => void;
|
|
437
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
438
|
+
$slots: Readonly<{
|
|
439
|
+
addonAfter?: any;
|
|
440
|
+
addonBefore?: any;
|
|
441
|
+
prefix?: any;
|
|
442
|
+
suffix?: any;
|
|
443
|
+
clearIcon?: any;
|
|
444
|
+
}> & {
|
|
445
|
+
addonAfter?: any;
|
|
446
|
+
addonBefore?: any;
|
|
447
|
+
prefix?: any;
|
|
448
|
+
suffix?: any;
|
|
449
|
+
clearIcon?: any;
|
|
450
|
+
};
|
|
451
|
+
}) | null;
|
|
452
|
+
}, any, ComponentProvideOptions, {
|
|
159
453
|
P: {};
|
|
160
454
|
B: {};
|
|
161
455
|
D: {};
|
|
@@ -224,7 +518,305 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
224
518
|
hasFeedback: boolean;
|
|
225
519
|
autoLink: boolean;
|
|
226
520
|
validateFirst: boolean;
|
|
227
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
521
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
522
|
+
textAreaRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldTextAreaProps> & Readonly<{
|
|
523
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
524
|
+
}>, {
|
|
525
|
+
focus: (options?: InputFocusOptions) => void;
|
|
526
|
+
blur: () => void;
|
|
527
|
+
resizableTextArea: ComputedRef<any>;
|
|
528
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
529
|
+
"update:value": (...args: any[]) => void;
|
|
530
|
+
}, PublicProps, {
|
|
531
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
532
|
+
mode: FieldMode;
|
|
533
|
+
disabled: boolean;
|
|
534
|
+
bordered: boolean;
|
|
535
|
+
lazy: boolean;
|
|
536
|
+
allowClear: boolean;
|
|
537
|
+
emptyText: string;
|
|
538
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
539
|
+
textAreaRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
540
|
+
rows: NumberConstructor;
|
|
541
|
+
autosize: {
|
|
542
|
+
type: PropType<boolean | AutoSizeType>;
|
|
543
|
+
default: any;
|
|
544
|
+
};
|
|
545
|
+
autoSize: {
|
|
546
|
+
type: PropType<boolean | AutoSizeType>;
|
|
547
|
+
default: any;
|
|
548
|
+
};
|
|
549
|
+
onResize: {
|
|
550
|
+
type: PropType<(size: {
|
|
551
|
+
width: number;
|
|
552
|
+
height: number;
|
|
553
|
+
}) => void>;
|
|
554
|
+
};
|
|
555
|
+
onCompositionstart: {
|
|
556
|
+
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
557
|
+
};
|
|
558
|
+
onCompositionend: {
|
|
559
|
+
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
560
|
+
};
|
|
561
|
+
valueModifiers: ObjectConstructor;
|
|
562
|
+
size: {
|
|
563
|
+
type: PropType<SizeType>;
|
|
564
|
+
};
|
|
565
|
+
value: {
|
|
566
|
+
type: PropType<string | number>;
|
|
567
|
+
default: any;
|
|
568
|
+
};
|
|
569
|
+
name: StringConstructor;
|
|
570
|
+
type: {
|
|
571
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
572
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
573
|
+
};
|
|
574
|
+
onFocus: PropType<FocusEventHandler>;
|
|
575
|
+
onBlur: PropType<FocusEventHandler>;
|
|
576
|
+
onChange: PropType<ChangeEventHandler>;
|
|
577
|
+
onInput: PropType<ChangeEventHandler>;
|
|
578
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
579
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
580
|
+
onMousedown: {
|
|
581
|
+
type: PropType<MouseEventHandler>;
|
|
582
|
+
default: any;
|
|
583
|
+
};
|
|
584
|
+
focused: {
|
|
585
|
+
type: BooleanConstructor;
|
|
586
|
+
default: any;
|
|
587
|
+
};
|
|
588
|
+
hidden: {
|
|
589
|
+
type: BooleanConstructor;
|
|
590
|
+
default: any;
|
|
591
|
+
};
|
|
592
|
+
disabled: {
|
|
593
|
+
type: BooleanConstructor;
|
|
594
|
+
default: any;
|
|
595
|
+
};
|
|
596
|
+
prefixCls: StringConstructor;
|
|
597
|
+
id: StringConstructor;
|
|
598
|
+
autofocus: {
|
|
599
|
+
type: BooleanConstructor;
|
|
600
|
+
default: any;
|
|
601
|
+
};
|
|
602
|
+
autocomplete: StringConstructor;
|
|
603
|
+
readonly: {
|
|
604
|
+
type: BooleanConstructor;
|
|
605
|
+
default: any;
|
|
606
|
+
};
|
|
607
|
+
status: PropType<"" | "error" | "warning">;
|
|
608
|
+
defaultValue: {
|
|
609
|
+
type: PropType<string | number>;
|
|
610
|
+
default: any;
|
|
611
|
+
};
|
|
612
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
613
|
+
loading: {
|
|
614
|
+
type: BooleanConstructor;
|
|
615
|
+
default: any;
|
|
616
|
+
};
|
|
617
|
+
placeholder: {
|
|
618
|
+
type: PropType<string | number>;
|
|
619
|
+
};
|
|
620
|
+
lazy: {
|
|
621
|
+
type: BooleanConstructor;
|
|
622
|
+
default: boolean;
|
|
623
|
+
};
|
|
624
|
+
maxlength: NumberConstructor;
|
|
625
|
+
bordered: {
|
|
626
|
+
type: BooleanConstructor;
|
|
627
|
+
default: any;
|
|
628
|
+
};
|
|
629
|
+
showCount: {
|
|
630
|
+
type: PropType<boolean | ShowCountProps>;
|
|
631
|
+
};
|
|
632
|
+
htmlSize: NumberConstructor;
|
|
633
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
634
|
+
onMouseUp: {
|
|
635
|
+
type: PropType<MouseEventHandler>;
|
|
636
|
+
default: any;
|
|
637
|
+
};
|
|
638
|
+
onRawInput: PropType<ChangeEventHandler>;
|
|
639
|
+
inputElement: VueTypeValidableDef<any>;
|
|
640
|
+
triggerFocus: PropType<() => void>;
|
|
641
|
+
handleReset: PropType<MouseEventHandler>;
|
|
642
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
643
|
+
allowClear: {
|
|
644
|
+
type: BooleanConstructor;
|
|
645
|
+
default: any;
|
|
646
|
+
};
|
|
647
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
648
|
+
value: string | number;
|
|
649
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
650
|
+
onMousedown: MouseEventHandler;
|
|
651
|
+
focused: boolean;
|
|
652
|
+
hidden: boolean;
|
|
653
|
+
disabled: boolean;
|
|
654
|
+
autofocus: boolean;
|
|
655
|
+
readonly: boolean;
|
|
656
|
+
defaultValue: string | number;
|
|
657
|
+
loading: boolean;
|
|
658
|
+
lazy: boolean;
|
|
659
|
+
bordered: boolean;
|
|
660
|
+
onMouseUp: MouseEventHandler;
|
|
661
|
+
allowClear: boolean;
|
|
662
|
+
autosize: any;
|
|
663
|
+
autoSize: any;
|
|
664
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
665
|
+
P: {};
|
|
666
|
+
B: {};
|
|
667
|
+
D: {};
|
|
668
|
+
C: {};
|
|
669
|
+
M: {};
|
|
670
|
+
Defaults: {};
|
|
671
|
+
}, Readonly< ExtractPropTypes<{
|
|
672
|
+
rows: NumberConstructor;
|
|
673
|
+
autosize: {
|
|
674
|
+
type: PropType<boolean | AutoSizeType>;
|
|
675
|
+
default: any;
|
|
676
|
+
};
|
|
677
|
+
autoSize: {
|
|
678
|
+
type: PropType<boolean | AutoSizeType>;
|
|
679
|
+
default: any;
|
|
680
|
+
};
|
|
681
|
+
onResize: {
|
|
682
|
+
type: PropType<(size: {
|
|
683
|
+
width: number;
|
|
684
|
+
height: number;
|
|
685
|
+
}) => void>;
|
|
686
|
+
};
|
|
687
|
+
onCompositionstart: {
|
|
688
|
+
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
689
|
+
};
|
|
690
|
+
onCompositionend: {
|
|
691
|
+
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
692
|
+
};
|
|
693
|
+
valueModifiers: ObjectConstructor;
|
|
694
|
+
size: {
|
|
695
|
+
type: PropType<SizeType>;
|
|
696
|
+
};
|
|
697
|
+
value: {
|
|
698
|
+
type: PropType<string | number>;
|
|
699
|
+
default: any;
|
|
700
|
+
};
|
|
701
|
+
name: StringConstructor;
|
|
702
|
+
type: {
|
|
703
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
704
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
705
|
+
};
|
|
706
|
+
onFocus: PropType<FocusEventHandler>;
|
|
707
|
+
onBlur: PropType<FocusEventHandler>;
|
|
708
|
+
onChange: PropType<ChangeEventHandler>;
|
|
709
|
+
onInput: PropType<ChangeEventHandler>;
|
|
710
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
711
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
712
|
+
onMousedown: {
|
|
713
|
+
type: PropType<MouseEventHandler>;
|
|
714
|
+
default: any;
|
|
715
|
+
};
|
|
716
|
+
focused: {
|
|
717
|
+
type: BooleanConstructor;
|
|
718
|
+
default: any;
|
|
719
|
+
};
|
|
720
|
+
hidden: {
|
|
721
|
+
type: BooleanConstructor;
|
|
722
|
+
default: any;
|
|
723
|
+
};
|
|
724
|
+
disabled: {
|
|
725
|
+
type: BooleanConstructor;
|
|
726
|
+
default: any;
|
|
727
|
+
};
|
|
728
|
+
prefixCls: StringConstructor;
|
|
729
|
+
id: StringConstructor;
|
|
730
|
+
autofocus: {
|
|
731
|
+
type: BooleanConstructor;
|
|
732
|
+
default: any;
|
|
733
|
+
};
|
|
734
|
+
autocomplete: StringConstructor;
|
|
735
|
+
readonly: {
|
|
736
|
+
type: BooleanConstructor;
|
|
737
|
+
default: any;
|
|
738
|
+
};
|
|
739
|
+
status: PropType<"" | "error" | "warning">;
|
|
740
|
+
defaultValue: {
|
|
741
|
+
type: PropType<string | number>;
|
|
742
|
+
default: any;
|
|
743
|
+
};
|
|
744
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
745
|
+
loading: {
|
|
746
|
+
type: BooleanConstructor;
|
|
747
|
+
default: any;
|
|
748
|
+
};
|
|
749
|
+
placeholder: {
|
|
750
|
+
type: PropType<string | number>;
|
|
751
|
+
};
|
|
752
|
+
lazy: {
|
|
753
|
+
type: BooleanConstructor;
|
|
754
|
+
default: boolean;
|
|
755
|
+
};
|
|
756
|
+
maxlength: NumberConstructor;
|
|
757
|
+
bordered: {
|
|
758
|
+
type: BooleanConstructor;
|
|
759
|
+
default: any;
|
|
760
|
+
};
|
|
761
|
+
showCount: {
|
|
762
|
+
type: PropType<boolean | ShowCountProps>;
|
|
763
|
+
};
|
|
764
|
+
htmlSize: NumberConstructor;
|
|
765
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
766
|
+
onMouseUp: {
|
|
767
|
+
type: PropType<MouseEventHandler>;
|
|
768
|
+
default: any;
|
|
769
|
+
};
|
|
770
|
+
onRawInput: PropType<ChangeEventHandler>;
|
|
771
|
+
inputElement: VueTypeValidableDef<any>;
|
|
772
|
+
triggerFocus: PropType<() => void>;
|
|
773
|
+
handleReset: PropType<MouseEventHandler>;
|
|
774
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
775
|
+
allowClear: {
|
|
776
|
+
type: BooleanConstructor;
|
|
777
|
+
default: any;
|
|
778
|
+
};
|
|
779
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
780
|
+
value: string | number;
|
|
781
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
782
|
+
onMousedown: MouseEventHandler;
|
|
783
|
+
focused: boolean;
|
|
784
|
+
hidden: boolean;
|
|
785
|
+
disabled: boolean;
|
|
786
|
+
autofocus: boolean;
|
|
787
|
+
readonly: boolean;
|
|
788
|
+
defaultValue: string | number;
|
|
789
|
+
loading: boolean;
|
|
790
|
+
lazy: boolean;
|
|
791
|
+
bordered: boolean;
|
|
792
|
+
onMouseUp: MouseEventHandler;
|
|
793
|
+
allowClear: boolean;
|
|
794
|
+
autosize: any;
|
|
795
|
+
autoSize: any;
|
|
796
|
+
}> | null;
|
|
797
|
+
}, any, ComponentProvideOptions, {
|
|
798
|
+
P: {};
|
|
799
|
+
B: {};
|
|
800
|
+
D: {};
|
|
801
|
+
C: {};
|
|
802
|
+
M: {};
|
|
803
|
+
Defaults: {};
|
|
804
|
+
}, Readonly< ApFieldTextAreaProps> & Readonly<{
|
|
805
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
806
|
+
}>, {
|
|
807
|
+
focus: (options?: InputFocusOptions) => void;
|
|
808
|
+
blur: () => void;
|
|
809
|
+
resizableTextArea: ComputedRef<any>;
|
|
810
|
+
}, {}, {}, {}, {
|
|
811
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
812
|
+
mode: FieldMode;
|
|
813
|
+
disabled: boolean;
|
|
814
|
+
bordered: boolean;
|
|
815
|
+
lazy: boolean;
|
|
816
|
+
allowClear: boolean;
|
|
817
|
+
emptyText: string;
|
|
818
|
+
}> | null;
|
|
819
|
+
}, any, ComponentProvideOptions, {
|
|
228
820
|
P: {};
|
|
229
821
|
B: {};
|
|
230
822
|
D: {};
|
|
@@ -281,7 +873,465 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
281
873
|
hasFeedback: boolean;
|
|
282
874
|
autoLink: boolean;
|
|
283
875
|
validateFirst: boolean;
|
|
284
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
876
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
877
|
+
inputNumberRef: ({
|
|
878
|
+
$: ComponentInternalInstance;
|
|
879
|
+
$data: {};
|
|
880
|
+
$props: {
|
|
881
|
+
readonly mode?: FieldMode | undefined;
|
|
882
|
+
readonly class?: unknown;
|
|
883
|
+
readonly style?: unknown;
|
|
884
|
+
readonly size?: ButtonSize;
|
|
885
|
+
readonly step?: ValueType | undefined;
|
|
886
|
+
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
887
|
+
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
888
|
+
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
889
|
+
readonly onInput?: ((text: string) => void) | undefined;
|
|
890
|
+
readonly value?: ValueType | undefined;
|
|
891
|
+
readonly disabled?: boolean | undefined;
|
|
892
|
+
readonly bordered?: boolean | undefined;
|
|
893
|
+
readonly prefixCls?: string | undefined;
|
|
894
|
+
readonly status?: "" | "error" | "warning" | undefined;
|
|
895
|
+
readonly keyboard?: boolean | undefined;
|
|
896
|
+
readonly autofocus?: boolean | undefined;
|
|
897
|
+
readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
898
|
+
readonly max?: ValueType | undefined;
|
|
899
|
+
readonly min?: ValueType | undefined;
|
|
900
|
+
readonly defaultValue?: ValueType | undefined;
|
|
901
|
+
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
902
|
+
readonly readonly?: boolean | undefined;
|
|
903
|
+
readonly stringMode?: boolean | undefined;
|
|
904
|
+
readonly controls?: boolean | undefined;
|
|
905
|
+
readonly parser?: ((displayValue: string) => ValueType) | undefined;
|
|
906
|
+
readonly formatter?: ((value: ValueType, info: {
|
|
907
|
+
userTyping: boolean;
|
|
908
|
+
input: string;
|
|
909
|
+
}) => string) | undefined;
|
|
910
|
+
readonly onStep?: ((value: ValueType, info: {
|
|
911
|
+
offset: ValueType;
|
|
912
|
+
type: "up" | "down";
|
|
913
|
+
}) => void) | undefined;
|
|
914
|
+
readonly type?: string | undefined;
|
|
915
|
+
readonly name?: string | undefined;
|
|
916
|
+
readonly id?: string | undefined;
|
|
917
|
+
readonly placeholder?: string | undefined;
|
|
918
|
+
readonly tabindex?: number | undefined;
|
|
919
|
+
readonly prefix?: any;
|
|
920
|
+
readonly suffix?: any;
|
|
921
|
+
readonly valueModifiers?: Record<string, any> | undefined;
|
|
922
|
+
readonly addonBefore?: any;
|
|
923
|
+
readonly addonAfter?: any;
|
|
924
|
+
readonly precision?: number | undefined;
|
|
925
|
+
readonly decimalSeparator?: string | undefined;
|
|
926
|
+
readonly emptyText?: string | undefined;
|
|
927
|
+
readonly thousands?: boolean | undefined;
|
|
928
|
+
readonly limitDecimalsRetain?: boolean | undefined;
|
|
929
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
930
|
+
$attrs: {
|
|
931
|
+
[x: string]: unknown;
|
|
932
|
+
};
|
|
933
|
+
$refs: {
|
|
934
|
+
[x: string]: unknown;
|
|
935
|
+
} & {
|
|
936
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
937
|
+
size: {
|
|
938
|
+
type: PropType<ButtonSize>;
|
|
939
|
+
default: ButtonSize;
|
|
940
|
+
};
|
|
941
|
+
bordered: {
|
|
942
|
+
type: BooleanConstructor;
|
|
943
|
+
default: boolean;
|
|
944
|
+
};
|
|
945
|
+
placeholder: StringConstructor;
|
|
946
|
+
name: StringConstructor;
|
|
947
|
+
id: StringConstructor;
|
|
948
|
+
type: StringConstructor;
|
|
949
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
950
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
951
|
+
prefix: VueTypeValidableDef<any>;
|
|
952
|
+
suffix: VueTypeValidableDef<any>;
|
|
953
|
+
'onUpdate:value': {
|
|
954
|
+
type: PropType<(value: ValueType) => void>;
|
|
955
|
+
default: (value: ValueType) => void;
|
|
956
|
+
};
|
|
957
|
+
valueModifiers: ObjectConstructor;
|
|
958
|
+
status: {
|
|
959
|
+
type: PropType<"" | "error" | "warning">;
|
|
960
|
+
default: "" | "error" | "warning";
|
|
961
|
+
};
|
|
962
|
+
stringMode: {
|
|
963
|
+
type: BooleanConstructor;
|
|
964
|
+
default: boolean;
|
|
965
|
+
};
|
|
966
|
+
defaultValue: {
|
|
967
|
+
type: PropType<ValueType>;
|
|
968
|
+
default: ValueType;
|
|
969
|
+
};
|
|
970
|
+
value: {
|
|
971
|
+
type: PropType<ValueType>;
|
|
972
|
+
default: ValueType;
|
|
973
|
+
};
|
|
974
|
+
prefixCls: {
|
|
975
|
+
type: PropType<string>;
|
|
976
|
+
default: string;
|
|
977
|
+
};
|
|
978
|
+
min: {
|
|
979
|
+
type: PropType<ValueType>;
|
|
980
|
+
default: ValueType;
|
|
981
|
+
};
|
|
982
|
+
max: {
|
|
983
|
+
type: PropType<ValueType>;
|
|
984
|
+
default: ValueType;
|
|
985
|
+
};
|
|
986
|
+
step: {
|
|
987
|
+
type: PropType<ValueType>;
|
|
988
|
+
default: ValueType;
|
|
989
|
+
};
|
|
990
|
+
tabindex: NumberConstructor;
|
|
991
|
+
controls: {
|
|
992
|
+
type: BooleanConstructor;
|
|
993
|
+
default: boolean;
|
|
994
|
+
};
|
|
995
|
+
readonly: {
|
|
996
|
+
type: BooleanConstructor;
|
|
997
|
+
default: boolean;
|
|
998
|
+
};
|
|
999
|
+
disabled: {
|
|
1000
|
+
type: BooleanConstructor;
|
|
1001
|
+
default: boolean;
|
|
1002
|
+
};
|
|
1003
|
+
autofocus: {
|
|
1004
|
+
type: BooleanConstructor;
|
|
1005
|
+
default: boolean;
|
|
1006
|
+
};
|
|
1007
|
+
keyboard: {
|
|
1008
|
+
type: BooleanConstructor;
|
|
1009
|
+
default: boolean;
|
|
1010
|
+
};
|
|
1011
|
+
parser: {
|
|
1012
|
+
type: PropType<(displayValue: string) => ValueType>;
|
|
1013
|
+
default: (displayValue: string) => ValueType;
|
|
1014
|
+
};
|
|
1015
|
+
formatter: {
|
|
1016
|
+
type: PropType<(value: ValueType, info: {
|
|
1017
|
+
userTyping: boolean;
|
|
1018
|
+
input: string;
|
|
1019
|
+
}) => string>;
|
|
1020
|
+
default: (value: ValueType, info: {
|
|
1021
|
+
userTyping: boolean;
|
|
1022
|
+
input: string;
|
|
1023
|
+
}) => string;
|
|
1024
|
+
};
|
|
1025
|
+
precision: NumberConstructor;
|
|
1026
|
+
decimalSeparator: StringConstructor;
|
|
1027
|
+
onInput: {
|
|
1028
|
+
type: PropType<(text: string) => void>;
|
|
1029
|
+
default: (text: string) => void;
|
|
1030
|
+
};
|
|
1031
|
+
onChange: {
|
|
1032
|
+
type: PropType<(value: ValueType) => void>;
|
|
1033
|
+
default: (value: ValueType) => void;
|
|
1034
|
+
};
|
|
1035
|
+
onPressEnter: {
|
|
1036
|
+
type: PropType<KeyboardEventHandler>;
|
|
1037
|
+
default: KeyboardEventHandler;
|
|
1038
|
+
};
|
|
1039
|
+
onStep: {
|
|
1040
|
+
type: PropType<(value: ValueType, info: {
|
|
1041
|
+
offset: ValueType;
|
|
1042
|
+
type: "up" | "down";
|
|
1043
|
+
}) => void>;
|
|
1044
|
+
default: (value: ValueType, info: {
|
|
1045
|
+
offset: ValueType;
|
|
1046
|
+
type: "up" | "down";
|
|
1047
|
+
}) => void;
|
|
1048
|
+
};
|
|
1049
|
+
onBlur: {
|
|
1050
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
1051
|
+
default: (e: FocusEvent) => void;
|
|
1052
|
+
};
|
|
1053
|
+
onFocus: {
|
|
1054
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
1055
|
+
default: (e: FocusEvent) => void;
|
|
1056
|
+
};
|
|
1057
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1058
|
+
size: ButtonSize;
|
|
1059
|
+
value: ValueType;
|
|
1060
|
+
onFocus: (e: FocusEvent) => void;
|
|
1061
|
+
onBlur: (e: FocusEvent) => void;
|
|
1062
|
+
onChange: (value: ValueType) => void;
|
|
1063
|
+
onInput: (text: string) => void;
|
|
1064
|
+
disabled: boolean;
|
|
1065
|
+
max: ValueType;
|
|
1066
|
+
min: ValueType;
|
|
1067
|
+
prefixCls: string;
|
|
1068
|
+
autofocus: boolean;
|
|
1069
|
+
readonly: boolean;
|
|
1070
|
+
status: "" | "error" | "warning";
|
|
1071
|
+
defaultValue: ValueType;
|
|
1072
|
+
'onUpdate:value': (value: ValueType) => void;
|
|
1073
|
+
step: ValueType;
|
|
1074
|
+
bordered: boolean;
|
|
1075
|
+
onPressEnter: KeyboardEventHandler;
|
|
1076
|
+
formatter: (value: ValueType, info: {
|
|
1077
|
+
userTyping: boolean;
|
|
1078
|
+
input: string;
|
|
1079
|
+
}) => string;
|
|
1080
|
+
keyboard: boolean;
|
|
1081
|
+
onStep: (value: ValueType, info: {
|
|
1082
|
+
offset: ValueType;
|
|
1083
|
+
type: "up" | "down";
|
|
1084
|
+
}) => void;
|
|
1085
|
+
stringMode: boolean;
|
|
1086
|
+
controls: boolean;
|
|
1087
|
+
parser: (displayValue: string) => ValueType;
|
|
1088
|
+
}, true, {}, CustomSlotsType<{
|
|
1089
|
+
addonBefore?: any;
|
|
1090
|
+
addonAfter?: any;
|
|
1091
|
+
prefix?: any;
|
|
1092
|
+
suffix?: any;
|
|
1093
|
+
default?: any;
|
|
1094
|
+
upIcon?: any;
|
|
1095
|
+
downIcon?: any;
|
|
1096
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1097
|
+
P: {};
|
|
1098
|
+
B: {};
|
|
1099
|
+
D: {};
|
|
1100
|
+
C: {};
|
|
1101
|
+
M: {};
|
|
1102
|
+
Defaults: {};
|
|
1103
|
+
}, Readonly< ExtractPropTypes<{
|
|
1104
|
+
size: {
|
|
1105
|
+
type: PropType<ButtonSize>;
|
|
1106
|
+
default: ButtonSize;
|
|
1107
|
+
};
|
|
1108
|
+
bordered: {
|
|
1109
|
+
type: BooleanConstructor;
|
|
1110
|
+
default: boolean;
|
|
1111
|
+
};
|
|
1112
|
+
placeholder: StringConstructor;
|
|
1113
|
+
name: StringConstructor;
|
|
1114
|
+
id: StringConstructor;
|
|
1115
|
+
type: StringConstructor;
|
|
1116
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
1117
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
1118
|
+
prefix: VueTypeValidableDef<any>;
|
|
1119
|
+
suffix: VueTypeValidableDef<any>;
|
|
1120
|
+
'onUpdate:value': {
|
|
1121
|
+
type: PropType<(value: ValueType) => void>;
|
|
1122
|
+
default: (value: ValueType) => void;
|
|
1123
|
+
};
|
|
1124
|
+
valueModifiers: ObjectConstructor;
|
|
1125
|
+
status: {
|
|
1126
|
+
type: PropType<"" | "error" | "warning">;
|
|
1127
|
+
default: "" | "error" | "warning";
|
|
1128
|
+
};
|
|
1129
|
+
stringMode: {
|
|
1130
|
+
type: BooleanConstructor;
|
|
1131
|
+
default: boolean;
|
|
1132
|
+
};
|
|
1133
|
+
defaultValue: {
|
|
1134
|
+
type: PropType<ValueType>;
|
|
1135
|
+
default: ValueType;
|
|
1136
|
+
};
|
|
1137
|
+
value: {
|
|
1138
|
+
type: PropType<ValueType>;
|
|
1139
|
+
default: ValueType;
|
|
1140
|
+
};
|
|
1141
|
+
prefixCls: {
|
|
1142
|
+
type: PropType<string>;
|
|
1143
|
+
default: string;
|
|
1144
|
+
};
|
|
1145
|
+
min: {
|
|
1146
|
+
type: PropType<ValueType>;
|
|
1147
|
+
default: ValueType;
|
|
1148
|
+
};
|
|
1149
|
+
max: {
|
|
1150
|
+
type: PropType<ValueType>;
|
|
1151
|
+
default: ValueType;
|
|
1152
|
+
};
|
|
1153
|
+
step: {
|
|
1154
|
+
type: PropType<ValueType>;
|
|
1155
|
+
default: ValueType;
|
|
1156
|
+
};
|
|
1157
|
+
tabindex: NumberConstructor;
|
|
1158
|
+
controls: {
|
|
1159
|
+
type: BooleanConstructor;
|
|
1160
|
+
default: boolean;
|
|
1161
|
+
};
|
|
1162
|
+
readonly: {
|
|
1163
|
+
type: BooleanConstructor;
|
|
1164
|
+
default: boolean;
|
|
1165
|
+
};
|
|
1166
|
+
disabled: {
|
|
1167
|
+
type: BooleanConstructor;
|
|
1168
|
+
default: boolean;
|
|
1169
|
+
};
|
|
1170
|
+
autofocus: {
|
|
1171
|
+
type: BooleanConstructor;
|
|
1172
|
+
default: boolean;
|
|
1173
|
+
};
|
|
1174
|
+
keyboard: {
|
|
1175
|
+
type: BooleanConstructor;
|
|
1176
|
+
default: boolean;
|
|
1177
|
+
};
|
|
1178
|
+
parser: {
|
|
1179
|
+
type: PropType<(displayValue: string) => ValueType>;
|
|
1180
|
+
default: (displayValue: string) => ValueType;
|
|
1181
|
+
};
|
|
1182
|
+
formatter: {
|
|
1183
|
+
type: PropType<(value: ValueType, info: {
|
|
1184
|
+
userTyping: boolean;
|
|
1185
|
+
input: string;
|
|
1186
|
+
}) => string>;
|
|
1187
|
+
default: (value: ValueType, info: {
|
|
1188
|
+
userTyping: boolean;
|
|
1189
|
+
input: string;
|
|
1190
|
+
}) => string;
|
|
1191
|
+
};
|
|
1192
|
+
precision: NumberConstructor;
|
|
1193
|
+
decimalSeparator: StringConstructor;
|
|
1194
|
+
onInput: {
|
|
1195
|
+
type: PropType<(text: string) => void>;
|
|
1196
|
+
default: (text: string) => void;
|
|
1197
|
+
};
|
|
1198
|
+
onChange: {
|
|
1199
|
+
type: PropType<(value: ValueType) => void>;
|
|
1200
|
+
default: (value: ValueType) => void;
|
|
1201
|
+
};
|
|
1202
|
+
onPressEnter: {
|
|
1203
|
+
type: PropType<KeyboardEventHandler>;
|
|
1204
|
+
default: KeyboardEventHandler;
|
|
1205
|
+
};
|
|
1206
|
+
onStep: {
|
|
1207
|
+
type: PropType<(value: ValueType, info: {
|
|
1208
|
+
offset: ValueType;
|
|
1209
|
+
type: "up" | "down";
|
|
1210
|
+
}) => void>;
|
|
1211
|
+
default: (value: ValueType, info: {
|
|
1212
|
+
offset: ValueType;
|
|
1213
|
+
type: "up" | "down";
|
|
1214
|
+
}) => void;
|
|
1215
|
+
};
|
|
1216
|
+
onBlur: {
|
|
1217
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
1218
|
+
default: (e: FocusEvent) => void;
|
|
1219
|
+
};
|
|
1220
|
+
onFocus: {
|
|
1221
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
1222
|
+
default: (e: FocusEvent) => void;
|
|
1223
|
+
};
|
|
1224
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1225
|
+
size: ButtonSize;
|
|
1226
|
+
value: ValueType;
|
|
1227
|
+
onFocus: (e: FocusEvent) => void;
|
|
1228
|
+
onBlur: (e: FocusEvent) => void;
|
|
1229
|
+
onChange: (value: ValueType) => void;
|
|
1230
|
+
onInput: (text: string) => void;
|
|
1231
|
+
disabled: boolean;
|
|
1232
|
+
max: ValueType;
|
|
1233
|
+
min: ValueType;
|
|
1234
|
+
prefixCls: string;
|
|
1235
|
+
autofocus: boolean;
|
|
1236
|
+
readonly: boolean;
|
|
1237
|
+
status: "" | "error" | "warning";
|
|
1238
|
+
defaultValue: ValueType;
|
|
1239
|
+
'onUpdate:value': (value: ValueType) => void;
|
|
1240
|
+
step: ValueType;
|
|
1241
|
+
bordered: boolean;
|
|
1242
|
+
onPressEnter: KeyboardEventHandler;
|
|
1243
|
+
formatter: (value: ValueType, info: {
|
|
1244
|
+
userTyping: boolean;
|
|
1245
|
+
input: string;
|
|
1246
|
+
}) => string;
|
|
1247
|
+
keyboard: boolean;
|
|
1248
|
+
onStep: (value: ValueType, info: {
|
|
1249
|
+
offset: ValueType;
|
|
1250
|
+
type: "up" | "down";
|
|
1251
|
+
}) => void;
|
|
1252
|
+
stringMode: boolean;
|
|
1253
|
+
controls: boolean;
|
|
1254
|
+
parser: (displayValue: string) => ValueType;
|
|
1255
|
+
}> | null;
|
|
1256
|
+
};
|
|
1257
|
+
$slots: Readonly<{
|
|
1258
|
+
[name: string]: Slot<any> | undefined;
|
|
1259
|
+
}>;
|
|
1260
|
+
$root: ComponentPublicInstance | null;
|
|
1261
|
+
$parent: ComponentPublicInstance | null;
|
|
1262
|
+
$host: Element | null;
|
|
1263
|
+
$emit: (event: "update:value", ...args: any[]) => void;
|
|
1264
|
+
$el: any;
|
|
1265
|
+
$options: ComponentOptionsBase<Readonly< ApFieldNumberProps> & Readonly<{
|
|
1266
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1267
|
+
}>, {
|
|
1268
|
+
focus: () => void;
|
|
1269
|
+
blur: () => void;
|
|
1270
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1271
|
+
"update:value": (...args: any[]) => void;
|
|
1272
|
+
}, string, {
|
|
1273
|
+
step: ValueType;
|
|
1274
|
+
disabled: boolean;
|
|
1275
|
+
bordered: boolean;
|
|
1276
|
+
keyboard: boolean;
|
|
1277
|
+
max: ValueType;
|
|
1278
|
+
min: ValueType;
|
|
1279
|
+
controls: boolean;
|
|
1280
|
+
emptyText: string;
|
|
1281
|
+
thousands: boolean;
|
|
1282
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1283
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1284
|
+
created?: (() => void) | (() => void)[];
|
|
1285
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1286
|
+
mounted?: (() => void) | (() => void)[];
|
|
1287
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1288
|
+
updated?: (() => void) | (() => void)[];
|
|
1289
|
+
activated?: (() => void) | (() => void)[];
|
|
1290
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1291
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1292
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1293
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1294
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1295
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1296
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1297
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1298
|
+
};
|
|
1299
|
+
$forceUpdate: () => void;
|
|
1300
|
+
$nextTick: nextTick;
|
|
1301
|
+
$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;
|
|
1302
|
+
} & Readonly<{
|
|
1303
|
+
step: ValueType;
|
|
1304
|
+
disabled: boolean;
|
|
1305
|
+
bordered: boolean;
|
|
1306
|
+
keyboard: boolean;
|
|
1307
|
+
max: ValueType;
|
|
1308
|
+
min: ValueType;
|
|
1309
|
+
controls: boolean;
|
|
1310
|
+
emptyText: string;
|
|
1311
|
+
thousands: boolean;
|
|
1312
|
+
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
1313
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1314
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
|
|
1315
|
+
focus: () => void;
|
|
1316
|
+
blur: () => void;
|
|
1317
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1318
|
+
$slots: Readonly<{
|
|
1319
|
+
addonBefore?: any;
|
|
1320
|
+
addonAfter?: any;
|
|
1321
|
+
prefix?: any;
|
|
1322
|
+
default?: any;
|
|
1323
|
+
upIcon?: any;
|
|
1324
|
+
downIcon?: any;
|
|
1325
|
+
}> & {
|
|
1326
|
+
addonBefore?: any;
|
|
1327
|
+
addonAfter?: any;
|
|
1328
|
+
prefix?: any;
|
|
1329
|
+
default?: any;
|
|
1330
|
+
upIcon?: any;
|
|
1331
|
+
downIcon?: any;
|
|
1332
|
+
};
|
|
1333
|
+
}) | null;
|
|
1334
|
+
}, any, ComponentProvideOptions, {
|
|
285
1335
|
P: {};
|
|
286
1336
|
B: {};
|
|
287
1337
|
D: {};
|
|
@@ -464,7 +1514,129 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
464
1514
|
hasFeedback: boolean;
|
|
465
1515
|
autoLink: boolean;
|
|
466
1516
|
validateFirst: boolean;
|
|
467
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1517
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1518
|
+
radioRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldRadioProps> & Readonly<{
|
|
1519
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1520
|
+
}>, {
|
|
1521
|
+
focus: () => void;
|
|
1522
|
+
blur: () => void;
|
|
1523
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1524
|
+
"update:value": (...args: any[]) => void;
|
|
1525
|
+
}, PublicProps, {
|
|
1526
|
+
mode: FieldMode;
|
|
1527
|
+
vertical: boolean;
|
|
1528
|
+
disabled: boolean;
|
|
1529
|
+
emptyText: string;
|
|
1530
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1531
|
+
radioGroupRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
1532
|
+
prefixCls: StringConstructor;
|
|
1533
|
+
value: VueTypeValidableDef<any>;
|
|
1534
|
+
size: {
|
|
1535
|
+
type: PropType<"default" | "small" | "large">;
|
|
1536
|
+
default: "default" | "small" | "large";
|
|
1537
|
+
};
|
|
1538
|
+
options: {
|
|
1539
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
1540
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
1541
|
+
};
|
|
1542
|
+
disabled: {
|
|
1543
|
+
type: BooleanConstructor;
|
|
1544
|
+
default: boolean;
|
|
1545
|
+
};
|
|
1546
|
+
name: StringConstructor;
|
|
1547
|
+
buttonStyle: {
|
|
1548
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
1549
|
+
default: RadioGroupButtonStyle;
|
|
1550
|
+
};
|
|
1551
|
+
id: StringConstructor;
|
|
1552
|
+
optionType: {
|
|
1553
|
+
type: PropType<RadioGroupOptionType>;
|
|
1554
|
+
default: RadioGroupOptionType;
|
|
1555
|
+
};
|
|
1556
|
+
onChange: {
|
|
1557
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
1558
|
+
default: (e: RadioChangeEvent) => void;
|
|
1559
|
+
};
|
|
1560
|
+
'onUpdate:value': {
|
|
1561
|
+
type: PropType<(val: any) => void>;
|
|
1562
|
+
default: (val: any) => void;
|
|
1563
|
+
};
|
|
1564
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1565
|
+
size: "default" | "small" | "large";
|
|
1566
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
1567
|
+
disabled: boolean;
|
|
1568
|
+
'onUpdate:value': (val: any) => void;
|
|
1569
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
1570
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
1571
|
+
optionType: RadioGroupOptionType;
|
|
1572
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1573
|
+
P: {};
|
|
1574
|
+
B: {};
|
|
1575
|
+
D: {};
|
|
1576
|
+
C: {};
|
|
1577
|
+
M: {};
|
|
1578
|
+
Defaults: {};
|
|
1579
|
+
}, Readonly< ExtractPropTypes<{
|
|
1580
|
+
prefixCls: StringConstructor;
|
|
1581
|
+
value: VueTypeValidableDef<any>;
|
|
1582
|
+
size: {
|
|
1583
|
+
type: PropType<"default" | "small" | "large">;
|
|
1584
|
+
default: "default" | "small" | "large";
|
|
1585
|
+
};
|
|
1586
|
+
options: {
|
|
1587
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
1588
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
1589
|
+
};
|
|
1590
|
+
disabled: {
|
|
1591
|
+
type: BooleanConstructor;
|
|
1592
|
+
default: boolean;
|
|
1593
|
+
};
|
|
1594
|
+
name: StringConstructor;
|
|
1595
|
+
buttonStyle: {
|
|
1596
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
1597
|
+
default: RadioGroupButtonStyle;
|
|
1598
|
+
};
|
|
1599
|
+
id: StringConstructor;
|
|
1600
|
+
optionType: {
|
|
1601
|
+
type: PropType<RadioGroupOptionType>;
|
|
1602
|
+
default: RadioGroupOptionType;
|
|
1603
|
+
};
|
|
1604
|
+
onChange: {
|
|
1605
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
1606
|
+
default: (e: RadioChangeEvent) => void;
|
|
1607
|
+
};
|
|
1608
|
+
'onUpdate:value': {
|
|
1609
|
+
type: PropType<(val: any) => void>;
|
|
1610
|
+
default: (val: any) => void;
|
|
1611
|
+
};
|
|
1612
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1613
|
+
size: "default" | "small" | "large";
|
|
1614
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
1615
|
+
disabled: boolean;
|
|
1616
|
+
'onUpdate:value': (val: any) => void;
|
|
1617
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
1618
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
1619
|
+
optionType: RadioGroupOptionType;
|
|
1620
|
+
}> | null;
|
|
1621
|
+
}, any, ComponentProvideOptions, {
|
|
1622
|
+
P: {};
|
|
1623
|
+
B: {};
|
|
1624
|
+
D: {};
|
|
1625
|
+
C: {};
|
|
1626
|
+
M: {};
|
|
1627
|
+
Defaults: {};
|
|
1628
|
+
}, Readonly< ApFieldRadioProps> & Readonly<{
|
|
1629
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1630
|
+
}>, {
|
|
1631
|
+
focus: () => void;
|
|
1632
|
+
blur: () => void;
|
|
1633
|
+
}, {}, {}, {}, {
|
|
1634
|
+
mode: FieldMode;
|
|
1635
|
+
vertical: boolean;
|
|
1636
|
+
disabled: boolean;
|
|
1637
|
+
emptyText: string;
|
|
1638
|
+
}> | null;
|
|
1639
|
+
}, any, ComponentProvideOptions, {
|
|
468
1640
|
P: {};
|
|
469
1641
|
B: {};
|
|
470
1642
|
D: {};
|