@aplus-frontend/ui 0.6.0-beta.2 → 0.6.0-beta.20
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 +305 -289
- package/es/src/ap-action/group/index.vue.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +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-field/date/helper.mjs +12 -12
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- 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 +3 -5
- package/es/src/ap-field/radio/index.vue.d.ts +2 -4
- package/es/src/ap-field/rate/index.vue.d.ts +3 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -7
- 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.d.ts +1 -1
- 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 +9 -7
- package/es/src/ap-form/drawer-form/index.vue.mjs +58 -49
- package/es/src/ap-form/interface.d.ts +13 -5
- package/es/src/ap-form/item/index.vue.d.ts +6 -11
- package/es/src/ap-form/item/index.vue.mjs +43 -39
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.mjs +12 -14
- 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/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.d.ts +8 -8
- 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/render/item.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +40 -36
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +33 -13
- package/es/src/ap-form/search-form/index.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/index.vue.mjs +99 -97
- package/es/src/ap-form/set/index.vue.mjs +7 -6
- package/es/src/ap-grid/constants.d.ts +3 -3
- package/es/src/ap-grid/constants.mjs +9 -9
- package/es/src/ap-grid/editable/form-item.vue.mjs +97 -83
- package/es/src/ap-grid/editable/index.vue.mjs +100 -86
- 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/index.vue.mjs +291 -224
- package/es/src/ap-grid/interface.d.ts +31 -2
- package/es/src/ap-grid/utils/table.mjs +31 -31
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -9
- package/es/src/ap-list/index.vue.mjs +116 -106
- package/es/src/ap-list/interface.d.ts +20 -0
- package/es/src/ap-table/ap-table.vue.d.ts +10 -2
- package/es/src/ap-table/ap-table.vue2.mjs +78 -70
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -44
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +52 -52
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +23 -4
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +152 -124
- package/es/src/ap-table/interface.d.ts +14 -1
- package/es/src/ap-table/utils.d.ts +35 -35
- package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- 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.vue.d.ts +3 -3
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +94 -73
- package/es/src/business/ap-expand-alert/index.d.ts +4 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +18 -17
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
- 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 +107 -0
- package/es/src/business/ap-keep-alive/index.mjs +13 -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 +22 -0
- package/es/src/business/ap-keep-alive/utils.mjs +41 -0
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +15 -16
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +2 -3
- package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +3 -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 +19 -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 +60 -0
- package/es/src/business/ap-radio-group/index.d.ts +60 -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-status/interface.d.ts +1 -1
- 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 +5 -1
- package/es/src/business/ap-view/ap-view.vue2.mjs +162 -129
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +55 -51
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +79 -73
- package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/es/src/business/ap-view/index.d.ts +15 -3
- package/es/src/business/ap-view/interface.d.ts +11 -0
- package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/form-item.vue.mjs +14 -13
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- 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/check-card/group.vue.d.ts +1 -1
- package/es/src/components.d.ts +1 -0
- package/es/src/config-provider/config-provider-props.d.ts +0 -5
- package/es/src/config-provider/config-provider-props.mjs +0 -4
- package/es/src/config-provider/config-provider.d.ts +0 -138
- package/es/src/config-provider/config-provider.mjs +21 -26
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/es/src/config-provider/index.d.ts +0 -652
- package/es/src/editable-table/form-item.vue.d.ts +2 -14
- package/es/src/editable-table/form-item.vue.mjs +86 -78
- package/es/src/editable-table/index.vue.d.ts +2 -16
- package/es/src/editable-table/index.vue.mjs +91 -83
- package/es/src/editable-table/interface.d.ts +7 -0
- package/es/src/full-screen/interface.d.ts +5 -6
- package/es/src/index.mjs +132 -119
- 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/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-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +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-field/date/helper.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +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 +3 -5
- package/lib/src/ap-field/radio/index.vue.d.ts +2 -4
- package/lib/src/ap-field/rate/index.vue.d.ts +3 -5
- package/lib/src/ap-field/select/index.vue.d.ts +4 -7
- 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.d.ts +1 -1
- 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 +9 -7
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/interface.d.ts +13 -5
- package/lib/src/ap-form/item/index.vue.d.ts +6 -11
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- 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/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.d.ts +8 -8
- 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/render/item.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +2 -2
- 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/constants.d.ts +3 -3
- package/lib/src/ap-grid/constants.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/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +31 -2
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +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 +20 -0
- 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/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +52 -52
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +23 -4
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +14 -1
- package/lib/src/ap-table/utils.d.ts +35 -35
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- 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.vue.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.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 +107 -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 +22 -0
- package/lib/src/business/ap-keep-alive/utils.js +1 -0
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +2 -3
- package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +3 -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 +19 -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 +60 -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-status/interface.d.ts +1 -1
- 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 +5 -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/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/lib/src/business/ap-view/index.d.ts +15 -3
- package/lib/src/business/ap-view/interface.d.ts +11 -0
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.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/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/check-card/group.vue.d.ts +1 -1
- package/lib/src/components.d.ts +1 -0
- package/lib/src/config-provider/config-provider-props.d.ts +0 -5
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +0 -138
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/lib/src/config-provider/index.d.ts +0 -652
- package/lib/src/editable-table/form-item.vue.d.ts +2 -14
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -16
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -0
- 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/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 +12 -11
- package/theme/antd-global-overwrite/admin/alert.css +6 -19
- 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/field.css +39 -0
- package/theme/antd-global-overwrite/admin/field.less +39 -0
- package/theme/antd-global-overwrite/admin/index.css +89 -646
- package/theme/antd-global-overwrite/admin/index.less +2 -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 +15 -48
- package/theme/antd-global-overwrite/admin/modal.less +13 -54
- 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/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/alert.css +9 -19
- 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/field.css +33 -0
- package/theme/antd-global-overwrite/aplus/field.less +32 -0
- package/theme/antd-global-overwrite/aplus/index.css +91 -690
- package/theme/antd-global-overwrite/aplus/index.less +1 -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 +15 -49
- package/theme/antd-global-overwrite/aplus/modal.less +14 -58
- package/theme/antd-global-overwrite/aplus/table.css +11 -236
- package/theme/antd-global-overwrite/aplus/table.less +4 -134
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-action/item-dropdown.css +19 -1
- package/theme/ap-action/item.css +37 -8
- package/theme/ap-action/item.less +18 -6
- package/theme/ap-appendix/ap-appendix.css +27 -9
- package/theme/ap-appendix/ap-appendix.less +8 -8
- package/theme/ap-attachment/ap-attachment.css +21 -2
- package/theme/ap-attachment/ap-attachment.less +2 -2
- package/theme/ap-batch-action/ap-batch-action.css +22 -4
- package/theme/ap-batch-action/ap-batch-action.less +3 -3
- package/theme/ap-button/ap-button.css +19 -1
- package/theme/ap-card/ap-card.css +20 -2
- 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 +25 -5
- package/theme/ap-descriptions/ap-descriptions.less +6 -4
- package/theme/ap-download/ap-download.css +19 -1
- package/theme/ap-expand-alert/ap-expand-alert.css +21 -2
- package/theme/ap-expand-alert/ap-expand-alert.less +2 -1
- package/theme/ap-field/checkbox.css +19 -1
- package/theme/ap-field/index.css +19 -1
- package/theme/ap-field/number.css +19 -1
- package/theme/ap-field/radio.css +19 -1
- package/theme/ap-field/text-area.css +19 -1
- package/theme/ap-form/ap-form-item-group.css +19 -1
- package/theme/ap-form/ap-form-item.css +30 -9
- package/theme/ap-form/ap-form-item.less +15 -9
- package/theme/ap-form/drawer-form.css +19 -1
- package/theme/ap-form/index.css +51 -18
- package/theme/ap-form/item-text-group.css +19 -1
- package/theme/ap-form/item-text.css +19 -1
- package/theme/ap-form/modal-form.css +19 -1
- package/theme/ap-form/search-form-sorter.css +28 -9
- package/theme/ap-form/search-form-sorter.less +5 -4
- package/theme/ap-form/search-form.css +51 -18
- package/theme/ap-form/search-form.less +12 -1
- package/theme/ap-grid/editable.css +19 -1
- package/theme/ap-grid/index.css +118 -31
- package/theme/ap-grid/index.less +34 -5
- package/theme/ap-group-search/ap-extension-select.css +19 -1
- package/theme/ap-group-search/ap-group-search.css +19 -1
- package/theme/ap-group-search/ap-popover-select.css +19 -1
- package/theme/ap-image/ap-image.css +19 -1
- package/theme/ap-input-radio/ap-input-radio.css +19 -1
- package/theme/ap-label/ap-label.css +19 -1
- package/theme/ap-ladder/ap-ladder.css +20 -1
- package/theme/ap-ladder/ap-ladder.less +1 -0
- package/theme/ap-layout/ap-info-layout.css +19 -1
- package/theme/ap-list/index.css +19 -1
- package/theme/ap-product-info/ap-product-info.css +39 -31
- package/theme/ap-product-info/ap-product-info.less +28 -42
- package/theme/ap-radio-group/ap-radio-group.css +65 -0
- package/theme/ap-radio-group/ap-radio-group.less +25 -0
- package/theme/ap-select-layout/ap-select-layout.css +19 -1
- package/theme/ap-size-input/ap-size-input.css +19 -1
- package/theme/ap-status/ap-status.css +20 -2
- package/theme/ap-status/ap-status.less +1 -1
- package/theme/ap-summary/index.css +19 -1
- package/theme/ap-table/ap-table-index.css +19 -1
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +20 -2
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +127 -50
- package/theme/ap-table/ap-table.less +24 -11
- package/theme/ap-table/setting/index.css +35 -13
- package/theme/ap-table/setting/modal.css +26 -5
- package/theme/ap-table/setting/modal.less +6 -3
- package/theme/ap-table/setting/select-group.css +21 -2
- package/theme/ap-table/setting/select-group.less +2 -1
- package/theme/ap-table/setting/sortable-item-meta.css +21 -3
- package/theme/ap-table/setting/sortable-item-meta.less +2 -2
- package/theme/ap-table/setting/sortable-item.css +19 -1
- package/theme/ap-table/setting/sorter.css +24 -6
- package/theme/ap-table/setting/sorter.less +4 -4
- package/theme/ap-table-modal/index.css +142 -63
- package/theme/ap-table-modal/index.less +15 -13
- package/theme/ap-tag/ap-tag-group.css +21 -3
- package/theme/ap-tag/ap-tag-group.less +2 -3
- package/theme/ap-tag/ap-tag.css +23 -5
- package/theme/ap-tag/ap-tag.less +4 -4
- package/theme/ap-title/ap-title.css +24 -4
- package/theme/ap-title/ap-title.less +5 -3
- package/theme/ap-upload/index.css +24 -6
- package/theme/ap-upload/multiple-file.css +20 -2
- package/theme/ap-upload/multiple-file.less +1 -1
- package/theme/ap-upload/picture.css +21 -3
- package/theme/ap-upload/picture.less +2 -2
- package/theme/ap-upload/single-file.css +21 -3
- package/theme/ap-upload/single-file.less +2 -2
- package/theme/ap-upload/upload.css +19 -1
- package/theme/ap-upload-single/index.css +23 -5
- package/theme/ap-upload-single/index.less +4 -4
- package/theme/ap-view/ap-view.css +26 -8
- package/theme/ap-view/ap-view.less +7 -7
- package/theme/batch-input-group/index.css +22 -3
- package/theme/batch-input-group/popover-input.css +22 -3
- package/theme/batch-input-group/popover-input.less +3 -2
- package/theme/check-card/index.css +27 -9
- package/theme/check-card/index.less +5 -5
- package/theme/editable-table/index.css +69 -25
- package/theme/full-screen/index.css +19 -1
- package/theme/index.css +410 -163
- package/theme/index.less +3 -0
- package/theme/mask/index.css +19 -1
- package/theme/mixins/config.less +1 -1
- package/theme/mixins/mixins.css +19 -1
- package/theme/mixins/mixins.less +25 -0
- package/theme/scroll-bar/index.css +19 -1
- package/theme/scroll-view/index.css +19 -1
- package/theme/splitter/index.css +24 -6
- package/theme/splitter/index.less +1 -1
- package/theme/text/group.css +19 -1
- package/theme/text/index.css +24 -6
- package/theme/text/index.less +4 -4
- package/theme/ui-mode.css +58 -0
- package/theme/ui-mode.less +107 -0
- package/theme/work-order-modal/index.css +19 -1
- package/es/src/config-provider/css-var.d.ts +0 -139
- package/es/src/config-provider/css-var.mjs +0 -278
- package/lib/src/config-provider/css-var.d.ts +0 -139
- package/lib/src/config-provider/css-var.js +0 -1
package/es/src/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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";
|
|
8
8
|
import "./ap-info-layout/index.mjs";
|
|
9
9
|
import "./ap-upload/index.mjs";
|
|
10
10
|
import "./ap-download/index.mjs";
|
|
11
|
-
import { CheckCard as
|
|
11
|
+
import { CheckCard as N } 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 M } 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
|
-
import { defaultNamespace as te, namespaceContextKey as pe, useGetDerivedNamespace as ae, useNamespace as
|
|
34
|
-
import { ConfigProvider as le, globalConfigCached as
|
|
33
|
+
import { defaultNamespace as te, namespaceContextKey as pe, useGetDerivedNamespace as ae, useNamespace as fe } from "./config-provider/hooks/use-namespace.mjs";
|
|
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
|
-
import { default as
|
|
45
|
+
import { default as Ne } 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 Me } 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";
|
|
@@ -57,25 +57,25 @@ import { default as $e } from "./ap-form/provider/index.vue.mjs";
|
|
|
57
57
|
import { ApFieldText as oo } from "./ap-field/text/index.mjs";
|
|
58
58
|
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
|
-
import { default as
|
|
60
|
+
import { default as mo } 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
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { DictCode as
|
|
71
|
+
import { default as Ro } from "./ap-action/item-modal/index.vue.mjs";
|
|
72
|
+
import { default as vo } from "./ap-action/item-popconfirm/index.vue.mjs";
|
|
73
|
+
import { default as wo } from "./ap-action/item-dropdown/index.vue.mjs";
|
|
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";
|
|
@@ -83,101 +83,108 @@ import { default as $o } from "./ap-upload/apUpload.vue.mjs";
|
|
|
83
83
|
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
|
-
import { default as
|
|
87
|
-
import { default as
|
|
86
|
+
import { default as mr } from "./ap-list/index.vue.mjs";
|
|
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
|
-
import { ApCard as
|
|
98
|
+
import { ApCard as Nr } 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 Mr } 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";
|
|
109
109
|
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
|
-
import { usePageListApTable as
|
|
113
|
-
import { useTableRefresh as
|
|
112
|
+
import { usePageListApTable as mt } from "./business/hooks/usePageListApTable.mjs";
|
|
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
|
|
121
|
-
import { default as
|
|
122
|
-
import { default as
|
|
123
|
-
import { default as
|
|
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 { default as
|
|
135
|
-
import { default as
|
|
136
|
-
import { default as mp } from "./
|
|
137
|
-
import {
|
|
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 {
|
|
120
|
+
import { ApExtensionSelect as ht, ApGroupSearch as Et, ApPopoverSelect as Pt } from "./business/ap-group-search/index.mjs";
|
|
121
|
+
import { default as Rt } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
122
|
+
import { default as vt } from "./business/batch-input-group/index.vue.mjs";
|
|
123
|
+
import { default as wt } from "./business/batch-input-group/form-item.vue.mjs";
|
|
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 { useTablePaging as op } from "./ap-table/hooks/use-table-paging.mjs";
|
|
134
|
+
import { default as tp } from "./editable-table/index.vue.mjs";
|
|
135
|
+
import { default as ap } from "./editable-table/form-item.vue.mjs";
|
|
136
|
+
import { default as mp } from "./ap-descriptions/ap-descriptions.vue.mjs";
|
|
137
|
+
import { ensureRangeValue as xp } from "./scroll-bar/utils/index.mjs";
|
|
138
|
+
import { default as up } from "./scroll-bar/index.vue.mjs";
|
|
139
|
+
import { default as sp } from "./scroll-bar/internal.vue.mjs";
|
|
140
|
+
import { default as np } from "./scroll-view/index.vue.mjs";
|
|
141
|
+
import { default as Fp } from "./portal/index.vue.mjs";
|
|
142
|
+
import { default as Tp } from "./full-screen/index.vue.mjs";
|
|
143
|
+
import { default as bp } from "./resize-observer/index.vue.mjs";
|
|
144
|
+
import { ROW_SELECTION_FIELD as Dp } from "./ap-grid/constants.mjs";
|
|
145
|
+
import { default as Gp } from "./ap-grid/index.vue.mjs";
|
|
146
|
+
import { default as Ep } from "./ap-grid/editable/index.vue.mjs";
|
|
147
|
+
import { default as Lp } from "./ap-grid/editable/form-item.vue.mjs";
|
|
148
|
+
import { default as Np } from "./text/index.vue.mjs";
|
|
149
|
+
import { default as yp } from "./text/group.vue.mjs";
|
|
150
|
+
import { default as Mp } from "./mask/index.vue.mjs";
|
|
145
151
|
export {
|
|
146
152
|
S as APConfigProvider,
|
|
147
153
|
ur as ApActionButton,
|
|
148
|
-
|
|
154
|
+
ko as ApActionGroup,
|
|
149
155
|
L as ApActionItem,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
156
|
+
wo as ApActionItemDropdown,
|
|
157
|
+
Ro as ApActionItemModal,
|
|
158
|
+
vo as ApActionItemPopconfirm,
|
|
153
159
|
gt as ApAppendix,
|
|
154
160
|
Dr as ApAttachment,
|
|
155
161
|
Gr as ApBatchAction,
|
|
156
|
-
|
|
157
|
-
|
|
162
|
+
Er as ApBatchActionGroup,
|
|
163
|
+
xr as ApButton,
|
|
158
164
|
Lr as ApButtonGroup,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
165
|
+
Nr as ApCard,
|
|
166
|
+
sr as ApConfirmButton,
|
|
167
|
+
Ut as ApCopy,
|
|
168
|
+
mp as ApDescriptions,
|
|
162
169
|
or as ApDownLoadNeedNameKeyDefault,
|
|
163
170
|
tr as ApDownload,
|
|
164
|
-
|
|
171
|
+
M as ApDrawer,
|
|
165
172
|
yr as ApExpandAlert,
|
|
166
173
|
Br as ApExportGroup,
|
|
167
|
-
|
|
168
|
-
|
|
174
|
+
Mr as ApExportGroupActionType,
|
|
175
|
+
ht as ApExtensionSelect,
|
|
169
176
|
g as ApField,
|
|
170
177
|
to as ApFieldCheckbox,
|
|
171
178
|
ao as ApFieldDate,
|
|
172
179
|
co as ApFieldDateRange,
|
|
173
|
-
|
|
180
|
+
mo as ApFieldNumber,
|
|
174
181
|
So as ApFieldPassword,
|
|
175
182
|
xo as ApFieldRadio,
|
|
176
|
-
|
|
183
|
+
ho as ApFieldRate,
|
|
177
184
|
go as ApFieldSegmented,
|
|
178
185
|
Io as ApFieldSelect,
|
|
179
186
|
Co as ApFieldSlider,
|
|
180
|
-
|
|
187
|
+
Ao as ApFieldSwitch,
|
|
181
188
|
oo as ApFieldText,
|
|
182
189
|
io as ApFieldTextArea,
|
|
183
190
|
Po as ApFieldTreeSelect,
|
|
@@ -186,108 +193,114 @@ export {
|
|
|
186
193
|
We as ApFormDependency,
|
|
187
194
|
qe as ApFormDrawerForm,
|
|
188
195
|
ye as ApFormItem,
|
|
189
|
-
|
|
190
|
-
|
|
196
|
+
wt as ApFormItemBatchInput,
|
|
197
|
+
Ee as ApFormItemCheckbox,
|
|
191
198
|
Fe as ApFormItemDate,
|
|
192
199
|
Te as ApFormItemDateRange,
|
|
193
|
-
|
|
200
|
+
Me as ApFormItemGroup,
|
|
194
201
|
ne as ApFormItemNumber,
|
|
195
202
|
be as ApFormItemRadio,
|
|
196
203
|
Ye as ApFormItemRender,
|
|
197
204
|
De as ApFormItemSelect,
|
|
198
205
|
Ge as ApFormItemSwitch,
|
|
199
206
|
ue as ApFormItemText,
|
|
200
|
-
|
|
207
|
+
se as ApFormItemTextArea,
|
|
201
208
|
Le as ApFormItemTextPassword,
|
|
202
|
-
|
|
209
|
+
Ne as ApFormItemTreeSelect,
|
|
203
210
|
Be as ApFormList,
|
|
204
211
|
_e as ApFormModalForm,
|
|
205
212
|
$e as ApFormProvider,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
213
|
+
Oe as ApFormSearchForm,
|
|
214
|
+
je as ApFormSet,
|
|
215
|
+
Gp as ApGrid,
|
|
216
|
+
Et as ApGroupSearch,
|
|
210
217
|
Wr as ApImage,
|
|
211
218
|
Qo as ApInfoLayout,
|
|
212
|
-
|
|
219
|
+
jr as ApInputRadio,
|
|
220
|
+
Qt as ApKeepAlive,
|
|
221
|
+
Ht as ApKeepAliveProps,
|
|
213
222
|
qr as ApLabel,
|
|
214
223
|
Jr as ApLabelGroup,
|
|
215
224
|
Zr as ApLadder,
|
|
216
|
-
|
|
225
|
+
mr as ApList,
|
|
217
226
|
y as ApModal,
|
|
218
227
|
Ct as ApNeedNameKeyDefault,
|
|
219
228
|
Pt as ApPopoverSelect,
|
|
220
|
-
|
|
229
|
+
Kt as ApProductInfo,
|
|
230
|
+
zt as ApRadioGroup,
|
|
221
231
|
et as ApSelectLayout,
|
|
222
|
-
|
|
232
|
+
kt as ApSizeInput,
|
|
223
233
|
rt as ApStatus,
|
|
224
234
|
tt as ApStatusGroup,
|
|
225
235
|
St as ApSummary,
|
|
226
236
|
B as ApTable,
|
|
227
237
|
Fr as ApTableModal,
|
|
228
|
-
|
|
238
|
+
jo as ApTag,
|
|
229
239
|
qo as ApTagGroup,
|
|
230
|
-
|
|
231
|
-
|
|
240
|
+
Np as ApText,
|
|
241
|
+
yp as ApTextGroup,
|
|
232
242
|
at as ApTitle,
|
|
233
243
|
nr as ApTransformDataHelper,
|
|
234
244
|
$o as ApUpload,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
245
|
+
Rt as ApUploadSingle,
|
|
246
|
+
Vt as ApView,
|
|
247
|
+
vt as BatchInputGroup,
|
|
248
|
+
N as CheckCard,
|
|
239
249
|
ar as CheckCardGroup,
|
|
240
250
|
le as ConfigProvider,
|
|
241
251
|
W as DEFAULT_NAMESPACE,
|
|
242
252
|
z as DEFAULT_UIMODE,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
253
|
+
Ko as DictCode,
|
|
254
|
+
Ep as EditableGrid,
|
|
255
|
+
Lp as EditableGridFormItem,
|
|
256
|
+
tp as EditableTable,
|
|
257
|
+
ap as EditableTableFormItem,
|
|
258
|
+
Tp as FullScreen,
|
|
259
|
+
sp as InternalScrollBar,
|
|
260
|
+
Yt as LruCacher,
|
|
261
|
+
Mp as Mask,
|
|
251
262
|
Yo as NeedNameKeyDefault,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
263
|
+
Fp as Portal,
|
|
264
|
+
Dp as ROW_SELECTION_FIELD,
|
|
265
|
+
bp as ResizeObserver,
|
|
266
|
+
up as ScrollBar,
|
|
267
|
+
np as ScrollView,
|
|
268
|
+
O as Splitter,
|
|
258
269
|
Wo as WorkOrderModal,
|
|
259
|
-
|
|
260
|
-
|
|
270
|
+
h as adminToken,
|
|
271
|
+
E as aplusToken,
|
|
261
272
|
Y as buildLocaleContext,
|
|
262
273
|
Z as buildTranslator,
|
|
263
274
|
nt as computedRecords,
|
|
264
|
-
|
|
275
|
+
j as configProviderContextKey,
|
|
265
276
|
_ as configProviderProps,
|
|
266
277
|
_r as convertExportField,
|
|
267
278
|
_o as createWorkOrderModal,
|
|
268
279
|
te as defaultNamespace,
|
|
269
|
-
|
|
280
|
+
xp as ensureRangeValue,
|
|
270
281
|
ct as flattenColumns,
|
|
282
|
+
qt as forceStopTags,
|
|
271
283
|
Ft as formatDataIndex,
|
|
272
284
|
It as formatNumber,
|
|
273
|
-
|
|
274
|
-
|
|
285
|
+
xe as globalConfigCached,
|
|
286
|
+
Or as handleExportDownload,
|
|
275
287
|
q as keysOf,
|
|
276
|
-
|
|
288
|
+
Oo as langMap,
|
|
277
289
|
$ as localeContextKey,
|
|
278
290
|
Xr as locales,
|
|
279
291
|
pe as namespaceContextKey,
|
|
280
292
|
J as provideGlobalConfig,
|
|
281
293
|
ee as translate,
|
|
294
|
+
$t as useApKeepAliveInject,
|
|
282
295
|
ae as useGetDerivedNamespace,
|
|
283
296
|
Q as useGlobalConfig,
|
|
284
|
-
|
|
297
|
+
st as useGridRefresh,
|
|
285
298
|
oe as useLocale,
|
|
286
|
-
|
|
299
|
+
fe as useNamespace,
|
|
287
300
|
ut as usePageListApGrid,
|
|
288
|
-
|
|
301
|
+
mt as usePageListApTable,
|
|
289
302
|
Tr as useTableModal,
|
|
290
|
-
|
|
291
|
-
|
|
303
|
+
op as useTablePaging,
|
|
304
|
+
xt as useTableRefresh,
|
|
292
305
|
br as useTableSelectModal
|
|
293
306
|
};
|
|
@@ -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: {},
|