@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.
Files changed (191) hide show
  1. package/README.md +1 -1
  2. package/dist/a_chunks/{.root5.js → components.doctor_end.ExemplaryCase.js} +36 -68
  3. package/dist/a_chunks/components.doctor_end.HeaderInfo.js +635 -0
  4. package/dist/a_chunks/curve.components.BmiCanvas.js +242 -0
  5. package/dist/a_chunks/curve.components.FetusCanvas.js +259 -0
  6. package/dist/a_chunks/curve.components.FetusCanvasNICHD.js +1907 -0
  7. package/dist/a_chunks/curve.components.Pregnogram.js +166 -0
  8. package/dist/a_chunks/data.js +572 -0
  9. package/dist/a_chunks/func.js +86 -0
  10. package/dist/a_chunks/index.js +1049 -286
  11. package/dist/a_chunks/modals.entries.BF_Form.js +41 -0
  12. package/dist/a_chunks/modals.entries.StupidTemplateModal2.js +22 -0
  13. package/dist/a_chunks/modals.entries.box.js +23 -0
  14. package/dist/a_chunks/{.root11.js → modals.entries.modal_form.js} +99 -70
  15. package/dist/a_chunks/modals.entries.modal_page.js +143 -0
  16. package/dist/a_chunks/{.root13.js → modals.entries.print_modal.js} +22 -48
  17. package/dist/a_chunks/modals.entries.result_template.js +201 -0
  18. package/dist/a_chunks/{.root14.js → modals.entries.template_modal3.js} +80 -124
  19. package/dist/a_chunks/modals.entries.test.js +30 -0
  20. package/dist/a_chunks/{.root16.js → modals.entries.text_search.js} +20 -49
  21. package/dist/a_chunks/{.root17.js → modals.entries./344/271/231/350/202/235/347/256/241/347/220/206.js} +17 -45
  22. 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
  23. package/dist/a_chunks/modals.entries./346/213/223/345/261/225/351/207/217/350/241/250.js +257 -0
  24. package/dist/a_chunks/{.root19.js → modals.entries./346/242/205/346/257/222/347/256/241/347/220/206.js} +58 -90
  25. 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
  26. 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
  27. package/dist/a_chunks/{.root22.js → modals.entries./350/257/212/346/226/255/345/216/206/345/217/262.js} +9 -37
  28. 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
  29. 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
  30. package/dist/a_chunks/modals.entries./351/253/230/345/215/261/351/232/217/350/256/277.js +102 -0
  31. package/dist/a_chunks/modals.entries./351/253/230/345/215/261/351/232/217/350/256/2772.js +157 -0
  32. package/dist/a_chunks/{.root8.js → src.block./346/243/200/351/252/214/346/243/200/346/237/245.js} +69 -208
  33. package/dist/a_chunks/{.root3.js → src.components.Base_List.js} +329 -320
  34. package/dist/a_chunks/src.components.Layout_Sider.js +101 -0
  35. package/dist/a_chunks/src.components.Layout_TabButton.js +69 -0
  36. package/dist/a_chunks/src.components.Login.js +151 -0
  37. package/dist/a_chunks/src.components.MenuSearch.js +106 -0
  38. package/dist/a_chunks/{.root7.js → src.components.QuickDocButton.js} +1 -2
  39. package/dist/a_chunks/src.pages.questionnaire.js +1633 -0
  40. package/dist/a_chunks/use_fetus.js +138 -0
  41. package/dist/a_chunks/utils.js +100 -0
  42. package/dist/a_chunks/utils2.js +36 -0
  43. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/Inner.d.ts +1 -0
  44. package/dist/components/BF_Form/Wrap.d.ts +2 -2
  45. package/dist/components/BF_Form/index.d.ts +4 -2
  46. package/dist/components/BF_Form/types.d.ts +7 -0
  47. package/dist/components/BF_Form/use_table_config.d.ts +1 -5
  48. package/dist/components/Base_List/Helper.d.ts +0 -5
  49. package/dist/components/Base_List/_MyBaseList.d.ts +1 -0
  50. package/dist/components/Base_List/index.d.ts +2 -1
  51. package/dist/components/Base_List/types.d.ts +6 -3
  52. package/dist/components/Base_List/use_MyBaseList.d.ts +10 -0
  53. package/dist/components/Base_List/utils.d.ts +11 -0
  54. package/dist/components/HighRiskTableEntry/utils.d.ts +4 -3
  55. package/dist/components/IdNOButton/index copy.d.ts +1 -1
  56. package/dist/components/Layout_Sider/Inner.d.ts +2 -4
  57. package/dist/components/Layout_Sider/index.d.ts +2 -2
  58. package/dist/components/Layout_Sider/utils.d.ts +13 -0
  59. package/dist/components/Layout_TabButton/Inner.d.ts +2 -10
  60. package/dist/components/Layout_TabButton/index.d.ts +3 -8
  61. package/dist/components/Layout_TabButton/types.d.ts +8 -0
  62. package/dist/components/Login/Inner.d.ts +0 -1
  63. package/dist/components/Login/index.d.ts +2 -1
  64. package/dist/components/MenuSearch/Inner.d.ts +6 -0
  65. package/dist/components/MenuSearch/index.d.ts +2 -0
  66. package/dist/components/QuickDocButton/index.d.ts +5 -1
  67. package/dist/components/doctor_end/HeaderInfo/FuckTag.d.ts +6 -0
  68. package/dist/components/doctor_end/HeaderInfo/index.d.ts +1 -0
  69. package/dist/components/doctor_end/HeaderInfo/types.d.ts +1 -3
  70. package/dist/components/doctor_end/HeaderInfo/use_headinfo_color.d.ts +8 -0
  71. package/dist/components/exception/index.d.ts +1 -0
  72. package/dist/components/index.d.ts +1 -0
  73. package/dist/curve/components/BmiCanvas/index.d.ts +11 -0
  74. package/dist/curve/components/FetusCanvas/FetuGrowsEdit.d.ts +7 -0
  75. package/dist/curve/components/FetusCanvas/config.d.ts +3 -0
  76. package/dist/curve/components/FetusCanvas/index.d.ts +4 -0
  77. package/dist/curve/components/FetusCanvas/requestMethods.d.ts +7 -0
  78. package/dist/curve/components/FetusCanvas/use_fetus.d.ts +33 -0
  79. package/dist/curve/components/FetusCanvasNICHD/config.d.ts +3 -0
  80. package/dist/curve/components/FetusCanvasNICHD/data.d.ts +84 -0
  81. package/dist/curve/components/FetusCanvasNICHD/index.d.ts +4 -0
  82. package/dist/curve/components/Pregnogram/index.d.ts +11 -0
  83. package/dist/curve/components/api.d.ts +17 -0
  84. package/dist/curve/components-new/BmiCanvas/index.d.ts +23 -0
  85. package/dist/curve/components-new/FetusCanvas/config.d.ts +2 -0
  86. package/dist/curve/components-new/FetusCanvas/index.d.ts +19 -0
  87. package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +7 -0
  88. package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +2 -0
  89. package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +84 -0
  90. package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +21 -0
  91. package/dist/curve/components-new/Pregnogram/index.d.ts +13 -0
  92. package/dist/curve/data.d.ts +125 -0
  93. package/dist/curve/func.d.ts +12 -0
  94. package/dist/curve/func.test.d.ts +1 -0
  95. package/dist/curve/index.d.ts +7 -0
  96. package/dist/curve/intro-steps.d.ts +7 -0
  97. package/dist/curve/utils.d.ts +8 -0
  98. package/dist/form_config/conceiveMode.d.ts +2 -0
  99. package/dist/form_config/index.d.ts +4 -0
  100. package/dist/form_config/mlUltrasounds.d.ts +2 -0
  101. package/dist/form_config/not_yes_input.d.ts +4 -0
  102. package/dist/form_config/pressure.d.ts +4 -0
  103. package/dist/hooks/index.d.ts +1 -0
  104. package/dist/hooks/use_duck_form.d.ts +18 -0
  105. package/dist/index.d.ts +2 -0
  106. package/dist/index.js +8 -33
  107. package/dist/modals/entries/StupidTemplateModal2/index copy.d.ts +22 -0
  108. package/dist/modals/entries/StupidTemplateModal2/index.d.ts +1 -2
  109. package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +7 -1
  110. package/dist/modals/entries/box/index.d.ts +6 -0
  111. package/dist/modals/entries/modal_form/index.d.ts +1 -1
  112. package/dist/modals/entries/result_template/index.d.ts +24 -0
  113. package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +2 -1
  114. package/dist/modals/entries/template_modal3/index copy 2.d.ts +1 -1
  115. package/dist/modals/entries/template_modal3/index.d.ts +6 -3
  116. package/dist/modals/entries/text_search/index.d.ts +1 -1
  117. package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +1 -1
  118. 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
  119. package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/History.d.ts +10 -0
  120. package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/index.d.ts +9 -0
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/form_config.d.ts +4 -2
  132. package/dist/modals/index.d.ts +4 -1
  133. package/dist/modals/meta.d.ts +4 -1
  134. package/dist/pages/doc_record/index.d.ts +1 -1
  135. package/dist/pages/index.d.ts +1 -0
  136. package/dist/pages/questionnaire/Inner.d.ts +4 -0
  137. package/dist/pages/questionnaire/Qn.d.ts +3 -0
  138. package/dist/pages/questionnaire/SelectButton.d.ts +4 -0
  139. package/dist/pages/questionnaire/create/Step2Right.d.ts +11 -0
  140. package/dist/pages/questionnaire/create/common.d.ts +46 -0
  141. package/dist/pages/questionnaire/create/fakeData.d.ts +6 -0
  142. package/dist/pages/questionnaire/create/question-item.d.ts +14 -0
  143. package/dist/pages/questionnaire/create/step1.d.ts +12 -0
  144. package/dist/pages/questionnaire/create/step2.d.ts +10 -0
  145. package/dist/pages/questionnaire/create/step3.d.ts +8 -0
  146. package/dist/pages/questionnaire/create/step4.d.ts +8 -0
  147. package/dist/pages/questionnaire/index.d.ts +3 -0
  148. package/dist/pages/questionnaire/types.d.ts +10 -0
  149. package/dist/utils/helper.d.ts +5 -0
  150. package/dist/utils/index.d.ts +2 -1
  151. package/package.json +34 -16
  152. package/dist/a_chunks/.root.js +0 -245
  153. package/dist/a_chunks/.root.js.map +0 -1
  154. package/dist/a_chunks/.root10.js +0 -474
  155. package/dist/a_chunks/.root10.js.map +0 -1
  156. package/dist/a_chunks/.root11.js.map +0 -1
  157. package/dist/a_chunks/.root12.js +0 -200
  158. package/dist/a_chunks/.root12.js.map +0 -1
  159. package/dist/a_chunks/.root13.js.map +0 -1
  160. package/dist/a_chunks/.root14.js.map +0 -1
  161. package/dist/a_chunks/.root15.js +0 -58
  162. package/dist/a_chunks/.root15.js.map +0 -1
  163. package/dist/a_chunks/.root16.js.map +0 -1
  164. package/dist/a_chunks/.root17.js.map +0 -1
  165. package/dist/a_chunks/.root18.js.map +0 -1
  166. package/dist/a_chunks/.root19.js.map +0 -1
  167. package/dist/a_chunks/.root2.js +0 -76
  168. package/dist/a_chunks/.root2.js.map +0 -1
  169. package/dist/a_chunks/.root20.js.map +0 -1
  170. package/dist/a_chunks/.root21.js.map +0 -1
  171. package/dist/a_chunks/.root22.js.map +0 -1
  172. package/dist/a_chunks/.root23.js.map +0 -1
  173. package/dist/a_chunks/.root24.js.map +0 -1
  174. package/dist/a_chunks/.root25.js +0 -281
  175. package/dist/a_chunks/.root25.js.map +0 -1
  176. package/dist/a_chunks/.root3.js.map +0 -1
  177. package/dist/a_chunks/.root4.js +0 -629
  178. package/dist/a_chunks/.root4.js.map +0 -1
  179. package/dist/a_chunks/.root5.js.map +0 -1
  180. package/dist/a_chunks/.root6.js +0 -164
  181. package/dist/a_chunks/.root6.js.map +0 -1
  182. package/dist/a_chunks/.root7.js.map +0 -1
  183. package/dist/a_chunks/.root8.js.map +0 -1
  184. package/dist/a_chunks/.root9.js +0 -69
  185. package/dist/a_chunks/.root9.js.map +0 -1
  186. package/dist/a_chunks/extends.js +0 -11
  187. package/dist/a_chunks/extends.js.map +0 -1
  188. package/dist/a_chunks/index.js.map +0 -1
  189. package/dist/components/BF_Form/use_table_config copy.d.ts +0 -13
  190. package/dist/index.js.map +0 -1
  191. 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,3 @@
