@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,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 { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
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<ButtonSize>;
|
|
43
|
+
default: ButtonSize;
|
|
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<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
62
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
63
63
|
};
|
|
64
64
|
status: {
|
|
65
65
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -99,6 +99,8 @@ declare function __VLS_template(): {
|
|
|
99
99
|
default: any;
|
|
100
100
|
};
|
|
101
101
|
prefixCls: StringConstructor;
|
|
102
|
+
id: StringConstructor;
|
|
103
|
+
autofocus: BooleanConstructor;
|
|
102
104
|
getPopupContainer: {
|
|
103
105
|
type: PropType<RenderDOMFunc>;
|
|
104
106
|
};
|
|
@@ -110,28 +112,21 @@ declare function __VLS_template(): {
|
|
|
110
112
|
type: PropType<number | boolean>;
|
|
111
113
|
default: any;
|
|
112
114
|
};
|
|
113
|
-
|
|
114
|
-
type: BooleanConstructor;
|
|
115
|
-
default: any;
|
|
116
|
-
};
|
|
115
|
+
options: PropType<DefaultOptionType[]>;
|
|
117
116
|
showAction: {
|
|
118
117
|
type: PropType<("click" | "focus")[]>;
|
|
119
118
|
};
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
allowClear: {
|
|
119
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
120
|
+
loading: {
|
|
123
121
|
type: BooleanConstructor;
|
|
124
122
|
default: any;
|
|
125
123
|
};
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
placeholder: VueTypeValidableDef<any>;
|
|
125
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
126
|
+
allowClear: {
|
|
128
127
|
type: BooleanConstructor;
|
|
129
128
|
default: any;
|
|
130
129
|
};
|
|
131
|
-
id: StringConstructor;
|
|
132
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
133
|
-
options: PropType<DefaultOptionType[]>;
|
|
134
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
135
130
|
onSearch: PropType<(value: string) => void>;
|
|
136
131
|
fieldNames: PropType<FieldNames>;
|
|
137
132
|
dropdownStyle: {
|
|
@@ -140,6 +135,7 @@ declare function __VLS_template(): {
|
|
|
140
135
|
dropdownRender: {
|
|
141
136
|
type: PropType<DropdownRender>;
|
|
142
137
|
};
|
|
138
|
+
dropdownAlign: PropType<AlignType>;
|
|
143
139
|
showSearch: {
|
|
144
140
|
type: BooleanConstructor;
|
|
145
141
|
default: any;
|
|
@@ -162,6 +158,10 @@ declare function __VLS_template(): {
|
|
|
162
158
|
type: PropType<(option: Record<string, any>) => any>;
|
|
163
159
|
};
|
|
164
160
|
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: ButtonSize;
|
|
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;
|
|
202
203
|
virtual: boolean;
|
|
203
204
|
dropdownMatchSelectWidth: number | boolean;
|
|
205
|
+
status: "" | "error" | "warning";
|
|
206
|
+
defaultValue: SelectValue;
|
|
207
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
208
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
204
209
|
loading: boolean;
|
|
205
210
|
bordered: boolean;
|
|
206
|
-
defaultValue: SelectValue;
|
|
207
|
-
status: "" | "error" | "warning";
|
|
208
211
|
allowClear: boolean;
|
|
209
|
-
autofocus: boolean;
|
|
210
|
-
defaultOpen: boolean;
|
|
211
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
212
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
213
212
|
showSearch: boolean;
|
|
214
213
|
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<ButtonSize>;
|
|
254
|
+
default: ButtonSize;
|
|
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<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
273
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
274
274
|
};
|
|
275
275
|
status: {
|
|
276
276
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -310,6 +310,8 @@ declare function __VLS_template(): {
|
|
|
310
310
|
default: any;
|
|
311
311
|
};
|
|
312
312
|
prefixCls: StringConstructor;
|
|
313
|
+
id: StringConstructor;
|
|
314
|
+
autofocus: BooleanConstructor;
|
|
313
315
|
getPopupContainer: {
|
|
314
316
|
type: PropType<RenderDOMFunc>;
|
|
315
317
|
};
|
|
@@ -321,28 +323,21 @@ declare function __VLS_template(): {
|
|
|
321
323
|
type: PropType<number | boolean>;
|
|
322
324
|
default: any;
|
|
323
325
|
};
|
|
324
|
-
|
|
325
|
-
type: BooleanConstructor;
|
|
326
|
-
default: any;
|
|
327
|
-
};
|
|
326
|
+
options: PropType<DefaultOptionType[]>;
|
|
328
327
|
showAction: {
|
|
329
328
|
type: PropType<("click" | "focus")[]>;
|
|
330
329
|
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
allowClear: {
|
|
330
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
331
|
+
loading: {
|
|
334
332
|
type: BooleanConstructor;
|
|
335
333
|
default: any;
|
|
336
334
|
};
|
|
337
|
-
|
|
338
|
-
|
|
335
|
+
placeholder: VueTypeValidableDef<any>;
|
|
336
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
337
|
+
allowClear: {
|
|
339
338
|
type: BooleanConstructor;
|
|
340
339
|
default: any;
|
|
341
340
|
};
|
|
342
|
-
id: StringConstructor;
|
|
343
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
344
|
-
options: PropType<DefaultOptionType[]>;
|
|
345
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
346
341
|
onSearch: PropType<(value: string) => void>;
|
|
347
342
|
fieldNames: PropType<FieldNames>;
|
|
348
343
|
dropdownStyle: {
|
|
@@ -351,6 +346,7 @@ declare function __VLS_template(): {
|
|
|
351
346
|
dropdownRender: {
|
|
352
347
|
type: PropType<DropdownRender>;
|
|
353
348
|
};
|
|
349
|
+
dropdownAlign: PropType<AlignType>;
|
|
354
350
|
showSearch: {
|
|
355
351
|
type: BooleanConstructor;
|
|
356
352
|
default: any;
|
|
@@ -373,6 +369,10 @@ declare function __VLS_template(): {
|
|
|
373
369
|
type: PropType<(option: Record<string, any>) => any>;
|
|
374
370
|
};
|
|
375
371
|
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: ButtonSize;
|
|
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;
|
|
413
414
|
virtual: boolean;
|
|
414
415
|
dropdownMatchSelectWidth: number | boolean;
|
|
416
|
+
status: "" | "error" | "warning";
|
|
417
|
+
defaultValue: SelectValue;
|
|
418
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
419
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
415
420
|
loading: boolean;
|
|
416
421
|
bordered: boolean;
|
|
417
|
-
defaultValue: SelectValue;
|
|
418
|
-
status: "" | "error" | "warning";
|
|
419
422
|
allowClear: boolean;
|
|
420
|
-
autofocus: boolean;
|
|
421
|
-
defaultOpen: boolean;
|
|
422
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
423
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
424
423
|
showSearch: boolean;
|
|
425
424
|
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<ButtonSize>;
|
|
480
|
+
default: ButtonSize;
|
|
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<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
499
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
500
500
|
};
|
|
501
501
|
status: {
|
|
502
502
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -536,6 +536,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
536
536
|
default: any;
|
|
537
537
|
};
|
|
538
538
|
prefixCls: StringConstructor;
|
|
539
|
+
id: StringConstructor;
|
|
540
|
+
autofocus: BooleanConstructor;
|
|
539
541
|
getPopupContainer: {
|
|
540
542
|
type: PropType<RenderDOMFunc>;
|
|
541
543
|
};
|
|
@@ -547,28 +549,21 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
547
549
|
type: PropType<number | boolean>;
|
|
548
550
|
default: any;
|
|
549
551
|
};
|
|
550
|
-
|
|
551
|
-
type: BooleanConstructor;
|
|
552
|
-
default: any;
|
|
553
|
-
};
|
|
552
|
+
options: PropType<DefaultOptionType[]>;
|
|
554
553
|
showAction: {
|
|
555
554
|
type: PropType<("click" | "focus")[]>;
|
|
556
555
|
};
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
allowClear: {
|
|
556
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
557
|
+
loading: {
|
|
560
558
|
type: BooleanConstructor;
|
|
561
559
|
default: any;
|
|
562
560
|
};
|
|
563
|
-
|
|
564
|
-
|
|
561
|
+
placeholder: VueTypeValidableDef<any>;
|
|
562
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
563
|
+
allowClear: {
|
|
565
564
|
type: BooleanConstructor;
|
|
566
565
|
default: any;
|
|
567
566
|
};
|
|
568
|
-
id: StringConstructor;
|
|
569
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
570
|
-
options: PropType<DefaultOptionType[]>;
|
|
571
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
572
567
|
onSearch: PropType<(value: string) => void>;
|
|
573
568
|
fieldNames: PropType<FieldNames>;
|
|
574
569
|
dropdownStyle: {
|
|
@@ -577,6 +572,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
577
572
|
dropdownRender: {
|
|
578
573
|
type: PropType<DropdownRender>;
|
|
579
574
|
};
|
|
575
|
+
dropdownAlign: PropType<AlignType>;
|
|
580
576
|
showSearch: {
|
|
581
577
|
type: BooleanConstructor;
|
|
582
578
|
default: any;
|
|
@@ -599,6 +595,10 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
599
595
|
type: PropType<(option: Record<string, any>) => any>;
|
|
600
596
|
};
|
|
601
597
|
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: ButtonSize;
|
|
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;
|
|
639
640
|
virtual: boolean;
|
|
640
641
|
dropdownMatchSelectWidth: number | boolean;
|
|
642
|
+
status: "" | "error" | "warning";
|
|
643
|
+
defaultValue: SelectValue;
|
|
644
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
645
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
641
646
|
loading: boolean;
|
|
642
647
|
bordered: boolean;
|
|
643
|
-
defaultValue: SelectValue;
|
|
644
|
-
status: "" | "error" | "warning";
|
|
645
648
|
allowClear: boolean;
|
|
646
|
-
autofocus: boolean;
|
|
647
|
-
defaultOpen: boolean;
|
|
648
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
649
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
650
649
|
showSearch: boolean;
|
|
651
650
|
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<ButtonSize>;
|
|
691
|
+
default: ButtonSize;
|
|
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<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
710
|
+
default: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
711
711
|
};
|
|
712
712
|
status: {
|
|
713
713
|
type: PropType<"" | "error" | "warning">;
|
|
@@ -747,6 +747,8 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
747
747
|
default: any;
|
|
748
748
|
};
|
|
749
749
|
prefixCls: StringConstructor;
|
|
750
|
+
id: StringConstructor;
|
|
751
|
+
autofocus: BooleanConstructor;
|
|
750
752
|
getPopupContainer: {
|
|
751
753
|
type: PropType<RenderDOMFunc>;
|
|
752
754
|
};
|
|
@@ -758,28 +760,21 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
758
760
|
type: PropType<number | boolean>;
|
|
759
761
|
default: any;
|
|
760
762
|
};
|
|
761
|
-
|
|
762
|
-
type: BooleanConstructor;
|
|
763
|
-
default: any;
|
|
764
|
-
};
|
|
763
|
+
options: PropType<DefaultOptionType[]>;
|
|
765
764
|
showAction: {
|
|
766
765
|
type: PropType<("click" | "focus")[]>;
|
|
767
766
|
};
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
allowClear: {
|
|
767
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
768
|
+
loading: {
|
|
771
769
|
type: BooleanConstructor;
|
|
772
770
|
default: any;
|
|
773
771
|
};
|
|
774
|
-
|
|
775
|
-
|
|
772
|
+
placeholder: VueTypeValidableDef<any>;
|
|
773
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
774
|
+
allowClear: {
|
|
776
775
|
type: BooleanConstructor;
|
|
777
776
|
default: any;
|
|
778
777
|
};
|
|
779
|
-
id: StringConstructor;
|
|
780
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
781
|
-
options: PropType<DefaultOptionType[]>;
|
|
782
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
783
778
|
onSearch: PropType<(value: string) => void>;
|
|
784
779
|
fieldNames: PropType<FieldNames>;
|
|
785
780
|
dropdownStyle: {
|
|
@@ -788,6 +783,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
788
783
|
dropdownRender: {
|
|
789
784
|
type: PropType<DropdownRender>;
|
|
790
785
|
};
|
|
786
|
+
dropdownAlign: PropType<AlignType>;
|
|
791
787
|
showSearch: {
|
|
792
788
|
type: BooleanConstructor;
|
|
793
789
|
default: any;
|
|
@@ -810,6 +806,10 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
810
806
|
type: PropType<(option: Record<string, any>) => any>;
|
|
811
807
|
};
|
|
812
808
|
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: ButtonSize;
|
|
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;
|
|
850
851
|
virtual: boolean;
|
|
851
852
|
dropdownMatchSelectWidth: number | boolean;
|
|
853
|
+
status: "" | "error" | "warning";
|
|
854
|
+
defaultValue: SelectValue;
|
|
855
|
+
'onUpdate:value': (val: SelectValue) => void;
|
|
856
|
+
placement: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
852
857
|
loading: boolean;
|
|
853
858
|
bordered: boolean;
|
|
854
|
-
defaultValue: SelectValue;
|
|
855
|
-
status: "" | "error" | "warning";
|
|
856
859
|
allowClear: boolean;
|
|
857
|
-
autofocus: boolean;
|
|
858
|
-
defaultOpen: boolean;
|
|
859
|
-
'onUpdate:value': (val: SelectValue) => void;
|
|
860
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
861
860
|
showSearch: boolean;
|
|
862
861
|
choiceTransitionName: "";
|
|
862
|
+
defaultOpen: boolean;
|
|
863
863
|
showArrow: boolean;
|
|
864
864
|
autoClearSearchValue: boolean;
|
|
865
865
|
filterOption: boolean | FilterFunc<DefaultOptionType>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, ref as B, onMounted as E, watch as U, computed as p, unref as a,
|
|
1
|
+
import { defineComponent as z, ref as B, onMounted as E, watch as U, computed as p, unref as a, openBlock as C, createElementBlock as K, toDisplayString as H, createBlock as $, mergeProps as j, createSlots as W, renderList as Y, withCtx as F, renderSlot as G, normalizeProps as J, guardReactiveProps as Q, createVNode as X } from "vue";
|
|
2
2
|
import { debounce as Z, isFunction as b, isArray as ee, isNil as te, omit as oe } from "lodash-unified";
|
|
3
3
|
import { Select as le, Spin as ae } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -42,23 +42,22 @@ const ie = { key: 0 }, he = /* @__PURE__ */ z({
|
|
|
42
42
|
direction: {},
|
|
43
43
|
disabled: { type: Boolean, default: void 0 },
|
|
44
44
|
prefixCls: {},
|
|
45
|
+
id: {},
|
|
46
|
+
autofocus: { type: Boolean, default: void 0 },
|
|
45
47
|
getPopupContainer: {},
|
|
46
48
|
virtual: { type: Boolean, default: void 0 },
|
|
47
49
|
dropdownMatchSelectWidth: {},
|
|
48
|
-
|
|
50
|
+
options: {},
|
|
49
51
|
showAction: {},
|
|
50
|
-
|
|
52
|
+
onDeselect: {},
|
|
53
|
+
loading: { type: Boolean, default: void 0 },
|
|
51
54
|
placeholder: {},
|
|
52
|
-
allowClear: { type: Boolean, default: !0 },
|
|
53
|
-
autofocus: { type: Boolean, default: void 0 },
|
|
54
|
-
defaultOpen: { type: Boolean, default: void 0 },
|
|
55
|
-
id: {},
|
|
56
55
|
clearIcon: {},
|
|
57
|
-
|
|
58
|
-
onDeselect: {},
|
|
56
|
+
allowClear: { type: Boolean, default: !0 },
|
|
59
57
|
fieldNames: {},
|
|
60
58
|
dropdownStyle: {},
|
|
61
59
|
dropdownRender: {},
|
|
60
|
+
dropdownAlign: {},
|
|
62
61
|
showSearch: { type: Boolean, default: void 0 },
|
|
63
62
|
searchValue: {},
|
|
64
63
|
onInputKeyDown: {},
|
|
@@ -70,6 +69,7 @@ const ie = { key: 0 }, he = /* @__PURE__ */ z({
|
|
|
70
69
|
tagRender: {},
|
|
71
70
|
optionLabelRender: {},
|
|
72
71
|
onClear: {},
|
|
72
|
+
defaultOpen: { type: Boolean, default: void 0 },
|
|
73
73
|
onDropdownVisibleChange: {},
|
|
74
74
|
showArrow: { type: Boolean, default: void 0 },
|
|
75
75
|
onPopupScroll: {},
|
|
@@ -220,7 +220,7 @@ const ie = { key: 0 }, he = /* @__PURE__ */ z({
|
|
|
220
220
|
focus: M,
|
|
221
221
|
blur: D,
|
|
222
222
|
request: d
|
|
223
|
-
}), (t, o) => t.mode === "read" ? (C(), K("span", ie,
|
|
223
|
+
}), (t, o) => t.mode === "read" ? (C(), K("span", ie, H(L.value), 1)) : (C(), $(a(le), j({
|
|
224
224
|
key: 1,
|
|
225
225
|
ref_key: "selectRef",
|
|
226
226
|
ref: v,
|
|
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
|
|
|
6
6
|
options: Ref<{
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
label?: any;
|
|
9
|
-
value?: string | number | null | undefined;
|
|
9
|
+
value?: (string | number | null) | undefined;
|
|
10
10
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}[], DefaultOptionType[] | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
label?: any;
|
|
15
|
-
value?: string | number | null | undefined;
|
|
15
|
+
value?: (string | number | null) | undefined;
|
|
16
16
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
}[]>;
|
|
@@ -124,10 +124,10 @@ declare function __VLS_template(): {
|
|
|
124
124
|
onChange: (value: number | [number, number]) => void;
|
|
125
125
|
range: boolean | SliderRange;
|
|
126
126
|
disabled: boolean;
|
|
127
|
-
defaultValue: number | [number, number];
|
|
128
|
-
step: number;
|
|
129
127
|
autofocus: boolean;
|
|
128
|
+
defaultValue: number | [number, number];
|
|
130
129
|
'onUpdate:value': (value: number | [number, number]) => void;
|
|
130
|
+
step: number;
|
|
131
131
|
included: boolean;
|
|
132
132
|
marks: SliderMarks;
|
|
133
133
|
handleStyle: CSSProperties | CSSProperties[];
|
|
@@ -256,10 +256,10 @@ declare function __VLS_template(): {
|
|
|
256
256
|
onChange: (value: number | [number, number]) => void;
|
|
257
257
|
range: boolean | SliderRange;
|
|
258
258
|
disabled: boolean;
|
|
259
|
-
defaultValue: number | [number, number];
|
|
260
|
-
step: number;
|
|
261
259
|
autofocus: boolean;
|
|
260
|
+
defaultValue: number | [number, number];
|
|
262
261
|
'onUpdate:value': (value: number | [number, number]) => void;
|
|
262
|
+
step: number;
|
|
263
263
|
included: boolean;
|
|
264
264
|
marks: SliderMarks;
|
|
265
265
|
handleStyle: CSSProperties | CSSProperties[];
|
|
@@ -400,10 +400,10 @@ declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
|
|
|
400
400
|
onChange: (value: number | [number, number]) => void;
|
|
401
401
|
range: boolean | SliderRange;
|
|
402
402
|
disabled: boolean;
|
|
403
|
-
defaultValue: number | [number, number];
|
|
404
|
-
step: number;
|
|
405
403
|
autofocus: boolean;
|
|
404
|
+
defaultValue: number | [number, number];
|
|
406
405
|
'onUpdate:value': (value: number | [number, number]) => void;
|
|
406
|
+
step: number;
|
|
407
407
|
included: boolean;
|
|
408
408
|
marks: SliderMarks;
|
|
409
409
|
handleStyle: CSSProperties | CSSProperties[];
|
|
@@ -532,10 +532,10 @@ declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
|
|
|
532
532
|
onChange: (value: number | [number, number]) => void;
|
|
533
533
|
range: boolean | SliderRange;
|
|
534
534
|
disabled: boolean;
|
|
535
|
-
defaultValue: number | [number, number];
|
|
536
|
-
step: number;
|
|
537
535
|
autofocus: boolean;
|
|
536
|
+
defaultValue: number | [number, number];
|
|
538
537
|
'onUpdate:value': (value: number | [number, number]) => void;
|
|
538
|
+
step: number;
|
|
539
539
|
included: boolean;
|
|
540
540
|
marks: SliderMarks;
|
|
541
541
|
handleStyle: CSSProperties | CSSProperties[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o,
|
|
1
|
+
import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o, openBlock as u, createElementBlock as S, Fragment as _, createTextVNode as P, toDisplayString as T, createBlock as V, mergeProps as b, createSlots as h, renderList as F, withCtx as R, renderSlot as U, normalizeProps as A, guardReactiveProps as $ } from "vue";
|
|
2
2
|
import { Slider as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as w, isArray as z, omit as D } from "lodash-unified";
|
|
@@ -57,9 +57,9 @@ const I = /* @__PURE__ */ x({
|
|
|
57
57
|
return p({
|
|
58
58
|
focus: v,
|
|
59
59
|
blur: y
|
|
60
|
-
}), (e, t) => e.mode === "read" ? (u(), S(
|
|
61
|
-
T(
|
|
62
|
-
], 64)) : (u(),
|
|
60
|
+
}), (e, t) => e.mode === "read" ? (u(), S(_, { key: 0 }, [
|
|
61
|
+
P(T(c.value), 1)
|
|
62
|
+
], 64)) : (u(), V(o(N), b(
|
|
63
63
|
{ key: 1 },
|
|
64
64
|
o(D)(a, [
|
|
65
65
|
"value",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f,
|
|
1
|
+
import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f, openBlock as h, createBlock as k, resolveDynamicComponent as E, createElementBlock as K, mergeProps as p, createSlots as v, renderList as V, withCtx as C, renderSlot as B, normalizeProps as b, guardReactiveProps as w } from "vue";
|
|
2
2
|
import { Switch as A, Popconfirm as L } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as M, isFunction as R, omit as P } from "lodash-unified";
|
|
@@ -86,9 +86,9 @@ const O = /* @__PURE__ */ z({
|
|
|
86
86
|
const n = o(d);
|
|
87
87
|
return M(n) ? s(f, null, [e.emptyText]) : n === e.checkedValue ? s(f, null, [e.checkedChildren || ((i = c.checkedChildren) == null ? void 0 : i.call(c)) || `${e.checkedValue}`]) : s(f, null, [e.unCheckedChildren || ((t = c.unCheckedChildren) == null ? void 0 : t.call(c)) || `${e.unCheckedValue}`]);
|
|
88
88
|
}), U = g(() => r(e.confirm) ? R(e.confirm) ? e.confirm(o(d)) : e.confirm : {});
|
|
89
|
-
return (n, u) => n.mode === "read" ? (h(), k(
|
|
89
|
+
return (n, u) => n.mode === "read" ? (h(), k(E($.value), {
|
|
90
90
|
key: 0
|
|
91
|
-
})) : (h(),
|
|
91
|
+
})) : (h(), K(f, {
|
|
92
92
|
key: 1
|
|
93
93
|
}, [!o(r)(n.confirm) || n.disabled ? (h(), k(o(A), p({
|
|
94
94
|
key: 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as _, defineComponent as V, ref as w, useSlots as R, createVNode as s, mergeProps as T, unref as p, computed as j,
|
|
1
|
+
import { isVNode as _, defineComponent as V, ref as w, useSlots as R, createVNode as s, mergeProps as T, unref as p, computed as j, openBlock as U, createBlock as z, resolveDynamicComponent as F } from "vue";
|
|
2
2
|
import { Input as M } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { omit as N } from "lodash-unified";
|
|
@@ -137,7 +137,7 @@ const G = /* @__PURE__ */ V({
|
|
|
137
137
|
var e;
|
|
138
138
|
return (e = u.value) == null ? void 0 : e.input;
|
|
139
139
|
})
|
|
140
|
-
}), (e, n) => (
|
|
140
|
+
}), (e, n) => (U(), z(F(S())));
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as x, defineComponent as h, useSlots as C, ref as g, unref as i, createVNode as o, mergeProps as w, Fragment as P,
|
|
1
|
+
import { isVNode as x, defineComponent as h, useSlots as C, ref as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, openBlock as U, createBlock as V, resolveDynamicComponent as _ } from "vue";
|
|
2
2
|
import { Input as S, Space as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { omit as I } from "lodash-unified";
|
|
@@ -150,7 +150,7 @@ const G = /* @__PURE__ */ h({
|
|
|
150
150
|
var e;
|
|
151
151
|
(e = u.value) == null || e.blur();
|
|
152
152
|
}
|
|
153
|
-
}), (e, n) => (
|
|
153
|
+
}), (e, n) => (U(), V(_(B())));
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
export {
|