@aplus-frontend/ui 0.6.0-beta.8 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +307 -289
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +9 -8
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +7 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +4 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +25 -0
- package/es/src/ap-drawer/index.d.ts +2 -0
- package/es/src/ap-drawer/index.mjs +5 -2
- package/es/src/ap-drawer/utils/createDrawer.mjs +38 -33
- package/es/src/ap-field/date-range/index.vue.mjs +8 -7
- package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
- package/es/src/ap-field/number/index.vue.d.ts +2 -4
- package/es/src/ap-field/radio/index.vue.d.ts +2 -4
- package/es/src/ap-field/rate/index.vue.d.ts +2 -4
- package/es/src/ap-field/select/index.vue.d.ts +3 -6
- package/es/src/ap-field/slider/index.vue.d.ts +2 -4
- package/es/src/ap-field/text/index.vue2.mjs +42 -44
- package/es/src/ap-field/text/password.vue.mjs +15 -17
- package/es/src/ap-field/text-area/index.vue.d.ts +2 -2
- package/es/src/ap-field/tree-select/index.vue.mjs +31 -30
- package/es/src/ap-form/ap-form.vue2.mjs +89 -77
- package/es/src/ap-form/dependency/index.vue.mjs +29 -23
- package/es/src/ap-form/drawer-form/index.vue.d.ts +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 +5 -10
- package/es/src/ap-form/item/index.vue.mjs +69 -73
- package/es/src/ap-form/item-group/index.vue.mjs +34 -35
- package/es/src/ap-form/items/select/index.vue.mjs +12 -14
- package/es/src/ap-form/items/text/password.vue.mjs +9 -9
- package/es/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- package/es/src/ap-form/items/tree-select/index.vue.mjs +12 -14
- package/es/src/ap-form/modal-form/index.vue.d.ts +9 -7
- package/es/src/ap-form/modal-form/index.vue.mjs +64 -55
- package/es/src/ap-form/provider/index.vue.mjs +6 -5
- package/es/src/ap-form/search-form/components/popover-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 +79 -71
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +31 -13
- package/es/src/ap-form/search-form/index.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/index.vue.mjs +99 -97
- package/es/src/ap-form/set/index.vue.mjs +20 -20
- package/es/src/ap-grid/editable/form-item.vue.mjs +39 -36
- package/es/src/ap-grid/editable/index.vue.mjs +13 -10
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +17 -17
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
- package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
- package/es/src/ap-grid/hooks/use-row-selection.d.ts +100 -0
- package/es/src/ap-grid/hooks/use-row-selection.mjs +122 -0
- package/es/src/ap-grid/hooks/use-table-style.d.ts +16 -0
- package/es/src/ap-grid/hooks/use-table-style.mjs +26 -0
- package/es/src/ap-grid/index.vue.mjs +295 -243
- package/es/src/ap-grid/interface.d.ts +32 -3
- package/es/src/ap-grid/utils/table.mjs +15 -15
- package/es/src/ap-list/index.vue.d.ts +2 -9
- package/es/src/ap-list/index.vue.mjs +113 -103
- package/es/src/ap-list/interface.d.ts +24 -3
- package/es/src/ap-modal/interface.d.ts +2 -1
- package/es/src/ap-modal/utils/createModalStream.mjs +24 -24
- package/es/src/ap-table/ap-table.vue.d.ts +10 -2
- package/es/src/ap-table/ap-table.vue2.mjs +86 -82
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -44
- package/es/src/ap-table/constants.d.ts +22 -22
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +25 -6
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +158 -130
- package/es/src/ap-table/interface.d.ts +17 -4
- package/es/src/ap-table/utils.d.ts +21 -21
- package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
- package/es/src/business/ap-card/ApCard.vue.d.ts +2 -4
- package/es/src/business/ap-card/ApCard.vue2.mjs +34 -33
- package/es/src/business/ap-card/index.d.ts +2 -4
- package/es/src/business/ap-card/interface.d.ts +5 -0
- package/es/src/business/ap-copy/ApCopy.d.ts +52 -0
- package/es/src/business/ap-copy/ApCopy.mjs +79 -0
- package/es/src/business/ap-copy/constans.d.ts +24 -0
- package/es/src/business/ap-copy/constans.mjs +25 -0
- package/es/src/business/ap-copy/index.d.ts +102 -0
- package/es/src/business/ap-copy/index.mjs +7 -0
- package/es/src/business/ap-copy/interface.d.ts +8 -0
- package/es/src/business/ap-copy/interface.mjs +1 -0
- package/es/src/business/ap-copy/style/css.d.ts +0 -0
- package/es/src/business/ap-copy/style/css.js +1 -0
- package/es/src/business/ap-copy/style/index.d.ts +0 -0
- package/es/src/business/ap-copy/style/index.js +1 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +92 -71
- 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 +108 -0
- package/es/src/business/ap-keep-alive/index.mjs +15 -0
- package/es/src/business/ap-keep-alive/interface.d.ts +36 -0
- package/es/src/business/ap-keep-alive/interface.mjs +54 -0
- package/es/src/business/ap-keep-alive/keep-alive.d.ts +54 -0
- package/es/src/business/ap-keep-alive/keep-alive.mjs +154 -0
- package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
- package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.mjs +21 -0
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +27 -0
- package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
- package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
- package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
- package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.mjs +12 -0
- package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
- package/es/src/business/ap-keep-alive/keeper/index.mjs +28 -0
- package/es/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/step-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/tab-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/utils.d.ts +23 -0
- package/es/src/business/ap-keep-alive/utils.mjs +42 -0
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +15 -16
- package/es/src/business/ap-label/interface.d.ts +2 -3
- package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/es/src/business/ap-product-info/ApProductInfo.mjs +53 -54
- package/es/src/business/ap-product-info/constans.d.ts +4 -0
- package/es/src/business/ap-product-info/constans.mjs +4 -0
- package/es/src/business/ap-product-info/index.d.ts +15 -0
- package/es/src/business/ap-product-info/interface.d.ts +1 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +21 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue.mjs +4 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +73 -0
- package/es/src/business/ap-radio-group/index.d.ts +66 -0
- package/es/src/business/ap-radio-group/index.mjs +8 -0
- package/es/src/business/ap-radio-group/interface.d.ts +11 -0
- package/es/src/business/ap-radio-group/interface.mjs +1 -0
- package/es/src/business/ap-radio-group/style/css.d.ts +0 -0
- package/es/src/business/ap-radio-group/style/css.js +1 -0
- package/es/src/business/ap-radio-group/style/index.d.ts +0 -0
- package/es/src/business/ap-radio-group/style/index.js +1 -0
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/index.d.ts +32 -5
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +43 -42
- package/es/src/business/ap-view/ap-view.vue.d.ts +4 -1
- package/es/src/business/ap-view/ap-view.vue2.mjs +135 -115
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/es/src/business/ap-view/components/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/index.d.ts +12 -3
- package/es/src/business/ap-view/interface.d.ts +7 -0
- package/es/src/business/batch-input-group/form-item.vue.mjs +14 -13
- package/es/src/business/batch-input-group/index.vue.mjs +10 -9
- package/es/src/business/hooks/usePageListApGrid.mjs +33 -28
- package/es/src/business/hooks/usePageListApTable.d.ts +4 -1
- package/es/src/business/index.d.ts +3 -0
- package/es/src/business/index.mjs +36 -30
- package/es/src/components.d.ts +1 -0
- package/es/src/editable-table/form-item.vue.mjs +23 -23
- package/es/src/full-screen/interface.d.ts +5 -6
- package/es/src/index.mjs +112 -97
- package/es/src/locale/lang/en.mjs +4 -0
- package/es/src/locale/lang/zh-cn.mjs +4 -0
- package/es/src/mask/index.vue.mjs +21 -20
- package/es/src/path-map.mjs +3 -1
- package/es/src/resize-observer/interface.d.ts +2 -3
- package/es/src/scroll-bar/interface.d.ts +7 -7
- package/es/src/scroll-view/interface.d.ts +2 -3
- package/es/src/splitter/SplitBar.vue2.mjs +1 -0
- package/es/src/splitter/Splitter.vue2.mjs +1 -0
- package/es/src/tests/mock-resize-observer.d.ts +2 -0
- package/es/src/tests/mock-warning.d.ts +1 -0
- package/es/src/tests/utils.d.ts +8 -0
- package/es/src/text/group.vue.mjs +7 -6
- package/es/src/text/index.vue.mjs +20 -19
- package/es/src/version.d.ts +2 -0
- package/es/src/version.mjs +4 -0
- package/es/src/work-order-modal/createWorkOrder.d.ts +2 -1
- package/es/src/work-order-modal/createWorkOrder.mjs +19 -15
- package/es/src/work-order-modal/interfaces.d.ts +4 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +120 -105
- package/es/test/setup.d.ts +5 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +7 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +1 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -0
- package/lib/src/ap-drawer/index.d.ts +2 -0
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +2 -4
- package/lib/src/ap-field/radio/index.vue.d.ts +2 -4
- package/lib/src/ap-field/rate/index.vue.d.ts +2 -4
- package/lib/src/ap-field/select/index.vue.d.ts +3 -6
- package/lib/src/ap-field/slider/index.vue.d.ts +2 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +2 -2
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +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 +5 -10
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +9 -7
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/provider/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-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/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.d.ts +100 -0
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -0
- package/lib/src/ap-grid/hooks/use-table-style.d.ts +16 -0
- package/lib/src/ap-grid/hooks/use-table-style.js +1 -0
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +32 -3
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -9
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +24 -3
- package/lib/src/ap-modal/interface.d.ts +2 -1
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +10 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +22 -22
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +25 -6
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +17 -4
- package/lib/src/ap-table/utils.d.ts +21 -21
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-card/ApCard.vue.d.ts +2 -4
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-card/index.d.ts +2 -4
- package/lib/src/business/ap-card/interface.d.ts +5 -0
- package/lib/src/business/ap-copy/ApCopy.d.ts +52 -0
- package/lib/src/business/ap-copy/ApCopy.js +1 -0
- package/lib/src/business/ap-copy/constans.d.ts +24 -0
- package/lib/src/business/ap-copy/constans.js +1 -0
- package/lib/src/business/ap-copy/index.d.ts +102 -0
- package/lib/src/business/ap-copy/index.js +1 -0
- package/lib/src/business/ap-copy/interface.d.ts +8 -0
- package/lib/src/business/ap-copy/interface.js +1 -0
- package/lib/src/business/ap-copy/style/css.cjs +1 -0
- package/lib/src/business/ap-copy/style/css.d.ts +0 -0
- package/lib/src/business/ap-copy/style/index.cjs +1 -0
- package/lib/src/business/ap-copy/style/index.d.ts +0 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-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 +108 -0
- package/lib/src/business/ap-keep-alive/index.js +1 -0
- package/lib/src/business/ap-keep-alive/interface.d.ts +36 -0
- package/lib/src/business/ap-keep-alive/interface.js +1 -0
- package/lib/src/business/ap-keep-alive/keep-alive.d.ts +54 -0
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/step-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/tab-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/utils.d.ts +23 -0
- package/lib/src/business/ap-keep-alive/utils.js +1 -0
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/interface.d.ts +2 -3
- package/lib/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-product-info/constans.d.ts +4 -0
- package/lib/src/business/ap-product-info/constans.js +1 -1
- package/lib/src/business/ap-product-info/index.d.ts +15 -0
- package/lib/src/business/ap-product-info/interface.d.ts +1 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +21 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.js +1 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -0
- package/lib/src/business/ap-radio-group/index.d.ts +66 -0
- package/lib/src/business/ap-radio-group/index.js +1 -0
- package/lib/src/business/ap-radio-group/interface.d.ts +11 -0
- package/lib/src/business/ap-radio-group/interface.js +1 -0
- package/lib/src/business/ap-radio-group/style/css.cjs +1 -0
- package/lib/src/business/ap-radio-group/style/css.d.ts +0 -0
- package/lib/src/business/ap-radio-group/style/index.cjs +1 -0
- package/lib/src/business/ap-radio-group/style/index.d.ts +0 -0
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/index.d.ts +32 -5
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue.d.ts +4 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/lib/src/business/ap-view/components/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/index.d.ts +12 -3
- package/lib/src/business/ap-view/interface.d.ts +7 -0
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/business/hooks/usePageListApTable.d.ts +4 -1
- package/lib/src/business/index.d.ts +3 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/components.d.ts +1 -0
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/full-screen/interface.d.ts +5 -6
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/resize-observer/interface.d.ts +2 -3
- package/lib/src/scroll-bar/interface.d.ts +7 -7
- package/lib/src/scroll-view/interface.d.ts +2 -3
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/tests/mock-resize-observer.d.ts +2 -0
- package/lib/src/tests/mock-warning.d.ts +1 -0
- package/lib/src/tests/utils.d.ts +8 -0
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/version.d.ts +2 -0
- package/lib/src/version.js +1 -0
- package/lib/src/work-order-modal/createWorkOrder.d.ts +2 -1
- package/lib/src/work-order-modal/createWorkOrder.js +1 -1
- package/lib/src/work-order-modal/interfaces.d.ts +4 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/lib/test/setup.d.ts +5 -0
- package/package.json +18 -14
- package/theme/antd-global-overwrite/admin/alert.css +5 -18
- package/theme/antd-global-overwrite/admin/alert.less +25 -36
- package/theme/antd-global-overwrite/admin/button.css +13 -13
- package/theme/antd-global-overwrite/admin/button.less +24 -24
- package/theme/antd-global-overwrite/admin/drawer.css +3 -0
- package/theme/antd-global-overwrite/admin/drawer.less +5 -0
- package/theme/antd-global-overwrite/admin/field.css +42 -0
- package/theme/antd-global-overwrite/admin/field.less +43 -0
- package/theme/antd-global-overwrite/admin/index.css +93 -631
- package/theme/antd-global-overwrite/admin/index.less +1 -3
- package/theme/antd-global-overwrite/admin/message.css +2 -9
- package/theme/antd-global-overwrite/admin/message.less +2 -10
- package/theme/antd-global-overwrite/admin/modal.css +20 -34
- package/theme/antd-global-overwrite/admin/modal.less +20 -38
- package/theme/antd-global-overwrite/admin/table.css +11 -251
- package/theme/antd-global-overwrite/admin/table.less +4 -132
- package/theme/antd-global-overwrite/aplus/alert.css +8 -18
- package/theme/antd-global-overwrite/aplus/alert.less +27 -34
- package/theme/antd-global-overwrite/aplus/button.css +20 -20
- package/theme/antd-global-overwrite/aplus/button.less +24 -24
- package/theme/antd-global-overwrite/aplus/drawer.css +3 -0
- package/theme/antd-global-overwrite/aplus/drawer.less +5 -0
- package/theme/antd-global-overwrite/aplus/field.css +36 -0
- package/theme/antd-global-overwrite/aplus/field.less +36 -0
- package/theme/antd-global-overwrite/aplus/index.css +93 -679
- package/theme/antd-global-overwrite/aplus/index.less +0 -3
- package/theme/antd-global-overwrite/aplus/message.css +2 -9
- package/theme/antd-global-overwrite/aplus/message.less +2 -10
- package/theme/antd-global-overwrite/aplus/modal.css +18 -39
- package/theme/antd-global-overwrite/aplus/modal.less +19 -45
- package/theme/antd-global-overwrite/aplus/table.css +11 -236
- package/theme/antd-global-overwrite/aplus/table.less +4 -134
- package/theme/ap-action/item-dropdown.css +4 -4
- package/theme/ap-action/item.css +23 -12
- package/theme/ap-action/item.less +18 -6
- package/theme/ap-appendix/ap-appendix.css +13 -13
- package/theme/ap-appendix/ap-appendix.less +8 -8
- package/theme/ap-attachment/ap-attachment.css +6 -5
- package/theme/ap-attachment/ap-attachment.less +2 -2
- package/theme/ap-batch-action/ap-batch-action.css +7 -7
- package/theme/ap-batch-action/ap-batch-action.less +3 -3
- package/theme/ap-button/ap-button.css +4 -4
- package/theme/ap-card/ap-card.css +5 -5
- 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 +10 -8
- package/theme/ap-descriptions/ap-descriptions.less +6 -4
- package/theme/ap-download/ap-download.css +7 -7
- package/theme/ap-drawer/ap-drawer.css +66 -0
- package/theme/ap-drawer/ap-drawer.less +27 -0
- package/theme/ap-expand-alert/ap-expand-alert.css +5 -4
- package/theme/ap-expand-alert/ap-expand-alert.less +2 -1
- package/theme/ap-field/checkbox.css +4 -4
- package/theme/ap-field/index.css +4 -4
- package/theme/ap-field/number.css +4 -4
- package/theme/ap-field/radio.css +4 -4
- package/theme/ap-field/text-area.css +4 -4
- package/theme/ap-form/ap-form-item-group.css +4 -4
- package/theme/ap-form/ap-form-item.css +12 -9
- package/theme/ap-form/ap-form-item.less +8 -5
- package/theme/ap-form/drawer-form.css +4 -4
- package/theme/ap-form/index.css +34 -22
- package/theme/ap-form/item-text-group.css +4 -4
- package/theme/ap-form/item-text.css +4 -4
- package/theme/ap-form/modal-form.css +4 -4
- package/theme/ap-form/search-form-sorter.css +17 -16
- package/theme/ap-form/search-form-sorter.less +5 -4
- package/theme/ap-form/search-form.css +34 -22
- package/theme/ap-form/search-form.less +9 -1
- package/theme/ap-grid/editable.css +4 -4
- package/theme/ap-grid/index.css +83 -44
- package/theme/ap-grid/index.less +26 -9
- package/theme/ap-group-search/ap-extension-select.css +4 -4
- package/theme/ap-group-search/ap-group-search.css +4 -4
- package/theme/ap-group-search/ap-popover-select.css +4 -4
- package/theme/ap-image/ap-image.css +4 -4
- package/theme/ap-input-radio/ap-input-radio.css +4 -4
- package/theme/ap-label/ap-label.css +4 -4
- package/theme/ap-ladder/ap-ladder.css +7 -6
- package/theme/ap-ladder/ap-ladder.less +1 -0
- package/theme/ap-layout/ap-info-layout.css +4 -4
- package/theme/ap-list/index.css +4 -4
- package/theme/ap-product-info/ap-product-info.css +24 -34
- package/theme/ap-product-info/ap-product-info.less +28 -42
- package/theme/ap-radio-group/ap-radio-group.css +66 -0
- package/theme/ap-radio-group/ap-radio-group.less +26 -0
- package/theme/ap-select-layout/ap-select-layout.css +6 -6
- package/theme/ap-size-input/ap-size-input.css +4 -4
- package/theme/ap-status/ap-status.css +5 -5
- package/theme/ap-status/ap-status.less +1 -1
- package/theme/ap-summary/index.css +4 -4
- package/theme/ap-table/ap-table-index.css +4 -4
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +5 -5
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +90 -52
- package/theme/ap-table/ap-table.less +19 -7
- package/theme/ap-table/setting/index.css +19 -15
- package/theme/ap-table/setting/modal.css +11 -7
- package/theme/ap-table/setting/modal.less +5 -1
- package/theme/ap-table/setting/select-group.css +4 -4
- package/theme/ap-table/setting/sortable-item-meta.css +6 -6
- package/theme/ap-table/setting/sortable-item-meta.less +2 -2
- package/theme/ap-table/setting/sortable-item.css +4 -4
- package/theme/ap-table/setting/sorter.css +10 -10
- package/theme/ap-table/setting/sorter.less +4 -4
- package/theme/ap-table-modal/index.css +105 -65
- package/theme/ap-table-modal/index.less +15 -13
- package/theme/ap-tag/ap-tag-group.css +6 -6
- package/theme/ap-tag/ap-tag-group.less +2 -3
- package/theme/ap-tag/ap-tag.css +10 -10
- package/theme/ap-tag/ap-tag.less +4 -4
- package/theme/ap-title/ap-title.css +9 -7
- package/theme/ap-title/ap-title.less +5 -3
- package/theme/ap-upload/index.css +9 -9
- package/theme/ap-upload/multiple-file.css +5 -5
- package/theme/ap-upload/multiple-file.less +1 -1
- package/theme/ap-upload/picture.css +6 -6
- package/theme/ap-upload/picture.less +2 -2
- package/theme/ap-upload/single-file.css +6 -6
- package/theme/ap-upload/single-file.less +2 -2
- package/theme/ap-upload/upload.css +4 -4
- package/theme/ap-upload-single/index.css +8 -8
- package/theme/ap-upload-single/index.less +4 -4
- package/theme/ap-view/ap-view.css +11 -11
- package/theme/ap-view/ap-view.less +7 -7
- package/theme/batch-input-group/index.css +7 -6
- package/theme/batch-input-group/popover-input.css +7 -6
- package/theme/batch-input-group/popover-input.less +3 -2
- package/theme/check-card/index.css +15 -15
- package/theme/check-card/index.less +5 -5
- package/theme/editable-table/index.css +53 -30
- package/theme/full-screen/index.css +4 -4
- package/theme/index.css +382 -270
- package/theme/index.less +3 -0
- package/theme/mask/index.css +4 -4
- package/theme/mixins/config.less +4 -4
- package/theme/mixins/mixins.css +4 -4
- package/theme/mixins/mixins.less +2 -2
- package/theme/scroll-bar/index.css +4 -4
- package/theme/scroll-view/index.css +4 -4
- package/theme/splitter/index.css +10 -10
- package/theme/splitter/index.less +1 -1
- package/theme/text/group.css +4 -4
- package/theme/text/index.css +10 -10
- package/theme/text/index.less +4 -4
- package/theme/ui-mode.css +51 -83
- package/theme/ui-mode.less +99 -83
- package/theme/work-order-modal/index.css +4 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as _, ref as g, createBlock as x, openBlock as k, normalizeProps as t, guardReactiveProps as s, unref as o, createSlots as n, withCtx as d, createVNode as F, mergeProps as
|
|
1
|
+
import { defineComponent as B, useSlots as _, ref as g, createBlock as x, openBlock as k, normalizeProps as t, guardReactiveProps as s, unref as o, createSlots as n, withCtx as d, createVNode as F, mergeProps as P, renderList as i, renderSlot as f } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
|
-
import { ApField as
|
|
4
|
-
import { omit as u, pick as
|
|
3
|
+
import { ApField as S } from "../../../ap-field/index.mjs";
|
|
4
|
+
import { omit as u, pick as w } from "lodash-unified";
|
|
5
5
|
import { apFormItemSlotNames as m } from "../../constant.mjs";
|
|
6
|
-
import
|
|
6
|
+
import C from "../../item/index.vue.mjs";
|
|
7
7
|
const z = /* @__PURE__ */ B({
|
|
8
|
-
name: "
|
|
8
|
+
name: "ApFormItemPassword",
|
|
9
9
|
__name: "password",
|
|
10
10
|
props: {
|
|
11
11
|
htmlFor: {},
|
|
@@ -53,7 +53,7 @@ const z = /* @__PURE__ */ B({
|
|
|
53
53
|
disabled: { type: Boolean, default: void 0 }
|
|
54
54
|
},
|
|
55
55
|
setup(c, { expose: b }) {
|
|
56
|
-
const { Text: h } =
|
|
56
|
+
const { Text: h } = S, p = _(), v = c, a = g();
|
|
57
57
|
return b({
|
|
58
58
|
focus: () => {
|
|
59
59
|
var e;
|
|
@@ -63,9 +63,9 @@ const z = /* @__PURE__ */ B({
|
|
|
63
63
|
var e;
|
|
64
64
|
(e = a.value) == null || e.blur();
|
|
65
65
|
}
|
|
66
|
-
}), (e, R) => (k(), x(
|
|
66
|
+
}), (e, R) => (k(), x(C, t(s(o(u)(v, ["field", "disabled", "placeholder"]))), n({
|
|
67
67
|
default: d(() => [
|
|
68
|
-
F(o(h).Password,
|
|
68
|
+
F(o(h).Password, P({
|
|
69
69
|
ref_key: "inputRef",
|
|
70
70
|
ref: a,
|
|
71
71
|
disabled: e.disabled,
|
|
@@ -81,7 +81,7 @@ const z = /* @__PURE__ */ B({
|
|
|
81
81
|
]),
|
|
82
82
|
_: 2
|
|
83
83
|
}, [
|
|
84
|
-
i(o(
|
|
84
|
+
i(o(w)(p, o(m)), (y, l) => ({
|
|
85
85
|
name: l,
|
|
86
86
|
fn: d((r) => [
|
|
87
87
|
f(e.$slots, l, t(s(r || {})))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemTextAreaProps } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
|
|
3
3
|
import { ApFormItemSlots } from '../../interface';
|
|
4
|
-
import { CreateComponentPublicInstanceWithMixins,
|
|
4
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
5
5
|
import { ApFieldTextAreaProps, FieldMode } from '../../..';
|
|
6
6
|
import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
|
|
7
7
|
import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
@@ -19,7 +19,7 @@ declare function __VLS_template(): {
|
|
|
19
19
|
}>, {
|
|
20
20
|
focus: (options?: InputFocusOptions) => void;
|
|
21
21
|
blur: () => void;
|
|
22
|
-
resizableTextArea:
|
|
22
|
+
resizableTextArea: any;
|
|
23
23
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
24
|
"update:value": (...args: any[]) => void;
|
|
25
25
|
}, PublicProps, {
|
|
@@ -301,7 +301,7 @@ declare function __VLS_template(): {
|
|
|
301
301
|
}>, {
|
|
302
302
|
focus: (options?: InputFocusOptions) => void;
|
|
303
303
|
blur: () => void;
|
|
304
|
-
resizableTextArea:
|
|
304
|
+
resizableTextArea: any;
|
|
305
305
|
}, {}, {}, {}, {
|
|
306
306
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
307
307
|
mode: FieldMode;
|
|
@@ -333,7 +333,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextAreaProps, {
|
|
|
333
333
|
}>, {
|
|
334
334
|
focus: (options?: InputFocusOptions) => void;
|
|
335
335
|
blur: () => void;
|
|
336
|
-
resizableTextArea:
|
|
336
|
+
resizableTextArea: any;
|
|
337
337
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
338
338
|
"update:value": (...args: any[]) => void;
|
|
339
339
|
}, PublicProps, {
|
|
@@ -615,7 +615,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextAreaProps, {
|
|
|
615
615
|
}>, {
|
|
616
616
|
focus: (options?: InputFocusOptions) => void;
|
|
617
617
|
blur: () => void;
|
|
618
|
-
resizableTextArea:
|
|
618
|
+
resizableTextArea: any;
|
|
619
619
|
}, {}, {}, {}, {
|
|
620
620
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
621
621
|
mode: FieldMode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B,
|
|
1
|
+
import { defineComponent as B, useSlots as x, ref as S, computed as g, createBlock as k, openBlock as F, normalizeProps as n, guardReactiveProps as i, unref as l, createSlots as u, withCtx as p, createVNode as C, mergeProps as P, renderList as c, renderSlot as m } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
4
|
import { isUndefined as q, omit as b, pick as $ } from "lodash-unified";
|
|
@@ -54,8 +54,16 @@ const E = /* @__PURE__ */ B({
|
|
|
54
54
|
disabled: { type: Boolean, default: void 0 }
|
|
55
55
|
},
|
|
56
56
|
setup(v, { expose: h }) {
|
|
57
|
-
const o = v,
|
|
58
|
-
|
|
57
|
+
const o = v, f = x(), a = S(), y = g(() => {
|
|
58
|
+
var e, r;
|
|
59
|
+
return {
|
|
60
|
+
placeholder: o.placeholder,
|
|
61
|
+
disabled: o.disabled,
|
|
62
|
+
...o.field || {},
|
|
63
|
+
bordered: o.bordered ? !1 : q((e = o.field) == null ? void 0 : e.bordered) ? !0 : (r = o.field) == null ? void 0 : r.bordered
|
|
64
|
+
};
|
|
65
|
+
});
|
|
66
|
+
return h({
|
|
59
67
|
focus: () => {
|
|
60
68
|
var e;
|
|
61
69
|
(e = a.value) == null || e.focus();
|
|
@@ -68,17 +76,7 @@ const E = /* @__PURE__ */ B({
|
|
|
68
76
|
var d;
|
|
69
77
|
(d = a.value) == null || d.request(e, r);
|
|
70
78
|
}
|
|
71
|
-
})
|
|
72
|
-
const f = S(), y = g(() => {
|
|
73
|
-
var e, r;
|
|
74
|
-
return {
|
|
75
|
-
placeholder: o.placeholder,
|
|
76
|
-
disabled: o.disabled,
|
|
77
|
-
...o.field || {},
|
|
78
|
-
bordered: o.bordered ? !1 : q((e = o.field) == null ? void 0 : e.bordered) ? !0 : (r = o.field) == null ? void 0 : r.bordered
|
|
79
|
-
};
|
|
80
|
-
});
|
|
81
|
-
return (e, r) => (F(), k(N, n(i(l(b)(o, ["field", "placeholder", "disabled"]))), u({
|
|
79
|
+
}), (e, r) => (F(), k(N, n(i(l(b)(o, ["field", "placeholder", "disabled"]))), u({
|
|
82
80
|
default: p(() => [
|
|
83
81
|
C(l(R), P(y.value, {
|
|
84
82
|
ref_key: "treeSelectRef",
|
|
@@ -818,7 +818,7 @@ declare function __VLS_template(): {
|
|
|
818
818
|
hideRequiredMark: boolean;
|
|
819
819
|
validateOnRuleChange: boolean;
|
|
820
820
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
821
|
-
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "
|
|
821
|
+
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "registerWatch" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "getFieldsValue" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | ("layout" | "colon" | "labelAlign" | "validateTrigger" | "hideRequiredMark" | "validateOnRuleChange" | "syncToUrl")> & ShallowUnwrapRef<{
|
|
822
822
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
823
823
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
824
824
|
resetFields: () => Promise<void>;
|
|
@@ -841,15 +841,17 @@ declare function __VLS_template(): {
|
|
|
841
841
|
};
|
|
842
842
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
843
843
|
declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
844
|
-
|
|
844
|
+
validate: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
845
|
+
setFieldsValue: (fields: Partial<any>) => void;
|
|
846
|
+
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
847
|
+
resetFields: () => Promise<void>;
|
|
845
848
|
clearValidate: (name?: NamePath) => void;
|
|
846
849
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
847
850
|
getFieldsValue: (nameList?: true | InternalNamePath[]) => Partial<any> | undefined;
|
|
848
|
-
|
|
849
|
-
scrollToField: (name: NamePath, options?: {}) => void;
|
|
850
|
-
setFieldValue: (key: string, newValue: any) => void;
|
|
851
|
-
setFieldsValue: (values: Record<string, any>) => void;
|
|
851
|
+
scrollToField: (name: NamePath, options?: any) => void;
|
|
852
852
|
getInternalInstance: (mark: string) => ApFormInternalInstance | undefined;
|
|
853
|
+
validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
854
|
+
getFieldsValueTransformed: (nameList?: true | InternalNamePath[]) => Partial<any> | undefined;
|
|
853
855
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
854
856
|
"update:open": (...args: any[]) => void;
|
|
855
857
|
}, string, PublicProps, Readonly<ApFormModalFormProps> & Readonly<{
|
|
@@ -1948,7 +1950,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1948
1950
|
hideRequiredMark: boolean;
|
|
1949
1951
|
validateOnRuleChange: boolean;
|
|
1950
1952
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
1951
|
-
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "
|
|
1953
|
+
}> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "registerWatch" | "setFieldsValue" | "setFieldValue" | "resetFields" | "clearValidate" | "validateFields" | "getFieldsValue" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | ("layout" | "colon" | "labelAlign" | "validateTrigger" | "hideRequiredMark" | "validateOnRuleChange" | "syncToUrl")> & ShallowUnwrapRef<{
|
|
1952
1954
|
setFieldsValue: (fields: Partial<any>) => void;
|
|
1953
1955
|
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean, optimizeFn?: UpdateModelOptimizeFn) => void;
|
|
1954
1956
|
resetFields: () => Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Button as V, Flex as te, Space as le, Modal as
|
|
1
|
+
import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, createElementBlock as W, openBlock as g, Fragment as H, createBlock as P, createCommentVNode as J, withCtx as h, createElementVNode as Q, normalizeClass as X, normalizeStyle as Y, renderSlot as w, resolveDynamicComponent as N, createTextVNode as Z, toDisplayString as ee } from "vue";
|
|
2
|
+
import { Button as V, Flex as te, Space as le, Modal as ae } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
5
|
-
import { getSingleVNode as
|
|
5
|
+
import { getSingleVNode as oe } from "../../utils/slot.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
7
|
import { omit as se } from "lodash-unified";
|
|
8
8
|
import { useControllableValue as ne } from "../../hooks/useControllableValue.mjs";
|
|
@@ -10,10 +10,11 @@ import { useLocale as ie } from "../../config-provider/hooks/use-locale.mjs";
|
|
|
10
10
|
import { useGlobalConfig as re } from "../../config-provider/hooks/use-global-config.mjs";
|
|
11
11
|
import { useNamespace as ue } from "../../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
import de from "../ap-form.vue2.mjs";
|
|
13
|
-
function S(
|
|
14
|
-
return typeof
|
|
13
|
+
function S(m) {
|
|
14
|
+
return typeof m == "function" || Object.prototype.toString.call(m) === "[object Object]" && !A(m);
|
|
15
15
|
}
|
|
16
|
-
const
|
|
16
|
+
const Re = /* @__PURE__ */ D({
|
|
17
|
+
name: "ApFormModalForm",
|
|
17
18
|
__name: "index",
|
|
18
19
|
props: {
|
|
19
20
|
layout: {
|
|
@@ -90,48 +91,48 @@ const Me = /* @__PURE__ */ L({
|
|
|
90
91
|
submitTimeout: {}
|
|
91
92
|
},
|
|
92
93
|
emits: ["update:open"],
|
|
93
|
-
setup(
|
|
94
|
+
setup(m, {
|
|
94
95
|
expose: x,
|
|
95
|
-
emit:
|
|
96
|
+
emit: M
|
|
96
97
|
}) {
|
|
97
|
-
const
|
|
98
|
-
value:
|
|
98
|
+
const a = m, v = L(), R = M, o = p(), T = p(0), c = p(), i = p(!1), {
|
|
99
|
+
value: _,
|
|
99
100
|
updateValue: f
|
|
100
|
-
} = ne(
|
|
101
|
+
} = ne(a, R, {
|
|
101
102
|
valuePropName: "open",
|
|
102
103
|
defaultValue: !1,
|
|
103
104
|
beforeUpdateValue(e) {
|
|
104
|
-
return e && (
|
|
105
|
+
return e && (T.value += 1), !0;
|
|
105
106
|
}
|
|
106
107
|
}), {
|
|
107
|
-
t:
|
|
108
|
+
t: y
|
|
108
109
|
} = ie(), U = re("uiMode", "aplus"), {
|
|
109
110
|
b: j,
|
|
110
|
-
e:
|
|
111
|
+
e: F
|
|
111
112
|
} = ue("ap-form-modal-form");
|
|
112
|
-
G(() =>
|
|
113
|
+
G(() => o.value, (e) => {
|
|
113
114
|
var t;
|
|
114
|
-
e &&
|
|
115
|
+
e && c.value && ((t = e.setFieldsValue) == null || t.call(e, c.value), c.value = void 0);
|
|
115
116
|
});
|
|
116
|
-
const
|
|
117
|
+
const C = oe(v.trigger), B = C ? I(C, {
|
|
117
118
|
onClick: () => {
|
|
118
119
|
f(!0);
|
|
119
120
|
}
|
|
120
121
|
}) : null, O = K(() => {
|
|
121
122
|
var t, l, r, d;
|
|
122
123
|
const e = [];
|
|
123
|
-
if (
|
|
124
|
+
if (a.submitter === !1)
|
|
124
125
|
return null;
|
|
125
|
-
if (
|
|
126
|
+
if (a.showCancel) {
|
|
126
127
|
let n;
|
|
127
128
|
e.push(u(V, {
|
|
128
129
|
onClick: k,
|
|
129
130
|
disabled: i.value
|
|
130
|
-
}, S(n =
|
|
131
|
+
}, S(n = y("ap.common.cancelText")) ? n : {
|
|
131
132
|
default: () => [n]
|
|
132
133
|
}));
|
|
133
134
|
}
|
|
134
|
-
return ((t =
|
|
135
|
+
return ((t = a.submitter) == null ? void 0 : t.resetButtonProps) !== !1 && e.push(u(V, b(((l = a.submitter) == null ? void 0 : l.resetButtonProps) || {}, {
|
|
135
136
|
key: "reset",
|
|
136
137
|
disabled: i.value,
|
|
137
138
|
onClick: z,
|
|
@@ -139,41 +140,41 @@ const Me = /* @__PURE__ */ L({
|
|
|
139
140
|
}), {
|
|
140
141
|
default: () => {
|
|
141
142
|
var n;
|
|
142
|
-
return [((n =
|
|
143
|
+
return [((n = a.submitter) == null ? void 0 : n.resetText) || y("ap.common.resetText")];
|
|
143
144
|
}
|
|
144
|
-
})), ((r =
|
|
145
|
+
})), ((r = a.submitter) == null ? void 0 : r.submitButtonProps) !== !1 && e.push(u(V, b({
|
|
145
146
|
type: "primary",
|
|
146
147
|
key: "submit",
|
|
147
148
|
htmlType: "submit"
|
|
148
|
-
}, ((d =
|
|
149
|
+
}, ((d = a.submitter) == null ? void 0 : d.submitButtonProps) || {}, {
|
|
149
150
|
loading: i.value
|
|
150
151
|
}), {
|
|
151
152
|
default: () => {
|
|
152
153
|
var n;
|
|
153
|
-
return [((n =
|
|
154
|
+
return [((n = a.submitter) == null ? void 0 : n.submitText) || y("ap.common.okText")];
|
|
154
155
|
}
|
|
155
156
|
})), u(te, {
|
|
156
157
|
justify: "flex-end",
|
|
157
|
-
key: s(
|
|
158
|
-
class: [
|
|
158
|
+
key: s(T),
|
|
159
|
+
class: [F("footer"), s(U) === "admin" ? F("footer-admin") : null]
|
|
159
160
|
}, {
|
|
160
|
-
default: () => [
|
|
161
|
+
default: () => [v.submitter ? v.submitter(e) : u(le, null, S(e) ? e : {
|
|
161
162
|
default: () => [e]
|
|
162
163
|
})]
|
|
163
164
|
});
|
|
164
165
|
});
|
|
165
166
|
function z() {
|
|
166
167
|
var e, t, l;
|
|
167
|
-
|
|
168
|
+
a.submitter !== !1 && ((e = o.value) == null || e.resetFields(), (l = (t = a.submitter) == null ? void 0 : t.onReset) == null || l.call(t));
|
|
168
169
|
}
|
|
169
170
|
async function E(e) {
|
|
170
171
|
var t, l, r;
|
|
171
|
-
if (
|
|
172
|
+
if (a.submitter !== !1)
|
|
172
173
|
try {
|
|
173
|
-
(l = (t =
|
|
174
|
-
const d = (r =
|
|
175
|
-
if (
|
|
176
|
-
const q = setTimeout(() => i.value = !1,
|
|
174
|
+
(l = (t = a.submitter) == null ? void 0 : t.onSubmit) == null || l.call(t), i.value = !0;
|
|
175
|
+
const d = (r = a.onFinish) == null ? void 0 : r.call(a, e);
|
|
176
|
+
if (a.submitTimeout && d instanceof Promise) {
|
|
177
|
+
const q = setTimeout(() => i.value = !1, a.submitTimeout);
|
|
177
178
|
d.finally(() => {
|
|
178
179
|
clearTimeout(q), i.value = !1;
|
|
179
180
|
});
|
|
@@ -190,48 +191,56 @@ const Me = /* @__PURE__ */ L({
|
|
|
190
191
|
!e && s(i) || f(e);
|
|
191
192
|
}
|
|
192
193
|
return x({
|
|
193
|
-
resetFields: () => {
|
|
194
|
+
resetFields: async () => {
|
|
194
195
|
var e;
|
|
195
|
-
(e =
|
|
196
|
+
(e = o.value) == null || e.resetFields();
|
|
196
197
|
},
|
|
197
198
|
clearValidate: (e) => {
|
|
198
199
|
var t;
|
|
199
|
-
(t =
|
|
200
|
+
(t = o.value) == null || t.clearValidate(e);
|
|
200
201
|
},
|
|
201
202
|
validateFields: (e, t) => {
|
|
202
203
|
var l;
|
|
203
|
-
return (l =
|
|
204
|
+
return (l = o.value) == null ? void 0 : l.validateFields(e, t);
|
|
204
205
|
},
|
|
205
206
|
getFieldsValue: (e) => {
|
|
206
207
|
var t;
|
|
207
|
-
return (t =
|
|
208
|
+
return (t = o.value) == null ? void 0 : t.getFieldsValue(e);
|
|
208
209
|
},
|
|
209
210
|
validate: (e, t) => {
|
|
210
211
|
var l;
|
|
211
|
-
return (l =
|
|
212
|
+
return (l = o.value) == null ? void 0 : l.validate(e, t);
|
|
212
213
|
},
|
|
213
214
|
scrollToField: (e, t = {}) => {
|
|
214
215
|
var l;
|
|
215
|
-
(l =
|
|
216
|
+
(l = o.value) == null || l.scrollToField(e, t);
|
|
216
217
|
},
|
|
217
218
|
setFieldValue: (e, t) => {
|
|
218
219
|
var l, r;
|
|
219
|
-
(r = (l =
|
|
220
|
+
(r = (l = o.value) == null ? void 0 : l.setFieldValue) == null || r.call(l, e, t);
|
|
220
221
|
},
|
|
221
222
|
setFieldsValue: (e) => {
|
|
222
223
|
var t, l;
|
|
223
|
-
if (!
|
|
224
|
-
|
|
224
|
+
if (!o.value) {
|
|
225
|
+
c.value = e;
|
|
225
226
|
return;
|
|
226
227
|
}
|
|
227
|
-
(l = (t =
|
|
228
|
+
(l = (t = o.value) == null ? void 0 : t.setFieldsValue) == null || l.call(t, e);
|
|
228
229
|
},
|
|
229
230
|
getInternalInstance: (e) => {
|
|
230
231
|
var t;
|
|
231
|
-
return (t =
|
|
232
|
+
return (t = o.value) == null ? void 0 : t.getInternalInstance(e);
|
|
233
|
+
},
|
|
234
|
+
getFieldsValueTransformed(e) {
|
|
235
|
+
var t;
|
|
236
|
+
return (t = o.value) == null ? void 0 : t.getFieldsValueTransformed(e);
|
|
237
|
+
},
|
|
238
|
+
validateFieldsReturnTransformed(e, t) {
|
|
239
|
+
var l;
|
|
240
|
+
return (l = o.value) == null ? void 0 : l.validateFieldsReturnTransformed(e, t);
|
|
232
241
|
}
|
|
233
|
-
}), (e, t) => (g(), W(H, null, [u(s(
|
|
234
|
-
open: s(
|
|
242
|
+
}), (e, t) => (g(), W(H, null, [u(s(ae), b(e.modalProps, {
|
|
243
|
+
open: s(_),
|
|
235
244
|
footer: null,
|
|
236
245
|
width: e.width,
|
|
237
246
|
class: s(j)(),
|
|
@@ -241,18 +250,18 @@ const Me = /* @__PURE__ */ L({
|
|
|
241
250
|
"onUpdate:open": $,
|
|
242
251
|
onCancel: k
|
|
243
252
|
}), {
|
|
244
|
-
title:
|
|
245
|
-
default:
|
|
253
|
+
title: h(() => [w(e.$slots, "title", {}, () => [Z(ee(a.title), 1)])]),
|
|
254
|
+
default: h(() => [u(de, b({
|
|
246
255
|
ref_key: "formRef",
|
|
247
|
-
ref:
|
|
248
|
-
}, s(se)(
|
|
256
|
+
ref: o
|
|
257
|
+
}, s(se)(a, ["modalProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"]), {
|
|
249
258
|
onFinish: E
|
|
250
259
|
}), {
|
|
251
|
-
default:
|
|
260
|
+
default: h(() => {
|
|
252
261
|
var l;
|
|
253
262
|
return [Q("div", {
|
|
254
263
|
style: Y((l = e.modalProps) == null ? void 0 : l.bodyStyle),
|
|
255
|
-
class: X(s(
|
|
264
|
+
class: X(s(F)("content"))
|
|
256
265
|
}, [w(e.$slots, "default")], 6), (g(), P(N(O.value)))];
|
|
257
266
|
}),
|
|
258
267
|
_: 3
|
|
@@ -264,5 +273,5 @@ const Me = /* @__PURE__ */ L({
|
|
|
264
273
|
}
|
|
265
274
|
});
|
|
266
275
|
export {
|
|
267
|
-
|
|
276
|
+
Re as default
|
|
268
277
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as s, ref as g, renderSlot as
|
|
2
|
-
import { useInjectFormProvider as
|
|
1
|
+
import { defineComponent as s, ref as g, renderSlot as m } from "vue";
|
|
2
|
+
import { useInjectFormProvider as t, useProvideFormProvider as u } from "./context.mjs";
|
|
3
3
|
const h = /* @__PURE__ */ s({
|
|
4
|
+
name: "ApFormProvider",
|
|
4
5
|
__name: "index",
|
|
5
6
|
props: {
|
|
6
7
|
onFormChange: { type: Function },
|
|
7
8
|
onFormFinish: { type: Function }
|
|
8
9
|
},
|
|
9
10
|
setup(F) {
|
|
10
|
-
const o = F, n = g({}), e =
|
|
11
|
-
return
|
|
11
|
+
const o = F, n = g({}), e = t();
|
|
12
|
+
return u({
|
|
12
13
|
triggerFormChange(r, i) {
|
|
13
14
|
o != null && o.onFormChange && o.onFormChange(r, {
|
|
14
15
|
changedFields: i,
|
|
@@ -31,7 +32,7 @@ const h = /* @__PURE__ */ s({
|
|
|
31
32
|
const i = { ...n.value };
|
|
32
33
|
delete i[r], n.value = i, e == null || e.unregisterForm(r);
|
|
33
34
|
}
|
|
34
|
-
}), (r, i) =>
|
|
35
|
+
}), (r, i) => m(r.$slots, "default");
|
|
35
36
|
}
|
|
36
37
|
});
|
|
37
38
|
export {
|
|
@@ -1,4 +1,133 @@
|
|
|
1
1
|
import { ApFormSearchFormPopoverFilterProps } from '../../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
|
+
import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
4
|
+
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
5
|
+
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
6
|
+
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
|
+
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
8
|
+
declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormSearchFormPopoverFilterProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
9
|
+
triggerBtnRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
10
|
+
prefixCls: StringConstructor;
|
|
11
|
+
type: PropType<ButtonType>;
|
|
12
|
+
htmlType: {
|
|
13
|
+
type: PropType<ButtonHTMLType>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
shape: {
|
|
17
|
+
type: PropType<ButtonShape>;
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
type: PropType<ButtonSize>;
|
|
21
|
+
};
|
|
22
|
+
loading: {
|
|
23
|
+
type: PropType<boolean | {
|
|
24
|
+
delay?: number;
|
|
25
|
+
}>;
|
|
26
|
+
default: () => boolean | {
|
|
27
|
+
delay?: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
ghost: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: any;
|
|
37
|
+
};
|
|
38
|
+
block: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
danger: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: any;
|
|
45
|
+
};
|
|
46
|
+
icon: VueTypeValidableDef<any>;
|
|
47
|
+
href: StringConstructor;
|
|
48
|
+
target: StringConstructor;
|
|
49
|
+
title: StringConstructor;
|
|
50
|
+
onClick: {
|
|
51
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
52
|
+
};
|
|
53
|
+
onMousedown: {
|
|
54
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
55
|
+
};
|
|
56
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
57
|
+
block: boolean;
|
|
58
|
+
disabled: boolean;
|
|
59
|
+
danger: boolean;
|
|
60
|
+
ghost: boolean;
|
|
61
|
+
htmlType: ButtonHTMLType;
|
|
62
|
+
loading: boolean | {
|
|
63
|
+
delay?: number;
|
|
64
|
+
};
|
|
65
|
+
}, true, {}, CustomSlotsType<{
|
|
66
|
+
icon: any;
|
|
67
|
+
default: any;
|
|
68
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
69
|
+
P: {};
|
|
70
|
+
B: {};
|
|
71
|
+
D: {};
|
|
72
|
+
C: {};
|
|
73
|
+
M: {};
|
|
74
|
+
Defaults: {};
|
|
75
|
+
}, Readonly< ExtractPropTypes<{
|
|
76
|
+
prefixCls: StringConstructor;
|
|
77
|
+
type: PropType<ButtonType>;
|
|
78
|
+
htmlType: {
|
|
79
|
+
type: PropType<ButtonHTMLType>;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
shape: {
|
|
83
|
+
type: PropType<ButtonShape>;
|
|
84
|
+
};
|
|
85
|
+
size: {
|
|
86
|
+
type: PropType<ButtonSize>;
|
|
87
|
+
};
|
|
88
|
+
loading: {
|
|
89
|
+
type: PropType<boolean | {
|
|
90
|
+
delay?: number;
|
|
91
|
+
}>;
|
|
92
|
+
default: () => boolean | {
|
|
93
|
+
delay?: number;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
disabled: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: any;
|
|
99
|
+
};
|
|
100
|
+
ghost: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: any;
|
|
103
|
+
};
|
|
104
|
+
block: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: any;
|
|
107
|
+
};
|
|
108
|
+
danger: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: any;
|
|
111
|
+
};
|
|
112
|
+
icon: VueTypeValidableDef<any>;
|
|
113
|
+
href: StringConstructor;
|
|
114
|
+
target: StringConstructor;
|
|
115
|
+
title: StringConstructor;
|
|
116
|
+
onClick: {
|
|
117
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
118
|
+
};
|
|
119
|
+
onMousedown: {
|
|
120
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
121
|
+
};
|
|
122
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
123
|
+
block: boolean;
|
|
124
|
+
disabled: boolean;
|
|
125
|
+
danger: boolean;
|
|
126
|
+
ghost: boolean;
|
|
127
|
+
htmlType: ButtonHTMLType;
|
|
128
|
+
loading: boolean | {
|
|
129
|
+
delay?: number;
|
|
130
|
+
};
|
|
131
|
+
}> | null;
|
|
132
|
+
}, any>;
|
|
4
133
|
export default _default;
|