@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,51 +1,51 @@
|
|
|
1
|
+
import { catchWrapper as v, measureWrapper as y } from "@aplus-frontend/utils";
|
|
2
|
+
import { throttle as k } from "lodash-unified";
|
|
1
3
|
import { defineComponent as U, getCurrentInstance as j, ref as C, onMounted as M, onUpdated as E, onBeforeUnmount as z, onBeforeUpdate as F } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { catchWrapper as w, measureWrapper as h } from "@aplus-frontend/utils";
|
|
5
|
-
import { LruCacher as O } from "./cacher/lru-cacher.mjs";
|
|
4
|
+
import { LruCacher as L } from "./cacher/lru-cacher.mjs";
|
|
5
|
+
import { useApKeepAliveProvide as O } from "./hook.mjs";
|
|
6
6
|
import { forceStopTags as W, ApKeepAliveProps as R } from "./interface.mjs";
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
7
|
+
import I from "./keeper/index.mjs";
|
|
8
|
+
import { matches as D, getAliveKey as T, isNoValue as _, getVNodeObjByVNodeChild as h, getVNodeObjByVNodeArrayChildren as K, getVNodeChirldren as w, getFirstVNodeChirldren as x } from "./utils.mjs";
|
|
9
9
|
const s = console, c = "|", ee = U({
|
|
10
10
|
name: "ApKeepAlive",
|
|
11
11
|
inheritAttrs: !1,
|
|
12
12
|
props: R(),
|
|
13
13
|
setup(n, { slots: B }) {
|
|
14
|
-
const f = j(), b = (e) => !(n.include && (!e || !
|
|
14
|
+
const f = j(), b = (e) => !(n.include && (!e || !D(n.include, e)) || n.exclude && e && D(n.exclude, e)), d = n.store || new L(n.max), a = C("");
|
|
15
15
|
let g = "";
|
|
16
16
|
const A = /* @__PURE__ */ new Set([...W, ...n.stopTags]), m = (e, o = "") => {
|
|
17
17
|
const t = [];
|
|
18
18
|
if (!e) return t;
|
|
19
|
-
const { VnodeName: i, vnodeSubPath: l } =
|
|
19
|
+
const { VnodeName: i, vnodeSubPath: l } = T(
|
|
20
20
|
e,
|
|
21
21
|
a.value
|
|
22
22
|
);
|
|
23
23
|
l && (o += c + l);
|
|
24
|
-
const u =
|
|
24
|
+
const u = I[i];
|
|
25
25
|
if (u) {
|
|
26
26
|
const r = u.get(e);
|
|
27
|
-
!
|
|
27
|
+
!_(r) && t.push([o, r]);
|
|
28
28
|
}
|
|
29
29
|
if (A.has(i))
|
|
30
30
|
return n.debug && s.log("[ stop-VnodeName ] >", i, o), t;
|
|
31
31
|
if (e.children)
|
|
32
32
|
if (Array.isArray(e.children))
|
|
33
33
|
e.children.forEach((r) => {
|
|
34
|
-
r =
|
|
34
|
+
r = h(r), r && t.push(...m(r, o));
|
|
35
35
|
});
|
|
36
36
|
else {
|
|
37
|
-
const r =
|
|
37
|
+
const r = K(e.children);
|
|
38
38
|
r && t.push(...m(r, o));
|
|
39
39
|
}
|
|
40
40
|
return e.component?.subTree && t.push(...m(e.component.subTree, o)), t;
|
|
41
41
|
}, p = async (e, o, t = "") => {
|
|
42
42
|
if (!e || !o || o?.size < 1) return;
|
|
43
|
-
const { VnodeName: i, vnodeSubPath: l } =
|
|
43
|
+
const { VnodeName: i, vnodeSubPath: l } = T(
|
|
44
44
|
e,
|
|
45
45
|
a.value
|
|
46
46
|
);
|
|
47
47
|
l && (t += c + l);
|
|
48
|
-
const u =
|
|
48
|
+
const u = I[i];
|
|
49
49
|
if (u) {
|
|
50
50
|
n.debug && s.log("[ vnkeeper ] >", i, e.key);
|
|
51
51
|
const r = t.split(c).slice(-1).join(c), S = o.get(r);
|
|
@@ -58,16 +58,16 @@ const s = console, c = "|", ee = U({
|
|
|
58
58
|
if (e.children)
|
|
59
59
|
if (Array.isArray(e.children))
|
|
60
60
|
e.children.forEach((r) => {
|
|
61
|
-
r =
|
|
61
|
+
r = h(r), r && p(r, o, t);
|
|
62
62
|
});
|
|
63
63
|
else {
|
|
64
|
-
const r =
|
|
64
|
+
const r = K(e.children);
|
|
65
65
|
r && p(r, o, t);
|
|
66
66
|
}
|
|
67
67
|
e.component?.subTree && p(e.component.subTree, o, t);
|
|
68
|
-
}, N =
|
|
69
|
-
|
|
70
|
-
const e =
|
|
68
|
+
}, N = k(() => {
|
|
69
|
+
v(() => {
|
|
70
|
+
const e = w(f), o = x(e), t = h(o);
|
|
71
71
|
if (!t || typeof t.type == "string" || (typeof t.type == "object" && "name" in t.type && (g = t.type.name || ""), a.value = t.key || g || "", !b(g)) || !a.value)
|
|
72
72
|
return;
|
|
73
73
|
const i = d.get(a.value);
|
|
@@ -83,7 +83,7 @@ const s = console, c = "|", ee = U({
|
|
|
83
83
|
});
|
|
84
84
|
M(() => {
|
|
85
85
|
if (n.debug) {
|
|
86
|
-
s.log("[ onMounted ] >", n.exclude),
|
|
86
|
+
s.log("[ onMounted ] >", n.exclude), y(() => {
|
|
87
87
|
N();
|
|
88
88
|
});
|
|
89
89
|
return;
|
|
@@ -91,16 +91,16 @@ const s = console, c = "|", ee = U({
|
|
|
91
91
|
N();
|
|
92
92
|
}), E(() => {
|
|
93
93
|
if (n.debug) {
|
|
94
|
-
s.log("[ onUpdated ] >", n.exclude),
|
|
94
|
+
s.log("[ onUpdated ] >", n.exclude), y(() => {
|
|
95
95
|
N();
|
|
96
96
|
});
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
N();
|
|
100
100
|
});
|
|
101
|
-
const V =
|
|
102
|
-
|
|
103
|
-
const e =
|
|
101
|
+
const V = k(() => {
|
|
102
|
+
v(() => {
|
|
103
|
+
const e = w(f), o = x(e), t = h(o);
|
|
104
104
|
if (!t) return;
|
|
105
105
|
if (!a.value) {
|
|
106
106
|
s.warn(
|
|
@@ -127,7 +127,7 @@ const s = console, c = "|", ee = U({
|
|
|
127
127
|
});
|
|
128
128
|
return z(() => {
|
|
129
129
|
if (n.debug) {
|
|
130
|
-
s.log("[ onBeforeUnmount ] >"),
|
|
130
|
+
s.log("[ onBeforeUnmount ] >"), y(() => {
|
|
131
131
|
V();
|
|
132
132
|
});
|
|
133
133
|
return;
|
|
@@ -135,13 +135,13 @@ const s = console, c = "|", ee = U({
|
|
|
135
135
|
V();
|
|
136
136
|
}), F(() => {
|
|
137
137
|
if (n.debug) {
|
|
138
|
-
s.log("[ onBeforeUpdate ] >"),
|
|
138
|
+
s.log("[ onBeforeUpdate ] >"), y(() => {
|
|
139
139
|
V();
|
|
140
140
|
});
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
143
|
V();
|
|
144
|
-
}),
|
|
144
|
+
}), O(d, a), () => B.default?.();
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
export {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import r from "./ap-form-keeper.mjs";
|
|
2
2
|
import e from "./ap-grid-keeper.mjs";
|
|
3
|
-
import p from "./ap-
|
|
4
|
-
import o from "./ap-
|
|
5
|
-
import m from "./
|
|
6
|
-
import i from "./ap-
|
|
7
|
-
import t from "./
|
|
8
|
-
import a from "./
|
|
9
|
-
import f from "./edit-
|
|
3
|
+
import p from "./ap-list-keeper.mjs";
|
|
4
|
+
import o from "./ap-radio-group-keeper.mjs";
|
|
5
|
+
import m from "./ap-search-form-keeper.mjs";
|
|
6
|
+
import i from "./ap-table-keeper.mjs";
|
|
7
|
+
import t from "./ap-view-keeper.mjs";
|
|
8
|
+
import a from "./edit-grid-keeper.mjs";
|
|
9
|
+
import f from "./edit-table-keeper.mjs";
|
|
10
10
|
import d from "./step-keeper.mjs";
|
|
11
|
-
import K from "./
|
|
11
|
+
import K from "./tab-keeper.mjs";
|
|
12
12
|
const w = {
|
|
13
|
-
ApList:
|
|
13
|
+
ApList: p,
|
|
14
14
|
ApForm: r,
|
|
15
15
|
ApGrid: e,
|
|
16
|
-
ApTable:
|
|
17
|
-
ATabs:
|
|
18
|
-
ApFormSearchForm:
|
|
19
|
-
ApView:
|
|
20
|
-
EditableTable:
|
|
21
|
-
ApRadioGroup:
|
|
22
|
-
EditableGrid:
|
|
16
|
+
ApTable: i,
|
|
17
|
+
ATabs: K,
|
|
18
|
+
ApFormSearchForm: m,
|
|
19
|
+
ApView: t,
|
|
20
|
+
EditableTable: f,
|
|
21
|
+
ApRadioGroup: o,
|
|
22
|
+
EditableGrid: a,
|
|
23
23
|
ASteps: d
|
|
24
24
|
// AFormItem: formItemKeeper
|
|
25
25
|
};
|
|
@@ -128,8 +128,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
128
128
|
placement: TooltipPlacement;
|
|
129
129
|
show: boolean;
|
|
130
130
|
dot: boolean;
|
|
131
|
-
count: any;
|
|
132
131
|
iconType: "ellipsis" | "warning" | "success" | "question" | "line-warning" | undefined;
|
|
132
|
+
count: any;
|
|
133
133
|
showZero: boolean;
|
|
134
134
|
overflowCount: number;
|
|
135
135
|
numberStyle: CSSProperties;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as r, useSlots as m, computed as d, createVNode as e, mergeProps as p } from "vue";
|
|
2
2
|
import { Tooltip as f, Badge as A } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApAdLineAnnotation as y, IconApAdFillWarn as v, IconApAdLineWarn as b, IconApAdFillExecution as g, IconApAdFillSuccessful as T } from "@aplus-frontend/icon";
|
|
4
|
+
import { omit as I } from "lodash-unified";
|
|
4
5
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { ApLabelProps as
|
|
6
|
-
import { omit as L } from "lodash-unified";
|
|
6
|
+
import { ApLabelProps as L } from "./constans.mjs";
|
|
7
7
|
import S from "./style/index.mjs";
|
|
8
8
|
import { useNamespace as h } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
const W = /* @__PURE__ */ r({
|
|
10
10
|
name: "ApLabel",
|
|
11
|
-
props:
|
|
11
|
+
props: L(),
|
|
12
12
|
setup(l) {
|
|
13
13
|
const {
|
|
14
14
|
b: a,
|
|
@@ -39,7 +39,7 @@ const W = /* @__PURE__ */ r({
|
|
|
39
39
|
class: [a(), c.value]
|
|
40
40
|
}, [e("div", {
|
|
41
41
|
class: [i("content")]
|
|
42
|
-
}, [e(A, p(
|
|
42
|
+
}, [e(A, p(I(l, ["helpMessage", "placement", "iconColor"]), {
|
|
43
43
|
status: l.status ? l.status : "default"
|
|
44
44
|
}), null), o.default ? o.default() : s(l.helpMessage, l)]), o.custom ? e("div", {
|
|
45
45
|
class: [i("custom")]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
1
2
|
import { PropType, VNode, CSSProperties } from 'vue';
|
|
2
3
|
import { ApLabelGroupItemProps, ApLabelProps as ApLabelPropsInterface } from './interface';
|
|
3
|
-
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
export declare const ApLabelGroupProps: () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as m, createVNode as o, mergeProps as t, createTextVNode as s } from "vue";
|
|
2
|
+
import { omit as n } from "lodash-unified";
|
|
2
3
|
import "../../../config-provider/index.mjs";
|
|
4
|
+
import "../../ap-tag/index.mjs";
|
|
3
5
|
import i from "../ApLabel.mjs";
|
|
4
|
-
import { omit as n } from "lodash-unified";
|
|
5
6
|
import { ApLabelGroupProps as p } from "../constans.mjs";
|
|
6
|
-
import "../../ap-tag/index.mjs";
|
|
7
7
|
import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import f from "../../ap-tag/ap-tag.vue.mjs";
|
|
9
9
|
const _ = /* @__PURE__ */ m({
|
|
@@ -70,8 +70,8 @@ declare const ApLabel: {
|
|
|
70
70
|
placement: TooltipPlacement;
|
|
71
71
|
show: boolean;
|
|
72
72
|
dot: boolean;
|
|
73
|
-
count: any;
|
|
74
73
|
iconType: "ellipsis" | "warning" | "success" | "question" | "line-warning" | undefined;
|
|
74
|
+
count: any;
|
|
75
75
|
showZero: boolean;
|
|
76
76
|
overflowCount: number;
|
|
77
77
|
numberStyle: CSSProperties;
|
|
@@ -152,8 +152,8 @@ declare const ApLabel: {
|
|
|
152
152
|
placement: TooltipPlacement;
|
|
153
153
|
show: boolean;
|
|
154
154
|
dot: boolean;
|
|
155
|
-
count: any;
|
|
156
155
|
iconType: "ellipsis" | "warning" | "success" | "question" | "line-warning" | undefined;
|
|
156
|
+
count: any;
|
|
157
157
|
showZero: boolean;
|
|
158
158
|
overflowCount: number;
|
|
159
159
|
numberStyle: CSSProperties;
|
|
@@ -231,8 +231,8 @@ declare const ApLabel: {
|
|
|
231
231
|
placement: TooltipPlacement;
|
|
232
232
|
show: boolean;
|
|
233
233
|
dot: boolean;
|
|
234
|
-
count: any;
|
|
235
234
|
iconType: "ellipsis" | "warning" | "success" | "question" | "line-warning" | undefined;
|
|
235
|
+
count: any;
|
|
236
236
|
showZero: boolean;
|
|
237
237
|
overflowCount: number;
|
|
238
238
|
numberStyle: CSSProperties;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BadgeProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
3
|
-
import { ApTagProps } from '../ap-tag';
|
|
4
3
|
import { VNode, VNodeChild } from 'vue';
|
|
4
|
+
import { ApTagProps } from '../ap-tag';
|
|
5
5
|
type Recordable = Record<string, any>;
|
|
6
6
|
export type ApLabelProps = BadgeProps & Partial<{
|
|
7
7
|
helpMessage: VNode | string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, createVNode as e, Fragment as t } from "vue";
|
|
2
|
-
import { convertValue as n, renderValue as p, isVNodeOrFunction as d } from "../utils.mjs";
|
|
3
2
|
import "../../../config-provider/index.mjs";
|
|
3
|
+
import { convertValue as n, renderValue as p, isVNodeOrFunction as d } from "../utils.mjs";
|
|
4
4
|
import { useNamespace as v } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
const f = /* @__PURE__ */ c({
|
|
6
6
|
name: "ApLadderValues",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConvertValueOptions } from './interface';
|
|
2
1
|
import { VNode, RendererNode, RendererElement } from 'vue';
|
|
2
|
+
import { ConvertValueOptions } from './interface';
|
|
3
3
|
export declare const isNull: (value: any) => boolean;
|
|
4
4
|
export declare const createMemoizeKey: (value: any, options?: any) => string;
|
|
5
5
|
export declare const convertValue: (value: string | number | (() => VNode) | VNode | null | undefined, options?: ConvertValueOptions) => string | number | VNode< RendererNode, RendererElement, {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { defineComponent as f, h as t, createVNode as e, createTextVNode as v } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Space as y, Tooltip as h } from "@aplus-frontend/antdv";
|
|
3
|
+
import { IconApAdFillWarn as g } from "@aplus-frontend/icon";
|
|
3
4
|
import "../../config-provider/index.mjs";
|
|
4
|
-
import { ApImage as h } from "../ap-image/index.mjs";
|
|
5
5
|
import { ApCopy as s } from "../ap-copy/index.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { ApImage as m } from "../ap-image/index.mjs";
|
|
7
|
+
import { ApProductInfoProps as k } from "./constans.mjs";
|
|
8
8
|
import b from "./style/index.mjs";
|
|
9
9
|
import { useNamespace as A } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
const T = /* @__PURE__ */ f({
|
|
11
11
|
name: "ApProductInfo",
|
|
12
|
-
props:
|
|
12
|
+
props: k(),
|
|
13
13
|
setup(r) {
|
|
14
14
|
const {
|
|
15
15
|
b: i,
|
|
16
16
|
e: o,
|
|
17
17
|
m: a
|
|
18
|
-
} = A("ap-product-info"), c = b("ap-product-info"), p = (l) => typeof l.value == "function" ? l.value() : l.helpMessage ? t(
|
|
18
|
+
} = A("ap-product-info"), c = b("ap-product-info"), p = (l) => typeof l.value == "function" ? l.value() : l.helpMessage ? t(y.Compact, {}, [t(s, {
|
|
19
19
|
text: l.value,
|
|
20
20
|
link: l.link,
|
|
21
21
|
textStyle: l.link ? "link" : "minor"
|
|
22
|
-
}), t(
|
|
22
|
+
}), t(h, {
|
|
23
23
|
placement: "top",
|
|
24
24
|
color: l.toolTipBgColor,
|
|
25
25
|
title: typeof l.helpMessage == "string" ? l.helpMessage : t(l.helpMessage)
|
|
26
|
-
}, () => t(
|
|
26
|
+
}, () => t(g, {
|
|
27
27
|
color: "#FFA940",
|
|
28
28
|
style: {
|
|
29
29
|
cursor: "pointer"
|
|
@@ -38,7 +38,7 @@ const T = /* @__PURE__ */ f({
|
|
|
38
38
|
class: [i(), c.value]
|
|
39
39
|
}, [e("div", {
|
|
40
40
|
class: o("img")
|
|
41
|
-
}, [e(
|
|
41
|
+
}, [e(m, {
|
|
42
42
|
src: r.imgSrc,
|
|
43
43
|
width: 44,
|
|
44
44
|
height: 44,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as D, ref as r, computed as M, onMounted as O, createElementBlock as p, openBlock as f, normalizeClass as o, unref as e, createVNode as u, createElementVNode as a, Transition as W, withCtx as c, withDirectives as V, toDisplayString as g, createTextVNode as A, Fragment as z, renderList as R, renderSlot as E, vShow as $, createCommentVNode as j } from "vue";
|
|
2
|
+
import { Tooltip as x, TypographyText as G } from "@aplus-frontend/antdv";
|
|
3
|
+
import { IconApLeftarrow as H, IconApMenu as J } from "@aplus-frontend/icon";
|
|
2
4
|
import "../../ap-field/index.mjs";
|
|
3
|
-
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
5
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { Tooltip as x, TypographyText as J } from "@aplus-frontend/antdv";
|
|
6
6
|
import K from "./style/index.mjs";
|
|
7
7
|
import { useNamespace as P } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import { ApFieldText as Q } from "../../ap-field/text/index.mjs";
|
|
@@ -61,7 +61,7 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
61
61
|
A("收起", -1)
|
|
62
62
|
])]),
|
|
63
63
|
default: c(() => [
|
|
64
|
-
u(e(
|
|
64
|
+
u(e(H), { onClick: F })
|
|
65
65
|
]),
|
|
66
66
|
_: 1
|
|
67
67
|
}, 8, ["open"])
|
|
@@ -88,7 +88,7 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
88
88
|
onClick: (Y) => L(l)
|
|
89
89
|
}, [
|
|
90
90
|
E(t.$slots, "itemRender", { item: l }, () => [
|
|
91
|
-
u(e(
|
|
91
|
+
u(e(G), {
|
|
92
92
|
ellipsis: { tooltip: l.name },
|
|
93
93
|
content: `${l.name}`
|
|
94
94
|
}, null, 8, ["ellipsis", "content"])
|
|
@@ -122,7 +122,7 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
122
122
|
A("展开", -1)
|
|
123
123
|
])]),
|
|
124
124
|
default: c(() => [
|
|
125
|
-
u(e(
|
|
125
|
+
u(e(J), { onClick: F })
|
|
126
126
|
]),
|
|
127
127
|
_: 1
|
|
128
128
|
}, 8, ["open"])
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as p, toRaw as f, createVNode as a, mergeProps as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Form as s } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-field/number/index.vue2.mjs";
|
|
4
|
-
import { Form as g } from "@aplus-frontend/antdv";
|
|
5
4
|
import "../../config-provider/index.mjs";
|
|
5
|
+
import { ApSizeInputProps as g } from "./constans.mjs";
|
|
6
6
|
import I from "./style/index.mjs";
|
|
7
7
|
import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import { useLocale as z } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
9
|
import u from "../../ap-field/number/index.vue.mjs";
|
|
10
10
|
const _ = /* @__PURE__ */ p({
|
|
11
11
|
name: "ApSizeInput",
|
|
12
|
-
props:
|
|
12
|
+
props: g(),
|
|
13
13
|
setup(e, {
|
|
14
14
|
emit: c
|
|
15
15
|
}) {
|
|
@@ -17,7 +17,7 @@ const _ = /* @__PURE__ */ p({
|
|
|
17
17
|
b: d
|
|
18
18
|
} = v("ap-size-input"), h = I("ap-size-input"), {
|
|
19
19
|
t: n
|
|
20
|
-
} = z(), r =
|
|
20
|
+
} = z(), r = s.useInjectFormItemContext(), o = (t, l) => {
|
|
21
21
|
const i = e.value || [];
|
|
22
22
|
i[t] = l, c("update:value", i), c("SizeInputChange", f(i)), r.onFieldChange();
|
|
23
23
|
};
|
|
@@ -2,12 +2,12 @@ import { ApFormItemSizeInputProps } from './interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<ApFormItemSizeInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemSizeInputProps> & Readonly<{}>, {
|
|
4
4
|
hidden: boolean;
|
|
5
|
-
|
|
5
|
+
bordered: boolean;
|
|
6
6
|
required: boolean;
|
|
7
|
+
colon: boolean;
|
|
7
8
|
hasFeedback: boolean;
|
|
8
9
|
autoLink: boolean;
|
|
9
10
|
validateFirst: boolean;
|
|
10
11
|
noStyle: boolean;
|
|
11
|
-
bordered: boolean;
|
|
12
12
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, createBlock as i, openBlock as p, unref as e, normalizeProps as l, guardReactiveProps as t, withCtx as d, createVNode as n } from "vue";
|
|
2
|
-
import m from "
|
|
2
|
+
import { omit as m } from "lodash-unified";
|
|
3
3
|
import { ApForm as s } from "../../ap-form/index.mjs";
|
|
4
|
-
import
|
|
4
|
+
import u from "./ApSizeInput.mjs";
|
|
5
5
|
const _ = /* @__PURE__ */ r({
|
|
6
6
|
name: "ApFormItemSizeInput",
|
|
7
7
|
__name: "form-item",
|
|
@@ -52,9 +52,9 @@ const _ = /* @__PURE__ */ r({
|
|
|
52
52
|
},
|
|
53
53
|
setup(a) {
|
|
54
54
|
const o = a;
|
|
55
|
-
return (f, c) => (p(), i(e(s).FormItem, l(t(e(
|
|
55
|
+
return (f, c) => (p(), i(e(s).FormItem, l(t(e(m)(o, ["field"]))), {
|
|
56
56
|
default: d(() => [
|
|
57
|
-
n(e(
|
|
57
|
+
n(e(u), l(t(o.field || {})), null, 16)
|
|
58
58
|
]),
|
|
59
59
|
_: 1
|
|
60
60
|
}, 16));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import t from "
|
|
2
|
-
import
|
|
1
|
+
import { withInstall as t } from "@aplus-frontend/utils";
|
|
2
|
+
import p from "./ApSizeInput.mjs";
|
|
3
3
|
import "./form-item.vue2.mjs";
|
|
4
4
|
import "./interface.mjs";
|
|
5
|
-
const n = p
|
|
5
|
+
const n = t(p);
|
|
6
6
|
export {
|
|
7
7
|
n as ApSizeInput
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as N, computed as d, createVNode as w, Fragment as p, createBlock as l, openBlock as m, unref as n, normalizeClass as f, withCtx as y, createElementBlock as z, renderList as B, normalizeStyle as R, resolveDynamicComponent as A } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { TableSummaryRow as D, TableSummaryCell as F } from "@aplus-frontend/antdv";
|
|
3
|
+
import { isNumeric as V, toThousand as E, toFixed as P } from "@aplus-frontend/utils";
|
|
4
|
+
import { isNil as $, get as u } from "lodash-unified";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import
|
|
7
|
-
import q from "./
|
|
6
|
+
import j from "./style/index.mjs";
|
|
7
|
+
import { flattenColumns as q, formatDataIndex as i } from "./utils.mjs";
|
|
8
8
|
import { useLocale as G } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
9
|
import { useNamespace as H } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
const tt = /* @__PURE__ */ N({
|
|
@@ -26,10 +26,10 @@ const tt = /* @__PURE__ */ N({
|
|
|
26
26
|
const s = x, {
|
|
27
27
|
t: h
|
|
28
28
|
} = G(), k = d(() => s.summaryTitle ?? h("ap.apSummary.total")), S = (e) => e === 0, T = (e, r) => {
|
|
29
|
-
if (!
|
|
29
|
+
if (!V(e) || r.valueType !== "number")
|
|
30
30
|
return e;
|
|
31
31
|
const a = r.fieldProps?.field, t = a?.precision || 0;
|
|
32
|
-
return (
|
|
32
|
+
return ($(a?.thousands) ? !0 : a?.thousands) ? E(e, t) : P(e, t);
|
|
33
33
|
}, C = d(() => {
|
|
34
34
|
let e = [];
|
|
35
35
|
s.hasSelect && e.push({
|
|
@@ -38,7 +38,7 @@ const tt = /* @__PURE__ */ N({
|
|
|
38
38
|
align: "left",
|
|
39
39
|
value: ""
|
|
40
40
|
});
|
|
41
|
-
const a =
|
|
41
|
+
const a = q(s.columns).map((t, c) => {
|
|
42
42
|
let o;
|
|
43
43
|
const I = u(s.data, i(t.dataIndex || t.key));
|
|
44
44
|
if (S(c))
|
|
@@ -67,11 +67,11 @@ const tt = /* @__PURE__ */ N({
|
|
|
67
67
|
b: _,
|
|
68
68
|
e: g,
|
|
69
69
|
em: v
|
|
70
|
-
} = H("ap-summary"), b =
|
|
71
|
-
return (e, r) => (m(), l(n(
|
|
70
|
+
} = H("ap-summary"), b = j("ap-summary");
|
|
71
|
+
return (e, r) => (m(), l(n(D), {
|
|
72
72
|
class: f([n(_)(), n(b)])
|
|
73
73
|
}, {
|
|
74
|
-
default: y(() => [(m(!0), z(p, null, B(C.value, (a, t) => (m(), l(n(
|
|
74
|
+
default: y(() => [(m(!0), z(p, null, B(C.value, (a, t) => (m(), l(n(F), {
|
|
75
75
|
key: a.key,
|
|
76
76
|
class: f(`${s.size === "small" ? n(v)("item", "small") : n(g)("item")}`),
|
|
77
77
|
index: t,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ColumnsType } from '@aplus-frontend/antdv/es/table';
|
|
2
2
|
import { AlignType, DataIndex, Key } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
3
|
-
import { ApColumnType } from '../../ap-table';
|
|
4
|
-
import { ApGridColumnType } from '../../ap-grid';
|
|
5
3
|
import { AgGridColumnType } from '../../ag-grid';
|
|
4
|
+
import { ApGridColumnType } from '../../ap-grid';
|
|
5
|
+
import { ApColumnType } from '../../ap-table';
|
|
6
6
|
export type SummaryColumnType = ApColumnType[] | ApGridColumnType[] | AgGridColumnType[] | ColumnsType | any[];
|
|
7
7
|
export type ValueType = {
|
|
8
8
|
[key in string]: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComputedRecordParams, SummaryColumnType, ValueType } from './interface';
|
|
2
1
|
import { DataIndex, Key } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
3
2
|
import { ApColumnType } from '../../ap-table/interface';
|
|
3
|
+
import { ComputedRecordParams, SummaryColumnType, ValueType } from './interface';
|
|
4
4
|
export declare const flattenColumns: (columns?: SummaryColumnType) => ApColumnType[];
|
|
5
5
|
export declare const formatDataIndex: (dataIndex?: DataIndex | Key) => string | number | readonly (string | number)[];
|
|
6
6
|
export declare const formatNumber: (value: any, precision: number, thousands: boolean) => string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { toThousand as x, toFixed as b, addNumber as C } from "@aplus-frontend/utils";
|
|
2
|
+
import { flatten as f, uniqBy as L, isNil as N, get as s, set as T } from "lodash-unified";
|
|
3
3
|
const m = (t) => t?.children && t?.children?.length > 0 ? f(t.children?.map((e) => m(e))) : [t], j = (t) => f(
|
|
4
4
|
t?.map((e) => m(e))
|
|
5
|
-
), l = (t) => Object.prototype.toString.call(t) === "[object Array]" ? t.map((e) => String(e)).join(".") : t ?? "", S = (t, e, u) => u ?
|
|
5
|
+
), l = (t) => Object.prototype.toString.call(t) === "[object Array]" ? t.map((e) => String(e)).join(".") : t ?? "", S = (t, e, u) => u ? x(t, e) : b(t, e);
|
|
6
6
|
function q(t) {
|
|
7
7
|
const { records: e, columns: u, configList: c, exclude: a, valueTypeExtension: y } = t;
|
|
8
8
|
if (!e || e?.length === 0)
|
|
@@ -14,14 +14,14 @@ function q(t) {
|
|
|
14
14
|
key: n.key || "",
|
|
15
15
|
dataIndex: n.dataIndex
|
|
16
16
|
}));
|
|
17
|
-
c && c?.length > 0 && (r =
|
|
17
|
+
c && c?.length > 0 && (r = L(r?.concat(c), "key")), a && a.length > 0 && (r = r.filter(
|
|
18
18
|
(n) => !a.includes(n.key)
|
|
19
19
|
));
|
|
20
20
|
const p = {};
|
|
21
21
|
return e?.reduce((n, d) => (r.forEach((o) => {
|
|
22
|
-
if (!
|
|
23
|
-
const i = o.dataIndex || o.key, g = s(n, l(i)) || 0, h = s(d, l(i)) || 0, k =
|
|
24
|
-
|
|
22
|
+
if (!N(s(d, l(o.dataIndex || o.key)))) {
|
|
23
|
+
const i = o.dataIndex || o.key, g = s(n, l(i)) || 0, h = s(d, l(i)) || 0, k = C(g, h)?.toNumber();
|
|
24
|
+
T(n, i, +k);
|
|
25
25
|
}
|
|
26
26
|
}), n), p);
|
|
27
27
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
1
|
+
import { omit as b } from "lodash-unified";
|
|
2
|
+
import { ref as T, defineComponent as g, h as a, render as s, onUnmounted as C } from "vue";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
|
-
import
|
|
4
|
+
import "../table-modal.vue.mjs";
|
|
5
5
|
import { ConfigProvider as y, globalConfigCached as A } from "../../../config-provider/config-provider.mjs";
|
|
6
6
|
import h from "../table-modal.vue2.mjs";
|
|
7
7
|
function _(r) {
|
|
8
8
|
let t = !0;
|
|
9
|
-
const c = document.body, e =
|
|
10
|
-
const n =
|
|
9
|
+
const c = document.body, e = T(), { destroyOnUnmounted: d = !0 } = r, o = document.createElement("div"), u = () => {
|
|
10
|
+
const n = g({
|
|
11
11
|
setup() {
|
|
12
12
|
return () => a(
|
|
13
13
|
y,
|
|
14
14
|
{ ...A.value },
|
|
15
15
|
a(h, {
|
|
16
|
-
...
|
|
16
|
+
...b(r, "destroyOnUnmounted"),
|
|
17
17
|
ref: e
|
|
18
18
|
})
|
|
19
19
|
);
|
|
@@ -31,7 +31,7 @@ function _(r) {
|
|
|
31
31
|
}, f = () => {
|
|
32
32
|
e.value?.getApTableInstance()?.reset();
|
|
33
33
|
};
|
|
34
|
-
return
|
|
34
|
+
return C(() => {
|
|
35
35
|
d && l();
|
|
36
36
|
}), {
|
|
37
37
|
openModal: i,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { merge as f } from "lodash-unified";
|
|
2
|
+
import { onUnmounted as c } from "vue";
|
|
3
3
|
import { useCreateTableModal as i } from "./use-create-table-modal.mjs";
|
|
4
4
|
function b(r) {
|
|
5
|
-
const a =
|
|
5
|
+
const a = f(r, {
|
|
6
6
|
...{
|
|
7
7
|
footer: null
|
|
8
8
|
},
|
|
@@ -21,7 +21,7 @@ function b(r) {
|
|
|
21
21
|
}, t = () => {
|
|
22
22
|
l();
|
|
23
23
|
};
|
|
24
|
-
return
|
|
24
|
+
return c(() => {
|
|
25
25
|
t(), e();
|
|
26
26
|
}), {
|
|
27
27
|
open: d,
|