@aplus-frontend/ui 6.19.1 → 6.20.0
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/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -7
- package/es/src/ap-button/ap-button.vue.mjs +24 -20
- package/es/src/ap-button/ap-confirm-button.vue.mjs +15 -11
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +21 -18
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +13 -13
- package/es/src/ap-field/date-range/index.vue.mjs +16 -16
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.d.ts +29 -29
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +4 -4
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +17 -12
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +10 -10
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +12 -12
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +14 -15
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +18 -19
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +48 -20
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +18 -19
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +41 -41
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -14
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +332 -332
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +4 -3
- package/es/src/business/ap-batch-action-group/index.d.ts +33 -11
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +5 -5
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +17 -5
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/config-provider-props.d.ts +4 -5
- package/es/src/config-provider/config-provider.d.ts +8 -9
- package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +13 -14
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +37 -38
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +15 -16
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +5 -5
- package/es/src/utils/config-provider-preset.d.ts +5 -6
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +14 -15
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +18 -19
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +48 -20
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/lib/src/ap-form/search-form/index.vue.d.ts +18 -19
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +332 -332
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +33 -11
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-table-modal/index.d.ts +17 -5
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +4 -5
- package/lib/src/config-provider/config-provider.d.ts +8 -9
- package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +13 -14
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/config-provider-preset.d.ts +5 -6
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
- package/package.json +4 -4
- package/theme/antd-global-overwrite/admin/alert.css +0 -37
- package/theme/antd-global-overwrite/admin/alert.less +0 -51
- package/theme/antd-global-overwrite/admin/button.css +0 -27
- package/theme/antd-global-overwrite/admin/button.less +0 -31
- package/theme/antd-global-overwrite/admin/field.css +0 -42
- package/theme/antd-global-overwrite/admin/field.less +0 -43
- package/theme/antd-global-overwrite/admin/form.css +0 -57
- package/theme/antd-global-overwrite/admin/form.less +0 -97
- package/theme/antd-global-overwrite/admin/message.css +0 -10
- package/theme/antd-global-overwrite/admin/message.less +0 -13
- package/theme/antd-global-overwrite/admin/modal.css +0 -94
- package/theme/antd-global-overwrite/admin/modal.less +0 -128
- package/theme/antd-global-overwrite/admin/pagination.css +0 -122
- package/theme/antd-global-overwrite/admin/pagination.less +0 -91
- package/theme/antd-global-overwrite/admin/steps.css +0 -127
- package/theme/antd-global-overwrite/admin/steps.less +0 -197
- package/theme/antd-global-overwrite/admin/table.css +0 -78
- package/theme/antd-global-overwrite/admin/table.less +0 -62
- package/theme/antd-global-overwrite/admin/tooltip.css +0 -3
- package/theme/antd-global-overwrite/admin/tooltip.less +0 -3
- package/theme/antd-global-overwrite/aplus/alert.css +0 -40
- package/theme/antd-global-overwrite/aplus/alert.less +0 -55
- package/theme/antd-global-overwrite/aplus/button.css +0 -27
- package/theme/antd-global-overwrite/aplus/button.less +0 -31
- package/theme/antd-global-overwrite/aplus/field.css +0 -42
- package/theme/antd-global-overwrite/aplus/field.less +0 -43
- package/theme/antd-global-overwrite/aplus/form.css +0 -87
- package/theme/antd-global-overwrite/aplus/form.less +0 -133
- package/theme/antd-global-overwrite/aplus/message.css +0 -10
- package/theme/antd-global-overwrite/aplus/message.less +0 -13
- package/theme/antd-global-overwrite/aplus/modal.css +0 -87
- package/theme/antd-global-overwrite/aplus/modal.less +0 -120
- package/theme/antd-global-overwrite/aplus/pagination.css +0 -147
- package/theme/antd-global-overwrite/aplus/pagination.less +0 -108
- package/theme/antd-global-overwrite/aplus/steps.css +0 -125
- package/theme/antd-global-overwrite/aplus/steps.less +0 -198
- package/theme/antd-global-overwrite/aplus/table.css +0 -78
- package/theme/antd-global-overwrite/aplus/table.less +0 -61
- package/theme/antd-global-overwrite/aplus/tooltip.css +0 -3
- package/theme/antd-global-overwrite/aplus/tooltip.less +0 -3
- package/theme/ap-table/ap-table-pagination.css +0 -12
- package/theme/ap-table/ap-table-pagination.less +0 -14
- package/theme/ui-mode.css +0 -60
- package/theme/ui-mode.less +0 -109
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApFieldNumberProps } from '../interface';
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
6
6
|
import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
@@ -19,8 +19,8 @@ declare function __VLS_template(): {
|
|
|
19
19
|
refs: {
|
|
20
20
|
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
21
21
|
size: {
|
|
22
|
-
type: PropType<
|
|
23
|
-
default:
|
|
22
|
+
type: PropType<SizeType>;
|
|
23
|
+
default: SizeType;
|
|
24
24
|
};
|
|
25
25
|
bordered: {
|
|
26
26
|
type: BooleanConstructor;
|
|
@@ -139,7 +139,7 @@ declare function __VLS_template(): {
|
|
|
139
139
|
default: (e: FocusEvent) => void;
|
|
140
140
|
};
|
|
141
141
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
142
|
-
size:
|
|
142
|
+
size: SizeType;
|
|
143
143
|
value: ValueType;
|
|
144
144
|
onFocus: (e: FocusEvent) => void;
|
|
145
145
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -149,13 +149,13 @@ declare function __VLS_template(): {
|
|
|
149
149
|
max: ValueType;
|
|
150
150
|
min: ValueType;
|
|
151
151
|
prefixCls: string;
|
|
152
|
+
bordered: boolean;
|
|
153
|
+
defaultValue: ValueType;
|
|
154
|
+
status: "" | "error" | "warning";
|
|
155
|
+
step: ValueType;
|
|
152
156
|
autofocus: boolean;
|
|
153
157
|
readonly: boolean;
|
|
154
|
-
status: "" | "error" | "warning";
|
|
155
|
-
defaultValue: ValueType;
|
|
156
158
|
'onUpdate:value': (value: ValueType) => void;
|
|
157
|
-
step: ValueType;
|
|
158
|
-
bordered: boolean;
|
|
159
159
|
onPressEnter: KeyboardEventHandler;
|
|
160
160
|
formatter: (value: ValueType, info: {
|
|
161
161
|
userTyping: boolean;
|
|
@@ -186,8 +186,8 @@ declare function __VLS_template(): {
|
|
|
186
186
|
Defaults: {};
|
|
187
187
|
}, Readonly< ExtractPropTypes<{
|
|
188
188
|
size: {
|
|
189
|
-
type: PropType<
|
|
190
|
-
default:
|
|
189
|
+
type: PropType<SizeType>;
|
|
190
|
+
default: SizeType;
|
|
191
191
|
};
|
|
192
192
|
bordered: {
|
|
193
193
|
type: BooleanConstructor;
|
|
@@ -306,7 +306,7 @@ declare function __VLS_template(): {
|
|
|
306
306
|
default: (e: FocusEvent) => void;
|
|
307
307
|
};
|
|
308
308
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
309
|
-
size:
|
|
309
|
+
size: SizeType;
|
|
310
310
|
value: ValueType;
|
|
311
311
|
onFocus: (e: FocusEvent) => void;
|
|
312
312
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -316,13 +316,13 @@ declare function __VLS_template(): {
|
|
|
316
316
|
max: ValueType;
|
|
317
317
|
min: ValueType;
|
|
318
318
|
prefixCls: string;
|
|
319
|
+
bordered: boolean;
|
|
320
|
+
defaultValue: ValueType;
|
|
321
|
+
status: "" | "error" | "warning";
|
|
322
|
+
step: ValueType;
|
|
319
323
|
autofocus: boolean;
|
|
320
324
|
readonly: boolean;
|
|
321
|
-
status: "" | "error" | "warning";
|
|
322
|
-
defaultValue: ValueType;
|
|
323
325
|
'onUpdate:value': (value: ValueType) => void;
|
|
324
|
-
step: ValueType;
|
|
325
|
-
bordered: boolean;
|
|
326
326
|
onPressEnter: KeyboardEventHandler;
|
|
327
327
|
formatter: (value: ValueType, info: {
|
|
328
328
|
userTyping: boolean;
|
|
@@ -361,8 +361,8 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
361
361
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
362
362
|
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
363
363
|
size: {
|
|
364
|
-
type: PropType<
|
|
365
|
-
default:
|
|
364
|
+
type: PropType<SizeType>;
|
|
365
|
+
default: SizeType;
|
|
366
366
|
};
|
|
367
367
|
bordered: {
|
|
368
368
|
type: BooleanConstructor;
|
|
@@ -481,7 +481,7 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
481
481
|
default: (e: FocusEvent) => void;
|
|
482
482
|
};
|
|
483
483
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
484
|
-
size:
|
|
484
|
+
size: SizeType;
|
|
485
485
|
value: ValueType;
|
|
486
486
|
onFocus: (e: FocusEvent) => void;
|
|
487
487
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -491,13 +491,13 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
491
491
|
max: ValueType;
|
|
492
492
|
min: ValueType;
|
|
493
493
|
prefixCls: string;
|
|
494
|
+
bordered: boolean;
|
|
495
|
+
defaultValue: ValueType;
|
|
496
|
+
status: "" | "error" | "warning";
|
|
497
|
+
step: ValueType;
|
|
494
498
|
autofocus: boolean;
|
|
495
499
|
readonly: boolean;
|
|
496
|
-
status: "" | "error" | "warning";
|
|
497
|
-
defaultValue: ValueType;
|
|
498
500
|
'onUpdate:value': (value: ValueType) => void;
|
|
499
|
-
step: ValueType;
|
|
500
|
-
bordered: boolean;
|
|
501
501
|
onPressEnter: KeyboardEventHandler;
|
|
502
502
|
formatter: (value: ValueType, info: {
|
|
503
503
|
userTyping: boolean;
|
|
@@ -528,8 +528,8 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
528
528
|
Defaults: {};
|
|
529
529
|
}, Readonly< ExtractPropTypes<{
|
|
530
530
|
size: {
|
|
531
|
-
type: PropType<
|
|
532
|
-
default:
|
|
531
|
+
type: PropType<SizeType>;
|
|
532
|
+
default: SizeType;
|
|
533
533
|
};
|
|
534
534
|
bordered: {
|
|
535
535
|
type: BooleanConstructor;
|
|
@@ -648,7 +648,7 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
648
648
|
default: (e: FocusEvent) => void;
|
|
649
649
|
};
|
|
650
650
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
651
|
-
size:
|
|
651
|
+
size: SizeType;
|
|
652
652
|
value: ValueType;
|
|
653
653
|
onFocus: (e: FocusEvent) => void;
|
|
654
654
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -658,13 +658,13 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
658
658
|
max: ValueType;
|
|
659
659
|
min: ValueType;
|
|
660
660
|
prefixCls: string;
|
|
661
|
+
bordered: boolean;
|
|
662
|
+
defaultValue: ValueType;
|
|
663
|
+
status: "" | "error" | "warning";
|
|
664
|
+
step: ValueType;
|
|
661
665
|
autofocus: boolean;
|
|
662
666
|
readonly: boolean;
|
|
663
|
-
status: "" | "error" | "warning";
|
|
664
|
-
defaultValue: ValueType;
|
|
665
667
|
'onUpdate:value': (value: ValueType) => void;
|
|
666
|
-
step: ValueType;
|
|
667
|
-
bordered: boolean;
|
|
668
668
|
onPressEnter: KeyboardEventHandler;
|
|
669
669
|
formatter: (value: ValueType, info: {
|
|
670
670
|
userTyping: boolean;
|
|
@@ -46,8 +46,8 @@ declare function __VLS_template(): {
|
|
|
46
46
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
47
47
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
48
48
|
disabled: boolean;
|
|
49
|
-
autofocus: boolean;
|
|
50
49
|
allowClear: boolean;
|
|
50
|
+
autofocus: boolean;
|
|
51
51
|
allowHalf: boolean;
|
|
52
52
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
53
53
|
P: {};
|
|
@@ -89,8 +89,8 @@ declare function __VLS_template(): {
|
|
|
89
89
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
90
90
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
91
91
|
disabled: boolean;
|
|
92
|
-
autofocus: boolean;
|
|
93
92
|
allowClear: boolean;
|
|
93
|
+
autofocus: boolean;
|
|
94
94
|
allowHalf: boolean;
|
|
95
95
|
}> | null;
|
|
96
96
|
};
|
|
@@ -146,8 +146,8 @@ declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
|
146
146
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
147
147
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
148
148
|
disabled: boolean;
|
|
149
|
-
autofocus: boolean;
|
|
150
149
|
allowClear: boolean;
|
|
150
|
+
autofocus: boolean;
|
|
151
151
|
allowHalf: boolean;
|
|
152
152
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
153
153
|
P: {};
|
|
@@ -189,8 +189,8 @@ declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
|
189
189
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
190
190
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
191
191
|
disabled: boolean;
|
|
192
|
-
autofocus: boolean;
|
|
193
192
|
allowClear: boolean;
|
|
193
|
+
autofocus: boolean;
|
|
194
194
|
allowHalf: boolean;
|
|
195
195
|
}> | null;
|
|
196
196
|
}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("@aplus-frontend/antdv"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("@aplus-frontend/antdv"),o=require("lodash-unified");require("../../hooks/index.js");const B=require("../hooks/use-options.js"),b=require("../../hooks/useControllableValue.js"),q=e.defineComponent({name:"ApFieldSegmented",__name:"index",props:{mode:{default:"edit"},class:{},style:{},prefixCls:{},options:{},block:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},size:{},value:{},motionName:{},onChange:{},"onUpdate:value":{},vertical:{type:Boolean},shape:{},name:{},emptyText:{default:"--"},defaultValue:{},request:{}},emits:["update:value"],setup(p,{emit:f}){const l=p,{options:s,updateOptions:m}=B.default(l),v=f,{value:i,updateValue:g}=b.useControllableValue(l,v),r=e.ref(!1),y=e.useSlots();e.onMounted(()=>{o.isFunction(l.request)&&(r.value=!0,l.request().then(t=>m(t)).finally(()=>{r.value=!1}))});const k=e.computed(()=>{var d;const t=e.unref(i);if(o.isUndefined(t))return e.createVNode(e.Fragment,null,[l.emptyText]);const n=(d=e.unref(s))==null?void 0:d.find(u=>u===t||(u==null?void 0:u.value)===t);if(o.isString(n)||o.isNumber(n))return e.createVNode(e.Fragment,null,[n]);const a=(n==null?void 0:n.label)||y.label;return o.isFunction(a)?e.createVNode(e.Fragment,null,[a==null?void 0:a({...n})]):e.createVNode(e.Fragment,null,[a||l.emptyText])});return(t,n)=>r.value?(e.openBlock(),e.createBlock(e.unref(c.Spin),{key:0,size:"small"})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.mode==="read"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value),{key:0})):(e.openBlock(),e.createBlock(e.unref(c.Segmented),e.mergeProps({key:1},e.unref(o.omit)(l,["onUpdate:value","value","defaultValue","options"]),{value:e.unref(i),options:e.unref(s),"onUpdate:value":e.unref(g)}),{label:e.withCtx(a=>[e.renderSlot(t.$slots,"label",e.normalizeProps(e.guardReactiveProps(a)))]),_:3},16,["value","options","onUpdate:value"]))],64))}});exports.default=q;
|
|
@@ -2,7 +2,7 @@ import { DefaultOptionType, SelectValue, LabeledValue } from '@aplus-frontend/an
|
|
|
2
2
|
import { ApFieldSelectProps } from '../interface';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
-
import {
|
|
5
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
6
|
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
7
7
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
8
8
|
import { RenderDOMFunc, DropdownRender, CustomTagProps } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
@@ -39,8 +39,8 @@ declare function __VLS_template(): {
|
|
|
39
39
|
suffixIcon: VueTypeValidableDef<any>;
|
|
40
40
|
itemIcon: VueTypeValidableDef<any>;
|
|
41
41
|
size: {
|
|
42
|
-
type: PropType<
|
|
43
|
-
default:
|
|
42
|
+
type: PropType<SizeType>;
|
|
43
|
+
default: SizeType;
|
|
44
44
|
};
|
|
45
45
|
mode: {
|
|
46
46
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -58,8 +58,8 @@ declare function __VLS_template(): {
|
|
|
58
58
|
popupClassName: StringConstructor;
|
|
59
59
|
dropdownClassName: StringConstructor;
|
|
60
60
|
placement: {
|
|
61
|
-
type: PropType<"
|
|
62
|
-
default: "
|
|
61
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
62
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
63
63
|
};
|
|
64
64
|
status: {
|
|
65
65
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -99,8 +99,6 @@ declare function __VLS_template(): {
|
|
|
99
99
|
default: any;
|
|
100
100
|
};
|
|
101
101
|
prefixCls: StringConstructor;
|
|
102
|
-
id: StringConstructor;
|
|
103
|
-
autofocus: BooleanConstructor;
|
|
104
102
|
getPopupContainer: {
|
|
105
103
|
type: PropType<RenderDOMFunc>;
|
|
106
104
|
};
|
|
@@ -112,21 +110,28 @@ declare function __VLS_template(): {
|
|
|
112
110
|
type: PropType<number | boolean>;
|
|
113
111
|
default: any;
|
|
114
112
|
};
|
|
115
|
-
options: PropType<DefaultOptionType[]>;
|
|
116
|
-
showAction: {
|
|
117
|
-
type: PropType<("click" | "focus")[]>;
|
|
118
|
-
};
|
|
119
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
120
113
|
loading: {
|
|
121
114
|
type: BooleanConstructor;
|
|
122
115
|
default: any;
|
|
123
116
|
};
|
|
117
|
+
showAction: {
|
|
118
|
+
type: PropType<("click" | "focus")[]>;
|
|
119
|
+
};
|
|
120
|
+
dropdownAlign: PropType<AlignType>;
|
|
124
121
|
placeholder: VueTypeValidableDef<any>;
|
|
125
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
126
122
|
allowClear: {
|
|
127
123
|
type: BooleanConstructor;
|
|
128
124
|
default: any;
|
|
129
125
|
};
|
|
126
|
+
autofocus: BooleanConstructor;
|
|
127
|
+
defaultOpen: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: any;
|
|
130
|
+
};
|
|
131
|
+
id: StringConstructor;
|
|
132
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
133
|
+
options: PropType<DefaultOptionType[]>;
|
|
134
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
130
135
|
onSearch: PropType<(value: string) => void>;
|
|
131
136
|
fieldNames: PropType<FieldNames>;
|
|
132
137
|
dropdownStyle: {
|
|
@@ -135,7 +140,6 @@ declare function __VLS_template(): {
|
|
|
135
140
|
dropdownRender: {
|
|
136
141
|
type: PropType<DropdownRender>;
|
|
137
142
|
};
|
|
138
|
-
dropdownAlign: PropType<AlignType>;
|
|
139
143
|
showSearch: {
|
|
140
144
|
type: BooleanConstructor;
|
|
141
145
|
default: any;
|
|
@@ -158,10 +162,6 @@ declare function __VLS_template(): {
|
|
|
158
162
|
type: PropType<(option: Record<string, any>) => any>;
|
|
159
163
|
};
|
|
160
164
|
onClear: PropType<() => void>;
|
|
161
|
-
defaultOpen: {
|
|
162
|
-
type: BooleanConstructor;
|
|
163
|
-
default: any;
|
|
164
|
-
};
|
|
165
165
|
onDropdownVisibleChange: {
|
|
166
166
|
type: PropType<(open: boolean) => void>;
|
|
167
167
|
};
|
|
@@ -194,24 +194,24 @@ declare function __VLS_template(): {
|
|
|
194
194
|
default: any;
|
|
195
195
|
};
|
|
196
196
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
197
|
-
size:
|
|
197
|
+
size: SizeType;
|
|
198
198
|
value: SelectValue;
|
|
199
199
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
200
200
|
open: boolean;
|
|
201
201
|
disabled: boolean;
|
|
202
|
-
autofocus: boolean;
|
|
203
202
|
virtual: boolean;
|
|
204
203
|
dropdownMatchSelectWidth: number | boolean;
|
|
205
|
-
status: "" | "error" | "warning";
|
|
206
|
-
defaultValue: SelectValue;
|
|
207
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
208
|
-
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
209
204
|
loading: boolean;
|
|
210
205
|
bordered: boolean;
|
|
206
|
+
defaultValue: SelectValue;
|
|
207
|
+
status: "" | "error" | "warning";
|
|
211
208
|
allowClear: boolean;
|
|
209
|
+
autofocus: boolean;
|
|
210
|
+
defaultOpen: boolean;
|
|
211
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
212
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
212
213
|
showSearch: boolean;
|
|
213
214
|
choiceTransitionName: "";
|
|
214
|
-
defaultOpen: boolean;
|
|
215
215
|
showArrow: boolean;
|
|
216
216
|
autoClearSearchValue: boolean;
|
|
217
217
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
@@ -250,8 +250,8 @@ declare function __VLS_template(): {
|
|
|
250
250
|
suffixIcon: VueTypeValidableDef<any>;
|
|
251
251
|
itemIcon: VueTypeValidableDef<any>;
|
|
252
252
|
size: {
|
|
253
|
-
type: PropType<
|
|
254
|
-
default:
|
|
253
|
+
type: PropType<SizeType>;
|
|
254
|
+
default: SizeType;
|
|
255
255
|
};
|
|
256
256
|
mode: {
|
|
257
257
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -269,8 +269,8 @@ declare function __VLS_template(): {
|
|
|
269
269
|
popupClassName: StringConstructor;
|
|
270
270
|
dropdownClassName: StringConstructor;
|
|
271
271
|
placement: {
|
|
272
|
-
type: PropType<"
|
|
273
|
-
default: "
|
|
272
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
273
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
274
274
|
};
|
|
275
275
|
status: {
|
|
276
276
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -310,8 +310,6 @@ declare function __VLS_template(): {
|
|
|
310
310
|
default: any;
|
|
311
311
|
};
|
|
312
312
|
prefixCls: StringConstructor;
|
|
313
|
-
id: StringConstructor;
|
|
314
|
-
autofocus: BooleanConstructor;
|
|
315
313
|
getPopupContainer: {
|
|
316
314
|
type: PropType<RenderDOMFunc>;
|
|
317
315
|
};
|
|
@@ -323,21 +321,28 @@ declare function __VLS_template(): {
|
|
|
323
321
|
type: PropType<number | boolean>;
|
|
324
322
|
default: any;
|
|
325
323
|
};
|
|
326
|
-
options: PropType<DefaultOptionType[]>;
|
|
327
|
-
showAction: {
|
|
328
|
-
type: PropType<("click" | "focus")[]>;
|
|
329
|
-
};
|
|
330
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
331
324
|
loading: {
|
|
332
325
|
type: BooleanConstructor;
|
|
333
326
|
default: any;
|
|
334
327
|
};
|
|
328
|
+
showAction: {
|
|
329
|
+
type: PropType<("click" | "focus")[]>;
|
|
330
|
+
};
|
|
331
|
+
dropdownAlign: PropType<AlignType>;
|
|
335
332
|
placeholder: VueTypeValidableDef<any>;
|
|
336
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
337
333
|
allowClear: {
|
|
338
334
|
type: BooleanConstructor;
|
|
339
335
|
default: any;
|
|
340
336
|
};
|
|
337
|
+
autofocus: BooleanConstructor;
|
|
338
|
+
defaultOpen: {
|
|
339
|
+
type: BooleanConstructor;
|
|
340
|
+
default: any;
|
|
341
|
+
};
|
|
342
|
+
id: StringConstructor;
|
|
343
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
344
|
+
options: PropType<DefaultOptionType[]>;
|
|
345
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
341
346
|
onSearch: PropType<(value: string) => void>;
|
|
342
347
|
fieldNames: PropType<FieldNames>;
|
|
343
348
|
dropdownStyle: {
|
|
@@ -346,7 +351,6 @@ declare function __VLS_template(): {
|
|
|
346
351
|
dropdownRender: {
|
|
347
352
|
type: PropType<DropdownRender>;
|
|
348
353
|
};
|
|
349
|
-
dropdownAlign: PropType<AlignType>;
|
|
350
354
|
showSearch: {
|
|
351
355
|
type: BooleanConstructor;
|
|
352
356
|
default: any;
|
|
@@ -369,10 +373,6 @@ declare function __VLS_template(): {
|
|
|
369
373
|
type: PropType<(option: Record<string, any>) => any>;
|
|
370
374
|
};
|
|
371
375
|
onClear: PropType<() => void>;
|
|
372
|
-
defaultOpen: {
|
|
373
|
-
type: BooleanConstructor;
|
|
374
|
-
default: any;
|
|
375
|
-
};
|
|
376
376
|
onDropdownVisibleChange: {
|
|
377
377
|
type: PropType<(open: boolean) => void>;
|
|
378
378
|
};
|
|
@@ -405,24 +405,24 @@ declare function __VLS_template(): {
|
|
|
405
405
|
default: any;
|
|
406
406
|
};
|
|
407
407
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
408
|
-
size:
|
|
408
|
+
size: SizeType;
|
|
409
409
|
value: SelectValue;
|
|
410
410
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
411
411
|
open: boolean;
|
|
412
412
|
disabled: boolean;
|
|
413
|
-
autofocus: boolean;
|
|
414
413
|
virtual: boolean;
|
|
415
414
|
dropdownMatchSelectWidth: number | boolean;
|
|
416
|
-
status: "" | "error" | "warning";
|
|
417
|
-
defaultValue: SelectValue;
|
|
418
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
419
|
-
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
420
415
|
loading: boolean;
|
|
421
416
|
bordered: boolean;
|
|
417
|
+
defaultValue: SelectValue;
|
|
418
|
+
status: "" | "error" | "warning";
|
|
422
419
|
allowClear: boolean;
|
|
420
|
+
autofocus: boolean;
|
|
421
|
+
defaultOpen: boolean;
|
|
422
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
423
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
423
424
|
showSearch: boolean;
|
|
424
425
|
choiceTransitionName: "";
|
|
425
|
-
defaultOpen: boolean;
|
|
426
426
|
showArrow: boolean;
|
|
427
427
|
autoClearSearchValue: boolean;
|
|
428
428
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
@@ -476,8 +476,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
476
476
|
suffixIcon: VueTypeValidableDef<any>;
|
|
477
477
|
itemIcon: VueTypeValidableDef<any>;
|
|
478
478
|
size: {
|
|
479
|
-
type: PropType<
|
|
480
|
-
default:
|
|
479
|
+
type: PropType<SizeType>;
|
|
480
|
+
default: SizeType;
|
|
481
481
|
};
|
|
482
482
|
mode: {
|
|
483
483
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -495,8 +495,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
495
495
|
popupClassName: StringConstructor;
|
|
496
496
|
dropdownClassName: StringConstructor;
|
|
497
497
|
placement: {
|
|
498
|
-
type: PropType<"
|
|
499
|
-
default: "
|
|
498
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
499
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
500
500
|
};
|
|
501
501
|
status: {
|
|
502
502
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -536,8 +536,6 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
536
536
|
default: any;
|
|
537
537
|
};
|
|
538
538
|
prefixCls: StringConstructor;
|
|
539
|
-
id: StringConstructor;
|
|
540
|
-
autofocus: BooleanConstructor;
|
|
541
539
|
getPopupContainer: {
|
|
542
540
|
type: PropType<RenderDOMFunc>;
|
|
543
541
|
};
|
|
@@ -549,21 +547,28 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
549
547
|
type: PropType<number | boolean>;
|
|
550
548
|
default: any;
|
|
551
549
|
};
|
|
552
|
-
options: PropType<DefaultOptionType[]>;
|
|
553
|
-
showAction: {
|
|
554
|
-
type: PropType<("click" | "focus")[]>;
|
|
555
|
-
};
|
|
556
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
557
550
|
loading: {
|
|
558
551
|
type: BooleanConstructor;
|
|
559
552
|
default: any;
|
|
560
553
|
};
|
|
554
|
+
showAction: {
|
|
555
|
+
type: PropType<("click" | "focus")[]>;
|
|
556
|
+
};
|
|
557
|
+
dropdownAlign: PropType<AlignType>;
|
|
561
558
|
placeholder: VueTypeValidableDef<any>;
|
|
562
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
563
559
|
allowClear: {
|
|
564
560
|
type: BooleanConstructor;
|
|
565
561
|
default: any;
|
|
566
562
|
};
|
|
563
|
+
autofocus: BooleanConstructor;
|
|
564
|
+
defaultOpen: {
|
|
565
|
+
type: BooleanConstructor;
|
|
566
|
+
default: any;
|
|
567
|
+
};
|
|
568
|
+
id: StringConstructor;
|
|
569
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
570
|
+
options: PropType<DefaultOptionType[]>;
|
|
571
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
567
572
|
onSearch: PropType<(value: string) => void>;
|
|
568
573
|
fieldNames: PropType<FieldNames>;
|
|
569
574
|
dropdownStyle: {
|
|
@@ -572,7 +577,6 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
572
577
|
dropdownRender: {
|
|
573
578
|
type: PropType<DropdownRender>;
|
|
574
579
|
};
|
|
575
|
-
dropdownAlign: PropType<AlignType>;
|
|
576
580
|
showSearch: {
|
|
577
581
|
type: BooleanConstructor;
|
|
578
582
|
default: any;
|
|
@@ -595,10 +599,6 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
595
599
|
type: PropType<(option: Record<string, any>) => any>;
|
|
596
600
|
};
|
|
597
601
|
onClear: PropType<() => void>;
|
|
598
|
-
defaultOpen: {
|
|
599
|
-
type: BooleanConstructor;
|
|
600
|
-
default: any;
|
|
601
|
-
};
|
|
602
602
|
onDropdownVisibleChange: {
|
|
603
603
|
type: PropType<(open: boolean) => void>;
|
|
604
604
|
};
|
|
@@ -631,24 +631,24 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
631
631
|
default: any;
|
|
632
632
|
};
|
|
633
633
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
634
|
-
size:
|
|
634
|
+
size: SizeType;
|
|
635
635
|
value: SelectValue;
|
|
636
636
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
637
637
|
open: boolean;
|
|
638
638
|
disabled: boolean;
|
|
639
|
-
autofocus: boolean;
|
|
640
639
|
virtual: boolean;
|
|
641
640
|
dropdownMatchSelectWidth: number | boolean;
|
|
642
|
-
status: "" | "error" | "warning";
|
|
643
|
-
defaultValue: SelectValue;
|
|
644
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
645
|
-
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
646
641
|
loading: boolean;
|
|
647
642
|
bordered: boolean;
|
|
643
|
+
defaultValue: SelectValue;
|
|
644
|
+
status: "" | "error" | "warning";
|
|
648
645
|
allowClear: boolean;
|
|
646
|
+
autofocus: boolean;
|
|
647
|
+
defaultOpen: boolean;
|
|
648
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
649
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
649
650
|
showSearch: boolean;
|
|
650
651
|
choiceTransitionName: "";
|
|
651
|
-
defaultOpen: boolean;
|
|
652
652
|
showArrow: boolean;
|
|
653
653
|
autoClearSearchValue: boolean;
|
|
654
654
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
@@ -687,8 +687,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
687
687
|
suffixIcon: VueTypeValidableDef<any>;
|
|
688
688
|
itemIcon: VueTypeValidableDef<any>;
|
|
689
689
|
size: {
|
|
690
|
-
type: PropType<
|
|
691
|
-
default:
|
|
690
|
+
type: PropType<SizeType>;
|
|
691
|
+
default: SizeType;
|
|
692
692
|
};
|
|
693
693
|
mode: {
|
|
694
694
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -706,8 +706,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
706
706
|
popupClassName: StringConstructor;
|
|
707
707
|
dropdownClassName: StringConstructor;
|
|
708
708
|
placement: {
|
|
709
|
-
type: PropType<"
|
|
710
|
-
default: "
|
|
709
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
710
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
711
711
|
};
|
|
712
712
|
status: {
|
|
713
713
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -747,8 +747,6 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
747
747
|
default: any;
|
|
748
748
|
};
|
|
749
749
|
prefixCls: StringConstructor;
|
|
750
|
-
id: StringConstructor;
|
|
751
|
-
autofocus: BooleanConstructor;
|
|
752
750
|
getPopupContainer: {
|
|
753
751
|
type: PropType<RenderDOMFunc>;
|
|
754
752
|
};
|
|
@@ -760,21 +758,28 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
760
758
|
type: PropType<number | boolean>;
|
|
761
759
|
default: any;
|
|
762
760
|
};
|
|
763
|
-
options: PropType<DefaultOptionType[]>;
|
|
764
|
-
showAction: {
|
|
765
|
-
type: PropType<("click" | "focus")[]>;
|
|
766
|
-
};
|
|
767
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
768
761
|
loading: {
|
|
769
762
|
type: BooleanConstructor;
|
|
770
763
|
default: any;
|
|
771
764
|
};
|
|
765
|
+
showAction: {
|
|
766
|
+
type: PropType<("click" | "focus")[]>;
|
|
767
|
+
};
|
|
768
|
+
dropdownAlign: PropType<AlignType>;
|
|
772
769
|
placeholder: VueTypeValidableDef<any>;
|
|
773
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
774
770
|
allowClear: {
|
|
775
771
|
type: BooleanConstructor;
|
|
776
772
|
default: any;
|
|
777
773
|
};
|
|
774
|
+
autofocus: BooleanConstructor;
|
|
775
|
+
defaultOpen: {
|
|
776
|
+
type: BooleanConstructor;
|
|
777
|
+
default: any;
|
|
778
|
+
};
|
|
779
|
+
id: StringConstructor;
|
|
780
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
781
|
+
options: PropType<DefaultOptionType[]>;
|
|
782
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
778
783
|
onSearch: PropType<(value: string) => void>;
|
|
779
784
|
fieldNames: PropType<FieldNames>;
|
|
780
785
|
dropdownStyle: {
|
|
@@ -783,7 +788,6 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
783
788
|
dropdownRender: {
|
|
784
789
|
type: PropType<DropdownRender>;
|
|
785
790
|
};
|
|
786
|
-
dropdownAlign: PropType<AlignType>;
|
|
787
791
|
showSearch: {
|
|
788
792
|
type: BooleanConstructor;
|
|
789
793
|
default: any;
|
|
@@ -806,10 +810,6 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
806
810
|
type: PropType<(option: Record<string, any>) => any>;
|
|
807
811
|
};
|
|
808
812
|
onClear: PropType<() => void>;
|
|
809
|
-
defaultOpen: {
|
|
810
|
-
type: BooleanConstructor;
|
|
811
|
-
default: any;
|
|
812
|
-
};
|
|
813
813
|
onDropdownVisibleChange: {
|
|
814
814
|
type: PropType<(open: boolean) => void>;
|
|
815
815
|
};
|
|
@@ -842,24 +842,24 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
842
842
|
default: any;
|
|
843
843
|
};
|
|
844
844
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
845
|
-
size:
|
|
845
|
+
size: SizeType;
|
|
846
846
|
value: SelectValue;
|
|
847
847
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
848
848
|
open: boolean;
|
|
849
849
|
disabled: boolean;
|
|
850
|
-
autofocus: boolean;
|
|
851
850
|
virtual: boolean;
|
|
852
851
|
dropdownMatchSelectWidth: number | boolean;
|
|
853
|
-
status: "" | "error" | "warning";
|
|
854
|
-
defaultValue: SelectValue;
|
|
855
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
856
|
-
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
857
852
|
loading: boolean;
|
|
858
853
|
bordered: boolean;
|
|
854
|
+
defaultValue: SelectValue;
|
|
855
|
+
status: "" | "error" | "warning";
|
|
859
856
|
allowClear: boolean;
|
|
857
|
+
autofocus: boolean;
|
|
858
|
+
defaultOpen: boolean;
|
|
859
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
860
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
860
861
|
showSearch: boolean;
|
|
861
862
|
choiceTransitionName: "";
|
|
862
|
-
defaultOpen: boolean;
|
|
863
863
|
showArrow: boolean;
|
|
864
864
|
autoClearSearchValue: boolean;
|
|
865
865
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|