@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
|
@@ -8,7 +8,7 @@ import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
|
8
8
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
9
9
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
10
10
|
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '../..';
|
|
11
|
-
import { UiModeType,
|
|
11
|
+
import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from '..';
|
|
12
12
|
import { LocaleType } from '../../locale';
|
|
13
13
|
import { RecursivePartial } from '../../type';
|
|
14
14
|
export declare const keysOf: <T extends Record<string, any>>(arr: T) => Array<keyof T>;
|
|
@@ -171,6 +171,18 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
171
171
|
uiMode?: UiModeType | undefined;
|
|
172
172
|
}>;
|
|
173
173
|
};
|
|
174
|
+
searchForm: {
|
|
175
|
+
type: PropType<SearchFormGlobalConfig>;
|
|
176
|
+
default: () => {};
|
|
177
|
+
};
|
|
178
|
+
apUpload: {
|
|
179
|
+
type: PropType<ApUploadConfig>;
|
|
180
|
+
default: () => {};
|
|
181
|
+
};
|
|
182
|
+
apDescriptions: {
|
|
183
|
+
type: PropType<ApDescriptionsConfig>;
|
|
184
|
+
default: () => {};
|
|
185
|
+
};
|
|
174
186
|
aplusLocale: {
|
|
175
187
|
type: PropType<LocaleType>;
|
|
176
188
|
};
|
|
@@ -187,14 +199,6 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
187
199
|
uiMode: {
|
|
188
200
|
type: PropType<UiModeType>;
|
|
189
201
|
};
|
|
190
|
-
apUpload: {
|
|
191
|
-
type: PropType<ApUploadConfig>;
|
|
192
|
-
default: () => {};
|
|
193
|
-
};
|
|
194
|
-
apDescriptions: {
|
|
195
|
-
type: PropType<ApDescriptionsConfig>;
|
|
196
|
-
default: () => {};
|
|
197
|
-
};
|
|
198
202
|
valueTypeMap: {
|
|
199
203
|
type: PropType<Record<string, ValueTypeRenderConfig>>;
|
|
200
204
|
default: () => {};
|
|
@@ -214,8 +218,4 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
214
218
|
type: PropType<ViewCacheOption>;
|
|
215
219
|
default: () => {};
|
|
216
220
|
};
|
|
217
|
-
searchForm: {
|
|
218
|
-
type: PropType<SearchFormGlobalConfig>;
|
|
219
|
-
default: () => {};
|
|
220
|
-
};
|
|
221
221
|
}>>>> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("@emotion/css"),l=require("lodash-unified"),e=require("vue"),y=require("../../design-token/constants.js"),q=require("../../utils/cssinjs/utils.js"),g=require("../constants.js"),b=require("./use-locale.js"),T=require("./use-namespace.js"),x=require("./use-token.js"),f=o=>Object.keys(o),a=e.ref();function p(o,n=void 0){const r=e.getCurrentInstance()?e.inject(g.configProviderContextKey,a):a;return o?e.computed(()=>r.value?.[o]??n):r}const K=(o,n,r=!1)=>{const c=!!e.getCurrentInstance(),t=c?p():void 0,u=n?.provide??(c?e.provide:void 0);if(!u)return;const s=e.computed(()=>{const i=e.unref(o);return t?.value?j(t.value,i):i});u(g.configProviderContextKey,s),u(b.localeContextKey,e.computed(()=>s.value.aplusLocale)),u(T.namespaceContextKey,s.value.namespace);const d=e.computed(()=>({...l.merge(l.cloneDeep(y.defaultToken),s.value.aplusToken||{})})),m=e.computed(()=>l.omit(d.value,["components"])),v=e.ref();return e.watch(()=>m.value,i=>{const C=q.generateCssVar(i);v.value=k.css(C)},{deep:!0,immediate:!0}),u(x.designTokenContextKey,{token:d,rootCls:v}),(r||!a.value)&&(a.value=s.value),s},j=(o,n)=>{const r=[...new Set([...f(o),...f(n)])],c={};for(const t of r)c[t]=n[t]!==void 0?n[t]:o[t];return c};exports.keysOf=f;exports.provideGlobalConfig=K;exports.useGlobalConfig=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("lodash-unified"),t=require("vue");require("../../locale/index.js");const i=require("../../locale/lang/zh-cn.js"),l=e=>(n,o)=>c(n,o,t.unref(e)),c=(e,n,o)=>s.get(o,e,e).replace(/\{(\w+)\}/g,(f,r)=>`${n?.[r]??`{${r}}`}`),u=e=>{const n=t.computed(()=>t.unref(e).name),o=t.isRef(e)?e:t.ref(e);return{lang:n,locale:o,t:l(e)}},a=Symbol("localeContextKey"),d=e=>{const n=e||t.inject(a,t.ref());return u(t.computed(()=>n?.value||i.default))};exports.buildLocaleContext=u;exports.buildTranslator=l;exports.localeContextKey=a;exports.translate=c;exports.useLocale=d;
|
|
@@ -6,7 +6,7 @@ import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
|
6
6
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
7
7
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
8
8
|
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
|
|
9
|
-
import { UiModeType,
|
|
9
|
+
import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
|
|
10
10
|
import { LocaleType } from '../locale';
|
|
11
11
|
import { RecursivePartial } from '../type';
|
|
12
12
|
export * from './config-provider-props';
|
|
@@ -173,6 +173,18 @@ export declare const APConfigProvider: {
|
|
|
173
173
|
uiMode?: UiModeType | undefined;
|
|
174
174
|
}>;
|
|
175
175
|
};
|
|
176
|
+
searchForm: {
|
|
177
|
+
type: PropType<SearchFormGlobalConfig>;
|
|
178
|
+
default: () => {};
|
|
179
|
+
};
|
|
180
|
+
apUpload: {
|
|
181
|
+
type: PropType<ApUploadConfig>;
|
|
182
|
+
default: () => {};
|
|
183
|
+
};
|
|
184
|
+
apDescriptions: {
|
|
185
|
+
type: PropType<ApDescriptionsConfig>;
|
|
186
|
+
default: () => {};
|
|
187
|
+
};
|
|
176
188
|
aplusLocale: {
|
|
177
189
|
type: PropType<LocaleType>;
|
|
178
190
|
};
|
|
@@ -189,14 +201,6 @@ export declare const APConfigProvider: {
|
|
|
189
201
|
uiMode: {
|
|
190
202
|
type: PropType<UiModeType>;
|
|
191
203
|
};
|
|
192
|
-
apUpload: {
|
|
193
|
-
type: PropType<ApUploadConfig>;
|
|
194
|
-
default: () => {};
|
|
195
|
-
};
|
|
196
|
-
apDescriptions: {
|
|
197
|
-
type: PropType<ApDescriptionsConfig>;
|
|
198
|
-
default: () => {};
|
|
199
|
-
};
|
|
200
204
|
valueTypeMap: {
|
|
201
205
|
type: PropType<Record<string, ValueTypeRenderConfig>>;
|
|
202
206
|
default: () => {};
|
|
@@ -216,10 +220,6 @@ export declare const APConfigProvider: {
|
|
|
216
220
|
type: PropType<ViewCacheOption>;
|
|
217
221
|
default: () => {};
|
|
218
222
|
};
|
|
219
|
-
searchForm: {
|
|
220
|
-
type: PropType<SearchFormGlobalConfig>;
|
|
221
|
-
default: () => {};
|
|
222
|
-
};
|
|
223
223
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
224
224
|
input: InputConfig;
|
|
225
225
|
select: SelectConfig;
|
|
@@ -228,10 +228,9 @@ export declare const APConfigProvider: {
|
|
|
228
228
|
size?: ButtonSize | number;
|
|
229
229
|
};
|
|
230
230
|
direction: "ltr" | "rtl";
|
|
231
|
-
pagination: PaginationConfig;
|
|
232
|
-
locale: Locale;
|
|
233
231
|
csp: CSPConfig;
|
|
234
232
|
autoInsertSpaceInButton: boolean;
|
|
233
|
+
locale: Locale;
|
|
235
234
|
pageHeader: {
|
|
236
235
|
ghost?: boolean;
|
|
237
236
|
};
|
|
@@ -242,6 +241,7 @@ export declare const APConfigProvider: {
|
|
|
242
241
|
wave: {
|
|
243
242
|
disabled?: boolean;
|
|
244
243
|
};
|
|
244
|
+
pagination: PaginationConfig;
|
|
245
245
|
cascader: CascaderConfig;
|
|
246
246
|
datePicker: DatePickerConfig;
|
|
247
247
|
rangePicker: RangePickerConfig;
|
|
@@ -251,14 +251,14 @@ export declare const APConfigProvider: {
|
|
|
251
251
|
mentions: MentionsConfig;
|
|
252
252
|
timePicker: TimePickerConfig;
|
|
253
253
|
card: CardConfig;
|
|
254
|
-
api: ApiType;
|
|
255
254
|
apUpload: ApUploadConfig;
|
|
255
|
+
searchForm: SearchFormGlobalConfig;
|
|
256
256
|
apDescriptions: ApDescriptionsConfig;
|
|
257
|
+
api: ApiType;
|
|
257
258
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
258
259
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
259
260
|
exportField: ExportField;
|
|
260
261
|
viewCacheOption: ViewCacheOption;
|
|
261
|
-
searchForm: SearchFormGlobalConfig;
|
|
262
262
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
263
263
|
P: {};
|
|
264
264
|
B: {};
|
|
@@ -423,6 +423,18 @@ export declare const APConfigProvider: {
|
|
|
423
423
|
uiMode?: UiModeType | undefined;
|
|
424
424
|
}>;
|
|
425
425
|
};
|
|
426
|
+
searchForm: {
|
|
427
|
+
type: PropType<SearchFormGlobalConfig>;
|
|
428
|
+
default: () => {};
|
|
429
|
+
};
|
|
430
|
+
apUpload: {
|
|
431
|
+
type: PropType<ApUploadConfig>;
|
|
432
|
+
default: () => {};
|
|
433
|
+
};
|
|
434
|
+
apDescriptions: {
|
|
435
|
+
type: PropType<ApDescriptionsConfig>;
|
|
436
|
+
default: () => {};
|
|
437
|
+
};
|
|
426
438
|
aplusLocale: {
|
|
427
439
|
type: PropType<LocaleType>;
|
|
428
440
|
};
|
|
@@ -439,14 +451,6 @@ export declare const APConfigProvider: {
|
|
|
439
451
|
uiMode: {
|
|
440
452
|
type: PropType<UiModeType>;
|
|
441
453
|
};
|
|
442
|
-
apUpload: {
|
|
443
|
-
type: PropType<ApUploadConfig>;
|
|
444
|
-
default: () => {};
|
|
445
|
-
};
|
|
446
|
-
apDescriptions: {
|
|
447
|
-
type: PropType<ApDescriptionsConfig>;
|
|
448
|
-
default: () => {};
|
|
449
|
-
};
|
|
450
454
|
valueTypeMap: {
|
|
451
455
|
type: PropType<Record<string, ValueTypeRenderConfig>>;
|
|
452
456
|
default: () => {};
|
|
@@ -466,10 +470,6 @@ export declare const APConfigProvider: {
|
|
|
466
470
|
type: PropType<ViewCacheOption>;
|
|
467
471
|
default: () => {};
|
|
468
472
|
};
|
|
469
|
-
searchForm: {
|
|
470
|
-
type: PropType<SearchFormGlobalConfig>;
|
|
471
|
-
default: () => {};
|
|
472
|
-
};
|
|
473
473
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
474
474
|
input: InputConfig;
|
|
475
475
|
select: SelectConfig;
|
|
@@ -478,10 +478,9 @@ export declare const APConfigProvider: {
|
|
|
478
478
|
size?: ButtonSize | number;
|
|
479
479
|
};
|
|
480
480
|
direction: "ltr" | "rtl";
|
|
481
|
-
pagination: PaginationConfig;
|
|
482
|
-
locale: Locale;
|
|
483
481
|
csp: CSPConfig;
|
|
484
482
|
autoInsertSpaceInButton: boolean;
|
|
483
|
+
locale: Locale;
|
|
485
484
|
pageHeader: {
|
|
486
485
|
ghost?: boolean;
|
|
487
486
|
};
|
|
@@ -492,6 +491,7 @@ export declare const APConfigProvider: {
|
|
|
492
491
|
wave: {
|
|
493
492
|
disabled?: boolean;
|
|
494
493
|
};
|
|
494
|
+
pagination: PaginationConfig;
|
|
495
495
|
cascader: CascaderConfig;
|
|
496
496
|
datePicker: DatePickerConfig;
|
|
497
497
|
rangePicker: RangePickerConfig;
|
|
@@ -501,14 +501,14 @@ export declare const APConfigProvider: {
|
|
|
501
501
|
mentions: MentionsConfig;
|
|
502
502
|
timePicker: TimePickerConfig;
|
|
503
503
|
card: CardConfig;
|
|
504
|
-
api: ApiType;
|
|
505
504
|
apUpload: ApUploadConfig;
|
|
505
|
+
searchForm: SearchFormGlobalConfig;
|
|
506
506
|
apDescriptions: ApDescriptionsConfig;
|
|
507
|
+
api: ApiType;
|
|
507
508
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
508
509
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
509
510
|
exportField: ExportField;
|
|
510
511
|
viewCacheOption: ViewCacheOption;
|
|
511
|
-
searchForm: SearchFormGlobalConfig;
|
|
512
512
|
}>;
|
|
513
513
|
__isFragment?: never;
|
|
514
514
|
__isTeleport?: never;
|
|
@@ -670,6 +670,18 @@ export declare const APConfigProvider: {
|
|
|
670
670
|
uiMode?: UiModeType | undefined;
|
|
671
671
|
}>;
|
|
672
672
|
};
|
|
673
|
+
searchForm: {
|
|
674
|
+
type: PropType<SearchFormGlobalConfig>;
|
|
675
|
+
default: () => {};
|
|
676
|
+
};
|
|
677
|
+
apUpload: {
|
|
678
|
+
type: PropType<ApUploadConfig>;
|
|
679
|
+
default: () => {};
|
|
680
|
+
};
|
|
681
|
+
apDescriptions: {
|
|
682
|
+
type: PropType<ApDescriptionsConfig>;
|
|
683
|
+
default: () => {};
|
|
684
|
+
};
|
|
673
685
|
aplusLocale: {
|
|
674
686
|
type: PropType<LocaleType>;
|
|
675
687
|
};
|
|
@@ -686,14 +698,6 @@ export declare const APConfigProvider: {
|
|
|
686
698
|
uiMode: {
|
|
687
699
|
type: PropType<UiModeType>;
|
|
688
700
|
};
|
|
689
|
-
apUpload: {
|
|
690
|
-
type: PropType<ApUploadConfig>;
|
|
691
|
-
default: () => {};
|
|
692
|
-
};
|
|
693
|
-
apDescriptions: {
|
|
694
|
-
type: PropType<ApDescriptionsConfig>;
|
|
695
|
-
default: () => {};
|
|
696
|
-
};
|
|
697
701
|
valueTypeMap: {
|
|
698
702
|
type: PropType<Record<string, ValueTypeRenderConfig>>;
|
|
699
703
|
default: () => {};
|
|
@@ -713,10 +717,6 @@ export declare const APConfigProvider: {
|
|
|
713
717
|
type: PropType<ViewCacheOption>;
|
|
714
718
|
default: () => {};
|
|
715
719
|
};
|
|
716
|
-
searchForm: {
|
|
717
|
-
type: PropType<SearchFormGlobalConfig>;
|
|
718
|
-
default: () => {};
|
|
719
|
-
};
|
|
720
720
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
721
721
|
input: InputConfig;
|
|
722
722
|
select: SelectConfig;
|
|
@@ -725,10 +725,9 @@ export declare const APConfigProvider: {
|
|
|
725
725
|
size?: ButtonSize | number;
|
|
726
726
|
};
|
|
727
727
|
direction: "ltr" | "rtl";
|
|
728
|
-
pagination: PaginationConfig;
|
|
729
|
-
locale: Locale;
|
|
730
728
|
csp: CSPConfig;
|
|
731
729
|
autoInsertSpaceInButton: boolean;
|
|
730
|
+
locale: Locale;
|
|
732
731
|
pageHeader: {
|
|
733
732
|
ghost?: boolean;
|
|
734
733
|
};
|
|
@@ -739,6 +738,7 @@ export declare const APConfigProvider: {
|
|
|
739
738
|
wave: {
|
|
740
739
|
disabled?: boolean;
|
|
741
740
|
};
|
|
741
|
+
pagination: PaginationConfig;
|
|
742
742
|
cascader: CascaderConfig;
|
|
743
743
|
datePicker: DatePickerConfig;
|
|
744
744
|
rangePicker: RangePickerConfig;
|
|
@@ -748,14 +748,14 @@ export declare const APConfigProvider: {
|
|
|
748
748
|
mentions: MentionsConfig;
|
|
749
749
|
timePicker: TimePickerConfig;
|
|
750
750
|
card: CardConfig;
|
|
751
|
-
api: ApiType;
|
|
752
751
|
apUpload: ApUploadConfig;
|
|
752
|
+
searchForm: SearchFormGlobalConfig;
|
|
753
753
|
apDescriptions: ApDescriptionsConfig;
|
|
754
|
+
api: ApiType;
|
|
754
755
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
755
756
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
756
757
|
exportField: ExportField;
|
|
757
758
|
viewCacheOption: ViewCacheOption;
|
|
758
|
-
searchForm: SearchFormGlobalConfig;
|
|
759
759
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
760
760
|
$props: {
|
|
761
761
|
onClick?: () => void;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Recordable, RecursivePartial } from '../type';
|
|
1
|
+
import { GlobalToken } from '@aplus-frontend/antdv/es/theme';
|
|
3
2
|
import { CSSInterpolation, CSSObject } from '@emotion/serialize';
|
|
4
|
-
import { CheckCardToken } from '../check-card/style';
|
|
5
|
-
import { ApFormToken } from '../ap-form/style/token';
|
|
6
|
-
import { ApListToken } from '../ap-list/style';
|
|
7
|
-
import { ScrollbarToken } from '../scroll-bar/style';
|
|
8
|
-
import { MaskToken } from '../mask/style';
|
|
9
|
-
import { SplitterToken } from '../splitter/style';
|
|
10
|
-
import { ProCardToken } from '../ap-pro-card/style/token';
|
|
11
3
|
import { AgGridToken } from '../ag-grid/style';
|
|
12
|
-
import { BatchInputGroupToken } from '../business/batch-input-group/style';
|
|
13
|
-
import { ApRadioGroupToken } from '../business/ap-radio-group/style';
|
|
14
|
-
import { ApGridToken } from '../ap-grid/style';
|
|
15
|
-
import { TokenUtil } from '../utils/cssinjs/TokenUtil';
|
|
16
|
-
import { LoadingBarToken } from '../loading-bar/style';
|
|
17
|
-
import { HighlightToken } from '../highlight/style';
|
|
18
4
|
import { SearchFormToken } from '../ap-form/style/search-form';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
5
|
+
import { ApGridToken } from '../ap-grid/style';
|
|
6
|
+
import { AppendixToken } from '../business/ap-appendix/style/token';
|
|
21
7
|
import { ApAttachmentToken } from '../business/ap-attachment/style';
|
|
22
8
|
import { ApLabelToken } from '../business/ap-label/style';
|
|
9
|
+
import { ApProductInfoToken } from '../business/ap-product-info/style';
|
|
10
|
+
import { ApRadioGroupToken } from '../business/ap-radio-group/style';
|
|
23
11
|
import { ApSelectLayoutToken } from '../business/ap-select-layout/style';
|
|
24
|
-
import { ApTableModalToken } from '../business/ap-table-modal/style';
|
|
25
12
|
import { ApSummaryToken } from '../business/ap-summary/style';
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
13
|
+
import { ApTableModalToken } from '../business/ap-table-modal/style';
|
|
14
|
+
import { ApUploadToken } from '../business/ap-upload/style/token';
|
|
15
|
+
import { ApUploadSingleToken } from '../business/ap-upload-file/ap-upload-single/style';
|
|
28
16
|
import { ApViewToken } from '../business/ap-view/style';
|
|
17
|
+
import { BatchInputGroupToken } from '../business/batch-input-group/style';
|
|
18
|
+
import { HighlightToken } from '../highlight/style';
|
|
19
|
+
import { LoadingBarToken } from '../loading-bar/style';
|
|
20
|
+
import { TokenUtil } from '../utils/cssinjs/TokenUtil';
|
|
21
|
+
import { ActionToken } from '../ap-action/style';
|
|
22
|
+
import { ApFormToken } from '../ap-form/style/token';
|
|
23
|
+
import { ApListToken } from '../ap-list/style';
|
|
24
|
+
import { ProCardToken } from '../ap-pro-card/style/token';
|
|
25
|
+
import { CheckCardToken } from '../check-card/style';
|
|
26
|
+
import { MaskToken } from '../mask/style';
|
|
27
|
+
import { ScrollbarToken } from '../scroll-bar/style';
|
|
28
|
+
import { SplitterToken } from '../splitter/style';
|
|
29
|
+
import { Recordable, RecursivePartial } from '../type';
|
|
29
30
|
export type FontToken = {
|
|
30
31
|
/**
|
|
31
32
|
* 最大号字体
|
|
@@ -296,6 +297,7 @@ export type TokenWithComponentCls<Token> = Token & {
|
|
|
296
297
|
};
|
|
297
298
|
export type TokenWithUtil<Token> = TokenWithComponentCls<Token> & {
|
|
298
299
|
calc: (cssVar: any) => InstanceType<typeof TokenUtil>;
|
|
300
|
+
antdv: GlobalToken;
|
|
299
301
|
};
|
|
300
302
|
export type CssVarToken<Token = Recordable> = {
|
|
301
303
|
[key in keyof Token]: Token[key] | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),_=require("@aplus-frontend/antdv"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),_=require("@aplus-frontend/antdv"),u=require("lodash-unified"),k=require("../ap-form/utils/get.js"),P=require("../utils/warning.js"),m=require("../ap-form/index.js"),j=require("../ap-form/context.js");require("../config-provider/index.js");require("../utils/index.js");const A=require("./hooks/use-get-columns.js"),O=require("./style/index.js"),z=require("./utils.js"),K=require("../config-provider/hooks/use-namespace.js"),$=require("../config-provider/hooks/use-global-config.js"),p=require("../utils/is.js"),G=t.defineComponent({name:"EditableTableFormItem",__name:"form-item",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"small"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{type:[String,Function],default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},rowHoverable:{type:Boolean},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},onFieldChange:{},label:{},name:{},formItem:{default:()=>({})}},setup(b,{expose:g}){const o=b;P.useDevWarning("EditableTableFormItem")(!1,"breaking","EditableTableFormItem has been EOL, Please use EditableAgGridFormItem(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");const{internalInstance:i,model:h}=j.useInjectForm(),d=t.ref(k.getModelValue(t.unref(h),o.name)||[]),w=t.useSlots(),x=t.toRef(o,"name"),y=m.ApForm.useWatch(x);t.watch(()=>y.value,async e=>{await t.nextTick(),d.value=e,o.onChange?.(e)},{deep:!0});const{b:C}=K.useNamespace("editable-table"),R=O.default("editable-table"),c=t.shallowRef(),v=$.useGlobalConfig("valueTypeMap"),F=A.default(o,v);function q(e,l){const s=t.unref(d)?.length||0;if(p.isDef(o.maxLength)&&s>=o.maxLength)return;const n={...e||{}};i?.setFieldValue(o.name,n,!0,(a,r)=>{if(!a[r]){a[r]=[n];return}u.isUndefined(l)?a[r].push(n):a[r].splice(l,0,n)})}function B(e,l="suffix"){const s=t.unref(d)?.length||0,n=u.isNumber(e)?e:e.length;if(p.isDef(o.maxLength)&&s+n>o.maxLength)return;const a=u.isNumber(e)?new Array(e).fill(0).map(()=>({})):u.cloneDeep(e);i?.setFieldValue(o.name,a,!0,(r,f)=>{if(!r[f]){r[f]=[...a];return}l==="suffix"?r[f].push(...a):r[f].unshift(...a)})}function T(e){const l=new Set(u.isNumber(e)?[e]:e);i?.setFieldValue(o.name,void 0,!0,(s,n)=>{s[n]=s[n].filter((a,r)=>!l.has(r))})}function I(e){const l=new Set(u.isArray(e)?e:[e]);l.size!==0&&i?.setFieldValue?.(o.name,void 0,!0,(s,n)=>{s[n]=s[n].filter(a=>!l.has(a[o.rowKey]))})}function D(){return t.unref(d)}function S(e){return t.unref(d)?.[e]}function E(e,l,s=!0){i?.setFieldValue(o.name,void 0,!0,(n,a)=>{!n[a]||!n[a][e]||(n[a][e]={...s?n[a][e]:{},...l})})}function N(e){i?.setFieldValue(o.name,e)}function L(e,l){const s=e==="end"?d.value.length-1:e;z.scrollToRowIndex(s,c.value?.$el,l)}function V(){i?.setFieldValue?.(o.name,[])}return g({add:q,remove:T,getRowData:S,getRowsData:D,setRowData:E,addMultiple:B,scrollTo:L,setTableData:N,clear:V,removeByKey:I}),(e,l)=>(t.openBlock(),t.createBlock(t.unref(m.ApForm).FormItem,t.mergeProps(e.formItem,{name:e.name,label:e.label}),{default:t.withCtx(()=>[t.createVNode(t.unref(_.Table),t.mergeProps(t.unref(u.omit)(o,["name","maxLength","onChange"]),{ref_key:"tableRef",ref:c,class:[t.unref(C)(),t.unref(R)],columns:t.unref(F),"data-source":d.value}),t.createSlots({_:2},[t.renderList(t.unref(u.omit)(w,["headerCell"]),(s,n)=>({name:n,fn:t.withCtx(a=>[t.renderSlot(e.$slots,n,t.normalizeProps(t.guardReactiveProps(a||{})))])}))]),1040,["class","columns","data-source"])]),_:3},16,["name","label"]))}});exports.default=G;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
1
2
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { EditableTableFormItemProps, EditableTableProps } from '../interface';
|
|
3
3
|
import { ValueTypeRenderConfig } from '../../config-provider';
|
|
4
|
-
import {
|
|
4
|
+
import { EditableTableFormItemProps, EditableTableProps } from '../interface';
|
|
5
5
|
declare const useGetColumns: (props: EditableTableProps | EditableTableFormItemProps, extraValueTypes: Ref<Record<string, ValueTypeRenderConfig> | undefined>) => ComputedRef<ColumnType<any>[]>;
|
|
6
6
|
export default useGetColumns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const N=require("@aplus-frontend/antdv/es/theme/internal"),C=require("clsx"),a=require("lodash-unified"),d=require("vue"),v=require("../../utils/warning.js"),s=require("../../ap-table/utils.js");require("../../config-provider/index.js");const g=require("../utils.js"),w=require("../../config-provider/hooks/use-namespace.js"),A=(r,m)=>{const{em:x,be:q}=w.useNamespace("editable-table"),T=v.useDevWarning("EditableTable"),h=d.useSlots(),[,F]=N.useToken();return d.computed(()=>{const c=r.columns;if(!c)return[];function i(I){return I.map(e=>({...a.omit(e,["ellipsis"]),children:i(e.children||[]),title:g.getEditableTableTitle(e,q("table-header","title"),x("header-cell","required"),h.headerCell,d.unref(F).colorTextTertiary),customRender({value:l,...n}){const o=a.isFunction(e.editable)?e.editable(n.text,n.record,n.index):!!e.editable;if(!e.valueType&&!e.customRender&&!e.customRenderFormItem)return T(!1,"usage","'can not render table cell because no `valueType` / `customRender` / `customRenderFormItem`'"),null;let u;if(o){const t=s.updateFormProps(e,s.getFieldProps(e.fieldProps,{value:l,...n})),f={};r.onFieldChange&&(f[`onUpdate:${t.valuePropName||"value"}`]=y=>r.onFieldChange?.(n.index,e.dataIndex,y));const R=a.isArray(e.dataIndex)?e.dataIndex:[e.dataIndex];u={name:[...a.isArray(r.name)?r.name:[r.name],n.index,...R],...t||{},field:{style:"width: 100%",...t?.field||{},...f,class:C.clsx("is-editable",t.class)}}}else u={field:s.getTableRenderProps(e,{value:l,...n})};const b=g.getFinalNode(e,o,u,l,n.record,d.unref(m));return e.customRender?e.customRender({value:l,...n,editable:o,originalNode:b}):b}}))}return i(c)})};exports.default=A;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("./
|
|
1
|
+
"use strict";require("./form-item.vue2.js");require("./index.vue2.js");require("./interface.js");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
|
|
2
1
|
import { Recordable } from '../type';
|
|
2
|
+
import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
|
|
3
3
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),O=require("@aplus-frontend/antdv"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),O=require("@aplus-frontend/antdv"),i=require("lodash-unified"),j=require("../utils/warning.js"),p=require("../ap-form/index.js");require("../config-provider/index.js");require("../hooks/index.js");require("../utils/index.js");const z=require("./hooks/use-get-columns.js"),K=require("./style/index.js"),$=require("./utils.js"),G=require("../config-provider/hooks/use-namespace.js"),U=require("../hooks/useControllableValue.js"),H=require("../config-provider/hooks/use-global-config.js"),h=require("../utils/is.js"),W=n.defineComponent({name:"EditableTable",__name:"index",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"small"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{type:[String,Function],default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},rowHoverable:{type:Boolean},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},name:{default:"ap-editable-table-inner-name"},onFieldChange:{}},emits:["update:value"],setup(g,{expose:b,emit:w}){const t=g;j.useDevWarning("EditableTable")(!1,"breaking","EditableTable has been EOL, Please use EditableAgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");const{b:v}=G.useNamespace("editable-table"),x=K.default("editable-table"),y=n.useSlots(),C=w,m=n.shallowRef(),{value:d,updateValue:R}=U.useControllableValue(t,C),r=n.ref(),F=H.useGlobalConfig("valueTypeMap"),c=p.ApForm.useWatch(t.name,r);n.watch(()=>c.value,e=>{R(e),t.onChange?.(e)},{deep:!0,flush:"post"}),n.watch(d,e=>{e!==n.unref(c)&&(i.isEqual(e,n.unref(c))||r.value?.setFieldValue(t.name,e))},{deep:!0});const q=z.default(t,F);function B(){r.value?.resetFields()}function T(e){return e?(i.isArray(e)?e:[e]).map(l=>i.isArray(l)?[t.name,...l]:[t.name,l]):void 0}async function V(e,u){return(await r.value?.validateFields(T(e),u))?.[t.name]}function E(e,u){const l=n.unref(d)?.length||0;if(h.isDef(t.maxLength)&&l>=t.maxLength)return;const a={...e||{}};r.value?.setFieldValue?.(t.name,a,!0,(o,s)=>{if(!o[s]){o[s]=[a];return}i.isUndefined(u)?o[s].push(a):o[s].splice(u,0,a)})}function N(e,u="suffix"){const l=n.unref(d)?.length||0,a=i.isNumber(e)?e:e.length;if(h.isDef(t.maxLength)&&l+a>t.maxLength)return;const o=i.isNumber(e)?new Array(e).fill(0).map(()=>({})):i.cloneDeep(e);r.value?.setFieldValue?.(t.name,o,!0,(s,f)=>{if(!s[f]){s[f]=[...o];return}u==="suffix"?s[f].push(...o):s[f].unshift(...o)})}function S(e){const u=new Set(i.isNumber(e)?[e]:e);r.value?.setFieldValue?.(t.name,void 0,!0,(l,a)=>{l[a]=l[a].filter((o,s)=>!u.has(s))})}function A(e){const u=new Set(i.isArray(e)?e:[e]);u.size!==0&&r.value?.setFieldValue?.(t.name,void 0,!0,(l,a)=>{l[a]=l[a].filter(o=>!u.has(o[t.rowKey]))})}function D(){return n.unref(d)}function _(e){r.value?.setFieldValue(t.name,e)}function L(e){return n.unref(d)?.[e]}function k(e,u,l=!0){r.value?.setFieldValue?.(t.name,void 0,!0,(a,o)=>{!a[o]||!a[o][e]||(a[o][e]={...l?a[o][e]:{},...u})})}function P(e,u){const l=e==="end"?d.value.length-1:e;$.scrollToRowIndex(l,m.value?.$el,u)}function I(){r.value?.setFieldValue?.(t.name,[])}return b({resetFields:B,validateFields:V,add:E,remove:S,getRowData:L,getRowsData:D,setRowData:k,addMultiple:N,scrollTo:P,clear:I,setTableData:_,removeByKey:A}),(e,u)=>(n.openBlock(),n.createBlock(n.unref(p.ApForm),{ref_key:"formRef",ref:r,"initial-values":{[t.name]:n.unref(d)}},{default:n.withCtx(()=>[n.createVNode(n.unref(p.ApForm).FormItem,{name:e.name,"no-style":""},{default:n.withCtx(()=>[n.createVNode(n.unref(O.Table),n.mergeProps(n.unref(i.omit)(t,["name","value","onUpdate:value","maxLength","onChange"]),{ref_key:"tableRef",ref:m,class:[n.unref(v)(),n.unref(x)],columns:n.unref(q),"data-source":n.unref(d)}),n.createSlots({_:2},[n.renderList(n.unref(i.omit)(y,["headerCell"]),(l,a)=>({name:a,fn:n.withCtx(o=>[n.renderSlot(e.$slots,a,n.normalizeProps(n.guardReactiveProps(o||{})))])}))]),1040,["class","columns","data-source"])]),_:3},8,["name"])]),_:3},8,["initial-values"]))}});exports.default=W;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, FieldPropsType, ValueEnum } from '../ap-table';
|
|
1
|
+
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
3
2
|
import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
|
-
import {
|
|
5
|
-
import { VNode } from 'vue';
|
|
3
|
+
import { ColumnType, TableProps } from '@aplus-frontend/antdv/es/table';
|
|
6
4
|
import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
|
|
5
|
+
import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
7
6
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
8
|
-
import {
|
|
7
|
+
import { VNode } from 'vue';
|
|
9
8
|
import { ApFormItemProps } from '../ap-form';
|
|
10
|
-
import {
|
|
9
|
+
import { ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, FieldPropsType, ValueEnum } from '../ap-table';
|
|
10
|
+
import { Recordable } from '../type';
|
|
11
11
|
export type EditableColumnType<RecordType = any, ExtraValueType = 'text', ValueType extends ApTableValueTypes = ApTableValueTypes, MergedValueType extends ExtraValueType | ValueType = ExtraValueType | ValueType> = MergedValueType extends ExtraValueType | ValueType ? Omit<ColumnType<RecordType>, 'children' | 'customRender' | 'ellipsis'> & {
|
|
12
12
|
children?: EditableColumnType<RecordType, ExtraValueType, ValueType, MergedValueType>[];
|
|
13
13
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EditableColumnType } from './interface';
|
|
2
1
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
3
|
-
import { ValueTypeRenderConfig } from '../config-provider';
|
|
4
2
|
import { VNode, RendererNode, RendererElement } from 'vue';
|
|
5
|
-
import { EditableGridColumnType } from '../ap-grid/editable/interface';
|
|
6
3
|
import { EditableAgGridColumnType } from '../ag-grid/editable/interface';
|
|
4
|
+
import { EditableGridColumnType } from '../ap-grid/editable/interface';
|
|
5
|
+
import { ValueTypeRenderConfig } from '../config-provider';
|
|
6
|
+
import { EditableColumnType } from './interface';
|
|
7
7
|
/**
|
|
8
8
|
* 获取编辑模式下默认映射的组件
|
|
9
9
|
* @param valueType
|
|
@@ -24,7 +24,6 @@ export declare function getColumnIsRequired(column: EditableColumnType<any, 'tex
|
|
|
24
24
|
* @returns
|
|
25
25
|
*/
|
|
26
26
|
export declare function getRawDisplayValue(column: EditableColumnType, value: any): any;
|
|
27
|
-
export declare function mergeClass(current: string, classNames?: string | string[]): string;
|
|
28
27
|
/**
|
|
29
28
|
* 滚动到表格的某行
|
|
30
29
|
* @param index
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),h=require("@ant-design/icons-vue"),q=require("@aplus-frontend/antdv"),n=require("lodash-unified"),F=require("scroll-into-view-if-needed"),S=require("../ap-field/number/helper.js");require("../ap-form/index.js");const g=require("../ap-table/constants.js"),N=require("../ap-table/utils.js");require("../utils/index.js");const v=require("../utils/is.js"),b=require("../ap-form/item/index.vue.js");function T(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}function V(e){return g.apTableFormItemMap[e]}function C(e){if(e.markRequired)return!0;if(!e.fieldProps)return!1;const t=n.isFunction(e.fieldProps)?e.fieldProps({}):e.fieldProps;return v.isDef(t.required)?t.required:(n.isArray(t.rules)?t.rules:t.rules?[t.rules]:[]).some(o=>o.required)}function R(e,t){if(e.valueType==="text"||e.valueType==="textArea")return t||"--";if(e.valueType==="number"){const r=e.fieldProps?n.isFunction(e.fieldProps)?e.fieldProps({}):e.fieldProps:{};return S.getValueStr(t,r)||"--"}return N.objectToString(t)}function w(e,t=document.body,r={}){const o=t.querySelectorAll("tr.ant-table-row")[e];o&&F(o,{scrollMode:"if-needed",block:"nearest",behavior:"smooth",...r})}function x(e,t,r){return g.noRenderAsFormItemValueList.includes(e.valueType)?r:e.copyable||e.ellipsis?i.createVNode(q.Typography.Paragraph,{copyable:e.copyable?{text:t,tooltip:!1}:!1,ellipsis:e.ellipsis?n.isBoolean(e.ellipsis)?{tooltip:t}:{...e.ellipsis,tooltip:t}:!1,content:e.ellipsis?R(e,t):r},null):r}function P(e,t,r,o,u,s){if(t){if(e.customRenderFormItem){const a=e.customRenderFormItem(e,r.field,t,u);return i.createVNode(b.default,n.omit(r,["field"]),T(a)?a:{default:()=>[a]})}const f=V(e.valueType);if(f)return i.createVNode(f,r,null);const l=s?.[e.valueType]?.renderFormItem?.(r.field);return l?i.createVNode(b.default,r,T(l)?l:{default:()=>[l]}):null}let d;const c=N.getTableRenderType(e),p=g.apTableRenderItemMap[c];return p?d=i.createVNode(p,i.mergeProps(r.field,{mode:"read"}),null):d=s?.[c]?.render?.(o,u,r.field),d?x(e,o,d):null}function _(e,t,r,o,u){const s=o?.({title:e.title,column:e}),d=s?.filter(I=>I.type!==Symbol.for("v-cmt"))||[];if(s&&d.length>0)return s;const p=C(e),y=n.isString(e.title)?{class:t,title:e.title}:{},l=i.createVNode("div",y,[p?i.createVNode("span",{class:r},[i.createTextVNode("*")]):null,e.title]),a=e.tooltip?n.isFunction(e.tooltip)?e.tooltip(e):i.createVNode(i.Fragment,null,[e.tooltip]):null;return a?i.createVNode("span",{style:{display:"inline-flex",alignItems:"center",maxWidth:"100%"}},[l,i.createVNode(q.Tooltip,{title:a,placement:"bottom"},{default:()=>[i.createVNode(h.QuestionCircleOutlined,{style:{padding:"4px",color:u,verticalAlign:"middle"}},null)]})]):l}exports.getColumnIsRequired=C;exports.getEditableComponent=V;exports.getEditableTableTitle=_;exports.getFinalNode=P;exports.getRawDisplayValue=R;exports.scrollToRowIndex=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("@vueuse/core");require("../config-provider/index.js");require("../hooks/index.js");require("../portal/index.js");const g=require("./style/index.js"),q=require("../hooks/useFullScreen.js"),k=require("../config-provider/hooks/use-namespace.js"),x=require("../portal/index.vue.js"),S=e.defineComponent({name:"FullScreen",__name:"index",props:{wrapperElementName:{default:"div"},zIndex:{default:2147483647},to:{default:"body"}},setup(h,{expose:d}){const{target:s,full:p,enter:v,exit:w}=q.useFullScreen(),{b:f,bm:m,be:_}=k.useNamespace("full-screen"),b=g.default("full-screen"),t=e.ref(!1),l=e.ref(),i=y.useScrollLock(document.body),n=e.ref();e.watch(()=>e.unref(p),r=>{r||(t.value=!1,l.value=void 0)});async function a(r,u=!1){await o(),t.value=!0,l.value=r,r==="browser"?v(u):i.value=!0}async function o(r=!1){t.value=!1,l.value==="browser"?await w(r):i.value=!1,l.value=void 0}async function c(r,u=!1){t.value?l.value!==r?await a(r,u):await o(u):await a(r,u)}return d({target:e.computed(()=>e.unref(s)),portalRoot:e.computed(()=>e.unref(n)),full:e.computed(()=>e.unref(t)),mode:e.computed(()=>e.unref(l)),enter:a,exit:o,toggle:c}),(r,u)=>(e.openBlock(),e.createBlock(e.unref(x.default),{to:r.to,disabled:l.value!=="window"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.wrapperElementName),e.mergeProps({ref_key:"target",ref:s},r.$attrs,{class:[e.unref(f)(),e.unref(f)("wrapper"),t.value&&l.value==="window"?e.unref(m)("wrapper","full"):null,e.unref(b)],style:{zIndex:t.value&&l.value==="window"?r.zIndex:"unset"}}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default",{full:t.value,enter:a,exit:o,toggle:c,mode:l.value,portalRoot:n.value}),e.createElementVNode("div",{ref_key:"portalRootRef",ref:n,class:e.normalizeClass(e.unref(_)("wrapper","portal-root"))},null,2)]),_:3},16,["class","style"]))]),_:3},8,["to","disabled"]))}});exports.default=S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("lodash-unified"),n=require("vue");function v(e,f,a){const r=a?.defaultValuePropName||"defaultValue",t=a?.valuePropName||"value",u=n.ref(c());async function d(l){a?.beforeUpdateValue&&(o(),!await a.beforeUpdateValue(l))||(e[t]===void 0&&(u.value=l),f(`update:${t}`,l))}function o(){u.value===void 0&&(u.value="",n.nextTick(()=>{u.value=void 0}))}function c(){return i.isUndefined(e[t])?i.isUndefined(e[r])?a?.defaultValue:e[r]:e[t]}return n.watch(()=>e[t],l=>{u.value=l},{deep:!0}),{value:u,updateValue:d}}exports.useControllableValue=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),n=require("@aplus-frontend/antdv"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),c=require("@ant-design/icons-vue"),n=require("@aplus-frontend/antdv"),u=require("lodash-unified");require("../config-provider/index.js");const s=require("../config-provider/hooks/use-locale.js");function i(e){return e==="warning"?o.createVNode(c.InfoCircleFilled,{class:"modal-icon-warning"},null):e==="success"?o.createVNode(c.CheckCircleFilled,{class:"modal-icon-success"},null):e==="info"?o.createVNode(c.InfoCircleFilled,{class:"modal-icon-info"},null):o.createVNode(c.CloseCircleFilled,{class:"modal-icon-error"},null)}function a({content:e}){return u.isString(e)?o.createVNode("div",{innerHTML:`<div>${e}</div>`},null):e}function d(e){const r=e.iconType||"warning";Reflect.deleteProperty(e,"iconType");const l={centered:!0,icon:i(r),...e,content:a(e)};return n.Modal.confirm(l)}const f=()=>{const{t:e}=s.useLocale();return{okText:e("ap.common.okText"),centered:!0}};function t(e,r){return{...f(),...e,content:a(e),icon:i(r)}}function g(e){return n.Modal.success(t(e,"success"))}function M(e){return n.Modal.error(t(e,"error"))}function m(e){return n.Modal.info(t(e,"info"))}function C(e){return n.Modal.warning(t(e,"warning"))}function q(e,r){return n.Modal[r](t(e,r))}n.notification.config({placement:"topRight",duration:3});function v(){return{createMessage:n.message,notification:n.notification,createConfirm:d,createSuccessModal:g,createErrorModal:M,createInfoModal:m,createWarningModal:C,createModal:q}}exports.useMessage=v;
|