@aplus-frontend/ui 6.19.0 → 6.19.1
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 +2 -31
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +7 -11
- package/es/src/ap-button/ap-button.vue.mjs +20 -24
- package/es/src/ap-button/ap-confirm-button.vue.mjs +11 -15
- 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 +18 -21
- 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 +12 -17
- 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 +15 -14
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +19 -18
- 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 +20 -48
- 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 +10 -29
- 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 +19 -18
- 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 +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +40 -40
- package/es/src/ap-list/index.vue.d.ts +4 -2
- 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 +4 -2
- package/es/src/ap-table/ap-table.vue2.mjs +14 -13
- 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 +30 -46
- 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 +7 -2
- 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 +3 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +11 -33
- 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 +3 -2
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +212 -398
- package/es/src/business/ap-draggable-grid/constans.mjs +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +5 -2
- package/es/src/business/ap-draggable-grid/interface.d.ts +3 -2
- package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
- package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.mjs +14 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- 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 +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- 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 +5 -17
- 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 +11 -10
- 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 +11 -10
- 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 +5 -4
- package/es/src/config-provider/config-provider.d.ts +9 -8
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -4
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/config-provider/index.d.ts +14 -13
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +38 -37
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.mjs +16 -15
- 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 +6 -5
- 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 +11 -10
- 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 +2 -31
- 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 +15 -14
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +19 -18
- 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 +20 -48
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +10 -29
- package/lib/src/ap-form/search-form/index.vue.d.ts +19 -18
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- 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-tag/ap-tag.vue.js +1 -1
- 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 +7 -2
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +11 -33
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/constans.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +5 -2
- package/lib/src/business/ap-draggable-grid/interface.d.ts +3 -2
- package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
- package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.js +1 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -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 +4 -2
- package/lib/src/business/ap-table-modal/index.d.ts +5 -17
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +11 -10
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -10
- 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 +5 -4
- package/lib/src/config-provider/config-provider.d.ts +9 -8
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -4
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/config-provider/index.d.ts +14 -13
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- 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 +6 -5
- 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 +11 -10
- package/package.json +1 -1
- package/theme/antd-global-overwrite/admin/alert.css +37 -0
- package/theme/antd-global-overwrite/admin/alert.less +51 -0
- package/theme/antd-global-overwrite/admin/button.css +27 -0
- package/theme/antd-global-overwrite/admin/button.less +31 -0
- package/theme/antd-global-overwrite/admin/field.css +42 -0
- package/theme/antd-global-overwrite/admin/field.less +43 -0
- package/theme/antd-global-overwrite/admin/form.css +57 -0
- package/theme/antd-global-overwrite/admin/form.less +97 -0
- package/theme/antd-global-overwrite/admin/message.css +10 -0
- package/theme/antd-global-overwrite/admin/message.less +13 -0
- package/theme/antd-global-overwrite/admin/modal.css +94 -0
- package/theme/antd-global-overwrite/admin/modal.less +128 -0
- package/theme/antd-global-overwrite/admin/pagination.css +122 -0
- package/theme/antd-global-overwrite/admin/pagination.less +91 -0
- package/theme/antd-global-overwrite/admin/steps.css +127 -0
- package/theme/antd-global-overwrite/admin/steps.less +197 -0
- package/theme/antd-global-overwrite/admin/table.css +78 -0
- package/theme/antd-global-overwrite/admin/table.less +62 -0
- package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/alert.css +40 -0
- package/theme/antd-global-overwrite/aplus/alert.less +55 -0
- package/theme/antd-global-overwrite/aplus/button.css +27 -0
- package/theme/antd-global-overwrite/aplus/button.less +31 -0
- package/theme/antd-global-overwrite/aplus/field.css +42 -0
- package/theme/antd-global-overwrite/aplus/field.less +43 -0
- package/theme/antd-global-overwrite/aplus/form.css +87 -0
- package/theme/antd-global-overwrite/aplus/form.less +133 -0
- package/theme/antd-global-overwrite/aplus/message.css +10 -0
- package/theme/antd-global-overwrite/aplus/message.less +13 -0
- package/theme/antd-global-overwrite/aplus/modal.css +87 -0
- package/theme/antd-global-overwrite/aplus/modal.less +120 -0
- package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
- package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
- package/theme/antd-global-overwrite/aplus/steps.css +125 -0
- package/theme/antd-global-overwrite/aplus/steps.less +198 -0
- package/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/theme/antd-global-overwrite/aplus/table.less +61 -0
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-draggable-grid/ap-draggable-grid.css +3 -3
- package/theme/ap-draggable-grid/ap-draggable-grid.less +3 -4
- package/theme/ap-table/ap-table-pagination.css +12 -0
- package/theme/ap-table/ap-table-pagination.less +14 -0
- package/theme/ap-tag/ap-tag.css +4 -3
- package/theme/ap-tag/ap-tag.less +4 -3
- package/theme/index.css +7 -6
- package/theme/ui-mode.css +60 -0
- package/theme/ui-mode.less +109 -0
|
@@ -2,7 +2,6 @@ import { ApFormItemSelectProps } from '../interface';
|
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
4
4
|
import { FieldMode, ApFieldSelectProps } from '../../..';
|
|
5
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
5
|
import { SelectValue, DefaultOptionType, LabeledValue } from '@aplus-frontend/antdv/es/select';
|
|
7
6
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
8
7
|
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
@@ -11,6 +10,7 @@ import { AlignType } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
|
11
10
|
import { Recordable } from '../../../type';
|
|
12
11
|
import { SelectProps } from '@aplus-frontend/antdv';
|
|
13
12
|
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
13
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
14
14
|
import { OnCleanup } from '@vue/reactivity';
|
|
15
15
|
declare function __VLS_template(): {
|
|
16
16
|
attrs: Partial<{}>;
|
|
@@ -49,7 +49,7 @@ declare function __VLS_template(): {
|
|
|
49
49
|
readonly mode?: FieldMode | undefined;
|
|
50
50
|
readonly class?: unknown;
|
|
51
51
|
readonly style?: unknown;
|
|
52
|
-
readonly size?:
|
|
52
|
+
readonly size?: "small" | "large" | "middle" | undefined;
|
|
53
53
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
54
54
|
readonly onChange?: ((value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void) | undefined;
|
|
55
55
|
readonly onClick?: ((e: MouseEvent) => void) | undefined;
|
|
@@ -74,7 +74,7 @@ declare function __VLS_template(): {
|
|
|
74
74
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
75
75
|
readonly virtual?: boolean | undefined;
|
|
76
76
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
77
|
-
readonly defaultValue?:
|
|
77
|
+
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
78
78
|
readonly id?: string | undefined;
|
|
79
79
|
readonly placeholder?: any;
|
|
80
80
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
@@ -124,12 +124,12 @@ declare function __VLS_template(): {
|
|
|
124
124
|
readonly emptyText?: string | undefined;
|
|
125
125
|
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
126
126
|
readonly multiple?: boolean | undefined;
|
|
127
|
-
readonly value?:
|
|
127
|
+
readonly value?: SelectProps["value"];
|
|
128
128
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
129
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
129
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
130
130
|
readonly refetchOnFocus?: boolean | undefined;
|
|
131
131
|
readonly lazy?: boolean | undefined;
|
|
132
|
-
readonly addAll?: boolean | number | undefined;
|
|
132
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
133
133
|
readonly params?: Recordable | undefined;
|
|
134
134
|
readonly searchDelay?: number | undefined;
|
|
135
135
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -152,8 +152,8 @@ declare function __VLS_template(): {
|
|
|
152
152
|
suffixIcon: VueTypeValidableDef<any>;
|
|
153
153
|
itemIcon: VueTypeValidableDef<any>;
|
|
154
154
|
size: {
|
|
155
|
-
type: PropType<
|
|
156
|
-
default:
|
|
155
|
+
type: PropType<ButtonSize>;
|
|
156
|
+
default: ButtonSize;
|
|
157
157
|
};
|
|
158
158
|
mode: {
|
|
159
159
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -171,8 +171,8 @@ declare function __VLS_template(): {
|
|
|
171
171
|
popupClassName: StringConstructor;
|
|
172
172
|
dropdownClassName: StringConstructor;
|
|
173
173
|
placement: {
|
|
174
|
-
type: PropType<"
|
|
175
|
-
default: "
|
|
174
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
175
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
176
176
|
};
|
|
177
177
|
status: {
|
|
178
178
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -212,6 +212,8 @@ declare function __VLS_template(): {
|
|
|
212
212
|
default: any;
|
|
213
213
|
};
|
|
214
214
|
prefixCls: StringConstructor;
|
|
215
|
+
id: StringConstructor;
|
|
216
|
+
autofocus: BooleanConstructor;
|
|
215
217
|
getPopupContainer: {
|
|
216
218
|
type: PropType<RenderDOMFunc>;
|
|
217
219
|
};
|
|
@@ -223,28 +225,21 @@ declare function __VLS_template(): {
|
|
|
223
225
|
type: PropType<number | boolean>;
|
|
224
226
|
default: any;
|
|
225
227
|
};
|
|
226
|
-
|
|
227
|
-
type: BooleanConstructor;
|
|
228
|
-
default: any;
|
|
229
|
-
};
|
|
228
|
+
options: PropType< DefaultOptionType[]>;
|
|
230
229
|
showAction: {
|
|
231
230
|
type: PropType<("click" | "focus")[]>;
|
|
232
231
|
};
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
allowClear: {
|
|
232
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
233
|
+
loading: {
|
|
236
234
|
type: BooleanConstructor;
|
|
237
235
|
default: any;
|
|
238
236
|
};
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
placeholder: VueTypeValidableDef<any>;
|
|
238
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
239
|
+
allowClear: {
|
|
241
240
|
type: BooleanConstructor;
|
|
242
241
|
default: any;
|
|
243
242
|
};
|
|
244
|
-
id: StringConstructor;
|
|
245
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
246
|
-
options: PropType< DefaultOptionType[]>;
|
|
247
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
248
243
|
onSearch: PropType<(value: string) => void>;
|
|
249
244
|
fieldNames: PropType<FieldNames>;
|
|
250
245
|
dropdownStyle: {
|
|
@@ -253,6 +248,7 @@ declare function __VLS_template(): {
|
|
|
253
248
|
dropdownRender: {
|
|
254
249
|
type: PropType<DropdownRender>;
|
|
255
250
|
};
|
|
251
|
+
dropdownAlign: PropType<AlignType>;
|
|
256
252
|
showSearch: {
|
|
257
253
|
type: BooleanConstructor;
|
|
258
254
|
default: any;
|
|
@@ -275,6 +271,10 @@ declare function __VLS_template(): {
|
|
|
275
271
|
type: PropType<(option: Record<string, any>) => any>;
|
|
276
272
|
};
|
|
277
273
|
onClear: PropType<() => void>;
|
|
274
|
+
defaultOpen: {
|
|
275
|
+
type: BooleanConstructor;
|
|
276
|
+
default: any;
|
|
277
|
+
};
|
|
278
278
|
onDropdownVisibleChange: {
|
|
279
279
|
type: PropType<(open: boolean) => void>;
|
|
280
280
|
};
|
|
@@ -307,24 +307,24 @@ declare function __VLS_template(): {
|
|
|
307
307
|
default: any;
|
|
308
308
|
};
|
|
309
309
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
310
|
-
size:
|
|
310
|
+
size: ButtonSize;
|
|
311
311
|
value: SelectValue;
|
|
312
312
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
313
313
|
open: boolean;
|
|
314
314
|
disabled: boolean;
|
|
315
|
+
autofocus: boolean;
|
|
315
316
|
virtual: boolean;
|
|
316
317
|
dropdownMatchSelectWidth: number | boolean;
|
|
318
|
+
status: "" | "error" | "warning";
|
|
319
|
+
defaultValue: SelectValue;
|
|
320
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
321
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
317
322
|
loading: boolean;
|
|
318
323
|
bordered: boolean;
|
|
319
|
-
defaultValue: SelectValue;
|
|
320
|
-
status: "" | "error" | "warning";
|
|
321
324
|
allowClear: boolean;
|
|
322
|
-
autofocus: boolean;
|
|
323
|
-
defaultOpen: boolean;
|
|
324
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
325
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
326
325
|
showSearch: boolean;
|
|
327
326
|
choiceTransitionName: "";
|
|
327
|
+
defaultOpen: boolean;
|
|
328
328
|
showArrow: boolean;
|
|
329
329
|
autoClearSearchValue: boolean;
|
|
330
330
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
@@ -363,8 +363,8 @@ declare function __VLS_template(): {
|
|
|
363
363
|
suffixIcon: VueTypeValidableDef<any>;
|
|
364
364
|
itemIcon: VueTypeValidableDef<any>;
|
|
365
365
|
size: {
|
|
366
|
-
type: PropType<
|
|
367
|
-
default:
|
|
366
|
+
type: PropType<ButtonSize>;
|
|
367
|
+
default: ButtonSize;
|
|
368
368
|
};
|
|
369
369
|
mode: {
|
|
370
370
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -382,8 +382,8 @@ declare function __VLS_template(): {
|
|
|
382
382
|
popupClassName: StringConstructor;
|
|
383
383
|
dropdownClassName: StringConstructor;
|
|
384
384
|
placement: {
|
|
385
|
-
type: PropType<"
|
|
386
|
-
default: "
|
|
385
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
386
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
387
387
|
};
|
|
388
388
|
status: {
|
|
389
389
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -423,6 +423,8 @@ declare function __VLS_template(): {
|
|
|
423
423
|
default: any;
|
|
424
424
|
};
|
|
425
425
|
prefixCls: StringConstructor;
|
|
426
|
+
id: StringConstructor;
|
|
427
|
+
autofocus: BooleanConstructor;
|
|
426
428
|
getPopupContainer: {
|
|
427
429
|
type: PropType<RenderDOMFunc>;
|
|
428
430
|
};
|
|
@@ -434,28 +436,21 @@ declare function __VLS_template(): {
|
|
|
434
436
|
type: PropType<number | boolean>;
|
|
435
437
|
default: any;
|
|
436
438
|
};
|
|
437
|
-
|
|
438
|
-
type: BooleanConstructor;
|
|
439
|
-
default: any;
|
|
440
|
-
};
|
|
439
|
+
options: PropType< DefaultOptionType[]>;
|
|
441
440
|
showAction: {
|
|
442
441
|
type: PropType<("click" | "focus")[]>;
|
|
443
442
|
};
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
allowClear: {
|
|
443
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
444
|
+
loading: {
|
|
447
445
|
type: BooleanConstructor;
|
|
448
446
|
default: any;
|
|
449
447
|
};
|
|
450
|
-
|
|
451
|
-
|
|
448
|
+
placeholder: VueTypeValidableDef<any>;
|
|
449
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
450
|
+
allowClear: {
|
|
452
451
|
type: BooleanConstructor;
|
|
453
452
|
default: any;
|
|
454
453
|
};
|
|
455
|
-
id: StringConstructor;
|
|
456
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
457
|
-
options: PropType< DefaultOptionType[]>;
|
|
458
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
459
454
|
onSearch: PropType<(value: string) => void>;
|
|
460
455
|
fieldNames: PropType<FieldNames>;
|
|
461
456
|
dropdownStyle: {
|
|
@@ -464,6 +459,7 @@ declare function __VLS_template(): {
|
|
|
464
459
|
dropdownRender: {
|
|
465
460
|
type: PropType<DropdownRender>;
|
|
466
461
|
};
|
|
462
|
+
dropdownAlign: PropType<AlignType>;
|
|
467
463
|
showSearch: {
|
|
468
464
|
type: BooleanConstructor;
|
|
469
465
|
default: any;
|
|
@@ -486,6 +482,10 @@ declare function __VLS_template(): {
|
|
|
486
482
|
type: PropType<(option: Record<string, any>) => any>;
|
|
487
483
|
};
|
|
488
484
|
onClear: PropType<() => void>;
|
|
485
|
+
defaultOpen: {
|
|
486
|
+
type: BooleanConstructor;
|
|
487
|
+
default: any;
|
|
488
|
+
};
|
|
489
489
|
onDropdownVisibleChange: {
|
|
490
490
|
type: PropType<(open: boolean) => void>;
|
|
491
491
|
};
|
|
@@ -518,24 +518,24 @@ declare function __VLS_template(): {
|
|
|
518
518
|
default: any;
|
|
519
519
|
};
|
|
520
520
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
521
|
-
size:
|
|
521
|
+
size: ButtonSize;
|
|
522
522
|
value: SelectValue;
|
|
523
523
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
524
524
|
open: boolean;
|
|
525
525
|
disabled: boolean;
|
|
526
|
+
autofocus: boolean;
|
|
526
527
|
virtual: boolean;
|
|
527
528
|
dropdownMatchSelectWidth: number | boolean;
|
|
529
|
+
status: "" | "error" | "warning";
|
|
530
|
+
defaultValue: SelectValue;
|
|
531
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
532
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
528
533
|
loading: boolean;
|
|
529
534
|
bordered: boolean;
|
|
530
|
-
defaultValue: SelectValue;
|
|
531
|
-
status: "" | "error" | "warning";
|
|
532
535
|
allowClear: boolean;
|
|
533
|
-
autofocus: boolean;
|
|
534
|
-
defaultOpen: boolean;
|
|
535
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
536
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
537
536
|
showSearch: boolean;
|
|
538
537
|
choiceTransitionName: "";
|
|
538
|
+
defaultOpen: boolean;
|
|
539
539
|
showArrow: boolean;
|
|
540
540
|
autoClearSearchValue: boolean;
|
|
541
541
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
@@ -680,7 +680,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
680
680
|
readonly mode?: FieldMode | undefined;
|
|
681
681
|
readonly class?: unknown;
|
|
682
682
|
readonly style?: unknown;
|
|
683
|
-
readonly size?:
|
|
683
|
+
readonly size?: "small" | "large" | "middle" | undefined;
|
|
684
684
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
685
685
|
readonly onChange?: ((value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void) | undefined;
|
|
686
686
|
readonly onClick?: ((e: MouseEvent) => void) | undefined;
|
|
@@ -705,7 +705,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
705
705
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
706
706
|
readonly virtual?: boolean | undefined;
|
|
707
707
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
708
|
-
readonly defaultValue?:
|
|
708
|
+
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
709
709
|
readonly id?: string | undefined;
|
|
710
710
|
readonly placeholder?: any;
|
|
711
711
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
@@ -755,12 +755,12 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
755
755
|
readonly emptyText?: string | undefined;
|
|
756
756
|
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
757
757
|
readonly multiple?: boolean | undefined;
|
|
758
|
-
readonly value?:
|
|
758
|
+
readonly value?: SelectProps["value"];
|
|
759
759
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
760
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
760
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
761
761
|
readonly refetchOnFocus?: boolean | undefined;
|
|
762
762
|
readonly lazy?: boolean | undefined;
|
|
763
|
-
readonly addAll?: boolean | number | undefined;
|
|
763
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
764
764
|
readonly params?: Recordable | undefined;
|
|
765
765
|
readonly searchDelay?: number | undefined;
|
|
766
766
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -783,8 +783,8 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
783
783
|
suffixIcon: VueTypeValidableDef<any>;
|
|
784
784
|
itemIcon: VueTypeValidableDef<any>;
|
|
785
785
|
size: {
|
|
786
|
-
type: PropType<
|
|
787
|
-
default:
|
|
786
|
+
type: PropType<ButtonSize>;
|
|
787
|
+
default: ButtonSize;
|
|
788
788
|
};
|
|
789
789
|
mode: {
|
|
790
790
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -802,8 +802,8 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
802
802
|
popupClassName: StringConstructor;
|
|
803
803
|
dropdownClassName: StringConstructor;
|
|
804
804
|
placement: {
|
|
805
|
-
type: PropType<"
|
|
806
|
-
default: "
|
|
805
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
806
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
807
807
|
};
|
|
808
808
|
status: {
|
|
809
809
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -843,6 +843,8 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
843
843
|
default: any;
|
|
844
844
|
};
|
|
845
845
|
prefixCls: StringConstructor;
|
|
846
|
+
id: StringConstructor;
|
|
847
|
+
autofocus: BooleanConstructor;
|
|
846
848
|
getPopupContainer: {
|
|
847
849
|
type: PropType<RenderDOMFunc>;
|
|
848
850
|
};
|
|
@@ -854,28 +856,21 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
854
856
|
type: PropType<number | boolean>;
|
|
855
857
|
default: any;
|
|
856
858
|
};
|
|
857
|
-
|
|
858
|
-
type: BooleanConstructor;
|
|
859
|
-
default: any;
|
|
860
|
-
};
|
|
859
|
+
options: PropType< DefaultOptionType[]>;
|
|
861
860
|
showAction: {
|
|
862
861
|
type: PropType<("click" | "focus")[]>;
|
|
863
862
|
};
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
allowClear: {
|
|
863
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
864
|
+
loading: {
|
|
867
865
|
type: BooleanConstructor;
|
|
868
866
|
default: any;
|
|
869
867
|
};
|
|
870
|
-
|
|
871
|
-
|
|
868
|
+
placeholder: VueTypeValidableDef<any>;
|
|
869
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
870
|
+
allowClear: {
|
|
872
871
|
type: BooleanConstructor;
|
|
873
872
|
default: any;
|
|
874
873
|
};
|
|
875
|
-
id: StringConstructor;
|
|
876
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
877
|
-
options: PropType< DefaultOptionType[]>;
|
|
878
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
879
874
|
onSearch: PropType<(value: string) => void>;
|
|
880
875
|
fieldNames: PropType<FieldNames>;
|
|
881
876
|
dropdownStyle: {
|
|
@@ -884,6 +879,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
884
879
|
dropdownRender: {
|
|
885
880
|
type: PropType<DropdownRender>;
|
|
886
881
|
};
|
|
882
|
+
dropdownAlign: PropType<AlignType>;
|
|
887
883
|
showSearch: {
|
|
888
884
|
type: BooleanConstructor;
|
|
889
885
|
default: any;
|
|
@@ -906,6 +902,10 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
906
902
|
type: PropType<(option: Record<string, any>) => any>;
|
|
907
903
|
};
|
|
908
904
|
onClear: PropType<() => void>;
|
|
905
|
+
defaultOpen: {
|
|
906
|
+
type: BooleanConstructor;
|
|
907
|
+
default: any;
|
|
908
|
+
};
|
|
909
909
|
onDropdownVisibleChange: {
|
|
910
910
|
type: PropType<(open: boolean) => void>;
|
|
911
911
|
};
|
|
@@ -938,24 +938,24 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
938
938
|
default: any;
|
|
939
939
|
};
|
|
940
940
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
941
|
-
size:
|
|
941
|
+
size: ButtonSize;
|
|
942
942
|
value: SelectValue;
|
|
943
943
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
944
944
|
open: boolean;
|
|
945
945
|
disabled: boolean;
|
|
946
|
+
autofocus: boolean;
|
|
946
947
|
virtual: boolean;
|
|
947
948
|
dropdownMatchSelectWidth: number | boolean;
|
|
949
|
+
status: "" | "error" | "warning";
|
|
950
|
+
defaultValue: SelectValue;
|
|
951
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
952
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
948
953
|
loading: boolean;
|
|
949
954
|
bordered: boolean;
|
|
950
|
-
defaultValue: SelectValue;
|
|
951
|
-
status: "" | "error" | "warning";
|
|
952
955
|
allowClear: boolean;
|
|
953
|
-
autofocus: boolean;
|
|
954
|
-
defaultOpen: boolean;
|
|
955
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
956
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
957
956
|
showSearch: boolean;
|
|
958
957
|
choiceTransitionName: "";
|
|
958
|
+
defaultOpen: boolean;
|
|
959
959
|
showArrow: boolean;
|
|
960
960
|
autoClearSearchValue: boolean;
|
|
961
961
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
@@ -994,8 +994,8 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
994
994
|
suffixIcon: VueTypeValidableDef<any>;
|
|
995
995
|
itemIcon: VueTypeValidableDef<any>;
|
|
996
996
|
size: {
|
|
997
|
-
type: PropType<
|
|
998
|
-
default:
|
|
997
|
+
type: PropType<ButtonSize>;
|
|
998
|
+
default: ButtonSize;
|
|
999
999
|
};
|
|
1000
1000
|
mode: {
|
|
1001
1001
|
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
@@ -1013,8 +1013,8 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1013
1013
|
popupClassName: StringConstructor;
|
|
1014
1014
|
dropdownClassName: StringConstructor;
|
|
1015
1015
|
placement: {
|
|
1016
|
-
type: PropType<"
|
|
1017
|
-
default: "
|
|
1016
|
+
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
1017
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
1018
1018
|
};
|
|
1019
1019
|
status: {
|
|
1020
1020
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -1054,6 +1054,8 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1054
1054
|
default: any;
|
|
1055
1055
|
};
|
|
1056
1056
|
prefixCls: StringConstructor;
|
|
1057
|
+
id: StringConstructor;
|
|
1058
|
+
autofocus: BooleanConstructor;
|
|
1057
1059
|
getPopupContainer: {
|
|
1058
1060
|
type: PropType<RenderDOMFunc>;
|
|
1059
1061
|
};
|
|
@@ -1065,28 +1067,21 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1065
1067
|
type: PropType<number | boolean>;
|
|
1066
1068
|
default: any;
|
|
1067
1069
|
};
|
|
1068
|
-
|
|
1069
|
-
type: BooleanConstructor;
|
|
1070
|
-
default: any;
|
|
1071
|
-
};
|
|
1070
|
+
options: PropType< DefaultOptionType[]>;
|
|
1072
1071
|
showAction: {
|
|
1073
1072
|
type: PropType<("click" | "focus")[]>;
|
|
1074
1073
|
};
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
allowClear: {
|
|
1074
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
1075
|
+
loading: {
|
|
1078
1076
|
type: BooleanConstructor;
|
|
1079
1077
|
default: any;
|
|
1080
1078
|
};
|
|
1081
|
-
|
|
1082
|
-
|
|
1079
|
+
placeholder: VueTypeValidableDef<any>;
|
|
1080
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
1081
|
+
allowClear: {
|
|
1083
1082
|
type: BooleanConstructor;
|
|
1084
1083
|
default: any;
|
|
1085
1084
|
};
|
|
1086
|
-
id: StringConstructor;
|
|
1087
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
1088
|
-
options: PropType< DefaultOptionType[]>;
|
|
1089
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
1090
1085
|
onSearch: PropType<(value: string) => void>;
|
|
1091
1086
|
fieldNames: PropType<FieldNames>;
|
|
1092
1087
|
dropdownStyle: {
|
|
@@ -1095,6 +1090,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1095
1090
|
dropdownRender: {
|
|
1096
1091
|
type: PropType<DropdownRender>;
|
|
1097
1092
|
};
|
|
1093
|
+
dropdownAlign: PropType<AlignType>;
|
|
1098
1094
|
showSearch: {
|
|
1099
1095
|
type: BooleanConstructor;
|
|
1100
1096
|
default: any;
|
|
@@ -1117,6 +1113,10 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1117
1113
|
type: PropType<(option: Record<string, any>) => any>;
|
|
1118
1114
|
};
|
|
1119
1115
|
onClear: PropType<() => void>;
|
|
1116
|
+
defaultOpen: {
|
|
1117
|
+
type: BooleanConstructor;
|
|
1118
|
+
default: any;
|
|
1119
|
+
};
|
|
1120
1120
|
onDropdownVisibleChange: {
|
|
1121
1121
|
type: PropType<(open: boolean) => void>;
|
|
1122
1122
|
};
|
|
@@ -1149,24 +1149,24 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1149
1149
|
default: any;
|
|
1150
1150
|
};
|
|
1151
1151
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1152
|
-
size:
|
|
1152
|
+
size: ButtonSize;
|
|
1153
1153
|
value: SelectValue;
|
|
1154
1154
|
mode: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
1155
1155
|
open: boolean;
|
|
1156
1156
|
disabled: boolean;
|
|
1157
|
+
autofocus: boolean;
|
|
1157
1158
|
virtual: boolean;
|
|
1158
1159
|
dropdownMatchSelectWidth: number | boolean;
|
|
1160
|
+
status: "" | "error" | "warning";
|
|
1161
|
+
defaultValue: SelectValue;
|
|
1162
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
1163
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
1159
1164
|
loading: boolean;
|
|
1160
1165
|
bordered: boolean;
|
|
1161
|
-
defaultValue: SelectValue;
|
|
1162
|
-
status: "" | "error" | "warning";
|
|
1163
1166
|
allowClear: boolean;
|
|
1164
|
-
autofocus: boolean;
|
|
1165
|
-
defaultOpen: boolean;
|
|
1166
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
1167
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1168
1167
|
showSearch: boolean;
|
|
1169
1168
|
choiceTransitionName: "";
|
|
1169
|
+
defaultOpen: boolean;
|
|
1170
1170
|
showArrow: boolean;
|
|
1171
1171
|
autoClearSearchValue: boolean;
|
|
1172
1172
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as x, ref as g, computed as S,
|
|
1
|
+
import { defineComponent as B, useSlots as x, ref as g, computed as S, openBlock as F, createBlock as k, normalizeProps as d, guardReactiveProps as n, unref as l, createSlots as u, withCtx as i, createVNode as C, mergeProps as P, renderList as f, renderSlot as c } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
4
|
import { isUndefined as q, omit as m, pick as $ } from "lodash-unified";
|
|
@@ -77,7 +77,7 @@ const E = /* @__PURE__ */ B({
|
|
|
77
77
|
var e;
|
|
78
78
|
(e = t.value) == null || e.request();
|
|
79
79
|
}
|
|
80
|
-
}), (e, a) => (
|
|
80
|
+
}), (e, a) => (F(), k(N, d(n(l(m)(o, ["field", "placeholder", "disabled"]))), u({
|
|
81
81
|
default: i(() => [
|
|
82
82
|
C(l(R), P(h.value, {
|
|
83
83
|
ref_key: "selectRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, useSlots as B,
|
|
1
|
+
import { defineComponent as b, useSlots as B, openBlock as h, createBlock as v, normalizeProps as t, guardReactiveProps as r, unref as o, createSlots as d, withCtx as i, createVNode as y, mergeProps as g, renderList as n, renderSlot as p } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/switch/index.vue2.mjs";
|
|
4
4
|
import { omit as m, pick as x } from "lodash-unified";
|
|
@@ -54,7 +54,7 @@ const I = /* @__PURE__ */ b({
|
|
|
54
54
|
},
|
|
55
55
|
setup(u) {
|
|
56
56
|
const c = u, s = B();
|
|
57
|
-
return (l, F) => (
|
|
57
|
+
return (l, F) => (h(), v(S, t(r(o(m)(c, ["field", "disabled"]))), d({
|
|
58
58
|
default: i(() => [
|
|
59
59
|
y(k, g({ disabled: l.disabled }, l.field), d({ _: 2 }, [
|
|
60
60
|
n(o(m)(s, o(f)), (_, e) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
1
|
+
import { defineComponent as a, openBlock as m, createBlock as s, unref as o, mergeProps as c, withCtx as n, renderSlot as u } from "vue";
|
|
2
2
|
import { Input as l } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as f } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -11,7 +11,7 @@ const B = /* @__PURE__ */ a({
|
|
|
11
11
|
},
|
|
12
12
|
setup(t) {
|
|
13
13
|
const { b: p } = f("ap-form-item-text-group"), r = t;
|
|
14
|
-
return (e, i) => (
|
|
14
|
+
return (e, i) => (m(), s(o(l).Group, c({
|
|
15
15
|
class: e.$props.compact ? o(p)("compact") : null
|
|
16
16
|
}, r), {
|
|
17
17
|
default: n(() => [
|
|
@@ -3,7 +3,7 @@ import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commo
|
|
|
3
3
|
import { ApFormItemSlots } from '../../interface';
|
|
4
4
|
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
|
5
5
|
import { FieldMode, ApFieldTextProps } from '../../..';
|
|
6
|
-
import {
|
|
6
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
7
7
|
import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
8
8
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
9
9
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -32,7 +32,7 @@ declare function __VLS_template(): {
|
|
|
32
32
|
readonly style?: unknown;
|
|
33
33
|
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;
|
|
34
34
|
readonly lazy?: boolean | undefined;
|
|
35
|
-
readonly size?:
|
|
35
|
+
readonly size?: ButtonSize;
|
|
36
36
|
readonly hidden?: boolean | undefined;
|
|
37
37
|
readonly onBlur?: FocusEventHandler | undefined;
|
|
38
38
|
readonly onChange?: ChangeEventHandler | undefined;
|
|
@@ -188,7 +188,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
188
188
|
readonly style?: unknown;
|
|
189
189
|
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;
|
|
190
190
|
readonly lazy?: boolean | undefined;
|
|
191
|
-
readonly size?:
|
|
191
|
+
readonly size?: ButtonSize;
|
|
192
192
|
readonly hidden?: boolean | undefined;
|
|
193
193
|
readonly onBlur?: FocusEventHandler | undefined;
|
|
194
194
|
readonly onChange?: ChangeEventHandler | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as x, ref as S, computed as _,
|
|
1
|
+
import { defineComponent as B, useSlots as x, ref as S, computed as _, openBlock as F, createBlock as k, normalizeProps as n, guardReactiveProps as i, unref as t, createSlots as u, withCtx as p, createVNode as R, mergeProps as C, renderList as f, renderSlot as c } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import { ApField as P } from "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as m, pick as A } from "lodash-unified";
|
|
@@ -76,7 +76,7 @@ const E = /* @__PURE__ */ B({
|
|
|
76
76
|
var e;
|
|
77
77
|
return (e = l.value) == null ? void 0 : e.input;
|
|
78
78
|
})
|
|
79
|
-
}), (e, a) => (
|
|
79
|
+
}), (e, a) => (F(), k(N, n(i(t(m)(y, ["field", "disabled", "placeholder"]))), u({
|
|
80
80
|
default: p(() => [
|
|
81
81
|
R(t(g), C({
|
|
82
82
|
ref_key: "inputRef",
|