@aplus-frontend/ui 0.2.0-beta.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.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-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 +5 -5
- 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.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/drawer-form/index.vue.d.ts +6 -6
- package/es/src/ap-form/drawer-form/index.vue.mjs +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/item/index.vue.d.ts +4 -4
- package/es/src/ap-form/item/index.vue.mjs +2 -2
- package/es/src/ap-form/item-group/index.vue.d.ts +2 -2
- package/es/src/ap-form/item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/date/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/interface.d.ts +1 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/radio/index.vue.d.ts +4 -4
- package/es/src/ap-form/items/select/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/switch/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/text/group.vue2.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +4 -4
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- 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-info-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 +104 -109
- 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 +220 -220
- 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 +203 -240
- 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.d.ts +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +1 -1
- package/es/src/ap-upload/apUploadTypes.d.ts +18 -0
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +56 -58
- package/es/src/ap-upload/components/Picture.vue.d.ts +41 -1
- package/es/src/ap-upload/components/Picture.vue2.mjs +103 -82
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +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/index.d.ts +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/index.d.ts +8 -8
- 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/index.d.ts +5 -5
- 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/index.d.ts +2 -2
- 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/constans.d.ts +2 -2
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +1 -1
- package/es/src/business/ap-label/index.d.ts +2 -2
- 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/index.d.ts +5 -5
- 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-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +16 -16
- 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/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/constants.d.ts +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/design-token/index.d.ts +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 +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 +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/locale/lang/en.mjs +4 -0
- package/es/src/locale/lang/zh-cn.mjs +4 -0
- package/es/src/utils/config-provider-preset.d.ts +10 -10
- 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-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 +5 -5
- 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.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/drawer-form/index.vue.d.ts +6 -6
- package/lib/src/ap-form/drawer-form/index.vue.js +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/item/index.vue.d.ts +4 -4
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.d.ts +2 -2
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/interface.d.ts +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/radio/index.vue.d.ts +4 -4
- package/lib/src/ap-form/items/select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/text/group.vue2.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +4 -4
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- 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-info-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 +220 -220
- 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 +203 -240
- 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.d.ts +2 -2
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/apUploadTypes.d.ts +18 -0
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +41 -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/business/ap-attachment/ApAttachment.d.ts +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.d.ts +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/index.d.ts +8 -8
- 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/index.d.ts +5 -5
- 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/index.d.ts +2 -2
- 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/constans.d.ts +2 -2
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +2 -2
- 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/index.d.ts +5 -5
- 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-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.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/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/constants.d.ts +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/design-token/index.d.ts +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/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +10 -10
- 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,30 +1,31 @@
|
|
|
1
|
-
import { defineComponent as K, inject as u, ref as R, watch as Q, nextTick as W, openBlock as h, createElementBlock as g, normalizeClass as X, unref as i, createElementVNode as d,
|
|
1
|
+
import { defineComponent as K, inject as u, ref as R, watch as Q, nextTick as W, openBlock as h, createElementBlock as g, normalizeClass as X, unref as i, createElementVNode as d, renderSlot as Y, Fragment as Z, renderList as F, withDirectives as ee, createVNode as k, createCommentVNode as $, vShow as te, toDisplayString as C } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { getPath as
|
|
4
|
-
import { CloseOutlined as
|
|
5
|
-
import { useOss as
|
|
6
|
-
import { fileMatchesAccept as
|
|
7
|
-
import { message as m, Progress as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
3
|
+
import { getPath as ne, getName as ae, getReturnData as T } from "../utils/returnData.mjs";
|
|
4
|
+
import { CloseOutlined as se, PlusOutlined as oe } from "@ant-design/icons-vue";
|
|
5
|
+
import { useOss as ie, getOssInstance as D } from "../hooks/useOss.mjs";
|
|
6
|
+
import { fileMatchesAccept as ce, getAcceptText as ue } from "../utils/accept.mjs";
|
|
7
|
+
import { message as m, Progress as re } from "@aplus-frontend/antdv";
|
|
8
|
+
import { omit as le } from "lodash-unified";
|
|
9
|
+
import { useLocale as pe } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
|
+
import { useNamespace as de } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
|
+
const me = ["accept"], fe = { class: "picture-context" }, he = { class: "picture-item-box" }, ge = ["src"], ve = { class: "picture-item-shadow" }, xe = ["onClick"], _e = {
|
|
11
12
|
key: 0,
|
|
12
13
|
class: "picture-item-uploading"
|
|
13
|
-
},
|
|
14
|
+
}, ye = { class: "picture-title" }, we = { key: 0 }, ke = { key: 1 }, Te = /* @__PURE__ */ K({
|
|
14
15
|
__name: "Picture",
|
|
15
|
-
setup(
|
|
16
|
-
const { t: r } =
|
|
16
|
+
setup(Ce, { expose: E }) {
|
|
17
|
+
const { t: r } = pe(), { b: U } = de("ap-upload-picture"), { put: O } = ie(), B = u("theme"), L = u("dirName"), y = u("accept") || "image/*", w = u("maxSize") ?? 5, A = u("title"), l = u("maxCount") ?? 10, v = u("uploadingCount"), N = u("beforeUpload"), P = u("customRequest"), S = u("getOssAccess"), x = R(null), c = u("value"), _ = u("needName");
|
|
17
18
|
let s = R([]);
|
|
18
19
|
const f = [];
|
|
19
20
|
Q(
|
|
20
21
|
() => c == null ? void 0 : c.value,
|
|
21
22
|
async function(e) {
|
|
22
23
|
var a;
|
|
23
|
-
!((a = s == null ? void 0 : s.value) != null && a.length) && e &&
|
|
24
|
+
!((a = s == null ? void 0 : s.value) != null && a.length) && e && b(e);
|
|
24
25
|
},
|
|
25
26
|
{ immediate: !0 }
|
|
26
27
|
);
|
|
27
|
-
function
|
|
28
|
+
function b(e) {
|
|
28
29
|
if (!e) {
|
|
29
30
|
c.value = void 0, f.splice(0, f.length), s.value = [];
|
|
30
31
|
return;
|
|
@@ -32,7 +33,8 @@ const pe = ["accept"], de = { class: "picture-context" }, me = { class: "picture
|
|
|
32
33
|
W(async () => {
|
|
33
34
|
const a = [];
|
|
34
35
|
for (let t of e) {
|
|
35
|
-
const n =
|
|
36
|
+
const n = ne(_, t), o = ae(_, t), p = await D(S), H = await p.getSignatureUrl(n), J = {
|
|
37
|
+
...typeof t == "string" ? {} : t,
|
|
36
38
|
...new File([t], o, {}),
|
|
37
39
|
uid: `${(/* @__PURE__ */ new Date()).getTime()}-${Math.random()}`,
|
|
38
40
|
thumbUrl: H,
|
|
@@ -58,38 +60,38 @@ const pe = ["accept"], de = { class: "picture-context" }, me = { class: "picture
|
|
|
58
60
|
}), c.value = e;
|
|
59
61
|
});
|
|
60
62
|
}
|
|
61
|
-
|
|
63
|
+
E({ setValue: b });
|
|
62
64
|
function q() {
|
|
63
65
|
var e;
|
|
64
|
-
(e =
|
|
66
|
+
(e = x.value) == null || e.click();
|
|
65
67
|
}
|
|
66
|
-
function
|
|
68
|
+
function M(e) {
|
|
67
69
|
const a = e.target;
|
|
68
|
-
|
|
70
|
+
V(a == null ? void 0 : a.files);
|
|
69
71
|
}
|
|
70
|
-
function
|
|
72
|
+
function V(e) {
|
|
71
73
|
if (e != null && e.length)
|
|
72
74
|
for (let a = 0; a < e.length; a++)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
j(e[a]);
|
|
76
|
+
x.value && (x.value.value = "");
|
|
75
77
|
}
|
|
76
|
-
let
|
|
77
|
-
function
|
|
78
|
+
let z;
|
|
79
|
+
function j(e) {
|
|
78
80
|
if (l && l > 1 && s.value.length >= l)
|
|
79
|
-
return clearTimeout(
|
|
81
|
+
return clearTimeout(z), z = setTimeout(() => {
|
|
80
82
|
m.warning(
|
|
81
83
|
r("ap.apUpload.maxUploadPicture", { maxCount: l })
|
|
82
84
|
);
|
|
83
85
|
}), !1;
|
|
84
|
-
if (typeof
|
|
85
|
-
if (
|
|
86
|
+
if (typeof N == "function") {
|
|
87
|
+
if (N(e) === !1)
|
|
86
88
|
return !1;
|
|
87
89
|
} else {
|
|
88
|
-
if (e.size >
|
|
90
|
+
if (e.size > w * 1024 * 1024)
|
|
89
91
|
return m.warning(
|
|
90
|
-
r("ap.apUpload.maxUploadFileSize", { maxSize:
|
|
92
|
+
r("ap.apUpload.maxUploadFileSize", { maxSize: w })
|
|
91
93
|
), !1;
|
|
92
|
-
if (!/image\/\w+/.test(e.type) || !
|
|
94
|
+
if (!/image\/\w+/.test(e.type) || !ce(e, y))
|
|
93
95
|
return m.warning(r("ap.apUpload.pictureFormatNotSupported")), !1;
|
|
94
96
|
}
|
|
95
97
|
const a = new FileReader();
|
|
@@ -101,14 +103,14 @@ const pe = ["accept"], de = { class: "picture-context" }, me = { class: "picture
|
|
|
101
103
|
status: "uploading",
|
|
102
104
|
percent: 0
|
|
103
105
|
};
|
|
104
|
-
|
|
106
|
+
G(t, e);
|
|
105
107
|
}, a.onerror = function() {
|
|
106
108
|
m.warning(r("ap.apUpload.imageParsingFailed"));
|
|
107
109
|
};
|
|
108
110
|
}
|
|
109
|
-
async function
|
|
110
|
-
if (v.value++, typeof
|
|
111
|
-
|
|
111
|
+
async function G(e, a) {
|
|
112
|
+
if (v.value++, typeof P == "function") {
|
|
113
|
+
P({
|
|
112
114
|
onProgress: (t) => {
|
|
113
115
|
const n = s.value.find((o) => o.uid === e.uid);
|
|
114
116
|
n && (n.percent = t);
|
|
@@ -122,7 +124,10 @@ const pe = ["accept"], de = { class: "picture-context" }, me = { class: "picture
|
|
|
122
124
|
},
|
|
123
125
|
onSuccess: (t) => {
|
|
124
126
|
const n = s.value.find((o) => o.uid === e.uid);
|
|
125
|
-
n && (n.status = "success", n.path = t), c.value
|
|
127
|
+
n && (n.status = "success", n.path = t), c.value = [
|
|
128
|
+
...c.value || [],
|
|
129
|
+
T(_, t, a.name)
|
|
130
|
+
], f.push({
|
|
126
131
|
uid: e.uid,
|
|
127
132
|
path: t
|
|
128
133
|
}), v.value--;
|
|
@@ -132,14 +137,17 @@ const pe = ["accept"], de = { class: "picture-context" }, me = { class: "picture
|
|
|
132
137
|
return;
|
|
133
138
|
}
|
|
134
139
|
try {
|
|
135
|
-
const t = await
|
|
136
|
-
e.oss = t, s.value.push(e),
|
|
140
|
+
const t = await D(S);
|
|
141
|
+
e.oss = t, s.value.push(e), O({
|
|
137
142
|
file: a,
|
|
138
|
-
dirName:
|
|
143
|
+
dirName: L,
|
|
139
144
|
oss: t,
|
|
140
145
|
successCallBack(n) {
|
|
141
146
|
const o = s.value.find((p) => p.uid === e.uid);
|
|
142
|
-
o && (o.status = "success", o.path = n), c.value
|
|
147
|
+
o && (o.status = "success", o.path = n), c.value = [
|
|
148
|
+
...c.value || [],
|
|
149
|
+
T(_, n, a.name)
|
|
150
|
+
], f.push({
|
|
143
151
|
uid: e.uid,
|
|
144
152
|
path: n
|
|
145
153
|
}), v.value--;
|
|
@@ -164,7 +172,7 @@ const pe = ["accept"], de = { class: "picture-context" }, me = { class: "picture
|
|
|
164
172
|
n > -1 && s.value.splice(n, 1), v.value--;
|
|
165
173
|
}
|
|
166
174
|
}
|
|
167
|
-
function
|
|
175
|
+
function I(e) {
|
|
168
176
|
var t;
|
|
169
177
|
if (e.path) {
|
|
170
178
|
if (Array.isArray(c.value)) {
|
|
@@ -182,67 +190,80 @@ const pe = ["accept"], de = { class: "picture-context" }, me = { class: "picture
|
|
|
182
190
|
}
|
|
183
191
|
return (e, a) => (h(), g("div", {
|
|
184
192
|
class: X({
|
|
185
|
-
[i(
|
|
186
|
-
[i(
|
|
193
|
+
[i(U)()]: !0,
|
|
194
|
+
[i(U)("admin")]: i(B) === "admin"
|
|
187
195
|
})
|
|
188
196
|
}, [
|
|
189
197
|
d("input", {
|
|
190
198
|
style: { display: "none" },
|
|
191
199
|
type: "file",
|
|
192
200
|
ref_key: "fileRef",
|
|
193
|
-
ref:
|
|
194
|
-
accept: i(
|
|
195
|
-
onChange:
|
|
196
|
-
}, null, 40,
|
|
197
|
-
d("div",
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
201
|
+
ref: x,
|
|
202
|
+
accept: i(y),
|
|
203
|
+
onChange: M
|
|
204
|
+
}, null, 40, me),
|
|
205
|
+
d("div", fe, [
|
|
206
|
+
Y(e.$slots, "pictureContext", {
|
|
207
|
+
fileList: i(s).map((t) => {
|
|
208
|
+
var n;
|
|
209
|
+
return {
|
|
210
|
+
...i(le)(t, "oss"),
|
|
211
|
+
oss: {
|
|
212
|
+
pauseUpload: (n = t == null ? void 0 : t.oss) == null ? void 0 : n.pauseUpload
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
}),
|
|
216
|
+
remove: I
|
|
217
|
+
}, () => [
|
|
218
|
+
(h(!0), g(Z, null, F(i(s), (t) => (h(), g("div", {
|
|
219
|
+
key: t.uid,
|
|
220
|
+
class: "picture-item"
|
|
221
|
+
}, [
|
|
222
|
+
d("div", he, [
|
|
223
|
+
d("img", {
|
|
224
|
+
src: t.thumbUrl,
|
|
225
|
+
alt: ""
|
|
226
|
+
}, null, 8, ge),
|
|
227
|
+
ee(d("div", ve, [
|
|
228
|
+
d("div", {
|
|
229
|
+
class: "picture-item-close",
|
|
230
|
+
onClick: (n) => I(t)
|
|
231
|
+
}, [
|
|
232
|
+
k(i(se))
|
|
233
|
+
], 8, xe),
|
|
234
|
+
t.status === "uploading" ? (h(), g("div", _e, [
|
|
235
|
+
k(i(re), {
|
|
236
|
+
percent: t.percent,
|
|
237
|
+
strokeColor: "#ffffff",
|
|
238
|
+
trailColor: "rgba(255, 255, 255, 0.3)",
|
|
239
|
+
size: 4,
|
|
240
|
+
showInfo: !1
|
|
241
|
+
}, null, 8, ["percent"])
|
|
242
|
+
])) : $("", !0)
|
|
243
|
+
], 512), [
|
|
244
|
+
[te, t.status === "uploading"]
|
|
245
|
+
])
|
|
225
246
|
])
|
|
226
|
-
])
|
|
227
|
-
])
|
|
247
|
+
]))), 128))
|
|
248
|
+
]),
|
|
228
249
|
i(l) === void 0 || i(s).length < i(l) ? (h(), g("div", {
|
|
229
250
|
key: 0,
|
|
230
251
|
class: "picture-upload",
|
|
231
252
|
onClick: q
|
|
232
253
|
}, [
|
|
233
|
-
|
|
234
|
-
d("div", null,
|
|
254
|
+
k(i(oe)),
|
|
255
|
+
d("div", null, C(i(r)("ap.apUpload.update")), 1)
|
|
235
256
|
])) : $("", !0)
|
|
236
257
|
]),
|
|
237
|
-
d("div",
|
|
238
|
-
i(
|
|
258
|
+
d("div", ye, [
|
|
259
|
+
i(A) ? (h(), g("div", we, C(i(A)), 1)) : (h(), g("div", ke, C(`${i(r)("ap.apUpload.supportExtension")}:${i(ue)(i(y))},${i(r)(
|
|
239
260
|
"ap.apUpload.maxUploadPictureSize",
|
|
240
|
-
{ maxSize: i(
|
|
261
|
+
{ maxSize: i(w) }
|
|
241
262
|
)}`), 1))
|
|
242
263
|
])
|
|
243
264
|
], 2));
|
|
244
265
|
}
|
|
245
266
|
});
|
|
246
267
|
export {
|
|
247
|
-
|
|
268
|
+
Te as default
|
|
248
269
|
};
|
|
@@ -3,7 +3,7 @@ import "../../config-provider/index.mjs";
|
|
|
3
3
|
import { getName as ce, getReturnData as q } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as ue, useOssInit as pe } from "../hooks/useOss.mjs";
|
|
5
5
|
import { fileMatchesAccept as ve, getAcceptText as de } from "../utils/accept.mjs";
|
|
6
|
-
import { message as u, Progress as fe } from "
|
|
6
|
+
import { message as u, Progress as fe } from "@aplus-frontend/antdv";
|
|
7
7
|
import { DeleteOutlined as me } from "@ant-design/icons-vue";
|
|
8
8
|
import M from "../assets/single-file-icon.png.mjs";
|
|
9
9
|
import { useLocale as ge } from "../../config-provider/hooks/use-locale.mjs";
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
2
|
import { AttachmentItemProps, ApAttachmentProps } from './interface';
|
|
3
|
-
import { TooltipPlacement } from '
|
|
3
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
declare const ApAttachment: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
@@ -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,5 +1,5 @@
|
|
|
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
|
-
import { Button as v } from "
|
|
2
|
+
import { Button as v } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as y } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
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,13 +1,13 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { ButtonType, ButtonShape, ButtonSize } from '
|
|
3
|
-
import { ButtonHTMLType } from '
|
|
2
|
+
import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
3
|
+
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
-
import { MouseEventHandler, FocusEventHandler } from '
|
|
6
|
-
import { ButtonProps, ItemType, MenuTheme, MenuMode } from '
|
|
7
|
-
import { DropdownArrowOptions, Trigger, Align } from '
|
|
8
|
-
import { Key } from '
|
|
9
|
-
import { CSSMotionProps } from '
|
|
10
|
-
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '
|
|
5
|
+
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
+
import { ButtonProps, ItemType, MenuTheme, MenuMode } from '@aplus-frontend/antdv';
|
|
7
|
+
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
8
|
+
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
|
+
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
|
+
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
11
11
|
import { ApBatchActionGroupMenuProps } from './interface';
|
|
12
12
|
export * from './interface';
|
|
13
13
|
declare const ApBatchActionGroup: {
|
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, VNodeChild, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { SpaceSize } from '
|
|
2
|
+
import { SpaceSize } from '@aplus-frontend/antdv/es/space';
|
|
3
3
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { ButtonType, ButtonShape, ButtonSize } from '
|
|
5
|
-
import { ButtonHTMLType } from '
|
|
6
|
-
import { MouseEventHandler } from '
|
|
7
|
-
import { ButtonProps } from '
|
|
4
|
+
import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
5
|
+
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
6
|
+
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
|
+
import { ButtonProps } from '@aplus-frontend/antdv';
|
|
8
8
|
import { ApBatchActionGroupProps, ApExportGroupProps } from '..';
|
|
9
9
|
export * from './interface';
|
|
10
10
|
declare const ApButtonGroup: {
|
|
@@ -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 { isString as E } from "lodash-unified";
|
|
@@ -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 { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
const G = /* @__PURE__ */ f({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { ValueType } from '
|
|
3
|
-
import { KeyboardEventHandler } from '
|
|
2
|
+
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
3
|
+
import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
4
4
|
import { ApInputRadioOptions } from './interface';
|
|
5
5
|
export * from './interface';
|
|
6
6
|
declare const ApInputRadio: {
|
|
@@ -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 f, Badge as p } from "
|
|
2
|
+
import { Tooltip as f, Badge as p } 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";
|
|
@@ -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/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>;
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, VNode, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, RendererNode, RendererElement, ComponentOptionsBase, Plugin } 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
|
import { ApLabelGroupItemProps } from './interface';
|
|
6
6
|
export * from './interface';
|
|
7
7
|
declare const ApLabel: {
|
|
@@ -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/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 { useNamespace as U } from "../../config-provider/hooks/use-namespace.mjs";
|