@aplus-frontend/ui 6.17.2 → 6.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -7
- package/es/src/ap-button/ap-button.vue.mjs +24 -20
- package/es/src/ap-button/ap-confirm-button.vue.mjs +15 -11
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +21 -18
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.d.ts +29 -29
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +4 -4
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +17 -12
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +10 -10
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +12 -12
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +14 -15
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +18 -19
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +105 -105
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +48 -20
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +18 -19
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +2 -2
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +26 -19
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-grid/utils/table.mjs +31 -31
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -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 +331 -331
- 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 +73 -78
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +45 -30
- package/es/src/ap-tag/interface.d.ts +6 -0
- package/es/src/ap-tag/utils.d.ts +1 -0
- package/es/src/ap-tag/utils.mjs +12 -0
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +33 -11
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -19
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +395 -144
- package/es/src/business/ap-draggable-grid/constans.d.ts +0 -8
- package/es/src/business/ap-draggable-grid/constans.mjs +0 -8
- package/es/src/business/ap-draggable-grid/index.d.ts +3 -31
- package/es/src/business/ap-draggable-grid/interface.d.ts +2 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +17 -5
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/config-provider-props.d.ts +4 -5
- package/es/src/config-provider/config-provider.d.ts +8 -9
- package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +13 -14
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +5 -5
- package/es/src/utils/config-provider-preset.d.ts +5 -6
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +14 -15
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +18 -19
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +105 -105
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +48 -20
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/lib/src/ap-form/search-form/index.vue.d.ts +18 -19
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/constants.d.ts +331 -331
- 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-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +6 -0
- package/lib/src/ap-tag/utils.d.ts +1 -0
- package/lib/src/ap-tag/utils.js +1 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/index.d.ts +33 -11
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -19
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/constans.d.ts +0 -8
- package/lib/src/business/ap-draggable-grid/constans.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +3 -31
- package/lib/src/business/ap-draggable-grid/interface.d.ts +2 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-table-modal/index.d.ts +17 -5
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +4 -5
- package/lib/src/config-provider/config-provider.d.ts +8 -9
- package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +13 -14
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/config-provider-preset.d.ts +5 -6
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
- package/package.json +3 -3
- package/theme/antdv-override.css +2 -6
- package/theme/antdv-override.less +2 -6
- package/theme/ap-descriptions/ap-descriptions.css +1 -1
- package/theme/ap-descriptions/ap-descriptions.less +1 -1
- package/theme/ap-draggable-grid/ap-draggable-grid.css +4 -3
- package/theme/ap-draggable-grid/ap-draggable-grid.less +4 -2
- package/theme/ap-label/ap-label.css +1 -0
- package/theme/ap-label/ap-label.less +1 -0
- package/theme/ap-tag/ap-tag.css +3 -1
- package/theme/ap-tag/ap-tag.less +3 -1
- package/theme/index.css +11 -11
- package/theme/antd-global-overwrite/admin/alert.css +0 -37
- package/theme/antd-global-overwrite/admin/alert.less +0 -51
- package/theme/antd-global-overwrite/admin/button.css +0 -27
- package/theme/antd-global-overwrite/admin/button.less +0 -31
- package/theme/antd-global-overwrite/admin/field.css +0 -42
- package/theme/antd-global-overwrite/admin/field.less +0 -43
- package/theme/antd-global-overwrite/admin/form.css +0 -57
- package/theme/antd-global-overwrite/admin/form.less +0 -97
- package/theme/antd-global-overwrite/admin/message.css +0 -10
- package/theme/antd-global-overwrite/admin/message.less +0 -13
- package/theme/antd-global-overwrite/admin/modal.css +0 -94
- package/theme/antd-global-overwrite/admin/modal.less +0 -128
- package/theme/antd-global-overwrite/admin/pagination.css +0 -122
- package/theme/antd-global-overwrite/admin/pagination.less +0 -91
- package/theme/antd-global-overwrite/admin/steps.css +0 -127
- package/theme/antd-global-overwrite/admin/steps.less +0 -197
- package/theme/antd-global-overwrite/admin/table.css +0 -78
- package/theme/antd-global-overwrite/admin/table.less +0 -62
- package/theme/antd-global-overwrite/admin/tooltip.css +0 -3
- package/theme/antd-global-overwrite/admin/tooltip.less +0 -3
- package/theme/antd-global-overwrite/aplus/alert.css +0 -40
- package/theme/antd-global-overwrite/aplus/alert.less +0 -55
- package/theme/antd-global-overwrite/aplus/button.css +0 -27
- package/theme/antd-global-overwrite/aplus/button.less +0 -31
- package/theme/antd-global-overwrite/aplus/field.css +0 -42
- package/theme/antd-global-overwrite/aplus/field.less +0 -43
- package/theme/antd-global-overwrite/aplus/form.css +0 -87
- package/theme/antd-global-overwrite/aplus/form.less +0 -133
- package/theme/antd-global-overwrite/aplus/message.css +0 -10
- package/theme/antd-global-overwrite/aplus/message.less +0 -13
- package/theme/antd-global-overwrite/aplus/modal.css +0 -87
- package/theme/antd-global-overwrite/aplus/modal.less +0 -120
- package/theme/antd-global-overwrite/aplus/pagination.css +0 -147
- package/theme/antd-global-overwrite/aplus/pagination.less +0 -108
- package/theme/antd-global-overwrite/aplus/steps.css +0 -125
- package/theme/antd-global-overwrite/aplus/steps.less +0 -198
- package/theme/antd-global-overwrite/aplus/table.css +0 -78
- package/theme/antd-global-overwrite/aplus/table.less +0 -61
- package/theme/antd-global-overwrite/aplus/tooltip.css +0 -3
- package/theme/antd-global-overwrite/aplus/tooltip.less +0 -3
- package/theme/ap-table/ap-table-pagination.css +0 -12
- package/theme/ap-table/ap-table-pagination.less +0 -14
- package/theme/ui-mode.css +0 -60
- package/theme/ui-mode.less +0 -109
|
@@ -4,9 +4,9 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
4
4
|
import { FieldMode } from '..';
|
|
5
5
|
import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
|
|
6
6
|
import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
|
-
import {
|
|
8
|
-
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
7
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
9
8
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
9
|
+
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
10
10
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
11
11
|
declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
12
12
|
focus: (options?: InputFocusOptions) => void;
|
|
@@ -49,7 +49,7 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
49
49
|
};
|
|
50
50
|
valueModifiers: ObjectConstructor;
|
|
51
51
|
size: {
|
|
52
|
-
type: PropType<
|
|
52
|
+
type: PropType<ButtonSize>;
|
|
53
53
|
};
|
|
54
54
|
value: {
|
|
55
55
|
type: PropType<string | number>;
|
|
@@ -57,8 +57,8 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
57
57
|
};
|
|
58
58
|
name: StringConstructor;
|
|
59
59
|
type: {
|
|
60
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
61
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
60
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password">;
|
|
61
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
62
62
|
};
|
|
63
63
|
onFocus: PropType<FocusEventHandler>;
|
|
64
64
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -83,38 +83,43 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
83
83
|
default: any;
|
|
84
84
|
};
|
|
85
85
|
prefixCls: StringConstructor;
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
autocomplete: StringConstructor;
|
|
87
|
+
loading: {
|
|
88
88
|
type: BooleanConstructor;
|
|
89
89
|
default: any;
|
|
90
90
|
};
|
|
91
|
-
|
|
92
|
-
readonly: {
|
|
91
|
+
bordered: {
|
|
93
92
|
type: BooleanConstructor;
|
|
94
93
|
default: any;
|
|
95
94
|
};
|
|
96
|
-
status: PropType<"" | "error" | "warning">;
|
|
97
95
|
defaultValue: {
|
|
98
96
|
type: PropType<string | number>;
|
|
99
97
|
default: any;
|
|
100
98
|
};
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
status: PropType<"" | "error" | "warning">;
|
|
100
|
+
placeholder: {
|
|
101
|
+
type: PropType<string | number>;
|
|
102
|
+
};
|
|
103
|
+
allowClear: {
|
|
103
104
|
type: BooleanConstructor;
|
|
104
105
|
default: any;
|
|
105
106
|
};
|
|
106
|
-
|
|
107
|
-
type:
|
|
107
|
+
autofocus: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: any;
|
|
108
110
|
};
|
|
111
|
+
id: StringConstructor;
|
|
112
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
113
|
+
readonly: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: any;
|
|
116
|
+
};
|
|
117
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
109
118
|
lazy: {
|
|
110
119
|
type: BooleanConstructor;
|
|
111
120
|
default: boolean;
|
|
112
121
|
};
|
|
113
122
|
maxlength: NumberConstructor;
|
|
114
|
-
bordered: {
|
|
115
|
-
type: BooleanConstructor;
|
|
116
|
-
default: any;
|
|
117
|
-
};
|
|
118
123
|
showCount: {
|
|
119
124
|
type: PropType<boolean | ShowCountProps>;
|
|
120
125
|
};
|
|
@@ -128,26 +133,21 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
128
133
|
inputElement: VueTypeValidableDef<any>;
|
|
129
134
|
triggerFocus: PropType<() => void>;
|
|
130
135
|
handleReset: PropType<MouseEventHandler>;
|
|
131
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
132
|
-
allowClear: {
|
|
133
|
-
type: BooleanConstructor;
|
|
134
|
-
default: any;
|
|
135
|
-
};
|
|
136
136
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
137
137
|
value: string | number;
|
|
138
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
138
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
139
139
|
onMousedown: MouseEventHandler;
|
|
140
140
|
focused: boolean;
|
|
141
141
|
hidden: boolean;
|
|
142
142
|
disabled: boolean;
|
|
143
|
+
loading: boolean;
|
|
144
|
+
bordered: boolean;
|
|
145
|
+
defaultValue: string | number;
|
|
146
|
+
allowClear: boolean;
|
|
143
147
|
autofocus: boolean;
|
|
144
148
|
readonly: boolean;
|
|
145
|
-
defaultValue: string | number;
|
|
146
|
-
loading: boolean;
|
|
147
149
|
lazy: boolean;
|
|
148
|
-
bordered: boolean;
|
|
149
150
|
onMouseUp: MouseEventHandler;
|
|
150
|
-
allowClear: boolean;
|
|
151
151
|
autosize: any;
|
|
152
152
|
autoSize: any;
|
|
153
153
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
@@ -181,7 +181,7 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
181
181
|
};
|
|
182
182
|
valueModifiers: ObjectConstructor;
|
|
183
183
|
size: {
|
|
184
|
-
type: PropType<
|
|
184
|
+
type: PropType<ButtonSize>;
|
|
185
185
|
};
|
|
186
186
|
value: {
|
|
187
187
|
type: PropType<string | number>;
|
|
@@ -189,8 +189,8 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
189
189
|
};
|
|
190
190
|
name: StringConstructor;
|
|
191
191
|
type: {
|
|
192
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
193
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
192
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password">;
|
|
193
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
194
194
|
};
|
|
195
195
|
onFocus: PropType<FocusEventHandler>;
|
|
196
196
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -215,38 +215,43 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
215
215
|
default: any;
|
|
216
216
|
};
|
|
217
217
|
prefixCls: StringConstructor;
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
autocomplete: StringConstructor;
|
|
219
|
+
loading: {
|
|
220
220
|
type: BooleanConstructor;
|
|
221
221
|
default: any;
|
|
222
222
|
};
|
|
223
|
-
|
|
224
|
-
readonly: {
|
|
223
|
+
bordered: {
|
|
225
224
|
type: BooleanConstructor;
|
|
226
225
|
default: any;
|
|
227
226
|
};
|
|
228
|
-
status: PropType<"" | "error" | "warning">;
|
|
229
227
|
defaultValue: {
|
|
230
228
|
type: PropType<string | number>;
|
|
231
229
|
default: any;
|
|
232
230
|
};
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
status: PropType<"" | "error" | "warning">;
|
|
232
|
+
placeholder: {
|
|
233
|
+
type: PropType<string | number>;
|
|
234
|
+
};
|
|
235
|
+
allowClear: {
|
|
235
236
|
type: BooleanConstructor;
|
|
236
237
|
default: any;
|
|
237
238
|
};
|
|
238
|
-
|
|
239
|
-
type:
|
|
239
|
+
autofocus: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: any;
|
|
240
242
|
};
|
|
243
|
+
id: StringConstructor;
|
|
244
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
245
|
+
readonly: {
|
|
246
|
+
type: BooleanConstructor;
|
|
247
|
+
default: any;
|
|
248
|
+
};
|
|
249
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
241
250
|
lazy: {
|
|
242
251
|
type: BooleanConstructor;
|
|
243
252
|
default: boolean;
|
|
244
253
|
};
|
|
245
254
|
maxlength: NumberConstructor;
|
|
246
|
-
bordered: {
|
|
247
|
-
type: BooleanConstructor;
|
|
248
|
-
default: any;
|
|
249
|
-
};
|
|
250
255
|
showCount: {
|
|
251
256
|
type: PropType<boolean | ShowCountProps>;
|
|
252
257
|
};
|
|
@@ -260,26 +265,21 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
260
265
|
inputElement: VueTypeValidableDef<any>;
|
|
261
266
|
triggerFocus: PropType<() => void>;
|
|
262
267
|
handleReset: PropType<MouseEventHandler>;
|
|
263
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
264
|
-
allowClear: {
|
|
265
|
-
type: BooleanConstructor;
|
|
266
|
-
default: any;
|
|
267
|
-
};
|
|
268
268
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
269
269
|
value: string | number;
|
|
270
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
270
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
271
271
|
onMousedown: MouseEventHandler;
|
|
272
272
|
focused: boolean;
|
|
273
273
|
hidden: boolean;
|
|
274
274
|
disabled: boolean;
|
|
275
|
+
loading: boolean;
|
|
276
|
+
bordered: boolean;
|
|
277
|
+
defaultValue: string | number;
|
|
278
|
+
allowClear: boolean;
|
|
275
279
|
autofocus: boolean;
|
|
276
280
|
readonly: boolean;
|
|
277
|
-
defaultValue: string | number;
|
|
278
|
-
loading: boolean;
|
|
279
281
|
lazy: boolean;
|
|
280
|
-
bordered: boolean;
|
|
281
282
|
onMouseUp: MouseEventHandler;
|
|
282
|
-
allowClear: boolean;
|
|
283
283
|
autosize: any;
|
|
284
284
|
autoSize: any;
|
|
285
285
|
}> | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as I, computed as A,
|
|
1
|
+
import { defineComponent as h, ref as I, computed as A, createElementBlock as C, createBlock as g, openBlock as d, normalizeClass as z, unref as t, toDisplayString as T, mergeProps as k } from "vue";
|
|
2
2
|
import { isNil as w, omit as R } from "lodash-unified";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -34,18 +34,20 @@ const O = /* @__PURE__ */ h({
|
|
|
34
34
|
hidden: { type: Boolean },
|
|
35
35
|
disabled: { type: Boolean, default: void 0 },
|
|
36
36
|
prefixCls: {},
|
|
37
|
-
id: {},
|
|
38
|
-
autofocus: { type: Boolean },
|
|
39
37
|
autocomplete: {},
|
|
40
|
-
readonly: { type: Boolean },
|
|
41
|
-
status: {},
|
|
42
|
-
defaultValue: {},
|
|
43
|
-
"onUpdate:value": {},
|
|
44
38
|
loading: { type: Boolean },
|
|
39
|
+
bordered: { type: Boolean, default: !0 },
|
|
40
|
+
defaultValue: {},
|
|
41
|
+
status: {},
|
|
45
42
|
placeholder: {},
|
|
43
|
+
allowClear: { type: Boolean, default: !0 },
|
|
44
|
+
autofocus: { type: Boolean },
|
|
45
|
+
id: {},
|
|
46
|
+
clearIcon: {},
|
|
47
|
+
readonly: { type: Boolean },
|
|
48
|
+
"onUpdate:value": {},
|
|
46
49
|
lazy: { type: Boolean, default: !0 },
|
|
47
50
|
maxlength: {},
|
|
48
|
-
bordered: { type: Boolean, default: !0 },
|
|
49
51
|
showCount: { type: [Boolean, Object] },
|
|
50
52
|
htmlSize: {},
|
|
51
53
|
onPressEnter: {},
|
|
@@ -54,8 +56,6 @@ const O = /* @__PURE__ */ h({
|
|
|
54
56
|
inputElement: {},
|
|
55
57
|
triggerFocus: {},
|
|
56
58
|
handleReset: {},
|
|
57
|
-
clearIcon: {},
|
|
58
|
-
allowClear: { type: Boolean, default: !0 },
|
|
59
59
|
emptyText: { default: "--" },
|
|
60
60
|
beforeInput: {}
|
|
61
61
|
},
|
|
@@ -82,8 +82,8 @@ const O = /* @__PURE__ */ h({
|
|
|
82
82
|
})
|
|
83
83
|
}), (e, a) => e.mode === "read" ? (d(), C("span", {
|
|
84
84
|
key: 0,
|
|
85
|
-
class:
|
|
86
|
-
},
|
|
85
|
+
class: z(t(v)())
|
|
86
|
+
}, T(t(w)(t(n)) || t(n) === "" ? e.emptyText : t(n)), 3)) : (d(), g(t(_).TextArea, k({ key: 1 }, t(R)(o, ["onUpdate:value", "value", "beforeInput"]), {
|
|
87
87
|
ref_key: "textAreaRef",
|
|
88
88
|
ref: l,
|
|
89
89
|
placeholder: t(B),
|