@lm_fe/pages 0.1.201 → 0.2.5
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 +1 -1
- package/dist/a_chunks/{.root5.js → components.doctor_end.ExemplaryCase.js} +36 -68
- package/dist/a_chunks/components.doctor_end.HeaderInfo.js +635 -0
- package/dist/a_chunks/curve.components.BmiCanvas.js +242 -0
- package/dist/a_chunks/curve.components.FetusCanvas.js +259 -0
- package/dist/a_chunks/curve.components.FetusCanvasNICHD.js +1907 -0
- package/dist/a_chunks/curve.components.Pregnogram.js +166 -0
- package/dist/a_chunks/data.js +572 -0
- package/dist/a_chunks/func.js +86 -0
- package/dist/a_chunks/index.js +1049 -286
- package/dist/a_chunks/modals.entries.BF_Form.js +41 -0
- package/dist/a_chunks/modals.entries.StupidTemplateModal2.js +22 -0
- package/dist/a_chunks/modals.entries.box.js +23 -0
- package/dist/a_chunks/{.root11.js → modals.entries.modal_form.js} +99 -70
- package/dist/a_chunks/modals.entries.modal_page.js +143 -0
- package/dist/a_chunks/{.root13.js → modals.entries.print_modal.js} +22 -48
- package/dist/a_chunks/modals.entries.result_template.js +201 -0
- package/dist/a_chunks/{.root14.js → modals.entries.template_modal3.js} +80 -124
- package/dist/a_chunks/modals.entries.test.js +30 -0
- package/dist/a_chunks/{.root16.js → modals.entries.text_search.js} +20 -49
- package/dist/a_chunks/{.root17.js → modals.entries./344/271/231/350/202/235/347/256/241/347/220/206.js} +17 -45
- package/dist/a_chunks/{.root18.js → modals.entries./345/255/220/347/227/253/345/211/215/346/234/237/351/243/216/351/231/251/350/257/204/344/274/260/350/241/250.js} +68 -93
- package/dist/a_chunks/modals.entries./346/213/223/345/261/225/351/207/217/350/241/250.js +257 -0
- package/dist/a_chunks/{.root19.js → modals.entries./346/242/205/346/257/222/347/256/241/347/220/206.js} +58 -90
- package/dist/a_chunks/{.root20.js → modals.entries./346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250.js} +144 -154
- package/dist/a_chunks/{.root21.js → modals.entries./347/230/242/347/227/225/345/255/220/345/256/253/351/230/264/351/201/223/350/257/225/344/272/247/350/241/250.js} +27 -48
- package/dist/a_chunks/{.root22.js → modals.entries./350/257/212/346/226/255/345/216/206/345/217/262.js} +9 -37
- package/dist/a_chunks/{.root23.js → modals.entries./351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257.js} +127 -172
- package/dist/a_chunks/{.root24.js → modals.entries./351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206.js} +438 -336
- package/dist/a_chunks/modals.entries./351/253/230/345/215/261/351/232/217/350/256/277.js +102 -0
- package/dist/a_chunks/modals.entries./351/253/230/345/215/261/351/232/217/350/256/2772.js +157 -0
- package/dist/a_chunks/{.root8.js → src.block./346/243/200/351/252/214/346/243/200/346/237/245.js} +69 -208
- package/dist/a_chunks/{.root3.js → src.components.Base_List.js} +329 -320
- package/dist/a_chunks/src.components.Layout_Sider.js +101 -0
- package/dist/a_chunks/src.components.Layout_TabButton.js +69 -0
- package/dist/a_chunks/src.components.Login.js +151 -0
- package/dist/a_chunks/src.components.MenuSearch.js +106 -0
- package/dist/a_chunks/{.root7.js → src.components.QuickDocButton.js} +1 -2
- package/dist/a_chunks/src.pages.questionnaire.js +1633 -0
- package/dist/a_chunks/use_fetus.js +138 -0
- package/dist/a_chunks/utils.js +100 -0
- package/dist/a_chunks/utils2.js +36 -0
- package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/Inner.d.ts +1 -0
- package/dist/components/BF_Form/Wrap.d.ts +2 -2
- package/dist/components/BF_Form/index.d.ts +4 -2
- package/dist/components/BF_Form/types.d.ts +7 -0
- package/dist/components/BF_Form/use_table_config.d.ts +1 -5
- package/dist/components/Base_List/Helper.d.ts +0 -5
- package/dist/components/Base_List/_MyBaseList.d.ts +1 -0
- package/dist/components/Base_List/index.d.ts +2 -1
- package/dist/components/Base_List/types.d.ts +6 -3
- package/dist/components/Base_List/use_MyBaseList.d.ts +10 -0
- package/dist/components/Base_List/utils.d.ts +11 -0
- package/dist/components/HighRiskTableEntry/utils.d.ts +4 -3
- package/dist/components/IdNOButton/index copy.d.ts +1 -1
- package/dist/components/Layout_Sider/Inner.d.ts +2 -4
- package/dist/components/Layout_Sider/index.d.ts +2 -2
- package/dist/components/Layout_Sider/utils.d.ts +13 -0
- package/dist/components/Layout_TabButton/Inner.d.ts +2 -10
- package/dist/components/Layout_TabButton/index.d.ts +3 -8
- package/dist/components/Layout_TabButton/types.d.ts +8 -0
- package/dist/components/Login/Inner.d.ts +0 -1
- package/dist/components/Login/index.d.ts +2 -1
- package/dist/components/MenuSearch/Inner.d.ts +6 -0
- package/dist/components/MenuSearch/index.d.ts +2 -0
- package/dist/components/QuickDocButton/index.d.ts +5 -1
- package/dist/components/doctor_end/HeaderInfo/FuckTag.d.ts +6 -0
- package/dist/components/doctor_end/HeaderInfo/index.d.ts +1 -0
- package/dist/components/doctor_end/HeaderInfo/types.d.ts +1 -3
- package/dist/components/doctor_end/HeaderInfo/use_headinfo_color.d.ts +8 -0
- package/dist/components/exception/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/curve/components/BmiCanvas/index.d.ts +11 -0
- package/dist/curve/components/FetusCanvas/FetuGrowsEdit.d.ts +7 -0
- package/dist/curve/components/FetusCanvas/config.d.ts +3 -0
- package/dist/curve/components/FetusCanvas/index.d.ts +4 -0
- package/dist/curve/components/FetusCanvas/requestMethods.d.ts +7 -0
- package/dist/curve/components/FetusCanvas/use_fetus.d.ts +33 -0
- package/dist/curve/components/FetusCanvasNICHD/config.d.ts +3 -0
- package/dist/curve/components/FetusCanvasNICHD/data.d.ts +84 -0
- package/dist/curve/components/FetusCanvasNICHD/index.d.ts +4 -0
- package/dist/curve/components/Pregnogram/index.d.ts +11 -0
- package/dist/curve/components/api.d.ts +17 -0
- package/dist/curve/components-new/BmiCanvas/index.d.ts +23 -0
- package/dist/curve/components-new/FetusCanvas/config.d.ts +2 -0
- package/dist/curve/components-new/FetusCanvas/index.d.ts +19 -0
- package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +7 -0
- package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +2 -0
- package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +84 -0
- package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +21 -0
- package/dist/curve/components-new/Pregnogram/index.d.ts +13 -0
- package/dist/curve/data.d.ts +125 -0
- package/dist/curve/func.d.ts +12 -0
- package/dist/curve/func.test.d.ts +1 -0
- package/dist/curve/index.d.ts +7 -0
- package/dist/curve/intro-steps.d.ts +7 -0
- package/dist/curve/utils.d.ts +8 -0
- package/dist/form_config/conceiveMode.d.ts +2 -0
- package/dist/form_config/index.d.ts +4 -0
- package/dist/form_config/mlUltrasounds.d.ts +2 -0
- package/dist/form_config/not_yes_input.d.ts +4 -0
- package/dist/form_config/pressure.d.ts +4 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use_duck_form.d.ts +18 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -33
- package/dist/modals/entries/StupidTemplateModal2/index copy.d.ts +22 -0
- package/dist/modals/entries/StupidTemplateModal2/index.d.ts +1 -2
- package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +7 -1
- package/dist/modals/entries/box/index.d.ts +6 -0
- package/dist/modals/entries/modal_form/index.d.ts +1 -1
- package/dist/modals/entries/result_template/index.d.ts +24 -0
- package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +2 -1
- package/dist/modals/entries/template_modal3/index copy 2.d.ts +1 -1
- package/dist/modals/entries/template_modal3/index.d.ts +6 -3
- package/dist/modals/entries/text_search/index.d.ts +1 -1
- package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +1 -1
- package/dist/modals/entries//345/255/220/347/227/253/345/211/215/346/234/237/351/243/216/351/231/251/350/257/204/344/274/260/350/241/250/utils.d.ts +5 -0
- package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/History.d.ts +10 -0
- package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/index.d.ts +9 -0
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/ThrombusGysy.d.ts +2 -7
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/config.d.ts +2 -1
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/Default/ThrombusDefault.d.ts +2 -7
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/index.d.ts +2 -2
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/types.d.ts +3 -3
- package/dist/modals/entries//347/230/242/347/227/225/345/255/220/345/256/253/351/230/264/351/201/223/350/257/225/344/272/247/350/241/250/index.d.ts +2 -2
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/HighriskSign.d.ts +4 -5
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/HighriskTimeline.d.ts +1 -1
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/Tag.d.ts +12 -0
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/utils.d.ts +8 -0
- package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/form_config.d.ts +4 -2
- package/dist/modals/index.d.ts +4 -1
- package/dist/modals/meta.d.ts +4 -1
- package/dist/pages/doc_record/index.d.ts +1 -1
- package/dist/pages/index.d.ts +1 -0
- package/dist/pages/questionnaire/Inner.d.ts +4 -0
- package/dist/pages/questionnaire/Qn.d.ts +3 -0
- package/dist/pages/questionnaire/SelectButton.d.ts +4 -0
- package/dist/pages/questionnaire/create/Step2Right.d.ts +11 -0
- package/dist/pages/questionnaire/create/common.d.ts +46 -0
- package/dist/pages/questionnaire/create/fakeData.d.ts +6 -0
- package/dist/pages/questionnaire/create/question-item.d.ts +14 -0
- package/dist/pages/questionnaire/create/step1.d.ts +12 -0
- package/dist/pages/questionnaire/create/step2.d.ts +10 -0
- package/dist/pages/questionnaire/create/step3.d.ts +8 -0
- package/dist/pages/questionnaire/create/step4.d.ts +8 -0
- package/dist/pages/questionnaire/index.d.ts +3 -0
- package/dist/pages/questionnaire/types.d.ts +10 -0
- package/dist/utils/helper.d.ts +5 -0
- package/dist/utils/index.d.ts +2 -1
- package/package.json +34 -16
- package/dist/a_chunks/.root.js +0 -245
- package/dist/a_chunks/.root.js.map +0 -1
- package/dist/a_chunks/.root10.js +0 -474
- package/dist/a_chunks/.root10.js.map +0 -1
- package/dist/a_chunks/.root11.js.map +0 -1
- package/dist/a_chunks/.root12.js +0 -200
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root15.js +0 -58
- package/dist/a_chunks/.root15.js.map +0 -1
- package/dist/a_chunks/.root16.js.map +0 -1
- package/dist/a_chunks/.root17.js.map +0 -1
- package/dist/a_chunks/.root18.js.map +0 -1
- package/dist/a_chunks/.root19.js.map +0 -1
- package/dist/a_chunks/.root2.js +0 -76
- package/dist/a_chunks/.root2.js.map +0 -1
- package/dist/a_chunks/.root20.js.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js.map +0 -1
- package/dist/a_chunks/.root23.js.map +0 -1
- package/dist/a_chunks/.root24.js.map +0 -1
- package/dist/a_chunks/.root25.js +0 -281
- package/dist/a_chunks/.root25.js.map +0 -1
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root4.js +0 -629
- package/dist/a_chunks/.root4.js.map +0 -1
- package/dist/a_chunks/.root5.js.map +0 -1
- package/dist/a_chunks/.root6.js +0 -164
- package/dist/a_chunks/.root6.js.map +0 -1
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root8.js.map +0 -1
- package/dist/a_chunks/.root9.js +0 -69
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/extends.js +0 -11
- package/dist/a_chunks/extends.js.map +0 -1
- package/dist/a_chunks/index.js.map +0 -1
- package/dist/components/BF_Form/use_table_config copy.d.ts +0 -13
- package/dist/index.js.map +0 -1
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/index copy.d.ts" +0 -12
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare function getOutpatientFetuGrowsOfOutpatient(id: string): Promise<any>;
|
|
2
|
+
declare function updateOutpatientFetuGrowsOfOutpatient(data: any): Promise<any>;
|
|
3
|
+
declare const _default: {
|
|
4
|
+
getOutpatientFetuGrowsOfOutpatient: typeof getOutpatientFetuGrowsOfOutpatient;
|
|
5
|
+
updateOutpatientFetuGrowsOfOutpatient: typeof updateOutpatientFetuGrowsOfOutpatient;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React, { CSSProperties } from "react";
|
|
2
|
+
export interface IProps {
|
|
3
|
+
hidePrintBtn?: boolean;
|
|
4
|
+
isAllPregnancies?: boolean;
|
|
5
|
+
onLoad?(): void;
|
|
6
|
+
headerInfo?: any;
|
|
7
|
+
id?: any;
|
|
8
|
+
}
|
|
9
|
+
interface TPointData {
|
|
10
|
+
x: any;
|
|
11
|
+
y: any;
|
|
12
|
+
line: any;
|
|
13
|
+
fetus: any;
|
|
14
|
+
style: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
export declare function use_fetus(props: IProps): {
|
|
17
|
+
sys_theme: import("@lm_fe/provoke").THEME;
|
|
18
|
+
line_color: string;
|
|
19
|
+
font_color: string;
|
|
20
|
+
formData: {
|
|
21
|
+
mlUltrasounds: any[];
|
|
22
|
+
} | undefined;
|
|
23
|
+
isShowPointModal: boolean;
|
|
24
|
+
set_isShowPointModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
25
|
+
pointData: TPointData | undefined;
|
|
26
|
+
set_pointData: React.Dispatch<React.SetStateAction<TPointData | undefined>>;
|
|
27
|
+
set_formData: React.Dispatch<React.SetStateAction<{
|
|
28
|
+
mlUltrasounds: any[];
|
|
29
|
+
} | undefined>>;
|
|
30
|
+
imageRef: React.MutableRefObject<any>;
|
|
31
|
+
getFetusData: () => Promise<void>;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export declare const bpdData: {
|
|
2
|
+
bottomLine: {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}[];
|
|
6
|
+
middleLine: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
}[];
|
|
10
|
+
topLine: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export declare const flData: {
|
|
16
|
+
bottomLine: {
|
|
17
|
+
x: number;
|
|
18
|
+
y: number;
|
|
19
|
+
}[];
|
|
20
|
+
middleLine: {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
}[];
|
|
24
|
+
topLine: {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
export declare const acData: {
|
|
30
|
+
bottomLine: {
|
|
31
|
+
x: number;
|
|
32
|
+
y: number;
|
|
33
|
+
}[];
|
|
34
|
+
middleLine: {
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
}[];
|
|
38
|
+
topLine: {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
43
|
+
export declare const hcData: {
|
|
44
|
+
bottomLine: {
|
|
45
|
+
x: number;
|
|
46
|
+
y: number;
|
|
47
|
+
}[];
|
|
48
|
+
middleLine: {
|
|
49
|
+
x: number;
|
|
50
|
+
y: number;
|
|
51
|
+
}[];
|
|
52
|
+
topLine: {
|
|
53
|
+
x: number;
|
|
54
|
+
y: number;
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
export declare const hlData: {
|
|
58
|
+
bottomLine: {
|
|
59
|
+
x: number;
|
|
60
|
+
y: number;
|
|
61
|
+
}[];
|
|
62
|
+
middleLine: {
|
|
63
|
+
x: number;
|
|
64
|
+
y: number;
|
|
65
|
+
}[];
|
|
66
|
+
topLine: {
|
|
67
|
+
x: number;
|
|
68
|
+
y: number;
|
|
69
|
+
}[];
|
|
70
|
+
};
|
|
71
|
+
export declare const efwData: {
|
|
72
|
+
bottomLine: {
|
|
73
|
+
x: number;
|
|
74
|
+
y: number;
|
|
75
|
+
}[];
|
|
76
|
+
middleLine: {
|
|
77
|
+
x: number;
|
|
78
|
+
y: number;
|
|
79
|
+
}[];
|
|
80
|
+
topLine: {
|
|
81
|
+
x: number;
|
|
82
|
+
y: number;
|
|
83
|
+
}[];
|
|
84
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface IProps {
|
|
4
|
+
hidePrintBtn?: boolean;
|
|
5
|
+
isAllPregnancies?: boolean;
|
|
6
|
+
onLoad?(): void;
|
|
7
|
+
headerInfo?: any;
|
|
8
|
+
id?: any;
|
|
9
|
+
}
|
|
10
|
+
export default function Pregnogram(props: IProps): React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const curve_api: {
|
|
2
|
+
getBmi: (pregnancyId: number, queryType: number) => Promise<any>;
|
|
3
|
+
getFundalHeight: (pregnancyId: number) => Promise<any>;
|
|
4
|
+
getGrowth: (pregnancyId: number) => Promise<any>;
|
|
5
|
+
updateUltrasounds: (data: any) => Promise<any>;
|
|
6
|
+
createUltrasounds: (data: any) => Promise<any>;
|
|
7
|
+
deleteUltrasounds: (id: number) => Promise<any>;
|
|
8
|
+
further: {
|
|
9
|
+
getUltrasoundFormConfig: () => Promise<any>;
|
|
10
|
+
};
|
|
11
|
+
curve: {
|
|
12
|
+
getBmi: (pregnancyId: number, queryType: number) => Promise<any>;
|
|
13
|
+
getFundalHeight: (pregnancyId: number) => Promise<any>;
|
|
14
|
+
};
|
|
15
|
+
getOutpatientFetuGrowsOfOutpatient(id: string): Promise<any>;
|
|
16
|
+
updateOutpatientFetuGrowsOfOutpatient(data: any): Promise<any>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface IndexState {
|
|
4
|
+
bmiIntro: string;
|
|
5
|
+
bmiBottomLine: any[];
|
|
6
|
+
bmiTopLine: any[];
|
|
7
|
+
bmiLinesPoints: any[];
|
|
8
|
+
bmiNum: string;
|
|
9
|
+
bmiTz: string;
|
|
10
|
+
bmiList: any[];
|
|
11
|
+
resdata: any;
|
|
12
|
+
}
|
|
13
|
+
export default class BmiCanvas extends Component<{}, IndexState> {
|
|
14
|
+
constructor(props: any);
|
|
15
|
+
default_type: number;
|
|
16
|
+
componentDidMount(): Promise<void>;
|
|
17
|
+
getResData(): Promise<void>;
|
|
18
|
+
getBmiData: (type: number) => Promise<void>;
|
|
19
|
+
handleRadioChange: (e: any) => void;
|
|
20
|
+
drawBmiCanvas(dd: any): void;
|
|
21
|
+
render(): import("react").JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export default class FetusCanvas extends Component {
|
|
4
|
+
state: {
|
|
5
|
+
formConfig: never[];
|
|
6
|
+
formHandler: {};
|
|
7
|
+
formData: never[];
|
|
8
|
+
isShowTableModal: boolean;
|
|
9
|
+
isShowPointModal: boolean;
|
|
10
|
+
pointData: null;
|
|
11
|
+
};
|
|
12
|
+
componentDidMount(): Promise<void>;
|
|
13
|
+
getFetusData: () => Promise<void>;
|
|
14
|
+
drawFetusCanvas: (dd: any) => void;
|
|
15
|
+
handleEditBtn: () => Promise<void>;
|
|
16
|
+
renderPointModal(): import("react").JSX.Element | null;
|
|
17
|
+
renderTableModal(): import("react").JSX.Element;
|
|
18
|
+
render(): import("react").JSX.Element;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare function getOutpatientFetuGrowsOfOutpatient(id: string): Promise<any>;
|
|
2
|
+
declare function updateOutpatientFetuGrowsOfOutpatient(data: any): Promise<any>;
|
|
3
|
+
declare const _default: {
|
|
4
|
+
getOutpatientFetuGrowsOfOutpatient: typeof getOutpatientFetuGrowsOfOutpatient;
|
|
5
|
+
updateOutpatientFetuGrowsOfOutpatient: typeof updateOutpatientFetuGrowsOfOutpatient;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export declare const bpdData: {
|
|
2
|
+
bottomLine: {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}[];
|
|
6
|
+
middleLine: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
}[];
|
|
10
|
+
topLine: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export declare const flData: {
|
|
16
|
+
bottomLine: {
|
|
17
|
+
x: number;
|
|
18
|
+
y: number;
|
|
19
|
+
}[];
|
|
20
|
+
middleLine: {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
}[];
|
|
24
|
+
topLine: {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
export declare const acData: {
|
|
30
|
+
bottomLine: {
|
|
31
|
+
x: number;
|
|
32
|
+
y: number;
|
|
33
|
+
}[];
|
|
34
|
+
middleLine: {
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
}[];
|
|
38
|
+
topLine: {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
43
|
+
export declare const hcData: {
|
|
44
|
+
bottomLine: {
|
|
45
|
+
x: number;
|
|
46
|
+
y: number;
|
|
47
|
+
}[];
|
|
48
|
+
middleLine: {
|
|
49
|
+
x: number;
|
|
50
|
+
y: number;
|
|
51
|
+
}[];
|
|
52
|
+
topLine: {
|
|
53
|
+
x: number;
|
|
54
|
+
y: number;
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
export declare const hlData: {
|
|
58
|
+
bottomLine: {
|
|
59
|
+
x: number;
|
|
60
|
+
y: number;
|
|
61
|
+
}[];
|
|
62
|
+
middleLine: {
|
|
63
|
+
x: number;
|
|
64
|
+
y: number;
|
|
65
|
+
}[];
|
|
66
|
+
topLine: {
|
|
67
|
+
x: number;
|
|
68
|
+
y: number;
|
|
69
|
+
}[];
|
|
70
|
+
};
|
|
71
|
+
export declare const efwData: {
|
|
72
|
+
bottomLine: {
|
|
73
|
+
x: number;
|
|
74
|
+
y: number;
|
|
75
|
+
}[];
|
|
76
|
+
middleLine: {
|
|
77
|
+
x: number;
|
|
78
|
+
y: number;
|
|
79
|
+
}[];
|
|
80
|
+
topLine: {
|
|
81
|
+
x: number;
|
|
82
|
+
y: number;
|
|
83
|
+
}[];
|
|
84
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export default class FetusCanvasNICHD extends Component {
|
|
4
|
+
state: {
|
|
5
|
+
formConfig: never[];
|
|
6
|
+
formHandler: {};
|
|
7
|
+
formData: never[];
|
|
8
|
+
isShowTableModal: boolean;
|
|
9
|
+
isShowPointModal: boolean;
|
|
10
|
+
pointData: null;
|
|
11
|
+
currentCurve: string;
|
|
12
|
+
};
|
|
13
|
+
componentDidMount(): Promise<void>;
|
|
14
|
+
getFetusData: () => Promise<void>;
|
|
15
|
+
drawFetusCanvas: (dd: any, type: any) => void;
|
|
16
|
+
handleEditBtn: () => Promise<void>;
|
|
17
|
+
handleIndexBtn: (e: any) => Promise<void>;
|
|
18
|
+
renderPointModal(): import("react").JSX.Element | null;
|
|
19
|
+
renderTableModal(): import("react").JSX.Element;
|
|
20
|
+
render(): import("react").JSX.Element;
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface IndexState {
|
|
4
|
+
fundalHeightList: any[];
|
|
5
|
+
}
|
|
6
|
+
export default class Pregnogram extends Component<{}, IndexState> {
|
|
7
|
+
constructor(props: any);
|
|
8
|
+
componentDidMount(): Promise<void>;
|
|
9
|
+
setHorizontal: (context: any, xCount: number, yCount: number, xStep: number, yStep: number, baseLeft: number, baseTop: number) => void;
|
|
10
|
+
drawPregnogramCanvas(dd: any): void;
|
|
11
|
+
render(): import("react").JSX.Element;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { TPoint } from './func';
|
|
2
|
+
export declare const bmiData1: {
|
|
3
|
+
bmiIntro: string;
|
|
4
|
+
bmiBottomLine: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
}[];
|
|
8
|
+
bmiTopLine: {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
}[];
|
|
12
|
+
bmiLinesPoints: {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
export declare const bmiData2: {
|
|
18
|
+
bmiIntro: string;
|
|
19
|
+
bmiBottomLine: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
}[];
|
|
23
|
+
bmiTopLine: {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
}[];
|
|
27
|
+
bmiLinesPoints: {
|
|
28
|
+
x: number;
|
|
29
|
+
y: number;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
export declare const bmiData3: {
|
|
33
|
+
bmiIntro: string;
|
|
34
|
+
bmiBottomLine: {
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
}[];
|
|
38
|
+
bmiTopLine: {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
}[];
|
|
42
|
+
bmiLinesPoints: {
|
|
43
|
+
x: number;
|
|
44
|
+
y: number;
|
|
45
|
+
}[];
|
|
46
|
+
};
|
|
47
|
+
export declare const bmiData4: {
|
|
48
|
+
bmiIntro: string;
|
|
49
|
+
bmiBottomLine: {
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
}[];
|
|
53
|
+
bmiTopLine: {
|
|
54
|
+
x: number;
|
|
55
|
+
y: number;
|
|
56
|
+
}[];
|
|
57
|
+
bmiLinesPoints: {
|
|
58
|
+
x: number;
|
|
59
|
+
y: number;
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
62
|
+
export declare const acData: {
|
|
63
|
+
lineArea: TPoint[];
|
|
64
|
+
bottomLine: {
|
|
65
|
+
x: number;
|
|
66
|
+
y: number;
|
|
67
|
+
}[];
|
|
68
|
+
middleLine: {
|
|
69
|
+
x: number;
|
|
70
|
+
y: number;
|
|
71
|
+
}[];
|
|
72
|
+
topLine: {
|
|
73
|
+
x: number;
|
|
74
|
+
y: number;
|
|
75
|
+
}[];
|
|
76
|
+
};
|
|
77
|
+
export declare const flData: {
|
|
78
|
+
lineArea: TPoint[];
|
|
79
|
+
bottomLine: {
|
|
80
|
+
x: number;
|
|
81
|
+
y: number;
|
|
82
|
+
}[];
|
|
83
|
+
middleLine: {
|
|
84
|
+
x: number;
|
|
85
|
+
y: number;
|
|
86
|
+
}[];
|
|
87
|
+
topLine: {
|
|
88
|
+
x: number;
|
|
89
|
+
y: number;
|
|
90
|
+
}[];
|
|
91
|
+
};
|
|
92
|
+
export declare const bpdData: {
|
|
93
|
+
lineArea: TPoint[];
|
|
94
|
+
bottomLine: {
|
|
95
|
+
x: number;
|
|
96
|
+
y: number;
|
|
97
|
+
}[];
|
|
98
|
+
middleLine: {
|
|
99
|
+
x: number;
|
|
100
|
+
y: number;
|
|
101
|
+
}[];
|
|
102
|
+
topLine: {
|
|
103
|
+
x: number;
|
|
104
|
+
y: number;
|
|
105
|
+
}[];
|
|
106
|
+
};
|
|
107
|
+
export declare const fundalHeightData: {
|
|
108
|
+
lineArea: TPoint[];
|
|
109
|
+
topSolidLine: {
|
|
110
|
+
x: number;
|
|
111
|
+
y: number;
|
|
112
|
+
}[];
|
|
113
|
+
bottomSolidLine: {
|
|
114
|
+
x: number;
|
|
115
|
+
y: number;
|
|
116
|
+
}[];
|
|
117
|
+
topDashLine: {
|
|
118
|
+
x: number;
|
|
119
|
+
y: number;
|
|
120
|
+
}[];
|
|
121
|
+
bottomDashLine: {
|
|
122
|
+
x: number;
|
|
123
|
+
y: number;
|
|
124
|
+
}[];
|
|
125
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type TPoint = {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
value?: any;
|
|
5
|
+
sort?: any;
|
|
6
|
+
gestationalWeek?: any;
|
|
7
|
+
};
|
|
8
|
+
export declare function judgeAreas(point: TPoint, polygon: TPoint[]): boolean;
|
|
9
|
+
export declare function setVerRules(ctx: any, origin: any[], Len: number, color: string, lineWidth: number, step: number, int: number): void;
|
|
10
|
+
export declare function setHorRules(ctx: any, origin: [number, number], Len: number, color: string, lineWidth: number, step: number, int: number): void;
|
|
11
|
+
export declare function printCanvas(id: string): HTMLImageElement;
|
|
12
|
+
export declare function getLineArea(line1: any[], line2: any[]): any[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const BmiCanvas: React.LazyExoticComponent<typeof import("./components/BmiCanvas").default>;
|
|
3
|
+
declare const FetusCanvas: React.LazyExoticComponent<typeof import("./components/FetusCanvas").default>;
|
|
4
|
+
declare const FetusCanvasNICHD: React.LazyExoticComponent<typeof import("./components/FetusCanvasNICHD").default>;
|
|
5
|
+
declare const Pregnogram: React.LazyExoticComponent<typeof import("./components/Pregnogram").default>;
|
|
6
|
+
import { curve_api } from './components/api';
|
|
7
|
+
export { BmiCanvas, FetusCanvas, FetusCanvasNICHD, Pregnogram, curve_api };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { THEME } from "@lm_fe/provoke";
|
|
2
|
+
import { IMchc_Doctor_OutpatientHeaderInfo } from "@lm_fe/service";
|
|
3
|
+
export declare function get_fetus_color(t: THEME, child_idx: number): string;
|
|
4
|
+
export declare function get_abnormal_color(t: THEME): string;
|
|
5
|
+
export declare function get_line_color(t: THEME): string;
|
|
6
|
+
export declare function get_text_color(t: THEME): "#fff" | "#000";
|
|
7
|
+
export declare function get_canvas_el(id: string, t: THEME): HTMLCanvasElement;
|
|
8
|
+
export declare function draw_info(h: IMchc_Doctor_OutpatientHeaderInfo): string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IMchc_FormDescriptions_Field } from "@lm_fe/service";
|
|
2
|
+
type F = IMchc_FormDescriptions_Field;
|
|
3
|
+
export declare function not_yes_input(key: string, label: string, { inputProps: child1_inputProps, ...child1 }?: F, { inputProps: child2_inputProps, ...child2 }?: F, dep_value?: any): IMchc_FormDescriptions_Field;
|
|
4
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IMchc_FormDescriptions_Field } from "@lm_fe/service";
|
|
2
|
+
type T = IMchc_FormDescriptions_Field;
|
|
3
|
+
export declare function pressure_fd(conf?: T, systolic_conf?: T, diastolic_conf?: T): import("@lm_fe/service").IMchc_FormDescriptions_Field_Nullable<false>;
|
|
4
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './use_duck_form';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ModelService, TIdTypeCompatible } from "@lm_fe/service";
|
|
2
|
+
import { AnyObject } from "@lm_fe/utils";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { IBF_props } from "../components";
|
|
5
|
+
export interface IDuckFormConf {
|
|
6
|
+
init_values: AnyObject & {
|
|
7
|
+
id?: TIdTypeCompatible;
|
|
8
|
+
};
|
|
9
|
+
name: string;
|
|
10
|
+
bf_conf: IBF_props;
|
|
11
|
+
save_cb?(): void;
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export declare function use_duck_form(props: IDuckFormConf): {
|
|
15
|
+
node: React.JSX.Element;
|
|
16
|
+
form: import("antd").FormInstance<any>;
|
|
17
|
+
fetcher: React.MutableRefObject<ModelService<any>>;
|
|
18
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,36 +1,11 @@
|
|
|
1
|
-
export { B as BF_Form,
|
|
2
|
-
import 'antd/es/row/style';
|
|
3
|
-
import 'antd/es/row';
|
|
4
|
-
import 'antd/es/col/style';
|
|
5
|
-
import 'antd/es/col';
|
|
6
|
-
import 'antd/es/list/style';
|
|
7
|
-
import 'antd/es/list';
|
|
8
|
-
import 'antd/es/tooltip/style';
|
|
9
|
-
import 'antd/es/tooltip';
|
|
10
|
-
import 'lodash/get';
|
|
11
|
-
import '@ant-design/icons';
|
|
12
|
-
import 'classnames';
|
|
1
|
+
export { B as BF_Form, i as BF_Wrap2, O as BmiCanvas, D as DoctorEnd_ExemplaryCase, p as DoctorEnd_HeaderInfo, q as DoctorEnd_HeaderInfoLayout, N as DoctorEnd_检验检查_History, E as ErrorBoundarySmall, R as FetusCanvas, T as FetusCanvasNICHD, H as HighRiskTableEntry, I as IdNOButton, L as Layout_Sider, l as Layout_TabButton, r as Mchc_Login, z as MenuSearch, M as MountMchcModal, n as MyBaseList, P as Page_DocRecord, U as Pregnogram, j as Questionnaire, Q as QuestionnaireButton, v as QuickDocButton, S as SelectTip, x as SnapButton, k as collapsedWidth, G as conceiveMode, A as conceive_fuck_edd, F as config_table_fd, g as curve_api, o as get_bf_default, m as mchcModal__, h as mlUltrasounds_fd, K as not_yes_input, C as nt_fuck_edd, J as pressure_fd, t as quick_doc, e as safe_navigate, y as useReadIdNO, V as use_duck_form, u as use_headinfo_color, w as width } from './a_chunks/index.js';
|
|
13
2
|
import 'react';
|
|
14
|
-
import 'antd/es/button/style';
|
|
15
|
-
import 'antd/es/button';
|
|
16
|
-
import 'antd/es/spin/style';
|
|
17
|
-
import 'antd/es/spin';
|
|
18
|
-
import '@lm_fe/components_m';
|
|
19
|
-
import '@lm_fe/utils';
|
|
20
3
|
import '@lm_fe/components';
|
|
21
|
-
import '
|
|
22
|
-
import 'antd
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import 'antd/es/menu';
|
|
27
|
-
import '@lm_fe/service';
|
|
28
|
-
import 'antd/es/message/style';
|
|
29
|
-
import 'antd/es/message';
|
|
30
|
-
import 'antd/es/space/style';
|
|
31
|
-
import 'antd/es/space';
|
|
4
|
+
import '@lm_fe/utils';
|
|
5
|
+
import 'antd';
|
|
6
|
+
import 'classnames';
|
|
7
|
+
import 'lodash';
|
|
8
|
+
import '@lm_fe/components_m';
|
|
32
9
|
import '@lm_fe/env';
|
|
33
|
-
import '
|
|
34
|
-
import '
|
|
35
|
-
import 'antd/es/divider';
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
10
|
+
import '@lm_fe/provoke';
|
|
11
|
+
import '@lm_fe/service';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IGlobalModalProps } from '@lm_fe/components';
|
|
2
|
+
import { IMchc_TemplateTree_Item as IModel_TemplateTrees } from '@lm_fe/service';
|
|
3
|
+
import { TreeProps } from 'antd';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { AllTypes } from '@lm_fe/components/dist/SimpleForm/types/metaTypes';
|
|
6
|
+
export declare const DEFAULT_URL = "/api/template-trees";
|
|
7
|
+
interface IProps<T> {
|
|
8
|
+
depid?: any;
|
|
9
|
+
type?: number | {
|
|
10
|
+
value: number;
|
|
11
|
+
label: string;
|
|
12
|
+
}[];
|
|
13
|
+
canOperate?: boolean;
|
|
14
|
+
onValueCheck?: (e: IModel_TemplateTrees[]) => void;
|
|
15
|
+
renderTitle?: (item: IModel_TemplateTrees) => React.ReactNode;
|
|
16
|
+
treeProps?: TreeProps;
|
|
17
|
+
multiple?: boolean;
|
|
18
|
+
hierarchical?: boolean;
|
|
19
|
+
editFormItems?: AllTypes<T>[];
|
|
20
|
+
}
|
|
21
|
+
export default function TemplateModal2(props: IGlobalModalProps<IProps<IModel_TemplateTrees>>): React.JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -2,7 +2,6 @@ import { IGlobalModalProps } from '@lm_fe/components';
|
|
|
2
2
|
import { IMchc_TemplateTree_Item as IModel_TemplateTrees } from '@lm_fe/service';
|
|
3
3
|
import { TreeProps } from 'antd';
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { AllTypes } from '@lm_fe/components/dist/SimpleForm/types/metaTypes';
|
|
6
5
|
export declare const DEFAULT_URL = "/api/template-trees";
|
|
7
6
|
interface IProps<T> {
|
|
8
7
|
depid?: any;
|
|
@@ -16,7 +15,7 @@ interface IProps<T> {
|
|
|
16
15
|
treeProps?: TreeProps;
|
|
17
16
|
multiple?: boolean;
|
|
18
17
|
hierarchical?: boolean;
|
|
19
|
-
editFormItems?:
|
|
18
|
+
editFormItems?: any[];
|
|
20
19
|
}
|
|
21
20
|
export default function TemplateModal2(props: IGlobalModalProps<IProps<IModel_TemplateTrees>>): React.JSX.Element;
|
|
22
21
|
export {};
|