@aplus-frontend/ui 7.10.0 → 7.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +44 -39
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-action/style/dropdown-item.mjs +17 -11
- package/es/src/ap-action/style/index.mjs +8 -9
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +14 -14
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +2 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/style/item.mjs +15 -15
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.mjs +12 -12
- package/es/src/ap-list/interface.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +1 -1
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +8 -8
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +15 -15
- package/es/src/config-provider/config-provider-props.mjs +12 -12
- package/es/src/config-provider/config-provider.d.ts +29 -29
- package/es/src/config-provider/config-provider.mjs +42 -40
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +49 -49
- package/es/src/design-token/interface.d.ts +22 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +31 -30
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-action/style/dropdown-item.js +1 -1
- package/lib/src/ap-action/style/index.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +2 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +15 -15
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +29 -29
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +49 -49
- package/lib/src/design-token/interface.d.ts +22 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as se, inject as o, ref as g, watch as re, computed as ie, createElementBlock as N, openBlock as h, normalizeClass as ce, unref as t, createElementVNode as r, createCommentVNode as E, toDisplayString as b, normalizeStyle as ue, createBlock as pe, withModifiers as de, createVNode as ve } from "vue";
|
|
2
|
+
import { DeleteOutlined as fe } from "@ant-design/icons-vue";
|
|
3
|
+
import { message as c, Progress as me } from "@aplus-frontend/antdv";
|
|
2
4
|
import "../../../config-provider/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import q from "../
|
|
9
|
-
import we from "../style/index.mjs";
|
|
10
|
-
import { useToken as Ue } from "../../../config-provider/hooks/use-token.mjs";
|
|
5
|
+
import { useToken as ge } from "../../../config-provider/hooks/use-token.mjs";
|
|
6
|
+
import $ from "../assets/single-file-icon.png.mjs";
|
|
7
|
+
import { useOss as he, useOssInit as _e } from "../hooks/useOss.mjs";
|
|
8
|
+
import ke from "../style/index.mjs";
|
|
9
|
+
import { fileMatchesAccept as ye, getAcceptText as we } from "../utils/accept.mjs";
|
|
10
|
+
import { getName as Ue, getReturnData as q } from "../utils/returnData.mjs";
|
|
11
11
|
import { useLocale as De } from "../../../config-provider/hooks/use-locale.mjs";
|
|
12
12
|
import { useNamespace as Ce } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
const Fe = ["accept"], Se = {
|
|
@@ -19,7 +19,7 @@ const Fe = ["accept"], Se = {
|
|
|
19
19
|
}, ze = { class: "left" }, Ae = ["src"], Re = { class: "center" }, Be = { class: "center-progress" }, Je = /* @__PURE__ */ se({
|
|
20
20
|
__name: "SingleFile",
|
|
21
21
|
setup(Me, { expose: j }) {
|
|
22
|
-
const { t: s } = De(), { b: x } = Ce("ap-upload-single-file"), G =
|
|
22
|
+
const { t: s } = De(), { b: x } = Ce("ap-upload-single-file"), G = ke("ap-upload"), { put: W, client: z } = he(), H = o("dirName"), J = o("baseDirName"), _ = o("accept") || "*", k = o("maxSize") ?? 500, K = o("title") || s("ap.apUpload.clickOrDragUpload"), y = o("subTitle"), { token: A } = ge(), i = o("value"), w = o("needName"), u = o("uploadingCount"), R = o("beforeUpload"), B = o("customRequest"), Q = o("getOssAccess"), X = o("maxSizeErrorMsg"), Y = o("acceptErrorMsg"), M = o("onRemove"), U = o("showUploadErrorMsg"), l = g(null);
|
|
23
23
|
re(
|
|
24
24
|
() => i?.value,
|
|
25
25
|
function(e) {
|
|
@@ -29,7 +29,7 @@ const Fe = ["accept"], Se = {
|
|
|
29
29
|
);
|
|
30
30
|
function P(e) {
|
|
31
31
|
e ? setTimeout(() => {
|
|
32
|
-
const a =
|
|
32
|
+
const a = Ue(w, e);
|
|
33
33
|
n.value = 3, l.value = new File([e], a, {}), i.value = e;
|
|
34
34
|
}) : (n.value = 1, l.value = null, i.value = void 0);
|
|
35
35
|
}
|
|
@@ -102,7 +102,7 @@ const Fe = ["accept"], Se = {
|
|
|
102
102
|
);
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
105
|
-
if (!
|
|
105
|
+
if (!ye(e[0], _)) {
|
|
106
106
|
c.warning(
|
|
107
107
|
Y || s("ap.apUpload.fileFormatNotSupported")
|
|
108
108
|
);
|
|
@@ -119,7 +119,7 @@ const Fe = ["accept"], Se = {
|
|
|
119
119
|
U && c.warning(a || s("ap.apUpload.networkAnomaly")), n.value = 1, l.value = null, u.value--;
|
|
120
120
|
},
|
|
121
121
|
onSuccess: (a) => {
|
|
122
|
-
i.value =
|
|
122
|
+
i.value = q(
|
|
123
123
|
w,
|
|
124
124
|
a,
|
|
125
125
|
l.value.name
|
|
@@ -130,12 +130,12 @@ const Fe = ["accept"], Se = {
|
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
132
|
try {
|
|
133
|
-
await
|
|
133
|
+
await _e(Q), W({
|
|
134
134
|
file: l.value,
|
|
135
135
|
dirName: H,
|
|
136
136
|
oss: z,
|
|
137
137
|
successCallBack(a) {
|
|
138
|
-
i.value =
|
|
138
|
+
i.value = q(
|
|
139
139
|
w,
|
|
140
140
|
a,
|
|
141
141
|
l.value.name
|
|
@@ -182,10 +182,10 @@ const Fe = ["accept"], Se = {
|
|
|
182
182
|
n.value === 1 ? (h(), N("div", Se, [
|
|
183
183
|
r("img", {
|
|
184
184
|
class: "state-un-icon",
|
|
185
|
-
src: t(
|
|
185
|
+
src: t($)
|
|
186
186
|
}, null, 8, Ne),
|
|
187
187
|
r("div", Ee, b(t(K)), 1),
|
|
188
|
-
r("div", be, b(typeof t(y) == "string" && t(y).length > 0 ? t(y) : `${t(s)("ap.apUpload.supportExtension")}:${t(
|
|
188
|
+
r("div", be, b(typeof t(y) == "string" && t(y).length > 0 ? t(y) : `${t(s)("ap.apUpload.supportExtension")}:${t(we)(
|
|
189
189
|
t(_)
|
|
190
190
|
)},${t(s)("ap.apUpload.maxWarnUploadFileSize", {
|
|
191
191
|
maxSize: t(k)
|
|
@@ -193,7 +193,7 @@ const Fe = ["accept"], Se = {
|
|
|
193
193
|
])) : E("", !0),
|
|
194
194
|
[2, 3].includes(n.value) ? (h(), N("div", xe, [
|
|
195
195
|
r("div", ze, [
|
|
196
|
-
r("img", { src: t(
|
|
196
|
+
r("img", { src: t($) }, null, 8, Ae)
|
|
197
197
|
]),
|
|
198
198
|
r("div", Re, [
|
|
199
199
|
r("div", {
|
|
@@ -203,7 +203,7 @@ const Fe = ["accept"], Se = {
|
|
|
203
203
|
})
|
|
204
204
|
}, b(l.value?.name), 5),
|
|
205
205
|
r("div", Be, [
|
|
206
|
-
T.value ? E("", !0) : (h(), pe(t(
|
|
206
|
+
T.value ? E("", !0) : (h(), pe(t(me), {
|
|
207
207
|
key: 0,
|
|
208
208
|
percent: d.value,
|
|
209
209
|
size: 4,
|
|
@@ -217,7 +217,7 @@ const Fe = ["accept"], Se = {
|
|
|
217
217
|
class: "right",
|
|
218
218
|
onClick: de(le, ["stop"])
|
|
219
219
|
}, [
|
|
220
|
-
ve(t(
|
|
220
|
+
ve(t(fe))
|
|
221
221
|
])
|
|
222
222
|
])) : E("", !0)
|
|
223
223
|
], 34));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { accessCreate, Oss } from '@aplus-frontend/oss';
|
|
2
|
-
import { Translator } from '../../../config-provider';
|
|
3
2
|
import { Ref } from 'vue';
|
|
3
|
+
import { Translator } from '../../../config-provider';
|
|
4
4
|
export type { Oss } from '@aplus-frontend/oss';
|
|
5
5
|
export type GetOssAccess = () => Promise<accessCreate>;
|
|
6
6
|
export declare function injectLocaleToOss(tValue: Translator, langValue: Ref<string>): void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { genComponentStyleHook as o } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { multipleFileStyle as t } from "./multiple-file.mjs";
|
|
3
|
+
import { pictureStyle as l } from "./picture.mjs";
|
|
4
|
+
import { singleFileStyle as m } from "./single-file.mjs";
|
|
5
5
|
import { defaultValue as r } from "./token.mjs";
|
|
6
6
|
const y = o(
|
|
7
7
|
"ApUpload",
|
|
8
8
|
(e) => [
|
|
9
|
+
m(e),
|
|
9
10
|
t(e),
|
|
10
|
-
l(e)
|
|
11
|
-
m(e)
|
|
11
|
+
l(e)
|
|
12
12
|
],
|
|
13
13
|
r
|
|
14
14
|
);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as M, computed as y, createBlock as C, openBlock as u, unref as e, mergeProps as G, withCtx as i, renderSlot as H, normalizeProps as J, guardReactiveProps as K, createElementVNode as s, normalizeClass as l, createElementBlock as v, createVNode as n, createTextVNode as m, toDisplayString as p, resolveDynamicComponent as F, h as N, Fragment as L } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { FormItemInputContext as Z } from "@aplus-frontend/antdv/es/form/FormItemContext";
|
|
7
|
-
import { useSingleProps as ee } from "../hook/useProps.mjs";
|
|
8
|
-
import { useInjectContext as te } from "../hook/useInjectContext.mjs";
|
|
9
|
-
import { omit as oe } from "lodash-unified";
|
|
2
|
+
import { Form as Q, UploadDragger as W, TypographyParagraph as b, Progress as X, Tooltip as P } from "@aplus-frontend/antdv";
|
|
3
|
+
import { FormItemInputContext as Y } from "@aplus-frontend/antdv/es/form/FormItemContext";
|
|
4
|
+
import { omit as Z } from "lodash-unified";
|
|
5
|
+
import { useToken as ee } from "../../../config-provider/hooks/use-token.mjs";
|
|
10
6
|
import "../../../config-provider/index.mjs";
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
7
|
+
import { useInjectContext as te } from "../hook/useInjectContext.mjs";
|
|
8
|
+
import { useSingleProps as oe } from "../hook/useProps.mjs";
|
|
9
|
+
import k from "../icon/delete-icon.vue.mjs";
|
|
10
|
+
import g from "../icon/file-icon.vue.mjs";
|
|
11
|
+
import { clearSingleFile as le, clearAllFile as x } from "../utils/fileList.mjs";
|
|
12
|
+
import se from "./style/index.mjs";
|
|
13
13
|
import { useGlobalConfig as ne } from "../../../config-provider/hooks/use-global-config.mjs";
|
|
14
14
|
import { useLocale as ae } from "../../../config-provider/hooks/use-locale.mjs";
|
|
15
15
|
import { useNamespace as ie } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -31,7 +31,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["update:fileList"],
|
|
33
33
|
setup(w, { emit: A }) {
|
|
34
|
-
const T =
|
|
34
|
+
const T = Y.useInject(), $ = y(() => T.status), d = w, q = A, B = Q.useInjectFormItemContext(), r = y({
|
|
35
35
|
get() {
|
|
36
36
|
return d.fileList || [];
|
|
37
37
|
},
|
|
@@ -43,15 +43,15 @@ const Se = /* @__PURE__ */ M({
|
|
|
43
43
|
subTitle: R,
|
|
44
44
|
beforeUpload: E,
|
|
45
45
|
customRequest: h
|
|
46
|
-
} =
|
|
46
|
+
} = oe(d), D = h;
|
|
47
47
|
te(
|
|
48
48
|
U,
|
|
49
49
|
j,
|
|
50
50
|
d?.getOssAccess ?? O.value?.getOssAccess
|
|
51
51
|
);
|
|
52
|
-
const { b: I, e: t } = ie("ap-upload-single"), V =
|
|
52
|
+
const { b: I, e: t } = ie("ap-upload-single"), V = se("ap-upload-single"), { token: S } = ee();
|
|
53
53
|
function _(c) {
|
|
54
|
-
return
|
|
54
|
+
return Z(c, [
|
|
55
55
|
"dirName",
|
|
56
56
|
"needName",
|
|
57
57
|
"getOssAccess",
|
|
@@ -60,7 +60,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
60
60
|
"subTitle"
|
|
61
61
|
]);
|
|
62
62
|
}
|
|
63
|
-
return (c, a) => (u(), C(e(
|
|
63
|
+
return (c, a) => (u(), C(e(W), G({
|
|
64
64
|
...c.$attrs,
|
|
65
65
|
..._(d)
|
|
66
66
|
}, {
|
|
@@ -76,7 +76,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
76
76
|
default: i(() => [
|
|
77
77
|
H(c.$slots, "default", J(K({
|
|
78
78
|
file: o.value,
|
|
79
|
-
clear: () => o.value && e(
|
|
79
|
+
clear: () => o.value && e(le)(o.value, r.value, { maxCount: 1 })
|
|
80
80
|
})), () => [
|
|
81
81
|
s("div", {
|
|
82
82
|
class: l([e(t)("content")])
|
|
@@ -93,7 +93,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
93
93
|
s("div", {
|
|
94
94
|
class: l([e(t)("content-file-name"), e(t)("content-ing-name")])
|
|
95
95
|
}, [
|
|
96
|
-
n(e(
|
|
96
|
+
n(e(b), {
|
|
97
97
|
ellipsis: { rows: 2 },
|
|
98
98
|
tooltip: o.value.error
|
|
99
99
|
}, {
|
|
@@ -102,7 +102,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
102
102
|
]),
|
|
103
103
|
_: 1
|
|
104
104
|
}, 8, ["tooltip"]),
|
|
105
|
-
n(e(
|
|
105
|
+
n(e(X), {
|
|
106
106
|
percent: o.value.percent || 0,
|
|
107
107
|
size: 4,
|
|
108
108
|
"show-info": !1,
|
|
@@ -112,7 +112,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
112
112
|
], 2),
|
|
113
113
|
s("div", {
|
|
114
114
|
class: l([e(t)("content-file-delete")]),
|
|
115
|
-
onClick: a[0] || (a[0] = (f) => e(
|
|
115
|
+
onClick: a[0] || (a[0] = (f) => e(x)(r.value))
|
|
116
116
|
}, [
|
|
117
117
|
n(k)
|
|
118
118
|
], 2)
|
|
@@ -133,7 +133,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
133
133
|
m(p(o.value?.error || "--"), 1)
|
|
134
134
|
]),
|
|
135
135
|
default: i(() => [
|
|
136
|
-
n(e(
|
|
136
|
+
n(e(b), {
|
|
137
137
|
ellipsis: { rows: 2 },
|
|
138
138
|
tooltip: o.value.error
|
|
139
139
|
}, {
|
|
@@ -148,7 +148,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
148
148
|
], 2),
|
|
149
149
|
s("div", {
|
|
150
150
|
class: l([e(t)("content-file-delete")]),
|
|
151
|
-
onClick: a[1] || (a[1] = (f) => e(
|
|
151
|
+
onClick: a[1] || (a[1] = (f) => e(x)(r.value))
|
|
152
152
|
}, [
|
|
153
153
|
n(k)
|
|
154
154
|
], 2)
|
|
@@ -169,7 +169,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
169
169
|
m(p(o.value?.name || "--"), 1)
|
|
170
170
|
]),
|
|
171
171
|
default: i(() => [
|
|
172
|
-
n(e(
|
|
172
|
+
n(e(b), {
|
|
173
173
|
ellipsis: { rows: 2 },
|
|
174
174
|
tooltip: o.value.error
|
|
175
175
|
}, {
|
|
@@ -184,7 +184,7 @@ const Se = /* @__PURE__ */ M({
|
|
|
184
184
|
], 2),
|
|
185
185
|
s("div", {
|
|
186
186
|
class: l([e(t)("content-file-delete")]),
|
|
187
|
-
onClick: a[2] || (a[2] = (f) => e(
|
|
187
|
+
onClick: a[2] || (a[2] = (f) => e(x)(r.value))
|
|
188
188
|
}, [
|
|
189
189
|
n(k)
|
|
190
190
|
], 2)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { ApUploadGetOssAccess } from '../interface';
|
|
3
2
|
import { Translator } from '../../../config-provider';
|
|
3
|
+
import { ApUploadGetOssAccess } from '../interface';
|
|
4
4
|
export declare function useInjectContext(t: Translator, lang: Ref<string>, getOssAccess?: ApUploadGetOssAccess): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { injectUtilAccept as e } from "../utils/accept.mjs";
|
|
2
|
+
import { injectUtilUpload as c } from "../utils/upload.mjs";
|
|
3
3
|
import { injectHookOss as n } from "./useOss.mjs";
|
|
4
4
|
function f(o, t, i) {
|
|
5
|
-
|
|
5
|
+
c(o), e(o), n(o, t, i);
|
|
6
6
|
}
|
|
7
7
|
export {
|
|
8
8
|
f as useInjectContext
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { accessCreate, Oss } from '@aplus-frontend/oss';
|
|
2
|
-
import { Translator } from '../../../config-provider';
|
|
3
2
|
import { Ref } from 'vue';
|
|
3
|
+
import { Translator } from '../../../config-provider';
|
|
4
4
|
import { ApUploadGetOssAccess } from '../interface';
|
|
5
5
|
export type { Oss } from '@aplus-frontend/oss';
|
|
6
6
|
export type GetOssAccess = () => Promise<accessCreate>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as u } from "vue";
|
|
2
|
-
import { getAcceptText as i } from "../utils/accept.mjs";
|
|
3
2
|
import "../../../config-provider/index.mjs";
|
|
3
|
+
import { getAcceptText as i } from "../utils/accept.mjs";
|
|
4
4
|
import { uploadBeforeUpload as r, uploadCustomRequest as n } from "../utils/upload.mjs";
|
|
5
5
|
import { useLocale as s } from "../../../config-provider/hooks/use-locale.mjs";
|
|
6
6
|
function R(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { UploadFile, UploadChangeParam, UploadProps } from '@aplus-frontend/antdv';
|
|
1
2
|
import { accessCreate } from '@aplus-frontend/oss';
|
|
2
3
|
import { VNodeChild } from 'vue';
|
|
3
|
-
import { UploadFile, UploadChangeParam, UploadProps } from '@aplus-frontend/antdv';
|
|
4
4
|
export type ApUploadGetOssAccess = () => Promise<accessCreate>;
|
|
5
5
|
type Parameters<T extends (...args: any) => any> = T extends (...args: infer P) => any ? P : never;
|
|
6
6
|
export type ApUploadFile<T = any> = UploadFile<T> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApUploadCustomRequest, ApUploadFile } from '../interface';
|
|
2
1
|
import { Translator } from '../../../config-provider';
|
|
2
|
+
import { ApUploadCustomRequest, ApUploadFile } from '../interface';
|
|
3
3
|
export declare function injectUtilUpload(tValue: Translator): void;
|
|
4
4
|
export declare function changeFileStatus(file: ApUploadFile, status: ApUploadFile['status'], errMsg: string): void;
|
|
5
5
|
export declare function uploadBeforeUpload(file: ApUploadFile, fileList: ApUploadFile[], props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { message as i } from "@aplus-frontend/antdv";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getOssInstance as g } from "../hook/useOss.mjs";
|
|
3
|
+
import { fileMatchesAccept as f } from "./accept.mjs";
|
|
4
4
|
let o;
|
|
5
5
|
function U(e) {
|
|
6
6
|
o = e;
|
|
@@ -21,7 +21,7 @@ function S(e, r, a) {
|
|
|
21
21
|
});
|
|
22
22
|
return i.warning(t), m(e, "error", t), !1;
|
|
23
23
|
}
|
|
24
|
-
if (!
|
|
24
|
+
if (!f(e, a.accept)) {
|
|
25
25
|
const t = a?.acceptErrorMsg || o("ap.apUpload.fileFormatNotSupported");
|
|
26
26
|
return i.warning(t), m(e, "error", t), !1;
|
|
27
27
|
}
|
|
@@ -30,7 +30,7 @@ function S(e, r, a) {
|
|
|
30
30
|
const C = async (e, r) => {
|
|
31
31
|
const { file: a, onError: t, onProgress: u, onSuccess: l } = e;
|
|
32
32
|
try {
|
|
33
|
-
const n = await (await
|
|
33
|
+
const n = await (await g())?.put({
|
|
34
34
|
dirName: r?.dirName,
|
|
35
35
|
fileName: a?.name,
|
|
36
36
|
data: a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as z, ref as O, computed as T, createElementBlock as r, openBlock as d, normalizeStyle as A, normalizeClass as a, unref as s, createVNode as b, withCtx as V, createElementVNode as c, createCommentVNode as y, Fragment as N, renderList as R, withModifiers as f, renderSlot as h, createTextVNode as g, toDisplayString as u, createBlock as L } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { PlusOutlined as j, InfoCircleFilled as M } from "@ant-design/icons-vue";
|
|
3
|
+
import { Popover as q } from "@aplus-frontend/antdv";
|
|
4
4
|
import { IconApAdLinePoor as G } from "@aplus-frontend/icon";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
6
|
import J from "./style/index.mjs";
|
|
@@ -72,7 +72,7 @@ const U = ["onClick"], W = { class: "label" }, X = { class: "value" }, Y = ["onC
|
|
|
72
72
|
"--ap-value-select-card-column-count": e.maxRowDisplay
|
|
73
73
|
})
|
|
74
74
|
}, [
|
|
75
|
-
b(s(
|
|
75
|
+
b(s(q), {
|
|
76
76
|
open: p.value,
|
|
77
77
|
trigger: "click",
|
|
78
78
|
placement: "bottomRight",
|
|
@@ -88,7 +88,7 @@ const U = ["onClick"], W = { class: "label" }, X = { class: "value" }, Y = ["onC
|
|
|
88
88
|
key: 0,
|
|
89
89
|
class: a(s(n)("title"))
|
|
90
90
|
}, [
|
|
91
|
-
e.showTitleIcon ? (d(), L(s(
|
|
91
|
+
e.showTitleIcon ? (d(), L(s(M), {
|
|
92
92
|
key: 0,
|
|
93
93
|
class: a(s(n)("title-icon"))
|
|
94
94
|
}, null, 8, ["class"])) : y("", !0),
|
|
@@ -169,7 +169,7 @@ const U = ["onClick"], W = { class: "label" }, X = { class: "value" }, Y = ["onC
|
|
|
169
169
|
onClick: i[0] || (i[0] = f((t) => p.value = !0, ["stop"]))
|
|
170
170
|
}, [
|
|
171
171
|
h(e.$slots, "add-button", {}, () => [
|
|
172
|
-
b(s(
|
|
172
|
+
b(s(j)),
|
|
173
173
|
c("span", ee, u(e.addButtonText), 1)
|
|
174
174
|
])
|
|
175
175
|
], 2)) : y("", !0)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as U, computed as F, ref as y, createVNode as K, watch as Y, createBlock as z, openBlock as M, unref as u, mergeProps as R, withCtx as q, createElementVNode as H, normalizeClass as J } from "vue";
|
|
2
|
+
import { isValid as Q } from "@aplus-frontend/utils";
|
|
3
|
+
import { useInjectApTable as X } from "../../ap-table/context.mjs";
|
|
2
4
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import
|
|
4
|
-
import { ApBatchActionGroup as X } from "../ap-batch-action-group/index.mjs";
|
|
5
|
+
import { ApBatchActionGroup as Z } from "../ap-batch-action-group/index.mjs";
|
|
5
6
|
import "./components/main-button-content.vue.mjs";
|
|
6
7
|
import "./components/menu-list-content.vue.mjs";
|
|
7
|
-
import { useViewProvide as
|
|
8
|
-
import
|
|
9
|
-
import { SYSTEM_VIEW_KEY as c } from "./utils/enum.mjs";
|
|
10
|
-
import { isValid as te } from "@aplus-frontend/utils";
|
|
8
|
+
import { useViewProvide as ee } from "./hooks/use-view-provide.mjs";
|
|
9
|
+
import te from "./icons/line-down.vue.mjs";
|
|
11
10
|
import ae from "./style/index.mjs";
|
|
11
|
+
import { SYSTEM_VIEW_KEY as c } from "./utils/enum.mjs";
|
|
12
12
|
import { useGlobalConfig as ie } from "../../config-provider/hooks/use-global-config.mjs";
|
|
13
13
|
import { useNamespace as se } from "../../config-provider/hooks/use-namespace.mjs";
|
|
14
14
|
import { useLocale as oe } from "../../config-provider/hooks/use-locale.mjs";
|
|
@@ -57,7 +57,7 @@ const De = /* @__PURE__ */ U({
|
|
|
57
57
|
getSearchFormSorterItems: A,
|
|
58
58
|
setSearchFormSorterItems: P,
|
|
59
59
|
resetSearchFormSorterItems: T
|
|
60
|
-
} =
|
|
60
|
+
} = X(), W = y(!1), S = y(!1), v = y("");
|
|
61
61
|
let f = !1, g = !1;
|
|
62
62
|
const j = {
|
|
63
63
|
dropdownType: "dropdown",
|
|
@@ -170,8 +170,8 @@ const De = /* @__PURE__ */ U({
|
|
|
170
170
|
viewListCRUD: C,
|
|
171
171
|
saveDataSource: r
|
|
172
172
|
};
|
|
173
|
-
return
|
|
174
|
-
|
|
173
|
+
return ee($), Y(() => s.tableKey, (t) => {
|
|
174
|
+
Q(t) && (f = !0, C?.getViewList?.({
|
|
175
175
|
tableKey: t
|
|
176
176
|
}));
|
|
177
177
|
}, {
|
|
@@ -180,7 +180,7 @@ const De = /* @__PURE__ */ U({
|
|
|
180
180
|
setFirstDefaultSystemView: (t) => {
|
|
181
181
|
g = t;
|
|
182
182
|
}
|
|
183
|
-
}), (t, a) => (M(), z(u(
|
|
183
|
+
}), (t, a) => (M(), z(u(Z), R({
|
|
184
184
|
...t.$attrs
|
|
185
185
|
}, {
|
|
186
186
|
open: S.value,
|
|
@@ -194,7 +194,7 @@ const De = /* @__PURE__ */ U({
|
|
|
194
194
|
}), {
|
|
195
195
|
icon: q(() => [H("div", {
|
|
196
196
|
class: J([u(d)("icon")])
|
|
197
|
-
}, [K(
|
|
197
|
+
}, [K(te)], 2)]),
|
|
198
198
|
_: 1
|
|
199
199
|
}, 16, ["open", "class", "menu-list", "overlay-class-name"]));
|
|
200
200
|
}
|
|
@@ -22,6 +22,9 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
22
22
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
23
23
|
readonly layout?: string | undefined;
|
|
24
24
|
readonly disabled?: boolean | undefined;
|
|
25
|
+
readonly prefixCls?: string | undefined;
|
|
26
|
+
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
27
|
+
readonly name?: string | undefined;
|
|
25
28
|
readonly labelCol?: (Partial< ExtractPropTypes<{
|
|
26
29
|
span: (StringConstructor | NumberConstructor)[];
|
|
27
30
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -91,7 +94,6 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
91
94
|
readonly colon?: boolean | undefined;
|
|
92
95
|
readonly labelAlign?: FormLabelAlign | undefined;
|
|
93
96
|
readonly labelWrap?: boolean | undefined;
|
|
94
|
-
readonly prefixCls?: string | undefined;
|
|
95
97
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
96
98
|
readonly hideRequiredMark?: boolean | undefined;
|
|
97
99
|
readonly rules?: {
|
|
@@ -100,13 +102,11 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
100
102
|
readonly validateMessages?: ValidateMessages | undefined;
|
|
101
103
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
102
104
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
103
|
-
readonly name?: string | undefined;
|
|
104
105
|
readonly validateTrigger?: string | string[] | undefined;
|
|
105
106
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
106
107
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
107
108
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
108
109
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
109
|
-
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
110
110
|
readonly initialValues?: Recordable | undefined;
|
|
111
111
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
112
112
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
@@ -242,7 +242,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
242
242
|
};
|
|
243
243
|
lg: {
|
|
244
244
|
type: PropType<string | number | ColSize>;
|
|
245
|
-
default: string | number | ColSize;
|
|
245
|
+
default: string | number | ** @type { [typeof __VLS_components.Popover, typeof __VLS_components.Popover, ] } */).ColSize;
|
|
246
246
|
};
|
|
247
247
|
xl: {
|
|
248
248
|
type: PropType<string | number | ColSize>;
|
|
@@ -820,7 +820,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
820
820
|
validateOnRuleChange: boolean;
|
|
821
821
|
validateTrigger: string | string[];
|
|
822
822
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
823
|
-
}> & Omit<Readonly<ApFormProps> & Readonly<{}>, "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "
|
|
823
|
+
}> & Omit<Readonly<ApFormProps> & Readonly<{}>, "validate" | "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "registerWatch" | ("layout" | "colon" | "labelAlign" | "hideRequiredMark" | "validateOnRuleChange" | "validateTrigger" | "syncToUrl")> & ShallowUnwrapRef<{
|
|
824
824
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
825
825
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
826
826
|
resetFields: () => Promise<void>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as T, ref as z, computed as $, watch as L, createBlock as Y, openBlock as E, unref as e, withCtx as t, createElementVNode as u, normalizeClass as r, createVNode as a, createSlots as K, toDisplayString as s, createTextVNode as d } from "vue";
|
|
2
2
|
import { Popover as R, Tooltip as U, Space as y, Checkbox as j } from "@aplus-frontend/antdv";
|
|
3
|
-
import "
|
|
4
|
-
import q from "../icons/line-eye.vue.mjs";
|
|
5
|
-
import "../../../ap-form/ap-form.vue.mjs";
|
|
6
|
-
import { ApField as B } from "../../../ap-field/index.mjs";
|
|
7
|
-
import "../../../ap-button/index.mjs";
|
|
8
|
-
import M from "dayjs";
|
|
9
|
-
import { useViewInject as O } from "../hooks/use-view-provide.mjs";
|
|
10
|
-
import { generateUniqueKey as A } from "../utils/uuid.mjs";
|
|
3
|
+
import q from "dayjs";
|
|
11
4
|
import { cloneDeep as g } from "lodash-unified";
|
|
12
|
-
import
|
|
5
|
+
import "../../../ap-button/index.mjs";
|
|
6
|
+
import { ApField as B } from "../../../ap-field/index.mjs";
|
|
7
|
+
import "../../../ap-form/ap-form.vue.mjs";
|
|
8
|
+
import "../../../config-provider/index.mjs";
|
|
9
|
+
import { useViewInject as M } from "../hooks/use-view-provide.mjs";
|
|
10
|
+
import O from "../icons/line-eye.vue.mjs";
|
|
11
|
+
import A from "../style/index.mjs";
|
|
12
|
+
import { generateUniqueKey as P } from "../utils/uuid.mjs";
|
|
13
13
|
import { useLocale as G } from "../../../config-provider/hooks/use-locale.mjs";
|
|
14
14
|
import { useNamespace as H } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
15
15
|
import w from "../../../ap-form/ap-form.vue2.mjs";
|
|
@@ -20,7 +20,7 @@ const ce = /* @__PURE__ */ T({
|
|
|
20
20
|
maxViewNum: {}
|
|
21
21
|
},
|
|
22
22
|
setup(N) {
|
|
23
|
-
const f = N, { t: o } = G(), { b: i } = H("ap-view"), m =
|
|
23
|
+
const f = N, { t: o } = G(), { b: i } = H("ap-view"), m = A("ap-view"), V = z(), { tableKey: F, popoverOpen: p, viewList: c, saveDataSource: h, viewListCRUD: b } = M(), _ = $({
|
|
24
24
|
get: () => p.value && c.value.length < f.maxViewNum + 1,
|
|
25
25
|
set: (l) => {
|
|
26
26
|
c.value.length < f.maxViewNum + 1 && (p.value = l);
|
|
@@ -34,7 +34,7 @@ const ce = /* @__PURE__ */ T({
|
|
|
34
34
|
}));
|
|
35
35
|
});
|
|
36
36
|
const D = async (l) => {
|
|
37
|
-
const { viewName: n, isDefault: v } = l, S =
|
|
37
|
+
const { viewName: n, isDefault: v } = l, S = P(), k = g(
|
|
38
38
|
h?.getSearchFormValues?.(
|
|
39
39
|
!!h?.searchFormTransform
|
|
40
40
|
)
|
|
@@ -69,7 +69,7 @@ const ce = /* @__PURE__ */ T({
|
|
|
69
69
|
ref: V,
|
|
70
70
|
layout: "vertical",
|
|
71
71
|
"initial-values": {
|
|
72
|
-
viewName: `${e(o)("ap.apView.newView")} ${e(
|
|
72
|
+
viewName: `${e(o)("ap.apView.newView")} ${e(q)().format("YYYY-MM-DD").toString()}`
|
|
73
73
|
},
|
|
74
74
|
onFinish: D
|
|
75
75
|
}, {
|
|
@@ -157,7 +157,7 @@ const ce = /* @__PURE__ */ T({
|
|
|
157
157
|
default: t(() => [
|
|
158
158
|
a(e(y), { size: 4 }, {
|
|
159
159
|
default: t(() => [
|
|
160
|
-
a(
|
|
160
|
+
a(O, {
|
|
161
161
|
class: r([e(i)("icon"), e(m)])
|
|
162
162
|
}, null, 8, ["class"]),
|
|
163
163
|
u("div", null, s(e(o)("ap.apView.saveView")), 1)
|
|
@@ -23,6 +23,9 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
23
23
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
24
24
|
readonly layout?: string | undefined;
|
|
25
25
|
readonly disabled?: boolean | undefined;
|
|
26
|
+
readonly prefixCls?: string | undefined;
|
|
27
|
+
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
28
|
+
readonly name?: string | undefined;
|
|
26
29
|
readonly labelCol?: (Partial< ExtractPropTypes<{
|
|
27
30
|
span: (StringConstructor | NumberConstructor)[];
|
|
28
31
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -92,7 +95,6 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
92
95
|
readonly colon?: boolean | undefined;
|
|
93
96
|
readonly labelAlign?: FormLabelAlign | undefined;
|
|
94
97
|
readonly labelWrap?: boolean | undefined;
|
|
95
|
-
readonly prefixCls?: string | undefined;
|
|
96
98
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
97
99
|
readonly hideRequiredMark?: boolean | undefined;
|
|
98
100
|
readonly rules?: {
|
|
@@ -101,13 +103,11 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
101
103
|
readonly validateMessages?: ValidateMessages | undefined;
|
|
102
104
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
103
105
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
104
|
-
readonly name?: string | undefined;
|
|
105
106
|
readonly validateTrigger?: string | string[] | undefined;
|
|
106
107
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
107
108
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
108
109
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
109
110
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
110
|
-
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
111
111
|
readonly initialValues?: Recordable | undefined;
|
|
112
112
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
113
113
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
@@ -821,7 +821,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
821
821
|
validateOnRuleChange: boolean;
|
|
822
822
|
validateTrigger: string | string[];
|
|
823
823
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
824
|
-
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "
|
|
824
|
+
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "getFieldsValue" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "registerWatch" | ("layout" | "colon" | "labelAlign" | "hideRequiredMark" | "validateOnRuleChange" | "validateTrigger" | "syncToUrl")> & ShallowUnwrapRef<{
|
|
825
825
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
826
826
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
827
827
|
resetFields: () => Promise<void>;
|