@aplus-frontend/ui 7.10.0 → 7.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +44 -39
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-action/style/dropdown-item.mjs +17 -11
- package/es/src/ap-action/style/index.mjs +8 -9
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +14 -14
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +2 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/style/item.mjs +15 -15
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.mjs +12 -12
- package/es/src/ap-list/interface.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +1 -1
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +8 -8
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +15 -15
- package/es/src/config-provider/config-provider-props.mjs +12 -12
- package/es/src/config-provider/config-provider.d.ts +29 -29
- package/es/src/config-provider/config-provider.mjs +42 -40
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +49 -49
- package/es/src/design-token/interface.d.ts +22 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +31 -30
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-action/style/dropdown-item.js +1 -1
- package/lib/src/ap-action/style/index.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +2 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +15 -15
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +29 -29
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +49 -49
- package/lib/src/design-token/interface.d.ts +22 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ApFieldRead as e } from "../ap-field/index.mjs";
|
|
1
2
|
import "../ap-action/index.mjs";
|
|
2
3
|
import "../ap-form/index.mjs";
|
|
3
|
-
import { ApFieldRead as e } from "../ap-field/index.mjs";
|
|
4
4
|
import "./components/index/index.vue.mjs";
|
|
5
5
|
import "./components/status/index.vue.mjs";
|
|
6
6
|
import m from "../ap-form/items/tree-select/index.vue.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ColumnsType } from '@aplus-frontend/antdv/es/table';
|
|
2
2
|
import { ComputedRef, InjectionKey } from 'vue';
|
|
3
|
-
import { ApTableContextRenderConfig, ApTableProps } from './interface';
|
|
4
3
|
import { Recordable } from '../type';
|
|
5
4
|
import { ApFormSearchFormPopoverSorterItem } from '../ap-form';
|
|
5
|
+
import { ApTableContextRenderConfig, ApTableProps } from './interface';
|
|
6
6
|
type TableSize = ApTableProps['size'];
|
|
7
7
|
type ApTableContextProps<RecordType> = {
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApColumnType } from '../interface';
|
|
2
1
|
import { Recordable } from '../../type';
|
|
2
|
+
import { ApColumnType } from '../interface';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
export declare const useTableSortedAndFiltered: () => {
|
|
5
5
|
getColumnSFConfig: (column: ApColumnType, append?: boolean) => Recordable;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ScrollBarExpose } from '../../scroll-bar';
|
|
2
1
|
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
import { ScrollBarExpose } from '../../scroll-bar';
|
|
3
3
|
export declare const useStickyScroll: (tableWrapper: Ref<HTMLElement | undefined>) => {
|
|
4
4
|
isStickyMode: ComputedRef<boolean>;
|
|
5
5
|
scrollBarRef: Ref<ScrollBarExpose | undefined, ScrollBarExpose | undefined>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import q,
|
|
4
|
-
import { useInjectApTable as L } from "../context.mjs";
|
|
5
|
-
import { isObject as T, mergeWith as A, isBoolean as P, omit as Q, isString as U, isNumber as b } from "lodash-unified";
|
|
1
|
+
import { useToken as D } from "@aplus-frontend/antdv/es/theme/internal";
|
|
2
|
+
import { isObject as v, mergeWith as A, isBoolean as G, omit as W, isString as X, isNumber as T } from "lodash-unified";
|
|
3
|
+
import { ref as q, shallowRef as H, unref as i, computed as L, watchEffect as P } from "vue";
|
|
6
4
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import
|
|
5
|
+
import "../../utils/index.mjs";
|
|
6
|
+
import Q, { customCloneColumnStates as b, getColumnStateString as U } from "../components/setting/utils.mjs";
|
|
7
|
+
import { useInjectApTable as V } from "../context.mjs";
|
|
8
8
|
import { getTableTitle as Y } from "../utils.mjs";
|
|
9
9
|
import { useNamespace as Z } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
import { isDef as $ } from "../../utils/is.mjs";
|
|
@@ -20,17 +20,17 @@ function K(r, o) {
|
|
|
20
20
|
return n ? JSON.parse(n) : {};
|
|
21
21
|
}
|
|
22
22
|
function N(r, o) {
|
|
23
|
-
if (
|
|
23
|
+
if (v(r) && v(o))
|
|
24
24
|
return A({}, r, o, N);
|
|
25
25
|
}
|
|
26
26
|
const y = Number.MAX_SAFE_INTEGER;
|
|
27
27
|
function ee(r, o, n, a) {
|
|
28
|
-
return a ? a.fixed : o ? o.fixed : n && "fixed" in n ? n.fixed :
|
|
28
|
+
return a ? a.fixed : o ? o.fixed : n && "fixed" in n ? n.fixed : G(r.fixed) ? r.fixed ? "left" : void 0 : r.fixed;
|
|
29
29
|
}
|
|
30
30
|
const de = (r, o, n) => {
|
|
31
|
-
const { be: a } = Z("ap-table"), [te, B] =
|
|
32
|
-
|
|
33
|
-
), { columnsBackup: m, updateColumns: E } =
|
|
31
|
+
const { be: a } = Z("ap-table"), [te, B] = D(), l = q(n), d = H(
|
|
32
|
+
b(n)
|
|
33
|
+
), { columnsBackup: m, updateColumns: E } = V(), F = r.persistenceType || "localStorage", h = window[F];
|
|
34
34
|
function I() {
|
|
35
35
|
const e = K(
|
|
36
36
|
h,
|
|
@@ -45,7 +45,7 @@ const de = (r, o, n) => {
|
|
|
45
45
|
return R.map((f) => {
|
|
46
46
|
const k = j?.[f.key] || {}, g = {
|
|
47
47
|
key: f.key,
|
|
48
|
-
label:
|
|
48
|
+
label: X(f.title) ? Y(
|
|
49
49
|
f,
|
|
50
50
|
a("table-header", "title"),
|
|
51
51
|
void 0,
|
|
@@ -59,7 +59,7 @@ const de = (r, o, n) => {
|
|
|
59
59
|
z
|
|
60
60
|
),
|
|
61
61
|
disabled: !1,
|
|
62
|
-
...
|
|
62
|
+
...W(k, ["children", "fixed"])
|
|
63
63
|
};
|
|
64
64
|
return g.children = f.children?.length ? u(
|
|
65
65
|
f.children,
|
|
@@ -71,11 +71,11 @@ const de = (r, o, n) => {
|
|
|
71
71
|
return u(s || [], t);
|
|
72
72
|
}
|
|
73
73
|
function O(e, t) {
|
|
74
|
-
const s =
|
|
75
|
-
let u =
|
|
74
|
+
const s = T(e.order) ? e.order : y;
|
|
75
|
+
let u = T(t.order) ? t.order : y;
|
|
76
76
|
return e.fixed === "right" && t.fixed !== "right" && (u = s - 1), t.fixed === "left" && e.fixed !== "left" && (u = s - 1), s - u;
|
|
77
77
|
}
|
|
78
|
-
const p =
|
|
78
|
+
const p = L(() => i(l).every((e) => e.show));
|
|
79
79
|
function S() {
|
|
80
80
|
const e = i(l);
|
|
81
81
|
c(e, (t) => {
|
|
@@ -104,18 +104,18 @@ const de = (r, o, n) => {
|
|
|
104
104
|
}
|
|
105
105
|
function w(e) {
|
|
106
106
|
if (i(o)) {
|
|
107
|
-
const t =
|
|
107
|
+
const t = U(e);
|
|
108
108
|
h.setItem(i(o), JSON.stringify(t));
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
return
|
|
111
|
+
return P(() => {
|
|
112
112
|
const e = I();
|
|
113
113
|
C(e), r.onChange?.(e), E?.(
|
|
114
|
-
|
|
114
|
+
Q(
|
|
115
115
|
i(m),
|
|
116
116
|
i(e)
|
|
117
117
|
)
|
|
118
|
-
), d.value =
|
|
118
|
+
), d.value = b(e), w(e);
|
|
119
119
|
}), {
|
|
120
120
|
columnState: l,
|
|
121
121
|
selectAll: S,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../config-provider/index.mjs";
|
|
2
1
|
import { useElementSize as m } from "@vueuse/core";
|
|
3
2
|
import { ref as u, computed as d, unref as i, onUpdated as H } from "vue";
|
|
3
|
+
import "../../config-provider/index.mjs";
|
|
4
4
|
import { useGlobalConfig as S } from "../../config-provider/hooks/use-global-config.mjs";
|
|
5
5
|
function c(t) {
|
|
6
6
|
if (!t)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
2
2
|
import { Ref, ComputedRef } from 'vue';
|
|
3
|
-
import { ApTablePaginationConfig, RequestData } from '../interface';
|
|
4
|
-
import { Recordable } from '../../type';
|
|
5
3
|
import { ApFormSearchFormExpose } from '../../ap-form';
|
|
4
|
+
import { Recordable } from '../../type';
|
|
5
|
+
import { ApTablePaginationConfig, RequestData } from '../interface';
|
|
6
6
|
import { TablePaginationConfig } from '@aplus-frontend/antdv';
|
|
7
7
|
import { FilterValue, SorterResult, TableCurrentDataSource } from '@aplus-frontend/antdv/es/table/interface';
|
|
8
8
|
import { ApColumnType } from '..';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as de, reactive as k, unref as g, nextTick as pe, onMounted as he, watch as me, computed as O, createVNode as C } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { isArray as B, isEqualWith as Se, isUndefined as ze } from "lodash-unified";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
|
-
import { parseFieldValue as ze, dataIndexToStr as Pe, isEqualCustom as Te } from "../utils.mjs";
|
|
5
|
-
import { isArray as B, isEqualWith as be, isUndefined as Ce } from "lodash-unified";
|
|
6
4
|
import "../../utils/index.mjs";
|
|
5
|
+
import { parseFieldValue as Pe, dataIndexToStr as Te, isEqualCustom as be } from "../utils.mjs";
|
|
6
|
+
import { useTableSortedAndFiltered as Ce } from "./use-sorted-filtered.mjs";
|
|
7
7
|
import { useLocale as xe } from "../../config-provider/hooks/use-locale.mjs";
|
|
8
8
|
import { useNamespace as Fe } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { isDef as J } from "../../utils/is.mjs";
|
|
@@ -45,7 +45,7 @@ const Ne = ({
|
|
|
45
45
|
clearAll: te,
|
|
46
46
|
sortedInfo: V,
|
|
47
47
|
filteredInfo: j
|
|
48
|
-
} =
|
|
48
|
+
} = Ce(), {
|
|
49
49
|
t: m
|
|
50
50
|
} = xe(), {
|
|
51
51
|
b: S
|
|
@@ -76,7 +76,7 @@ const Ne = ({
|
|
|
76
76
|
return Object.entries(e).forEach(([n, r]) => {
|
|
77
77
|
if (t[n] = r, M && r) {
|
|
78
78
|
const o = M[n];
|
|
79
|
-
o && (t[n] =
|
|
79
|
+
o && (t[n] = Pe(o, r));
|
|
80
80
|
}
|
|
81
81
|
}), t;
|
|
82
82
|
}, ne = async (e) => {
|
|
@@ -147,7 +147,7 @@ const Ne = ({
|
|
|
147
147
|
c.current = e.current, c.pageSize = e.pageSize, ee(t, n);
|
|
148
148
|
const o = B(n) ? [...n] : [n], u = {};
|
|
149
149
|
for (const l of o)
|
|
150
|
-
g(W)?.includes(l.columnKey || l.field) && l.order && (u[
|
|
150
|
+
g(W)?.includes(l.columnKey || l.field) && l.order && (u[Te(l.columnKey || l.field)] = l.order);
|
|
151
151
|
const b = {};
|
|
152
152
|
for (const l of Object.keys(t))
|
|
153
153
|
g(Q)?.includes(l) && t[l] && (b[l] = t[l]);
|
|
@@ -158,7 +158,7 @@ const Ne = ({
|
|
|
158
158
|
current: e.current,
|
|
159
159
|
pageSize: e.pageSize
|
|
160
160
|
};
|
|
161
|
-
|
|
161
|
+
Se(s, _, be) || P(_);
|
|
162
162
|
}, ce = (e, t = j.value || {}, n = V.value || {}) => {
|
|
163
163
|
const r = e?.current ?? c.current, o = e?.pageSize ?? c.pageSize;
|
|
164
164
|
D(
|
|
@@ -225,7 +225,7 @@ const Ne = ({
|
|
|
225
225
|
showQuickJumper: J(n) ? n : !e,
|
|
226
226
|
showLessItems: e,
|
|
227
227
|
size: "default",
|
|
228
|
-
pageSizeOptions:
|
|
228
|
+
pageSizeOptions: ze(o) ? ["10", "20", "50", "100"] : o,
|
|
229
229
|
showTotal: t ? (u) => C("span", {
|
|
230
230
|
class: S("pagination-total-wrapper")
|
|
231
231
|
}, [m("ap.apTable.pagination.totalLeftPrefix"), " ", C("span", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
1
2
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { RequestData } from '../interface';
|
|
3
3
|
import { ApFormSearchFormExpose } from '../../ap-form';
|
|
4
|
-
import {
|
|
4
|
+
import { RequestData } from '../interface';
|
|
5
5
|
import { TablePaginationConfig } from '@aplus-frontend/antdv';
|
|
6
6
|
import { FilterValue, SorterResult, TableCurrentDataSource } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
7
|
import { ApColumnType } from '..';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as v, nextTick as I, unref as a, onMounted as ee, computed as b, createVNode as S } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { isArray as R, isEqualWith as oe } from "lodash-unified";
|
|
2
|
+
import { isArray as R, isEqualWith as te } from "lodash-unified";
|
|
4
3
|
import "../../config-provider/index.mjs";
|
|
4
|
+
import { parseFieldValue as ae, dataIndexToStr as re, isEqualCustom as oe } from "../utils.mjs";
|
|
5
5
|
import { useTableSortedAndFiltered as ne } from "./use-sorted-filtered.mjs";
|
|
6
6
|
import { useLocale as se } from "../../config-provider/hooks/use-locale.mjs";
|
|
7
7
|
import { useNamespace as le } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -53,7 +53,7 @@ const me = ({
|
|
|
53
53
|
return Object.entries(e).forEach(([r, n]) => {
|
|
54
54
|
if (t[r] = n, z && n) {
|
|
55
55
|
const i = z[r];
|
|
56
|
-
i && (t[r] =
|
|
56
|
+
i && (t[r] = ae(i, n));
|
|
57
57
|
}
|
|
58
58
|
}), t;
|
|
59
59
|
}, W = async (e) => {
|
|
@@ -99,7 +99,7 @@ const me = ({
|
|
|
99
99
|
u.value = e.current, d.value = e.pageSize, L(t, r);
|
|
100
100
|
const i = R(r) ? [...r] : [r], p = {};
|
|
101
101
|
for (const l of i)
|
|
102
|
-
a(_)?.includes(l.columnKey || l.field) && l.order && (p[
|
|
102
|
+
a(_)?.includes(l.columnKey || l.field) && l.order && (p[re(l.columnKey || l.field)] = l.order);
|
|
103
103
|
const E = {};
|
|
104
104
|
for (const l of Object.keys(t))
|
|
105
105
|
a(N)?.includes(l) && t[l] && (E[l] = t[l]);
|
|
@@ -110,7 +110,7 @@ const me = ({
|
|
|
110
110
|
current: e.current,
|
|
111
111
|
pageSize: e.pageSize
|
|
112
112
|
};
|
|
113
|
-
|
|
113
|
+
te(s, O, oe) || h(O);
|
|
114
114
|
};
|
|
115
115
|
ee(() => {
|
|
116
116
|
const e = c.value?.apForm?.getFieldsValueTransformed(!0) || {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TableRowSelection } from '@aplus-frontend/antdv/lib/table/interface';
|
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
|
3
|
-
import { ApTableProps, ApTableRowSelection } from '../interface';
|
|
4
3
|
import { Recordable } from '../../type';
|
|
4
|
+
import { ApTableProps, ApTableRowSelection } from '../interface';
|
|
5
5
|
export interface RowSelectionReturnType<RecordType = any> {
|
|
6
6
|
rowSelection: ComputedRef<TableRowSelection<RecordType>>;
|
|
7
7
|
selectedRows: Ref<RecordType[]>;
|
|
@@ -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,
|