cnhis-design-vue 3.1.55-beta.2 → 3.1.55-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/annotation-edit/index.d.ts +1 -1
- package/es/components/annotation-edit/src/AnnotationEdit.d.ts +1 -1
- package/es/components/audio-sdk/src/audioSDK.d.ts +7 -3
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +1 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/index.d.ts +1 -1
- package/es/components/base-search/src/index.vue.d.ts +4 -4
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/big-table/index.d.ts +22 -22
- package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
- package/es/components/big-table/src/bigTableProps.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +5 -5
- package/es/components/big-table/src/components/edit-form/useCommon.d.ts +1 -1
- package/es/components/big-table/src/components/separate.vue.d.ts +1 -1
- package/es/components/big-table/src/constants/index.d.ts +1 -1
- package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
- package/es/components/big-table/src/hooks/useFormat.d.ts +1 -1
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
- package/es/components/big-table/src/utils.d.ts +1 -1
- package/es/components/biunique-chat/index.d.ts +14 -14
- package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/api/index.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/utils/chatSock.d.ts +1 -1
- package/es/components/body-select/index.d.ts +5 -5
- package/es/components/body-select/src/hooks/renderCanvas.d.ts +2 -2
- package/es/components/body-select/src/index.vue.d.ts +1 -1
- package/es/components/bpmn-workflow/index.d.ts +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/index.d.ts +21 -21
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/api.d.ts +1 -1
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +1 -1
- package/es/components/button-print/src/utils/dialog.d.ts +1 -1
- package/es/components/button-print/src/utils/print.d.ts +2 -2
- package/es/components/callback/index.d.ts +1 -1
- package/es/components/callback/src/components/dialog/drawer.vue.d.ts +1 -1
- package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +61 -162
- package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +1 -1
- package/es/components/card-reader-sdk/src/constants/index.d.ts +1 -1
- package/es/components/card-reader-sdk/src/insuranceSDK.d.ts +1 -1
- package/es/components/card-reader-sdk/src/types/index.d.ts +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.d.ts +1 -1
- package/es/components/classification/index.d.ts +20 -20
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +13 -13
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
- package/es/components/classification/src/index.vue.d.ts +13 -13
- package/es/components/config-provider/index.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/editor/index.d.ts +1 -1
- package/es/components/expand-field/index.d.ts +29 -29
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
- package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/expand-field/src/constants/index.d.ts +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +2 -2
- package/es/components/fabric-chart/index.d.ts +6 -6
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +4 -1
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +5 -4
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +2 -2
- package/es/components/fabric-chart/src/interface.d.ts +2 -2
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/field-set/index.d.ts +15 -15
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
- package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/field-set/src/utils/index.d.ts +3 -3
- package/es/components/form-config/index.d.ts +280 -475
- package/es/components/form-config/src/FormConfig.vue.d.ts +406 -601
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +27 -128
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +193 -291
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +2 -2
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -2
- package/es/components/form-config/src/constants/index.d.ts +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +3 -3
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +2 -2
- package/es/components/form-config/src/utils/index.d.ts +3 -3
- package/es/components/form-render/index.d.ts +60 -161
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +25 -127
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +83 -184
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/complex.js +1 -1
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +5 -6
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
- package/es/components/form-render/src/hooks/useAnchor.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +19 -19
- package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +4 -25
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +5 -5
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +8 -8
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +16 -12
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +2 -2
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
- package/es/components/form-render/src/types/index.d.ts +15 -15
- package/es/components/form-render/src/utils/business.d.ts +2 -2
- package/es/components/form-render/src/utils/dom.d.ts +1 -1
- package/es/components/form-render/src/utils/index.d.ts +4 -18
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/form-render/src/utils/schema.d.ts +3 -3
- package/es/components/form-render/src/utils/schema.js +1 -1
- package/es/components/grid/index.d.ts +1 -1
- package/es/components/guide/src/renderer.d.ts +1 -1
- package/es/components/guide/src/types/index.d.ts +1 -1
- package/es/components/guide/src/useGuide.d.ts +1 -1
- package/es/components/guide/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/index.d.ts +39 -39
- package/es/components/iho-table/src/IhoTable.vue.d.ts +27 -27
- package/es/components/iho-table/src/constants/index.d.ts +5 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +9 -9
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +21 -21
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +10 -10
- package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +65 -65
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +7 -7
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +3 -3
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +2 -2
- package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +1 -1
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultValuePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultValuePlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +7 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +8 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/wordbookSettingPlugin.d.ts +1 -1
- package/es/components/iho-table/src/types/index.d.ts +3 -3
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
- package/es/components/iho-table/src/utils/index.d.ts +3 -3
- package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -3
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +175 -377
- package/es/components/info-header/src/InfoHeader.vue.d.ts +191 -393
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +6 -6
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +9 -9
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +106 -207
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +28 -129
- package/es/components/info-header/src/constants/index.d.ts +1 -1
- package/es/components/info-header/src/types/index.d.ts +1 -1
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/map/index.d.ts +1 -1
- package/es/components/map/src/Map.vue.d.ts +1 -1
- package/es/components/picture-clipper/index.d.ts +1 -1
- package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +1 -1
- package/es/components/quick-search/src/index.vue.d.ts +4 -4
- package/es/components/recommend-search/index.d.ts +25 -25
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +7 -7
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +2 -2
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +33 -33
- package/es/components/scale-view/src/types/index.d.ts +1 -1
- package/es/components/search-cascader/index.d.ts +34 -34
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/search-cascader/src/constants/index.d.ts +1 -1
- package/es/components/search-cascader/src/utils/index.d.ts +1 -1
- package/es/components/select-label/index.d.ts +1 -1
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +3 -3
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +1 -1
- package/es/components/select-label/src/index.vue.d.ts +19 -19
- package/es/components/select-person/index.d.ts +22 -22
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/shortcut-provider/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -2
- package/es/components/shortcut-provider/src/constants/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -1
- package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +76 -176
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +109 -209
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +2 -2
- package/es/components/shortcut-setter/src/types/index.d.ts +1 -1
- package/es/components/slider-tree/index.d.ts +1 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/table-export-field/index.d.ts +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +4 -1
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +1 -1
- package/es/components/table-export-field/src/constants/index.d.ts +1 -1
- package/es/components/table-export-field/src/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -2
- 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 +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- 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 +4 -0
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +13 -9
- package/es/components/table-filter/src/constants/index.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -1
- package/es/components/table-filter/src/types/index.d.ts +1 -0
- package/es/components/time-line/index.d.ts +1 -1
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/time-picker/src/TimePicker.vue.d.ts +1 -1
- package/es/components/vod-chunk-upload/index.d.ts +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +5 -3
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1
- package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/hooks/selectHooks/useSelectAllowModify.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +1 -1
- package/es/shared/hooks/useAsyncQueue/types.d.ts +1 -1
- package/es/shared/hooks/useDateTime.d.ts +1 -1
- package/es/shared/hooks/useFormRequest/index.d.ts +2 -2
- package/es/shared/hooks/useFormRequest/types.d.ts +2 -2
- package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
- package/es/shared/hooks/useTheme.d.ts +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +1 -1
- package/es/shared/utils/business.d.ts +1 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/index.d.ts +1 -1
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w}from"vue";import S from"./hooks/use-noData.js";import{ScaleViewProps as b}from"./hooks/scaleview-props.js";import{getScaleViewState as C}from"./hooks/scaleview-state.js";import{ScaleViewComputed as D}from"./hooks/scaleview-computed.js";import{ScaleViewInit as E}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as j}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as _}from"./hooks/scaleview-methods.js";import{handleQueryParams as x,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import F from"../../../shared/utils/vexutilsExpand.js";import L from"./components/NoData.vue.js";import N from"./components/EvaluateCountdown.vue.js";import R from"./components/EvaluatePage.vue.js";import T from"./components/AnswerParse.vue.js";import A from"./components/ScaleScore.js";import M from"./components/DescribeContent.vue.js";import{NForm as O,NFormItem as I,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},B=["onClick"],H=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),Q={key:1,class:"footer"};var z=e({__name:"ScaleView",props:b,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:b,emit:z}){const K=e,{ScaleViewState:U}=C(),X=o(U),Y=t(null),Z=t(null),{noDataState:$,setNoData:ee,resetNodata:oe}=S(),te=x(),{showEvatip:ae,isFormBoldOpen:ne,scaleStyle:se,handlePageClass:ie,isShowItem:le,handleShowQuestionNumber:re,hasScore:me,isPreviewScale:ce,showEvaluateEntry:ue,showEvaluateCoundownPage:de,showSaveBtn:pe,showEvaluateLabel:ve,showAnswerParse:fe,propsConfig:ge,evaluatePageProps:he,evaluateCountdownProps:ke,isEvaluetaResSituation:ye,disableEdit:we,desStart:Se,desEnd:be,desContent:Ce}=D(K,X,{query:te}),{initForm:De}=E(K,X,z,{query:te}),{submitMethod:Ee,onSubmitData:je,onSubmitForm:_e,handleScoreJson:xe}=j(K,X,z,{query:te,formRef:Z,countdownDom:Y}),{nextLogicEvent:Pe,handleDynamicDataRelation:qe}=q(K,X),{scaleChange:Fe,labelChange:Le,vodFileList:Ne,writeGuage:Re,closeEvaluateCountdown:Te,showEvaTipModal:Ae}=_(K,X,z,{nextLogicEvent:Pe,handleDynamicDataRelation:qe,isPreviewScale:ce,submitMethod:Ee,isEvaluetaResSituation:ye,handleScoreJson:xe,disableEdit:we});(()=>{let{id:e}=te;e&&(X.shareId=e)})();const Me=e=>{try{oe(),De(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,ee(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Me(e):e.guage_id&&Me(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{De(o)}))}),{immediate:!0});const Oe=F.debounce(je,300),Ie=()=>{z("onCloseSetting")};return b({getScaleData:()=>({...X}),onSubmitForm:_e,cancel:Ie}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(pe)}])},[m(' <template v-if="state.spinning">\
|
|
1
|
+
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w}from"vue";import S from"./hooks/use-noData.js";import{ScaleViewProps as b}from"./hooks/scaleview-props.js";import{getScaleViewState as C}from"./hooks/scaleview-state.js";import{ScaleViewComputed as D}from"./hooks/scaleview-computed.js";import{ScaleViewInit as E}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as j}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as _}from"./hooks/scaleview-methods.js";import{handleQueryParams as x,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import F from"../../../shared/utils/vexutilsExpand.js";import L from"./components/NoData.vue.js";import N from"./components/EvaluateCountdown.vue.js";import R from"./components/EvaluatePage.vue.js";import T from"./components/AnswerParse.vue.js";import A from"./components/ScaleScore.js";import M from"./components/DescribeContent.vue.js";import{NForm as O,NFormItem as I,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},B=["onClick"],H=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),Q={key:1,class:"footer"};var z=e({__name:"ScaleView",props:b,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:b,emit:z}){const K=e,{ScaleViewState:U}=C(),X=o(U),Y=t(null),Z=t(null),{noDataState:$,setNoData:ee,resetNodata:oe}=S(),te=x(),{showEvatip:ae,isFormBoldOpen:ne,scaleStyle:se,handlePageClass:ie,isShowItem:le,handleShowQuestionNumber:re,hasScore:me,isPreviewScale:ce,showEvaluateEntry:ue,showEvaluateCoundownPage:de,showSaveBtn:pe,showEvaluateLabel:ve,showAnswerParse:fe,propsConfig:ge,evaluatePageProps:he,evaluateCountdownProps:ke,isEvaluetaResSituation:ye,disableEdit:we,desStart:Se,desEnd:be,desContent:Ce}=D(K,X,{query:te}),{initForm:De}=E(K,X,z,{query:te}),{submitMethod:Ee,onSubmitData:je,onSubmitForm:_e,handleScoreJson:xe}=j(K,X,z,{query:te,formRef:Z,countdownDom:Y}),{nextLogicEvent:Pe,handleDynamicDataRelation:qe}=q(K,X),{scaleChange:Fe,labelChange:Le,vodFileList:Ne,writeGuage:Re,closeEvaluateCountdown:Te,showEvaTipModal:Ae}=_(K,X,z,{nextLogicEvent:Pe,handleDynamicDataRelation:qe,isPreviewScale:ce,submitMethod:Ee,isEvaluetaResSituation:ye,handleScoreJson:xe,disableEdit:we});(()=>{let{id:e}=te;e&&(X.shareId=e)})();const Me=e=>{try{oe(),De(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,ee(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Me(e):e.guage_id&&Me(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{De(o)}))}),{immediate:!0});const Oe=F.debounce(je,300),Ie=()=>{z("onCloseSetting")};return b({getScaleData:()=>({...X}),onSubmitForm:_e,cancel:Ie}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(pe)}])},[m(' <template v-if="state.spinning">\n <n-spin :show="state.spinning" description="加载中"></n-spin>\n </template> '),X.spinning||X.hasFrontAddress?m("v-if",!0):(s(),i(c,{key:0},[r($).noData?(s(),u(L,{key:0,noDataImg:r($).noDataImg,noDataTip:r($).noDataTip},null,8,["noDataImg","noDataTip"])):(s(),i(c,{key:1},[r(ue)?(s(),u(R,d({key:0},r(he),{onWriteGuage:r(Re)}),null,16,["onWriteGuage"])):(s(),i(c,{key:1},[r(de)?(s(),u(N,d({key:0,ref_key:"countdownDom",ref:Y},r(ke),{onCloseEvaluateCountdown:r(Te)}),null,16,["onCloseEvaluateCountdown"])):m("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(ie),"scale-container-hasfooter":r(pe)}]),style:v(r(se))},[r(me)?(s(),u(r(A),{key:0,config:X.config,maxScore:X.maxScore},null,8,["config","maxScore"])):m("v-if",!0),r(Se)?(s(),u(M,{key:1,content:r(Ce)},null,8,["content"])):m("v-if",!0),f(r(O),{ref_key:"formRef",ref:Z,model:X.form,rules:X.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(s(!0),i(c,null,h(X.formArray,((e,o)=>(s(),i(c,{key:(e.id||e.seq)+o},[r(le)(e)?(s(),u(r(I),{key:0,path:e.val_key,"show-label":!r(P)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(ne)(e)}),innerHTML:r(re)(e)},null,10,V),r(ne)(e)?(s(),i("span",G,"(必填)")):m("v-if",!0),r(ve)(e)?(s(),i("span",W,k(r(ve)(e)),1)):m("v-if",!0),r(ae)(e)?(s(),i("span",{key:2,class:"evalute-tip",onClick:o=>r(Ae)(e)},[H,y(" 查看提示 ")],8,B)):m("v-if",!0)])),default:g((()=>[(s(),u(w(e.renderCom),d(r(ge)(e,o),{key:(e.id||e.seq)+o,onScaleChange:r(Fe),onOnChange:o=>r(Le)(o,e),onVodFileList:r(Ne)}),null,16,["onScaleChange","onOnChange","onVodFileList"])),r(fe)(e)?(s(),u(T,{key:0,item:e},null,8,["item"])):m("v-if",!0)])),_:2},1032,["path","show-label"])):m("v-if",!0)],64)))),128))])),_:1},8,["model","rules"]),r(be)?(s(),u(M,{key:2,content:r(Ce)},null,8,["content"])):m("v-if",!0)],6),r(pe)?(s(),i("div",Q,[m(" 分享的链接 隐藏取消按钮 "),"guage"!==K.sourceType?(s(),u(r(J),{key:0,onClick:Ie},{default:g((()=>[y("取消")])),_:1})):m("v-if",!0),K.isLock?m("v-if",!0):(s(),u(r(J),{key:1,onClick:r(Oe),disabled:X.banSubmit,type:"primary"},{default:g((()=>[y(" 保存 ")])),_:1},8,["onClick","disabled"]))])):m("v-if",!0)],64))],64))],64))],2))}});export{z as default};
|
|
@@ -502,7 +502,7 @@ export declare const componentMap: {
|
|
|
502
502
|
default: string;
|
|
503
503
|
};
|
|
504
504
|
categoryList: {
|
|
505
|
-
type: import("vue").PropType<import("
|
|
505
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
|
|
506
506
|
default: () => never[];
|
|
507
507
|
};
|
|
508
508
|
selectedList: {
|
|
@@ -1098,11 +1098,11 @@ export declare const componentMap: {
|
|
|
1098
1098
|
}>;
|
|
1099
1099
|
IhoSelectLabel: import("vue").DefineComponent<{
|
|
1100
1100
|
selectedList: {
|
|
1101
|
-
type: import("vue").PropType<import("
|
|
1101
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1102
1102
|
default: () => never[];
|
|
1103
1103
|
};
|
|
1104
1104
|
categoryList: {
|
|
1105
|
-
type: import("vue").PropType<import("
|
|
1105
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
|
|
1106
1106
|
default: () => never[];
|
|
1107
1107
|
};
|
|
1108
1108
|
explicit: {
|
|
@@ -1112,11 +1112,11 @@ export declare const componentMap: {
|
|
|
1112
1112
|
}, {
|
|
1113
1113
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1114
1114
|
selectedList: {
|
|
1115
|
-
type: import("vue").PropType<import("
|
|
1115
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1116
1116
|
default: () => never[];
|
|
1117
1117
|
};
|
|
1118
1118
|
categoryList: {
|
|
1119
|
-
type: import("vue").PropType<import("
|
|
1119
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
|
|
1120
1120
|
default: () => never[];
|
|
1121
1121
|
};
|
|
1122
1122
|
explicit: {
|
|
@@ -1128,7 +1128,7 @@ export declare const componentMap: {
|
|
|
1128
1128
|
}>>;
|
|
1129
1129
|
emit: (event: "onChange", ...args: any[]) => void;
|
|
1130
1130
|
labelFormContentRef: any;
|
|
1131
|
-
outSelectedList: import("vue").Ref<import("
|
|
1131
|
+
outSelectedList: import("vue").Ref<import("../../../../components/select-label").ISelectLabelItemType[] | undefined>;
|
|
1132
1132
|
state: {
|
|
1133
1133
|
labelVisible: boolean;
|
|
1134
1134
|
isChangeWindow: boolean;
|
|
@@ -1136,8 +1136,8 @@ export declare const componentMap: {
|
|
|
1136
1136
|
modalHeight: string;
|
|
1137
1137
|
maxHeight: string;
|
|
1138
1138
|
};
|
|
1139
|
-
closeTag: (selectItem: import("
|
|
1140
|
-
formatActiveStyle: (activeItem: import("
|
|
1139
|
+
closeTag: (selectItem: import("../../../../components/select-label").ISelectLabelItemType) => void;
|
|
1140
|
+
formatActiveStyle: (activeItem: import("../../../../components/select-label").ISelectLabelItemType) => {
|
|
1141
1141
|
background: string;
|
|
1142
1142
|
color: string;
|
|
1143
1143
|
borderColor: string;
|
|
@@ -1155,11 +1155,11 @@ export declare const componentMap: {
|
|
|
1155
1155
|
AddCircleOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1156
1156
|
IhoLabelFormContent: import("vue").DefineComponent<{
|
|
1157
1157
|
selectedList: {
|
|
1158
|
-
type: import("vue").PropType<import("
|
|
1158
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1159
1159
|
default: () => never[];
|
|
1160
1160
|
};
|
|
1161
1161
|
categoryList: {
|
|
1162
|
-
type: import("vue").PropType<import("
|
|
1162
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
|
|
1163
1163
|
default: () => never[];
|
|
1164
1164
|
};
|
|
1165
1165
|
isChangeWindow: {
|
|
@@ -1173,11 +1173,11 @@ export declare const componentMap: {
|
|
|
1173
1173
|
}, {
|
|
1174
1174
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1175
1175
|
selectedList: {
|
|
1176
|
-
type: import("vue").PropType<import("
|
|
1176
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1177
1177
|
default: () => never[];
|
|
1178
1178
|
};
|
|
1179
1179
|
categoryList: {
|
|
1180
|
-
type: import("vue").PropType<import("
|
|
1180
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
|
|
1181
1181
|
default: () => never[];
|
|
1182
1182
|
};
|
|
1183
1183
|
isChangeWindow: {
|
|
@@ -1192,7 +1192,7 @@ export declare const componentMap: {
|
|
|
1192
1192
|
onExplicitOnChange?: ((...args: any[]) => any) | undefined;
|
|
1193
1193
|
}>>;
|
|
1194
1194
|
emit: (event: "explicitOnChange", ...args: any[]) => void;
|
|
1195
|
-
curSelectedList: import("vue").Ref<import("
|
|
1195
|
+
curSelectedList: import("vue").Ref<import("../../../../components/select-label").ISelectLabelItemType[] | undefined>;
|
|
1196
1196
|
labelFormContent: any;
|
|
1197
1197
|
anchorGetContainer: () => any;
|
|
1198
1198
|
handleAnchorClick: (e: Event) => void;
|
|
@@ -1208,11 +1208,11 @@ export declare const componentMap: {
|
|
|
1208
1208
|
}>>, {}>;
|
|
1209
1209
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
1210
1210
|
categoryItem: {
|
|
1211
|
-
type: import("vue").PropType<import("
|
|
1211
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType>;
|
|
1212
1212
|
default: () => {};
|
|
1213
1213
|
};
|
|
1214
1214
|
selectedList: {
|
|
1215
|
-
type: import("vue").PropType<import("
|
|
1215
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1216
1216
|
default: () => never[];
|
|
1217
1217
|
};
|
|
1218
1218
|
handleLabelChange: {
|
|
@@ -1223,11 +1223,11 @@ export declare const componentMap: {
|
|
|
1223
1223
|
baseActiveColor: string;
|
|
1224
1224
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1225
1225
|
categoryItem: {
|
|
1226
|
-
type: import("vue").PropType<import("
|
|
1226
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType>;
|
|
1227
1227
|
default: () => {};
|
|
1228
1228
|
};
|
|
1229
1229
|
selectedList: {
|
|
1230
|
-
type: import("vue").PropType<import("
|
|
1230
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1231
1231
|
default: () => never[];
|
|
1232
1232
|
};
|
|
1233
1233
|
handleLabelChange: {
|
|
@@ -1240,8 +1240,8 @@ export declare const componentMap: {
|
|
|
1240
1240
|
labelShowText: string;
|
|
1241
1241
|
backgroundColor: string;
|
|
1242
1242
|
}[]>;
|
|
1243
|
-
showCheck: (label: import("
|
|
1244
|
-
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("
|
|
1243
|
+
showCheck: (label: import("../../../../components/select-label").IhoTabLabelItemType) => boolean;
|
|
1244
|
+
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../components/select-label").IhoTabLabelItemType | undefined, categoryItem?: import("../../../../components/select-label").ICategoryLabelItemType | undefined) => void;
|
|
1245
1245
|
formatStyle: (item: any) => {
|
|
1246
1246
|
background: any;
|
|
1247
1247
|
borderColor: any;
|
|
@@ -1253,11 +1253,11 @@ export declare const componentMap: {
|
|
|
1253
1253
|
NTooltip: any;
|
|
1254
1254
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1255
1255
|
categoryItem: {
|
|
1256
|
-
type: import("vue").PropType<import("
|
|
1256
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType>;
|
|
1257
1257
|
default: () => {};
|
|
1258
1258
|
};
|
|
1259
1259
|
selectedList: {
|
|
1260
|
-
type: import("vue").PropType<import("
|
|
1260
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1261
1261
|
default: () => never[];
|
|
1262
1262
|
};
|
|
1263
1263
|
handleLabelChange: {
|
|
@@ -1265,17 +1265,17 @@ export declare const componentMap: {
|
|
|
1265
1265
|
default: () => {};
|
|
1266
1266
|
};
|
|
1267
1267
|
}>>, {
|
|
1268
|
-
selectedList: import("
|
|
1268
|
+
selectedList: import("../../../../components/select-label").ISelectLabelItemType[];
|
|
1269
1269
|
handleLabelChange: Function;
|
|
1270
|
-
categoryItem: import("
|
|
1270
|
+
categoryItem: import("../../../../components/select-label").ICategoryLabelItemType;
|
|
1271
1271
|
}>;
|
|
1272
1272
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "explicitOnChange"[], "explicitOnChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1273
1273
|
selectedList: {
|
|
1274
|
-
type: import("vue").PropType<import("
|
|
1274
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1275
1275
|
default: () => never[];
|
|
1276
1276
|
};
|
|
1277
1277
|
categoryList: {
|
|
1278
|
-
type: import("vue").PropType<import("
|
|
1278
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
|
|
1279
1279
|
default: () => never[];
|
|
1280
1280
|
};
|
|
1281
1281
|
isChangeWindow: {
|
|
@@ -1289,18 +1289,18 @@ export declare const componentMap: {
|
|
|
1289
1289
|
}>> & {
|
|
1290
1290
|
onExplicitOnChange?: ((...args: any[]) => any) | undefined;
|
|
1291
1291
|
}, {
|
|
1292
|
-
categoryList: import("
|
|
1293
|
-
selectedList: import("
|
|
1292
|
+
categoryList: import("../../../../components/select-label").ICategoryLabelItemType[];
|
|
1293
|
+
selectedList: import("../../../../components/select-label").ISelectLabelItemType[];
|
|
1294
1294
|
explicit: boolean;
|
|
1295
1295
|
isChangeWindow: boolean;
|
|
1296
1296
|
}>;
|
|
1297
1297
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], "onChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1298
1298
|
selectedList: {
|
|
1299
|
-
type: import("vue").PropType<import("
|
|
1299
|
+
type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
|
|
1300
1300
|
default: () => never[];
|
|
1301
1301
|
};
|
|
1302
1302
|
categoryList: {
|
|
1303
|
-
type: import("vue").PropType<import("
|
|
1303
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
|
|
1304
1304
|
default: () => never[];
|
|
1305
1305
|
};
|
|
1306
1306
|
explicit: {
|
|
@@ -1310,8 +1310,8 @@ export declare const componentMap: {
|
|
|
1310
1310
|
}>> & {
|
|
1311
1311
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
1312
1312
|
}, {
|
|
1313
|
-
categoryList: import("
|
|
1314
|
-
selectedList: import("
|
|
1313
|
+
categoryList: import("../../../../components/select-label").ICategoryLabelItemType[];
|
|
1314
|
+
selectedList: import("../../../../components/select-label").ISelectLabelItemType[];
|
|
1315
1315
|
explicit: boolean;
|
|
1316
1316
|
}>;
|
|
1317
1317
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], "onChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1320,7 +1320,7 @@ export declare const componentMap: {
|
|
|
1320
1320
|
default: string;
|
|
1321
1321
|
};
|
|
1322
1322
|
categoryList: {
|
|
1323
|
-
type: import("vue").PropType<import("
|
|
1323
|
+
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
|
|
1324
1324
|
default: () => never[];
|
|
1325
1325
|
};
|
|
1326
1326
|
selectedList: {
|
|
@@ -1380,7 +1380,7 @@ export declare const componentMap: {
|
|
|
1380
1380
|
}, {
|
|
1381
1381
|
type: string;
|
|
1382
1382
|
item: any;
|
|
1383
|
-
categoryList: import("
|
|
1383
|
+
categoryList: import("../../../../components/select-label").ICategoryLabelItemType[];
|
|
1384
1384
|
selectedList: any[];
|
|
1385
1385
|
selectedListObj: Record<string, any>;
|
|
1386
1386
|
isDetail: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
value: {
|
|
4
|
-
type: import("vue").PropType<string | import("
|
|
4
|
+
type: import("vue").PropType<string | import("../../shared/types").AnyObject[]>;
|
|
5
5
|
};
|
|
6
6
|
show: {
|
|
7
7
|
type: BooleanConstructor;
|
|
@@ -24,11 +24,11 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
26
|
options: {
|
|
27
|
-
type: import("vue").PropType<import("
|
|
27
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
28
28
|
default: () => never[];
|
|
29
29
|
};
|
|
30
30
|
search: {
|
|
31
|
-
type: import("vue").PropType<import("
|
|
31
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn<any[], any>>;
|
|
32
32
|
};
|
|
33
33
|
labelKey: {
|
|
34
34
|
type: StringConstructor;
|
|
@@ -43,7 +43,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
45
|
beforeSetValue: {
|
|
46
|
-
type: import("vue").PropType<(value: string | import("
|
|
46
|
+
type: import("vue").PropType<(value: string | import("../../shared/types").AnyObject[]) => void | (string | import("../../shared/types").AnyObject[]) | Promise<string | import("../../shared/types").AnyObject[]>>;
|
|
47
47
|
};
|
|
48
48
|
menuWidth: {
|
|
49
49
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -51,15 +51,15 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
51
51
|
};
|
|
52
52
|
disabled: BooleanConstructor;
|
|
53
53
|
inputProps: {
|
|
54
|
-
type: import("vue").PropType<import("
|
|
54
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
55
55
|
};
|
|
56
56
|
popperProps: {
|
|
57
|
-
type: import("vue").PropType<import("
|
|
57
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
58
58
|
};
|
|
59
59
|
}, {
|
|
60
60
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
61
61
|
value: {
|
|
62
|
-
type: import("vue").PropType<string | import("
|
|
62
|
+
type: import("vue").PropType<string | import("../../shared/types").AnyObject[]>;
|
|
63
63
|
};
|
|
64
64
|
show: {
|
|
65
65
|
type: BooleanConstructor;
|
|
@@ -82,11 +82,11 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
options: {
|
|
85
|
-
type: import("vue").PropType<import("
|
|
85
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
86
86
|
default: () => never[];
|
|
87
87
|
};
|
|
88
88
|
search: {
|
|
89
|
-
type: import("vue").PropType<import("
|
|
89
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn<any[], any>>;
|
|
90
90
|
};
|
|
91
91
|
labelKey: {
|
|
92
92
|
type: StringConstructor;
|
|
@@ -101,7 +101,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
101
101
|
default: string;
|
|
102
102
|
};
|
|
103
103
|
beforeSetValue: {
|
|
104
|
-
type: import("vue").PropType<(value: string | import("
|
|
104
|
+
type: import("vue").PropType<(value: string | import("../../shared/types").AnyObject[]) => void | (string | import("../../shared/types").AnyObject[]) | Promise<string | import("../../shared/types").AnyObject[]>>;
|
|
105
105
|
};
|
|
106
106
|
menuWidth: {
|
|
107
107
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -109,10 +109,10 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
109
109
|
};
|
|
110
110
|
disabled: BooleanConstructor;
|
|
111
111
|
inputProps: {
|
|
112
|
-
type: import("vue").PropType<import("
|
|
112
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
113
113
|
};
|
|
114
114
|
popperProps: {
|
|
115
|
-
type: import("vue").PropType<import("
|
|
115
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
116
116
|
};
|
|
117
117
|
}>> & {
|
|
118
118
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -121,7 +121,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
121
121
|
}>>;
|
|
122
122
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
123
123
|
emit: (event: "update:show" | "update:value" | "focus", ...args: any[]) => void;
|
|
124
|
-
emitValue: (value: string | import("
|
|
124
|
+
emitValue: (value: string | import("../../shared/types").AnyObject[]) => void;
|
|
125
125
|
clearableRef: import("vue").ComputedRef<number | boolean>;
|
|
126
126
|
onClear: () => void;
|
|
127
127
|
onClick: (evt: Event) => void;
|
|
@@ -129,7 +129,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
129
129
|
cssVariable: import("vue").ComputedRef<{
|
|
130
130
|
'--menu-width': string | number;
|
|
131
131
|
}>;
|
|
132
|
-
eventBus: import("
|
|
132
|
+
eventBus: import("../../shared/types").AnyObject;
|
|
133
133
|
uuid: string;
|
|
134
134
|
show: import("vue").Ref<boolean> | import("vue").WritableComputedRef<boolean>;
|
|
135
135
|
patternContent: import("vue").Ref<string>;
|
|
@@ -140,14 +140,14 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
140
140
|
closeMenu: () => Promise<void>;
|
|
141
141
|
inputRef: import("vue").Ref<any>;
|
|
142
142
|
popoverRef: import("vue").Ref<any>;
|
|
143
|
-
currentNode: import("vue").Ref<import("
|
|
144
|
-
cursorNode: import("vue").Ref<import("
|
|
145
|
-
loadingNode: import("vue").Ref<import("
|
|
143
|
+
currentNode: import("vue").Ref<import("../../shared/types").AnyObject | undefined>;
|
|
144
|
+
cursorNode: import("vue").Ref<import("../../shared/types").AnyObject | undefined>;
|
|
145
|
+
loadingNode: import("vue").Ref<import("../../shared/types").Nullable<import("../../shared/types").AnyObject>>;
|
|
146
146
|
search: (payload?: {
|
|
147
147
|
type: "search" | "update";
|
|
148
|
-
node: import("
|
|
148
|
+
node: import("../../shared/types").AnyObject;
|
|
149
149
|
} | undefined, keyword?: string | undefined) => Promise<void>;
|
|
150
|
-
changeCursorNode: (node: import("
|
|
150
|
+
changeCursorNode: (node: import("../../shared/types").AnyObject) => void;
|
|
151
151
|
NInput: any;
|
|
152
152
|
NPopover: any;
|
|
153
153
|
ClearIcon: any;
|
|
@@ -157,7 +157,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
157
157
|
default: string;
|
|
158
158
|
};
|
|
159
159
|
options: {
|
|
160
|
-
type: import("vue").PropType<import("
|
|
160
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
161
161
|
default: () => never[];
|
|
162
162
|
};
|
|
163
163
|
labelKey: {
|
|
@@ -169,10 +169,10 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
169
169
|
default: string;
|
|
170
170
|
};
|
|
171
171
|
currentNode: {
|
|
172
|
-
type: import("vue").PropType<import("
|
|
172
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
173
173
|
};
|
|
174
174
|
cursorNode: {
|
|
175
|
-
type: import("vue").PropType<import("
|
|
175
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
176
176
|
};
|
|
177
177
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
178
178
|
childKey: {
|
|
@@ -180,7 +180,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
180
180
|
default: string;
|
|
181
181
|
};
|
|
182
182
|
options: {
|
|
183
|
-
type: import("vue").PropType<import("
|
|
183
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
184
184
|
default: () => never[];
|
|
185
185
|
};
|
|
186
186
|
labelKey: {
|
|
@@ -192,23 +192,23 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
192
192
|
default: string;
|
|
193
193
|
};
|
|
194
194
|
currentNode: {
|
|
195
|
-
type: import("vue").PropType<import("
|
|
195
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
196
196
|
};
|
|
197
197
|
cursorNode: {
|
|
198
|
-
type: import("vue").PropType<import("
|
|
198
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
199
199
|
};
|
|
200
200
|
}>> & {
|
|
201
201
|
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
202
202
|
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
203
203
|
}, {
|
|
204
|
-
options: import("
|
|
204
|
+
options: import("../../shared/types").AnyObject[];
|
|
205
205
|
valueKey: string;
|
|
206
206
|
childKey: string;
|
|
207
207
|
labelKey: string;
|
|
208
208
|
}>;
|
|
209
209
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "update:value" | "focus")[], "focus" | "update:show" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
210
210
|
value: {
|
|
211
|
-
type: import("vue").PropType<string | import("
|
|
211
|
+
type: import("vue").PropType<string | import("../../shared/types").AnyObject[]>;
|
|
212
212
|
};
|
|
213
213
|
show: {
|
|
214
214
|
type: BooleanConstructor;
|
|
@@ -231,11 +231,11 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
231
231
|
default: string;
|
|
232
232
|
};
|
|
233
233
|
options: {
|
|
234
|
-
type: import("vue").PropType<import("
|
|
234
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
235
235
|
default: () => never[];
|
|
236
236
|
};
|
|
237
237
|
search: {
|
|
238
|
-
type: import("vue").PropType<import("
|
|
238
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn<any[], any>>;
|
|
239
239
|
};
|
|
240
240
|
labelKey: {
|
|
241
241
|
type: StringConstructor;
|
|
@@ -250,7 +250,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
250
250
|
default: string;
|
|
251
251
|
};
|
|
252
252
|
beforeSetValue: {
|
|
253
|
-
type: import("vue").PropType<(value: string | import("
|
|
253
|
+
type: import("vue").PropType<(value: string | import("../../shared/types").AnyObject[]) => void | (string | import("../../shared/types").AnyObject[]) | Promise<string | import("../../shared/types").AnyObject[]>>;
|
|
254
254
|
};
|
|
255
255
|
menuWidth: {
|
|
256
256
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -258,10 +258,10 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
258
258
|
};
|
|
259
259
|
disabled: BooleanConstructor;
|
|
260
260
|
inputProps: {
|
|
261
|
-
type: import("vue").PropType<import("
|
|
261
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
262
262
|
};
|
|
263
263
|
popperProps: {
|
|
264
|
-
type: import("vue").PropType<import("
|
|
264
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
265
265
|
};
|
|
266
266
|
}>> & {
|
|
267
267
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -270,7 +270,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
270
270
|
}, {
|
|
271
271
|
disabled: boolean;
|
|
272
272
|
show: boolean;
|
|
273
|
-
options: import("
|
|
273
|
+
options: import("../../shared/types").AnyObject[];
|
|
274
274
|
placeholder: string;
|
|
275
275
|
valueKey: string;
|
|
276
276
|
clearable: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, AnyFn, Nullable } from '
|
|
1
|
+
import { AnyObject, AnyFn, Nullable } from '../../../shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare type ValueType = string | AnyObject[];
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, Nullable } from '
|
|
1
|
+
import { AnyObject, Nullable } from '../../../../shared/types';
|
|
2
2
|
import { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
3
3
|
export declare const InjectionSearchCascaderLoadingNode: InjectionKey<Ref<Nullable<AnyObject>>>;
|
|
4
4
|
export declare const InjectionSearchCascaderValue: InjectionKey<ComputedRef<AnyObject[] | string>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../../shared/types';
|
|
2
2
|
export declare function getParentNodeList(node: AnyObject): never[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as
|
|
1
|
+
import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as d,createCommentVNode as o,withDirectives as r,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let d=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(d.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;d=d.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}d.push(e)}else{const t=d.findIndex((t=>t.labelId==e.labelId));-1!=t&&d.splice(t,1)}_.labelSelectedEdit=[...d],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[d(W)?(n(),s("div",A,O)):o("v-if",!0),r(c("div",K,[c("div",j,[o(" 表单内嵌打开标签组件的样式 "),o(' <div v-if="explicit" class="explicit-continer">\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\n\t\t\t\t\t\t\t\t<span slot="tab">\n\t\t\t\t\t\t\t\t\t{{ i }}\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\n\t\t\t\t\t\t\t\t\t\t<labelClassify\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</n-tab-pane>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</n-tabs>\n\t\t\t\t</div> '),o("\n\t\t\t\t\t普通标签样式\n\t\t\t\t\tv-else\n\t\t\t\t\texplicit\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(d(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(d(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),o(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:d(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!d(W)]])],512))}});export{B as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { handleLabelColor } from '
|
|
2
|
+
import { handleLabelColor } from '../../../shared/utils/vexutils';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
selectedList: {
|
|
5
5
|
type: PropType<any[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { ICategoryLabelItemType, ISelectLabelItemType } from '
|
|
2
|
+
import { ICategoryLabelItemType, ISelectLabelItemType } from '../../../../components/select-label/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
selectedList: {
|
|
5
5
|
type: PropType<ISelectLabelItemType[]>;
|
|
@@ -87,8 +87,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
87
|
labelShowText: string;
|
|
88
88
|
backgroundColor: string;
|
|
89
89
|
}[]>;
|
|
90
|
-
showCheck: (label: import("
|
|
91
|
-
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("
|
|
90
|
+
showCheck: (label: import("../../../../components/select-label/src/types").IhoTabLabelItemType) => boolean;
|
|
91
|
+
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../components/select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
|
|
92
92
|
formatStyle: (item: any) => {
|
|
93
93
|
background: any;
|
|
94
94
|
borderColor: any;
|