1
+ type FormConfig = any;
2
+ declare const config: Array<FormConfig>;
3
+ export default config;
@@ -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,4 @@
1
+ import React from 'react';
2
+ import { IProps } from '../FetusCanvas/use_fetus';
3
+ import './index.less';
4
+ export default function FetusCanvasNICHD(props: IProps): React.JSX.Element;
@@ -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,2 @@
1
+ declare const config: Array<any>;
2
+ export default config;
@@ -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,2 @@
1
+ declare const config: Array<any>;
2
+ export default config;
@@ -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,7 @@
1
+ declare const _default: {
2
+ element: string;
3
+ position: string;
4
+ highlightClass: string;
5
+ intro: string;
6
+ }[];
7
+ export default _default;
@@ -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,2 @@
1
+ import { IMchc_FormDescriptions_Field } from "@lm_fe/service";
2
+ export declare const conceiveMode: (conf?: IMchc_FormDescriptions_Field) => import("@lm_fe/service").IMchc_FormDescriptions_Field_Nullable<false>;
@@ -1 +1,5 @@
1
1
  export * from './config_table';
2
+ export * from './mlUltrasounds';
3
+ export * from './conceiveMode';
4
+ export * from './pressure';
5
+ export * from './not_yes_input';
@@ -0,0 +1,2 @@
1
+ import { IMchc_FormDescriptions_Field } from "@lm_fe/service";
2
+ export declare const mlUltrasounds_fd: (conf?: IMchc_FormDescriptions_Field) => import("@lm_fe/service").IMchc_FormDescriptions_Field_Nullable<false>;
@@ -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
@@ -4,3 +4,5 @@ export * from './components';
4
4
  export * from './utils';
