@aplus-frontend/ui 7.10.0 → 7.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +3 -3
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +14 -14
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +2 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.mjs +12 -12
- package/es/src/ap-list/interface.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +1 -1
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +8 -8
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +3 -3
- package/es/src/config-provider/config-provider.d.ts +3 -3
- package/es/src/config-provider/config-provider.mjs +9 -9
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +9 -9
- package/es/src/design-token/interface.d.ts +20 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +23 -23
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +2 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +3 -3
- package/lib/src/config-provider/config-provider.d.ts +3 -3
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +9 -9
- package/lib/src/design-token/interface.d.ts +20 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +4 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
1
|
+
import { isVNode as b, createVNode as o, mergeProps as C, createTextVNode as R, Fragment as I } from "vue";
|
|
2
|
+
import { QuestionCircleOutlined as h } from "@ant-design/icons-vue";
|
|
3
|
+
import { Typography as S, Tooltip as F } from "@aplus-frontend/antdv";
|
|
4
|
+
import { isFunction as c, isArray as N, isBoolean as x, omit as q, isString as w } from "lodash-unified";
|
|
5
|
+
import P from "scroll-into-view-if-needed";
|
|
5
6
|
import { getValueStr as V } from "../ap-field/number/helper.mjs";
|
|
6
|
-
import N from "scroll-into-view-if-needed";
|
|
7
|
-
import { Typography as j, Tooltip as v } from "@aplus-frontend/antdv";
|
|
8
7
|
import "../ap-form/index.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { apTableFormItemMap as v, noRenderAsFormItemValueList as A, apTableRenderItemMap as j } from "../ap-table/constants.mjs";
|
|
9
|
+
import { objectToString as M, getTableRenderType as O } from "../ap-table/utils.mjs";
|
|
10
|
+
import "../utils/index.mjs";
|
|
11
11
|
import { isDef as W } from "../utils/is.mjs";
|
|
12
|
-
import
|
|
12
|
+
import g from "../ap-form/item/index.vue.mjs";
|
|
13
13
|
function y(e) {
|
|
14
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
14
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !b(e);
|
|
15
15
|
}
|
|
16
16
|
function _(e) {
|
|
17
|
-
return
|
|
17
|
+
return v[e];
|
|
18
18
|
}
|
|
19
19
|
function k(e) {
|
|
20
20
|
if (e.markRequired)
|
|
@@ -22,7 +22,7 @@ function k(e) {
|
|
|
22
22
|
if (!e.fieldProps)
|
|
23
23
|
return !1;
|
|
24
24
|
const t = c(e.fieldProps) ? e.fieldProps({}) : e.fieldProps;
|
|
25
|
-
return W(t.required) ? t.required : (
|
|
25
|
+
return W(t.required) ? t.required : (N(t.rules) ? t.rules : t.rules ? [t.rules] : []).some((i) => i.required);
|
|
26
26
|
}
|
|
27
27
|
function D(e, t) {
|
|
28
28
|
if (e.valueType === "text" || e.valueType === "textArea")
|
|
@@ -31,19 +31,11 @@ function D(e, t) {
|
|
|
31
31
|
const r = e.fieldProps ? c(e.fieldProps) ? e.fieldProps({}) : e.fieldProps : {};
|
|
32
32
|
return V(t, r) || "--";
|
|
33
33
|
}
|
|
34
|
-
return
|
|
35
|
-
}
|
|
36
|
-
function ee(e, t) {
|
|
37
|
-
const r = [e];
|
|
38
|
-
if (t) {
|
|
39
|
-
const o = T(t) ? t : [t];
|
|
40
|
-
r.unshift(...o);
|
|
41
|
-
}
|
|
42
|
-
return r.join(" ");
|
|
34
|
+
return M(t);
|
|
43
35
|
}
|
|
44
|
-
function
|
|
45
|
-
const
|
|
46
|
-
|
|
36
|
+
function ee(e, t = document.body, r = {}) {
|
|
37
|
+
const i = t.querySelectorAll("tr.ant-table-row")[e];
|
|
38
|
+
i && P(i, {
|
|
47
39
|
scrollMode: "if-needed",
|
|
48
40
|
block: "nearest",
|
|
49
41
|
behavior: "smooth",
|
|
@@ -51,12 +43,12 @@ function te(e, t = document.body, r = {}) {
|
|
|
51
43
|
});
|
|
52
44
|
}
|
|
53
45
|
function E(e, t, r) {
|
|
54
|
-
return
|
|
46
|
+
return A.includes(e.valueType) ? r : e.copyable || e.ellipsis ? o(S.Paragraph, {
|
|
55
47
|
copyable: e.copyable ? {
|
|
56
48
|
text: t,
|
|
57
49
|
tooltip: !1
|
|
58
50
|
} : !1,
|
|
59
|
-
ellipsis: e.ellipsis ?
|
|
51
|
+
ellipsis: e.ellipsis ? x(e.ellipsis) ? {
|
|
60
52
|
tooltip: t
|
|
61
53
|
} : {
|
|
62
54
|
...e.ellipsis,
|
|
@@ -65,55 +57,55 @@ function E(e, t, r) {
|
|
|
65
57
|
content: e.ellipsis ? D(e, t) : r
|
|
66
58
|
}, null) : r;
|
|
67
59
|
}
|
|
68
|
-
function
|
|
60
|
+
function te(e, t, r, i, f, n) {
|
|
69
61
|
if (t) {
|
|
70
62
|
if (e.customRenderFormItem) {
|
|
71
|
-
const
|
|
72
|
-
return
|
|
73
|
-
default: () => [
|
|
63
|
+
const p = e.customRenderFormItem(e, r.field, t, f);
|
|
64
|
+
return o(g, q(r, ["field"]), y(p) ? p : {
|
|
65
|
+
default: () => [p]
|
|
74
66
|
});
|
|
75
67
|
}
|
|
76
68
|
const a = _(e.valueType);
|
|
77
69
|
if (a)
|
|
78
|
-
return
|
|
70
|
+
return o(a, r, null);
|
|
79
71
|
const l = n?.[e.valueType]?.renderFormItem?.(r.field);
|
|
80
|
-
return l ?
|
|
72
|
+
return l ? o(g, r, y(l) ? l : {
|
|
81
73
|
default: () => [l]
|
|
82
74
|
}) : null;
|
|
83
75
|
}
|
|
84
76
|
let s;
|
|
85
|
-
const u =
|
|
86
|
-
return d ? s =
|
|
77
|
+
const u = O(e), d = j[u];
|
|
78
|
+
return d ? s = o(d, C(r.field, {
|
|
87
79
|
mode: "read"
|
|
88
|
-
}), null) : s = n?.[u]?.render?.(
|
|
80
|
+
}), null) : s = n?.[u]?.render?.(i, f, r.field), s ? E(e, i, s) : null;
|
|
89
81
|
}
|
|
90
|
-
function
|
|
91
|
-
const n =
|
|
82
|
+
function re(e, t, r, i, f) {
|
|
83
|
+
const n = i?.({
|
|
92
84
|
title: e.title,
|
|
93
85
|
column: e
|
|
94
|
-
}), s = n?.filter((
|
|
86
|
+
}), s = n?.filter((T) => T.type !== Symbol.for("v-cmt")) || [];
|
|
95
87
|
if (n && s.length > 0)
|
|
96
88
|
return n;
|
|
97
|
-
const d = k(e),
|
|
89
|
+
const d = k(e), m = w(e.title) ? {
|
|
98
90
|
class: t,
|
|
99
91
|
title: e.title
|
|
100
|
-
} : {}, l =
|
|
92
|
+
} : {}, l = o("div", m, [d ? o("span", {
|
|
101
93
|
class: r
|
|
102
|
-
}, [
|
|
103
|
-
return
|
|
94
|
+
}, [R("*")]) : null, e.title]), p = e.tooltip ? c(e.tooltip) ? e.tooltip(e) : o(I, null, [e.tooltip]) : null;
|
|
95
|
+
return p ? o("span", {
|
|
104
96
|
style: {
|
|
105
97
|
display: "inline-flex",
|
|
106
98
|
alignItems: "center",
|
|
107
99
|
maxWidth: "100%"
|
|
108
100
|
}
|
|
109
|
-
}, [l,
|
|
110
|
-
title:
|
|
101
|
+
}, [l, o(F, {
|
|
102
|
+
title: p,
|
|
111
103
|
placement: "bottom"
|
|
112
104
|
}, {
|
|
113
|
-
default: () => [
|
|
105
|
+
default: () => [o(h, {
|
|
114
106
|
style: {
|
|
115
107
|
padding: "4px",
|
|
116
|
-
color:
|
|
108
|
+
color: f,
|
|
117
109
|
verticalAlign: "middle"
|
|
118
110
|
}
|
|
119
111
|
}, null)]
|
|
@@ -122,9 +114,8 @@ function oe(e, t, r, o, p) {
|
|
|
122
114
|
export {
|
|
123
115
|
k as getColumnIsRequired,
|
|
124
116
|
_ as getEditableComponent,
|
|
125
|
-
|
|
126
|
-
|
|
117
|
+
re as getEditableTableTitle,
|
|
118
|
+
te as getFinalNode,
|
|
127
119
|
D as getRawDisplayValue,
|
|
128
|
-
ee as
|
|
129
|
-
te as scrollToRowIndex
|
|
120
|
+
ee as scrollToRowIndex
|
|
130
121
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as h, ref as f, watch as E, unref as l, computed as n, createBlock as d, openBlock as v, withCtx as w, resolveDynamicComponent as S, mergeProps as z, renderSlot as C, createElementVNode as F, normalizeClass as I } from "vue";
|
|
2
|
+
import { useScrollLock as N } from "@vueuse/core";
|
|
3
|
+
import "../config-provider/index.mjs";
|
|
2
4
|
import "../hooks/index.mjs";
|
|
3
5
|
import "../portal/index.mjs";
|
|
4
|
-
import "../config-provider/index.mjs";
|
|
5
|
-
import { useScrollLock as N } from "@vueuse/core";
|
|
6
6
|
import $ from "./style/index.mjs";
|
|
7
7
|
import { useFullScreen as B } from "../hooks/useFullScreen.mjs";
|
|
8
8
|
import { useNamespace as L } from "../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as v, nextTick as c, watch as m } from "vue";
|
|
2
1
|
import { isUndefined as n } from "lodash-unified";
|
|
2
|
+
import { ref as v, nextTick as c, watch as m } from "vue";
|
|
3
3
|
function P(e, f, u) {
|
|
4
4
|
const r = u?.defaultValuePropName || "defaultValue", t = u?.valuePropName || "value", a = v(o());
|
|
5
5
|
async function i(l) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { createVNode as o } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "../config-provider/index.mjs";
|
|
2
|
+
import { InfoCircleFilled as c, CheckCircleFilled as s, CloseCircleFilled as f } from "@ant-design/icons-vue";
|
|
3
|
+
import { Modal as r, notification as i, message as d } from "@aplus-frontend/antdv";
|
|
5
4
|
import { isString as m } from "lodash-unified";
|
|
5
|
+
import "../config-provider/index.mjs";
|
|
6
6
|
import { useLocale as g } from "../config-provider/hooks/use-locale.mjs";
|
|
7
7
|
function l(e) {
|
|
8
8
|
return e === "warning" ? o(c, {
|
|
9
9
|
class: "modal-icon-warning"
|
|
10
|
-
}, null) : e === "success" ? o(
|
|
10
|
+
}, null) : e === "success" ? o(s, {
|
|
11
11
|
class: "modal-icon-success"
|
|
12
12
|
}, null) : e === "info" ? o(c, {
|
|
13
13
|
class: "modal-icon-info"
|
|
14
|
-
}, null) : o(
|
|
14
|
+
}, null) : o(f, {
|
|
15
15
|
class: "modal-icon-error"
|
|
16
16
|
}, null);
|
|
17
17
|
}
|
|
@@ -71,7 +71,7 @@ i.config({
|
|
|
71
71
|
});
|
|
72
72
|
function R() {
|
|
73
73
|
return {
|
|
74
|
-
createMessage:
|
|
74
|
+
createMessage: d,
|
|
75
75
|
notification: i,
|
|
76
76
|
createConfirm: p,
|
|
77
77
|
createSuccessModal: C,
|
package/es/src/index.mjs
CHANGED
|
@@ -92,7 +92,7 @@ import { ApBatchAction as Sr } from "./business/ap-batch-action/index.mjs";
|
|
|
92
92
|
import { ApBatchActionGroup as br } from "./business/ap-batch-action-group/index.mjs";
|
|
93
93
|
import { ApButtonGroup as Gr } from "./business/ap-button-group/index.mjs";
|
|
94
94
|
import { ApCard as hr } from "./business/ap-card/index.mjs";
|
|
95
|
-
import {
|
|
95
|
+
import { default as Pr } from "./business/ap-expand-alert/ApExpandAlert.vue.mjs";
|
|
96
96
|
import { ApExportGroupActionType as Nr } from "./business/ap-export-group/interface.mjs";
|
|
97
97
|
import { ApExportGroup as yr } from "./business/ap-export-group/index.mjs";
|
|
98
98
|
import { handleExportDownload as wr } from "./business/ap-export-group/handleExportDownload.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as LoadingBarComp } from './index.vue';
|
|
2
1
|
import { LoadingBar as LoadingBarGlobal } from './global';
|
|
2
|
+
import { default as LoadingBarComp } from './index.vue';
|
|
3
3
|
declare const globalIns: LoadingBarGlobal;
|
|
4
4
|
type LoadingBarMix = typeof LoadingBarComp & {
|
|
5
5
|
open: typeof globalIns.open;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as $, computed as u, ref as o, watch as n, onMounted as L, onBeforeUnmount as M, createBlock as N, openBlock as X, Transition as E, unref as h, withCtx as G, withDirectives as U, createElementVNode as _, normalizeStyle as z, normalizeClass as P, vShow as V } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
|
-
import j from "
|
|
3
|
+
import { useToken as j } from "../config-provider/hooks/use-token.mjs";
|
|
4
4
|
import "../utils/index.mjs";
|
|
5
|
-
import
|
|
5
|
+
import H from "./style/index.mjs";
|
|
6
6
|
import { useNamespace as J } from "../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
import { isDef as k } from "../utils/is.mjs";
|
|
8
8
|
const K = ["aria-valuenow"], O = 0.05, te = /* @__PURE__ */ $({
|
|
@@ -33,11 +33,11 @@ const K = ["aria-valuenow"], O = 0.05, te = /* @__PURE__ */ $({
|
|
|
33
33
|
}) {
|
|
34
34
|
const a = y, {
|
|
35
35
|
token: F
|
|
36
|
-
} =
|
|
36
|
+
} = j(), i = u(() => F.value?.components?.LoadingBar?.loadingBarAnimateDuration ?? 250), r = o(!1), {
|
|
37
37
|
b: d,
|
|
38
38
|
m: T,
|
|
39
39
|
e: w
|
|
40
|
-
} = J("loading-bar"), B =
|
|
40
|
+
} = J("loading-bar"), B = H("loading-bar"), m = o(a.position), t = o(a.defaultProgress), l = o(a.status), c = o(a.stopProgress), v = o(a.barSize), g = o(!1);
|
|
41
41
|
n(() => a.status, (e) => {
|
|
42
42
|
l.value = e;
|
|
43
43
|
}), n(() => a.stopProgress, (e) => {
|
package/es/src/locale/index.d.ts
CHANGED
package/es/src/locale/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as t } from "./lang/
|
|
2
|
-
import { default as f } from "./lang/
|
|
1
|
+
import { default as t } from "./lang/en.mjs";
|
|
2
|
+
import { default as f } from "./lang/zh-cn.mjs";
|
|
3
3
|
import "./interface.mjs";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
t as en,
|
|
6
|
+
f as zhCn
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as f, watch as v, watchEffect as V, onMounted as _, onUnmounted as g, createBlock as O, createCommentVNode as d, openBlock as y, Teleport as x, createElementVNode as i, normalizeStyle as k, unref as o, normalizeClass as u, createVNode as C, Transition as b, withCtx as h, createElementBlock as P, renderSlot as B } from "vue";
|
|
2
|
-
import "../hooks/index.mjs";
|
|
3
2
|
import "../config-provider/index.mjs";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import "../hooks/index.mjs";
|
|
4
|
+
import T from "./style/index.mjs";
|
|
5
|
+
import { getMaskZIndex as U, lockScrollable as $ } from "./utils.mjs";
|
|
6
6
|
import { useNamespace as j } from "../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
import { useControllableValue as D } from "../hooks/useControllableValue.mjs";
|
|
8
8
|
const Q = /* @__PURE__ */ M({
|
|
@@ -21,7 +21,7 @@ const Q = /* @__PURE__ */ M({
|
|
|
21
21
|
},
|
|
22
22
|
emits: ["update:open"],
|
|
23
23
|
setup(w, { emit: E }) {
|
|
24
|
-
const t = w, { b: s, e: c, em: S } = j("mask"), z =
|
|
24
|
+
const t = w, { b: s, e: c, em: S } = j("mask"), z = T("mask"), I = E, L = t.zIndex || U(), { value: a, updateValue: r } = D(
|
|
25
25
|
t,
|
|
26
26
|
I,
|
|
27
27
|
{
|
|
@@ -42,7 +42,7 @@ const Q = /* @__PURE__ */ M({
|
|
|
42
42
|
}), V((e) => {
|
|
43
43
|
if (!a.value)
|
|
44
44
|
return;
|
|
45
|
-
const n =
|
|
45
|
+
const n = $();
|
|
46
46
|
e(() => {
|
|
47
47
|
n?.();
|
|
48
48
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as b, toRef as z, shallowRef as g, ref as x, watchEffect as _, unref as a, watch as k, computed as s, createBlock as C, createCommentVNode as R, openBlock as B, mergeProps as L } from "vue";
|
|
2
|
+
import { useResizeObserver as w } from "@vueuse/core";
|
|
3
|
+
import { omit as y } from "lodash-unified";
|
|
2
4
|
import "./internal.vue2.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { getScrollable as u, ensureRangeValue as y } from "./utils/index.mjs";
|
|
5
|
-
import { useResizeObserver as E } from "@vueuse/core";
|
|
5
|
+
import { getScrollable as u, ensureRangeValue as E } from "./utils/index.mjs";
|
|
6
6
|
import N from "./internal.vue.mjs";
|
|
7
7
|
const j = /* @__PURE__ */ b({
|
|
8
8
|
name: "ScrollBar",
|
|
@@ -39,11 +39,11 @@ const j = /* @__PURE__ */ b({
|
|
|
39
39
|
o.value,
|
|
40
40
|
r.direction
|
|
41
41
|
);
|
|
42
|
-
n.value =
|
|
42
|
+
n.value = E(
|
|
43
43
|
e / (t + r.extraSize || 1) * 100
|
|
44
44
|
);
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
w(o, () => {
|
|
47
47
|
f();
|
|
48
48
|
}), _(
|
|
49
49
|
() => {
|
|
@@ -77,7 +77,7 @@ const j = /* @__PURE__ */ b({
|
|
|
77
77
|
key: 0,
|
|
78
78
|
ref_key: "barRef",
|
|
79
79
|
ref: l
|
|
80
|
-
}, a(
|
|
80
|
+
}, a(y)(r, ["onScroll", "extraSize", "scrollContainer"]), {
|
|
81
81
|
"bar-length": n.value,
|
|
82
82
|
onScroll: d
|
|
83
83
|
}), null, 16, ["bar-length"])) : R("", !0);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as V, shallowRef as h, ref as W, toRef as f, watch as z, watchEffect as A, unref as o, createElementBlock as N, openBlock as U, normalizeStyle as X, normalizeClass as b, createElementVNode as E } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import { useTrack as Y } from "./hooks/use-track.mjs";
|
|
4
|
-
import { ensureRangeValue as L } from "./utils/index.mjs";
|
|
5
4
|
import I from "./style/index.mjs";
|
|
5
|
+
import { ensureRangeValue as L } from "./utils/index.mjs";
|
|
6
6
|
import { useNamespace as j } from "../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
const O = /* @__PURE__ */ V({
|
|
8
8
|
__name: "internal",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../scroll-bar/index.mjs";
|
|
2
1
|
import { useRafFn as R } from "@vueuse/core";
|
|
2
|
+
import "../../scroll-bar/index.mjs";
|
|
3
3
|
import "../../utils/index.mjs";
|
|
4
4
|
import { ensureRangeValue as s } from "../../scroll-bar/utils/index.mjs";
|
|
5
5
|
import { isDef as f } from "../../utils/is.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getScrollable as r } from "../../scroll-bar/utils/index.mjs";
|
|
2
1
|
import { shallowRef as n, reactive as f, watch as p, unref as b } from "vue";
|
|
2
|
+
import { getScrollable as r } from "../../scroll-bar/utils/index.mjs";
|
|
3
3
|
const h = () => {
|
|
4
4
|
const t = n(), c = f({ x: 0, y: 0 }), a = f({ x: 0, y: 0 }), i = n(), s = n();
|
|
5
5
|
p(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
2
1
|
import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
|
|
2
|
+
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, Ref, ShallowRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
|
|
4
4
|
declare function scroll(x?: number, y?: number): void;
|
|
5
5
|
declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as he, reactive as pe, computed as v, unref as a, watchEffect as _, watch as ye, createElementBlock as me, openBlock as P, withModifiers as M, normalizeStyle as A, normalizeClass as w, createElementVNode as z, renderSlot as de, createBlock as L, createCommentVNode as O, mergeProps as I } from "vue";
|
|
2
|
+
import { wait as k } from "@aplus-frontend/utils";
|
|
3
|
+
import { useElementSize as T, useRafFn as ve } from "@vueuse/core";
|
|
4
|
+
import { isString as j } from "lodash-unified";
|
|
2
5
|
import "../config-provider/index.mjs";
|
|
3
6
|
import "../scroll-bar/index.mjs";
|
|
7
|
+
import { ensureRangeValue as n, getScrollable as R } from "../scroll-bar/utils/index.mjs";
|
|
4
8
|
import "../utils/index.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import { useScrollBack as we } from "./hooks/use-scroll-back.mjs";
|
|
11
|
-
import { useScrollSmooth as Be } from "./hooks/use-scroll-smooth.mjs";
|
|
12
|
-
import { getElementScrollOffset as Se } from "./utils/index.mjs";
|
|
13
|
-
import ge from "./style/index.mjs";
|
|
9
|
+
import { useScrollBack as xe } from "./hooks/use-scroll-back.mjs";
|
|
10
|
+
import { useScrollSmooth as we } from "./hooks/use-scroll-smooth.mjs";
|
|
11
|
+
import Be from "./hooks/use-scroll-wrapper.mjs";
|
|
12
|
+
import Se from "./style/index.mjs";
|
|
13
|
+
import { getElementScrollOffset as ge } from "./utils/index.mjs";
|
|
14
14
|
import { useNamespace as be } from "../config-provider/hooks/use-namespace.mjs";
|
|
15
15
|
import { isDef as f } from "../utils/is.mjs";
|
|
16
16
|
import F from "../scroll-bar/internal.vue.mjs";
|
|
@@ -32,7 +32,7 @@ const Le = /* @__PURE__ */ ue({
|
|
|
32
32
|
direction: "vertical",
|
|
33
33
|
rate: 1,
|
|
34
34
|
repeat: !0
|
|
35
|
-
}, { b: J, e: B, em: W } = be("scroll-view"), K =
|
|
35
|
+
}, { b: J, e: B, em: W } = be("scroll-view"), K = Se("scroll-view"), u = he(), c = pe({ x: 30, y: 30 });
|
|
36
36
|
let S = !1;
|
|
37
37
|
const {
|
|
38
38
|
scrollOffset: r,
|
|
@@ -43,25 +43,25 @@ const Le = /* @__PURE__ */ ue({
|
|
|
43
43
|
scrollYBar: h,
|
|
44
44
|
scrollXBar: p,
|
|
45
45
|
updateMaxScrollDistance: Z
|
|
46
|
-
} =
|
|
46
|
+
} = Be(), { width: ee, height: te } = T(u), { width: re, height: oe } = T(s), { start: N } = xe({
|
|
47
47
|
scrollOffset: r,
|
|
48
48
|
maxScrollDistance: i,
|
|
49
49
|
onScroll: (e) => {
|
|
50
50
|
e === "horizontal" ? p() : h();
|
|
51
51
|
},
|
|
52
52
|
async onScrollEnd() {
|
|
53
|
-
await
|
|
53
|
+
await k(200), g();
|
|
54
54
|
}
|
|
55
|
-
}), { start: $ } =
|
|
55
|
+
}), { start: $ } = we({
|
|
56
56
|
scrollOffset: r,
|
|
57
57
|
maxScrollDistance: i,
|
|
58
58
|
onScroll(e, t) {
|
|
59
59
|
V.value && (y(), S = !0), e && p(), t && h();
|
|
60
60
|
},
|
|
61
61
|
async onScrollEnd() {
|
|
62
|
-
S && (await
|
|
62
|
+
S && (await k(200), g(), S = !1);
|
|
63
63
|
}
|
|
64
|
-
}), { resume: g, pause: y, isActive: V } =
|
|
64
|
+
}), { resume: g, pause: y, isActive: V } = ve(
|
|
65
65
|
() => {
|
|
66
66
|
if (!o.autoPlay) {
|
|
67
67
|
y();
|
|
@@ -95,12 +95,12 @@ const Le = /* @__PURE__ */ ue({
|
|
|
95
95
|
},
|
|
96
96
|
{ immediate: !0 }
|
|
97
97
|
), m = v(() => o.showXBar && c.x !== 100), x = v(() => o.showYBar && c.y !== 100), ae = v(() => ({
|
|
98
|
-
width: f(o.width) ?
|
|
99
|
-
height: f(o.heigth) ?
|
|
98
|
+
width: f(o.width) ? j(o.width) ? o.width : Number.isNaN(o.width) ? void 0 : `${o.width}px` : void 0,
|
|
99
|
+
height: f(o.heigth) ? j(o.heigth) ? o.heigth : Number.isNaN(o.heigth) ? void 0 : `${o.heigth}px` : void 0,
|
|
100
100
|
padding: `${o.xBarProps.trackWidth || 10}px ${o.yBarProps.trackWidth || 10}px`
|
|
101
101
|
}));
|
|
102
102
|
async function b() {
|
|
103
|
-
V.value && (y(), await
|
|
103
|
+
V.value && (y(), await k(500), g());
|
|
104
104
|
}
|
|
105
105
|
async function le(e) {
|
|
106
106
|
if (a(x))
|
|
@@ -126,7 +126,7 @@ const Le = /* @__PURE__ */ ue({
|
|
|
126
126
|
}
|
|
127
127
|
function E() {
|
|
128
128
|
if (o.showYBar) {
|
|
129
|
-
const { visibleSize: e, totalSize: t } =
|
|
129
|
+
const { visibleSize: e, totalSize: t } = R(
|
|
130
130
|
s.value,
|
|
131
131
|
"vertical"
|
|
132
132
|
);
|
|
@@ -135,7 +135,7 @@ const Le = /* @__PURE__ */ ue({
|
|
|
135
135
|
);
|
|
136
136
|
}
|
|
137
137
|
if (o.showXBar) {
|
|
138
|
-
const { visibleSize: e, totalSize: t } =
|
|
138
|
+
const { visibleSize: e, totalSize: t } = R(
|
|
139
139
|
s.value,
|
|
140
140
|
"horizontal"
|
|
141
141
|
);
|
|
@@ -147,7 +147,7 @@ const Le = /* @__PURE__ */ ue({
|
|
|
147
147
|
function X(e, t) {
|
|
148
148
|
const l = a(s), d = a(u);
|
|
149
149
|
if (!l || !d) return;
|
|
150
|
-
const { visibleSize: C, totalSize: D } =
|
|
150
|
+
const { visibleSize: C, totalSize: D } = R(l, t);
|
|
151
151
|
if (D <= C) return;
|
|
152
152
|
const Y = (D - C) * e / 100, fe = t === "vertical";
|
|
153
153
|
if (b(), fe) {
|
|
@@ -181,7 +181,7 @@ const Le = /* @__PURE__ */ ue({
|
|
|
181
181
|
e ? $({ x: t, y: l }) : (f(t) && (r.x = t), f(l) && (r.y = l));
|
|
182
182
|
}
|
|
183
183
|
function ce(e, t = "start") {
|
|
184
|
-
const l =
|
|
184
|
+
const l = ge(
|
|
185
185
|
s.value,
|
|
186
186
|
e,
|
|
187
187
|
t
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as o, createBlock as r, openBlock as i, unref as a, withCtx as n, createVNode as t } from "vue";
|
|
2
2
|
import { Card as c, Skeleton as l } from "@aplus-frontend/antdv";
|
|
3
|
-
import "./item.vue.mjs";
|
|
4
3
|
import "./item-large.vue.mjs";
|
|
4
|
+
import "./item.vue.mjs";
|
|
5
5
|
import p from "./item.vue2.mjs";
|
|
6
6
|
import m from "./item-large.vue2.mjs";
|
|
7
7
|
const x = /* @__PURE__ */ o({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as a, createElementBlock as r, openBlock as t, createBlock as o, createCommentVNode as i, createVNode as n, unref as l } from "vue";
|
|
2
|
-
import "./components/page-header/index.vue.mjs";
|
|
3
2
|
import "./components/desc/index.vue.mjs";
|
|
4
3
|
import { ApSkeletonLine as s } from "./components/line/index.mjs";
|
|
5
4
|
import "./components/list/index.vue.mjs";
|
|
5
|
+
import "./components/page-header/index.vue.mjs";
|
|
6
6
|
import m from "./components/page-header/index.vue2.mjs";
|
|
7
7
|
import p from "./components/desc/index.vue2.mjs";
|
|
8
8
|
import c from "./components/list/index.vue2.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as ApSkeletonListPage } from './list-page.vue';
|
|
2
1
|
import { default as ApSkeletonDescriptions } from './descriptions.vue';
|
|
2
|
+
import { default as ApSkeletonListPage } from './list-page.vue';
|
|
3
3
|
export type ApSkeletonType = {
|
|
4
4
|
ListPage: typeof ApSkeletonListPage;
|
|
5
5
|
Descriptions: typeof ApSkeletonDescriptions;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as i, createElementBlock as r, openBlock as t, createBlock as a, createCommentVNode as o, createVNode as n, unref as l, withCtx as s } from "vue";
|
|
2
2
|
import { Card as m } from "@aplus-frontend/antdv";
|
|
3
3
|
import "./components/page-header/index.vue.mjs";
|
|
4
|
-
import "./components/table/index.vue.mjs";
|
|
5
4
|
import "./components/search-form/index.vue.mjs";
|
|
5
|
+
import "./components/table/index.vue.mjs";
|
|
6
6
|
import p from "./components/page-header/index.vue2.mjs";
|
|
7
7
|
import c from "./components/search-form/index.vue2.mjs";
|
|
8
8
|
import d from "./components/table/index.vue2.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as U, ref as z, computed as w, unref as t, watchEffect as V, createElementBlock as h, openBlock as y, normalizeClass as s, createCommentVNode as O, createElementVNode as T, normalizeStyle as F, createVNode as C } from "vue";
|
|
2
|
-
import "../config-provider/index.mjs";
|
|
3
2
|
import { UpOutlined as A, LeftOutlined as D, DownOutlined as I, RightOutlined as R } from "@ant-design/icons-vue";
|
|
3
|
+
import "../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as $ } from "../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
const j = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], K = /* @__PURE__ */ U({
|
|
6
6
|
name: "SplitBar",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as q, ref as G, unref as a, computed as _, createBlock as y, openBlock as r, withCtx as g, createElementVNode as J, normalizeClass as h, normalizeStyle as K, createElementBlock as p, createCommentVNode as b, Fragment as d, renderList as k, createVNode as Q, mergeProps as T, resolveDynamicComponent as X } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { omit as Y } from "lodash-unified";
|
|
3
|
+
import "../config-provider/index.mjs";
|
|
3
4
|
import "../resize-observer/index.mjs";
|
|
4
|
-
import {
|
|
5
|
+
import { useItems as Z } from "./hooks/useItems.mjs";
|
|
5
6
|
import { useResizable as x } from "./hooks/useResizable.mjs";
|
|
6
7
|
import { useResize as ee } from "./hooks/useResize.mjs";
|
|
7
|
-
import "
|
|
8
|
+
import { useSizes as te } from "./hooks/useSizes.mjs";
|
|
8
9
|
import "./Panel.vue.mjs";
|
|
9
10
|
import "./SplitBar.vue.mjs";
|
|
10
|
-
import { omit as te } from "lodash-unified";
|
|
11
11
|
import ae from "./style/index.mjs";
|
|
12
12
|
import { useNamespace as se } from "../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
import oe from "../resize-observer/index.vue.mjs";
|
|
@@ -28,7 +28,7 @@ const ge = /* @__PURE__ */ q({
|
|
|
28
28
|
lazy: { type: Boolean }
|
|
29
29
|
},
|
|
30
30
|
setup(E) {
|
|
31
|
-
const n = E, { b: c } = se("splitter"), I = ae("splitter"), i =
|
|
31
|
+
const n = E, { b: c } = se("splitter"), I = ae("splitter"), i = Z(), l = G(), N = (e) => {
|
|
32
32
|
const { offsetWidth: o, offsetHeight: s } = e.target, t = n.layout === "vertical" ? s : o;
|
|
33
33
|
l.value !== 0 && (l.value = t);
|
|
34
34
|
}, [
|
|
@@ -38,7 +38,7 @@ const ge = /* @__PURE__ */ q({
|
|
|
38
38
|
P,
|
|
39
39
|
M,
|
|
40
40
|
B
|
|
41
|
-
] =
|
|
41
|
+
] = te(i, l), m = x(i, u, !1), [U, $, w, V, C] = ee(
|
|
42
42
|
i,
|
|
43
43
|
m,
|
|
44
44
|
v,
|
|
@@ -77,7 +77,7 @@ const ge = /* @__PURE__ */ q({
|
|
|
77
77
|
class: h(L.value)
|
|
78
78
|
}, [
|
|
79
79
|
(r(!0), p(d, null, k(a(i), (s, t) => (r(), p(d, { key: t }, [
|
|
80
|
-
Q(ne, T({ ref_for: !0 }, a(
|
|
80
|
+
Q(ne, T({ ref_for: !0 }, a(Y)(s, "_child"), {
|
|
81
81
|
size: a(O)[t]
|
|
82
82
|
}), {
|
|
83
83
|
default: g(() => [
|