@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
|
@@ -1,131 +1,135 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { useTableSortedAndFiltered as
|
|
1
|
+
import { ref as le, reactive as M, unref as m, nextTick as fe, onMounted as ge, watch as de, computed as y, createVNode as C } from "vue";
|
|
2
|
+
import { useTableSortedAndFiltered as pe } from "./use-sorted-filtered.mjs";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
|
-
import { parseFieldValue as
|
|
5
|
-
import { isArray as
|
|
6
|
-
import { isDef as
|
|
7
|
-
import { useLocale as
|
|
8
|
-
import { useNamespace as
|
|
9
|
-
const
|
|
10
|
-
defaultCurrent:
|
|
11
|
-
defaultPageSize:
|
|
4
|
+
import { parseFieldValue as me, dataIndexToStr as Se, isEqualCustom as he } from "../utils.mjs";
|
|
5
|
+
import { isArray as Q, isEqualWith as ze, isUndefined as Te } from "lodash-unified";
|
|
6
|
+
import { isDef as $ } from "../../utils/index.mjs";
|
|
7
|
+
import { useLocale as Pe } from "../../config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { useNamespace as we } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
const S = 1, I = 20, G = {
|
|
10
|
+
defaultCurrent: S,
|
|
11
|
+
defaultPageSize: I,
|
|
12
12
|
showLessItems: !1,
|
|
13
13
|
showTotal: !0
|
|
14
14
|
};
|
|
15
|
-
function
|
|
16
|
-
return
|
|
17
|
-
...
|
|
18
|
-
...
|
|
15
|
+
function Fe(c) {
|
|
16
|
+
return c === !1 ? {} : c == null || c === !0 ? G : {
|
|
17
|
+
...G,
|
|
18
|
+
...c
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function be(c) {
|
|
22
22
|
const f = {};
|
|
23
|
-
return
|
|
23
|
+
return c === !1 || (c === !0 || c == null ? (f.current = S, f.pageSize = I) : (f.current = c.defaultCurrent || S, f.pageSize = c.defaultPageSize || I)), f;
|
|
24
24
|
}
|
|
25
|
-
const
|
|
26
|
-
manual:
|
|
25
|
+
const Ie = ({
|
|
26
|
+
manual: c = !1,
|
|
27
27
|
request: f,
|
|
28
|
-
defaultParams:
|
|
29
|
-
defaultData:
|
|
30
|
-
formatParams:
|
|
31
|
-
paramsValueTypeMap:
|
|
32
|
-
resetFieldsIgnores:
|
|
33
|
-
filterFields:
|
|
34
|
-
sortFields:
|
|
35
|
-
namespace:
|
|
36
|
-
pagination:
|
|
28
|
+
defaultParams: V = {},
|
|
29
|
+
defaultData: j = [],
|
|
30
|
+
formatParams: U,
|
|
31
|
+
paramsValueTypeMap: _,
|
|
32
|
+
resetFieldsIgnores: A,
|
|
33
|
+
filterFields: W,
|
|
34
|
+
sortFields: Z,
|
|
35
|
+
namespace: H = "ap-table",
|
|
36
|
+
pagination: h,
|
|
37
|
+
onClickReset: x,
|
|
38
|
+
onAfterRequest: E
|
|
37
39
|
}) => {
|
|
38
|
-
let
|
|
39
|
-
const
|
|
40
|
-
getColumnSFConfig:
|
|
41
|
-
setSF:
|
|
42
|
-
clearAll:
|
|
43
|
-
sortedInfo:
|
|
44
|
-
filteredInfo:
|
|
45
|
-
} =
|
|
40
|
+
let v = 0, s = {};
|
|
41
|
+
const X = Fe(h), Y = (e) => U ? U(e) : e, z = le(), i = M(be(h)), {
|
|
42
|
+
getColumnSFConfig: q,
|
|
43
|
+
setSF: R,
|
|
44
|
+
clearAll: k,
|
|
45
|
+
sortedInfo: N,
|
|
46
|
+
filteredInfo: B
|
|
47
|
+
} = pe(), {
|
|
46
48
|
t: T
|
|
47
|
-
} =
|
|
49
|
+
} = Pe(), {
|
|
48
50
|
b: P
|
|
49
|
-
} =
|
|
50
|
-
total:
|
|
51
|
-
records:
|
|
51
|
+
} = we(H), o = M({
|
|
52
|
+
total: j.length,
|
|
53
|
+
records: j,
|
|
52
54
|
loading: !1
|
|
53
55
|
}), w = () => {
|
|
54
56
|
var e, t;
|
|
55
57
|
return ((t = (e = z.value) == null ? void 0 : e.apForm) == null ? void 0 : t.getFieldsValueTransformed(!0)) || {};
|
|
56
|
-
},
|
|
58
|
+
}, J = async (e) => {
|
|
57
59
|
var r;
|
|
58
|
-
const t =
|
|
59
|
-
|
|
60
|
+
const t = Y(e), n = Date.now();
|
|
61
|
+
v = n, o.loading = !0;
|
|
60
62
|
try {
|
|
61
63
|
const a = await f({
|
|
62
|
-
...m(
|
|
64
|
+
...m(V),
|
|
63
65
|
...t
|
|
64
66
|
});
|
|
65
|
-
|
|
67
|
+
v === n && (o.total = a.total || ((r = a.data) == null ? void 0 : r.length) || 0, o.records = [...a.data || []], o.loading = !1);
|
|
66
68
|
} catch {
|
|
67
|
-
|
|
69
|
+
v === n && (o.records = [], o.total = 0, o.loading = !1);
|
|
70
|
+
} finally {
|
|
71
|
+
E == null || E();
|
|
68
72
|
}
|
|
69
|
-
},
|
|
73
|
+
}, K = (e) => {
|
|
70
74
|
const t = {};
|
|
71
75
|
return Object.entries(e).forEach(([n, r]) => {
|
|
72
|
-
if (t[n] = r,
|
|
73
|
-
const a =
|
|
74
|
-
a && (t[n] =
|
|
76
|
+
if (t[n] = r, _ && r) {
|
|
77
|
+
const a = _[n];
|
|
78
|
+
a && (t[n] = me(a, r));
|
|
75
79
|
}
|
|
76
80
|
}), t;
|
|
77
|
-
},
|
|
81
|
+
}, ee = async (e) => {
|
|
78
82
|
var r, a, l, g, d;
|
|
79
83
|
const t = w(), n = {};
|
|
80
|
-
Object.entries(t).forEach(([p,
|
|
81
|
-
|
|
82
|
-
}), await ((a = (r = z.value) == null ? void 0 : r.apForm) == null ? void 0 : a.resetFields()), (d = (g = (l = z.value) == null ? void 0 : l.apForm) == null ? void 0 : g.setFieldsValue) == null || d.call(g, n),
|
|
84
|
+
Object.entries(t).forEach(([p, b]) => {
|
|
85
|
+
A && A.indexOf(p) > -1 && (n[p] = b);
|
|
86
|
+
}), await ((a = (r = z.value) == null ? void 0 : r.apForm) == null ? void 0 : a.resetFields()), (d = (g = (l = z.value) == null ? void 0 : l.apForm) == null ? void 0 : g.setFieldsValue) == null || d.call(g, n), fe(() => {
|
|
83
87
|
e == null || e();
|
|
84
88
|
});
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
const t =
|
|
88
|
-
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
...
|
|
89
|
+
}, F = (e) => {
|
|
90
|
+
s = e;
|
|
91
|
+
const t = K(e);
|
|
92
|
+
J(t);
|
|
93
|
+
}, te = (e) => {
|
|
94
|
+
F({
|
|
95
|
+
...s,
|
|
92
96
|
...e
|
|
93
97
|
});
|
|
94
|
-
},
|
|
95
|
-
const e = w(), t =
|
|
96
|
-
t && (
|
|
98
|
+
}, D = () => {
|
|
99
|
+
const e = w(), t = h !== !1;
|
|
100
|
+
t && (i.current = S), F({
|
|
97
101
|
...e,
|
|
98
|
-
filter:
|
|
99
|
-
sort:
|
|
100
|
-
current: t ?
|
|
101
|
-
pageSize: t ?
|
|
102
|
+
filter: s.filter,
|
|
103
|
+
sort: s.sort,
|
|
104
|
+
current: t ? S : void 0,
|
|
105
|
+
pageSize: t ? s.pageSize || i.pageSize : void 0
|
|
102
106
|
});
|
|
103
|
-
},
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
if (
|
|
109
|
-
|
|
107
|
+
}, ne = () => {
|
|
108
|
+
k(), s.sort = {}, s.filter = {}, x == null || x(), ee(D);
|
|
109
|
+
}, O = () => {
|
|
110
|
+
F(s);
|
|
111
|
+
}, re = (e) => {
|
|
112
|
+
if (h === !1)
|
|
113
|
+
O();
|
|
110
114
|
else {
|
|
111
115
|
const {
|
|
112
116
|
current: t,
|
|
113
117
|
pageSize: n
|
|
114
|
-
} =
|
|
115
|
-
|
|
118
|
+
} = i, r = o.total - e, a = Math.ceil(r / n), l = t > a ? a : t;
|
|
119
|
+
te({
|
|
116
120
|
current: l > 0 ? l : 1
|
|
117
121
|
});
|
|
118
122
|
}
|
|
119
|
-
},
|
|
120
|
-
var p,
|
|
123
|
+
}, L = (e, t, n) => {
|
|
124
|
+
var p, b;
|
|
121
125
|
const r = w();
|
|
122
|
-
|
|
123
|
-
const a =
|
|
126
|
+
i.current = e.current, i.pageSize = e.pageSize, R(t, n);
|
|
127
|
+
const a = Q(n) ? [...n] : [n], l = {};
|
|
124
128
|
for (const u of a)
|
|
125
|
-
(p = m(
|
|
129
|
+
(p = m(Z)) != null && p.includes(u.columnKey || u.field) && u.order && (l[Se(u.columnKey || u.field)] = u.order);
|
|
126
130
|
const g = {};
|
|
127
131
|
for (const u of Object.keys(t))
|
|
128
|
-
(
|
|
132
|
+
(b = m(W)) != null && b.includes(u) && t[u] && (g[u] = t[u]);
|
|
129
133
|
const d = {
|
|
130
134
|
...r,
|
|
131
135
|
filter: g,
|
|
@@ -133,93 +137,117 @@ const Ae = ({
|
|
|
133
137
|
current: e.current,
|
|
134
138
|
pageSize: e.pageSize
|
|
135
139
|
};
|
|
136
|
-
|
|
140
|
+
ze(s, d, he) || F(d);
|
|
141
|
+
}, ae = (e, t = B.value || {}, n = N.value || {}) => {
|
|
142
|
+
const r = (e == null ? void 0 : e.current) ?? i.current, a = (e == null ? void 0 : e.pageSize) ?? i.pageSize;
|
|
143
|
+
L(
|
|
144
|
+
{
|
|
145
|
+
current: r,
|
|
146
|
+
pageSize: a
|
|
147
|
+
},
|
|
148
|
+
t,
|
|
149
|
+
n,
|
|
150
|
+
// 此参数随意传递,并无使用
|
|
151
|
+
{
|
|
152
|
+
action: "sort",
|
|
153
|
+
currentDataSource: []
|
|
154
|
+
}
|
|
155
|
+
);
|
|
137
156
|
};
|
|
138
|
-
|
|
157
|
+
ge(() => {
|
|
139
158
|
const e = w(), {
|
|
140
159
|
current: t,
|
|
141
160
|
pageSize: n
|
|
142
|
-
} =
|
|
143
|
-
if (
|
|
161
|
+
} = i;
|
|
162
|
+
if (s = {
|
|
144
163
|
current: t,
|
|
145
164
|
pageSize: n,
|
|
146
165
|
filter: {},
|
|
147
166
|
sort: {},
|
|
148
167
|
...e
|
|
149
|
-
}, !
|
|
150
|
-
const r =
|
|
151
|
-
|
|
168
|
+
}, !c) {
|
|
169
|
+
const r = K(s);
|
|
170
|
+
J(r);
|
|
152
171
|
}
|
|
153
|
-
}),
|
|
154
|
-
|
|
172
|
+
}), de(() => m(V), () => {
|
|
173
|
+
D();
|
|
155
174
|
}, {
|
|
156
175
|
deep: !0
|
|
157
176
|
});
|
|
158
|
-
const
|
|
177
|
+
const oe = y(() => {
|
|
159
178
|
if (o.total === 0)
|
|
160
179
|
return "-";
|
|
161
180
|
const {
|
|
162
181
|
current: e,
|
|
163
182
|
pageSize: t
|
|
164
|
-
} =
|
|
183
|
+
} = i;
|
|
165
184
|
return `${e}/${Math.ceil(o.total / t)}`;
|
|
166
185
|
});
|
|
167
|
-
function
|
|
168
|
-
|
|
186
|
+
function se(e) {
|
|
187
|
+
Q(e) && (o.records = e, o.total = e.length);
|
|
169
188
|
}
|
|
170
|
-
const
|
|
189
|
+
const ie = y(() => {
|
|
171
190
|
const {
|
|
172
191
|
showLessItems: e,
|
|
173
192
|
showTotal: t,
|
|
174
193
|
showQuickJumper: n,
|
|
175
194
|
showSizeChanger: r,
|
|
176
195
|
pageSizeOptions: a
|
|
177
|
-
} =
|
|
196
|
+
} = X;
|
|
178
197
|
return {
|
|
179
198
|
loading: o.loading,
|
|
180
199
|
pagination: {
|
|
181
|
-
current:
|
|
182
|
-
pageSize:
|
|
200
|
+
current: i.current,
|
|
201
|
+
pageSize: i.pageSize,
|
|
183
202
|
total: o.total,
|
|
184
|
-
showSizeChanger:
|
|
185
|
-
showQuickJumper:
|
|
203
|
+
showSizeChanger: $(r) ? r : !e,
|
|
204
|
+
showQuickJumper: $(n) ? n : !e,
|
|
186
205
|
showLessItems: e,
|
|
187
206
|
size: "default",
|
|
188
|
-
pageSizeOptions:
|
|
189
|
-
showTotal: t ? (l) =>
|
|
207
|
+
pageSizeOptions: Te(a) ? ["10", "20", "50", "100"] : a,
|
|
208
|
+
showTotal: t ? (l) => C("span", {
|
|
190
209
|
class: P("pagination-total-wrapper")
|
|
191
|
-
}, [T("ap.apTable.pagination.totalLeftPrefix"), " ",
|
|
210
|
+
}, [T("ap.apTable.pagination.totalLeftPrefix"), " ", C("span", {
|
|
192
211
|
class: P("pagination-count-text")
|
|
193
|
-
}, [l]), " ", T("ap.apTable.pagination.totalLeftSuffix"),
|
|
212
|
+
}, [l]), " ", T("ap.apTable.pagination.totalLeftSuffix"), C("span", {
|
|
194
213
|
class: P("pagination--total-right")
|
|
195
|
-
}, [T("ap.apTable.pagination.totalRightPrefix"), " ",
|
|
214
|
+
}, [T("ap.apTable.pagination.totalRightPrefix"), " ", C("span", {
|
|
196
215
|
class: P("pagination-count-text")
|
|
197
|
-
}, [m(
|
|
216
|
+
}, [m(oe)]), " ", T("ap.apTable.pagination.totalRightSuffix")])]) : void 0
|
|
198
217
|
},
|
|
199
|
-
onChange:
|
|
218
|
+
onChange: L,
|
|
200
219
|
dataSource: o.records
|
|
201
220
|
};
|
|
202
221
|
});
|
|
222
|
+
function ce(e, t = !0) {
|
|
223
|
+
Object.assign(i, e), s.current = e.current, s.pageSize = e.pageSize, t && O();
|
|
224
|
+
}
|
|
225
|
+
function ue() {
|
|
226
|
+
return {
|
|
227
|
+
...i
|
|
228
|
+
};
|
|
229
|
+
}
|
|
203
230
|
return {
|
|
204
231
|
formRef: z,
|
|
205
|
-
submit:
|
|
206
|
-
reset:
|
|
207
|
-
refresh:
|
|
208
|
-
refreshByDelete:
|
|
232
|
+
submit: D,
|
|
233
|
+
reset: ne,
|
|
234
|
+
refresh: O,
|
|
235
|
+
refreshByDelete: re,
|
|
209
236
|
data: o,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
237
|
+
handleTableChange: L,
|
|
238
|
+
handleTableChangeOptional: ae,
|
|
239
|
+
tableProps: ie,
|
|
240
|
+
dataSource: y(() => o.records),
|
|
241
|
+
setDataSource: se,
|
|
242
|
+
getColumnSFConfig: q,
|
|
243
|
+
sortedInfo: N,
|
|
244
|
+
filteredInfo: B,
|
|
245
|
+
getPaging: ue,
|
|
246
|
+
setPaging: ce
|
|
219
247
|
};
|
|
220
248
|
};
|
|
221
249
|
export {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
250
|
+
S as DEFAULT_CURRENT,
|
|
251
|
+
I as DEFAULT_PAGE_SIZE,
|
|
252
|
+
Ie as useTablePaging
|
|
225
253
|
};
|
|
@@ -9,6 +9,7 @@ import { ApTableIndexProps } from './components/interface';
|
|
|
9
9
|
import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
|
|
10
10
|
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
11
11
|
import { PaginationProps } from '@aplus-frontend/antdv';
|
|
12
|
+
import { InternalPagingType } from './hooks/use-table-paging-ng';
|
|
12
13
|
export type ValueEnumType = {
|
|
13
14
|
text: string;
|
|
14
15
|
/**
|
|
@@ -371,7 +372,7 @@ export type ApTableExpose<SearchParamsType = Recordable, RecordType = any> = {
|
|
|
371
372
|
/**
|
|
372
373
|
* 表格数据源
|
|
373
374
|
*/
|
|
374
|
-
dataSource:
|
|
375
|
+
dataSource: RecordType;
|
|
375
376
|
/**
|
|
376
377
|
* 行选中相关的数据和API
|
|
377
378
|
*/
|
|
@@ -393,6 +394,18 @@ export type ApTableExpose<SearchParamsType = Recordable, RecordType = any> = {
|
|
|
393
394
|
};
|
|
394
395
|
y: undefined;
|
|
395
396
|
};
|
|
397
|
+
/**
|
|
398
|
+
* 获取分页参数
|
|
399
|
+
* @returns
|
|
400
|
+
*/
|
|
401
|
+
getPaging: () => InternalPagingType;
|
|
402
|
+
/**
|
|
403
|
+
* 设置表格分页参数
|
|
404
|
+
* @param nextPaging 新的分页参数
|
|
405
|
+
* @param refreshImmediately 是否立刻刷新数据,默认为`true`
|
|
406
|
+
* @returns
|
|
407
|
+
*/
|
|
408
|
+
setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
|
|
396
409
|
};
|
|
397
410
|
export type ApTableContextRenderConfig = {
|
|
398
411
|
color: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApColumnType, ValueEnum, ValueEnumType } from './interface';
|
|
2
2
|
import { ValueTypeRenderConfig } from '../config-provider';
|
|
3
3
|
import { apTableRenderItemMap } from './constants';
|
|
4
|
-
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties,
|
|
4
|
+
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ExtractPropTypes, PropType, CSSProperties, VNodeArrayChildren, RendererNode, RendererElement } from 'vue';
|
|
5
5
|
import { EditableColumnType } from '../editable-table/interface';
|
|
6
6
|
import { ColumnType, ColumnGroupType } from '@aplus-frontend/antdv/es/table';
|
|
7
7
|
import { ApTableDynamicCompProps } from './components/interface';
|
|
@@ -133,12 +133,12 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
133
133
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
134
134
|
readonly value?: string | number | undefined;
|
|
135
135
|
readonly disabled?: boolean | undefined;
|
|
136
|
-
readonly bordered?: boolean | undefined;
|
|
137
136
|
readonly prefixCls?: string | undefined;
|
|
138
137
|
readonly name?: string | undefined;
|
|
139
138
|
readonly loading?: boolean | undefined;
|
|
140
139
|
readonly autofocus?: boolean | undefined;
|
|
141
140
|
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
141
|
+
readonly bordered?: boolean | undefined;
|
|
142
142
|
readonly suffix?: any;
|
|
143
143
|
readonly focused?: boolean | undefined;
|
|
144
144
|
readonly placeholder?: string | number | undefined;
|
|
@@ -344,12 +344,12 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
344
344
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
345
345
|
readonly value?: string | number | undefined;
|
|
346
346
|
readonly disabled?: boolean | undefined;
|
|
347
|
-
readonly bordered?: boolean | undefined;
|
|
348
347
|
readonly prefixCls?: string | undefined;
|
|
349
348
|
readonly name?: string | undefined;
|
|
350
349
|
readonly loading?: boolean | undefined;
|
|
351
350
|
readonly autofocus?: boolean | undefined;
|
|
352
351
|
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
352
|
+
readonly bordered?: boolean | undefined;
|
|
353
353
|
readonly suffix?: any;
|
|
354
354
|
readonly focused?: boolean | undefined;
|
|
355
355
|
readonly placeholder?: string | number | undefined;
|
|
@@ -534,7 +534,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
534
534
|
}>, {
|
|
535
535
|
focus: (options?: InputFocusOptions) => void;
|
|
536
536
|
blur: () => void;
|
|
537
|
-
resizableTextArea:
|
|
537
|
+
resizableTextArea: any;
|
|
538
538
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
539
539
|
"update:value": (...args: any[]) => void;
|
|
540
540
|
}, PublicProps, {
|
|
@@ -816,7 +816,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
816
816
|
}>, {
|
|
817
817
|
focus: (options?: InputFocusOptions) => void;
|
|
818
818
|
blur: () => void;
|
|
819
|
-
resizableTextArea:
|
|
819
|
+
resizableTextArea: any;
|
|
820
820
|
}, {}, {}, {}, {
|
|
821
821
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
822
822
|
mode: FieldMode;
|
|
@@ -863,13 +863,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
863
863
|
field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
|
|
864
864
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
865
865
|
$slots: Readonly<{
|
|
866
|
-
label
|
|
867
|
-
help
|
|
868
|
-
extra
|
|
866
|
+
label?: any;
|
|
867
|
+
help?: any;
|
|
868
|
+
extra?: any;
|
|
869
869
|
}> & {
|
|
870
|
-
label
|
|
871
|
-
help
|
|
872
|
-
extra
|
|
870
|
+
label?: any;
|
|
871
|
+
help?: any;
|
|
872
|
+
extra?: any;
|
|
873
873
|
};
|
|
874
874
|
})) | ({
|
|
875
875
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemNumberProps> & Readonly<{}>, {
|
|
@@ -899,11 +899,11 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
899
899
|
readonly onInput?: ((text: string) => void) | undefined;
|
|
900
900
|
readonly value?: ValueType | undefined;
|
|
901
901
|
readonly disabled?: boolean | undefined;
|
|
902
|
-
readonly bordered?: boolean | undefined;
|
|
903
902
|
readonly prefixCls?: string | undefined;
|
|
904
903
|
readonly keyboard?: boolean | undefined;
|
|
905
904
|
readonly autofocus?: boolean | undefined;
|
|
906
905
|
readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
906
|
+
readonly bordered?: boolean | undefined;
|
|
907
907
|
readonly max?: ValueType | undefined;
|
|
908
908
|
readonly min?: ValueType | undefined;
|
|
909
909
|
readonly defaultValue?: ValueType | undefined;
|
|
@@ -1282,8 +1282,8 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1282
1282
|
}, string, {
|
|
1283
1283
|
step: ValueType;
|
|
1284
1284
|
disabled: boolean;
|
|
1285
|
-
bordered: boolean;
|
|
1286
1285
|
keyboard: boolean;
|
|
1286
|
+
bordered: boolean;
|
|
1287
1287
|
max: ValueType;
|
|
1288
1288
|
min: ValueType;
|
|
1289
1289
|
controls: boolean;
|
|
@@ -1312,8 +1312,8 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1312
1312
|
} & Readonly<{
|
|
1313
1313
|
step: ValueType;
|
|
1314
1314
|
disabled: boolean;
|
|
1315
|
-
bordered: boolean;
|
|
1316
1315
|
keyboard: boolean;
|
|
1316
|
+
bordered: boolean;
|
|
1317
1317
|
max: ValueType;
|
|
1318
1318
|
min: ValueType;
|
|
1319
1319
|
controls: boolean;
|
|
@@ -1321,7 +1321,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1321
1321
|
thousands: boolean;
|
|
1322
1322
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
1323
1323
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1324
|
-
}>, "blur" | "focus" | ("step" | "disabled" | "
|
|
1324
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "keyboard" | "bordered" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
|
|
1325
1325
|
focus: () => void;
|
|
1326
1326
|
blur: () => void;
|
|
1327
1327
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -1681,13 +1681,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1681
1681
|
field: Omit< ApFieldRadioProps, "value" | "onUpdate:value">;
|
|
1682
1682
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1683
1683
|
$slots: Readonly<{
|
|
1684
|
-
label
|
|
1685
|
-
help
|
|
1686
|
-
extra
|
|
1684
|
+
label?: any;
|
|
1685
|
+
help?: any;
|
|
1686
|
+
extra?: any;
|
|
1687
1687
|
}> & {
|
|
1688
|
-
label
|
|
1689
|
-
help
|
|
1690
|
-
extra
|
|
1688
|
+
label?: any;
|
|
1689
|
+
help?: any;
|
|
1690
|
+
extra?: any;
|
|
1691
1691
|
};
|
|
1692
1692
|
})) | ({
|
|
1693
1693
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemSelectProps> & Readonly<{}>, {
|
|
@@ -1727,11 +1727,11 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1727
1727
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
1728
1728
|
readonly animation?: string | undefined;
|
|
1729
1729
|
readonly children?: VueNode[] | undefined;
|
|
1730
|
-
readonly bordered?: boolean | undefined;
|
|
1731
1730
|
readonly prefixCls?: string | undefined;
|
|
1732
1731
|
readonly loading?: boolean | undefined;
|
|
1733
1732
|
readonly transitionName?: string | undefined;
|
|
1734
1733
|
readonly autofocus?: boolean | undefined;
|
|
1734
|
+
readonly bordered?: boolean | undefined;
|
|
1735
1735
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
1736
1736
|
readonly placeholder?: any;
|
|
1737
1737
|
readonly defaultValue?: SelectValue;
|
|
@@ -2225,9 +2225,9 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2225
2225
|
open: boolean;
|
|
2226
2226
|
multiple: boolean;
|
|
2227
2227
|
disabled: boolean;
|
|
2228
|
-
bordered: boolean;
|
|
2229
2228
|
loading: boolean;
|
|
2230
2229
|
autofocus: boolean;
|
|
2230
|
+
bordered: boolean;
|
|
2231
2231
|
virtual: boolean;
|
|
2232
2232
|
lazy: boolean;
|
|
2233
2233
|
allowClear: boolean;
|
|
@@ -2266,9 +2266,9 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2266
2266
|
open: boolean;
|
|
2267
2267
|
multiple: boolean;
|
|
2268
2268
|
disabled: boolean;
|
|
2269
|
-
bordered: boolean;
|
|
2270
2269
|
loading: boolean;
|
|
2271
2270
|
autofocus: boolean;
|
|
2271
|
+
bordered: boolean;
|
|
2272
2272
|
virtual: boolean;
|
|
2273
2273
|
lazy: boolean;
|
|
2274
2274
|
allowClear: boolean;
|
|
@@ -2284,7 +2284,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2284
2284
|
searchDelay: number;
|
|
2285
2285
|
}> & Omit<Readonly< ApFieldSelectProps> & Readonly<{
|
|
2286
2286
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
2287
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "
|
|
2287
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "loading" | "autofocus" | "bordered" | "virtual" | "lazy" | "allowClear" | "defaultOpen" | "showSearch" | "showArrow" | "autoClearSearchValue" | "defaultActiveFirstOption" | "labelInValue" | "emptyText" | "searchMode" | "refetchOnFocus" | "searchDelay")> & ShallowUnwrapRef<{
|
|
2288
2288
|
focus: () => void;
|
|
2289
2289
|
blur: () => void;
|
|
2290
2290
|
request: (clear?: boolean) => Promise<void>;
|
|
@@ -2467,13 +2467,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2467
2467
|
field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
|
|
2468
2468
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2469
2469
|
$slots: Readonly<{
|
|
2470
|
-
label
|
|
2471
|
-
help
|
|
2472
|
-
extra
|
|
2470
|
+
label?: any;
|
|
2471
|
+
help?: any;
|
|
2472
|
+
extra?: any;
|
|
2473
2473
|
}> & {
|
|
2474
|
-
label
|
|
2475
|
-
help
|
|
2476
|
-
extra
|
|
2474
|
+
label?: any;
|
|
2475
|
+
help?: any;
|
|
2476
|
+
extra?: any;
|
|
2477
2477
|
};
|
|
2478
2478
|
})) | ({
|
|
2479
2479
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemTreeSelectProps> & Readonly<{}>, {
|
|
@@ -2515,12 +2515,12 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2515
2515
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
2516
2516
|
readonly animation?: string | undefined;
|
|
2517
2517
|
readonly children?: VueNode[] | undefined;
|
|
2518
|
-
readonly bordered?: boolean | undefined;
|
|
2519
2518
|
readonly prefixCls?: string | undefined;
|
|
2520
2519
|
readonly loading?: boolean | undefined;
|
|
2521
2520
|
readonly transitionName?: string | undefined;
|
|
2522
2521
|
readonly autofocus?: boolean | undefined;
|
|
2523
2522
|
readonly 'onUpdate:value'?: (((value: any) => void) & ((...args: any[]) => any)) | undefined;
|
|
2523
|
+
readonly bordered?: boolean | undefined;
|
|
2524
2524
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
2525
2525
|
readonly placeholder?: any;
|
|
2526
2526
|
readonly defaultValue?: unknown;
|
|
@@ -3158,9 +3158,9 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
3158
3158
|
open: boolean;
|
|
3159
3159
|
multiple: boolean;
|
|
3160
3160
|
disabled: boolean;
|
|
3161
|
-
bordered: boolean;
|
|
3162
3161
|
loading: boolean;
|
|
3163
3162
|
autofocus: boolean;
|
|
3163
|
+
bordered: boolean;
|
|
3164
3164
|
virtual: boolean;
|
|
3165
3165
|
dropdownMatchSelectWidth: number | boolean;
|
|
3166
3166
|
allowClear: boolean;
|
|
@@ -3198,9 +3198,9 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
3198
3198
|
open: boolean;
|
|
3199
3199
|
multiple: boolean;
|
|
3200
3200
|
disabled: boolean;
|
|
3201
|
-
bordered: boolean;
|
|
3202
3201
|
loading: boolean;
|
|
3203
3202
|
autofocus: boolean;
|
|
3203
|
+
bordered: boolean;
|
|
3204
3204
|
virtual: boolean;
|
|
3205
3205
|
dropdownMatchSelectWidth: number | boolean;
|
|
3206
3206
|
allowClear: boolean;
|
|
@@ -3215,7 +3215,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
3215
3215
|
emptyText: string;
|
|
3216
3216
|
}> & Omit<Readonly< ApFieldTreeSelectProps> & Readonly<{
|
|
3217
3217
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
3218
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "
|
|
3218
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "loading" | "autofocus" | "bordered" | "virtual" | "dropdownMatchSelectWidth" | "allowClear" | "defaultOpen" | "showSearch" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "treeCheckable" | "treeDefaultExpandAll" | "treeCheckStrictly" | "emptyText")> & ShallowUnwrapRef<{
|
|
3219
3219
|
blur: () => void;
|
|
3220
3220
|
focus: () => void;
|
|
3221
3221
|
request: (currentNode?: LegacyDataNode, clear?: boolean) => Promise<void>;
|