cnhis-design-vue 3.1.31-beta.1 → 3.1.31-beta.11
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/README.md +123 -123
- package/es/components/big-table/index.js +1 -1
- package/es/components/big-table/src/{BigTable.js → BigTable.vue.js} +1 -1
- package/es/components/big-table/src/{BigTable.vue_vue_type_script_setup_true_lang.js → BigTable.vue2.js} +6 -6
- package/es/components/{scale-view/src/components/NoData.js → big-table/src/components/NoData.vue.js} +4 -4
- package/es/components/big-table/src/components/edit-form/{edit-separate.js → edit-separate.vue.js} +1 -1
- package/es/components/big-table/src/components/{input-button.js → input-button.vue.js} +0 -0
- package/es/components/big-table/src/components/{separate.js → separate.vue.js} +0 -0
- package/es/components/big-table/src/hooks/useEdit.js +1 -1
- package/es/components/big-table/src/utils.js +1 -1
- package/es/components/bpmn-workflow/index.js +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/src/{BpmnWorkflow.js → BpmnWorkflow.vue.js} +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/index.d.ts +65 -45
- package/es/components/button-print/index.js +1 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +65 -45
- package/es/components/button-print/src/{ButtonPrint.js → ButtonPrint.vue.js} +1 -1
- package/es/components/button-print/src/{ButtonPrint.vue_vue_type_script_setup_true_lang.js → ButtonPrint.vue2.js} +1 -1
- package/es/components/button-print/src/components/{edit.vue.d.ts → EditFormat.vue.d.ts} +66 -46
- package/es/components/button-print/src/components/EditFormat.vue.js +173 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +65 -45
- package/es/components/button-print/src/components/{IdentityVerification.js → IdentityVerification.vue.js} +9 -6
- package/es/components/button-print/src/components/Preview.vue.d.ts +41 -0
- package/es/components/button-print/src/components/Preview.vue.js +6 -0
- package/es/components/button-print/src/components/Preview.vue2.js +67 -0
- package/es/components/button-print/src/utils/browserPrint.d.ts +1 -1
- package/es/components/button-print/src/utils/browserPrint.js +1 -2
- package/es/components/button-print/src/utils/dialog.d.ts +5 -1
- package/es/components/button-print/src/utils/dialog.js +65 -23
- package/es/components/button-print/src/utils/print.d.ts +4 -1
- package/es/components/button-print/src/utils/print.js +13 -3
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/drag-layout/index.js +1 -1
- package/es/components/drag-layout/src/{DragFormLeftItem.js → DragFormLeftItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragFormRightItem.js → DragFormRightItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragLayout.js → DragLayout.vue.js} +2 -2
- package/es/components/fabric-chart/index.js +1 -1
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +4 -4
- package/es/components/fabric-chart/src/{FabricChart.js → FabricChart.vue.js} +1 -1
- package/es/components/fabric-chart/src/components/{PopupTip.js → PopupTip.vue.js} +0 -0
- package/es/components/fabric-chart/src/hooks/useCenter.js +5 -6
- package/es/components/fabric-chart/src/hooks/useGrid.js +3 -3
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/fabric-chart/src/utils/index.js +0 -1
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/{FieldSet.js → FieldSet.vue.js} +0 -0
- package/es/components/form-config/index.js +1 -1
- package/es/components/form-config/src/{FormConfig.js → FormConfig.vue.js} +3 -3
- package/es/components/form-config/src/components/{FormConfigCreator.js → FormConfigCreator.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigDragDisplay.js → FormConfigDragDisplay.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigEdit.js → FormConfigEdit.vue.js} +0 -0
- package/es/components/form-config/src/components/index.js +6 -6
- package/es/components/form-config/src/components/renderer/{CloseButton.js → CloseButton.vue.js} +0 -0
- package/es/components/form-config/src/components/renderer/{ComplexNode.js → ComplexNode.vue.js} +2 -2
- package/es/components/form-config/src/components/renderer/{DefaultNode.js → DefaultNode.vue.js} +1 -1
- package/es/components/form-config/src/components/renderer/index.js +3 -3
- package/es/components/form-config/src/hooks/usePresetRenderer.js +2 -2
- package/es/components/form-render/index.js +2 -2
- package/es/components/form-render/src/{FormRender.js → FormRender.vue.js} +0 -0
- package/es/components/form-render/src/{FormRenderWrapper.js → FormRenderWrapper.vue.js} +1 -1
- package/es/components/form-render/src/components/renderer/checkbox.js +3 -5
- package/es/components/form-render/src/components/renderer/index.js +2 -0
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/{FormCollapse.js → FormCollapse.vue.js} +0 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.js +1 -1
- package/es/components/form-render/src/components/renderer/recommendSelect.d.ts +131 -0
- package/es/components/form-render/src/components/renderer/recommendSelect.js +213 -0
- package/es/components/form-render/src/components/renderer/remoteSearch.js +0 -1
- package/es/components/form-render/src/components/renderer/select.js +3 -5
- package/es/components/form-render/src/hooks/useAsyncQueue.js +2 -1
- package/es/components/form-render/src/hooks/useAutographOptions.js +5 -7
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +7 -0
- package/es/components/form-render/src/hooks/useFormRequest.d.ts +8 -1
- package/es/components/form-render/src/hooks/useFormRequest.js +24 -1
- package/es/components/form-render/src/utils/index.d.ts +2 -2
- package/es/components/form-render/src/utils/index.js +27 -3
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +124 -66
- package/es/components/iho-table/index.js +1 -2
- package/es/components/iho-table/src/IhoTable.vue.d.ts +124 -66
- package/es/components/iho-table/src/{IhoTable.js → IhoTable.vue.js} +2 -1
- package/es/components/iho-table/src/components/IhoTableColumn.js +14 -11
- package/es/components/iho-table/src/constants/index.d.ts +5 -3
- package/es/components/iho-table/src/constants/index.js +5 -3
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +64 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.js +17 -9
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +60 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +5 -3
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +3 -2
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterPlugin/{filter.js → filter.vue.js} +1 -0
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +14 -12
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +32 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/{editDate.js → editDate.vue.js} +0 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +10 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +11 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +17 -24
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +11 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{editSeparate.js → editSeparate.vue.js} +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +9 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +13 -17
- package/es/components/iho-table/src/types/index.d.ts +6 -6
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -1
- package/es/components/iho-table/src/utils/index.d.ts +12 -2
- package/es/components/iho-table/src/utils/index.js +33 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +5 -2
- package/es/components/info-header/index.js +1 -1
- package/es/components/info-header/src/{HiddenContent.js → HiddenContent.vue.js} +1 -1
- package/es/components/info-header/src/{InfoEllipsis.js → InfoEllipsis.vue.js} +0 -0
- package/es/components/info-header/src/{InfoHeader.js → InfoHeader.vue.js} +2 -2
- package/es/components/keyboard/index.d.ts +146 -78
- package/es/components/keyboard/index.js +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +155 -78
- package/es/components/keyboard/src/Keyboard.vue.js +149 -0
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +6 -4
- package/es/components/keyboard/src/components/{InputNumber.js → InputNumber.vue.js} +0 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +118 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.js +206 -0
- package/es/components/map/index.js +1 -1
- package/es/components/map/src/{Map.js → Map.vue.js} +0 -0
- package/es/components/recommend-search/index.d.ts +813 -0
- package/es/components/recommend-search/index.js +10 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +815 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.js +62 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +119 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.js +148 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +303 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.js +103 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +63 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.js +104 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +350 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.js +156 -0
- package/es/components/recommend-search/src/constant/index.d.ts +4 -0
- package/es/components/recommend-search/src/constant/index.js +7 -0
- package/es/components/recommend-search/src/types/index.d.ts +9 -0
- package/es/components/recommend-search/src/types/index.js +1 -0
- package/es/components/recommend-search/style/index.css +1 -0
- package/es/components/scale-view/index.js +1 -1
- package/es/components/scale-view/src/{ScaleView.js → ScaleView.vue.js} +5 -5
- package/es/components/scale-view/src/components/{AnswerParse.js → AnswerParse.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluateCountdown.js → EvaluateCountdown.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluatePage.js → EvaluatePage.vue.js} +0 -0
- package/es/components/scale-view/src/components/{LoadingCom.js → LoadingCom.vue.js} +0 -0
- package/es/components/{big-table/src/components/NoData.js → scale-view/src/components/NoData.vue.js} +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.js +1 -1
- package/es/components/search-cascader/index.js +1 -1
- package/es/components/search-cascader/src/{SearchCascader.js → SearchCascader.vue.js} +0 -0
- package/es/components/search-cascader/src/components/SearchMenu.js +3 -3
- package/es/components/select-label/index.js +2 -2
- package/es/components/select-label/src/{LabelFormContent.js → LabelFormContent.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.js → SelectLabel.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.vue_vue_type_script_setup_true_lang.js → SelectLabel.vue2.js} +2 -2
- package/es/components/select-label/src/components/{label-classify.js → label-classify.vue.js} +0 -0
- package/es/components/select-person/index.js +1 -1
- package/es/components/select-person/src/{SelectPerson.js → SelectPerson.vue.js} +1 -1
- package/es/components/select-person/src/{SelectPerson.vue_vue_type_script_setup_true_lang.js → SelectPerson.vue2.js} +0 -0
- package/es/components/shortcut-provider/index.js +1 -1
- package/es/components/shortcut-provider/src/{ShortcutProvider.js → ShortcutProvider.vue.js} +0 -0
- package/es/components/shortcut-setter/index.js +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetter.js → ShortcutSetter.vue.js} +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetterItem.js → ShortcutSetterItem.vue.js} +0 -0
- package/es/components/steps-wheel/index.d.ts +3 -0
- package/es/components/steps-wheel/index.js +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +3 -0
- package/es/components/steps-wheel/src/{StepsWheel.js → StepsWheel.vue.js} +38 -9
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/time-line/index.js +1 -1
- package/es/components/time-line/src/{TimeLine.js → TimeLine.vue.js} +0 -0
- package/es/components/vod-chunk-upload/index.js +1 -1
- package/es/components/vod-chunk-upload/src/{chunk-upload-new.js → chunk-upload-new.vue.js} +0 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/{vod-chunk-upload.js → vod-chunk-upload.vue.js} +3 -3
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
- package/es/shared/assets/img/failure.js +1 -3
- package/es/shared/assets/img/failure.png.js +3 -0
- package/es/shared/assets/img/icon-asc.js +1 -1
- package/es/shared/assets/img/icon-desc.js +1 -1
- package/es/shared/assets/img/no-permission.js +1 -3
- package/es/shared/assets/img/no-permission.png.js +3 -0
- package/es/shared/assets/img/nodata.js +1 -3
- package/es/shared/assets/img/nodata.png.js +3 -0
- package/es/shared/assets/img/notfound.js +1 -3
- package/es/shared/assets/img/notfound.png.js +3 -0
- package/es/shared/assets/img/qr.js +1 -3
- package/es/shared/assets/img/qr.png.js +3 -0
- package/es/shared/assets/img/success.js +1 -3
- package/es/shared/assets/img/success.png.js +3 -0
- package/es/shared/assets/img/video.js +1 -3
- package/es/shared/assets/img/video.png.js +3 -0
- package/es/shared/assets/img/video_default_cover.js +1 -3
- package/es/shared/assets/img/video_default_cover.png.js +3 -0
- package/es/shared/assets/img/video_hover.js +1 -1
- package/es/shared/assets/img/video_play_hover.js +1 -1
- package/es/shared/assets/img/xb_big.js +1 -3
- package/es/shared/assets/img/xb_big.png.js +3 -0
- package/es/shared/assets/img/xb_small.js +1 -3
- package/es/shared/assets/img/xb_small.png.js +3 -0
- package/es/shared/components/SelectPage/{SelectPage.js → SelectPage.vue.js} +0 -0
- package/es/shared/components/SelectPage/index.js +2 -2
- package/es/shared/components/SvgIcon/{SvgIcon.js → SvgIcon.vue.js} +0 -0
- package/es/shared/components/SvgIcon/index.js +2 -2
- package/es/shared/components/TextOverTooltip/{TextOverTooltip.js → TextOverTooltip.vue.js} +0 -0
- package/es/shared/components/TextOverTooltip/index.js +2 -2
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/components/no-data/{NoData.js → NoData.vue.js} +4 -4
- package/es/shared/components/no-data/index.js +2 -2
- package/es/shared/utils/index.d.ts +1 -1
- package/es/shared/utils/index.js +3 -3
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/button-print/src/components/edit.js +0 -152
- package/es/components/keyboard/src/Keyboard.js +0 -285
|
@@ -4,187 +4,246 @@ import { AbstractEventHooks, IhoTableEmitPayload, IhoTableEventNameUnion } from
|
|
|
4
4
|
declare class EventHooks extends AbstractEventHooks {
|
|
5
5
|
readonly onKeydownStart: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.KeydownStartEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
6
6
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
7
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
7
8
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
8
9
|
readonly onKeydown: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.KeydownEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
9
10
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
11
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
10
12
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
11
13
|
readonly onKeydownEnd: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.KeydownEndEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
12
14
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
15
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
13
16
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
14
17
|
readonly onPaste: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.PasteEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
15
18
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
19
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
16
20
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
17
21
|
readonly onCopy: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CopyEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
18
22
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
23
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
19
24
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
20
25
|
readonly onCut: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CutEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
21
26
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
27
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
22
28
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
23
29
|
readonly onCurrentChange: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CurrentChangeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
24
30
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
31
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
25
32
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
26
33
|
readonly onRadioChange: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.RadioChangeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
27
34
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
35
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
28
36
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
29
37
|
readonly onCheckboxChange: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CheckboxChangeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
30
38
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
39
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
31
40
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
32
41
|
readonly onCheckboxAll: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CheckboxAllEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
33
42
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
43
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
34
44
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
35
45
|
readonly onCheckboxRangeStart: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CheckboxRangeStartEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
36
46
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
47
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
37
48
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
38
49
|
readonly onCheckboxRangeChange: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CheckboxRangeChangeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
39
50
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
51
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
40
52
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
41
53
|
readonly onCheckboxRangeEnd: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CheckboxRangeEndEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
42
54
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
55
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
43
56
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
44
57
|
readonly onCellClick: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CellClickEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
45
58
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
59
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
46
60
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
47
61
|
readonly onCellDblclick: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CellDblclickEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
48
62
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
63
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
49
64
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
50
65
|
readonly onCellMenu: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CellMenuEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
51
66
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
67
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
52
68
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
53
69
|
readonly onCellMouseenter: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CellMouseenterEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
54
70
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
71
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
55
72
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
56
73
|
readonly onCellMouseleave: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CellMouseleaveEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
57
74
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
75
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
58
76
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
59
77
|
readonly onHeaderCellClick: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.HeaderCellClickEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
60
78
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
79
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
61
80
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
62
81
|
readonly onHeaderCellDblclick: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.HeaderCellDblclickEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
63
82
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
83
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
64
84
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
65
85
|
readonly onHeaderCellMenu: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.HeaderCellMenuEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
66
86
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
87
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
67
88
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
68
89
|
readonly onFooterCellClick: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.FooterCellClickEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
69
90
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
91
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
70
92
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
71
93
|
readonly onFooterCellDblclick: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.FooterCellDblclickEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
72
94
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
95
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
73
96
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
74
97
|
readonly onFooterCellMenu: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.FooterCellMenuEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
75
98
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
99
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
76
100
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
77
101
|
readonly onSortChange: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.SortChangeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
78
102
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
103
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
79
104
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
80
105
|
readonly onFilterChange: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.FilterChangeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
81
106
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
107
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
82
108
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
83
109
|
readonly onFilterVisible: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.FilterVisibleEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
84
110
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
111
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
85
112
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
86
113
|
readonly onResizableChange: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.ResizableChangeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
87
114
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
115
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
88
116
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
89
117
|
readonly onToggleRowExpand: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.ToggleRowExpandEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
90
118
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
119
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
91
120
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
92
121
|
readonly onToggleTreeExpand: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.ToggleTreeExpandEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
93
122
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
123
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
94
124
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
95
125
|
readonly onMenuClick: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.MenuClickEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
96
126
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
127
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
97
128
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
98
129
|
readonly onEditClosed: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.EditClosedEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
99
130
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
131
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
100
132
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
101
133
|
readonly onEditActived: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.EditActivedEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
102
134
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
135
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
103
136
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
104
137
|
readonly onEditDisabled: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.EditDisabledEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
105
138
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
139
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
106
140
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
107
141
|
readonly onValidError: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.ValidErrorEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
108
142
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
143
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
109
144
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
110
145
|
readonly onScroll: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.ScrollEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
111
146
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
147
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
112
148
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
113
149
|
readonly onCustom: AsyncParallelHook<[import("vxe-table/types/table").VxeTableDefines.CustomEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
114
150
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
151
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
115
152
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
116
153
|
readonly onOpenFnr: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.OpenFnrParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
117
154
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
155
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
118
156
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
119
157
|
readonly onFnrChange: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.FnrChangeParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
120
158
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
159
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
121
160
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
122
161
|
readonly onFnrFind: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.FnrFindParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
123
162
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
163
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
124
164
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
125
165
|
readonly onFnrFindAll: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.FnrFindAllParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
126
166
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
167
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
127
168
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
128
169
|
readonly onFnrReplace: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.FnrReplaceParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
129
170
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
171
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
130
172
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
131
173
|
readonly onFnrReplaceAll: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.FnrReplaceAllParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
132
174
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
175
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
133
176
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
134
177
|
readonly onCellAreaCopy: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaCopyParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
135
178
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
179
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
136
180
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
137
181
|
readonly onCellAreaCut: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaCutParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
138
182
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
183
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
139
184
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
140
185
|
readonly onCellAreaPaste: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaPasteParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
141
186
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
187
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
142
188
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
143
189
|
readonly onCellAreaMerge: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaMergeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
144
190
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
191
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
145
192
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
146
193
|
readonly onClearCellAreaMerge: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.ClearCellAreaMergeEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
147
194
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
195
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
148
196
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
149
197
|
readonly onHeaderCellAreaSelection: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.HeaderCellAreaSelectionEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
150
198
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
199
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
151
200
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
152
201
|
readonly onCellAreaSelectionStart: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaSelectionStartEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
153
202
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
203
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
154
204
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
155
205
|
readonly onCellAreaSelectionDrag: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaSelectionDragEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
156
206
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
207
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
157
208
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
158
209
|
readonly onCellAreaSelectionEnd: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaSelectionEndEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
159
210
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
211
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
160
212
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
161
213
|
readonly onCellAreaExtensionStart: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaExtensionStartEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
162
214
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
215
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
163
216
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
164
217
|
readonly onCellAreaExtensionDrag: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaExtensionDragEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
165
218
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
219
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
166
220
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
167
221
|
readonly onCellAreaExtensionEnd: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaExtensionEndEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
168
222
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
223
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
169
224
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
170
225
|
readonly onCellAreaArrowsStart: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaArrowsStartEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
171
226
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
227
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
172
228
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
173
229
|
readonly onCellAreaArrowsEnd: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.CellAreaArrowsEndEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
174
230
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
231
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
175
232
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
176
233
|
readonly onActiveCellChangeStart: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.ActiveCellChangeStartEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
177
234
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
235
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
178
236
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
179
237
|
readonly onActiveCellChangeEnd: AsyncParallelHook<[import("vxe-table").VxeTableProDefines.ActiveCellChangeEndEventParams, import("../../../../../../es/components/iho-table/src/types").IhoTableHandler & {
|
|
180
238
|
$table: import("../../../../../../es/shared/types").Nullable<import("vxe-table/types/table").VxeTableInstance>;
|
|
239
|
+
emits: import("../../../../../../es/components/iho-table/src/types").IhoTableEmits;
|
|
181
240
|
}, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
182
241
|
}
|
|
183
242
|
export declare function useEventHooks(): {
|
|
184
243
|
create: () => EventHooks;
|
|
185
244
|
};
|
|
186
245
|
export declare class IhoTableEventListener {
|
|
187
|
-
eventMap: Map<"toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "
|
|
246
|
+
eventMap: Map<"toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "sortChange" | "keyboard" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd", Set<Func<any[], any>>>;
|
|
188
247
|
addEventListener<T extends IhoTableEventNameUnion>(key: T, handler: (...payload: IhoTableEmitPayload<T>) => void): void;
|
|
189
248
|
trigger<T extends IhoTableEventNameUnion>(key: T, payload: IhoTableEmitPayload<T>): void;
|
|
190
249
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cloneDeep, isString, isFunction, isArray } from 'lodash-es';
|
|
1
|
+
import { cloneDeep, isString, isFunction, pick, isArray } from 'lodash-es';
|
|
2
2
|
import { isObject } from '@vue/shared';
|
|
3
3
|
|
|
4
4
|
const REMOVE_PROPERTY = Symbol("remove property");
|
|
@@ -16,8 +16,8 @@ function useColumnConfigAdaptor() {
|
|
|
16
16
|
["RIGHT", 2]
|
|
17
17
|
]);
|
|
18
18
|
const multipleValueMap = /* @__PURE__ */ new Map([
|
|
19
|
-
["0",
|
|
20
|
-
["1",
|
|
19
|
+
["0", true],
|
|
20
|
+
["1", false]
|
|
21
21
|
]);
|
|
22
22
|
const isEditValueMap = /* @__PURE__ */ new Map([
|
|
23
23
|
["0", 0],
|
|
@@ -113,6 +113,7 @@ function useColumnConfigAdaptor() {
|
|
|
113
113
|
["elementId", "columnName"],
|
|
114
114
|
["columnWidth", "colWidth"],
|
|
115
115
|
["fixedWayEnum", { property: "isFixed", valueMap: fixedWayEnumValueMap }],
|
|
116
|
+
["multi_select_value", { property: "multiple", valueMap: multipleValueMap }],
|
|
116
117
|
["setting", { fieldMap: settingMap, assign: true }]
|
|
117
118
|
]);
|
|
118
119
|
return fieldList2.map((fieldItem) => transfer(fieldItem, editRules, fieldMap));
|
|
@@ -138,6 +139,7 @@ function useColumnConfigAdaptor() {
|
|
|
138
139
|
}
|
|
139
140
|
}
|
|
140
141
|
});
|
|
142
|
+
result.componentProps = pick(result, ["options", "multiple", "isDateDisabled"]);
|
|
141
143
|
return result;
|
|
142
144
|
function valueTransfer(value, rule) {
|
|
143
145
|
var _a, _b;
|
|
@@ -2,7 +2,7 @@ export declare function useTableContext(): {
|
|
|
2
2
|
configRef: import("vue").Ref<import("../types").IhoTableConfig>;
|
|
3
3
|
fieldListRef: import("vue").Ref<import("../types").IhoTableFieldItem[]>;
|
|
4
4
|
tableHandler: import("../types").IhoTableHandler;
|
|
5
|
-
tableEmit:
|
|
5
|
+
tableEmit: import("../types").IhoTableEmits;
|
|
6
6
|
eventListener: import("./tapHooks/useEventHooks").IhoTableEventListener;
|
|
7
7
|
$table: import("vue").Ref<import("../../../../shared/types").UndefinedAble<import("vxe-table").VxeTableInstance>>;
|
|
8
8
|
uuid: string;
|
|
@@ -21,6 +21,7 @@ function isVisible(field) {
|
|
|
21
21
|
return field.visible || !Reflect.has(field, "visible");
|
|
22
22
|
}
|
|
23
23
|
const useAnchor = (anchorList, $table, fieldListRef) => {
|
|
24
|
+
const TIME = 800;
|
|
24
25
|
const currentAnchorList = ref([]);
|
|
25
26
|
const anchorValue = ref();
|
|
26
27
|
let setAnchorStatus = true;
|
|
@@ -55,7 +56,7 @@ const useAnchor = (anchorList, $table, fieldListRef) => {
|
|
|
55
56
|
await ((_b = $table.value) == null ? void 0 : _b.scrollTo((_a = anchorObj == null ? void 0 : anchorObj.left) != null ? _a : 0));
|
|
56
57
|
setTimeout(() => {
|
|
57
58
|
setAnchorStatus = true;
|
|
58
|
-
});
|
|
59
|
+
}, TIME + 100);
|
|
59
60
|
}
|
|
60
61
|
function setAnchorValue({ scrollLeft }) {
|
|
61
62
|
if (currentAnchorList.value.length && setAnchorStatus) {
|
|
@@ -65,7 +66,7 @@ const useAnchor = (anchorList, $table, fieldListRef) => {
|
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
|
-
const anchorEvent = useThrottleFn(setAnchorValue,
|
|
69
|
+
const anchorEvent = useThrottleFn(setAnchorValue, TIME);
|
|
69
70
|
function onScroll(...params) {
|
|
70
71
|
anchorEvent(...params);
|
|
71
72
|
}
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
};
|
|
23
23
|
}>> & {}>>;
|
|
24
24
|
uuid: string;
|
|
25
|
-
globEmit:
|
|
25
|
+
globEmit: import("../../types").IhoTableEmits;
|
|
26
26
|
options: import("vue").Ref<import("../../../../../shared/types").AnyObject[]>;
|
|
27
27
|
checked: import("vue").Ref<string[]>;
|
|
28
28
|
sortStatus: import("vue").Ref<IHO_TABLE_FILTER_STATUS>;
|
|
@@ -4,7 +4,7 @@ import '../../../index.js';
|
|
|
4
4
|
import { IHO_TABLE_NUMBER_STATUS, IHO_TABLE_STRING_STATUS } from '../../constants/index.js';
|
|
5
5
|
import { IHO_TABLE_FILTER_STATUS } from './types.js';
|
|
6
6
|
import { useUUIDMap, IhoTableUtils } from '../../utils/index.js';
|
|
7
|
-
import FilterComponent from './filter.js';
|
|
7
|
+
import FilterComponent from './filter.vue.js';
|
|
8
8
|
import { defineTablePlugin } from '../../hooks/useTablePlugin.js';
|
|
9
9
|
|
|
10
10
|
function filterPlugin() {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as index from './anchorPlugin/index.js';
|
|
2
2
|
import * as index$1 from './defaultConfigPlugin/index.js';
|
|
3
3
|
import * as index$2 from './filterPlugin/index.js';
|
|
4
|
-
import * as index$3 from './
|
|
5
|
-
import * as index$4 from './
|
|
4
|
+
import * as index$3 from './keyboardEventPlugin/index.js';
|
|
5
|
+
import * as index$4 from './lowCodeFieldAdaptorPlugin/index.js';
|
|
6
|
+
import * as index$5 from './rendererPlugins/editableWidgets/dateRendererPlugin/index.js';
|
|
6
7
|
import * as inputRendererPlugin from './rendererPlugins/editableWidgets/inputRendererPlugin.js';
|
|
7
8
|
import * as numberRendererPlugin from './rendererPlugins/editableWidgets/numberRendererPlugin.js';
|
|
8
|
-
import * as index$
|
|
9
|
-
import * as index$
|
|
9
|
+
import * as index$6 from './rendererPlugins/editableWidgets/selectRendererPlugin/index.js';
|
|
10
|
+
import * as index$7 from './rendererPlugins/editableWidgets/separateRendererPlugin/index.js';
|
|
10
11
|
import * as timeRendererPlugin from './rendererPlugins/editableWidgets/timeRendererPlugin.js';
|
|
11
12
|
import * as checkRendererPlugin from './rendererPlugins/widgets/checkRendererPlugin.js';
|
|
12
13
|
import * as colorRendererPlugin from './rendererPlugins/widgets/colorRendererPlugin.js';
|
|
@@ -14,20 +15,21 @@ import * as defaultRendererPlugin from './rendererPlugins/widgets/defaultRendere
|
|
|
14
15
|
import * as labelRendererPlugin from './rendererPlugins/widgets/labelRendererPlugin.js';
|
|
15
16
|
import * as pictureRendererPlugin from './rendererPlugins/widgets/pictureRendererPlugin.js';
|
|
16
17
|
import * as seqRendererPlugin from './rendererPlugins/widgets/seqRendererPlugin.js';
|
|
17
|
-
import * as index$
|
|
18
|
-
import * as index$
|
|
18
|
+
import * as index$8 from './rowGroupSettingPlugin/index.js';
|
|
19
|
+
import * as index$9 from './virtualTreePlugin/index.js';
|
|
19
20
|
import { separateMetaModule } from '../../../../shared/utils/index.js';
|
|
20
21
|
|
|
21
22
|
const modules = Object.assign({
|
|
22
23
|
"./anchorPlugin/index.tsx": index,
|
|
23
24
|
"./defaultConfigPlugin/index.ts": index$1,
|
|
24
25
|
"./filterPlugin/index.ts": index$2,
|
|
25
|
-
"./
|
|
26
|
-
"./
|
|
26
|
+
"./keyboardEventPlugin/index.ts": index$3,
|
|
27
|
+
"./lowCodeFieldAdaptorPlugin/index.ts": index$4,
|
|
28
|
+
"./rendererPlugins/editableWidgets/dateRendererPlugin/index.tsx": index$5,
|
|
27
29
|
"./rendererPlugins/editableWidgets/inputRendererPlugin.tsx": inputRendererPlugin,
|
|
28
30
|
"./rendererPlugins/editableWidgets/numberRendererPlugin.tsx": numberRendererPlugin,
|
|
29
|
-
"./rendererPlugins/editableWidgets/selectRendererPlugin/index.tsx": index$
|
|
30
|
-
"./rendererPlugins/editableWidgets/separateRendererPlugin/index.tsx": index$
|
|
31
|
+
"./rendererPlugins/editableWidgets/selectRendererPlugin/index.tsx": index$6,
|
|
32
|
+
"./rendererPlugins/editableWidgets/separateRendererPlugin/index.tsx": index$7,
|
|
31
33
|
"./rendererPlugins/editableWidgets/timeRendererPlugin.tsx": timeRendererPlugin,
|
|
32
34
|
"./rendererPlugins/widgets/checkRendererPlugin.tsx": checkRendererPlugin,
|
|
33
35
|
"./rendererPlugins/widgets/colorRendererPlugin.tsx": colorRendererPlugin,
|
|
@@ -35,8 +37,8 @@ const modules = Object.assign({
|
|
|
35
37
|
"./rendererPlugins/widgets/labelRendererPlugin.tsx": labelRendererPlugin,
|
|
36
38
|
"./rendererPlugins/widgets/pictureRendererPlugin.tsx": pictureRendererPlugin,
|
|
37
39
|
"./rendererPlugins/widgets/seqRendererPlugin.tsx": seqRendererPlugin,
|
|
38
|
-
"./rowGroupSettingPlugin/index.ts": index$
|
|
39
|
-
"./virtualTreePlugin/index.ts": index$
|
|
40
|
+
"./rowGroupSettingPlugin/index.ts": index$8,
|
|
41
|
+
"./virtualTreePlugin/index.ts": index$9
|
|
40
42
|
});
|
|
41
43
|
var PluginPresets = separateMetaModule(modules);
|
|
42
44
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function keyboardEventPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { targetStringIncludes } from '../../../../../shared/utils/index.js';
|
|
2
|
+
import { promiseTimeout } from '@vueuse/shared';
|
|
3
|
+
import '../../../index.js';
|
|
4
|
+
import { defineTablePlugin } from '../../hooks/useTablePlugin.js';
|
|
5
|
+
|
|
6
|
+
function keyboardEventPlugin() {
|
|
7
|
+
const pluginName = "keyboardEventPlugin";
|
|
8
|
+
return defineTablePlugin({
|
|
9
|
+
name: pluginName,
|
|
10
|
+
apply(hooks) {
|
|
11
|
+
hooks.eventHooks.onKeydown.tap(pluginName, async ({ $event, $table }, { emits }) => {
|
|
12
|
+
await promiseTimeout(0);
|
|
13
|
+
const activeCellInfo = $table.getSelectedCell();
|
|
14
|
+
const editCellInfo = $table.getEditRecord();
|
|
15
|
+
const { row, column } = activeCellInfo || editCellInfo;
|
|
16
|
+
if (!row || !column)
|
|
17
|
+
return;
|
|
18
|
+
const key = $event.key;
|
|
19
|
+
!targetStringIncludes(["Arrow", "Escape", "Control", "Shift", "Alt", "Meta"], key) && await $table.setEditCell(row, column);
|
|
20
|
+
emits("keyboard", {
|
|
21
|
+
key,
|
|
22
|
+
index: $table.getRowIndex(row),
|
|
23
|
+
value: row[column.field],
|
|
24
|
+
row,
|
|
25
|
+
column
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { keyboardEventPlugin };
|
|
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
}>>;
|
|
44
44
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
45
|
-
globEmit:
|
|
45
|
+
globEmit: import("../../../../../../../../es/components/iho-table").IhoTableEmits;
|
|
46
46
|
formRef: import("vue").Ref<HTMLElement | null>;
|
|
47
47
|
isShow: import("vue").Ref<boolean>;
|
|
48
48
|
formattedValue: import("vue").Ref<string | undefined>;
|
|
File without changes
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { createVNode,
|
|
1
|
+
import { createVNode, mergeProps } from 'vue';
|
|
2
2
|
import '../../../../../index.js';
|
|
3
|
-
import { EDITABLE_WIDGET_TYPE
|
|
4
|
-
import
|
|
3
|
+
import { EDITABLE_WIDGET_TYPE } from '../../../../constants/index.js';
|
|
4
|
+
import { useIhoTableFormEvent } from '../../../../utils/index.js';
|
|
5
|
+
import EditDate from './editDate.vue.js';
|
|
5
6
|
import { defineTablePlugin } from '../../../../hooks/useTablePlugin.js';
|
|
6
7
|
|
|
7
8
|
function dateRendererPlugin() {
|
|
@@ -25,16 +26,13 @@ function dateRendererPlugin() {
|
|
|
25
26
|
column,
|
|
26
27
|
$rowIndex
|
|
27
28
|
}) {
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
const {
|
|
30
|
+
emitFormClick
|
|
31
|
+
} = useIhoTableFormEvent({
|
|
31
32
|
row,
|
|
32
33
|
column,
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
function onClick() {
|
|
36
|
-
globEmit("formClick", common);
|
|
37
|
-
}
|
|
34
|
+
$rowIndex
|
|
35
|
+
});
|
|
38
36
|
return [createVNode(EditDate, mergeProps({
|
|
39
37
|
"value": row[column.field],
|
|
40
38
|
"onUpdate:value": ($event) => row[column.field] = $event
|
|
@@ -42,7 +40,7 @@ function dateRendererPlugin() {
|
|
|
42
40
|
"column": column,
|
|
43
41
|
"row": row,
|
|
44
42
|
"index": $rowIndex,
|
|
45
|
-
"onClick":
|
|
43
|
+
"onClick": emitFormClick
|
|
46
44
|
}), null)];
|
|
47
45
|
}
|
|
48
46
|
});
|