@aplus-frontend/ui 7.10.0 → 7.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +3 -3
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +14 -14
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +2 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.mjs +12 -12
- package/es/src/ap-list/interface.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +1 -1
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +8 -8
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +3 -3
- package/es/src/config-provider/config-provider.d.ts +3 -3
- package/es/src/config-provider/config-provider.mjs +9 -9
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +9 -9
- package/es/src/design-token/interface.d.ts +20 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +23 -23
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +2 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +3 -3
- package/lib/src/config-provider/config-provider.d.ts +3 -3
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +9 -9
- package/lib/src/design-token/interface.d.ts +20 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +4 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { isVNode as ie, defineComponent as ce, useSlots as ue, ref as pe, shallowRef as w, computed as R, unref as a, watch as M, createVNode as o, Fragment as _, createBlock as x, openBlock as p, mergeProps as de, withCtx as I, resolveDynamicComponent as T, createElementBlock as fe, renderList as me, normalizeStyle as he } from "vue";
|
|
2
2
|
import { Col as b, Flex as k, Button as q, Row as ge } from "@aplus-frontend/antdv";
|
|
3
|
-
import "../ap-form.vue.mjs";
|
|
4
|
-
import "../item/index.vue2.mjs";
|
|
5
|
-
import { genRealChildren as H } from "../item-group/helper.mjs";
|
|
6
|
-
import "../../config-provider/index.mjs";
|
|
7
3
|
import { isArray as xe, isBoolean as ye, omit as ve } from "lodash-unified";
|
|
4
|
+
import { floorWith as H } from "../../utils/format.mjs";
|
|
5
|
+
import { useDevWarning as Se } from "../../utils/warning.mjs";
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
8
7
|
import "../../utils/index.mjs";
|
|
9
|
-
import
|
|
8
|
+
import "../ap-form.vue.mjs";
|
|
9
|
+
import "../item/index.vue2.mjs";
|
|
10
|
+
import { genRealChildren as G } from "../item-group/helper.mjs";
|
|
11
|
+
import Ce from "../style/search-form.mjs";
|
|
10
12
|
import "./components/popover-filter.vue.mjs";
|
|
11
|
-
import { useCountPerRow as Ce } from "./hooks/use-count-per-row.mjs";
|
|
12
13
|
import "./components/popover-sorter/index.vue.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import be from "
|
|
17
|
-
import { floorWith as J } from "../../utils/format.mjs";
|
|
14
|
+
import { getTargetNode as we } from "./hooks/use-collapse-input-count.mjs";
|
|
15
|
+
import { useCountPerRow as Re } from "./hooks/use-count-per-row.mjs";
|
|
16
|
+
import { useSorter as _e } from "./hooks/use-sorter.mjs";
|
|
17
|
+
import { execFunc as J, diffFormItem as be } from "./utils.mjs";
|
|
18
18
|
import { useNamespace as Fe } from "../../config-provider/hooks/use-namespace.mjs";
|
|
19
19
|
import { useLocale as Ae } from "../../config-provider/hooks/use-locale.mjs";
|
|
20
20
|
import { isDef as K } from "../../utils/is.mjs";
|
|
@@ -126,40 +126,40 @@ const r = 100, nt = /* @__PURE__ */ ce({
|
|
|
126
126
|
expose: X
|
|
127
127
|
}) {
|
|
128
128
|
const y = ue(), t = d;
|
|
129
|
-
|
|
130
|
-
const Y =
|
|
129
|
+
Se("SearchForm").deprecated(typeof t.resizeTarget < "u", "resizeTarget", "resize.target");
|
|
130
|
+
const Y = Ce("ap-form-search-form"), {
|
|
131
131
|
b: f
|
|
132
132
|
} = Fe("ap-form-search-form"), {
|
|
133
133
|
t: P
|
|
134
|
-
} = Ae(), v = pe(), E = w(), Z =
|
|
134
|
+
} = Ae(), v = pe(), E = w(), Z = Re(t, E), W = w();
|
|
135
135
|
function z() {
|
|
136
136
|
const e = v.value?.getFieldsValueTransformed(!0);
|
|
137
|
-
|
|
137
|
+
J(t.onSubmit, e);
|
|
138
138
|
}
|
|
139
139
|
function ee() {
|
|
140
|
-
t.customReset || v.value?.resetFields?.(),
|
|
140
|
+
t.customReset || v.value?.resetFields?.(), J(t.onReset);
|
|
141
141
|
}
|
|
142
142
|
const te = (e) => K(e) ? (xe(e) ? e : [e]).join("") : Date.now();
|
|
143
143
|
let O = [];
|
|
144
|
-
const m = w(
|
|
144
|
+
const m = w(G(y.default())), c = w(y.extra?.()), L = R(() => H(r / a(Z), 4)), {
|
|
145
145
|
items: F,
|
|
146
146
|
sorted: $,
|
|
147
147
|
handleClickConfirm: A
|
|
148
|
-
} =
|
|
148
|
+
} = _e(m);
|
|
149
149
|
M(() => y.default(), (e) => {
|
|
150
|
-
O = m.value, m.value =
|
|
150
|
+
O = m.value, m.value = be(O, G(e)), $.value = !1;
|
|
151
151
|
}), M(() => y.extra?.(), (e) => {
|
|
152
152
|
c.value = e;
|
|
153
153
|
});
|
|
154
154
|
function oe(e) {
|
|
155
|
-
return
|
|
155
|
+
return H(e * (r / 24), 4);
|
|
156
156
|
}
|
|
157
157
|
const n = R(() => {
|
|
158
158
|
const e = m.value, u = [], l = [], g = [], s = a(L);
|
|
159
159
|
let S = 0, N = 0;
|
|
160
160
|
const le = r * t.maxRows - s * (a(c) && !t.extraInAction ? 2 : 1);
|
|
161
161
|
e.forEach((B) => {
|
|
162
|
-
const D =
|
|
162
|
+
const D = we(B);
|
|
163
163
|
if (!D)
|
|
164
164
|
return;
|
|
165
165
|
const i = D.props;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as c, useSlots as u, cloneVNode as p, onMounted as f, createElementBlock as d, openBlock as o, Fragment as V, renderList as _, createBlock as y, resolveDynamicComponent as C } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { isFunction as F, cloneDeep as k } from "lodash-unified";
|
|
3
|
+
import { isPromise as g } from "../../utils/is.mjs";
|
|
4
|
+
import { useInjectForm as h } from "../context.mjs";
|
|
5
5
|
const I = /* @__PURE__ */ c({
|
|
6
6
|
name: "ApFormSet",
|
|
7
7
|
__name: "index",
|
|
@@ -12,15 +12,15 @@ const I = /* @__PURE__ */ c({
|
|
|
12
12
|
transform: {}
|
|
13
13
|
},
|
|
14
14
|
setup(i) {
|
|
15
|
-
const { internalInstance: l } =
|
|
15
|
+
const { internalInstance: l } = h(), s = u(), e = i, m = () => (s.default?.() || []).map((r, t) => {
|
|
16
16
|
const a = e.as === "array" ? [e.name, t] : [e.name, r.props?.name || ""];
|
|
17
17
|
return p(r, { name: a });
|
|
18
18
|
});
|
|
19
19
|
return f(async () => {
|
|
20
|
-
let n =
|
|
21
|
-
|
|
20
|
+
let n = F(e.initialValue) ? e.initialValue() : e.initialValue;
|
|
21
|
+
g(n) && (n = await n), l?.registerField({
|
|
22
22
|
name: e.name,
|
|
23
|
-
initialValue:
|
|
23
|
+
initialValue: k(n),
|
|
24
24
|
transform: e.transform
|
|
25
25
|
});
|
|
26
26
|
}), (n, r) => (o(!0), d(V, null, _(m(), (t, a) => (o(), y(C(t), { key: a }))), 128));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
1
|
+
import { genComponentStyleHook as n } from "../../utils/cssinjs/index.mjs";
|
|
2
|
+
const o = (t) => ({
|
|
3
3
|
[t.componentCls]: {
|
|
4
4
|
"&-compact": {
|
|
5
5
|
".ant-select": {
|
|
@@ -27,34 +27,19 @@ const n = (t) => ({
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
".ant-form-item:first-child": {
|
|
30
|
-
".ant-form-item-control-input-content > :first-child
|
|
31
|
-
borderStartEndRadius: 0,
|
|
32
|
-
borderEndEndRadius: 0
|
|
33
|
-
},
|
|
34
|
-
".ant-form-item-control-input-content > .ant-input-group > :last-child, .ant-select-selector": {
|
|
30
|
+
".ant-select-selector,\n .ant-form-item-control-input-content > :first-child,\n .ant-form-item-control-input-content .ant-input-group > :last-child,\n .ant-form-item-control-input-content .ant-input-number-group > :last-child": {
|
|
35
31
|
borderStartEndRadius: 0,
|
|
36
32
|
borderEndEndRadius: 0
|
|
37
33
|
}
|
|
38
34
|
},
|
|
39
35
|
".ant-form-item:last-child": {
|
|
40
|
-
".ant-form-item-control-input-content > :first-child
|
|
41
|
-
borderStartStartRadius: 0,
|
|
42
|
-
borderEndStartRadius: 0
|
|
43
|
-
},
|
|
44
|
-
".ant-form-item-control-input-content > .ant-input-group > :first-child, .ant-select-selector": {
|
|
45
|
-
borderStartStartRadius: 0,
|
|
46
|
-
borderEndStartRadius: 0
|
|
47
|
-
},
|
|
48
|
-
".ant-form-item-control-input-content .ant-input-group > :first-child, .ant-select-selector": {
|
|
36
|
+
".ant-select-selector,\n .ant-form-item-control-input-content > :first-child,\n .ant-form-item-control-input-content .ant-input-group > :first-child,\n .ant-form-item-control-input-content .ant-input-number-group > :first-child": {
|
|
49
37
|
borderStartStartRadius: 0,
|
|
50
38
|
borderEndStartRadius: 0
|
|
51
39
|
}
|
|
52
40
|
},
|
|
53
41
|
".ant-form-item:not(:first-child):not(:last-child)": {
|
|
54
|
-
".ant-form-item-control-input-content > :first-child
|
|
55
|
-
borderRadius: 0
|
|
56
|
-
},
|
|
57
|
-
".ant-form-item-control-input-content > .ant-input-group > *, .ant-select-selector": {
|
|
42
|
+
".ant-select-selector,\n .ant-form-item-control-input-content > :first-child,\n .ant-form-item-control-input-content .ant-input-group > *,\n .ant-form-item-control-input-content .ant-input-number-group > *": {
|
|
58
43
|
borderRadius: 0
|
|
59
44
|
}
|
|
60
45
|
},
|
|
@@ -66,8 +51,8 @@ const n = (t) => ({
|
|
|
66
51
|
".ant-form-vertical .ant-input-group.ant-input-group-compact > *": {
|
|
67
52
|
verticalAlign: "bottom"
|
|
68
53
|
}
|
|
69
|
-
}),
|
|
54
|
+
}), e = n("ApForm.ItemTextGroup", (t) => [o(t)]);
|
|
70
55
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
56
|
+
e as default,
|
|
57
|
+
o as genFormItemTextGroupStyle
|
|
73
58
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
|
|
2
1
|
import { Recordable } from '../../type';
|
|
2
|
+
import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
|
|
3
3
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__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> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as z, useSlots as G, toRef as H, ref as c, unref as s, watch as K, nextTick as P, createBlock as A, openBlock as W, mergeProps as g, withCtx as h, createVNode as U, createSlots as $, renderList as q, renderSlot as J, normalizeProps as Q, guardReactiveProps as X } from "vue";
|
|
2
|
-
import { ApForm as y } from "../../ap-form/index.mjs";
|
|
3
2
|
import { isUndefined as Y, isNumber as d, cloneDeep as Z, isArray as M, omit as ee } from "lodash-unified";
|
|
3
|
+
import { ApForm as y } from "../../ap-form/index.mjs";
|
|
4
|
+
import { useInjectForm as te } from "../../ap-form/context.mjs";
|
|
5
|
+
import { getModelValue as oe } from "../../ap-form/utils/get.mjs";
|
|
4
6
|
import "../../config-provider/index.mjs";
|
|
5
7
|
import "../../utils/index.mjs";
|
|
6
|
-
import {
|
|
8
|
+
import { useDevWarning as ae } from "../../utils/warning.mjs";
|
|
9
|
+
import { useGetEditableColumns as le } from "../hooks/use-editable-columns.mjs";
|
|
7
10
|
import "../index.vue2.mjs";
|
|
8
|
-
import { useInjectForm as oe } from "../../ap-form/context.mjs";
|
|
9
|
-
import { getModelValue as ae } from "../../ap-form/utils/get.mjs";
|
|
10
|
-
import { useDevWarning as le } from "../../utils/warning.mjs";
|
|
11
11
|
import ne from "../style/editable.mjs";
|
|
12
12
|
import { useNamespace as re } from "../../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
import { useGlobalConfig as se } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -173,19 +173,19 @@ const ve = /* @__PURE__ */ z({
|
|
|
173
173
|
expose: b
|
|
174
174
|
}) {
|
|
175
175
|
const x = G(), a = w;
|
|
176
|
-
|
|
176
|
+
ae("EditableGridFormItem")(!1, "breaking", "EditableGridFormItem has been EOL, Please use EditableAgGridFormItem(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");
|
|
177
177
|
const {
|
|
178
178
|
b: R
|
|
179
179
|
} = re("editable-grid"), B = ne("editable-grid"), {
|
|
180
180
|
internalInstance: i,
|
|
181
181
|
model: S
|
|
182
|
-
} =
|
|
182
|
+
} = te(), m = H(a.name), f = c(oe(s(S), m.value) || []), v = y.useWatch(m);
|
|
183
183
|
K(() => v.value, async (e) => {
|
|
184
184
|
await P(), f.value = e, a.onChange?.(e);
|
|
185
185
|
}, {
|
|
186
186
|
deep: !0
|
|
187
187
|
});
|
|
188
|
-
const p = c(), F = se("valueTypeMap"), I =
|
|
188
|
+
const p = c(), F = se("valueTypeMap"), I = le(a, F);
|
|
189
189
|
function N(e, l) {
|
|
190
190
|
const r = s(f)?.length || 0;
|
|
191
191
|
if (C(a.maxLength) && r >= a.maxLength)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditableGridExpose, EditableGridProps } from './interface';
|
|
2
1
|
import { Recordable } from '../../type';
|
|
2
|
+
import { EditableGridExpose, EditableGridProps } from './interface';
|
|
3
3
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__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<{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as W, useSlots as U, ref as y, watch as C, unref as r, createBlock as $, openBlock as q, withCtx as p, createVNode as w, mergeProps as J, createSlots as Q, renderList as X, renderSlot as Y, normalizeProps as Z, guardReactiveProps as M } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { isEqual as ee, isArray as m, isUndefined as te, isNumber as c, cloneDeep as ae, omit as oe } from "lodash-unified";
|
|
3
|
+
import { ApForm as g } from "../../ap-form/index.mjs";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import "../../hooks/index.mjs";
|
|
6
6
|
import "../../utils/index.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { useDevWarning as le } from "../../utils/warning.mjs";
|
|
8
|
+
import { useGetEditableColumns as ne } from "../hooks/use-editable-columns.mjs";
|
|
8
9
|
import "../index.vue2.mjs";
|
|
9
|
-
import { useDevWarning as ne } from "../../utils/warning.mjs";
|
|
10
10
|
import re from "../style/editable.mjs";
|
|
11
11
|
import { useNamespace as se } from "../../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
import { useControllableValue as ie } from "../../hooks/useControllableValue.mjs";
|
|
@@ -175,11 +175,11 @@ const Ee = /* @__PURE__ */ W({
|
|
|
175
175
|
const B = U(), t = v, {
|
|
176
176
|
b: S
|
|
177
177
|
} = se("editable-grid"), F = re("editable-grid"), E = R;
|
|
178
|
-
|
|
178
|
+
le("EditableGrid")(!1, "breaking", "EditableGrid has been EOL, Please use EditableAgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");
|
|
179
179
|
const h = y(), {
|
|
180
180
|
value: u,
|
|
181
181
|
updateValue: N
|
|
182
|
-
} = ie(t, E), i = y(), V = ue("valueTypeMap"), f =
|
|
182
|
+
} = ie(t, E), i = y(), V = ue("valueTypeMap"), f = g.useWatch(t.name, i);
|
|
183
183
|
C(() => f.value, (e) => {
|
|
184
184
|
N(e), t.onChange?.(e);
|
|
185
185
|
}, {
|
|
@@ -190,12 +190,12 @@ const Ee = /* @__PURE__ */ W({
|
|
|
190
190
|
}, {
|
|
191
191
|
deep: !0
|
|
192
192
|
});
|
|
193
|
-
const k =
|
|
193
|
+
const k = ne(t, V);
|
|
194
194
|
function L() {
|
|
195
195
|
i.value?.resetFields();
|
|
196
196
|
}
|
|
197
197
|
function _(e) {
|
|
198
|
-
return e ? (
|
|
198
|
+
return e ? (m(e) ? e : [e]).map((n) => m(n) ? [t.name, ...n] : [t.name, n]) : void 0;
|
|
199
199
|
}
|
|
200
200
|
async function D(e, l) {
|
|
201
201
|
return (await i.value?.validateFields(_(e), l))?.[t.name];
|
|
@@ -216,10 +216,10 @@ const Ee = /* @__PURE__ */ W({
|
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
function T(e, l = "suffix") {
|
|
219
|
-
const n = r(u)?.length || 0, a =
|
|
219
|
+
const n = r(u)?.length || 0, a = c(e) ? e : e.length;
|
|
220
220
|
if (b(t.maxLength) && n + a > t.maxLength)
|
|
221
221
|
return;
|
|
222
|
-
const o =
|
|
222
|
+
const o = c(e) ? new Array(e).fill(0).map(() => ({})) : ae(e);
|
|
223
223
|
i.value?.setFieldValue?.(t.name, o, !0, (s, d) => {
|
|
224
224
|
if (!s[d]) {
|
|
225
225
|
s[d] = [...o];
|
|
@@ -229,13 +229,13 @@ const Ee = /* @__PURE__ */ W({
|
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
231
|
function j(e) {
|
|
232
|
-
const l = new Set(
|
|
232
|
+
const l = new Set(c(e) ? [e] : e);
|
|
233
233
|
i.value?.setFieldValue?.(t.name, void 0, !0, (n, a) => {
|
|
234
234
|
n[a] = n[a].filter((o, s) => !l.has(s));
|
|
235
235
|
});
|
|
236
236
|
}
|
|
237
237
|
function A(e) {
|
|
238
|
-
const l = new Set(
|
|
238
|
+
const l = new Set(m(e) ? e : [e]);
|
|
239
239
|
l.size !== 0 && i.value?.setFieldValue?.(t.name, void 0, !0, (n, a) => {
|
|
240
240
|
n[a] = n[a].filter((o) => !l.has(o[t.rowKey]));
|
|
241
241
|
});
|
|
@@ -283,7 +283,7 @@ const Ee = /* @__PURE__ */ W({
|
|
|
283
283
|
clear: P,
|
|
284
284
|
setTableData: G,
|
|
285
285
|
removeByKey: A
|
|
286
|
-
}), (e, l) => (q(), $(r(
|
|
286
|
+
}), (e, l) => (q(), $(r(g), {
|
|
287
287
|
ref_key: "formRef",
|
|
288
288
|
ref: i,
|
|
289
289
|
"initial-values": {
|
|
@@ -293,7 +293,7 @@ const Ee = /* @__PURE__ */ W({
|
|
|
293
293
|
height: "100%"
|
|
294
294
|
}
|
|
295
295
|
}, {
|
|
296
|
-
default: p(() => [w(r(
|
|
296
|
+
default: p(() => [w(r(g).FormItem, {
|
|
297
297
|
name: e.name,
|
|
298
298
|
"no-style": ""
|
|
299
299
|
}, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Recordable } from '../../type';
|
|
2
|
-
import { ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, FieldPropsType } from '../../ap-table/interface';
|
|
3
|
-
import { ApGridColumnType, ApGridProps } from '../interface';
|
|
4
|
-
import { VNode } from 'vue';
|
|
5
|
-
import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
6
|
-
import { EditableTableExpose } from '../../editable-table';
|
|
7
1
|
import { NamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
2
|
+
import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
3
|
+
import { VNode } from 'vue';
|
|
8
4
|
import { ApFormItemProps } from '../../ap-form';
|
|
5
|
+
import { ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, FieldPropsType } from '../../ap-table/interface';
|
|
6
|
+
import { EditableTableExpose } from '../../editable-table';
|
|
7
|
+
import { Recordable } from '../../type';
|
|
8
|
+
import { ApGridColumnType, ApGridProps } from '../interface';
|
|
9
9
|
export type EditableGridColumnType<RecordType = any, ExtraValueType = 'text', ValueType extends ApTableValueTypes = ApTableValueTypes, MergedValueType extends ExtraValueType | ValueType = ExtraValueType | ValueType> = MergedValueType extends ExtraValueType | ValueType ? Omit<ApGridColumnType<RecordType, ExtraValueType, ValueType, MergedValueType>, 'children' | 'customRender' | 'hideInSearch' | 'tooltip' | 'customRenderFormItem' | 'fieldProps'> & {
|
|
10
10
|
children?: EditableGridColumnType<RecordType, ExtraValueType, ValueType, MergedValueType>[];
|
|
11
11
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { EditableGridProps } from '../editable/interface';
|
|
3
|
-
import { ValueTypeRenderConfig } from '../../config-provider';
|
|
4
2
|
import { ApGridColumnType } from '../interface';
|
|
3
|
+
import { ValueTypeRenderConfig } from '../../config-provider';
|
|
4
|
+
import { EditableGridProps } from '../editable/interface';
|
|
5
5
|
export declare const useGetEditableColumns: (props: EditableGridProps, extraValueTypes: Ref<Record<string, ValueTypeRenderConfig> | undefined>) => ComputedRef<ApGridColumnType[]>;
|
|
6
6
|
export default useGetEditableColumns;
|
|
@@ -1,65 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { useToken as I } from "@aplus-frontend/antdv/es/theme/internal";
|
|
2
|
+
import { clsx as T } from "clsx";
|
|
3
|
+
import { isFunction as y, isArray as u } from "lodash-unified";
|
|
4
|
+
import { useSlots as E, computed as R, unref as s } from "vue";
|
|
4
5
|
import { updateFormProps as k, getFieldProps as A } from "../../ap-table/utils.mjs";
|
|
5
6
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import {
|
|
7
|
+
import { getEditableTableTitle as q } from "../../editable-table/utils.mjs";
|
|
7
8
|
import { getFinalEditableNode as v } from "../utils/editable.mjs";
|
|
8
9
|
import { useNamespace as w } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
-
const
|
|
10
|
+
const L = (o, m) => {
|
|
10
11
|
const {
|
|
11
12
|
em: f,
|
|
12
|
-
be:
|
|
13
|
-
} = w("editable-grid"),
|
|
14
|
-
return
|
|
15
|
-
const
|
|
16
|
-
if (!
|
|
13
|
+
be: x
|
|
14
|
+
} = w("editable-grid"), b = E(), [, g] = I();
|
|
15
|
+
return R(() => {
|
|
16
|
+
const a = o.columns;
|
|
17
|
+
if (!a)
|
|
17
18
|
return [];
|
|
18
19
|
function r(h) {
|
|
19
20
|
return h.map((e) => ({
|
|
20
21
|
...e,
|
|
21
22
|
children: r(e.children || []),
|
|
22
|
-
title:
|
|
23
|
+
title: q(e, x("table-header", "title"), f("header-cell", "required"), b.headerCell, s(g).colorTextTertiary),
|
|
23
24
|
// tips: 已经处理了title,传递tooltip为undefined不会再内部处理
|
|
24
25
|
tooltip: void 0,
|
|
25
26
|
customRender({
|
|
26
27
|
value: l,
|
|
27
|
-
originalNode:
|
|
28
|
+
originalNode: F,
|
|
28
29
|
...n
|
|
29
30
|
}) {
|
|
30
31
|
const i = y(e.editable) ? e.editable(n.text, n.record, n.index) : !!e.editable;
|
|
31
|
-
let
|
|
32
|
+
let d = F;
|
|
32
33
|
if (i) {
|
|
33
|
-
const
|
|
34
|
+
const t = k(e, A(e.fieldProps, {
|
|
34
35
|
value: l,
|
|
35
36
|
...n
|
|
36
37
|
})), c = {};
|
|
37
|
-
|
|
38
|
-
const
|
|
39
|
-
name: [...
|
|
40
|
-
...
|
|
38
|
+
o.onFieldChange && (c[`onUpdate:${t.valuePropName || "value"}`] = (C) => o.onFieldChange?.(n.index, e.dataIndex, C));
|
|
39
|
+
const N = u(e.dataIndex) ? e.dataIndex : [e.dataIndex], p = {
|
|
40
|
+
name: [...u(o.name) ? o.name : [o.name], n.index, ...N],
|
|
41
|
+
...t || {},
|
|
41
42
|
field: {
|
|
42
43
|
style: "width: 100%",
|
|
43
|
-
...
|
|
44
|
+
...t?.field || {},
|
|
44
45
|
...c,
|
|
45
|
-
class:
|
|
46
|
+
class: T("is-editable", t.class)
|
|
46
47
|
}
|
|
47
48
|
};
|
|
48
|
-
|
|
49
|
+
d = v(e, p, n.record, s(m));
|
|
49
50
|
}
|
|
50
51
|
return e.customRender ? e.customRender({
|
|
51
52
|
value: l,
|
|
52
53
|
...n,
|
|
53
54
|
editable: i,
|
|
54
|
-
originalNode:
|
|
55
|
-
}) :
|
|
55
|
+
originalNode: d
|
|
56
|
+
}) : d;
|
|
56
57
|
}
|
|
57
58
|
}));
|
|
58
59
|
}
|
|
59
|
-
return r(
|
|
60
|
+
return r(a);
|
|
60
61
|
});
|
|
61
62
|
};
|
|
62
63
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
L as default,
|
|
65
|
+
L as useGetEditableColumns
|
|
65
66
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useToken as a } from "@aplus-frontend/antdv/es/theme/internal";
|
|
2
|
+
import { ref as u, watch as p, computed as i, unref as m } from "vue";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { renderWithColumns as l } from "../utils/renderer.mjs";
|
|
5
5
|
import { useNamespace as s } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
import { useGlobalConfig as f } from "../../config-provider/hooks/use-global-config.mjs";
|
|
7
7
|
const h = (e) => {
|
|
8
|
-
const [, o] =
|
|
9
|
-
return
|
|
8
|
+
const [, o] = a(), { be: t } = s("ap-grid"), n = f("valueTypeMap"), r = u(Date.now());
|
|
9
|
+
return p(
|
|
10
10
|
() => e.value,
|
|
11
11
|
() => {
|
|
12
12
|
r.value = Date.now();
|
|
@@ -15,11 +15,11 @@ const h = (e) => {
|
|
|
15
15
|
deep: !0
|
|
16
16
|
}
|
|
17
17
|
), {
|
|
18
|
-
renderConfig:
|
|
18
|
+
renderConfig: i(() => l(
|
|
19
19
|
e.value,
|
|
20
20
|
o.value.colorTextTertiary,
|
|
21
21
|
t("table-header", "title"),
|
|
22
|
-
|
|
22
|
+
m(n)
|
|
23
23
|
)),
|
|
24
24
|
updateSignal: r
|
|
25
25
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { isFunction as v, cloneDeep as w } from "lodash-unified";
|
|
2
|
+
import { ref as F, computed as M, unref as l } from "vue";
|
|
3
3
|
function T(o, a) {
|
|
4
4
|
return !a?.length || v(o) ? [] : a.map((i) => ({ [o]: i }));
|
|
5
5
|
}
|
|
@@ -10,7 +10,7 @@ const m = (o) => {
|
|
|
10
10
|
function i(e, t) {
|
|
11
11
|
a.value = t;
|
|
12
12
|
}
|
|
13
|
-
const u = (e) => v(o.rowKey) ? o.rowKey(e) : e[o.rowKey], s =
|
|
13
|
+
const u = (e) => v(o.rowKey) ? o.rowKey(e) : e[o.rowKey], s = M(() => {
|
|
14
14
|
const e = /* @__PURE__ */ new Map();
|
|
15
15
|
return l(a).forEach((t) => {
|
|
16
16
|
e.set(u(t), t);
|
|
@@ -69,7 +69,7 @@ const m = (o) => {
|
|
|
69
69
|
}), a.value = [...c.values()];
|
|
70
70
|
}
|
|
71
71
|
function b(e, t) {
|
|
72
|
-
const n =
|
|
72
|
+
const n = w(l(s));
|
|
73
73
|
e ? S(n, t) : l(o.dataSource).forEach((c) => {
|
|
74
74
|
f(c) && n.delete(u(c));
|
|
75
75
|
}), a.value = [...n.values()];
|
|
@@ -79,7 +79,7 @@ const m = (o) => {
|
|
|
79
79
|
return c && !r;
|
|
80
80
|
}
|
|
81
81
|
function A(e, t) {
|
|
82
|
-
const n =
|
|
82
|
+
const n = w(l(s));
|
|
83
83
|
l(o.dataSource).forEach((c) => {
|
|
84
84
|
e.find((d) => u(d) === u(c)) ? n.set(u(c), c) : n.delete(u(c));
|
|
85
85
|
}), S(n, t), a.value = [...n.values()];
|
|
@@ -116,7 +116,7 @@ const m = (o) => {
|
|
|
116
116
|
selectedRows: a,
|
|
117
117
|
selectMulti: x,
|
|
118
118
|
unSelectMulti: R,
|
|
119
|
-
rowSelection:
|
|
119
|
+
rowSelection: M(() => ({
|
|
120
120
|
...o,
|
|
121
121
|
onChange: i,
|
|
122
122
|
selectedRowKeys: l(a).map((e) => u(e))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as ApGrid } from './index.vue';
|
|
2
|
-
import { default as EditableGrid } from './editable/index.vue';
|
|
3
1
|
import { default as EditableGridFormItem } from './editable/form-item.vue';
|
|
2
|
+
import { default as EditableGrid } from './editable/index.vue';
|
|
3
|
+
import { default as ApGrid } from './index.vue';
|
|
4
4
|
export { ApGrid, EditableGrid, EditableGridFormItem };
|
|
5
5
|
export * from './interface';
|
|
6
6
|
export * from './editable/interface';
|
package/es/src/ap-grid/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./index.vue2.mjs";
|
|
2
|
-
import "./editable/index.vue2.mjs";
|
|
3
1
|
import "./editable/form-item.vue2.mjs";
|
|
2
|
+
import "./editable/index.vue2.mjs";
|
|
3
|
+
import "./index.vue2.mjs";
|
|
4
4
|
import "./interface.mjs";
|
|
5
5
|
import "./editable/interface.mjs";
|
|
6
6
|
import { ROW_SELECTION_FIELD as E } from "./constants.mjs";
|