cnhis-design-vue 3.1.55-release.1 → 3.1.55-release.2
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 +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/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/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 +48 -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/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/useElectrocardiogramChart.d.ts +4 -4
- 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 +254 -475
- package/es/components/form-config/src/FormConfig.vue.d.ts +380 -601
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +14 -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 +180 -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 +47 -161
- package/es/components/form-render/src/FormRender.vue.d.ts +12 -127
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +70 -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/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 +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +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/searchCascade.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
- package/es/components/form-render/src/constants/index.d.ts +5 -5
- package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +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 +3 -3
- 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 +4 -4
- 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/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +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 +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/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.d.ts +3 -3
- package/es/components/info-header/index.d.ts +149 -377
- package/es/components/info-header/src/InfoHeader.vue.d.ts +165 -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 +93 -207
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +15 -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 +63 -176
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +96 -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/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,5 +1,5 @@
|
|
|
1
|
-
import { InfoHeaderTypes } from '
|
|
2
|
-
import { FieldItem, FormRenderExpose } from '
|
|
1
|
+
import { InfoHeaderTypes } from '../../../../../components/info-header/src/types';
|
|
2
|
+
import { FieldItem, FormRenderExpose } from '../../../../../components/form-render';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
patientInfo: {
|
|
5
5
|
type: null;
|
|
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
default: () => {};
|
|
64
64
|
};
|
|
65
65
|
fieldVisitor: {
|
|
66
|
-
type: import("vue").PropType<import("
|
|
66
|
+
type: import("vue").PropType<import("../../../../../components/form-render").FieldVisitor>;
|
|
67
67
|
};
|
|
68
68
|
column: {
|
|
69
69
|
type: NumberConstructor;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
default: number;
|
|
83
83
|
};
|
|
84
84
|
businessFormatter: {
|
|
85
|
-
type: import("vue").PropType<import("
|
|
85
|
+
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
|
86
86
|
};
|
|
87
87
|
schema: {
|
|
88
88
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
@@ -219,7 +219,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
219
219
|
default: () => {};
|
|
220
220
|
};
|
|
221
221
|
fieldVisitor: {
|
|
222
|
-
type: import("vue").PropType<import("
|
|
222
|
+
type: import("vue").PropType<import("../../../../../components/form-render").FieldVisitor>;
|
|
223
223
|
};
|
|
224
224
|
column: {
|
|
225
225
|
type: NumberConstructor;
|
|
@@ -238,7 +238,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
238
238
|
default: number;
|
|
239
239
|
};
|
|
240
240
|
businessFormatter: {
|
|
241
|
-
type: import("vue").PropType<import("
|
|
241
|
+
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
|
242
242
|
};
|
|
243
243
|
schema: {
|
|
244
244
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
@@ -386,9 +386,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
386
386
|
mapProperties: any;
|
|
387
387
|
filterProperties: any;
|
|
388
388
|
}>;
|
|
389
|
-
businessCollector: import("
|
|
390
|
-
formItemDepsCollector: import("
|
|
391
|
-
changeContextCollector: import("
|
|
389
|
+
businessCollector: import("../../../../../components/form-render").BusinessCollector;
|
|
390
|
+
formItemDepsCollector: import("../../../../../components/form-render").FormItemDepsCollector;
|
|
391
|
+
changeContextCollector: import("../../../../../components/form-render").ContextCollector;
|
|
392
392
|
formUUID: string;
|
|
393
393
|
anchorBarRef: import("vue").Ref<{
|
|
394
394
|
syncBarPosition: import("../../../..").AnyFn<any[], any>;
|
|
@@ -434,11 +434,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
434
434
|
triggerAll(): void;
|
|
435
435
|
triggerDisabled: string | boolean;
|
|
436
436
|
};
|
|
437
|
-
wordbookSettingHandler: import("
|
|
437
|
+
wordbookSettingHandler: import("../../../../../components/form-render").wordbookSettingHandler;
|
|
438
438
|
schemaAdaptor: (fieldList: FieldItem[], options?: Partial<{
|
|
439
439
|
fieldList: FieldItem[];
|
|
440
440
|
initialData: import("../../../..").AnyObject;
|
|
441
|
-
fieldVisitor: import("
|
|
441
|
+
fieldVisitor: import("../../../../../components/form-render").FieldVisitor;
|
|
442
442
|
column: number;
|
|
443
443
|
maxHeight: string | number;
|
|
444
444
|
anchor: boolean;
|
|
@@ -515,7 +515,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
515
515
|
afterRequest(fieldKey: string, res?: any, payload?: import("../../../..").AnyObject | undefined): import("../../../..").AnyObject[];
|
|
516
516
|
afterOptionInit(fieldKey: string, options: import("../../../..").AnyObject[], payload?: import("../../../..").AnyObject | undefined): void;
|
|
517
517
|
}>;
|
|
518
|
-
businessFormatter: import("
|
|
518
|
+
businessFormatter: import("../../../../../components/form-render").FormBusinessFormatter;
|
|
519
519
|
requestInstance: import("../../../..").FormRequestDefine.RequestInstance;
|
|
520
520
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
521
521
|
lowCodeReactions: import("../../../..").LowCodeTypes.reactionsConfig[];
|
|
@@ -642,121 +642,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
642
642
|
}>>;
|
|
643
643
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
644
644
|
clearSpan: (uuid: string) => void;
|
|
645
|
-
exposeEvent:
|
|
646
|
-
validate(path?: string | ((field: import("@formily/core").Field<any, any, any, any>) => boolean), { force }?: {
|
|
647
|
-
force?: boolean | undefined;
|
|
648
|
-
}): Promise<void>;
|
|
649
|
-
getFormValues(needCombineExtendKey?: boolean): any;
|
|
650
|
-
setFormValues(values: import("../../../..").AnyObject, options?: boolean | {
|
|
651
|
-
needSplitExtendKey?: boolean | undefined;
|
|
652
|
-
avoidBusinessConnection?: string | boolean | undefined;
|
|
653
|
-
avoidDependKeyConnection?: string | boolean | undefined;
|
|
654
|
-
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
655
|
-
avoidOperationalFormConnection?: string | boolean | undefined;
|
|
656
|
-
overwrite?: boolean | undefined;
|
|
657
|
-
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
658
|
-
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
659
|
-
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
660
|
-
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
661
|
-
data: any;
|
|
662
|
-
loading: boolean;
|
|
663
|
-
required: boolean;
|
|
664
|
-
value: string;
|
|
665
|
-
readonly index: string | number;
|
|
666
|
-
disabled: boolean;
|
|
667
|
-
onFocus: (...args: any[]) => Promise<void>;
|
|
668
|
-
onBlur: (...args: any[]) => Promise<void>;
|
|
669
|
-
onInput: (...args: any[]) => Promise<void>;
|
|
670
|
-
editable: boolean;
|
|
671
|
-
reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
|
|
672
|
-
title: string;
|
|
673
|
-
visible: boolean;
|
|
674
|
-
submit: <T_1>(onSubmit?: ((values: any) => void | Promise<T_1>) | undefined) => Promise<T_1>;
|
|
675
|
-
validator: import("@formily/core").FieldValidator;
|
|
676
|
-
pattern: import("@formily/core").FieldPatternTypes;
|
|
677
|
-
content: any;
|
|
678
|
-
display: import("@formily/core").FieldDisplayTypes;
|
|
679
|
-
hidden: boolean;
|
|
680
|
-
form: import("@formily/core").Form<any>;
|
|
681
|
-
componentProps: Record<string, any>;
|
|
682
|
-
decoratorProps: Record<string, any>;
|
|
683
|
-
description: string;
|
|
684
|
-
readOnly: boolean;
|
|
685
|
-
component: import("@formily/core").FieldComponent<any, any>;
|
|
686
|
-
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
687
|
-
validating: boolean;
|
|
688
|
-
submitting: boolean;
|
|
689
|
-
active: boolean;
|
|
690
|
-
visited: boolean;
|
|
691
|
-
selfModified: boolean;
|
|
692
|
-
modified: boolean;
|
|
693
|
-
inputValue: string;
|
|
694
|
-
inputValues: any[];
|
|
695
|
-
dataSource: import("@formily/core").FieldDataSource;
|
|
696
|
-
feedbacks: import("@formily/core").IFieldFeedback[];
|
|
697
|
-
caches: import("@formily/core").IFieldCaches;
|
|
698
|
-
selfErrors: import("@formily/core").FeedbackMessage;
|
|
699
|
-
readonly errors: import("@formily/core").IFormFeedback[];
|
|
700
|
-
selfWarnings: import("@formily/core").FeedbackMessage;
|
|
701
|
-
readonly warnings: import("@formily/core").IFormFeedback[];
|
|
702
|
-
selfSuccesses: import("@formily/core").FeedbackMessage;
|
|
703
|
-
readonly successes: import("@formily/core").IFormFeedback[];
|
|
704
|
-
readonly selfValid: boolean;
|
|
705
|
-
readonly valid: boolean;
|
|
706
|
-
readonly selfInvalid: boolean;
|
|
707
|
-
readonly invalid: boolean;
|
|
708
|
-
initialValue: string;
|
|
709
|
-
readonly validateStatus: "error" | "success" | "warning" | "validating";
|
|
710
|
-
setDataSource: (dataSource?: import("@formily/core").FieldDataSource | undefined) => void;
|
|
711
|
-
setFeedback: (feedback?: import("@formily/core").IFieldFeedback | undefined) => void;
|
|
712
|
-
setSelfErrors: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
713
|
-
setSelfWarnings: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
714
|
-
setSelfSuccesses: (messages?: import("@formily/core").FeedbackMessage | undefined) => void;
|
|
715
|
-
setValidator: (validator?: import("@formily/core").FieldValidator | undefined) => void;
|
|
716
|
-
setValidatorRule: (name: string, value: any) => void;
|
|
717
|
-
setRequired: (required?: boolean | undefined) => void;
|
|
718
|
-
setValue: (value?: string | undefined) => void;
|
|
719
|
-
setInitialValue: (initialValue?: string | undefined) => void;
|
|
720
|
-
setLoading: (loading?: boolean | undefined) => void;
|
|
721
|
-
setValidating: (validating?: boolean | undefined) => void;
|
|
722
|
-
setSubmitting: (submitting?: boolean | undefined) => void;
|
|
723
|
-
queryFeedbacks: (search?: import("@formily/core").ISearchFeedback | undefined) => import("@formily/core").IFieldFeedback[];
|
|
724
|
-
modify: () => void;
|
|
725
|
-
initialized: boolean;
|
|
726
|
-
mounted: boolean;
|
|
727
|
-
unmounted: boolean;
|
|
728
|
-
decoratorType: any;
|
|
729
|
-
componentType: any;
|
|
730
|
-
designable: boolean;
|
|
731
|
-
locate: (address: import("@formily/path").Pattern) => void;
|
|
732
|
-
readonly parent: import("@formily/core").GeneralField;
|
|
733
|
-
readPretty: boolean;
|
|
734
|
-
readonly destroyed: boolean;
|
|
735
|
-
setTitle: (title?: string | undefined) => void;
|
|
736
|
-
setDescription: (description?: string | undefined) => void;
|
|
737
|
-
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
738
|
-
setPattern: (type?: import("@formily/core").FieldPatternTypes | undefined) => void;
|
|
739
|
-
setComponent: <C extends unknown, ComponentProps extends object = {}>(component?: C | undefined, props?: ComponentProps | undefined) => void;
|
|
740
|
-
setComponentProps: <ComponentProps_1 extends object = {}>(props?: ComponentProps_1 | undefined) => void;
|
|
741
|
-
setDecorator: <D extends unknown, ComponentProps_2 extends object = {}>(component?: D | undefined, props?: ComponentProps_2 | undefined) => void;
|
|
742
|
-
setDecoratorProps: <ComponentProps_3 extends object = {}>(props?: ComponentProps_3 | undefined) => void;
|
|
743
|
-
setData: (data: any) => void;
|
|
744
|
-
setContent: (content: any) => void;
|
|
745
|
-
onInit: () => void;
|
|
746
|
-
onMount: () => void;
|
|
747
|
-
onUnmount: () => void;
|
|
748
|
-
query: (pattern: import("@formily/path").Pattern) => import("@formily/core").Query;
|
|
749
|
-
notify: (type: import("@formily/core").LifeCycleTypes, payload?: any) => void;
|
|
750
|
-
dispose: () => void;
|
|
751
|
-
destroy: (forceClear?: boolean | undefined) => void;
|
|
752
|
-
}>>>) => void): void;
|
|
753
|
-
resetFields(path?: string): Promise<void>;
|
|
754
|
-
queryWidget(key: string): Promise<{
|
|
755
|
-
widgetElement: HTMLInputElement | null | undefined;
|
|
756
|
-
widgetElementList: HTMLInputElement[];
|
|
757
|
-
decoratorElement: HTMLElement | null | undefined;
|
|
758
|
-
} | null>;
|
|
759
|
-
};
|
|
645
|
+
exposeEvent: Omit<FormRenderExpose, "getFieldList" | "formModel" | "reload">;
|
|
760
646
|
useVersion: typeof import("../../../..").useVersion;
|
|
761
647
|
FormConsumer: import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
762
648
|
FormProvider: import("vue").DefineComponent<Record<"form", any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<"form", any>>>, {
|
|
@@ -825,7 +711,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
825
711
|
default: () => {};
|
|
826
712
|
};
|
|
827
713
|
fieldVisitor: {
|
|
828
|
-
type: import("vue").PropType<import("
|
|
714
|
+
type: import("vue").PropType<import("../../../../../components/form-render").FieldVisitor>;
|
|
829
715
|
};
|
|
830
716
|
column: {
|
|
831
717
|
type: NumberConstructor;
|
|
@@ -844,7 +730,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
844
730
|
default: number;
|
|
845
731
|
};
|
|
846
732
|
businessFormatter: {
|
|
847
|
-
type: import("vue").PropType<import("
|
|
733
|
+
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
|
848
734
|
};
|
|
849
735
|
schema: {
|
|
850
736
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { InjectionKey, Ref } from 'vue';
|
|
2
|
-
import { FormRenderExpose } from '
|
|
2
|
+
import { FormRenderExpose } from '../../../../components/form-render';
|
|
3
3
|
export declare const InjectionInfoHeaderFormRef: InjectionKey<Ref<undefined | FormRenderExpose>>;
|
|
4
4
|
export declare const InjectionInfoHeaderEmit: InjectionKey<(eventName: string, ...payload: any[]) => void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, CSSProperties } from 'vue';
|
|
2
|
-
import { FieldItem, FormRenderExpose } from '
|
|
2
|
+
import { FieldItem, FormRenderExpose } from '../../../../components/form-render';
|
|
3
3
|
export declare namespace InfoHeaderTypes {
|
|
4
4
|
type InfoItem = Partial<{
|
|
5
5
|
slot: string | ((payload: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
searchFieldList: {
|
|
4
4
|
type: import("vue").PropType<import("..").IApiServerType[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IParentNamesType, ISearchType, ISaveType, IApiServerType, ISearchParamsType } from '
|
|
2
|
+
import { IParentNamesType, ISearchType, ISaveType, IApiServerType, ISearchParamsType } from '../../../components/table-filter/src/types';
|
|
3
3
|
import 'moment/locale/zh-cn';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
searchFieldList: {
|
|
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
getRenderSearchConObj: (cfg: ISearchType) => any;
|
|
34
34
|
resetRenderWidgetValue: (cfg: ISearchType) => any;
|
|
35
35
|
isRender: (cfg: ISearchType) => any;
|
|
36
|
-
transformData: (advancedFilterData: IApiServerType[], extendData: import("
|
|
36
|
+
transformData: (advancedFilterData: IApiServerType[], extendData: import("../../../components/table-filter/src/types").IExtendConfigurationType) => {
|
|
37
37
|
fieldType: string;
|
|
38
38
|
columnName: string;
|
|
39
39
|
settingObj: {};
|
|
@@ -52,14 +52,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
multiple: boolean;
|
|
53
53
|
manualMapping: boolean | null | undefined;
|
|
54
54
|
showWholeOption: boolean | undefined;
|
|
55
|
-
dynamicOptionInfo: import("
|
|
55
|
+
dynamicOptionInfo: import("../../../components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
|
|
56
56
|
classifyStr: string | undefined;
|
|
57
57
|
linkageFieldKeys: string[];
|
|
58
58
|
};
|
|
59
59
|
rangeFilter: boolean | undefined;
|
|
60
60
|
unit: any;
|
|
61
61
|
isAccurateSearchVal: boolean;
|
|
62
|
-
_extendData: import("
|
|
62
|
+
_extendData: import("../../../components/table-filter/src/types").IExtendConfigurationType;
|
|
63
63
|
title: string;
|
|
64
64
|
alias: string | undefined;
|
|
65
65
|
isShowSearch: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
mode: {
|
|
4
4
|
type: import("vue").PropType<"select" | "input">;
|
|
@@ -27,7 +27,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
29
|
options: {
|
|
30
|
-
type: import("vue").PropType<import("
|
|
30
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
31
31
|
default: () => never[];
|
|
32
32
|
};
|
|
33
33
|
commonList: {
|
|
@@ -43,10 +43,10 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
45
|
inputProps: {
|
|
46
|
-
type: import("vue").PropType<import("
|
|
46
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
47
47
|
};
|
|
48
48
|
popProps: {
|
|
49
|
-
type: import("vue").PropType<import("
|
|
49
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
50
50
|
};
|
|
51
51
|
}, {
|
|
52
52
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -77,7 +77,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
77
77
|
default: boolean;
|
|
78
78
|
};
|
|
79
79
|
options: {
|
|
80
|
-
type: import("vue").PropType<import("
|
|
80
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
81
81
|
default: () => never[];
|
|
82
82
|
};
|
|
83
83
|
commonList: {
|
|
@@ -93,10 +93,10 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
93
93
|
default: boolean;
|
|
94
94
|
};
|
|
95
95
|
inputProps: {
|
|
96
|
-
type: import("vue").PropType<import("
|
|
96
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
97
97
|
};
|
|
98
98
|
popProps: {
|
|
99
|
-
type: import("vue").PropType<import("
|
|
99
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
100
100
|
};
|
|
101
101
|
}>> & {
|
|
102
102
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -115,7 +115,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
115
115
|
type: StringConstructor;
|
|
116
116
|
};
|
|
117
117
|
options: {
|
|
118
|
-
type: import("vue").PropType<import("
|
|
118
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
119
119
|
default: () => never[];
|
|
120
120
|
};
|
|
121
121
|
placeholder: {
|
|
@@ -144,7 +144,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
144
144
|
type: StringConstructor;
|
|
145
145
|
};
|
|
146
146
|
options: {
|
|
147
|
-
type: import("vue").PropType<import("
|
|
147
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
148
148
|
default: () => never[];
|
|
149
149
|
};
|
|
150
150
|
placeholder: {
|
|
@@ -180,7 +180,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
180
180
|
baseSearchRef: import("vue").Ref<import("./src/types").BaseSearchExpose | undefined>;
|
|
181
181
|
setPattern: (value?: string) => void;
|
|
182
182
|
valueRef: import("vue").Ref<string | undefined> | import("vue").WritableComputedRef<string | undefined>;
|
|
183
|
-
parsedOptions: import("vue").ComputedRef<import("
|
|
183
|
+
parsedOptions: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
|
|
184
184
|
search: (value: string) => void;
|
|
185
185
|
onOpenMenu: () => void;
|
|
186
186
|
onCloseMenu: () => void;
|
|
@@ -188,7 +188,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
188
188
|
type?: import("./src/constant").RecommendType | undefined;
|
|
189
189
|
value: import("./src/types").RecommendItem;
|
|
190
190
|
}) => void;
|
|
191
|
-
list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<import("
|
|
191
|
+
list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<import("../../shared/types").AnyObject>[]>;
|
|
192
192
|
wrapperProps: import("vue").ComputedRef<{
|
|
193
193
|
style: {
|
|
194
194
|
width: string;
|
|
@@ -347,7 +347,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
347
347
|
type: StringConstructor;
|
|
348
348
|
};
|
|
349
349
|
options: {
|
|
350
|
-
type: import("vue").PropType<import("
|
|
350
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
351
351
|
default: () => never[];
|
|
352
352
|
};
|
|
353
353
|
placeholder: {
|
|
@@ -379,7 +379,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
379
379
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
|
380
380
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
|
381
381
|
}, {
|
|
382
|
-
options: import("
|
|
382
|
+
options: import("../../shared/types").AnyObject[];
|
|
383
383
|
placeholder: string;
|
|
384
384
|
clearable: boolean;
|
|
385
385
|
commonList: import("./src/types").RecommendItem[];
|
|
@@ -407,7 +407,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
407
407
|
default: string;
|
|
408
408
|
};
|
|
409
409
|
options: {
|
|
410
|
-
type: import("vue").PropType<import("
|
|
410
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
411
411
|
default: () => never[];
|
|
412
412
|
};
|
|
413
413
|
commonList: {
|
|
@@ -440,7 +440,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
440
440
|
default: string;
|
|
441
441
|
};
|
|
442
442
|
options: {
|
|
443
|
-
type: import("vue").PropType<import("
|
|
443
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
444
444
|
default: () => never[];
|
|
445
445
|
};
|
|
446
446
|
commonList: {
|
|
@@ -463,12 +463,12 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
463
463
|
emits: (event: "delete" | "clear" | "update:value" | "search" | "choose" | "openMenu" | "closeMenu", ...args: any[]) => void;
|
|
464
464
|
showRef: import("vue").Ref<boolean>;
|
|
465
465
|
displayPlaceholder: import("vue").ComputedRef<string>;
|
|
466
|
-
currentOption: import("vue").Ref<import("
|
|
466
|
+
currentOption: import("vue").Ref<import("../../shared/types").AnyObject | undefined>;
|
|
467
467
|
getRecommendOption: (item: import("./src/types").RecommendItem) => any;
|
|
468
468
|
commonOptions: import("vue").ComputedRef<any[]>;
|
|
469
469
|
recentOptions: import("vue").ComputedRef<any[]>;
|
|
470
|
-
optionWithoutRecommend: import("vue").ComputedRef<import("
|
|
471
|
-
getDisplayValue: (item: import("
|
|
470
|
+
optionWithoutRecommend: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
|
|
471
|
+
getDisplayValue: (item: import("../../shared/types").Nullable<string | number>) => string;
|
|
472
472
|
baseSearchRef: import("vue").Ref<import("./src/types").BaseSearchExpose | undefined>;
|
|
473
473
|
valueRef: import("vue").Ref<string | number | null | undefined> | import("vue").WritableComputedRef<string | number | null | undefined>;
|
|
474
474
|
parsedOptions: import("vue").ComputedRef<any[]>;
|
|
@@ -477,7 +477,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
477
477
|
onCloseMenu: () => void;
|
|
478
478
|
onClear: () => void;
|
|
479
479
|
emitChoose: (value: unknown) => void;
|
|
480
|
-
onChooseOption: (option: import("
|
|
480
|
+
onChooseOption: (option: import("../../shared/types").AnyObject) => void;
|
|
481
481
|
list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
|
|
482
482
|
wrapperProps: import("vue").ComputedRef<{
|
|
483
483
|
style: {
|
|
@@ -596,7 +596,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
596
596
|
default: string;
|
|
597
597
|
};
|
|
598
598
|
options: {
|
|
599
|
-
type: import("vue").PropType<import("
|
|
599
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
600
600
|
default: () => never[];
|
|
601
601
|
};
|
|
602
602
|
commonList: {
|
|
@@ -616,7 +616,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
616
616
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
|
617
617
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
|
618
618
|
}, {
|
|
619
|
-
options: import("
|
|
619
|
+
options: import("../../shared/types").AnyObject[];
|
|
620
620
|
placeholder: string;
|
|
621
621
|
valueKey: string;
|
|
622
622
|
editPlaceholder: string;
|
|
@@ -657,7 +657,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
657
657
|
default: boolean;
|
|
658
658
|
};
|
|
659
659
|
options: {
|
|
660
|
-
type: import("vue").PropType<import("
|
|
660
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
661
661
|
default: () => never[];
|
|
662
662
|
};
|
|
663
663
|
commonList: {
|
|
@@ -673,10 +673,10 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
673
673
|
default: boolean;
|
|
674
674
|
};
|
|
675
675
|
inputProps: {
|
|
676
|
-
type: import("vue").PropType<import("
|
|
676
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
677
677
|
};
|
|
678
678
|
popProps: {
|
|
679
|
-
type: import("vue").PropType<import("
|
|
679
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
680
680
|
};
|
|
681
681
|
}>> & {
|
|
682
682
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -687,7 +687,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
687
687
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
|
688
688
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
|
689
689
|
}, {
|
|
690
|
-
options: import("
|
|
690
|
+
options: import("../../shared/types").AnyObject[];
|
|
691
691
|
mode: "select" | "input";
|
|
692
692
|
valueKey: string;
|
|
693
693
|
clearable: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { RecommendItem } from '
|
|
3
|
+
import { RecommendItem } from '../../../components/recommend-search/src/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
mode: {
|
|
6
6
|
type: PropType<"select" | "input">;
|
|
@@ -179,7 +179,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
179
179
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
|
180
180
|
}>>;
|
|
181
181
|
emits: (event: "delete" | "clear" | "update:value" | "search" | "choose" | "openMenu" | "closeMenu", ...args: any[]) => void;
|
|
182
|
-
baseSearchRef: import("vue").Ref<import("
|
|
182
|
+
baseSearchRef: import("vue").Ref<import("../../../components/recommend-search/src/types").BaseSearchExpose | undefined>;
|
|
183
183
|
setPattern: (value?: string) => void;
|
|
184
184
|
valueRef: import("vue").Ref<string | undefined> | import("vue").WritableComputedRef<string | undefined>;
|
|
185
185
|
parsedOptions: import("vue").ComputedRef<AnyObject[]>;
|
|
@@ -187,7 +187,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
187
187
|
onOpenMenu: () => void;
|
|
188
188
|
onCloseMenu: () => void;
|
|
189
189
|
onChoose: ({ type, value }: {
|
|
190
|
-
type?: import("
|
|
190
|
+
type?: import("../../../components/recommend-search/src/constant").RecommendType | undefined;
|
|
191
191
|
value: RecommendItem;
|
|
192
192
|
}) => void;
|
|
193
193
|
list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<AnyObject>[]>;
|
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
};
|
|
227
227
|
}, {
|
|
228
228
|
emits: (event: "delete" | "choose", ...args: any[]) => void;
|
|
229
|
-
clickTag: (type: import("
|
|
229
|
+
clickTag: (type: import("../../../components/recommend-search/src/constant").RecommendType, value: RecommendItem) => void;
|
|
230
230
|
clickCommonTag: (value: RecommendItem) => void;
|
|
231
231
|
clickRecentTag: (value: RecommendItem) => void;
|
|
232
232
|
deleteTag: () => void;
|
|
@@ -470,8 +470,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
470
470
|
commonOptions: import("vue").ComputedRef<any[]>;
|
|
471
471
|
recentOptions: import("vue").ComputedRef<any[]>;
|
|
472
472
|
optionWithoutRecommend: import("vue").ComputedRef<AnyObject[]>;
|
|
473
|
-
getDisplayValue: (item: import("
|
|
474
|
-
baseSearchRef: import("vue").Ref<import("
|
|
473
|
+
getDisplayValue: (item: import("../../../shared/types").Nullable<string | number>) => string;
|
|
474
|
+
baseSearchRef: import("vue").Ref<import("../../../components/recommend-search/src/types").BaseSearchExpose | undefined>;
|
|
475
475
|
valueRef: import("vue").Ref<string | number | null | undefined> | import("vue").WritableComputedRef<string | number | null | undefined>;
|
|
476
476
|
parsedOptions: import("vue").ComputedRef<any[]>;
|
|
477
477
|
search: (value?: string) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../../shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { RecommendType } from '
|
|
4
|
-
import { BaseSearchExpose, RecommendItem } from '
|
|
3
|
+
import { RecommendType } from '../../../../components/recommend-search/src/constant';
|
|
4
|
+
import { BaseSearchExpose, RecommendItem } from '../../../../components/recommend-search/src/types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
value: {
|
|
7
7
|
type: StringConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnyObject, Nullable } from '
|
|
1
|
+
import { AnyObject, Nullable } from '../../../../shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { BaseSearchExpose, RecommendItem } from '
|
|
3
|
+
import { BaseSearchExpose, RecommendItem } from '../../../../components/recommend-search/src/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
value: {
|
|
6
6
|
type: PropType<string | number | null>;
|
|
@@ -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};
|