@aplus-frontend/ui 0.1.43 → 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/hooks/use-default-placeholder.mjs +14 -14
- 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 +103 -108
- 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 +196 -220
- 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 +168 -176
- package/es/src/ap-table/utils.mjs +69 -80
- 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 +29 -34
- 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/locale/lang/en.mjs +4 -0
- package/es/src/locale/lang/zh-cn.mjs +4 -0
- 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/hooks/use-default-placeholder.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 +196 -220
- 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 +168 -176
- 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/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.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
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { isVNode as b, createVNode as s, mergeProps as a, cloneVNode as
|
|
2
|
-
import { isObject as f, isArray as p, isUndefined as h, isFunction as d, omit as j, isBoolean as
|
|
3
|
-
import { apTableRenderItemMap as
|
|
4
|
-
import { isType as
|
|
1
|
+
import { isVNode as b, createVNode as s, mergeProps as a, cloneVNode as T, Fragment as g } from "vue";
|
|
2
|
+
import { isObject as f, isArray as p, isUndefined as h, isFunction as d, omit as j, isBoolean as O, isString as E } from "lodash-unified";
|
|
3
|
+
import { apTableRenderItemMap as F, apTableFormItemMap as N } from "./constants.mjs";
|
|
4
|
+
import { isType as S } from "@fruits-chain/utils";
|
|
5
5
|
import "../ap-form/index.mjs";
|
|
6
|
-
import { Tooltip as
|
|
6
|
+
import { Tooltip as v } from "@aplus-frontend/antdv";
|
|
7
7
|
import { QuestionCircleOutlined as I } from "@ant-design/icons-vue";
|
|
8
|
-
import
|
|
9
|
-
function
|
|
8
|
+
import V from "../ap-form/ap-form-item.vue.mjs";
|
|
9
|
+
function w(t) {
|
|
10
10
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !b(t);
|
|
11
11
|
}
|
|
12
|
-
const
|
|
13
|
-
let
|
|
12
|
+
const C = (t, e, n) => {
|
|
13
|
+
let i = {};
|
|
14
14
|
return f(t) ? Object.keys(t).forEach((o) => {
|
|
15
|
-
f(t[o]) ?
|
|
16
|
-
}) :
|
|
15
|
+
f(t[o]) ? i[o] = C(t[o], e[o], n) : i[o] = n(t[o], e);
|
|
16
|
+
}) : i = n(t, e), i;
|
|
17
17
|
}, Q = (t, e) => {
|
|
18
18
|
switch (t) {
|
|
19
19
|
case "dayjs":
|
|
@@ -21,8 +21,8 @@ const V = (t, e, n) => {
|
|
|
21
21
|
case "dayjsRange":
|
|
22
22
|
return e.map((n) => n.valueOf());
|
|
23
23
|
case "dayjsDayRange": {
|
|
24
|
-
const [n,
|
|
25
|
-
return [n.startOf("day").valueOf(),
|
|
24
|
+
const [n, i] = e;
|
|
25
|
+
return [n.startOf("day").valueOf(), i.endOf("day").valueOf()];
|
|
26
26
|
}
|
|
27
27
|
case "multiple":
|
|
28
28
|
case "multipleNumber":
|
|
@@ -38,110 +38,100 @@ const V = (t, e, n) => {
|
|
|
38
38
|
function U(t) {
|
|
39
39
|
return p(t) ? t.join(".") : t;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function P(t) {
|
|
42
42
|
const e = Object.prototype.toString.call(t).match(/^\[object (.*)\]$/)[1].toLowerCase();
|
|
43
43
|
return e === "string" && typeof t == "object" ? "object" : t === null ? "null" : t === void 0 ? "undefined" : e;
|
|
44
44
|
}
|
|
45
|
-
const
|
|
46
|
-
const e = [], n =
|
|
47
|
-
return n.forEach((
|
|
48
|
-
const
|
|
49
|
-
if (
|
|
50
|
-
if (typeof
|
|
45
|
+
const x = (t) => P(t) === "map" ? t : new Map(Object.entries(t || {})), m = (t) => {
|
|
46
|
+
const e = [], n = x(t);
|
|
47
|
+
return n.forEach((i, o) => {
|
|
48
|
+
const r = n.get(o) || n.get(`${o}`);
|
|
49
|
+
if (r) {
|
|
50
|
+
if (typeof r == "object" && (r != null && r.text)) {
|
|
51
51
|
e.push({
|
|
52
|
-
text:
|
|
52
|
+
text: r == null ? void 0 : r.text,
|
|
53
53
|
value: o,
|
|
54
|
-
label:
|
|
55
|
-
disabled:
|
|
54
|
+
label: r == null ? void 0 : r.text,
|
|
55
|
+
disabled: r.disabled
|
|
56
56
|
});
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
59
|
e.push({
|
|
60
|
-
text:
|
|
61
|
-
label:
|
|
60
|
+
text: r,
|
|
61
|
+
label: r,
|
|
62
62
|
value: o
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
}), e;
|
|
66
|
-
}, z = (t) => h(t) || t < 0 ? 0 : t
|
|
67
|
-
|
|
68
|
-
return n;
|
|
69
|
-
const r = ["select", "date"], o = ["text", "textArea", "number"];
|
|
70
|
-
if (e === "dateRange")
|
|
71
|
-
return [t("ap.common.chooseText"), t("ap.common.chooseText")];
|
|
72
|
-
if (r.includes(e))
|
|
73
|
-
return t("ap.common.chooseText");
|
|
74
|
-
if (o.includes(e))
|
|
75
|
-
return t("ap.common.inputText");
|
|
76
|
-
};
|
|
77
|
-
function C(t, e) {
|
|
66
|
+
}, z = (t) => h(t) || t < 0 ? 0 : t;
|
|
67
|
+
function A(t, e) {
|
|
78
68
|
return !t || !d(t) ? t : t(e);
|
|
79
69
|
}
|
|
80
|
-
function
|
|
70
|
+
function G(t) {
|
|
81
71
|
let e = t.valueType || "text";
|
|
82
72
|
return t.valueEnum && (e = "status"), e;
|
|
83
73
|
}
|
|
84
|
-
function
|
|
74
|
+
function K(t, e, n, i) {
|
|
85
75
|
var u;
|
|
86
|
-
const o =
|
|
76
|
+
const o = F[t];
|
|
87
77
|
if (o)
|
|
88
78
|
return s(o, a(e, {
|
|
89
79
|
mode: "read"
|
|
90
80
|
}), null);
|
|
91
|
-
const
|
|
92
|
-
return ((u =
|
|
81
|
+
const r = i == null ? void 0 : i[t];
|
|
82
|
+
return ((u = r == null ? void 0 : r.render) == null ? void 0 : u.call(r, e.value, n, e)) || e.value;
|
|
93
83
|
}
|
|
94
|
-
function
|
|
84
|
+
function X(t, e) {
|
|
95
85
|
if (t.customRenderFormItem)
|
|
96
86
|
return () => {
|
|
97
87
|
const o = t.customRenderFormItem(t);
|
|
98
|
-
return
|
|
88
|
+
return T(o, {
|
|
99
89
|
...t.fieldProps,
|
|
100
90
|
span: t.span,
|
|
101
91
|
...o.props || {}
|
|
102
92
|
});
|
|
103
93
|
};
|
|
104
|
-
const n =
|
|
94
|
+
const n = N[t.valueType];
|
|
105
95
|
if (n)
|
|
106
96
|
return n;
|
|
107
|
-
const
|
|
97
|
+
const i = e == null ? void 0 : e[t.valueType];
|
|
108
98
|
return () => {
|
|
109
|
-
var
|
|
110
|
-
const o = (
|
|
111
|
-
return o ? s(
|
|
99
|
+
var r;
|
|
100
|
+
const o = (r = i == null ? void 0 : i.renderFormItem) == null ? void 0 : r.call(i, t.fieldProps.field);
|
|
101
|
+
return o ? s(V, a(t.fieldProps, {
|
|
112
102
|
span: t.span
|
|
113
|
-
}),
|
|
103
|
+
}), w(o) ? o : {
|
|
114
104
|
default: () => [o]
|
|
115
105
|
}) : null;
|
|
116
106
|
};
|
|
117
107
|
}
|
|
118
|
-
function
|
|
119
|
-
const n =
|
|
108
|
+
function Y(t, e) {
|
|
109
|
+
const n = A(t.fieldProps, e), i = (n == null ? void 0 : n.field) || n || {}, o = t.valueType === "switch", r = t.valueType === "index", u = o ? {
|
|
120
110
|
checked: e.value
|
|
121
111
|
} : {
|
|
122
|
-
value:
|
|
112
|
+
value: r ? e.index + 1 : e.value
|
|
123
113
|
};
|
|
124
|
-
return t.valueEnum && (
|
|
125
|
-
...j(
|
|
114
|
+
return t.valueEnum && (i.valueEnum = t.valueEnum), {
|
|
115
|
+
...j(i, ["request"]),
|
|
126
116
|
...u
|
|
127
117
|
};
|
|
128
118
|
}
|
|
129
|
-
function
|
|
119
|
+
function Z(t) {
|
|
130
120
|
const e = {
|
|
131
121
|
...t
|
|
132
122
|
};
|
|
133
|
-
return
|
|
123
|
+
return O(t.filters) && t.filters && t.valueEnum && (e.filters = m(t.valueEnum)), e;
|
|
134
124
|
}
|
|
135
|
-
function
|
|
136
|
-
var
|
|
125
|
+
function k(t, e) {
|
|
126
|
+
var i;
|
|
137
127
|
const n = e || {};
|
|
138
|
-
return t.valueEnum && !((
|
|
128
|
+
return t.valueEnum && !((i = n.field) != null && i.options) && (n.field = {
|
|
139
129
|
...n.field,
|
|
140
130
|
options: m(t.valueEnum)
|
|
141
131
|
}), n;
|
|
142
132
|
}
|
|
143
|
-
function
|
|
144
|
-
if (!
|
|
133
|
+
function H(t) {
|
|
134
|
+
if (!S("Object")(t))
|
|
145
135
|
return t;
|
|
146
136
|
try {
|
|
147
137
|
return JSON.stringify(t);
|
|
@@ -149,14 +139,14 @@ function M(t) {
|
|
|
149
139
|
return t;
|
|
150
140
|
}
|
|
151
141
|
}
|
|
152
|
-
function
|
|
142
|
+
function M(t, e, n, i) {
|
|
153
143
|
const o = n == null ? void 0 : n({
|
|
154
144
|
title: t.title,
|
|
155
145
|
column: t
|
|
156
|
-
}),
|
|
157
|
-
if (o &&
|
|
146
|
+
}), r = (o == null ? void 0 : o.filter((y) => y.type !== Symbol.for("v-cmt"))) || [];
|
|
147
|
+
if (o && r.length > 0)
|
|
158
148
|
return o;
|
|
159
|
-
const l =
|
|
149
|
+
const l = E(t.title) ? s("span", {
|
|
160
150
|
class: e,
|
|
161
151
|
title: t.title
|
|
162
152
|
}, [t.title]) : t.title, c = t.tooltip ? d(t.tooltip) ? t.tooltip(t) : s(g, null, [t.tooltip]) : null;
|
|
@@ -166,34 +156,33 @@ function tt(t, e, n, r) {
|
|
|
166
156
|
alignItems: "center",
|
|
167
157
|
maxWidth: "100%"
|
|
168
158
|
}
|
|
169
|
-
}, [l, s(
|
|
159
|
+
}, [l, s(v, {
|
|
170
160
|
title: c,
|
|
171
161
|
placement: "bottom"
|
|
172
162
|
}, {
|
|
173
163
|
default: () => [s(I, {
|
|
174
164
|
style: {
|
|
175
165
|
padding: "4px",
|
|
176
|
-
color:
|
|
166
|
+
color: i,
|
|
177
167
|
verticalAlign: "middle"
|
|
178
168
|
}
|
|
179
169
|
}, null)]
|
|
180
170
|
})]) : l;
|
|
181
171
|
}
|
|
182
172
|
export {
|
|
183
|
-
|
|
173
|
+
Z as apColumnToColumn,
|
|
184
174
|
U as dataIndexToStr,
|
|
185
|
-
|
|
175
|
+
C as formatParamsValueType,
|
|
186
176
|
z as getColumnOrder,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
M as objectToString,
|
|
177
|
+
A as getFieldProps,
|
|
178
|
+
X as getSearchFormItemRenderNode,
|
|
179
|
+
K as getTableCellRenderNode,
|
|
180
|
+
Y as getTableRenderProps,
|
|
181
|
+
G as getTableRenderType,
|
|
182
|
+
M as getTableTitle,
|
|
183
|
+
x as objectToMap,
|
|
184
|
+
H as objectToString,
|
|
196
185
|
Q as parseFieldValue,
|
|
197
|
-
|
|
186
|
+
k as updateFormProps,
|
|
198
187
|
m as valueEnumToArray
|
|
199
188
|
};
|
|
@@ -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";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as M, ref as r, computed as O, onMounted as U, openBloc
|
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { Tooltip as V, TypographyText as J } from "
|
|
5
|
+
import { Tooltip as V, TypographyText as J } from "@aplus-frontend/antdv";
|
|
6
6
|
import { debounce as K } from "lodash-unified";
|
|
7
7
|
import "./index.css";
|
|
8
8
|
import { useNamespace as P } from "../../config-provider/hooks/use-namespace.mjs";
|