@aplus-frontend/ui 7.5.0 → 7.7.0
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 +200 -198
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.mjs +20 -20
- package/es/src/ag-grid/hooks/use-columns-def.mjs +32 -31
- package/es/src/ag-grid/hooks/use-editable-api.mjs +9 -8
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +26 -25
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +11 -10
- package/es/src/ag-grid/index.vue.mjs +37 -36
- package/es/src/ag-grid/renderer/number.mjs +7 -7
- package/es/src/ag-grid/style/custom-header.mjs +3 -3
- package/es/src/ag-grid/style/index.mjs +1 -1
- package/es/src/ap-action/style/index.mjs +1 -1
- package/es/src/ap-drawer/style/index.mjs +12 -12
- package/es/src/ap-field/date/index.vue.mjs +14 -14
- package/es/src/ap-field/date/read.vue2.mjs +3 -3
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/date-range/read.vue2.mjs +3 -3
- package/es/src/ap-field/hooks/use-default-placeholder.mjs +5 -4
- package/es/src/ap-field/number/helper.mjs +1 -1
- package/es/src/ap-field/number/index.vue.mjs +9 -9
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/style/checkbox.d.ts +2 -2
- package/es/src/ap-field/style/number.d.ts +2 -2
- package/es/src/ap-field/style/radio.d.ts +2 -2
- package/es/src/ap-field/style/textarea.d.ts +2 -2
- package/es/src/ap-field/switch/index.vue.mjs +4 -3
- package/es/src/ap-form/ap-form.vue2.mjs +18 -17
- package/es/src/ap-form/item/index.vue.mjs +6 -6
- package/es/src/ap-form/item-group/helper.mjs +8 -7
- package/es/src/ap-form/item-group/index.vue.mjs +15 -14
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +24 -22
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +4 -1
- package/es/src/ap-form/search-form/hooks/use-sorter.mjs +9 -8
- package/es/src/ap-form/search-form/index.vue.mjs +12 -11
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-form/style/item.mjs +15 -15
- package/es/src/ap-form/style/modal-form.mjs +2 -1
- package/es/src/ap-form/style/search-form-sorter.mjs +1 -1
- package/es/src/ap-form/style/search-form.d.ts +7 -1
- package/es/src/ap-form/style/search-form.mjs +37 -34
- package/es/src/ap-grid/editable/form-item.vue.mjs +11 -10
- package/es/src/ap-grid/editable/index.vue.mjs +42 -41
- package/es/src/ap-grid/index.vue.mjs +14 -13
- package/es/src/ap-grid/style/editable.mjs +7 -7
- package/es/src/ap-grid/style/index.mjs +11 -11
- package/es/src/ap-grid/utils/table.mjs +14 -13
- package/es/src/ap-list/hooks/use-offline-list.d.ts +2 -2
- package/es/src/ap-list/hooks/use-offline-list.mjs +13 -12
- package/es/src/ap-list/style/index.mjs +1 -1
- package/es/src/ap-pro-card/style/divider.mjs +2 -2
- package/es/src/ap-pro-card/style/index.mjs +14 -14
- package/es/src/ap-pro-card/style/operation.mjs +1 -2
- package/es/src/ap-pro-card/style/statistic.mjs +12 -12
- package/es/src/ap-pro-card/style/statistics-card.mjs +13 -13
- package/es/src/ap-pro-card/style/title.mjs +13 -33
- package/es/src/ap-table/ap-table.vue2.mjs +4 -3
- package/es/src/ap-table/constants.d.ts +5 -5
- package/es/src/ap-table/hooks/use-table-column-state.mjs +23 -22
- 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 +4 -3
- package/es/src/ap-table/style/index-comp.d.ts +2 -1
- package/es/src/ap-table/style/index-comp.mjs +15 -12
- package/es/src/ap-table/style/index.d.ts +3 -0
- package/es/src/ap-table/style/index.mjs +14 -11
- package/es/src/ap-table/style/setting.d.ts +2 -1
- package/es/src/ap-table/style/setting.mjs +73 -61
- package/es/src/ap-table/utils.mjs +61 -62
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +15 -15
- package/es/src/business/ag-grid-modal/style/index.d.ts +3 -0
- package/es/src/business/ag-grid-modal/style/index.mjs +24 -20
- package/es/src/business/ag-grid-modal/style/selected-items.mjs +8 -8
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +26 -27
- package/es/src/business/ap-appendix/style/index.mjs +20 -21
- package/es/src/business/ap-attachment/style/index.d.ts +6 -0
- package/es/src/business/ap-attachment/style/index.mjs +28 -25
- package/es/src/business/ap-batch-action/style/index.d.ts +2 -2
- package/es/src/business/ap-batch-action/style/index.mjs +18 -18
- package/es/src/business/ap-card/style/index.d.ts +2 -2
- package/es/src/business/ap-card/style/index.mjs +8 -8
- package/es/src/business/ap-copy/style/index.mjs +16 -22
- package/es/src/business/ap-descriptions/formatter/index.mjs +1 -1
- package/es/src/business/ap-descriptions/style/index.mjs +8 -6
- package/es/src/business/ap-download/style/index.mjs +4 -4
- package/es/src/business/ap-draggable-grid/style/index.mjs +7 -7
- package/es/src/business/ap-expand-alert/style/index.mjs +30 -26
- package/es/src/business/ap-image/style/index.d.ts +2 -2
- package/es/src/business/ap-image/style/index.mjs +8 -7
- package/es/src/business/ap-input-radio/style/index.mjs +1 -1
- package/es/src/business/ap-label/style/index.d.ts +14 -0
- package/es/src/business/ap-label/style/index.mjs +29 -19
- package/es/src/business/ap-ladder/style/index.mjs +7 -6
- package/es/src/business/ap-product-info/style/index.d.ts +10 -0
- package/es/src/business/ap-product-info/style/index.mjs +35 -28
- package/es/src/business/ap-radio-group/style/index.mjs +3 -3
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +6 -6
- package/es/src/business/ap-select-layout/style/index.d.ts +6 -0
- package/es/src/business/ap-select-layout/style/index.mjs +59 -53
- package/es/src/business/ap-size-input/style/index.mjs +3 -3
- package/es/src/business/ap-status/style/index.mjs +1 -1
- package/es/src/business/ap-summary/style/index.d.ts +10 -0
- package/es/src/business/ap-summary/style/index.mjs +18 -11
- package/es/src/business/ap-table-modal/style/index.d.ts +11 -1
- package/es/src/business/ap-table-modal/style/index.mjs +17 -12
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +2 -2
- package/es/src/business/ap-tag/style/index.mjs +33 -31
- package/es/src/business/ap-title/style/index.d.ts +2 -1
- package/es/src/business/ap-title/style/index.mjs +41 -49
- package/es/src/business/ap-upload/style/index.mjs +10 -5
- package/es/src/business/ap-upload/style/multiple-file.d.ts +2 -2
- package/es/src/business/ap-upload/style/multiple-file.mjs +8 -7
- package/es/src/business/ap-upload/style/picture.d.ts +3 -2
- package/es/src/business/ap-upload/style/picture.mjs +26 -26
- package/es/src/business/ap-upload/style/single-file.d.ts +3 -2
- package/es/src/business/ap-upload/style/single-file.mjs +30 -29
- package/es/src/business/ap-upload/style/token.d.ts +19 -0
- package/es/src/business/ap-upload/style/token.mjs +9 -0
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +24 -2
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.mjs +51 -42
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-value-select-card/style/index.mjs +45 -43
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +14 -14
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +35 -34
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/ap-view/style/index.d.ts +6 -2
- package/es/src/business/ap-view/style/index.mjs +43 -35
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.mjs +23 -22
- package/es/src/business/batch-input-group/style/index.mjs +2 -2
- package/es/src/check-card/style/index.mjs +17 -17
- package/es/src/design-token/constants.mjs +9 -1
- package/es/src/design-token/interface.d.ts +139 -12
- package/es/src/editable-table/form-item.vue.mjs +4 -3
- package/es/src/editable-table/index.vue.mjs +4 -3
- package/es/src/editable-table/style/index.mjs +11 -11
- package/es/src/editable-table/utils.d.ts +1 -1
- package/es/src/editable-table/utils.mjs +27 -26
- package/es/src/highlight/index.d.ts +3 -0
- package/es/src/highlight/index.mjs +2 -0
- package/es/src/highlight/index.vue.d.ts +31 -0
- package/es/src/highlight/index.vue.mjs +49 -0
- package/es/src/highlight/index.vue2.mjs +4 -0
- package/es/src/highlight/interface.d.ts +14 -0
- package/es/src/highlight/interface.mjs +1 -0
- package/es/src/highlight/style/index.d.ts +8 -0
- package/es/src/highlight/style/index.mjs +23 -0
- package/es/src/hooks/useMessage.mjs +4 -4
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +296 -293
- package/es/src/loading-bar/index.vue2.mjs +4 -3
- package/es/src/loading-bar/style/index.mjs +10 -10
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +10 -9
- package/es/src/scroll-view/index.vue.mjs +4 -3
- package/es/src/splitter/style/index.mjs +11 -11
- package/es/src/text/index.vue.mjs +8 -7
- package/es/src/time-ago/index.vue.mjs +17 -16
- package/es/src/time-ago/useTimeAgo.mjs +31 -30
- package/es/src/utils/cssinjs/TokenUtil.d.ts +1 -0
- package/es/src/utils/cssinjs/TokenUtil.mjs +3 -0
- package/es/src/utils/decimal.d.ts +36 -0
- package/es/src/utils/decimal.mjs +45 -0
- package/es/src/utils/format.d.ts +21 -0
- package/es/src/utils/format.mjs +32 -0
- package/es/src/utils/index.d.ts +2 -1
- package/es/src/utils/index.mjs +20 -22
- package/es/src/utils/is.d.ts +54 -0
- package/es/src/utils/is.mjs +26 -0
- package/es/src/utils/slot.mjs +1 -2
- 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/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +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.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/renderer/number.js +1 -1
- package/lib/src/ag-grid/style/custom-header.js +1 -1
- package/lib/src/ag-grid/style/index.js +1 -1
- package/lib/src/ap-action/style/index.js +1 -1
- package/lib/src/ap-drawer/style/index.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-default-placeholder.js +1 -1
- package/lib/src/ap-field/number/helper.js +1 -1
- 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/style/checkbox.d.ts +2 -2
- package/lib/src/ap-field/style/number.d.ts +2 -2
- package/lib/src/ap-field/style/radio.d.ts +2 -2
- package/lib/src/ap-field/style/textarea.d.ts +2 -2
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/helper.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- 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-sorter.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/style/modal-form.js +1 -1
- package/lib/src/ap-form/style/search-form-sorter.js +1 -1
- package/lib/src/ap-form/style/search-form.d.ts +7 -1
- package/lib/src/ap-form/style/search-form.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/style/editable.js +1 -1
- package/lib/src/ap-grid/style/index.js +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +2 -2
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/style/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/index.js +1 -1
- package/lib/src/ap-pro-card/style/operation.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-pro-card/style/title.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/hooks/use-table-column-state.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/style/index-comp.d.ts +2 -1
- package/lib/src/ap-table/style/index-comp.js +1 -1
- package/lib/src/ap-table/style/index.d.ts +3 -0
- package/lib/src/ap-table/style/index.js +1 -1
- package/lib/src/ap-table/style/setting.d.ts +2 -1
- package/lib/src/ap-table/style/setting.js +1 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/style/index.d.ts +3 -0
- package/lib/src/business/ag-grid-modal/style/index.js +1 -1
- package/lib/src/business/ag-grid-modal/style/selected-items.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-appendix/style/index.js +1 -1
- package/lib/src/business/ap-attachment/style/index.d.ts +6 -0
- package/lib/src/business/ap-attachment/style/index.js +1 -1
- package/lib/src/business/ap-batch-action/style/index.d.ts +2 -2
- package/lib/src/business/ap-batch-action/style/index.js +1 -1
- package/lib/src/business/ap-card/style/index.d.ts +2 -2
- package/lib/src/business/ap-card/style/index.js +1 -1
- package/lib/src/business/ap-copy/style/index.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/style/index.js +1 -1
- package/lib/src/business/ap-download/style/index.js +1 -1
- package/lib/src/business/ap-draggable-grid/style/index.js +1 -1
- package/lib/src/business/ap-expand-alert/style/index.js +1 -1
- package/lib/src/business/ap-image/style/index.d.ts +2 -2
- package/lib/src/business/ap-image/style/index.js +1 -1
- package/lib/src/business/ap-input-radio/style/index.js +1 -1
- package/lib/src/business/ap-label/style/index.d.ts +14 -0
- package/lib/src/business/ap-label/style/index.js +1 -1
- package/lib/src/business/ap-ladder/style/index.js +1 -1
- package/lib/src/business/ap-product-info/style/index.d.ts +10 -0
- package/lib/src/business/ap-product-info/style/index.js +1 -1
- package/lib/src/business/ap-radio-group/style/index.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-select-layout/style/index.d.ts +6 -0
- package/lib/src/business/ap-select-layout/style/index.js +1 -1
- package/lib/src/business/ap-size-input/style/index.js +1 -1
- package/lib/src/business/ap-status/style/index.js +1 -1
- package/lib/src/business/ap-summary/style/index.d.ts +10 -0
- package/lib/src/business/ap-summary/style/index.js +1 -1
- package/lib/src/business/ap-table-modal/style/index.d.ts +11 -1
- package/lib/src/business/ap-table-modal/style/index.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/style/index.js +1 -1
- package/lib/src/business/ap-title/style/index.d.ts +2 -1
- package/lib/src/business/ap-title/style/index.js +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload/style/multiple-file.d.ts +2 -2
- package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
- package/lib/src/business/ap-upload/style/picture.d.ts +3 -2
- package/lib/src/business/ap-upload/style/picture.js +1 -1
- package/lib/src/business/ap-upload/style/single-file.d.ts +3 -2
- package/lib/src/business/ap-upload/style/single-file.js +1 -1
- package/lib/src/business/ap-upload/style/token.d.ts +19 -0
- package/lib/src/business/ap-upload/style/token.js +1 -0
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +24 -2
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.js +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.js +1 -1
- package/lib/src/business/ap-value-select-card/style/index.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/icons/line-delete.vue.js +1 -1
- package/lib/src/business/ap-view/icons/line-down.vue.js +1 -1
- package/lib/src/business/ap-view/icons/line-eye.vue.js +1 -1
- package/lib/src/business/ap-view/style/index.d.ts +6 -2
- package/lib/src/business/ap-view/style/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/style/index.js +1 -1
- package/lib/src/check-card/style/index.js +1 -1
- package/lib/src/design-token/constants.js +1 -1
- package/lib/src/design-token/interface.d.ts +139 -12
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/style/index.js +1 -1
- package/lib/src/editable-table/utils.d.ts +1 -1
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/highlight/index.d.ts +3 -0
- package/lib/src/highlight/index.js +1 -0
- package/lib/src/highlight/index.vue.d.ts +31 -0
- package/lib/src/highlight/index.vue.js +1 -0
- package/lib/src/highlight/index.vue2.js +1 -0
- package/lib/src/highlight/interface.d.ts +14 -0
- package/lib/src/highlight/interface.js +1 -0
- package/lib/src/highlight/style/index.d.ts +8 -0
- package/lib/src/highlight/style/index.js +1 -0
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/loading-bar/style/index.js +3 -3
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/splitter/style/index.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/time-ago/useTimeAgo.js +1 -1
- package/lib/src/utils/cssinjs/TokenUtil.d.ts +1 -0
- package/lib/src/utils/cssinjs/TokenUtil.js +1 -1
- package/lib/src/utils/decimal.d.ts +36 -0
- package/lib/src/utils/decimal.js +1 -0
- package/lib/src/utils/format.d.ts +21 -0
- package/lib/src/utils/format.js +1 -0
- package/lib/src/utils/index.d.ts +2 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/utils/is.d.ts +54 -0
- package/lib/src/utils/is.js +1 -0
- package/lib/src/utils/slot.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +6 -6
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +0 -3
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +0 -18
- package/es/src/utils/copy-text-to-clipboard.d.ts +0 -1
- package/es/src/utils/tree.d.ts +0 -38
- package/es/src/utils/uuid.d.ts +0 -2
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +0 -3
- package/lib/src/business/ap-appendix/icons/file-icon.vue.js +0 -1
- package/lib/src/utils/copy-text-to-clipboard.d.ts +0 -1
- package/lib/src/utils/tree.d.ts +0 -38
- package/lib/src/utils/uuid.d.ts +0 -2
package/es/index.mjs
CHANGED
|
@@ -3,16 +3,16 @@ import p from "./src/version.mjs";
|
|
|
3
3
|
import "./src/hooks/index.mjs";
|
|
4
4
|
import { configProviderProps as s } from "./src/config-provider/config-provider-props.mjs";
|
|
5
5
|
import { DEFAULT_NAMESPACE as A, DEFAULT_UIMODE as i, configProviderContextKey as n } from "./src/config-provider/constants.mjs";
|
|
6
|
-
import { keysOf as F, provideGlobalConfig as
|
|
6
|
+
import { keysOf as F, provideGlobalConfig as g, useGlobalConfig as I } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
7
|
import { buildLocaleContext as S, buildTranslator as b, localeContextKey as C, translate as G, useLocale as D } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
-
import { defaultNamespace as
|
|
8
|
+
import { defaultNamespace as E, namespaceContextKey as P, useGetDerivedNamespace as L, useNamespace as R } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { ConfigProvider as v, globalConfigCached as M } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as w } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { ApFormItemText as K } from "./src/ap-form/items/text/index.mjs";
|
|
12
12
|
import { default as U } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
13
13
|
import { default as V } from "./src/ap-form/items/number/index.vue.mjs";
|
|
14
14
|
import { default as _ } from "./src/ap-form/items/date/index.vue.mjs";
|
|
15
|
-
import { default as
|
|
15
|
+
import { default as $ } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
16
16
|
import { default as W } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
17
17
|
import { default as J } from "./src/ap-form/items/select/index.vue.mjs";
|
|
18
18
|
import { default as X } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
@@ -26,11 +26,11 @@ import { default as se } from "./src/ap-form/list/index.vue.mjs";
|
|
|
26
26
|
import { default as Ae } from "./src/ap-form/search-form/index.vue.mjs";
|
|
27
27
|
import { default as ne } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
28
28
|
import { default as Fe } from "./src/ap-form/dependency/index.vue.mjs";
|
|
29
|
-
import { default as
|
|
29
|
+
import { default as Ie } from "./src/ap-form/set/index.vue.mjs";
|
|
30
30
|
import { default as Se } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
31
31
|
import { default as Ce } from "./src/ap-form/render/control.vue.mjs";
|
|
32
32
|
import { default as De } from "./src/ap-form/render/item.vue.mjs";
|
|
33
|
-
import { default as
|
|
33
|
+
import { default as Ee } from "./src/ap-form/provider/index.vue.mjs";
|
|
34
34
|
import { ApField as Le, ApFieldRead as Re } from "./src/ap-field/index.mjs";
|
|
35
35
|
import { ApFieldText as ve } from "./src/ap-field/text/index.mjs";
|
|
36
36
|
import { default as ye } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
@@ -38,8 +38,8 @@ import { default as Be } from "./src/ap-field/date/index.vue.mjs";
|
|
|
38
38
|
import { default as ke } from "./src/ap-field/number/index.vue.mjs";
|
|
39
39
|
import { default as Oe } from "./src/ap-field/radio/index.vue.mjs";
|
|
40
40
|
import { default as ze } from "./src/ap-field/switch/index.vue.mjs";
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
41
|
+
import { default as He } from "./src/ap-field/text-area/index.vue.mjs";
|
|
42
|
+
import { default as je } from "./src/ap-field/date-range/index.vue.mjs";
|
|
43
43
|
import { default as qe } from "./src/ap-field/select/index.vue.mjs";
|
|
44
44
|
import { default as Qe } from "./src/ap-field/text/password.vue.mjs";
|
|
45
45
|
import { default as Ye } from "./src/ap-field/slider/index.vue.mjs";
|
|
@@ -51,12 +51,12 @@ import { ApActionItem as xo } from "./src/ap-action/index.mjs";
|
|
|
51
51
|
import { default as uo } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
52
52
|
import { default as io } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
53
53
|
import { default as co } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
54
|
-
import { default as
|
|
54
|
+
import { default as go } from "./src/ap-action/group/index.vue.mjs";
|
|
55
55
|
import { CheckCard as To } from "./src/check-card/index.mjs";
|
|
56
56
|
import { default as bo } from "./src/check-card/group.vue.mjs";
|
|
57
57
|
import { ApModal as Go } from "./src/ap-modal/index.mjs";
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
58
|
+
import { default as ho } from "./src/ap-list/index.vue.mjs";
|
|
59
|
+
import { default as Po } from "./src/ap-button/ap-button.vue.mjs";
|
|
60
60
|
import { default as Ro } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
61
61
|
import { default as vo } from "./src/ap-button/ap-confirm-button.vue.mjs";
|
|
62
62
|
import { ApDrawer as yo } from "./src/ap-drawer/index.mjs";
|
|
@@ -64,91 +64,92 @@ import { ApProCard as Bo, ApStatisticCard as Ko } from "./src/ap-pro-card/index.
|
|
|
64
64
|
import { LoadingBar as Uo } from "./src/loading-bar/index.mjs";
|
|
65
65
|
import { default as Vo } from "./src/render/render.mjs";
|
|
66
66
|
import { default as _o } from "./src/time-ago/index.vue.mjs";
|
|
67
|
-
import { default as
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import { default as pt } from "./src/business/
|
|
99
|
-
import { default as ft } from "./src/business/batch-input-group/
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import { default as _t } from "./src/business/ap-tag/ap-tag
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import { default as Zt } from "./src/business/ap-
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import { default as mp } from "./src/editable-table/
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import { default as Ap } from "./src/scroll-bar/
|
|
130
|
-
import { default as np } from "./src/scroll-
|
|
131
|
-
import { default as Fp } from "./src/
|
|
132
|
-
import { default as
|
|
133
|
-
import { default as Sp } from "./src/
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import { default as Lp } from "./src/ap-grid/
|
|
138
|
-
import { default as Np } from "./src/ap-grid/editable/
|
|
139
|
-
import { default as Mp } from "./src/
|
|
140
|
-
import { default as wp } from "./src/text/
|
|
141
|
-
import { default as Kp } from "./src/
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import { default as _p } from "./src/ag-grid/
|
|
145
|
-
import { default as
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
67
|
+
import { default as $o } from "./src/time-ago/useTimeAgo.mjs";
|
|
68
|
+
import { default as Wo } from "./src/highlight/index.vue.mjs";
|
|
69
|
+
import { ApTransformDataHelper as Jo } from "./src/utils/ap-trans-data/index.mjs";
|
|
70
|
+
import { default as Xo } from "./src/business/ap-table-modal/index.mjs";
|
|
71
|
+
import { useTableModal as Zo } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
72
|
+
import { useTableSelectModal as or } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
73
|
+
import { ApAttachment as tr } from "./src/business/ap-attachment/index.mjs";
|
|
74
|
+
import { ApBatchAction as ar } from "./src/business/ap-batch-action/index.mjs";
|
|
75
|
+
import { ApBatchActionGroup as mr } from "./src/business/ap-batch-action-group/index.mjs";
|
|
76
|
+
import { ApButtonGroup as xr } from "./src/business/ap-button-group/index.mjs";
|
|
77
|
+
import { ApCard as sr } from "./src/business/ap-card/index.mjs";
|
|
78
|
+
import { ApExpandAlert as Ar } from "./src/business/ap-expand-alert/index.mjs";
|
|
79
|
+
import { ApExportGroupActionType as nr } from "./src/business/ap-export-group/interface.mjs";
|
|
80
|
+
import { ApExportGroup as Fr } from "./src/business/ap-export-group/index.mjs";
|
|
81
|
+
import { handleExportDownload as Ir } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
82
|
+
import { convertExportField as Sr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
83
|
+
import { ApImage as Cr } from "./src/business/ap-image/index.mjs";
|
|
84
|
+
import { ApInputRadio as Dr } from "./src/business/ap-input-radio/index.mjs";
|
|
85
|
+
import { ApLabel as Er, ApLabelGroup as Pr } from "./src/business/ap-label/index.mjs";
|
|
86
|
+
import { locales as Rr } from "./src/business/ap-ladder/interface.mjs";
|
|
87
|
+
import { ApLadder as vr } from "./src/business/ap-ladder/index.mjs";
|
|
88
|
+
import { ApSelectLayout as yr } from "./src/business/ap-select-layout/index.mjs";
|
|
89
|
+
import { ApStatus as Br, ApStatusGroup as Kr } from "./src/business/ap-status/index.mjs";
|
|
90
|
+
import { ApTitle as Ur } from "./src/business/ap-title/index.mjs";
|
|
91
|
+
import { usePageListApTable as Vr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
92
|
+
import { usePageListApGrid as _r } from "./src/business/hooks/usePageListApGrid.mjs";
|
|
93
|
+
import { usePageListAgGrid as $r } from "./src/business/hooks/usePageListAgGrid.mjs";
|
|
94
|
+
import { computedRecords as Wr, flattenColumns as qr, formatDataIndex as Jr, formatNumber as Qr } from "./src/business/ap-summary/utils.mjs";
|
|
95
|
+
import { ApSummary as Yr } from "./src/business/ap-summary/index.mjs";
|
|
96
|
+
import { ApNeedNameKeyDefault as et } from "./src/business/ap-appendix/interface.mjs";
|
|
97
|
+
import { ApAppendix as rt } from "./src/business/ap-appendix/index.mjs";
|
|
98
|
+
import { default as pt } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
99
|
+
import { default as ft } from "./src/business/batch-input-group/index.vue.mjs";
|
|
100
|
+
import { default as lt } from "./src/business/batch-input-group/form-item.vue.mjs";
|
|
101
|
+
import { ApSizeInput as dt } from "./src/business/ap-size-input/index.mjs";
|
|
102
|
+
import { default as ut } from "./src/business/ap-size-input/form-item.vue.mjs";
|
|
103
|
+
import { ApProductInfo as it } from "./src/business/ap-product-info/index.mjs";
|
|
104
|
+
import { ApCopy as ct } from "./src/business/ap-copy/index.mjs";
|
|
105
|
+
import { ApView as gt } from "./src/business/ap-view/index.mjs";
|
|
106
|
+
import { ApRadioGroup as Tt } from "./src/business/ap-radio-group/index.mjs";
|
|
107
|
+
import { ApKeepAliveProps as bt, forceStopTags as Ct } from "./src/business/ap-keep-alive/interface.mjs";
|
|
108
|
+
import { ApKeepAlive as Dt } from "./src/business/ap-keep-alive/index.mjs";
|
|
109
|
+
import { LruCacher as Et } from "./src/business/ap-keep-alive/cacher/lru-cacher.mjs";
|
|
110
|
+
import { useApKeepAliveInject as Lt } from "./src/business/ap-keep-alive/hook.mjs";
|
|
111
|
+
import { matches as Nt } from "./src/business/ap-keep-alive/utils.mjs";
|
|
112
|
+
import { ApDraggableGrid as Mt } from "./src/business/ap-draggable-grid/index.mjs";
|
|
113
|
+
import { ApValueSelectCard as wt } from "./src/business/ap-value-select-card/index.mjs";
|
|
114
|
+
import { useAgGridModal as Kt } from "./src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs";
|
|
115
|
+
import { useAgGridSelectModal as Ut } from "./src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs";
|
|
116
|
+
import { ApSelectedItems as Vt } from "./src/business/ag-grid-modal/selected-items/index.mjs";
|
|
117
|
+
import { default as _t } from "./src/business/ap-tag/ap-tag.vue.mjs";
|
|
118
|
+
import { default as $t } from "./src/business/ap-tag/ap-tag-group.vue.mjs";
|
|
119
|
+
import { NeedNameKeyDefault as Wt } from "./src/business/ap-upload/apUploadTypes.mjs";
|
|
120
|
+
import { default as Jt } from "./src/business/ap-upload/apUpload.vue.mjs";
|
|
121
|
+
import { ApDownLoadNeedNameKeyDefault as Xt } from "./src/business/ap-download/interface.mjs";
|
|
122
|
+
import { default as Zt } from "./src/business/ap-download/ap-download.vue.mjs";
|
|
123
|
+
import { default as op } from "./src/business/ap-descriptions/ap-descriptions.vue.mjs";
|
|
124
|
+
import { useTablePaging as tp } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
125
|
+
import { ApTable as ap } from "./src/ap-table/index.mjs";
|
|
126
|
+
import { default as mp } from "./src/editable-table/index.vue.mjs";
|
|
127
|
+
import { default as xp } from "./src/editable-table/form-item.vue.mjs";
|
|
128
|
+
import { ensureRangeValue as sp } from "./src/scroll-bar/utils/index.mjs";
|
|
129
|
+
import { default as Ap } from "./src/scroll-bar/index.vue.mjs";
|
|
130
|
+
import { default as np } from "./src/scroll-bar/internal.vue.mjs";
|
|
131
|
+
import { default as Fp } from "./src/scroll-view/index.vue.mjs";
|
|
132
|
+
import { default as Ip } from "./src/portal/index.vue.mjs";
|
|
133
|
+
import { default as Sp } from "./src/full-screen/index.vue.mjs";
|
|
134
|
+
import { default as Cp } from "./src/resize-observer/index.vue.mjs";
|
|
135
|
+
import { ROW_SELECTION_FIELD as Dp } from "./src/ap-grid/constants.mjs";
|
|
136
|
+
import { toTreeArray as Ep } from "./src/ap-grid/utils/to-tree-array.mjs";
|
|
137
|
+
import { default as Lp } from "./src/ap-grid/index.vue.mjs";
|
|
138
|
+
import { default as Np } from "./src/ap-grid/editable/index.vue.mjs";
|
|
139
|
+
import { default as Mp } from "./src/ap-grid/editable/form-item.vue.mjs";
|
|
140
|
+
import { default as wp } from "./src/text/index.vue.mjs";
|
|
141
|
+
import { default as Kp } from "./src/text/group.vue.mjs";
|
|
142
|
+
import { default as Up } from "./src/mask/index.vue.mjs";
|
|
143
|
+
import { Splitter as Vp } from "./src/splitter/index.mjs";
|
|
144
|
+
import { default as _p } from "./src/ag-grid/index.vue.mjs";
|
|
145
|
+
import { default as $p } from "./src/ag-grid/editable/index.vue.mjs";
|
|
146
|
+
import { default as Wp } from "./src/ag-grid/editable/form-item.vue.mjs";
|
|
147
|
+
import { useMessage as Jp } from "./src/hooks/useMessage.mjs";
|
|
148
|
+
import { useControllableValue as Xp } from "./src/hooks/useControllableValue.mjs";
|
|
149
|
+
import { useManualRef as Zp } from "./src/hooks/useManualRef.mjs";
|
|
150
|
+
import { useThrottleRef as oa } from "./src/hooks/useThrottleRef.mjs";
|
|
151
|
+
import { useFullScreen as ta } from "./src/hooks/useFullScreen.mjs";
|
|
152
|
+
import { useResize as aa } from "./src/hooks/useResize.mjs";
|
|
152
153
|
const a = console.log;
|
|
153
154
|
a(`UI version: ${p}`);
|
|
154
155
|
const l = {
|
|
@@ -161,34 +162,34 @@ const l = {
|
|
|
161
162
|
};
|
|
162
163
|
export {
|
|
163
164
|
w as APConfigProvider,
|
|
164
|
-
|
|
165
|
+
_p as AgGrid,
|
|
165
166
|
Ro as ApActionButton,
|
|
166
|
-
|
|
167
|
+
go as ApActionGroup,
|
|
167
168
|
xo as ApActionItem,
|
|
168
169
|
co as ApActionItemDropdown,
|
|
169
170
|
uo as ApActionItemModal,
|
|
170
171
|
io as ApActionItemPopconfirm,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
rt as ApAppendix,
|
|
173
|
+
tr as ApAttachment,
|
|
174
|
+
ar as ApBatchAction,
|
|
175
|
+
mr as ApBatchActionGroup,
|
|
176
|
+
Po as ApButton,
|
|
177
|
+
xr as ApButtonGroup,
|
|
178
|
+
sr as ApCard,
|
|
178
179
|
vo as ApConfirmButton,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
180
|
+
ct as ApCopy,
|
|
181
|
+
op as ApDescriptions,
|
|
182
|
+
Xt as ApDownLoadNeedNameKeyDefault,
|
|
183
|
+
Zt as ApDownload,
|
|
184
|
+
Mt as ApDraggableGrid,
|
|
184
185
|
yo as ApDrawer,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
Ar as ApExpandAlert,
|
|
187
|
+
Fr as ApExportGroup,
|
|
188
|
+
nr as ApExportGroupActionType,
|
|
188
189
|
Le as ApField,
|
|
189
190
|
ye as ApFieldCheckbox,
|
|
190
191
|
Be as ApFieldDate,
|
|
191
|
-
|
|
192
|
+
je as ApFieldDateRange,
|
|
192
193
|
ke as ApFieldNumber,
|
|
193
194
|
Qe as ApFieldPassword,
|
|
194
195
|
Oe as ApFieldRadio,
|
|
@@ -199,23 +200,23 @@ export {
|
|
|
199
200
|
Ye as ApFieldSlider,
|
|
200
201
|
ze as ApFieldSwitch,
|
|
201
202
|
ve as ApFieldText,
|
|
202
|
-
|
|
203
|
+
He as ApFieldTextArea,
|
|
203
204
|
po as ApFieldTreeSelect,
|
|
204
205
|
ae as ApForm,
|
|
205
206
|
Ce as ApFormControlRender,
|
|
206
207
|
Fe as ApFormDependency,
|
|
207
208
|
Se as ApFormDrawerForm,
|
|
208
209
|
me as ApFormItem,
|
|
209
|
-
|
|
210
|
+
lt as ApFormItemBatchInput,
|
|
210
211
|
Z as ApFormItemCheckbox,
|
|
211
212
|
_ as ApFormItemDate,
|
|
212
|
-
|
|
213
|
+
$ as ApFormItemDateRange,
|
|
213
214
|
xe as ApFormItemGroup,
|
|
214
215
|
V as ApFormItemNumber,
|
|
215
216
|
W as ApFormItemRadio,
|
|
216
217
|
De as ApFormItemRender,
|
|
217
218
|
J as ApFormItemSelect,
|
|
218
|
-
|
|
219
|
+
ut as ApFormItemSizeInput,
|
|
219
220
|
X as ApFormItemSwitch,
|
|
220
221
|
K as ApFormItemText,
|
|
221
222
|
U as ApFormItemTextArea,
|
|
@@ -223,111 +224,112 @@ export {
|
|
|
223
224
|
te as ApFormItemTreeSelect,
|
|
224
225
|
se as ApFormList,
|
|
225
226
|
ne as ApFormModalForm,
|
|
226
|
-
|
|
227
|
+
Ee as ApFormProvider,
|
|
227
228
|
Ae as ApFormSearchForm,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
229
|
+
Ie as ApFormSet,
|
|
230
|
+
Lp as ApGrid,
|
|
231
|
+
Cr as ApImage,
|
|
232
|
+
Dr as ApInputRadio,
|
|
233
|
+
Dt as ApKeepAlive,
|
|
234
|
+
bt as ApKeepAliveProps,
|
|
235
|
+
Er as ApLabel,
|
|
236
|
+
Pr as ApLabelGroup,
|
|
237
|
+
vr as ApLadder,
|
|
238
|
+
ho as ApList,
|
|
238
239
|
Go as ApModal,
|
|
239
|
-
|
|
240
|
+
et as ApNeedNameKeyDefault,
|
|
240
241
|
Bo as ApProCard,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
242
|
+
it as ApProductInfo,
|
|
243
|
+
Tt as ApRadioGroup,
|
|
244
|
+
yr as ApSelectLayout,
|
|
245
|
+
Vt as ApSelectedItems,
|
|
246
|
+
dt as ApSizeInput,
|
|
246
247
|
Ko as ApStatisticCard,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
248
|
+
Br as ApStatus,
|
|
249
|
+
Kr as ApStatusGroup,
|
|
250
|
+
Yr as ApSummary,
|
|
251
|
+
ap as ApTable,
|
|
252
|
+
Xo as ApTableModal,
|
|
253
|
+
_t as ApTag,
|
|
254
|
+
$t as ApTagGroup,
|
|
255
|
+
wp as ApText,
|
|
256
|
+
Kp as ApTextGroup,
|
|
257
|
+
Ur as ApTitle,
|
|
258
|
+
Jo as ApTransformDataHelper,
|
|
259
|
+
Jt as ApUpload,
|
|
260
|
+
pt as ApUploadSingle,
|
|
261
|
+
wt as ApValueSelectCard,
|
|
262
|
+
gt as ApView,
|
|
263
|
+
ft as BatchInputGroup,
|
|
263
264
|
To as CheckCard,
|
|
264
265
|
bo as CheckCardGroup,
|
|
265
266
|
v as ConfigProvider,
|
|
266
267
|
A as DEFAULT_NAMESPACE,
|
|
267
268
|
i as DEFAULT_UIMODE,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
269
|
+
$p as EditableAgGrid,
|
|
270
|
+
Wp as EditableAgGridFormItem,
|
|
271
|
+
Np as EditableGrid,
|
|
272
|
+
Mp as EditableGridFormItem,
|
|
273
|
+
mp as EditableTable,
|
|
274
|
+
xp as EditableTableFormItem,
|
|
275
|
+
Sp as FullScreen,
|
|
276
|
+
Wo as Highlight,
|
|
277
|
+
np as InternalScrollBar,
|
|
276
278
|
Uo as LoadingBar,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
Et as LruCacher,
|
|
280
|
+
Up as Mask,
|
|
281
|
+
Wt as NeedNameKeyDefault,
|
|
282
|
+
Ip as Portal,
|
|
283
|
+
Dp as ROW_SELECTION_FIELD,
|
|
282
284
|
Vo as Render,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
Cp as ResizeObserver,
|
|
286
|
+
Ap as ScrollBar,
|
|
287
|
+
Fp as ScrollView,
|
|
288
|
+
Vp as Splitter,
|
|
287
289
|
_o as TimeAgo,
|
|
288
290
|
fo as adminToken,
|
|
289
291
|
mo as aplusToken,
|
|
290
292
|
S as buildLocaleContext,
|
|
291
293
|
b as buildTranslator,
|
|
292
|
-
|
|
294
|
+
Wr as computedRecords,
|
|
293
295
|
n as configProviderContextKey,
|
|
294
296
|
s as configProviderProps,
|
|
295
|
-
|
|
297
|
+
Sr as convertExportField,
|
|
296
298
|
l as default,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
299
|
+
E as defaultNamespace,
|
|
300
|
+
sp as ensureRangeValue,
|
|
301
|
+
qr as flattenColumns,
|
|
302
|
+
Ct as forceStopTags,
|
|
303
|
+
Jr as formatDataIndex,
|
|
304
|
+
Qr as formatNumber,
|
|
303
305
|
M as globalConfigCached,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
+
Ir as handleExportDownload,
|
|
307
|
+
Nt as isNameMatches,
|
|
306
308
|
F as keysOf,
|
|
307
309
|
C as localeContextKey,
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
Rr as locales,
|
|
311
|
+
P as namespaceContextKey,
|
|
312
|
+
g as provideGlobalConfig,
|
|
313
|
+
Ep as toTreeArray,
|
|
312
314
|
G as translate,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
Kt as useAgGridModal,
|
|
316
|
+
Ut as useAgGridSelectModal,
|
|
317
|
+
Lt as useApKeepAliveInject,
|
|
318
|
+
Xp as useControllableValue,
|
|
319
|
+
ta as useFullScreen,
|
|
318
320
|
L as useGetDerivedNamespace,
|
|
319
|
-
|
|
321
|
+
I as useGlobalConfig,
|
|
320
322
|
D as useLocale,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
+
Zp as useManualRef,
|
|
324
|
+
Jp as useMessage,
|
|
323
325
|
R as useNamespace,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
326
|
+
$r as usePageListAgGrid,
|
|
327
|
+
_r as usePageListApGrid,
|
|
328
|
+
Vr as usePageListApTable,
|
|
329
|
+
aa as useResize,
|
|
330
|
+
Zo as useTableModal,
|
|
331
|
+
tp as useTablePaging,
|
|
332
|
+
or as useTableSelectModal,
|
|
333
|
+
oa as useThrottleRef,
|
|
334
|
+
$o as useTimeAgo
|
|
333
335
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as K, useSlots as
|
|
1
|
+
import { defineComponent as K, useSlots as O, ref as y, onMounted as P, unref as t, watch as G, createElementBlock as M, openBlock as W, Fragment as U, createVNode as d, mergeProps as g, withCtx as h, createSlots as $, renderList as q, renderSlot as J, normalizeProps as Q, guardReactiveProps as X } from "vue";
|
|
2
2
|
import { ApForm as C } from "../../ap-form/index.mjs";
|
|
3
|
-
import { cloneDeep as Y, isEqual as Z, omit as
|
|
3
|
+
import { cloneDeep as Y, isEqual as Z, omit as b } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { useGetEditableColumns as ee } from "../hooks/use-editable-columns.mjs";
|
|
6
6
|
import "../index.vue2.mjs";
|
|
@@ -70,7 +70,7 @@ const Ee = /* @__PURE__ */ K({
|
|
|
70
70
|
rowExpandable: {},
|
|
71
71
|
transformCellText: {},
|
|
72
72
|
rowSelection: {
|
|
73
|
-
type: Boolean
|
|
73
|
+
type: [Boolean, Object]
|
|
74
74
|
},
|
|
75
75
|
onLoadingChange: {},
|
|
76
76
|
onShownColumnsChange: {},
|
|
@@ -127,22 +127,22 @@ const Ee = /* @__PURE__ */ K({
|
|
|
127
127
|
name: {},
|
|
128
128
|
formItem: {}
|
|
129
129
|
},
|
|
130
|
-
setup(
|
|
130
|
+
setup(R, {
|
|
131
131
|
expose: B
|
|
132
132
|
}) {
|
|
133
|
-
const x =
|
|
133
|
+
const x = O(), o = R, {
|
|
134
134
|
b: v
|
|
135
135
|
} = ie("editable-aggrid"), S = se("editable-aggrid"), r = y(), {
|
|
136
136
|
internalInstance: s,
|
|
137
137
|
model: I
|
|
138
138
|
} = ae(), i = ne(o.name);
|
|
139
139
|
let p;
|
|
140
|
-
|
|
140
|
+
P(() => {
|
|
141
141
|
const e = o.formItem?.initialValue ?? te(t(I), o.name);
|
|
142
142
|
p = Y(e), u(e, "suffix");
|
|
143
143
|
});
|
|
144
144
|
const l = y([]), E = le(o.name);
|
|
145
|
-
|
|
145
|
+
G(() => E.value, (e) => {
|
|
146
146
|
Z(e, l.value) || c(e ?? p);
|
|
147
147
|
}, {
|
|
148
148
|
deep: !0
|
|
@@ -152,8 +152,8 @@ const Ee = /* @__PURE__ */ K({
|
|
|
152
152
|
addMultiple: u,
|
|
153
153
|
remove: _,
|
|
154
154
|
removeByKey: V,
|
|
155
|
-
getRowData:
|
|
156
|
-
getRowsData:
|
|
155
|
+
getRowData: j,
|
|
156
|
+
getRowsData: D,
|
|
157
157
|
setRowData: k,
|
|
158
158
|
clear: L,
|
|
159
159
|
refreshRowIds: m
|
|
@@ -185,21 +185,21 @@ const Ee = /* @__PURE__ */ K({
|
|
|
185
185
|
addMultiple: u,
|
|
186
186
|
remove: _,
|
|
187
187
|
removeByKey: V,
|
|
188
|
-
getRowData:
|
|
189
|
-
getRowsData:
|
|
188
|
+
getRowData: j,
|
|
189
|
+
getRowsData: D,
|
|
190
190
|
setRowData: k,
|
|
191
191
|
clear: L,
|
|
192
192
|
setTableData: c,
|
|
193
193
|
scrollTo: f,
|
|
194
194
|
scrollToRow: f,
|
|
195
195
|
scrollToColumn: A
|
|
196
|
-
}), (e, a) => (W(),
|
|
196
|
+
}), (e, a) => (W(), M(U, null, [d(t(C).FormItem, {
|
|
197
197
|
hidden: "",
|
|
198
198
|
name: e.name
|
|
199
|
-
}, null, 8, ["name"]), d(t(C).FormItem, g(t(
|
|
199
|
+
}, null, 8, ["name"]), d(t(C).FormItem, g(t(b)(e.formItem, "initialValue"), {
|
|
200
200
|
label: e.label
|
|
201
201
|
}), {
|
|
202
|
-
default: h(() => [d(de, g(t(
|
|
202
|
+
default: h(() => [d(de, g(t(b)(o, ["name", "maxLength", "onChange", "defaultValue", "formItem"]), {
|
|
203
203
|
ref_key: "tableRef",
|
|
204
204
|
ref: r,
|
|
205
205
|
class: [t(v)(), t(S)],
|