@aplus-frontend/ui 7.9.1 → 7.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +82 -81
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +3 -3
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +73 -71
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +6 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -1
- package/es/src/ap-list/index.vue.mjs +156 -115
- package/es/src/ap-list/interface.d.ts +6 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +2 -0
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +30 -26
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +13 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +168 -143
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +3 -3
- package/es/src/config-provider/config-provider.d.ts +3 -3
- package/es/src/config-provider/config-provider.mjs +9 -9
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +9 -9
- package/es/src/design-token/interface.d.ts +20 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +23 -23
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +6 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +6 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +2 -0
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +13 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +3 -3
- package/lib/src/config-provider/config-provider.d.ts +3 -3
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +9 -9
- package/lib/src/design-token/interface.d.ts +20 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +4 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SpaceProps } from '@aplus-frontend/antdv';
|
|
2
|
+
import { VNodeChild } from 'vue';
|
|
2
3
|
import { ApButtonProps } from '../../ap-button';
|
|
3
4
|
import { ApBatchActionGroupProps } from '../ap-batch-action-group/interface';
|
|
4
5
|
import { ApExportGroupProps } from '../ap-export-group/interface';
|
|
5
|
-
import { VNodeChild } from 'vue';
|
|
6
6
|
export type ApButtonGroupType = {
|
|
7
7
|
button: ApButtonProps & {
|
|
8
8
|
content?: VNodeChild;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, useSlots as _, computed as s, createElementBlock as r, openBlock as i, normalizeStyle as g, normalizeClass as h, unref as l, createBlock as p, createCommentVNode as a, renderSlot as f, mergeProps as C, createSlots as $, withCtx as c, isVNode as d, resolveDynamicComponent as m, toDisplayString as u } from "vue";
|
|
2
|
-
import "../ap-title/ApTitle.vue.mjs";
|
|
3
2
|
import { omit as B } from "lodash-unified";
|
|
4
3
|
import "../../config-provider/index.mjs";
|
|
4
|
+
import "../ap-title/ApTitle.vue.mjs";
|
|
5
5
|
import N from "./style/index.mjs";
|
|
6
6
|
import { useNamespace as b } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
import z from "../ap-title/ApTitle.vue2.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as h, Text as f, isVNode as y, computed as m, createVNode as r, Fragment as k } from "vue";
|
|
2
|
-
import { ApCopyProps as T } from "./constans.mjs";
|
|
3
|
-
import { IconApAdLineCopy as P } from "@aplus-frontend/icon";
|
|
4
|
-
import "../../config-provider/index.mjs";
|
|
5
2
|
import { message as p } from "@aplus-frontend/antdv";
|
|
6
|
-
import {
|
|
3
|
+
import { IconApAdLineCopy as T } from "@aplus-frontend/icon";
|
|
4
|
+
import { isNull as P, isUndefined as j, isString as A, isBoolean as N } from "lodash-unified";
|
|
5
|
+
import "../../config-provider/index.mjs";
|
|
6
|
+
import { ApCopyProps as I } from "./constans.mjs";
|
|
7
7
|
import V from "./style/index.mjs";
|
|
8
8
|
import { useNamespace as w } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { useLocale as z } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
const G = /* @__PURE__ */ h({
|
|
11
11
|
name: "CopyBtn",
|
|
12
|
-
props:
|
|
12
|
+
props: I(),
|
|
13
13
|
setup(e, {
|
|
14
14
|
slots: d
|
|
15
15
|
}) {
|
|
@@ -39,7 +39,7 @@ const G = /* @__PURE__ */ h({
|
|
|
39
39
|
}, c = () => {
|
|
40
40
|
const t = d.default?.();
|
|
41
41
|
return t && S(t) ? C(t) : null;
|
|
42
|
-
}, u = (t) => !(
|
|
42
|
+
}, u = (t) => !(P(t) || j(t) || typeof t == "string" && t === ""), o = m(() => {
|
|
43
43
|
if (typeof e.textStyle == "string")
|
|
44
44
|
switch (e.textStyle) {
|
|
45
45
|
case "link":
|
|
@@ -64,15 +64,15 @@ const G = /* @__PURE__ */ h({
|
|
|
64
64
|
style: typeof o.value != "string" && o.value,
|
|
65
65
|
title: typeof o.value == "string" ? i.value : "",
|
|
66
66
|
onClick: e.onClick ? () => e.onClick() : void 0
|
|
67
|
-
}, [u(i.value) ? e.link &&
|
|
67
|
+
}, [u(i.value) ? e.link && A(e.link) ? r("a", {
|
|
68
68
|
href: e.link,
|
|
69
69
|
target: "_blank"
|
|
70
|
-
}, [i.value]) :
|
|
70
|
+
}, [i.value]) : N(e.link) ? r("span", {
|
|
71
71
|
class: a("text-link")
|
|
72
72
|
}, [i.value]) : i.value : "--"]), u(i.value) && !e.disableCopy ? r("div", {
|
|
73
73
|
class: [l("copy-btn"), "copy-btn"],
|
|
74
74
|
onClick: e.disableCopy ? void 0 : (t) => v(t, e.tipMessageSuccess, e.tipMessageError)
|
|
75
|
-
}, [r(
|
|
75
|
+
}, [r(T, {
|
|
76
76
|
size: e.size
|
|
77
77
|
}, null)]) : r("div", {
|
|
78
78
|
class: [l("copy-btn"), "copy-btn"]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DisplayInfoProps } from './interface';
|
|
2
1
|
import { Recordable } from '../../type';
|
|
2
|
+
import { DisplayInfoProps } from './interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
attrs: Partial<{}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as N, useSlots as T, createVNode as l, createTextVNode as D, Fragment as V, shallowRef as w, watch as E, createElementBlock as _, openBlock as k, normalizeStyle as A, normalizeClass as B, unref as n, mergeProps as I } from "vue";
|
|
2
2
|
import { Descriptions as R } from "@aplus-frontend/antdv";
|
|
3
|
-
import { mixinsAttachmentExtraProps as j, transformValue as z, isEmptyWithType as F } from "./helper.mjs";
|
|
4
3
|
import { get as p } from "lodash-unified";
|
|
5
|
-
import "./help-message/index.vue.mjs";
|
|
6
4
|
import "../../config-provider/index.mjs";
|
|
5
|
+
import "./help-message/index.vue.mjs";
|
|
6
|
+
import { mixinsAttachmentExtraProps as j, transformValue as z, isEmptyWithType as F } from "./helper.mjs";
|
|
7
7
|
import G from "./style/index.mjs";
|
|
8
8
|
import { useGlobalConfig as u } from "../../config-provider/hooks/use-global-config.mjs";
|
|
9
9
|
import { useNamespace as M } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ParagraphProps } from '@aplus-frontend/antdv/es/typography/Paragraph';
|
|
1
2
|
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
2
|
-
import { FieldPath, FormatOptions } from '../interface';
|
|
3
3
|
import { StyleValue } from 'vue';
|
|
4
|
-
import {
|
|
4
|
+
import { FieldPath, FormatOptions } from '../interface';
|
|
5
5
|
/** 处理文本类型 */
|
|
6
6
|
export declare function text({ value }: FormatOptions, extraProps?: Omit<ParagraphProps, 'content'>): any;
|
|
7
7
|
interface ArrayExtraProps {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createVNode as f } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { TypographyParagraph as d } from "@aplus-frontend/antdv";
|
|
3
|
+
import { getTimeFormatToZone as g, toThousand as h } from "@aplus-frontend/utils";
|
|
4
|
+
import { isBoolean as Y, merge as p, get as c, debounce as A } from "lodash-unified";
|
|
5
|
+
import { toDecimalMark as b } from "../../../utils/format.mjs";
|
|
6
|
+
import { formatString as M } from "./utils.mjs";
|
|
7
7
|
function S({
|
|
8
8
|
value: t
|
|
9
9
|
}, n) {
|
|
@@ -12,7 +12,7 @@ function S({
|
|
|
12
12
|
const o = {
|
|
13
13
|
...n,
|
|
14
14
|
content: t,
|
|
15
|
-
ellipsis: n.ellipsis ?
|
|
15
|
+
ellipsis: n.ellipsis ? Y(n.ellipsis) ? {
|
|
16
16
|
tooltip: t,
|
|
17
17
|
rows: 1
|
|
18
18
|
} : {
|
|
@@ -20,7 +20,7 @@ function S({
|
|
|
20
20
|
tooltip: t
|
|
21
21
|
} : !1
|
|
22
22
|
};
|
|
23
|
-
return f(
|
|
23
|
+
return f(d, o, null);
|
|
24
24
|
}
|
|
25
25
|
function D({
|
|
26
26
|
value: t
|
|
@@ -42,7 +42,7 @@ function u({
|
|
|
42
42
|
zoneAlias: "LA",
|
|
43
43
|
format: "YYYY-MM-DD HH:mm:ss"
|
|
44
44
|
}, n);
|
|
45
|
-
return
|
|
45
|
+
return g(t, o, i);
|
|
46
46
|
}
|
|
47
47
|
function y({
|
|
48
48
|
value: t,
|
|
@@ -56,7 +56,7 @@ function y({
|
|
|
56
56
|
const m = c(n, a);
|
|
57
57
|
return e ? e(m, l) : m;
|
|
58
58
|
}) || [];
|
|
59
|
-
return s.length === 0 && s.push(t),
|
|
59
|
+
return s.length === 0 && s.push(t), M(r, s);
|
|
60
60
|
}
|
|
61
61
|
function L({
|
|
62
62
|
value: t,
|
|
@@ -94,7 +94,7 @@ function j({
|
|
|
94
94
|
style: r,
|
|
95
95
|
downloadFile: e,
|
|
96
96
|
className: s
|
|
97
|
-
} = n, a = c(t, i), l = c(t, o), m =
|
|
97
|
+
} = n, a = c(t, i), l = c(t, o), m = A(() => {
|
|
98
98
|
e?.(l, a);
|
|
99
99
|
}, 500);
|
|
100
100
|
return f("span", {
|
|
@@ -113,7 +113,7 @@ function k({
|
|
|
113
113
|
} = n;
|
|
114
114
|
let e = "";
|
|
115
115
|
try {
|
|
116
|
-
r ? e =
|
|
116
|
+
r ? e = h(t, i || 0, "fixed") : e = b(t, i);
|
|
117
117
|
} catch {
|
|
118
118
|
e = t;
|
|
119
119
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, computed as m, createVNode as t, createElementBlock as d, openBlock as o, createBlock as l, createCommentVNode as u, resolveDynamicComponent as f, unref as s, withCtx as h } from "vue";
|
|
2
|
-
import "../../../config-provider/index.mjs";
|
|
3
2
|
import { QuestionCircleOutlined as b } from "@ant-design/icons-vue";
|
|
4
3
|
import { TypographyText as _, Tooltip as y } from "@aplus-frontend/antdv";
|
|
4
|
+
import "../../../config-provider/index.mjs";
|
|
5
5
|
import { useNamespace as x } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
const C = {
|
|
7
7
|
style: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DescriptionsItemSchema, FormatOptions, TransformOptionType } from './interface';
|
|
2
1
|
import { VNode, VNodeChild, StyleValue } from 'vue';
|
|
3
2
|
import { AttachmentExtraProps } from './formatter';
|
|
3
|
+
import { DescriptionsItemSchema, FormatOptions, TransformOptionType } from './interface';
|
|
4
4
|
export declare function transformValue(data: FormatOptions, opt: TransformOptionType): VNodeChild | VNode;
|
|
5
5
|
/**
|
|
6
6
|
* 根据type判断是否为空
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as O, ref as z, useSlots as A, computed as s, unref as t, createBlock as L, openBlock as i, mergeProps as S, withCtx as x, createElementVNode as m, normalizeClass as j, createElementBlock as f, createCommentVNode as u, createVNode as I, renderSlot as F, toDisplayString as T } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { LoadingOutlined as U } from "@ant-design/icons-vue";
|
|
3
|
+
import { Button as V } from "@aplus-frontend/antdv";
|
|
4
|
+
import { omit as D } from "lodash-unified";
|
|
4
5
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { useOssInit as
|
|
6
|
+
import { useOssInit as E } from "./hooks/index.mjs";
|
|
7
|
+
import { useStyle as P } from "./hooks/useStyle.mjs";
|
|
6
8
|
import { getFileInfo as g } from "./utils/getFileInfo.mjs";
|
|
7
|
-
import { useStyle as E } from "./hooks/useStyle.mjs";
|
|
8
|
-
import { omit as P } from "lodash-unified";
|
|
9
9
|
import { useLocale as G } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import { useGlobalConfig as y } from "../../config-provider/hooks/use-global-config.mjs";
|
|
11
11
|
const M = {
|
|
@@ -47,7 +47,7 @@ const M = {
|
|
|
47
47
|
setup(C, { emit: N }) {
|
|
48
48
|
const r = N, n = z(!1), { lang: b } = G(), w = A(), h = s(() => b.value === "zh-cn" ? "zh_CN" : "en_US"), e = C, l = y("apUpload"), c = y(
|
|
49
49
|
"downloadCenterTriggerConfig"
|
|
50
|
-
), d = s(() => e.disabled), v = s(() => e.size), { getInnerWrapperClass: _ } =
|
|
50
|
+
), d = s(() => e.disabled), v = s(() => e.size), { getInnerWrapperClass: _ } = P(v, d), k = s(() => e.getOssAccess || l.value?.getOssAccess), B = async () => {
|
|
51
51
|
if (!e.disabled) {
|
|
52
52
|
n.value = !0;
|
|
53
53
|
try {
|
|
@@ -61,7 +61,7 @@ const M = {
|
|
|
61
61
|
}));
|
|
62
62
|
await c.value?.trigger(a), r("downloadCallback", a);
|
|
63
63
|
} else {
|
|
64
|
-
const a = await (await
|
|
64
|
+
const a = await (await E(
|
|
65
65
|
k.value,
|
|
66
66
|
t(h)
|
|
67
67
|
)).downloadFile(
|
|
@@ -79,7 +79,7 @@ const M = {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
|
-
return (o, a) => (i(), L(t(
|
|
82
|
+
return (o, a) => (i(), L(t(V), S(t(D)(e, ["getOssAccess", "fileName", "needName"]), {
|
|
83
83
|
type: e.type,
|
|
84
84
|
size: e.size,
|
|
85
85
|
disabled: d.value,
|
|
@@ -90,7 +90,7 @@ const M = {
|
|
|
90
90
|
class: j(t(_))
|
|
91
91
|
}, [
|
|
92
92
|
n.value ? (i(), f("span", M, [
|
|
93
|
-
I(t(
|
|
93
|
+
I(t(U), { spin: !0 })
|
|
94
94
|
])) : u("", !0),
|
|
95
95
|
t(w).icon ? (i(), f("span", R, [
|
|
96
96
|
F(o.$slots, "icon")
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed as o } from "vue";
|
|
2
|
-
import { getHexWithOpacity as c } from "../utils/getFileInfo.mjs";
|
|
3
2
|
import "../../../config-provider/index.mjs";
|
|
3
|
+
import { useToken as c } from "../../../config-provider/hooks/use-token.mjs";
|
|
4
4
|
import m from "../style/index.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { getHexWithOpacity as d } from "../utils/getFileInfo.mjs";
|
|
6
6
|
import { useNamespace as w } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
function g(a, l) {
|
|
8
|
-
const { b: r, bm: e } = w("ap-download"), n = m("ap-download"), { token: p } =
|
|
8
|
+
const { b: r, bm: e } = w("ap-download"), n = m("ap-download"), { token: p } = c(), s = o(() => ({
|
|
9
9
|
"--download-main-color": p.value?.colorLink,
|
|
10
|
-
"--download-main-color-opacity":
|
|
10
|
+
"--download-main-color-opacity": d(
|
|
11
11
|
p.value?.colorLink,
|
|
12
12
|
0.6
|
|
13
13
|
)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as se, ref as L, computed as x, useTemplateRef as ie, watch as ue, toRaw as de, onMounted as ce, onUnmounted as fe, createBlock as ge, openBlock as R, unref as D, withCtx as me, createElementVNode as pe, normalizeStyle as U, normalizeClass as V, createElementBlock as j, Fragment as ve, renderList as he, renderSlot as we } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { Spin as be } from "@aplus-frontend/antdv";
|
|
4
|
-
import "../../config-provider/index.mjs";
|
|
5
|
-
import { sortItemsByRowAndCol as E } from "./utils/sortItemsByRowAndCol.mjs";
|
|
2
|
+
import { Spin as ye } from "@aplus-frontend/antdv";
|
|
6
3
|
import { warning as K, note as w } from "../../utils/warning.mjs";
|
|
4
|
+
import "../../config-provider/index.mjs";
|
|
5
|
+
import { ApDraggableGridProps as be } from "./constans.mjs";
|
|
7
6
|
import $e from "./style/index.mjs";
|
|
7
|
+
import { sortItemsByRowAndCol as E } from "./utils/sortItemsByRowAndCol.mjs";
|
|
8
8
|
import { useNamespace as De } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
const Ee = ["data-span", "data-index", "data-row", "data-col", "data-height", "data-module", "draggable"], He = /* @__PURE__ */ se({
|
|
10
10
|
__name: "ApDraggableGrid",
|
|
11
|
-
props:
|
|
11
|
+
props: be(),
|
|
12
12
|
emits: ["onGridListChange"],
|
|
13
13
|
setup(Q, { expose: X, emit: Y }) {
|
|
14
14
|
const d = Q, { b: O, e: C, m: Z } = De("ap-draggable-grid"), ee = $e("ap-draggable-grid"), G = L(!1), P = L(!1), W = x(() => C("item")), k = x(() => C("dragging")), H = x(() => C("overlay")), re = x(() => d.customWrapper ? `.${d.customWrapper} .${W.value}:not(.${k.value})` : `.${W.value}:not(.${k.value})`), te = Y, f = ie("gridContainer"), S = L([]);
|
|
@@ -229,7 +229,7 @@ const Ee = ["data-span", "data-index", "data-row", "data-col", "data-height", "d
|
|
|
229
229
|
await J();
|
|
230
230
|
})();
|
|
231
231
|
}
|
|
232
|
-
}), (e, a) => (R(), ge(D(
|
|
232
|
+
}), (e, a) => (R(), ge(D(ye), { spinning: G.value }, {
|
|
233
233
|
default: me(() => [
|
|
234
234
|
pe("div", {
|
|
235
235
|
ref_key: "gridContainer",
|
|
@@ -1,4 +1,188 @@
|
|
|
1
|
-
import f from "
|
|
1
|
+
import { defineComponent as j, computed as c, ref as f, watch as x, nextTick as m, onMounted as G, createElementBlock as i, createCommentVNode as C, openBlock as l, normalizeClass as n, unref as t, createVNode as S, withCtx as y, createElementVNode as $, normalizeStyle as h, renderSlot as L, createBlock as E, toDisplayString as u, resolveDynamicComponent as z, Fragment as A, renderList as J, createTextVNode as P } from "vue";
|
|
2
|
+
import { DownOutlined as Q } from "@ant-design/icons-vue";
|
|
3
|
+
import { Alert as U, Tooltip as X } from "@aplus-frontend/antdv";
|
|
4
|
+
import { isNil as Y, isString as B } from "lodash-unified";
|
|
5
|
+
import { ApActionItem as Z } from "../../ap-action/index.mjs";
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
7
|
+
import _ from "./style/index.mjs";
|
|
8
|
+
import { useLocale as ee } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
|
+
import { useNamespace as te } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
const le = ["onClick"], fe = /* @__PURE__ */ j({
|
|
11
|
+
__name: "ApExpandAlert",
|
|
12
|
+
props: {
|
|
13
|
+
type: { default: "warning" },
|
|
14
|
+
data: { default: () => [] },
|
|
15
|
+
prefix: { default: "" },
|
|
16
|
+
tipTitle: { default: "" },
|
|
17
|
+
mapLabel: {},
|
|
18
|
+
separator: { default: "|" },
|
|
19
|
+
separatorStyle: { default: () => ({}) },
|
|
20
|
+
contentStyle: { default: () => ({}) },
|
|
21
|
+
prefixStyle: { default: () => ({}) },
|
|
22
|
+
rows: { default: 2 },
|
|
23
|
+
defaultExpand: { type: Boolean, default: !0 },
|
|
24
|
+
showIcon: { type: Boolean, default: !0 },
|
|
25
|
+
closable: { type: Boolean },
|
|
26
|
+
afterClose: {}
|
|
27
|
+
},
|
|
28
|
+
emits: ["choose", "expand", "close"],
|
|
29
|
+
setup(D, { expose: V, emit: R }) {
|
|
30
|
+
const v = R, p = D, { t: N } = ee(), q = c(() => {
|
|
31
|
+
if (p.type != "card")
|
|
32
|
+
return p.type;
|
|
33
|
+
}), a = f(""), d = f(null), F = c(() => ({
|
|
34
|
+
fontWeight: "400",
|
|
35
|
+
wordBreak: "break-all",
|
|
36
|
+
overflow: "hidden",
|
|
37
|
+
display: "-webkit-box",
|
|
38
|
+
webkitLineClamp: a.value,
|
|
39
|
+
webkitBoxOrient: "vertical",
|
|
40
|
+
lineHeight: "18px"
|
|
41
|
+
}));
|
|
42
|
+
function M() {
|
|
43
|
+
a.value === "1" ? (a.value = "", v("expand", "expand")) : (a.value = "1", v("expand", "collapse"));
|
|
44
|
+
}
|
|
45
|
+
const O = c(() => a.value === "1" ? N("ap.apExpandAlert.expand") : N("ap.apExpandAlert.collapse")), k = f(!0), T = c(() => a.value !== "1");
|
|
46
|
+
function w(e) {
|
|
47
|
+
e ? a.value = "" : a.value = "1";
|
|
48
|
+
}
|
|
49
|
+
const H = f(!1);
|
|
50
|
+
function K(e) {
|
|
51
|
+
v("close", e), H.value = !0;
|
|
52
|
+
}
|
|
53
|
+
x(
|
|
54
|
+
() => p.data,
|
|
55
|
+
() => {
|
|
56
|
+
a.value = "", m(() => {
|
|
57
|
+
if (d.value) {
|
|
58
|
+
const e = Number(d.value.clientHeight), r = Number(
|
|
59
|
+
parseInt(d.value.style.lineHeight)
|
|
60
|
+
);
|
|
61
|
+
e < r * Number(p.rows) && T.value ? k.value = !1 : k.value = !0;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
immediate: !0
|
|
67
|
+
}
|
|
68
|
+
), x(
|
|
69
|
+
() => p.defaultExpand,
|
|
70
|
+
(e) => {
|
|
71
|
+
e ? m(() => {
|
|
72
|
+
w(e);
|
|
73
|
+
}) : m(() => {
|
|
74
|
+
w(e);
|
|
75
|
+
});
|
|
76
|
+
},
|
|
77
|
+
{ immediate: !0 }
|
|
78
|
+
), G(() => {
|
|
79
|
+
x(
|
|
80
|
+
() => p.contentStyle,
|
|
81
|
+
(e) => {
|
|
82
|
+
Y(e.lineHeight) || m(() => {
|
|
83
|
+
const r = document.querySelector(
|
|
84
|
+
`#${b} .ant-alert-action`
|
|
85
|
+
), s = document.querySelector(
|
|
86
|
+
`#${b} .ant-alert-icon`
|
|
87
|
+
);
|
|
88
|
+
r && r.setAttribute("style", `line-height: ${e.lineHeight}`), s && s.setAttribute("style", `line-height: ${e.lineHeight}`);
|
|
89
|
+
});
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
deep: !0,
|
|
93
|
+
immediate: !0,
|
|
94
|
+
flush: "post"
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
});
|
|
98
|
+
const { b: I, e: o } = te("ap-expand-alert"), W = _("ap-expand-alert"), b = `${I()}-key-${Date.now()}-${(Math.random() * 1e6).toFixed(0)}`;
|
|
99
|
+
return V({
|
|
100
|
+
setExpand: w
|
|
101
|
+
}), (e, r) => H.value ? C("", !0) : (l(), i("div", {
|
|
102
|
+
key: 0,
|
|
103
|
+
id: b,
|
|
104
|
+
class: n([t(I)(), t(W)])
|
|
105
|
+
}, [
|
|
106
|
+
S(t(U), {
|
|
107
|
+
type: q.value,
|
|
108
|
+
"show-icon": e.showIcon,
|
|
109
|
+
closable: e.closable,
|
|
110
|
+
class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""]),
|
|
111
|
+
"after-close": e.afterClose,
|
|
112
|
+
onClose: K
|
|
113
|
+
}, {
|
|
114
|
+
action: y(() => [
|
|
115
|
+
k.value ? (l(), E(t(Z), {
|
|
116
|
+
key: 0,
|
|
117
|
+
size: "small",
|
|
118
|
+
style: { "font-size": "12px", "padding-left": "16px" },
|
|
119
|
+
onClick: r[0] || (r[0] = (s) => M())
|
|
120
|
+
}, {
|
|
121
|
+
default: y(() => [
|
|
122
|
+
$("span", {
|
|
123
|
+
class: n(t(o)("expandText"))
|
|
124
|
+
}, u(O.value), 3),
|
|
125
|
+
S(t(Q), {
|
|
126
|
+
class: n(T.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
|
|
127
|
+
}, null, 8, ["class"])
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
})) : C("", !0)
|
|
131
|
+
]),
|
|
132
|
+
message: y(() => [
|
|
133
|
+
$("div", {
|
|
134
|
+
ref_key: "ellipsisBoxRef",
|
|
135
|
+
ref: d,
|
|
136
|
+
style: h({ ...F.value, ...e.contentStyle }),
|
|
137
|
+
class: n(t(o)("alertContent"))
|
|
138
|
+
}, [
|
|
139
|
+
L(e.$slots, "default", {}, () => [
|
|
140
|
+
t(B)(e.prefix) ? (l(), i("span", {
|
|
141
|
+
key: 0,
|
|
142
|
+
class: n(t(o)("prefix")),
|
|
143
|
+
style: h(e.prefixStyle)
|
|
144
|
+
}, u(e.prefix), 7)) : (l(), E(z(e.prefix), {
|
|
145
|
+
key: 1,
|
|
146
|
+
style: h(e.prefixStyle)
|
|
147
|
+
}, null, 8, ["style"])),
|
|
148
|
+
t(B)(e.data) ? (l(), i("span", {
|
|
149
|
+
key: 2,
|
|
150
|
+
class: n(t(o)("text"))
|
|
151
|
+
}, u(e.data), 3)) : (l(!0), i(A, { key: 3 }, J(e.data, (s, g) => (l(), i(A, { key: g }, [
|
|
152
|
+
S(t(X), {
|
|
153
|
+
title: e.tipTitle ? e.tipTitle : null
|
|
154
|
+
}, {
|
|
155
|
+
default: y(() => [
|
|
156
|
+
L(e.$slots, "item", {
|
|
157
|
+
record: s,
|
|
158
|
+
index: g
|
|
159
|
+
}, () => [
|
|
160
|
+
$("span", {
|
|
161
|
+
class: n(t(o)("showItem")),
|
|
162
|
+
onClick: (ae) => e.$emit("choose", s)
|
|
163
|
+
}, u(e.mapLabel ? s[e.mapLabel] : s), 11, le)
|
|
164
|
+
])
|
|
165
|
+
]),
|
|
166
|
+
_: 2
|
|
167
|
+
}, 1032, ["title"]),
|
|
168
|
+
g !== e.data.length - 1 ? (l(), i("span", {
|
|
169
|
+
key: 0,
|
|
170
|
+
class: n(t(o)("spliter")),
|
|
171
|
+
style: h(e.separatorStyle)
|
|
172
|
+
}, [
|
|
173
|
+
t(B)(e.separator) ? (l(), i(A, { key: 0 }, [
|
|
174
|
+
P(u(e.separator), 1)
|
|
175
|
+
], 64)) : (l(), E(z(e.separator), { key: 1 }))
|
|
176
|
+
], 6)) : C("", !0)
|
|
177
|
+
], 64))), 128))
|
|
178
|
+
])
|
|
179
|
+
], 6)
|
|
180
|
+
]),
|
|
181
|
+
_: 3
|
|
182
|
+
}, 8, ["type", "show-icon", "closable", "class", "after-close"])
|
|
183
|
+
], 2));
|
|
184
|
+
}
|
|
185
|
+
});
|
|
2
186
|
export {
|
|
3
|
-
|
|
187
|
+
fe as default
|
|
4
188
|
};
|