@aplus-frontend/ui 7.9.1 → 7.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +82 -81
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +3 -3
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +73 -71
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +6 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -1
- package/es/src/ap-list/index.vue.mjs +156 -115
- package/es/src/ap-list/interface.d.ts +6 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +2 -0
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +30 -26
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +13 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +168 -143
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +3 -3
- package/es/src/config-provider/config-provider.d.ts +3 -3
- package/es/src/config-provider/config-provider.mjs +9 -9
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +9 -9
- package/es/src/design-token/interface.d.ts +20 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +23 -23
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +6 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +6 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +2 -0
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +13 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +3 -3
- package/lib/src/config-provider/config-provider.d.ts +3 -3
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +9 -9
- package/lib/src/design-token/interface.d.ts +20 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +4 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as r, useSlots as m, computed as d, createVNode as e, mergeProps as p } from "vue";
|
|
2
2
|
import { Tooltip as f, Badge as A } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApAdLineAnnotation as y, IconApAdFillWarn as v, IconApAdLineWarn as b, IconApAdFillExecution as g, IconApAdFillSuccessful as T } from "@aplus-frontend/icon";
|
|
4
|
+
import { omit as I } from "lodash-unified";
|
|
4
5
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { ApLabelProps as
|
|
6
|
-
import { omit as L } from "lodash-unified";
|
|
6
|
+
import { ApLabelProps as L } from "./constans.mjs";
|
|
7
7
|
import S from "./style/index.mjs";
|
|
8
8
|
import { useNamespace as h } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
const W = /* @__PURE__ */ r({
|
|
10
10
|
name: "ApLabel",
|
|
11
|
-
props:
|
|
11
|
+
props: L(),
|
|
12
12
|
setup(l) {
|
|
13
13
|
const {
|
|
14
14
|
b: a,
|
|
@@ -39,7 +39,7 @@ const W = /* @__PURE__ */ r({
|
|
|
39
39
|
class: [a(), c.value]
|
|
40
40
|
}, [e("div", {
|
|
41
41
|
class: [i("content")]
|
|
42
|
-
}, [e(A, p(
|
|
42
|
+
}, [e(A, p(I(l, ["helpMessage", "placement", "iconColor"]), {
|
|
43
43
|
status: l.status ? l.status : "default"
|
|
44
44
|
}), null), o.default ? o.default() : s(l.helpMessage, l)]), o.custom ? e("div", {
|
|
45
45
|
class: [i("custom")]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
1
2
|
import { PropType, VNode, CSSProperties } from 'vue';
|
|
2
3
|
import { ApLabelGroupItemProps, ApLabelProps as ApLabelPropsInterface } from './interface';
|
|
3
|
-
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
export declare const ApLabelGroupProps: () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as m, createVNode as o, mergeProps as t, createTextVNode as s } from "vue";
|
|
2
|
+
import { omit as n } from "lodash-unified";
|
|
2
3
|
import "../../../config-provider/index.mjs";
|
|
4
|
+
import "../../ap-tag/index.mjs";
|
|
3
5
|
import i from "../ApLabel.mjs";
|
|
4
|
-
import { omit as n } from "lodash-unified";
|
|
5
6
|
import { ApLabelGroupProps as p } from "../constans.mjs";
|
|
6
|
-
import "../../ap-tag/index.mjs";
|
|
7
7
|
import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import f from "../../ap-tag/ap-tag.vue.mjs";
|
|
9
9
|
const _ = /* @__PURE__ */ m({
|
|
@@ -70,8 +70,8 @@ declare const ApLabel: {
|
|
|
70
70
|
placement: TooltipPlacement;
|
|
71
71
|
show: boolean;
|
|
72
72
|
dot: boolean;
|
|
73
|
-
count: any;
|
|
74
73
|
iconType: "ellipsis" | "warning" | "success" | "question" | "line-warning" | undefined;
|
|
74
|
+
count: any;
|
|
75
75
|
showZero: boolean;
|
|
76
76
|
overflowCount: number;
|
|
77
77
|
numberStyle: CSSProperties;
|
|
@@ -152,8 +152,8 @@ declare const ApLabel: {
|
|
|
152
152
|
placement: TooltipPlacement;
|
|
153
153
|
show: boolean;
|
|
154
154
|
dot: boolean;
|
|
155
|
-
count: any;
|
|
156
155
|
iconType: "ellipsis" | "warning" | "success" | "question" | "line-warning" | undefined;
|
|
156
|
+
count: any;
|
|
157
157
|
showZero: boolean;
|
|
158
158
|
overflowCount: number;
|
|
159
159
|
numberStyle: CSSProperties;
|
|
@@ -231,8 +231,8 @@ declare const ApLabel: {
|
|
|
231
231
|
placement: TooltipPlacement;
|
|
232
232
|
show: boolean;
|
|
233
233
|
dot: boolean;
|
|
234
|
-
count: any;
|
|
235
234
|
iconType: "ellipsis" | "warning" | "success" | "question" | "line-warning" | undefined;
|
|
235
|
+
count: any;
|
|
236
236
|
showZero: boolean;
|
|
237
237
|
overflowCount: number;
|
|
238
238
|
numberStyle: CSSProperties;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BadgeProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
3
|
-
import { ApTagProps } from '../ap-tag';
|
|
4
3
|
import { VNode, VNodeChild } from 'vue';
|
|
4
|
+
import { ApTagProps } from '../ap-tag';
|
|
5
5
|
type Recordable = Record<string, any>;
|
|
6
6
|
export type ApLabelProps = BadgeProps & Partial<{
|
|
7
7
|
helpMessage: VNode | string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, createVNode as e, Fragment as t } from "vue";
|
|
2
|
-
import { convertValue as n, renderValue as p, isVNodeOrFunction as d } from "../utils.mjs";
|
|
3
2
|
import "../../../config-provider/index.mjs";
|
|
3
|
+
import { convertValue as n, renderValue as p, isVNodeOrFunction as d } from "../utils.mjs";
|
|
4
4
|
import { useNamespace as v } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
const f = /* @__PURE__ */ c({
|
|
6
6
|
name: "ApLadderValues",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConvertValueOptions } from './interface';
|
|
2
1
|
import { VNode, RendererNode, RendererElement } from 'vue';
|
|
2
|
+
import { ConvertValueOptions } from './interface';
|
|
3
3
|
export declare const isNull: (value: any) => boolean;
|
|
4
4
|
export declare const createMemoizeKey: (value: any, options?: any) => string;
|
|
5
5
|
export declare const convertValue: (value: string | number | (() => VNode) | VNode | null | undefined, options?: ConvertValueOptions) => string | number | VNode< RendererNode, RendererElement, {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { defineComponent as f, h as t, createVNode as e, createTextVNode as v } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Space as y, Tooltip as h } from "@aplus-frontend/antdv";
|
|
3
|
+
import { IconApAdFillWarn as g } from "@aplus-frontend/icon";
|
|
3
4
|
import "../../config-provider/index.mjs";
|
|
4
|
-
import { ApImage as h } from "../ap-image/index.mjs";
|
|
5
5
|
import { ApCopy as s } from "../ap-copy/index.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { ApImage as m } from "../ap-image/index.mjs";
|
|
7
|
+
import { ApProductInfoProps as k } from "./constans.mjs";
|
|
8
8
|
import b from "./style/index.mjs";
|
|
9
9
|
import { useNamespace as A } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
const T = /* @__PURE__ */ f({
|
|
11
11
|
name: "ApProductInfo",
|
|
12
|
-
props:
|
|
12
|
+
props: k(),
|
|
13
13
|
setup(r) {
|
|
14
14
|
const {
|
|
15
15
|
b: i,
|
|
16
16
|
e: o,
|
|
17
17
|
m: a
|
|
18
|
-
} = A("ap-product-info"), c = b("ap-product-info"), p = (l) => typeof l.value == "function" ? l.value() : l.helpMessage ? t(
|
|
18
|
+
} = A("ap-product-info"), c = b("ap-product-info"), p = (l) => typeof l.value == "function" ? l.value() : l.helpMessage ? t(y.Compact, {}, [t(s, {
|
|
19
19
|
text: l.value,
|
|
20
20
|
link: l.link,
|
|
21
21
|
textStyle: l.link ? "link" : "minor"
|
|
22
|
-
}), t(
|
|
22
|
+
}), t(h, {
|
|
23
23
|
placement: "top",
|
|
24
24
|
color: l.toolTipBgColor,
|
|
25
25
|
title: typeof l.helpMessage == "string" ? l.helpMessage : t(l.helpMessage)
|
|
26
|
-
}, () => t(
|
|
26
|
+
}, () => t(g, {
|
|
27
27
|
color: "#FFA940",
|
|
28
28
|
style: {
|
|
29
29
|
cursor: "pointer"
|
|
@@ -38,7 +38,7 @@ const T = /* @__PURE__ */ f({
|
|
|
38
38
|
class: [i(), c.value]
|
|
39
39
|
}, [e("div", {
|
|
40
40
|
class: o("img")
|
|
41
|
-
}, [e(
|
|
41
|
+
}, [e(m, {
|
|
42
42
|
src: r.imgSrc,
|
|
43
43
|
width: 44,
|
|
44
44
|
height: 44,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as D, ref as r, computed as M, onMounted as O, createElementBlock as p, openBlock as f, normalizeClass as o, unref as e, createVNode as u, createElementVNode as a, Transition as W, withCtx as c, withDirectives as V, toDisplayString as g, createTextVNode as A, Fragment as z, renderList as R, renderSlot as E, vShow as $, createCommentVNode as j } from "vue";
|
|
2
|
+
import { Tooltip as x, TypographyText as G } from "@aplus-frontend/antdv";
|
|
3
|
+
import { IconApLeftarrow as H, IconApMenu as J } from "@aplus-frontend/icon";
|
|
2
4
|
import "../../ap-field/index.mjs";
|
|
3
|
-
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
5
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { Tooltip as x, TypographyText as J } from "@aplus-frontend/antdv";
|
|
6
6
|
import K from "./style/index.mjs";
|
|
7
7
|
import { useNamespace as P } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import { ApFieldText as Q } from "../../ap-field/text/index.mjs";
|
|
@@ -61,7 +61,7 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
61
61
|
A("收起", -1)
|
|
62
62
|
])]),
|
|
63
63
|
default: c(() => [
|
|
64
|
-
u(e(
|
|
64
|
+
u(e(H), { onClick: F })
|
|
65
65
|
]),
|
|
66
66
|
_: 1
|
|
67
67
|
}, 8, ["open"])
|
|
@@ -88,7 +88,7 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
88
88
|
onClick: (Y) => L(l)
|
|
89
89
|
}, [
|
|
90
90
|
E(t.$slots, "itemRender", { item: l }, () => [
|
|
91
|
-
u(e(
|
|
91
|
+
u(e(G), {
|
|
92
92
|
ellipsis: { tooltip: l.name },
|
|
93
93
|
content: `${l.name}`
|
|
94
94
|
}, null, 8, ["ellipsis", "content"])
|
|
@@ -122,7 +122,7 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
122
122
|
A("展开", -1)
|
|
123
123
|
])]),
|
|
124
124
|
default: c(() => [
|
|
125
|
-
u(e(
|
|
125
|
+
u(e(J), { onClick: F })
|
|
126
126
|
]),
|
|
127
127
|
_: 1
|
|
128
128
|
}, 8, ["open"])
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as p, toRaw as f, createVNode as a, mergeProps as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Form as s } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-field/number/index.vue2.mjs";
|
|
4
|
-
import { Form as g } from "@aplus-frontend/antdv";
|
|
5
4
|
import "../../config-provider/index.mjs";
|
|
5
|
+
import { ApSizeInputProps as g } from "./constans.mjs";
|
|
6
6
|
import I from "./style/index.mjs";
|
|
7
7
|
import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import { useLocale as z } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
9
|
import u from "../../ap-field/number/index.vue.mjs";
|
|
10
10
|
const _ = /* @__PURE__ */ p({
|
|
11
11
|
name: "ApSizeInput",
|
|
12
|
-
props:
|
|
12
|
+
props: g(),
|
|
13
13
|
setup(e, {
|
|
14
14
|
emit: c
|
|
15
15
|
}) {
|
|
@@ -17,7 +17,7 @@ const _ = /* @__PURE__ */ p({
|
|
|
17
17
|
b: d
|
|
18
18
|
} = v("ap-size-input"), h = I("ap-size-input"), {
|
|
19
19
|
t: n
|
|
20
|
-
} = z(), r =
|
|
20
|
+
} = z(), r = s.useInjectFormItemContext(), o = (t, l) => {
|
|
21
21
|
const i = e.value || [];
|
|
22
22
|
i[t] = l, c("update:value", i), c("SizeInputChange", f(i)), r.onFieldChange();
|
|
23
23
|
};
|
|
@@ -2,12 +2,12 @@ import { ApFormItemSizeInputProps } from './interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<ApFormItemSizeInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemSizeInputProps> & Readonly<{}>, {
|
|
4
4
|
hidden: boolean;
|
|
5
|
-
|
|
5
|
+
bordered: boolean;
|
|
6
6
|
required: boolean;
|
|
7
|
+
colon: boolean;
|
|
7
8
|
hasFeedback: boolean;
|
|
8
9
|
autoLink: boolean;
|
|
9
10
|
validateFirst: boolean;
|
|
10
11
|
noStyle: boolean;
|
|
11
|
-
bordered: boolean;
|
|
12
12
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, createBlock as i, openBlock as p, unref as e, normalizeProps as l, guardReactiveProps as t, withCtx as d, createVNode as n } from "vue";
|
|
2
|
-
import m from "
|
|
2
|
+
import { omit as m } from "lodash-unified";
|
|
3
3
|
import { ApForm as s } from "../../ap-form/index.mjs";
|
|
4
|
-
import
|
|
4
|
+
import u from "./ApSizeInput.mjs";
|
|
5
5
|
const _ = /* @__PURE__ */ r({
|
|
6
6
|
name: "ApFormItemSizeInput",
|
|
7
7
|
__name: "form-item",
|
|
@@ -52,9 +52,9 @@ const _ = /* @__PURE__ */ r({
|
|
|
52
52
|
},
|
|
53
53
|
setup(a) {
|
|
54
54
|
const o = a;
|
|
55
|
-
return (f, c) => (p(), i(e(s).FormItem, l(t(e(
|
|
55
|
+
return (f, c) => (p(), i(e(s).FormItem, l(t(e(m)(o, ["field"]))), {
|
|
56
56
|
default: d(() => [
|
|
57
|
-
n(e(
|
|
57
|
+
n(e(u), l(t(o.field || {})), null, 16)
|
|
58
58
|
]),
|
|
59
59
|
_: 1
|
|
60
60
|
}, 16));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import t from "
|
|
2
|
-
import
|
|
1
|
+
import { withInstall as t } from "@aplus-frontend/utils";
|
|
2
|
+
import p from "./ApSizeInput.mjs";
|
|
3
3
|
import "./form-item.vue2.mjs";
|
|
4
4
|
import "./interface.mjs";
|
|
5
|
-
const n = p
|
|
5
|
+
const n = t(p);
|
|
6
6
|
export {
|
|
7
7
|
n as ApSizeInput
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as N, computed as d, createVNode as w, Fragment as p, createBlock as l, openBlock as m, unref as n, normalizeClass as f, withCtx as y, createElementBlock as z, renderList as B, normalizeStyle as R, resolveDynamicComponent as A } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { TableSummaryRow as D, TableSummaryCell as F } from "@aplus-frontend/antdv";
|
|
3
|
+
import { isNumeric as V, toThousand as E, toFixed as P } from "@aplus-frontend/utils";
|
|
4
|
+
import { isNil as $, get as u } from "lodash-unified";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import
|
|
7
|
-
import q from "./
|
|
6
|
+
import j from "./style/index.mjs";
|
|
7
|
+
import { flattenColumns as q, formatDataIndex as i } from "./utils.mjs";
|
|
8
8
|
import { useLocale as G } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
9
|
import { useNamespace as H } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
const tt = /* @__PURE__ */ N({
|
|
@@ -26,10 +26,10 @@ const tt = /* @__PURE__ */ N({
|
|
|
26
26
|
const s = x, {
|
|
27
27
|
t: h
|
|
28
28
|
} = G(), k = d(() => s.summaryTitle ?? h("ap.apSummary.total")), S = (e) => e === 0, T = (e, r) => {
|
|
29
|
-
if (!
|
|
29
|
+
if (!V(e) || r.valueType !== "number")
|
|
30
30
|
return e;
|
|
31
31
|
const a = r.fieldProps?.field, t = a?.precision || 0;
|
|
32
|
-
return (
|
|
32
|
+
return ($(a?.thousands) ? !0 : a?.thousands) ? E(e, t) : P(e, t);
|
|
33
33
|
}, C = d(() => {
|
|
34
34
|
let e = [];
|
|
35
35
|
s.hasSelect && e.push({
|
|
@@ -38,7 +38,7 @@ const tt = /* @__PURE__ */ N({
|
|
|
38
38
|
align: "left",
|
|
39
39
|
value: ""
|
|
40
40
|
});
|
|
41
|
-
const a =
|
|
41
|
+
const a = q(s.columns).map((t, c) => {
|
|
42
42
|
let o;
|
|
43
43
|
const I = u(s.data, i(t.dataIndex || t.key));
|
|
44
44
|
if (S(c))
|
|
@@ -67,11 +67,11 @@ const tt = /* @__PURE__ */ N({
|
|
|
67
67
|
b: _,
|
|
68
68
|
e: g,
|
|
69
69
|
em: v
|
|
70
|
-
} = H("ap-summary"), b =
|
|
71
|
-
return (e, r) => (m(), l(n(
|
|
70
|
+
} = H("ap-summary"), b = j("ap-summary");
|
|
71
|
+
return (e, r) => (m(), l(n(D), {
|
|
72
72
|
class: f([n(_)(), n(b)])
|
|
73
73
|
}, {
|
|
74
|
-
default: y(() => [(m(!0), z(p, null, B(C.value, (a, t) => (m(), l(n(
|
|
74
|
+
default: y(() => [(m(!0), z(p, null, B(C.value, (a, t) => (m(), l(n(F), {
|
|
75
75
|
key: a.key,
|
|
76
76
|
class: f(`${s.size === "small" ? n(v)("item", "small") : n(g)("item")}`),
|
|
77
77
|
index: t,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ColumnsType } from '@aplus-frontend/antdv/es/table';
|
|
2
2
|
import { AlignType, DataIndex, Key } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
3
|
-
import { ApColumnType } from '../../ap-table';
|
|
4
|
-
import { ApGridColumnType } from '../../ap-grid';
|
|
5
3
|
import { AgGridColumnType } from '../../ag-grid';
|
|
4
|
+
import { ApGridColumnType } from '../../ap-grid';
|
|
5
|
+
import { ApColumnType } from '../../ap-table';
|
|
6
6
|
export type SummaryColumnType = ApColumnType[] | ApGridColumnType[] | AgGridColumnType[] | ColumnsType | any[];
|
|
7
7
|
export type ValueType = {
|
|
8
8
|
[key in string]: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComputedRecordParams, SummaryColumnType, ValueType } from './interface';
|
|
2
1
|
import { DataIndex, Key } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
3
2
|
import { ApColumnType } from '../../ap-table/interface';
|
|
3
|
+
import { ComputedRecordParams, SummaryColumnType, ValueType } from './interface';
|
|
4
4
|
export declare const flattenColumns: (columns?: SummaryColumnType) => ApColumnType[];
|
|
5
5
|
export declare const formatDataIndex: (dataIndex?: DataIndex | Key) => string | number | readonly (string | number)[];
|
|
6
6
|
export declare const formatNumber: (value: any, precision: number, thousands: boolean) => string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { toThousand as x, toFixed as b, addNumber as C } from "@aplus-frontend/utils";
|
|
2
|
+
import { flatten as f, uniqBy as L, isNil as N, get as s, set as T } from "lodash-unified";
|
|
3
3
|
const m = (t) => t?.children && t?.children?.length > 0 ? f(t.children?.map((e) => m(e))) : [t], j = (t) => f(
|
|
4
4
|
t?.map((e) => m(e))
|
|
5
|
-
), l = (t) => Object.prototype.toString.call(t) === "[object Array]" ? t.map((e) => String(e)).join(".") : t ?? "", S = (t, e, u) => u ?
|
|
5
|
+
), l = (t) => Object.prototype.toString.call(t) === "[object Array]" ? t.map((e) => String(e)).join(".") : t ?? "", S = (t, e, u) => u ? x(t, e) : b(t, e);
|
|
6
6
|
function q(t) {
|
|
7
7
|
const { records: e, columns: u, configList: c, exclude: a, valueTypeExtension: y } = t;
|
|
8
8
|
if (!e || e?.length === 0)
|
|
@@ -14,14 +14,14 @@ function q(t) {
|
|
|
14
14
|
key: n.key || "",
|
|
15
15
|
dataIndex: n.dataIndex
|
|
16
16
|
}));
|
|
17
|
-
c && c?.length > 0 && (r =
|
|
17
|
+
c && c?.length > 0 && (r = L(r?.concat(c), "key")), a && a.length > 0 && (r = r.filter(
|
|
18
18
|
(n) => !a.includes(n.key)
|
|
19
19
|
));
|
|
20
20
|
const p = {};
|
|
21
21
|
return e?.reduce((n, d) => (r.forEach((o) => {
|
|
22
|
-
if (!
|
|
23
|
-
const i = o.dataIndex || o.key, g = s(n, l(i)) || 0, h = s(d, l(i)) || 0, k =
|
|
24
|
-
|
|
22
|
+
if (!N(s(d, l(o.dataIndex || o.key)))) {
|
|
23
|
+
const i = o.dataIndex || o.key, g = s(n, l(i)) || 0, h = s(d, l(i)) || 0, k = C(g, h)?.toNumber();
|
|
24
|
+
T(n, i, +k);
|
|
25
25
|
}
|
|
26
26
|
}), n), p);
|
|
27
27
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
1
|
+
import { omit as b } from "lodash-unified";
|
|
2
|
+
import { ref as T, defineComponent as g, h as a, render as s, onUnmounted as C } from "vue";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
|
-
import
|
|
4
|
+
import "../table-modal.vue.mjs";
|
|
5
5
|
import { ConfigProvider as y, globalConfigCached as A } from "../../../config-provider/config-provider.mjs";
|
|
6
6
|
import h from "../table-modal.vue2.mjs";
|
|
7
7
|
function _(r) {
|
|
8
8
|
let t = !0;
|
|
9
|
-
const c = document.body, e =
|
|
10
|
-
const n =
|
|
9
|
+
const c = document.body, e = T(), { destroyOnUnmounted: d = !0 } = r, o = document.createElement("div"), u = () => {
|
|
10
|
+
const n = g({
|
|
11
11
|
setup() {
|
|
12
12
|
return () => a(
|
|
13
13
|
y,
|
|
14
14
|
{ ...A.value },
|
|
15
15
|
a(h, {
|
|
16
|
-
...
|
|
16
|
+
...b(r, "destroyOnUnmounted"),
|
|
17
17
|
ref: e
|
|
18
18
|
})
|
|
19
19
|
);
|
|
@@ -31,7 +31,7 @@ function _(r) {
|
|
|
31
31
|
}, f = () => {
|
|
32
32
|
e.value?.getApTableInstance()?.reset();
|
|
33
33
|
};
|
|
34
|
-
return
|
|
34
|
+
return C(() => {
|
|
35
35
|
d && l();
|
|
36
36
|
}), {
|
|
37
37
|
openModal: i,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { merge as f } from "lodash-unified";
|
|
2
|
+
import { onUnmounted as c } from "vue";
|
|
3
3
|
import { useCreateTableModal as i } from "./use-create-table-modal.mjs";
|
|
4
4
|
function b(r) {
|
|
5
|
-
const a =
|
|
5
|
+
const a = f(r, {
|
|
6
6
|
...{
|
|
7
7
|
footer: null
|
|
8
8
|
},
|
|
@@ -21,7 +21,7 @@ function b(r) {
|
|
|
21
21
|
}, t = () => {
|
|
22
22
|
l();
|
|
23
23
|
};
|
|
24
|
-
return
|
|
24
|
+
return c(() => {
|
|
25
25
|
t(), e();
|
|
26
26
|
}), {
|
|
27
27
|
open: d,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { onUnmounted as m } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { AsyncOpenResultError as f } from "../interface.mjs";
|
|
3
|
+
import { useCreateTableModal as w } from "./use-create-table-modal.mjs";
|
|
4
4
|
const a = (e) => e.id;
|
|
5
5
|
function b(e) {
|
|
6
|
-
const { finishCallback: c, getRowKey: r, ...l } = e, { destroy: n, openModal: i, closeModal: p, ...u } =
|
|
6
|
+
const { finishCallback: c, getRowKey: r, ...l } = e, { destroy: n, openModal: i, closeModal: p, ...u } = w({
|
|
7
7
|
...l,
|
|
8
8
|
destroyOnUnmounted: !1,
|
|
9
9
|
getRowKey: r || a
|
|
@@ -15,7 +15,7 @@ function b(e) {
|
|
|
15
15
|
};
|
|
16
16
|
return c?.(o), o;
|
|
17
17
|
} catch (o) {
|
|
18
|
-
if (o ===
|
|
18
|
+
if (o === f.ModalCancel)
|
|
19
19
|
return {
|
|
20
20
|
keys: t?.map(r || a),
|
|
21
21
|
rows: t
|
|
@@ -59,20 +59,20 @@ declare const ApTableModal: {
|
|
|
59
59
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
60
60
|
}, PublicProps, {
|
|
61
61
|
mask: boolean;
|
|
62
|
+
maxCount: number;
|
|
63
|
+
keyboard: boolean;
|
|
64
|
+
maskClosable: boolean;
|
|
65
|
+
forceRender: boolean;
|
|
62
66
|
confirmLoading: boolean;
|
|
63
67
|
closable: boolean;
|
|
64
68
|
centered: boolean;
|
|
65
|
-
maskClosable: boolean;
|
|
66
|
-
forceRender: boolean;
|
|
67
69
|
destroyOnClose: boolean;
|
|
68
70
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
69
|
-
keyboard: boolean;
|
|
70
71
|
focusTriggerAfterClose: boolean;
|
|
71
72
|
api: (params: any) => Promise<{
|
|
72
73
|
records: any[];
|
|
73
74
|
total: number;
|
|
74
75
|
}>;
|
|
75
|
-
maxCount: number;
|
|
76
76
|
isRenderModalTitleSuffix: boolean;
|
|
77
77
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
78
78
|
apTableRef: ShallowUnwrapRef<{
|
|
@@ -169,20 +169,20 @@ declare const ApTableModal: {
|
|
|
169
169
|
} | null;
|
|
170
170
|
}, {}, {}, {}, {
|
|
171
171
|
mask: boolean;
|
|
172
|
+
maxCount: number;
|
|
173
|
+
keyboard: boolean;
|
|
174
|
+
maskClosable: boolean;
|
|
175
|
+
forceRender: boolean;
|
|
172
176
|
confirmLoading: boolean;
|
|
173
177
|
closable: boolean;
|
|
174
178
|
centered: boolean;
|
|
175
|
-
maskClosable: boolean;
|
|
176
|
-
forceRender: boolean;
|
|
177
179
|
destroyOnClose: boolean;
|
|
178
180
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
179
|
-
keyboard: boolean;
|
|
180
181
|
focusTriggerAfterClose: boolean;
|
|
181
182
|
api: (params: any) => Promise<{
|
|
182
183
|
records: any[];
|
|
183
184
|
total: number;
|
|
184
185
|
}>;
|
|
185
|
-
maxCount: number;
|
|
186
186
|
isRenderModalTitleSuffix: boolean;
|
|
187
187
|
}>;
|
|
188
188
|
__isFragment?: never;
|
|
@@ -231,20 +231,20 @@ declare const ApTableModal: {
|
|
|
231
231
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
232
232
|
}, string, {
|
|
233
233
|
mask: boolean;
|
|
234
|
+
maxCount: number;
|
|
235
|
+
keyboard: boolean;
|
|
236
|
+
maskClosable: boolean;
|
|
237
|
+
forceRender: boolean;
|
|
234
238
|
confirmLoading: boolean;
|
|
235
239
|
closable: boolean;
|
|
236
240
|
centered: boolean;
|
|
237
|
-
maskClosable: boolean;
|
|
238
|
-
forceRender: boolean;
|
|
239
241
|
destroyOnClose: boolean;
|
|
240
242
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
241
|
-
keyboard: boolean;
|
|
242
243
|
focusTriggerAfterClose: boolean;
|
|
243
244
|
api: (params: any) => Promise<{
|
|
244
245
|
records: any[];
|
|
245
246
|
total: number;
|
|
246
247
|
}>;
|
|
247
|
-
maxCount: number;
|
|
248
248
|
isRenderModalTitleSuffix: boolean;
|
|
249
249
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
250
250
|
$props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ModalProps, TableProps } from '@aplus-frontend/antdv';
|
|
1
2
|
import { StyleValue, VNode, VNodeChild } from 'vue';
|
|
2
3
|
import { ApTableProps } from '../../ap-table';
|
|
3
|
-
import { ModalProps, TableProps } from '@aplus-frontend/antdv';
|
|
4
4
|
/** table-modal的props类型 */
|
|
5
5
|
export interface ApTableModalProps<TableRowType = any> extends Omit<ModalProps, 'onOk' | 'open' | 'close' | 'visible'> {
|
|
6
6
|
columns: ApTableProps['columns'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as N, createElementBlock as o, openBlock as l, normalizeClass as a, unref as t, renderSlot as g, Fragment as n, createCommentVNode as h, createElementVNode as m, createVNode as p, withCtx as i, createBlock as s, resolveDynamicComponent as c, h as b, normalizeStyle as v, createTextVNode as B, toDisplayString as $, renderList as M } from "vue";
|
|
2
|
+
import { Button as A, Empty as S } from "@aplus-frontend/antdv";
|
|
3
|
+
import { ApTitle as T } from "../../ap-title/index.mjs";
|
|
2
4
|
import "../../../config-provider/index.mjs";
|
|
3
|
-
import { ApTitle as S } from "../../ap-title/index.mjs";
|
|
4
|
-
import { Button as A, Empty as T } from "@aplus-frontend/antdv";
|
|
5
5
|
import { useLocale as V } from "../../../config-provider/hooks/use-locale.mjs";
|
|
6
6
|
import { useNamespace as D } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
const F = /* @__PURE__ */ N({
|
|
@@ -31,7 +31,7 @@ const F = /* @__PURE__ */ N({
|
|
|
31
31
|
key: 0,
|
|
32
32
|
class: a(t(r)("table-layout-left"))
|
|
33
33
|
}, [
|
|
34
|
-
p(t(
|
|
34
|
+
p(t(T), { style: { "margin-bottom": "16px" } }, {
|
|
35
35
|
prefix: i(() => [
|
|
36
36
|
(l(), s(c(b(n, [e.leftTitle]))))
|
|
37
37
|
]),
|
|
@@ -47,7 +47,7 @@ const F = /* @__PURE__ */ N({
|
|
|
47
47
|
class: a(t(r)("table-layout-right")),
|
|
48
48
|
style: v(e.rightContentStyle)
|
|
49
49
|
}, [
|
|
50
|
-
p(t(
|
|
50
|
+
p(t(T), {
|
|
51
51
|
title: `${t(d)("ap.apTableModal.selected")} (${e.selectedList.length})`
|
|
52
52
|
}, {
|
|
53
53
|
prefix: i(() => [
|
|
@@ -71,9 +71,9 @@ const F = /* @__PURE__ */ N({
|
|
|
71
71
|
class: a(t(r)("table-layout-right-content"))
|
|
72
72
|
}, [
|
|
73
73
|
(l(!0), o(n, null, M(e.selectedList, (f) => (l(), s(c(e.renderSelectedItem?.(f, { deleteItem: E })), { key: f }))), 128)),
|
|
74
|
-
e.selectedList.length === 0 ? (l(), s(t(
|
|
74
|
+
e.selectedList.length === 0 ? (l(), s(t(S), {
|
|
75
75
|
key: 0,
|
|
76
|
-
image: t(
|
|
76
|
+
image: t(S).PRESENTED_IMAGE_SIMPLE,
|
|
77
77
|
style: { "margin-top": "100px" }
|
|
78
78
|
}, null, 8, ["image"])) : h("", !0)
|
|
79
79
|
], 2)
|
|
@@ -48,20 +48,20 @@ declare const _default: DefineComponent<__VLS_Props, {
|
|
|
48
48
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
mask: boolean;
|
|
51
|
+
maxCount: number;
|
|
52
|
+
keyboard: boolean;
|
|
53
|
+
maskClosable: boolean;
|
|
54
|
+
forceRender: boolean;
|
|
51
55
|
confirmLoading: boolean;
|
|
52
56
|
closable: boolean;
|
|
53
57
|
centered: boolean;
|
|
54
|
-
maskClosable: boolean;
|
|
55
|
-
forceRender: boolean;
|
|
56
58
|
destroyOnClose: boolean;
|
|
57
59
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
58
|
-
keyboard: boolean;
|
|
59
60
|
focusTriggerAfterClose: boolean;
|
|
60
61
|
api: (params: any) => Promise<{
|
|
61
62
|
records: any[];
|
|
62
63
|
total: number;
|
|
63
64
|
}>;
|
|
64
|
-
maxCount: number;
|
|
65
65
|
isRenderModalTitleSuffix: boolean;
|
|
66
66
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
67
67
|
apTableRef: ShallowUnwrapRef<{
|