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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type funcVoid = () => void;
|
|
2
|
+
export type ISearchType = {
|
|
3
3
|
isShowSearch?: number;
|
|
4
4
|
filterExplicit?: number;
|
|
5
5
|
explicitRequired?: number;
|
|
@@ -27,26 +27,26 @@ export declare type ISearchType = {
|
|
|
27
27
|
accurateSearch?: any;
|
|
28
28
|
isAccurateSearchVal?: boolean;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type IFilterItemType = {
|
|
31
31
|
con: string;
|
|
32
32
|
conName?: string;
|
|
33
33
|
field_key: string;
|
|
34
34
|
key?: string;
|
|
35
35
|
value: string;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
37
|
+
export type IParentNamesType = {
|
|
38
38
|
disabled: boolean;
|
|
39
39
|
isAdd?: boolean;
|
|
40
40
|
selected: boolean;
|
|
41
41
|
value: string;
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type ISaveType = {
|
|
44
44
|
id?: string;
|
|
45
45
|
tableId: string;
|
|
46
46
|
setting: any;
|
|
47
47
|
conditionList: string;
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type IClassifyListType = {
|
|
50
50
|
displayCategory: string;
|
|
51
51
|
isDefault: boolean;
|
|
52
52
|
isEdit: boolean;
|
|
@@ -66,16 +66,16 @@ export declare type IClassifyListType = {
|
|
|
66
66
|
from?: string;
|
|
67
67
|
[key: string]: any;
|
|
68
68
|
};
|
|
69
|
-
export
|
|
69
|
+
export type IClassifyItemType = {
|
|
70
70
|
name: string;
|
|
71
71
|
[key: string]: any;
|
|
72
72
|
};
|
|
73
|
-
export
|
|
73
|
+
export type IClassifyOutSaveType = {
|
|
74
74
|
id: string;
|
|
75
75
|
tableId: string;
|
|
76
76
|
[key: string]: string;
|
|
77
77
|
};
|
|
78
|
-
export
|
|
78
|
+
export type ISearchConfigType = {
|
|
79
79
|
con: string;
|
|
80
80
|
field_key: string;
|
|
81
81
|
start_val: number | null;
|
|
@@ -91,7 +91,7 @@ export declare type ISearchConfigType = {
|
|
|
91
91
|
isAccurateSearch?: boolean;
|
|
92
92
|
accurateSearchKey?: string;
|
|
93
93
|
};
|
|
94
|
-
export
|
|
94
|
+
export type ITreeDataType = {
|
|
95
95
|
name: string;
|
|
96
96
|
sid: string;
|
|
97
97
|
children: IClassifyListType[];
|
|
@@ -100,18 +100,18 @@ export declare type ITreeDataType = {
|
|
|
100
100
|
selected?: boolean;
|
|
101
101
|
[key: string]: any;
|
|
102
102
|
};
|
|
103
|
-
export
|
|
103
|
+
export type IConditionMapType = {
|
|
104
104
|
conditionList?: IClassifyListType[];
|
|
105
105
|
displayCategoryList?: string[];
|
|
106
106
|
tabConditionList?: any;
|
|
107
107
|
countTabCondition?: string;
|
|
108
108
|
settingId?: string;
|
|
109
109
|
};
|
|
110
|
-
export
|
|
110
|
+
export type IsettingsType = {
|
|
111
111
|
hideQuickSearch: number;
|
|
112
112
|
};
|
|
113
|
-
export
|
|
114
|
-
export
|
|
113
|
+
export type ICheckboxType = Record<'label' | 'value', string>;
|
|
114
|
+
export type IApiServerType = {
|
|
115
115
|
name: string;
|
|
116
116
|
title: string;
|
|
117
117
|
customTitle?: string;
|
|
@@ -143,7 +143,7 @@ export declare type IApiServerType = {
|
|
|
143
143
|
keyword?: boolean;
|
|
144
144
|
accurateSearch?: any;
|
|
145
145
|
};
|
|
146
|
-
export
|
|
146
|
+
export type dynamicOptionInfoType = {
|
|
147
147
|
filterKeys: string[];
|
|
148
148
|
defaultParams: any[];
|
|
149
149
|
showKeys: string[];
|
|
@@ -153,17 +153,17 @@ export declare type dynamicOptionInfoType = {
|
|
|
153
153
|
autograph: string;
|
|
154
154
|
tableDataType: string;
|
|
155
155
|
};
|
|
156
|
-
export
|
|
156
|
+
export type ICategoryItemType = {
|
|
157
157
|
disabled: boolean;
|
|
158
158
|
value: string;
|
|
159
159
|
};
|
|
160
|
-
export
|
|
160
|
+
export type ICategoryStateType = {
|
|
161
161
|
addDisplayCategory: string;
|
|
162
162
|
displayCategories: ICategoryItemType[];
|
|
163
163
|
displayCategoryOriginLen: number;
|
|
164
164
|
showAdd: boolean;
|
|
165
165
|
};
|
|
166
|
-
export
|
|
166
|
+
export type IFilterRowDataType = {
|
|
167
167
|
name: string;
|
|
168
168
|
title: string;
|
|
169
169
|
dataType: string;
|
|
@@ -175,7 +175,7 @@ export declare type IFilterRowDataType = {
|
|
|
175
175
|
optionInfo?: any;
|
|
176
176
|
defaultValue: any;
|
|
177
177
|
};
|
|
178
|
-
export
|
|
178
|
+
export type IFilterConditionType = {
|
|
179
179
|
dataType: string;
|
|
180
180
|
title: string;
|
|
181
181
|
customTitle: string;
|
|
@@ -193,12 +193,12 @@ export declare type IFilterConditionType = {
|
|
|
193
193
|
_rawData?: IFilterRowDataType;
|
|
194
194
|
type?: any;
|
|
195
195
|
};
|
|
196
|
-
export
|
|
196
|
+
export type IFormStateType = {
|
|
197
197
|
className: string;
|
|
198
198
|
displayCategory: string;
|
|
199
199
|
filterConditions: IfilterConditionsType[];
|
|
200
200
|
};
|
|
201
|
-
export
|
|
201
|
+
export type IfilterConditionsType = {
|
|
202
202
|
condition: string;
|
|
203
203
|
key: string;
|
|
204
204
|
presetVal: string;
|
|
@@ -206,7 +206,7 @@ export declare type IfilterConditionsType = {
|
|
|
206
206
|
isAccurateSearch?: boolean;
|
|
207
207
|
accurateSearchKey?: string;
|
|
208
208
|
};
|
|
209
|
-
export
|
|
209
|
+
export type ISearchParamsType = {
|
|
210
210
|
field_key: string;
|
|
211
211
|
con: string;
|
|
212
212
|
value: string[];
|
|
@@ -214,19 +214,19 @@ export declare type ISearchParamsType = {
|
|
|
214
214
|
isAccurateSearch?: boolean;
|
|
215
215
|
accurateSearchKey?: string;
|
|
216
216
|
};
|
|
217
|
-
export
|
|
217
|
+
export type IFilterCategoryLabelItemType = {
|
|
218
218
|
classifyId: string;
|
|
219
219
|
classifyName: string;
|
|
220
220
|
isShowBtn: boolean;
|
|
221
221
|
isUnfold: boolean;
|
|
222
222
|
labelList: IhoFilterTabLabelItemType[];
|
|
223
223
|
};
|
|
224
|
-
export
|
|
224
|
+
export type IhoFilterTabLabelItemType = {
|
|
225
225
|
labelCode: string;
|
|
226
226
|
labelShowText: string;
|
|
227
227
|
backgroundColor: string;
|
|
228
228
|
isSelect: boolean;
|
|
229
229
|
};
|
|
230
|
-
export
|
|
230
|
+
export type IExtendConfigurationType = {
|
|
231
231
|
_filterApiConfig: any;
|
|
232
232
|
};
|
|
@@ -30,54 +30,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
30
30
|
};
|
|
31
31
|
}>> & {}>>;
|
|
32
32
|
NTimeline: any;
|
|
33
|
-
NTimelineItem:
|
|
34
|
-
time: import("vue").PropType<string | number>;
|
|
35
|
-
title: StringConstructor;
|
|
36
|
-
content: StringConstructor;
|
|
37
|
-
color: StringConstructor;
|
|
38
|
-
lineType: {
|
|
39
|
-
type: import("vue").PropType<"default" | "dashed">;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
type: {
|
|
43
|
-
type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
}, {
|
|
47
|
-
mergedClsPrefix: import("vue").Ref<string>;
|
|
48
|
-
cssVars: import("vue").ComputedRef<{
|
|
49
|
-
'--n-bezier': string;
|
|
50
|
-
'--n-circle-border': string;
|
|
51
|
-
'--n-icon-color': string;
|
|
52
|
-
'--n-content-font-size': string;
|
|
53
|
-
'--n-content-text-color': string;
|
|
54
|
-
'--n-line-color': string;
|
|
55
|
-
'--n-meta-text-color': string;
|
|
56
|
-
'--n-title-font-size': string;
|
|
57
|
-
'--n-title-font-weight': string;
|
|
58
|
-
'--n-title-margin': string;
|
|
59
|
-
'--n-title-text-color': string;
|
|
60
|
-
'--n-icon-size': string;
|
|
61
|
-
}> | undefined;
|
|
62
|
-
themeClass: import("vue").Ref<string> | undefined;
|
|
63
|
-
onRender: (() => void) | undefined;
|
|
64
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
-
time: import("vue").PropType<string | number>;
|
|
66
|
-
title: StringConstructor;
|
|
67
|
-
content: StringConstructor;
|
|
68
|
-
color: StringConstructor;
|
|
69
|
-
lineType: {
|
|
70
|
-
type: import("vue").PropType<"default" | "dashed">;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
type: {
|
|
74
|
-
type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
}>>, {
|
|
78
|
-
type: "default" | "success" | "error" | "warning" | "info";
|
|
79
|
-
lineType: "default" | "dashed";
|
|
80
|
-
}>;
|
|
33
|
+
NTimelineItem: any;
|
|
81
34
|
NButton: any;
|
|
82
35
|
NSpace: any;
|
|
83
36
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
type ITtemType = 'default' | 'success' | 'info' | 'warning' | 'error';
|
|
3
|
+
type ISubItem = {
|
|
4
4
|
title: string;
|
|
5
5
|
name: string;
|
|
6
6
|
time: string;
|
|
7
7
|
extraText?: string;
|
|
8
8
|
content: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type IItem = {
|
|
11
11
|
type: ITtemType;
|
|
12
12
|
subItem: ISubItem[];
|
|
13
13
|
};
|
|
@@ -24,54 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
};
|
|
25
25
|
}>> & {}>>;
|
|
26
26
|
NTimeline: any;
|
|
27
|
-
NTimelineItem:
|
|
28
|
-
time: PropType<string | number>;
|
|
29
|
-
title: StringConstructor;
|
|
30
|
-
content: StringConstructor;
|
|
31
|
-
color: StringConstructor;
|
|
32
|
-
lineType: {
|
|
33
|
-
type: PropType<"default" | "dashed">;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
type: {
|
|
37
|
-
type: PropType<"default" | "success" | "error" | "warning" | "info">;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
41
|
-
mergedClsPrefix: import("vue").Ref<string>;
|
|
42
|
-
cssVars: import("vue").ComputedRef<{
|
|
43
|
-
'--n-bezier': string;
|
|
44
|
-
'--n-circle-border': string;
|
|
45
|
-
'--n-icon-color': string;
|
|
46
|
-
'--n-content-font-size': string;
|
|
47
|
-
'--n-content-text-color': string;
|
|
48
|
-
'--n-line-color': string;
|
|
49
|
-
'--n-meta-text-color': string;
|
|
50
|
-
'--n-title-font-size': string;
|
|
51
|
-
'--n-title-font-weight': string;
|
|
52
|
-
'--n-title-margin': string;
|
|
53
|
-
'--n-title-text-color': string;
|
|
54
|
-
'--n-icon-size': string;
|
|
55
|
-
}> | undefined;
|
|
56
|
-
themeClass: import("vue").Ref<string> | undefined;
|
|
57
|
-
onRender: (() => void) | undefined;
|
|
58
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
-
time: PropType<string | number>;
|
|
60
|
-
title: StringConstructor;
|
|
61
|
-
content: StringConstructor;
|
|
62
|
-
color: StringConstructor;
|
|
63
|
-
lineType: {
|
|
64
|
-
type: PropType<"default" | "dashed">;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
type: {
|
|
68
|
-
type: PropType<"default" | "success" | "error" | "warning" | "info">;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
}>>, {
|
|
72
|
-
type: "default" | "success" | "error" | "warning" | "info";
|
|
73
|
-
lineType: "default" | "dashed";
|
|
74
|
-
}>;
|
|
27
|
+
NTimelineItem: any;
|
|
75
28
|
NButton: any;
|
|
76
29
|
NSpace: any;
|
|
77
30
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -14,14 +14,14 @@ declare const ToothBitmap: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14
14
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
15
15
|
}>>;
|
|
16
16
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
17
|
-
cssVars: import("vue").ComputedRef<import("
|
|
17
|
+
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
18
18
|
quadrants: string[];
|
|
19
19
|
numbers: number[];
|
|
20
20
|
keys: import("vue").Ref<string[]>;
|
|
21
21
|
getImg: (position: string, num: number) => any;
|
|
22
22
|
getLetter: (num: number) => "B" | "D" | "C" | "" | "A" | "E";
|
|
23
|
-
hasBorder: (position: string, num: number, type: "
|
|
24
|
-
handleSelect: (position: string, num: number, type: "
|
|
23
|
+
hasBorder: (position: string, num: number, type: "letter" | "img" | "num") => boolean;
|
|
24
|
+
handleSelect: (position: string, num: number, type: "letter" | "num") => void;
|
|
25
25
|
confirm: () => void;
|
|
26
26
|
reset: () => void;
|
|
27
27
|
selectAll: () => void;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
15
15
|
}>>;
|
|
16
16
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
17
|
-
cssVars: import("vue").ComputedRef<import("
|
|
17
|
+
cssVars: import("vue").ComputedRef<import("../../../shared/types").AnyObject>;
|
|
18
18
|
quadrants: string[];
|
|
19
19
|
numbers: number[];
|
|
20
20
|
keys: import("vue").Ref<string[]>;
|
package/es/env.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
|
|
3
|
-
interface ImportMetaEnv {
|
|
4
|
-
readonly VITE_APP_TYPE: string;
|
|
5
|
-
// 更多环境变量...
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
interface ImportMeta {
|
|
9
|
-
readonly env: ImportMetaEnv;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare module '*.vue' {
|
|
13
|
-
// @ts-ignore
|
|
14
|
-
import type { App, defineComponent } from 'vue';
|
|
15
|
-
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
16
|
-
// // const component: DefineComponent<{}, {}, any>
|
|
17
|
-
const component: ReturnType<typeof defineComponent> & {
|
|
18
|
-
install(app: App): void;
|
|
19
|
-
};
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
export default component;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare module '*.js';
|
|
25
|
-
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
interface ImportMetaEnv {
|
|
4
|
+
readonly VITE_APP_TYPE: string;
|
|
5
|
+
// 更多环境变量...
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface ImportMeta {
|
|
9
|
+
readonly env: ImportMetaEnv;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module '*.vue' {
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
import type { App, defineComponent } from 'vue';
|
|
15
|
+
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
16
|
+
// // const component: DefineComponent<{}, {}, any>
|
|
17
|
+
const component: ReturnType<typeof defineComponent> & {
|
|
18
|
+
install(app: App): void;
|
|
19
|
+
};
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export default component;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare module '*.js';
|
|
25
|
+
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
type: (NumberConstructor | StringConstructor)[];
|
|
6
6
|
};
|
|
7
7
|
onChange: {
|
|
8
|
-
type: PropType<AnyFn
|
|
8
|
+
type: PropType<AnyFn>;
|
|
9
9
|
default: () => {};
|
|
10
10
|
};
|
|
11
11
|
prefix: {
|
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
type: (NumberConstructor | StringConstructor)[];
|
|
36
36
|
};
|
|
37
37
|
onChange: {
|
|
38
|
-
type: PropType<AnyFn
|
|
38
|
+
type: PropType<AnyFn>;
|
|
39
39
|
default: () => {};
|
|
40
40
|
};
|
|
41
41
|
prefix: {
|
|
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
}>> & {
|
|
64
64
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
}, {
|
|
66
|
-
onChange: AnyFn
|
|
66
|
+
onChange: AnyFn;
|
|
67
67
|
slashSymbol: string;
|
|
68
68
|
}>;
|
|
69
69
|
export default _default;
|
|
@@ -2,19 +2,19 @@ import { AnyFn } from '../../../shared/types';
|
|
|
2
2
|
import { Component, PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
renderer: {
|
|
5
|
-
type: PropType<string | Component
|
|
5
|
+
type: PropType<string | Component | AnyFn>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
rootSlots: {
|
|
9
|
-
type: PropType<Record<string, AnyFn
|
|
9
|
+
type: PropType<Record<string, AnyFn>>;
|
|
10
10
|
};
|
|
11
11
|
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
renderer: {
|
|
13
|
-
type: PropType<string | Component
|
|
13
|
+
type: PropType<string | Component | AnyFn>;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
rootSlots: {
|
|
17
|
-
type: PropType<Record<string, AnyFn
|
|
17
|
+
type: PropType<Record<string, AnyFn>>;
|
|
18
18
|
};
|
|
19
19
|
}>>, {}>;
|
|
20
20
|
export default _default;
|
|
@@ -8,6 +8,7 @@ export declare function useLevelSearchCascader(props: Partial<{
|
|
|
8
8
|
requestCache: boolean;
|
|
9
9
|
value: string | AnyObject[];
|
|
10
10
|
}> & {
|
|
11
|
+
checkAbleLevel: number | string;
|
|
11
12
|
autograph: string;
|
|
12
13
|
wordbook: LowCodeTypes.wordbook;
|
|
13
14
|
labelField: string;
|
|
@@ -22,7 +23,7 @@ export declare function useLevelSearchCascader(props: Partial<{
|
|
|
22
23
|
valueKey: import("vue").ComputedRef<string>;
|
|
23
24
|
optionsRef: Ref<AnyObject[]>;
|
|
24
25
|
showRef: Ref<boolean>;
|
|
25
|
-
fetchData: (node?: AnyObject, keyword?: string, updateValueWhenNoChild?: boolean) => Promise<void | AnyObject>;
|
|
26
|
+
fetchData: (node?: AnyObject, keyword?: string, dbClick?: boolean, updateValueWhenNoChild?: boolean) => Promise<void | AnyObject>;
|
|
26
27
|
menuWidth: Ref<number>;
|
|
27
28
|
searchCascaderRef: Ref<{
|
|
28
29
|
getWidth: () => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../utils/index.js";import"naive-ui";import{computed as e,ref as t,watch as r,unref as n}from"vue";import"@vueuse/core";import"date-fns";import{isEqual as i,noop as o,isString as a,isNumber as l,isEmpty as u,isFunction as s,cloneDeep as c,omit as d,isArray as v}from"lodash-es";import{useFormRequest as p}from"./useFormRequest/index.js";import"@vueuse/shared";import"./selectHooks/useSearchContent.js";import"@vicons/ionicons5";function h(h,y,{asyncQueue:f,fieldKey:m,getRequestPayload:k=o}){const g=e({get:()=>h.value,set(e){i(e,h.value)||y("update:value",e)}}),
|
|
1
|
+
import"../utils/index.js";import"naive-ui";import{computed as e,ref as t,watch as r,unref as n}from"vue";import"@vueuse/core";import"date-fns";import{isEqual as i,noop as o,isString as a,isNumber as l,isEmpty as u,isFunction as s,cloneDeep as c,omit as d,isArray as v}from"lodash-es";import{useFormRequest as p}from"./useFormRequest/index.js";import"@vueuse/shared";import"./selectHooks/useSearchContent.js";import"@vicons/ionicons5";function h(h,y,{asyncQueue:f,fieldKey:m,getRequestPayload:k=o}){const g=e({get:()=>h.value,set(e){i(e,h.value)||y("update:value",e)}}),b=t(!1),w=t([]),_=e((()=>{var e,t,r;return null!=(r=null==(t=null==(e=h.wordbook)?void 0:e.show_key)?void 0:t[0])?r:h.labelField})),O=e((()=>{var e,t;return null!=(t=null==(e=h.wordbook)?void 0:e.value_key)?t:h.valueField})),L=e((()=>{var e,t;return null==(t=null==(e=h.wordbook)?void 0:e.render_key)?void 0:t[0]})),j=e((()=>{var e;return(null==(e=h.wordbook)?void 0:e.level_num)||1/0})),C=function(e,t,r){return{transformListToChildren(e){if(!e.length)return[];const t=[(e=c(e))[0]];let r=e[0];for(let t=1;t<e.length;t++){const n=e[t];n&&(r.children=[n],n.parent=r,r=n)}return[e,t]},getNodeDepth(e){let t=1,r=e.parent;for(;r;)t++,r=r.parent;return t},enrichChildOption(e,t,r){return{...e,parent:t,isLeaf:this.getNodeDepth(t)+1>=r}},enrichKeywordOption:(e,n)=>(e.__keyword=!!n,e.isLeaf=!!n,n&&r.value&&e[r.value]&&(e[t.value]=e[r.value]),e),sortOptionWithIdList:(t,r)=>r.map((r=>t.find((t=>t[e.value]===r)))),generateOptionWithIdList(t,r,n){let i=t[0];return{options:r.reduce(((e,r,a)=>{const l=o(t,r);return 0===a?(i=l,[l]):(Object.assign(l,{parent:i,isLeaf:a+1>=n}),i.children=[l],i=l,e)}),[]),lastOption:i};function o(t,r){return t.find((t=>t[e.value]===r))}},parseLinkFromString2List:e=>e.split("_").filter((e=>e)),isClickNodeCheckbox:e=>e&&!e.__keyword&&e.isLeaf,createConfigObject:(t,r,n)=>r?t.conObj||[]:n?[{con:"EQ",is_compare_field:!1,field_key:t.level_key,value:n[e.value]}]:t.conObjFirstLevel||[],createOptionValue(e){const t=[];let r=e;for(;r;)t.unshift(d(r,["parent","isLeaf","__keyword","children"])),r=r.parent;return t},shouldInitOptionList:(t,r,n)=>v(t)&&!u(t)&&t.every((t=>t[e.value]))&&!r&&!n}}(O,_,L),{getSearchRequestInfo:K}=p(),I=t(150),N=t();async function R(e,t,r,i=!0){var o,c;if(I.value=t&&(null==(o=N.value)?void 0:o.getWidth())||150,C.shouldInitOptionList(g.value,e,t)){const[e,t]=C.transformListToChildren(g.value),r=e[Math.max(0,e.length-2)];if(g.value.length>1){w.value=t;const r=e[Math.max(0,e.length-2)];return await R(r,void 0,!1,!1),r}if(null==(c=w.value)?void 0:c.length)return r}try{return C.isClickNodeCheckbox(e)?d(e):e?e.__keyword?async function(){var t;if(!a(e.id_link))return Promise.reject(`id_link isn't string "${e.id_link}"`);const i=C.parseLinkFromString2List(e.id_link);l(j.value)&&j.value!==1/0&&i.splice(j.value);const o=await async function(e){if(!K().primaryKeyUrl)return[];try{return await f.addAsync(t(h.wordbook,h.autograph,e,n(m)))}catch(e){a(e)&&console.error(e)}function t(e,t,r,n){const i=K();return{key:n,params:{autograph:t,tableId:e.id,primaryKeyValue:r.join(","),page:1},...i,url:i.primaryKeyUrl,cache:h.requestCache,payload:{field:{},labelKey:_.value,valueKey:O.value}}}}(i);if(!o)return Promise.reject("fetchPrimaryKeyValue failed");const{lastOption:s,options:c}=C.generateOptionWithIdList(o,i,j.value);i.length<j.value&&(r&&(isNaN(+h.checkAbleLevel)||i.length>=+h.checkAbleLevel)?s&&(s.children=[]):await R(s));if(u(null==s?void 0:s.children))return g.value=C.sortOptionWithIdList(o,i),b.value=!1,Promise.reject("lastOption.children is empty");return w.value=c,null==(t=N.value)||t.setCursor(s),s}():async function(){const t=await f.addAsync(v(h.wordbook,h.autograph,e,n(m)));if(!t.length)return i?d(e):Promise.reject("childrenList is empty");e.children=t.map((t=>C.enrichChildOption(t,e,j.value)))}():async function(){var r;const i=await f.addAsync(v(h.wordbook,h.autograph,e,n(m)));w.value=i.map((e=>C.enrichKeywordOption(e,t))),t&&(null==(r=N.value)||r.setCursor(w.value[0]))}()}catch(e){a(e)&&console.error(e)}function d(e){return g.value=C.createOptionValue(e),b.value=!1,Promise.reject("update value success, no need to continue")}function v(e,r,n,i){const o={autograph:()=>r,wordbookId:"id",wordbookType:"type",fieldKeys:()=>e.search_key?JSON.stringify(e.search_key):void 0,conObj:()=>JSON.stringify(C.createConfigObject(e,t,n)),primaryKey:"primary_key",levelKey:"level_key",keyword:()=>t,page:()=>1},l=Object.entries(o).reduce(((t,[r,n])=>(t[r]=a(n)?e[n]:s(n)?n():void 0,t)),{});return{...K(),params:l,key:i,cache:h.requestCache,payload:{...k(),labelKey:_.value,valueKey:O.value}}}}return r((()=>h.wordbook),((e,t)=>{i(e,t)||(w.value=[],e&&(g.value||!h.lazyRequest)&&R())}),{immediate:!0}),{valueRef:g,labelKey:_,valueKey:O,optionsRef:w,showRef:b,fetchData:R,menuWidth:I,searchCascaderRef:N}}export{h as useLevelSearchCascader};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyObject } from '../../shared/types';
|
|
2
2
|
import { CComponentThemeOverrides } from '../../components/config-provider';
|
|
3
|
-
export declare function useTheme(defaultCssVars?:
|
|
3
|
+
export declare function useTheme(defaultCssVars?: AnyObject, componentKey?: keyof CComponentThemeOverrides): import("vue").ComputedRef<AnyObject>;
|
|
4
4
|
export declare function createOpacityColor(r: number, g: number, b: number, a?: number, opacity?: number): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="@cnhis-design-vue/shared",
|
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.2.6-beta.0",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.2.6-beta.0",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { App } from '@vue/runtime-core';
|
|
2
2
|
export * from './business';
|
|
3
|
-
export
|
|
3
|
+
export type SFCWithInstall<T> = T & {
|
|
4
4
|
install: (app: App, ...options: any[]) => any;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
6
|
+
export type AnyObject = Record<string, any>;
|
|
7
|
+
export type AnyFn<T extends Array<any> = any[], P = any> = (...args: T) => P;
|
|
8
|
+
export type Nullable<T> = T | null | undefined;
|
|
9
|
+
export type UndefinedAble<T> = T | undefined;
|
|
10
|
+
export type ArrayAble<T> = T | T[];
|
|
11
|
+
export type Copy<T> = {
|
|
12
12
|
[K in keyof T]: T[K];
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type PropertyRequired<T, K extends keyof T> = Copy<{
|
|
15
15
|
[KEY in keyof T as KEY extends K ? never : KEY]: T[KEY];
|
|
16
16
|
} & {
|
|
17
17
|
[KEY in K]-?: T[KEY];
|
|
18
18
|
}>;
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
19
|
+
export type TupleToUnion<T extends readonly unknown[]> = T[number];
|
|
20
|
+
type UnionToIntersection<T> = (T extends T ? (params: T) => any : never) extends (P: infer R) => any ? R : never;
|
|
21
|
+
export type UnionToTuple<T, Result extends unknown[] = []> = UnionToIntersection<T extends any ? () => T : never> extends () => infer Return ? UnionToTuple<Exclude<T, Return>, [Return, ...Result]> : Result;
|
|
22
|
+
export type MaybeString<T extends string | number> = T | `${T}`;
|
|
23
|
+
export type GetFn<T> = T extends (...args: any[]) => any ? T : never;
|
|
24
|
+
export type NumberRange<From extends number, End extends number, Result extends number[] = [], U extends readonly unknown[] = [], Flag = false> = U['length'] extends End ? [...Result, U['length']] : U['length'] extends From ? NumberRange<From, End, [...Result, U['length']], [unknown, ...U], true> : Flag extends true ? NumberRange<From, End, [...Result, U['length']], [unknown, ...U], Flag> : NumberRange<From, End, Result, [unknown, ...U], Flag>;
|
|
25
|
+
export type ConstructorParams<T = any> = T extends new (...args: infer P) => any ? P : never;
|
|
@@ -6,5 +6,5 @@ export function handleLabelColor(item: any, isSelect: any): {
|
|
|
6
6
|
};
|
|
7
7
|
export default vexutilsExpand;
|
|
8
8
|
export { moment };
|
|
9
|
-
import vexutilsExpand from
|
|
10
|
-
import moment from
|
|
9
|
+
import vexutilsExpand from './vexutilsExpand';
|
|
10
|
+
import moment from 'moment';
|