cnhis-design-vue 3.1.37-beta.2 → 3.1.38-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/annotation-edit/index.d.ts +17 -0
- package/es/components/annotation-edit/src/AnnotationEdit.d.ts +16 -0
- package/es/components/big-table/index.d.ts +1076 -0
- package/es/components/big-table/src/BigTable.vue.d.ts +1066 -0
- package/es/components/big-table/src/bigTableEmits.d.ts +2 -0
- package/es/components/big-table/src/bigTableProps.d.ts +211 -0
- package/es/components/big-table/src/bigTableState.d.ts +58 -0
- package/es/components/big-table/src/components/NoData.vue.d.ts +49 -0
- package/es/components/big-table/src/components/edit-form/edit-date.d.ts +34 -0
- package/es/components/big-table/src/components/edit-form/edit-input.d.ts +43 -0
- package/es/components/big-table/src/components/edit-form/edit-select-table.d.ts +35 -0
- package/es/components/big-table/src/components/edit-form/edit-select.d.ts +35 -0
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +134 -0
- package/es/components/big-table/src/components/edit-form/edit-time.d.ts +43 -0
- package/es/components/big-table/src/components/edit-form/useCommon.d.ts +5 -0
- package/es/components/big-table/src/components/input-button.vue.d.ts +10 -0
- package/es/components/big-table/src/components/separate.vue.d.ts +41 -0
- package/es/components/big-table/src/constants/index.d.ts +3 -0
- package/es/components/big-table/src/hooks/index.d.ts +9 -0
- package/es/components/big-table/src/hooks/useAnchor.d.ts +7 -0
- package/es/components/big-table/src/hooks/useAnnotation.d.ts +4 -0
- package/es/components/big-table/src/hooks/useBatchEditing.d.ts +17 -0
- package/es/components/big-table/src/hooks/useEdit.d.ts +339 -0
- package/es/components/big-table/src/hooks/useEvent.d.ts +6 -0
- package/es/components/big-table/src/hooks/useFormat.d.ts +30 -0
- package/es/components/big-table/src/hooks/useNestTable.d.ts +8 -0
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +40 -0
- package/es/components/big-table/src/hooks/useTableParse.d.ts +6 -0
- package/es/components/big-table/src/utils.d.ts +61 -0
- package/es/components/bpmn-workflow/index.d.ts +72 -0
- package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.d.ts +75 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +75 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +24 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +19 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.d.ts +70 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +21 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +12 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +16 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/index.d.ts +6 -0
- package/es/components/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +5 -0
- package/es/components/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +12 -0
- package/es/components/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +5 -0
- package/es/components/bpmn-workflow/src/custom/customRules/no-task.d.ts +4 -0
- package/es/components/bpmn-workflow/src/custom/customTranslate/customTranslate.d.ts +1 -0
- package/es/components/bpmn-workflow/src/custom/customTranslate/zh.d.ts +226 -0
- package/es/components/button-print/index.d.ts +1901 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1912 -0
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +1244 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +1632 -0
- package/es/components/button-print/src/components/Preview.vue.d.ts +41 -0
- package/es/components/button-print/src/utils/browserPrint.d.ts +2 -0
- package/es/components/button-print/src/utils/dialog.d.ts +12 -0
- package/es/components/button-print/src/utils/index.d.ts +2 -0
- package/es/components/button-print/src/utils/print.d.ts +56 -0
- package/es/components/editor/index.d.ts +30 -0
- package/es/components/editor/src/Editor.d.ts +30 -0
- package/es/components/fabric-chart/index.d.ts +205 -0
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +207 -0
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +46 -0
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +64 -0
- package/es/components/fabric-chart/src/components/useStyle.d.ts +7 -0
- package/es/components/fabric-chart/src/hooks/constant.d.ts +54 -0
- package/es/components/fabric-chart/src/hooks/constant.js +1 -1
- package/es/components/fabric-chart/src/hooks/index.d.ts +11 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +9 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +23 -2
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.d.ts +25 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +2 -1
- package/es/components/fabric-chart/src/hooks/useBottom.d.ts +4 -0
- package/es/components/fabric-chart/src/hooks/useCenter.d.ts +16 -0
- package/es/components/fabric-chart/src/hooks/useCenter.js +19 -12
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +8 -0
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +14 -0
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +44 -0
- package/es/components/fabric-chart/src/hooks/useEvent.d.ts +7 -0
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +4 -0
- package/es/components/fabric-chart/src/hooks/useLeft.d.ts +7 -0
- package/es/components/fabric-chart/src/hooks/useOther.d.ts +4 -0
- package/es/components/fabric-chart/src/hooks/useOther.js +2 -2
- package/es/components/fabric-chart/src/hooks/useRight.d.ts +4 -0
- package/es/components/fabric-chart/src/hooks/useShadow.d.ts +6 -0
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.d.ts +25 -0
- package/es/components/fabric-chart/src/hooks/useTop.d.ts +4 -0
- package/es/components/fabric-chart/src/interface.d.ts +153 -0
- package/es/components/fabric-chart/src/utils/utils.d.ts +14 -0
- package/es/components/fabric-chart/src/utils/utils.js +6 -1
- package/es/components/field-set/index.d.ts +243 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +197 -0
- package/es/components/form-config/index.d.ts +3343 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +3344 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +675 -0
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +108 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +2396 -0
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +14 -0
- package/es/components/form-config/src/components/index.d.ts +5 -0
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +27 -0
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +169 -0
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +71 -0
- package/es/components/form-config/src/components/renderer/index.d.ts +4 -0
- package/es/components/form-config/src/constants/index.d.ts +65 -0
- package/es/components/form-config/src/hooks/index.d.ts +3 -0
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +8 -0
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +5 -0
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +4 -0
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +14 -0
- package/es/components/form-config/src/types/index.d.ts +39 -0
- package/es/components/form-config/src/utils/index.d.ts +7 -0
- package/es/components/form-render/index.d.ts +657 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +650 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +654 -0
- package/es/components/form-render/src/components/renderer/checkbox.d.ts +90 -0
- package/es/components/form-render/src/components/renderer/combination.d.ts +51 -0
- package/es/components/form-render/src/components/renderer/complex.d.ts +34 -0
- package/es/components/form-render/src/components/renderer/date.d.ts +52 -0
- package/es/components/form-render/src/components/renderer/formItem.d.ts +15 -0
- package/es/components/form-render/src/components/renderer/index.d.ts +3 -0
- package/es/components/form-render/src/components/renderer/input.d.ts +23 -0
- package/es/components/form-render/src/components/renderer/inputGroup.d.ts +11 -0
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +31 -0
- package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.d.ts +5 -0
- package/es/components/form-render/src/components/renderer/jsonCombination/index.d.ts +44 -0
- package/es/components/form-render/src/components/renderer/levelSearchCascader.d.ts +91 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +69 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +68 -0
- package/es/components/form-render/src/components/renderer/radio.d.ts +94 -0
- package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +41 -0
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +58 -0
- package/es/components/form-render/src/components/renderer/select.d.ts +140 -0
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +18 -0
- package/es/components/form-render/src/components/renderer/slider.d.ts +11 -0
- package/es/components/form-render/src/components/renderer/switch.d.ts +23 -0
- package/es/components/form-render/src/components/renderer/textarea.d.ts +11 -0
- package/es/components/form-render/src/components/tooltipMessage.vue.d.ts +13 -0
- package/es/components/form-render/src/constants/index.d.ts +54 -0
- package/es/components/form-render/src/hooks/index.d.ts +15 -0
- package/es/components/form-render/src/hooks/useAnchor.d.ts +16 -0
- package/es/components/form-render/src/hooks/useAsyncQueue.d.ts +47 -0
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +27 -0
- package/es/components/form-render/src/hooks/useChangeContext.d.ts +11 -0
- package/es/components/form-render/src/hooks/useCommonInjection.d.ts +15 -0
- package/es/components/form-render/src/hooks/useCommonLog.d.ts +3 -0
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +64 -0
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +5 -0
- package/es/components/form-render/src/hooks/useFieldVisitor.d.ts +4 -0
- package/es/components/form-render/src/hooks/useFormContext.d.ts +11 -0
- package/es/components/form-render/src/hooks/useFormField.d.ts +5 -0
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +11 -0
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +13 -0
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +39 -0
- package/es/components/form-render/src/hooks/useFormRequest.d.ts +26 -0
- package/es/components/form-render/src/hooks/useFormValidator.d.ts +6 -0
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +7 -0
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.d.ts +4 -0
- package/es/components/form-render/src/hooks/usePresetScope.d.ts +6 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +265 -0
- package/es/components/form-render/src/types/index.d.ts +101 -0
- package/es/components/form-render/src/utils/business.d.ts +13 -0
- package/es/components/form-render/src/utils/dom.d.ts +13 -0
- package/es/components/form-render/src/utils/index.d.ts +38 -0
- package/es/components/form-render/src/utils/schema.d.ts +83 -0
- package/es/components/grid/index.d.ts +3 -0
- package/es/components/grid/src/Grid.d.ts +2 -0
- package/es/components/grid/src/hooks.d.ts +1 -0
- package/es/components/iho-table/index.d.ts +4647 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +4646 -0
- package/es/components/iho-table/src/constants/index.d.ts +80 -0
- package/es/components/iho-table/src/hooks/export.d.ts +2 -0
- package/es/components/iho-table/src/hooks/index.d.ts +2 -0
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +93 -0
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +31 -0
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +16 -0
- package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +15 -0
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +251 -0
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +13 -0
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +25 -0
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +10 -0
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +11 -0
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +9 -0
- package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +8 -0
- package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/anchorPlugin/tableAnchor.d.ts +2 -0
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +13 -0
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +169 -0
- package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +7 -0
- package/es/components/iho-table/src/plugins/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +96 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +5 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +43 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +94 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +12 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +11 -0
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/types/index.d.ts +108 -0
- package/es/components/iho-table/src/types/pluginType.d.ts +173 -0
- package/es/components/iho-table/src/utils/index.d.ts +49 -0
- package/es/components/index.d.ts +37 -0
- package/es/components/info-header/index.d.ts +415 -0
- package/es/components/info-header/src/HiddenContent.vue.d.ts +86 -0
- package/es/components/info-header/src/InfoEllipsis.vue.d.ts +33 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +405 -0
- package/es/components/insurance-sdk/index.d.ts +1 -0
- package/es/components/insurance-sdk/src/constants/index.d.ts +161 -0
- package/es/components/insurance-sdk/src/utils/index.d.ts +1 -0
- package/es/components/insurance-sdk/src/utils/insurance.d.ts +260 -0
- package/es/components/keyboard/index.d.ts +334 -0
- package/es/components/keyboard/src/Keyboard.vue.d.ts +335 -0
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +64 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +191 -0
- package/es/components/keyboard/src/utils/index.d.ts +1 -0
- package/es/components/map/index.d.ts +75 -0
- package/es/components/map/src/Map.vue.d.ts +75 -0
- package/es/components/recommend-search/index.d.ts +815 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +817 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +143 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +341 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +63 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +300 -0
- package/es/components/recommend-search/src/constant/index.d.ts +4 -0
- package/es/components/recommend-search/src/types/index.d.ts +9 -0
- package/es/components/scale-view/index.d.ts +1400 -0
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1222 -0
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +70 -0
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +154 -0
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +110 -0
- package/es/components/scale-view/src/components/NoData.vue.d.ts +49 -0
- package/es/components/scale-view/src/components/ScaleScore.d.ts +23 -0
- package/es/components/scale-view/src/components/composables/choose-common.d.ts +11 -0
- package/es/components/scale-view/src/components/formitem/address.d.ts +3992 -0
- package/es/components/scale-view/src/components/formitem/r-address.d.ts +34 -0
- package/es/components/scale-view/src/components/formitem/r-cascader.d.ts +43 -0
- package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +43 -0
- package/es/components/scale-view/src/components/formitem/r-collection.d.ts +32 -0
- package/es/components/scale-view/src/components/formitem/r-datetime.d.ts +34 -0
- package/es/components/scale-view/src/components/formitem/r-input.d.ts +34 -0
- package/es/components/scale-view/src/components/formitem/r-map.d.ts +52 -0
- package/es/components/scale-view/src/components/formitem/r-radio.d.ts +43 -0
- package/es/components/scale-view/src/components/formitem/r-select.d.ts +61 -0
- package/es/components/scale-view/src/components/formitem/r-sign.d.ts +34 -0
- package/es/components/scale-view/src/components/formitem/r-upload.d.ts +52 -0
- package/es/components/scale-view/src/components/formitem/sign-com.d.ts +63 -0
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +80 -0
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +87 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +43 -0
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +3 -0
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +115 -0
- package/es/components/scale-view/src/hooks/scaleview-state.d.ts +34 -0
- package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +3 -0
- package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +3 -0
- package/es/components/scale-view/src/hooks/use-component.d.ts +1763 -0
- package/es/components/scale-view/src/hooks/use-evaluate.d.ts +21 -0
- package/es/components/scale-view/src/hooks/use-event.d.ts +4 -0
- package/es/components/scale-view/src/hooks/use-noData.d.ts +9 -0
- package/es/components/scale-view/src/utils/judge-types.d.ts +5 -0
- package/es/components/search-cascader/index.d.ts +233 -0
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +235 -0
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +50 -0
- package/es/components/search-cascader/src/components/index.d.ts +1 -0
- package/es/components/search-cascader/src/constants/index.d.ts +5 -0
- package/es/components/search-cascader/src/hooks/index.d.ts +1 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +3 -0
- package/es/components/search-cascader/src/utils/index.d.ts +2 -0
- package/es/components/select-label/index.d.ts +937 -0
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +367 -0
- package/es/components/select-label/src/SelectLabel.vue.d.ts +571 -0
- package/es/components/select-label/src/components/label-classify.vue.d.ts +122 -0
- package/es/components/select-person/index.d.ts +323 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +281 -0
- package/es/components/select-person/src/utils/index.d.ts +3 -0
- package/es/components/shortcut-provider/index.d.ts +21 -0
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +19 -0
- package/es/components/shortcut-provider/src/constants/index.d.ts +7 -0
- package/es/components/shortcut-provider/src/hooks/index.d.ts +2 -0
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature.d.ts +4 -0
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +33 -0
- package/es/components/shortcut-provider/src/types/index.d.ts +43 -0
- package/es/components/shortcut-provider/src/utils/index.d.ts +10 -0
- package/es/components/shortcut-setter/index.d.ts +2384 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2386 -0
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +99 -0
- package/es/components/shortcut-setter/src/types/index.d.ts +6 -0
- package/es/components/steps-wheel/index.d.ts +115 -0
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +114 -0
- package/es/components/time-line/index.d.ts +109 -0
- package/es/components/time-line/src/TimeLine.vue.d.ts +85 -0
- package/es/components/vod-chunk-upload/index.d.ts +232 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +196 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +11 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +63 -0
- package/es/components/vod-chunk-upload/src/hooks/vod-computed.d.ts +10 -0
- package/es/components/vod-chunk-upload/src/hooks/vod-data.d.ts +23 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.d.ts +2 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +230 -0
- package/es/components/vod-chunk-upload/src/vod-upload-modal.d.ts +25 -0
- package/es/shared/components/SelectPage/SelectPage.vue.d.ts +51 -0
- package/es/shared/components/SelectPage/index.d.ts +2 -0
- package/es/shared/components/SlotRender/SlotRender.d.ts +20 -0
- package/es/shared/components/SlotRender/index.d.ts +2 -0
- package/es/shared/components/SvgIcon/SvgIcon.vue.d.ts +43 -0
- package/es/shared/components/SvgIcon/index.d.ts +2 -0
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +87 -0
- package/es/shared/components/TextOverTooltip/index.d.ts +2 -0
- package/es/shared/components/VueDraggable/index.d.ts +2 -0
- package/es/shared/components/VueDraggable/src/core/componentBuilderHelper.d.ts +9 -0
- package/es/shared/components/VueDraggable/src/core/componentStructure.d.ts +22 -0
- package/es/shared/components/VueDraggable/src/core/renderHelper.d.ts +7 -0
- package/es/shared/components/VueDraggable/src/core/sortableEvents.d.ts +10 -0
- package/es/shared/components/VueDraggable/src/util/console.d.ts +1 -0
- package/es/shared/components/VueDraggable/src/util/htmlHelper.d.ts +2 -0
- package/es/shared/components/VueDraggable/src/util/string.d.ts +1 -0
- package/es/shared/components/VueDraggable/src/util/tags.d.ts +3 -0
- package/es/shared/components/no-data/NoData.vue.d.ts +49 -0
- package/es/shared/components/no-data/index.d.ts +2 -0
- package/es/shared/components/player-vod/index.vue.d.ts +2 -0
- package/es/shared/components/player-vod/player.d.ts +17 -0
- package/es/shared/components/player-vod/video-list.d.ts +32 -0
- package/es/shared/components/player-vod/video-modal.d.ts +54 -0
- package/es/shared/global/variable.d.ts +1 -0
- package/es/shared/index.d.ts +0 -0
- package/es/shared/types/index.d.ts +22 -0
- package/es/shared/utils/anime.d.ts +35 -0
- package/es/shared/utils/colorLog.d.ts +31 -0
- package/es/shared/utils/index.d.ts +16 -0
- package/es/shared/utils/loadViewer.d.ts +2 -0
- package/es/shared/utils/tapable/AsyncParallelBailHook.d.ts +3 -0
- package/es/shared/utils/tapable/AsyncParallelHook.d.ts +3 -0
- package/es/shared/utils/tapable/AsyncSeriesBailHook.d.ts +3 -0
- package/es/shared/utils/tapable/AsyncSeriesHook.d.ts +3 -0
- package/es/shared/utils/tapable/AsyncSeriesLoopHook.d.ts +3 -0
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.d.ts +3 -0
- package/es/shared/utils/tapable/Hook.d.ts +50 -0
- package/es/shared/utils/tapable/HookCodeFactory.d.ts +58 -0
- package/es/shared/utils/tapable/HookMap.d.ts +11 -0
- package/es/shared/utils/tapable/MultiHook.d.ts +12 -0
- package/es/shared/utils/tapable/SyncBailHook.d.ts +3 -0
- package/es/shared/utils/tapable/SyncHook.d.ts +3 -0
- package/es/shared/utils/tapable/SyncLoopHook.d.ts +3 -0
- package/es/shared/utils/tapable/SyncWaterfallHook.d.ts +3 -0
- package/es/shared/utils/utilExpand.d.ts +1 -0
- package/es/shared/utils/vexutils.d.ts +10 -0
- package/package.json +2 -2
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ICoordinateValue } from '../interface';
|
|
2
|
+
import { AnyObject } from '../../../../../es/shared/types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
show: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
point: {
|
|
10
|
+
type: null;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
list: {
|
|
14
|
+
type: ArrayConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
propItems: {
|
|
19
|
+
type: null;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
props: {
|
|
24
|
+
show: boolean;
|
|
25
|
+
point: ICoordinateValue;
|
|
26
|
+
list: Array<string>;
|
|
27
|
+
propItems: AnyObject;
|
|
28
|
+
};
|
|
29
|
+
pointStyle: import("vue").ComputedRef<{
|
|
30
|
+
top: string;
|
|
31
|
+
bottom: string;
|
|
32
|
+
left: string;
|
|
33
|
+
right: string;
|
|
34
|
+
'transform-origin': string;
|
|
35
|
+
}>;
|
|
36
|
+
Teleport: {
|
|
37
|
+
new (): {
|
|
38
|
+
$props: import("vue").VNodeProps & import("vue").TeleportProps;
|
|
39
|
+
};
|
|
40
|
+
__isTeleport: true;
|
|
41
|
+
};
|
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
show: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
required: true;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
point: {
|
|
49
|
+
type: null;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
list: {
|
|
53
|
+
type: ArrayConstructor;
|
|
54
|
+
required: false;
|
|
55
|
+
default: () => never[];
|
|
56
|
+
};
|
|
57
|
+
propItems: {
|
|
58
|
+
type: null;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
}>>, {
|
|
62
|
+
list: unknown[];
|
|
63
|
+
}>;
|
|
64
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare const TEMPERATURE_MENU: ({
|
|
2
|
+
label: string;
|
|
3
|
+
value: boolean;
|
|
4
|
+
type: string;
|
|
5
|
+
} | {
|
|
6
|
+
label: string;
|
|
7
|
+
value: undefined;
|
|
8
|
+
type: string;
|
|
9
|
+
})[];
|
|
10
|
+
export declare const PAIN_MENU: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: undefined;
|
|
13
|
+
type: string;
|
|
14
|
+
}[];
|
|
15
|
+
export declare const OVERLAP: {
|
|
16
|
+
yemai: {
|
|
17
|
+
stroke: string;
|
|
18
|
+
strokeX: string;
|
|
19
|
+
strokeWidth: number;
|
|
20
|
+
strokeWidthX: number;
|
|
21
|
+
radius: number;
|
|
22
|
+
angle: number;
|
|
23
|
+
};
|
|
24
|
+
koumai: {
|
|
25
|
+
stroke: string;
|
|
26
|
+
strokeWidth: number;
|
|
27
|
+
radius: number;
|
|
28
|
+
radiusCircle: number;
|
|
29
|
+
fillCircle: string;
|
|
30
|
+
};
|
|
31
|
+
gangmai: {
|
|
32
|
+
radius: number;
|
|
33
|
+
radiusCircle: number;
|
|
34
|
+
stroke: string;
|
|
35
|
+
fillCircle: string;
|
|
36
|
+
};
|
|
37
|
+
xinmai: {
|
|
38
|
+
radius: number;
|
|
39
|
+
radiusCircle: number;
|
|
40
|
+
stroke: string;
|
|
41
|
+
fillCircle: string;
|
|
42
|
+
};
|
|
43
|
+
humai: {
|
|
44
|
+
radius: number;
|
|
45
|
+
fill: string;
|
|
46
|
+
};
|
|
47
|
+
ermai: {
|
|
48
|
+
stroke: string;
|
|
49
|
+
strokeWidth: number;
|
|
50
|
+
radius: number;
|
|
51
|
+
radiusCircle: number;
|
|
52
|
+
fillCircle: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './useDraw';
|
|
2
|
+
export * from './useCumputedPoint';
|
|
3
|
+
export * from './useTop';
|
|
4
|
+
export * from './useLeft';
|
|
5
|
+
export * from './useRight';
|
|
6
|
+
export * from './useCenter';
|
|
7
|
+
export * from './useBottom';
|
|
8
|
+
export * from './useOther';
|
|
9
|
+
export * from './useEvent';
|
|
10
|
+
export * from './useBirthProcess';
|
|
11
|
+
export * from './useCommon';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { fabric } from '../utils';
|
|
3
|
+
import { AnyObject } from '../../../../../es/shared/types';
|
|
4
|
+
export declare function useBirthProcess(canvas: Ref<fabric.Canvas>, propItems: AnyObject, emits: any, pointTipProps: any, pointMenuProps: any, commonFunc: AnyObject): {
|
|
5
|
+
clickMenu: ({ item, target }: {
|
|
6
|
+
item: any;
|
|
7
|
+
target: any;
|
|
8
|
+
}) => void;
|
|
9
|
+
};
|
|
@@ -26,16 +26,18 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
|
|
|
26
26
|
borderStyle,
|
|
27
27
|
rightAddAreaWidth,
|
|
28
28
|
event,
|
|
29
|
-
originYCervix
|
|
29
|
+
originYCervix,
|
|
30
|
+
other
|
|
30
31
|
} = propItems;
|
|
31
32
|
const yScaleValue = cloneDeep(scaleValues);
|
|
32
33
|
const gridPoints = /* @__PURE__ */ new Set();
|
|
33
34
|
useGrid(canvas, propItems, true);
|
|
34
35
|
init();
|
|
35
36
|
function init() {
|
|
37
|
+
drawBorder();
|
|
36
38
|
drawYScale();
|
|
37
39
|
drawXScale();
|
|
38
|
-
|
|
40
|
+
drawOther();
|
|
39
41
|
drawPolyLine();
|
|
40
42
|
setCanvasEvent();
|
|
41
43
|
drawIcons();
|
|
@@ -297,6 +299,25 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
|
|
|
297
299
|
updateData(params);
|
|
298
300
|
}
|
|
299
301
|
}
|
|
302
|
+
function drawOther() {
|
|
303
|
+
const lineData = Object.values(other);
|
|
304
|
+
const lines = [];
|
|
305
|
+
lineData.forEach((line) => {
|
|
306
|
+
if (!line.show)
|
|
307
|
+
return;
|
|
308
|
+
const { key } = line;
|
|
309
|
+
if (key === "fetalPresentation") {
|
|
310
|
+
const { range } = yScaleValue.find((item) => item.key === key);
|
|
311
|
+
const y = cumputedY(key, range, 0);
|
|
312
|
+
lines.push(
|
|
313
|
+
drawLine([originX, y, endX, y], {
|
|
314
|
+
...line
|
|
315
|
+
})
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
canvas.value.add(...lines);
|
|
320
|
+
}
|
|
300
321
|
function drawIcons() {
|
|
301
322
|
const leftX = leftAddAreaWidth / 2;
|
|
302
323
|
const rightX = canvasWidth - rightAddAreaWidth / 2;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { fabric } from '../utils';
|
|
3
|
+
export default function useBirthProcessChart(canvas: Ref<fabric.Canvas>, props: any, emits: any, canvasRef: Ref<any>): {
|
|
4
|
+
propItems: any;
|
|
5
|
+
redrawPoints: Ref<any>;
|
|
6
|
+
select: Ref<any>;
|
|
7
|
+
pointTipProps: {
|
|
8
|
+
show: boolean;
|
|
9
|
+
point: {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
};
|
|
13
|
+
list: string[];
|
|
14
|
+
};
|
|
15
|
+
pointMenuProps: {
|
|
16
|
+
show: boolean;
|
|
17
|
+
point: {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
};
|
|
21
|
+
list: any[];
|
|
22
|
+
target: any;
|
|
23
|
+
};
|
|
24
|
+
clickMenu: Ref<any>;
|
|
25
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, reactive, computed, onMounted, nextTick } from 'vue';
|
|
2
2
|
import { defaultBorderStyle } from './useDraw.js';
|
|
3
3
|
import '../utils/index.js';
|
|
4
|
-
import './useShadow.js';
|
|
5
4
|
import 'lodash-es';
|
|
5
|
+
import './useShadow.js';
|
|
6
6
|
import { useEvent, useCanvasEvent } from './useEvent.js';
|
|
7
7
|
import { useBirthProcess } from './useBirthProcess.js';
|
|
8
8
|
import { useCommon } from './useCommon.js';
|
|
@@ -99,6 +99,7 @@ function useBirthProcessChart(canvas, props, emits, canvasRef) {
|
|
|
99
99
|
borderStyle: { ...defaultBorderStyle, ...props.data.borderStyle },
|
|
100
100
|
selectionStyle: props.data.selectionStyle || {},
|
|
101
101
|
grid: props.data.grid,
|
|
102
|
+
other: props.data.other,
|
|
102
103
|
originX: originX.value,
|
|
103
104
|
endX: endX.value,
|
|
104
105
|
originY: originY.value,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { fabric } from '../utils';
|
|
3
|
+
import { IPropItems } from '../interface';
|
|
4
|
+
import { AnyObject } from '../../../../../es/shared/types';
|
|
5
|
+
export declare function useCenter(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: any, cumputedX: Function, cumputedY: Function, getXValue: Function, getYValue: Function, addRenderItem: Function | undefined, pointTipProps: any, pointMenuProps: any, commonFunc: AnyObject): {
|
|
6
|
+
pointTipProps: any;
|
|
7
|
+
pointMenuProps: any;
|
|
8
|
+
clickMenu: ({ item, target }: {
|
|
9
|
+
item: any;
|
|
10
|
+
target: any;
|
|
11
|
+
}) => void;
|
|
12
|
+
setPopup: (point: any) => void;
|
|
13
|
+
isAddPoint: (x: number) => boolean;
|
|
14
|
+
updateData: (params: any, mode?: string) => void;
|
|
15
|
+
redrawPoints: () => void;
|
|
16
|
+
};
|
|
@@ -4,7 +4,7 @@ import useGrid from './useGrid.js';
|
|
|
4
4
|
import { useShadow } from './useShadow.js';
|
|
5
5
|
import { TEMPERATURE_MENU, PAIN_MENU, OVERLAP } from './constant.js';
|
|
6
6
|
import { cloneDeep } from 'lodash-es';
|
|
7
|
-
import { isOneLine, getType, setOtherType, isEffectiveNode, getIndex, deleteProperty } from '../utils/utils.js';
|
|
7
|
+
import { isOneLine, getType, isValidValue, setOtherType, isEffectiveNode, getIndex, deleteProperty } from '../utils/utils.js';
|
|
8
8
|
|
|
9
9
|
function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, getYValue, addRenderItem, pointTipProps, pointMenuProps, commonFunc) {
|
|
10
10
|
useGrid(canvas, propItems);
|
|
@@ -24,7 +24,8 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
24
24
|
vitalSignsOriginY,
|
|
25
25
|
painOriginY,
|
|
26
26
|
hospitalizationDate,
|
|
27
|
-
config
|
|
27
|
+
config,
|
|
28
|
+
canvasHeight
|
|
28
29
|
} = propItems;
|
|
29
30
|
const shadowLinesCache = /* @__PURE__ */ new Set();
|
|
30
31
|
const SHADOWKEYS = ["xinmai", "mai"];
|
|
@@ -371,12 +372,17 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
371
372
|
}
|
|
372
373
|
}
|
|
373
374
|
if (v.rise && riseStyle.show) {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
375
|
+
if (typeof v.rise === "boolean") {
|
|
376
|
+
v.rise = "\u5347\u6E29";
|
|
377
|
+
}
|
|
378
|
+
if (typeof v.rise === "string") {
|
|
379
|
+
riseText = drawText([points[0], points[1] - (value ? yCellHeight : 0) - 5], {
|
|
380
|
+
value: v.rise.split("").join("\n"),
|
|
381
|
+
originY: "bottom",
|
|
382
|
+
...riseStyle
|
|
383
|
+
});
|
|
384
|
+
otherList.push(riseText);
|
|
385
|
+
}
|
|
380
386
|
}
|
|
381
387
|
if (v.verified) {
|
|
382
388
|
verifiedText = drawText([points[0], points[1] - (value ? yCellHeight : 0) - 5], {
|
|
@@ -387,7 +393,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
387
393
|
});
|
|
388
394
|
otherList.push(verifiedText);
|
|
389
395
|
}
|
|
390
|
-
if (v.physicsReduce || v.drugReduce) {
|
|
396
|
+
if (isValidValue(v.physicsReduce) || isValidValue(v.drugReduce)) {
|
|
391
397
|
const reduceY = cumputedY(type, scaleValue.list, v.physicsReduce || v.drugReduce);
|
|
392
398
|
reduceLine = drawLine([...points, points[0], reduceY], {
|
|
393
399
|
...lineAttr,
|
|
@@ -398,7 +404,8 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
398
404
|
left: points[0],
|
|
399
405
|
top: reduceY,
|
|
400
406
|
...reduceStyle.point,
|
|
401
|
-
...defaultStyle
|
|
407
|
+
...defaultStyle,
|
|
408
|
+
originY: reduceY === canvasHeight ? "bottom" : "center"
|
|
402
409
|
});
|
|
403
410
|
reduceLine && otherList.push(reduceLine);
|
|
404
411
|
reducePoint && otherList.push(reducePoint);
|
|
@@ -581,10 +588,10 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
581
588
|
pointTipProps.show = true;
|
|
582
589
|
function getListValue() {
|
|
583
590
|
const { value = getYValue(type, point.top), drugReduce, physicsReduce } = data || {};
|
|
584
|
-
if (drugReduce) {
|
|
591
|
+
if (isValidValue(drugReduce)) {
|
|
585
592
|
return `\u836F\u7269\u964D${type == "pain" ? "\u75DB" : "\u6E29"} ${value}\u2014>${drugReduce}${unit || ""}`;
|
|
586
593
|
}
|
|
587
|
-
if (physicsReduce) {
|
|
594
|
+
if (isValidValue(physicsReduce)) {
|
|
588
595
|
return `\u7269\u7406\u964D${type == "pain" ? "\u75DB" : "\u6E29"} ${value}\u2014>${physicsReduce}${unit || ""}`;
|
|
589
596
|
}
|
|
590
597
|
return `${title} ${value}${unit || ""}`;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { fabric } from '../utils';
|
|
3
|
+
export declare function useCommon(canvas: Ref<fabric.Canvas>): {
|
|
4
|
+
getEqualXTypes: (pointX: number, field: string, range?: number) => string[];
|
|
5
|
+
repeatTip: () => void;
|
|
6
|
+
maxLimitTip: () => void;
|
|
7
|
+
minLimitTip: () => void;
|
|
8
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IPointType } from '../interface';
|
|
2
|
+
import { AnyObject } from '../../../../../es/shared/types';
|
|
3
|
+
export declare function useCumputedPoint(propItems: AnyObject): {
|
|
4
|
+
cumputedX: (value: number | string, setAllCenter?: boolean) => any;
|
|
5
|
+
cumputedY: (type: IPointType, scaleValueList: number[], value: number | string) => number;
|
|
6
|
+
getXValue: (pointX: number) => string | undefined;
|
|
7
|
+
getYValue: (type: IPointType, pointY: number) => number;
|
|
8
|
+
};
|
|
9
|
+
export declare function useBirthProcessCumputedPoint(propItems: AnyObject): {
|
|
10
|
+
cumputedX: (value: number | string) => any;
|
|
11
|
+
cumputedY: (key: string, range: [number, number], value: number | string) => number;
|
|
12
|
+
getXValue: (pointX: number) => string;
|
|
13
|
+
getYValue: (key: string, pointY: number) => number;
|
|
14
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { fabric } from '../utils';
|
|
2
|
+
import { ILineOptions, ITextOptions } from '../interface';
|
|
3
|
+
export declare const defaultStyle: {
|
|
4
|
+
evented: boolean;
|
|
5
|
+
selectable: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const defaultBorderStyle: {
|
|
8
|
+
evented: boolean;
|
|
9
|
+
selectable: boolean;
|
|
10
|
+
stroke: string;
|
|
11
|
+
strokeWidth: number;
|
|
12
|
+
};
|
|
13
|
+
export declare const defaultLineStyle: {
|
|
14
|
+
evented: boolean;
|
|
15
|
+
selectable: boolean;
|
|
16
|
+
stroke: string;
|
|
17
|
+
strokeWidth: number;
|
|
18
|
+
strokeDashArray: number[];
|
|
19
|
+
};
|
|
20
|
+
export declare const defaultRectStyle: {
|
|
21
|
+
evented: boolean;
|
|
22
|
+
selectable: boolean;
|
|
23
|
+
fill: string;
|
|
24
|
+
stroke: string;
|
|
25
|
+
strokeWidth: number;
|
|
26
|
+
originX: string;
|
|
27
|
+
originY: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const defaultTextStyle: {
|
|
30
|
+
evented: boolean;
|
|
31
|
+
selectable: boolean;
|
|
32
|
+
fontFamily: string;
|
|
33
|
+
fontSize: number;
|
|
34
|
+
fill: string;
|
|
35
|
+
centeredRotation: boolean;
|
|
36
|
+
originX: string;
|
|
37
|
+
originY: string;
|
|
38
|
+
lineHeight: number;
|
|
39
|
+
};
|
|
40
|
+
export declare function drawLine(points: number[], style: Partial<ILineOptions>): fabric.Line;
|
|
41
|
+
export declare function drawText([x, y]: [x: number, y: number], style: ITextOptions): fabric.Text;
|
|
42
|
+
export declare function drawArrow([x, y1, y2]: [x: number, y1: number, y2: number], style: ITextOptions | any, type?: string): fabric.Group;
|
|
43
|
+
export declare function drawTextGroup(rectStyle: Partial<fabric.IRectOptions>, fontStyle: Partial<ITextOptions>, groupStyle: Partial<fabric.IGroupOptions>): fabric.Group;
|
|
44
|
+
export declare function drawPoint(type: string | undefined, style: any): fabric.Object;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { fabric } from '../utils';
|
|
3
|
+
import { IPropItems } from '../interface';
|
|
4
|
+
export declare function useEvent(element: HTMLCanvasElement | any): void;
|
|
5
|
+
export declare function useCanvasEvent(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: any): {
|
|
6
|
+
select: (key: string) => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { fabric } from '../utils';
|
|
3
|
+
import { IPropItems } from '../interface';
|
|
4
|
+
import { AnyObject } from '../../../../../es/shared/types';
|
|
5
|
+
export declare function useLeft(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: any, setPopup: Function, pointTipProps: any, cumputedX: Function, cumputedY: Function, getXValue: Function, getYValue: Function, isAddPoint: Function, updateData: Function, useCommon: AnyObject): {
|
|
6
|
+
drawScaleValue: (yScaleValueList: any[]) => void;
|
|
7
|
+
};
|
|
@@ -9,8 +9,8 @@ function useOther(canvas, propItems, cumputedX) {
|
|
|
9
9
|
return false;
|
|
10
10
|
const list = [];
|
|
11
11
|
const otherList = [];
|
|
12
|
-
other.list.forEach((item) => {
|
|
13
|
-
const align = item.align || "vertical";
|
|
12
|
+
other.list.forEach((item, index) => {
|
|
13
|
+
const align = index === 0 ? "vertical" : item.align || "vertical";
|
|
14
14
|
const left = cumputedX(item.time, true);
|
|
15
15
|
const obj = otherList.find((v) => v.left == left);
|
|
16
16
|
if (obj) {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { fabric } from '../utils';
|
|
3
|
+
export default function useTemperatureChart(canvas: Ref<fabric.Canvas>, props: any, emits: any, canvasRef: Ref<any>): {
|
|
4
|
+
propItems: any;
|
|
5
|
+
redrawPoints: Ref<any>;
|
|
6
|
+
select: Ref<any>;
|
|
7
|
+
pointTipProps: {
|
|
8
|
+
show: boolean;
|
|
9
|
+
point: {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
};
|
|
13
|
+
list: string[];
|
|
14
|
+
};
|
|
15
|
+
pointMenuProps: {
|
|
16
|
+
show: boolean;
|
|
17
|
+
point: {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
};
|
|
21
|
+
list: any[];
|
|
22
|
+
target: any;
|
|
23
|
+
};
|
|
24
|
+
clickMenu: Ref<any>;
|
|
25
|
+
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { fabric } from './utils';
|
|
3
|
+
import { AnyObject } from '../../../../es/shared/types';
|
|
4
|
+
export declare type IType = 'temperature' | 'birthProcess' | undefined;
|
|
5
|
+
interface IEvent {
|
|
6
|
+
selectable: boolean;
|
|
7
|
+
evented: boolean;
|
|
8
|
+
hovered: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface ImainLineStyle {
|
|
11
|
+
x: fabric.ILineOptions;
|
|
12
|
+
y: fabric.ILineOptions;
|
|
13
|
+
}
|
|
14
|
+
interface IGrid {
|
|
15
|
+
mainXCell: number;
|
|
16
|
+
subXCell: number;
|
|
17
|
+
subSecondXCell: number;
|
|
18
|
+
mainYCell: number;
|
|
19
|
+
subYCell: number;
|
|
20
|
+
surplusXCell: number;
|
|
21
|
+
surplusYCell: number;
|
|
22
|
+
mainLineStyle?: ImainLineStyle;
|
|
23
|
+
subLineStyle?: fabric.ILineOptions;
|
|
24
|
+
subSecondLineStyle?: fabric.ILineOptions;
|
|
25
|
+
event?: Partial<IEvent>;
|
|
26
|
+
}
|
|
27
|
+
export interface IPropItems {
|
|
28
|
+
canvasWidth: number;
|
|
29
|
+
canvasHeight: number;
|
|
30
|
+
borderStyle: fabric.ILineOptions;
|
|
31
|
+
selectionStyle: any;
|
|
32
|
+
dateHeight: number;
|
|
33
|
+
hospitalDaysHeight: number;
|
|
34
|
+
operationDaysHeight: number;
|
|
35
|
+
xScalevalueHeight: number;
|
|
36
|
+
topList: IDate[];
|
|
37
|
+
breathingHeight: number;
|
|
38
|
+
hospitalizationDate?: string;
|
|
39
|
+
grid: IGrid;
|
|
40
|
+
top: ITop;
|
|
41
|
+
left: ILeft;
|
|
42
|
+
right: IRight | undefined;
|
|
43
|
+
bottom: any;
|
|
44
|
+
other?: IOther;
|
|
45
|
+
painIndex: number;
|
|
46
|
+
painHeight: number;
|
|
47
|
+
painOriginY: any;
|
|
48
|
+
vitalSignsOriginY: any;
|
|
49
|
+
gridXNumber: number;
|
|
50
|
+
gridYNumber: number;
|
|
51
|
+
iconsWidth: number;
|
|
52
|
+
originX: number;
|
|
53
|
+
originY: number;
|
|
54
|
+
originYLimit: number;
|
|
55
|
+
endX: number;
|
|
56
|
+
endXLimit: number;
|
|
57
|
+
endY: number;
|
|
58
|
+
xCellWidth: number;
|
|
59
|
+
yCellHeight: number;
|
|
60
|
+
xScaleList: Array<any>;
|
|
61
|
+
breatheYCell: number;
|
|
62
|
+
pulseYCell: number;
|
|
63
|
+
temperatureYCell: number;
|
|
64
|
+
painYCell: number;
|
|
65
|
+
event: Partial<IEvent>;
|
|
66
|
+
itemList: Array<any>;
|
|
67
|
+
getRightInfo: AnyObject;
|
|
68
|
+
config: AnyObject;
|
|
69
|
+
}
|
|
70
|
+
export interface IPoint {
|
|
71
|
+
time: string;
|
|
72
|
+
value: string | number;
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
}
|
|
75
|
+
interface IOther {
|
|
76
|
+
style?: fabric.ITextOptions;
|
|
77
|
+
list: Array<IPoint>;
|
|
78
|
+
}
|
|
79
|
+
export interface IDate {
|
|
80
|
+
seq: number;
|
|
81
|
+
show?: boolean;
|
|
82
|
+
title: string;
|
|
83
|
+
height?: number;
|
|
84
|
+
list: Array<string | number>;
|
|
85
|
+
style?: fabric.ITextOptions;
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}
|
|
88
|
+
export interface ITop {
|
|
89
|
+
dateStyle?: fabric.ITextOptions;
|
|
90
|
+
titleWidth: number;
|
|
91
|
+
date: IDate;
|
|
92
|
+
xScalevalue: IDate;
|
|
93
|
+
dayHeight?: number;
|
|
94
|
+
hospitalDays?: IDate;
|
|
95
|
+
operationDays?: IDate;
|
|
96
|
+
}
|
|
97
|
+
interface ILeft {
|
|
98
|
+
overlap?: any;
|
|
99
|
+
spaceGridNumber?: number;
|
|
100
|
+
yScaleValue: Array<any>;
|
|
101
|
+
icons?: any;
|
|
102
|
+
}
|
|
103
|
+
interface IRight {
|
|
104
|
+
width?: number;
|
|
105
|
+
yScaleValue: any;
|
|
106
|
+
}
|
|
107
|
+
export interface IData {
|
|
108
|
+
width: number;
|
|
109
|
+
height: number;
|
|
110
|
+
borderStyle?: fabric.ILineOptions;
|
|
111
|
+
selectionStyle?: AnyObject;
|
|
112
|
+
hospitalizationDate: string;
|
|
113
|
+
grid: IGrid;
|
|
114
|
+
other?: IOther;
|
|
115
|
+
top: ITop;
|
|
116
|
+
left: ILeft;
|
|
117
|
+
right?: IRight;
|
|
118
|
+
bottom: AnyObject;
|
|
119
|
+
config?: AnyObject;
|
|
120
|
+
}
|
|
121
|
+
export interface ICoordinateValue {
|
|
122
|
+
x: number;
|
|
123
|
+
y: number;
|
|
124
|
+
}
|
|
125
|
+
export declare type IPointType = 'breathe' | 'pulse' | 'temperature' | 'pain';
|
|
126
|
+
export interface ILineOptions extends fabric.ILineOptions {
|
|
127
|
+
[key: string]: any;
|
|
128
|
+
}
|
|
129
|
+
export interface ITextOptions extends fabric.ITextOptions {
|
|
130
|
+
[key: string]: any;
|
|
131
|
+
}
|
|
132
|
+
interface IBirthProcessOther {
|
|
133
|
+
fetalPresentationPositionLine?: fabric.ILineOptions;
|
|
134
|
+
alertLine?: fabric.ILineOptions;
|
|
135
|
+
processLine?: fabric.ILineOptions;
|
|
136
|
+
}
|
|
137
|
+
interface IBirthProcessXAxis {
|
|
138
|
+
time: AnyObject;
|
|
139
|
+
processTime: AnyObject;
|
|
140
|
+
}
|
|
141
|
+
export interface IBirthProcessData {
|
|
142
|
+
width: number;
|
|
143
|
+
height: number;
|
|
144
|
+
borderStyle?: fabric.ILineOptions;
|
|
145
|
+
selectionStyle?: AnyObject;
|
|
146
|
+
grid: AnyObject;
|
|
147
|
+
other?: IBirthProcessOther;
|
|
148
|
+
xAxis: IBirthProcessXAxis;
|
|
149
|
+
scaleValues: AnyObject[];
|
|
150
|
+
}
|
|
151
|
+
export declare type IObject = fabric.Object & AnyObject;
|
|
152
|
+
export declare type IFabricChartMainParam = [Ref<fabric.Canvas>, any, any, Ref<any>];
|
|
153
|
+
export {};
|