@aplus-frontend/ui 7.10.0 → 7.10.2
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/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +44 -39
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-action/style/dropdown-item.mjs +17 -11
- package/es/src/ap-action/style/index.mjs +8 -9
- 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 +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.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 +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- 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 +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +14 -14
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +2 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/style/item.mjs +15 -15
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.mjs +12 -12
- package/es/src/ap-list/interface.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +1 -1
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +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/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +8 -8
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +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 +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- 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 +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +15 -15
- package/es/src/config-provider/config-provider-props.mjs +12 -12
- package/es/src/config-provider/config-provider.d.ts +29 -29
- package/es/src/config-provider/config-provider.mjs +42 -40
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +49 -49
- package/es/src/design-token/interface.d.ts +22 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +31 -30
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-action/style/dropdown-item.js +1 -1
- package/lib/src/ap-action/style/index.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/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- 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/checkbox/read.vue.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/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- 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 +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- 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/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +2 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +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/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.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-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.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-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.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.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +15 -15
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +29 -29
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +49 -49
- package/lib/src/design-token/interface.d.ts +22 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.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.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { onUnmounted as m } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { AsyncOpenResultError as f } from "../interface.mjs";
|
|
3
|
+
import { useCreateTableModal as w } from "./use-create-table-modal.mjs";
|
|
4
4
|
const a = (e) => e.id;
|
|
5
5
|
function b(e) {
|
|
6
|
-
const { finishCallback: c, getRowKey: r, ...l } = e, { destroy: n, openModal: i, closeModal: p, ...u } =
|
|
6
|
+
const { finishCallback: c, getRowKey: r, ...l } = e, { destroy: n, openModal: i, closeModal: p, ...u } = w({
|
|
7
7
|
...l,
|
|
8
8
|
destroyOnUnmounted: !1,
|
|
9
9
|
getRowKey: r || a
|
|
@@ -15,7 +15,7 @@ function b(e) {
|
|
|
15
15
|
};
|
|
16
16
|
return c?.(o), o;
|
|
17
17
|
} catch (o) {
|
|
18
|
-
if (o ===
|
|
18
|
+
if (o === f.ModalCancel)
|
|
19
19
|
return {
|
|
20
20
|
keys: t?.map(r || a),
|
|
21
21
|
rows: t
|
|
@@ -59,20 +59,20 @@ declare const ApTableModal: {
|
|
|
59
59
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
60
60
|
}, PublicProps, {
|
|
61
61
|
mask: boolean;
|
|
62
|
+
maxCount: number;
|
|
63
|
+
keyboard: boolean;
|
|
64
|
+
maskClosable: boolean;
|
|
65
|
+
forceRender: boolean;
|
|
62
66
|
confirmLoading: boolean;
|
|
63
67
|
closable: boolean;
|
|
64
68
|
centered: boolean;
|
|
65
|
-
maskClosable: boolean;
|
|
66
|
-
forceRender: boolean;
|
|
67
69
|
destroyOnClose: boolean;
|
|
68
70
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
69
|
-
keyboard: boolean;
|
|
70
71
|
focusTriggerAfterClose: boolean;
|
|
71
72
|
api: (params: any) => Promise<{
|
|
72
73
|
records: any[];
|
|
73
74
|
total: number;
|
|
74
75
|
}>;
|
|
75
|
-
maxCount: number;
|
|
76
76
|
isRenderModalTitleSuffix: boolean;
|
|
77
77
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
78
78
|
apTableRef: ShallowUnwrapRef<{
|
|
@@ -169,20 +169,20 @@ declare const ApTableModal: {
|
|
|
169
169
|
} | null;
|
|
170
170
|
}, {}, {}, {}, {
|
|
171
171
|
mask: boolean;
|
|
172
|
+
maxCount: number;
|
|
173
|
+
keyboard: boolean;
|
|
174
|
+
maskClosable: boolean;
|
|
175
|
+
forceRender: boolean;
|
|
172
176
|
confirmLoading: boolean;
|
|
173
177
|
closable: boolean;
|
|
174
178
|
centered: boolean;
|
|
175
|
-
maskClosable: boolean;
|
|
176
|
-
forceRender: boolean;
|
|
177
179
|
destroyOnClose: boolean;
|
|
178
180
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
179
|
-
keyboard: boolean;
|
|
180
181
|
focusTriggerAfterClose: boolean;
|
|
181
182
|
api: (params: any) => Promise<{
|
|
182
183
|
records: any[];
|
|
183
184
|
total: number;
|
|
184
185
|
}>;
|
|
185
|
-
maxCount: number;
|
|
186
186
|
isRenderModalTitleSuffix: boolean;
|
|
187
187
|
}>;
|
|
188
188
|
__isFragment?: never;
|
|
@@ -231,20 +231,20 @@ declare const ApTableModal: {
|
|
|
231
231
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
232
232
|
}, string, {
|
|
233
233
|
mask: boolean;
|
|
234
|
+
maxCount: number;
|
|
235
|
+
keyboard: boolean;
|
|
236
|
+
maskClosable: boolean;
|
|
237
|
+
forceRender: boolean;
|
|
234
238
|
confirmLoading: boolean;
|
|
235
239
|
closable: boolean;
|
|
236
240
|
centered: boolean;
|
|
237
|
-
maskClosable: boolean;
|
|
238
|
-
forceRender: boolean;
|
|
239
241
|
destroyOnClose: boolean;
|
|
240
242
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
241
|
-
keyboard: boolean;
|
|
242
243
|
focusTriggerAfterClose: boolean;
|
|
243
244
|
api: (params: any) => Promise<{
|
|
244
245
|
records: any[];
|
|
245
246
|
total: number;
|
|
246
247
|
}>;
|
|
247
|
-
maxCount: number;
|
|
248
248
|
isRenderModalTitleSuffix: boolean;
|
|
249
249
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
250
250
|
$props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ModalProps, TableProps } from '@aplus-frontend/antdv';
|
|
1
2
|
import { StyleValue, VNode, VNodeChild } from 'vue';
|
|
2
3
|
import { ApTableProps } from '../../ap-table';
|
|
3
|
-
import { ModalProps, TableProps } from '@aplus-frontend/antdv';
|
|
4
4
|
/** table-modal的props类型 */
|
|
5
5
|
export interface ApTableModalProps<TableRowType = any> extends Omit<ModalProps, 'onOk' | 'open' | 'close' | 'visible'> {
|
|
6
6
|
columns: ApTableProps['columns'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as N, createElementBlock as o, openBlock as l, normalizeClass as a, unref as t, renderSlot as g, Fragment as n, createCommentVNode as h, createElementVNode as m, createVNode as p, withCtx as i, createBlock as s, resolveDynamicComponent as c, h as b, normalizeStyle as v, createTextVNode as B, toDisplayString as $, renderList as M } from "vue";
|
|
2
|
+
import { Button as A, Empty as S } from "@aplus-frontend/antdv";
|
|
3
|
+
import { ApTitle as T } from "../../ap-title/index.mjs";
|
|
2
4
|
import "../../../config-provider/index.mjs";
|
|
3
|
-
import { ApTitle as S } from "../../ap-title/index.mjs";
|
|
4
|
-
import { Button as A, Empty as T } from "@aplus-frontend/antdv";
|
|
5
5
|
import { useLocale as V } from "../../../config-provider/hooks/use-locale.mjs";
|
|
6
6
|
import { useNamespace as D } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
const F = /* @__PURE__ */ N({
|
|
@@ -31,7 +31,7 @@ const F = /* @__PURE__ */ N({
|
|
|
31
31
|
key: 0,
|
|
32
32
|
class: a(t(r)("table-layout-left"))
|
|
33
33
|
}, [
|
|
34
|
-
p(t(
|
|
34
|
+
p(t(T), { style: { "margin-bottom": "16px" } }, {
|
|
35
35
|
prefix: i(() => [
|
|
36
36
|
(l(), s(c(b(n, [e.leftTitle]))))
|
|
37
37
|
]),
|
|
@@ -47,7 +47,7 @@ const F = /* @__PURE__ */ N({
|
|
|
47
47
|
class: a(t(r)("table-layout-right")),
|
|
48
48
|
style: v(e.rightContentStyle)
|
|
49
49
|
}, [
|
|
50
|
-
p(t(
|
|
50
|
+
p(t(T), {
|
|
51
51
|
title: `${t(d)("ap.apTableModal.selected")} (${e.selectedList.length})`
|
|
52
52
|
}, {
|
|
53
53
|
prefix: i(() => [
|
|
@@ -71,9 +71,9 @@ const F = /* @__PURE__ */ N({
|
|
|
71
71
|
class: a(t(r)("table-layout-right-content"))
|
|
72
72
|
}, [
|
|
73
73
|
(l(!0), o(n, null, M(e.selectedList, (f) => (l(), s(c(e.renderSelectedItem?.(f, { deleteItem: E })), { key: f }))), 128)),
|
|
74
|
-
e.selectedList.length === 0 ? (l(), s(t(
|
|
74
|
+
e.selectedList.length === 0 ? (l(), s(t(S), {
|
|
75
75
|
key: 0,
|
|
76
|
-
image: t(
|
|
76
|
+
image: t(S).PRESENTED_IMAGE_SIMPLE,
|
|
77
77
|
style: { "margin-top": "100px" }
|
|
78
78
|
}, null, 8, ["image"])) : h("", !0)
|
|
79
79
|
], 2)
|
|
@@ -48,20 +48,20 @@ declare const _default: DefineComponent<__VLS_Props, {
|
|
|
48
48
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
mask: boolean;
|
|
51
|
+
maxCount: number;
|
|
52
|
+
keyboard: boolean;
|
|
53
|
+
maskClosable: boolean;
|
|
54
|
+
forceRender: boolean;
|
|
51
55
|
confirmLoading: boolean;
|
|
52
56
|
closable: boolean;
|
|
53
57
|
centered: boolean;
|
|
54
|
-
maskClosable: boolean;
|
|
55
|
-
forceRender: boolean;
|
|
56
58
|
destroyOnClose: boolean;
|
|
57
59
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
58
|
-
keyboard: boolean;
|
|
59
60
|
focusTriggerAfterClose: boolean;
|
|
60
61
|
api: (params: any) => Promise<{
|
|
61
62
|
records: any[];
|
|
62
63
|
total: number;
|
|
63
64
|
}>;
|
|
64
|
-
maxCount: number;
|
|
65
65
|
isRenderModalTitleSuffix: boolean;
|
|
66
66
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
67
67
|
apTableRef: ShallowUnwrapRef<{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as G, ref as d, unref as r, computed as H, h as U, createBlock as w, openBlock as g, mergeProps as m, withCtx as k, createCommentVNode as j, createVNode as h, resolveDynamicComponent as q } from "vue";
|
|
2
2
|
import { message as R, Modal as V } from "@aplus-frontend/antdv";
|
|
3
|
-
import "
|
|
4
|
-
import { ApTable as z } from "../../ap-table/index.mjs";
|
|
3
|
+
import { transformTableParams as z } from "@aplus-frontend/utils";
|
|
5
4
|
import { cloneDeep as W, omit as T } from "lodash-unified";
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
5
|
+
import { ApTable as J } from "../../ap-table/index.mjs";
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
8
7
|
import { AsyncOpenResultError as y } from "./interface.mjs";
|
|
9
|
-
import "./
|
|
8
|
+
import "./modal-title.vue.mjs";
|
|
10
9
|
import Q from "./style/index.mjs";
|
|
10
|
+
import "./table-layout/index.vue.mjs";
|
|
11
11
|
import { useNamespace as X } from "../../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
import { useLocale as Y } from "../../config-provider/hooks/use-locale.mjs";
|
|
13
13
|
import Z from "./modal-title.vue2.mjs";
|
|
@@ -86,7 +86,7 @@ const ye = /* @__PURE__ */ G({
|
|
|
86
86
|
}, x = () => {
|
|
87
87
|
i.value = !1, f = null, c?.(y.ModalCancel), c = null;
|
|
88
88
|
}, _ = async (t) => {
|
|
89
|
-
t =
|
|
89
|
+
t = z({
|
|
90
90
|
...t,
|
|
91
91
|
...v.value
|
|
92
92
|
});
|
|
@@ -220,7 +220,7 @@ const ye = /* @__PURE__ */ G({
|
|
|
220
220
|
onDeleteItem: $
|
|
221
221
|
}), {
|
|
222
222
|
default: k(() => [
|
|
223
|
-
h(r(
|
|
223
|
+
h(r(J), m({
|
|
224
224
|
ref_key: "apTableRef",
|
|
225
225
|
ref: u,
|
|
226
226
|
scroll: { y: 450 },
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as j, ref as x, computed as n, unref as p, watch as I, nextTick as L, onMounted as A, onUnmounted as F, createBlock as g, openBlock as a, mergeProps as w, withCtx as v, createElementVNode as t, normalizeStyle as C, normalizeClass as k, createElementBlock as _, createCommentVNode as G, Fragment as M, renderList as U, toDisplayString as b, renderSlot as q, createTextVNode as H } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import K from "@
|
|
4
|
-
import "./ap-tag.vue2.mjs";
|
|
5
|
-
import "../../config-provider/index.mjs";
|
|
2
|
+
import J from "@ant-design/icons-vue";
|
|
3
|
+
import { Tooltip as K } from "@aplus-frontend/antdv";
|
|
6
4
|
import { omit as O } from "lodash-unified";
|
|
7
|
-
import
|
|
5
|
+
import "../../config-provider/index.mjs";
|
|
6
|
+
import { useToken as Q } from "../../config-provider/hooks/use-token.mjs";
|
|
8
7
|
import "../../hooks/index.mjs";
|
|
9
|
-
import { useDevWarning as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
8
|
+
import { useDevWarning as X } from "../../utils/warning.mjs";
|
|
9
|
+
import "./ap-tag.vue2.mjs";
|
|
10
|
+
import Y from "./style/group.mjs";
|
|
11
|
+
import { getTextWidth as W } from "./utils.mjs";
|
|
12
12
|
import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
|
|
13
13
|
import { useNamespace as ee } from "../../config-provider/hooks/use-namespace.mjs";
|
|
14
14
|
import { useResize as te } from "../../hooks/useResize.mjs";
|
|
@@ -22,7 +22,7 @@ const xe = /* @__PURE__ */ j({
|
|
|
22
22
|
ellipsis: { default: () => ({}) }
|
|
23
23
|
},
|
|
24
24
|
setup(T) {
|
|
25
|
-
const { t: z } = Z(), l = T, { token: V } =
|
|
25
|
+
const { t: z } = Z(), l = T, { token: V } = Q(), B = X("ApTagGroup"), { b: d } = ee("tag-group"), E = Y("tag-group"), i = x(), { observe: D, unobserve: P } = te(), r = n(() => ({
|
|
26
26
|
...{
|
|
27
27
|
iconColor: V.value?.textColor1,
|
|
28
28
|
symbol: "icon",
|
|
@@ -76,7 +76,7 @@ const xe = /* @__PURE__ */ j({
|
|
|
76
76
|
), i.value && D(i.value, $);
|
|
77
77
|
}), F(() => {
|
|
78
78
|
i.value && P(i.value);
|
|
79
|
-
}), (e, o) => (a(), g(p(
|
|
79
|
+
}), (e, o) => (a(), g(p(K), w({ trigger: "hover" }, S.value), {
|
|
80
80
|
title: v(() => [
|
|
81
81
|
q(e.$slots, "tooltip", { tags: e.list }, () => [
|
|
82
82
|
H(b(N.value), 1)
|
|
@@ -99,7 +99,7 @@ const xe = /* @__PURE__ */ j({
|
|
|
99
99
|
marginRight: `${e.space}px`
|
|
100
100
|
}
|
|
101
101
|
}), null, 16, ["style"]))), 128)),
|
|
102
|
-
c.value && r.value.symbol === "icon" ? (a(), g(p(
|
|
102
|
+
c.value && r.value.symbol === "icon" ? (a(), g(p(J), {
|
|
103
103
|
key: 0,
|
|
104
104
|
style: C({
|
|
105
105
|
color: e.ellipsisColor || r.value.iconColor,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, computed as a, createElementBlock as n, openBlock as l, normalizeClass as r, unref as t, createElementVNode as i, renderSlot as p, Fragment as C, createBlock as M, createCommentVNode as v, toDisplayString as k, withCtx as I, createVNode as S, normalizeStyle as T } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { QuestionCircleOutlined as $ } from "@ant-design/icons-vue";
|
|
3
|
+
import { Tooltip as N } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import A from "./style/index.mjs";
|
|
6
6
|
import { useNamespace as B } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -31,14 +31,14 @@ const O = /* @__PURE__ */ y({
|
|
|
31
31
|
}, [
|
|
32
32
|
e.$slots.prefix ? p(e.$slots, "prefix", { key: 0 }) : (l(), n(C, { key: 1 }, [
|
|
33
33
|
i("span", null, k(e.title), 1),
|
|
34
|
-
e.helpMessage ? (l(), M(t(
|
|
34
|
+
e.helpMessage ? (l(), M(t(N), {
|
|
35
35
|
key: 0,
|
|
36
36
|
title: e.helpMessage,
|
|
37
37
|
placement: e.placement,
|
|
38
38
|
trigger: e.trigger
|
|
39
39
|
}, {
|
|
40
40
|
default: I(() => [
|
|
41
|
-
S(t(
|
|
41
|
+
S(t($), {
|
|
42
42
|
style: T(h.value)
|
|
43
43
|
}, null, 8, ["style"])
|
|
44
44
|
]),
|
|
@@ -194,8 +194,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
194
194
|
[key: string]: any;
|
|
195
195
|
}>;
|
|
196
196
|
baseDirName: string;
|
|
197
|
-
showUploadErrorMsg: boolean;
|
|
198
197
|
maxCountErrorMsg: string;
|
|
198
|
+
showUploadErrorMsg: boolean;
|
|
199
199
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
200
200
|
uploadRef: unknown;
|
|
201
201
|
}, HTMLDivElement>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as _, ref as m, computed as d, provide as t, createElementBlock as U, openBlock as c, normalizeClass as h, unref as r, createBlock as O, resolveDynamicComponent as R, mergeProps as z, createSlots as j, renderList as A, withCtx as $, renderSlot as k, normalizeProps as B, guardReactiveProps as T } from "vue";
|
|
2
|
+
import { Form as w } from "@aplus-frontend/antdv";
|
|
2
3
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import "./components/SingleFile.vue.mjs";
|
|
4
4
|
import "./components/MultipleFile.vue.mjs";
|
|
5
5
|
import "./components/Picture.vue.mjs";
|
|
6
|
-
import
|
|
6
|
+
import "./components/SingleFile.vue.mjs";
|
|
7
7
|
import { injectLocaleToOss as D } from "./hooks/useOss.mjs";
|
|
8
|
-
import
|
|
9
|
-
import L from "./
|
|
8
|
+
import I from "./style/index.mjs";
|
|
9
|
+
import { injectLocaleToAccept as L } from "./utils/accept.mjs";
|
|
10
10
|
import { useLocale as q } from "../../config-provider/hooks/use-locale.mjs";
|
|
11
11
|
import { useNamespace as P } from "../../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
import V from "./components/Picture.vue2.mjs";
|
|
@@ -97,12 +97,12 @@ const K = ["id"], me = /* @__PURE__ */ _({
|
|
|
97
97
|
emits: ["update:value"],
|
|
98
98
|
setup(f, { expose: g, emit: v }) {
|
|
99
99
|
const { t: n, lang: y } = q();
|
|
100
|
-
|
|
101
|
-
const { b: C } = P("ap-upload"), S =
|
|
100
|
+
L(n), D(n, y);
|
|
101
|
+
const { b: C } = P("ap-upload"), S = I("ap-upload"), s = m(null), e = f, b = v, x = {
|
|
102
102
|
singleFile: H,
|
|
103
103
|
multipleFile: G,
|
|
104
104
|
picture: V
|
|
105
|
-
}, i =
|
|
105
|
+
}, i = w.useInjectFormItemContext(), F = d({
|
|
106
106
|
get() {
|
|
107
107
|
return e.value;
|
|
108
108
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as X, inject as a, ref as Y, watch as Z, nextTick as ee, createElementBlock as U, openBlock as w, normalizeClass as oe, unref as s, createVNode as x, withCtx as k, createElementVNode as I, createTextVNode as te, toDisplayString as M, withModifiers as ae, createCommentVNode as se, createBlock as ne, resolveDynamicComponent as re } from "vue";
|
|
2
|
+
import { UploadOutlined as le, VerticalAlignBottomOutlined as ie } from "@ant-design/icons-vue";
|
|
3
|
+
import { message as c, Upload as ue, Button as ce } from "@aplus-frontend/antdv";
|
|
2
4
|
import "../../../config-provider/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { fileMatchesAccept as fe, getAcceptText as ge } from "../utils/accept.mjs";
|
|
8
|
-
import he from "../style/index.mjs";
|
|
5
|
+
import { useOss as pe, getOssInstance as S } from "../hooks/useOss.mjs";
|
|
6
|
+
import de from "../style/index.mjs";
|
|
7
|
+
import { fileMatchesAccept as me, getAcceptText as fe } from "../utils/accept.mjs";
|
|
8
|
+
import { getPath as ge, getName as he, getReturnData as L } from "../utils/returnData.mjs";
|
|
9
9
|
import { useGlobalConfig as ve } from "../../../config-provider/hooks/use-global-config.mjs";
|
|
10
10
|
import { useLocale as we } from "../../../config-provider/hooks/use-locale.mjs";
|
|
11
11
|
import { useNamespace as xe } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -14,7 +14,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
14
14
|
setup(ke, { expose: z }) {
|
|
15
15
|
const E = ve(
|
|
16
16
|
"downloadCenterTriggerConfig"
|
|
17
|
-
), { t: r } = we(), { b: B } = xe("ap-upload-multiple-file"), D =
|
|
17
|
+
), { t: r } = we(), { b: B } = xe("ap-upload-multiple-file"), D = de("ap-upload"), { put: O } = pe(), P = a("dirName"), V = a("baseDirName"), y = a("accept") || "*", N = a("maxSize") ?? 500, q = a("title") || r("ap.apUpload.uploadFile"), m = a("subTitle"), l = a("maxCount") ?? 10, p = a("uploadingCount"), b = a("beforeUpload"), _ = a("customRequest"), F = a("getOssAccess"), j = a("maxSizeErrorMsg"), $ = a("maxCountErrorMsg"), G = a("acceptErrorMsg"), T = a("onRemove"), C = a("showUploadErrorMsg"), n = a("value"), i = [], f = a("needName"), d = Y(null);
|
|
18
18
|
Z(
|
|
19
19
|
() => n?.value,
|
|
20
20
|
function(e) {
|
|
@@ -29,7 +29,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
29
29
|
}
|
|
30
30
|
ee(() => {
|
|
31
31
|
const o = e.map((t) => {
|
|
32
|
-
const h =
|
|
32
|
+
const h = ge(f, t), Q = he(f, t), v = new File(
|
|
33
33
|
[t],
|
|
34
34
|
Q,
|
|
35
35
|
{}
|
|
@@ -77,7 +77,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
77
77
|
maxSize: N
|
|
78
78
|
})
|
|
79
79
|
), g(e), !1;
|
|
80
|
-
if (!
|
|
80
|
+
if (!me(e, y))
|
|
81
81
|
return c.warning(
|
|
82
82
|
G || r("ap.apUpload.fileFormatNotSupported")
|
|
83
83
|
), g(e), !1;
|
|
@@ -108,7 +108,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
108
108
|
e.onSuccess(o);
|
|
109
109
|
}), n.value = [
|
|
110
110
|
...n.value || [],
|
|
111
|
-
|
|
111
|
+
L(f, o, e.file.name)
|
|
112
112
|
], i.push({
|
|
113
113
|
uid: e.file.uid,
|
|
114
114
|
path: o
|
|
@@ -119,7 +119,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
try {
|
|
122
|
-
const o = await
|
|
122
|
+
const o = await S(F);
|
|
123
123
|
e.file.oss = o, O({
|
|
124
124
|
file: e.file,
|
|
125
125
|
dirName: P,
|
|
@@ -127,7 +127,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
127
127
|
successCallBack(t) {
|
|
128
128
|
e.onSuccess(t), n.value = [
|
|
129
129
|
...n.value || [],
|
|
130
|
-
|
|
130
|
+
L(f, t, e.file.name)
|
|
131
131
|
], i.push({
|
|
132
132
|
uid: e.file.uid,
|
|
133
133
|
path: t
|
|
@@ -176,7 +176,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
176
176
|
}));
|
|
177
177
|
E.value?.trigger?.(o);
|
|
178
178
|
} else
|
|
179
|
-
(await
|
|
179
|
+
(await S(F)).downloadFile([
|
|
180
180
|
{
|
|
181
181
|
path: e.response,
|
|
182
182
|
fileName: e.name
|
|
@@ -189,7 +189,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
189
189
|
[s(D) ?? ""]: !0
|
|
190
190
|
})
|
|
191
191
|
}, [
|
|
192
|
-
x(s(
|
|
192
|
+
x(s(ue), {
|
|
193
193
|
ref_key: "uploadRef",
|
|
194
194
|
ref: d,
|
|
195
195
|
accept: s(y),
|
|
@@ -207,13 +207,13 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
207
207
|
onDownload: K
|
|
208
208
|
}, {
|
|
209
209
|
downloadIcon: k(() => [
|
|
210
|
-
x(s(
|
|
210
|
+
x(s(ie))
|
|
211
211
|
]),
|
|
212
212
|
default: k(() => [
|
|
213
213
|
I("div", ye, [
|
|
214
|
-
x(s(
|
|
214
|
+
x(s(ce), { class: "file-btn" }, {
|
|
215
215
|
default: k(() => [
|
|
216
|
-
x(s(
|
|
216
|
+
x(s(le)),
|
|
217
217
|
te(" " + M(s(q)), 1)
|
|
218
218
|
]),
|
|
219
219
|
_: 1
|
|
@@ -223,7 +223,7 @@ const ye = { class: "multiple-file-context" }, Ce = { key: 0 }, Ue = { key: 1 },
|
|
|
223
223
|
onClick: o[0] || (o[0] = ae(() => {
|
|
224
224
|
}, ["stop"]))
|
|
225
225
|
}, [
|
|
226
|
-
typeof s(m) == "string" ? (w(), U("div", Ce, M(s(m) || `${s(r)("ap.apUpload.supportExtension")}:${s(
|
|
226
|
+
typeof s(m) == "string" ? (w(), U("div", Ce, M(s(m) || `${s(r)("ap.apUpload.supportExtension")}:${s(fe)(s(y))}`), 1)) : s(m) ? (w(), U("div", Ue, [
|
|
227
227
|
(w(), ne(re(s(m))))
|
|
228
228
|
])) : se("", !0)
|
|
229
229
|
])
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as F, inject as r, ref as P, watch as ee, nextTick as te, createElementBlock as g, openBlock as h, normalizeClass as ae, unref as n, createElementVNode as d, renderSlot as oe, createCommentVNode as I, Fragment as se, renderList as ne, withDirectives as ie, createVNode as k, vShow as re, toDisplayString as C } from "vue";
|
|
2
|
+
import { CloseOutlined as ce, PlusOutlined as ue } from "@ant-design/icons-vue";
|
|
3
|
+
import { message as m, Progress as le } from "@aplus-frontend/antdv";
|
|
4
|
+
import { omit as pe } from "lodash-unified";
|
|
2
5
|
import "../../../config-provider/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { message as m, Progress as ge } from "@aplus-frontend/antdv";
|
|
8
|
-
import { omit as he } from "lodash-unified";
|
|
9
|
-
import ve from "../style/index.mjs";
|
|
6
|
+
import { useOss as de, getOssInstance as $ } from "../hooks/useOss.mjs";
|
|
7
|
+
import me from "../style/index.mjs";
|
|
8
|
+
import { fileMatchesAccept as fe, getAcceptText as ge } from "../utils/accept.mjs";
|
|
9
|
+
import { getPath as he, getName as ve, getReturnData as D } from "../utils/returnData.mjs";
|
|
10
10
|
import { useLocale as xe } from "../../../config-provider/hooks/use-locale.mjs";
|
|
11
11
|
import { useNamespace as ye } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture-item-box" }, ke = ["src"], Ce = { class: "picture-item-shadow" }, Ee = ["onClick"], Se = {
|
|
@@ -15,7 +15,7 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
15
15
|
}, be = { class: "picture-title" }, Ne = { key: 0 }, Re = { key: 1 }, qe = /* @__PURE__ */ F({
|
|
16
16
|
__name: "Picture",
|
|
17
17
|
setup(Me, { expose: V }) {
|
|
18
|
-
const { t: u } = xe(), { b: T } = ye("ap-upload-picture"), L =
|
|
18
|
+
const { t: u } = xe(), { b: T } = ye("ap-upload-picture"), L = me("ap-upload"), { put: O } = de(), B = r("dirName"), q = r("baseDirName"), w = r("accept") || "image/*", _ = r("maxSize") ?? 5, E = r("title"), l = r("maxCount") ?? 10, v = r("uploadingCount"), S = r("beforeUpload"), b = r("customRequest"), N = r("getOssAccess"), j = r("maxSizeErrorMsg"), G = r("maxCountErrorMsg"), H = r("acceptErrorMsg"), x = P(null), c = r("value"), y = r("needName"), R = r("onRemove"), U = r("showUploadErrorMsg");
|
|
19
19
|
let s = P([]);
|
|
20
20
|
const f = [];
|
|
21
21
|
ee(
|
|
@@ -33,7 +33,7 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
33
33
|
te(async () => {
|
|
34
34
|
const o = [];
|
|
35
35
|
for (let e of t) {
|
|
36
|
-
const a =
|
|
36
|
+
const a = he(y, e), i = ve(y, e), p = await $(N), Y = await p.getSignatureUrl(a), Z = {
|
|
37
37
|
...typeof e == "string" ? {} : e,
|
|
38
38
|
...new File([e], i, {}),
|
|
39
39
|
uid: `${(/* @__PURE__ */ new Date()).getTime()}-${Math.random()}`,
|
|
@@ -86,7 +86,7 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
86
86
|
return m.warning(
|
|
87
87
|
j || u("ap.apUpload.maxUploadFileSize", { maxSize: _ })
|
|
88
88
|
), !1;
|
|
89
|
-
if (!/image\/\w+/.test(t.type) || !
|
|
89
|
+
if (!/image\/\w+/.test(t.type) || !fe(t, w))
|
|
90
90
|
return m.warning(
|
|
91
91
|
H || u("ap.apUpload.pictureFormatNotSupported")
|
|
92
92
|
), !1;
|
|
@@ -124,7 +124,7 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
124
124
|
const a = s.value.find((i) => i.uid === t.uid);
|
|
125
125
|
a && (a.status = "success", a.path = e), c.value = [
|
|
126
126
|
...c.value || [],
|
|
127
|
-
|
|
127
|
+
D(y, e, o.name)
|
|
128
128
|
], f.push({
|
|
129
129
|
uid: t.uid,
|
|
130
130
|
path: e
|
|
@@ -135,7 +135,7 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
135
135
|
return;
|
|
136
136
|
}
|
|
137
137
|
try {
|
|
138
|
-
const e = await
|
|
138
|
+
const e = await $(N);
|
|
139
139
|
t.oss = e, s.value.push(t), O({
|
|
140
140
|
file: o,
|
|
141
141
|
dirName: B,
|
|
@@ -144,7 +144,7 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
144
144
|
const i = s.value.find((p) => p.uid === t.uid);
|
|
145
145
|
i && (i.status = "success", i.path = a), c.value = [
|
|
146
146
|
...c.value || [],
|
|
147
|
-
|
|
147
|
+
D(y, a, o.name)
|
|
148
148
|
], f.push({
|
|
149
149
|
uid: t.uid,
|
|
150
150
|
path: a
|
|
@@ -207,7 +207,7 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
207
207
|
d("div", _e, [
|
|
208
208
|
oe(t.$slots, "pictureContext", {
|
|
209
209
|
fileList: n(s).map((e) => ({
|
|
210
|
-
...n(
|
|
210
|
+
...n(pe)(e, "oss"),
|
|
211
211
|
oss: {
|
|
212
212
|
pauseUpload: e?.oss?.pauseUpload
|
|
213
213
|
}
|
|
@@ -228,10 +228,10 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
228
228
|
class: "picture-item-close",
|
|
229
229
|
onClick: (a) => A(e)
|
|
230
230
|
}, [
|
|
231
|
-
k(n(
|
|
231
|
+
k(n(ce))
|
|
232
232
|
], 8, Ee),
|
|
233
233
|
e.status === "uploading" ? (h(), g("div", Se, [
|
|
234
|
-
k(n(
|
|
234
|
+
k(n(le), {
|
|
235
235
|
percent: e.percent,
|
|
236
236
|
"stroke-color": "#ffffff",
|
|
237
237
|
"trail-color": "rgba(255, 255, 255, 0.3)",
|
|
@@ -250,12 +250,12 @@ const we = ["accept"], _e = { class: "picture-context" }, Ue = { class: "picture
|
|
|
250
250
|
class: "picture-upload",
|
|
251
251
|
onClick: J
|
|
252
252
|
}, [
|
|
253
|
-
k(n(
|
|
253
|
+
k(n(ue)),
|
|
254
254
|
d("div", null, C(n(u)("ap.apUpload.update")), 1)
|
|
255
255
|
])) : I("", !0)
|
|
256
256
|
]),
|
|
257
257
|
d("div", be, [
|
|
258
|
-
n(E) ? (h(), g("div", Ne, C(n(E)), 1)) : (h(), g("div", Re, C(`${n(u)("ap.apUpload.supportExtension")}:${n(
|
|
258
|
+
n(E) ? (h(), g("div", Ne, C(n(E)), 1)) : (h(), g("div", Re, C(`${n(u)("ap.apUpload.supportExtension")}:${n(ge)(n(w))},${n(u)(
|
|
259
259
|
"ap.apUpload.maxUploadPictureSize",
|
|
260
260
|
{ maxSize: n(_) }
|
|
261
261
|
)}`), 1))
|