@aplus-frontend/ui 0.1.44 → 0.1.46
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-column-state.mjs +55 -54
- 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 +8 -7
- 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.d.ts +1 -0
- package/es/src/editable-table/form-item.vue.mjs +60 -55
- 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 +6 -6
- package/es/src/editable-table/utils.mjs +69 -69
- 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 +14 -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-column-state.js +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 +8 -7
- 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.d.ts +1 -0
- 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 +6 -6
- 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 +14 -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 +3 -3
|
@@ -1,110 +1,111 @@
|
|
|
1
|
-
import { ref as R, shallowRef as _, unref as
|
|
1
|
+
import { ref as R, shallowRef as _, unref as a, computed as j, watchEffect as z } from "vue";
|
|
2
2
|
import { isDef as D } from "../../utils/index.mjs";
|
|
3
3
|
import G, { customCloneColumnStates as A, getColumnStateString as W } from "../components/setting/utils.mjs";
|
|
4
4
|
import { useInjectApTable as X } from "../context.mjs";
|
|
5
5
|
import { isObject as k, mergeWith as E, isBoolean as q, omit as H, isNumber as N } from "lodash-unified";
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
n(
|
|
6
|
+
function l(t, n) {
|
|
7
|
+
t.forEach((o) => {
|
|
8
|
+
var i;
|
|
9
|
+
n(o), (i = o.children) != null && i.length && l(o.children, n);
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
-
function L(
|
|
12
|
+
function L(t, n) {
|
|
13
13
|
if (!n)
|
|
14
14
|
return {};
|
|
15
|
-
const
|
|
16
|
-
return
|
|
15
|
+
const o = t.getItem(n);
|
|
16
|
+
return o ? JSON.parse(o) : {};
|
|
17
17
|
}
|
|
18
|
-
function I(
|
|
19
|
-
if (k(
|
|
20
|
-
return E({},
|
|
18
|
+
function I(t, n) {
|
|
19
|
+
if (k(t) && k(n))
|
|
20
|
+
return E({}, t, n, I);
|
|
21
21
|
}
|
|
22
|
-
const B = Number.MAX_SAFE_INTEGER, $ = (
|
|
23
|
-
const
|
|
22
|
+
const B = Number.MAX_SAFE_INTEGER, $ = (t, n) => {
|
|
23
|
+
const o = R(n), i = _(
|
|
24
24
|
A(n)
|
|
25
|
-
), { columnsBackup:
|
|
25
|
+
), { columnsBackup: m, updateColumns: u } = X(), T = t.persistenceType || "localStorage", p = window[T];
|
|
26
26
|
function F() {
|
|
27
27
|
const e = L(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
),
|
|
28
|
+
p,
|
|
29
|
+
t.persistenceKey
|
|
30
|
+
), r = E(
|
|
31
31
|
{},
|
|
32
|
-
|
|
32
|
+
t.defaultValue || {},
|
|
33
33
|
e,
|
|
34
34
|
I
|
|
35
|
-
),
|
|
35
|
+
), c = a(m);
|
|
36
36
|
function v(M, d, b) {
|
|
37
37
|
return M.map((s) => {
|
|
38
38
|
var x;
|
|
39
|
-
const
|
|
39
|
+
const f = (d == null ? void 0 : d[s.key]) || {}, h = {
|
|
40
40
|
key: s.key,
|
|
41
41
|
label: s.title,
|
|
42
42
|
show: !0,
|
|
43
43
|
fixed: b ? b.fixed : q(s.fixed) ? s.fixed ? "left" : void 0 : s.fixed,
|
|
44
44
|
disabled: !1,
|
|
45
|
-
...H(
|
|
45
|
+
...H(f, "children")
|
|
46
46
|
};
|
|
47
|
-
return
|
|
47
|
+
return h.children = (x = s.children) != null && x.length ? v(
|
|
48
48
|
s.children,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
) : void 0,
|
|
49
|
+
f.children,
|
|
50
|
+
h
|
|
51
|
+
) : void 0, h;
|
|
52
52
|
}).sort(
|
|
53
|
-
(s,
|
|
53
|
+
(s, f) => (N(s.order) ? s.order : B) - (N(f.order) ? f.order : B)
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
|
-
return v(
|
|
56
|
+
return v(c || [], r);
|
|
57
57
|
}
|
|
58
|
-
const
|
|
59
|
-
function
|
|
60
|
-
const e =
|
|
61
|
-
|
|
62
|
-
!
|
|
58
|
+
const C = j(() => a(o).every((e) => e.show));
|
|
59
|
+
function S() {
|
|
60
|
+
const e = a(o);
|
|
61
|
+
l(e, (r) => {
|
|
62
|
+
!r.disabled && (r.show = !0);
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const e =
|
|
67
|
-
|
|
68
|
-
!
|
|
65
|
+
function g() {
|
|
66
|
+
const e = a(o);
|
|
67
|
+
l(e, (r) => {
|
|
68
|
+
!r.disabled && (r.show = !1);
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
function O() {
|
|
72
|
-
|
|
72
|
+
a(C) ? g() : S();
|
|
73
73
|
}
|
|
74
|
-
function K(e,
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
function K(e, r) {
|
|
75
|
+
l(a(o), (c) => {
|
|
76
|
+
c.key === e && (c.show = D(r) ? r : !c.show);
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
function w(e) {
|
|
80
|
-
|
|
80
|
+
o.value = e;
|
|
81
81
|
}
|
|
82
82
|
function J(e) {
|
|
83
|
-
|
|
83
|
+
i.value = e;
|
|
84
84
|
}
|
|
85
85
|
function y(e) {
|
|
86
|
-
if (
|
|
87
|
-
const
|
|
88
|
-
|
|
86
|
+
if (t.persistenceKey) {
|
|
87
|
+
const r = W(e);
|
|
88
|
+
p.setItem(t.persistenceKey, JSON.stringify(r));
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
return z(() => {
|
|
92
|
+
var r;
|
|
92
93
|
const e = F();
|
|
93
|
-
w(e),
|
|
94
|
+
w(e), (r = t.onChange) == null || r.call(t, e), u == null || u(
|
|
94
95
|
G(
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
a(m),
|
|
97
|
+
a(e)
|
|
97
98
|
)
|
|
98
|
-
),
|
|
99
|
+
), i.value = A(e), y(e);
|
|
99
100
|
}), {
|
|
100
|
-
columnState:
|
|
101
|
-
selectAll:
|
|
102
|
-
unSelectAll:
|
|
101
|
+
columnState: o,
|
|
102
|
+
selectAll: S,
|
|
103
|
+
unSelectAll: g,
|
|
103
104
|
toggleSelect: K,
|
|
104
105
|
setColumnState: w,
|
|
105
|
-
isAllSelected:
|
|
106
|
+
isAllSelected: C,
|
|
106
107
|
toggleSelectAll: O,
|
|
107
|
-
columnStateBackup:
|
|
108
|
+
columnStateBackup: i,
|
|
108
109
|
setColumnStateBackup: J,
|
|
109
110
|
cacheColumnStateIfNeeded: y
|
|
110
111
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { RequestData } from '../interface';
|
|
3
3
|
import { ApFormSearchFormExpose } from '../../ap-form';
|
|
4
|
-
import { DataIndex } from '
|
|
5
|
-
import { TablePaginationConfig } from '
|
|
6
|
-
import { FilterValue, SorterResult, TableCurrentDataSource } from '
|
|
4
|
+
import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
5
|
+
import { TablePaginationConfig } from '@aplus-frontend/antdv';
|
|
6
|
+
import { FilterValue, SorterResult, TableCurrentDataSource } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
7
|
export type UseTablePagingParams<DataType, ParamsType> = {
|
|
8
8
|
request: (params: any) => Promise<RequestData<DataType>>;
|
|
9
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableRowSelection } from '
|
|
1
|
+
import { TableRowSelection } from '@aplus-frontend/antdv/lib/table/interface';
|
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
|
3
3
|
import { ApTableProps, ApTableRowSelection } from '../interface';
|
|
4
4
|
import { Recordable } from '../../type';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ColumnType, TableProps, ColumnsType } from '
|
|
2
|
-
import { CompareFn, SortOrder, TableRowSelection } from '
|
|
1
|
+
import { ColumnType, TableProps, ColumnsType } from '@aplus-frontend/antdv/es/table';
|
|
2
|
+
import { CompareFn, SortOrder, TableRowSelection } from '@aplus-frontend/antdv/es/table/interface';
|
|
3
3
|
import { ApFormItemProps, ApFormSearchFormProps } from '../ap-form';
|
|
4
4
|
import { ApFormItemCheckboxProps, ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemNumberProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemTextAreaProps, ApFormItemTextPasswordProps, ApFormItemTextProps } from '../ap-form/items/interface';
|
|
5
5
|
import { Recordable } from '../type';
|
|
6
6
|
import { ComputedRef, CSSProperties, VNode } from 'vue';
|
|
7
7
|
import { ApActionGroupProps } from '../ap-action';
|
|
8
8
|
import { ApTableIndexProps } from './components/interface';
|
|
9
|
-
import { EllipsisConfig } from '
|
|
9
|
+
import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
|
|
10
10
|
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
11
11
|
export type ValueEnumType = {
|
|
12
12
|
text: string;
|
|
@@ -2,13 +2,14 @@ import { ApColumnType, ValueEnum, ValueEnumType } from './interface';
|
|
|
2
2
|
import { ValueTypeRenderConfig } from '../config-provider';
|
|
3
3
|
import { apTableRenderItemMap } from './constants';
|
|
4
4
|
import { VNode, CreateComponentPublicInstance, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, VNodeArrayChildren } from 'vue';
|
|
5
|
+
import { EditableColumnType } from '../editable-table/interface';
|
|
5
6
|
import { ApFormItemTransformType, ApFieldTextPasswordProps, ApFormItemSlots, ApFieldTextProps, ApFormItemTextPassword, ApFieldTextAreaProps, ApFieldNumberProps, ApFieldDateProps, ApFieldDateRangeProps, ApFieldRadioProps, ApFieldSelectProps, ApFieldSwitchProps, ApFieldCheckboxProps } from '..';
|
|
6
|
-
import { ColSize } from '
|
|
7
|
-
import { RuleObject } from '
|
|
8
|
-
import { FormLabelAlign } from '
|
|
9
|
-
import { InputFocusOptions } from '
|
|
10
|
-
import { ColumnTitleProps } from '
|
|
11
|
-
import { VueNode } from '
|
|
7
|
+
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
8
|
+
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
9
|
+
import { FormLabelAlign } from '@aplus-frontend/antdv/es/form/interface';
|
|
10
|
+
import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
|
|
11
|
+
import { ColumnTitleProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
12
|
+
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
export type FieldValueType = 'multiple' | 'multipleNumber' | 'dayjs' | 'dayjsRange' | 'dayjsDayRange' | 'number' | 'boolean' | 'object';
|
|
13
14
|
export declare const formatParamsValueType: (type: FieldValueType | Record<string, FieldValueType>, value: any, cb: (t: FieldValueType, value: any) => any) => any;
|
|
14
15
|
/**
|
|
@@ -63,7 +64,7 @@ export declare function getFieldProps<RecordType = any>(fieldProps: ApColumnType
|
|
|
63
64
|
* @param item
|
|
64
65
|
* @returns
|
|
65
66
|
*/
|
|
66
|
-
export declare function getTableRenderType(item: ApColumnType
|
|
67
|
+
export declare function getTableRenderType(item: ApColumnType | EditableColumnType): "number" | "select" | "date" | "checkbox" | "radio" | "text" | "index" | "switch" | "status" | "password" | "action" | "dateRange" | "textArea";
|
|
67
68
|
export declare function getTableCellRenderNode(renderType: keyof typeof apTableRenderItemMap, renderProps: any, record: any, extraRenderMap?: Record<string, ValueTypeRenderConfig>): any;
|
|
68
69
|
/**
|
|
69
70
|
* 获取查询表单最终渲染的节点
|
|
@@ -3,7 +3,7 @@ import { isObject as f, isArray as p, isUndefined as h, isFunction as d, omit as
|
|
|
3
3
|
import { apTableRenderItemMap as F, apTableFormItemMap as N } from "./constants.mjs";
|
|
4
4
|
import { isType as S } from "@fruits-chain/utils";
|
|
5
5
|
import "../ap-form/index.mjs";
|
|
6
|
-
import { Tooltip as v } from "
|
|
6
|
+
import { Tooltip as v } from "@aplus-frontend/antdv";
|
|
7
7
|
import { QuestionCircleOutlined as I } from "@ant-design/icons-vue";
|
|
8
8
|
import V from "../ap-form/ap-form-item.vue.mjs";
|
|
9
9
|
function w(t) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementVNode as t, defineComponent as D, ref as C, computed as n, unref as d, watch as N, nextTick as S, onMounted as j, onUnmounted as G, openBlock as c, createBlock as f, mergeProps as _, withCtx as g, renderSlot as R, createTextVNode as A, toDisplayString as b, normalizeClass as k, normalizeStyle as W, createElementBlock as T, Fragment as F, renderList as I, createCommentVNode as U } from "vue";
|
|
2
|
-
import { Tooltip as q } from "
|
|
2
|
+
import { Tooltip as q } from "@aplus-frontend/antdv";
|
|
3
3
|
import H from "@ant-design/icons-vue";
|
|
4
4
|
import "./ap-tag.vue2.mjs";
|
|
5
5
|
import "../config-provider/index.mjs";
|
|
@@ -6,7 +6,7 @@ import "./components/Picture.vue.mjs";
|
|
|
6
6
|
import "./styles/upload.css";
|
|
7
7
|
import { injectLocaleToAccept as R } from "./utils/accept.mjs";
|
|
8
8
|
import { injectLocaleToOss as M } from "./hooks/useOss.mjs";
|
|
9
|
-
import { Form as P } from "
|
|
9
|
+
import { Form as P } from "@aplus-frontend/antdv";
|
|
10
10
|
import { useLocale as w } from "../config-provider/hooks/use-locale.mjs";
|
|
11
11
|
import { useNamespace as D } from "../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
import E from "./components/SingleFile.vue2.mjs";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as $, inject as n, ref as j, watch as W, nextTick as G,
|
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { getPath as Y, getName as Z, getReturnData as y } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as ee, getOssInstance as te } from "../hooks/useOss.mjs";
|
|
5
|
-
import { message as c, Upload as oe, Button as ae } from "
|
|
5
|
+
import { message as c, Upload as oe, Button as ae } from "@aplus-frontend/antdv";
|
|
6
6
|
import { UploadOutlined as se } from "@ant-design/icons-vue";
|
|
7
7
|
import { fileMatchesAccept as ne, getAcceptText as ie } from "../utils/accept.mjs";
|
|
8
8
|
import "../styles/multiple-file.css";
|
|
@@ -4,7 +4,7 @@ import { getPath as F, getName as ee, getReturnData as w } from "../utils/return
|
|
|
4
4
|
import { CloseOutlined as te, PlusOutlined as ne } from "@ant-design/icons-vue";
|
|
5
5
|
import { useOss as ae, getOssInstance as D } from "../hooks/useOss.mjs";
|
|
6
6
|
import { fileMatchesAccept as se, getAcceptText as oe } from "../utils/accept.mjs";
|
|
7
|
-
import { message as d, Progress as ie } from "
|
|
7
|
+
import { message as d, Progress as ie } from "@aplus-frontend/antdv";
|
|
8
8
|
import "../styles/picture.css";
|
|
9
9
|
import { useLocale as ce } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import { useNamespace as ue } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -3,7 +3,7 @@ import "../../config-provider/index.mjs";
|
|
|
3
3
|
import { getName as re, getReturnData as $ } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as ie, useOssInit as ce } from "../hooks/useOss.mjs";
|
|
5
5
|
import { fileMatchesAccept as ue, getAcceptText as pe } from "../utils/accept.mjs";
|
|
6
|
-
import { message as u, Progress as ve } from "
|
|
6
|
+
import { message as u, Progress as ve } from "@aplus-frontend/antdv";
|
|
7
7
|
import { DeleteOutlined as de } from "@ant-design/icons-vue";
|
|
8
8
|
import q from "../assets/single-file-icon.png.mjs";
|
|
9
9
|
import "../styles/single-file.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, computed as r, unref as i, openBlock as e, createBlock as n, mergeProps as C, withCtx as l, renderSlot as c, createCommentVNode as a, normalizeProps as I, guardReactiveProps as b } from "vue";
|
|
2
|
-
import { Button as p } from "
|
|
2
|
+
import { Button as p } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../icon/icon.vue.mjs";
|
|
4
4
|
import { useAttrs as g } from "@aplus-frontend/hooks";
|
|
5
5
|
import { omit as y } from "lodash-unified";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, computed as u, unref as o, h as i } from "vue";
|
|
2
2
|
import "./button.vue.mjs";
|
|
3
|
-
import { Popconfirm as l } from "
|
|
3
|
+
import { Popconfirm as l } from "@aplus-frontend/antdv";
|
|
4
4
|
import { extendSlots as d } from "../utils/slot.mjs";
|
|
5
5
|
import { omit as s } from "lodash-unified";
|
|
6
6
|
import { useAttrs as x } from "@aplus-frontend/hooks";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, VNode, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { TooltipPlacement } from '
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
3
3
|
declare const _default: DefineComponent<{
|
|
4
4
|
/**
|
|
5
5
|
* Help text max-width
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, computed as i, createVNode as o, unref as l } from "vue";
|
|
2
|
-
import { Tooltip as a } from "
|
|
2
|
+
import { Tooltip as a } from "@aplus-frontend/antdv";
|
|
3
3
|
import { InfoCircleOutlined as y } from "@ant-design/icons-vue";
|
|
4
4
|
import { getPopupContainer as S } from "../utils/index.mjs";
|
|
5
5
|
import { isType as g, isArray as x } from "@fruits-chain/utils";
|
package/es/src/basic/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, VNodeChild, VNode, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { TooltipPlacement } from '
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
export declare const BasicHelp: {
|
|
5
5
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AttachmentItemProps, ApAttachmentProps } from './interface';
|
|
2
2
|
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import { TooltipPlacement } from '
|
|
3
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
4
4
|
declare const _default: DefineComponent<{
|
|
5
5
|
attachmentList: {
|
|
6
6
|
type: PropType<Array<AttachmentItemProps>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as w, useSlots as j, computed as n, cloneVNode as B, toRaw as v, unref as G, createVNode as l, createTextVNode as H } from "vue";
|
|
2
|
-
import { Tooltip as R, Popover as W } from "
|
|
2
|
+
import { Tooltip as R, Popover as W } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { ApAttachmentProps as q } from "./constans.mjs";
|
|
5
5
|
import { getHexWithOpacity as D, getFileInfo as y } from "../../ap-download/utils/getFileInfo.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApDownLoadProps } from '../../ap-download/interface';
|
|
2
|
-
import { TooltipPlacement } from '
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
3
3
|
export type AttachmentItemProps = {
|
|
4
4
|
fileName: string;
|
|
5
5
|
filePath: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, computed as u, openBlock as f, createElementBlock as h, normalizeClass as _, unref as t, renderSlot as r, createElementVNode as s, createTextVNode as n, toDisplayString as c, createVNode as A, withCtx as B } from "vue";
|
|
2
2
|
import "./index.css";
|
|
3
|
-
import { Button as v } from "
|
|
3
|
+
import { Button as v } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { useNamespace as y } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
import { useLocale as C } from "../../config-provider/hooks/use-locale.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as A, computed as n, openBlock as v, createBlock as y, unref as a, mergeProps as m, withCtx as r, createVNode as c, createElementVNode as C, normalizeStyle as D, toDisplayString as h, normalizeClass as N, normalizeProps as R, guardReactiveProps as T, createTextVNode as x, createCommentVNode as V } from "vue";
|
|
2
|
-
import { DropdownButton as z, Dropdown as G } from "
|
|
2
|
+
import { DropdownButton as z, Dropdown as G } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/index.mjs";
|
|
4
4
|
import "./MenuItemGroup.vue.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, ref as h, openBlock as s, createBlock as a, unref as u, withCtx as d, createElementBlock as v, Fragment as t, renderList as y, mergeProps as k, createElementVNode as w, withDirectives as g, createVNode as C, vShow as b, resolveDynamicComponent as L, h as M } from "vue";
|
|
2
2
|
import { LoadingOutlined as B } from "@ant-design/icons-vue";
|
|
3
|
-
import { Menu as R, MenuItem as x } from "
|
|
3
|
+
import { Menu as R, MenuItem as x } from "@aplus-frontend/antdv";
|
|
4
4
|
const D = { style: { display: "flex", "align-items": "center" } }, P = /* @__PURE__ */ _({
|
|
5
5
|
__name: "MenuItemGroup",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ButtonProps, MenuItemProps } from '
|
|
1
|
+
import { ButtonProps, MenuItemProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { ApButtonProps } from '../../ap-button/interface';
|
|
3
|
-
import { DropdownButtonProps } from '
|
|
3
|
+
import { DropdownButtonProps } from '@aplus-frontend/antdv/es/dropdown';
|
|
4
4
|
import { VNodeChild } from 'vue';
|
|
5
5
|
type ApBatchActionGroupButtonType = ButtonProps['type'] | 'borderLink';
|
|
6
6
|
type MixinButton<T> = Omit<T, 'type'> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, computed as T, openBlock as t, createBlock as u, unref as s, normalizeProps as P, guardReactiveProps as R, withCtx as c, createElementBlock as m, Fragment as p, renderList as i, mergeProps as l, resolveDynamicComponent as f, h as y, createCommentVNode as B } from "vue";
|
|
2
|
-
import { Space as x } from "
|
|
2
|
+
import { Space as x } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/ap-button.vue2.mjs";
|
|
4
4
|
import "../../ap-button/ap-action-button.vue2.mjs";
|
|
5
5
|
import "../ap-batch-action-group/ApBatchActionGroup.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SpaceProps } from '
|
|
1
|
+
import { SpaceProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { ApButtonProps } from '../../ap-button';
|
|
3
3
|
import { ApBatchActionGroupProps } from '../ap-batch-action-group/interface';
|
|
4
4
|
import { ApExportGroupProps } from '../ap-export-group/interface';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as W, computed as f, ref as h, watch as T, nextTick as w, openBlock as a, createElementBlock as n, normalizeClass as s, unref as t, createVNode as x, withCtx as m, createBlock as g, createElementVNode as b, toDisplayString as p, createCommentVNode as A, normalizeStyle as c, renderSlot as N, resolveDynamicComponent as I, Fragment as C, renderList as j, createTextVNode as q } from "vue";
|
|
2
2
|
import { DownOutlined as J } from "@ant-design/icons-vue";
|
|
3
|
-
import { Alert as K, Tooltip as P } from "
|
|
3
|
+
import { Alert as K, Tooltip as P } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApActionItem as Q } from "../../ap-action/index.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
6
|
import "./style.css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as M, computed as r, ref as P, openBlock as m, createBlock as f, unref as t, normalizeClass as D, withCtx as n, createVNode as y, createTextVNode as x, toDisplayString as p, normalizeStyle as K, createCommentVNode as R } from "vue";
|
|
2
2
|
import { DownOutlined as B } from "@ant-design/icons-vue";
|
|
3
|
-
import { Dropdown as N, Menu as T, MenuItem as _, Button as I } from "
|
|
3
|
+
import { Dropdown as N, Menu as T, MenuItem as _, Button as I } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { ApExportGroupActionType as u } from "./interface.mjs";
|
|
6
6
|
import { usePermission as V } from "@aplus-frontend/hooks";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { formatFileNameAndDownloadFile as n } from "@aplus-frontend/utils";
|
|
2
|
-
import { Modal as r } from "
|
|
2
|
+
import { Modal as r } from "@aplus-frontend/antdv";
|
|
3
3
|
async function i(t) {
|
|
4
4
|
const o = await (t == null ? void 0 : t());
|
|
5
5
|
Object.prototype.toString.call(o == null ? void 0 : o.data) === "[object Blob]" && n(o).catch((a) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, computed as s, ref as k, watchEffect as A, openBlock as O, createBlock as h, unref as l, normalizeProps as _, guardReactiveProps as w } from "vue";
|
|
2
|
-
import { Image as U } from "
|
|
2
|
+
import { Image as U } from "@aplus-frontend/antdv";
|
|
3
3
|
import { injectLocaleToOss as y, getOssInstance as B, getSignatureUrl as C } from "./hooks/useOss.mjs";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import F from "./imgs/admin-fallback.jpg.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, onMounted as g, openBlock as R, createElementBlock as V, normalizeClass as b, unref as t, createVNode as i, mergeProps as h } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { Form as I, InputNumber as B, RadioGroup as k } from "
|
|
3
|
+
import { Form as I, InputNumber as B, RadioGroup as k } from "@aplus-frontend/antdv";
|
|
4
4
|
import { omit as _ } from "lodash-unified";
|
|
5
5
|
import "./style.css";
|
|
6
6
|
import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputNumberProps } from '
|
|
1
|
+
import { InputNumberProps } from '@aplus-frontend/antdv/es/input-number';
|
|
2
2
|
type ApInputProps = Pick<InputNumberProps, 'disabled' | 'stringMode' | 'precision' | 'max' | 'min' | 'step' | 'bordered' | 'autofocus' | 'decimalSeparator' | 'controls' | 'formatter' | 'onInput' | 'onChange' | 'onPressEnter' | 'onStep' | 'onBlur' | 'onFocus'>;
|
|
3
3
|
export type ApInputValType = {
|
|
4
4
|
value?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VNode, DefineComponent, PropType, CSSProperties, ComponentOptionsMixin, PublicProps, ExtractPropTypes, RendererNode, RendererElement } from 'vue';
|
|
2
|
-
import { TooltipPlacement } from '
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
3
3
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { LiteralUnion } from '
|
|
4
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
5
5
|
declare const _default: DefineComponent<{
|
|
6
6
|
helpMessage: {
|
|
7
7
|
type: PropType<VNode | string | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, useSlots as r, computed as m, createVNode as e, mergeProps as d } from "vue";
|
|
2
|
-
import { Tooltip as p, Badge as f } from "
|
|
2
|
+
import { Tooltip as p, Badge as f } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApAdLineAnnotation as A, IconApAdFillWarn as y, IconApAdFillExecution as v, IconApAdFillSuccessful as b } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { ApLabelProps as g } from "./constans.mjs";
|
|
@@ -3,7 +3,7 @@ import "../../config-provider/index.mjs";
|
|
|
3
3
|
import f from "./ApLabel.mjs";
|
|
4
4
|
import { omit as t } from "lodash-unified";
|
|
5
5
|
import { ApLabelGroupProps as s } from "./constans.mjs";
|
|
6
|
-
import { Tag as c } from "
|
|
6
|
+
import { Tag as c } from "@aplus-frontend/antdv";
|
|
7
7
|
import { useNamespace as g } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
const {
|
|
9
9
|
b: p
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropType, VNode, CSSProperties } from 'vue';
|
|
2
2
|
import { ApLabelGroupItemProps } from './interface';
|
|
3
|
-
import { TooltipPlacement } from '
|
|
3
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/Tooltip';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
-
import { LiteralUnion } from '
|
|
5
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
export declare const ApLabelGroupProps: () => {
|
|
7
7
|
value: {
|
|
8
8
|
type: PropType<string | number | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BadgeProps } from '
|
|
2
|
-
import { TooltipPlacement } from '
|
|
3
|
-
import { TagProps } from '
|
|
1
|
+
import { BadgeProps } from '@aplus-frontend/antdv';
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/Tooltip';
|
|
3
|
+
import { TagProps } from '@aplus-frontend/antdv/es/Tag';
|
|
4
4
|
import { VNode, VNodeChild } from 'vue';
|
|
5
5
|
type Recordable = Record<string, any>;
|
|
6
6
|
export type ApLabelProps = BadgeProps & Partial<{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ApLadderProps, ApLadderSlots, ApLadderLabelValue } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties } from 'vue';
|
|
3
3
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { TriggerType } from '
|
|
5
|
-
import { TooltipPlacement, AdjustOverflow } from '
|
|
6
|
-
import { LiteralUnion } from '
|
|
7
|
-
import { PresetColorType } from '
|
|
8
|
-
import { AlignType, BuildInPlacements } from '
|
|
4
|
+
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
5
|
+
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
6
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
7
|
+
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
8
|
+
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
10
|
slots: Readonly<ApLadderSlots> & ApLadderSlots;
|
|
11
11
|
refs: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as q, useSlots as H, ref as R, computed as h, unref as l, onMounted as J, openBlock as t, createElementBlock as r, normalizeClass as u, createBlock as $, normalizeProps as w, mergeProps as E, createSlots as M, withCtx as b, Fragment as y, createElementVNode as p, normalizeStyle as m, toDisplayString as i, renderSlot as N, createCommentVNode as f, renderList as z, createTextVNode as K } from "vue";
|
|
2
|
-
import { Tooltip as O } from "
|
|
2
|
+
import { Tooltip as O } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { locales as Q } from "./interface.mjs";
|
|
5
5
|
import "./style.css";
|