@aplus-frontend/ui 6.19.1 → 6.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -7
- package/es/src/ap-button/ap-button.vue.mjs +24 -20
- package/es/src/ap-button/ap-confirm-button.vue.mjs +15 -11
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +21 -18
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +13 -13
- package/es/src/ap-field/date-range/index.vue.mjs +16 -16
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.d.ts +29 -29
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +4 -4
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +17 -12
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +10 -10
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +12 -12
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +14 -15
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +18 -19
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +48 -20
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +18 -19
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +41 -41
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -14
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +332 -332
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +4 -3
- package/es/src/business/ap-batch-action-group/index.d.ts +33 -11
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +5 -5
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +17 -5
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/config-provider-props.d.ts +4 -5
- package/es/src/config-provider/config-provider.d.ts +8 -9
- package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +13 -14
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +37 -38
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +15 -16
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +5 -5
- package/es/src/utils/config-provider-preset.d.ts +5 -6
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +14 -15
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +18 -19
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +48 -20
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/lib/src/ap-form/search-form/index.vue.d.ts +18 -19
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +332 -332
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +33 -11
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-table-modal/index.d.ts +17 -5
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +4 -5
- package/lib/src/config-provider/config-provider.d.ts +8 -9
- package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +13 -14
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/config-provider-preset.d.ts +5 -6
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
- package/package.json +4 -4
- package/theme/antd-global-overwrite/admin/alert.css +0 -37
- package/theme/antd-global-overwrite/admin/alert.less +0 -51
- package/theme/antd-global-overwrite/admin/button.css +0 -27
- package/theme/antd-global-overwrite/admin/button.less +0 -31
- package/theme/antd-global-overwrite/admin/field.css +0 -42
- package/theme/antd-global-overwrite/admin/field.less +0 -43
- package/theme/antd-global-overwrite/admin/form.css +0 -57
- package/theme/antd-global-overwrite/admin/form.less +0 -97
- package/theme/antd-global-overwrite/admin/message.css +0 -10
- package/theme/antd-global-overwrite/admin/message.less +0 -13
- package/theme/antd-global-overwrite/admin/modal.css +0 -94
- package/theme/antd-global-overwrite/admin/modal.less +0 -128
- package/theme/antd-global-overwrite/admin/pagination.css +0 -122
- package/theme/antd-global-overwrite/admin/pagination.less +0 -91
- package/theme/antd-global-overwrite/admin/steps.css +0 -127
- package/theme/antd-global-overwrite/admin/steps.less +0 -197
- package/theme/antd-global-overwrite/admin/table.css +0 -78
- package/theme/antd-global-overwrite/admin/table.less +0 -62
- package/theme/antd-global-overwrite/admin/tooltip.css +0 -3
- package/theme/antd-global-overwrite/admin/tooltip.less +0 -3
- package/theme/antd-global-overwrite/aplus/alert.css +0 -40
- package/theme/antd-global-overwrite/aplus/alert.less +0 -55
- package/theme/antd-global-overwrite/aplus/button.css +0 -27
- package/theme/antd-global-overwrite/aplus/button.less +0 -31
- package/theme/antd-global-overwrite/aplus/field.css +0 -42
- package/theme/antd-global-overwrite/aplus/field.less +0 -43
- package/theme/antd-global-overwrite/aplus/form.css +0 -87
- package/theme/antd-global-overwrite/aplus/form.less +0 -133
- package/theme/antd-global-overwrite/aplus/message.css +0 -10
- package/theme/antd-global-overwrite/aplus/message.less +0 -13
- package/theme/antd-global-overwrite/aplus/modal.css +0 -87
- package/theme/antd-global-overwrite/aplus/modal.less +0 -120
- package/theme/antd-global-overwrite/aplus/pagination.css +0 -147
- package/theme/antd-global-overwrite/aplus/pagination.less +0 -108
- package/theme/antd-global-overwrite/aplus/steps.css +0 -125
- package/theme/antd-global-overwrite/aplus/steps.less +0 -198
- package/theme/antd-global-overwrite/aplus/table.css +0 -78
- package/theme/antd-global-overwrite/aplus/table.less +0 -61
- package/theme/antd-global-overwrite/aplus/tooltip.css +0 -3
- package/theme/antd-global-overwrite/aplus/tooltip.less +0 -3
- package/theme/ap-table/ap-table-pagination.css +0 -12
- package/theme/ap-table/ap-table-pagination.less +0 -14
- package/theme/ui-mode.css +0 -60
- package/theme/ui-mode.less +0 -109
|
@@ -2,9 +2,9 @@ import { BatchInputGroupPopoverInputProps } from '../interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
3
|
import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
|
|
4
4
|
import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
5
|
-
import {
|
|
6
|
-
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
5
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
6
|
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
7
|
+
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
8
8
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
10
|
"update:value": (...args: any[]) => void;
|
|
@@ -35,7 +35,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
35
35
|
};
|
|
36
36
|
valueModifiers: ObjectConstructor;
|
|
37
37
|
size: {
|
|
38
|
-
type: PropType<
|
|
38
|
+
type: PropType<ButtonSize>;
|
|
39
39
|
};
|
|
40
40
|
value: {
|
|
41
41
|
type: PropType<string | number>;
|
|
@@ -43,8 +43,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
43
43
|
};
|
|
44
44
|
name: StringConstructor;
|
|
45
45
|
type: {
|
|
46
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
47
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
46
|
+
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">;
|
|
47
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
48
48
|
};
|
|
49
49
|
onFocus: PropType<FocusEventHandler>;
|
|
50
50
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -69,38 +69,43 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
69
69
|
default: any;
|
|
70
70
|
};
|
|
71
71
|
prefixCls: StringConstructor;
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
autocomplete: StringConstructor;
|
|
73
|
+
loading: {
|
|
74
74
|
type: BooleanConstructor;
|
|
75
75
|
default: any;
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
readonly: {
|
|
77
|
+
bordered: {
|
|
79
78
|
type: BooleanConstructor;
|
|
80
79
|
default: any;
|
|
81
80
|
};
|
|
82
|
-
status: PropType<"" | "error" | "warning">;
|
|
83
81
|
defaultValue: {
|
|
84
82
|
type: PropType<string | number>;
|
|
85
83
|
default: any;
|
|
86
84
|
};
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
status: PropType<"" | "error" | "warning">;
|
|
86
|
+
placeholder: {
|
|
87
|
+
type: PropType<string | number>;
|
|
88
|
+
};
|
|
89
|
+
allowClear: {
|
|
89
90
|
type: BooleanConstructor;
|
|
90
91
|
default: any;
|
|
91
92
|
};
|
|
92
|
-
|
|
93
|
-
type:
|
|
93
|
+
autofocus: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: any;
|
|
94
96
|
};
|
|
97
|
+
id: StringConstructor;
|
|
98
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
99
|
+
readonly: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: any;
|
|
102
|
+
};
|
|
103
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
95
104
|
lazy: {
|
|
96
105
|
type: BooleanConstructor;
|
|
97
106
|
default: boolean;
|
|
98
107
|
};
|
|
99
108
|
maxlength: NumberConstructor;
|
|
100
|
-
bordered: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: any;
|
|
103
|
-
};
|
|
104
109
|
showCount: {
|
|
105
110
|
type: PropType<boolean | ShowCountProps>;
|
|
106
111
|
};
|
|
@@ -114,26 +119,21 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
114
119
|
inputElement: VueTypeValidableDef<any>;
|
|
115
120
|
triggerFocus: PropType<() => void>;
|
|
116
121
|
handleReset: PropType<MouseEventHandler>;
|
|
117
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
118
|
-
allowClear: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: any;
|
|
121
|
-
};
|
|
122
122
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
123
123
|
value: string | number;
|
|
124
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
124
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
125
125
|
onMousedown: MouseEventHandler;
|
|
126
126
|
focused: boolean;
|
|
127
127
|
hidden: boolean;
|
|
128
128
|
disabled: boolean;
|
|
129
|
+
loading: boolean;
|
|
130
|
+
bordered: boolean;
|
|
131
|
+
defaultValue: string | number;
|
|
132
|
+
allowClear: boolean;
|
|
129
133
|
autofocus: boolean;
|
|
130
134
|
readonly: boolean;
|
|
131
|
-
defaultValue: string | number;
|
|
132
|
-
loading: boolean;
|
|
133
135
|
lazy: boolean;
|
|
134
|
-
bordered: boolean;
|
|
135
136
|
onMouseUp: MouseEventHandler;
|
|
136
|
-
allowClear: boolean;
|
|
137
137
|
autosize: any;
|
|
138
138
|
autoSize: any;
|
|
139
139
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
@@ -167,7 +167,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
167
167
|
};
|
|
168
168
|
valueModifiers: ObjectConstructor;
|
|
169
169
|
size: {
|
|
170
|
-
type: PropType<
|
|
170
|
+
type: PropType<ButtonSize>;
|
|
171
171
|
};
|
|
172
172
|
value: {
|
|
173
173
|
type: PropType<string | number>;
|
|
@@ -175,8 +175,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
175
175
|
};
|
|
176
176
|
name: StringConstructor;
|
|
177
177
|
type: {
|
|
178
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
179
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
178
|
+
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">;
|
|
179
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
180
180
|
};
|
|
181
181
|
onFocus: PropType<FocusEventHandler>;
|
|
182
182
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -201,38 +201,43 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
201
201
|
default: any;
|
|
202
202
|
};
|
|
203
203
|
prefixCls: StringConstructor;
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
autocomplete: StringConstructor;
|
|
205
|
+
loading: {
|
|
206
206
|
type: BooleanConstructor;
|
|
207
207
|
default: any;
|
|
208
208
|
};
|
|
209
|
-
|
|
210
|
-
readonly: {
|
|
209
|
+
bordered: {
|
|
211
210
|
type: BooleanConstructor;
|
|
212
211
|
default: any;
|
|
213
212
|
};
|
|
214
|
-
status: PropType<"" | "error" | "warning">;
|
|
215
213
|
defaultValue: {
|
|
216
214
|
type: PropType<string | number>;
|
|
217
215
|
default: any;
|
|
218
216
|
};
|
|
219
|
-
|
|
220
|
-
|
|
217
|
+
status: PropType<"" | "error" | "warning">;
|
|
218
|
+
placeholder: {
|
|
219
|
+
type: PropType<string | number>;
|
|
220
|
+
};
|
|
221
|
+
allowClear: {
|
|
221
222
|
type: BooleanConstructor;
|
|
222
223
|
default: any;
|
|
223
224
|
};
|
|
224
|
-
|
|
225
|
-
type:
|
|
225
|
+
autofocus: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: any;
|
|
226
228
|
};
|
|
229
|
+
id: StringConstructor;
|
|
230
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
231
|
+
readonly: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: any;
|
|
234
|
+
};
|
|
235
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
227
236
|
lazy: {
|
|
228
237
|
type: BooleanConstructor;
|
|
229
238
|
default: boolean;
|
|
230
239
|
};
|
|
231
240
|
maxlength: NumberConstructor;
|
|
232
|
-
bordered: {
|
|
233
|
-
type: BooleanConstructor;
|
|
234
|
-
default: any;
|
|
235
|
-
};
|
|
236
241
|
showCount: {
|
|
237
242
|
type: PropType<boolean | ShowCountProps>;
|
|
238
243
|
};
|
|
@@ -246,26 +251,21 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
246
251
|
inputElement: VueTypeValidableDef<any>;
|
|
247
252
|
triggerFocus: PropType<() => void>;
|
|
248
253
|
handleReset: PropType<MouseEventHandler>;
|
|
249
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
250
|
-
allowClear: {
|
|
251
|
-
type: BooleanConstructor;
|
|
252
|
-
default: any;
|
|
253
|
-
};
|
|
254
254
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
255
255
|
value: string | number;
|
|
256
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
256
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
257
257
|
onMousedown: MouseEventHandler;
|
|
258
258
|
focused: boolean;
|
|
259
259
|
hidden: boolean;
|
|
260
260
|
disabled: boolean;
|
|
261
|
+
loading: boolean;
|
|
262
|
+
bordered: boolean;
|
|
263
|
+
defaultValue: string | number;
|
|
264
|
+
allowClear: boolean;
|
|
261
265
|
autofocus: boolean;
|
|
262
266
|
readonly: boolean;
|
|
263
|
-
defaultValue: string | number;
|
|
264
|
-
loading: boolean;
|
|
265
267
|
lazy: boolean;
|
|
266
|
-
bordered: boolean;
|
|
267
268
|
onMouseUp: MouseEventHandler;
|
|
268
|
-
allowClear: boolean;
|
|
269
269
|
autosize: any;
|
|
270
270
|
autoSize: any;
|
|
271
271
|
}> | null;
|
|
@@ -4,9 +4,8 @@ import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, d
|
|
|
4
4
|
import { ViewCacheOption } from '../business';
|
|
5
5
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
6
6
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
8
8
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
9
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
10
9
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
11
10
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
12
11
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -57,7 +56,7 @@ export declare const configProviderProps: () => {
|
|
|
57
56
|
};
|
|
58
57
|
};
|
|
59
58
|
componentSize: {
|
|
60
|
-
type: PropType<
|
|
59
|
+
type: PropType< SizeType>;
|
|
61
60
|
};
|
|
62
61
|
componentDisabled: {
|
|
63
62
|
type: BooleanConstructor;
|
|
@@ -69,10 +68,10 @@ export declare const configProviderProps: () => {
|
|
|
69
68
|
};
|
|
70
69
|
space: {
|
|
71
70
|
type: PropType<{
|
|
72
|
-
size?:
|
|
71
|
+
size?: SizeType | number;
|
|
73
72
|
}>;
|
|
74
73
|
default: {
|
|
75
|
-
size?:
|
|
74
|
+
size?: SizeType | number;
|
|
76
75
|
};
|
|
77
76
|
};
|
|
78
77
|
virtual: {
|
|
@@ -2,9 +2,8 @@ import { Ref, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin
|
|
|
2
2
|
import { ConfigProviderProps } from './config-provider-props';
|
|
3
3
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
4
4
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
5
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
6
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
7
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
8
7
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
9
8
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
10
9
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -59,7 +58,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
59
58
|
};
|
|
60
59
|
};
|
|
61
60
|
componentSize: {
|
|
62
|
-
type: PropType<
|
|
61
|
+
type: PropType<SizeType>;
|
|
63
62
|
};
|
|
64
63
|
componentDisabled: {
|
|
65
64
|
type: BooleanConstructor;
|
|
@@ -71,10 +70,10 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
71
70
|
};
|
|
72
71
|
space: {
|
|
73
72
|
type: PropType<{
|
|
74
|
-
size?:
|
|
73
|
+
size?: SizeType | number;
|
|
75
74
|
}>;
|
|
76
75
|
default: {
|
|
77
|
-
size?:
|
|
76
|
+
size?: SizeType | number;
|
|
78
77
|
};
|
|
79
78
|
};
|
|
80
79
|
virtual: {
|
|
@@ -216,7 +215,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
216
215
|
};
|
|
217
216
|
};
|
|
218
217
|
componentSize: {
|
|
219
|
-
type: PropType<
|
|
218
|
+
type: PropType<SizeType>;
|
|
220
219
|
};
|
|
221
220
|
componentDisabled: {
|
|
222
221
|
type: BooleanConstructor;
|
|
@@ -228,10 +227,10 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
228
227
|
};
|
|
229
228
|
space: {
|
|
230
229
|
type: PropType<{
|
|
231
|
-
size?:
|
|
230
|
+
size?: SizeType | number;
|
|
232
231
|
}>;
|
|
233
232
|
default: {
|
|
234
|
-
size?:
|
|
233
|
+
size?: SizeType | number;
|
|
235
234
|
};
|
|
236
235
|
};
|
|
237
236
|
virtual: {
|
|
@@ -339,7 +338,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
339
338
|
colon?: boolean;
|
|
340
339
|
};
|
|
341
340
|
space: {
|
|
342
|
-
size?:
|
|
341
|
+
size?: SizeType | number;
|
|
343
342
|
};
|
|
344
343
|
direction: "ltr" | "rtl";
|
|
345
344
|
searchForm: SearchFormGlobalConfig;
|
|
@@ -3,9 +3,8 @@ import { App, Ref, ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
|
3
3
|
import { ConfigProviderContext } from '../constants';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
5
5
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
6
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
7
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
9
8
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
10
9
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
11
10
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -62,7 +61,7 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
62
61
|
};
|
|
63
62
|
};
|
|
64
63
|
componentSize: {
|
|
65
|
-
type: PropType<
|
|
64
|
+
type: PropType<SizeType>;
|
|
66
65
|
};
|
|
67
66
|
componentDisabled: {
|
|
68
67
|
type: BooleanConstructor;
|
|
@@ -74,10 +73,10 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
74
73
|
};
|
|
75
74
|
space: {
|
|
76
75
|
type: PropType<{
|
|
77
|
-
size?:
|
|
76
|
+
size?: SizeType | number;
|
|
78
77
|
}>;
|
|
79
78
|
default: {
|
|
80
|
-
size?:
|
|
79
|
+
size?: SizeType | number;
|
|
81
80
|
};
|
|
82
81
|
};
|
|
83
82
|
virtual: {
|
|
@@ -2,7 +2,11 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
|
|
|
2
2
|
export declare const defaultNamespace = "aplus";
|
|
3
3
|
export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
|
|
4
4
|
export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
|
|
5
|
-
export declare const useNamespace: (
|
|
5
|
+
export declare const useNamespace: (
|
|
6
|
+
/**
|
|
7
|
+
* 块 一般是指组件名
|
|
8
|
+
*/
|
|
9
|
+
block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
6
10
|
namespace: ComputedRef<string>;
|
|
7
11
|
b: (blockSuffix?: string) => string;
|
|
8
12
|
e: (element?: string) => string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
2
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
3
3
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
4
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
5
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
6
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
7
6
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
8
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
9
8
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -64,7 +63,7 @@ export declare const APConfigProvider: {
|
|
|
64
63
|
};
|
|
65
64
|
};
|
|
66
65
|
componentSize: {
|
|
67
|
-
type: PropType<
|
|
66
|
+
type: PropType<SizeType>;
|
|
68
67
|
};
|
|
69
68
|
componentDisabled: {
|
|
70
69
|
type: BooleanConstructor;
|
|
@@ -76,10 +75,10 @@ export declare const APConfigProvider: {
|
|
|
76
75
|
};
|
|
77
76
|
space: {
|
|
78
77
|
type: PropType<{
|
|
79
|
-
size?:
|
|
78
|
+
size?: SizeType | number;
|
|
80
79
|
}>;
|
|
81
80
|
default: {
|
|
82
|
-
size?:
|
|
81
|
+
size?: SizeType | number;
|
|
83
82
|
};
|
|
84
83
|
};
|
|
85
84
|
virtual: {
|
|
@@ -187,7 +186,7 @@ export declare const APConfigProvider: {
|
|
|
187
186
|
colon?: boolean;
|
|
188
187
|
};
|
|
189
188
|
space: {
|
|
190
|
-
size?:
|
|
189
|
+
size?: SizeType | number;
|
|
191
190
|
};
|
|
192
191
|
direction: "ltr" | "rtl";
|
|
193
192
|
searchForm: SearchFormGlobalConfig;
|
|
@@ -268,7 +267,7 @@ export declare const APConfigProvider: {
|
|
|
268
267
|
};
|
|
269
268
|
};
|
|
270
269
|
componentSize: {
|
|
271
|
-
type: PropType<
|
|
270
|
+
type: PropType<SizeType>;
|
|
272
271
|
};
|
|
273
272
|
componentDisabled: {
|
|
274
273
|
type: BooleanConstructor;
|
|
@@ -280,10 +279,10 @@ export declare const APConfigProvider: {
|
|
|
280
279
|
};
|
|
281
280
|
space: {
|
|
282
281
|
type: PropType<{
|
|
283
|
-
size?:
|
|
282
|
+
size?: SizeType | number;
|
|
284
283
|
}>;
|
|
285
284
|
default: {
|
|
286
|
-
size?:
|
|
285
|
+
size?: SizeType | number;
|
|
287
286
|
};
|
|
288
287
|
};
|
|
289
288
|
virtual: {
|
|
@@ -391,7 +390,7 @@ export declare const APConfigProvider: {
|
|
|
391
390
|
colon?: boolean;
|
|
392
391
|
};
|
|
393
392
|
space: {
|
|
394
|
-
size?:
|
|
393
|
+
size?: SizeType | number;
|
|
395
394
|
};
|
|
396
395
|
direction: "ltr" | "rtl";
|
|
397
396
|
searchForm: SearchFormGlobalConfig;
|
|
@@ -469,7 +468,7 @@ export declare const APConfigProvider: {
|
|
|
469
468
|
};
|
|
470
469
|
};
|
|
471
470
|
componentSize: {
|
|
472
|
-
type: PropType<
|
|
471
|
+
type: PropType<SizeType>;
|
|
473
472
|
};
|
|
474
473
|
componentDisabled: {
|
|
475
474
|
type: BooleanConstructor;
|
|
@@ -481,10 +480,10 @@ export declare const APConfigProvider: {
|
|
|
481
480
|
};
|
|
482
481
|
space: {
|
|
483
482
|
type: PropType<{
|
|
484
|
-
size?:
|
|
483
|
+
size?: SizeType | number;
|
|
485
484
|
}>;
|
|
486
485
|
default: {
|
|
487
|
-
size?:
|
|
486
|
+
size?: SizeType | number;
|
|
488
487
|
};
|
|
489
488
|
};
|
|
490
489
|
virtual: {
|
|
@@ -592,7 +591,7 @@ export declare const APConfigProvider: {
|
|
|
592
591
|
colon?: boolean;
|
|
593
592
|
};
|
|
594
593
|
space: {
|
|
595
|
-
size?:
|
|
594
|
+
size?: SizeType | number;
|
|
596
595
|
};
|
|
597
596
|
direction: "ltr" | "rtl";
|
|
598
597
|
searchForm: SearchFormGlobalConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
5
5
|
expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
|
|
@@ -36,9 +36,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
36
36
|
}) => void;
|
|
37
37
|
};
|
|
38
38
|
emit: {};
|
|
39
|
-
}>) => VNode
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
}> & {
|
|
39
|
+
}>) => VNode & {
|
|
42
40
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
43
41
|
};
|
|
44
42
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),P=require("@aplus-frontend/antdv"),p=require("../ap-form/index.js"),d=require("lodash-unified");require("../config-provider/index.js");const j=require("../ap-form/context.js"),h=require("../utils/index.js"),k=require("./hooks/use-get-columns.js"),z=require("./utils.js"),A=require("../ap-form/utils/get.js"),K=require("../config-provider/hooks/use-namespace.js"),O=require("../config-provider/hooks/use-global-config.js"),G=o.defineComponent({name:"EditableTableFormItem",__name:"form-item",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"small"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),P=require("@aplus-frontend/antdv"),p=require("../ap-form/index.js"),d=require("lodash-unified");require("../config-provider/index.js");const j=require("../ap-form/context.js"),h=require("../utils/index.js"),k=require("./hooks/use-get-columns.js"),z=require("./utils.js"),A=require("../ap-form/utils/get.js"),K=require("../config-provider/hooks/use-namespace.js"),O=require("../config-provider/hooks/use-global-config.js"),G=o.defineComponent({name:"EditableTableFormItem",__name:"form-item",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"small"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},onFieldChange:{},label:{},name:{},formItem:{default:()=>({})}},setup(g,{expose:x}){const l=g,{internalInstance:t,model:b}=j.useInjectForm(),i=o.ref(A.getModelValue(o.unref(b),l.name)||[]),w=o.useSlots(),y=o.toRef(l,"name"),C=p.ApForm.useWatch(y);o.watch(()=>C.value,async e=>{var u;await o.nextTick(),i.value=e,(u=l.onChange)==null||u.call(l,e)},{deep:!0});const{b:R}=K.useNamespace("editable-table"),c=o.ref(),v=O.useGlobalConfig("valueTypeMap"),B=k.default(l,v);function F(e,u){var n;const s=((n=o.unref(i))==null?void 0:n.length)||0;if(h.isDef(l.maxLength)&&s>=l.maxLength)return;const a={...e||{}};t==null||t.setFieldValue(l.name,a,!0,(r,f)=>{if(!r[f]){r[f]=[a];return}d.isUndefined(u)?r[f].push(a):r[f].splice(u,0,a)})}function T(e,u="suffix"){var r;const s=((r=o.unref(i))==null?void 0:r.length)||0,a=d.isNumber(e)?e:e.length;if(h.isDef(l.maxLength)&&s+a>l.maxLength)return;const n=d.isNumber(e)?new Array(e).fill(0).map(()=>({})):d.cloneDeep(e);t==null||t.setFieldValue(l.name,n,!0,(f,m)=>{if(!f[m]){f[m]=[...n];return}u==="suffix"?f[m].push(...n):f[m].unshift(...n)})}function q(e){const u=new Set(d.isNumber(e)?[e]:e);t==null||t.setFieldValue(l.name,void 0,!0,(s,a)=>{s[a]=s[a].filter((n,r)=>!u.has(r))})}function D(e){var s;const u=new Set(d.isArray(e)?e:[e]);u.size!==0&&((s=t==null?void 0:t.setFieldValue)==null||s.call(t,l.name,void 0,!0,(a,n)=>{a[n]=a[n].filter(r=>!u.has(r[l.rowKey]))}))}function N(){return o.unref(i)}function S(e){var u;return(u=o.unref(i))==null?void 0:u[e]}function V(e,u,s=!0){t==null||t.setFieldValue(l.name,void 0,!0,(a,n)=>{!a[n]||!a[n][e]||(a[n][e]={...s?a[n][e]:{},...u})})}function L(e){t==null||t.setFieldValue(l.name,e)}function _(e,u){var a;const s=e==="end"?i.value.length-1:e;z.scrollToRowIndex(s,(a=c.value)==null?void 0:a.$el,u)}function E(){var e;(e=t==null?void 0:t.setFieldValue)==null||e.call(t,l.name,[])}return x({add:F,remove:q,getRowData:S,getRowsData:N,setRowData:V,addMultiple:T,scrollTo:_,setTableData:L,clear:E,removeByKey:D}),(e,u)=>(o.openBlock(),o.createBlock(o.unref(p.ApForm).FormItem,o.mergeProps(e.formItem,{name:e.name,label:e.label}),{default:o.withCtx(()=>[o.createVNode(o.unref(P.Table),o.mergeProps(o.unref(d.omit)(l,["name","maxLength","onChange"]),{ref_key:"tableRef",ref:c,class:o.unref(R)(),columns:o.unref(B),"data-source":i.value}),o.createSlots({_:2},[o.renderList(o.unref(d.omit)(w,["headerCell"]),(s,a)=>({name:a,fn:o.withCtx(n=>[o.renderSlot(e.$slots,a,o.normalizeProps(o.guardReactiveProps(n||{})))])}))]),1040,["class","columns","data-source"])]),_:3},16,["name","label"]))}});exports.default=G;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -39,9 +39,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
39
39
|
}) => void;
|
|
40
40
|
};
|
|
41
41
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
42
|
-
}>) => VNode
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}> & {
|
|
42
|
+
}>) => VNode & {
|
|
45
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
44
|
};
|
|
47
45
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),K=require("@aplus-frontend/antdv"),v=require("../ap-form/index.js"),f=require("lodash-unified");require("../config-provider/index.js");require("../hooks/index.js");const g=require("../utils/index.js"),O=require("./utils.js"),U=require("./hooks/use-get-columns.js"),G=require("../config-provider/hooks/use-namespace.js"),$=require("../hooks/useControllableValue.js"),H=require("../config-provider/hooks/use-global-config.js"),W=t.defineComponent({name:"EditableTable",__name:"index",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"small"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),K=require("@aplus-frontend/antdv"),v=require("../ap-form/index.js"),f=require("lodash-unified");require("../config-provider/index.js");require("../hooks/index.js");const g=require("../utils/index.js"),O=require("./utils.js"),U=require("./hooks/use-get-columns.js"),G=require("../config-provider/hooks/use-namespace.js"),$=require("../hooks/useControllableValue.js"),H=require("../config-provider/hooks/use-global-config.js"),W=t.defineComponent({name:"EditableTable",__name:"index",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"small"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},name:{default:"ap-editable-table-inner-name"},onFieldChange:{}},emits:["update:value"],setup(w,{expose:y,emit:C}){const o=w,{b}=G.useNamespace("editable-table"),R=t.useSlots(),F=C,x=t.ref(),{value:p,updateValue:B}=$.useControllableValue(o,F),i=t.ref(),V=H.useGlobalConfig("valueTypeMap"),h=v.ApForm.useWatch(o.name,i);t.watch(()=>h.value,e=>{var n;B(e),(n=o.onChange)==null||n.call(o,e)},{deep:!0,flush:"post"}),t.watch(p,e=>{var n;e!==t.unref(h)&&(f.isEqual(e,t.unref(h))||(n=i.value)==null||n.setFieldValue(o.name,e))},{deep:!0});const q=U.default(o,V);function N(){var e;(e=i.value)==null||e.resetFields()}function T(e){return e?(f.isArray(e)?e:[e]).map(a=>f.isArray(a)?[o.name,...a]:[o.name,a]):void 0}async function S(e,n){var l;const a=await((l=i.value)==null?void 0:l.validateFields(T(e),n));return a==null?void 0:a[o.name]}function _(e,n){var u,r,s;const a=((u=t.unref(p))==null?void 0:u.length)||0;if(g.isDef(o.maxLength)&&a>=o.maxLength)return;const l={...e||{}};(s=(r=i.value)==null?void 0:r.setFieldValue)==null||s.call(r,o.name,l,!0,(d,c)=>{if(!d[c]){d[c]=[l];return}f.isUndefined(n)?d[c].push(l):d[c].splice(n,0,l)})}function A(e,n="suffix"){var r,s,d;const a=((r=t.unref(p))==null?void 0:r.length)||0,l=f.isNumber(e)?e:e.length;if(g.isDef(o.maxLength)&&a+l>o.maxLength)return;const u=f.isNumber(e)?new Array(e).fill(0).map(()=>({})):f.cloneDeep(e);(d=(s=i.value)==null?void 0:s.setFieldValue)==null||d.call(s,o.name,u,!0,(c,m)=>{if(!c[m]){c[m]=[...u];return}n==="suffix"?c[m].push(...u):c[m].unshift(...u)})}function D(e){var a,l;const n=new Set(f.isNumber(e)?[e]:e);(l=(a=i.value)==null?void 0:a.setFieldValue)==null||l.call(a,o.name,void 0,!0,(u,r)=>{u[r]=u[r].filter((s,d)=>!n.has(d))})}function L(e){var a,l;const n=new Set(f.isArray(e)?e:[e]);n.size!==0&&((l=(a=i.value)==null?void 0:a.setFieldValue)==null||l.call(a,o.name,void 0,!0,(u,r)=>{u[r]=u[r].filter(s=>!n.has(s[o.rowKey]))}))}function E(){return t.unref(p)}function k(e){var n;(n=i.value)==null||n.setFieldValue(o.name,e)}function P(e){var n;return(n=t.unref(p))==null?void 0:n[e]}function j(e,n,a=!0){var l,u;(u=(l=i.value)==null?void 0:l.setFieldValue)==null||u.call(l,o.name,void 0,!0,(r,s)=>{!r[s]||!r[s][e]||(r[s][e]={...a?r[s][e]:{},...n})})}function z(e,n){var l;const a=e==="end"?p.value.length-1:e;O.scrollToRowIndex(a,(l=x.value)==null?void 0:l.$el,n)}function I(){var e,n;(n=(e=i.value)==null?void 0:e.setFieldValue)==null||n.call(e,o.name,[])}return y({resetFields:N,validateFields:S,add:_,remove:D,getRowData:P,getRowsData:E,setRowData:j,addMultiple:A,scrollTo:z,clear:I,setTableData:k,removeByKey:L}),(e,n)=>(t.openBlock(),t.createBlock(t.unref(v.ApForm),{ref_key:"formRef",ref:i,"initial-values":{[o.name]:t.unref(p)}},{default:t.withCtx(()=>[t.createVNode(t.unref(v.ApForm).FormItem,{name:e.name,"no-style":""},{default:t.withCtx(()=>[t.createVNode(t.unref(K.Table),t.mergeProps(t.unref(f.omit)(o,["name","value","onUpdate:value","maxLength","onChange"]),{ref_key:"tableRef",ref:x,class:t.unref(b)(),columns:t.unref(q),"data-source":t.unref(p)}),t.createSlots({_:2},[t.renderList(t.unref(f.omit)(R,["headerCell"]),(a,l)=>({name:l,fn:t.withCtx(u=>[t.renderSlot(e.$slots,l,t.normalizeProps(t.guardReactiveProps(u||{})))])}))]),1040,["class","columns","data-source"])]),_:3},8,["name"])]),_:3},8,["initial-values"]))}});exports.default=W;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
2
|
-
import { ScrollBarDirection, InternalScrollBarProps
|
|
2
|
+
import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
|
|
4
4
|
declare function scroll(x?: number, y?: number): void;
|
|
5
5
|
declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
|
|
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
106
106
|
onScroll?: ((percent: number) => void) | undefined;
|
|
107
107
|
disabled?: boolean | undefined;
|
|
108
108
|
trackSpeed?: number | undefined;
|
|
109
|
-
barColor?:
|
|
110
|
-
trackColor?:
|
|
109
|
+
barColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
110
|
+
trackColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
111
111
|
trackWidth?: number | undefined;
|
|
112
112
|
showTrack?: boolean | undefined;
|
|
113
113
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
118
118
|
onScroll?: ((percent: number) => void) | undefined;
|
|
119
119
|
disabled?: boolean | undefined;
|
|
120
120
|
trackSpeed?: number | undefined;
|
|
121
|
-
barColor?:
|
|
122
|
-
trackColor?:
|
|
121
|
+
barColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
122
|
+
trackColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
123
123
|
trackWidth?: number | undefined;
|
|
124
124
|
showTrack?: boolean | undefined;
|
|
125
125
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
export declare const Wrapper: DefineComponent<{
|
|
3
|
-
uiMode?:
|
|
4
|
-
lang?:
|
|
3
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
4
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
5
5
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
6
|
-
uiMode?:
|
|
7
|
-
lang?:
|
|
6
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
7
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|