@aplus-frontend/ui 7.9.1 → 7.10.1
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 +82 -81
- 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 +3 -3
- 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-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 +73 -71
- 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 +6 -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/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 +2 -1
- package/es/src/ap-list/index.vue.mjs +156 -115
- package/es/src/ap-list/interface.d.ts +6 -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.vue.d.ts +2 -0
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +30 -26
- 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 +13 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +168 -143
- 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 +3 -3
- package/es/src/config-provider/config-provider.d.ts +3 -3
- package/es/src/config-provider/config-provider.mjs +9 -9
- package/es/src/config-provider/constants.d.ts +3 -3
- 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 +9 -9
- package/es/src/design-token/interface.d.ts +20 -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 +23 -23
- 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-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 +6 -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/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 +2 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +6 -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.vue.d.ts +2 -0
- 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 +13 -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 +3 -3
- package/lib/src/config-provider/config-provider.d.ts +3 -3
- 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.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +9 -9
- package/lib/src/design-token/interface.d.ts +20 -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 +4 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { isFunction as y } from "lodash-unified";
|
|
2
|
+
import { ref as K, computed as s, unref as c } from "vue";
|
|
3
3
|
const m = (a) => {
|
|
4
|
-
const n =
|
|
4
|
+
const n = K([]);
|
|
5
5
|
function f(e, t) {
|
|
6
6
|
n.value = t;
|
|
7
7
|
}
|
|
8
|
-
const l = (e) =>
|
|
8
|
+
const l = (e) => y(a.rowKey) ? a.rowKey(e) : e[a.rowKey], o = s(() => {
|
|
9
9
|
const e = /* @__PURE__ */ new Map();
|
|
10
10
|
return c(n).forEach((t) => {
|
|
11
11
|
e.set(l(t), t);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { PaginationProps } from '@aplus-frontend/antdv';
|
|
1
2
|
import { ColumnType, TableProps, ColumnsType } from '@aplus-frontend/antdv/es/table';
|
|
2
3
|
import { CompareFn, SortOrder, TableRowSelection } from '@aplus-frontend/antdv/es/table/interface';
|
|
4
|
+
import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
|
|
5
|
+
import { ComputedRef, CSSProperties, VNode } from 'vue';
|
|
6
|
+
import { ApActionGroupProps } from '../ap-action';
|
|
3
7
|
import { ApFormItemProps, ApFormSearchFormPopoverSorterItem, ApFormSearchFormProps } from '../ap-form';
|
|
4
8
|
import { ApFormItemCheckboxProps, ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemNumberProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemTextAreaProps, ApFormItemTextPasswordProps, ApFormItemTextProps, ApFormItemTreeSelectProps } from '../ap-form/items/interface';
|
|
5
9
|
import { Recordable } from '../type';
|
|
6
|
-
import { ComputedRef, CSSProperties, VNode } from 'vue';
|
|
7
|
-
import { ApActionGroupProps } from '../ap-action';
|
|
8
10
|
import { ApTableIndexProps } from './components/interface';
|
|
9
|
-
import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
|
|
10
|
-
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
11
|
-
import { PaginationProps } from '@aplus-frontend/antdv';
|
|
12
11
|
import { InternalPagingType } from './hooks/use-table-paging-ng';
|
|
12
|
+
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
13
13
|
export type ValueEnumType = {
|
|
14
14
|
text: string;
|
|
15
15
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ValueTypeRenderConfig } from '../config-provider';
|
|
3
|
-
import { apTableRenderItemMap } from './constants';
|
|
1
|
+
import { ColumnType, ColumnGroupType } from '@aplus-frontend/antdv/es/table';
|
|
4
2
|
import { VNode, VNodeArrayChildren, RendererNode, RendererElement } from 'vue';
|
|
3
|
+
import { ValueTypeRenderConfig } from '../config-provider';
|
|
5
4
|
import { EditableColumnType } from '../editable-table/interface';
|
|
6
|
-
import {
|
|
5
|
+
import { apTableRenderItemMap } from './constants';
|
|
6
|
+
import { ApColumnType, ValueEnum, ValueEnumType } from './interface';
|
|
7
7
|
import { ColumnTitleProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
8
8
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
export type FieldValueType = 'multiple' | 'multipleNumber' | 'dayjs' | 'dayjsRange' | 'dayjsDayRange' | 'number' | 'boolean' | 'object';
|
|
@@ -60,7 +60,7 @@ export declare function getFieldProps<RecordType = any>(fieldProps: ApColumnType
|
|
|
60
60
|
* @param item
|
|
61
61
|
* @returns
|
|
62
62
|
*/
|
|
63
|
-
export declare function getTableRenderType(item: ApColumnType | EditableColumnType): "number" | "select" | "date" | "checkbox" | "radio" | "text" | "
|
|
63
|
+
export declare function getTableRenderType(item: ApColumnType | EditableColumnType): "number" | "select" | "date" | "checkbox" | "radio" | "text" | "treeSelect" | "textArea" | "status" | "password" | "switch" | "index" | "action" | "dateRange";
|
|
64
64
|
export declare function getTableCellRenderNode(renderType: keyof typeof apTableRenderItemMap, renderProps: any, record: any, extraRenderMap?: Record<string, ValueTypeRenderConfig>): any;
|
|
65
65
|
/**
|
|
66
66
|
* 获取查询表单最终渲染的节点
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { isVNode as T, createVNode as s, mergeProps as a, cloneVNode as h, createTextVNode as C, Fragment as x } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { QuestionCircleOutlined as E } from "@ant-design/icons-vue";
|
|
3
|
+
import { Tooltip as j } from "@aplus-frontend/antdv";
|
|
4
|
+
import { isObject as f, isArray as u, isUndefined as v, isFunction as y, omit as O, isBoolean as F, isString as N, isEqual as R, sortBy as m, isPlainObject as g, every as P, isEmpty as S } from "lodash-unified";
|
|
4
5
|
import "../ap-form/index.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { QuestionCircleOutlined as A } from "@ant-design/icons-vue";
|
|
6
|
+
import { apTableRenderItemMap as I, apTableFormItemMap as A } from "./constants.mjs";
|
|
7
7
|
import V from "../ap-form/item/index.vue.mjs";
|
|
8
8
|
function w(e) {
|
|
9
9
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !T(e);
|
|
@@ -71,7 +71,7 @@ const q = (e) => {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
}), t;
|
|
74
|
-
}, z = (e) =>
|
|
74
|
+
}, z = (e) => v(e) || e < 0 ? 0 : e;
|
|
75
75
|
function W(e, t) {
|
|
76
76
|
return !e || !y(e) ? e : e(t);
|
|
77
77
|
}
|
|
@@ -80,7 +80,7 @@ function G(e) {
|
|
|
80
80
|
return e.valueEnum && (t = "status"), t;
|
|
81
81
|
}
|
|
82
82
|
function X(e, t, n, o) {
|
|
83
|
-
const r =
|
|
83
|
+
const r = I[e];
|
|
84
84
|
return r ? s(r, a(t, {
|
|
85
85
|
mode: "read"
|
|
86
86
|
}), null) : o?.[e]?.render?.(t.value, n, t) || t.value;
|
|
@@ -95,7 +95,7 @@ function Y(e, t) {
|
|
|
95
95
|
...r.props || {}
|
|
96
96
|
});
|
|
97
97
|
};
|
|
98
|
-
const n =
|
|
98
|
+
const n = A[e.valueType];
|
|
99
99
|
if (n)
|
|
100
100
|
return () => s(n, a(e.fieldProps, {
|
|
101
101
|
span: e.span
|
|
@@ -117,7 +117,7 @@ function Z(e, t) {
|
|
|
117
117
|
value: i ? t.index + 1 : t.value
|
|
118
118
|
};
|
|
119
119
|
return e.valueEnum && (o.valueEnum = e.valueEnum), {
|
|
120
|
-
...
|
|
120
|
+
...O(o, ["request"]),
|
|
121
121
|
...c
|
|
122
122
|
};
|
|
123
123
|
}
|
|
@@ -125,7 +125,7 @@ function ee(e) {
|
|
|
125
125
|
const t = {
|
|
126
126
|
...e
|
|
127
127
|
};
|
|
128
|
-
return
|
|
128
|
+
return F(e.filters) && e.filters && e.valueEnum && (t.filters = b(e.valueEnum)), t;
|
|
129
129
|
}
|
|
130
130
|
function te(e, t) {
|
|
131
131
|
const n = t || {};
|
|
@@ -150,7 +150,7 @@ function re(e, t, n, o) {
|
|
|
150
150
|
}), i = r?.filter((l) => l.type !== Symbol.for("v-cmt")) || [];
|
|
151
151
|
if (r && i.length > 0)
|
|
152
152
|
return r;
|
|
153
|
-
const p =
|
|
153
|
+
const p = N(e.title) ? s("span", {
|
|
154
154
|
class: t,
|
|
155
155
|
style: {
|
|
156
156
|
textAlign: e.align || "left"
|
|
@@ -168,12 +168,12 @@ function re(e, t, n, o) {
|
|
|
168
168
|
alignItems: "center",
|
|
169
169
|
maxWidth: "100%"
|
|
170
170
|
}
|
|
171
|
-
}, [p, s(
|
|
171
|
+
}, [p, s(j, {
|
|
172
172
|
title: d,
|
|
173
173
|
placement: "bottom",
|
|
174
174
|
getPopupContainer: (l) => l.closest(".ant-table") || l.closest(".ant-modal") || l.closest(".vxe-table") || document.body
|
|
175
175
|
}, {
|
|
176
|
-
default: () => [s(
|
|
176
|
+
default: () => [s(E, {
|
|
177
177
|
style: {
|
|
178
178
|
paddingInline: "4px",
|
|
179
179
|
color: o,
|
|
@@ -192,9 +192,9 @@ function oe(e, t) {
|
|
|
192
192
|
}
|
|
193
193
|
function ie(e, t) {
|
|
194
194
|
if (u(e) && u(t))
|
|
195
|
-
return
|
|
195
|
+
return R(m(e), m(t));
|
|
196
196
|
if (g(e) && g(t)) {
|
|
197
|
-
const n = (o) =>
|
|
197
|
+
const n = (o) => P(o, (r) => r == null) || S(o);
|
|
198
198
|
if (n(e) && n(t))
|
|
199
199
|
return !0;
|
|
200
200
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { cloneDeep as A } from "lodash-unified";
|
|
2
|
+
import { ref as o, watch as r, defineComponent as h, provide as I, toRef as a, inject as y } from "vue";
|
|
3
3
|
const u = Symbol("ag-grid-provider-key");
|
|
4
4
|
function L(n) {
|
|
5
5
|
const t = o(), c = o(), l = o(0), d = (e) => {
|
|
@@ -10,7 +10,7 @@ function L(n) {
|
|
|
10
10
|
t.value && e in t.value && t.value[e]();
|
|
11
11
|
}, w = (e) => {
|
|
12
12
|
t.value?.rowSelection.setSelectedRowKeys(e);
|
|
13
|
-
}, g = () =>
|
|
13
|
+
}, g = () => A(t.value?.rowSelection.selectedRows.value), f = () => t.value?.rowSelection.clearAll(), R = (e) => t.value?.rowSelection.unSelectRows([e]);
|
|
14
14
|
r(t, (e) => {
|
|
15
15
|
e && n?.onMounted?.();
|
|
16
16
|
}), r(
|
|
@@ -28,9 +28,9 @@ function L(n) {
|
|
|
28
28
|
clearAllSelected: f,
|
|
29
29
|
removeSelected: R,
|
|
30
30
|
setDataSourceLength: i
|
|
31
|
-
}, p =
|
|
31
|
+
}, p = h({
|
|
32
32
|
setup(e, { slots: m }) {
|
|
33
|
-
return
|
|
33
|
+
return I(u, {
|
|
34
34
|
...s,
|
|
35
35
|
selectedRows: a(() => c.value),
|
|
36
36
|
dataSourceLength: a(
|
|
@@ -42,7 +42,7 @@ function L(n) {
|
|
|
42
42
|
return [s, p];
|
|
43
43
|
}
|
|
44
44
|
function _() {
|
|
45
|
-
return
|
|
45
|
+
return y(u);
|
|
46
46
|
}
|
|
47
47
|
export {
|
|
48
48
|
L as useAgGridInstance,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgGridPreviewModalProps, PreviewModalReturnType } from '../interface';
|
|
2
1
|
import { Recordable } from '../../../type';
|
|
2
|
+
import { AgGridPreviewModalProps, PreviewModalReturnType } from '../interface';
|
|
3
3
|
/** ag-grid弹框 */
|
|
4
4
|
export declare function useAgGridModal<T extends Recordable = any>(props: AgGridPreviewModalProps<T>): PreviewModalReturnType<T>;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as C, ref as P, createVNode as n, mergeProps as w } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { isFunction as y, isEmpty as f, omitBy as I, isUndefined as A, omit as H } from "lodash-unified";
|
|
3
3
|
import "../../../ag-grid/index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { isFunction as H, isEmpty as f, omitBy as M, isUndefined as _, omit as q } from "lodash-unified";
|
|
4
|
+
import { ApModal as M } from "../../../ap-modal/index.mjs";
|
|
5
|
+
import { genRequest as _ } from "../utils.mjs";
|
|
7
6
|
import "../wrapper/index.vue.mjs";
|
|
7
|
+
import { useAgGridInstance as q } from "./use-ag-grid-instance.mjs";
|
|
8
8
|
import G from "../wrapper/index.vue2.mjs";
|
|
9
9
|
import x from "../../../ag-grid/index.vue.mjs";
|
|
10
10
|
function j(r) {
|
|
11
11
|
let a = null, l = null;
|
|
12
|
-
const [o, c] =
|
|
12
|
+
const [o, c] = q(), s = _(r.api, r.getRowKey, o.setDataSourceLength), u = (t) => {
|
|
13
13
|
const {
|
|
14
14
|
title: e,
|
|
15
15
|
width: i,
|
|
16
16
|
modalProps: v,
|
|
17
17
|
...d
|
|
18
|
-
} =
|
|
18
|
+
} = y(t) ? t(r) : t;
|
|
19
19
|
f(d) || l?.(d);
|
|
20
|
-
const m =
|
|
20
|
+
const m = I({
|
|
21
21
|
title: e,
|
|
22
22
|
width: i,
|
|
23
23
|
modalProps: v
|
|
24
|
-
},
|
|
24
|
+
}, A);
|
|
25
25
|
f(m) || a?.update(m);
|
|
26
26
|
}, g = /* @__PURE__ */ C({
|
|
27
27
|
name: "AgGridModalPreviewContent",
|
|
@@ -43,7 +43,7 @@ function j(r) {
|
|
|
43
43
|
height: e.value.height,
|
|
44
44
|
rowHeight: e.value.rowHeight
|
|
45
45
|
}, {
|
|
46
|
-
default: () => [e.value.renderHeader?.(
|
|
46
|
+
default: () => [e.value.renderHeader?.(H(o, "setInstance"), {
|
|
47
47
|
updateProps: u
|
|
48
48
|
}), n(x, w({
|
|
49
49
|
ref: o.setInstance,
|
|
@@ -67,7 +67,7 @@ function j(r) {
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
function h() {
|
|
70
|
-
a =
|
|
70
|
+
a = M.createModal({
|
|
71
71
|
title: r.title,
|
|
72
72
|
width: r.width,
|
|
73
73
|
destroyOnClose: !0,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AgGridSelectModalProps, SelectModalReturnType } from '../interface';
|
|
2
1
|
import { Recordable } from '../../../type';
|
|
2
|
+
import { AgGridSelectModalProps, SelectModalReturnType } from '../interface';
|
|
3
3
|
export declare function useAgGridSelectModal<T extends Recordable = any>(props: AgGridSelectModalProps<T>): SelectModalReturnType<T>;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { defineComponent as _, ref as H, createVNode as i, mergeProps as L, onUnmounted as j } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { message as q } from "@aplus-frontend/antdv";
|
|
3
|
+
import { isFunction as u, cloneDeep as D, isEmpty as b, omitBy as G, isUndefined as T, omit as S } from "lodash-unified";
|
|
3
4
|
import "../../../ag-grid/index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { useAgGridInstance as U } from "./use-ag-grid-instance.mjs";
|
|
6
|
-
import { isFunction as u, cloneDeep as W, isEmpty as b, omitBy as $, isUndefined as z, omit as S } from "lodash-unified";
|
|
7
|
-
import { ROW_KEY as B } from "../constants.mjs";
|
|
8
|
-
import { useModalTitle as N } from "./use-modal-title.mjs";
|
|
9
|
-
import { message as V } from "@aplus-frontend/antdv";
|
|
5
|
+
import { ApModal as F } from "../../../ap-modal/index.mjs";
|
|
10
6
|
import "../../../config-provider/index.mjs";
|
|
7
|
+
import { ROW_KEY as E } from "../constants.mjs";
|
|
11
8
|
import "../modal-layout/index.vue.mjs";
|
|
9
|
+
import { AsyncCallback as U, genRequest as W, delRowKeyField as $, addRowKeyField as z, getModalLayoutConfig as B } from "../utils.mjs";
|
|
12
10
|
import "../wrapper/index.vue.mjs";
|
|
11
|
+
import { useAgGridInstance as N } from "./use-ag-grid-instance.mjs";
|
|
12
|
+
import { useModalTitle as V } from "./use-modal-title.mjs";
|
|
13
13
|
import { useLocale as Y } from "../../../config-provider/hooks/use-locale.mjs";
|
|
14
14
|
import J from "../wrapper/index.vue2.mjs";
|
|
15
15
|
import Q from "../modal-layout/index.vue2.mjs";
|
|
16
16
|
import X from "../../../ag-grid/index.vue.mjs";
|
|
17
17
|
function we(t) {
|
|
18
18
|
let d, f = null, g = null;
|
|
19
|
-
const c = new
|
|
19
|
+
const c = new U(), [x, K] = V(), {
|
|
20
20
|
t: k
|
|
21
|
-
} = Y(), [s, p] =
|
|
21
|
+
} = Y(), [s, p] = N({
|
|
22
22
|
onSelectedRows(e) {
|
|
23
23
|
K.setCount(e?.length || 0);
|
|
24
24
|
}
|
|
25
|
-
}), w =
|
|
25
|
+
}), w = W(t.api, t.getRowKey, s.setDataSourceLength), y = (e) => {
|
|
26
26
|
const {
|
|
27
27
|
title: o,
|
|
28
28
|
width: l,
|
|
29
29
|
modalProps: n,
|
|
30
30
|
...a
|
|
31
|
-
} = u(e) ? e(
|
|
31
|
+
} = u(e) ? e(D(t)) : e;
|
|
32
32
|
b(a) || g?.(a);
|
|
33
|
-
const r =
|
|
33
|
+
const r = G({
|
|
34
34
|
title: o,
|
|
35
35
|
width: l,
|
|
36
36
|
modalProps: n
|
|
37
|
-
},
|
|
37
|
+
}, T);
|
|
38
38
|
b(r) || f?.update(r);
|
|
39
39
|
}, m = u(t.getRowKey) ? t.getRowKey : (e) => e[t.getRowKey], P = () => {
|
|
40
40
|
const e = t.mergeRule || "old", o = s.getSelectedRows() || [];
|
|
@@ -42,12 +42,12 @@ function we(t) {
|
|
|
42
42
|
keys: A(o),
|
|
43
43
|
rows: o.map((a) => {
|
|
44
44
|
const r = m(a);
|
|
45
|
-
return e === "old" && d?.[r] ? d[r] :
|
|
45
|
+
return e === "old" && d?.[r] ? d[r] : $(a);
|
|
46
46
|
})
|
|
47
47
|
};
|
|
48
48
|
}, h = async () => {
|
|
49
49
|
const e = P(), o = t.maxCount || 1 / 0;
|
|
50
|
-
return e.keys.length > o ? (
|
|
50
|
+
return e.keys.length > o ? (q.warning(k("ap.apTableModal.messageMaxCount", {
|
|
51
51
|
maxCount: o
|
|
52
52
|
})), Promise.reject()) : (await t.beforeOk?.(e), t.finishCallback?.(e), c.resolve(e), e);
|
|
53
53
|
}, M = () => {
|
|
@@ -72,7 +72,7 @@ function we(t) {
|
|
|
72
72
|
...l
|
|
73
73
|
};
|
|
74
74
|
}, () => {
|
|
75
|
-
const l = e.selectedRows?.map((r) =>
|
|
75
|
+
const l = e.selectedRows?.map((r) => z(r, o.value.getRowKey)), n = o.value, a = B(n.modalLayout);
|
|
76
76
|
return i(p, null, {
|
|
77
77
|
default: () => [i(J, {
|
|
78
78
|
height: n.height,
|
|
@@ -89,7 +89,7 @@ function we(t) {
|
|
|
89
89
|
target: "form"
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
|
-
rowKey: u(n.getRowKey) ?
|
|
92
|
+
rowKey: u(n.getRowKey) ? E : n.getRowKey,
|
|
93
93
|
request: w.request,
|
|
94
94
|
style: {
|
|
95
95
|
padding: "0px"
|
|
@@ -124,7 +124,7 @@ function we(t) {
|
|
|
124
124
|
}
|
|
125
125
|
function v() {
|
|
126
126
|
const e = Object.values(d || {}), o = C(e);
|
|
127
|
-
f =
|
|
127
|
+
f = F.createModal({
|
|
128
128
|
title: i(x, {
|
|
129
129
|
title: t.title,
|
|
130
130
|
maxCount: t.maxCount || 1 / 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as M, computed as O, createElementBlock as m, renderSlot as a, openBlock as n, normalizeStyle as g, normalizeClass as o, unref as e, createElementVNode as s, createBlock as v, createCommentVNode as h, withCtx as i, resolveDynamicComponent as V, h as w, Fragment as b, createVNode as p, createTextVNode as S, toDisplayString as T, renderList as L } from "vue";
|
|
2
|
+
import { Button as j, Empty as k } from "@aplus-frontend/antdv";
|
|
3
|
+
import { ApTitle as C } from "../../ap-title/index.mjs";
|
|
2
4
|
import "../../../config-provider/index.mjs";
|
|
3
|
-
import { ApTitle as k } from "../../ap-title/index.mjs";
|
|
4
|
-
import { Button as j, Empty as C } from "@aplus-frontend/antdv";
|
|
5
5
|
import { useAgGridModalInject as x } from "../hooks/use-ag-grid-instance.mjs";
|
|
6
6
|
import D from "../style/index.mjs";
|
|
7
7
|
import { useLocale as z } from "../../../config-provider/hooks/use-locale.mjs";
|
|
@@ -34,7 +34,7 @@ const U = /* @__PURE__ */ M({
|
|
|
34
34
|
s("div", {
|
|
35
35
|
class: o(e(l)("table-layout-left"))
|
|
36
36
|
}, [
|
|
37
|
-
t.leftTitle ? (n(), v(e(
|
|
37
|
+
t.leftTitle ? (n(), v(e(C), {
|
|
38
38
|
key: 0,
|
|
39
39
|
style: { "margin-bottom": "16px" }
|
|
40
40
|
}, {
|
|
@@ -53,7 +53,7 @@ const U = /* @__PURE__ */ M({
|
|
|
53
53
|
class: o(e(l)("table-layout-right")),
|
|
54
54
|
style: g(t.rightContentStyle)
|
|
55
55
|
}, [
|
|
56
|
-
p(e(
|
|
56
|
+
p(e(C), null, {
|
|
57
57
|
prefix: i(() => [
|
|
58
58
|
a(t.$slots, "rightTitle", {
|
|
59
59
|
count: r.value.length
|
|
@@ -87,8 +87,8 @@ const U = /* @__PURE__ */ M({
|
|
|
87
87
|
key: 0,
|
|
88
88
|
class: o(e(A)("empty"))
|
|
89
89
|
}, [
|
|
90
|
-
p(e(
|
|
91
|
-
image: e(
|
|
90
|
+
p(e(k), {
|
|
91
|
+
image: e(k).PRESENTED_IMAGE_SIMPLE
|
|
92
92
|
}, null, 8, ["image"])
|
|
93
93
|
], 2)) : h("", !0)
|
|
94
94
|
], 2),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as O, computed as d, ref as S, createElementBlock as L, openBlock as r, mergeProps as T, unref as e, renderSlot as c, createCommentVNode as C, createVNode as p, withCtx as u, createElementVNode as n, normalizeClass as i, createBlock as N, Fragment as V, renderList as D, createSlots as j, createTextVNode as P, toDisplayString as G } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "../ap-title/ApTitle.vue.mjs";
|
|
6
|
-
import "../ap-download/ap-download.vue2.mjs";
|
|
2
|
+
import { LoadingOutlined as M } from "@ant-design/icons-vue";
|
|
3
|
+
import { Tooltip as U, TypographyText as z, Empty as $ } from "@aplus-frontend/antdv";
|
|
4
|
+
import { IconVariantDownload as R, IconApAdLineCloseAttachments as q } from "@aplus-frontend/icon";
|
|
7
5
|
import "../../config-provider/index.mjs";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
6
|
+
import "../ap-download/ap-download.vue2.mjs";
|
|
7
|
+
import "../ap-title/ApTitle.vue.mjs";
|
|
8
|
+
import H from "./style/index.mjs";
|
|
9
|
+
import { getFileInfo as J } from "./utils/index.mjs";
|
|
10
10
|
import { useNamespace as K } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
import { useLocale as Q } from "../../config-provider/hooks/use-locale.mjs";
|
|
12
12
|
import { useGlobalConfig as w } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -24,10 +24,10 @@ const Y = ["onClick"], de = /* @__PURE__ */ O({
|
|
|
24
24
|
isFileAreaBorder: { type: Boolean, default: !1 }
|
|
25
25
|
},
|
|
26
26
|
setup(E) {
|
|
27
|
-
const { b: F, e: l, em: k } = K("ap-appendix"), { t: v } = Q(), I =
|
|
27
|
+
const { b: F, e: l, em: k } = K("ap-appendix"), { t: v } = Q(), I = H("ap-appendix"), a = E, h = w("apUpload"), _ = w(
|
|
28
28
|
"downloadCenterTriggerConfig"
|
|
29
29
|
), m = d(
|
|
30
|
-
() =>
|
|
30
|
+
() => J(
|
|
31
31
|
a?.needName ?? h?.value?.needName,
|
|
32
32
|
a?.fileList ?? []
|
|
33
33
|
)
|
|
@@ -86,7 +86,7 @@ const Y = ["onClick"], de = /* @__PURE__ */ O({
|
|
|
86
86
|
"file-name": m.value
|
|
87
87
|
}, {
|
|
88
88
|
icon: u(() => [
|
|
89
|
-
p(e(
|
|
89
|
+
p(e(R))
|
|
90
90
|
]),
|
|
91
91
|
_: 1
|
|
92
92
|
}, 8, ["class", "text", "get-oss-access", "file-name"]))
|
|
@@ -116,7 +116,7 @@ const Y = ["onClick"], de = /* @__PURE__ */ O({
|
|
|
116
116
|
[e(k)("file-area-content-item", "loading")]: o.value.includes(t)
|
|
117
117
|
})
|
|
118
118
|
}, [
|
|
119
|
-
p(e(
|
|
119
|
+
p(e(U), null, j({
|
|
120
120
|
default: u(() => [
|
|
121
121
|
n("div", {
|
|
122
122
|
class: i({
|
|
@@ -128,12 +128,12 @@ const Y = ["onClick"], de = /* @__PURE__ */ O({
|
|
|
128
128
|
n("div", {
|
|
129
129
|
class: i([e(l)("file-area-content-item-icon")])
|
|
130
130
|
}, [
|
|
131
|
-
o.value.includes(t) ? (r(), N(e(
|
|
131
|
+
o.value.includes(t) ? (r(), N(e(M), { key: 0 })) : (r(), N(e(q), { key: 1 }))
|
|
132
132
|
], 2),
|
|
133
133
|
n("div", {
|
|
134
134
|
class: i([e(l)("file-area-content-item-file-name")])
|
|
135
135
|
}, [
|
|
136
|
-
p(e(
|
|
136
|
+
p(e(z), {
|
|
137
137
|
ellipsis: "",
|
|
138
138
|
content: y.fileName
|
|
139
139
|
}, null, 8, ["content"])
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { defineComponent as W, ref as k, useSlots as _, computed as o, cloneVNode as j, toRaw as h, unref as K, createVNode as t, createTextVNode as R } from "vue";
|
|
2
|
+
import { LoadingOutlined as g } from "@ant-design/icons-vue";
|
|
2
3
|
import { Tooltip as B, Popover as G } from "@aplus-frontend/antdv";
|
|
4
|
+
import { debounce as H, isArray as M } from "lodash-unified";
|
|
5
|
+
import { useToken as q } from "../../config-provider/hooks/use-token.mjs";
|
|
6
|
+
import { warning as D } from "../../utils/warning.mjs";
|
|
3
7
|
import "../../config-provider/index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { getHexWithOpacity as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import { LoadingOutlined as g } from "@ant-design/icons-vue";
|
|
9
|
-
import { warning as J } from "../../utils/warning.mjs";
|
|
10
|
-
import Q from "./style/index.mjs";
|
|
11
|
-
import { useToken as X } from "../../config-provider/hooks/use-token.mjs";
|
|
8
|
+
import { useOssInit as E } from "../ap-download/hooks/index.mjs";
|
|
9
|
+
import { getHexWithOpacity as J, getFileInfo as F } from "../ap-download/utils/getFileInfo.mjs";
|
|
10
|
+
import { ApAttachmentProps as Q } from "./constans.mjs";
|
|
11
|
+
import X from "./style/index.mjs";
|
|
12
12
|
import { useNamespace as Y } from "../../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
import { useGlobalConfig as T } from "../../config-provider/hooks/use-global-config.mjs";
|
|
14
14
|
import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
|
|
15
15
|
const fe = /* @__PURE__ */ W({
|
|
16
16
|
name: "ApAttachment",
|
|
17
|
-
props:
|
|
17
|
+
props: Q(),
|
|
18
18
|
setup(e, {
|
|
19
19
|
emit: p
|
|
20
20
|
}) {
|
|
21
21
|
const {
|
|
22
22
|
b: x,
|
|
23
23
|
e: a
|
|
24
|
-
} = Y("ap-attachment"), L =
|
|
24
|
+
} = Y("ap-attachment"), L = X("ap-attachment"), C = T("apUpload"), N = T("downloadCenterTriggerConfig"), {
|
|
25
25
|
token: w
|
|
26
|
-
} =
|
|
26
|
+
} = q(), {
|
|
27
27
|
lang: O,
|
|
28
28
|
t: m
|
|
29
29
|
} = Z(), i = k(!1), c = k(""), d = _(), P = o(() => O.value === "zh-cn" ? "zh_CN" : "en_US"), s = o(() => e.needName ?? C?.value?.needName), f = o(() => e.attachmentList.length === 1), y = o(() => s.value ? e.attachmentList.length > 0 && s.value && s.value?.nameKey ? e.attachmentList[0][s.value.nameKey] : "" : e.attachmentList.length > 0 ? e.attachmentList[0].fileName : ""), I = o(() => f.value ? y.value : m("ap.apAttachment.downloadall")), A = o(() => ({
|
|
30
30
|
"--download-main-color": w.value?.colorLink,
|
|
31
|
-
"--download-main-color-opacity":
|
|
31
|
+
"--download-main-color-opacity": J(w.value?.colorLink, 0.6)
|
|
32
32
|
})), S = o(() => e.getOssAccess || C.value?.getOssAccess), V = o(() => {
|
|
33
33
|
const l = d.default ? d.default()[0] : null;
|
|
34
34
|
return l ? j(l, {
|
|
@@ -36,11 +36,11 @@ const fe = /* @__PURE__ */ W({
|
|
|
36
36
|
"font-size": "16px"
|
|
37
37
|
}
|
|
38
38
|
}) : null;
|
|
39
|
-
}), v =
|
|
39
|
+
}), v = H(async (l, r) => {
|
|
40
40
|
if (!e.disabled) {
|
|
41
41
|
i.value = !0, r && (c.value = r);
|
|
42
42
|
try {
|
|
43
|
-
const n =
|
|
43
|
+
const n = M(h(l)) ? h(l) : [h(l)];
|
|
44
44
|
if (N.value?.trigger) {
|
|
45
45
|
const u = F(s.value, n).map((b) => ({
|
|
46
46
|
objectName: b.path,
|
|
@@ -48,11 +48,11 @@ const fe = /* @__PURE__ */ W({
|
|
|
48
48
|
}));
|
|
49
49
|
N.value?.trigger(u), p("downloadCallback", u);
|
|
50
50
|
} else {
|
|
51
|
-
const u = await (await
|
|
51
|
+
const u = await (await E(S.value, K(P))).downloadFile(F(e.needName, n));
|
|
52
52
|
p("downloadCallback", u);
|
|
53
53
|
}
|
|
54
54
|
} catch (n) {
|
|
55
|
-
|
|
55
|
+
D(!1, n);
|
|
56
56
|
} finally {
|
|
57
57
|
i.value = !1, c.value = "";
|
|
58
58
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import t from "
|
|
2
|
-
import
|
|
1
|
+
import { withInstall as t } from "@aplus-frontend/utils";
|
|
2
|
+
import m from "./ApAttachment.mjs";
|
|
3
3
|
import "./interface.mjs";
|
|
4
|
-
const i = m
|
|
4
|
+
const i = t(m);
|
|
5
5
|
export {
|
|
6
6
|
i as ApAttachment
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApDownLoadProps } from '../../business/ap-download/interface';
|
|
2
1
|
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
2
|
+
import { ApDownLoadProps } from '../../business/ap-download/interface';
|
|
3
3
|
export type AttachmentItemProps = {
|
|
4
4
|
fileName?: string;
|
|
5
5
|
filePath?: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as O, useSlots as j, computed as t, createBlock as u, createCommentVNode as x, openBlock as p, unref as r, mergeProps as f, createSlots as S, withCtx as n, createElementVNode as E, normalizeStyle as q, resolveDynamicComponent as k, h as L, createVNode as i, renderList as g, renderSlot as A, normalizeProps as b, guardReactiveProps as v, normalizeClass as F } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import "./MenuItemGroup.vue.mjs";
|
|
5
|
-
import "../../config-provider/index.mjs";
|
|
6
|
-
import { DownOutlined as K } from "@ant-design/icons-vue";
|
|
2
|
+
import { DownOutlined as H } from "@ant-design/icons-vue";
|
|
3
|
+
import { DropdownButton as J, Dropdown as K } from "@aplus-frontend/antdv";
|
|
7
4
|
import { usePermission as M } from "@aplus-frontend/hooks";
|
|
8
5
|
import { useInjectApTable as Q } from "../../ap-table/context.mjs";
|
|
6
|
+
import "../../ap-button/index.mjs";
|
|
7
|
+
import "../../config-provider/index.mjs";
|
|
8
|
+
import "./MenuItemGroup.vue.mjs";
|
|
9
9
|
import U from "./style/index.mjs";
|
|
10
10
|
import { useNamespace as W } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
import { useLocale as X } from "../../config-provider/hooks/use-locale.mjs";
|
|
@@ -40,7 +40,7 @@ const me = /* @__PURE__ */ O({
|
|
|
40
40
|
return $({
|
|
41
41
|
columns: T,
|
|
42
42
|
dataSource: N
|
|
43
|
-
}), (o, m) => l.value.length && w.value === "dropdown" ? (p(), u(r(
|
|
43
|
+
}), (o, m) => l.value.length && w.value === "dropdown" ? (p(), u(r(J), f({
|
|
44
44
|
key: 0,
|
|
45
45
|
class: [r(h)(), r(D)]
|
|
46
46
|
}, {
|
|
@@ -70,7 +70,7 @@ const me = /* @__PURE__ */ O({
|
|
|
70
70
|
A(o.$slots, s, b(v(d || {})))
|
|
71
71
|
])
|
|
72
72
|
}))
|
|
73
|
-
]), 1040, ["class"])) : l.value.length && w.value === "default" ? (p(), u(r(
|
|
73
|
+
]), 1040, ["class"])) : l.value.length && w.value === "default" ? (p(), u(r(K), {
|
|
74
74
|
key: 1,
|
|
75
75
|
class: F([r(h)()]),
|
|
76
76
|
disabled: c.value
|
|
@@ -88,7 +88,7 @@ const me = /* @__PURE__ */ O({
|
|
|
88
88
|
})), {
|
|
89
89
|
default: n(() => [
|
|
90
90
|
(p(), u(k(L("span", [P.value])))),
|
|
91
|
-
i(r(
|
|
91
|
+
i(r(H))
|
|
92
92
|
]),
|
|
93
93
|
_: 1
|
|
94
94
|
}, 16)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ButtonProps, MenuItemProps } from '@aplus-frontend/antdv';
|
|
2
|
-
import { ApButtonProps } from '../../ap-button/interface';
|
|
3
2
|
import { DropdownButtonProps } from '@aplus-frontend/antdv/es/dropdown';
|
|
4
|
-
import { VNodeChild } from 'vue';
|
|
5
3
|
import { ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
4
|
+
import { VNodeChild } from 'vue';
|
|
5
|
+
import { ApButtonProps } from '../../ap-button/interface';
|
|
6
6
|
type ApBatchActionGroupButtonType = ButtonProps['type'] | 'borderLink';
|
|
7
7
|
type MixinButton<T> = Omit<T, 'type'> & {
|
|
8
8
|
type?: ApBatchActionGroupButtonType;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as v, computed as k, createBlock as r, openBlock as o, unref as u, normalizeProps as T, guardReactiveProps as P, withCtx as c, createElementBlock as i, Fragment as s, renderList as R, createCommentVNode as S, mergeProps as n, resolveDynamicComponent as m, h as _ } from "vue";
|
|
2
2
|
import { Space as B } from "@aplus-frontend/antdv";
|
|
3
|
-
import "
|
|
3
|
+
import { usePermission as x } from "@aplus-frontend/hooks";
|
|
4
|
+
import { omit as a } from "lodash-unified";
|
|
4
5
|
import "../../ap-button/ap-action-button.vue2.mjs";
|
|
6
|
+
import "../../ap-button/ap-button.vue2.mjs";
|
|
5
7
|
import "../ap-batch-action-group/ApBatchActionGroup.vue.mjs";
|
|
6
8
|
import "../ap-export-group/ApExportGroup.vue.mjs";
|
|
7
|
-
import { omit as a } from "lodash-unified";
|
|
8
|
-
import { usePermission as x } from "@aplus-frontend/hooks";
|
|
9
9
|
import C from "../../ap-button/ap-button.vue.mjs";
|
|
10
10
|
import L from "../../ap-button/ap-action-button.vue.mjs";
|
|
11
11
|
import $ from "../ap-batch-action-group/ApBatchActionGroup.vue2.mjs";
|