@aplus-frontend/ui 7.9.1 → 7.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +82 -81
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +3 -3
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +73 -71
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +6 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -1
- package/es/src/ap-list/index.vue.mjs +156 -115
- package/es/src/ap-list/interface.d.ts +6 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +2 -0
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +30 -26
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +13 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +168 -143
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +3 -3
- package/es/src/config-provider/config-provider.d.ts +3 -3
- package/es/src/config-provider/config-provider.mjs +9 -9
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +9 -9
- package/es/src/design-token/interface.d.ts +20 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +23 -23
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +6 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +6 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +2 -0
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +13 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +3 -3
- package/lib/src/config-provider/config-provider.d.ts +3 -3
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +9 -9
- package/lib/src/design-token/interface.d.ts +20 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ApFormModalFormProps } from '../interface';
|
|
2
|
-
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, RendererNode, RendererElement, CSSProperties } from 'vue';
|
|
3
1
|
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
2
|
+
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, RendererNode, RendererElement, CSSProperties } from 'vue';
|
|
4
3
|
import { Recordable } from '../../type';
|
|
4
|
+
import { ApFormModalFormProps } from '../interface';
|
|
5
5
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
6
6
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
7
7
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
@@ -32,6 +32,9 @@ declare function __VLS_template(): {
|
|
|
32
32
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
33
33
|
readonly layout?: string | undefined;
|
|
34
34
|
readonly disabled?: boolean | undefined;
|
|
35
|
+
readonly prefixCls?: string | undefined;
|
|
36
|
+
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
37
|
+
readonly name?: string | undefined;
|
|
35
38
|
readonly labelCol?: (Partial< ExtractPropTypes<{
|
|
36
39
|
span: (StringConstructor | NumberConstructor)[];
|
|
37
40
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -101,7 +104,6 @@ declare function __VLS_template(): {
|
|
|
101
104
|
readonly colon?: boolean | undefined;
|
|
102
105
|
readonly labelAlign?: FormLabelAlign | undefined;
|
|
103
106
|
readonly labelWrap?: boolean | undefined;
|
|
104
|
-
readonly prefixCls?: string | undefined;
|
|
105
107
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
106
108
|
readonly hideRequiredMark?: boolean | undefined;
|
|
107
109
|
readonly rules?: {
|
|
@@ -110,13 +112,11 @@ declare function __VLS_template(): {
|
|
|
110
112
|
readonly validateMessages?: ValidateMessages | undefined;
|
|
111
113
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
112
114
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
113
|
-
readonly name?: string | undefined;
|
|
114
115
|
readonly validateTrigger?: string | string[] | undefined;
|
|
115
116
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
116
117
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
117
118
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
118
119
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
119
|
-
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
120
120
|
readonly initialValues?: Recordable | undefined;
|
|
121
121
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
122
122
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
@@ -830,7 +830,7 @@ declare function __VLS_template(): {
|
|
|
830
830
|
validateOnRuleChange: boolean;
|
|
831
831
|
validateTrigger: string | string[];
|
|
832
832
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
833
|
-
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "
|
|
833
|
+
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "registerWatch" | ("layout" | "colon" | "labelAlign" | "hideRequiredMark" | "validateOnRuleChange" | "validateTrigger" | "syncToUrl")> & ShallowUnwrapRef<{
|
|
834
834
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
835
835
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
836
836
|
resetFields: () => Promise<void>;
|
|
@@ -853,13 +853,13 @@ declare function __VLS_template(): {
|
|
|
853
853
|
};
|
|
854
854
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
855
855
|
declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
856
|
+
validate: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
856
857
|
getFieldsValue: (nameList?: true | InternalNamePath[]) => Partial<any> | undefined;
|
|
857
858
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
858
859
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
859
860
|
resetFields: () => Promise<void>;
|
|
860
861
|
clearValidate: (name?: NamePath) => void;
|
|
861
862
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
862
|
-
validate: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
863
863
|
scrollToField: (name: NamePath, options?: any) => void;
|
|
864
864
|
getInternalInstance: (mark: string) => ApFormInternalInstance | undefined;
|
|
865
865
|
validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
@@ -877,6 +877,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
877
877
|
hideRequiredMark: boolean;
|
|
878
878
|
validateOnRuleChange: boolean;
|
|
879
879
|
validateTrigger: string | string[];
|
|
880
|
+
submitter: false | ApFormSubmitterConfig;
|
|
881
|
+
showCancel: boolean;
|
|
880
882
|
modalProps: Omit<Partial< ExtractPropTypes<{
|
|
881
883
|
prefixCls: StringConstructor;
|
|
882
884
|
visible: {
|
|
@@ -1224,8 +1226,6 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1224
1226
|
default: boolean;
|
|
1225
1227
|
};
|
|
1226
1228
|
}>>, "visible" | "open" | "onUpdate:open">;
|
|
1227
|
-
submitter: false | ApFormSubmitterConfig;
|
|
1228
|
-
showCancel: boolean;
|
|
1229
1229
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1230
1230
|
formRef: ({
|
|
1231
1231
|
$: ComponentInternalInstance;
|
|
@@ -1235,6 +1235,9 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1235
1235
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
1236
1236
|
readonly layout?: string | undefined;
|
|
1237
1237
|
readonly disabled?: boolean | undefined;
|
|
1238
|
+
readonly prefixCls?: string | undefined;
|
|
1239
|
+
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1240
|
+
readonly name?: string | undefined;
|
|
1238
1241
|
readonly labelCol?: (Partial< ExtractPropTypes<{
|
|
1239
1242
|
span: (StringConstructor | NumberConstructor)[];
|
|
1240
1243
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -1304,7 +1307,6 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1304
1307
|
readonly colon?: boolean | undefined;
|
|
1305
1308
|
readonly labelAlign?: FormLabelAlign | undefined;
|
|
1306
1309
|
readonly labelWrap?: boolean | undefined;
|
|
1307
|
-
readonly prefixCls?: string | undefined;
|
|
1308
1310
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
1309
1311
|
readonly hideRequiredMark?: boolean | undefined;
|
|
1310
1312
|
readonly rules?: {
|
|
@@ -1313,13 +1315,11 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1313
1315
|
readonly validateMessages?: ValidateMessages | undefined;
|
|
1314
1316
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
1315
1317
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
1316
|
-
readonly name?: string | undefined;
|
|
1317
1318
|
readonly validateTrigger?: string | string[] | undefined;
|
|
1318
1319
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
1319
1320
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
1320
1321
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
1321
1322
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1322
|
-
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1323
1323
|
readonly initialValues?: Recordable | undefined;
|
|
1324
1324
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1325
1325
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
@@ -2033,7 +2033,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
2033
2033
|
validateOnRuleChange: boolean;
|
|
2034
2034
|
validateTrigger: string | string[];
|
|
2035
2035
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
2036
|
-
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "
|
|
2036
|
+
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "registerWatch" | ("layout" | "colon" | "labelAlign" | "hideRequiredMark" | "validateOnRuleChange" | "validateTrigger" | "syncToUrl")> & ShallowUnwrapRef<{
|
|
2037
2037
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
2038
2038
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
2039
2039
|
resetFields: () => Promise<void>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { isVNode as O, defineComponent as z, useSlots as E, ref as d, watch as $, cloneVNode as q, computed as A, createVNode as n, mergeProps as m, unref as o, createElementBlock as D, openBlock as p, Fragment as L, createBlock as T, createCommentVNode as K, withCtx as b, createElementVNode as W, normalizeClass as G, normalizeStyle as H, renderSlot as C, resolveDynamicComponent as B, createTextVNode as J, toDisplayString as Q } from "vue";
|
|
2
2
|
import { Button as v, Flex as X, Space as Y, Modal as Z } from "@aplus-frontend/antdv";
|
|
3
|
-
import "
|
|
4
|
-
import "../../hooks/index.mjs";
|
|
5
|
-
import { getSingleVNode as ee } from "../../utils/slot.mjs";
|
|
3
|
+
import { omit as ee } from "lodash-unified";
|
|
6
4
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import
|
|
5
|
+
import "../../hooks/index.mjs";
|
|
6
|
+
import { getSingleVNode as te } from "../../utils/slot.mjs";
|
|
7
|
+
import "../ap-form.vue.mjs";
|
|
8
8
|
import le from "../style/modal-form.mjs";
|
|
9
9
|
import { useControllableValue as ae } from "../../hooks/useControllableValue.mjs";
|
|
10
10
|
import { useLocale as oe } from "../../config-provider/hooks/use-locale.mjs";
|
|
@@ -114,7 +114,7 @@ const Ne = /* @__PURE__ */ z({
|
|
|
114
114
|
$(() => a.value, (e) => {
|
|
115
115
|
e && i.value && (e.setFieldsValue?.(i.value), i.value = void 0);
|
|
116
116
|
});
|
|
117
|
-
const h =
|
|
117
|
+
const h = te(c.trigger), g = h ? q(h, {
|
|
118
118
|
onClick: () => {
|
|
119
119
|
u(!0);
|
|
120
120
|
}
|
|
@@ -226,7 +226,7 @@ const Ne = /* @__PURE__ */ z({
|
|
|
226
226
|
default: b(() => [n(ne, m({
|
|
227
227
|
ref_key: "formRef",
|
|
228
228
|
ref: a
|
|
229
|
-
}, o(
|
|
229
|
+
}, o(ee)(t, ["modalProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"]), {
|
|
230
230
|
onFinish: M
|
|
231
231
|
}), {
|
|
232
232
|
default: b(() => [W("div", {
|
|
@@ -14,12 +14,12 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: DefineComponent<ApFormItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApFormItemProps> & Readonly<{}>, {
|
|
17
|
-
|
|
17
|
+
bordered: boolean;
|
|
18
18
|
required: boolean;
|
|
19
|
+
colon: boolean;
|
|
19
20
|
hasFeedback: boolean;
|
|
20
21
|
autoLink: boolean;
|
|
21
22
|
validateFirst: boolean;
|
|
22
|
-
bordered: boolean;
|
|
23
23
|
valuePropName: string;
|
|
24
24
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -2,8 +2,8 @@ import { defineComponent as S, ref as y, toRef as w, createBlock as u, openBlock
|
|
|
2
2
|
import { Popover as P, Tooltip as T, Button as g, Row as V, Col as $, Divider as z, Flex as A } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApFilterOutlined as E } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
5
|
-
import
|
|
6
|
-
import O from "
|
|
5
|
+
import j from "../../style/search-form.mjs";
|
|
6
|
+
import { useCollapseInputCount as O } from "../hooks/use-collapse-input-count.mjs";
|
|
7
7
|
import { useNamespace as U } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import { useLocale as q } from "../../../config-provider/hooks/use-locale.mjs";
|
|
9
9
|
const Y = /* @__PURE__ */ S({
|
|
@@ -15,7 +15,7 @@ const Y = /* @__PURE__ */ S({
|
|
|
15
15
|
submitLoading: { type: Boolean }
|
|
16
16
|
},
|
|
17
17
|
setup(b) {
|
|
18
|
-
const C = b, F = y(), { e: s, b: c } = U("ap-form-search-form"), h =
|
|
18
|
+
const C = b, F = y(), { e: s, b: c } = U("ap-form-search-form"), h = j("ap-form-search-form"), { t: m } = q(), a = y(!1), B = w(() => C.config), { count: v } = O(B);
|
|
19
19
|
function _(r) {
|
|
20
20
|
return r?.closest(".ant-form") || document.body;
|
|
21
21
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as S, ref as C, watch as k, unref as e, createBlock as D, openBlock as L, withCtx as r, createVNode as t, normalizeClass as o, createElementVNode as n, toDisplayString as m, createTextVNode as b } from "vue";
|
|
2
2
|
import { Popover as P, Tooltip as V, Button as g, Flex as _, Divider as j } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApLayoutOutlined as z } from "@aplus-frontend/icon";
|
|
4
|
-
import "../../../../config-provider/index.mjs";
|
|
5
4
|
import A from "vuedraggable";
|
|
6
|
-
import "
|
|
5
|
+
import "../../../../config-provider/index.mjs";
|
|
7
6
|
import I from "../../../style/search-form-sorter.mjs";
|
|
7
|
+
import "./sortable-item.vue.mjs";
|
|
8
8
|
import { useNamespace as F } from "../../../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { useLocale as R } from "../../../../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import E from "./sortable-item.vue2.mjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "../../../config-provider/index.mjs";
|
|
1
|
+
import { isArray as p, isObject as a, isFunction as d } from "lodash-unified";
|
|
2
|
+
import { computed as F } from "vue";
|
|
3
|
+
import { useInjectForm as g } from "../../context.mjs";
|
|
5
4
|
import { getModelValue as h } from "../../utils/get.mjs";
|
|
5
|
+
import "../../../config-provider/index.mjs";
|
|
6
6
|
import { useGlobalConfig as y } from "../../../config-provider/hooks/use-global-config.mjs";
|
|
7
7
|
function i(t) {
|
|
8
8
|
if (t == null)
|
|
9
9
|
return !1;
|
|
10
10
|
if (typeof t == "string")
|
|
11
11
|
return t.trim() !== "";
|
|
12
|
-
if (
|
|
12
|
+
if (p(t))
|
|
13
13
|
return t.some((e) => i(e));
|
|
14
|
-
if (
|
|
14
|
+
if (a(t)) {
|
|
15
15
|
const o = Object.keys(t);
|
|
16
16
|
if (o.length === 0)
|
|
17
17
|
return !1;
|
|
@@ -23,12 +23,12 @@ function i(t) {
|
|
|
23
23
|
return !0;
|
|
24
24
|
}
|
|
25
25
|
function C(t) {
|
|
26
|
-
return
|
|
26
|
+
return d(t.type) ? t.type() : t;
|
|
27
27
|
}
|
|
28
28
|
const x = (t) => {
|
|
29
|
-
const { model: o } =
|
|
29
|
+
const { model: o } = g(), e = y("searchForm");
|
|
30
30
|
return {
|
|
31
|
-
count:
|
|
31
|
+
count: F(() => {
|
|
32
32
|
let n = 0;
|
|
33
33
|
return t.value.forEach((u) => {
|
|
34
34
|
const r = C(u.node), m = [r.props.name].flat(1), l = h(o?.value, m), s = r.props.customFilled || r.props["custom-filled"], c = e.value?.customFilled;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useResizeObserver as w } from "@vueuse/core";
|
|
2
|
+
import { ref as P, computed as o, watch as v, unref as R } from "vue";
|
|
3
3
|
const h = { xs: 0, sm: 768, md: 1280, lg: 1728 };
|
|
4
4
|
function z(r) {
|
|
5
5
|
return Object.entries(r).sort((s, n) => n[1] - s[1]);
|
|
6
6
|
}
|
|
7
7
|
const p = (r, s) => {
|
|
8
|
-
const n =
|
|
8
|
+
const n = P(0), c = o(() => {
|
|
9
9
|
const { resize: e, resizeTarget: t } = r;
|
|
10
10
|
return e?.target ? e.target === "document" ? document.documentElement : e.target === "form" ? s.value?.$el : e.target : t ?? document.documentElement;
|
|
11
11
|
}), i = o(() => {
|
|
12
12
|
const e = r.resize?.breakPoint ?? h;
|
|
13
13
|
return z(e);
|
|
14
14
|
});
|
|
15
|
-
|
|
15
|
+
v(
|
|
16
16
|
() => c.value,
|
|
17
17
|
(e, t, m) => {
|
|
18
18
|
const u = typeof e == "string" ? document.querySelector(e) : e;
|
|
19
19
|
if (!u)
|
|
20
20
|
return;
|
|
21
|
-
const { stop: d } =
|
|
21
|
+
const { stop: d } = w(u, (f) => {
|
|
22
22
|
const l = f[0], { width: g } = l.contentRect;
|
|
23
23
|
n.value = g;
|
|
24
24
|
});
|
|
@@ -30,7 +30,7 @@ const p = (r, s) => {
|
|
|
30
30
|
);
|
|
31
31
|
const a = o(() => {
|
|
32
32
|
for (const [e, t] of i.value)
|
|
33
|
-
if (
|
|
33
|
+
if (R(n) > t)
|
|
34
34
|
return e;
|
|
35
35
|
return "md";
|
|
36
36
|
});
|
|
@@ -31,6 +31,9 @@ declare function __VLS_template(): {
|
|
|
31
31
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
32
32
|
readonly layout?: string | undefined;
|
|
33
33
|
readonly disabled?: boolean | undefined;
|
|
34
|
+
readonly prefixCls?: string | undefined;
|
|
35
|
+
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
36
|
+
readonly name?: string | undefined;
|
|
34
37
|
readonly labelCol?: (Partial< ExtractPropTypes<{
|
|
35
38
|
span: (StringConstructor | NumberConstructor)[];
|
|
36
39
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -100,7 +103,6 @@ declare function __VLS_template(): {
|
|
|
100
103
|
readonly colon?: boolean | undefined;
|
|
101
104
|
readonly labelAlign?: FormLabelAlign | undefined;
|
|
102
105
|
readonly labelWrap?: boolean | undefined;
|
|
103
|
-
readonly prefixCls?: string | undefined;
|
|
104
106
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
105
107
|
readonly hideRequiredMark?: boolean | undefined;
|
|
106
108
|
readonly rules?: {
|
|
@@ -109,13 +111,11 @@ declare function __VLS_template(): {
|
|
|
109
111
|
readonly validateMessages?: ValidateMessages | undefined;
|
|
110
112
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
111
113
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
112
|
-
readonly name?: string | undefined;
|
|
113
114
|
readonly validateTrigger?: string | string[] | undefined;
|
|
114
115
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
115
116
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
116
117
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
117
118
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
118
|
-
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
119
119
|
readonly initialValues?: Recordable | undefined;
|
|
120
120
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
121
121
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
@@ -829,7 +829,7 @@ declare function __VLS_template(): {
|
|
|
829
829
|
validateOnRuleChange: boolean;
|
|
830
830
|
validateTrigger: string | string[];
|
|
831
831
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
832
|
-
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "
|
|
832
|
+
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "registerWatch" | ("layout" | "colon" | "labelAlign" | "hideRequiredMark" | "validateOnRuleChange" | "validateTrigger" | "syncToUrl")> & ShallowUnwrapRef<{
|
|
833
833
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
834
834
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
835
835
|
resetFields: () => Promise<void>;
|
|
@@ -1019,6 +1019,9 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1019
1019
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
1020
1020
|
readonly layout?: string | undefined;
|
|
1021
1021
|
readonly disabled?: boolean | undefined;
|
|
1022
|
+
readonly prefixCls?: string | undefined;
|
|
1023
|
+
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1024
|
+
readonly name?: string | undefined;
|
|
1022
1025
|
readonly labelCol?: (Partial< ExtractPropTypes<{
|
|
1023
1026
|
span: (StringConstructor | NumberConstructor)[];
|
|
1024
1027
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -1088,7 +1091,6 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1088
1091
|
readonly colon?: boolean | undefined;
|
|
1089
1092
|
readonly labelAlign?: FormLabelAlign | undefined;
|
|
1090
1093
|
readonly labelWrap?: boolean | undefined;
|
|
1091
|
-
readonly prefixCls?: string | undefined;
|
|
1092
1094
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
1093
1095
|
readonly hideRequiredMark?: boolean | undefined;
|
|
1094
1096
|
readonly rules?: {
|
|
@@ -1097,13 +1099,11 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1097
1099
|
readonly validateMessages?: ValidateMessages | undefined;
|
|
1098
1100
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
1099
1101
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
1100
|
-
readonly name?: string | undefined;
|
|
1101
1102
|
readonly validateTrigger?: string | string[] | undefined;
|
|
1102
1103
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
1103
1104
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
1104
1105
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
1105
1106
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1106
|
-
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1107
1107
|
readonly initialValues?: Recordable | undefined;
|
|
1108
1108
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1109
1109
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
@@ -1817,7 +1817,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1817
1817
|
validateOnRuleChange: boolean;
|
|
1818
1818
|
validateTrigger: string | string[];
|
|
1819
1819
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
1820
|
-
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "
|
|
1820
|
+
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "registerWatch" | ("layout" | "colon" | "labelAlign" | "hideRequiredMark" | "validateOnRuleChange" | "validateTrigger" | "syncToUrl")> & ShallowUnwrapRef<{
|
|
1821
1821
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
1822
1822
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
1823
1823
|
resetFields: () => Promise<void>;
|
|
@@ -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)
|