@aplus-frontend/ui 0.6.0-beta.2 → 0.6.0-beta.21
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-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-drawer/ApDrawer.vue.d.ts +29 -0
- package/es/src/ap-drawer/ApDrawer.vue.mjs +91 -0
- package/es/src/ap-drawer/ApDrawer.vue2.mjs +4 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +8 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +25 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +4 -0
- package/es/src/ap-drawer/index.d.ts +3 -7
- package/es/src/ap-drawer/index.mjs +10 -5
- package/es/src/ap-drawer/interface.d.ts +4 -0
- package/es/src/ap-drawer/style/css.d.ts +0 -1
- package/es/src/ap-drawer/style/css.js +1 -1
- package/es/src/ap-drawer/style/index.d.ts +0 -1
- package/es/src/ap-drawer/style/index.js +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +36 -31
- 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 +269 -253
- 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-drawer/ApDrawer.vue.d.ts +29 -0
- package/lib/src/ap-drawer/ApDrawer.vue.js +1 -0
- package/lib/src/ap-drawer/ApDrawer.vue2.js +1 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +8 -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 +3 -7
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/interface.d.ts +4 -0
- package/lib/src/ap-drawer/style/css.cjs +1 -1
- package/lib/src/ap-drawer/style/css.d.ts +0 -1
- package/lib/src/ap-drawer/style/index.cjs +1 -1
- package/lib/src/ap-drawer/style/index.d.ts +0 -1
- package/lib/src/ap-drawer/utils/createDrawer.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 +18 -14
- 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-drawer/ap-drawer.css +75 -0
- package/theme/ap-drawer/ap-drawer.less +42 -0
- 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 +439 -163
- package/theme/index.less +4 -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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApFieldPassword } from '../ap-field';
|
|
2
2
|
import { ApTableValueFields } from './interface';
|
|
3
|
-
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentInternalInstance, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties,
|
|
3
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentInternalInstance, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties, VNode, RendererNode, RendererElement, DefineComponent } from 'vue';
|
|
4
4
|
import { ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemNumberProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemTextProps, ApFormItemTextAreaProps, ApFormItemCheckboxProps, ApFormItemTextPasswordProps, ApFormItemTreeSelectProps } from '../ap-form/items/interface';
|
|
5
5
|
import { ApFieldDateProps, ApFormItemSlots, ApFieldDateRangeProps, ApFieldNumberProps, FieldMode, ApFieldRadioProps, ApFieldSelectProps, ApFieldSwitchProps, ApFieldTextProps, ApFormItemTextPassword, ApFieldTextAreaProps, ApFieldCheckboxProps, ApFieldTextPasswordProps, ApFieldTreeSelectProps, ApActionGroupProps, GroupActionTypes } from '..';
|
|
6
6
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
@@ -186,11 +186,11 @@ export declare const apTableFormItemMap: {
|
|
|
186
186
|
readonly onInput?: ((text: string) => void) | undefined;
|
|
187
187
|
readonly value?: ValueType | undefined;
|
|
188
188
|
readonly disabled?: boolean | undefined;
|
|
189
|
-
readonly bordered?: boolean | undefined;
|
|
190
189
|
readonly prefixCls?: string | undefined;
|
|
191
190
|
readonly keyboard?: boolean | undefined;
|
|
192
191
|
readonly autofocus?: boolean | undefined;
|
|
193
192
|
readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
193
|
+
readonly bordered?: boolean | undefined;
|
|
194
194
|
readonly max?: ValueType | undefined;
|
|
195
195
|
readonly min?: ValueType | undefined;
|
|
196
196
|
readonly defaultValue?: ValueType | undefined;
|
|
@@ -569,8 +569,8 @@ export declare const apTableFormItemMap: {
|
|
|
569
569
|
}, string, {
|
|
570
570
|
step: ValueType;
|
|
571
571
|
disabled: boolean;
|
|
572
|
-
bordered: boolean;
|
|
573
572
|
keyboard: boolean;
|
|
573
|
+
bordered: boolean;
|
|
574
574
|
max: ValueType;
|
|
575
575
|
min: ValueType;
|
|
576
576
|
controls: boolean;
|
|
@@ -599,8 +599,8 @@ export declare const apTableFormItemMap: {
|
|
|
599
599
|
} & Readonly<{
|
|
600
600
|
step: ValueType;
|
|
601
601
|
disabled: boolean;
|
|
602
|
-
bordered: boolean;
|
|
603
602
|
keyboard: boolean;
|
|
603
|
+
bordered: boolean;
|
|
604
604
|
max: ValueType;
|
|
605
605
|
min: ValueType;
|
|
606
606
|
controls: boolean;
|
|
@@ -608,7 +608,7 @@ export declare const apTableFormItemMap: {
|
|
|
608
608
|
thousands: boolean;
|
|
609
609
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
610
610
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
611
|
-
}>, "blur" | "focus" | ("step" | "disabled" | "
|
|
611
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "keyboard" | "bordered" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
|
|
612
612
|
focus: () => void;
|
|
613
613
|
blur: () => void;
|
|
614
614
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -847,13 +847,13 @@ export declare const apTableFormItemMap: {
|
|
|
847
847
|
field: Omit< ApFieldRadioProps, "value" | "onUpdate:value">;
|
|
848
848
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
849
849
|
$slots: Readonly<{
|
|
850
|
-
label
|
|
851
|
-
help
|
|
852
|
-
extra
|
|
850
|
+
label?: any;
|
|
851
|
+
help?: any;
|
|
852
|
+
extra?: any;
|
|
853
853
|
}> & {
|
|
854
|
-
label
|
|
855
|
-
help
|
|
856
|
-
extra
|
|
854
|
+
label?: any;
|
|
855
|
+
help?: any;
|
|
856
|
+
extra?: any;
|
|
857
857
|
};
|
|
858
858
|
});
|
|
859
859
|
select: {
|
|
@@ -894,11 +894,11 @@ export declare const apTableFormItemMap: {
|
|
|
894
894
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
895
895
|
readonly animation?: string | undefined;
|
|
896
896
|
readonly children?: VueNode[] | undefined;
|
|
897
|
-
readonly bordered?: boolean | undefined;
|
|
898
897
|
readonly prefixCls?: string | undefined;
|
|
899
898
|
readonly loading?: boolean | undefined;
|
|
900
899
|
readonly transitionName?: string | undefined;
|
|
901
900
|
readonly autofocus?: boolean | undefined;
|
|
901
|
+
readonly bordered?: boolean | undefined;
|
|
902
902
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
903
903
|
readonly placeholder?: any;
|
|
904
904
|
readonly defaultValue?: SelectValue;
|
|
@@ -1392,9 +1392,9 @@ export declare const apTableFormItemMap: {
|
|
|
1392
1392
|
open: boolean;
|
|
1393
1393
|
multiple: boolean;
|
|
1394
1394
|
disabled: boolean;
|
|
1395
|
-
bordered: boolean;
|
|
1396
1395
|
loading: boolean;
|
|
1397
1396
|
autofocus: boolean;
|
|
1397
|
+
bordered: boolean;
|
|
1398
1398
|
virtual: boolean;
|
|
1399
1399
|
lazy: boolean;
|
|
1400
1400
|
allowClear: boolean;
|
|
@@ -1433,9 +1433,9 @@ export declare const apTableFormItemMap: {
|
|
|
1433
1433
|
open: boolean;
|
|
1434
1434
|
multiple: boolean;
|
|
1435
1435
|
disabled: boolean;
|
|
1436
|
-
bordered: boolean;
|
|
1437
1436
|
loading: boolean;
|
|
1438
1437
|
autofocus: boolean;
|
|
1438
|
+
bordered: boolean;
|
|
1439
1439
|
virtual: boolean;
|
|
1440
1440
|
lazy: boolean;
|
|
1441
1441
|
allowClear: boolean;
|
|
@@ -1451,7 +1451,7 @@ export declare const apTableFormItemMap: {
|
|
|
1451
1451
|
searchDelay: number;
|
|
1452
1452
|
}> & Omit<Readonly< ApFieldSelectProps> & Readonly<{
|
|
1453
1453
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1454
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "
|
|
1454
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "loading" | "autofocus" | "bordered" | "virtual" | "lazy" | "allowClear" | "defaultOpen" | "showSearch" | "showArrow" | "autoClearSearchValue" | "defaultActiveFirstOption" | "labelInValue" | "emptyText" | "searchMode" | "refetchOnFocus" | "searchDelay")> & ShallowUnwrapRef<{
|
|
1455
1455
|
focus: () => void;
|
|
1456
1456
|
blur: () => void;
|
|
1457
1457
|
request: (clear?: boolean) => Promise<void>;
|
|
@@ -1636,12 +1636,12 @@ export declare const apTableFormItemMap: {
|
|
|
1636
1636
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
1637
1637
|
readonly value?: string | number | undefined;
|
|
1638
1638
|
readonly disabled?: boolean | undefined;
|
|
1639
|
-
readonly bordered?: boolean | undefined;
|
|
1640
1639
|
readonly prefixCls?: string | undefined;
|
|
1641
1640
|
readonly name?: string | undefined;
|
|
1642
1641
|
readonly loading?: boolean | undefined;
|
|
1643
1642
|
readonly autofocus?: boolean | undefined;
|
|
1644
1643
|
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
1644
|
+
readonly bordered?: boolean | undefined;
|
|
1645
1645
|
readonly suffix?: any;
|
|
1646
1646
|
readonly focused?: boolean | undefined;
|
|
1647
1647
|
readonly placeholder?: string | number | undefined;
|
|
@@ -1827,7 +1827,7 @@ export declare const apTableFormItemMap: {
|
|
|
1827
1827
|
}>, {
|
|
1828
1828
|
focus: (options?: InputFocusOptions) => void;
|
|
1829
1829
|
blur: () => void;
|
|
1830
|
-
resizableTextArea:
|
|
1830
|
+
resizableTextArea: any;
|
|
1831
1831
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1832
1832
|
"update:value": (...args: any[]) => void;
|
|
1833
1833
|
}, PublicProps, {
|
|
@@ -2109,7 +2109,7 @@ export declare const apTableFormItemMap: {
|
|
|
2109
2109
|
}>, {
|
|
2110
2110
|
focus: (options?: InputFocusOptions) => void;
|
|
2111
2111
|
blur: () => void;
|
|
2112
|
-
resizableTextArea:
|
|
2112
|
+
resizableTextArea: any;
|
|
2113
2113
|
}, {}, {}, {}, {
|
|
2114
2114
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
2115
2115
|
mode: FieldMode;
|
|
@@ -2156,13 +2156,13 @@ export declare const apTableFormItemMap: {
|
|
|
2156
2156
|
field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
|
|
2157
2157
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2158
2158
|
$slots: Readonly<{
|
|
2159
|
-
label
|
|
2160
|
-
help
|
|
2161
|
-
extra
|
|
2159
|
+
label?: any;
|
|
2160
|
+
help?: any;
|
|
2161
|
+
extra?: any;
|
|
2162
2162
|
}> & {
|
|
2163
|
-
label
|
|
2164
|
-
help
|
|
2165
|
-
extra
|
|
2163
|
+
label?: any;
|
|
2164
|
+
help?: any;
|
|
2165
|
+
extra?: any;
|
|
2166
2166
|
};
|
|
2167
2167
|
});
|
|
2168
2168
|
checkbox: {
|
|
@@ -2203,13 +2203,13 @@ export declare const apTableFormItemMap: {
|
|
|
2203
2203
|
field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
|
|
2204
2204
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2205
2205
|
$slots: Readonly<{
|
|
2206
|
-
label
|
|
2207
|
-
help
|
|
2208
|
-
extra
|
|
2206
|
+
label?: any;
|
|
2207
|
+
help?: any;
|
|
2208
|
+
extra?: any;
|
|
2209
2209
|
}> & {
|
|
2210
|
-
label
|
|
2211
|
-
help
|
|
2212
|
-
extra
|
|
2210
|
+
label?: any;
|
|
2211
|
+
help?: any;
|
|
2212
|
+
extra?: any;
|
|
2213
2213
|
};
|
|
2214
2214
|
});
|
|
2215
2215
|
password: {
|
|
@@ -2247,12 +2247,12 @@ export declare const apTableFormItemMap: {
|
|
|
2247
2247
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
2248
2248
|
readonly value?: string | number | undefined;
|
|
2249
2249
|
readonly disabled?: boolean | undefined;
|
|
2250
|
-
readonly bordered?: boolean | undefined;
|
|
2251
2250
|
readonly prefixCls?: string | undefined;
|
|
2252
2251
|
readonly name?: string | undefined;
|
|
2253
2252
|
readonly loading?: boolean | undefined;
|
|
2254
2253
|
readonly autofocus?: boolean | undefined;
|
|
2255
2254
|
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
2255
|
+
readonly bordered?: boolean | undefined;
|
|
2256
2256
|
readonly suffix?: any;
|
|
2257
2257
|
readonly focused?: boolean | undefined;
|
|
2258
2258
|
readonly placeholder?: string | number | undefined;
|
|
@@ -2461,12 +2461,12 @@ export declare const apTableFormItemMap: {
|
|
|
2461
2461
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
2462
2462
|
readonly animation?: string | undefined;
|
|
2463
2463
|
readonly children?: VueNode[] | undefined;
|
|
2464
|
-
readonly bordered?: boolean | undefined;
|
|
2465
2464
|
readonly prefixCls?: string | undefined;
|
|
2466
2465
|
readonly loading?: boolean | undefined;
|
|
2467
2466
|
readonly transitionName?: string | undefined;
|
|
2468
2467
|
readonly autofocus?: boolean | undefined;
|
|
2469
2468
|
readonly 'onUpdate:value'?: (((value: any) => void) & ((...args: any[]) => any)) | undefined;
|
|
2469
|
+
readonly bordered?: boolean | undefined;
|
|
2470
2470
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
2471
2471
|
readonly placeholder?: any;
|
|
2472
2472
|
readonly defaultValue?: unknown;
|
|
@@ -3104,9 +3104,9 @@ export declare const apTableFormItemMap: {
|
|
|
3104
3104
|
open: boolean;
|
|
3105
3105
|
multiple: boolean;
|
|
3106
3106
|
disabled: boolean;
|
|
3107
|
-
bordered: boolean;
|
|
3108
3107
|
loading: boolean;
|
|
3109
3108
|
autofocus: boolean;
|
|
3109
|
+
bordered: boolean;
|
|
3110
3110
|
virtual: boolean;
|
|
3111
3111
|
dropdownMatchSelectWidth: number | boolean;
|
|
3112
3112
|
allowClear: boolean;
|
|
@@ -3144,9 +3144,9 @@ export declare const apTableFormItemMap: {
|
|
|
3144
3144
|
open: boolean;
|
|
3145
3145
|
multiple: boolean;
|
|
3146
3146
|
disabled: boolean;
|
|
3147
|
-
bordered: boolean;
|
|
3148
3147
|
loading: boolean;
|
|
3149
3148
|
autofocus: boolean;
|
|
3149
|
+
bordered: boolean;
|
|
3150
3150
|
virtual: boolean;
|
|
3151
3151
|
dropdownMatchSelectWidth: number | boolean;
|
|
3152
3152
|
allowClear: boolean;
|
|
@@ -3161,7 +3161,7 @@ export declare const apTableFormItemMap: {
|
|
|
3161
3161
|
emptyText: string;
|
|
3162
3162
|
}> & Omit<Readonly< ApFieldTreeSelectProps> & Readonly<{
|
|
3163
3163
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
3164
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "
|
|
3164
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "loading" | "autofocus" | "bordered" | "virtual" | "dropdownMatchSelectWidth" | "allowClear" | "defaultOpen" | "showSearch" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "treeCheckable" | "treeDefaultExpandAll" | "treeCheckStrictly" | "emptyText")> & ShallowUnwrapRef<{
|
|
3165
3165
|
blur: () => void;
|
|
3166
3166
|
focus: () => void;
|
|
3167
3167
|
request: (currentNode?: LegacyDataNode, clear?: boolean) => Promise<void>;
|
|
@@ -3268,8 +3268,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3268
3268
|
mode: FieldMode;
|
|
3269
3269
|
open: boolean;
|
|
3270
3270
|
disabled: boolean;
|
|
3271
|
-
bordered: boolean;
|
|
3272
3271
|
autofocus: boolean;
|
|
3272
|
+
bordered: boolean;
|
|
3273
3273
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3274
3274
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
3275
3275
|
[key: string]: any;
|
|
@@ -3305,8 +3305,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3305
3305
|
mode: FieldMode;
|
|
3306
3306
|
open: boolean;
|
|
3307
3307
|
disabled: boolean;
|
|
3308
|
-
bordered: boolean;
|
|
3309
3308
|
autofocus: boolean;
|
|
3309
|
+
bordered: boolean;
|
|
3310
3310
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3311
3311
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
3312
3312
|
[key: string]: any;
|
|
@@ -3341,8 +3341,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3341
3341
|
mode: FieldMode;
|
|
3342
3342
|
open: boolean;
|
|
3343
3343
|
disabled: boolean;
|
|
3344
|
-
bordered: boolean;
|
|
3345
3344
|
autofocus: boolean;
|
|
3345
|
+
bordered: boolean;
|
|
3346
3346
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3347
3347
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
3348
3348
|
[key: string]: any;
|
|
@@ -3408,8 +3408,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3408
3408
|
[key: string]: any;
|
|
3409
3409
|
}> | null;
|
|
3410
3410
|
disabled: boolean | [boolean, boolean];
|
|
3411
|
-
bordered: boolean;
|
|
3412
3411
|
autofocus: boolean;
|
|
3412
|
+
bordered: boolean;
|
|
3413
3413
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3414
3414
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
3415
3415
|
[key: string]: any;
|
|
@@ -3449,8 +3449,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3449
3449
|
[key: string]: any;
|
|
3450
3450
|
}> | null;
|
|
3451
3451
|
disabled: boolean | [boolean, boolean];
|
|
3452
|
-
bordered: boolean;
|
|
3453
3452
|
autofocus: boolean;
|
|
3453
|
+
bordered: boolean;
|
|
3454
3454
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3455
3455
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
3456
3456
|
[key: string]: any;
|
|
@@ -3489,8 +3489,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3489
3489
|
[key: string]: any;
|
|
3490
3490
|
}> | null;
|
|
3491
3491
|
disabled: boolean | [boolean, boolean];
|
|
3492
|
-
bordered: boolean;
|
|
3493
3492
|
autofocus: boolean;
|
|
3493
|
+
bordered: boolean;
|
|
3494
3494
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3495
3495
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
3496
3496
|
[key: string]: any;
|
|
@@ -3548,8 +3548,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3548
3548
|
}, PublicProps, {
|
|
3549
3549
|
step: ValueType;
|
|
3550
3550
|
disabled: boolean;
|
|
3551
|
-
bordered: boolean;
|
|
3552
3551
|
keyboard: boolean;
|
|
3552
|
+
bordered: boolean;
|
|
3553
3553
|
max: ValueType;
|
|
3554
3554
|
min: ValueType;
|
|
3555
3555
|
controls: boolean;
|
|
@@ -3891,8 +3891,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3891
3891
|
}, {}, {}, {}, {
|
|
3892
3892
|
step: ValueType;
|
|
3893
3893
|
disabled: boolean;
|
|
3894
|
-
bordered: boolean;
|
|
3895
3894
|
keyboard: boolean;
|
|
3895
|
+
bordered: boolean;
|
|
3896
3896
|
max: ValueType;
|
|
3897
3897
|
min: ValueType;
|
|
3898
3898
|
controls: boolean;
|
|
@@ -3912,8 +3912,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3912
3912
|
}, string, {
|
|
3913
3913
|
step: ValueType;
|
|
3914
3914
|
disabled: boolean;
|
|
3915
|
-
bordered: boolean;
|
|
3916
3915
|
keyboard: boolean;
|
|
3916
|
+
bordered: boolean;
|
|
3917
3917
|
max: ValueType;
|
|
3918
3918
|
min: ValueType;
|
|
3919
3919
|
controls: boolean;
|
|
@@ -4054,9 +4054,9 @@ export declare const apTableRenderItemMap: {
|
|
|
4054
4054
|
open: boolean;
|
|
4055
4055
|
multiple: boolean;
|
|
4056
4056
|
disabled: boolean;
|
|
4057
|
-
bordered: boolean;
|
|
4058
4057
|
loading: boolean;
|
|
4059
4058
|
autofocus: boolean;
|
|
4059
|
+
bordered: boolean;
|
|
4060
4060
|
virtual: boolean;
|
|
4061
4061
|
lazy: boolean;
|
|
4062
4062
|
allowClear: boolean;
|
|
@@ -4492,9 +4492,9 @@ export declare const apTableRenderItemMap: {
|
|
|
4492
4492
|
open: boolean;
|
|
4493
4493
|
multiple: boolean;
|
|
4494
4494
|
disabled: boolean;
|
|
4495
|
-
bordered: boolean;
|
|
4496
4495
|
loading: boolean;
|
|
4497
4496
|
autofocus: boolean;
|
|
4497
|
+
bordered: boolean;
|
|
4498
4498
|
virtual: boolean;
|
|
4499
4499
|
lazy: boolean;
|
|
4500
4500
|
allowClear: boolean;
|
|
@@ -4525,9 +4525,9 @@ export declare const apTableRenderItemMap: {
|
|
|
4525
4525
|
open: boolean;
|
|
4526
4526
|
multiple: boolean;
|
|
4527
4527
|
disabled: boolean;
|
|
4528
|
-
bordered: boolean;
|
|
4529
4528
|
loading: boolean;
|
|
4530
4529
|
autofocus: boolean;
|
|
4530
|
+
bordered: boolean;
|
|
4531
4531
|
virtual: boolean;
|
|
4532
4532
|
lazy: boolean;
|
|
4533
4533
|
allowClear: boolean;
|
|
@@ -4708,7 +4708,7 @@ export declare const apTableRenderItemMap: {
|
|
|
4708
4708
|
textArea: DefineComponent<ApFieldTextAreaProps, {
|
|
4709
4709
|
focus: (options?: InputFocusOptions) => void;
|
|
4710
4710
|
blur: () => void;
|
|
4711
|
-
resizableTextArea:
|
|
4711
|
+
resizableTextArea: any;
|
|
4712
4712
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4713
4713
|
"update:value": (...args: any[]) => void;
|
|
4714
4714
|
}, string, PublicProps, Readonly< ApFieldTextAreaProps> & Readonly<{
|
|
@@ -4993,9 +4993,9 @@ export declare const apTableRenderItemMap: {
|
|
|
4993
4993
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4994
4994
|
action: DefineComponent<ApActionGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApActionGroupProps> & Readonly<{}>, {
|
|
4995
4995
|
placement: "top" | "topLeft" | "bottom" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter";
|
|
4996
|
-
count: number;
|
|
4997
4996
|
trigger: Trigger | Trigger[];
|
|
4998
4997
|
actions: GroupActionTypes[];
|
|
4998
|
+
count: number;
|
|
4999
4999
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
5000
5000
|
index: DefineComponent<ApTableIndexProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApTableIndexProps> & Readonly<{}>, {
|
|
5001
5001
|
bordered: boolean;
|
|
@@ -5101,9 +5101,9 @@ export declare const apTableRenderItemMap: {
|
|
|
5101
5101
|
open: boolean;
|
|
5102
5102
|
multiple: boolean;
|
|
5103
5103
|
disabled: boolean;
|
|
5104
|
-
bordered: boolean;
|
|
5105
5104
|
loading: boolean;
|
|
5106
5105
|
autofocus: boolean;
|
|
5106
|
+
bordered: boolean;
|
|
5107
5107
|
virtual: boolean;
|
|
5108
5108
|
dropdownMatchSelectWidth: number | boolean;
|
|
5109
5109
|
allowClear: boolean;
|
|
@@ -5671,9 +5671,9 @@ export declare const apTableRenderItemMap: {
|
|
|
5671
5671
|
open: boolean;
|
|
5672
5672
|
multiple: boolean;
|
|
5673
5673
|
disabled: boolean;
|
|
5674
|
-
bordered: boolean;
|
|
5675
5674
|
loading: boolean;
|
|
5676
5675
|
autofocus: boolean;
|
|
5676
|
+
bordered: boolean;
|
|
5677
5677
|
virtual: boolean;
|
|
5678
5678
|
dropdownMatchSelectWidth: number | boolean;
|
|
5679
5679
|
allowClear: boolean;
|
|
@@ -5703,9 +5703,9 @@ export declare const apTableRenderItemMap: {
|
|
|
5703
5703
|
open: boolean;
|
|
5704
5704
|
multiple: boolean;
|
|
5705
5705
|
disabled: boolean;
|
|
5706
|
-
bordered: boolean;
|
|
5707
5706
|
loading: boolean;
|
|
5708
5707
|
autofocus: boolean;
|
|
5708
|
+
bordered: boolean;
|
|
5709
5709
|
virtual: boolean;
|
|
5710
5710
|
dropdownMatchSelectWidth: number | boolean;
|
|
5711
5711
|
allowClear: boolean;
|
|
@@ -53,24 +53,38 @@ export type UseTablePagingParams<DataType, ParamsType> = {
|
|
|
53
53
|
* 样式命名空间
|
|
54
54
|
*/
|
|
55
55
|
namespace?: 'ap-table' | 'ap-grid';
|
|
56
|
+
/**
|
|
57
|
+
* 当点击重置时的回调
|
|
58
|
+
* @returns
|
|
59
|
+
*/
|
|
60
|
+
onClickReset?: () => void;
|
|
61
|
+
/**
|
|
62
|
+
* 当请求结束后触发的事件
|
|
63
|
+
* @returns
|
|
64
|
+
*/
|
|
65
|
+
onAfterRequest?: () => void;
|
|
56
66
|
};
|
|
67
|
+
export type InternalPagingType = Partial<{
|
|
68
|
+
current: number;
|
|
69
|
+
pageSize: number;
|
|
70
|
+
}>;
|
|
57
71
|
type InternalDataType<DataType = Recordable> = {
|
|
58
72
|
total: number;
|
|
59
73
|
records: DataType[];
|
|
60
74
|
loading: boolean;
|
|
61
75
|
};
|
|
62
76
|
export declare const DEFAULT_CURRENT = 1;
|
|
63
|
-
export declare const DEFAULT_PAGE_SIZE =
|
|
64
|
-
export
|
|
77
|
+
export declare const DEFAULT_PAGE_SIZE = 20;
|
|
78
|
+
export type OptionalOnTableChange<T extends (...args: any[]) => any> = (...args: Partial<Parameters<T>>) => ReturnType<T>;
|
|
79
|
+
export declare const useTablePaging: <DataType = any, ParamsType = Record<string, any>>({ manual, request, defaultParams, defaultData, formatParams, paramsValueTypeMap, resetFieldsIgnores, filterFields, sortFields, namespace, pagination, onClickReset, onAfterRequest }: UseTablePagingParams<DataType, ParamsType>) => {
|
|
65
80
|
formRef: Ref<ApFormSearchFormExpose | undefined, ApFormSearchFormExpose | undefined>;
|
|
66
81
|
submit: () => void;
|
|
67
82
|
reset: () => void;
|
|
68
83
|
refresh: () => void;
|
|
69
84
|
refreshByDelete: (n: number) => void;
|
|
70
85
|
data: InternalDataType<DataType>;
|
|
71
|
-
current: number | undefined;
|
|
72
|
-
pageSize: number | undefined;
|
|
73
86
|
handleTableChange: (pagination: TablePaginationConfig, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>) => void;
|
|
87
|
+
handleTableChangeOptional: OptionalOnTableChange<(pagination: TablePaginationConfig, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>) => void>;
|
|
74
88
|
tableProps: ComputedRef<{
|
|
75
89
|
loading: boolean;
|
|
76
90
|
pagination: {
|
|
@@ -92,5 +106,10 @@ export declare const useTablePaging: <DataType = any, ParamsType = Record<string
|
|
|
92
106
|
getColumnSFConfig: (column: ApColumnType, append?: boolean) => Recordable;
|
|
93
107
|
sortedInfo: Ref<any, any>;
|
|
94
108
|
filteredInfo: Ref<any, any>;
|
|
109
|
+
getPaging: () => {
|
|
110
|
+
current?: number | undefined;
|
|
111
|
+
pageSize?: number | undefined;
|
|
112
|
+
};
|
|
113
|
+
setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
|
|
95
114
|
};
|
|
96
115
|
export {};
|