cnhis-design-vue 3.4.0-beta.9 → 3.4.0-release.7
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/_virtual/_virtual_i18n-methods.js +5 -1
- package/es/components/audio-sdk/index.d.ts +4 -4
- package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
- package/es/components/base-search/index.d.ts +34 -0
- package/es/components/base-search/src/index.vue.d.ts +34 -0
- package/es/components/base-search/src/index.vue2.js +9 -1
- package/es/components/button-print/index.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +77 -50
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +11 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -0
- package/es/components/button-print/src/utils/print.d.ts +2 -1
- package/es/components/button-print/src/utils/print.js +13 -8
- package/es/components/callback/src/components/render/popupMaps.d.ts +110 -222
- package/es/components/classification/index.d.ts +123 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +123 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +123 -0
- package/es/components/classification/src/index.vue.d.ts +123 -0
- package/es/components/classification/src/index.vue2.js +7 -0
- package/es/components/date-picker/index.d.ts +41 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +41 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +34 -4
- package/es/components/expand-field/index.d.ts +31 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +31 -0
- package/es/components/expand-field/src/index.vue.d.ts +31 -0
- package/es/components/fabric-chart/index.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +4 -4
- package/es/components/fabric-chart/src/components/PopupMenu.js +57 -39
- package/es/components/fabric-chart/src/constants/index.d.ts +19 -5
- package/es/components/fabric-chart/src/constants/index.js +26 -11
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +119 -193
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +69 -117
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +18 -12
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +61 -33
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +86 -120
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +65 -113
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +63 -37
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +31 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +21 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +152 -208
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -9
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +138 -229
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +16 -14
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +195 -273
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
- package/es/components/fabric-chart/src/interface.d.ts +15 -1
- package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
- package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -10
- package/es/components/fabric-chart/style/index.css +1 -1
- package/es/components/field-editor/index.d.ts +1 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +83 -1
- package/es/components/field-set/src/FieldColor.vue2.js +2 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +2 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldSet.vue2.js +4 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +41 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +82 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +41 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue2.js +1 -0
- package/es/components/form-config/index.d.ts +24 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +24 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +48 -24
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
- package/es/components/form-config/src/constants/index.d.ts +2 -0
- package/es/components/form-config/src/constants/index.js +2 -0
- package/es/components/form-config/src/hooks/useConfigurationField.js +20 -3
- package/es/components/form-render/index.d.ts +1 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -2
- package/es/components/form-render/src/components/renderer/textarea.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +8 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/index.js +5 -2
- package/es/components/iho-chat/index.d.ts +2785 -302
- package/es/components/iho-chat/src/Index.vue.d.ts +2785 -302
- package/es/components/iho-chat/src/Index.vue2.js +5 -3
- package/es/components/iho-chat/src/api/index.d.ts +89 -16
- package/es/components/iho-chat/src/api/index.js +8 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +3 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +796 -101
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +611 -51
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +27 -28
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +217 -14
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +158 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +51 -0
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +2 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +134 -11
- package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
- package/es/components/iho-chat/src/components/userItemRender.js +2 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
- package/es/components/iho-chat/src/hooks/useData.js +31 -10
- package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
- package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
- package/es/components/iho-chat/src/types/index.d.ts +39 -7
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
- package/es/components/iho-chat/src/utils/sseClient.js +97 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +109 -222
- package/es/components/iho-table/src/IhoTable.vue.d.ts +109 -222
- package/es/components/iho-table/src/IhoTable.vue2.js +23 -14
- package/es/components/iho-table/src/constants/index.d.ts +3 -3
- package/es/components/iho-table/src/constants/index.js +0 -21
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +39 -60
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +43 -4
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +22 -8
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +7 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +41 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +25 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +8 -2
- package/es/components/iho-table/src/types/index.d.ts +3 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +46 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +46 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +2 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +9 -6
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +42 -2
- package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
- package/es/components/scale-view/src/hooks/use-event.js +56 -22
- package/es/components/select-person/index.d.ts +31 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +14 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +38 -9
- package/es/components/select-person/src/index.vue.d.ts +31 -0
- package/es/components/select-person/src/index.vue2.js +4 -0
- package/es/components/select-person/src/utils/index.js +11 -9
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +3 -0
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +9 -3
- package/es/components/shortcut-setter/index.d.ts +2 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -0
- package/es/components/table-export-field/index.d.ts +6 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +2 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +49 -18
- package/es/components/table-export-field/src/index.vue.d.ts +6 -0
- package/es/components/table-export-field/src/types/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +82 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +82 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +82 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +43 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +43 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +168 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +9 -9
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +168 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +4 -1
- package/es/shared/components/CancelRadio/CancelRadio.js +3 -1
- package/es/shared/components/Ellipsis/Ellipsis.d.ts +12 -0
- package/es/shared/components/Ellipsis/Ellipsis.js +86 -0
- package/es/shared/components/Ellipsis/index.d.ts +2 -0
- package/es/shared/components/Ellipsis/index.js +2 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +15 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +24 -10
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +3 -2
- package/es/shared/utils/business.js +16 -0
- package/es/shared/utils/ho-edge.d.ts +12 -0
- package/es/shared/utils/ho-edge.js +58 -0
- package/package.json +3 -3
|
@@ -645,6 +645,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
645
645
|
type: BooleanConstructor;
|
|
646
646
|
default: boolean;
|
|
647
647
|
};
|
|
648
|
+
onlyCheckChildNode: {
|
|
649
|
+
type: BooleanConstructor;
|
|
650
|
+
default: boolean;
|
|
651
|
+
};
|
|
648
652
|
itemKey: {
|
|
649
653
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
650
654
|
default: undefined;
|
|
@@ -772,6 +776,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
772
776
|
type: BooleanConstructor;
|
|
773
777
|
default: boolean;
|
|
774
778
|
};
|
|
779
|
+
onlyCheckChildNode: {
|
|
780
|
+
type: BooleanConstructor;
|
|
781
|
+
default: boolean;
|
|
782
|
+
};
|
|
775
783
|
itemKey: {
|
|
776
784
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
777
785
|
default: undefined;
|
|
@@ -1916,6 +1924,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1916
1924
|
type: BooleanConstructor;
|
|
1917
1925
|
default: boolean;
|
|
1918
1926
|
};
|
|
1927
|
+
onlyCheckChildNode: {
|
|
1928
|
+
type: BooleanConstructor;
|
|
1929
|
+
};
|
|
1919
1930
|
itemKey: {
|
|
1920
1931
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
1921
1932
|
default: undefined;
|
|
@@ -2002,6 +2013,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2002
2013
|
type: BooleanConstructor;
|
|
2003
2014
|
default: boolean;
|
|
2004
2015
|
};
|
|
2016
|
+
onlyCheckChildNode: {
|
|
2017
|
+
type: BooleanConstructor;
|
|
2018
|
+
};
|
|
2005
2019
|
itemKey: {
|
|
2006
2020
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2007
2021
|
default: undefined;
|
|
@@ -2158,6 +2172,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2158
2172
|
node: import("naive-ui").TreeOption | null;
|
|
2159
2173
|
action: "check" | "uncheck";
|
|
2160
2174
|
}) => void;
|
|
2175
|
+
updateTreeSelected: (keys: (string | number)[], _: any, meta: {
|
|
2176
|
+
node: import("naive-ui").TreeOption | null;
|
|
2177
|
+
action: "check" | "uncheck";
|
|
2178
|
+
}) => void;
|
|
2161
2179
|
clearAll: () => void;
|
|
2162
2180
|
updateChecked: (key: string | number, checked: boolean) => void;
|
|
2163
2181
|
notifyCheck: (key: string | number, isChecked?: boolean) => void;
|
|
@@ -2569,6 +2587,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2569
2587
|
type: BooleanConstructor;
|
|
2570
2588
|
default: boolean;
|
|
2571
2589
|
};
|
|
2590
|
+
onlyCheckChildNode: {
|
|
2591
|
+
type: BooleanConstructor;
|
|
2592
|
+
};
|
|
2572
2593
|
itemKey: {
|
|
2573
2594
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2574
2595
|
default: undefined;
|
|
@@ -2598,6 +2619,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2598
2619
|
forceShowSelectAll: boolean;
|
|
2599
2620
|
onlyForwardCascade: boolean;
|
|
2600
2621
|
hideLeaf: boolean;
|
|
2622
|
+
onlyCheckChildNode: boolean;
|
|
2601
2623
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number;
|
|
2602
2624
|
showTagHover: boolean;
|
|
2603
2625
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -2716,6 +2738,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2716
2738
|
type: BooleanConstructor;
|
|
2717
2739
|
default: boolean;
|
|
2718
2740
|
};
|
|
2741
|
+
onlyCheckChildNode: {
|
|
2742
|
+
type: BooleanConstructor;
|
|
2743
|
+
default: boolean;
|
|
2744
|
+
};
|
|
2719
2745
|
itemKey: {
|
|
2720
2746
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2721
2747
|
default: undefined;
|
|
@@ -2847,6 +2873,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2847
2873
|
type: BooleanConstructor;
|
|
2848
2874
|
default: boolean;
|
|
2849
2875
|
};
|
|
2876
|
+
onlyCheckChildNode: {
|
|
2877
|
+
type: BooleanConstructor;
|
|
2878
|
+
default: boolean;
|
|
2879
|
+
};
|
|
2850
2880
|
itemKey: {
|
|
2851
2881
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2852
2882
|
default: undefined;
|
|
@@ -2896,6 +2926,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2896
2926
|
forceShowSelectAll: boolean;
|
|
2897
2927
|
onlyForwardCascade: boolean;
|
|
2898
2928
|
hideLeaf: boolean;
|
|
2929
|
+
onlyCheckChildNode: boolean;
|
|
2899
2930
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number;
|
|
2900
2931
|
showTagHover: boolean;
|
|
2901
2932
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -239,7 +239,7 @@ declare const FabricChart: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
239
239
|
default: boolean;
|
|
240
240
|
};
|
|
241
241
|
list: {
|
|
242
|
-
type:
|
|
242
|
+
type: import("vue").PropType<import("./src/interface").PopupMenuItem[]>;
|
|
243
243
|
default: () => never[];
|
|
244
244
|
};
|
|
245
245
|
point: {
|
|
@@ -257,7 +257,7 @@ declare const FabricChart: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
257
257
|
default: boolean;
|
|
258
258
|
};
|
|
259
259
|
list: {
|
|
260
|
-
type:
|
|
260
|
+
type: import("vue").PropType<import("./src/interface").PopupMenuItem[]>;
|
|
261
261
|
default: () => never[];
|
|
262
262
|
};
|
|
263
263
|
point: {
|
|
@@ -273,7 +273,7 @@ declare const FabricChart: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
273
273
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
274
274
|
onClickMenu?: ((...args: any[]) => any) | undefined;
|
|
275
275
|
}>, {
|
|
276
|
-
list:
|
|
276
|
+
list: import("./src/interface").PopupMenuItem[];
|
|
277
277
|
show: boolean;
|
|
278
278
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
279
279
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("remove" | "edit" | "error" | "add" | "change" | "ready" | "right-click" | "select" | "add:prevent" | "click:grid" | "event-click")[], "remove" | "edit" | "error" | "add" | "change" | "ready" | "right-click" | "select" | "add:prevent" | "click:grid" | "event-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -233,7 +233,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
233
233
|
default: boolean;
|
|
234
234
|
};
|
|
235
235
|
list: {
|
|
236
|
-
type:
|
|
236
|
+
type: PropType<import("./interface").PopupMenuItem[]>;
|
|
237
237
|
default: () => never[];
|
|
238
238
|
};
|
|
239
239
|
point: {
|
|
@@ -251,7 +251,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
251
251
|
default: boolean;
|
|
252
252
|
};
|
|
253
253
|
list: {
|
|
254
|
-
type:
|
|
254
|
+
type: PropType<import("./interface").PopupMenuItem[]>;
|
|
255
255
|
default: () => never[];
|
|
256
256
|
};
|
|
257
257
|
point: {
|
|
@@ -267,7 +267,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
267
267
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
268
268
|
onClickMenu?: ((...args: any[]) => any) | undefined;
|
|
269
269
|
}>, {
|
|
270
|
-
list:
|
|
270
|
+
list: import("./interface").PopupMenuItem[];
|
|
271
271
|
show: boolean;
|
|
272
272
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
273
273
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("remove" | "edit" | "error" | "add" | "change" | "ready" | "right-click" | "select" | "add:prevent" | "click:grid" | "event-click")[], "remove" | "edit" | "error" | "add" | "change" | "ready" | "right-click" | "select" | "add:prevent" | "click:grid" | "event-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IPropItems, ICoordinateValue } from '../interface';
|
|
2
|
+
import { IPropItems, ICoordinateValue, PopupMenuItem } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
show: {
|
|
5
5
|
type: BooleanConstructor;
|
|
6
6
|
default: boolean;
|
|
7
7
|
};
|
|
8
8
|
list: {
|
|
9
|
-
type:
|
|
9
|
+
type: PropType<PopupMenuItem[]>;
|
|
10
10
|
default: () => never[];
|
|
11
11
|
};
|
|
12
12
|
point: {
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
26
|
list: {
|
|
27
|
-
type:
|
|
27
|
+
type: PropType<PopupMenuItem[]>;
|
|
28
28
|
default: () => never[];
|
|
29
29
|
};
|
|
30
30
|
point: {
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
40
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
41
41
|
onClickMenu?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
|
-
list:
|
|
43
|
+
list: PopupMenuItem[];
|
|
44
44
|
show: boolean;
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
46
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { i18n } from '../../../../_virtual/_virtual_i18n-methods.js';
|
|
2
2
|
import { defineComponent, ref, watch, withDirectives, createVNode, vShow } from 'vue';
|
|
3
|
-
import { NSpace, NInputNumber } from 'naive-ui';
|
|
3
|
+
import { NIcon, NSpace, NInputNumber } from 'naive-ui';
|
|
4
|
+
import { ChevronForwardOutline } from '@vicons/ionicons5';
|
|
4
5
|
import useStyle from './useStyle.js';
|
|
5
6
|
import { useEventListener, onClickOutside } from '@vueuse/core';
|
|
6
7
|
|
|
@@ -40,51 +41,49 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
|
|
|
40
41
|
onClickOutside(menuRef, (event) => {
|
|
41
42
|
emit("update:show", false);
|
|
42
43
|
});
|
|
43
|
-
props.propItems;
|
|
44
44
|
const pointStyle = useStyle(props);
|
|
45
|
-
function setNoClick(item) {
|
|
46
|
-
if (typeof item === "string" && (item.startsWith(i18n("10010.1.279", "\u65B0\u589E")) || item.startsWith(i18n("10010.1.215", "\u5220\u9664")))) {
|
|
47
|
-
return true;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
45
|
function getItemContent(item) {
|
|
51
|
-
if (typeof item === "string")
|
|
52
|
-
return item;
|
|
53
|
-
if (typeof item.value === "boolean")
|
|
54
|
-
return item.label;
|
|
55
46
|
if (item.renderItem)
|
|
56
47
|
return item.renderItem();
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
48
|
+
if (item.hasInput)
|
|
49
|
+
return createVNode(NSpace, {
|
|
50
|
+
"inline": true,
|
|
51
|
+
"align": "center"
|
|
52
|
+
}, {
|
|
53
|
+
default: () => [createVNode("span", null, [item.label]), createVNode(NInputNumber, {
|
|
54
|
+
"style": "width: 110px",
|
|
55
|
+
"size": "small",
|
|
56
|
+
"value": item.value,
|
|
57
|
+
"onUpdate:value": ($event) => item.value = $event,
|
|
58
|
+
"clearable": true,
|
|
59
|
+
"placeholder": i18n("10010.1.207", "\u8BF7\u8F93\u5165\u6570\u503C"),
|
|
60
|
+
"showButton": false
|
|
61
|
+
}, null)]
|
|
62
|
+
});
|
|
63
|
+
return item.label;
|
|
64
|
+
}
|
|
65
|
+
function hasChildren(item) {
|
|
66
|
+
return Array.isArray(item.children) && item.children.length > 0;
|
|
72
67
|
}
|
|
73
68
|
function clickItem(event, item) {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
emit("clickMenu", {
|
|
79
|
-
item,
|
|
80
|
-
target: props.target
|
|
81
|
-
});
|
|
69
|
+
const target = event.target;
|
|
70
|
+
if (target && target.closest(".n-input-number")) {
|
|
71
|
+
event.stopPropagation();
|
|
72
|
+
return;
|
|
82
73
|
}
|
|
74
|
+
if (item.isTitle || hasChildren(item))
|
|
75
|
+
return;
|
|
76
|
+
emit("update:show", false);
|
|
77
|
+
emit("clickMenu", {
|
|
78
|
+
item,
|
|
79
|
+
target: props.target,
|
|
80
|
+
pointer: props.point
|
|
81
|
+
});
|
|
83
82
|
}
|
|
84
83
|
watch(() => props.show, (value) => {
|
|
85
84
|
if (value) {
|
|
86
85
|
props.list.forEach((item) => {
|
|
87
|
-
if (
|
|
86
|
+
if (Reflect.has(item, "value") && typeof item.value !== "boolean") {
|
|
88
87
|
item.value = void 0;
|
|
89
88
|
}
|
|
90
89
|
});
|
|
@@ -94,14 +93,33 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
|
|
|
94
93
|
"ref": menuRef,
|
|
95
94
|
"class": "c-fabric-chart-popup c-fabric-chart-popup__menu",
|
|
96
95
|
"style": pointStyle.value
|
|
97
|
-
}, [props.list.map((item) => {
|
|
96
|
+
}, [props.list.map((item, index) => {
|
|
97
|
+
var _a;
|
|
98
98
|
return props.show ? createVNode("li", {
|
|
99
99
|
"class": {
|
|
100
|
-
"no-click":
|
|
100
|
+
"no-click": item.isTitle,
|
|
101
|
+
"has-children": hasChildren(item)
|
|
101
102
|
},
|
|
102
103
|
"onClick": (event) => clickItem(event, item),
|
|
103
|
-
"key": item.
|
|
104
|
-
}, [
|
|
104
|
+
"key": item.key
|
|
105
|
+
}, [createVNode("div", {
|
|
106
|
+
"class": "menu-item__content"
|
|
107
|
+
}, [getItemContent(item), hasChildren(item) ? createVNode(NIcon, {
|
|
108
|
+
"class": "submenu-arrow",
|
|
109
|
+
"size": 14,
|
|
110
|
+
"component": ChevronForwardOutline
|
|
111
|
+
}, null) : null]), hasChildren(item) ? createVNode("ul", {
|
|
112
|
+
"class": "c-fabric-chart-popup__submenu"
|
|
113
|
+
}, [(_a = item.children) == null ? void 0 : _a.map((child) => createVNode("li", {
|
|
114
|
+
"class": {
|
|
115
|
+
"no-click": child.isTitle,
|
|
116
|
+
"has-children": hasChildren(child)
|
|
117
|
+
},
|
|
118
|
+
"onClick": (event) => clickItem(event, child),
|
|
119
|
+
"key": child.key
|
|
120
|
+
}, [createVNode("div", {
|
|
121
|
+
"class": "menu-item__content"
|
|
122
|
+
}, [getItemContent(child)])]))]) : null]) : null;
|
|
105
123
|
})]), [[vShow, props.show]]);
|
|
106
124
|
}
|
|
107
125
|
});
|
|
@@ -1,20 +1,35 @@
|
|
|
1
1
|
export declare const TEMPERATURE_MENU: ({
|
|
2
2
|
label: string;
|
|
3
3
|
value: boolean;
|
|
4
|
-
|
|
4
|
+
key: string;
|
|
5
|
+
hasInput?: undefined;
|
|
5
6
|
} | {
|
|
6
7
|
label: string;
|
|
7
8
|
value: undefined;
|
|
8
|
-
|
|
9
|
+
key: string;
|
|
10
|
+
hasInput: boolean;
|
|
9
11
|
})[];
|
|
12
|
+
export declare const TITLE_MENU_MAP: {
|
|
13
|
+
add: {
|
|
14
|
+
label: string;
|
|
15
|
+
key: string;
|
|
16
|
+
isTitle: boolean;
|
|
17
|
+
};
|
|
18
|
+
remove: {
|
|
19
|
+
label: string;
|
|
20
|
+
key: string;
|
|
21
|
+
isTitle: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
10
24
|
export declare const PAIN_MENU: {
|
|
11
25
|
label: string;
|
|
12
26
|
value: undefined;
|
|
13
|
-
|
|
27
|
+
key: string;
|
|
28
|
+
hasInput: boolean;
|
|
14
29
|
}[];
|
|
15
30
|
export declare const OTHER_MENU: readonly {
|
|
16
31
|
label: string;
|
|
17
|
-
|
|
32
|
+
key: string;
|
|
18
33
|
}[];
|
|
19
34
|
export declare const OVERLAP: {
|
|
20
35
|
yemai: {
|
|
@@ -60,6 +75,5 @@ export declare const OVERLAP: {
|
|
|
60
75
|
};
|
|
61
76
|
export declare enum ECG {
|
|
62
77
|
SMALLCELLNUMBER = 5,
|
|
63
|
-
MAXLINENUMBER = 13,
|
|
64
78
|
DEFAULTMAINXCELLVALUE = 0.2
|
|
65
79
|
}
|
|
@@ -3,38 +3,54 @@ import { i18n } from '../../../../_virtual/_virtual_i18n-methods.js';
|
|
|
3
3
|
const TEMPERATURE_MENU = [{
|
|
4
4
|
label: i18n("10010.1.208", "\u5347\u6E29"),
|
|
5
5
|
value: true,
|
|
6
|
-
|
|
6
|
+
key: "rise"
|
|
7
7
|
}, {
|
|
8
8
|
label: i18n("10010.1.209", "\u836F\u7269\u964D\u6E29"),
|
|
9
9
|
value: void 0,
|
|
10
|
-
|
|
10
|
+
key: "drugReduce",
|
|
11
|
+
hasInput: true
|
|
11
12
|
}, {
|
|
12
13
|
label: i18n("10010.1.210", "\u7269\u7406\u964D\u6E29"),
|
|
13
14
|
value: void 0,
|
|
14
|
-
|
|
15
|
+
key: "physicsReduce",
|
|
16
|
+
hasInput: true
|
|
15
17
|
}, {
|
|
16
18
|
label: i18n("10010.1.211", "\u4E0D\u5347"),
|
|
17
19
|
value: true,
|
|
18
|
-
|
|
20
|
+
key: "noRise"
|
|
19
21
|
}];
|
|
22
|
+
const TITLE_MENU_MAP = {
|
|
23
|
+
add: {
|
|
24
|
+
label: i18n("10010.1.219", "\u65B0\u589E\u8282\u70B9"),
|
|
25
|
+
key: "add",
|
|
26
|
+
isTitle: true
|
|
27
|
+
},
|
|
28
|
+
remove: {
|
|
29
|
+
label: i18n("10010.1.220", "\u5220\u9664\u8282\u70B9"),
|
|
30
|
+
key: "remove",
|
|
31
|
+
isTitle: true
|
|
32
|
+
}
|
|
33
|
+
};
|
|
20
34
|
const PAIN_MENU = [{
|
|
21
35
|
label: i18n("10010.1.212", "\u836F\u7269\u964D\u75DB"),
|
|
22
36
|
value: void 0,
|
|
23
|
-
|
|
37
|
+
key: "drugReduce",
|
|
38
|
+
hasInput: true
|
|
24
39
|
}, {
|
|
25
40
|
label: i18n("10010.1.213", "\u7269\u7406\u964D\u75DB"),
|
|
26
41
|
value: void 0,
|
|
27
|
-
|
|
42
|
+
key: "physicsReduce",
|
|
43
|
+
hasInput: true
|
|
28
44
|
}];
|
|
29
45
|
const OTHER_MENU = Object.freeze([{
|
|
30
46
|
label: i18n("10010.1.279", "\u65B0\u589E"),
|
|
31
|
-
|
|
47
|
+
key: "add"
|
|
32
48
|
}, {
|
|
33
49
|
label: i18n("10010.1.214", "\u4FEE\u6539"),
|
|
34
|
-
|
|
50
|
+
key: "edit"
|
|
35
51
|
}, {
|
|
36
52
|
label: i18n("10010.1.215", "\u5220\u9664"),
|
|
37
|
-
|
|
53
|
+
key: "remove"
|
|
38
54
|
}]);
|
|
39
55
|
const BLUE = "#2563F4";
|
|
40
56
|
const RED = "#FF1818";
|
|
@@ -82,9 +98,8 @@ const OVERLAP = {
|
|
|
82
98
|
};
|
|
83
99
|
var ECG = /* @__PURE__ */ ((ECG2) => {
|
|
84
100
|
ECG2[ECG2["SMALLCELLNUMBER"] = 5] = "SMALLCELLNUMBER";
|
|
85
|
-
ECG2[ECG2["MAXLINENUMBER"] = 13] = "MAXLINENUMBER";
|
|
86
101
|
ECG2[ECG2["DEFAULTMAINXCELLVALUE"] = 0.2] = "DEFAULTMAINXCELLVALUE";
|
|
87
102
|
return ECG2;
|
|
88
103
|
})(ECG || {});
|
|
89
104
|
|
|
90
|
-
export { ECG, OTHER_MENU, OVERLAP, PAIN_MENU, TEMPERATURE_MENU };
|
|
105
|
+
export { ECG, OTHER_MENU, OVERLAP, PAIN_MENU, TEMPERATURE_MENU, TITLE_MENU_MAP };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import { fabric } from '../../../../../shared/utils/fabricjs';
|
|
3
3
|
import { AnyObject } from '../../../../../shared/types';
|
|
4
|
-
import { IPointTipProps, IPointMenuProps } from '../../../../../components/fabric-chart/src/interface';
|
|
4
|
+
import { ICoordinateValue, IPointTipProps, IPointMenuProps, PopupMenuItem } from '../../../../../components/fabric-chart/src/interface';
|
|
5
5
|
export declare function useBirthProcess(canvas: Ref<fabric.Canvas>, propItems: AnyObject, emits: Function, pointTipProps: IPointTipProps, pointMenuProps: IPointMenuProps): {
|
|
6
|
-
clickMenu: ({ item, target }: {
|
|
7
|
-
item:
|
|
6
|
+
clickMenu: ({ item, pointer, target }: {
|
|
7
|
+
item: PopupMenuItem;
|
|
8
|
+
pointer: ICoordinateValue;
|
|
8
9
|
target: any;
|
|
9
10
|
}) => void;
|
|
10
11
|
redrawPoints: () => void;
|