@aplus-frontend/ui 0.4.18 → 0.4.19
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 +1 -2
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-modal/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -2
- package/es/src/ap-button/ap-button.vue.d.ts +1 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
- package/es/src/ap-download/ap-download.vue.d.ts +3 -5
- package/es/src/ap-field/date/index.vue.d.ts +1 -2
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -2
- package/es/src/ap-field/number/index.vue.d.ts +2 -324
- package/es/src/ap-field/radio/index.vue.d.ts +2 -98
- package/es/src/ap-field/rate/index.vue.d.ts +2 -84
- package/es/src/ap-field/segmented/index.vue.d.ts +1 -2
- package/es/src/ap-field/select/index.vue.d.ts +2 -409
- package/es/src/ap-field/select/index.vue.mjs +6 -7
- package/es/src/ap-field/slider/index.vue.d.ts +2 -259
- package/es/src/ap-field/switch/index.vue.d.ts +1 -2
- package/es/src/ap-field/text/index.vue.d.ts +1 -2
- package/es/src/ap-field/text/password.vue.d.ts +1 -2
- package/es/src/ap-field/text-area/index.vue.d.ts +2 -267
- package/es/src/ap-form/ap-form.vue.d.ts +4 -639
- package/es/src/ap-form/dependency/index.vue.d.ts +1 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +6 -1457
- package/es/src/ap-form/item/index.vue.d.ts +2 -779
- package/es/src/ap-form/item-group/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -785
- package/es/src/ap-form/items/radio/index.vue.d.ts +4 -223
- package/es/src/ap-form/items/select/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/group.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -141
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -150
- package/es/src/ap-form/items/text-area/index.vue.d.ts +4 -568
- package/es/src/ap-form/list/index.vue.d.ts +1 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +7 -1457
- package/es/src/ap-form/provider/index.vue.d.ts +1 -2
- package/es/src/ap-form/render/control.vue.d.ts +1 -2
- package/es/src/ap-form/render/item.vue.d.ts +1 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +5 -1457
- package/es/src/ap-form/set/index.vue.d.ts +1 -2
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -6
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
- package/es/src/ap-list/index.vue.d.ts +5 -3
- package/es/src/ap-table/ap-table.vue.d.ts +10 -3
- package/es/src/ap-table/ap-table.vue2.mjs +72 -68
- 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 +1 -2
- 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 +14 -2264
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/interface.d.ts +9 -0
- package/es/src/ap-table/utils.d.ts +8 -1180
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -5
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +2 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -453
- package/es/src/ap-upload/components/Picture.vue.d.ts +9 -7
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -3
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
- 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 +2 -5
- package/es/src/business/ap-batch-action/index.d.ts +1 -3
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
- package/es/src/business/ap-batch-action-group/index.d.ts +5 -887
- package/es/src/business/ap-card/ApCard.vue.d.ts +2 -3
- package/es/src/business/ap-card/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -5
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +8 -9
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -10
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +7 -8
- 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 +4 -418
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +340 -412
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +14 -15
- package/es/src/business/ap-image/ApImage.vue.d.ts +1 -2
- 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 +2 -6
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +1 -4
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/index.d.ts +44 -22
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
- 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 +18 -25
- package/es/src/business/ap-title/ApTitle.vue.d.ts +2 -3
- 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 +3 -5
- 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 +3 -146
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +2 -267
- package/es/src/business/hooks/usePageListApTable.d.ts +14 -0
- package/es/src/business/hooks/useTableRefresh.d.ts +4 -1
- package/es/src/business/hooks/useTableRefresh.mjs +33 -12
- package/es/src/check-card/group.vue.d.ts +1 -2
- package/es/src/check-card/index.vue.d.ts +2 -3
- package/es/src/config-provider/config-provider-props.d.ts +3 -0
- package/es/src/config-provider/config-provider-props.mjs +3 -0
- package/es/src/config-provider/config-provider.d.ts +6 -0
- package/es/src/config-provider/config-provider.mjs +24 -23
- package/es/src/config-provider/hooks/use-global-config.d.ts +3 -0
- package/es/src/config-provider/index.d.ts +9 -0
- package/es/src/editable-table/form-item.vue.d.ts +5 -3
- package/es/src/editable-table/index.vue.d.ts +5 -3
- package/es/src/full-screen/index.vue.d.ts +2 -6
- package/es/src/portal/index.vue.d.ts +1 -2
- package/es/src/resize-observer/index.vue.d.ts +1 -2
- package/es/src/scroll-bar/index.vue.d.ts +4 -43
- package/es/src/scroll-bar/index.vue.mjs +51 -49
- package/es/src/scroll-bar/internal.vue.d.ts +1 -5
- package/es/src/scroll-view/index.vue.d.ts +9 -97
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/utils/index.d.ts +8 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -827
- package/lib/src/ap-action/item/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -2
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -2
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
- package/lib/src/ap-download/ap-download.vue.d.ts +3 -5
- package/lib/src/ap-field/date/index.vue.d.ts +1 -2
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -2
- package/lib/src/ap-field/number/index.vue.d.ts +2 -324
- package/lib/src/ap-field/radio/index.vue.d.ts +2 -98
- package/lib/src/ap-field/rate/index.vue.d.ts +2 -84
- package/lib/src/ap-field/segmented/index.vue.d.ts +1 -2
- package/lib/src/ap-field/select/index.vue.d.ts +2 -409
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +2 -259
- package/lib/src/ap-field/switch/index.vue.d.ts +1 -2
- package/lib/src/ap-field/text/index.vue.d.ts +1 -2
- package/lib/src/ap-field/text/password.vue.d.ts +1 -2
- package/lib/src/ap-field/text-area/index.vue.d.ts +2 -267
- package/lib/src/ap-form/ap-form.vue.d.ts +4 -639
- package/lib/src/ap-form/dependency/index.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +6 -1457
- package/lib/src/ap-form/item/index.vue.d.ts +2 -779
- package/lib/src/ap-form/item-group/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/date/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -785
- package/lib/src/ap-form/items/radio/index.vue.d.ts +4 -223
- package/lib/src/ap-form/items/select/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/switch/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/group.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -141
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -150
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +4 -568
- package/lib/src/ap-form/list/index.vue.d.ts +1 -2
- package/lib/src/ap-form/modal-form/index.vue.d.ts +7 -1457
- package/lib/src/ap-form/provider/index.vue.d.ts +1 -2
- package/lib/src/ap-form/render/control.vue.d.ts +1 -2
- package/lib/src/ap-form/render/item.vue.d.ts +1 -2
- package/lib/src/ap-form/search-form/index.vue.d.ts +5 -1457
- package/lib/src/ap-form/set/index.vue.d.ts +1 -2
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -6
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
- package/lib/src/ap-list/index.vue.d.ts +5 -3
- package/lib/src/ap-table/ap-table.vue.d.ts +10 -3
- package/lib/src/ap-table/ap-table.vue2.js +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 +1 -2
- 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 +14 -2264
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/interface.d.ts +9 -0
- package/lib/src/ap-table/utils.d.ts +8 -1180
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -5
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +2 -5
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -453
- package/lib/src/ap-upload/components/Picture.vue.d.ts +9 -7
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -3
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
- 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 +2 -5
- package/lib/src/business/ap-batch-action/index.d.ts +1 -3
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
- package/lib/src/business/ap-batch-action-group/index.d.ts +5 -887
- package/lib/src/business/ap-card/ApCard.vue.d.ts +2 -3
- package/lib/src/business/ap-card/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -5
- 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 +346 -10
- 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 +4 -418
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +340 -412
- package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
- package/lib/src/business/ap-image/ApImage.vue.d.ts +1 -2
- 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 +2 -6
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -4
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/index.d.ts +44 -22
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
- 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 +18 -25
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +2 -3
- 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 +3 -5
- 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 +3 -146
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +2 -267
- package/lib/src/business/hooks/usePageListApTable.d.ts +14 -0
- package/lib/src/business/hooks/useTableRefresh.d.ts +4 -1
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -2
- package/lib/src/check-card/index.vue.d.ts +2 -3
- package/lib/src/config-provider/config-provider-props.d.ts +3 -0
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +6 -0
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +3 -0
- package/lib/src/config-provider/index.d.ts +9 -0
- package/lib/src/editable-table/form-item.vue.d.ts +5 -3
- package/lib/src/editable-table/index.vue.d.ts +5 -3
- package/lib/src/full-screen/index.vue.d.ts +2 -6
- package/lib/src/portal/index.vue.d.ts +1 -2
- package/lib/src/resize-observer/index.vue.d.ts +1 -2
- package/lib/src/scroll-bar/index.vue.d.ts +4 -43
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.d.ts +1 -5
- package/lib/src/scroll-view/index.vue.d.ts +9 -97
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/index.d.ts +8 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -827
- package/package.json +2 -2
- package/theme/ap-scroll-bar/index.css +0 -31
- package/theme/ap-scroll-bar/index.less +0 -39
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { ApFormItemRadioProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
|
-
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives,
|
|
3
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, 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';
|
|
10
5
|
type ApFormItemRadioSlots = Omit<ApFormItemSlots, 'default'>;
|
|
11
6
|
declare function __VLS_template(): {
|
|
12
|
-
attrs: Partial<{}>;
|
|
13
7
|
slots: Readonly<ApFormItemRadioSlots> & ApFormItemRadioSlots;
|
|
14
8
|
refs: {
|
|
15
9
|
radioRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldRadioProps> & Readonly<{
|
|
@@ -24,98 +18,7 @@ declare function __VLS_template(): {
|
|
|
24
18
|
vertical: boolean;
|
|
25
19
|
disabled: boolean;
|
|
26
20
|
emptyText: 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, {
|
|
21
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
119
22
|
P: {};
|
|
120
23
|
B: {};
|
|
121
24
|
D: {};
|
|
@@ -134,7 +37,7 @@ declare function __VLS_template(): {
|
|
|
134
37
|
emptyText: string;
|
|
135
38
|
}> | null;
|
|
136
39
|
};
|
|
137
|
-
|
|
40
|
+
attrs: Partial<{}>;
|
|
138
41
|
};
|
|
139
42
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
140
43
|
declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
|
|
@@ -148,129 +51,7 @@ declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
|
|
|
148
51
|
hasFeedback: boolean;
|
|
149
52
|
autoLink: boolean;
|
|
150
53
|
validateFirst: boolean;
|
|
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>;
|
|
54
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
274
55
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
275
56
|
export default _default;
|
|
276
57
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,7 +3,6 @@ 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<{}>;
|
|
7
6
|
slots: Readonly<{
|
|
8
7
|
notFoundContent: any;
|
|
9
8
|
suffixIcon: any;
|
|
@@ -32,7 +31,7 @@ declare function __VLS_template(): {
|
|
|
32
31
|
default: any;
|
|
33
32
|
} & Omit<ApFormItemSlots, "default">;
|
|
34
33
|
refs: {};
|
|
35
|
-
|
|
34
|
+
attrs: Partial<{}>;
|
|
36
35
|
};
|
|
37
36
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
37
|
declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
@@ -3,7 +3,6 @@ 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<{}>;
|
|
7
6
|
slots: Readonly<{
|
|
8
7
|
checkedChildren: any;
|
|
9
8
|
unCheckedChildren: any;
|
|
@@ -14,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
14
13
|
default: any;
|
|
15
14
|
} & Omit<ApFormItemSlots, "default">;
|
|
16
15
|
refs: {};
|
|
17
|
-
|
|
16
|
+
attrs: Partial<{}>;
|
|
18
17
|
};
|
|
19
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
19
|
declare const __VLS_component: DefineComponent<ApFormItemSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemSwitchProps> & Readonly<{}>, {
|
|
@@ -4,10 +4,9 @@ type ApFormItemTextSlots = {
|
|
|
4
4
|
default: any;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
7
|
slots: Readonly<ApFormItemTextSlots> & ApFormItemTextSlots;
|
|
9
8
|
refs: {};
|
|
10
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
12
|
declare const __VLS_component: DefineComponent<ApFormItemTextGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemTextGroupProps> & Readonly<{}>, {
|
|
@@ -8,7 +8,6 @@ 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<{}>;
|
|
12
11
|
slots: Readonly<{
|
|
13
12
|
addonAfter: any;
|
|
14
13
|
addonBefore: any;
|
|
@@ -138,7 +137,7 @@ declare function __VLS_template(): {
|
|
|
138
137
|
emptyText: string;
|
|
139
138
|
}> & Omit<Readonly< ApFieldTextProps> & Readonly<{
|
|
140
139
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
141
|
-
}>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText")
|
|
140
|
+
}>, "blur" | "focus" | "input" | "select" | "setSelectionRange" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText")> & ShallowUnwrapRef<{
|
|
142
141
|
focus: (options?: InputFocusOptions) => void;
|
|
143
142
|
blur: () => void;
|
|
144
143
|
input: any;
|
|
@@ -160,7 +159,7 @@ declare function __VLS_template(): {
|
|
|
160
159
|
};
|
|
161
160
|
}) | null;
|
|
162
161
|
};
|
|
163
|
-
|
|
162
|
+
attrs: Partial<{}>;
|
|
164
163
|
};
|
|
165
164
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
166
165
|
declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
@@ -177,144 +176,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
177
176
|
hasFeedback: boolean;
|
|
178
177
|
autoLink: boolean;
|
|
179
178
|
validateFirst: boolean;
|
|
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>;
|
|
179
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
318
180
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
319
181
|
export default _default;
|
|
320
182
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -7,7 +7,6 @@ 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<{}>;
|
|
11
10
|
slots: Readonly<{
|
|
12
11
|
addonAfter: any;
|
|
13
12
|
addonBefore: any;
|
|
@@ -171,7 +170,7 @@ declare function __VLS_template(): {
|
|
|
171
170
|
};
|
|
172
171
|
}) | null;
|
|
173
172
|
};
|
|
174
|
-
|
|
173
|
+
attrs: Partial<{}>;
|
|
175
174
|
};
|
|
176
175
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
177
176
|
declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
@@ -185,154 +184,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
185
184
|
hasFeedback: boolean;
|
|
186
185
|
autoLink: boolean;
|
|
187
186
|
validateFirst: boolean;
|
|
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>;
|
|
187
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
336
188
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
337
189
|
export default _default;
|
|
338
190
|
type __VLS_WithTemplateSlots<T, S> = T & {
|