@aplus-frontend/ui 7.10.0 → 7.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +1 -1
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +8 -8
- package/es/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ag-grid/editable/index.vue.mjs +6 -6
- package/es/src/ag-grid/editable/interface.d.ts +6 -6
- package/es/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns-def.mjs +14 -14
- package/es/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-api.mjs +6 -6
- package/es/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +28 -27
- package/es/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +4 -4
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +1 -1
- package/es/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-search-form.mjs +5 -5
- package/es/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-selection-col-def.mjs +4 -4
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +5 -5
- package/es/src/ag-grid/index.d.ts +2 -2
- package/es/src/ag-grid/index.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +1 -1
- package/es/src/ag-grid/index.vue.mjs +47 -47
- package/es/src/ag-grid/interface.d.ts +4 -4
- package/es/src/ag-grid/renderer/index.d.ts +2 -2
- package/es/src/ag-grid/renderer/index.mjs +20 -20
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/index.d.ts +1 -1
- package/es/src/ap-action/index.mjs +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +4 -4
- package/es/src/ap-action/item-dropdown/index.vue.mjs +44 -39
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-action/style/dropdown-item.mjs +17 -11
- package/es/src/ap-action/style/index.mjs +8 -9
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +6 -6
- package/es/src/ap-button/ap-confirm-button.vue.mjs +1 -1
- package/es/src/ap-button/index.d.ts +1 -1
- package/es/src/ap-button/index.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +1 -1
- package/es/src/ap-drawer/index.d.ts +1 -1
- package/es/src/ap-drawer/index.mjs +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +6 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +13 -13
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +18 -18
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.mjs +26 -26
- package/es/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/es/src/ap-field/date-range/read.vue2.mjs +6 -6
- package/es/src/ap-field/hooks/use-date-timezone.mjs +5 -5
- package/es/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/es/src/ap-field/hooks/use-default-presets.mjs +2 -2
- package/es/src/ap-field/index.d.ts +19 -19
- package/es/src/ap-field/index.mjs +17 -17
- package/es/src/ap-field/interface.d.ts +6 -6
- package/es/src/ap-field/number/index.vue.d.ts +2 -2
- package/es/src/ap-field/number/index.vue.mjs +10 -10
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/radio/index.vue.mjs +7 -7
- package/es/src/ap-field/rate/index.vue.mjs +3 -3
- package/es/src/ap-field/second/index.vue.d.ts +2 -2
- package/es/src/ap-field/second/index.vue.mjs +5 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -4
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/select/use-select-options.d.ts +1 -1
- package/es/src/ap-field/select/use-select-options.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +3 -5
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +4 -4
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text/password.vue.mjs +7 -7
- package/es/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/es/src/ap-field/text/read-password.vue2.mjs +4 -4
- package/es/src/ap-field/text/read.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-field/text-area/index.vue.mjs +6 -6
- package/es/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/es/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/es/src/ap-field/tree-select/index.vue.mjs +1 -1
- package/es/src/ap-field/tree-select/read.vue2.mjs +5 -5
- package/es/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/es/src/ap-field/tree-select/use-request.mjs +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +14 -14
- package/es/src/ap-form/dependency/index.vue.mjs +5 -5
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.mjs +10 -10
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +6 -6
- package/es/src/ap-form/index.mjs +6 -6
- package/es/src/ap-form/interface.d.ts +2 -2
- package/es/src/ap-form/item/index.vue.d.ts +26 -26
- package/es/src/ap-form/item/index.vue.mjs +19 -19
- package/es/src/ap-form/item-group/index.vue.mjs +7 -7
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/index.d.ts +4 -4
- package/es/src/ap-form/items/index.mjs +4 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/index.d.ts +1 -1
- package/es/src/ap-form/items/text/index.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/index.vue2.mjs +5 -5
- package/es/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/es/src/ap-form/items/text/password.vue.mjs +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/es/src/ap-form/items/text-area/index.vue.mjs +4 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/list/index.vue.mjs +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +6 -6
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +3 -3
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +9 -9
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +6 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/search-form/index.vue.mjs +21 -21
- package/es/src/ap-form/search-form/utils.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +7 -7
- package/es/src/ap-form/style/item-text-group.mjs +8 -23
- package/es/src/ap-form/style/item.mjs +15 -15
- package/es/src/ap-form/utils/params.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +8 -8
- package/es/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/index.vue.mjs +14 -14
- package/es/src/ap-grid/editable/interface.d.ts +6 -6
- package/es/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +27 -26
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/es/src/ap-grid/hooks/use-render-columns.mjs +6 -6
- package/es/src/ap-grid/hooks/use-row-selection.mjs +6 -6
- package/es/src/ap-grid/index.d.ts +2 -2
- package/es/src/ap-grid/index.mjs +2 -2
- package/es/src/ap-grid/index.vue.mjs +48 -48
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +7 -7
- package/es/src/ap-grid/utils/editable.d.ts +1 -1
- package/es/src/ap-grid/utils/editable.mjs +1 -1
- package/es/src/ap-grid/utils/renderer.d.ts +1 -1
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-list/hooks/use-offline-list.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.mjs +12 -12
- package/es/src/ap-list/interface.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.mjs +7 -7
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-modal/utils/createModalStream.mjs +4 -4
- package/es/src/ap-modal/utils/methods.mjs +4 -4
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +20 -20
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +9 -9
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +1 -1
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +8 -8
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +6 -6
- package/es/src/ap-pro-card/index.d.ts +2 -2
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/style/divider.mjs +4 -4
- package/es/src/ap-pro-card/style/statistic.mjs +4 -4
- package/es/src/ap-pro-card/style/statistics-card.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/ap-table.vue2.mjs +35 -35
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +119 -119
- package/es/src/ap-table/constants.mjs +1 -1
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/es/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +20 -20
- package/es/src/ap-table/hooks/use-table-content-height.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +8 -8
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging.mjs +5 -5
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-row-selection.mjs +4 -4
- package/es/src/ap-table/interface.d.ts +5 -5
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-table/utils.mjs +14 -14
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +6 -6
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +10 -10
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +18 -18
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +6 -6
- package/es/src/business/ag-grid-modal/utils.mjs +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +13 -13
- package/es/src/business/ap-attachment/ApAttachment.mjs +16 -16
- package/es/src/business/ap-attachment/index.mjs +3 -3
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +8 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +3 -3
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.mjs +9 -9
- package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +2 -2
- package/es/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/es/src/business/ap-descriptions/formatter/index.mjs +11 -11
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/business/ap-descriptions/helper.d.ts +1 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +9 -9
- package/es/src/business/ap-download/hooks/useStyle.mjs +4 -4
- package/es/src/business/ap-download/interface.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +6 -6
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +186 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +2 -186
- package/es/src/business/ap-expand-alert/index.d.ts +1 -62
- package/es/src/business/ap-expand-alert/index.mjs +1 -7
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/es/src/business/ap-export-group/handleExportDownload.mjs +4 -4
- package/es/src/business/ap-export-group/index.d.ts +1 -1
- package/es/src/business/ap-export-group/index.mjs +4 -4
- package/es/src/business/ap-image/ApImage.vue2.mjs +11 -11
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-keep-alive/index.mjs +1 -1
- package/es/src/business/ap-keep-alive/keep-alive.mjs +27 -27
- package/es/src/business/ap-keep-alive/keeper/index.mjs +16 -16
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.mjs +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +1 -1
- package/es/src/business/ap-ladder/utils.d.ts +1 -1
- package/es/src/business/ap-product-info/ApProductInfo.mjs +9 -9
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +5 -5
- package/es/src/business/ap-size-input/ApSizeInput.mjs +4 -4
- package/es/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/es/src/business/ap-size-input/form-item.vue.mjs +4 -4
- package/es/src/business/ap-size-input/index.mjs +3 -3
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +11 -11
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +7 -7
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +4 -4
- package/es/src/business/ap-table-modal/index.d.ts +12 -12
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +6 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +11 -11
- package/es/src/business/ap-tag/index.d.ts +1 -1
- package/es/src/business/ap-tag/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +4 -4
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +18 -18
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-upload/style/index.mjs +5 -5
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +23 -23
- package/es/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useInjectContext.mjs +3 -3
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/es/src/business/ap-upload-file/hook/useProps.mjs +1 -1
- package/es/src/business/ap-upload-file/interface.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +4 -4
- package/es/src/business/ap-value-select-card/index.vue2.mjs +5 -5
- package/es/src/business/ap-view/ap-view.vue2.mjs +11 -11
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +13 -13
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +17 -17
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.d.ts +1 -1
- package/es/src/business/batch-input-group/index.mjs +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/es/src/business/batch-input-group/index.vue.mjs +8 -8
- package/es/src/business/batch-input-group/interface.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +1 -1
- package/es/src/business/index.mjs +48 -49
- package/es/src/check-card/group.vue.mjs +4 -4
- package/es/src/check-card/index.d.ts +1 -1
- package/es/src/check-card/index.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +15 -15
- package/es/src/config-provider/config-provider-props.mjs +12 -12
- package/es/src/config-provider/config-provider.d.ts +29 -29
- package/es/src/config-provider/config-provider.mjs +42 -40
- package/es/src/config-provider/constants.d.ts +3 -3
- package/es/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/es/src/config-provider/hooks/use-global-config.mjs +19 -19
- package/es/src/config-provider/hooks/use-locale.mjs +5 -5
- package/es/src/config-provider/index.d.ts +49 -49
- package/es/src/design-token/interface.d.ts +22 -20
- package/es/src/editable-table/form-item.vue.mjs +15 -15
- package/es/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +36 -35
- package/es/src/editable-table/index.d.ts +1 -1
- package/es/src/editable-table/index.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +16 -16
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.d.ts +3 -4
- package/es/src/editable-table/utils.mjs +41 -50
- package/es/src/full-screen/index.vue.mjs +2 -2
- package/es/src/hooks/useControllableValue.mjs +1 -1
- package/es/src/hooks/useMessage.mjs +6 -6
- package/es/src/index.mjs +1 -1
- package/es/src/loading-bar/global.mjs +1 -1
- package/es/src/loading-bar/index.d.ts +1 -1
- package/es/src/loading-bar/index.mjs +1 -1
- package/es/src/loading-bar/index.vue2.mjs +4 -4
- package/es/src/locale/index.d.ts +1 -1
- package/es/src/locale/index.mjs +4 -4
- package/es/src/mask/index.vue.mjs +5 -5
- package/es/src/scroll-bar/index.vue.mjs +6 -6
- package/es/src/scroll-bar/internal.vue.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-back.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +1 -1
- package/es/src/scroll-view/index.vue.d.ts +1 -1
- package/es/src/scroll-view/index.vue.mjs +22 -22
- package/es/src/skeleton/components/desc/index.vue2.mjs +1 -1
- package/es/src/skeleton/descriptions.vue2.mjs +1 -1
- package/es/src/skeleton/index.d.ts +1 -1
- package/es/src/skeleton/index.mjs +1 -1
- package/es/src/skeleton/list-page.vue2.mjs +1 -1
- package/es/src/splitter/SplitBar.vue2.mjs +1 -1
- package/es/src/splitter/Splitter.vue2.mjs +7 -7
- package/es/src/splitter/index.d.ts +1 -1
- package/es/src/splitter/index.mjs +1 -1
- package/es/src/text/group.vue.mjs +6 -6
- package/es/src/text/index.d.ts +1 -1
- package/es/src/text/index.mjs +1 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +1 -1
- package/es/src/time-ago/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +16 -16
- package/es/src/utils/cssinjs/index.mjs +31 -30
- package/es/src/utils/decimal.mjs +1 -1
- package/es/src/utils/format.mjs +1 -1
- package/es/src/utils/index.mjs +7 -7
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +6 -6
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-search-form.js +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -1
- package/lib/src/ag-grid/index.d.ts +2 -2
- package/lib/src/ag-grid/index.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -4
- package/lib/src/ag-grid/renderer/index.d.ts +2 -2
- package/lib/src/ag-grid/renderer/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.d.ts +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-action/style/dropdown-item.js +1 -1
- package/lib/src/ap-action/style/index.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-button/index.d.ts +1 -1
- package/lib/src/ap-button/index.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +1 -1
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +2 -2
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +2 -2
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-field/index.d.ts +19 -19
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +6 -6
- package/lib/src/ap-field/number/index.vue.d.ts +2 -2
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +2 -2
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -4
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +3 -5
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +3 -3
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +3 -3
- package/lib/src/ap-field/tree-select/index.vue.d.ts +5 -5
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +1 -1
- package/lib/src/ap-field/tree-select/use-request.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/index.d.ts +6 -6
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +2 -2
- package/lib/src/ap-form/item/index.vue.d.ts +26 -26
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/index.d.ts +4 -4
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +18 -18
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +32 -32
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.d.ts +1 -1
- package/lib/src/ap-form/items/text/index.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +28 -28
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -14
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +13 -13
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item-text-group.js +1 -1
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/utils/params.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/interface.d.ts +6 -6
- package/lib/src/ap-grid/hooks/use-editable-columns.d.ts +2 -2
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.d.ts +2 -2
- package/lib/src/ap-grid/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/editable.d.ts +1 -1
- package/lib/src/ap-grid/utils/editable.js +1 -1
- package/lib/src/ap-grid/utils/renderer.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/utils/confirm.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-modal/utils/methods.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +2 -2
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +2 -2
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +119 -119
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sorted-filtered.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-sticky-scroll.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
- package/lib/src/ap-table/interface.d.ts +5 -5
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.d.ts +2 -2
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/helper.d.ts +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/business/ap-download/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +1 -62
- package/lib/src/business/ap-expand-alert/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +1 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +2 -2
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -1
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +12 -12
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -4
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/index.d.ts +1 -1
- package/lib/src/business/ap-tag/index.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useInjectContext.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -5
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +4 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +16 -16
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +1 -1
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.d.ts +1 -1
- package/lib/src/check-card/index.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +15 -15
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +29 -29
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -3
- package/lib/src/config-provider/hooks/use-global-config.d.ts +13 -13
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +49 -49
- package/lib/src/design-token/interface.d.ts +22 -20
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +2 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.d.ts +1 -1
- package/lib/src/editable-table/index.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.d.ts +3 -4
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.js +1 -1
- package/lib/src/loading-bar/index.d.ts +1 -1
- package/lib/src/loading-bar/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/locale/index.d.ts +1 -1
- package/lib/src/locale/index.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/index.d.ts +1 -1
- package/lib/src/skeleton/index.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/splitter/index.d.ts +1 -1
- package/lib/src/splitter/index.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.d.ts +1 -1
- package/lib/src/text/index.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -16
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/decimal.js +1 -1
- package/lib/src/utils/format.js +1 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +2 -2
|
@@ -11,11 +11,11 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
11
11
|
declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApButtonProps> & Readonly<{}>, {
|
|
12
12
|
type: ButtonType | "borderLink";
|
|
13
13
|
minWidth: boolean | number | string;
|
|
14
|
+
lazy: boolean | number;
|
|
14
15
|
loading: boolean | {
|
|
15
16
|
delay?: number;
|
|
16
17
|
icon?: VNode;
|
|
17
18
|
};
|
|
18
|
-
lazy: boolean | number;
|
|
19
19
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as B, useSlots as W, ref as z, computed as o, createBlock as L, openBlock as w, unref as n, mergeProps as P, createSlots as S, renderList as T, withCtx as _, renderSlot as $, normalizeProps as x, guardReactiveProps as M } from "vue";
|
|
2
2
|
import { Button as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import { wait as A } from "@aplus-frontend/utils";
|
|
4
|
-
import "../config-provider/index.mjs";
|
|
5
4
|
import { omit as D } from "lodash-unified";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import "../config-provider/index.mjs";
|
|
6
|
+
import I from "./style/index.mjs";
|
|
7
|
+
import { transferOpacityColor as O, isAsynchronous as j } from "./utils/index.mjs";
|
|
8
8
|
import { useNamespace as R } from "../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
const q = 72, E = 300, X = /* @__PURE__ */ B({
|
|
10
10
|
__name: "ap-button",
|
|
@@ -34,12 +34,12 @@ const q = 72, E = 300, X = /* @__PURE__ */ B({
|
|
|
34
34
|
onClick: {}
|
|
35
35
|
},
|
|
36
36
|
setup(f) {
|
|
37
|
-
const m = W(), e = f, { b: l } = R("ap-action-button"), y =
|
|
37
|
+
const m = W(), e = f, { b: l } = R("ap-action-button"), y = I("ap-action-button"), r = z(!1), b = o(
|
|
38
38
|
() => e.borderLinkColor || "var(--ap-button-border-link-color)"
|
|
39
39
|
), i = o(
|
|
40
40
|
() => e.type === "borderLink" && !e.disabled ? b.value : void 0
|
|
41
41
|
), s = o(
|
|
42
|
-
() =>
|
|
42
|
+
() => O(i.value)
|
|
43
43
|
), h = o(() => e.minWidth === !0 ? `${q}px` : typeof e.minWidth == "number" ? `${e.minWidth}px` : typeof e.minWidth == "string" ? e.minWidth : void 0), v = o(
|
|
44
44
|
() => (e.type === "borderLink" ? "default" : e.type) || "default"
|
|
45
45
|
), u = o(() => e.loading ?? r.value ?? !1), c = o(() => e.lazy === !0 ? E : typeof e.lazy == "number" && e.lazy >= 0 ? e.lazy : 0);
|
|
@@ -59,7 +59,7 @@ const q = 72, E = 300, X = /* @__PURE__ */ B({
|
|
|
59
59
|
}
|
|
60
60
|
async function g() {
|
|
61
61
|
if (u.value) return;
|
|
62
|
-
const t =
|
|
62
|
+
const t = j(e.onClick), d = Date.now();
|
|
63
63
|
try {
|
|
64
64
|
t && (r.value = !0, await t);
|
|
65
65
|
} finally {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as a, useSlots as m, createBlock as f, openBlock as d, mergeProps as u, unref as k, createSlots as y, renderList as P, withCtx as B, renderSlot as C, normalizeProps as _, guardReactiveProps as g } from "vue";
|
|
2
|
-
import { confirmHandle as b } from "./utils/index.mjs";
|
|
3
2
|
import { omit as i } from "lodash-unified";
|
|
4
3
|
import "./ap-button.vue2.mjs";
|
|
4
|
+
import { confirmHandle as b } from "./utils/index.mjs";
|
|
5
5
|
import h from "./ap-button.vue.mjs";
|
|
6
6
|
const w = /* @__PURE__ */ a({
|
|
7
7
|
__name: "ap-confirm-button",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as ApButton } from './ap-button.vue';
|
|
2
1
|
import { default as ApActionButton } from './ap-action-button.vue';
|
|
2
|
+
import { default as ApButton } from './ap-button.vue';
|
|
3
3
|
import { default as ApConfirmButton } from './ap-confirm-button.vue';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
export { ApButton, ApActionButton, ApConfirmButton };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as n, createElementBlock as m, openBlock as p, mergeProps as l, unref as e, createVNode as i } from "vue";
|
|
2
|
-
import "../../config-provider/index.mjs";
|
|
3
2
|
import { IconApAdLineCloseDrawer as d } from "@aplus-frontend/icon";
|
|
3
|
+
import "../../config-provider/index.mjs";
|
|
4
4
|
import f from "../style/index.mjs";
|
|
5
5
|
import { useNamespace as u } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
const B = /* @__PURE__ */ n({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Drawer as _Drawer } from '@aplus-frontend/antdv';
|
|
2
|
-
import { CreateDrawerFunc } from './interface';
|
|
3
2
|
import { default as ApDrawerClose } from './components/ApDrawerClose.vue';
|
|
3
|
+
import { CreateDrawerFunc } from './interface';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
type ApDrawerMixedProps = typeof _Drawer & {
|
|
6
6
|
createDrawer: CreateDrawerFunc;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Drawer as e } from "@aplus-frontend/antdv";
|
|
2
|
-
import "./utils/index.mjs";
|
|
3
2
|
import "./components/ApDrawerClose.vue.mjs";
|
|
3
|
+
import "./utils/index.mjs";
|
|
4
4
|
import "./interface.mjs";
|
|
5
5
|
import { createDrawer as o } from "./utils/createDrawer.mjs";
|
|
6
6
|
import m from "./components/ApDrawerClose.vue2.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { render as m, defineComponent as g, createVNode as l, mergeProps as b, h as v } from "vue";
|
|
2
2
|
import { Drawer as w } from "@aplus-frontend/antdv";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { omit as P } from "lodash-unified";
|
|
4
|
+
import { getModalGlobalAppContext as y } from "../../ap-modal/utils/util.mjs";
|
|
5
|
+
import { ConfigProvider as A, globalConfigCached as D } from "../../config-provider/config-provider.mjs";
|
|
5
6
|
import "../components/ApDrawerClose.vue.mjs";
|
|
6
|
-
import { getModalGlobalAppContext as D } from "../../ap-modal/utils/util.mjs";
|
|
7
7
|
import O from "../components/ApDrawerClose.vue2.mjs";
|
|
8
8
|
const N = (n) => {
|
|
9
9
|
let o, s;
|
|
@@ -51,8 +51,8 @@ const N = (n) => {
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
render() {
|
|
54
|
-
const e =
|
|
55
|
-
return l(
|
|
54
|
+
const e = P(this.props, ["onClose", "extra", "footer", "visible", "onUpdate:visible", "afterVisibleChange", "onAfterVisibleOChange", "open", "onUpdate:open", "getContainer"]), d = this.props?.content?.component?.exposed ?? void 0, c = () => r ? p() : i();
|
|
55
|
+
return l(A, D.value, {
|
|
56
56
|
default: () => [l(w, b({
|
|
57
57
|
open: this.open,
|
|
58
58
|
onClose: this.handleClose,
|
|
@@ -68,7 +68,7 @@ const N = (n) => {
|
|
|
68
68
|
}
|
|
69
69
|
}), u = n.getContainer || document.body, t = document.createElement("div");
|
|
70
70
|
u.appendChild(t);
|
|
71
|
-
const a = v(C), x =
|
|
71
|
+
const a = v(C), x = y();
|
|
72
72
|
return a.appContext = n.appContext || x || a.appContext, m(a, t), {
|
|
73
73
|
destroy: p,
|
|
74
74
|
update: h,
|
|
@@ -9,7 +9,7 @@ declare const _default: DefineComponent<ApFieldCheckboxProps, {}, {}, {}, {}, Co
|
|
|
9
9
|
}>, {
|
|
10
10
|
mode: FieldMode;
|
|
11
11
|
disabled: boolean;
|
|
12
|
-
emptyText: string;
|
|
13
12
|
options: (string | number | CheckboxOptionType)[];
|
|
13
|
+
emptyText: string;
|
|
14
14
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as g, ref as C, onMounted as V, createElementBlock as l, openBlock as o, Fragment as i, unref as e, createTextVNode as u, toDisplayString as m, createBlock as d, mergeProps as B } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "../../hooks/index.mjs";
|
|
5
|
-
import { getOptionValue as F, getOptionLabel as N } from "./helper.mjs";
|
|
2
|
+
import { Spin as O, CheckboxGroup as T } from "@aplus-frontend/antdv";
|
|
3
|
+
import { isFunction as q, isNil as U, omit as _ } from "lodash-unified";
|
|
6
4
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
5
|
+
import "../../hooks/index.mjs";
|
|
6
|
+
import F from "../hooks/use-options.mjs";
|
|
7
|
+
import N from "../style/index.mjs";
|
|
8
|
+
import { getOptionValue as S, getOptionLabel as A } from "./helper.mjs";
|
|
9
9
|
import { useNamespace as j } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
import { useControllableValue as z } from "../../hooks/useControllableValue.mjs";
|
|
11
11
|
const Q = /* @__PURE__ */ g({
|
|
@@ -31,9 +31,9 @@ const Q = /* @__PURE__ */ g({
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["update:value"],
|
|
33
33
|
setup(c, { emit: f }) {
|
|
34
|
-
const v = f, t = c, { options: p, updateOptions: y } =
|
|
34
|
+
const v = f, t = c, { options: p, updateOptions: y } = F(t), { b: k, m: x } = j("field-checkbox"), h = N("field"), n = C(!1);
|
|
35
35
|
V(() => {
|
|
36
|
-
|
|
36
|
+
q(t.request) && (n.value = !0, t.request().then((a) => y(a)).finally(() => {
|
|
37
37
|
n.value = !1;
|
|
38
38
|
}));
|
|
39
39
|
});
|
|
@@ -45,18 +45,18 @@ const Q = /* @__PURE__ */ g({
|
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
47
|
return (a, D) => a.mode === "read" ? (o(), l(i, { key: 0 }, [
|
|
48
|
-
e(
|
|
48
|
+
e(U)(e(r)) ? (o(), l(i, { key: 0 }, [
|
|
49
49
|
u(m(t.emptyText), 1)
|
|
50
50
|
], 64)) : (o(), l(i, { key: 1 }, [
|
|
51
|
-
u(m(e(p)?.filter((s) => e(r).indexOf(e(
|
|
51
|
+
u(m(e(p)?.filter((s) => e(r).indexOf(e(S)(s)) > -1).map((s) => e(A)(s)).join("、") || t.emptyText), 1)
|
|
52
52
|
], 64))
|
|
53
53
|
], 64)) : (o(), l(i, { key: 1 }, [
|
|
54
|
-
n.value ? (o(), d(e(
|
|
54
|
+
n.value ? (o(), d(e(O), {
|
|
55
55
|
key: 0,
|
|
56
56
|
size: "small"
|
|
57
|
-
})) : (o(), d(e(
|
|
57
|
+
})) : (o(), d(e(T), B(
|
|
58
58
|
{ key: 1 },
|
|
59
|
-
e(
|
|
59
|
+
e(_)(t, [
|
|
60
60
|
"onUpdate:value",
|
|
61
61
|
"value",
|
|
62
62
|
"request",
|
|
@@ -5,7 +5,7 @@ import { CheckboxOptionType } from '@aplus-frontend/antdv';
|
|
|
5
5
|
declare const _default: DefineComponent<ApFieldCheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFieldCheckboxProps> & Readonly<{}>, {
|
|
6
6
|
mode: FieldMode;
|
|
7
7
|
disabled: boolean;
|
|
8
|
-
emptyText: string;
|
|
9
8
|
options: (string | number | CheckboxOptionType)[];
|
|
9
|
+
emptyText: string;
|
|
10
10
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
2
1
|
import { EventValue } from '@aplus-frontend/antdv/es/vc-picker/interface';
|
|
2
|
+
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
3
3
|
import { Dayjs } from 'dayjs';
|
|
4
4
|
export declare const formatDay: (d: Dayjs, f: string, begin?: boolean) => number | null;
|
|
5
5
|
/**
|
|
@@ -35,7 +35,6 @@ declare const __VLS_component: DefineComponent<ApFieldDateProps, {}, {}, {}, {},
|
|
|
35
35
|
disabled: boolean;
|
|
36
36
|
autofocus: boolean;
|
|
37
37
|
bordered: boolean;
|
|
38
|
-
emptyText: string;
|
|
39
38
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
40
39
|
[key: string]: any;
|
|
41
40
|
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
@@ -56,6 +55,7 @@ declare const __VLS_component: DefineComponent<ApFieldDateProps, {}, {}, {}, {},
|
|
|
56
55
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
57
56
|
showToday: boolean;
|
|
58
57
|
showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
|
|
58
|
+
emptyText: string;
|
|
59
59
|
formatBegins: boolean;
|
|
60
60
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
61
61
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as E, computed as r, unref as t, createElementBlock as B, createBlock as y, openBlock as i, Fragment as g, createTextVNode as k, toDisplayString as w, normalizeStyle as N, withCtx as s, createVNode as b, createCommentVNode as j, isRef as I, renderList as P, mergeProps as U, createSlots as H, renderSlot as K, normalizeProps as W, guardReactiveProps as $ } from "vue";
|
|
2
|
-
import u from "dayjs";
|
|
3
2
|
import { InputGroup as G, FormItemRest as L, Select as Y, SelectOption as Z, DatePicker as q } from "@aplus-frontend/antdv";
|
|
4
|
-
import {
|
|
3
|
+
import { getTimeFormatToZone as J } from "@aplus-frontend/utils";
|
|
4
|
+
import u from "dayjs";
|
|
5
|
+
import { isNil as C, omit as Q } from "lodash-unified";
|
|
5
6
|
import "../../hooks/index.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { useDateTimezone as ne } from "../hooks/use-date-timezone.mjs";
|
|
7
|
+
import { useDateTimezone as X } from "../hooks/use-date-timezone.mjs";
|
|
8
|
+
import { useDefaultPlaceholder as ee } from "../hooks/use-default-placeholder.mjs";
|
|
9
|
+
import { ApFieldDatePresetFormats as oe, PRESET_FORMAT_MAP as O, PRESET_FORMAT_PICK_MAP as te, PRESET_FORMAT_TIME_MAP as ae } from "./constant.mjs";
|
|
10
|
+
import { formatDayWithTimezone as ne } from "./helper.mjs";
|
|
11
11
|
import { useControllableValue as le } from "../../hooks/useControllableValue.mjs";
|
|
12
12
|
const he = /* @__PURE__ */ E({
|
|
13
13
|
name: "ApFieldDate",
|
|
@@ -96,19 +96,19 @@ const he = /* @__PURE__ */ E({
|
|
|
96
96
|
const e = S, F = T, { value: f, updateValue: h } = le(
|
|
97
97
|
e,
|
|
98
98
|
F
|
|
99
|
-
), _ =
|
|
100
|
-
() =>
|
|
101
|
-
), A = r(() => e.shownFormat ? e.shownFormat : l.value ?
|
|
102
|
-
() => l.value ?
|
|
99
|
+
), _ = ee("Date", e), { currentTimezone: d } = X(e), l = r(
|
|
100
|
+
() => oe.indexOf(e.format) > -1
|
|
101
|
+
), A = r(() => e.shownFormat ? e.shownFormat : l.value ? O[e.format] : e.format), m = r(
|
|
102
|
+
() => l.value ? O[e.format] : e.format
|
|
103
103
|
), c = r(() => {
|
|
104
|
-
if (
|
|
104
|
+
if (C(t(f)))
|
|
105
105
|
return;
|
|
106
106
|
let o = u(t(f));
|
|
107
|
-
return e.timezone && (o = u(
|
|
108
|
-
}), R = r(() => t(l) ? e.picker ??
|
|
109
|
-
const o = t(l) ?
|
|
107
|
+
return e.timezone && (o = u(J(t(f), d.value))), o;
|
|
108
|
+
}), R = r(() => t(l) ? e.picker ?? te[e.format] : e.picker), M = r(() => {
|
|
109
|
+
const o = t(l) ? ae[e.format] : {};
|
|
110
110
|
return {
|
|
111
|
-
...
|
|
111
|
+
...Q(e, [
|
|
112
112
|
"value",
|
|
113
113
|
"defaultValue",
|
|
114
114
|
"onChange",
|
|
@@ -120,9 +120,9 @@ const he = /* @__PURE__ */ E({
|
|
|
120
120
|
placeholder: t(_),
|
|
121
121
|
...o
|
|
122
122
|
};
|
|
123
|
-
}), v = (o, n, a = !0) =>
|
|
123
|
+
}), v = (o, n, a = !0) => ne(d.value)(o, n, a);
|
|
124
124
|
function D(o) {
|
|
125
|
-
if (
|
|
125
|
+
if (C(o)) {
|
|
126
126
|
h(null);
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
@@ -3,7 +3,7 @@ import { ApFormatPresetType } from './interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { LiteralUnion } from '../../type';
|
|
5
5
|
declare const _default: DefineComponent<ApFieldDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFieldDateProps> & Readonly<{}>, {
|
|
6
|
-
emptyText: string;
|
|
7
6
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
7
|
+
emptyText: string;
|
|
8
8
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, computed as t, toDisplayString as i, unref as d } from "vue";
|
|
2
|
+
import { getTimeFormatToZone as m } from "@aplus-frontend/utils";
|
|
2
3
|
import n from "dayjs";
|
|
3
|
-
import { isNil as
|
|
4
|
-
import { getTimeFormatToZone as c } from "@aplus-frontend/utils";
|
|
4
|
+
import { isNil as c } from "lodash-unified";
|
|
5
5
|
import { useDateTimezone as f } from "../hooks/use-date-timezone.mjs";
|
|
6
6
|
import { ApFieldDatePresetFormats as y, PRESET_FORMAT_MAP as B } from "./constant.mjs";
|
|
7
7
|
const S = /* @__PURE__ */ u({
|
|
@@ -92,10 +92,10 @@ const S = /* @__PURE__ */ u({
|
|
|
92
92
|
), s = t(
|
|
93
93
|
() => p.value ? B[e.format] : e.format
|
|
94
94
|
), a = t(() => {
|
|
95
|
-
if (
|
|
95
|
+
if (c(e.value))
|
|
96
96
|
return;
|
|
97
97
|
let o = n(e.value);
|
|
98
|
-
return e.timezone && (o = n(
|
|
98
|
+
return e.timezone && (o = n(m(e.value, r.value))), o;
|
|
99
99
|
});
|
|
100
100
|
return (o, h) => i(a.value ? d(n)(a.value).format(s.value) : o.emptyText);
|
|
101
101
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApFieldDateRangeProps } from '../interface';
|
|
2
1
|
import { ApFormatPresetType } from '../date/interface';
|
|
2
|
+
import { ApFieldDateRangeProps } from '../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, VNode, RendererNode, RendererElement, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { FieldMode } from '..';
|
|
5
5
|
import { LiteralUnion } from '../../type';
|
|
@@ -43,7 +43,6 @@ declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}
|
|
|
43
43
|
disabled: boolean | [boolean, boolean];
|
|
44
44
|
autofocus: boolean;
|
|
45
45
|
bordered: boolean;
|
|
46
|
-
emptyText: string;
|
|
47
46
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
48
47
|
[key: string]: any;
|
|
49
48
|
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
@@ -62,6 +61,7 @@ declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}
|
|
|
62
61
|
defaultOpen: boolean;
|
|
63
62
|
inputReadOnly: boolean;
|
|
64
63
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
64
|
+
emptyText: string;
|
|
65
65
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
66
66
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
67
67
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as L, useSlots as Y, computed as s, unref as t, isVNode as Z, createVNode as O, Fragment as m, createElementBlock as g, createBlock as k, openBlock as u, createTextVNode as S, toDisplayString as C, resolveDynamicComponent as q, normalizeStyle as J, withCtx as B, createCommentVNode as Q, isRef as X, renderList as w, mergeProps as ee, createSlots as oe, renderSlot as te, normalizeProps as ne, guardReactiveProps as ae } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
2
|
+
import { SwapRightOutlined as re } from "@ant-design/icons-vue";
|
|
3
|
+
import { InputGroup as le, Select as ue, SelectOption as de, DatePicker as ie } from "@aplus-frontend/antdv";
|
|
4
|
+
import { getTimeFormatToZone as T } from "@aplus-frontend/utils";
|
|
5
5
|
import d from "dayjs";
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
6
|
+
import { isNil as M, omit as b, isString as c, isFunction as se } from "lodash-unified";
|
|
7
|
+
import "../../hooks/index.mjs";
|
|
8
|
+
import { omitUndefined as pe } from "../../utils/index.mjs";
|
|
9
|
+
import { ApFieldDatePresetFormats as fe, PRESET_FORMAT_MAP as A, PRESET_FORMAT_PICK_MAP as me, PRESET_FORMAT_TIME_MAP as ce } from "../date/constant.mjs";
|
|
10
|
+
import { formatDayWithTimezone as ye } from "../date/helper.mjs";
|
|
11
|
+
import { useDateTimezone as ve } from "../hooks/use-date-timezone.mjs";
|
|
12
|
+
import { useDefaultPlaceholder as he } from "../hooks/use-default-placeholder.mjs";
|
|
13
|
+
import { useDefaultPresets as ge } from "../hooks/use-default-presets.mjs";
|
|
14
14
|
import { useControllableValue as ke } from "../../hooks/useControllableValue.mjs";
|
|
15
15
|
const ze = /* @__PURE__ */ L({
|
|
16
16
|
name: "ApFieldDateRange",
|
|
@@ -164,27 +164,27 @@ const ze = /* @__PURE__ */ L({
|
|
|
164
164
|
setup(R, {
|
|
165
165
|
emit: F
|
|
166
166
|
}) {
|
|
167
|
-
const o = R, _ = F, z = Y(), i = s(() =>
|
|
167
|
+
const o = R, _ = F, z = Y(), i = s(() => fe.indexOf(o.format) > -1), y = s(() => i.value ? A[o.format] : o.format), {
|
|
168
168
|
value: v,
|
|
169
169
|
updateValue: P
|
|
170
|
-
} = ke(o, _), N = s(() => o.shownFormat ? o.shownFormat : i.value ?
|
|
170
|
+
} = ke(o, _), N = s(() => o.shownFormat ? o.shownFormat : i.value ? A[o.format] : o.format), x = he("DateRange", o), {
|
|
171
171
|
currentTimezone: l
|
|
172
|
-
} =
|
|
172
|
+
} = ve(o), {
|
|
173
173
|
presets: E,
|
|
174
174
|
changeCurrentDate: V
|
|
175
|
-
} =
|
|
175
|
+
} = ge({
|
|
176
176
|
...o,
|
|
177
177
|
timezone: l
|
|
178
|
-
}), p = (e, a, n = !0) =>
|
|
178
|
+
}), p = (e, a, n = !0) => ye(l.value)(e, a, n), h = s(() => {
|
|
179
179
|
const e = t(v);
|
|
180
180
|
if (M(e) || !e?.length)
|
|
181
181
|
return e;
|
|
182
|
-
const a = l.value ?
|
|
182
|
+
const a = l.value ? T(t(v)[0], l.value) : t(v)?.[0], n = o.timezone ? T(t(v)[1], l.value) : t(v)?.[1];
|
|
183
183
|
return [d(a), d(n)];
|
|
184
|
-
}), I = s(() => t(i) ? o.picker ??
|
|
185
|
-
const e = t(i) ?
|
|
184
|
+
}), I = s(() => t(i) ? o.picker ?? me[o.format] : o.picker), U = s(() => {
|
|
185
|
+
const e = t(i) ? ce[o.format] : {};
|
|
186
186
|
return {
|
|
187
|
-
...
|
|
187
|
+
...pe(b(o, ["value", "onUpdate:value", "onChange", "onOk", "format", "mode", "presets"])),
|
|
188
188
|
placeholder: t(x),
|
|
189
189
|
presets: t(E),
|
|
190
190
|
...e
|
|
@@ -217,9 +217,9 @@ const ze = /* @__PURE__ */ L({
|
|
|
217
217
|
const $ = s(() => {
|
|
218
218
|
const e = o.readModeSeparator;
|
|
219
219
|
if (e)
|
|
220
|
-
return Z(e) ||
|
|
220
|
+
return Z(e) || se(e) ? o.readModeSeparator : O(m, null, [o.readModeSeparator]);
|
|
221
221
|
const a = z.readModeSeparator?.();
|
|
222
|
-
return a ? O(m, null, [a]) :
|
|
222
|
+
return a ? O(m, null, [a]) : re;
|
|
223
223
|
});
|
|
224
224
|
return (e, a) => e.mode === "read" ? (u(), g(m, {
|
|
225
225
|
key: 0
|
|
@@ -227,21 +227,21 @@ const ze = /* @__PURE__ */ L({
|
|
|
227
227
|
key: 0
|
|
228
228
|
}, [S(C(h.value[0]?.format(y.value)) + " ", 1), (u(), k(q($.value))), S(" " + C(h.value[1]?.format(y.value)), 1)], 64)) : (u(), g(m, {
|
|
229
229
|
key: 1
|
|
230
|
-
}, [S(C(e.emptyText), 1)], 64))], 64)) : (u(), k(t(
|
|
230
|
+
}, [S(C(e.emptyText), 1)], 64))], 64)) : (u(), k(t(le), {
|
|
231
231
|
key: 1,
|
|
232
232
|
compact: "",
|
|
233
233
|
style: J({
|
|
234
234
|
display: Array.isArray(o.timezone) && o.timezone.length ? "flex" : "block"
|
|
235
235
|
})
|
|
236
236
|
}, {
|
|
237
|
-
default: B(() => [Array.isArray(o.timezone) && o.timezone.length ? (u(), k(t(
|
|
237
|
+
default: B(() => [Array.isArray(o.timezone) && o.timezone.length ? (u(), k(t(ue), {
|
|
238
238
|
key: 0,
|
|
239
239
|
value: t(l),
|
|
240
240
|
"onUpdate:value": a[0] || (a[0] = (n) => X(l) ? l.value = n : null),
|
|
241
241
|
"default-active-first-option": "",
|
|
242
242
|
"dropdown-match-select-width": !1
|
|
243
243
|
}, {
|
|
244
|
-
default: B(() => [(u(!0), g(m, null, w(o.timezone, (n) => (u(), k(t(
|
|
244
|
+
default: B(() => [(u(!0), g(m, null, w(o.timezone, (n) => (u(), k(t(de), {
|
|
245
245
|
key: n?.value,
|
|
246
246
|
value: n?.value
|
|
247
247
|
}, {
|
|
@@ -249,7 +249,7 @@ const ze = /* @__PURE__ */ L({
|
|
|
249
249
|
_: 2
|
|
250
250
|
}, 1032, ["value"]))), 128))]),
|
|
251
251
|
_: 1
|
|
252
|
-
}, 8, ["value"])) : Q("", !0), O(t(
|
|
252
|
+
}, 8, ["value"])) : Q("", !0), O(t(ie).RangePicker, ee(U.value, {
|
|
253
253
|
value: h.value,
|
|
254
254
|
picker: I.value,
|
|
255
255
|
format: N.value,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ApFieldDateRangeProps } from '../interface';
|
|
2
1
|
import { ApFormatPresetType } from '../date/interface';
|
|
2
|
+
import { ApFieldDateRangeProps } from '../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { LiteralUnion } from '../../type';
|
|
5
5
|
declare const _default: DefineComponent<ApFieldDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFieldDateRangeProps> & Readonly<{}>, {
|
|
6
|
-
emptyText: string;
|
|
7
6
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
7
|
+
emptyText: string;
|
|
8
8
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as v, computed as n, createElementBlock as d, openBlock as r, Fragment as i, createTextVNode as l, createBlock as b, toDisplayString as p, resolveDynamicComponent as h } from "vue";
|
|
2
|
-
import { isNil as g } from "lodash-unified";
|
|
3
|
-
import { useDateTimezone as w } from "../hooks/use-date-timezone.mjs";
|
|
4
2
|
import { getTimeFormatToZone as m } from "@aplus-frontend/utils";
|
|
5
3
|
import c from "dayjs";
|
|
6
|
-
import {
|
|
4
|
+
import { isNil as g } from "lodash-unified";
|
|
5
|
+
import { ApFieldDatePresetFormats as w, PRESET_FORMAT_MAP as C } from "../date/constant.mjs";
|
|
6
|
+
import { useDateTimezone as S } from "../hooks/use-date-timezone.mjs";
|
|
7
7
|
const M = /* @__PURE__ */ v({
|
|
8
8
|
name: "ApFieldDateRangeRead",
|
|
9
9
|
__name: "read",
|
|
@@ -89,7 +89,7 @@ const M = /* @__PURE__ */ v({
|
|
|
89
89
|
presets: { type: [Array, Boolean] }
|
|
90
90
|
},
|
|
91
91
|
setup(y) {
|
|
92
|
-
const e = y, { currentTimezone: a } =
|
|
92
|
+
const e = y, { currentTimezone: a } = S(e), t = n(() => {
|
|
93
93
|
const o = e.value;
|
|
94
94
|
if (g(o) || !o?.length)
|
|
95
95
|
return o;
|
|
@@ -102,9 +102,9 @@ const M = /* @__PURE__ */ v({
|
|
|
102
102
|
) : e.value?.[1];
|
|
103
103
|
return [c(s), c(B)];
|
|
104
104
|
}), f = n(
|
|
105
|
-
() =>
|
|
105
|
+
() => w.indexOf(e.format) > -1
|
|
106
106
|
), u = n(
|
|
107
|
-
() => f.value ?
|
|
107
|
+
() => f.value ? C[e.format] : e.format
|
|
108
108
|
);
|
|
109
109
|
return (o, s) => t.value ? (r(), d(i, { key: 0 }, [
|
|
110
110
|
l(p(t.value[0]?.format(u.value)) + " ", 1),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { isUndefined as o } from "lodash-unified";
|
|
2
|
+
import { ref as m, watch as u } from "vue";
|
|
3
3
|
const n = (e) => Array.isArray(e) ? e[0]?.value : e, c = (e) => {
|
|
4
|
-
const r =
|
|
5
|
-
return
|
|
4
|
+
const r = m(n(e.timezone));
|
|
5
|
+
return u(
|
|
6
6
|
() => e.timezone,
|
|
7
7
|
(t, i) => {
|
|
8
|
-
|
|
8
|
+
o(i) && (r.value = n(t));
|
|
9
9
|
}
|
|
10
10
|
), {
|
|
11
11
|
currentTimezone: r
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
1
3
|
import { Ref, ComputedRef } from 'vue';
|
|
2
4
|
import { ApFieldDateRangeProps, BasicApFieldProps } from '../interface';
|
|
3
|
-
import { Dayjs } from 'dayjs';
|
|
4
|
-
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
5
5
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
export declare const useDefaultPresets: (props: BasicApFieldProps<{
|
|
7
7
|
disabledDate?: (date: Dayjs) => boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ref as s, computed as n } from "vue";
|
|
2
|
-
import { presetsDefault as o } from "../../utils/data-range-persets.mjs";
|
|
3
1
|
import u from "dayjs";
|
|
2
|
+
import { ref as s, computed as n } from "vue";
|
|
4
3
|
import "../../config-provider/index.mjs";
|
|
4
|
+
import { presetsDefault as o } from "../../utils/data-range-persets.mjs";
|
|
5
5
|
import { useLocale as f } from "../../config-provider/hooks/use-locale.mjs";
|
|
6
6
|
const p = (e) => {
|
|
7
7
|
const a = s(u().valueOf()), { t: l } = f();
|