@aplus-frontend/ui 7.10.0 → 7.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +44 -39
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-action/style/dropdown-item.mjs +17 -11
- package/es/src/ap-action/style/index.mjs +8 -9
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +14 -14
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +2 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/style/item.mjs +15 -15
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.mjs +12 -12
- package/es/src/ap-list/interface.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +1 -1
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +8 -8
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +15 -15
- package/es/src/config-provider/config-provider-props.mjs +12 -12
- package/es/src/config-provider/config-provider.d.ts +29 -29
- package/es/src/config-provider/config-provider.mjs +42 -40
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +49 -49
- package/es/src/design-token/interface.d.ts +22 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +31 -30
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-action/style/dropdown-item.js +1 -1
- package/lib/src/ap-action/style/index.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +2 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +15 -15
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +29 -29
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +49 -49
- package/lib/src/design-token/interface.d.ts +22 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as AgGrid } from './index.vue';
|
|
2
|
-
import { default as EditableAgGrid } from './editable/index.vue';
|
|
3
1
|
import { default as EditableAgGridFormItem } from './editable/form-item.vue';
|
|
2
|
+
import { default as EditableAgGrid } from './editable/index.vue';
|
|
3
|
+
import { default as AgGrid } from './index.vue';
|
|
4
4
|
export { AgGrid, EditableAgGrid, EditableAgGridFormItem };
|
|
5
5
|
export * from './interface';
|
|
6
6
|
export * from './editable/interface';
|
package/es/src/ag-grid/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgGridExpose, AgGridProps, AgGridSlots } from './interface';
|
|
2
1
|
import { Recordable } from '../type';
|
|
2
|
+
import { AgGridExpose, AgGridProps, AgGridSlots } from './interface';
|
|
3
3
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
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<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & AgGridProps<RecordType> & Partial<{}>> & PublicProps;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { defineComponent as po, useSlots as fo, ref as M, toRef as F, unref as t, computed as n, nextTick as z, watch as G, createElementBlock as O, openBlock as C, normalizeStyle as L, normalizeClass as g, createCommentVNode as se, createElementVNode as B, createVNode as ie, mergeProps as W, createSlots as go, withCtx as ue, Fragment as wo, renderList as So, createBlock as H, resolveDynamicComponent as ho, renderSlot as de, withDirectives as Co, vShow as yo } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { AG_GRID_LOCALE_EN as Ro, AG_GRID_LOCALE_CN as vo } from "@ag-grid-community/locale";
|
|
3
|
+
import { Spin as bo, Pagination as Mo } from "@aplus-frontend/antdv";
|
|
4
|
+
import { useToken as Fo } from "@aplus-frontend/antdv/es/theme/internal";
|
|
5
|
+
import { ModuleRegistry as Bo, ValidationModule as ko, ColumnAutoSizeModule as xo, PinnedRowModule as Io, RowAutoHeightModule as Ao, RowStyleModule as No, CellSpanModule as To, CellStyleModule as Do, TooltipModule as Eo, RowSelectionModule as Po, LocaleModule as Ko, ValueCacheModule as Vo, GridStateModule as zo, ColumnApiModule as Go, RowApiModule as Oo, CellApiModule as Lo, RenderApiModule as Wo, EventApiModule as Ho, ScrollApiModule as Uo, ClientSideRowModelApiModule as _o, ClientSideRowModelModule as jo } from "ag-grid-community";
|
|
6
|
+
import { AgGridVue as $o } from "ag-grid-vue3";
|
|
6
7
|
import { isUndefined as k, isFunction as N } from "lodash-unified";
|
|
8
|
+
import { DEFAULT_ROW_SELECTION_CONFIG as ce, sizeReverseMap as qo, sizeMap as Jo } from "../ap-grid/constants.mjs";
|
|
9
|
+
import { useProvideApTable as Qo } from "../ap-table/context.mjs";
|
|
10
|
+
import { useTablePaging as Xo } from "../ap-table/hooks/use-table-paging-ng.mjs";
|
|
11
|
+
import { recursionApColumns as Yo } from "../ap-table/utils.mjs";
|
|
7
12
|
import "../config-provider/index.mjs";
|
|
8
|
-
import { ApForm as jo } from "../ap-form/index.mjs";
|
|
9
|
-
import { recursionApColumns as $o } from "../ap-table/utils.mjs";
|
|
10
|
-
import { useTablePaging as qo } from "../ap-table/hooks/use-table-paging-ng.mjs";
|
|
11
|
-
import Jo from "./hooks/use-row-selection.mjs";
|
|
12
|
-
import { useProvideSorter as Qo } from "./context.mjs";
|
|
13
|
-
import { useProvideApTable as Xo } from "../ap-table/context.mjs";
|
|
14
|
-
import { DEFAULT_ROW_SELECTION_CONFIG as ce, sizeReverseMap as Yo, sizeMap as Zo } from "../ap-grid/constants.mjs";
|
|
15
|
-
import { useToken as et } from "@aplus-frontend/antdv/es/theme/internal";
|
|
16
|
-
import { useTheme as ot } from "./theme.mjs";
|
|
17
|
-
import { useColumns as tt } from "./hooks/use-columns.mjs";
|
|
18
|
-
import { useColumnsDef as rt } from "./hooks/use-columns-def.mjs";
|
|
19
13
|
import "../utils/index.mjs";
|
|
20
|
-
import { getValidVNodeList as
|
|
21
|
-
import {
|
|
14
|
+
import { getValidVNodeList as Zo } from "../utils/slot.mjs";
|
|
15
|
+
import { ApForm as et } from "../ap-form/index.mjs";
|
|
22
16
|
import "./components/empty/index.vue.mjs";
|
|
23
|
-
import nt from "./hooks/use-virtual-config.mjs";
|
|
24
|
-
import { usePinnedRow as st } from "./hooks/use-pinned-row.mjs";
|
|
25
|
-
import it from "./hooks/use-selection-col-def.mjs";
|
|
26
17
|
import "./components/row/index.vue.mjs";
|
|
18
|
+
import { useProvideSorter as ot } from "./context.mjs";
|
|
19
|
+
import { useColumns as tt } from "./hooks/use-columns.mjs";
|
|
20
|
+
import { useColumnsDef as rt } from "./hooks/use-columns-def.mjs";
|
|
21
|
+
import { usePinnedRow as lt } from "./hooks/use-pinned-row.mjs";
|
|
22
|
+
import at from "./hooks/use-row-selection.mjs";
|
|
23
|
+
import { useSearchForm as nt } from "./hooks/use-search-form.mjs";
|
|
24
|
+
import st from "./hooks/use-selection-col-def.mjs";
|
|
25
|
+
import it from "./hooks/use-virtual-config.mjs";
|
|
27
26
|
import ut from "./style/index.mjs";
|
|
28
|
-
import {
|
|
27
|
+
import { useTheme as dt } from "./theme.mjs";
|
|
28
|
+
import { mergeProps as ct } from "./utils.mjs";
|
|
29
29
|
import { useNamespace as mt } from "../config-provider/hooks/use-namespace.mjs";
|
|
30
30
|
import { useLocale as pt } from "../config-provider/hooks/use-locale.mjs";
|
|
31
31
|
import { useGlobalConfig as ft } from "../config-provider/hooks/use-global-config.mjs";
|
|
@@ -110,14 +110,10 @@ const Yt = /* @__PURE__ */ po({
|
|
|
110
110
|
},
|
|
111
111
|
setup(me, { expose: pe }) {
|
|
112
112
|
const fe = {
|
|
113
|
-
"zh-cn":
|
|
114
|
-
en:
|
|
113
|
+
"zh-cn": vo,
|
|
114
|
+
en: Ro
|
|
115
115
|
};
|
|
116
|
-
|
|
117
|
-
bo,
|
|
118
|
-
Mo,
|
|
119
|
-
Fo,
|
|
120
|
-
Bo,
|
|
116
|
+
Bo.registerModules([
|
|
121
117
|
ko,
|
|
122
118
|
xo,
|
|
123
119
|
Io,
|
|
@@ -133,18 +129,22 @@ const Yt = /* @__PURE__ */ po({
|
|
|
133
129
|
Go,
|
|
134
130
|
Oo,
|
|
135
131
|
Lo,
|
|
136
|
-
Wo
|
|
132
|
+
Wo,
|
|
133
|
+
Ho,
|
|
134
|
+
Uo,
|
|
135
|
+
_o,
|
|
136
|
+
jo
|
|
137
137
|
]);
|
|
138
|
-
const o = me, U = fo(), { e: x, b: d, be: ge } = mt("ag-grid"), { lang: _ } = pt(), we = ut("ag-grid"), y = M(o.size), Se =
|
|
138
|
+
const o = me, U = fo(), { e: x, b: d, be: ge } = mt("ag-grid"), { lang: _ } = pt(), we = ut("ag-grid"), y = M(o.size), Se = dt(
|
|
139
139
|
y,
|
|
140
140
|
F(o, "rowHeight"),
|
|
141
141
|
F(o, "theme")
|
|
142
|
-
), he =
|
|
142
|
+
), he = it(F(o, "virtual")), { rowPinnedGridConfig: j, getRowPinnedCellClass: Ce } = lt(
|
|
143
143
|
F(o, "summary")
|
|
144
|
-
), ye = ft("apGrid"), s = M(), [, Re] =
|
|
144
|
+
), ye = ft("apGrid"), s = M(), [, Re] = Fo();
|
|
145
145
|
let R = !!o.dataSource;
|
|
146
|
-
const $ =
|
|
147
|
-
|
|
146
|
+
const $ = nt(o), { shownColumns: w, columns: q, columnKeys: ve, getTargetColumnByKey: be } = tt(o), { defaultColDef: Me, columnDefs: Fe, gridWrapperRef: Be } = rt(q, o, Ce), I = M({});
|
|
147
|
+
ot({
|
|
148
148
|
sorter: I,
|
|
149
149
|
setSorter(e) {
|
|
150
150
|
I.value = e;
|
|
@@ -171,7 +171,7 @@ const Yt = /* @__PURE__ */ po({
|
|
|
171
171
|
order: p ? ke[p] : null
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
const Ie = n(() =>
|
|
174
|
+
const Ie = n(() => Yo(t(w), (e) => {
|
|
175
175
|
if (e.sorter === !0)
|
|
176
176
|
return e.field ?? e.dataIndex ?? e.key;
|
|
177
177
|
}).filter(Boolean)), Ae = () => {
|
|
@@ -181,7 +181,7 @@ const Yt = /* @__PURE__ */ po({
|
|
|
181
181
|
return;
|
|
182
182
|
const r = e.getColumnState()?.map((l) => ({ ...l, sort: null }));
|
|
183
183
|
e.applyColumnState({ state: r });
|
|
184
|
-
}, T = M(!0), Ne = n(() => gt(o.manual) ? o.manual :
|
|
184
|
+
}, T = M(!0), Ne = n(() => gt(o.manual) ? o.manual : Zo(U.searchFormExtra?.() || []).some((r) => r.type?.name === "ApView")), {
|
|
185
185
|
formRef: S,
|
|
186
186
|
submit: D,
|
|
187
187
|
reset: E,
|
|
@@ -193,7 +193,7 @@ const Yt = /* @__PURE__ */ po({
|
|
|
193
193
|
getPaging: Te,
|
|
194
194
|
setPaging: De,
|
|
195
195
|
setDataSource: Ee
|
|
196
|
-
} =
|
|
196
|
+
} = Xo({
|
|
197
197
|
async request(e) {
|
|
198
198
|
if (R = !1, h.value && !h.value.preserveSelectedRowKeys && k(o.dataSource) && !T.value && V(), T.value && (T.value = !1), !k(o.dataSource)) {
|
|
199
199
|
const l = e.pageSize * (e.current - 1);
|
|
@@ -224,7 +224,7 @@ const Yt = /* @__PURE__ */ po({
|
|
|
224
224
|
...ce,
|
|
225
225
|
...e
|
|
226
226
|
};
|
|
227
|
-
}), Pe =
|
|
227
|
+
}), Pe = st(o, w), Ke = n(
|
|
228
228
|
() => k(o.dataSource) ? m.records : o.dataSource
|
|
229
229
|
), {
|
|
230
230
|
select: Ve,
|
|
@@ -235,7 +235,7 @@ const Yt = /* @__PURE__ */ po({
|
|
|
235
235
|
selectMultiByKeys: Le,
|
|
236
236
|
selectMulti: We,
|
|
237
237
|
unSelectMulti: He
|
|
238
|
-
} =
|
|
238
|
+
} = at({
|
|
239
239
|
...h.value,
|
|
240
240
|
dataSource: Ke,
|
|
241
241
|
rowKey: o.rowKey
|
|
@@ -353,15 +353,15 @@ const Yt = /* @__PURE__ */ po({
|
|
|
353
353
|
applyOrder: !0
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
|
-
|
|
356
|
+
Qo({
|
|
357
357
|
columns: n(() => w.value),
|
|
358
358
|
columnsBackup: n(() => q.value),
|
|
359
|
-
size: n(() =>
|
|
359
|
+
size: n(() => Jo[y.value]),
|
|
360
360
|
updateColumns(e) {
|
|
361
361
|
w.value = e, o.onShownColumnsChange?.(e), Ye(e);
|
|
362
362
|
},
|
|
363
363
|
updateSize(e) {
|
|
364
|
-
y.value =
|
|
364
|
+
y.value = qo[e];
|
|
365
365
|
},
|
|
366
366
|
renderConfig: n(() => ({
|
|
367
367
|
className: ge("table-header", "title"),
|
|
@@ -476,7 +476,7 @@ const Yt = /* @__PURE__ */ po({
|
|
|
476
476
|
class: g(e.card ? t(x)("search-wrapper") : null),
|
|
477
477
|
style: L(e.searchFormWrapperStyle)
|
|
478
478
|
}, [
|
|
479
|
-
ie(t(
|
|
479
|
+
ie(t(et).SearchForm, W(e.searchForm || {}, {
|
|
480
480
|
ref_key: "formRef",
|
|
481
481
|
ref: S,
|
|
482
482
|
"custom-reset": "",
|
|
@@ -519,8 +519,8 @@ const Yt = /* @__PURE__ */ po({
|
|
|
519
519
|
ref: Be,
|
|
520
520
|
class: g(t(d)("grid-wrapper"))
|
|
521
521
|
}, [
|
|
522
|
-
(C(), H(t(
|
|
523
|
-
t(
|
|
522
|
+
(C(), H(t($o), W(
|
|
523
|
+
t(ct)(t(he), t(j), Je.value),
|
|
524
524
|
{
|
|
525
525
|
key: t(_),
|
|
526
526
|
"get-row-class": co,
|
|
@@ -555,7 +555,7 @@ const Yt = /* @__PURE__ */ po({
|
|
|
555
555
|
Co(B("div", {
|
|
556
556
|
class: g(t(x)("table-loading-wrapper"))
|
|
557
557
|
}, [
|
|
558
|
-
ie(t(
|
|
558
|
+
ie(t(bo), { delay: 300 })
|
|
559
559
|
], 2), [
|
|
560
560
|
[yo, Ze.value]
|
|
561
561
|
])
|
|
@@ -563,7 +563,7 @@ const Yt = /* @__PURE__ */ po({
|
|
|
563
563
|
B("div", {
|
|
564
564
|
class: g(t(d)("pagination-wrapper"))
|
|
565
565
|
}, [
|
|
566
|
-
e.pagination !== !1 ? (C(), H(t(
|
|
566
|
+
e.pagination !== !1 ? (C(), H(t(Mo), W({
|
|
567
567
|
key: 0,
|
|
568
568
|
class: t(d)("pagination")
|
|
569
569
|
}, t(J).pagination, { onChange: to }), null, 16, ["class"])) : se("", !0)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ComputedRef, CSSProperties, VNode } from 'vue';
|
|
2
|
-
import { ApTablePaginationConfig, ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, ExtraProColumnType, FieldPropsType, RequestData, ValueEnum } from '../ap-table/interface';
|
|
3
1
|
import { TableProps } from '@aplus-frontend/antdv';
|
|
4
|
-
import { ApFormSearchFormPopoverSorterItem, ApFormSearchFormProps } from '../ap-form/interface';
|
|
5
|
-
import { Recordable } from '../type';
|
|
6
2
|
import { SortOrder, TableRowSelection } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
3
|
import { ColDef, GridApi, ICellRendererParams, IRowNode, IsFullWidthRowParams, RedrawRowsParams, RefreshCellsParams, RowClassRules, RowHeightParams, RowPinnedType, ScrollDirection, ThemeDefaultParams } from 'ag-grid-community';
|
|
4
|
+
import { ComputedRef, CSSProperties, VNode } from 'vue';
|
|
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 AgGridColumnType<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' | 'width' | 'maxWidth' | 'className' | 'class' | 'colSpan'> & {
|
|
10
10
|
children?: AgGridColumnType<RecordType, ExtraValueType, ValueType>[];
|
|
11
11
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { checkboxRenderer } from './checkbox';
|
|
1
2
|
import { dateRenderer } from './date';
|
|
2
3
|
import { dateRangeRenderer } from './date-range';
|
|
3
4
|
import { numberRenderer } from './number';
|
|
5
|
+
import { passwordRenderer } from './password';
|
|
4
6
|
import { radioRenderer } from './radio';
|
|
5
7
|
import { selectRenderer } from './select';
|
|
6
8
|
import { switchRenderer } from './switch';
|
|
7
9
|
import { textRenderer } from './text';
|
|
8
10
|
import { textAreaRenderer } from './text-area';
|
|
9
|
-
import { checkboxRenderer } from './checkbox';
|
|
10
|
-
import { passwordRenderer } from './password';
|
|
11
11
|
import { treeSelectRenderer } from './tree-select';
|
|
12
12
|
export declare const rendererMap: {
|
|
13
13
|
readonly date: typeof dateRenderer;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { checkboxRenderer as e } from "./checkbox.mjs";
|
|
2
|
+
import { dateRenderer as r } from "./date.mjs";
|
|
3
|
+
import { dateRangeRenderer as t } from "./date-range.mjs";
|
|
4
|
+
import { numberRenderer as o } from "./number.mjs";
|
|
5
|
+
import { passwordRenderer as d } from "./password.mjs";
|
|
6
|
+
import { radioRenderer as m } from "./radio.mjs";
|
|
7
|
+
import { selectRenderer as a } from "./select.mjs";
|
|
8
|
+
import { switchRenderer as n } from "./switch.mjs";
|
|
9
|
+
import { textRenderer as p } from "./text.mjs";
|
|
10
|
+
import { textAreaRenderer as i } from "./text-area.mjs";
|
|
11
11
|
import { treeSelectRenderer as c } from "./tree-select.mjs";
|
|
12
12
|
const A = {
|
|
13
|
-
date:
|
|
14
|
-
dateRange:
|
|
15
|
-
number:
|
|
16
|
-
radio:
|
|
17
|
-
select:
|
|
18
|
-
switch:
|
|
19
|
-
text:
|
|
20
|
-
textArea:
|
|
21
|
-
checkbox:
|
|
22
|
-
password:
|
|
13
|
+
date: r,
|
|
14
|
+
dateRange: t,
|
|
15
|
+
number: o,
|
|
16
|
+
radio: m,
|
|
17
|
+
select: a,
|
|
18
|
+
switch: n,
|
|
19
|
+
text: p,
|
|
20
|
+
textArea: i,
|
|
21
|
+
checkbox: e,
|
|
22
|
+
password: d,
|
|
23
23
|
treeSelect: c
|
|
24
24
|
}, S = [
|
|
25
25
|
"date",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as k, computed as m, unref as c, createBlock as n, openBlock as o, withCtx as A, createElementBlock as a, createCommentVNode as v, Fragment as p, renderList as y, mergeProps as s } from "vue";
|
|
2
2
|
import { Space as F } from "@aplus-frontend/antdv";
|
|
3
|
+
import { isUndefined as w } from "lodash-unified";
|
|
4
|
+
import "../../config-provider/index.mjs";
|
|
3
5
|
import "../item/index.vue.mjs";
|
|
6
|
+
import "../item-dropdown/index.vue2.mjs";
|
|
4
7
|
import "../item-modal/index.vue2.mjs";
|
|
5
8
|
import "../item-popconfirm/index.vue2.mjs";
|
|
6
|
-
import "../item-dropdown/index.vue2.mjs";
|
|
7
|
-
import "../../config-provider/index.mjs";
|
|
8
|
-
import { isUndefined as w } from "lodash-unified";
|
|
9
9
|
import { useLocale as x } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import f from "../item-dropdown/index.vue.mjs";
|
|
11
11
|
import B from "../item-modal/index.vue.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { default as ApActionGroup } from './group/index.vue';
|
|
1
2
|
import { default as _ApActionItem } from './item/index.vue';
|
|
2
3
|
import { default as ApActionItemDropdown } from './item-dropdown/index.vue';
|
|
3
4
|
import { default as ApActionItemModal } from './item-modal/index.vue';
|
|
4
5
|
import { default as ApActionItemPopconfirm } from './item-popconfirm/index.vue';
|
|
5
|
-
import { default as ApActionGroup } from './group/index.vue';
|
|
6
6
|
type ApActionItemTypes = typeof _ApActionItem & {
|
|
7
7
|
Dropdown: typeof ApActionItemDropdown;
|
|
8
8
|
Modal: typeof ApActionItemModal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import "./group/index.vue2.mjs";
|
|
1
2
|
import "./item/index.vue.mjs";
|
|
2
3
|
import "./item-dropdown/index.vue2.mjs";
|
|
3
4
|
import "./item-modal/index.vue2.mjs";
|
|
4
5
|
import "./item-popconfirm/index.vue2.mjs";
|
|
5
|
-
import "./group/index.vue2.mjs";
|
|
6
6
|
import "./interface.mjs";
|
|
7
7
|
import m from "./item/index.vue2.mjs";
|
|
8
8
|
import i from "./item-dropdown/index.vue.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as A, useSlots as F, createPropsRestProxy as N, ref as S, computed as d, unref as t, renderSlot as y, createElementBlock as u, createCommentVNode as f, openBlock as l, mergeProps as g, createVNode as v, normalizeClass as V, withCtx as I, createElementVNode as L, createBlock as k, resolveDynamicComponent as b, isVNode as P, toDisplayString as $ } from "vue";
|
|
2
|
+
import { Tooltip as w } from "@aplus-frontend/antdv";
|
|
3
|
+
import x from "@aplus-frontend/antdv/es/button/LoadingIcon";
|
|
2
4
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import w from "@aplus-frontend/antdv/es/button/LoadingIcon";
|
|
4
|
-
import { Tooltip as x } from "@aplus-frontend/antdv";
|
|
5
5
|
import D from "../style/index.mjs";
|
|
6
6
|
import { useNamespace as E } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
const T = { key: 1 }, K = /* @__PURE__ */ A({
|
|
@@ -41,7 +41,7 @@ const T = { key: 1 }, K = /* @__PURE__ */ A({
|
|
|
41
41
|
class: h.value,
|
|
42
42
|
onClick: p
|
|
43
43
|
}), [
|
|
44
|
-
v(t(
|
|
44
|
+
v(t(x), {
|
|
45
45
|
"prefix-cls": t(m)(),
|
|
46
46
|
"exist-icon": !1,
|
|
47
47
|
loading: i.value
|
|
@@ -50,7 +50,7 @@ const T = { key: 1 }, K = /* @__PURE__ */ A({
|
|
|
50
50
|
key: 0,
|
|
51
51
|
class: V(t(C)("icon-wrapper"))
|
|
52
52
|
}, [
|
|
53
|
-
v(t(
|
|
53
|
+
v(t(w), g({
|
|
54
54
|
title: c.value ? e.text : null
|
|
55
55
|
}, e.tooltip), {
|
|
56
56
|
default: I(() => [
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Dropdown as
|
|
1
|
+
import { defineComponent as C, ref as w, computed as A, createBlock as r, openBlock as t, unref as o, normalizeClass as s, withCtx as a, createElementVNode as u, createVNode as d, normalizeProps as B, guardReactiveProps as b, renderSlot as I, resolveDynamicComponent as D, createCommentVNode as P, createElementBlock as N, Fragment as $, renderList as L, mergeProps as m } from "vue";
|
|
2
|
+
import { Dropdown as V, Menu as z, MenuItem as E } from "@aplus-frontend/antdv";
|
|
3
|
+
import { IconApAdLineDown as F } from "@aplus-frontend/icon";
|
|
4
|
+
import { isUndefined as M, omit as S } from "lodash-unified";
|
|
5
|
+
import "../../config-provider/index.mjs";
|
|
3
6
|
import "../item/index.vue.mjs";
|
|
4
7
|
import "../item-modal/index.vue2.mjs";
|
|
5
8
|
import "../item-popconfirm/index.vue2.mjs";
|
|
6
|
-
import
|
|
7
|
-
import "../../config-provider/
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import U from "../item-modal/index.vue.mjs";
|
|
13
|
-
import R from "../item-popconfirm/index.vue.mjs";
|
|
14
|
-
const ee = /* @__PURE__ */ w({
|
|
9
|
+
import x from "../style/dropdown-item.mjs";
|
|
10
|
+
import { useNamespace as O } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
|
+
import g from "../item/index.vue2.mjs";
|
|
12
|
+
import R from "../item-modal/index.vue.mjs";
|
|
13
|
+
import U from "../item-popconfirm/index.vue.mjs";
|
|
14
|
+
const oe = /* @__PURE__ */ C({
|
|
15
15
|
name: "ApActionItemDropDown",
|
|
16
16
|
__name: "index",
|
|
17
17
|
props: {
|
|
@@ -29,42 +29,47 @@ const ee = /* @__PURE__ */ w({
|
|
|
29
29
|
iconFirst: { type: Boolean },
|
|
30
30
|
tooltip: {}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const
|
|
32
|
+
setup(y) {
|
|
33
|
+
const p = y, i = w(!1), { e: c, b: _ } = O("action-item-dropdown"), f = x("action-item-dropdown"), v = (e, n) => {
|
|
34
|
+
(n.source === "trigger" || e) && (i.value = e);
|
|
35
|
+
}, k = A(() => p.actions.filter((e) => e.visible || M(e.visible)).map((e) => ({
|
|
34
36
|
...e,
|
|
35
|
-
|
|
37
|
+
onClick: (n) => {
|
|
38
|
+
e.onClick?.(n), !e.onAction && (i.value = !1);
|
|
39
|
+
},
|
|
40
|
+
onAction: e.onAction ? async (n) => {
|
|
36
41
|
try {
|
|
37
|
-
await e.onAction?.(
|
|
42
|
+
await e.onAction?.(n);
|
|
38
43
|
} finally {
|
|
39
44
|
i.value = !1;
|
|
40
45
|
}
|
|
41
|
-
}
|
|
46
|
+
} : void 0
|
|
42
47
|
})));
|
|
43
|
-
return (e,
|
|
48
|
+
return (e, n) => (t(), r(o(V), {
|
|
44
49
|
open: i.value,
|
|
45
|
-
"onUpdate:open": a[0] || (a[0] = (r) => i.value = r),
|
|
46
50
|
trigger: e.trigger,
|
|
47
51
|
placement: e.placement,
|
|
48
|
-
class: s(o(
|
|
52
|
+
class: s(o(f)),
|
|
53
|
+
onOpenChange: v
|
|
49
54
|
}, {
|
|
50
|
-
overlay:
|
|
51
|
-
d(o(
|
|
52
|
-
default:
|
|
53
|
-
(t(!0),
|
|
54
|
-
key:
|
|
55
|
-
class: s([o(
|
|
55
|
+
overlay: a(() => [
|
|
56
|
+
d(o(z), null, {
|
|
57
|
+
default: a(() => [
|
|
58
|
+
(t(!0), N($, null, L(k.value, (l, h) => (t(), r(o(E), {
|
|
59
|
+
key: h,
|
|
60
|
+
class: s([o(f), o(c)("item")])
|
|
56
61
|
}, {
|
|
57
|
-
default:
|
|
58
|
-
|
|
62
|
+
default: a(() => [
|
|
63
|
+
l.modalProps ? (t(), r(R, m({
|
|
59
64
|
key: 0,
|
|
60
65
|
ref_for: !0
|
|
61
|
-
},
|
|
66
|
+
}, l), null, 16)) : l.popconfirmProps ? (t(), r(U, m({
|
|
62
67
|
key: 1,
|
|
63
68
|
ref_for: !0
|
|
64
|
-
},
|
|
69
|
+
}, l), null, 16)) : (t(), r(g, m({
|
|
65
70
|
key: 2,
|
|
66
71
|
ref_for: !0
|
|
67
|
-
},
|
|
72
|
+
}, l), null, 16))
|
|
68
73
|
]),
|
|
69
74
|
_: 2
|
|
70
75
|
}, 1032, ["class"]))), 128))
|
|
@@ -72,19 +77,19 @@ const ee = /* @__PURE__ */ w({
|
|
|
72
77
|
_: 1
|
|
73
78
|
})
|
|
74
79
|
]),
|
|
75
|
-
default:
|
|
76
|
-
|
|
80
|
+
default: a(() => [
|
|
81
|
+
u("span", {
|
|
77
82
|
class: s(o(_)())
|
|
78
83
|
}, [
|
|
79
|
-
d(
|
|
80
|
-
default:
|
|
84
|
+
d(g, B(b(o(S)(p, ["actions", "trigger", "placement", "text"]))), {
|
|
85
|
+
default: a(() => [
|
|
81
86
|
I(e.$slots, "default", {}, () => [
|
|
82
|
-
(t(),
|
|
87
|
+
(t(), r(D(() => e.text)))
|
|
83
88
|
]),
|
|
84
|
-
|
|
85
|
-
class: s(o(
|
|
89
|
+
u("span", {
|
|
90
|
+
class: s(o(c)("icon"))
|
|
86
91
|
}, [
|
|
87
|
-
e.showIcon ? (t(),
|
|
92
|
+
e.showIcon ? (t(), r(o(F), { key: 0 })) : P("", !0)
|
|
88
93
|
], 2)
|
|
89
94
|
]),
|
|
90
95
|
_: 3
|
|
@@ -96,5 +101,5 @@ const ee = /* @__PURE__ */ w({
|
|
|
96
101
|
}
|
|
97
102
|
});
|
|
98
103
|
export {
|
|
99
|
-
|
|
104
|
+
oe as default
|
|
100
105
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as i, useSlots as s, createBlock as p, openBlock as c, mergeProps as m, unref as d, createSlots as f, renderList as u, withCtx as _, renderSlot as y, normalizeProps as A, guardReactiveProps as P } from "vue";
|
|
2
2
|
import { Modal as B } from "@aplus-frontend/antdv";
|
|
3
|
-
import "../item/index.vue.mjs";
|
|
4
3
|
import { omit as k } from "lodash-unified";
|
|
4
|
+
import "../item/index.vue.mjs";
|
|
5
5
|
import x from "../item/index.vue2.mjs";
|
|
6
6
|
const z = /* @__PURE__ */ i({
|
|
7
7
|
name: "ApActionItemModal",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, useSlots as m, createBlock as d, openBlock as u, unref as r, mergeProps as P, withCtx as t, createVNode as _, normalizeProps as i, guardReactiveProps as p, createSlots as y, renderList as B, renderSlot as C } from "vue";
|
|
2
2
|
import { Popconfirm as x } from "@aplus-frontend/antdv";
|
|
3
|
-
import "../item/index.vue.mjs";
|
|
4
3
|
import { omit as A } from "lodash-unified";
|
|
4
|
+
import "../item/index.vue.mjs";
|
|
5
5
|
import b from "../item/index.vue2.mjs";
|
|
6
6
|
const I = /* @__PURE__ */ f({
|
|
7
7
|
name: "ApActionItemPopconfirm",
|
|
@@ -1,27 +1,33 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const l = (
|
|
3
|
-
const { componentCls:
|
|
1
|
+
import { genComponentStyleHook as t } from "../../utils/cssinjs/index.mjs";
|
|
2
|
+
const l = (n) => {
|
|
3
|
+
const { componentCls: e, namespace: o } = n, i = `.${o}-action-item`;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
5
|
+
[e]: {
|
|
6
6
|
display: "inline-flex",
|
|
7
7
|
flexDirection: "row",
|
|
8
8
|
alignItems: "center",
|
|
9
9
|
// dropdown menu item
|
|
10
10
|
"&__item": {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
padding: "0px !important",
|
|
12
|
+
[i]: {
|
|
13
|
+
width: "100%",
|
|
14
|
+
paddingInline: "12px",
|
|
15
|
+
paddingBlock: "6px"
|
|
16
|
+
},
|
|
17
|
+
[`${i}--loading`]: {
|
|
18
|
+
marginInlineEnd: n.calc(n.spaceXS).mul(-3).equal()
|
|
13
19
|
}
|
|
14
20
|
},
|
|
15
|
-
[`${
|
|
16
|
-
fontSize:
|
|
21
|
+
[`${e}__icon`]: {
|
|
22
|
+
fontSize: n.fontSize,
|
|
17
23
|
display: "inline-flex"
|
|
18
24
|
}
|
|
19
25
|
}
|
|
20
26
|
};
|
|
21
|
-
},
|
|
22
|
-
l(
|
|
27
|
+
}, p = t("ApAction.Dropdown", (n) => [
|
|
28
|
+
l(n)
|
|
23
29
|
]);
|
|
24
30
|
export {
|
|
25
|
-
|
|
31
|
+
p as default,
|
|
26
32
|
l as genActionDropdownItemStyle
|
|
27
33
|
};
|
|
@@ -2,11 +2,11 @@ import { resetComponent as t } from "../../style/index.mjs";
|
|
|
2
2
|
import { genComponentStyleHook as s } from "../../utils/cssinjs/index.mjs";
|
|
3
3
|
const d = (o) => {
|
|
4
4
|
const {
|
|
5
|
-
loadingOpacity:
|
|
6
|
-
colorLink:
|
|
5
|
+
loadingOpacity: r,
|
|
6
|
+
colorLink: n,
|
|
7
7
|
colorSuccess: a,
|
|
8
|
-
colorError:
|
|
9
|
-
colorWarn:
|
|
8
|
+
colorError: c,
|
|
9
|
+
colorWarn: l,
|
|
10
10
|
componentCls: i
|
|
11
11
|
} = o;
|
|
12
12
|
return {
|
|
@@ -23,7 +23,7 @@ const d = (o) => {
|
|
|
23
23
|
opacity: 0.7
|
|
24
24
|
},
|
|
25
25
|
"&--primary": {
|
|
26
|
-
color:
|
|
26
|
+
color: n,
|
|
27
27
|
[`&${i}--disabled`]: {
|
|
28
28
|
color: o.colorLinkDisabled
|
|
29
29
|
}
|
|
@@ -35,19 +35,19 @@ const d = (o) => {
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"&--error": {
|
|
38
|
-
color:
|
|
38
|
+
color: c,
|
|
39
39
|
[`&${i}--disabled`]: {
|
|
40
40
|
color: o.colorErrorDisabled
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"&--warn": {
|
|
44
|
-
color:
|
|
44
|
+
color: l,
|
|
45
45
|
[`&${i}--disabled`]: {
|
|
46
46
|
color: o.colorWarnDisabled
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"&--loading": {
|
|
50
|
-
opacity:
|
|
50
|
+
opacity: r,
|
|
51
51
|
transition: `opacity ${o.motionDurationMid}`,
|
|
52
52
|
cursor: "default",
|
|
53
53
|
[`&${i}--disabled`]: {
|
|
@@ -65,7 +65,6 @@ const d = (o) => {
|
|
|
65
65
|
},
|
|
66
66
|
[`${i}-loading-icon`]: {
|
|
67
67
|
display: "inline-block",
|
|
68
|
-
lineHeight: 0,
|
|
69
68
|
transition: ["width", "opacity", "margin"].map(
|
|
70
69
|
(e) => `${e} ${o.motionDurationSlow} ${o.apActionLoadingIconEase}`
|
|
71
70
|
).join(",")
|
|
@@ -11,11 +11,11 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
11
11
|
declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApButtonProps> & Readonly<{}>, {
|
|
12
12
|
type: ButtonType | "borderLink";
|
|
13
13
|
minWidth: boolean | number | string;
|
|
14
|
+
lazy: boolean | number;
|
|
14
15
|
loading: boolean | {
|
|
15
16
|
delay?: number;
|
|
16
17
|
icon?: VNode;
|
|
17
18
|
};
|
|
18
|
-
lazy: boolean | number;
|
|
19
19
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|