@aplus-frontend/ui 0.6.0-beta.9 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +307 -289
- package/es/src/ap-button/ap-button.vue.mjs +1 -1
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +9 -8
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +7 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +4 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +25 -0
- package/es/src/ap-drawer/index.d.ts +2 -0
- package/es/src/ap-drawer/index.mjs +5 -2
- package/es/src/ap-drawer/utils/createDrawer.mjs +38 -33
- package/es/src/ap-field/date-range/index.vue.mjs +8 -7
- package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
- package/es/src/ap-field/number/index.vue.d.ts +2 -4
- package/es/src/ap-field/radio/index.vue.d.ts +2 -4
- package/es/src/ap-field/rate/index.vue.d.ts +2 -4
- package/es/src/ap-field/select/index.vue.d.ts +3 -6
- package/es/src/ap-field/slider/index.vue.d.ts +2 -4
- package/es/src/ap-field/text/index.vue2.mjs +42 -44
- package/es/src/ap-field/text/password.vue.mjs +15 -17
- package/es/src/ap-field/text-area/index.vue.d.ts +2 -2
- package/es/src/ap-field/tree-select/index.vue.mjs +31 -30
- package/es/src/ap-form/ap-form.vue2.mjs +89 -77
- package/es/src/ap-form/dependency/index.vue.mjs +29 -23
- package/es/src/ap-form/drawer-form/index.vue.d.ts +13 -7
- package/es/src/ap-form/drawer-form/index.vue.mjs +58 -49
- package/es/src/ap-form/interface.d.ts +9 -5
- package/es/src/ap-form/item/index.vue.d.ts +5 -10
- package/es/src/ap-form/item/index.vue.mjs +69 -73
- package/es/src/ap-form/item-group/index.vue.mjs +34 -35
- package/es/src/ap-form/items/select/index.vue.mjs +12 -14
- package/es/src/ap-form/items/text/password.vue.mjs +9 -9
- package/es/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- package/es/src/ap-form/items/tree-select/index.vue.mjs +12 -14
- package/es/src/ap-form/modal-form/index.vue.d.ts +9 -7
- package/es/src/ap-form/modal-form/index.vue.mjs +64 -55
- package/es/src/ap-form/provider/index.vue.mjs +6 -5
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +4 -1
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +31 -13
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -8
- package/es/src/ap-form/search-form/index.vue.mjs +63 -62
- package/es/src/ap-form/set/index.vue.mjs +20 -20
- package/es/src/ap-grid/editable/form-item.vue.mjs +39 -36
- package/es/src/ap-grid/editable/index.vue.mjs +13 -10
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +17 -17
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
- package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
- package/es/src/ap-grid/hooks/use-row-selection.d.ts +100 -0
- package/es/src/ap-grid/hooks/use-row-selection.mjs +122 -0
- package/es/src/ap-grid/hooks/use-table-style.d.ts +18 -0
- package/es/src/ap-grid/hooks/use-table-style.mjs +28 -0
- package/es/src/ap-grid/index.vue.mjs +295 -243
- package/es/src/ap-grid/interface.d.ts +32 -3
- package/es/src/ap-grid/utils/table.mjs +15 -15
- package/es/src/ap-list/index.vue.d.ts +2 -9
- package/es/src/ap-list/index.vue.mjs +113 -103
- package/es/src/ap-list/interface.d.ts +24 -3
- package/es/src/ap-modal/interface.d.ts +2 -1
- package/es/src/ap-modal/utils/createModalStream.mjs +24 -24
- package/es/src/ap-table/ap-table.vue.d.ts +10 -2
- package/es/src/ap-table/ap-table.vue2.mjs +86 -82
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -44
- package/es/src/ap-table/constants.d.ts +22 -22
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +24 -5
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +158 -130
- package/es/src/ap-table/interface.d.ts +17 -4
- package/es/src/ap-table/utils.d.ts +21 -21
- package/es/src/business/ap-card/ApCard.vue.d.ts +2 -4
- package/es/src/business/ap-card/ApCard.vue2.mjs +34 -33
- package/es/src/business/ap-card/index.d.ts +2 -4
- package/es/src/business/ap-card/interface.d.ts +5 -0
- package/es/src/business/ap-copy/ApCopy.d.ts +52 -0
- package/es/src/business/ap-copy/ApCopy.mjs +79 -0
- package/es/src/business/ap-copy/constans.d.ts +24 -0
- package/es/src/business/ap-copy/constans.mjs +25 -0
- package/es/src/business/ap-copy/index.d.ts +102 -0
- package/es/src/business/ap-copy/index.mjs +7 -0
- package/es/src/business/ap-copy/interface.d.ts +8 -0
- package/es/src/business/ap-copy/interface.mjs +1 -0
- package/es/src/business/ap-copy/style/css.d.ts +0 -0
- package/es/src/business/ap-copy/style/css.js +1 -0
- package/es/src/business/ap-copy/style/index.d.ts +0 -0
- package/es/src/business/ap-copy/style/index.js +1 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +51 -49
- package/es/src/business/ap-keep-alive/cacher/cacher.d.ts +10 -0
- package/es/src/business/ap-keep-alive/cacher/lru-cacher.d.ts +16 -0
- package/es/src/business/ap-keep-alive/cacher/lru-cacher.mjs +43 -0
- package/es/src/business/ap-keep-alive/hook.d.ts +10 -0
- package/es/src/business/ap-keep-alive/hook.mjs +33 -0
- package/es/src/business/ap-keep-alive/index.d.ts +108 -0
- package/es/src/business/ap-keep-alive/index.mjs +15 -0
- package/es/src/business/ap-keep-alive/interface.d.ts +36 -0
- package/es/src/business/ap-keep-alive/interface.mjs +54 -0
- package/es/src/business/ap-keep-alive/keep-alive.d.ts +54 -0
- package/es/src/business/ap-keep-alive/keep-alive.mjs +154 -0
- package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
- package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.mjs +21 -0
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +27 -0
- package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
- package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
- package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
- package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.mjs +12 -0
- package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
- package/es/src/business/ap-keep-alive/keeper/index.mjs +28 -0
- package/es/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/step-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/tab-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/utils.d.ts +23 -0
- package/es/src/business/ap-keep-alive/utils.mjs +42 -0
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +15 -16
- package/es/src/business/ap-label/interface.d.ts +2 -3
- package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/es/src/business/ap-product-info/ApProductInfo.mjs +53 -54
- package/es/src/business/ap-product-info/constans.d.ts +4 -0
- package/es/src/business/ap-product-info/constans.mjs +4 -0
- package/es/src/business/ap-product-info/index.d.ts +15 -0
- package/es/src/business/ap-product-info/interface.d.ts +1 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +21 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue.mjs +4 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +73 -0
- package/es/src/business/ap-radio-group/index.d.ts +66 -0
- package/es/src/business/ap-radio-group/index.mjs +8 -0
- package/es/src/business/ap-radio-group/interface.d.ts +11 -0
- package/es/src/business/ap-radio-group/interface.mjs +1 -0
- package/es/src/business/ap-radio-group/style/css.d.ts +0 -0
- package/es/src/business/ap-radio-group/style/css.js +1 -0
- package/es/src/business/ap-radio-group/style/index.d.ts +0 -0
- package/es/src/business/ap-radio-group/style/index.js +1 -0
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/index.d.ts +32 -5
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +43 -42
- package/es/src/business/ap-view/ap-view.vue.d.ts +4 -1
- package/es/src/business/ap-view/ap-view.vue2.mjs +135 -115
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
- package/es/src/business/ap-view/index.d.ts +12 -3
- package/es/src/business/ap-view/interface.d.ts +7 -0
- package/es/src/business/batch-input-group/form-item.vue.mjs +14 -13
- package/es/src/business/batch-input-group/index.vue.mjs +10 -9
- package/es/src/business/hooks/usePageListApGrid.mjs +33 -28
- package/es/src/business/hooks/usePageListApTable.d.ts +4 -1
- package/es/src/business/index.d.ts +3 -0
- package/es/src/business/index.mjs +36 -30
- package/es/src/components.d.ts +1 -0
- package/es/src/editable-table/form-item.vue.mjs +23 -23
- package/es/src/full-screen/interface.d.ts +5 -6
- package/es/src/index.mjs +112 -97
- package/es/src/locale/lang/en.mjs +4 -0
- package/es/src/locale/lang/zh-cn.mjs +4 -0
- package/es/src/mask/index.vue.mjs +21 -20
- package/es/src/path-map.mjs +3 -1
- package/es/src/resize-observer/interface.d.ts +2 -3
- package/es/src/scroll-bar/interface.d.ts +7 -7
- package/es/src/scroll-view/interface.d.ts +2 -3
- package/es/src/splitter/SplitBar.vue2.mjs +1 -0
- package/es/src/splitter/Splitter.vue2.mjs +1 -0
- package/es/src/tests/mock-resize-observer.d.ts +2 -0
- package/es/src/tests/mock-warning.d.ts +1 -0
- package/es/src/tests/utils.d.ts +8 -0
- package/es/src/text/group.vue.mjs +7 -6
- package/es/src/text/index.vue.mjs +20 -19
- package/es/src/version.d.ts +2 -0
- package/es/src/version.mjs +4 -0
- package/es/src/work-order-modal/createWorkOrder.d.ts +2 -1
- package/es/src/work-order-modal/createWorkOrder.mjs +19 -15
- package/es/src/work-order-modal/interfaces.d.ts +4 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +120 -105
- package/es/test/setup.d.ts +5 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +7 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +1 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -0
- package/lib/src/ap-drawer/index.d.ts +2 -0
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +2 -4
- package/lib/src/ap-field/radio/index.vue.d.ts +2 -4
- package/lib/src/ap-field/rate/index.vue.d.ts +2 -4
- package/lib/src/ap-field/select/index.vue.d.ts +3 -6
- package/lib/src/ap-field/slider/index.vue.d.ts +2 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +2 -2
- package/lib/src/ap-field/tree-select/index.vue.js +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 -7
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/interface.d.ts +9 -5
- package/lib/src/ap-form/item/index.vue.d.ts +5 -10
- 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/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +9 -7
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/provider/index.vue.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-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -8
- 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-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.d.ts +100 -0
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -0
- package/lib/src/ap-grid/hooks/use-table-style.d.ts +18 -0
- package/lib/src/ap-grid/hooks/use-table-style.js +1 -0
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +32 -3
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -9
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +24 -3
- package/lib/src/ap-modal/interface.d.ts +2 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +10 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +22 -22
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +24 -5
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +17 -4
- package/lib/src/ap-table/utils.d.ts +21 -21
- package/lib/src/business/ap-card/ApCard.vue.d.ts +2 -4
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-card/index.d.ts +2 -4
- package/lib/src/business/ap-card/interface.d.ts +5 -0
- package/lib/src/business/ap-copy/ApCopy.d.ts +52 -0
- package/lib/src/business/ap-copy/ApCopy.js +1 -0
- package/lib/src/business/ap-copy/constans.d.ts +24 -0
- package/lib/src/business/ap-copy/constans.js +1 -0
- package/lib/src/business/ap-copy/index.d.ts +102 -0
- package/lib/src/business/ap-copy/index.js +1 -0
- package/lib/src/business/ap-copy/interface.d.ts +8 -0
- package/lib/src/business/ap-copy/interface.js +1 -0
- package/lib/src/business/ap-copy/style/css.cjs +1 -0
- package/lib/src/business/ap-copy/style/css.d.ts +0 -0
- package/lib/src/business/ap-copy/style/index.cjs +1 -0
- package/lib/src/business/ap-copy/style/index.d.ts +0 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/cacher/cacher.d.ts +10 -0
- package/lib/src/business/ap-keep-alive/cacher/lru-cacher.d.ts +16 -0
- package/lib/src/business/ap-keep-alive/cacher/lru-cacher.js +1 -0
- package/lib/src/business/ap-keep-alive/hook.d.ts +10 -0
- package/lib/src/business/ap-keep-alive/hook.js +1 -0
- package/lib/src/business/ap-keep-alive/index.d.ts +108 -0
- package/lib/src/business/ap-keep-alive/index.js +1 -0
- package/lib/src/business/ap-keep-alive/interface.d.ts +36 -0
- package/lib/src/business/ap-keep-alive/interface.js +1 -0
- package/lib/src/business/ap-keep-alive/keep-alive.d.ts +54 -0
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/step-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/tab-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/utils.d.ts +23 -0
- package/lib/src/business/ap-keep-alive/utils.js +1 -0
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/interface.d.ts +2 -3
- package/lib/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-product-info/constans.d.ts +4 -0
- package/lib/src/business/ap-product-info/constans.js +1 -1
- package/lib/src/business/ap-product-info/index.d.ts +15 -0
- package/lib/src/business/ap-product-info/interface.d.ts +1 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +21 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.js +1 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -0
- package/lib/src/business/ap-radio-group/index.d.ts +66 -0
- package/lib/src/business/ap-radio-group/index.js +1 -0
- package/lib/src/business/ap-radio-group/interface.d.ts +11 -0
- package/lib/src/business/ap-radio-group/interface.js +1 -0
- package/lib/src/business/ap-radio-group/style/css.cjs +1 -0
- package/lib/src/business/ap-radio-group/style/css.d.ts +0 -0
- package/lib/src/business/ap-radio-group/style/index.cjs +1 -0
- package/lib/src/business/ap-radio-group/style/index.d.ts +0 -0
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/index.d.ts +32 -5
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue.d.ts +4 -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 +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
- package/lib/src/business/ap-view/index.d.ts +12 -3
- package/lib/src/business/ap-view/interface.d.ts +7 -0
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/business/hooks/usePageListApTable.d.ts +4 -1
- package/lib/src/business/index.d.ts +3 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/components.d.ts +1 -0
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/full-screen/interface.d.ts +5 -6
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/resize-observer/interface.d.ts +2 -3
- package/lib/src/scroll-bar/interface.d.ts +7 -7
- package/lib/src/scroll-view/interface.d.ts +2 -3
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/tests/mock-resize-observer.d.ts +2 -0
- package/lib/src/tests/mock-warning.d.ts +1 -0
- package/lib/src/tests/utils.d.ts +8 -0
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/version.d.ts +2 -0
- package/lib/src/version.js +1 -0
- package/lib/src/work-order-modal/createWorkOrder.d.ts +2 -1
- package/lib/src/work-order-modal/createWorkOrder.js +1 -1
- package/lib/src/work-order-modal/interfaces.d.ts +4 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/lib/test/setup.d.ts +5 -0
- package/package.json +18 -14
- package/theme/antd-global-overwrite/admin/alert.css +5 -18
- package/theme/antd-global-overwrite/admin/alert.less +25 -36
- package/theme/antd-global-overwrite/admin/button.css +13 -13
- package/theme/antd-global-overwrite/admin/button.less +24 -24
- package/theme/antd-global-overwrite/admin/drawer.css +3 -0
- package/theme/antd-global-overwrite/admin/drawer.less +5 -0
- package/theme/antd-global-overwrite/admin/field.css +42 -0
- package/theme/antd-global-overwrite/admin/field.less +43 -0
- package/theme/antd-global-overwrite/admin/index.css +93 -634
- package/theme/antd-global-overwrite/admin/index.less +1 -3
- package/theme/antd-global-overwrite/admin/message.css +2 -9
- package/theme/antd-global-overwrite/admin/message.less +2 -10
- package/theme/antd-global-overwrite/admin/modal.css +20 -37
- package/theme/antd-global-overwrite/admin/modal.less +20 -41
- package/theme/antd-global-overwrite/admin/table.css +11 -251
- package/theme/antd-global-overwrite/admin/table.less +4 -132
- package/theme/antd-global-overwrite/aplus/alert.css +8 -18
- package/theme/antd-global-overwrite/aplus/alert.less +27 -34
- package/theme/antd-global-overwrite/aplus/button.css +20 -20
- package/theme/antd-global-overwrite/aplus/button.less +24 -24
- package/theme/antd-global-overwrite/aplus/drawer.css +3 -0
- package/theme/antd-global-overwrite/aplus/drawer.less +5 -0
- package/theme/antd-global-overwrite/aplus/field.css +36 -0
- package/theme/antd-global-overwrite/aplus/field.less +36 -0
- package/theme/antd-global-overwrite/aplus/index.css +94 -683
- package/theme/antd-global-overwrite/aplus/index.less +0 -3
- package/theme/antd-global-overwrite/aplus/message.css +2 -9
- package/theme/antd-global-overwrite/aplus/message.less +2 -10
- package/theme/antd-global-overwrite/aplus/modal.css +19 -43
- package/theme/antd-global-overwrite/aplus/modal.less +20 -49
- package/theme/antd-global-overwrite/aplus/table.css +11 -236
- package/theme/antd-global-overwrite/aplus/table.less +4 -134
- package/theme/ap-action/item-dropdown.css +3 -3
- package/theme/ap-action/item.css +21 -10
- package/theme/ap-action/item.less +18 -6
- package/theme/ap-appendix/ap-appendix.css +10 -10
- package/theme/ap-appendix/ap-appendix.less +6 -6
- package/theme/ap-attachment/ap-attachment.css +4 -4
- package/theme/ap-batch-action/ap-batch-action.css +6 -6
- package/theme/ap-batch-action/ap-batch-action.less +3 -3
- package/theme/ap-button/ap-button.css +3 -3
- package/theme/ap-card/ap-card.css +4 -4
- package/theme/ap-card/ap-card.less +1 -1
- package/theme/ap-copy/ap-copy.css +96 -0
- package/theme/ap-copy/ap-copy.less +61 -0
- package/theme/ap-descriptions/ap-descriptions.css +9 -7
- package/theme/ap-descriptions/ap-descriptions.less +6 -4
- package/theme/ap-download/ap-download.css +6 -6
- package/theme/ap-drawer/ap-drawer.css +66 -0
- package/theme/ap-drawer/ap-drawer.less +27 -0
- package/theme/ap-expand-alert/ap-expand-alert.css +4 -3
- package/theme/ap-expand-alert/ap-expand-alert.less +2 -2
- package/theme/ap-field/checkbox.css +3 -3
- package/theme/ap-field/index.css +3 -3
- package/theme/ap-field/number.css +3 -3
- package/theme/ap-field/radio.css +3 -3
- package/theme/ap-field/text-area.css +3 -3
- package/theme/ap-form/ap-form-item-group.css +3 -3
- package/theme/ap-form/ap-form-item.css +11 -8
- package/theme/ap-form/ap-form-item.less +8 -5
- package/theme/ap-form/drawer-form.css +3 -3
- package/theme/ap-form/index.css +25 -20
- package/theme/ap-form/item-text-group.css +3 -3
- package/theme/ap-form/item-text.css +3 -3
- package/theme/ap-form/modal-form.css +3 -3
- package/theme/ap-form/search-form-sorter.css +14 -12
- package/theme/ap-form/search-form-sorter.less +7 -5
- package/theme/ap-form/search-form.css +25 -20
- package/theme/ap-form/search-form.less +3 -3
- package/theme/ap-grid/editable.css +3 -3
- package/theme/ap-grid/index.css +73 -40
- package/theme/ap-grid/index.less +26 -8
- package/theme/ap-group-search/ap-extension-select.css +3 -3
- package/theme/ap-group-search/ap-group-search.css +3 -3
- package/theme/ap-group-search/ap-popover-select.css +3 -3
- package/theme/ap-image/ap-image.css +3 -3
- package/theme/ap-input-radio/ap-input-radio.css +3 -3
- package/theme/ap-label/ap-label.css +3 -3
- package/theme/ap-ladder/ap-ladder.css +6 -6
- package/theme/ap-layout/ap-info-layout.css +3 -3
- package/theme/ap-list/index.css +3 -3
- package/theme/ap-product-info/ap-product-info.css +23 -33
- package/theme/ap-product-info/ap-product-info.less +28 -42
- package/theme/ap-radio-group/ap-radio-group.css +66 -0
- package/theme/ap-radio-group/ap-radio-group.less +26 -0
- package/theme/ap-select-layout/ap-select-layout.css +5 -5
- package/theme/ap-size-input/ap-size-input.css +3 -3
- package/theme/ap-status/ap-status.css +3 -3
- package/theme/ap-summary/index.css +3 -3
- package/theme/ap-table/ap-table-index.css +3 -3
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +4 -4
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +80 -47
- package/theme/ap-table/ap-table.less +19 -7
- package/theme/ap-table/setting/index.css +18 -12
- package/theme/ap-table/setting/modal.css +10 -5
- package/theme/ap-table/setting/modal.less +6 -1
- package/theme/ap-table/setting/select-group.css +3 -3
- package/theme/ap-table/setting/sortable-item-meta.css +5 -5
- package/theme/ap-table/setting/sortable-item-meta.less +2 -2
- package/theme/ap-table/setting/sortable-item.css +3 -3
- package/theme/ap-table/setting/sorter.css +9 -8
- package/theme/ap-table/setting/sorter.less +4 -4
- package/theme/ap-table-modal/index.css +95 -60
- package/theme/ap-table-modal/index.less +15 -13
- package/theme/ap-tag/ap-tag-group.css +3 -3
- package/theme/ap-tag/ap-tag.css +7 -7
- package/theme/ap-tag/ap-tag.less +1 -1
- package/theme/ap-title/ap-title.css +3 -3
- package/theme/ap-upload/index.css +4 -4
- package/theme/ap-upload/multiple-file.css +3 -3
- package/theme/ap-upload/picture.css +3 -3
- package/theme/ap-upload/single-file.css +4 -4
- package/theme/ap-upload/upload.css +3 -3
- package/theme/ap-upload-single/index.css +7 -7
- package/theme/ap-upload-single/index.less +4 -4
- package/theme/ap-view/ap-view.css +10 -10
- package/theme/ap-view/ap-view.less +7 -7
- package/theme/batch-input-group/index.css +5 -5
- package/theme/batch-input-group/popover-input.css +5 -5
- package/theme/batch-input-group/popover-input.less +2 -2
- package/theme/check-card/index.css +11 -11
- package/theme/check-card/index.less +5 -5
- package/theme/editable-table/index.css +43 -27
- package/theme/full-screen/index.css +3 -3
- package/theme/index.css +350 -245
- package/theme/index.less +3 -0
- package/theme/mask/index.css +3 -3
- package/theme/mixins/config.less +3 -3
- package/theme/mixins/mixins.css +3 -3
- package/theme/mixins/mixins.less +2 -2
- package/theme/scroll-bar/index.css +3 -3
- package/theme/scroll-view/index.css +3 -3
- package/theme/splitter/index.css +7 -7
- package/theme/splitter/index.less +1 -1
- package/theme/text/group.css +3 -3
- package/theme/text/index.css +8 -8
- package/theme/text/index.less +4 -4
- package/theme/ui-mode.css +53 -83
- package/theme/ui-mode.less +103 -83
- package/theme/work-order-modal/index.css +3 -3
package/es/src/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APConfigProvider as S } from "./config-provider/index.mjs";
|
|
2
2
|
import { ApForm as C } from "./ap-form/index.mjs";
|
|
3
3
|
import { ApField as g } from "./ap-field/index.mjs";
|
|
4
|
-
import { adminToken as
|
|
4
|
+
import { adminToken as h, aplusToken as E } from "./design-token/index.mjs";
|
|
5
5
|
import { ApActionItem as L } from "./ap-action/index.mjs";
|
|
6
6
|
import "./work-order-modal/index.mjs";
|
|
7
7
|
import "./ap-tag/index.mjs";
|
|
@@ -12,7 +12,7 @@ import { CheckCard as R } from "./check-card/index.mjs";
|
|
|
12
12
|
import { ApModal as y } from "./ap-modal/index.mjs";
|
|
13
13
|
import "./ap-list/index.mjs";
|
|
14
14
|
import "./ap-button/index.mjs";
|
|
15
|
-
import { ApDrawer as
|
|
15
|
+
import { ApDrawer as w } from "./ap-drawer/index.mjs";
|
|
16
16
|
import "./business/index.mjs";
|
|
17
17
|
import { ApTable as B } from "./ap-table/index.mjs";
|
|
18
18
|
import "./editable-table/index.mjs";
|
|
@@ -25,31 +25,31 @@ import "./resize-observer/index.mjs";
|
|
|
25
25
|
import "./ap-grid/index.mjs";
|
|
26
26
|
import "./text/index.mjs";
|
|
27
27
|
import "./mask/index.mjs";
|
|
28
|
-
import { Splitter as
|
|
28
|
+
import { Splitter as O } from "./splitter/index.mjs";
|
|
29
29
|
import { configProviderProps as _ } from "./config-provider/config-provider-props.mjs";
|
|
30
|
-
import { DEFAULT_NAMESPACE as W, DEFAULT_UIMODE as z, configProviderContextKey as
|
|
30
|
+
import { DEFAULT_NAMESPACE as W, DEFAULT_UIMODE as z, configProviderContextKey as j } from "./config-provider/constants.mjs";
|
|
31
31
|
import { keysOf as q, provideGlobalConfig as J, useGlobalConfig as Q } from "./config-provider/hooks/use-global-config.mjs";
|
|
32
32
|
import { buildLocaleContext as Y, buildTranslator as Z, localeContextKey as $, translate as ee, useLocale as oe } from "./config-provider/hooks/use-locale.mjs";
|
|
33
33
|
import { defaultNamespace as te, namespaceContextKey as pe, useGetDerivedNamespace as ae, useNamespace as me } from "./config-provider/hooks/use-namespace.mjs";
|
|
34
|
-
import { ConfigProvider as le, globalConfigCached as
|
|
34
|
+
import { ConfigProvider as le, globalConfigCached as xe } from "./config-provider/config-provider.mjs";
|
|
35
35
|
import { ApFormItemText as ue } from "./ap-form/items/text/index.mjs";
|
|
36
|
-
import { default as
|
|
36
|
+
import { default as se } from "./ap-form/items/text-area/index.vue.mjs";
|
|
37
37
|
import { default as ne } from "./ap-form/items/number/index.vue.mjs";
|
|
38
38
|
import { default as Fe } from "./ap-form/items/date/index.vue.mjs";
|
|
39
39
|
import { default as Te } from "./ap-form/items/date-range/index.vue.mjs";
|
|
40
40
|
import { default as be } from "./ap-form/items/radio/index.vue.mjs";
|
|
41
41
|
import { default as De } from "./ap-form/items/select/index.vue.mjs";
|
|
42
42
|
import { default as Ge } from "./ap-form/items/switch/index.vue.mjs";
|
|
43
|
-
import { default as
|
|
43
|
+
import { default as Ee } from "./ap-form/items/checkbox/index.vue.mjs";
|
|
44
44
|
import { default as Le } from "./ap-form/items/text/password.vue.mjs";
|
|
45
45
|
import { default as Re } from "./ap-form/items/tree-select/index.vue.mjs";
|
|
46
46
|
import { default as ye } from "./ap-form/item/index.vue.mjs";
|
|
47
|
-
import { default as
|
|
47
|
+
import { default as we } from "./ap-form/item-group/index.vue.mjs";
|
|
48
48
|
import { default as Be } from "./ap-form/list/index.vue.mjs";
|
|
49
|
-
import { default as
|
|
49
|
+
import { default as Oe } from "./ap-form/search-form/index.vue.mjs";
|
|
50
50
|
import { default as _e } from "./ap-form/modal-form/index.vue.mjs";
|
|
51
51
|
import { default as We } from "./ap-form/dependency/index.vue.mjs";
|
|
52
|
-
import { default as
|
|
52
|
+
import { default as je } from "./ap-form/set/index.vue.mjs";
|
|
53
53
|
import { default as qe } from "./ap-form/drawer-form/index.vue.mjs";
|
|
54
54
|
import { default as Qe } from "./ap-form/render/control.vue.mjs";
|
|
55
55
|
import { default as Ye } from "./ap-form/render/item.vue.mjs";
|
|
@@ -59,23 +59,23 @@ import { default as to } from "./ap-field/checkbox/index.vue.mjs";
|
|
|
59
59
|
import { default as ao } from "./ap-field/date/index.vue.mjs";
|
|
60
60
|
import { default as fo } from "./ap-field/number/index.vue.mjs";
|
|
61
61
|
import { default as xo } from "./ap-field/radio/index.vue.mjs";
|
|
62
|
-
import { default as
|
|
62
|
+
import { default as Ao } from "./ap-field/switch/index.vue.mjs";
|
|
63
63
|
import { default as io } from "./ap-field/text-area/index.vue.mjs";
|
|
64
64
|
import { default as co } from "./ap-field/date-range/index.vue.mjs";
|
|
65
65
|
import { default as Io } from "./ap-field/select/index.vue.mjs";
|
|
66
66
|
import { default as So } from "./ap-field/text/password.vue.mjs";
|
|
67
67
|
import { default as Co } from "./ap-field/slider/index.vue.mjs";
|
|
68
68
|
import { default as go } from "./ap-field/segmented/index.vue.mjs";
|
|
69
|
-
import { default as
|
|
69
|
+
import { default as ho } from "./ap-field/rate/index.vue.mjs";
|
|
70
70
|
import { default as Po } from "./ap-field/tree-select/index.vue.mjs";
|
|
71
71
|
import { default as No } from "./ap-action/item-modal/index.vue.mjs";
|
|
72
|
-
import { default as
|
|
72
|
+
import { default as vo } from "./ap-action/item-popconfirm/index.vue.mjs";
|
|
73
73
|
import { default as Mo } from "./ap-action/item-dropdown/index.vue.mjs";
|
|
74
|
-
import { default as
|
|
75
|
-
import { DictCode as
|
|
74
|
+
import { default as ko } from "./ap-action/group/index.vue.mjs";
|
|
75
|
+
import { DictCode as Ko, langMap as Oo } from "./work-order-modal/interfaces.mjs";
|
|
76
76
|
import { createWorkOrderModal as _o } from "./work-order-modal/createWorkOrder.mjs";
|
|
77
77
|
import { default as Wo } from "./work-order-modal/work-order-modal.vue.mjs";
|
|
78
|
-
import { default as
|
|
78
|
+
import { default as jo } from "./ap-tag/ap-tag.vue.mjs";
|
|
79
79
|
import { default as qo } from "./ap-tag/ap-tag-group.vue.mjs";
|
|
80
80
|
import { default as Qo } from "./ap-info-layout/ApInfoLayout.vue.mjs";
|
|
81
81
|
import { NeedNameKeyDefault as Yo } from "./ap-upload/apUploadTypes.mjs";
|
|
@@ -84,25 +84,25 @@ import { ApDownLoadNeedNameKeyDefault as or } from "./ap-download/interface.mjs"
|
|
|
84
84
|
import { default as tr } from "./ap-download/ap-download.vue.mjs";
|
|
85
85
|
import { default as ar } from "./check-card/group.vue.mjs";
|
|
86
86
|
import { default as fr } from "./ap-list/index.vue.mjs";
|
|
87
|
-
import { default as
|
|
87
|
+
import { default as xr } from "./ap-button/ap-button.vue.mjs";
|
|
88
88
|
import { default as ur } from "./ap-button/ap-action-button.vue.mjs";
|
|
89
|
-
import { default as
|
|
89
|
+
import { default as sr } from "./ap-button/ap-confirm-button.vue.mjs";
|
|
90
90
|
import { ApTransformDataHelper as nr } from "./utils/ap-trans-data/index.mjs";
|
|
91
91
|
import { default as Fr } from "./business/ap-table-modal/index.mjs";
|
|
92
92
|
import { useTableModal as Tr } from "./business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
93
93
|
import { useTableSelectModal as br } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
94
94
|
import { ApAttachment as Dr } from "./business/ap-attachment/index.mjs";
|
|
95
95
|
import { ApBatchAction as Gr } from "./business/ap-batch-action/index.mjs";
|
|
96
|
-
import { ApBatchActionGroup as
|
|
96
|
+
import { ApBatchActionGroup as Er } from "./business/ap-batch-action-group/index.mjs";
|
|
97
97
|
import { ApButtonGroup as Lr } from "./business/ap-button-group/index.mjs";
|
|
98
98
|
import { ApCard as Rr } from "./business/ap-card/index.mjs";
|
|
99
99
|
import { ApExpandAlert as yr } from "./business/ap-expand-alert/index.mjs";
|
|
100
|
-
import { ApExportGroupActionType as
|
|
100
|
+
import { ApExportGroupActionType as wr } from "./business/ap-export-group/interface.mjs";
|
|
101
101
|
import { ApExportGroup as Br } from "./business/ap-export-group/index.mjs";
|
|
102
|
-
import { handleExportDownload as
|
|
102
|
+
import { handleExportDownload as Or } from "./business/ap-export-group/handleExportDownload.mjs";
|
|
103
103
|
import { convertExportField as _r } from "./business/ap-export-group/convertExportField.mjs";
|
|
104
104
|
import { ApImage as Wr } from "./business/ap-image/index.mjs";
|
|
105
|
-
import { ApInputRadio as
|
|
105
|
+
import { ApInputRadio as jr } from "./business/ap-input-radio/index.mjs";
|
|
106
106
|
import { ApLabel as qr, ApLabelGroup as Jr } from "./business/ap-label/index.mjs";
|
|
107
107
|
import { locales as Xr } from "./business/ap-ladder/interface.mjs";
|
|
108
108
|
import { ApLadder as Zr } from "./business/ap-ladder/index.mjs";
|
|
@@ -110,62 +110,70 @@ import { ApSelectLayout as et } from "./business/ap-select-layout/index.mjs";
|
|
|
110
110
|
import { ApStatus as rt, ApStatusGroup as tt } from "./business/ap-status/index.mjs";
|
|
111
111
|
import { ApTitle as at } from "./business/ap-title/index.mjs";
|
|
112
112
|
import { usePageListApTable as ft } from "./business/hooks/usePageListApTable.mjs";
|
|
113
|
-
import { useTableRefresh as
|
|
113
|
+
import { useTableRefresh as xt } from "./business/hooks/useTableRefresh.mjs";
|
|
114
114
|
import { usePageListApGrid as ut } from "./business/hooks/usePageListApGrid.mjs";
|
|
115
|
-
import { useGridRefresh as
|
|
115
|
+
import { useGridRefresh as st } from "./business/hooks/useGridRefresh.mjs";
|
|
116
116
|
import { computedRecords as nt, flattenColumns as ct, formatDataIndex as Ft, formatNumber as It } from "./business/ap-summary/utils.mjs";
|
|
117
117
|
import { ApSummary as St } from "./business/ap-summary/index.mjs";
|
|
118
118
|
import { ApNeedNameKeyDefault as Ct } from "./business/ap-appendix/interface.mjs";
|
|
119
119
|
import { ApAppendix as gt } from "./business/ap-appendix/index.mjs";
|
|
120
|
-
import { ApExtensionSelect as
|
|
120
|
+
import { ApExtensionSelect as ht, ApGroupSearch as Et, ApPopoverSelect as Pt } from "./business/ap-group-search/index.mjs";
|
|
121
121
|
import { default as Nt } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
122
|
-
import { default as
|
|
122
|
+
import { default as vt } from "./business/batch-input-group/index.vue.mjs";
|
|
123
123
|
import { default as Mt } from "./business/batch-input-group/form-item.vue.mjs";
|
|
124
|
-
import { ApSizeInput as
|
|
125
|
-
import { ApProductInfo as
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import { default as
|
|
136
|
-
import { default as
|
|
137
|
-
import { default as
|
|
138
|
-
import {
|
|
139
|
-
import { default as sp } from "./
|
|
140
|
-
import { default as
|
|
141
|
-
import { default as
|
|
142
|
-
import { default as
|
|
143
|
-
import { default as
|
|
144
|
-
import { default as
|
|
124
|
+
import { ApSizeInput as kt } from "./business/ap-size-input/index.mjs";
|
|
125
|
+
import { ApProductInfo as Kt } from "./business/ap-product-info/index.mjs";
|
|
126
|
+
import { ApCopy as Ut } from "./business/ap-copy/index.mjs";
|
|
127
|
+
import { ApView as Vt } from "./business/ap-view/index.mjs";
|
|
128
|
+
import { ApRadioGroup as zt } from "./business/ap-radio-group/index.mjs";
|
|
129
|
+
import { ApKeepAliveProps as Ht, forceStopTags as qt } from "./business/ap-keep-alive/interface.mjs";
|
|
130
|
+
import { ApKeepAlive as Qt } from "./business/ap-keep-alive/index.mjs";
|
|
131
|
+
import { LruCacher as Yt } from "./business/ap-keep-alive/cacher/lru-cacher.mjs";
|
|
132
|
+
import { useApKeepAliveInject as $t } from "./business/ap-keep-alive/hook.mjs";
|
|
133
|
+
import { matches as op } from "./business/ap-keep-alive/utils.mjs";
|
|
134
|
+
import { useTablePaging as tp } from "./ap-table/hooks/use-table-paging.mjs";
|
|
135
|
+
import { default as ap } from "./editable-table/index.vue.mjs";
|
|
136
|
+
import { default as fp } from "./editable-table/form-item.vue.mjs";
|
|
137
|
+
import { default as xp } from "./ap-descriptions/ap-descriptions.vue.mjs";
|
|
138
|
+
import { ensureRangeValue as up } from "./scroll-bar/utils/index.mjs";
|
|
139
|
+
import { default as sp } from "./scroll-bar/index.vue.mjs";
|
|
140
|
+
import { default as np } from "./scroll-bar/internal.vue.mjs";
|
|
141
|
+
import { default as Fp } from "./scroll-view/index.vue.mjs";
|
|
142
|
+
import { default as Tp } from "./portal/index.vue.mjs";
|
|
143
|
+
import { default as bp } from "./full-screen/index.vue.mjs";
|
|
144
|
+
import { default as Dp } from "./resize-observer/index.vue.mjs";
|
|
145
|
+
import { ROW_SELECTION_FIELD as Gp } from "./ap-grid/constants.mjs";
|
|
146
|
+
import { default as Ep } from "./ap-grid/index.vue.mjs";
|
|
147
|
+
import { default as Lp } from "./ap-grid/editable/index.vue.mjs";
|
|
148
|
+
import { default as Rp } from "./ap-grid/editable/form-item.vue.mjs";
|
|
149
|
+
import { default as yp } from "./text/index.vue.mjs";
|
|
150
|
+
import { default as wp } from "./text/group.vue.mjs";
|
|
151
|
+
import { default as Bp } from "./mask/index.vue.mjs";
|
|
145
152
|
export {
|
|
146
153
|
S as APConfigProvider,
|
|
147
154
|
ur as ApActionButton,
|
|
148
|
-
|
|
155
|
+
ko as ApActionGroup,
|
|
149
156
|
L as ApActionItem,
|
|
150
157
|
Mo as ApActionItemDropdown,
|
|
151
158
|
No as ApActionItemModal,
|
|
152
|
-
|
|
159
|
+
vo as ApActionItemPopconfirm,
|
|
153
160
|
gt as ApAppendix,
|
|
154
161
|
Dr as ApAttachment,
|
|
155
162
|
Gr as ApBatchAction,
|
|
156
|
-
|
|
157
|
-
|
|
163
|
+
Er as ApBatchActionGroup,
|
|
164
|
+
xr as ApButton,
|
|
158
165
|
Lr as ApButtonGroup,
|
|
159
166
|
Rr as ApCard,
|
|
160
|
-
|
|
161
|
-
|
|
167
|
+
sr as ApConfirmButton,
|
|
168
|
+
Ut as ApCopy,
|
|
169
|
+
xp as ApDescriptions,
|
|
162
170
|
or as ApDownLoadNeedNameKeyDefault,
|
|
163
171
|
tr as ApDownload,
|
|
164
|
-
|
|
172
|
+
w as ApDrawer,
|
|
165
173
|
yr as ApExpandAlert,
|
|
166
174
|
Br as ApExportGroup,
|
|
167
|
-
|
|
168
|
-
|
|
175
|
+
wr as ApExportGroupActionType,
|
|
176
|
+
ht as ApExtensionSelect,
|
|
169
177
|
g as ApField,
|
|
170
178
|
to as ApFieldCheckbox,
|
|
171
179
|
ao as ApFieldDate,
|
|
@@ -173,11 +181,11 @@ export {
|
|
|
173
181
|
fo as ApFieldNumber,
|
|
174
182
|
So as ApFieldPassword,
|
|
175
183
|
xo as ApFieldRadio,
|
|
176
|
-
|
|
184
|
+
ho as ApFieldRate,
|
|
177
185
|
go as ApFieldSegmented,
|
|
178
186
|
Io as ApFieldSelect,
|
|
179
187
|
Co as ApFieldSlider,
|
|
180
|
-
|
|
188
|
+
Ao as ApFieldSwitch,
|
|
181
189
|
oo as ApFieldText,
|
|
182
190
|
io as ApFieldTextArea,
|
|
183
191
|
Po as ApFieldTreeSelect,
|
|
@@ -187,29 +195,31 @@ export {
|
|
|
187
195
|
qe as ApFormDrawerForm,
|
|
188
196
|
ye as ApFormItem,
|
|
189
197
|
Mt as ApFormItemBatchInput,
|
|
190
|
-
|
|
198
|
+
Ee as ApFormItemCheckbox,
|
|
191
199
|
Fe as ApFormItemDate,
|
|
192
200
|
Te as ApFormItemDateRange,
|
|
193
|
-
|
|
201
|
+
we as ApFormItemGroup,
|
|
194
202
|
ne as ApFormItemNumber,
|
|
195
203
|
be as ApFormItemRadio,
|
|
196
204
|
Ye as ApFormItemRender,
|
|
197
205
|
De as ApFormItemSelect,
|
|
198
206
|
Ge as ApFormItemSwitch,
|
|
199
207
|
ue as ApFormItemText,
|
|
200
|
-
|
|
208
|
+
se as ApFormItemTextArea,
|
|
201
209
|
Le as ApFormItemTextPassword,
|
|
202
210
|
Re as ApFormItemTreeSelect,
|
|
203
211
|
Be as ApFormList,
|
|
204
212
|
_e as ApFormModalForm,
|
|
205
213
|
$e as ApFormProvider,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
214
|
+
Oe as ApFormSearchForm,
|
|
215
|
+
je as ApFormSet,
|
|
216
|
+
Ep as ApGrid,
|
|
217
|
+
Et as ApGroupSearch,
|
|
210
218
|
Wr as ApImage,
|
|
211
219
|
Qo as ApInfoLayout,
|
|
212
|
-
|
|
220
|
+
jr as ApInputRadio,
|
|
221
|
+
Qt as ApKeepAlive,
|
|
222
|
+
Ht as ApKeepAliveProps,
|
|
213
223
|
qr as ApLabel,
|
|
214
224
|
Jr as ApLabelGroup,
|
|
215
225
|
Zr as ApLadder,
|
|
@@ -217,77 +227,82 @@ export {
|
|
|
217
227
|
y as ApModal,
|
|
218
228
|
Ct as ApNeedNameKeyDefault,
|
|
219
229
|
Pt as ApPopoverSelect,
|
|
220
|
-
|
|
230
|
+
Kt as ApProductInfo,
|
|
231
|
+
zt as ApRadioGroup,
|
|
221
232
|
et as ApSelectLayout,
|
|
222
|
-
|
|
233
|
+
kt as ApSizeInput,
|
|
223
234
|
rt as ApStatus,
|
|
224
235
|
tt as ApStatusGroup,
|
|
225
236
|
St as ApSummary,
|
|
226
237
|
B as ApTable,
|
|
227
238
|
Fr as ApTableModal,
|
|
228
|
-
|
|
239
|
+
jo as ApTag,
|
|
229
240
|
qo as ApTagGroup,
|
|
230
|
-
|
|
231
|
-
|
|
241
|
+
yp as ApText,
|
|
242
|
+
wp as ApTextGroup,
|
|
232
243
|
at as ApTitle,
|
|
233
244
|
nr as ApTransformDataHelper,
|
|
234
245
|
$o as ApUpload,
|
|
235
246
|
Nt as ApUploadSingle,
|
|
236
|
-
|
|
237
|
-
|
|
247
|
+
Vt as ApView,
|
|
248
|
+
vt as BatchInputGroup,
|
|
238
249
|
R as CheckCard,
|
|
239
250
|
ar as CheckCardGroup,
|
|
240
251
|
le as ConfigProvider,
|
|
241
252
|
W as DEFAULT_NAMESPACE,
|
|
242
253
|
z as DEFAULT_UIMODE,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
254
|
+
Ko as DictCode,
|
|
255
|
+
Lp as EditableGrid,
|
|
256
|
+
Rp as EditableGridFormItem,
|
|
257
|
+
ap as EditableTable,
|
|
258
|
+
fp as EditableTableFormItem,
|
|
259
|
+
bp as FullScreen,
|
|
260
|
+
np as InternalScrollBar,
|
|
261
|
+
Yt as LruCacher,
|
|
262
|
+
Bp as Mask,
|
|
251
263
|
Yo as NeedNameKeyDefault,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
264
|
+
Tp as Portal,
|
|
265
|
+
Gp as ROW_SELECTION_FIELD,
|
|
266
|
+
Dp as ResizeObserver,
|
|
267
|
+
sp as ScrollBar,
|
|
268
|
+
Fp as ScrollView,
|
|
269
|
+
O as Splitter,
|
|
258
270
|
Wo as WorkOrderModal,
|
|
259
|
-
|
|
260
|
-
|
|
271
|
+
h as adminToken,
|
|
272
|
+
E as aplusToken,
|
|
261
273
|
Y as buildLocaleContext,
|
|
262
274
|
Z as buildTranslator,
|
|
263
275
|
nt as computedRecords,
|
|
264
|
-
|
|
276
|
+
j as configProviderContextKey,
|
|
265
277
|
_ as configProviderProps,
|
|
266
278
|
_r as convertExportField,
|
|
267
279
|
_o as createWorkOrderModal,
|
|
268
280
|
te as defaultNamespace,
|
|
269
|
-
|
|
281
|
+
up as ensureRangeValue,
|
|
270
282
|
ct as flattenColumns,
|
|
283
|
+
qt as forceStopTags,
|
|
271
284
|
Ft as formatDataIndex,
|
|
272
285
|
It as formatNumber,
|
|
273
|
-
|
|
274
|
-
|
|
286
|
+
xe as globalConfigCached,
|
|
287
|
+
Or as handleExportDownload,
|
|
288
|
+
op as isNameMatches,
|
|
275
289
|
q as keysOf,
|
|
276
|
-
|
|
290
|
+
Oo as langMap,
|
|
277
291
|
$ as localeContextKey,
|
|
278
292
|
Xr as locales,
|
|
279
293
|
pe as namespaceContextKey,
|
|
280
294
|
J as provideGlobalConfig,
|
|
281
295
|
ee as translate,
|
|
296
|
+
$t as useApKeepAliveInject,
|
|
282
297
|
ae as useGetDerivedNamespace,
|
|
283
298
|
Q as useGlobalConfig,
|
|
284
|
-
|
|
299
|
+
st as useGridRefresh,
|
|
285
300
|
oe as useLocale,
|
|
286
301
|
me as useNamespace,
|
|
287
302
|
ut as usePageListApGrid,
|
|
288
303
|
ft as usePageListApTable,
|
|
289
304
|
Tr as useTableModal,
|
|
290
|
-
|
|
291
|
-
|
|
305
|
+
tp as useTablePaging,
|
|
306
|
+
xt as useTableRefresh,
|
|
292
307
|
br as useTableSelectModal
|
|
293
308
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as V, ref as m, watch as v, watchEffect as _, onMounted as g, onUnmounted as O, createBlock as x, createCommentVNode as r, openBlock as y, Teleport as P, createElementVNode as d, normalizeStyle as k, unref as o, normalizeClass as i, createVNode as C, Transition as b, withCtx as h, createElementBlock as T, renderSlot as B } from "vue";
|
|
2
2
|
import "../hooks/index.mjs";
|
|
3
3
|
import "../config-provider/index.mjs";
|
|
4
4
|
import { getMaskZIndex as U, lockScrollable as $ } from "./utils.mjs";
|
|
5
5
|
import { useNamespace as w } from "../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
import { useControllableValue as j } from "../hooks/useControllableValue.mjs";
|
|
7
|
-
const J = /* @__PURE__ */
|
|
7
|
+
const J = /* @__PURE__ */ V({
|
|
8
|
+
name: "ApMask",
|
|
8
9
|
__name: "index",
|
|
9
10
|
props: {
|
|
10
11
|
open: { type: Boolean },
|
|
@@ -19,13 +20,13 @@ const J = /* @__PURE__ */ g({
|
|
|
19
20
|
},
|
|
20
21
|
emits: ["update:open"],
|
|
21
22
|
setup(E, { emit: S }) {
|
|
22
|
-
const
|
|
23
|
-
|
|
23
|
+
const n = E, { b: z, e: u, em: I } = w("mask"), { b: c } = w("fade"), L = S, N = n.zIndex || U(), { value: a, updateValue: s } = j(
|
|
24
|
+
n,
|
|
24
25
|
L,
|
|
25
26
|
{
|
|
26
27
|
valuePropName: "open"
|
|
27
28
|
}
|
|
28
|
-
), l = m(
|
|
29
|
+
), l = m(n.open);
|
|
29
30
|
v(
|
|
30
31
|
() => a.value,
|
|
31
32
|
(e) => {
|
|
@@ -34,37 +35,37 @@ const J = /* @__PURE__ */ g({
|
|
|
34
35
|
);
|
|
35
36
|
const p = m();
|
|
36
37
|
v(p, (e) => {
|
|
37
|
-
e && e.addEventListener("wheel", (
|
|
38
|
-
|
|
38
|
+
e && e.addEventListener("wheel", (t) => {
|
|
39
|
+
t.stopPropagation(), t.preventDefault();
|
|
39
40
|
});
|
|
40
|
-
}),
|
|
41
|
+
}), _((e) => {
|
|
41
42
|
if (!a.value)
|
|
42
43
|
return;
|
|
43
|
-
const
|
|
44
|
+
const t = $();
|
|
44
45
|
e(() => {
|
|
45
|
-
|
|
46
|
+
t == null || t();
|
|
46
47
|
});
|
|
47
|
-
}),
|
|
48
|
+
}), g(() => {
|
|
48
49
|
document.addEventListener("keydown", f);
|
|
49
50
|
}), O(() => {
|
|
50
51
|
document.removeEventListener("keydown", f);
|
|
51
52
|
});
|
|
52
|
-
function
|
|
53
|
+
function A() {
|
|
53
54
|
l.value = !1;
|
|
54
55
|
}
|
|
55
|
-
async function
|
|
56
|
-
if (
|
|
57
|
-
if (
|
|
58
|
-
await
|
|
56
|
+
async function M() {
|
|
57
|
+
if (n.closable) {
|
|
58
|
+
if (n.onBeforeClose) {
|
|
59
|
+
await n.onBeforeClose() && s(!1);
|
|
59
60
|
return;
|
|
60
61
|
}
|
|
61
62
|
s(!1);
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
function f(e) {
|
|
65
|
-
!a.value || !(
|
|
66
|
+
!a.value || !(n.closable && n.escClosable) || e.key === "Escape" && s(!1);
|
|
66
67
|
}
|
|
67
|
-
return (e,
|
|
68
|
+
return (e, t) => !e.deleteOnClose || l.value ? (y(), x(P, {
|
|
68
69
|
key: 0,
|
|
69
70
|
to: "body"
|
|
70
71
|
}, [
|
|
@@ -77,13 +78,13 @@ const J = /* @__PURE__ */ g({
|
|
|
77
78
|
C(b, {
|
|
78
79
|
appear: "",
|
|
79
80
|
name: o(c)(),
|
|
80
|
-
onAfterLeave:
|
|
81
|
+
onAfterLeave: A
|
|
81
82
|
}, {
|
|
82
83
|
default: h(() => [
|
|
83
84
|
o(a) ? (y(), T("div", {
|
|
84
85
|
key: 0,
|
|
85
86
|
class: i([o(u)("mask"), { [o(I)("mask", "disabled")]: e.disabled }]),
|
|
86
|
-
onClick:
|
|
87
|
+
onClick: M
|
|
87
88
|
}, [
|
|
88
89
|
B(e.$slots, "mask", {}, () => [
|
|
89
90
|
d("div", {
|
package/es/src/path-map.mjs
CHANGED
|
@@ -72,6 +72,7 @@ const e = {
|
|
|
72
72
|
ApLabelGroup: ["business", "ap-label", "group"],
|
|
73
73
|
ApLadder: ["business", "ap-ladder"],
|
|
74
74
|
ApProductInfo: ["business", "ap-product-info"],
|
|
75
|
+
ApCopy: ["business", "ap-copy"],
|
|
75
76
|
ApSelectLayout: ["business", "ap-select-layout"],
|
|
76
77
|
ApStatus: ["business", "ap-status"],
|
|
77
78
|
ApStatusGroup: ["business", "ap-status", "group"],
|
|
@@ -99,7 +100,8 @@ const e = {
|
|
|
99
100
|
ApText: ["text"],
|
|
100
101
|
Mask: ["mask"],
|
|
101
102
|
Splitter: ["splitter"],
|
|
102
|
-
ApView: ["business", "ap-view"]
|
|
103
|
+
ApView: ["business", "ap-view"],
|
|
104
|
+
ApRadioGroup: ["business", "ap-radio-group"]
|
|
103
105
|
};
|
|
104
106
|
export {
|
|
105
107
|
e as default
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
2
1
|
export type ResizeObserverProps = {
|
|
3
2
|
/**
|
|
4
3
|
* 尺寸变化的回调函数,一旦返回了`false`,表示不可用,会立刻清空监听
|
|
@@ -11,9 +10,9 @@ export type ResizeObserverProps = {
|
|
|
11
10
|
};
|
|
12
11
|
export type ResizeObserverExpose = {
|
|
13
12
|
/**
|
|
14
|
-
*
|
|
13
|
+
* 当前监听是否可用(响应式)
|
|
15
14
|
*/
|
|
16
|
-
visible:
|
|
15
|
+
visible: boolean;
|
|
17
16
|
/**
|
|
18
17
|
* 取消监听
|
|
19
18
|
* @returns
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
2
|
export type ScrollBarDirection = 'vertical' | 'horizontal';
|
|
3
3
|
export type ColorType = CSSProperties['background-color'];
|
|
4
4
|
export interface InternalScrollBarProps {
|
|
@@ -57,13 +57,13 @@ export interface ScrollBarProps extends InternalScrollBarProps {
|
|
|
57
57
|
extraSize?: number;
|
|
58
58
|
}
|
|
59
59
|
export interface InternalScrollBarExpose {
|
|
60
|
-
currentScroll:
|
|
61
|
-
container:
|
|
62
|
-
track:
|
|
63
|
-
bar:
|
|
60
|
+
currentScroll: number;
|
|
61
|
+
container: HTMLElement;
|
|
62
|
+
track: HTMLElement;
|
|
63
|
+
bar: HTMLElement;
|
|
64
64
|
scroll: (percent: number) => void;
|
|
65
65
|
}
|
|
66
66
|
export type ScrollBarExpose = Pick<InternalScrollBarExpose, 'scroll' | 'currentScroll'> & {
|
|
67
|
-
visible:
|
|
68
|
-
rootElement:
|
|
67
|
+
visible: boolean;
|
|
68
|
+
rootElement: HTMLElement;
|
|
69
69
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InternalScrollBarProps, ScrollBarDirection } from '../scroll-bar';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
2
|
type BarExtraProps = Omit<InternalScrollBarProps, 'direction' | 'scroll' | 'barLength'>;
|
|
4
3
|
export type ScrollOffsetType = {
|
|
5
4
|
x: number;
|
|
@@ -63,11 +62,11 @@ export type ScrollViewExpose = {
|
|
|
63
62
|
/**
|
|
64
63
|
* 当前滚动距离顶部的位置
|
|
65
64
|
*/
|
|
66
|
-
scrollTop:
|
|
65
|
+
scrollTop: number;
|
|
67
66
|
/**
|
|
68
67
|
* 当前滚动距离左侧的位置
|
|
69
68
|
*/
|
|
70
|
-
scrollLeft:
|
|
69
|
+
scrollLeft: number;
|
|
71
70
|
/**
|
|
72
71
|
* 滚动到指定位置
|
|
73
72
|
* @param x
|
|
@@ -3,6 +3,7 @@ import "../config-provider/index.mjs";
|
|
|
3
3
|
import { UpOutlined as A, LeftOutlined as D, DownOutlined as I, RightOutlined as R } from "@ant-design/icons-vue";
|
|
4
4
|
import { useNamespace as $ } from "../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
const j = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], K = /* @__PURE__ */ U({
|
|
6
|
+
name: "SplitBar",
|
|
6
7
|
__name: "SplitBar",
|
|
7
8
|
props: {
|
|
8
9
|
index: {},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function mockWarn(): void;
|