@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,188 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { DownOutlined as Q } from "@ant-design/icons-vue";
|
|
3
|
-
import { Alert as U, Tooltip as X } from "@aplus-frontend/antdv";
|
|
4
|
-
import { ApActionItem as Y } from "../../ap-action/index.mjs";
|
|
5
|
-
import "../../config-provider/index.mjs";
|
|
6
|
-
import { isNil as Z, isString as B } from "lodash-unified";
|
|
7
|
-
import _ from "./style/index.mjs";
|
|
8
|
-
import { useLocale as ee } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
|
-
import { useNamespace as te } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
-
const le = ["onClick"], fe = /* @__PURE__ */ j({
|
|
11
|
-
__name: "ApExpandAlert",
|
|
12
|
-
props: {
|
|
13
|
-
type: { default: "warning" },
|
|
14
|
-
data: { default: () => [] },
|
|
15
|
-
prefix: { default: "" },
|
|
16
|
-
tipTitle: { default: "" },
|
|
17
|
-
mapLabel: {},
|
|
18
|
-
separator: { default: "|" },
|
|
19
|
-
separatorStyle: { default: () => ({}) },
|
|
20
|
-
contentStyle: { default: () => ({}) },
|
|
21
|
-
prefixStyle: { default: () => ({}) },
|
|
22
|
-
rows: { default: 2 },
|
|
23
|
-
defaultExpand: { type: Boolean, default: !0 },
|
|
24
|
-
showIcon: { type: Boolean, default: !0 },
|
|
25
|
-
closable: { type: Boolean },
|
|
26
|
-
afterClose: {}
|
|
27
|
-
},
|
|
28
|
-
emits: ["choose", "expand", "close"],
|
|
29
|
-
setup(D, { expose: V, emit: R }) {
|
|
30
|
-
const v = R, p = D, { t: N } = ee(), q = c(() => {
|
|
31
|
-
if (p.type != "card")
|
|
32
|
-
return p.type;
|
|
33
|
-
}), a = f(""), d = f(null), F = c(() => ({
|
|
34
|
-
fontWeight: "400",
|
|
35
|
-
wordBreak: "break-all",
|
|
36
|
-
overflow: "hidden",
|
|
37
|
-
display: "-webkit-box",
|
|
38
|
-
webkitLineClamp: a.value,
|
|
39
|
-
webkitBoxOrient: "vertical",
|
|
40
|
-
lineHeight: "18px"
|
|
41
|
-
}));
|
|
42
|
-
function M() {
|
|
43
|
-
a.value === "1" ? (a.value = "", v("expand", "expand")) : (a.value = "1", v("expand", "collapse"));
|
|
44
|
-
}
|
|
45
|
-
const O = c(() => a.value === "1" ? N("ap.apExpandAlert.expand") : N("ap.apExpandAlert.collapse")), k = f(!0), T = c(() => a.value !== "1");
|
|
46
|
-
function w(e) {
|
|
47
|
-
e ? a.value = "" : a.value = "1";
|
|
48
|
-
}
|
|
49
|
-
const H = f(!1);
|
|
50
|
-
function K(e) {
|
|
51
|
-
v("close", e), H.value = !0;
|
|
52
|
-
}
|
|
53
|
-
x(
|
|
54
|
-
() => p.data,
|
|
55
|
-
() => {
|
|
56
|
-
a.value = "", m(() => {
|
|
57
|
-
if (d.value) {
|
|
58
|
-
const e = Number(d.value.clientHeight), r = Number(
|
|
59
|
-
parseInt(d.value.style.lineHeight)
|
|
60
|
-
);
|
|
61
|
-
e < r * Number(p.rows) && T.value ? k.value = !1 : k.value = !0;
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
immediate: !0
|
|
67
|
-
}
|
|
68
|
-
), x(
|
|
69
|
-
() => p.defaultExpand,
|
|
70
|
-
(e) => {
|
|
71
|
-
e ? m(() => {
|
|
72
|
-
w(e);
|
|
73
|
-
}) : m(() => {
|
|
74
|
-
w(e);
|
|
75
|
-
});
|
|
76
|
-
},
|
|
77
|
-
{ immediate: !0 }
|
|
78
|
-
), G(() => {
|
|
79
|
-
x(
|
|
80
|
-
() => p.contentStyle,
|
|
81
|
-
(e) => {
|
|
82
|
-
Z(e.lineHeight) || m(() => {
|
|
83
|
-
const r = document.querySelector(
|
|
84
|
-
`#${b} .ant-alert-action`
|
|
85
|
-
), s = document.querySelector(
|
|
86
|
-
`#${b} .ant-alert-icon`
|
|
87
|
-
);
|
|
88
|
-
r && r.setAttribute("style", `line-height: ${e.lineHeight}`), s && s.setAttribute("style", `line-height: ${e.lineHeight}`);
|
|
89
|
-
});
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
deep: !0,
|
|
93
|
-
immediate: !0,
|
|
94
|
-
flush: "post"
|
|
95
|
-
}
|
|
96
|
-
);
|
|
97
|
-
});
|
|
98
|
-
const { b: I, e: o } = te("ap-expand-alert"), W = _("ap-expand-alert"), b = `${I()}-key-${Date.now()}-${(Math.random() * 1e6).toFixed(0)}`;
|
|
99
|
-
return V({
|
|
100
|
-
setExpand: w
|
|
101
|
-
}), (e, r) => H.value ? C("", !0) : (l(), i("div", {
|
|
102
|
-
key: 0,
|
|
103
|
-
id: b,
|
|
104
|
-
class: n([t(I)(), t(W)])
|
|
105
|
-
}, [
|
|
106
|
-
S(t(U), {
|
|
107
|
-
type: q.value,
|
|
108
|
-
"show-icon": e.showIcon,
|
|
109
|
-
closable: e.closable,
|
|
110
|
-
class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""]),
|
|
111
|
-
"after-close": e.afterClose,
|
|
112
|
-
onClose: K
|
|
113
|
-
}, {
|
|
114
|
-
action: y(() => [
|
|
115
|
-
k.value ? (l(), E(t(Y), {
|
|
116
|
-
key: 0,
|
|
117
|
-
size: "small",
|
|
118
|
-
style: { "font-size": "12px", "padding-left": "16px" },
|
|
119
|
-
onClick: r[0] || (r[0] = (s) => M())
|
|
120
|
-
}, {
|
|
121
|
-
default: y(() => [
|
|
122
|
-
$("span", {
|
|
123
|
-
class: n(t(o)("expandText"))
|
|
124
|
-
}, u(O.value), 3),
|
|
125
|
-
S(t(Q), {
|
|
126
|
-
class: n(T.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
|
|
127
|
-
}, null, 8, ["class"])
|
|
128
|
-
]),
|
|
129
|
-
_: 1
|
|
130
|
-
})) : C("", !0)
|
|
131
|
-
]),
|
|
132
|
-
message: y(() => [
|
|
133
|
-
$("div", {
|
|
134
|
-
ref_key: "ellipsisBoxRef",
|
|
135
|
-
ref: d,
|
|
136
|
-
style: h({ ...F.value, ...e.contentStyle }),
|
|
137
|
-
class: n(t(o)("alertContent"))
|
|
138
|
-
}, [
|
|
139
|
-
L(e.$slots, "default", {}, () => [
|
|
140
|
-
t(B)(e.prefix) ? (l(), i("span", {
|
|
141
|
-
key: 0,
|
|
142
|
-
class: n(t(o)("prefix")),
|
|
143
|
-
style: h(e.prefixStyle)
|
|
144
|
-
}, u(e.prefix), 7)) : (l(), E(z(e.prefix), {
|
|
145
|
-
key: 1,
|
|
146
|
-
style: h(e.prefixStyle)
|
|
147
|
-
}, null, 8, ["style"])),
|
|
148
|
-
t(B)(e.data) ? (l(), i("span", {
|
|
149
|
-
key: 2,
|
|
150
|
-
class: n(t(o)("text"))
|
|
151
|
-
}, u(e.data), 3)) : (l(!0), i(A, { key: 3 }, J(e.data, (s, g) => (l(), i(A, { key: g }, [
|
|
152
|
-
S(t(X), {
|
|
153
|
-
title: e.tipTitle ? e.tipTitle : null
|
|
154
|
-
}, {
|
|
155
|
-
default: y(() => [
|
|
156
|
-
L(e.$slots, "item", {
|
|
157
|
-
record: s,
|
|
158
|
-
index: g
|
|
159
|
-
}, () => [
|
|
160
|
-
$("span", {
|
|
161
|
-
class: n(t(o)("showItem")),
|
|
162
|
-
onClick: (ae) => e.$emit("choose", s)
|
|
163
|
-
}, u(e.mapLabel ? s[e.mapLabel] : s), 11, le)
|
|
164
|
-
])
|
|
165
|
-
]),
|
|
166
|
-
_: 2
|
|
167
|
-
}, 1032, ["title"]),
|
|
168
|
-
g !== e.data.length - 1 ? (l(), i("span", {
|
|
169
|
-
key: 0,
|
|
170
|
-
class: n(t(o)("spliter")),
|
|
171
|
-
style: h(e.separatorStyle)
|
|
172
|
-
}, [
|
|
173
|
-
t(B)(e.separator) ? (l(), i(A, { key: 0 }, [
|
|
174
|
-
P(u(e.separator), 1)
|
|
175
|
-
], 64)) : (l(), E(z(e.separator), { key: 1 }))
|
|
176
|
-
], 6)) : C("", !0)
|
|
177
|
-
], 64))), 128))
|
|
178
|
-
])
|
|
179
|
-
], 6)
|
|
180
|
-
]),
|
|
181
|
-
_: 3
|
|
182
|
-
}, 8, ["type", "show-icon", "closable", "class", "after-close"])
|
|
183
|
-
], 2));
|
|
184
|
-
}
|
|
185
|
-
});
|
|
1
|
+
import f from "./ApExpandAlert.vue.mjs";
|
|
186
2
|
export {
|
|
187
|
-
|
|
3
|
+
f as default
|
|
188
4
|
};
|
|
@@ -1,64 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as ApExpandAlert } from './ApExpandAlert.vue';
|
|
2
2
|
export * from './interface';
|
|
3
|
-
declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
|
-
attrs: any;
|
|
5
|
-
slots: Readonly<{
|
|
6
|
-
default(props: any): any;
|
|
7
|
-
item(props: {
|
|
8
|
-
record: T;
|
|
9
|
-
index: number;
|
|
10
|
-
}): any;
|
|
11
|
-
}> & {
|
|
12
|
-
default(props: any): any;
|
|
13
|
-
item(props: {
|
|
14
|
-
record: T;
|
|
15
|
-
index: number;
|
|
16
|
-
}): any;
|
|
17
|
-
};
|
|
18
|
-
emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
19
|
-
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
20
|
-
props: {
|
|
21
|
-
readonly onClose?: ((args_0: MouseEvent) => any) | undefined;
|
|
22
|
-
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
23
|
-
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
24
|
-
type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
|
|
25
|
-
data?: string | T[] | undefined;
|
|
26
|
-
prefix?: string | undefined;
|
|
27
|
-
tipTitle?: string | undefined;
|
|
28
|
-
mapLabel?: string | undefined;
|
|
29
|
-
separator?: ( Component | VNode | string) | undefined;
|
|
30
|
-
separatorStyle?: CSSProperties | undefined;
|
|
31
|
-
contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
|
|
32
|
-
prefixStyle?: CSSProperties | undefined;
|
|
33
|
-
rows?: string | number | undefined;
|
|
34
|
-
defaultExpand?: boolean | undefined;
|
|
35
|
-
closable?: boolean | undefined;
|
|
36
|
-
afterClose?: (() => void) | undefined;
|
|
37
|
-
showIcon?: boolean | undefined;
|
|
38
|
-
} & PublicProps;
|
|
39
|
-
expose(exposed: ShallowUnwrapRef<{
|
|
40
|
-
setExpand: (state?: boolean) => void;
|
|
41
|
-
}>): void;
|
|
42
|
-
attrs: any;
|
|
43
|
-
slots: Readonly<{
|
|
44
|
-
default(props: any): any;
|
|
45
|
-
item(props: {
|
|
46
|
-
record: T;
|
|
47
|
-
index: number;
|
|
48
|
-
}): any;
|
|
49
|
-
}> & {
|
|
50
|
-
default(props: any): any;
|
|
51
|
-
item(props: {
|
|
52
|
-
record: T;
|
|
53
|
-
index: number;
|
|
54
|
-
}): any;
|
|
55
|
-
};
|
|
56
|
-
emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
57
|
-
}>) => VNode & {
|
|
58
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
59
|
-
}) & ( Plugin & (new (...args: any[]) => {
|
|
60
|
-
$props: {
|
|
61
|
-
onClick?: () => void;
|
|
62
|
-
};
|
|
63
|
-
}));
|
|
64
3
|
export { ApExpandAlert };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as $, ref as P, computed as c, watch as O, createElementBlock as V, openBlock as p, Fragment as z, createBlock as f, createCommentVNode as w, unref as o, mergeProps as E, withCtx as l, createTextVNode as v, toDisplayString as g, normalizeClass as U, createVNode as L } from "vue";
|
|
2
2
|
import { DownOutlined as H } from "@ant-design/icons-vue";
|
|
3
3
|
import { message as J, Dropdown as Q, Menu as W, MenuItem as A } from "@aplus-frontend/antdv";
|
|
4
|
-
import "../../config-provider/index.mjs";
|
|
5
|
-
import { ApExportGroupActionType as s } from "./interface.mjs";
|
|
6
4
|
import { usePermission as X } from "@aplus-frontend/hooks";
|
|
7
|
-
import { handleExportDownload as Y } from "./handleExportDownload.mjs";
|
|
8
|
-
import { useInjectApTable as Z } from "../../ap-table/context.mjs";
|
|
9
|
-
import { convertExportField as ee } from "./convertExportField.mjs";
|
|
10
5
|
import "../../ap-button/index.mjs";
|
|
11
|
-
import {
|
|
6
|
+
import { useInjectApTable as Y } from "../../ap-table/context.mjs";
|
|
7
|
+
import "../../config-provider/index.mjs";
|
|
8
|
+
import { ApBatchActionGroup as Z } from "../ap-batch-action-group/index.mjs";
|
|
9
|
+
import { convertExportField as ee } from "./convertExportField.mjs";
|
|
10
|
+
import { handleExportDownload as te } from "./handleExportDownload.mjs";
|
|
11
|
+
import { ApExportGroupActionType as s } from "./interface.mjs";
|
|
12
12
|
import { useNamespace as oe } from "../../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
import { useLocale as ae } from "../../config-provider/hooks/use-locale.mjs";
|
|
14
14
|
import { useGlobalConfig as re } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -33,7 +33,7 @@ const he = /* @__PURE__ */ $({
|
|
|
33
33
|
exportField: { type: [Boolean, Object], default: void 0 }
|
|
34
34
|
},
|
|
35
35
|
setup(_) {
|
|
36
|
-
const { hasPermission: B } = X(), e = _, { columns: S, dataSource: C } =
|
|
36
|
+
const { hasPermission: B } = X(), e = _, { columns: S, dataSource: C } = Y(), { b: M } = oe("ap-export-group"), { t: n } = ae(), F = re("exportField"), u = P(!1), x = P(!1), i = c(
|
|
37
37
|
() => !!e?.disabled || (C !== void 0 ? !C?.value?.length : !1) || u.value
|
|
38
38
|
);
|
|
39
39
|
O(
|
|
@@ -83,7 +83,7 @@ const he = /* @__PURE__ */ $({
|
|
|
83
83
|
)
|
|
84
84
|
} : {}
|
|
85
85
|
);
|
|
86
|
-
y = a?.beforeRequest?.(y) || y, await
|
|
86
|
+
y = a?.beforeRequest?.(y) || y, await te(async () => await I?.(y)), a?.successMessage && J.success(R.value);
|
|
87
87
|
} finally {
|
|
88
88
|
u.value = !1;
|
|
89
89
|
}
|
|
@@ -163,7 +163,7 @@ const he = /* @__PURE__ */ $({
|
|
|
163
163
|
]),
|
|
164
164
|
_: 1
|
|
165
165
|
}, 8, ["open", "class", "disabled"])) : w("", !0),
|
|
166
|
-
b.value && e.type === "group" ? (p(), f(o(
|
|
166
|
+
b.value && e.type === "group" ? (p(), f(o(Z), E({ key: 2 }, {
|
|
167
167
|
...t.$attrs
|
|
168
168
|
}, {
|
|
169
169
|
disabled: i.value,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
1
2
|
import { ApColumnType } from '../../ap-table/interface';
|
|
2
3
|
import { ApGridColumnType } from './../../ap-grid/interface';
|
|
3
|
-
import { ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
4
4
|
export declare const convertExportField: (columns: ColumnType[] | ApGridColumnType[] | ApColumnType[], convertField?: {
|
|
5
5
|
[key: string]: string[];
|
|
6
6
|
}) => any[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Modal as e } from "@aplus-frontend/antdv";
|
|
2
|
+
import { formatFileNameAndDownloadFile as a } from "@aplus-frontend/utils";
|
|
3
3
|
async function c(o) {
|
|
4
4
|
const t = await o?.();
|
|
5
|
-
Object.prototype.toString.call(t?.data) === "[object Blob]" &&
|
|
6
|
-
|
|
5
|
+
Object.prototype.toString.call(t?.data) === "[object Blob]" && a(t).catch((r) => {
|
|
6
|
+
e.error({
|
|
7
7
|
title: r,
|
|
8
8
|
centered: !0
|
|
9
9
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { handleExportDownload } from './handleExportDownload';
|
|
2
1
|
import { convertExportField } from './convertExportField';
|
|
2
|
+
import { handleExportDownload } from './handleExportDownload';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
4
4
|
import { ApExportGroupProps } from './interface';
|
|
5
5
|
export * from './interface';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { withInstall as o } from "@aplus-frontend/utils";
|
|
2
2
|
import "./ApExportGroup.vue.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { convertExportField as n } from "./convertExportField.mjs";
|
|
4
|
+
import { handleExportDownload as l } from "./handleExportDownload.mjs";
|
|
5
5
|
import { ApExportGroupActionType as c } from "./interface.mjs";
|
|
6
6
|
import r from "./ApExportGroup.vue2.mjs";
|
|
7
7
|
const e = o(r);
|
|
8
8
|
export {
|
|
9
9
|
e as ApExportGroup,
|
|
10
10
|
c as ApExportGroupActionType,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
n as convertExportField,
|
|
12
|
+
l as handleExportDownload
|
|
13
13
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as M, computed as n, ref as S, watchEffect as U, createBlock as p, openBlock as l, unref as a, mergeProps as f, withCtx as j, renderSlot as B, normalizeProps as E, guardReactiveProps as L, createElementVNode as g, normalizeClass as x, createElementBlock as D, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as z } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { DownloadOutlined as V } from "@ant-design/icons-vue";
|
|
3
|
+
import { Image as W } from "@aplus-frontend/antdv";
|
|
4
|
+
import { omit as G } from "lodash-unified";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import H from "./
|
|
6
|
+
import { injectLocaleToOss as $, getOssInstance as q, getSignatureUrl as H } from "./hooks/useOss.mjs";
|
|
7
7
|
import J from "./imgs/admin-fallback.jpg.mjs";
|
|
8
8
|
import K from "./imgs/user-fallback.jpg.mjs";
|
|
9
|
-
import
|
|
9
|
+
import Q from "./style/index.mjs";
|
|
10
10
|
import { useNamespace as X } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
import { useGlobalConfig as c } from "../../config-provider/hooks/use-global-config.mjs";
|
|
12
12
|
import { useLocale as Y } from "../../config-provider/hooks/use-locale.mjs";
|
|
@@ -24,7 +24,7 @@ const ue = /* @__PURE__ */ M({
|
|
|
24
24
|
preview: { type: [Boolean, Object], default: !0 }
|
|
25
25
|
},
|
|
26
26
|
setup(v) {
|
|
27
|
-
const { b: i } = X("ap-image"), m =
|
|
27
|
+
const { b: i } = X("ap-image"), m = Q("ap-image"), e = v, u = {
|
|
28
28
|
aplus: K,
|
|
29
29
|
admin: J
|
|
30
30
|
}, b = c("apImage", { uiMode: "aplus" }), h = c("apUpload"), d = c(
|
|
@@ -36,7 +36,7 @@ const ue = /* @__PURE__ */ M({
|
|
|
36
36
|
), y = n(
|
|
37
37
|
() => u[k.value] || u.aplus
|
|
38
38
|
), A = n(() => e?.fallback || y.value), s = S("");
|
|
39
|
-
|
|
39
|
+
$(w, C), U(async () => {
|
|
40
40
|
if (!e?.src) {
|
|
41
41
|
s.value = "";
|
|
42
42
|
return;
|
|
@@ -46,7 +46,7 @@ const ue = /* @__PURE__ */ M({
|
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
48
|
try {
|
|
49
|
-
const t = await
|
|
49
|
+
const t = await q(O.value), r = await H({
|
|
50
50
|
oss: t,
|
|
51
51
|
fileName: e.src
|
|
52
52
|
});
|
|
@@ -77,10 +77,10 @@ const ue = /* @__PURE__ */ M({
|
|
|
77
77
|
const o = document.createElement("a");
|
|
78
78
|
o.href = t, o.rel = "noopener noreferrer", o.setAttribute("download", r), document.body.appendChild(o), o.click(), document.body.removeChild(o);
|
|
79
79
|
};
|
|
80
|
-
return (t, r) => (l(), p(a(
|
|
80
|
+
return (t, r) => (l(), p(a(W), f({
|
|
81
81
|
class: [a(i)(), a(m)]
|
|
82
82
|
}, {
|
|
83
|
-
...a(
|
|
83
|
+
...a(G)(e, ["src", "getOssAccess"]),
|
|
84
84
|
fallback: A.value,
|
|
85
85
|
src: s.value
|
|
86
86
|
}), {
|
|
@@ -94,7 +94,7 @@ const ue = /* @__PURE__ */ M({
|
|
|
94
94
|
class: "ant-image-preview-operations-operation",
|
|
95
95
|
onClick: N
|
|
96
96
|
}, [
|
|
97
|
-
z(a(
|
|
97
|
+
z(a(V))
|
|
98
98
|
])
|
|
99
99
|
], 2)
|
|
100
100
|
])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { accessCreate, Oss } from '@aplus-frontend/oss';
|
|
2
|
-
import { Translator } from '../../../config-provider';
|
|
3
2
|
import { Ref } from 'vue';
|
|
3
|
+
import { Translator } from '../../../config-provider';
|
|
4
4
|
type GetOssAccess = () => Promise<accessCreate>;
|
|
5
5
|
export declare function injectLocaleToOss(tValue: Translator, langValue: Ref<string>): void;
|
|
6
6
|
export declare function getOssInstance(getOssAccess?: GetOssAccess): Promise<Oss>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as g, onMounted as h, createElementBlock as R, openBlock as V, normalizeClass as b, unref as t, createVNode as u, mergeProps as I } from "vue";
|
|
2
|
-
import "../../config-provider/index.mjs";
|
|
3
2
|
import { Form as B, InputNumber as k, RadioGroup as x } from "@aplus-frontend/antdv";
|
|
4
3
|
import { omit as y } from "lodash-unified";
|
|
4
|
+
import "../../config-provider/index.mjs";
|
|
5
5
|
import _ from "./style/index.mjs";
|
|
6
6
|
import { useLocale as F } from "../../config-provider/hooks/use-locale.mjs";
|
|
7
7
|
import { useNamespace as N } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { withInstall as e } from "@aplus-frontend/utils";
|
|
2
|
-
import o from "./keep-alive.mjs";
|
|
3
2
|
import { LruCacher as i } from "./cacher/lru-cacher.mjs";
|
|
4
3
|
import { useApKeepAliveInject as a } from "./hook.mjs";
|
|
4
|
+
import o from "./keep-alive.mjs";
|
|
5
5
|
import { matches as c } from "./utils.mjs";
|
|
6
6
|
import { ApKeepAliveProps as x, forceStopTags as h } from "./interface.mjs";
|
|
7
7
|
const t = e(o);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
+
import { catchWrapper as v, measureWrapper as y } from "@aplus-frontend/utils";
|
|
2
|
+
import { throttle as k } from "lodash-unified";
|
|
1
3
|
import { defineComponent as U, getCurrentInstance as j, ref as C, onMounted as M, onUpdated as E, onBeforeUnmount as z, onBeforeUpdate as F } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { catchWrapper as w, measureWrapper as h } from "@aplus-frontend/utils";
|
|
5
|
-
import { LruCacher as O } from "./cacher/lru-cacher.mjs";
|
|
4
|
+
import { LruCacher as L } from "./cacher/lru-cacher.mjs";
|
|
5
|
+
import { useApKeepAliveProvide as O } from "./hook.mjs";
|
|
6
6
|
import { forceStopTags as W, ApKeepAliveProps as R } from "./interface.mjs";
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
7
|
+
import I from "./keeper/index.mjs";
|
|
8
|
+
import { matches as D, getAliveKey as T, isNoValue as _, getVNodeObjByVNodeChild as h, getVNodeObjByVNodeArrayChildren as K, getVNodeChirldren as w, getFirstVNodeChirldren as x } from "./utils.mjs";
|
|
9
9
|
const s = console, c = "|", ee = U({
|
|
10
10
|
name: "ApKeepAlive",
|
|
11
11
|
inheritAttrs: !1,
|
|
12
12
|
props: R(),
|
|
13
13
|
setup(n, { slots: B }) {
|
|
14
|
-
const f = j(), b = (e) => !(n.include && (!e || !
|
|
14
|
+
const f = j(), b = (e) => !(n.include && (!e || !D(n.include, e)) || n.exclude && e && D(n.exclude, e)), d = n.store || new L(n.max), a = C("");
|
|
15
15
|
let g = "";
|
|
16
16
|
const A = /* @__PURE__ */ new Set([...W, ...n.stopTags]), m = (e, o = "") => {
|
|
17
17
|
const t = [];
|
|
18
18
|
if (!e) return t;
|
|
19
|
-
const { VnodeName: i, vnodeSubPath: l } =
|
|
19
|
+
const { VnodeName: i, vnodeSubPath: l } = T(
|
|
20
20
|
e,
|
|
21
21
|
a.value
|
|
22
22
|
);
|
|
23
23
|
l && (o += c + l);
|
|
24
|
-
const u =
|
|
24
|
+
const u = I[i];
|
|
25
25
|
if (u) {
|
|
26
26
|
const r = u.get(e);
|
|
27
|
-
!
|
|
27
|
+
!_(r) && t.push([o, r]);
|
|
28
28
|
}
|
|
29
29
|
if (A.has(i))
|
|
30
30
|
return n.debug && s.log("[ stop-VnodeName ] >", i, o), t;
|
|
31
31
|
if (e.children)
|
|
32
32
|
if (Array.isArray(e.children))
|
|
33
33
|
e.children.forEach((r) => {
|
|
34
|
-
r =
|
|
34
|
+
r = h(r), r && t.push(...m(r, o));
|
|
35
35
|
});
|
|
36
36
|
else {
|
|
37
|
-
const r =
|
|
37
|
+
const r = K(e.children);
|
|
38
38
|
r && t.push(...m(r, o));
|
|
39
39
|
}
|
|
40
40
|
return e.component?.subTree && t.push(...m(e.component.subTree, o)), t;
|
|
41
41
|
}, p = async (e, o, t = "") => {
|
|
42
42
|
if (!e || !o || o?.size < 1) return;
|
|
43
|
-
const { VnodeName: i, vnodeSubPath: l } =
|
|
43
|
+
const { VnodeName: i, vnodeSubPath: l } = T(
|
|
44
44
|
e,
|
|
45
45
|
a.value
|
|
46
46
|
);
|
|
47
47
|
l && (t += c + l);
|
|
48
|
-
const u =
|
|
48
|
+
const u = I[i];
|
|
49
49
|
if (u) {
|
|
50
50
|
n.debug && s.log("[ vnkeeper ] >", i, e.key);
|
|
51
51
|
const r = t.split(c).slice(-1).join(c), S = o.get(r);
|
|
@@ -58,16 +58,16 @@ const s = console, c = "|", ee = U({
|
|
|
58
58
|
if (e.children)
|
|
59
59
|
if (Array.isArray(e.children))
|
|
60
60
|
e.children.forEach((r) => {
|
|
61
|
-
r =
|
|
61
|
+
r = h(r), r && p(r, o, t);
|
|
62
62
|
});
|
|
63
63
|
else {
|
|
64
|
-
const r =
|
|
64
|
+
const r = K(e.children);
|
|
65
65
|
r && p(r, o, t);
|
|
66
66
|
}
|
|
67
67
|
e.component?.subTree && p(e.component.subTree, o, t);
|
|
68
|
-
}, N =
|
|
69
|
-
|
|
70
|
-
const e =
|
|
68
|
+
}, N = k(() => {
|
|
69
|
+
v(() => {
|
|
70
|
+
const e = w(f), o = x(e), t = h(o);
|
|
71
71
|
if (!t || typeof t.type == "string" || (typeof t.type == "object" && "name" in t.type && (g = t.type.name || ""), a.value = t.key || g || "", !b(g)) || !a.value)
|
|
72
72
|
return;
|
|
73
73
|
const i = d.get(a.value);
|
|
@@ -83,7 +83,7 @@ const s = console, c = "|", ee = U({
|
|
|
83
83
|
});
|
|
84
84
|
M(() => {
|
|
85
85
|
if (n.debug) {
|
|
86
|
-
s.log("[ onMounted ] >", n.exclude),
|
|
86
|
+
s.log("[ onMounted ] >", n.exclude), y(() => {
|
|
87
87
|
N();
|
|
88
88
|
});
|
|
89
89
|
return;
|
|
@@ -91,16 +91,16 @@ const s = console, c = "|", ee = U({
|
|
|
91
91
|
N();
|
|
92
92
|
}), E(() => {
|
|
93
93
|
if (n.debug) {
|
|
94
|
-
s.log("[ onUpdated ] >", n.exclude),
|
|
94
|
+
s.log("[ onUpdated ] >", n.exclude), y(() => {
|
|
95
95
|
N();
|
|
96
96
|
});
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
N();
|
|
100
100
|
});
|
|
101
|
-
const V =
|
|
102
|
-
|
|
103
|
-
const e =
|
|
101
|
+
const V = k(() => {
|
|
102
|
+
v(() => {
|
|
103
|
+
const e = w(f), o = x(e), t = h(o);
|
|
104
104
|
if (!t) return;
|
|
105
105
|
if (!a.value) {
|
|
106
106
|
s.warn(
|
|
@@ -127,7 +127,7 @@ const s = console, c = "|", ee = U({
|
|
|
127
127
|
});
|
|
128
128
|
return z(() => {
|
|
129
129
|
if (n.debug) {
|
|
130
|
-
s.log("[ onBeforeUnmount ] >"),
|
|
130
|
+
s.log("[ onBeforeUnmount ] >"), y(() => {
|
|
131
131
|
V();
|
|
132
132
|
});
|
|
133
133
|
return;
|
|
@@ -135,13 +135,13 @@ const s = console, c = "|", ee = U({
|
|
|
135
135
|
V();
|
|
136
136
|
}), F(() => {
|
|
137
137
|
if (n.debug) {
|
|
138
|
-
s.log("[ onBeforeUpdate ] >"),
|
|
138
|
+
s.log("[ onBeforeUpdate ] >"), y(() => {
|
|
139
139
|
V();
|
|
140
140
|
});
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
143
|
V();
|
|
144
|
-
}),
|
|
144
|
+
}), O(d, a), () => B.default?.();
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
export {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import r from "./ap-form-keeper.mjs";
|
|
2
2
|
import e from "./ap-grid-keeper.mjs";
|
|
3
|
-
import p from "./ap-
|
|
4
|
-
import o from "./ap-
|
|
5
|
-
import m from "./
|
|
6
|
-
import i from "./ap-
|
|
7
|
-
import t from "./
|
|
8
|
-
import a from "./
|
|
9
|
-
import f from "./edit-
|
|
3
|
+
import p from "./ap-list-keeper.mjs";
|
|
4
|
+
import o from "./ap-radio-group-keeper.mjs";
|
|
5
|
+
import m from "./ap-search-form-keeper.mjs";
|
|
6
|
+
import i from "./ap-table-keeper.mjs";
|
|
7
|
+
import t from "./ap-view-keeper.mjs";
|
|
8
|
+
import a from "./edit-grid-keeper.mjs";
|
|
9
|
+
import f from "./edit-table-keeper.mjs";
|
|
10
10
|
import d from "./step-keeper.mjs";
|
|
11
|
-
import K from "./
|
|
11
|
+
import K from "./tab-keeper.mjs";
|
|
12
12
|
const w = {
|
|
13
|
-
ApList:
|
|
13
|
+
ApList: p,
|
|
14
14
|
ApForm: r,
|
|
15
15
|
ApGrid: e,
|
|
16
|
-
ApTable:
|
|
17
|
-
ATabs:
|
|
18
|
-
ApFormSearchForm:
|
|
19
|
-
ApView:
|
|
20
|
-
EditableTable:
|
|
21
|
-
ApRadioGroup:
|
|
22
|
-
EditableGrid:
|
|
16
|
+
ApTable: i,
|
|
17
|
+
ATabs: K,
|
|
18
|
+
ApFormSearchForm: m,
|
|
19
|
+
ApView: t,
|
|
20
|
+
EditableTable: f,
|
|
21
|
+
ApRadioGroup: o,
|
|
22
|
+
EditableGrid: a,
|
|
23
23
|
ASteps: d
|
|
24
24
|
// AFormItem: formItemKeeper
|
|
25
25
|
};
|
|
@@ -128,8 +128,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
128
128
|
placement: TooltipPlacement;
|
|
129
129
|
show: boolean;
|
|
130
130
|
dot: boolean;
|
|
131
|
-
count: any;
|
|
132
131
|
iconType: "ellipsis" | "warning" | "success" | "question" | "line-warning" | undefined;
|
|
132
|
+
count: any;
|
|
133
133
|
showZero: boolean;
|
|
134
134
|
overflowCount: number;
|
|
135
135
|
numberStyle: CSSProperties;
|