@aplus-frontend/ui 0.1.44 → 0.1.45
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.d.ts +1 -1
- package/es/src/ap-action/group/index.vue.mjs +1 -1
- package/es/src/ap-action/interface.d.ts +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.mjs +1 -1
- package/es/src/ap-action/item-modal/index.vue.d.ts +1 -1
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +8 -8
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +1 -1
- package/es/src/ap-button/interface.d.ts +1 -1
- package/es/src/ap-custom-column/column-select.vue.mjs +1 -1
- package/es/src/ap-custom-column/custom-column.vue.mjs +1 -1
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +1 -1
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/ap-descriptions/interface.d.ts +1 -1
- package/es/src/ap-download/ap-download.vue.d.ts +1 -1
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-download/interface.d.ts +1 -1
- package/es/src/ap-field/checkbox/helper.d.ts +3 -3
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/constant.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +1 -1
- package/es/src/ap-field/date-range/index.vue.mjs +1 -1
- package/es/src/ap-field/interface.d.ts +4 -4
- package/es/src/ap-field/number/index.vue.d.ts +4 -4
- package/es/src/ap-field/number/index.vue.mjs +1 -1
- package/es/src/ap-field/radio/helper.d.ts +1 -1
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +3 -3
- package/es/src/ap-field/rate/index.vue.mjs +1 -1
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +6 -6
- package/es/src/ap-field/select/index.vue.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +4 -4
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue2.mjs +1 -1
- package/es/src/ap-field/text/input-password-props.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.mjs +1 -1
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.mjs +1 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +2 -2
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/ap-form-item.vue.d.ts +4 -4
- package/es/src/ap-form/ap-form-item.vue.mjs +2 -2
- package/es/src/ap-form/ap-form.vue.d.ts +7 -7
- package/es/src/ap-form/ap-form.vue2.mjs +1 -1
- package/es/src/ap-form/context.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/interface.d.ts +3 -3
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-form/modal-form/drawer.vue.d.ts +6 -6
- package/es/src/ap-form/modal-form/drawer.vue.mjs +1 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/modal-form/index.vue.mjs +1 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/index.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/interface.d.ts +1 -1
- package/es/src/ap-modal/utils/createModal.mjs +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/select-group/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 +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/utils.d.ts +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +36 -60
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-paging.d.ts +3 -3
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/interface.d.ts +3 -3
- package/es/src/ap-table/utils.d.ts +6 -6
- package/es/src/ap-table/utils.mjs +1 -1
- package/es/src/ap-tag/ap-tag-group.vue.mjs +1 -1
- package/es/src/ap-tag/interface.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.mjs +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +1 -1
- package/es/src/ap-upload/components/Picture.vue2.mjs +1 -1
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +1 -1
- package/es/src/base-button/button.vue2.mjs +1 -1
- package/es/src/base-button/pop-confirm-button.vue.mjs +1 -1
- package/es/src/basic/help.vue.d.ts +1 -1
- package/es/src/basic/help.vue2.mjs +1 -1
- package/es/src/basic/index.d.ts +1 -1
- package/es/src/basic/interface.d.ts +1 -1
- package/es/src/business/ap-attachment/ApAttachment.d.ts +1 -1
- package/es/src/business/ap-attachment/ApAttachment.mjs +1 -1
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +1 -1
- package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +1 -1
- package/es/src/business/ap-export-group/interface.d.ts +1 -1
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/interface.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.d.ts +2 -2
- package/es/src/business/ap-label/ApLabel.mjs +1 -1
- package/es/src/business/ap-label/ApLabelGroup.mjs +1 -1
- package/es/src/business/ap-label/constans.d.ts +2 -2
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/interface.d.ts +3 -3
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +5 -5
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
- package/es/src/business/ap-ladder/interface.d.ts +1 -1
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +5 -5
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +1 -1
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/es/src/business/index.d.ts +14 -14
- package/es/src/check-card/group.vue.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +8 -8
- package/es/src/config-provider/config-provider-props.mjs +1 -1
- package/es/src/config-provider/config-provider.d.ts +8 -8
- package/es/src/config-provider/config-provider.mjs +1 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +8 -8
- package/es/src/config-provider/index.d.ts +8 -8
- package/es/src/container/collapse/index.vue2.mjs +1 -1
- package/es/src/count-down/button.vue2.mjs +1 -1
- package/es/src/count-down/input.vue2.mjs +1 -1
- package/es/src/count-down/interface.d.ts +1 -1
- package/es/src/cropper/cropper-avatar.vue2.mjs +1 -1
- package/es/src/cropper/cropper-modal.vue2.mjs +1 -1
- package/es/src/description/description.vue2.mjs +1 -1
- package/es/src/description/interface.d.ts +1 -1
- package/es/src/design-token/index.d.ts +1 -1
- package/es/src/dropdown/dropdown.vue2.mjs +1 -1
- package/es/src/editable-table/form-item.vue.mjs +1 -1
- package/es/src/editable-table/hooks/use-get-columns.d.ts +1 -1
- package/es/src/editable-table/hooks/use-get-columns.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +1 -1
- package/es/src/editable-table/interface.d.ts +5 -5
- package/es/src/editable-table/utils.mjs +1 -1
- package/es/src/hooks/useMessage.d.ts +4 -4
- package/es/src/hooks/useMessage.mjs +1 -1
- package/es/src/icon-picker/icon-picker.vue2.mjs +1 -1
- package/es/src/modal/basic.vue.d.ts +2 -2
- package/es/src/modal/components/modal-close.vue2.mjs +1 -1
- package/es/src/modal/components/modal-footer.vue.d.ts +2 -2
- package/es/src/modal/components/modal-footer.vue2.mjs +1 -1
- package/es/src/modal/components/modal.d.ts +2 -2
- package/es/src/modal/components/modal.mjs +1 -1
- package/es/src/modal/index.d.ts +4 -4
- package/es/src/modal/interface.d.ts +1 -1
- package/es/src/modal/props.d.ts +2 -2
- package/es/src/pro-form/component-map.mjs +1 -1
- package/es/src/pro-form/components/api-cascader.vue.mjs +1 -1
- package/es/src/pro-form/components/api-radio-group.vue.mjs +1 -1
- package/es/src/pro-form/components/api-select.vue.mjs +1 -1
- package/es/src/pro-form/components/api-transfer.vue.mjs +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -1
- package/es/src/pro-form/components/api-tree.vue.mjs +1 -1
- package/es/src/pro-form/components/form-action.vue2.mjs +1 -1
- package/es/src/pro-form/components/form-item.vue2.mjs +1 -1
- package/es/src/pro-form/components/interface.d.ts +4 -4
- package/es/src/pro-form/components/radio-button-group.vue.mjs +1 -1
- package/es/src/pro-form/helper.d.ts +1 -1
- package/es/src/pro-form/hooks/use-break-point.mjs +1 -1
- package/es/src/pro-form/hooks/use-form-events.d.ts +1 -1
- package/es/src/pro-form/hooks/use-form.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.d.ts +8 -8
- package/es/src/pro-form/pro-form.vue.mjs +1 -1
- package/es/src/pro-form/table-form-inner.vue.mjs +1 -1
- package/es/src/pro-form/table-form.vue.d.ts +1 -1
- package/es/src/pro-form/table-form.vue.mjs +1 -1
- package/es/src/pro-form/types/form-item.d.ts +2 -2
- package/es/src/pro-form/types/form.d.ts +2 -2
- package/es/src/pro-form/types/index.d.ts +25 -25
- package/es/src/pro-form/types/table-form.d.ts +2 -2
- package/es/src/pro-table/component-map.mjs +1 -1
- package/es/src/pro-table/components/editable/cell-component.mjs +1 -1
- package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +1 -1
- package/es/src/pro-table/components/header-cell.vue.d.ts +1 -1
- package/es/src/pro-table/components/settings/column-setting.vue2.mjs +1 -1
- package/es/src/pro-table/components/settings/full-screen-setting.vue2.mjs +1 -1
- package/es/src/pro-table/components/settings/redo-setting.vue2.mjs +1 -1
- package/es/src/pro-table/components/settings/size-setting.vue2.mjs +1 -1
- package/es/src/pro-table/components/table-action.vue.mjs +1 -1
- package/es/src/pro-table/components/table-footer.vue.d.ts +1 -1
- package/es/src/pro-table/components/table-footer.vue2.mjs +1 -1
- package/es/src/pro-table/components/table-header.vue2.mjs +1 -1
- package/es/src/pro-table/components/table-image.vue.mjs +1 -1
- package/es/src/pro-table/components/table-selection-bar.vue2.mjs +1 -1
- package/es/src/pro-table/hooks/use-columns.d.ts +1 -1
- package/es/src/pro-table/hooks/use-custom-row.d.ts +1 -1
- package/es/src/pro-table/hooks/use-data-source.d.ts +2 -2
- package/es/src/pro-table/hooks/use-row-selection.d.ts +1 -1
- package/es/src/pro-table/hooks/use-table-expand.d.ts +1 -1
- package/es/src/pro-table/pro-table.vue.d.ts +13 -13
- package/es/src/pro-table/pro-table.vue.mjs +1 -1
- package/es/src/pro-table/types/pagination.d.ts +1 -1
- package/es/src/pro-table/types/table-action.d.ts +2 -2
- package/es/src/pro-table/types/table.d.ts +3 -3
- package/es/src/prompt/dialog.vue2.mjs +1 -1
- package/es/src/strength-meter/strength-meter.vue2.mjs +1 -1
- package/es/src/utils/config-provider-preset.d.ts +10 -10
- package/es/src/utils/copy-text-to-clipboard.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +1 -1
- package/es/src/work-order-modal/interfaces.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/interface.d.ts +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +8 -8
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/interface.d.ts +1 -1
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-descriptions/interface.d.ts +1 -1
- package/lib/src/ap-download/ap-download.vue.d.ts +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/interface.d.ts +1 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +3 -3
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/constant.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +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/interface.d.ts +4 -4
- package/lib/src/ap-field/number/index.vue.d.ts +4 -4
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/helper.d.ts +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +3 -3
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +6 -6
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +4 -4
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/input-password-props.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +2 -2
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +4 -4
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +7 -7
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/context.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/interface.d.ts +3 -3
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-form/modal-form/drawer.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/drawer.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-layout/ap-info-layout-aplus/ap-info-layout.vue2.js +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-modal/index.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/interface.d.ts +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/utils.d.ts +1 -1
- package/lib/src/ap-table/components/status/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +36 -60
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +3 -3
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/interface.d.ts +3 -3
- package/lib/src/ap-table/utils.d.ts +6 -6
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/base-button/button.vue2.js +1 -1
- package/lib/src/base-button/pop-confirm-button.vue.js +1 -1
- package/lib/src/basic/help.vue.d.ts +1 -1
- package/lib/src/basic/help.vue2.js +1 -1
- package/lib/src/basic/index.d.ts +1 -1
- package/lib/src/basic/interface.d.ts +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.d.ts +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/interface.d.ts +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/interface.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +2 -2
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/interface.d.ts +3 -3
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +5 -5
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/interface.d.ts +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +5 -5
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/lib/src/business/index.d.ts +14 -14
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +8 -8
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +8 -8
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +8 -8
- package/lib/src/config-provider/index.d.ts +8 -8
- package/lib/src/container/collapse/index.vue2.js +1 -1
- package/lib/src/count-down/button.vue2.js +1 -1
- package/lib/src/count-down/input.vue2.js +1 -1
- package/lib/src/count-down/interface.d.ts +1 -1
- package/lib/src/cropper/cropper-avatar.vue2.js +1 -1
- package/lib/src/cropper/cropper-modal.vue2.js +1 -1
- package/lib/src/description/description.vue2.js +1 -1
- package/lib/src/description/interface.d.ts +1 -1
- package/lib/src/design-token/index.d.ts +1 -1
- package/lib/src/dropdown/dropdown.vue2.js +1 -1
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +5 -5
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/hooks/useMessage.d.ts +4 -4
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue2.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +2 -2
- package/lib/src/modal/components/modal-close.vue2.js +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +2 -2
- package/lib/src/modal/components/modal-footer.vue2.js +1 -1
- package/lib/src/modal/components/modal.d.ts +2 -2
- package/lib/src/modal/components/modal.js +1 -1
- package/lib/src/modal/index.d.ts +4 -4
- package/lib/src/modal/interface.d.ts +1 -1
- package/lib/src/modal/props.d.ts +2 -2
- package/lib/src/pro-form/component-map.js +1 -1
- package/lib/src/pro-form/components/api-cascader.vue.js +1 -1
- package/lib/src/pro-form/components/api-radio-group.vue.js +1 -1
- package/lib/src/pro-form/components/api-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-transfer.vue.js +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-tree.vue.js +1 -1
- package/lib/src/pro-form/components/form-action.vue2.js +1 -1
- package/lib/src/pro-form/components/form-item.vue2.js +1 -1
- package/lib/src/pro-form/components/interface.d.ts +4 -4
- package/lib/src/pro-form/components/radio-button-group.vue.js +1 -1
- package/lib/src/pro-form/helper.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-break-point.js +1 -1
- package/lib/src/pro-form/hooks/use-form-events.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-form.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +8 -8
- package/lib/src/pro-form/pro-form.vue.js +1 -1
- package/lib/src/pro-form/table-form-inner.vue.js +1 -1
- package/lib/src/pro-form/table-form.vue.d.ts +1 -1
- package/lib/src/pro-form/table-form.vue.js +1 -1
- package/lib/src/pro-form/types/form-item.d.ts +2 -2
- package/lib/src/pro-form/types/form.d.ts +2 -2
- package/lib/src/pro-form/types/index.d.ts +25 -25
- package/lib/src/pro-form/types/table-form.d.ts +2 -2
- package/lib/src/pro-table/component-map.js +1 -1
- package/lib/src/pro-table/components/editable/cell-component.js +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/header-cell.vue.d.ts +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/full-screen-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/redo-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/size-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/table-action.vue.js +1 -1
- package/lib/src/pro-table/components/table-footer.vue.d.ts +1 -1
- package/lib/src/pro-table/components/table-footer.vue2.js +1 -1
- package/lib/src/pro-table/components/table-header.vue2.js +1 -1
- package/lib/src/pro-table/components/table-image.vue.js +1 -1
- package/lib/src/pro-table/components/table-selection-bar.vue2.js +1 -1
- package/lib/src/pro-table/hooks/use-columns.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-custom-row.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -2
- package/lib/src/pro-table/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-table-expand.d.ts +1 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +13 -13
- package/lib/src/pro-table/pro-table.vue.js +1 -1
- package/lib/src/pro-table/types/pagination.d.ts +1 -1
- package/lib/src/pro-table/types/table-action.d.ts +2 -2
- package/lib/src/pro-table/types/table.d.ts +3 -3
- package/lib/src/prompt/dialog.vue2.js +1 -1
- package/lib/src/strength-meter/strength-meter.vue2.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +10 -10
- package/lib/src/utils/copy-text-to-clipboard.js +1 -1
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/interfaces.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +2 -2
|
@@ -111,41 +111,41 @@ type CustomComponents<T = _CustomComponents> = {
|
|
|
111
111
|
[K in keyof T]: T[K] & MethodsNameTransform<T[K]>;
|
|
112
112
|
};
|
|
113
113
|
export interface ComponentProps {
|
|
114
|
-
Input: ExtractPropTypes<(typeof import('
|
|
115
|
-
InputGroup: ExtractPropTypes<(typeof import('
|
|
116
|
-
InputPassword: ExtractPropTypes<(typeof import('
|
|
117
|
-
InputSearch: ExtractPropTypes<(typeof import('
|
|
118
|
-
InputTextArea: ExtractPropTypes<(typeof import('
|
|
119
|
-
InputNumber: ExtractPropTypes<(typeof import('
|
|
114
|
+
Input: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/input'))['default']>;
|
|
115
|
+
InputGroup: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/input'))['InputGroup']>;
|
|
116
|
+
InputPassword: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/input'))['InputPassword']>;
|
|
117
|
+
InputSearch: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/input'))['InputSearch']>;
|
|
118
|
+
InputTextArea: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/input'))['Textarea']>;
|
|
119
|
+
InputNumber: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/input-number'))['default']>;
|
|
120
120
|
InputCountDown: CustomComponents['InputCountDown'] & ComponentProps['Input'];
|
|
121
|
-
Select: ExtractPropTypes<(typeof import('
|
|
121
|
+
Select: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/select'))['default']>;
|
|
122
122
|
ApiSelect: CustomComponents['ApiSelect'] & ComponentProps['Select'];
|
|
123
|
-
TreeSelect: ExtractPropTypes<(typeof import('
|
|
124
|
-
ApiTree: CustomComponents['ApiTree'] & ExtractPropTypes<(typeof import('
|
|
123
|
+
TreeSelect: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/tree-select'))['default']>;
|
|
124
|
+
ApiTree: CustomComponents['ApiTree'] & ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/tree'))['default']>;
|
|
125
125
|
ApiTreeSelect: CustomComponents['ApiTreeSelect'] & ComponentProps['TreeSelect'];
|
|
126
126
|
ApiRadioGroup: CustomComponents['ApiRadioGroup'] & ComponentProps['RadioGroup'];
|
|
127
127
|
RadioButtonGroup: CustomComponents['RadioButtonGroup'] & ComponentProps['RadioGroup'];
|
|
128
|
-
RadioGroup: ExtractPropTypes<(typeof import('
|
|
129
|
-
Checkbox: ExtractPropTypes<(typeof import('
|
|
130
|
-
CheckboxGroup: ExtractPropTypes<(typeof import('
|
|
131
|
-
AutoComplete: ExtractPropTypes<(typeof import('
|
|
128
|
+
RadioGroup: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/radio'))['RadioGroup']>;
|
|
129
|
+
Checkbox: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/checkbox'))['default']>;
|
|
130
|
+
CheckboxGroup: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/checkbox'))['CheckboxGroup']>;
|
|
131
|
+
AutoComplete: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/auto-complete'))['default']>;
|
|
132
132
|
ApiCascader: CustomComponents['ApiCascader'] & ComponentProps['Cascader'];
|
|
133
|
-
Cascader: ExtractPropTypes<(typeof import('
|
|
134
|
-
DatePicker: ExtractPropTypes<(typeof import('
|
|
135
|
-
MonthPicker: ExtractPropTypes<(typeof import('
|
|
136
|
-
RangePicker: ExtractPropTypes<(typeof import('
|
|
137
|
-
WeekPicker: ExtractPropTypes<(typeof import('
|
|
138
|
-
TimePicker: ExtractPropTypes<(typeof import('
|
|
139
|
-
TimeRangePicker: ExtractPropTypes<(typeof import('
|
|
140
|
-
Switch: ExtractPropTypes<(typeof import('
|
|
133
|
+
Cascader: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/cascader'))['default']>;
|
|
134
|
+
DatePicker: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/date-picker'))['default']>;
|
|
135
|
+
MonthPicker: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/date-picker'))['MonthPicker']>;
|
|
136
|
+
RangePicker: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/date-picker'))['RangePicker']>;
|
|
137
|
+
WeekPicker: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/date-picker'))['WeekPicker']>;
|
|
138
|
+
TimePicker: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/time-picker'))['TimePicker']>;
|
|
139
|
+
TimeRangePicker: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/time-picker'))['TimeRangePicker']>;
|
|
140
|
+
Switch: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/switch'))['default']>;
|
|
141
141
|
StrengthMeter: CustomComponents['StrengthMeter'] & ComponentProps['InputPassword'];
|
|
142
142
|
IconPicker: CustomComponents['IconPicker'];
|
|
143
143
|
Render: Record<string, any>;
|
|
144
|
-
Slider: ExtractPropTypes<(typeof import('
|
|
145
|
-
Rate: ExtractPropTypes<(typeof import('
|
|
146
|
-
Divider: ExtractPropTypes<(typeof import('
|
|
144
|
+
Slider: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/slider'))['default']>;
|
|
145
|
+
Rate: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/rate'))['default']>;
|
|
146
|
+
Divider: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/divider'))['default']>;
|
|
147
147
|
ApiTransfer: CustomComponents['ApiTransfer'] & ComponentProps['Transfer'];
|
|
148
|
-
Transfer: ExtractPropTypes<(typeof import('
|
|
148
|
+
Transfer: ExtractPropTypes<(typeof import('@aplus-frontend/antdv/es/transfer'))['default']>;
|
|
149
149
|
CropperAvatar: CustomComponents['CropperAvatar'];
|
|
150
150
|
BasicTitle: CustomComponents['BasicTitle'];
|
|
151
151
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FormSchema } from './form';
|
|
2
2
|
import { ComponentType } from './';
|
|
3
|
-
import { Rule } from '
|
|
3
|
+
import { Rule } from '@aplus-frontend/antdv/es/form';
|
|
4
4
|
import { GroupActionTypes } from '../../ap-action';
|
|
5
|
-
import { ColumnProps } from '
|
|
5
|
+
import { ColumnProps } from '@aplus-frontend/antdv/es/table';
|
|
6
6
|
export type Recordable = {
|
|
7
7
|
[key: string]: any;
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Input as i, InputNumber as p, Select as r, AutoComplete as m, Switch as c, Checkbox as s, DatePicker as n, TimePicker as u, Radio as a } from "
|
|
1
|
+
import { Input as i, InputNumber as p, Select as r, AutoComplete as m, Switch as c, Checkbox as s, DatePicker as n, TimePicker as u, Radio as a } from "@aplus-frontend/antdv";
|
|
2
2
|
import "../pro-form/index.mjs";
|
|
3
3
|
import f from "../pro-form/components/api-select.vue.mjs";
|
|
4
4
|
import d from "../pro-form/components/api-tree-select.vue.mjs";
|
|
@@ -7,7 +7,7 @@ import ke from "../../directives/click-outside.mjs";
|
|
|
7
7
|
import { createPlaceholderMessage as Q } from "./helper.mjs";
|
|
8
8
|
import { isBoolean as p, set as U, pick as Re } from "lodash-unified";
|
|
9
9
|
import { treeToList as Ve } from "../../../utils/tree.mjs";
|
|
10
|
-
import { Spin as X } from "
|
|
10
|
+
import { Spin as X } from "@aplus-frontend/antdv";
|
|
11
11
|
import { parseRowKey as we } from "../../helper.mjs";
|
|
12
12
|
import { isType as O, isFunction as k, isArray as P } from "@fruits-chain/utils";
|
|
13
13
|
import "../style/editable-cell.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ColumnType } from '
|
|
2
|
+
import { ColumnType } from '@aplus-frontend/antdv/lib/table/interface';
|
|
3
3
|
declare const _default: DefineComponent<{
|
|
4
4
|
column: {
|
|
5
5
|
type: PropType<ColumnType<any>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as re, useAttrs as fe, ref as p, watch as j, computed as T, nextTick as K, unref as n, onMounted as me, resolveComponent as ve, openBlock as b, createBlock as X, withCtx as s, createElementVNode as q, toDisplayString as r, createVNode as c, normalizeClass as R, createTextVNode as m, createCommentVNode as pe, createElementBlock as J, Fragment as ge, renderList as he } from "vue";
|
|
2
|
-
import { Tooltip as A, Popover as Ce, Checkbox as k, Divider as xe } from "
|
|
2
|
+
import { Tooltip as A, Popover as Ce, Checkbox as k, Divider as xe } from "@aplus-frontend/antdv";
|
|
3
3
|
import { DragOutlined as we, SettingOutlined as Se } from "@ant-design/icons-vue";
|
|
4
4
|
import "../../../icon/icon.vue.mjs";
|
|
5
5
|
import { ScrollContainer as ke } from "../../../container/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as t, createBlock as l, unref as e, withCtx as o, createElementVNode as u, toDisplayString as p } from "vue";
|
|
2
|
-
import { Tooltip as m } from "
|
|
2
|
+
import { Tooltip as m } from "@aplus-frontend/antdv";
|
|
3
3
|
import { FullscreenOutlined as a, FullscreenExitOutlined as f } from "@ant-design/icons-vue";
|
|
4
4
|
import { useFullscreen as _ } from "@vueuse/core";
|
|
5
5
|
import "../../../config-provider/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as a, createBlock as i, unref as e, withCtx as t, createElementVNode as p, toDisplayString as c, createVNode as l } from "vue";
|
|
2
|
-
import { Tooltip as d } from "
|
|
2
|
+
import { Tooltip as d } from "@aplus-frontend/antdv";
|
|
3
3
|
import { RedoOutlined as s } from "@ant-design/icons-vue";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
5
5
|
import { useTableContext as f } from "../../hooks/use-table-context.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, ref as f, onMounted as g, openBlock as _, createBlock as C, unref as e, withCtx as t, createElementVNode as a, toDisplayString as s, createVNode as l } from "vue";
|
|
2
|
-
import { Tooltip as b, Dropdown as y, Menu as i } from "
|
|
2
|
+
import { Tooltip as b, Dropdown as y, Menu as i } from "@aplus-frontend/antdv";
|
|
3
3
|
import { ColumnHeightOutlined as k } from "@ant-design/icons-vue";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
5
5
|
import { useTableContext as D } from "../../hooks/use-table-context.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as O, computed as y, toRaw as B, unref as n, resolveComponent as x, openBlock as i, createElementBlock as f, normalizeClass as b, Fragment as d, renderList as z, createBlock as u, mergeProps as k, withCtx as p, createVNode as A, createCommentVNode as a, createTextVNode as S, toDisplayString as N, renderSlot as F } from "vue";
|
|
2
2
|
import { MoreOutlined as R } from "@ant-design/icons-vue";
|
|
3
|
-
import { Tooltip as U, Divider as G } from "
|
|
3
|
+
import { Tooltip as U, Divider as G } from "@aplus-frontend/antdv";
|
|
4
4
|
import { Icon as T } from "../../icon/index.mjs";
|
|
5
5
|
import "../../base-button/index.mjs";
|
|
6
6
|
import { Dropdown as E } from "../../dropdown/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BasicTableProps } from '../types/table';
|
|
2
2
|
import { Fn, Recordable } from '../../type';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { GetRowKey } from '
|
|
4
|
+
import { GetRowKey } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
5
5
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
6
|
summaryFunc?: Fn | null;
|
|
7
7
|
summaryData?: Recordable[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, computed as m, toRaw as R, unref as c, openBlock as h, createBlock as x, createCommentVNode as S } from "vue";
|
|
2
|
-
import { Table as D } from "
|
|
2
|
+
import { Table as D } from "@aplus-frontend/antdv";
|
|
3
3
|
import { isFunction as K, cloneDeep as g } from "lodash-unified";
|
|
4
4
|
import { INDEX_COLUMN_FLAG as F } from "../const.mjs";
|
|
5
5
|
import { useTableContext as b } from "../hooks/use-table-context.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as o, createElementBlock as a, renderSlot as n, createCommentVNode as l, createVNode as y, createElementVNode as r, createBlock as s, normalizeClass as f, unref as c } from "vue";
|
|
2
|
-
import { Divider as g } from "
|
|
2
|
+
import { Divider as g } from "@aplus-frontend/antdv";
|
|
3
3
|
import "./settings/index.vue.mjs";
|
|
4
4
|
import "./table-title.vue.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, computed as N, openBlock as E, createElementBlock as i, normalizeClass as h, unref as Q, normalizeStyle as n, createBlock as g, withCtx as t, createElementVNode as J, createVNode as c, Fragment as l, renderList as s, createCommentVNode as k } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { Badge as S, Image as o } from "
|
|
3
|
+
import { Badge as S, Image as o } from "@aplus-frontend/antdv";
|
|
4
4
|
import "./style/table-image.css";
|
|
5
5
|
import { useNamespace as y } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
const K = { class: "img-div" }, U = /* @__PURE__ */ d({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as a, createBlock as m, unref as e, normalizeClass as u, withCtx as s, createElementBlock as l, toDisplayString as c, withDirectives as f, createVNode as _, createTextVNode as b, vShow as d } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { Alert as k, Button as y } from "
|
|
3
|
+
import { Alert as k, Button as y } from "@aplus-frontend/antdv";
|
|
4
4
|
import "./style/table-selection-bar.css";
|
|
5
5
|
import { useLocale as B } from "../../config-provider/hooks/use-locale.mjs";
|
|
6
6
|
import { useNamespace as h } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BasicColumn, BasicTableProps, CellFormat, GetColumnsParams } from '../types/table';
|
|
2
2
|
import { PaginationProps } from '../types/pagination';
|
|
3
3
|
import { ComputedRef } from 'vue';
|
|
4
|
-
import { ColumnType } from '
|
|
4
|
+
import { ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
5
5
|
import { Recordable } from '../../type';
|
|
6
6
|
export declare function useColumns(propsRef: ComputedRef<BasicTableProps>, getPaginationRef: ComputedRef<boolean | PaginationProps>): {
|
|
7
7
|
getColumnsRef: ComputedRef<BasicColumn[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { BasicTableProps } from '../types/table';
|
|
3
|
-
import { Key } from '
|
|
3
|
+
import { Key } from '@aplus-frontend/antdv/lib/table/interface';
|
|
4
4
|
import { EmitType, Recordable } from '../../type';
|
|
5
5
|
interface Options {
|
|
6
6
|
setSelectedRowKeys: (keyValues: Key[]) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BasicTableProps, FetchParams, SorterResult } from '../types/table';
|
|
2
2
|
import { PaginationProps } from '../types/pagination';
|
|
3
3
|
import { ComputedRef, Ref } from 'vue';
|
|
4
|
-
import { Key } from '
|
|
4
|
+
import { Key } from '@aplus-frontend/antdv/lib/table/interface';
|
|
5
5
|
import { EmitType, Recordable } from '../../type';
|
|
6
|
-
import { GetRowKey } from '
|
|
6
|
+
import { GetRowKey } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
7
7
|
interface ActionType {
|
|
8
8
|
getPaginationInfo: ComputedRef<boolean | PaginationProps>;
|
|
9
9
|
setPagination: (info: Partial<PaginationProps>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BasicTableProps, TableRowSelection } from '../types/table';
|
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
|
3
|
-
import { Key } from '
|
|
3
|
+
import { Key } from '@aplus-frontend/antdv/lib/table/interface';
|
|
4
4
|
import { EmitType, Recordable } from '../../type';
|
|
5
5
|
export declare function useRowSelection(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
|
|
6
6
|
getRowSelection: () => TableRowSelection<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { BasicTableProps } from '../types/table';
|
|
3
|
-
import { Key } from '
|
|
3
|
+
import { Key } from '@aplus-frontend/antdv/lib/table/interface';
|
|
4
4
|
import { EmitType, Recordable } from '../../type';
|
|
5
5
|
export declare function useTableExpand(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
|
|
6
6
|
getExpandOption: ComputedRef<{
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { BasicTableProps, SizeType } from './types/table';
|
|
2
2
|
import { ProTableProps } from './interface';
|
|
3
|
-
import { TableColumnType, ColumnType, ColumnsType, TablePaginationConfig } from '
|
|
3
|
+
import { TableColumnType, ColumnType, ColumnsType, TablePaginationConfig } from '@aplus-frontend/antdv';
|
|
4
4
|
import { ComponentInternalInstance, ExtractPropTypes, PropType, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CreateComponentPublicInstance, DefineComponent, Ref, PublicProps } from 'vue';
|
|
5
5
|
import { FormSchema, FieldMapToTime, InnerButtonProps, FormSchemaInner, ProFormProps } from '..';
|
|
6
6
|
import { ColEx } from '../pro-form/types';
|
|
7
|
-
import { Gutter } from '
|
|
7
|
+
import { Gutter } from '@aplus-frontend/antdv/lib/grid/Row';
|
|
8
8
|
import { Recordable } from '../type';
|
|
9
|
-
import { NamePath } from '
|
|
10
|
-
import { ColumnsType, GetRowKey, TableLocale, FilterValue, SorterResult, TableCurrentDataSource, ColumnType, TableRowSelection, GetPopupContainer, SortOrder, Key } from '
|
|
11
|
-
import { GetRowKey, TableLayout, RowClassName, PanelRender, TableComponents, GetComponentProps, ColumnType, Key, ExpandedRowRender, RenderExpandIcon, TableSticky, TransformCellText, RenderExpandIconProps } from '
|
|
12
|
-
import { SpinSize } from '
|
|
9
|
+
import { NamePath } from '@aplus-frontend/antdv/lib/form/interface';
|
|
10
|
+
import { ColumnsType, GetRowKey, TableLocale, FilterValue, SorterResult, TableCurrentDataSource, ColumnType, TableRowSelection, GetPopupContainer, SortOrder, Key } from '@aplus-frontend/antdv/es/table/interface';
|
|
11
|
+
import { GetRowKey, TableLayout, RowClassName, PanelRender, TableComponents, GetComponentProps, ColumnType, Key, ExpandedRowRender, RenderExpandIcon, TableSticky, TransformCellText, RenderExpandIconProps } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
12
|
+
import { SpinSize } from '@aplus-frontend/antdv/es/spin/Spin';
|
|
13
13
|
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
14
|
-
import { SizeType } from '
|
|
15
|
-
import { SizeType } from '
|
|
16
|
-
import { TriggerType } from '
|
|
17
|
-
import { TooltipPlacement, AdjustOverflow } from '
|
|
18
|
-
import { LiteralUnion, CustomSlotsType } from '
|
|
19
|
-
import { PresetColorType } from '
|
|
20
|
-
import { AlignType, BuildInPlacements } from '
|
|
14
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
15
|
+
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
16
|
+
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
17
|
+
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
18
|
+
import { LiteralUnion, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
19
|
+
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
20
|
+
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
21
21
|
import { FetchParams, PaginationProps, GetColumnsParams, BasicColumn, TableRowSelection, TableSetting } from '.';
|
|
22
22
|
type ProTableSlots = 'emptyText' | 'expandIcon' | 'title' | 'footer' | 'summary' | 'bodyCell' | 'expandColumnTitle' | 'headerCell' | 'customFilterIcon' | 'customFilterDropdown';
|
|
23
23
|
declare function __VLS_template(): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Je, useAttrs as Qe, useSlots as Ue, ref as d, computed as p, unref as e, inject as Xe, watchEffect as Ye, toRaw as O, openBlock as V, createElementBlock as L, normalizeClass as W, normalizeStyle as Ze, createVNode as D, mergeProps as j, createSlots as M, renderList as G, withCtx as S, renderSlot as C, normalizeProps as y, guardReactiveProps as b, createCommentVNode as et, withDirectives as tt, vShow as ot } from "vue";
|
|
2
|
-
import { Table as at } from "
|
|
2
|
+
import { Table as at } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../pro-form/index.mjs";
|
|
4
4
|
import "./components/header-cell.vue.mjs";
|
|
5
5
|
import { usePagination as nt } from "./hooks/use-pagination.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '
|
|
2
|
-
import { TooltipProps } from '
|
|
1
|
+
import { ButtonProps } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
2
|
+
import { TooltipProps } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
3
3
|
import { Fn } from '../../type';
|
|
4
4
|
export interface ActionItem extends ButtonProps {
|
|
5
5
|
onClick?: Fn;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ColumnProps, default as AntDesignVueTable } from '
|
|
1
|
+
import { ColumnProps, default as AntDesignVueTable } from '@aplus-frontend/antdv/es/table';
|
|
2
2
|
import { Fn, Recordable } from '../../type';
|
|
3
3
|
import { VNode, VNodeChild } from 'vue';
|
|
4
4
|
import { ComponentType } from '../component-map';
|
|
5
5
|
import { ProFormProps } from '../../pro-form';
|
|
6
6
|
import { PaginationProps } from './pagination';
|
|
7
|
-
import { TableRowSelection as AntdTableRowSelection, Key } from '
|
|
8
|
-
import { FixedType } from '
|
|
7
|
+
import { TableRowSelection as AntdTableRowSelection, Key } from '@aplus-frontend/antdv/es/table/interface';
|
|
8
|
+
import { FixedType } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
9
9
|
export type CellFormat = string | ((text: string, record: Recordable, index: number) => string | number) | Map<string | number, any>;
|
|
10
10
|
export interface BasicColumn extends Omit<ColumnProps<Recordable>, 'filters'> {
|
|
11
11
|
children?: BasicColumn[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as f, ref as l, openBlock as h, createBlock as w, unref as o, withCtx as x, createElementVNode as g, normalizeClass as v, createVNode as y } from "vue";
|
|
2
|
-
import { Modal as k } from "
|
|
2
|
+
import { Modal as k } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../pro-form/index.mjs";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
5
5
|
import "./style/dialog.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as b, computed as w, unref as t, watchEffect as C, watch as k, openBlock as c, createElementBlock as B, normalizeClass as o, createBlock as P, mergeProps as V, createSlots as y, renderList as S, withCtx as _, renderSlot as z, normalizeProps as E, guardReactiveProps as I, createCommentVNode as N, createElementVNode as u } from "vue";
|
|
2
|
-
import { Input as $ } from "
|
|
2
|
+
import { Input as $ } from "@aplus-frontend/antdv";
|
|
3
3
|
import { zxcvbn as R } from "@zxcvbn-ts/core";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
5
5
|
import "./style/index.css";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TransformCellTextProps } from '
|
|
2
|
-
import { ConfigProviderProps } from '
|
|
3
|
-
import { ValidateMessages } from '
|
|
4
|
-
import { RequiredMark } from '
|
|
5
|
-
import { ButtonSize } from '
|
|
6
|
-
import { CSPConfig } from '
|
|
7
|
-
import { Locale } from '
|
|
8
|
-
import { ThemeConfig } from '
|
|
9
|
-
import { default as __DTS_DEFAULT_0__ } from '
|
|
10
|
-
import { TransformCellTextProps } from '
|
|
1
|
+
import { TransformCellTextProps } from '@aplus-frontend/antdv/lib/table/interface';
|
|
2
|
+
import { ConfigProviderProps } from '@aplus-frontend/antdv';
|
|
3
|
+
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
|
+
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
5
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
6
|
+
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
|
+
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
|
+
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
|
+
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
10
|
+
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
11
11
|
/**
|
|
12
12
|
* 弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上
|
|
13
13
|
* 解决弹出框滚动问题
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementVNode as e, defineComponent as r, openBlock as s, createBlock as n, unref as t, withCtx as l, toDisplayString as i, createVNode as a } from "vue";
|
|
2
2
|
import { QuestionCircleOutlined as c } from "@ant-design/icons-vue";
|
|
3
|
-
import { Tooltip as d } from "
|
|
3
|
+
import { Tooltip as d } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
5
5
|
import { useLocale as p } from "../config-provider/hooks/use-locale.mjs";
|
|
6
6
|
const _ = { class: "title" }, m = { class: "flex" }, f = /* @__PURE__ */ e("div", null, "1.", -1), u = { class: "flex" }, x = /* @__PURE__ */ e("div", null, "2.", -1), O = /* @__PURE__ */ r({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as M, ref as g, computed as F, openBlock as N, createElementBlock as E, createVNode as t, unref as e, mergeProps as L, withCtx as n, h as A } from "vue";
|
|
2
|
-
import { message as P, Modal as q, Input as I, Textarea as V } from "
|
|
2
|
+
import { message as P, Modal as q, Input as I, Textarea as V } from "@aplus-frontend/antdv";
|
|
3
3
|
import { ApForm as i } from "../ap-form/index.mjs";
|
|
4
4
|
import "./help-message.vue.mjs";
|
|
5
5
|
import "../ap-upload/index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApActionGroupProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { Trigger } from '
|
|
3
|
+
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
4
4
|
import { GroupActionTypes } from '..';
|
|
5
5
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
|
|
6
6
|
count: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("@aplus-frontend/antdv");require("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");require("../item-dropdown/index.vue2.js");require("../../config-provider/index.js");const _=require("lodash-unified"),d=require("../../config-provider/hooks/use-locale.js"),c=require("../item-dropdown/index.vue.js"),f=require("../item-modal/index.vue.js"),g=require("../item-popconfirm/index.vue.js"),m=require("../item/index.vue2.js"),k=e.defineComponent({name:"ApActionGroup",__name:"index",props:{count:{default:3},trigger:{default:()=>["hover"]},placement:{default:"bottomRight"},actions:{default:()=>[]}},setup(l){const o=l,{t:s}=d.useLocale(),n=e.computed(()=>o.actions.filter(t=>t.visible||_.isUndefined(t.visible))),i=e.computed(()=>e.unref(n).length>o.count),u=e.computed(()=>{const t=e.unref(n);return t.length<=o.count?{showActions:t,menuActions:[]}:{showActions:t.slice(0,o.count-1),menuActions:t.slice(o.count-1)}});return(t,v)=>(e.openBlock(),e.createBlock(e.unref(p.Space),{size:16,align:"center"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value.showActions,(r,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[r.actions?(e.openBlock(),e.createBlock(c.default,e.mergeProps({key:0,ref_for:!0},r),null,16)):r.modalProps?(e.openBlock(),e.createBlock(f.default,e.mergeProps({key:1,ref_for:!0},r),null,16)):r.popconfirmProps?(e.openBlock(),e.createBlock(g.default,e.mergeProps({key:2,ref_for:!0},r),null,16)):(e.openBlock(),e.createBlock(m.default,e.mergeProps({key:3,ref_for:!0},r),null,16))],64))),128)),i.value?(e.openBlock(),e.createBlock(c.default,{key:0,actions:u.value.menuActions,placement:t.placement,trigger:t.trigger,text:e.unref(s)("ap.common.more")},null,8,["actions","placement","trigger","text"])):e.createCommentVNode("",!0)]),_:1}))}});exports.default=k;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropdownProps, ModalFuncProps, PopconfirmProps } from '
|
|
1
|
+
import { DropdownProps, ModalFuncProps, PopconfirmProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { VNode } from 'vue';
|
|
3
3
|
export type ActionColor = 'primary' | 'success' | 'error' | 'warn';
|
|
4
4
|
export type ApActionItemProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const d=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const d=require("@aplus-frontend/antdv/es/button/LoadingIcon");require("../style/item.css");const f=require("../../config-provider/hooks/use-namespace.js"),m={key:1},p=e.defineComponent({name:"ApActionItem",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1}},setup(s){const n=s,{b:c,m:l}=f.useNamespace("action-item"),a=e.ref(!1);function r(o){var i;e.unref(t)||n.disabled||((i=n.onClick)==null||i.call(n,o),n.onAction&&(a.value=!0,n.onAction(o).finally(()=>a.value=!1)))}const t=e.computed(()=>n.loading||e.unref(a)),u=e.computed(()=>[c(),l(n.color),n.disabled?l("disabled"):null,t.value?l("loading"):null].filter(Boolean));return(o,i)=>e.renderSlot(o.$slots,"trigger",{loading:t.value,disabled:o.disabled,onClick:r},()=>[o.visible?(e.openBlock(),e.createElementBlock("span",e.mergeProps({key:0},o.$attrs,{onClick:r,class:u.value}),[t.value?(e.openBlock(),e.createBlock(e.unref(d),{key:0,prefixCls:"btn",existIcon:!1,loading:""})):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[e.isVNode(o.text)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.text),{key:0})):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(o.text||""),1))])],16)):e.createCommentVNode("",!0)])}});exports.default=p;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApActionItemDropdownProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { ActionColor, MixedActionTypes } from '..';
|
|
4
|
-
import { Trigger } from '
|
|
4
|
+
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
slots: {
|
|
7
7
|
default?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv");require("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");const f=require("@aplus-frontend/icon");require("../../config-provider/index.js");const s=require("lodash-unified");require("../style/item-dropdown.css");const m=require("../../config-provider/hooks/use-namespace.js"),_=require("../item-modal/index.vue.js"),g=require("../item-popconfirm/index.vue.js"),i=require("../item/index.vue2.js"),k=e.defineComponent({name:"ApActionItemDropDown",__name:"index",props:{trigger:{default:()=>["hover"]},placement:{default:"bottomLeft"},actions:{default:()=>[]},showIcon:{type:Boolean,default:!0},text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onClick:{},loading:{type:Boolean,default:!1}},setup(c){const a=c,n=e.ref(!1),{e:l}=m.useNamespace("action-item-dropdown"),p=e.computed(()=>a.actions.filter(r=>r.visible||s.isUndefined(r.visible)).map(r=>({...r,onAction:async o=>{var t;try{await((t=r.onAction)==null?void 0:t.call(r,o))}finally{n.value=!1}}})));return(r,o)=>(e.openBlock(),e.createBlock(e.unref(u.Dropdown),{open:n.value,"onUpdate:open":o[0]||(o[0]=t=>n.value=t),trigger:r.trigger,placement:r.placement},{overlay:e.withCtx(()=>[e.createVNode(e.unref(u.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(t,d)=>(e.openBlock(),e.createBlock(e.unref(u.MenuItem),{key:d,class:e.normalizeClass(e.unref(l)("item"))},{default:e.withCtx(()=>[t.modalProps?(e.openBlock(),e.createBlock(_.default,e.mergeProps({key:0,ref_for:!0},t),null,16)):t.popconfirmProps?(e.openBlock(),e.createBlock(g.default,e.mergeProps({key:1,ref_for:!0},t),null,16)):(e.openBlock(),e.createBlock(i.default,e.mergeProps({key:2,ref_for:!0},t),null,16))]),_:2},1032,["class"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l)("wrapper"))},[e.createVNode(i.default,e.normalizeProps(e.guardReactiveProps(e.unref(s.omit)(a,["actions","trigger","placement"]))),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16),r.showIcon?(e.openBlock(),e.createBlock(e.unref(f.IconApAdLineDown),{key:0,class:e.normalizeClass(e.unref(l)("icon"))},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},8,["open","trigger","placement"]))}});exports.default=k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApActionItemModalProps, ApActionItemSlots } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { ActionColor } from '..';
|
|
4
|
-
import { ModalFuncProps } from '
|
|
4
|
+
import { ModalFuncProps } from '@aplus-frontend/antdv';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
7
7
|
refs: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("@aplus-frontend/antdv");require("../item/index.vue.js");const d=require("lodash-unified"),p=require("../item/index.vue2.js"),f=e.defineComponent({name:"ApActionItemModal",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1},modalProps:{default:()=>({})}},setup(l){const s=e.useSlots(),o=l;async function i(n){c.Modal.confirm({...o.modalProps,zIndex:1060,onOk:async()=>{var r,a,t;(a=(r=o.modalProps).onOk)==null||a.call(r),await((t=o.onAction)==null?void 0:t.call(o,n))}})}return(n,r)=>(e.openBlock(),e.createBlock(p.default,e.mergeProps(e.unref(d.omit)(o,["modalProps","onAction"]),{onAction:i}),e.createSlots({_:2},[e.renderList(s,(a,t)=>({name:t,fn:e.withCtx(u=>[e.renderSlot(n.$slots,t,e.normalizeProps(e.guardReactiveProps(u||{})))])}))]),1040))}});exports.default=f;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ApActionItemPopconfirmProps, ApActionItemSlots } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
|
|
3
3
|
import { ActionColor } from '..';
|
|
4
|
-
import { LegacyButtonType, ButtonHTMLType } from '
|
|
5
|
-
import { ButtonType, ButtonShape, ButtonSize } from '
|
|
4
|
+
import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
5
|
+
import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
6
6
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
7
|
-
import { MouseEventHandler } from '
|
|
8
|
-
import { TriggerType } from '
|
|
9
|
-
import { TooltipPlacement, AdjustOverflow } from '
|
|
10
|
-
import { LiteralUnion } from '
|
|
11
|
-
import { PresetColorType } from '
|
|
12
|
-
import { AlignType, BuildInPlacements } from '
|
|
7
|
+
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
8
|
+
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
9
|
+
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
10
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
11
|
+
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
12
|
+
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
14
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
15
15
|
refs: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv");require("../item/index.vue.js");const p=require("lodash-unified"),d=require("../item/index.vue2.js"),f=e.defineComponent({name:"ApActionItemPopconfirm",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1},popconfirmProps:{default:()=>({})}},setup(a){const s=e.useSlots(),o=a;async function l(n){var t,i,r;(i=(t=o.popconfirmProps).onConfirm)==null||i.call(t,n),await((r=o.onAction)==null?void 0:r.call(o,n))}return(n,t)=>(e.openBlock(),e.createBlock(e.unref(u.Popconfirm),e.mergeProps(o.popconfirmProps,{onConfirm:l,disabled:!o.popconfirmProps,"overlay-style":{zIndex:1060}}),{default:e.withCtx(()=>[e.createVNode(d.default,e.normalizeProps(e.guardReactiveProps(e.unref(p.omit)(o,["popconfirmProps","onAction"]))),e.createSlots({_:2},[e.renderList(s,(i,r)=>({name:r,fn:e.withCtx(c=>[e.renderSlot(n.$slots,r,e.normalizeProps(e.guardReactiveProps(c||{})))])}))]),1040)]),_:3},16,["disabled"]))}});exports.default=f;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { ApButtonProps } from './interface';
|
|
3
|
-
import { ButtonType } from '
|
|
3
|
+
import { ButtonType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
slots: Partial<Record<string, (_: any) => any>>;
|
|
6
6
|
refs: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApButtonProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { ButtonType } from '
|
|
3
|
+
import { ButtonType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
slots: Partial<Record<string, (_: any) => any>>;
|
|
6
6
|
refs: {};
|