cnhis-design-vue 3.2.5-release.4 → 3.2.6-beta.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/components/annotation-edit/src/type.d.ts +1 -1
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +1 -1
- package/es/components/big-table/index.d.ts +6 -56
- package/es/components/big-table/src/BigTable.vue.d.ts +6 -56
- package/es/components/big-table/src/components/edit-form/edit-select.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +4 -4
- package/es/components/big-table/src/hooks/useEdit.d.ts +27 -27
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +13 -13
- package/es/components/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +2 -2
- package/es/components/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +9 -9
- package/es/components/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +2 -2
- package/es/components/button-print/index.d.ts +13 -2917
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -2917
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -1162
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +6 -1458
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +5 -1457
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -1457
- package/es/components/calendar/index.d.ts +4 -4
- package/es/components/calendar/src/Calendar.vue.d.ts +4 -4
- package/es/components/calendar/src/types/index.d.ts +1 -1
- package/es/components/callback/src/components/dialog/drawer.vue.d.ts +2 -179
- package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +120 -1701
- package/es/components/callback/src/types/index.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +2 -2
- package/es/components/card-reader-sdk/src/constants/index.d.ts +56 -56
- package/es/components/card-reader-sdk/src/utils/ensureUID2IdCard.d.ts +1 -1
- package/es/components/classification/index.d.ts +4 -14
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +24 -34
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +26 -36
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +4 -1
- package/es/components/classification/src/index.vue.d.ts +4 -14
- package/es/components/config-provider/src/interface.d.ts +2 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/drag-scroll/src/types.d.ts +2 -2
- package/es/components/expand-field/index.d.ts +41 -575
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +56 -198
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +36 -168
- package/es/components/expand-field/src/components/form.vue.d.ts +41 -526
- package/es/components/expand-field/src/index.vue.d.ts +41 -575
- package/es/components/expand-field/src/types/index.d.ts +1 -1
- package/es/components/fabric-chart/index.d.ts +10 -10
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +10 -10
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +3 -3
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +9 -9
- package/es/components/field-set/index.d.ts +5 -52
- package/es/components/field-set/src/FieldColor.vue.d.ts +13 -605
- package/es/components/field-set/src/FieldColor.vue2.js +1 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -19
- package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +8 -9
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue.d.ts +6 -53
- package/es/components/field-set/src/Index.vue2.js +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +2 -2
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +11 -589
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +3 -3
- package/es/components/field-set/src/constants/index.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +8 -8
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +62 -4785
- package/es/components/form-config/src/FormConfig.vue.d.ts +41 -4764
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +37 -98
- package/es/components/form-config/src/components/FormConfigCreator.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +22 -4651
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +3 -36
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +3 -3
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +1 -1
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +8 -8
- package/es/components/form-render/index.d.ts +15 -75
- package/es/components/form-render/src/FormRender.vue.d.ts +10 -70
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +15 -75
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/inputGroup.d.ts +1 -11
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +9 -0
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +10 -10
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +15 -15
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
- package/es/components/form-render/src/hooks/useChangeContext.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -4
- package/es/components/form-render/src/hooks/useFormContext.d.ts +1 -11
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -19
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +10 -10
- package/es/components/form-render/src/types/index.d.ts +13 -13
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/iho-chat/index.d.ts +719 -0
- package/es/components/iho-chat/index.js +1 -0
- package/es/components/iho-chat/src/Index.vue.d.ts +723 -0
- package/es/components/iho-chat/src/Index.vue2.js +1 -0
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +64 -0
- package/es/components/{biunique-chat → iho-chat}/src/components/ChatFile.vue2.js +1 -1
- package/es/components/{biunique-chat → iho-chat}/src/components/ChatFooter.vue.d.ts +24 -11
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +333 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -0
- package/es/components/{biunique-chat → iho-chat}/src/components/ChatMain.vue.d.ts +21 -209
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -0
- package/es/components/{biunique-chat → iho-chat}/src/components/ChatRecord.vue.d.ts +1 -11
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -0
- package/es/components/{biunique-chat → iho-chat}/src/components/ChatSearch.vue.d.ts +2 -2
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +73 -0
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -0
- package/es/components/iho-chat/src/components/ContextMenu.d.ts +17 -0
- package/es/components/iho-chat/src/components/ContextMenu.js +1 -0
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +1 -0
- package/es/components/{biunique-chat → iho-chat}/src/components/PersonProfile.vue.d.ts +1 -9
- package/es/components/iho-chat/src/components/Video.vue.d.ts +38 -0
- package/es/components/{biunique-chat → iho-chat}/src/constants/index.d.ts +13 -1
- package/es/components/iho-chat/src/constants/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useSession.js +1 -0
- package/es/components/{biunique-chat → iho-chat}/src/types/index.d.ts +2 -2
- package/es/components/{biunique-chat → iho-chat}/src/utils/index.d.ts +2 -0
- package/es/components/{biunique-chat → iho-chat}/src/utils/index.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -0
- package/es/components/iho-table/index.d.ts +46 -1567
- package/es/components/iho-table/src/IhoTable.vue.d.ts +40 -1561
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +18 -18
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +61 -61
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +2 -335
- package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/pagerScrollPlugin/types.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +18 -17
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/types.d.ts +1 -1
- package/es/components/iho-table/src/types/index.d.ts +17 -17
- package/es/components/iho-table/src/types/pluginType.d.ts +13 -13
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -2
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +65 -1723
- package/es/components/info-header/src/InfoHeader.vue.d.ts +42 -1700
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +27 -1547
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +16 -1554
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +31 -1629
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +59 -119
- package/es/components/info-header/src/types/index.d.ts +4 -3
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/map/src/types/index.d.ts +2 -2
- package/es/components/quick-search/index.d.ts +1 -295
- package/es/components/quick-search/src/index.vue.d.ts +1 -295
- package/es/components/recommend-search/index.d.ts +28 -28
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +28 -28
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +10 -10
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +11 -11
- package/es/components/recommend-search/src/types/index.d.ts +2 -2
- package/es/components/scale-view/index.d.ts +6 -300
- package/es/components/scale-view/src/ScaleView.vue.d.ts +6 -300
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +2 -2
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +2 -2
- package/es/components/scale-view/src/hooks/use-component.d.ts +3 -15
- package/es/components/scale-view/src/types/index.d.ts +1 -1
- package/es/components/search-cascader/index.d.ts +15 -14
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +16 -15
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +3 -3
- package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
- package/es/components/select-label/index.d.ts +3 -21
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -7
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -7
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +1 -7
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +1 -7
- package/es/components/select-label/src/index.vue.d.ts +2 -14
- package/es/components/select-label/src/types/index.d.ts +3 -3
- package/es/components/select-person/index.d.ts +36 -168
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +3 -58
- package/es/components/select-person/src/SearchOrgAndStaff.vue.d.ts +2 -2
- package/es/components/select-person/src/SelectPerson.vue.d.ts +9 -117
- package/es/components/shortcut-provider/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +23 -1606
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +14 -1597
- package/es/components/step-notice/index.d.ts +94 -1615
- package/es/components/step-notice/src/StepNotice.vue.d.ts +79 -1600
- package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +22 -22
- package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +2 -2
- package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +16 -16
- package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -1
- package/es/components/step-notice/src/utils.d.ts +1 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-export-field/index.d.ts +3 -630
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +2 -51
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -581
- package/es/components/table-export-field/src/index.vue.d.ts +5 -632
- package/es/components/table-export-field/src/types/index.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +22 -32
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.d.ts +1 -11
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +15 -15
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +22 -32
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +22 -32
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -50
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +3 -3
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.d.ts +1 -11
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +16 -16
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +60 -119
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +59 -108
- package/es/components/table-filter/src/types/index.d.ts +25 -25
- package/es/components/time-line/index.d.ts +1 -48
- package/es/components/time-line/src/TimeLine.vue.d.ts +4 -51
- package/es/components/tooth-bitmap/index.d.ts +3 -3
- package/es/components/tooth-bitmap/src/ToothBitmap.vue.d.ts +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +3 -3
- package/es/shared/components/SlotRender/SlotRender.d.ts +4 -4
- package/es/shared/components/VueDraggable/src/core/renderHelper.d.ts +1 -1
- package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -1
- package/es/shared/hooks/useLevelSearchCascader.js +1 -1
- package/es/shared/hooks/useTheme.d.ts +2 -2
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +1 -1
- package/es/shared/types/index.d.ts +15 -15
- package/es/shared/utils/tapable/AsyncParallelBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncParallelHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesLoopHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncLoopHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncWaterfallHook.d.ts +1 -1
- package/es/shared/utils/vexutils.d.ts +2 -2
- package/package.json +6 -5
- package/es/components/biunique-chat/index.d.ts +0 -1692
- package/es/components/biunique-chat/index.js +0 -1
- package/es/components/biunique-chat/src/Index.vue.d.ts +0 -1695
- package/es/components/biunique-chat/src/Index.vue2.js +0 -1
- package/es/components/biunique-chat/src/components/ChatFile.vue.d.ts +0 -263
- package/es/components/biunique-chat/src/components/ChatFooter.vue2.js +0 -1
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +0 -733
- package/es/components/biunique-chat/src/components/ChatHeader.vue2.js +0 -1
- package/es/components/biunique-chat/src/components/ChatMain.vue2.js +0 -1
- package/es/components/biunique-chat/src/components/ChatRecord.vue2.js +0 -1
- package/es/components/biunique-chat/src/components/ChatSet.vue.d.ts +0 -258
- package/es/components/biunique-chat/src/components/ChatSet.vue2.js +0 -1
- package/es/components/biunique-chat/src/components/MessageTemplate.vue2.js +0 -1
- package/es/components/biunique-chat/src/constants/index.js +0 -1
- package/es/components/biunique-chat/src/hooks/useSession.js +0 -1
- package/es/components/biunique-chat/style/index.css +0 -1
- /package/es/components/{biunique-chat → iho-chat}/src/Index.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/api/index.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/api/index.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/ChatFile.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/ChatFooter.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/ChatHeader.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/ChatMain.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/ChatRecord.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/ChatSearch.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/ChatSearch.vue2.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/ChatSet.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/MessageTemplate.vue.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/MessageTemplate.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/PersonProfile.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/PersonProfile.vue2.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/SiderList.vue.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/SiderList.vue.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/components/SiderList.vue2.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/hooks/index.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/hooks/index.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/hooks/useScrollLoading.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/hooks/useScrollLoading.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/hooks/useSession.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/hooks/useState.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/hooks/useState.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/types/index.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/utils/chatSock.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/utils/chatSock.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/utils/emoji.d.ts +0 -0
- /package/es/components/{biunique-chat → iho-chat}/src/utils/emoji.js +0 -0
- /package/es/components/{biunique-chat → iho-chat}/style/iconfont.ttf +0 -0
|
@@ -56,342 +56,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
NButton: any;
|
|
57
57
|
NButtonGroup: any;
|
|
58
58
|
NCheckbox: any;
|
|
59
|
-
NCheckboxGroup:
|
|
60
|
-
readonly min: NumberConstructor;
|
|
61
|
-
readonly max: NumberConstructor;
|
|
62
|
-
readonly size: PropType<"small" | "medium" | "large">;
|
|
63
|
-
readonly value: PropType<(string | number)[] | null>;
|
|
64
|
-
readonly defaultValue: {
|
|
65
|
-
readonly type: PropType<(string | number)[] | null>;
|
|
66
|
-
readonly default: null;
|
|
67
|
-
};
|
|
68
|
-
readonly disabled: {
|
|
69
|
-
readonly type: PropType<boolean | undefined>;
|
|
70
|
-
readonly default: undefined;
|
|
71
|
-
};
|
|
72
|
-
readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
73
|
-
actionType: "check" | "uncheck";
|
|
74
|
-
value: string | number;
|
|
75
|
-
}) => void>>;
|
|
76
|
-
readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
77
|
-
actionType: "check" | "uncheck";
|
|
78
|
-
value: string | number;
|
|
79
|
-
}) => void>>;
|
|
80
|
-
readonly onChange: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[]) => void> | undefined>;
|
|
81
|
-
}, {
|
|
82
|
-
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
83
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
-
readonly min: NumberConstructor;
|
|
85
|
-
readonly max: NumberConstructor;
|
|
86
|
-
readonly size: PropType<"small" | "medium" | "large">;
|
|
87
|
-
readonly value: PropType<(string | number)[] | null>;
|
|
88
|
-
readonly defaultValue: {
|
|
89
|
-
readonly type: PropType<(string | number)[] | null>;
|
|
90
|
-
readonly default: null;
|
|
91
|
-
};
|
|
92
|
-
readonly disabled: {
|
|
93
|
-
readonly type: PropType<boolean | undefined>;
|
|
94
|
-
readonly default: undefined;
|
|
95
|
-
};
|
|
96
|
-
readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
97
|
-
actionType: "check" | "uncheck";
|
|
98
|
-
value: string | number;
|
|
99
|
-
}) => void>>;
|
|
100
|
-
readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
101
|
-
actionType: "check" | "uncheck";
|
|
102
|
-
value: string | number;
|
|
103
|
-
}) => void>>;
|
|
104
|
-
readonly onChange: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[]) => void> | undefined>;
|
|
105
|
-
}>>, {
|
|
106
|
-
readonly disabled: boolean | undefined;
|
|
107
|
-
readonly defaultValue: (string | number)[] | null;
|
|
108
|
-
}>;
|
|
59
|
+
NCheckboxGroup: any;
|
|
109
60
|
NInput: any;
|
|
110
|
-
NRadioGroup:
|
|
111
|
-
readonly name: StringConstructor;
|
|
112
|
-
readonly value: PropType<string | number | boolean | null>;
|
|
113
|
-
readonly defaultValue: {
|
|
114
|
-
readonly type: PropType<string | number | boolean | null>;
|
|
115
|
-
readonly default: null;
|
|
116
|
-
};
|
|
117
|
-
readonly size: PropType<"small" | "medium" | "large">;
|
|
118
|
-
readonly disabled: {
|
|
119
|
-
readonly type: PropType<boolean | undefined>;
|
|
120
|
-
readonly default: undefined;
|
|
121
|
-
};
|
|
122
|
-
readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/radio/src/interface").OnUpdateValue>>;
|
|
123
|
-
readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/radio/src/interface").OnUpdateValue>>;
|
|
124
|
-
readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Radio", {
|
|
125
|
-
labelLineHeight: string;
|
|
126
|
-
buttonHeightSmall: string;
|
|
127
|
-
buttonHeightMedium: string;
|
|
128
|
-
buttonHeightLarge: string;
|
|
129
|
-
fontSizeSmall: string;
|
|
130
|
-
fontSizeMedium: string;
|
|
131
|
-
fontSizeLarge: string;
|
|
132
|
-
boxShadow: string;
|
|
133
|
-
boxShadowActive: string;
|
|
134
|
-
boxShadowFocus: string;
|
|
135
|
-
boxShadowHover: string;
|
|
136
|
-
boxShadowDisabled: string;
|
|
137
|
-
color: string;
|
|
138
|
-
colorDisabled: string;
|
|
139
|
-
colorActive: string;
|
|
140
|
-
textColor: string;
|
|
141
|
-
textColorDisabled: string;
|
|
142
|
-
dotColorActive: string;
|
|
143
|
-
dotColorDisabled: string;
|
|
144
|
-
buttonBorderColor: string;
|
|
145
|
-
buttonBorderColorActive: string;
|
|
146
|
-
buttonBorderColorHover: string;
|
|
147
|
-
buttonColor: string;
|
|
148
|
-
buttonColorActive: string;
|
|
149
|
-
buttonTextColor: string;
|
|
150
|
-
buttonTextColorActive: string;
|
|
151
|
-
buttonTextColorHover: string;
|
|
152
|
-
opacityDisabled: string;
|
|
153
|
-
buttonBoxShadowFocus: string;
|
|
154
|
-
buttonBoxShadowHover: string;
|
|
155
|
-
buttonBoxShadow: string;
|
|
156
|
-
buttonBorderRadius: string;
|
|
157
|
-
radioSizeSmall: string;
|
|
158
|
-
radioSizeMedium: string;
|
|
159
|
-
radioSizeLarge: string;
|
|
160
|
-
labelPadding: string;
|
|
161
|
-
}, any>>;
|
|
162
|
-
readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Radio", {
|
|
163
|
-
labelLineHeight: string;
|
|
164
|
-
buttonHeightSmall: string;
|
|
165
|
-
buttonHeightMedium: string;
|
|
166
|
-
buttonHeightLarge: string;
|
|
167
|
-
fontSizeSmall: string;
|
|
168
|
-
fontSizeMedium: string;
|
|
169
|
-
fontSizeLarge: string;
|
|
170
|
-
boxShadow: string;
|
|
171
|
-
boxShadowActive: string;
|
|
172
|
-
boxShadowFocus: string;
|
|
173
|
-
boxShadowHover: string;
|
|
174
|
-
boxShadowDisabled: string;
|
|
175
|
-
color: string;
|
|
176
|
-
colorDisabled: string;
|
|
177
|
-
colorActive: string;
|
|
178
|
-
textColor: string;
|
|
179
|
-
textColorDisabled: string;
|
|
180
|
-
dotColorActive: string;
|
|
181
|
-
dotColorDisabled: string;
|
|
182
|
-
buttonBorderColor: string;
|
|
183
|
-
buttonBorderColorActive: string;
|
|
184
|
-
buttonBorderColorHover: string;
|
|
185
|
-
buttonColor: string;
|
|
186
|
-
buttonColorActive: string;
|
|
187
|
-
buttonTextColor: string;
|
|
188
|
-
buttonTextColorActive: string;
|
|
189
|
-
buttonTextColorHover: string;
|
|
190
|
-
opacityDisabled: string;
|
|
191
|
-
buttonBoxShadowFocus: string;
|
|
192
|
-
buttonBoxShadowHover: string;
|
|
193
|
-
buttonBoxShadow: string;
|
|
194
|
-
buttonBorderRadius: string;
|
|
195
|
-
radioSizeSmall: string;
|
|
196
|
-
radioSizeMedium: string;
|
|
197
|
-
radioSizeLarge: string;
|
|
198
|
-
labelPadding: string;
|
|
199
|
-
}, any>>>;
|
|
200
|
-
readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Radio", {
|
|
201
|
-
labelLineHeight: string;
|
|
202
|
-
buttonHeightSmall: string;
|
|
203
|
-
buttonHeightMedium: string;
|
|
204
|
-
buttonHeightLarge: string;
|
|
205
|
-
fontSizeSmall: string;
|
|
206
|
-
fontSizeMedium: string;
|
|
207
|
-
fontSizeLarge: string;
|
|
208
|
-
boxShadow: string;
|
|
209
|
-
boxShadowActive: string;
|
|
210
|
-
boxShadowFocus: string;
|
|
211
|
-
boxShadowHover: string;
|
|
212
|
-
boxShadowDisabled: string;
|
|
213
|
-
color: string;
|
|
214
|
-
colorDisabled: string;
|
|
215
|
-
colorActive: string;
|
|
216
|
-
textColor: string;
|
|
217
|
-
textColorDisabled: string;
|
|
218
|
-
dotColorActive: string;
|
|
219
|
-
dotColorDisabled: string;
|
|
220
|
-
buttonBorderColor: string;
|
|
221
|
-
buttonBorderColorActive: string;
|
|
222
|
-
buttonBorderColorHover: string;
|
|
223
|
-
buttonColor: string;
|
|
224
|
-
buttonColorActive: string;
|
|
225
|
-
buttonTextColor: string;
|
|
226
|
-
buttonTextColorActive: string;
|
|
227
|
-
buttonTextColorHover: string;
|
|
228
|
-
opacityDisabled: string;
|
|
229
|
-
buttonBoxShadowFocus: string;
|
|
230
|
-
buttonBoxShadowHover: string;
|
|
231
|
-
buttonBoxShadow: string;
|
|
232
|
-
buttonBorderRadius: string;
|
|
233
|
-
radioSizeSmall: string;
|
|
234
|
-
radioSizeMedium: string;
|
|
235
|
-
radioSizeLarge: string;
|
|
236
|
-
labelPadding: string;
|
|
237
|
-
}, any>>>;
|
|
238
|
-
}, {
|
|
239
|
-
selfElRef: import("vue").Ref<HTMLDivElement | null>;
|
|
240
|
-
rtlEnabled: import("vue").Ref<import("naive-ui/es/config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
241
|
-
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
242
|
-
mergedValue: import("vue").ComputedRef<string | number | boolean | null>;
|
|
243
|
-
handleFocusout: (e: FocusEvent) => void;
|
|
244
|
-
handleFocusin: (e: FocusEvent) => void;
|
|
245
|
-
cssVars: import("vue").ComputedRef<{
|
|
246
|
-
'--n-font-size': string;
|
|
247
|
-
'--n-bezier': string;
|
|
248
|
-
'--n-button-border-color': string;
|
|
249
|
-
'--n-button-border-color-active': string;
|
|
250
|
-
'--n-button-border-radius': string;
|
|
251
|
-
'--n-button-box-shadow': string;
|
|
252
|
-
'--n-button-box-shadow-focus': string;
|
|
253
|
-
'--n-button-box-shadow-hover': string;
|
|
254
|
-
'--n-button-color-active': string;
|
|
255
|
-
'--n-button-text-color': string;
|
|
256
|
-
'--n-button-text-color-hover': string;
|
|
257
|
-
'--n-button-text-color-active': string;
|
|
258
|
-
'--n-height': string;
|
|
259
|
-
'--n-opacity-disabled': string;
|
|
260
|
-
}> | undefined;
|
|
261
|
-
themeClass: import("vue").Ref<string> | undefined;
|
|
262
|
-
onRender: (() => void) | undefined;
|
|
263
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
264
|
-
readonly name: StringConstructor;
|
|
265
|
-
readonly value: PropType<string | number | boolean | null>;
|
|
266
|
-
readonly defaultValue: {
|
|
267
|
-
readonly type: PropType<string | number | boolean | null>;
|
|
268
|
-
readonly default: null;
|
|
269
|
-
};
|
|
270
|
-
readonly size: PropType<"small" | "medium" | "large">;
|
|
271
|
-
readonly disabled: {
|
|
272
|
-
readonly type: PropType<boolean | undefined>;
|
|
273
|
-
readonly default: undefined;
|
|
274
|
-
};
|
|
275
|
-
readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/radio/src/interface").OnUpdateValue>>;
|
|
276
|
-
readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/radio/src/interface").OnUpdateValue>>;
|
|
277
|
-
readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Radio", {
|
|
278
|
-
labelLineHeight: string;
|
|
279
|
-
buttonHeightSmall: string;
|
|
280
|
-
buttonHeightMedium: string;
|
|
281
|
-
buttonHeightLarge: string;
|
|
282
|
-
fontSizeSmall: string;
|
|
283
|
-
fontSizeMedium: string;
|
|
284
|
-
fontSizeLarge: string;
|
|
285
|
-
boxShadow: string;
|
|
286
|
-
boxShadowActive: string;
|
|
287
|
-
boxShadowFocus: string;
|
|
288
|
-
boxShadowHover: string;
|
|
289
|
-
boxShadowDisabled: string;
|
|
290
|
-
color: string;
|
|
291
|
-
colorDisabled: string;
|
|
292
|
-
colorActive: string;
|
|
293
|
-
textColor: string;
|
|
294
|
-
textColorDisabled: string;
|
|
295
|
-
dotColorActive: string;
|
|
296
|
-
dotColorDisabled: string;
|
|
297
|
-
buttonBorderColor: string;
|
|
298
|
-
buttonBorderColorActive: string;
|
|
299
|
-
buttonBorderColorHover: string;
|
|
300
|
-
buttonColor: string;
|
|
301
|
-
buttonColorActive: string;
|
|
302
|
-
buttonTextColor: string;
|
|
303
|
-
buttonTextColorActive: string;
|
|
304
|
-
buttonTextColorHover: string;
|
|
305
|
-
opacityDisabled: string;
|
|
306
|
-
buttonBoxShadowFocus: string;
|
|
307
|
-
buttonBoxShadowHover: string;
|
|
308
|
-
buttonBoxShadow: string;
|
|
309
|
-
buttonBorderRadius: string;
|
|
310
|
-
radioSizeSmall: string;
|
|
311
|
-
radioSizeMedium: string;
|
|
312
|
-
radioSizeLarge: string;
|
|
313
|
-
labelPadding: string;
|
|
314
|
-
}, any>>;
|
|
315
|
-
readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Radio", {
|
|
316
|
-
labelLineHeight: string;
|
|
317
|
-
buttonHeightSmall: string;
|
|
318
|
-
buttonHeightMedium: string;
|
|
319
|
-
buttonHeightLarge: string;
|
|
320
|
-
fontSizeSmall: string;
|
|
321
|
-
fontSizeMedium: string;
|
|
322
|
-
fontSizeLarge: string;
|
|
323
|
-
boxShadow: string;
|
|
324
|
-
boxShadowActive: string;
|
|
325
|
-
boxShadowFocus: string;
|
|
326
|
-
boxShadowHover: string;
|
|
327
|
-
boxShadowDisabled: string;
|
|
328
|
-
color: string;
|
|
329
|
-
colorDisabled: string;
|
|
330
|
-
colorActive: string;
|
|
331
|
-
textColor: string;
|
|
332
|
-
textColorDisabled: string;
|
|
333
|
-
dotColorActive: string;
|
|
334
|
-
dotColorDisabled: string;
|
|
335
|
-
buttonBorderColor: string;
|
|
336
|
-
buttonBorderColorActive: string;
|
|
337
|
-
buttonBorderColorHover: string;
|
|
338
|
-
buttonColor: string;
|
|
339
|
-
buttonColorActive: string;
|
|
340
|
-
buttonTextColor: string;
|
|
341
|
-
buttonTextColorActive: string;
|
|
342
|
-
buttonTextColorHover: string;
|
|
343
|
-
opacityDisabled: string;
|
|
344
|
-
buttonBoxShadowFocus: string;
|
|
345
|
-
buttonBoxShadowHover: string;
|
|
346
|
-
buttonBoxShadow: string;
|
|
347
|
-
buttonBorderRadius: string;
|
|
348
|
-
radioSizeSmall: string;
|
|
349
|
-
radioSizeMedium: string;
|
|
350
|
-
radioSizeLarge: string;
|
|
351
|
-
labelPadding: string;
|
|
352
|
-
}, any>>>;
|
|
353
|
-
readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Radio", {
|
|
354
|
-
labelLineHeight: string;
|
|
355
|
-
buttonHeightSmall: string;
|
|
356
|
-
buttonHeightMedium: string;
|
|
357
|
-
buttonHeightLarge: string;
|
|
358
|
-
fontSizeSmall: string;
|
|
359
|
-
fontSizeMedium: string;
|
|
360
|
-
fontSizeLarge: string;
|
|
361
|
-
boxShadow: string;
|
|
362
|
-
boxShadowActive: string;
|
|
363
|
-
boxShadowFocus: string;
|
|
364
|
-
boxShadowHover: string;
|
|
365
|
-
boxShadowDisabled: string;
|
|
366
|
-
color: string;
|
|
367
|
-
colorDisabled: string;
|
|
368
|
-
colorActive: string;
|
|
369
|
-
textColor: string;
|
|
370
|
-
textColorDisabled: string;
|
|
371
|
-
dotColorActive: string;
|
|
372
|
-
dotColorDisabled: string;
|
|
373
|
-
buttonBorderColor: string;
|
|
374
|
-
buttonBorderColorActive: string;
|
|
375
|
-
buttonBorderColorHover: string;
|
|
376
|
-
buttonColor: string;
|
|
377
|
-
buttonColorActive: string;
|
|
378
|
-
buttonTextColor: string;
|
|
379
|
-
buttonTextColorActive: string;
|
|
380
|
-
buttonTextColorHover: string;
|
|
381
|
-
opacityDisabled: string;
|
|
382
|
-
buttonBoxShadowFocus: string;
|
|
383
|
-
buttonBoxShadowHover: string;
|
|
384
|
-
buttonBoxShadow: string;
|
|
385
|
-
buttonBorderRadius: string;
|
|
386
|
-
radioSizeSmall: string;
|
|
387
|
-
radioSizeMedium: string;
|
|
388
|
-
radioSizeLarge: string;
|
|
389
|
-
labelPadding: string;
|
|
390
|
-
}, any>>>;
|
|
391
|
-
}>>, {
|
|
392
|
-
readonly disabled: boolean | undefined;
|
|
393
|
-
readonly defaultValue: string | number | boolean | null;
|
|
394
|
-
}>;
|
|
61
|
+
NRadioGroup: any;
|
|
395
62
|
NSpin: any;
|
|
396
63
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
397
64
|
payload: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../index.js";import{EDITABLE_WIDGET_TYPE as e}from"../constants/index.js";import{promiseTimeout as o}from"@vueuse/shared";import{identity as r}from"lodash-es";import{defineTablePlugin as n}from"../hooks/useTablePlugin.js";function t(){const t="forceArrowKeyPlugin",l=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"];function d({keyboardConfig:e={}}){return e.isArrow&&e.forceArrowKey}function i(e,o,r,n,t,l,d,c=1){const{afterFullData:u,visibleColumn:a}=e.internalData,s=Object.assign({},o),w=e.getVTRowIndex(s.row),m=e.getVTColumnIndex(s.column);d.preventDefault();let p=!1;n&&w>c-1?(s.rowIndex=w-c,s.row=u[s.rowIndex],p=!0):l&&w<u.length-c?(s.rowIndex=w+c,s.row=u[s.rowIndex],p=!0):r&&m>c-1?(s.columnIndex=m-c,s.column=a[s.columnIndex],p=!0):t&&m<a.length-c&&(s.columnIndex=m+c,s.column=a[s.columnIndex],p=!0),p?e.scrollToRow(s.row,s.column).then((()=>{s.cell=e.getCell(s.row,s.column),e.handleSelected(s,d)})):c>1&&i(e,o,r,n,t,l,d,c-1)}return n({name:t,apply(n){n.eventHooks.onKeydown.tap(t,(async({$event:e,$table:r},n,{$xeTable:t})=>{const c=e;if(!d(n)||!l.includes(c.key))return;const u=r.getEditRecord()||{};if(u.row&&u.column){e.preventDefault();const o="ArrowLeft"===c.key,r="ArrowUp"===c.key,n="ArrowRight"===c.key,l="ArrowDown"===c.key;t.value&&i(t.value,u,o,r,n,l,c,c.ctrlKey||c.metaKey?2:1)}await o(
|
|
1
|
+
import"../../index.js";import{EDITABLE_WIDGET_TYPE as e}from"../constants/index.js";import{promiseTimeout as o}from"@vueuse/shared";import{identity as r}from"lodash-es";import{defineTablePlugin as n}from"../hooks/useTablePlugin.js";function t(){const t="forceArrowKeyPlugin",l=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"];function d({keyboardConfig:e={}}){return e.isArrow&&e.forceArrowKey}function i(e,o,r,n,t,l,d,c=1){const{afterFullData:u,visibleColumn:a}=e.internalData,s=Object.assign({},o),w=e.getVTRowIndex(s.row),m=e.getVTColumnIndex(s.column);d.preventDefault();let p=!1;n&&w>c-1?(s.rowIndex=w-c,s.row=u[s.rowIndex],p=!0):l&&w<u.length-c?(s.rowIndex=w+c,s.row=u[s.rowIndex],p=!0):r&&m>c-1?(s.columnIndex=m-c,s.column=a[s.columnIndex],p=!0):t&&m<a.length-c&&(s.columnIndex=m+c,s.column=a[s.columnIndex],p=!0),p?e.scrollToRow(s.row,s.column).then((()=>{s.cell=e.getCell(s.row,s.column),e.handleSelected(s,d)})):c>1&&i(e,o,r,n,t,l,d,c-1)}return n({name:t,apply(n){n.eventHooks.onKeydown.tap(t,(async({$event:e,$table:r},n,{$xeTable:t})=>{const c=e;if(!d(n)||!l.includes(c.key))return;const u=r.getEditRecord()||{};if(u.row&&u.column){e.preventDefault();const o="ArrowLeft"===c.key,r="ArrowUp"===c.key,n="ArrowRight"===c.key,l="ArrowDown"===c.key;t.value&&i(t.value,u,o,r,n,l,c,c.ctrlKey||c.metaKey?2:1)}await o(100);const{row:a,column:s}=r.getSelectedCell()||{};a&&s&&await r.setEditCell(a,s)}));const c={[e.NUMBER]:e=>{var o;return e.editRender.props={...e.editRender.props,componentProps:{keyboard:{ArrowUp:!1,ArrowDown:!1},...null==(o=e.editRender.props)?void 0:o.componentProps}},e}};n.fieldHooks.field.tap(t,((e,o,n)=>{var t;if(!d(n))return e;return(c[null==(t=e.editRender)?void 0:t.name]||r)(e)}))}})}export{t as forceArrowKeyPlugin};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../../shared/types';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
3
|
import { IhoTableConfig } from '../../../../../components/iho-table';
|
|
4
|
-
export
|
|
4
|
+
export type ScrollState = Partial<{
|
|
5
5
|
dataList: AnyObject[];
|
|
6
6
|
capacityInfo: {
|
|
7
7
|
pageData: AnyObject[];
|
|
@@ -126,8 +126,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
126
|
required: true;
|
|
127
127
|
};
|
|
128
128
|
}>> & {
|
|
129
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
130
129
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
131
131
|
}>>;
|
|
132
132
|
emit: (event: "click" | "update:value", ...args: any[]) => void;
|
|
133
133
|
asyncQueue: import("../../../../../../../shared/hooks").FormRequestDefine.FormAsyncQueue;
|
|
@@ -136,7 +136,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
136
|
labelKey: import("vue").ComputedRef<string>;
|
|
137
137
|
optionsRef: import("vue").Ref<AnyObject[]>;
|
|
138
138
|
showRef: import("vue").Ref<boolean>;
|
|
139
|
-
fetchData: (node?: AnyObject | undefined, keyword?: string | undefined, updateValueWhenNoChild?: boolean) => Promise<void | AnyObject>;
|
|
139
|
+
fetchData: (node?: AnyObject | undefined, keyword?: string | undefined, dbClick?: boolean | undefined, updateValueWhenNoChild?: boolean) => Promise<void | AnyObject>;
|
|
140
140
|
menuWidth: import("vue").Ref<number>;
|
|
141
141
|
searchCascaderRef: import("vue").Ref<{
|
|
142
142
|
getWidth: () => number;
|
|
@@ -225,7 +225,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
225
225
|
default: () => never[];
|
|
226
226
|
};
|
|
227
227
|
search: {
|
|
228
|
-
type: PropType<import("../../../../../../../shared/types").AnyFn
|
|
228
|
+
type: PropType<import("../../../../../../../shared/types").AnyFn>;
|
|
229
229
|
};
|
|
230
230
|
labelKey: {
|
|
231
231
|
type: StringConstructor;
|
|
@@ -283,7 +283,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
283
283
|
default: () => never[];
|
|
284
284
|
};
|
|
285
285
|
search: {
|
|
286
|
-
type: PropType<import("../../../../../../../shared/types").AnyFn
|
|
286
|
+
type: PropType<import("../../../../../../../shared/types").AnyFn>;
|
|
287
287
|
};
|
|
288
288
|
labelKey: {
|
|
289
289
|
type: StringConstructor;
|
|
@@ -313,11 +313,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
313
313
|
};
|
|
314
314
|
}>> & {
|
|
315
315
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
316
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
317
316
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
317
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
318
318
|
}>>;
|
|
319
|
-
cssVars: import("vue").ComputedRef<
|
|
320
|
-
emit: (event: "
|
|
319
|
+
cssVars: import("vue").ComputedRef<AnyObject>;
|
|
320
|
+
emit: (event: "focus" | "update:show" | "update:value", ...args: any[]) => void;
|
|
321
321
|
emitValue: (value: string | AnyObject[]) => void;
|
|
322
322
|
clearableRef: import("vue").ComputedRef<number | boolean>;
|
|
323
323
|
onClear: () => void;
|
|
@@ -343,6 +343,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
343
343
|
search: (payload?: {
|
|
344
344
|
type: "search" | "update";
|
|
345
345
|
node: AnyObject;
|
|
346
|
+
dbClick?: boolean | undefined;
|
|
346
347
|
} | undefined, keyword?: string | undefined) => Promise<void>;
|
|
347
348
|
changeCursorNode: (node: AnyObject) => void;
|
|
348
349
|
NInput: any;
|
|
@@ -371,7 +372,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
371
372
|
cursorNode: {
|
|
372
373
|
type: PropType<AnyObject>;
|
|
373
374
|
};
|
|
374
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
375
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeCursor" | "nodeClick")[], "changeCursor" | "nodeClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
375
376
|
childKey: {
|
|
376
377
|
type: StringConstructor;
|
|
377
378
|
default: string;
|
|
@@ -395,15 +396,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
395
396
|
type: PropType<AnyObject>;
|
|
396
397
|
};
|
|
397
398
|
}>> & {
|
|
398
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
399
399
|
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
400
|
+
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
400
401
|
}, {
|
|
401
402
|
options: AnyObject[];
|
|
402
|
-
valueKey: string;
|
|
403
403
|
childKey: string;
|
|
404
404
|
labelKey: string;
|
|
405
|
+
valueKey: string;
|
|
405
406
|
}>;
|
|
406
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
407
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "update:show" | "update:value")[], "focus" | "update:show" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
407
408
|
value: {
|
|
408
409
|
type: PropType<string | AnyObject[]>;
|
|
409
410
|
};
|
|
@@ -432,7 +433,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
432
433
|
default: () => never[];
|
|
433
434
|
};
|
|
434
435
|
search: {
|
|
435
|
-
type: PropType<import("../../../../../../../shared/types").AnyFn
|
|
436
|
+
type: PropType<import("../../../../../../../shared/types").AnyFn>;
|
|
436
437
|
};
|
|
437
438
|
labelKey: {
|
|
438
439
|
type: StringConstructor;
|
|
@@ -462,18 +463,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
462
463
|
};
|
|
463
464
|
}>> & {
|
|
464
465
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
465
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
466
466
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
467
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
467
468
|
}, {
|
|
468
|
-
disabled: boolean;
|
|
469
|
-
show: boolean;
|
|
470
469
|
options: AnyObject[];
|
|
470
|
+
disabled: boolean;
|
|
471
471
|
placeholder: string;
|
|
472
|
-
|
|
472
|
+
show: boolean;
|
|
473
473
|
clearable: boolean;
|
|
474
474
|
childKey: string;
|
|
475
475
|
editPlaceholder: string;
|
|
476
476
|
labelKey: string;
|
|
477
|
+
valueKey: string;
|
|
477
478
|
checkAbleLevel: number | "last";
|
|
478
479
|
menuWidth: string | number;
|
|
479
480
|
}>>;
|
|
@@ -540,8 +541,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
540
541
|
required: true;
|
|
541
542
|
};
|
|
542
543
|
}>> & {
|
|
543
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
544
544
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
545
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
545
546
|
}, {
|
|
546
547
|
options: AnyObject[];
|
|
547
548
|
labelField: string;
|
|
@@ -154,10 +154,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
154
|
placeholder: string;
|
|
155
155
|
allowModify: boolean;
|
|
156
156
|
deletable: boolean;
|
|
157
|
+
consistentMenuWidth: boolean;
|
|
157
158
|
selectAll: boolean;
|
|
158
159
|
shouldSave: boolean;
|
|
159
160
|
allowCreate: boolean;
|
|
160
161
|
searchByValue: boolean;
|
|
161
|
-
consistentMenuWidth: boolean;
|
|
162
162
|
}>;
|
|
163
163
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,inject as l,ref as o,computed as t,onBeforeUnmount as
|
|
1
|
+
import{defineComponent as e,inject as l,ref as o,computed as t,onBeforeUnmount as a,nextTick as n,createVNode as r,toRaw as u}from"vue";import{arrayed as i}from"../../../../../../../shared/utils/index.js";import{NSelect as s}from"naive-ui";import{useVModel as d,useDebounceFn as c}from"@vueuse/core";import"date-fns";import{isFunction as p,isEmpty as v,isArray as f,isObject as y,omit as m,cloneDeep as h,xor as w}from"lodash-es";import"@vue/shared";import{useSelectAllowModify as b}from"../../../../../../../shared/hooks/selectHooks/useSelectAllowModify.js";import{useOptionFiltered as g}from"../../../../../../../shared/hooks/selectHooks/useOptionFiltered.js";import"../../../../../../../shared/hooks/selectHooks/useSearchContent.js";import{useSelectRenders as F}from"../../../../../../../shared/hooks/selectHooks/useSelectRenders.js";import{useMenuWidthAuto as S}from"../../../../../../../shared/hooks/selectHooks/useMenuWidthAuto.js";import{InjectionIhoTableUUID as k,InjectionIhoTableConfig as O}from"../../../../constants/index.js";import{useIhoTableFormEvent as A}from"../../../../utils/index.js";import{getSelectOptions as B,selectOptionsMap as j}from"../hooks/useSelectOption.js";var x=e({name:"EditSelect",props:{value:{type:[Array,String,Number]},column:{type:Object,required:!0},row:{type:Object,required:!0},rowIndex:{type:Number,required:!0},options:{type:Array,default:()=>[]},queryOptions:{type:Function},placeholder:{type:String,default:"请选择"},allowModify:{type:Boolean},allowCreate:{type:Boolean},shouldSave:{type:Boolean},consistentMenuWidth:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},searchField:{type:Array},aliasField:{type:String},menuProps:{type:Object},multiple:{type:Boolean},deletable:{type:Boolean,default:!0},selectAll:{type:Boolean,default:!0},searchByValue:{type:Boolean}},emits:["update:value"],setup(e,{emit:x}){const C=l("$xetable"),K=d(e,"value",x),$=o(null),{emitFormChangeWithParams:q}=A({...e,$table:C}),R=t((()=>e.labelField)),M=t((()=>e.valueField)),D=t((()=>e.aliasField)),H=t((()=>e.searchField)),{fullOptions:P,filterOptions:_,searchContent:E,remoteOptions:T}=g(e,{labelKey:R,valueKey:M,searchKey:H}),{modifyEvent:V,modifyAbleRef:W,getOptionsWithCreated:L}=b(e,{searchContent:E,labelKey:R,valueKey:M,valueRef:K,fullOptions:P}),I=t((()=>L(W.value?P.value:_.value))),{setMenuWith:U}=S(e,{selectRef:$,options:I}),N=o(!1),z=c((async function(l=""){E.value=l;try{if(N.value=!0,!p(e.queryOptions)||!v(e.options))return;T.value=await e.queryOptions({keyword:l,row:e.row,column:e.column,rowIndex:e.rowIndex})}catch(l){console.log(`获取${e.column.field}options错误`)}finally{N.value=!1}}),400),G=l(k);a((()=>X(!0)));const J=o(!1);function Q(e){J.value=e,X(),z(),e&&U()}async function X(l=!1){var o,t,a;if(!e.multiple)return;await n();const{refTableLeftBody:r,refTableBody:u}=C.getRefMaps(),i=null==(o=null==r?void 0:r.value)?void 0:o.$el;if(!i)return;const s=null==(t=null==u?void 0:u.value)?void 0:t.$el,d=C.getRowid(e.row),c=null==(a=s.querySelector(`.vxe-body--row[rowid="${d}"]`))?void 0:a.clientHeight;i.querySelector(`.vxe-body--row[rowid="${d}"]`).style.height=l?"unset":c+"px"}async function Y(l,o){var t,a;const n=e.value;await V.updateValue(l,o);const r=B(G,e.column.field,e.row,C);G&&f(r)&&i(o).forEach((e=>{if(!y(e))return;const l=e;l.created&&l.shouldSave&&r.push(m(u(l),["created","shouldSave"]))}));const s=null==(t=e.column.editRender)?void 0:t.props;if(G&&(null==s?void 0:s.connectField)){const o=null==(a=s.connectField)?void 0:a.split(","),t=j.get(G);o.forEach((async o=>{var a;const{tableColumn:n}=C.reactData,r=n.find((e=>e.field===o)),u=null==(a=null==r?void 0:r.editRender)?void 0:a.props;if(null==u?void 0:u.queryOptions){const a=l?`${o}__${e.column.field}-${l}`:o;if(t[a])return;t[a]=await u.queryOptions({row:e.row,column:r,isFullData:!0,connectColumn:e.column})}}))}return q({oldValue:n,option:h(o)}),X()}const Z=l(O);function ee(){var e,l;return null==(l=null==(e=Z.value)?void 0:e.keyboardConfig)?void 0:l.forceArrowKey}const le=o(!0);function oe(e){var l,o,t;if($.value)if("Tab"===e.code||ee()&&(t=e.key,["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(t)))J.value?null==(o=(l=$.value).handleKeydown)||o.call(l,{...e,key:"Enter",preventDefault:e.preventDefault.bind(e)}):C.internalData.isActivated=!0;else if("Backspace"===e.code&&ee()){""===$.value.pattern&&(K.value=null,le.value=!1)}}const{renderTag:te,renderLabel:ae,renderSelectAll:ne}=F(e,{labelKey:R,valueKey:M,valueRef:K,showKey:D,searchContent:E});function re(l){if(!e.multiple)return;const o=l?I.value.map((e=>e[M.value])):[];if(!w(o,K.value).length)return;const t=K.value;K.value=o,q({oldValue:t,option:l?I.value:[]})}const ue=()=>({class:"iho-table__selectOption"}),ie=t((()=>{var l,o;return{...e.menuProps,class:`iho-table__selectMenu ${null!=(o=null==(l=e.menuProps)?void 0:l.class)?o:""}`}}));return()=>{const l={};return e.multiple&&e.selectAll&&(l.action=()=>ne(re)),r(s,{ref:$,placeholder:e.placeholder,labelField:e.labelField,valueField:e.valueField,loading:N.value,options:I.value,multiple:e.multiple,value:e.value,remote:!0,onSearch:z,clearable:!0,filterable:!0,keyboard:le.value,nodeProps:ue,menuProps:ie.value,renderTag:te,renderLabel:ae,show:J.value,onUpdateShow:Q,onUpdateValue:Y,onKeydownCapture:oe,onFocus:V.focus,onBlur:V.blur},l)}}});export{x as default};
|
|
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
required: true;
|
|
48
48
|
};
|
|
49
49
|
}>> & {
|
|
50
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
50
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}>>;
|
|
53
53
|
emit: (event: "click" | "update:value", ...args: any[]) => void;
|
|
54
54
|
tableHandler: import("../../../../types").IhoTableHandler;
|
|
@@ -91,8 +91,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
required: true;
|
|
92
92
|
};
|
|
93
93
|
}>> & {
|
|
94
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
95
94
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
}, {
|
|
97
97
|
height: number;
|
|
98
98
|
displayContent: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject, ArrayAble } from '../../../../../../../shared/types';
|
|
2
2
|
import { VxeTableDefines } from 'vxe-table';
|
|
3
3
|
import { IhoTableFieldItem } from '../../../../../../../components/iho-table';
|
|
4
|
-
|
|
4
|
+
type ParsedRowDataInfo = {
|
|
5
5
|
field: string;
|
|
6
6
|
data: ArrayAble<string>[];
|
|
7
7
|
};
|
|
@@ -91,4 +91,4 @@ export declare const createVerticalTableHooks: () => {
|
|
|
91
91
|
}>], import("../../../../../../../shared/utils/tapable").UnsetAdditionalOptions>;
|
|
92
92
|
};
|
|
93
93
|
export declare const usePresetVerticalPlugins: VerticalTablePlugin;
|
|
94
|
-
export
|
|
94
|
+
export type VerticalTablePlugin = (verticalTableHooks: ReturnType<typeof createVerticalTableHooks>, tableHooks: TableHooks, getVerticalState: (uuid: string) => IhoTableVerticalState) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../../../shared/types';
|
|
2
2
|
import { IhoTableConfig, IhoTableFieldItem } from '../../../../../../components/iho-table';
|
|
3
|
-
export
|
|
3
|
+
export type IhoTableVerticalState = Partial<{
|
|
4
4
|
originalTableConfig: IhoTableConfig;
|
|
5
5
|
originalFieldList: IhoTableFieldItem[];
|
|
6
6
|
originalData: AnyObject[];
|