5
5
  export * from './form_config';
6
6
  export * from './block';
7
+ export * from './curve';
8
+ export * from './hooks';
package/dist/index.js CHANGED
@@ -1,36 +1,11 @@
1
- export { B as BF_Form, f as BF_Wrap2, D as DoctorEnd_ExemplaryCase, k as DoctorEnd_HeaderInfo, l as DoctorEnd_HeaderInfoLayout, r as DoctorEnd_检验检查_History, H as HighRiskTableEntry, I as IdNOButton, L as Layout_Sider, h as Layout_TabButton, n as Mchc_Login, M as MountMchcModal, i as MyBaseList, P as Page_DocRecord, Q as QuickDocButton, S as SelectTip, o as SnapButton, g as collapsedWidth, q as config_table_fd, j as get_bf_default, m as mchcModal__, p as safe_navigate, u as useReadIdNO, w as width } from './a_chunks/index.js';
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 'antd/es/form/style';
22
- import 'antd/es/form';
23
- import 'antd/es/result/style';
24
- import 'antd/es/result';
25
- import 'antd/es/menu/style';
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 'lodash/keys';
34
- import 'antd/es/divider/style';
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?: AllTypes<T>[];
18
+ editFormItems?: any[];
20
19
  }
21
20
  export default function TemplateModal2(props: IGlobalModalProps<IProps<IModel_TemplateTrees>>): React.JSX.Element;
22
21
  export {};