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
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
onCloseEvaluateCountdown?: ((...args: any[]) => any) | undefined;
|
|
53
53
|
onWriteGuage?: ((...args: any[]) => any) | undefined;
|
|
54
54
|
}>>;
|
|
55
|
-
emit: (event: "
|
|
55
|
+
emit: (event: "writeGuage" | "closeEvaluateCountdown", ...args: any[]) => void;
|
|
56
56
|
evaluateState: {
|
|
57
57
|
totalLen: number;
|
|
58
58
|
timer: null;
|
|
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
handleEvaluateParams: () => void;
|
|
77
77
|
writeGuage: () => void;
|
|
78
78
|
NButton: any;
|
|
79
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
79
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("writeGuage" | "closeEvaluateCountdown")[], "writeGuage" | "closeEvaluateCountdown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
80
|
formArray: {
|
|
81
81
|
type: ArrayConstructor;
|
|
82
82
|
default: () => never[];
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
type: BooleanConstructor;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
34
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "update:visible")[], "onClose" | "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
35
|
title: {
|
|
36
36
|
type: (StringConstructor | FunctionConstructor)[];
|
|
37
37
|
default: string;
|
|
@@ -68,13 +68,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
closable: boolean;
|
|
72
71
|
cancel: Function;
|
|
73
72
|
visible: boolean;
|
|
74
73
|
modalWidth: string;
|
|
75
74
|
modalHeight: string;
|
|
76
75
|
title: string | Function;
|
|
77
76
|
handleOk: Function;
|
|
77
|
+
closable: boolean;
|
|
78
78
|
changeSize: boolean;
|
|
79
79
|
}>;
|
|
80
80
|
export default _default;
|
|
@@ -496,7 +496,7 @@ export declare const componentMap: {
|
|
|
496
496
|
form: Record<string, any>;
|
|
497
497
|
locationProp: string;
|
|
498
498
|
}>>;
|
|
499
|
-
LABEL: import("vue").ShallowRef<import("
|
|
499
|
+
LABEL: import("vue").ShallowRef<import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
500
500
|
type: {
|
|
501
501
|
type: StringConstructor;
|
|
502
502
|
default: string;
|
|
@@ -825,13 +825,7 @@ export declare const componentMap: {
|
|
|
825
825
|
handleResetOptions: () => void;
|
|
826
826
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
827
827
|
NAnchor: any;
|
|
828
|
-
NAnchorLink:
|
|
829
|
-
readonly title: StringConstructor;
|
|
830
|
-
readonly href: StringConstructor;
|
|
831
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
832
|
-
readonly title: StringConstructor;
|
|
833
|
-
readonly href: StringConstructor;
|
|
834
|
-
}>>, {}>;
|
|
828
|
+
NAnchorLink: any;
|
|
835
829
|
labelClassify: import("vue").DefineComponent<{
|
|
836
830
|
classifyItem: {
|
|
837
831
|
type: null;
|
|
@@ -1199,13 +1193,7 @@ export declare const componentMap: {
|
|
|
1199
1193
|
handleLabelForm: (cb: Function) => void;
|
|
1200
1194
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
1201
1195
|
NAnchor: any;
|
|
1202
|
-
NAnchorLink:
|
|
1203
|
-
readonly title: StringConstructor;
|
|
1204
|
-
readonly href: StringConstructor;
|
|
1205
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1206
|
-
readonly title: StringConstructor;
|
|
1207
|
-
readonly href: StringConstructor;
|
|
1208
|
-
}>>, {}>;
|
|
1196
|
+
NAnchorLink: any;
|
|
1209
1197
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
1210
1198
|
categoryItem: {
|
|
1211
1199
|
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType>;
|
|
@@ -28,7 +28,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
28
28
|
default: () => never[];
|
|
29
29
|
};
|
|
30
30
|
search: {
|
|
31
|
-
type: import("vue").PropType<import("../../shared/types").AnyFn
|
|
31
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
|
32
32
|
};
|
|
33
33
|
labelKey: {
|
|
34
34
|
type: StringConstructor;
|
|
@@ -86,7 +86,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
86
86
|
default: () => never[];
|
|
87
87
|
};
|
|
88
88
|
search: {
|
|
89
|
-
type: import("vue").PropType<import("../../shared/types").AnyFn
|
|
89
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
|
90
90
|
};
|
|
91
91
|
labelKey: {
|
|
92
92
|
type: StringConstructor;
|
|
@@ -116,11 +116,11 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
116
116
|
};
|
|
117
117
|
}>> & {
|
|
118
118
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
119
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
120
119
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
}>>;
|
|
122
|
-
cssVars: import("vue").ComputedRef<import("
|
|
123
|
-
emit: (event: "
|
|
122
|
+
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
123
|
+
emit: (event: "focus" | "update:show" | "update:value", ...args: any[]) => void;
|
|
124
124
|
emitValue: (value: string | import("../../shared/types").AnyObject[]) => void;
|
|
125
125
|
clearableRef: import("vue").ComputedRef<number | boolean>;
|
|
126
126
|
onClear: () => void;
|
|
@@ -146,6 +146,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
146
146
|
search: (payload?: {
|
|
147
147
|
type: "search" | "update";
|
|
148
148
|
node: import("../../shared/types").AnyObject;
|
|
149
|
+
dbClick?: boolean | undefined;
|
|
149
150
|
} | undefined, keyword?: string | undefined) => Promise<void>;
|
|
150
151
|
changeCursorNode: (node: import("../../shared/types").AnyObject) => void;
|
|
151
152
|
NInput: any;
|
|
@@ -174,7 +175,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
174
175
|
cursorNode: {
|
|
175
176
|
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
176
177
|
};
|
|
177
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
178
|
+
}, () => 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<{
|
|
178
179
|
childKey: {
|
|
179
180
|
type: StringConstructor;
|
|
180
181
|
default: string;
|
|
@@ -198,15 +199,15 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
198
199
|
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
199
200
|
};
|
|
200
201
|
}>> & {
|
|
201
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
202
202
|
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
203
|
+
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
203
204
|
}, {
|
|
204
205
|
options: import("../../shared/types").AnyObject[];
|
|
205
|
-
valueKey: string;
|
|
206
206
|
childKey: string;
|
|
207
207
|
labelKey: string;
|
|
208
|
+
valueKey: string;
|
|
208
209
|
}>;
|
|
209
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
210
|
+
}, 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<{
|
|
210
211
|
value: {
|
|
211
212
|
type: import("vue").PropType<string | import("../../shared/types").AnyObject[]>;
|
|
212
213
|
};
|
|
@@ -235,7 +236,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
235
236
|
default: () => never[];
|
|
236
237
|
};
|
|
237
238
|
search: {
|
|
238
|
-
type: import("vue").PropType<import("../../shared/types").AnyFn
|
|
239
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
|
239
240
|
};
|
|
240
241
|
labelKey: {
|
|
241
242
|
type: StringConstructor;
|
|
@@ -265,18 +266,18 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
265
266
|
};
|
|
266
267
|
}>> & {
|
|
267
268
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
268
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
269
269
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
270
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
270
271
|
}, {
|
|
271
|
-
disabled: boolean;
|
|
272
|
-
show: boolean;
|
|
273
272
|
options: import("../../shared/types").AnyObject[];
|
|
273
|
+
disabled: boolean;
|
|
274
274
|
placeholder: string;
|
|
275
|
-
|
|
275
|
+
show: boolean;
|
|
276
276
|
clearable: boolean;
|
|
277
277
|
childKey: string;
|
|
278
278
|
editPlaceholder: string;
|
|
279
279
|
labelKey: string;
|
|
280
|
+
valueKey: string;
|
|
280
281
|
checkAbleLevel: number | "last";
|
|
281
282
|
menuWidth: string | number;
|
|
282
283
|
}>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyObject, AnyFn, Nullable } from '../../../shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
|
|
3
|
+
type ValueType = string | AnyObject[];
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
value: {
|
|
6
6
|
type: PropType<ValueType>;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: () => never[];
|
|
31
31
|
};
|
|
32
32
|
search: {
|
|
33
|
-
type: PropType<AnyFn
|
|
33
|
+
type: PropType<AnyFn>;
|
|
34
34
|
};
|
|
35
35
|
labelKey: {
|
|
36
36
|
type: StringConstructor;
|
|
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
default: () => never[];
|
|
89
89
|
};
|
|
90
90
|
search: {
|
|
91
|
-
type: PropType<AnyFn
|
|
91
|
+
type: PropType<AnyFn>;
|
|
92
92
|
};
|
|
93
93
|
labelKey: {
|
|
94
94
|
type: StringConstructor;
|
|
@@ -118,11 +118,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
};
|
|
119
119
|
}>> & {
|
|
120
120
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
121
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
122
121
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
}>>;
|
|
124
|
-
cssVars: import("vue").ComputedRef<
|
|
125
|
-
emit: (event: "
|
|
124
|
+
cssVars: import("vue").ComputedRef<AnyObject>;
|
|
125
|
+
emit: (event: "focus" | "update:show" | "update:value", ...args: any[]) => void;
|
|
126
126
|
emitValue: (value: ValueType) => void;
|
|
127
127
|
clearableRef: import("vue").ComputedRef<number | boolean>;
|
|
128
128
|
onClear: () => void;
|
|
@@ -148,6 +148,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
148
|
search: (payload?: {
|
|
149
149
|
type: 'search' | 'update';
|
|
150
150
|
node: AnyObject;
|
|
151
|
+
dbClick?: boolean;
|
|
151
152
|
}, keyword?: string) => Promise<void>;
|
|
152
153
|
changeCursorNode: (node: AnyObject) => void;
|
|
153
154
|
NInput: any;
|
|
@@ -176,7 +177,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
176
177
|
cursorNode: {
|
|
177
178
|
type: PropType<AnyObject>;
|
|
178
179
|
};
|
|
179
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
180
|
+
}, () => 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<{
|
|
180
181
|
childKey: {
|
|
181
182
|
type: StringConstructor;
|
|
182
183
|
default: string;
|
|
@@ -200,15 +201,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
200
201
|
type: PropType<AnyObject>;
|
|
201
202
|
};
|
|
202
203
|
}>> & {
|
|
203
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
204
204
|
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
205
|
+
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
205
206
|
}, {
|
|
206
207
|
options: AnyObject[];
|
|
207
|
-
valueKey: string;
|
|
208
208
|
childKey: string;
|
|
209
209
|
labelKey: string;
|
|
210
|
+
valueKey: string;
|
|
210
211
|
}>;
|
|
211
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
212
|
+
}, 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<{
|
|
212
213
|
value: {
|
|
213
214
|
type: PropType<ValueType>;
|
|
214
215
|
};
|
|
@@ -237,7 +238,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
238
|
default: () => never[];
|
|
238
239
|
};
|
|
239
240
|
search: {
|
|
240
|
-
type: PropType<AnyFn
|
|
241
|
+
type: PropType<AnyFn>;
|
|
241
242
|
};
|
|
242
243
|
labelKey: {
|
|
243
244
|
type: StringConstructor;
|
|
@@ -267,18 +268,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
267
268
|
};
|
|
268
269
|
}>> & {
|
|
269
270
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
270
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
271
271
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
272
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
272
273
|
}, {
|
|
273
|
-
disabled: boolean;
|
|
274
|
-
show: boolean;
|
|
275
274
|
options: AnyObject[];
|
|
275
|
+
disabled: boolean;
|
|
276
276
|
placeholder: string;
|
|
277
|
-
|
|
277
|
+
show: boolean;
|
|
278
278
|
clearable: boolean;
|
|
279
279
|
childKey: string;
|
|
280
280
|
editPlaceholder: string;
|
|
281
281
|
labelKey: string;
|
|
282
|
+
valueKey: string;
|
|
282
283
|
checkAbleLevel: number | "last";
|
|
283
284
|
menuWidth: string | number;
|
|
284
285
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as a,provide as t,ref as l,nextTick as o,watch as r,openBlock as u,createBlock as n,unref as s,mergeProps as i,isRef as d,withCtx as c,createElementVNode as v,createVNode as p,createCommentVNode as f,normalizeStyle as h,renderSlot as y}from"vue";import{useTheme as m}from"../../../shared/hooks/useTheme.js";import{useEventBus as b,useVModel as g,onClickOutside as k,useDebounceFn as w}from"@vueuse/core";import"date-fns";import{isArray as S,isString as C,isObject as K,isFunction as j}from"lodash-es";import{isPromise as P,NOOP as _}from"@vue/shared";import{uuidGenerator as N}from"../../../shared/utils/index.js";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{NPopover as x,NInput as A}from"naive-ui";import U from"./components/ClearIcon.vue.js";import{InjectionSearchCascaderCheckAbleLevel as W,InjectionKeyboardEventBus as B,InjectionSearchCascaderLoadingNode as F,InjectionSearchCascaderValue as I}from"./constants/index.js";import{SearchMenu as L}from"./components/SearchMenu.js";const T={style:{width:"100%"}},V=["id"];var E=e({__name:"SearchCascader",props:{value:{type:[String,Array]},show:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},childKey:{type:String,default:"children"},placeholder:{type:String,default:"请选择"},editPlaceholder:{type:String,default:"请输入关键字进行搜索"},options:{type:Array,default:()=>[]},search:{type:Function},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},checkAbleLevel:{type:[Number,String],default:"last"},beforeSetValue:{type:Function},menuWidth:{type:[Number,String],default:150},disabled:Boolean,inputProps:{type:Object},popperProps:{type:Object}},emits:["update:value","focus","update:show"],setup(e,{expose:E,emit:O}){const R=e,$=m();const H=a((()=>!R.disabled&&R.clearable&&(S(R.value)?R.value.length:!!R.value)));function M(){!function(e){if(!j(R.beforeSetValue))return O("update:value",e);const a=R.beforeSetValue(e);P(a)?a.then((e=>O("update:value",e)),_):O("update:value",a)}([])}function q(e){var a;"INPUT"===(null==(a=e.target)?void 0:a.tagName)&&ae()}const z=e=>{var a;"INPUT"!==(null==(a=e.target)?void 0:a.tagName)||"Enter"!==e.code||Q.value?G.emit(e.key,e):ae()},D=a((()=>({"--menu-width":R.menuWidth}))),G=b("cascaderKeydown"),J=N(),Q=g(R,"show",O);t(W,a((()=>R.checkAbleLevel))),t(B,G);const X=l(""),Y=a((()=>C(R.value)&&R.value?R.value:S(R.value)&&R.value.length?R.value.map((e=>K(e)?e[R.labelKey]:e)).join(" / "):R.editPlaceholder)),Z=a({get:()=>Q.value?X.value:C(R.value)?R.value:S(R.value)?R.value.reduce(((e,a,t)=>0===t?a[R.labelKey]:e+" / "+a[R.labelKey]),""):"",set(e){X.value=e,se(void 0,e)}});function ee(e){O("focus",e)}function ae(){Q.value||R.disabled||(Q.value=!0,X.value="",se())}async function te(){var e;Q.value=!1,null==(e=le.value)||e.blur()}const le=l();k(le,(e=>{var a;if(!Q.value)return;const t=e;if(!t.target)return te();!function(e){let a=!1,t=e;for(;t;){if(t.id===J){a=!0;break}t=t.parentElement}return a}(t.target)?te():null==(a=le.value)||a.focus()}));const oe=l(),re=l(),ue=l(),ne=l(null);t(F,ne),t(I,a((()=>R.value)));const se=w((async(e,a)=>{var t;const{type:l,node:r}=e||{};try{if("update"===l)return void(j(R.search)&&R.search({...r,isLeaf:!0}));ne.value=r;const e=await(j(R.search)&&R.search(r,a));re.value=K(e)||S(e)?e:r}finally{ne.value=null,await o(),null==(t=oe.value)||t.syncPosition()}}),400),ie=e=>{ue.value=e};return r((()=>R.show),(e=>{e&&(ue.value={})})),E({getWidth(){var e;if(!le.value)return 0;const a=null==(e=le.value)?void 0:e.$el;return a?a.clientWidth:void 0},setCursor(e){ue.value=e}}),(a,t)=>(u(),n(s(x),i({class:"search-cascader",trigger:"manual",show:s(Q),"onUpdate:show":t[1]||(t[1]=e=>d(Q)?Q.value=e:null),"show-arrow":!1,placement:"bottom-start",style:s(D),disabled:e.disabled,width:e.options.length?void 0:"trigger",ref_key:"popoverRef",ref:oe},e.popperProps),{trigger:c((()=>[v("div",T,[p(s(A),i({disabled:e.disabled,class:{"search-cascader__input":!e.disabled},placeholder:s(Q)?s(Y):e.placeholder,clearable:!1,value:s(Z),"onUpdate:value":t[0]||(t[0]=e=>d(Z)?Z.value=e:null),readonly:!s(Q),ref_key:"inputRef",ref:le,onFocus:ee,onClick:q,onKeydown:z},e.inputProps),{suffix:c((()=>[s(H)?(u(),n(U,{key:0,onClick:M})):f("v-if",!0)])),_:1},16,["disabled","class","placeholder","value","readonly"])])])),default:c((()=>[v("section",{id:s(J)},[p(s(L),{style:h(s($)),"label-key":e.labelKey,"value-key":e.valueKey,options:e.options,onNodeClick:s(se),onChangeCursor:ie,"current-node":re.value,"cursor-node":ue.value},{empty:c((()=>[y(a.$slots,"empty")])),_:3},8,["style","label-key","value-key","options","onNodeClick","current-node","cursor-node"])],8,V)])),_:3},16,["show","style","disabled","width"]))}});export{E as default};
|
|
1
|
+
import{defineComponent as e,computed as a,provide as t,ref as l,nextTick as o,watch as r,openBlock as u,createBlock as n,unref as s,mergeProps as i,isRef as d,withCtx as c,createElementVNode as v,createVNode as p,createCommentVNode as f,normalizeStyle as h,renderSlot as y}from"vue";import{useTheme as m}from"../../../shared/hooks/useTheme.js";import{useEventBus as b,useVModel as g,onClickOutside as k,useDebounceFn as w}from"@vueuse/core";import"date-fns";import{isArray as S,isString as C,isObject as K,isFunction as j}from"lodash-es";import{isPromise as P,NOOP as _}from"@vue/shared";import{uuidGenerator as N}from"../../../shared/utils/index.js";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{NPopover as x,NInput as A}from"naive-ui";import U from"./components/ClearIcon.vue.js";import{InjectionSearchCascaderCheckAbleLevel as W,InjectionKeyboardEventBus as B,InjectionSearchCascaderLoadingNode as F,InjectionSearchCascaderValue as I}from"./constants/index.js";import{SearchMenu as L}from"./components/SearchMenu.js";const T={style:{width:"100%"}},V=["id"];var E=e({__name:"SearchCascader",props:{value:{type:[String,Array]},show:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},childKey:{type:String,default:"children"},placeholder:{type:String,default:"请选择"},editPlaceholder:{type:String,default:"请输入关键字进行搜索"},options:{type:Array,default:()=>[]},search:{type:Function},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},checkAbleLevel:{type:[Number,String],default:"last"},beforeSetValue:{type:Function},menuWidth:{type:[Number,String],default:150},disabled:Boolean,inputProps:{type:Object},popperProps:{type:Object}},emits:["update:value","focus","update:show"],setup(e,{expose:E,emit:O}){const R=e,$=m();const H=a((()=>!R.disabled&&R.clearable&&(S(R.value)?R.value.length:!!R.value)));function M(){!function(e){if(!j(R.beforeSetValue))return O("update:value",e);const a=R.beforeSetValue(e);P(a)?a.then((e=>O("update:value",e)),_):O("update:value",a)}([])}function q(e){var a;"INPUT"===(null==(a=e.target)?void 0:a.tagName)&&ae()}const z=e=>{var a;"INPUT"!==(null==(a=e.target)?void 0:a.tagName)||"Enter"!==e.code||Q.value?G.emit(e.key,e):ae()},D=a((()=>({"--menu-width":R.menuWidth}))),G=b("cascaderKeydown"),J=N(),Q=g(R,"show",O);t(W,a((()=>R.checkAbleLevel))),t(B,G);const X=l(""),Y=a((()=>C(R.value)&&R.value?R.value:S(R.value)&&R.value.length?R.value.map((e=>K(e)?e[R.labelKey]:e)).join(" / "):R.editPlaceholder)),Z=a({get:()=>Q.value?X.value:C(R.value)?R.value:S(R.value)?R.value.reduce(((e,a,t)=>0===t?a[R.labelKey]:e+" / "+a[R.labelKey]),""):"",set(e){X.value=e,se(void 0,e)}});function ee(e){O("focus",e)}function ae(){Q.value||R.disabled||(Q.value=!0,X.value="",se())}async function te(){var e;Q.value=!1,null==(e=le.value)||e.blur()}const le=l();k(le,(e=>{var a;if(!Q.value)return;const t=e;if(!t.target)return te();!function(e){let a=!1,t=e;for(;t;){if(t.id===J){a=!0;break}t=t.parentElement}return a}(t.target)?te():null==(a=le.value)||a.focus()}));const oe=l(),re=l(),ue=l(),ne=l(null);t(F,ne),t(I,a((()=>R.value)));const se=w((async(e,a)=>{var t;const{type:l,node:r,dbClick:u}=e||{};try{if("update"===l)return void(j(R.search)&&R.search({...r,isLeaf:!0}));ne.value=r;const e=await(j(R.search)&&R.search(r,a,u));re.value=K(e)||S(e)?e:r}finally{ne.value=null,await o(),null==(t=oe.value)||t.syncPosition()}}),400),ie=e=>{ue.value=e};return r((()=>R.show),(e=>{e&&(ue.value={})})),E({getWidth(){var e;if(!le.value)return 0;const a=null==(e=le.value)?void 0:e.$el;return a?a.clientWidth:void 0},setCursor(e){ue.value=e}}),(a,t)=>(u(),n(s(x),i({class:"search-cascader",trigger:"manual",show:s(Q),"onUpdate:show":t[1]||(t[1]=e=>d(Q)?Q.value=e:null),"show-arrow":!1,placement:"bottom-start",style:s(D),disabled:e.disabled,width:e.options.length?void 0:"trigger",ref_key:"popoverRef",ref:oe},e.popperProps),{trigger:c((()=>[v("div",T,[p(s(A),i({disabled:e.disabled,class:{"search-cascader__input":!e.disabled},placeholder:s(Q)?s(Y):e.placeholder,clearable:!1,value:s(Z),"onUpdate:value":t[0]||(t[0]=e=>d(Z)?Z.value=e:null),readonly:!s(Q),ref_key:"inputRef",ref:le,onFocus:ee,onClick:q,onKeydown:z},e.inputProps),{suffix:c((()=>[s(H)?(u(),n(U,{key:0,onClick:M})):f("v-if",!0)])),_:1},16,["disabled","class","placeholder","value","readonly"])])])),default:c((()=>[v("section",{id:s(J)},[p(s(L),{style:h(s($)),"label-key":e.labelKey,"value-key":e.valueKey,options:e.options,onNodeClick:s(se),onChangeCursor:ie,"current-node":re.value,"cursor-node":ue.value},{empty:c((()=>[y(a.$slots,"empty")])),_:3},8,["style","label-key","value-key","options","onNodeClick","current-node","cursor-node"])],8,V)])),_:3},16,["show","style","disabled","width"]))}});export{E as default};
|
|
@@ -23,7 +23,7 @@ export declare const SearchMenu: import("vue").DefineComponent<{
|
|
|
23
23
|
cursorNode: {
|
|
24
24
|
type: PropType<AnyObject>;
|
|
25
25
|
};
|
|
26
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
26
|
+
}, () => 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<{
|
|
27
27
|
childKey: {
|
|
28
28
|
type: StringConstructor;
|
|
29
29
|
default: string;
|
|
@@ -47,11 +47,11 @@ export declare const SearchMenu: import("vue").DefineComponent<{
|
|
|
47
47
|
type: PropType<AnyObject>;
|
|
48
48
|
};
|
|
49
49
|
}>> & {
|
|
50
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
51
50
|
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
options: AnyObject[];
|
|
54
|
-
valueKey: string;
|
|
55
54
|
childKey: string;
|
|
56
55
|
labelKey: string;
|
|
56
|
+
valueKey: string;
|
|
57
57
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as
|
|
1
|
+
import{defineComponent as e,ref as t,createVNode as r,createTextVNode as o,computed as n,inject as l,onBeforeUnmount as a,withModifiers as c}from"vue";import{traverse as s}from"../../../../shared/utils/index.js";import{Reload as u,ChevronForward as i}from"@vicons/ionicons5";import{NOOP as d}from"@vue/shared";import{useVirtualList as p}from"@vueuse/core";import{isArray as f,isFunction as v,isNumber as y,isEqual as h,isString as m}from"lodash-es";import{NCheckbox as N}from"naive-ui";import{InjectionSearchCascaderLoadingNode as g,InjectionSearchCascaderValue as C,InjectionSearchCascaderCheckAbleLevel as k,InjectionKeyboardEventBus as b}from"../constants/index.js";const K=e({props:{options:{type:Array,default:()=>[]},activeNodes:{type:Array,default:()=>[]},level:{type:Number,required:!0},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},cursorNode:{type:Object,default:()=>({})}},emits:["nodeClick","changeCursor"],setup(e,{emit:t}){const o=n((()=>e.options)),{list:s,containerProps:v,wrapperProps:K}=p(o,{itemHeight:32,overscan:5}),_=l(g),x=l(C),A=l(k),S=l(b),j=n((()=>y(A.value)&&A.value<=e.level));function w(e){return Object.keys(e).length<=0}function T(t){return e.cursorNode==t}function I(t){const r=function(e){const t=[e];let r=e;for(;r.parent;)r=r.parent,t.unshift(r);return t}(t);if(f(x.value))return h(o(r,e.valueKey),o(x.value,e.valueKey));if(m(x.value)){const t=x.value.split("/").map((e=>e.trim()));return h(t,o(r,e.labelKey))}return!1;function o(e,t){return e.map((e=>e[t]))}}function O(e){const t=v.ref.value;if(t){const r=32*e-(null==t?void 0:t.clientHeight);t.scrollTo(0,r>0?r:0)}}function R(r,n){if("ArrowUp"===r){if(w(e.cursorNode))return;const r=o.value.findIndex((t=>t===e.cursorNode));if(r>=0){const e=0===r?o.value.length-1:r-1,n=o.value[e];t("changeCursor",n),O(e+3)}}if("ArrowRight"===r){if(w(e.cursorNode))return;t("nodeClick",{type:"search",node:e.cursorNode}),t("changeCursor",{})}if("ArrowDown"===r){if(w(e.cursorNode))return t("changeCursor",o.value[0]);const r=o.value.findIndex((t=>t===e.cursorNode));if(r>=0){const e=r>=o.value.length-1?0:r+1,n=o.value[e];t("changeCursor",n),O(e+1)}}if("ArrowLeft"===r&&e.activeNodes.length){const r=e.activeNodes.slice(-1);t("changeCursor",r[0])}"Enter"===r&&function(){if(!w(e.cursorNode))Reflect.set(n,"stopCapture",!0),j.value?t("nodeClick",{type:"update",node:e.cursorNode}):t("nodeClick",{type:"search",node:e.cursorNode})}()}a((()=>{S.off(R)}));let W=null,H=0;return S.on(R),()=>r("div",{class:"search-cascader__optionWrapper",ref:v.ref,style:v.style,onScroll:v.onScroll},[r("div",{style:K.value.style},[s.value.map((o=>{return r("div",{class:["search-cascader__option",{"search-cascader__option--active":(n=o.data,(null==(l=e.activeNodes)?void 0:l.includes(n))||T(o.data))}],onClick:()=>function(e){H++,1===H?W=setTimeout((()=>{t("nodeClick",{type:"search",node:e}),W=null}),200):(W&&clearTimeout(W),W=setTimeout((()=>{t("nodeClick",{type:"search",node:e,dbClick:!0}),H=0,W=null}),200))}(o.data),title:o.data[e.labelKey]},[r("div",{class:"search-cascader__optionText"},[j.value?r(N,{style:{marginRight:"8px"},checked:I(o.data),onClick:c(d,["stop"]),onUpdateChecked:e=>e&&function(e){t("nodeClick",{type:"update",node:e})}(o.data)},null):null,r("span",{class:{"search-cascader__optionText--active":I(o.data)}},[o.data[e.labelKey]])]),_.value===o.data?r(u,{class:"rotate"},null):o.data.isLeaf?null:r(i,null,null)]);var n,l}))])])}}),_=e({props:{childKey:{type:String,default:"children"},options:{type:Array,default:()=>[]},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},currentNode:{type:Object},cursorNode:{type:Object}},emits:["nodeClick","changeCursor"],setup(e,{slots:n,emit:l}){const a=t([]);function c(t,o){return r(K,{level:o+1,labelKey:e.labelKey,valueKey:e.valueKey,activeNodes:a.value,onNodeClick:e=>l("nodeClick",e),onChangeCursor:e=>l("changeCursor",e),options:t,cursorNode:e.cursorNode},null)}function u(t){let r=!1;return s(t,((t,o)=>{e.currentNode===t&&(r=!0,o())}),["children"]),r}function i(){var t,r;if(!f(e.options)||!e.currentNode)return[];const o=[e.options];let n=e.options;for(a.value.length=0;f(n);){const t=n.find(u);if(!t)break;a.value.push(t),n=t[e.childKey],o.push(n)}if(e.cursorNode){const n=o.findIndex((t=>(t&&t.findIndex((t=>t===e.cursorNode)))>=0));if(n>=0&&!(null==(r=null==(t=e.cursorNode)?void 0:t.children)?void 0:r.length)){const e=o.slice(0,n+1);return a.value.splice(n,o.length),e}}return o}return()=>r("section",{class:"search-cascader__menuWrapper"},[f(e.options)&&e.options.length?e.currentNode?i().map(c):c(e.options,0):r("section",{class:"search-cascader__emptyWrapper"},[v(n.empty)?n.empty():r("section",null,[o("empty")])])])}});export{_ as SearchMenu};
|
|
@@ -328,13 +328,7 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
328
328
|
handleResetOptions: () => void;
|
|
329
329
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
330
330
|
NAnchor: any;
|
|
331
|
-
NAnchorLink:
|
|
332
|
-
readonly title: StringConstructor;
|
|
333
|
-
readonly href: StringConstructor;
|
|
334
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
335
|
-
readonly title: StringConstructor;
|
|
336
|
-
readonly href: StringConstructor;
|
|
337
|
-
}>>, {}>;
|
|
331
|
+
NAnchorLink: any;
|
|
338
332
|
labelClassify: import("vue").DefineComponent<{
|
|
339
333
|
classifyItem: {
|
|
340
334
|
type: null;
|
|
@@ -702,13 +696,7 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
702
696
|
handleLabelForm: (cb: Function) => void;
|
|
703
697
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
704
698
|
NAnchor: any;
|
|
705
|
-
NAnchorLink:
|
|
706
|
-
readonly title: StringConstructor;
|
|
707
|
-
readonly href: StringConstructor;
|
|
708
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
709
|
-
readonly title: StringConstructor;
|
|
710
|
-
readonly href: StringConstructor;
|
|
711
|
-
}>>, {}>;
|
|
699
|
+
NAnchorLink: any;
|
|
712
700
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
713
701
|
categoryItem: {
|
|
714
702
|
type: import("vue").PropType<import("./src/types").ICategoryLabelItemType>;
|
|
@@ -1006,13 +994,7 @@ declare const LabelFormContent: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1006
994
|
handleResetOptions: () => void;
|
|
1007
995
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
1008
996
|
NAnchor: any;
|
|
1009
|
-
NAnchorLink:
|
|
1010
|
-
readonly title: StringConstructor;
|
|
1011
|
-
readonly href: StringConstructor;
|
|
1012
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1013
|
-
readonly title: StringConstructor;
|
|
1014
|
-
readonly href: StringConstructor;
|
|
1015
|
-
}>>, {}>;
|
|
997
|
+
NAnchorLink: any;
|
|
1016
998
|
labelClassify: import("vue").DefineComponent<{
|
|
1017
999
|
classifyItem: {
|
|
1018
1000
|
type: null;
|
|
@@ -110,13 +110,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
handleResetOptions: () => void;
|
|
111
111
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
112
112
|
NAnchor: any;
|
|
113
|
-
NAnchorLink:
|
|
114
|
-
readonly title: StringConstructor;
|
|
115
|
-
readonly href: StringConstructor;
|
|
116
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
117
|
-
readonly title: StringConstructor;
|
|
118
|
-
readonly href: StringConstructor;
|
|
119
|
-
}>>, {}>;
|
|
113
|
+
NAnchorLink: any;
|
|
120
114
|
labelClassify: import("vue").DefineComponent<{
|
|
121
115
|
classifyItem: {
|
|
122
116
|
type: null;
|
|
@@ -265,13 +265,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
265
265
|
handleResetOptions: () => void;
|
|
266
266
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
267
267
|
NAnchor: any;
|
|
268
|
-
NAnchorLink:
|
|
269
|
-
readonly title: StringConstructor;
|
|
270
|
-
readonly href: StringConstructor;
|
|
271
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
272
|
-
readonly title: StringConstructor;
|
|
273
|
-
readonly href: StringConstructor;
|
|
274
|
-
}>>, {}>;
|
|
268
|
+
NAnchorLink: any;
|
|
275
269
|
labelClassify: import("vue").DefineComponent<{
|
|
276
270
|
classifyItem: {
|
|
277
271
|
type: null;
|
|
@@ -46,13 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
handleLabelForm: (cb: Function) => void;
|
|
47
47
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
48
48
|
NAnchor: any;
|
|
49
|
-
NAnchorLink:
|
|
50
|
-
readonly title: StringConstructor;
|
|
51
|
-
readonly href: StringConstructor;
|
|
52
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
-
readonly title: StringConstructor;
|
|
54
|
-
readonly href: StringConstructor;
|
|
55
|
-
}>>, {}>;
|
|
49
|
+
NAnchorLink: any;
|
|
56
50
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
57
51
|
categoryItem: {
|
|
58
52
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -103,13 +103,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
handleLabelForm: (cb: Function) => void;
|
|
104
104
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
105
105
|
NAnchor: any;
|
|
106
|
-
NAnchorLink:
|
|
107
|
-
readonly title: StringConstructor;
|
|
108
|
-
readonly href: StringConstructor;
|
|
109
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
|
-
readonly title: StringConstructor;
|
|
111
|
-
readonly href: StringConstructor;
|
|
112
|
-
}>>, {}>;
|
|
106
|
+
NAnchorLink: any;
|
|
113
107
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
114
108
|
categoryItem: {
|
|
115
109
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -329,13 +329,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
329
329
|
handleResetOptions: () => void;
|
|
330
330
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
331
331
|
NAnchor: any;
|
|
332
|
-
NAnchorLink:
|
|
333
|
-
readonly title: StringConstructor;
|
|
334
|
-
readonly href: StringConstructor;
|
|
335
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
336
|
-
readonly title: StringConstructor;
|
|
337
|
-
readonly href: StringConstructor;
|
|
338
|
-
}>>, {}>;
|
|
332
|
+
NAnchorLink: any;
|
|
339
333
|
labelClassify: import("vue").DefineComponent<{
|
|
340
334
|
classifyItem: {
|
|
341
335
|
type: null;
|
|
@@ -703,13 +697,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
703
697
|
handleLabelForm: (cb: Function) => void;
|
|
704
698
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
705
699
|
NAnchor: any;
|
|
706
|
-
NAnchorLink:
|
|
707
|
-
readonly title: StringConstructor;
|
|
708
|
-
readonly href: StringConstructor;
|
|
709
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
710
|
-
readonly title: StringConstructor;
|
|
711
|
-
readonly href: StringConstructor;
|
|
712
|
-
}>>, {}>;
|
|
700
|
+
NAnchorLink: any;
|
|
713
701
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
714
702
|
categoryItem: {
|
|
715
703
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ICategoryLabelItemType = {
|
|
2
2
|
classifyId: string;
|
|
3
3
|
classifyName: string;
|
|
4
4
|
labelList: IhoTabLabelItemType[];
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type IhoTabLabelItemType = {
|
|
7
7
|
labelCode: string;
|
|
8
8
|
labelShowText: string;
|
|
9
9
|
backgroundColor: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ISelectLabelItemType = Pick<ICategoryLabelItemType, 'classifyId' | 'classifyName'> & Pick<IhoTabLabelItemType, 'labelCode' | 'labelShowText' | 'backgroundColor'>;
|