@aplus-frontend/ui 7.10.0 → 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 +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 +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 +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/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 +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 +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/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 +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,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as Qe, useSlots as Ye, getCurrentInstance as Ze, ref as y, computed as n, unref as t, toRef as et, nextTick as ae, watch as E, createElementBlock as I, openBlock as s, normalizeStyle as K, normalizeClass as m, createCommentVNode as w, createElementVNode as S, createVNode as L, mergeProps as R, createSlots as V, withCtx as c, Fragment as re, renderList as O, createBlock as d, resolveDynamicComponent as B, renderSlot as D, normalizeProps as tt, guardReactiveProps as ot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Spin as at, Empty as ne, Pagination as rt } from "@aplus-frontend/antdv";
|
|
3
|
+
import { useToken as nt } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
|
+
import { isUndefined as b, isFunction as $, isArray as lt, omit as st } from "lodash-unified";
|
|
5
|
+
import { VxeUI as le, VxeTable as it, VxeColumn as se } from "vxe-table";
|
|
3
6
|
import "vxe-table/es/style.css";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "../config-provider/index.mjs";
|
|
7
|
-
import { noRenderAsFormItemValueList as st } from "../ap-table/constants.mjs";
|
|
8
|
-
import { getColumnOrder as se, updateFormProps as it, getFieldProps as dt, getSearchFormItemRenderNode as ut, recursionApColumns as ie } from "../ap-table/utils.mjs";
|
|
7
|
+
import { noRenderAsFormItemValueList as dt } from "../ap-table/constants.mjs";
|
|
8
|
+
import { useProvideApTable as ut } from "../ap-table/context.mjs";
|
|
9
9
|
import { useTablePaging as ct } from "../ap-table/hooks/use-table-paging-ng.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import { toVxeProps as gt, getRowExpandProps as ht, getRowSelectionProps as Ct } from "./utils/table.mjs";
|
|
13
|
-
import vt from "./hooks/use-row-selection.mjs";
|
|
14
|
-
import { useProvideApTable as yt } from "../ap-table/context.mjs";
|
|
15
|
-
import { DEFAULT_ROW_SELECTION_CONFIG as ue, sizeReverseMap as wt, sizeMap as St, ROW_SELECTION_FIELD as Rt } from "./constants.mjs";
|
|
16
|
-
import { useRenderColumns as bt } from "./hooks/use-render-columns.mjs";
|
|
17
|
-
import { useToken as xt } from "@aplus-frontend/antdv/es/theme/internal";
|
|
10
|
+
import { getColumnOrder as ie, updateFormProps as pt, getFieldProps as ft, getSearchFormItemRenderNode as mt, recursionApColumns as de } from "../ap-table/utils.mjs";
|
|
11
|
+
import "../config-provider/index.mjs";
|
|
18
12
|
import "../scroll-bar/index.mjs";
|
|
19
13
|
import "../utils/index.mjs";
|
|
20
|
-
import { getValidVNodeList as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
14
|
+
import { getValidVNodeList as gt } from "../utils/slot.mjs";
|
|
15
|
+
import { useDevWarning as ht } from "../utils/warning.mjs";
|
|
16
|
+
import { ApForm as Ct } from "../ap-form/index.mjs";
|
|
17
|
+
import { DEFAULT_ROW_SELECTION_CONFIG as ue, sizeReverseMap as vt, sizeMap as yt, ROW_SELECTION_FIELD as wt } from "./constants.mjs";
|
|
18
|
+
import { useInnerParams as St } from "./hooks/use-inner-params.mjs";
|
|
19
|
+
import { useRenderColumns as Rt } from "./hooks/use-render-columns.mjs";
|
|
20
|
+
import bt from "./hooks/use-row-selection.mjs";
|
|
21
|
+
import { useTableStyle as xt } from "./hooks/use-table-style.mjs";
|
|
22
|
+
import kt from "./style/index.mjs";
|
|
23
|
+
import { toVxeProps as Ft, getRowExpandProps as Et, getRowSelectionProps as It } from "./utils/table.mjs";
|
|
24
24
|
import { useNamespace as Bt } from "../config-provider/hooks/use-namespace.mjs";
|
|
25
25
|
import { useGlobalConfig as ce } from "../config-provider/hooks/use-global-config.mjs";
|
|
26
26
|
import { useLocale as Tt } from "../config-provider/hooks/use-locale.mjs";
|
|
@@ -121,16 +121,16 @@ const io = /* @__PURE__ */ Qe({
|
|
|
121
121
|
},
|
|
122
122
|
setup(pe, { expose: fe }) {
|
|
123
123
|
const T = Ye(), o = pe, x = Ze()?.appContext.app;
|
|
124
|
-
x && !x.__VXE_PC_UI_INSTALLED__ && (x.use(
|
|
124
|
+
x && !x.__VXE_PC_UI_INSTALLED__ && (x.use(le), x.__VXE_PC_UI_INSTALLED__ = !0), ht("ApGrid")(
|
|
125
125
|
!1,
|
|
126
126
|
"breaking",
|
|
127
127
|
"AgGrid has been EOL, Please use AgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/) instead."
|
|
128
128
|
);
|
|
129
|
-
const { e: k, b: u, be: me } = Bt("ap-grid"), ge =
|
|
130
|
-
|
|
129
|
+
const { e: k, b: u, be: me } = Bt("ap-grid"), ge = kt("ap-grid"), he = ce("valueTypeMap"), Ce = ce("apGrid"), i = y([]), W = y([]), l = y(), F = y(o.size), ve = xt(), [, ye] = nt(), { t: we } = Tt(), N = y(!0);
|
|
130
|
+
le.setConfig({
|
|
131
131
|
i18n: (e, a) => we(`ap.${e}`, a)
|
|
132
132
|
});
|
|
133
|
-
const { renderConfig: Se, updateSignal: Re } =
|
|
133
|
+
const { renderConfig: Se, updateSignal: Re } = Rt(i);
|
|
134
134
|
let G = 0;
|
|
135
135
|
const C = n(() => {
|
|
136
136
|
let e = o.rowSelection || Ce.value?.rowSelection;
|
|
@@ -145,14 +145,14 @@ const io = /* @__PURE__ */ Qe({
|
|
|
145
145
|
".vxe-table--header-inner-wrapper"
|
|
146
146
|
);
|
|
147
147
|
}), M = n(() => (G++, o.columns?.filter(
|
|
148
|
-
(e) => !e.hideInSearch && e.dataIndex && (e.valueType || e.customRenderFormItem) && !
|
|
148
|
+
(e) => !e.hideInSearch && e.dataIndex && (e.valueType || e.customRenderFormItem) && !dt.includes(e.valueType)
|
|
149
149
|
)?.sort((e, a) => {
|
|
150
|
-
let r =
|
|
151
|
-
return
|
|
150
|
+
let r = ie(e.order);
|
|
151
|
+
return ie(a.order) - r;
|
|
152
152
|
})?.map((e) => {
|
|
153
|
-
const a =
|
|
153
|
+
const a = pt(
|
|
154
154
|
e,
|
|
155
|
-
|
|
155
|
+
ft(e.fieldProps, {})
|
|
156
156
|
), r = {
|
|
157
157
|
...e,
|
|
158
158
|
fieldProps: {
|
|
@@ -165,20 +165,20 @@ const io = /* @__PURE__ */ Qe({
|
|
|
165
165
|
},
|
|
166
166
|
renderNode: void 0
|
|
167
167
|
};
|
|
168
|
-
return r.renderNode =
|
|
168
|
+
return r.renderNode = mt(
|
|
169
169
|
r,
|
|
170
170
|
t(he)
|
|
171
171
|
), r;
|
|
172
|
-
}) || [])), xe = n(() => Nt(o.manual) ? o.manual :
|
|
172
|
+
}) || [])), xe = n(() => Nt(o.manual) ? o.manual : gt(T.searchFormExtra?.() || []).some((a) => a.type?.name === "ApView")), ke = n(() => [
|
|
173
173
|
u(),
|
|
174
174
|
o.card ? null : u("wrapper"),
|
|
175
175
|
o.adaptive ? u("adaptive") : null,
|
|
176
176
|
o.sticky ? u("sticky") : null,
|
|
177
177
|
ge.value
|
|
178
|
-
].filter(Boolean)), j = n(() =>
|
|
178
|
+
].filter(Boolean)), j = n(() => de(t(i), (e) => {
|
|
179
179
|
if (e.sorter === !0)
|
|
180
180
|
return e.key || e.dataIndex;
|
|
181
|
-
}).filter(Boolean)), H = n(() =>
|
|
181
|
+
}).filter(Boolean)), H = n(() => de(t(i), (e) => {
|
|
182
182
|
if (e.filters && !e.onFilter)
|
|
183
183
|
return e.key || e.dataIndex;
|
|
184
184
|
}).filter(Boolean)), {
|
|
@@ -218,16 +218,16 @@ const io = /* @__PURE__ */ Qe({
|
|
|
218
218
|
pagination: o.pagination,
|
|
219
219
|
onClickReset: Me,
|
|
220
220
|
onAfterRequest: je
|
|
221
|
-
}), { sortChangeEvent: Te, filterChangeEvent: Ne, paginationChangeEvent: Pe } =
|
|
222
|
-
|
|
221
|
+
}), { sortChangeEvent: Te, filterChangeEvent: Ne, paginationChangeEvent: Pe } = St(Ee);
|
|
222
|
+
ut({
|
|
223
223
|
columns: n(() => i.value),
|
|
224
224
|
columnsBackup: n(() => W.value),
|
|
225
|
-
size: n(() =>
|
|
225
|
+
size: n(() => yt[F.value]),
|
|
226
226
|
updateColumns(e) {
|
|
227
227
|
i.value = e, o.onShownColumnsChange?.(e);
|
|
228
228
|
},
|
|
229
229
|
updateSize(e) {
|
|
230
|
-
F.value =
|
|
230
|
+
F.value = vt[e];
|
|
231
231
|
},
|
|
232
232
|
renderConfig: n(() => ({
|
|
233
233
|
className: me("table-header", "title"),
|
|
@@ -252,7 +252,7 @@ const io = /* @__PURE__ */ Qe({
|
|
|
252
252
|
() => b(o.loading) ? p.loading : o.loading
|
|
253
253
|
), _e = n(
|
|
254
254
|
() => b(o.dataSource) ? p.records : o.dataSource
|
|
255
|
-
), { selectedRows: z, rowSelection: h, ...v } =
|
|
255
|
+
), { selectedRows: z, rowSelection: h, ...v } = bt({
|
|
256
256
|
...C.value,
|
|
257
257
|
dataSource: _e,
|
|
258
258
|
rowKey: o.rowKey
|
|
@@ -349,7 +349,7 @@ const io = /* @__PURE__ */ Qe({
|
|
|
349
349
|
const r = l.value;
|
|
350
350
|
if (!r)
|
|
351
351
|
return;
|
|
352
|
-
const f =
|
|
352
|
+
const f = lt(e) ? e : [e], Xe = (r.getData() || []).filter(
|
|
353
353
|
(Je) => f.includes(qe(Je))
|
|
354
354
|
);
|
|
355
355
|
r.setRowExpand(Xe, a);
|
|
@@ -411,7 +411,7 @@ const io = /* @__PURE__ */ Qe({
|
|
|
411
411
|
class: m(e.card ? t(k)("search-wrapper") : null),
|
|
412
412
|
style: K(e.searchFormWrapperStyle)
|
|
413
413
|
}, [
|
|
414
|
-
L(t(
|
|
414
|
+
L(t(Ct).SearchForm, R(e.searchForm || {}, {
|
|
415
415
|
ref_key: "formRef",
|
|
416
416
|
ref: g,
|
|
417
417
|
"custom-reset": "",
|
|
@@ -452,7 +452,7 @@ const io = /* @__PURE__ */ Qe({
|
|
|
452
452
|
S("div", {
|
|
453
453
|
class: m(t(u)("vxe-wrapper"))
|
|
454
454
|
}, [
|
|
455
|
-
(s(), d(t(
|
|
455
|
+
(s(), d(t(it), R(t(Ft)(o, C.value), {
|
|
456
456
|
ref_key: "tableRef",
|
|
457
457
|
ref: l,
|
|
458
458
|
key: t(Re),
|
|
@@ -476,19 +476,19 @@ const io = /* @__PURE__ */ Qe({
|
|
|
476
476
|
onCurrentRowChange: De
|
|
477
477
|
}), V({
|
|
478
478
|
empty: c(() => [
|
|
479
|
-
L(t(
|
|
480
|
-
image: t(
|
|
479
|
+
L(t(ne), {
|
|
480
|
+
image: t(ne).PRESENTED_IMAGE_SIMPLE
|
|
481
481
|
}, null, 8, ["image"])
|
|
482
482
|
]),
|
|
483
483
|
loading: c(() => [
|
|
484
484
|
S("div", {
|
|
485
485
|
class: m(t(k)("table-loading-wrapper"))
|
|
486
486
|
}, [
|
|
487
|
-
L(t(
|
|
487
|
+
L(t(at))
|
|
488
488
|
], 2)
|
|
489
489
|
]),
|
|
490
490
|
default: c(() => [
|
|
491
|
-
o.expandable && i.value.length ? (s(), d(t(
|
|
491
|
+
o.expandable && i.value.length ? (s(), d(t(se), R({ key: 0 }, t(Et)(e.expandable), { fixed: Ae.value }), V({
|
|
492
492
|
content: c((r) => [
|
|
493
493
|
(s(), d(B(o.expandable.renderContent(r))))
|
|
494
494
|
]),
|
|
@@ -507,12 +507,12 @@ const io = /* @__PURE__ */ Qe({
|
|
|
507
507
|
key: "0"
|
|
508
508
|
} : void 0
|
|
509
509
|
]), 1040, ["fixed"])) : w("", !0),
|
|
510
|
-
C.value && i.value.length ? (s(), d(t(
|
|
510
|
+
C.value && i.value.length ? (s(), d(t(se), R(
|
|
511
511
|
{ key: 1 },
|
|
512
|
-
t(
|
|
512
|
+
t(It)(t(h), i.value, o.size),
|
|
513
513
|
{
|
|
514
514
|
resizable: !1,
|
|
515
|
-
field: t(
|
|
515
|
+
field: t(wt)
|
|
516
516
|
}
|
|
517
517
|
), null, 16, ["field"])) : w("", !0),
|
|
518
518
|
(s(!0), I(re, null, O(t(Se), (r) => (s(), d(B(r), {
|
|
@@ -521,7 +521,7 @@ const io = /* @__PURE__ */ Qe({
|
|
|
521
521
|
]),
|
|
522
522
|
_: 2
|
|
523
523
|
}, [
|
|
524
|
-
O(t(
|
|
524
|
+
O(t(st)(T, ["searchFormExtra"]), (r, f) => ({
|
|
525
525
|
name: f,
|
|
526
526
|
fn: c((oe) => [
|
|
527
527
|
D(e.$slots, f, tt(ot(oe || {})))
|
|
@@ -540,7 +540,7 @@ const io = /* @__PURE__ */ Qe({
|
|
|
540
540
|
"bar-color": "var(--scrollbar-thumb-color-base)",
|
|
541
541
|
"track-color": "var(--table-header-bg, #f2f6f9)"
|
|
542
542
|
}, null, 8, ["scroll-container"])) : w("", !0),
|
|
543
|
-
e.pagination !== !1 ? (s(), d(t(
|
|
543
|
+
e.pagination !== !1 ? (s(), d(t(rt), R({
|
|
544
544
|
key: 1,
|
|
545
545
|
class: t(u)("pagination")
|
|
546
546
|
}, t(U).pagination, { onChange: t(Pe) }), null, 16, ["class", "onChange"])) : w("", !0)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ApFormSearchFormPopoverSorterItem, ApFormSearchFormProps } from '../ap-form/interface';
|
|
2
|
-
import { ApTablePaginationConfig, ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, ExtraProColumnType, FieldPropsType, RequestData, ValueEnum } from '../ap-table/interface';
|
|
3
|
-
import { Recordable } from '../type';
|
|
4
1
|
import { TableProps } from '@aplus-frontend/antdv';
|
|
5
2
|
import { ColumnFilterItem, SortOrder, TableRowSelection } from '@aplus-frontend/antdv/es/table/interface';
|
|
6
3
|
import { ComputedRef, CSSProperties, VNode } from 'vue';
|
|
7
4
|
import { VxeTablePropTypes, VxeColumnPropTypes, VxeTableProps, VxeTableDefines, VxeColumnSlots, VxeColumnProps } from 'vxe-table';
|
|
5
|
+
import { ApFormSearchFormPopoverSorterItem, ApFormSearchFormProps } from '../ap-form/interface';
|
|
8
6
|
import { InternalPagingType } from '../ap-table/hooks/use-table-paging-ng';
|
|
7
|
+
import { ApTablePaginationConfig, ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, ExtraProColumnType, FieldPropsType, RequestData, ValueEnum } from '../ap-table/interface';
|
|
8
|
+
import { Recordable } from '../type';
|
|
9
9
|
export type ColConfigType = VxeTableDefines.ColumnOptions;
|
|
10
10
|
export type ApGridColumnType<RecordType = any, ExtraValueType = 'text', ValueType extends ApTableValueTypes = ApTableValueTypes, MergedValueType extends ExtraValueType | ValueType = ExtraValueType | ValueType> = MergedValueType extends ExtraValueType | ValueType ? Omit<ExtraProColumnType<RecordType>, 'sorter' | 'rowSpan' | 'customCell' | 'customHeaderCell' | 'minWidth' | 'className' | 'class'> & {
|
|
11
11
|
children?: ApGridColumnType<RecordType, ExtraValueType, ValueType>[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
2
|
-
import { ApGridColumnType, ColConfigType } from '../interface';
|
|
3
2
|
import { ValueTypeRenderConfig } from '../../config-provider';
|
|
3
|
+
import { ApGridColumnType, ColConfigType } from '../interface';
|
|
4
4
|
export declare function getValueByDataIndex(row: any, dataIndex?: DataIndex): any;
|
|
5
5
|
export declare function dataIndexToField(dataIndex: DataIndex): string | undefined;
|
|
6
6
|
export declare function transformFixed(fixed: ApGridColumnType['fixed']): "left" | "right" | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVNode as u, Fragment as T } from "vue";
|
|
2
2
|
import { isArray as x, isUndefined as E, isString as o, isBoolean as F, isNumber as O, pick as R } from "lodash-unified";
|
|
3
|
-
import { valueEnumToArray as S, objectToString as $, getTableTitle as v, getTableRenderType as V, getTableRenderProps as B, getTableCellRenderNode as M } from "../../ap-table/utils.mjs";
|
|
4
|
-
import { noRenderAsFormItemValueList as _ } from "../../ap-table/constants.mjs";
|
|
5
3
|
import "../../ap-table/components/paragraph-ellipsis/index.vue.mjs";
|
|
4
|
+
import { noRenderAsFormItemValueList as S } from "../../ap-table/constants.mjs";
|
|
5
|
+
import { valueEnumToArray as $, objectToString as V, getTableTitle as v, getTableRenderType as B, getTableRenderProps as M, getTableCellRenderNode as _ } from "../../ap-table/utils.mjs";
|
|
6
6
|
import j from "../../ap-table/components/paragraph-ellipsis/index.vue2.mjs";
|
|
7
7
|
function c(e, t) {
|
|
8
8
|
if (t)
|
|
@@ -29,7 +29,7 @@ function q(e) {
|
|
|
29
29
|
}
|
|
30
30
|
function I(e) {
|
|
31
31
|
let t;
|
|
32
|
-
return F(e.filters) && e.valueEnum ? t =
|
|
32
|
+
return F(e.filters) && e.valueEnum ? t = $(e.valueEnum) : t = e.filters, t?.map((r) => ({
|
|
33
33
|
label: o(r.text) ? r.text : "",
|
|
34
34
|
value: r.value
|
|
35
35
|
}));
|
|
@@ -52,10 +52,10 @@ function k(e, t) {
|
|
|
52
52
|
} : !1;
|
|
53
53
|
}
|
|
54
54
|
function z(e, t, r) {
|
|
55
|
-
if (
|
|
55
|
+
if (S.includes(e.valueType))
|
|
56
56
|
return r;
|
|
57
57
|
if (e.copyable || e.ellipsis) {
|
|
58
|
-
const n = k(e.ellipsis, t), i =
|
|
58
|
+
const n = k(e.ellipsis, t), i = V(t);
|
|
59
59
|
return u(j, {
|
|
60
60
|
rawValue: i,
|
|
61
61
|
copyable: e.copyable,
|
|
@@ -79,13 +79,13 @@ const G = ({
|
|
|
79
79
|
value: e,
|
|
80
80
|
...t
|
|
81
81
|
}, r, n, i = !0) => {
|
|
82
|
-
const s =
|
|
82
|
+
const s = B(r), d = M({
|
|
83
83
|
...r,
|
|
84
84
|
valueType: s
|
|
85
85
|
}, {
|
|
86
86
|
value: e,
|
|
87
87
|
...t
|
|
88
|
-
}), l =
|
|
88
|
+
}), l = _(s, d, t.record, n), a = r.renderText?.({
|
|
89
89
|
value: e,
|
|
90
90
|
...t
|
|
91
91
|
}) || e, p = r.renderText ? u(T, null, [r.renderText?.({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { EditableAgGridColumnType } from '../../ag-grid/editable/interface';
|
|
1
2
|
import { ValueTypeRenderConfig } from '../../config-provider';
|
|
2
3
|
import { EditableGridColumnType } from '../editable/interface';
|
|
3
|
-
import { EditableAgGridColumnType } from '../../ag-grid/editable/interface';
|
|
4
4
|
export declare function getFinalEditableNode(column: EditableGridColumnType | EditableAgGridColumnType, innerProps: Record<string, any>, record: any, extraRenderMap?: Record<string, ValueTypeRenderConfig>): import("vue/jsx-runtime").JSX.Element | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isVNode as u, createVNode as i } from "vue";
|
|
2
|
-
import "../../ap-form/index.mjs";
|
|
3
2
|
import { omit as c } from "lodash-unified";
|
|
3
|
+
import "../../ap-form/index.mjs";
|
|
4
4
|
import { getEditableComponent as a } from "../../editable-table/utils.mjs";
|
|
5
5
|
import d from "../../ap-form/item/index.vue.mjs";
|
|
6
6
|
function m(e) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ApGridColumnType } from '../interface';
|
|
2
1
|
import { ValueTypeRenderConfig } from '../../config-provider';
|
|
2
|
+
import { ApGridColumnType } from '../interface';
|
|
3
3
|
export declare function renderWithColumns<RecordType>(columns: ApGridColumnType<RecordType>[], color: string, className: string, extraValueType?: Record<string, ValueTypeRenderConfig>): import("vue/jsx-runtime").JSX.Element[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { RowSelectionType } from '@aplus-frontend/antdv/es/table/interface';
|
|
1
2
|
import { VxeTableEventProps, VxeTableProps } from 'vxe-table';
|
|
2
3
|
import { ApGridColumnType, ApGridProps, ApGridRowSelection } from '../interface';
|
|
3
|
-
import { RowSelectionType } from '@aplus-frontend/antdv/es/table/interface';
|
|
4
4
|
export declare function toVxeProps<RecordType>(props: ApGridProps, rowSelection: ApGridRowSelection<RecordType> | undefined): VxeTableProps<RecordType> & VxeTableEventProps<RecordType>;
|
|
5
5
|
export declare function getRowSelectionProps(rowSelection: ApGridRowSelection<any> | true, columns: ApGridColumnType[], size: 'mini' | 'medium'): {
|
|
6
6
|
type: RowSelectionType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { isUndefined as d } from "lodash-unified";
|
|
1
2
|
import { ref as c, computed as g, unref as n } from "vue";
|
|
2
3
|
import "../../utils/index.mjs";
|
|
3
|
-
import { isUndefined as d } from "lodash-unified";
|
|
4
4
|
import { isDef as f } from "../../utils/is.mjs";
|
|
5
5
|
const C = (e) => {
|
|
6
6
|
const i = c(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApListExpose, ApListProps } from './interface';
|
|
2
1
|
import { Recordable } from '../type';
|
|
2
|
+
import { ApListExpose, ApListProps } from './interface';
|
|
3
3
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
|
|
4
4
|
import { ApFormSearchFormExpose } from '..';
|
|
5
5
|
declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ue, shallowRef as V, computed as m, toRef as ce, unref as t, watch as L, createElementBlock as s, openBlock as o, normalizeStyle as D, normalizeClass as l, renderSlot as u, createElementVNode as fe, createCommentVNode as N, createVNode as h, Fragment as O, createBlock as A, withCtx as B, renderList as de, mergeProps as me } from "vue";
|
|
2
2
|
import { Empty as $, Spin as pe, Pagination as ge } from "@aplus-frontend/antdv";
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import { throttle as ye, isUndefined as M, isNumber as ve, omit as he } from "lodash-unified";
|
|
6
|
-
import { useOfflineList as be } from "./hooks/use-offline-list.mjs";
|
|
3
|
+
import { throttle as Se, isUndefined as M, isNumber as ye, omit as ve } from "lodash-unified";
|
|
4
|
+
import { RecycleScroller as he, DynamicScroller as be, DynamicScrollerItem as ke } from "vue-virtual-scroller";
|
|
7
5
|
import "vue-virtual-scroller/dist/vue-virtual-scroller.css";
|
|
8
|
-
import {
|
|
6
|
+
import { useTablePaging as Ie } from "../ap-table/hooks/use-table-paging-ng.mjs";
|
|
7
|
+
import "../config-provider/index.mjs";
|
|
8
|
+
import { useOfflineList as Pe } from "./hooks/use-offline-list.mjs";
|
|
9
9
|
import we from "./style/index.mjs";
|
|
10
10
|
import { useNamespace as De } from "../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
const Oe = /* @__PURE__ */ ue({
|
|
@@ -43,7 +43,7 @@ const Oe = /* @__PURE__ */ ue({
|
|
|
43
43
|
tableProps: P,
|
|
44
44
|
getPaging: Z,
|
|
45
45
|
setPaging: _
|
|
46
|
-
} =
|
|
46
|
+
} = Ie({
|
|
47
47
|
async request(e) {
|
|
48
48
|
const n = await a.request?.(e);
|
|
49
49
|
return {
|
|
@@ -68,11 +68,11 @@ const Oe = /* @__PURE__ */ ue({
|
|
|
68
68
|
function E() {
|
|
69
69
|
!S.value && C();
|
|
70
70
|
}
|
|
71
|
-
const z =
|
|
71
|
+
const z = Se(x, 300), ee = { form: k }, {
|
|
72
72
|
pagination: T,
|
|
73
73
|
dataSource: te,
|
|
74
74
|
onChange: ae
|
|
75
|
-
} =
|
|
75
|
+
} = Pe(a);
|
|
76
76
|
function ne(e, n) {
|
|
77
77
|
if (t(v)) {
|
|
78
78
|
ae(e, n);
|
|
@@ -166,7 +166,7 @@ const Oe = /* @__PURE__ */ ue({
|
|
|
166
166
|
(...r) => t(z) && t(z)(...r))
|
|
167
167
|
}, [
|
|
168
168
|
e.virtual ? (o(), s(O, { key: 0 }, [
|
|
169
|
-
t(
|
|
169
|
+
t(ye)(e.virtual) ? (o(), A(t(he), {
|
|
170
170
|
key: 0,
|
|
171
171
|
ref_key: "scroller",
|
|
172
172
|
ref: g,
|
|
@@ -183,7 +183,7 @@ const Oe = /* @__PURE__ */ ue({
|
|
|
183
183
|
})
|
|
184
184
|
]),
|
|
185
185
|
_: 3
|
|
186
|
-
}, 8, ["class", "items", "item-size", "key-field"])) : (o(), A(t(
|
|
186
|
+
}, 8, ["class", "items", "item-size", "key-field"])) : (o(), A(t(be), {
|
|
187
187
|
key: 1,
|
|
188
188
|
ref_key: "scroller",
|
|
189
189
|
ref: g,
|
|
@@ -194,7 +194,7 @@ const Oe = /* @__PURE__ */ ue({
|
|
|
194
194
|
onScrollEnd: E
|
|
195
195
|
}, {
|
|
196
196
|
default: B(({ item: r, index: i, active: se }) => [
|
|
197
|
-
h(t(
|
|
197
|
+
h(t(ke), {
|
|
198
198
|
item: r,
|
|
199
199
|
active: se,
|
|
200
200
|
"data-index": i,
|
|
@@ -228,7 +228,7 @@ const Oe = /* @__PURE__ */ ue({
|
|
|
228
228
|
style: D(e.footerWarpperStyle)
|
|
229
229
|
}, [
|
|
230
230
|
h(t(ge), me(
|
|
231
|
-
v.value ? t(T) : t(
|
|
231
|
+
v.value ? t(T) : t(ve)(t(P).pagination, ["showTotal"]),
|
|
232
232
|
{ onChange: ne }
|
|
233
233
|
), null, 16)
|
|
234
234
|
], 6)) : N("", !0)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StyleValue } from 'vue';
|
|
2
2
|
import { ApTablePaginationConfig, RequestData } from '../ap-table';
|
|
3
|
-
import { Recordable } from '../type';
|
|
4
3
|
import { InternalPagingType } from '../ap-table/hooks/use-table-paging-ng';
|
|
4
|
+
import { Recordable } from '../type';
|
|
5
5
|
export type ApListProps<RecordType = any, ParamsType = Recordable> = {
|
|
6
6
|
/**
|
|
7
7
|
* 列表数据源,传入后`request`和`defaultData`都将失效
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Modal as m } from "@aplus-frontend/antdv";
|
|
2
|
-
import "./utils/index.mjs";
|
|
3
2
|
import { omit as a } from "lodash-unified";
|
|
4
3
|
import t, { withWarn as c, withInfo as f, withSuccess as l, withError as s, withConfirm as p } from "./utils/confirm.mjs";
|
|
5
4
|
import e from "./utils/destroyFns.mjs";
|
|
5
|
+
import "./utils/index.mjs";
|
|
6
6
|
import { setModalGlobalAppContext as u } from "./utils/util.mjs";
|
|
7
7
|
import "./interface.mjs";
|
|
8
8
|
import { createModal as d } from "./utils/createModal.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { render as s, cloneVNode as h, createVNode as p, mergeProps as m } from "vue";
|
|
2
|
-
import b from "@aplus-frontend/antdv/es/
|
|
3
|
-
import
|
|
4
|
-
import "../../config-provider/index.mjs";
|
|
2
|
+
import { globalConfigForApi as b } from "@aplus-frontend/antdv/es/config-provider";
|
|
3
|
+
import P from "@aplus-frontend/antdv/es/modal/ConfirmDialog";
|
|
5
4
|
import { getConfirmLocale as w } from "@aplus-frontend/antdv/es/modal/locale";
|
|
6
|
-
import {
|
|
5
|
+
import { omit as v } from "lodash-unified";
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
7
7
|
import c from "./destroyFns.mjs";
|
|
8
8
|
import { getModalGlobalAppContext as A } from "./util.mjs";
|
|
9
9
|
import { globalConfigCached as D, ConfigProvider as F } from "../../config-provider/config-provider.mjs";
|
|
10
10
|
const G = (e) => {
|
|
11
11
|
const f = document.createDocumentFragment();
|
|
12
12
|
let n = {
|
|
13
|
-
...
|
|
13
|
+
...v(e, ["parentContext", "appContext"]),
|
|
14
14
|
close: l,
|
|
15
15
|
open: !0,
|
|
16
16
|
centered: !0
|
|
@@ -45,13 +45,13 @@ const G = (e) => {
|
|
|
45
45
|
}
|
|
46
46
|
const d = (o) => {
|
|
47
47
|
const r = {
|
|
48
|
-
...
|
|
48
|
+
...b,
|
|
49
49
|
...D.value
|
|
50
50
|
}, t = r.prefixCls, u = o.prefixCls || `${t}-modal`, y = r.iconPrefixCls, C = w();
|
|
51
51
|
return p(F, m(r, {
|
|
52
52
|
prefixCls: t
|
|
53
53
|
}), {
|
|
54
|
-
default: () => [p(
|
|
54
|
+
default: () => [p(P, m(o, {
|
|
55
55
|
rootPrefixCls: t,
|
|
56
56
|
prefixCls: u,
|
|
57
57
|
iconPrefixCls: y,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { render as h, defineComponent as k, createVNode as u, mergeProps as N, h as $ } from "vue";
|
|
2
2
|
import { Modal as E } from "@aplus-frontend/antdv";
|
|
3
|
-
import { globalConfigCached as p, ConfigProvider as F } from "../../config-provider/config-provider.mjs";
|
|
4
|
-
import { omit as L } from "lodash-unified";
|
|
5
3
|
import { isNumeric as C } from "@aplus-frontend/utils";
|
|
6
|
-
import {
|
|
7
|
-
import { getTopWindow as
|
|
8
|
-
import
|
|
4
|
+
import { omit as F } from "lodash-unified";
|
|
5
|
+
import { getTopWindow as L } from "../../utils/index.mjs";
|
|
6
|
+
import { globalConfigCached as p, ConfigProvider as M } from "../../config-provider/config-provider.mjs";
|
|
7
|
+
import A from "../style/index.mjs";
|
|
8
|
+
import { getContainerDom as g, getModalGlobalAppContext as H } from "./util.mjs";
|
|
9
9
|
const j = (t) => {
|
|
10
10
|
let n, r, i;
|
|
11
11
|
const s = (e) => e ? `${p.value.namespace}-ap-modal-${e}` : `${p.value.namespace}-ap-modal`, {
|
|
@@ -42,7 +42,7 @@ const j = (t) => {
|
|
|
42
42
|
...this.props,
|
|
43
43
|
...e
|
|
44
44
|
};
|
|
45
|
-
}, i =
|
|
45
|
+
}, i = A("ap-modal");
|
|
46
46
|
},
|
|
47
47
|
methods: {
|
|
48
48
|
async handleCancel() {
|
|
@@ -77,8 +77,8 @@ const j = (t) => {
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
render() {
|
|
80
|
-
const e =
|
|
81
|
-
return u(
|
|
80
|
+
const e = F(this.props, ["onCancel", "onOk", "open", "onUpdate:open", "getContainer", "icon", "footer"]);
|
|
81
|
+
return u(M, p.value, {
|
|
82
82
|
default: () => [u(E, N({
|
|
83
83
|
class: {
|
|
84
84
|
[s()]: !0,
|
|
@@ -106,9 +106,9 @@ const j = (t) => {
|
|
|
106
106
|
})]
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
}), O = g(p?.value?.getPopupContainer), w = g(t.getContainer), b = O || w ||
|
|
109
|
+
}), O = g(p?.value?.getPopupContainer), w = g(t.getContainer), b = O || w || L().document.body, a = document.createElement("div");
|
|
110
110
|
b.appendChild(a);
|
|
111
|
-
const f = $(y), P =
|
|
111
|
+
const f = $(y), P = H();
|
|
112
112
|
return f.appContext = t.appContext || P || f.appContext, h(f, a), {
|
|
113
113
|
destroy: l,
|
|
114
114
|
update: x,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Modal as I } from "@aplus-frontend/antdv";
|
|
1
2
|
import { isValid as _ } from "@aplus-frontend/utils";
|
|
2
|
-
import { createModal as I } from "./createModal.mjs";
|
|
3
|
-
import { Modal as S } from "@aplus-frontend/antdv";
|
|
4
3
|
import { ModalMessage as y } from "../enums/modalMessage.mjs";
|
|
4
|
+
import { createModal as S } from "./createModal.mjs";
|
|
5
5
|
const A = (M, g) => {
|
|
6
6
|
const E = g ?? (Array.isArray(M) ? M[0]?.modalId : void 0), n = /* @__PURE__ */ new Map();
|
|
7
7
|
let x, u, c = 1e3;
|
|
@@ -86,10 +86,10 @@ const A = (M, g) => {
|
|
|
86
86
|
s?.update(t), s?.open?.();
|
|
87
87
|
return;
|
|
88
88
|
} else if (f === "createModal") {
|
|
89
|
-
const e =
|
|
89
|
+
const e = S(t);
|
|
90
90
|
e?.open?.(), n.set(d, e);
|
|
91
91
|
} else
|
|
92
|
-
|
|
92
|
+
I?.[f]?.(t);
|
|
93
93
|
}, N = M.find((r) => _(E) && r.modalId === E);
|
|
94
94
|
if (N !== void 0)
|
|
95
95
|
return C(N), {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as s, createVNode as p, render as u, h as C } from "vue";
|
|
2
2
|
import { Modal as f } from "@aplus-frontend/antdv";
|
|
3
|
-
import {
|
|
3
|
+
import { getTopWindow as g } from "../../utils/index.mjs";
|
|
4
|
+
import { ConfigProvider as h, globalConfigCached as e } from "../../config-provider/config-provider.mjs";
|
|
4
5
|
import { getContainerDom as n } from "./util.mjs";
|
|
5
|
-
import { getTopWindow as h } from "../../utils/index.mjs";
|
|
6
6
|
const w = (r) => (o) => {
|
|
7
7
|
let t;
|
|
8
8
|
const d = /* @__PURE__ */ s({
|
|
@@ -17,11 +17,11 @@ const w = (r) => (o) => {
|
|
|
17
17
|
t = this.modal?.[r]?.(o);
|
|
18
18
|
},
|
|
19
19
|
render() {
|
|
20
|
-
return p(
|
|
20
|
+
return p(h, e.value, {
|
|
21
21
|
default: () => [this.contextHolder?.()]
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
}), m = n(e?.value?.getPopupContainer), a = n(o.getContainer), i = m || a ||
|
|
24
|
+
}), m = n(e?.value?.getPopupContainer), a = n(o.getContainer), i = m || a || g().document.body;
|
|
25
25
|
return u(C(d), i), t;
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
@@ -18,10 +18,10 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
|
|
|
18
18
|
}>, {
|
|
19
19
|
wrap: boolean;
|
|
20
20
|
boxShadow: boolean;
|
|
21
|
-
gutter: ApProCardGutter | ApProCardGutter[];
|
|
22
|
-
ghost: boolean;
|
|
23
21
|
bordered: boolean;
|
|
24
22
|
hoverable: boolean;
|
|
23
|
+
gutter: ApProCardGutter | ApProCardGutter[];
|
|
24
|
+
ghost: boolean;
|
|
25
25
|
collapsible: boolean;
|
|
26
26
|
headerBordered: boolean;
|
|
27
27
|
defaultCollapsed: boolean;
|