@lm_fe/components_m 0.1.201 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (621) hide show
  1. package/README.md +0 -0
  2. package/dist/BaseEditPanel/BaseEditPanelFormFC.d.ts +3 -0
  3. package/dist/BaseEditPanel/PanelWithChildFC.d.ts +10 -15
  4. package/dist/BaseList/index.d.ts +2 -2
  5. package/dist/BaseList/methods/index.d.ts +1 -4
  6. package/dist/BaseListOld/methods/index.d.ts +1 -5
  7. package/dist/BaseModalForm/DynamicForm.d.ts +0 -24
  8. package/dist/BaseModalForm/PatientList/index.d.ts +2 -2
  9. package/dist/BaseModalForm/index.d.ts +2 -2
  10. package/dist/BusinessComponents/BloodPressure/index.d.ts +2 -1
  11. package/dist/BusinessComponents/DiagnosisListInduced/index.d.ts +2 -1
  12. package/dist/BusinessComponents/DiagnosisListv2/template/index.d.ts +1 -2
  13. package/dist/BusinessComponents/HighriskGrade/index.d.ts +1 -1
  14. package/dist/BusinessComponents/HighriskSign/index.d.ts +1 -1
  15. package/dist/BusinessComponents/InspectionResultTextarea/utils.d.ts +0 -8
  16. package/dist/BusinessComponents/LaborProcess/index.d.ts +3 -3
  17. package/dist/BusinessComponents/NurseChildren/index.d.ts +5 -5
  18. package/dist/BusinessComponents/NurseChildren2/index.d.ts +1 -2
  19. package/dist/BusinessComponents/NursingFetusv2/index.d.ts +1 -2
  20. package/dist/BusinessComponents/NursingFetusv3/index.d.ts +3 -3
  21. package/dist/BusinessComponents/PregnancyHistory/config/index-table.d.ts +1 -1
  22. package/dist/BusinessComponents/ResultTextarea/index copy.d.ts +13 -0
  23. package/dist/BusinessComponents/ResultTextarea/index.d.ts +1 -1
  24. package/dist/BusinessComponents/ResultTextarea/utils.d.ts +0 -8
  25. package/dist/BusinessComponents/TemplateTexDeathclassification1/index.d.ts +2 -1
  26. package/dist/BusinessComponents/TemplateTextareav2/components/TemplateSelect.d.ts +2 -1
  27. package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramTable/index.d.ts +3 -4
  28. package/dist/BusinessComponents/UltrosoundResultTextarea/utils.d.ts +0 -8
  29. package/dist/ConfigComponents/CheckboxWithInput/index.d.ts +2 -1
  30. package/dist/ConfigComponents/InputWithRange/index.d.ts +2 -1
  31. package/dist/ConfigComponents/NeonatalCareRecordTable/table/default.d.ts +3 -3
  32. package/dist/ConfigComponents/NeonatalCareRecordTable/table/gysy.d.ts +11 -11
  33. package/dist/ConfigComponents/NeonatalCareRecordTable/table/indx.d.ts +14 -14
  34. package/dist/ConfigComponents/NeonatalScaleExamination/table.d.ts +4 -4
  35. package/dist/ConfigComponents/NormalNursingTable/table.d.ts +1 -1
  36. package/dist/ConfigComponents/ObserMagnesiumsulphateTable/table.d.ts +3 -3
  37. package/dist/ConfigComponents/PastDeliveryNursingTable/table.d.ts +6 -6
  38. package/dist/ConfigComponents/PreDeliverNursingTable/table/default.d.ts +4 -4
  39. package/dist/ConfigComponents/SpecialNursingTable/table.d.ts +2 -2
  40. package/dist/FU_components/ArrayInput/index copy.d.ts +4 -0
  41. package/dist/FU_components/ArrayInput/index.d.ts +1 -4
  42. package/dist/FU_components/ArrayInput/types.d.ts +8 -9
  43. package/dist/FU_components/ArrayPanel/Display.d.ts +0 -1
  44. package/dist/FU_components/ArrayPanel/Inner.d.ts +5 -3
  45. package/dist/FU_components/CommonFormTabs/index.d.ts +1 -1
  46. package/dist/FU_components/CommonFormTabs/types.d.ts +4 -2
  47. package/dist/FU_components/CommonFormTabs/utils.d.ts +4 -0
  48. package/dist/FU_components/DateRange/index copy.d.ts +7 -0
  49. package/dist/FU_components/DateRange/index.d.ts +1 -7
  50. package/dist/FU_components/DateTimeInput/Inner.d.ts +2 -0
  51. package/dist/FU_components/DateTimeInput/index.d.ts +3 -1
  52. package/dist/FU_components/FormSection/FormSectionForm.d.ts +4 -0
  53. package/dist/FU_components/FormSection/RenderFormSectionComponent.d.ts +3 -3
  54. package/dist/FU_components/FormSection/form_control.d.ts +9 -0
  55. package/dist/FU_components/FormSection/helper.d.ts +7 -7
  56. package/dist/FU_components/FormSection/types.d.ts +4 -1
  57. package/dist/FU_components/FormSection/use_chrono.d.ts +17 -2
  58. package/dist/FU_components/HbvdnaInput/index.d.ts +2 -1
  59. package/dist/FU_components/HighriskGradeColorSpan/index.d.ts +1 -1
  60. package/dist/FU_components/IdNOButton/index copy.d.ts +1 -1
  61. package/dist/FU_components/MchcDriverStatus/Inner.d.ts +1 -1
  62. package/dist/FU_components/MyAutoComplete/index copy.d.ts +4 -0
  63. package/dist/FU_components/MyAutoComplete/index.d.ts +1 -4
  64. package/dist/FU_components/MyAutoComplete/types.d.ts +1 -1
  65. package/dist/FU_components/MyBaseList/methods/index.d.ts +1 -1
  66. package/dist/FU_components/MyBaseTable/strategies.d.ts +0 -5
  67. package/dist/FU_components/MyButton/{index.d.ts → index copy.d.ts } +1 -1
  68. package/dist/FU_components/MyEditTable/Inner.d.ts +4 -0
  69. package/dist/FU_components/MyEditTable/index.d.ts +2 -19
  70. package/dist/FU_components/MyEditTable/types.d.ts +16 -0
  71. package/dist/FU_components/MyReferralOrganizationSelect/index.d.ts +1 -1
  72. package/dist/FU_components/MySearchSelect/index.d.ts +2 -1
  73. package/dist/FU_components/MySelect/index.d.ts +1 -8
  74. package/dist/FU_components/MySelect/types.d.ts +3 -5
  75. package/dist/FU_components/OkButton/index.d.ts +2 -7
  76. package/dist/FU_components/PressureInput/index.d.ts +4 -0
  77. package/dist/FU_components/ResultTextarea/index.d.ts +19 -0
  78. package/dist/FU_components/index.d.ts +1 -3
  79. package/dist/FU_components/types.d.ts +1 -12
  80. package/dist/GeneralComponents/CaseTemplete/Inner.d.ts +4 -1
  81. package/dist/GeneralComponents/CheckboxGroupObject/index.d.ts +1 -1
  82. package/dist/GeneralComponents/CheckboxWithInput_gold/components.d.ts +200 -45
  83. package/dist/GeneralComponents/CheckboxWithInput_gold/index.d.ts +1 -5
  84. package/dist/GeneralComponents/CheckboxWithInput_gold/types.d.ts +1 -1
  85. package/dist/GeneralComponents/CheckboxWithInput_gold/utils.d.ts +0 -4
  86. package/dist/GeneralComponents/CustomIcon/index.d.ts +0 -1
  87. package/dist/GeneralComponents/DatePicker/Inner.d.ts +1 -1
  88. package/dist/GeneralComponents/DatePicker/index.d.ts +2 -2
  89. package/dist/GeneralComponents/DatePicker/utils.d.ts +35 -0
  90. package/dist/GeneralComponents/EditInTable/EditInTable_Inner copy.d.ts +3 -24
  91. package/dist/GeneralComponents/EditInTable/components.d.ts +1 -1
  92. package/dist/GeneralComponents/EditInTable/index.d.ts +2 -2
  93. package/dist/GeneralComponents/EditInTable/utils.d.ts +6 -1
  94. package/dist/GeneralComponents/ImageUploadPreview/Inner.d.ts +2 -1
  95. package/dist/GeneralComponents/ImageUploadPreview/index.d.ts +2 -1
  96. package/dist/GeneralComponents/InputNumber/index.d.ts +4 -4
  97. package/dist/GeneralComponents/MobileEditor/Inner.d.ts +6 -9
  98. package/dist/GeneralComponents/MobileEditor/index.d.ts +3 -2
  99. package/dist/GeneralComponents/UploadFile/index.d.ts +9 -1
  100. package/dist/GeneralComponents/UploadFileUrlEdit/index.d.ts +2 -1
  101. package/dist/MyForm/components/Base/CheckboxWithExtra.d.ts +3 -2
  102. package/dist/MyForm/components/MyButton/index.d.ts +1 -1
  103. package/dist/MyForm/components/MySelect/DefaultSelect.d.ts +3 -2
  104. package/dist/MyForm/components/MyTable/index.d.ts +1 -1
  105. package/dist/MyForm/components/MyTable/index2.d.ts +1 -1
  106. package/dist/MyForm/components/_MyFormComponent.d.ts +252 -0
  107. package/dist/MyForm/components/business/NormalButton/index.d.ts +1 -1
  108. package/dist/MyForm/components/business/PdProcedure/config/table.d.ts +1 -1
  109. package/dist/MyForm/components/business/PregnancyHistory/MyForm_Business_PregnancyHistory.d.ts +1 -1
  110. package/dist/MyForm/components/business/PregnancyHistory/config.d.ts +37 -9
  111. package/dist/MyForm/components/business/TextareaWithBtn/index.d.ts +4 -7
  112. package/dist/MyForm/form_new.d.ts +20 -1
  113. package/dist/a_chunks/.root.js +73 -130
  114. package/dist/a_chunks/.root10.js +124 -319
  115. package/dist/a_chunks/.root100.js +22 -393
  116. package/dist/a_chunks/.root101.js +83 -987
  117. package/dist/a_chunks/.root102.js +13 -278
  118. package/dist/a_chunks/.root103.js +83 -128
  119. package/dist/a_chunks/.root104.js +64 -277
  120. package/dist/a_chunks/.root105.js +133 -492
  121. package/dist/a_chunks/.root106.js +45 -106
  122. package/dist/a_chunks/.root107.js +43 -210
  123. package/dist/a_chunks/.root108.js +71 -174
  124. package/dist/a_chunks/.root109.js +38 -910
  125. package/dist/a_chunks/.root11.js +55 -89
  126. package/dist/a_chunks/.root110.js +46 -939
  127. package/dist/a_chunks/.root111.js +188 -169
  128. package/dist/a_chunks/.root112.js +16 -414
  129. package/dist/a_chunks/.root113.js +23 -257
  130. package/dist/a_chunks/.root114.js +1994 -163
  131. package/dist/a_chunks/.root115.js +33 -343
  132. package/dist/a_chunks/.root116.js +67 -150
  133. package/dist/a_chunks/.root117.js +35 -124
  134. package/dist/a_chunks/.root118.js +49 -523
  135. package/dist/a_chunks/.root119.js +58 -580
  136. package/dist/a_chunks/.root12.js +133 -117
  137. package/dist/a_chunks/.root120.js +62 -277
  138. package/dist/a_chunks/.root121.js +75 -512
  139. package/dist/a_chunks/.root122.js +75 -633
  140. package/dist/a_chunks/.root123.js +29 -669
  141. package/dist/a_chunks/.root124.js +57 -273
  142. package/dist/a_chunks/.root125.js +107 -200
  143. package/dist/a_chunks/.root126.js +179 -81
  144. package/dist/a_chunks/.root127.js +85 -792
  145. package/dist/a_chunks/.root128.js +108 -260
  146. package/dist/a_chunks/.root129.js +172 -1085
  147. package/dist/a_chunks/.root13.js +284 -119
  148. package/dist/a_chunks/.root130.js +200 -532
  149. package/dist/a_chunks/.root131.js +2 -242
  150. package/dist/a_chunks/.root132.js +185 -131
  151. package/dist/a_chunks/.root133.js +324 -180
  152. package/dist/a_chunks/.root134.js +13 -409
  153. package/dist/a_chunks/.root135.js +160 -1135
  154. package/dist/a_chunks/.root14.js +251 -316
  155. package/dist/a_chunks/.root15.js +58 -266
  156. package/dist/a_chunks/.root16.js +74 -240
  157. package/dist/a_chunks/.root17.js +38 -127
  158. package/dist/a_chunks/.root18.js +87 -148
  159. package/dist/a_chunks/.root19.js +182 -109
  160. package/dist/a_chunks/.root2.js +97 -163
  161. package/dist/a_chunks/.root20.js +237 -157
  162. package/dist/a_chunks/.root21.js +19 -258
  163. package/dist/a_chunks/.root22.js +20 -320
  164. package/dist/a_chunks/.root23.js +197 -20
  165. package/dist/a_chunks/.root24.js +190 -89
  166. package/dist/a_chunks/.root25.js +73 -196
  167. package/dist/a_chunks/.root26.js +102 -257
  168. package/dist/a_chunks/.root27.js +69 -142
  169. package/dist/a_chunks/.root28.js +79 -375
  170. package/dist/a_chunks/.root29.js +34 -542
  171. package/dist/a_chunks/.root3.js +103 -170
  172. package/dist/a_chunks/.root30.js +19 -2226
  173. package/dist/a_chunks/.root31.js +50 -279
  174. package/dist/a_chunks/.root32.js +49 -81
  175. package/dist/a_chunks/.root33.js +49 -84
  176. package/dist/a_chunks/.root34.js +200 -223
  177. package/dist/a_chunks/.root35.js +112 -279
  178. package/dist/a_chunks/.root36.js +136 -158
  179. package/dist/a_chunks/.root37.js +19 -146
  180. package/dist/a_chunks/.root38.js +101 -78
  181. package/dist/a_chunks/.root39.js +581 -34
  182. package/dist/a_chunks/.root4.js +635 -1056
  183. package/dist/a_chunks/.root40.js +25 -268
  184. package/dist/a_chunks/.root41.js +312 -18
  185. package/dist/a_chunks/.root42.js +138 -192
  186. package/dist/a_chunks/.root43.js +62 -128
  187. package/dist/a_chunks/.root44.js +264 -36
  188. package/dist/a_chunks/.root45.js +257 -20
  189. package/dist/a_chunks/.root46.js +2274 -47
  190. package/dist/a_chunks/.root47.js +490 -227
  191. package/dist/a_chunks/.root48.js +190 -160
  192. package/dist/a_chunks/.root49.js +168 -74
  193. package/dist/a_chunks/.root5.js +98 -349
  194. package/dist/a_chunks/.root50.js +146 -190
  195. package/dist/a_chunks/.root51.js +379 -305
  196. package/dist/a_chunks/.root52.js +237 -101
  197. package/dist/a_chunks/.root53.js +29 -296
  198. package/dist/a_chunks/.root54.js +69 -23
  199. package/dist/a_chunks/.root55.js +71 -660
  200. package/dist/a_chunks/.root56.js +356 -3320
  201. package/dist/a_chunks/.root57.js +206 -544
  202. package/dist/a_chunks/.root58.js +275 -185
  203. package/dist/a_chunks/.root59.js +150 -147
  204. package/dist/a_chunks/.root6.js +1003 -188
  205. package/dist/a_chunks/.root60.js +132 -882
  206. package/dist/a_chunks/.root61.js +288 -98
  207. package/dist/a_chunks/.root62.js +293 -213
  208. package/dist/a_chunks/.root63.js +299 -294
  209. package/dist/a_chunks/.root64.js +295 -450
  210. package/dist/a_chunks/.root65.js +924 -458
  211. package/dist/a_chunks/.root66.js +58 -1053
  212. package/dist/a_chunks/.root67.js +813 -255
  213. package/dist/a_chunks/.root68.js +892 -192
  214. package/dist/a_chunks/.root69.js +80 -1070
  215. package/dist/a_chunks/.root7.js +269 -725
  216. package/dist/a_chunks/.root70.js +333 -830
  217. package/dist/a_chunks/.root71.js +155 -376
  218. package/dist/a_chunks/.root72.js +245 -204
  219. package/dist/a_chunks/.root73.js +76 -148
  220. package/dist/a_chunks/.root74.js +54 -344
  221. package/dist/a_chunks/.root75.js +610 -530
  222. package/dist/a_chunks/.root76.js +34 -533
  223. package/dist/a_chunks/.root77.js +140 -328
  224. package/dist/a_chunks/.root78.js +472 -286
  225. package/dist/a_chunks/.root79.js +199 -2292
  226. package/dist/a_chunks/.root8.js +128 -163
  227. package/dist/a_chunks/.root80.js +476 -168
  228. package/dist/a_chunks/.root81.js +530 -535
  229. package/dist/a_chunks/.root82.js +565 -248
  230. package/dist/a_chunks/.root83.js +126 -242
  231. package/dist/a_chunks/.root84.js +14 -241
  232. package/dist/a_chunks/.root85.js +678 -430
  233. package/dist/a_chunks/.root86.js +161 -317
  234. package/dist/a_chunks/.root87.js +455 -88
  235. package/dist/a_chunks/.root88.js +175 -98
  236. package/dist/a_chunks/.root89.js +63 -237
  237. package/dist/a_chunks/.root9.js +93 -675
  238. package/dist/a_chunks/.root90.js +108 -348
  239. package/dist/a_chunks/.root91.js +331 -124
  240. package/dist/a_chunks/.root92.js +438 -139
  241. package/dist/a_chunks/.root93.js +102 -434
  242. package/dist/a_chunks/.root94.js +821 -346
  243. package/dist/a_chunks/.root95.js +39 -214
  244. package/dist/a_chunks/.root96.js +57 -349
  245. package/dist/a_chunks/.root97.js +274 -510
  246. package/dist/a_chunks/.root98.js +22 -366
  247. package/dist/a_chunks/.root99.js +57 -375
  248. package/dist/a_chunks/Inner.js +149 -262
  249. package/dist/a_chunks/TableEditableCell.js +12 -10
  250. package/dist/a_chunks/TemplateModal.js +111 -132
  251. package/dist/a_chunks/deathclassification.js +17 -33
  252. package/dist/a_chunks/index.js +2930 -5417
  253. package/dist/a_chunks/index2.js +2 -4
  254. package/dist/doctor-end/index.d.ts +0 -2
  255. package/dist/index.d.ts +3 -8
  256. package/dist/index.js +8 -77
  257. package/dist/layout/header.d.ts +0 -1
  258. package/dist/modals/index.d.ts +1 -16
  259. package/dist/modals/meta.d.ts +1 -16
  260. package/dist/newly-component/hepatitis-new-baby/components/Form.d.ts +2 -1
  261. package/dist/newly-component/hepatitis-new-baby/index.d.ts +2 -1
  262. package/dist/selects/NormalSelect/index.d.ts +1 -1
  263. package/dist/selects/SelectWithNo/index copy.d.ts +2 -0
  264. package/dist/selects/SelectWithNo/index.d.ts +2 -2
  265. package/dist/utils/InterceptComponent.d.ts +1 -0
  266. package/dist/utils/dictionary.d.ts +2 -13
  267. package/dist/utils/format.d.ts +4 -4
  268. package/dist/utils/index.d.ts +1 -1
  269. package/dist/utils/useMarshal.d.ts +3 -3
  270. package/dist/utils/utils.d.ts +0 -4
  271. package/package.json +32 -19
  272. package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/BaseTable.d.ts +0 -5
  273. package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/EditInTableNoForm.d.ts +0 -51
  274. package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/index.d.ts +0 -49
  275. package/dist/ConfigComponents/OxytocinNursingTable/index.d.ts +0 -2
  276. package/dist/ConfigComponents/OxytocinNursingTable/table/default.d.ts +0 -255
  277. package/dist/ConfigComponents/OxytocinNursingTable/table/gysy.d.ts +0 -234
  278. package/dist/ConfigComponents/OxytocinNursingTable/table/index.d.ts +0 -3
  279. package/dist/ConfigComponents/RevertEditInTable/index.d.ts +0 -1
  280. package/dist/FU_components/FormSection/utils.d.ts +0 -81
  281. package/dist/FU_components/SimpleForm/components/TabForm/index.d.ts +0 -14
  282. package/dist/FU_components/SimpleForm/components/extra/Custom.d.ts +0 -5
  283. package/dist/FU_components/SimpleForm/components/extra/SimpleSelect.d.ts +0 -6
  284. package/dist/FU_components/SimpleForm/index.d.ts +0 -45
  285. package/dist/FU_components/SimpleForm/types/help.d.ts +0 -3
  286. package/dist/FU_components/SimpleForm/types/lmTypes.d.ts +0 -85
  287. package/dist/FU_components/SimpleForm/types/metaTypes.d.ts +0 -28
  288. package/dist/GeneralComponents/CustomFormField/index.d.ts +0 -12
  289. package/dist/GeneralComponents/EditInTable/EditInTable_Inner copy 2.d.ts +0 -24
  290. package/dist/GeneralComponents/IconSelect/index.d.ts +0 -5
  291. package/dist/GeneralComponents/SelectTable/index.d.ts +0 -44
  292. package/dist/GeneralComponents/SoDiaoEditor/config.d.ts +0 -44
  293. package/dist/GeneralComponents/SoDiaoEditor/index.d.ts +0 -11
  294. package/dist/a_chunks/.root.js.map +0 -1
  295. package/dist/a_chunks/.root10.js.map +0 -1
  296. package/dist/a_chunks/.root100.js.map +0 -1
  297. package/dist/a_chunks/.root101.js.map +0 -1
  298. package/dist/a_chunks/.root102.js.map +0 -1
  299. package/dist/a_chunks/.root103.js.map +0 -1
  300. package/dist/a_chunks/.root104.js.map +0 -1
  301. package/dist/a_chunks/.root105.js.map +0 -1
  302. package/dist/a_chunks/.root106.js.map +0 -1
  303. package/dist/a_chunks/.root107.js.map +0 -1
  304. package/dist/a_chunks/.root108.js.map +0 -1
  305. package/dist/a_chunks/.root109.js.map +0 -1
  306. package/dist/a_chunks/.root11.js.map +0 -1
  307. package/dist/a_chunks/.root110.js.map +0 -1
  308. package/dist/a_chunks/.root111.js.map +0 -1
  309. package/dist/a_chunks/.root112.js.map +0 -1
  310. package/dist/a_chunks/.root113.js.map +0 -1
  311. package/dist/a_chunks/.root114.js.map +0 -1
  312. package/dist/a_chunks/.root115.js.map +0 -1
  313. package/dist/a_chunks/.root116.js.map +0 -1
  314. package/dist/a_chunks/.root117.js.map +0 -1
  315. package/dist/a_chunks/.root118.js.map +0 -1
  316. package/dist/a_chunks/.root119.js.map +0 -1
  317. package/dist/a_chunks/.root12.js.map +0 -1
  318. package/dist/a_chunks/.root120.js.map +0 -1
  319. package/dist/a_chunks/.root121.js.map +0 -1
  320. package/dist/a_chunks/.root122.js.map +0 -1
  321. package/dist/a_chunks/.root123.js.map +0 -1
  322. package/dist/a_chunks/.root124.js.map +0 -1
  323. package/dist/a_chunks/.root125.js.map +0 -1
  324. package/dist/a_chunks/.root126.js.map +0 -1
  325. package/dist/a_chunks/.root127.js.map +0 -1
  326. package/dist/a_chunks/.root128.js.map +0 -1
  327. package/dist/a_chunks/.root129.js.map +0 -1
  328. package/dist/a_chunks/.root13.js.map +0 -1
  329. package/dist/a_chunks/.root130.js.map +0 -1
  330. package/dist/a_chunks/.root131.js.map +0 -1
  331. package/dist/a_chunks/.root132.js.map +0 -1
  332. package/dist/a_chunks/.root133.js.map +0 -1
  333. package/dist/a_chunks/.root134.js.map +0 -1
  334. package/dist/a_chunks/.root135.js.map +0 -1
  335. package/dist/a_chunks/.root136.js +0 -507
  336. package/dist/a_chunks/.root136.js.map +0 -1
  337. package/dist/a_chunks/.root137.js +0 -570
  338. package/dist/a_chunks/.root137.js.map +0 -1
  339. package/dist/a_chunks/.root138.js +0 -197
  340. package/dist/a_chunks/.root138.js.map +0 -1
  341. package/dist/a_chunks/.root139.js +0 -903
  342. package/dist/a_chunks/.root139.js.map +0 -1
  343. package/dist/a_chunks/.root14.js.map +0 -1
  344. package/dist/a_chunks/.root140.js +0 -267
  345. package/dist/a_chunks/.root140.js.map +0 -1
  346. package/dist/a_chunks/.root141.js +0 -179
  347. package/dist/a_chunks/.root141.js.map +0 -1
  348. package/dist/a_chunks/.root142.js +0 -114
  349. package/dist/a_chunks/.root142.js.map +0 -1
  350. package/dist/a_chunks/.root143.js +0 -133
  351. package/dist/a_chunks/.root143.js.map +0 -1
  352. package/dist/a_chunks/.root144.js +0 -351
  353. package/dist/a_chunks/.root144.js.map +0 -1
  354. package/dist/a_chunks/.root145.js +0 -99
  355. package/dist/a_chunks/.root145.js.map +0 -1
  356. package/dist/a_chunks/.root146.js +0 -136
  357. package/dist/a_chunks/.root146.js.map +0 -1
  358. package/dist/a_chunks/.root147.js +0 -445
  359. package/dist/a_chunks/.root147.js.map +0 -1
  360. package/dist/a_chunks/.root148.js +0 -618
  361. package/dist/a_chunks/.root148.js.map +0 -1
  362. package/dist/a_chunks/.root149.js +0 -329
  363. package/dist/a_chunks/.root149.js.map +0 -1
  364. package/dist/a_chunks/.root15.js.map +0 -1
  365. package/dist/a_chunks/.root150.js +0 -381
  366. package/dist/a_chunks/.root150.js.map +0 -1
  367. package/dist/a_chunks/.root151.js +0 -299
  368. package/dist/a_chunks/.root151.js.map +0 -1
  369. package/dist/a_chunks/.root152.js +0 -105
  370. package/dist/a_chunks/.root152.js.map +0 -1
  371. package/dist/a_chunks/.root153.js +0 -117
  372. package/dist/a_chunks/.root153.js.map +0 -1
  373. package/dist/a_chunks/.root154.js +0 -101
  374. package/dist/a_chunks/.root154.js.map +0 -1
  375. package/dist/a_chunks/.root155.js +0 -279
  376. package/dist/a_chunks/.root155.js.map +0 -1
  377. package/dist/a_chunks/.root156.js +0 -91
  378. package/dist/a_chunks/.root156.js.map +0 -1
  379. package/dist/a_chunks/.root157.js +0 -154
  380. package/dist/a_chunks/.root157.js.map +0 -1
  381. package/dist/a_chunks/.root158.js +0 -213
  382. package/dist/a_chunks/.root158.js.map +0 -1
  383. package/dist/a_chunks/.root159.js +0 -122
  384. package/dist/a_chunks/.root159.js.map +0 -1
  385. package/dist/a_chunks/.root16.js.map +0 -1
  386. package/dist/a_chunks/.root160.js +0 -123
  387. package/dist/a_chunks/.root160.js.map +0 -1
  388. package/dist/a_chunks/.root161.js +0 -45
  389. package/dist/a_chunks/.root161.js.map +0 -1
  390. package/dist/a_chunks/.root162.js +0 -46
  391. package/dist/a_chunks/.root162.js.map +0 -1
  392. package/dist/a_chunks/.root163.js +0 -77
  393. package/dist/a_chunks/.root163.js.map +0 -1
  394. package/dist/a_chunks/.root164.js +0 -206
  395. package/dist/a_chunks/.root164.js.map +0 -1
  396. package/dist/a_chunks/.root165.js +0 -108
  397. package/dist/a_chunks/.root165.js.map +0 -1
  398. package/dist/a_chunks/.root166.js +0 -108
  399. package/dist/a_chunks/.root166.js.map +0 -1
  400. package/dist/a_chunks/.root167.js +0 -2074
  401. package/dist/a_chunks/.root167.js.map +0 -1
  402. package/dist/a_chunks/.root168.js +0 -112
  403. package/dist/a_chunks/.root168.js.map +0 -1
  404. package/dist/a_chunks/.root169.js +0 -147
  405. package/dist/a_chunks/.root169.js.map +0 -1
  406. package/dist/a_chunks/.root17.js.map +0 -1
  407. package/dist/a_chunks/.root170.js +0 -114
  408. package/dist/a_chunks/.root170.js.map +0 -1
  409. package/dist/a_chunks/.root171.js +0 -59
  410. package/dist/a_chunks/.root171.js.map +0 -1
  411. package/dist/a_chunks/.root172.js +0 -69
  412. package/dist/a_chunks/.root172.js.map +0 -1
  413. package/dist/a_chunks/.root173.js +0 -146
  414. package/dist/a_chunks/.root173.js.map +0 -1
  415. package/dist/a_chunks/.root174.js +0 -112
  416. package/dist/a_chunks/.root174.js.map +0 -1
  417. package/dist/a_chunks/.root175.js +0 -113
  418. package/dist/a_chunks/.root175.js.map +0 -1
  419. package/dist/a_chunks/.root176.js +0 -109
  420. package/dist/a_chunks/.root176.js.map +0 -1
  421. package/dist/a_chunks/.root177.js +0 -129
  422. package/dist/a_chunks/.root177.js.map +0 -1
  423. package/dist/a_chunks/.root178.js +0 -182
  424. package/dist/a_chunks/.root178.js.map +0 -1
  425. package/dist/a_chunks/.root179.js +0 -253
  426. package/dist/a_chunks/.root179.js.map +0 -1
  427. package/dist/a_chunks/.root18.js.map +0 -1
  428. package/dist/a_chunks/.root180.js +0 -458
  429. package/dist/a_chunks/.root180.js.map +0 -1
  430. package/dist/a_chunks/.root181.js +0 -1511
  431. package/dist/a_chunks/.root181.js.map +0 -1
  432. package/dist/a_chunks/.root182.js +0 -91
  433. package/dist/a_chunks/.root182.js.map +0 -1
  434. package/dist/a_chunks/.root183.js +0 -115
  435. package/dist/a_chunks/.root183.js.map +0 -1
  436. package/dist/a_chunks/.root184.js +0 -1202
  437. package/dist/a_chunks/.root184.js.map +0 -1
  438. package/dist/a_chunks/.root185.js +0 -83
  439. package/dist/a_chunks/.root185.js.map +0 -1
  440. package/dist/a_chunks/.root186.js +0 -267
  441. package/dist/a_chunks/.root186.js.map +0 -1
  442. package/dist/a_chunks/.root187.js +0 -18
  443. package/dist/a_chunks/.root187.js.map +0 -1
  444. package/dist/a_chunks/.root19.js.map +0 -1
  445. package/dist/a_chunks/.root2.js.map +0 -1
  446. package/dist/a_chunks/.root20.js.map +0 -1
  447. package/dist/a_chunks/.root21.js.map +0 -1
  448. package/dist/a_chunks/.root22.js.map +0 -1
  449. package/dist/a_chunks/.root23.js.map +0 -1
  450. package/dist/a_chunks/.root24.js.map +0 -1
  451. package/dist/a_chunks/.root25.js.map +0 -1
  452. package/dist/a_chunks/.root26.js.map +0 -1
  453. package/dist/a_chunks/.root27.js.map +0 -1
  454. package/dist/a_chunks/.root28.js.map +0 -1
  455. package/dist/a_chunks/.root29.js.map +0 -1
  456. package/dist/a_chunks/.root3.js.map +0 -1
  457. package/dist/a_chunks/.root30.js.map +0 -1
  458. package/dist/a_chunks/.root31.js.map +0 -1
  459. package/dist/a_chunks/.root32.js.map +0 -1
  460. package/dist/a_chunks/.root33.js.map +0 -1
  461. package/dist/a_chunks/.root34.js.map +0 -1
  462. package/dist/a_chunks/.root35.js.map +0 -1
  463. package/dist/a_chunks/.root36.js.map +0 -1
  464. package/dist/a_chunks/.root37.js.map +0 -1
  465. package/dist/a_chunks/.root38.js.map +0 -1
  466. package/dist/a_chunks/.root39.js.map +0 -1
  467. package/dist/a_chunks/.root4.js.map +0 -1
  468. package/dist/a_chunks/.root40.js.map +0 -1
  469. package/dist/a_chunks/.root41.js.map +0 -1
  470. package/dist/a_chunks/.root42.js.map +0 -1
  471. package/dist/a_chunks/.root43.js.map +0 -1
  472. package/dist/a_chunks/.root44.js.map +0 -1
  473. package/dist/a_chunks/.root45.js.map +0 -1
  474. package/dist/a_chunks/.root46.js.map +0 -1
  475. package/dist/a_chunks/.root47.js.map +0 -1
  476. package/dist/a_chunks/.root48.js.map +0 -1
  477. package/dist/a_chunks/.root49.js.map +0 -1
  478. package/dist/a_chunks/.root5.js.map +0 -1
  479. package/dist/a_chunks/.root50.js.map +0 -1
  480. package/dist/a_chunks/.root51.js.map +0 -1
  481. package/dist/a_chunks/.root52.js.map +0 -1
  482. package/dist/a_chunks/.root53.js.map +0 -1
  483. package/dist/a_chunks/.root54.js.map +0 -1
  484. package/dist/a_chunks/.root55.js.map +0 -1
  485. package/dist/a_chunks/.root56.js.map +0 -1
  486. package/dist/a_chunks/.root57.js.map +0 -1
  487. package/dist/a_chunks/.root58.js.map +0 -1
  488. package/dist/a_chunks/.root59.js.map +0 -1
  489. package/dist/a_chunks/.root6.js.map +0 -1
  490. package/dist/a_chunks/.root60.js.map +0 -1
  491. package/dist/a_chunks/.root61.js.map +0 -1
  492. package/dist/a_chunks/.root62.js.map +0 -1
  493. package/dist/a_chunks/.root63.js.map +0 -1
  494. package/dist/a_chunks/.root64.js.map +0 -1
  495. package/dist/a_chunks/.root65.js.map +0 -1
  496. package/dist/a_chunks/.root66.js.map +0 -1
  497. package/dist/a_chunks/.root67.js.map +0 -1
  498. package/dist/a_chunks/.root68.js.map +0 -1
  499. package/dist/a_chunks/.root69.js.map +0 -1
  500. package/dist/a_chunks/.root7.js.map +0 -1
  501. package/dist/a_chunks/.root70.js.map +0 -1
  502. package/dist/a_chunks/.root71.js.map +0 -1
  503. package/dist/a_chunks/.root72.js.map +0 -1
  504. package/dist/a_chunks/.root73.js.map +0 -1
  505. package/dist/a_chunks/.root74.js.map +0 -1
  506. package/dist/a_chunks/.root75.js.map +0 -1
  507. package/dist/a_chunks/.root76.js.map +0 -1
  508. package/dist/a_chunks/.root77.js.map +0 -1
  509. package/dist/a_chunks/.root78.js.map +0 -1
  510. package/dist/a_chunks/.root79.js.map +0 -1
  511. package/dist/a_chunks/.root8.js.map +0 -1
  512. package/dist/a_chunks/.root80.js.map +0 -1
  513. package/dist/a_chunks/.root81.js.map +0 -1
  514. package/dist/a_chunks/.root82.js.map +0 -1
  515. package/dist/a_chunks/.root83.js.map +0 -1
  516. package/dist/a_chunks/.root84.js.map +0 -1
  517. package/dist/a_chunks/.root85.js.map +0 -1
  518. package/dist/a_chunks/.root86.js.map +0 -1
  519. package/dist/a_chunks/.root87.js.map +0 -1
  520. package/dist/a_chunks/.root88.js.map +0 -1
  521. package/dist/a_chunks/.root89.js.map +0 -1
  522. package/dist/a_chunks/.root9.js.map +0 -1
  523. package/dist/a_chunks/.root90.js.map +0 -1
  524. package/dist/a_chunks/.root91.js.map +0 -1
  525. package/dist/a_chunks/.root92.js.map +0 -1
  526. package/dist/a_chunks/.root93.js.map +0 -1
  527. package/dist/a_chunks/.root94.js.map +0 -1
  528. package/dist/a_chunks/.root95.js.map +0 -1
  529. package/dist/a_chunks/.root96.js.map +0 -1
  530. package/dist/a_chunks/.root97.js.map +0 -1
  531. package/dist/a_chunks/.root98.js.map +0 -1
  532. package/dist/a_chunks/.root99.js.map +0 -1
  533. package/dist/a_chunks/Inner.js.map +0 -1
  534. package/dist/a_chunks/TableEditableCell.js.map +0 -1
  535. package/dist/a_chunks/TemplateModal.js.map +0 -1
  536. package/dist/a_chunks/_commonjsHelpers.js +0 -22
  537. package/dist/a_chunks/_commonjsHelpers.js.map +0 -1
  538. package/dist/a_chunks/common-table-item.js +0 -771
  539. package/dist/a_chunks/common-table-item.js.map +0 -1
  540. package/dist/a_chunks/data.js +0 -570
  541. package/dist/a_chunks/data.js.map +0 -1
  542. package/dist/a_chunks/deathclassification.js.map +0 -1
  543. package/dist/a_chunks/func.js +0 -277
  544. package/dist/a_chunks/func.js.map +0 -1
  545. package/dist/a_chunks/index.js.map +0 -1
  546. package/dist/a_chunks/index2.js.map +0 -1
  547. package/dist/a_chunks/index3.js +0 -479
  548. package/dist/a_chunks/index3.js.map +0 -1
  549. package/dist/a_chunks/index4.js +0 -119
  550. package/dist/a_chunks/index4.js.map +0 -1
  551. package/dist/a_chunks/requestMethods.js +0 -56
  552. package/dist/a_chunks/requestMethods.js.map +0 -1
  553. package/dist/curve/components/BmiCanvas/index.d.ts +0 -29
  554. package/dist/curve/components/FetusCanvas/config.d.ts +0 -3
  555. package/dist/curve/components/FetusCanvas/index.d.ts +0 -26
  556. package/dist/curve/components/FetusCanvas/requestMethods.d.ts +0 -9
  557. package/dist/curve/components/FetusCanvasNICHD/config.d.ts +0 -3
  558. package/dist/curve/components/FetusCanvasNICHD/data.d.ts +0 -84
  559. package/dist/curve/components/FetusCanvasNICHD/index.d.ts +0 -28
  560. package/dist/curve/components/Pregnogram/index.d.ts +0 -19
  561. package/dist/curve/components/api.d.ts +0 -23
  562. package/dist/curve/components-new/BmiCanvas/index.d.ts +0 -22
  563. package/dist/curve/components-new/FetusCanvas/config.d.ts +0 -3
  564. package/dist/curve/components-new/FetusCanvas/index.d.ts +0 -19
  565. package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +0 -9
  566. package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +0 -3
  567. package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +0 -84
  568. package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +0 -21
  569. package/dist/curve/components-new/Pregnogram/index.d.ts +0 -13
  570. package/dist/curve/data.d.ts +0 -120
  571. package/dist/curve/func.d.ts +0 -9
  572. package/dist/curve/index.d.ts +0 -5
  573. package/dist/curve/intro-steps.d.ts +0 -7
  574. package/dist/doctor-end/DiagReminder_copy/index.d.ts +0 -3
  575. package/dist/doctor-end/ScarredUterus/index.d.ts +0 -15
  576. package/dist/doctor-end/SyphilisManagement/index.d.ts +0 -15
  577. package/dist/doctor-end/Thrombus/index.d.ts +0 -22
  578. package/dist/doctor-end/high-risk-warn/add-diagnoses/add-diagnoses.d.ts +0 -11
  579. package/dist/doctor-end/high-risk-warn/high-risk-warn.d.ts +0 -15
  580. package/dist/doctor-end/high-risk-warn/util.d.ts +0 -12
  581. package/dist/doctor-end/message-multiterm-modal/message-multiterm-modal.d.ts +0 -11
  582. package/dist/index.js.map +0 -1
  583. package/dist/layout/components/MenuSearch/Inner.d.ts +0 -7
  584. package/dist/layout/components/MenuSearch/index.d.ts +0 -1
  585. package/dist/layout/index.d.ts +0 -1
  586. package/dist/modals/entries/StupidTemplateModal2/components/TemplateSelect.d.ts +0 -2
  587. package/dist/modals/entries/StupidTemplateModal2/index.d.ts +0 -22
  588. package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +0 -16
  589. package/dist/modals/entries/modal_form/index.d.ts +0 -27
  590. package/dist/modals/entries/print_modal/index.d.ts +0 -3
  591. package/dist/modals/entries/template_modal3/EditModal.d.ts +0 -1
  592. package/dist/modals/entries/template_modal3/common.d.ts +0 -4
  593. package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +0 -1
  594. package/dist/modals/entries/template_modal3/index copy 2.d.ts +0 -19
  595. package/dist/modals/entries/template_modal3/index copy.d.ts +0 -22
  596. package/dist/modals/entries/template_modal3/index.d.ts +0 -18
  597. package/dist/modals/entries/template_modal3/methods/index.d.ts +0 -15
  598. package/dist/modals/entries/template_modal3/types.d.ts +0 -28
  599. package/dist/modals/entries/test/index.d.ts +0 -6
  600. package/dist/modals/entries/text_search/index.d.ts +0 -8
  601. package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +0 -7
  602. 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/index.d.ts +0 -9
  603. package/dist/modals/entries//346/242/205/346/257/222/347/256/241/347/220/206/index.d.ts +0 -7
  604. 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 +0 -9
  605. 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/components.d.ts +0 -7
  606. 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 +0 -28
  607. 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/utils.d.ts +0 -9
  608. 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 +0 -7
  609. 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 +0 -3
  610. 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 +0 -5
  611. 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 +0 -6
  612. package/dist/modals/entries//350/257/212/346/226/255/345/216/206/345/217/262/index.d.ts +0 -8
  613. package/dist/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/add-diagnoses/add-diagnoses.d.ts +0 -12
  614. package/dist/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/index.d.ts +0 -20
  615. package/dist/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/util.d.ts +0 -66
  616. 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 +0 -13
  617. 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 +0 -9
  618. 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
  619. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/index.d.ts +0 -13
  620. package/dist/utils/adapter.d.ts +0 -97
  621. /package/dist/FU_components/MyBaseList/{_MyBaseList.d.ts → _MyBaseList copy.d.ts} +0 -0
@@ -1,3 +1,4 @@
1
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
1
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
3
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
4
  import _createClass from "@babel/runtime/helpers/createClass";
@@ -5,603 +6,597 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
5
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
7
  import _inherits from "@babel/runtime/helpers/inherits";
7
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
9
  import _regeneratorRuntime from "@babel/runtime/regenerator";
11
10
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
12
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
- import 'antd/es/row/style';
14
- import _Row from 'antd/es/row';
15
- import 'antd/es/col/style';
16
- import _Col from 'antd/es/col';
17
- import 'antd/es/button/style';
18
- import _Button from 'antd/es/button';
19
- import 'antd/es/modal/style';
20
- import _Modal from 'antd/es/modal';
21
- import 'antd/es/input/style';
22
- import _Input from 'antd/es/input';
23
- import 'antd/es/tooltip/style';
24
- import _Tooltip from 'antd/es/tooltip';
25
- import _map from 'lodash/map';
26
- import _isUndefined from 'lodash/isUndefined';
27
- import _isEmpty from 'lodash/isEmpty';
28
- import _includes from 'lodash/includes';
29
- import _get from 'lodash/get';
30
- import _forEach from 'lodash/forEach';
31
- import _concat from 'lodash/concat';
32
- import { PlusCircleOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons';
33
- import { request } from '@lm_fe/utils';
34
- import React, { Component } from 'react';
35
- import { b as styleInject } from './index.js';
36
- import { LazyAntd } from '@lm_fe/components';
37
- import '@lm_fe/env';
38
- import 'lodash/isFunction';
39
- import 'antd/es/space/style';
40
- import 'antd/es/space';
41
- import 'antd/es/input-number/style';
42
- import 'antd/es/input-number';
43
- import 'lodash/set';
44
- import 'lodash/indexOf';
45
- import 'lodash/compact';
46
- import 'classnames';
47
- import 'dayjs';
48
- import 'antd/es/checkbox/style';
49
- import 'antd/es/checkbox';
50
- import 'lodash/isString';
51
- import 'lodash/isNumber';
52
- import 'lodash/isBoolean';
53
- import 'antd/es/divider/style';
54
- import 'antd/es/divider';
55
- import 'antd/es/switch/style';
56
- import 'antd/es/switch';
57
- import 'antd/es/form/style';
58
- import 'antd/es/form';
59
- import 'lodash/join';
60
- import 'lodash/isEqual';
61
- import 'lodash/isArray';
62
- import 'lodash/identity';
63
- import 'lodash/cloneDeep';
64
- import '@lm_fe/service';
65
- import 'lodash/isObject';
66
- import 'lodash/keys';
67
- import 'lodash/keyBy';
68
- import 'lodash/isNil';
69
- import 'antd/es/spin/style';
70
- import 'antd/es/spin';
71
- import 'antd/es/message/style';
72
- import 'antd/es/message';
73
- import 'lodash/has';
74
- import 'lodash/size';
75
- import 'lodash/filter';
76
- import 'react-to-print';
77
- import 'lodash/reduce';
78
- import 'lodash/debounce';
79
- import 'lodash/pickBy';
80
- import 'antd/es/auto-complete/style';
81
- import 'antd/es/auto-complete';
82
- import 'lodash/nth';
83
- import 'lodash/assign';
84
- import 'antd/es/popover/style';
85
- import 'antd/es/popover';
86
- import 'antd/es/menu/style';
87
- import 'antd/es/menu';
12
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
+ import { MyIcon } from '@lm_fe/components';
15
+ import { Form, Row, Col, Tabs, Button } from 'antd';
16
+ import classnames from 'classnames';
17
+ import { map, get, set } from 'lodash';
18
+ import React$1, { Component } from 'react';
19
+ import { a5 as BaseEditPanelForm, a6 as formItemLayout, a7 as BaseEditPanel, a8 as formDescriptionsWithoutSectionApi, e as BaseFormComponent, s as styles, S as HourMinuteInput } from './index.js';
20
+ import { mchcEvent } from '@lm_fe/env';
21
+ import { SMchc_FormDescriptions } from '@lm_fe/service';
22
+ import { safe_json_parse } from '@lm_fe/utils';
23
+ import dayjs from 'dayjs';
24
+ import '@lm_fe/provoke';
25
+ import 'reconnecting-websocket';
88
26
  import 'store';
89
- import 'antd/es/popconfirm/style';
90
- import 'antd/es/popconfirm';
91
- import 'antd/es/radio/style';
92
- import 'antd/es/radio';
93
- import 'lodash/last';
94
- import 'lodash/toUpper';
95
- var css_248z = ".index-module_template-tree-wrapper__-eVVJ .index-module_add-btn__Hpw5H {\n position: absolute;\n top: 18px;\n right: 42px;\n z-index: 2;\n text-align: right;\n}\n.index-module_template-tree-wrapper__-eVVJ .ant-tree .ant-tree-list .ant-tree-title {\n display: inline-block;\n max-width: 320px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.index-module_template-tree-wrapper__-eVVJ .index-module_handle-icon__UdWvw {\n margin-left: 10px;\n cursor: pointer;\n}\n";
96
- var styles = {
97
- "template-tree-wrapper": "index-module_template-tree-wrapper__-eVVJ",
98
- "add-btn": "index-module_add-btn__Hpw5H",
99
- "handle-icon": "index-module_handle-icon__UdWvw"
100
- };
101
- styleInject(css_248z);
102
- var operationMapping = {
103
- "new": '新增模板',
104
- add: '新增子模板',
105
- edit: '编辑模板',
106
- "delete": '请注意!'
27
+
28
+ // import { get, map } from 'lodash';
29
+ var fromApi = function fromApi(data, nativeFormDescriptions) {
30
+ var result = _objectSpread({}, data);
31
+ map(nativeFormDescriptions, function (desctiption, key) {
32
+ var tranferRules = desctiption.tranfer_rules,
33
+ inputType = desctiption.inputType;
34
+ var type = 'default';
35
+ var path = key;
36
+ if (safe_json_parse(tranferRules)) {
37
+ var tranferRulesJson = safe_json_parse(tranferRules);
38
+ type = get(tranferRulesJson, 'type') ? get(tranferRulesJson, 'type') : 'default';
39
+ path = get(tranferRulesJson, 'path') ? get(tranferRulesJson, 'path') : key;
40
+ }
41
+ if (key === 'appgar') {
42
+ type = 'apgar';
43
+ }
44
+ if ([
45
+ // 'deliverytype',
46
+ 'motherAbo', 'fatherAbo', 'ear', 'snout', 'labrum', 'nece', 'pectus', 'ventral', 'dorsalspine', 'extremities', 'fingers', 'toe', 'anus', 'anoperineogenital', 'headDeform', 'raniumOverlay', 'umbilicalCordtorsion',
47
+ // 'umbilicalCordKnot',
48
+ 'tongue', 'umbilicalcord', 'mouth'].includes(key)) {
49
+ type = 'key_and_keyNote';
50
+ }
51
+ switch (type) {
52
+ case 'key_and_keyNote':
53
+ set(result, "".concat(key, ".key"), get(data, path));
54
+ set(result, "".concat(key, ".keyNote"), get(data, "".concat(path, "Note")));
55
+ break;
56
+ case 'stage':
57
+ set(result, "".concat(key, ".0"), get(data, "".concat(key, "h")));
58
+ set(result, "".concat(key, ".1"), get(data, "".concat(key, "m")));
59
+ break;
60
+ case 'apgar':
61
+ map(data, function (record, index) {
62
+ if (index.indexOf('apgar') > -1) {
63
+ set(result, "".concat(key, ".").concat(index), record);
64
+ }
65
+ // set(result, `${key}.${index}.apgar1`, record);
66
+ // set(result, `${key}.${index}.apgar5`, record);
67
+ // set(result, `${key}.${index}.apgar10`, record);
68
+ });
69
+ break;
70
+ case 'moment':
71
+ set(result, key, get(data, path) ? dayjs(get(data, path)) : undefined);
72
+ break;
73
+ case 'default':
74
+ default:
75
+ set(result, key, get(data, path));
76
+ break;
77
+ }
78
+ // radio_input组件数据处理
79
+ if (inputType === 'radio_input') {
80
+ var k = key.split('.').pop();
81
+ var obj = _defineProperty(_defineProperty({}, k, get(data, key)), "".concat(k, "Note"), get(data, "".concat(key, "Note")));
82
+ set(result, key, obj);
83
+ delete result["".concat(k, "Note")];
84
+ }
85
+ if (inputType === 'checkbox_with_input') {
86
+ if (['hbig', 'hepatitisBvaccin'].includes(key)) {
87
+ var checkBoxValue = {
88
+ checkedValues: [get(data, path)],
89
+ withInputValues: _defineProperty({}, get(data, path), {
90
+ key: get(data, path),
91
+ value: {
92
+ '0': get(data, "".concat(path, "Time"))
93
+ }
94
+ })
95
+ };
96
+ set(result, key, JSON.stringify(checkBoxValue));
97
+ } else if (key === 'umbilicalCordWine' || key === 'caputSuccedaneumNote1' || key === 'hematomaNote1' || key === 'craniomalaciaNote1' || key === 'asphyxiatedNote' || key === 'embryolemma') {
98
+ set(result, key, get(data, path));
99
+ } else {
100
+ var _checkBoxValue = {
101
+ checkedValues: [get(data, path)],
102
+ withInputValues: _defineProperty({}, get(data, path), {
103
+ key: get(data, path),
104
+ value: {
105
+ '0': get(data, "".concat(path, "Note"))
106
+ }
107
+ })
108
+ };
109
+ set(result, key, JSON.stringify(_checkBoxValue));
110
+ }
111
+ }
112
+ if (key === 'process') {
113
+ set(result, "".concat(key), "{\"0\":".concat(get(data, 'gravidity') || null, ",\"1\":").concat(get(data, 'parity') || null, "}"));
114
+ }
115
+ if (['umbilicalcordtwine', 'umbilicalcordTurnRound', 'umbilicalcordKnot'].includes(key)) {
116
+ set(result, "".concat(key, ".key"), get(data, "fetusAppendages.".concat(key)));
117
+ set(result, "".concat(key, ".keyNote"), '');
118
+ }
119
+ });
120
+ return _objectSpread(_objectSpread({}, result), {}, {
121
+ id: get(data, 'id')
122
+ });
107
123
  };
108
- var Tree = LazyAntd.Tree,
109
- TreeSelect = LazyAntd.TreeSelect,
110
- Select = LazyAntd.Select,
111
- Table = LazyAntd.Table,
112
- Dropdown = LazyAntd.Dropdown,
113
- Pagination = LazyAntd.Pagination;
114
- var Index = /*#__PURE__*/function (_Component) {
115
- function Index(props) {
124
+ var AdmissionForm = /*#__PURE__*/function (_BaseEditPanelForm) {
125
+ function AdmissionForm() {
116
126
  var _this;
117
- _classCallCheck(this, Index);
118
- _this = _callSuper(this, Index, [props]);
119
- _defineProperty(_this, "getTemplateData", /*#__PURE__*/function () {
120
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(value) {
121
- var _this$props, type, depid, userid, pregnancyid, paramsArr, paramsStr, newValue, res;
127
+ _classCallCheck(this, AdmissionForm);
128
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
129
+ args[_key] = arguments[_key];
130
+ }
131
+ _this = _callSuper(this, AdmissionForm, [].concat(args));
132
+ _defineProperty(_this, "handleFieldsChange", /*#__PURE__*/function () {
133
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(changedFields, allFields) {
134
+ var name;
122
135
  return _regeneratorRuntime.wrap(function _callee$(_context) {
123
136
  while (1) switch (_context.prev = _context.next) {
124
137
  case 0:
125
- _this$props = _this.props, type = _this$props.type, depid = _this$props.depid, userid = _this$props.userid, pregnancyid = _this$props.pregnancyid;
126
- paramsArr = {
127
- type: type,
128
- depid: depid,
129
- userid: userid
130
- };
131
- paramsStr = '';
132
- _forEach(paramsArr, function (value, key) {
133
- if (!_isUndefined(value)) {
134
- paramsStr += "".concat(key, ".equals=").concat(value, "&");
135
- }
136
- });
137
- if (pregnancyid) {
138
- paramsStr += "pregnancyid.equals=".concat(pregnancyid, "&");
138
+ _this.form;
139
+ name = get(changedFields[0], 'name.0');
140
+ if (name === 'appgar') {
141
+ get(changedFields[0], 'value');
142
+ // form?.setFieldsValue({
143
+ // appgar: {
144
+ // apgar1HeartrateScore: get(value, 'apgar1Heartrate'),
145
+ // apgar1BreathScore: get(value, 'apgar1Breath'),
146
+ // apgar1ReflexScore: get(value, 'apgar1Reflex'),
147
+ // apgar1MuscletensionScore: get(value, 'apgar1Muscletension'),
148
+ // apgar1SkincolorScore: get(value, 'apgar1Skincolor'),
149
+ // apgar1:
150
+ // (get(value, 'apgar1Heartrate') || 0) +
151
+ // (get(value, 'apgar1Breath') || 0) +
152
+ // (get(value, 'apgar1Reflex') || 0) +
153
+ // (get(value, 'apgar1Muscletension') || 0) +
154
+ // (get(value, 'apgar1Skincolor') || 0),
155
+ // apgar5HeartrateScore: get(value, 'apgar5Heartrate'),
156
+ // apgar5BreathScore: get(value, 'apgar5Breath'),
157
+ // apgar5ReflexScore: get(value, 'apgar5Reflex'),
158
+ // apgar5MuscletensionScore: get(value, 'apgar5Muscletension'),
159
+ // apgar5SkincolorScore: get(value, 'apgar5Skincolor'),
160
+ // apgar5:
161
+ // (get(value, 'apgar5Heartrate') || 0) +
162
+ // (get(value, 'apgar5Breath') || 0) +
163
+ // (get(value, 'apgar5Reflex') || 0) +
164
+ // (get(value, 'apgar5Muscletension') || 0) +
165
+ // (get(value, 'apgar5Skincolor') || 0),
166
+ // apgar10HeartrateScore: get(value, 'apgar10Heartrate'),
167
+ // apgar10BreathScore: get(value, 'apgar10Breath'),
168
+ // apgar10ReflexScore: get(value, 'apgar10Reflex'),
169
+ // apgar10MuscletensionScore: get(value, 'apgar10Muscletension'),
170
+ // apgar10SkincolorScore: get(value, 'apgar10Skincolor'),
171
+ // apgar10:
172
+ // (get(value, 'apgar10Heartrate') || 0) +
173
+ // (get(value, 'apgar10Breath') || 0) +
174
+ // (get(value, 'apgar10Reflex') || 0) +
175
+ // (get(value, 'apgar10Muscletension') || 0) +
176
+ // (get(value, 'apgar10Skincolor') || 0),
177
+ // },
178
+ // });
139
179
  }
140
- newValue = value == undefined ? _this.props.searchValue : value;
141
- if (newValue) {
142
- paramsStr += "code.contains=".concat(newValue, "&mnemonic.contains=").concat(newValue, "&val.contains=").concat(newValue, "&");
143
- }
144
- _context.next = 9;
145
- return request.get("/api/template-trees?".concat(paramsStr, "page=0&size=500"));
146
- case 9:
147
- res = _context.sent;
148
- res = res.data || [];
149
- _this.setState({
150
- templateData: res
151
- });
152
- _this.setState({
153
- nodeTreeItem: null,
154
- operation: null,
155
- newTitle: null,
156
- addTitle: null
157
- });
158
- case 13:
180
+ case 3:
159
181
  case "end":
160
182
  return _context.stop();
161
183
  }
162
184
  }, _callee);
163
185
  }));
164
- return function (_x) {
186
+ return function (_x, _x2) {
165
187
  return _ref.apply(this, arguments);
166
188
  };
167
189
  }());
168
- _defineProperty(_this, "handleTreeItem", function (operate) {
169
- _this.setState({
170
- modalVisible: true,
171
- operation: operate
172
- });
173
- });
174
- _defineProperty(_this, "handleTreeSort", /*#__PURE__*/function () {
175
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(sort) {
190
+ return _this;
191
+ }
192
+ _inherits(AdmissionForm, _BaseEditPanelForm);
193
+ return _createClass(AdmissionForm, [{
194
+ key: "render",
195
+ value: function render() {
196
+ var _this2 = this;
197
+ return /*#__PURE__*/React$1.createElement(Form, _objectSpread({
198
+ autoComplete: "off",
199
+ ref: this.formRef,
200
+ onBlur: this.handleItemBlur,
201
+ onValuesChange: function onValuesChange(a, b) {
202
+ var _Number, _Number2;
203
+ var k = Object.keys(a)[0];
204
+ var v = Object.values(a)[0];
205
+ mchcEvent.emit('my_form', {
206
+ type: 'onChange',
207
+ value: v,
208
+ name: k,
209
+ values: b
210
+ });
211
+ console.log('jjx 00', a);
212
+ var form = _this2.form;
213
+ var preamnioticfluidvolume = (_Number = Number(b.preamnioticfluidvolume)) !== null && _Number !== void 0 ? _Number : 0; // 前羊水
214
+ var amnioticfluidvolume = (_Number2 = Number(b.amnioticfluidvolume)) !== null && _Number2 !== void 0 ? _Number2 : 0; // 后羊水
215
+ //羊水总量
216
+ form.setFieldsValue({
217
+ amnioticfluidtotalvolume: preamnioticfluidvolume + amnioticfluidvolume
218
+ });
219
+ },
220
+ onFieldsChange: this.handleFieldsChange
221
+ }, formItemLayout), this.renderEditContent());
222
+ }
223
+ }]);
224
+ }(BaseEditPanelForm);
225
+ var AdmissionPanel = /*#__PURE__*/function (_BaseEditPanel) {
226
+ function AdmissionPanel() {
227
+ _classCallCheck(this, AdmissionPanel);
228
+ return _callSuper(this, AdmissionPanel, arguments);
229
+ }
230
+ _inherits(AdmissionPanel, _BaseEditPanel);
231
+ return _createClass(AdmissionPanel, [{
232
+ key: "componentDidMount",
233
+ value: // async componentWillReceiveProps(nextProps) {
234
+ // if (!isEmpty(nextProps.data) && isEmpty(this.props.data)) {
235
+ // console.log(nextProps, this.props, '进入了');
236
+ // const { data, moduleName, baseUrl, fromApi = defaultFromApi, system } = nextProps;
237
+ // const formField =
238
+ // get(system, 'config.systemMode') === 'production'
239
+ // ? get(strToJson(sessionStorage.getItem('formDescriptionsJson')), `${moduleName}`) || []
240
+ // : await request.get(`/api/form-descriptions?moduleName=${moduleName}`);
241
+ // const formDescriptions = formDescriptionsFromApi(formField);
242
+ // const formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
243
+ // const formKey = get(nextProps.data, 'id') || Math.random();
244
+ // this.setState({
245
+ // formDescriptions,
246
+ // formDescriptionsWithoutSection,
247
+ // data: fromApi(nextProps.data, formDescriptionsWithoutSection),
248
+ // formKey,
249
+ // });
250
+ // }
251
+ // }
252
+ function () {
253
+ var _componentDidMount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
254
+ var _this$props, data, moduleName, baseUrl, _this$props$fromApi, fromApi$1, formDescriptions, formDescriptionsWithoutSection, formKey;
176
255
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
177
256
  while (1) switch (_context2.prev = _context2.next) {
178
257
  case 0:
179
- console.log('移动');
180
- case 1:
258
+ _this$props = this.props, data = _this$props.data, moduleName = _this$props.moduleName, baseUrl = _this$props.baseUrl, _this$props$fromApi = _this$props.fromApi, fromApi$1 = _this$props$fromApi === void 0 ? fromApi : _this$props$fromApi;
259
+ _context2.next = 3;
260
+ return SMchc_FormDescriptions.getModuleParseCache(moduleName);
261
+ case 3:
262
+ formDescriptions = _context2.sent;
263
+ formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
264
+ formKey = get(data, 'id') || Math.random();
265
+ this.setState({
266
+ formDescriptions: formDescriptions,
267
+ formDescriptionsWithoutSection: formDescriptionsWithoutSection,
268
+ data: fromApi$1(data, formDescriptionsWithoutSection),
269
+ formKey: formKey
270
+ });
271
+ case 7:
181
272
  case "end":
182
273
  return _context2.stop();
183
274
  }
184
- }, _callee2);
275
+ }, _callee2, this);
185
276
  }));
186
- return function (_x2) {
187
- return _ref2.apply(this, arguments);
188
- };
189
- }());
190
- _defineProperty(_this, "handleIptChange", function (e, operation) {
191
- var nodeTreeItem = _this.state.nodeTreeItem;
192
- if (operation === 'new') _this.setState({
193
- newTitle: e.target.value
194
- });
195
- if (operation === 'add') _this.setState({
196
- addTitle: e.target.value
197
- });
198
- if (operation === 'edit') {
199
- var data = {
200
- title: e.target.value
201
- };
202
- _this.setState({
203
- nodeTreeItem: _objectSpread(_objectSpread({}, nodeTreeItem), data)
204
- });
277
+ function componentDidMount() {
278
+ return _componentDidMount.apply(this, arguments);
205
279
  }
280
+ return componentDidMount;
281
+ }()
282
+ }, {
283
+ key: "render",
284
+ value: function render() {
285
+ var _this3 = this;
286
+ var _this$props2 = this.props,
287
+ Form = _this$props2.Form,
288
+ _this$props2$printTem = _this$props2.printTemplate,
289
+ printTemplate = _this$props2$printTem === void 0 ? '' : _this$props2$printTem,
290
+ _this$props2$printRes = _this$props2.printResource,
291
+ printResource = _this$props2$printRes === void 0 ? '' : _this$props2$printRes,
292
+ index = _this$props2.index,
293
+ history = _this$props2.history;
294
+ var _this$state = this.state,
295
+ formDescriptions = _this$state.formDescriptions,
296
+ formDescriptionsWithoutSection = _this$state.formDescriptionsWithoutSection,
297
+ data = _this$state.data,
298
+ formKey = _this$state.formKey,
299
+ spinning = _this$state.spinning;
300
+ return React.createElement("div", {
301
+ className: "base-edit-panel"
302
+ }, React.createElement(Form, {
303
+ ref: function ref(_ref2) {
304
+ return _this3.formRef = _ref2;
305
+ },
306
+ key: formKey,
307
+ spinning: spinning,
308
+ printId: get(data, 'id'),
309
+ printResource: printResource,
310
+ printTemplate: printTemplate,
311
+ data: data,
312
+ index: index,
313
+ onFinish: this.handleSubmit,
314
+ formDescriptions: formDescriptions,
315
+ formDescriptionsWithoutSection: formDescriptionsWithoutSection,
316
+ history: history
317
+ }));
318
+ }
319
+ }]);
320
+ }(BaseEditPanel);
321
+ _defineProperty(AdmissionPanel, "defaultProps", {
322
+ baseUrl: '/api/noenate-records',
323
+ moduleName: 'delivery-nursing-fetus',
324
+ //moduleName: 'neonatal-nursing',
325
+ title: '新生儿记录',
326
+ Form: AdmissionForm
327
+ });
328
+ var TITLE = '胎儿';
329
+ var NursingFetus = /*#__PURE__*/function (_Component) {
330
+ function NursingFetus() {
331
+ var _this4;
332
+ _classCallCheck(this, NursingFetus);
333
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
334
+ args[_key2] = arguments[_key2];
335
+ }
336
+ _this4 = _callSuper(this, NursingFetus, [].concat(args));
337
+ _defineProperty(_this4, "state", {
338
+ tabs: [{
339
+ title: "".concat(TITLE, "1"),
340
+ key: 'tab1',
341
+ value: {}
342
+ }],
343
+ activeKey: 'tab1'
206
344
  });
207
- _defineProperty(_this, "handleOk", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
208
- var _this$props2, type, depid, userid, _this$state, nodeTreeItem, addTitle, operation, newTitle, newItem, addItem, editItem;
209
- return _regeneratorRuntime.wrap(function _callee3$(_context3) {
210
- while (1) switch (_context3.prev = _context3.next) {
211
- case 0:
212
- _this$props2 = _this.props, type = _this$props2.type, depid = _this$props2.depid, userid = _this$props2.userid;
213
- _this$state = _this.state, nodeTreeItem = _this$state.nodeTreeItem, addTitle = _this$state.addTitle, operation = _this$state.operation, newTitle = _this$state.newTitle;
214
- if (!(operation === 'new')) {
215
- _context3.next = 7;
216
- break;
217
- }
218
- newItem = {
219
- pid: 0,
220
- val: newTitle,
221
- type: type,
222
- depid: depid,
223
- userid: userid
224
- };
225
- _context3.next = 6;
226
- return request.post("/api/template-trees", newItem);
227
- case 6:
228
- _this.getTemplateData();
229
- case 7:
230
- if (!(operation === 'add')) {
231
- _context3.next = 12;
232
- break;
233
- }
234
- addItem = {
235
- pid: Number(nodeTreeItem.id),
236
- val: addTitle,
237
- type: type,
238
- depid: depid,
239
- userid: userid
240
- };
241
- _context3.next = 11;
242
- return request.post("/api/template-trees", addItem);
243
- case 11:
244
- _this.getTemplateData();
245
- case 12:
246
- if (!(operation === 'edit')) {
247
- _context3.next = 17;
248
- break;
249
- }
250
- editItem = {
251
- pid: Number(nodeTreeItem.pid),
252
- val: nodeTreeItem.title,
253
- type: type,
254
- depid: depid,
255
- userid: userid,
256
- id: nodeTreeItem.id
257
- };
258
- _context3.next = 16;
259
- return request.put("/api/template-trees", editItem);
260
- case 16:
261
- _this.getTemplateData();
262
- case 17:
263
- if (!(operation === 'delete')) {
264
- _context3.next = 21;
265
- break;
266
- }
267
- _context3.next = 20;
268
- return request["delete"]("/api/template-trees/".concat(nodeTreeItem.id));
269
- case 20:
270
- _this.getTemplateData();
271
- case 21:
272
- _this.setState({
273
- modalVisible: false,
274
- nodeTreeItem: null,
275
- operation: null
276
- });
277
- case 22:
278
- case "end":
279
- return _context3.stop();
280
- }
281
- }, _callee3);
282
- })));
283
- _defineProperty(_this, "handleCancel", function () {
284
- _this.setState({
285
- modalVisible: false,
286
- nodeTreeItem: null,
287
- operation: null
345
+ _defineProperty(_this4, "formRefs", []);
346
+ _defineProperty(_this4, "setActiveKey", function (activeKey) {
347
+ // mchcEnv.setGlobalCache('deliver-activeKey', activeKey)
348
+ _this4.setState({
349
+ activeKey: activeKey
288
350
  });
289
351
  });
290
- _defineProperty(_this, "handleAddBtnClick", function () {
291
- _this.setState({
292
- operation: 'new',
293
- modalVisible: true
294
- });
352
+ _defineProperty(_this4, "onEdit", function (targetKey, action) {
353
+ _this4[action](targetKey);
295
354
  });
296
- _defineProperty(_this, "onMouseEnter", function (_ref4, area) {
297
- var event = _ref4.event,
298
- node = _ref4.node;
299
- var x = event.currentTarget.offsetLeft + event.currentTarget.clientWidth;
300
- var y = event.currentTarget.offsetTop;
301
- _this.setState({
302
- nodeTreeItem: {
303
- pageX: x,
304
- pageY: y,
305
- pid: node.props.pid,
306
- id: Number(node.props.eventKey),
307
- title: node.props.title,
308
- sort: node.props.sort
309
- },
310
- currentArea: area
355
+ _defineProperty(_this4, "handleClick", function () {
356
+ var _this4$state = _this4.state,
357
+ tabs = _this4$state.tabs,
358
+ activeKey = _this4$state.activeKey;
359
+ var key = tabs[tabs.length - 1].key;
360
+ //自动打开下一个tab,若没有则新增一个
361
+ if (key === activeKey) {
362
+ _this4.add();
363
+ } else {
364
+ _this4.setActiveKey(key);
365
+ }
366
+ //回到tab顶部
367
+ var dom = document.getElementById('scroll-top');
368
+ dom && dom.scrollIntoView({
369
+ behavior: 'smooth'
311
370
  });
312
371
  });
313
- _defineProperty(_this, "handleCheck", /*#__PURE__*/function () {
314
- var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(keys) {
315
- var onChecked, _this$state2, templateData, checkedKeys;
316
- return _regeneratorRuntime.wrap(function _callee4$(_context4) {
317
- while (1) switch (_context4.prev = _context4.next) {
318
- case 0:
319
- onChecked = _this.props.onChecked;
320
- _this$state2 = _this.state, templateData = _this$state2.templateData, checkedKeys = _this$state2.checkedKeys;
321
- _this.setState({
322
- checkedKeys: keys
323
- });
324
- _forEach(templateData, function (item) {
325
- if (_includes(keys, "".concat(item.id))) {
326
- item.checked = true;
327
- } else {
328
- item.checked = false;
329
- }
330
- });
331
- onChecked && onChecked(templateData);
332
- case 5:
333
- case "end":
334
- return _context4.stop();
335
- }
336
- }, _callee4);
337
- }));
338
- return function (_x3) {
339
- return _ref5.apply(this, arguments);
340
- };
341
- }());
342
- _defineProperty(_this, "handleCheckLeft", function (keys) {
343
- var onChecked = _this.props.onChecked;
344
- var _this$state3 = _this.state,
345
- templateData = _this$state3.templateData,
346
- checkedKeysRight = _this$state3.checkedKeysRight;
347
- var allCheckedKays = _concat(keys, checkedKeysRight);
348
- _this.setState({
349
- checkedKeysLeft: keys
372
+ _defineProperty(_this4, "add", function () {
373
+ var tabs = _this4.state.tabs;
374
+ var activeKey = Math.random().toString();
375
+ var newPanes = _toConsumableArray(tabs);
376
+ var v = _this4.getFuckLastFormValue(_this4.state.activeKey);
377
+ newPanes.push({
378
+ title: "".concat(TITLE).concat(tabs.length + 1),
379
+ key: activeKey,
380
+ value: v
350
381
  });
351
- _forEach(templateData, function (item) {
352
- if (_includes(allCheckedKays, "".concat(item.id))) {
353
- item.checked = true;
354
- } else {
355
- item.checked = false;
356
- }
382
+ _this4.setState({
383
+ tabs: newPanes
357
384
  });
358
- onChecked && onChecked(templateData);
385
+ _this4.setActiveKey(activeKey);
359
386
  });
360
- _defineProperty(_this, "handleCheckRight", function (keys) {
361
- var onChecked = _this.props.onChecked;
362
- var _this$state4 = _this.state,
363
- templateData = _this$state4.templateData,
364
- checkedKeysLeft = _this$state4.checkedKeysLeft;
365
- var allCheckedKays = _concat(keys, checkedKeysLeft);
366
- _this.setState({
367
- checkedKeysRight: keys
387
+ _defineProperty(_this4, "remove", function (targetKey) {
388
+ if (!confirm('确定删除吗?')) return;
389
+ var _this4$state2 = _this4.state,
390
+ tabs = _this4$state2.tabs,
391
+ activeKey = _this4$state2.activeKey;
392
+ var newActiveKey = activeKey;
393
+ var lastIndex;
394
+ tabs.forEach(function (pane, i) {
395
+ if (pane.key === targetKey) {
396
+ lastIndex = i - 1;
397
+ }
368
398
  });
369
- _forEach(templateData, function (item) {
370
- if (_includes(allCheckedKays, "".concat(item.id))) {
371
- item.checked = true;
399
+ var newPanes = tabs.filter(function (pane) {
400
+ return pane.key !== targetKey;
401
+ });
402
+ if (newPanes.length && newActiveKey === targetKey) {
403
+ if (lastIndex >= 0) {
404
+ newActiveKey = newPanes[lastIndex].key;
372
405
  } else {
373
- item.checked = false;
406
+ newActiveKey = newPanes[0].key;
374
407
  }
408
+ }
409
+ console.log(newPanes, newActiveKey);
410
+ _this4.setState({
411
+ tabs: newPanes
375
412
  });
376
- onChecked && onChecked(templateData);
413
+ _this4.setActiveKey(newActiveKey);
377
414
  });
378
- _defineProperty(_this, "transferTemplateData", function (data) {
379
- var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
380
- var showIcd = _this.props.showIcd;
381
- var treeData = [];
382
- _map(data, function (item) {
383
- if (item.pid === pid) {
384
- item.title = showIcd && item.code ? "\uFF08icd\uFF09".concat(item.val) : item.val;
385
- item.key = String(item.id);
386
- item.children = _this.transferTemplateData(data, item.id);
387
- if (_isEmpty(item.children)) {
388
- item.isLeaf = true;
389
- } else {
390
- item.isLeaf = false;
391
- }
392
- treeData.push(item);
393
- }
394
- });
395
- console.log({
396
- treeData: treeData
397
- });
398
- return treeData;
415
+ _defineProperty(_this4, "handleDelete", function (tab) {
416
+ return function () {
417
+ var targetKey = get(tab, 'key');
418
+ _this4.remove(targetKey);
419
+ };
399
420
  });
400
- _defineProperty(_this, "handleSelect", function (selectedKeys, _ref6) {
401
- var node = _ref6.node;
402
- var onSelected = _this.props.onSelected;
403
- onSelected && onSelected(node);
421
+ _defineProperty(_this4, "renderFieldItem", function (_ref3) {
422
+ var inputType = _ref3.inputType,
423
+ _ref3$labelSpan = _ref3.labelSpan,
424
+ labelSpan = _ref3$labelSpan === void 0 ? 12 : _ref3$labelSpan,
425
+ _ref3$wrapperSpan = _ref3.wrapperSpan,
426
+ wrapperSpan = _ref3$wrapperSpan === void 0 ? 12 : _ref3$wrapperSpan,
427
+ _ref3$inputProps = _ref3.inputProps,
428
+ inputProps = _ref3$inputProps === void 0 ? {} : _ref3$inputProps;
429
+ return /*#__PURE__*/React$1.createElement(BaseFormComponent, _objectSpread({
430
+ inputType: inputType
431
+ }, inputProps));
404
432
  });
405
- _this.state = {
406
- templateData: null,
407
- checkedKeys: [],
408
- checkedKeysLeft: [],
409
- checkedKeysRight: [],
410
- currentArea: null,
411
- operation: null,
412
- nodeTreeItem: null,
413
- modalVisible: false,
414
- newTitle: null,
415
- // 新增主模板名称
416
- addTitle: null // 新增子模板名称
417
- };
418
- return _this;
433
+ return _this4;
419
434
  }
420
- _inherits(Index, _Component);
421
- return _createClass(Index, [{
435
+ _inherits(NursingFetus, _Component);
436
+ return _createClass(NursingFetus, [{
422
437
  key: "componentDidMount",
423
438
  value: function componentDidMount() {
424
- this.getTemplateData(_get(this.props, "searchValue", ''));
439
+ this.props.onRef(this);
440
+ this.setActiveKey('tab1');
441
+ this.props;
442
+ if (this.props.value && this.props.value.length > 0) {
443
+ this.setState({
444
+ tabs: map(this.props.value, function (item, index) {
445
+ return {
446
+ title: "".concat(TITLE).concat(index + 1),
447
+ key: "tab".concat(index + 1),
448
+ value: item
449
+ };
450
+ })
451
+ });
452
+ }
425
453
  }
426
454
  }, {
427
- key: "componentWillReceiveProps",
428
- value: function componentWillReceiveProps(nextPorps) {
429
- if (_get(nextPorps, "searchValue") != _get(this.props, "searchValue")) {
430
- this.getTemplateData(_get(nextPorps, "searchValue"));
431
- }
455
+ key: "getFuckFormInstance",
456
+ value: function getFuckFormInstance(idx) {
457
+ var item = this.formRefs[idx];
458
+ var form = get(item, 'formRef.form');
459
+ return item ? form : null;
432
460
  }
433
461
  }, {
434
- key: "renderNodeTreeMenu",
435
- value: function renderNodeTreeMenu() {
436
- var _this2 = this;
437
- var editable = this.props.editable;
438
- var nodeTreeItem = this.state.nodeTreeItem;
439
- var _nodeTreeItem = _objectSpread({}, nodeTreeItem),
440
- pageX = _nodeTreeItem.pageX,
441
- pageY = _nodeTreeItem.pageY,
442
- pid = _nodeTreeItem.pid;
443
- var menuStyle = {
444
- position: 'absolute',
445
- maxHeight: 40,
446
- textAlign: 'center',
447
- left: "".concat(pageX + 10, "px"),
448
- top: "".concat(pageY, "px"),
449
- display: 'flex',
450
- flexDirection: 'row'
451
- };
452
- return nodeTreeItem && editable ? /*#__PURE__*/React.createElement("div", {
453
- style: menuStyle
454
- }, pid === 0 ? /*#__PURE__*/React.createElement("div", {
455
- className: styles["handle-icon"],
456
- onClick: function onClick() {
457
- return _this2.handleTreeItem('add');
458
- }
459
- }, /*#__PURE__*/React.createElement(_Tooltip, {
460
- placement: "bottom",
461
- title: "\u6DFB\u52A0\u5B50\u6A21\u677F"
462
- }, /*#__PURE__*/React.createElement(PlusCircleOutlined, null))) : null, /*#__PURE__*/React.createElement("div", {
463
- className: styles["handle-icon"],
464
- onClick: function onClick() {
465
- return _this2.handleTreeItem('edit');
466
- }
467
- }, /*#__PURE__*/React.createElement(_Tooltip, {
468
- placement: "bottom",
469
- title: "\u4FEE\u6539"
470
- }, /*#__PURE__*/React.createElement(EditOutlined, null))), /*#__PURE__*/React.createElement("div", {
471
- className: styles["handle-icon"],
472
- onClick: function onClick() {
473
- return _this2.handleTreeItem('delete');
474
- }
475
- }, /*#__PURE__*/React.createElement(_Tooltip, {
476
- placement: "bottom",
477
- title: "\u5220\u9664"
478
- }, /*#__PURE__*/React.createElement(DeleteOutlined, null)))) : null;
462
+ key: "getFuckLastFormValue",
463
+ value: function getFuckLastFormValue(key) {
464
+ var _this5 = this,
465
+ _form$getFieldsValue;
466
+ var tabs = this.state.tabs;
467
+ var lastOneIdx = tabs.findIndex(function (_) {
468
+ return _.key === _this5.state.activeKey;
469
+ });
470
+ var form = this.getFuckFormInstance(lastOneIdx);
471
+ return (_form$getFieldsValue = form === null || form === void 0 ? void 0 : form.getFieldsValue()) !== null && _form$getFieldsValue !== void 0 ? _form$getFieldsValue : {};
479
472
  }
480
473
  }, {
481
- key: "renderHandleModal",
482
- value: function renderHandleModal() {
483
- var _this3 = this;
484
- var _this$state5 = this.state,
485
- modalVisible = _this$state5.modalVisible,
486
- nodeTreeItem = _this$state5.nodeTreeItem,
487
- addTitle = _this$state5.addTitle,
488
- operation = _this$state5.operation,
489
- newTitle = _this$state5.newTitle;
490
- var title = operationMapping[operation];
491
- return /*#__PURE__*/React.createElement(_Modal, {
492
- title: title,
493
- closable: true,
494
- visible: modalVisible,
495
- onCancel: this.handleCancel,
496
- onOk: this.handleOk
497
- }, operation === 'new' && /*#__PURE__*/React.createElement("div", null, "\u65B0\u589E\u6A21\u677F\u540D\u79F0\uFF1A", /*#__PURE__*/React.createElement(_Input, {
498
- value: newTitle,
499
- onChange: function onChange(e) {
500
- return _this3.handleIptChange(e, 'new');
501
- },
474
+ key: "render",
475
+ value: function render() {
476
+ var _this6 = this;
477
+ var _this$state2 = this.state,
478
+ tabs = _this$state2.tabs,
479
+ activeKey = _this$state2.activeKey;
480
+ var value = this.props.value;
481
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
482
+ className: classnames(styles["base-edit-panel-form_section"], styles['border']),
502
483
  style: {
503
- width: '50%'
484
+ margin: '16px -16px'
504
485
  }
505
- })), operation === 'add' && /*#__PURE__*/React.createElement("div", null, "\u65B0\u589E\u5B50\u6A21\u677F\uFF1A", /*#__PURE__*/React.createElement(_Input, {
506
- value: addTitle,
507
- onChange: function onChange(e) {
508
- return _this3.handleIptChange(e, 'add');
486
+ }, /*#__PURE__*/React$1.createElement("span", {
487
+ className: styles["base-edit-panel-form_section_title"]
488
+ }, "\u4EA7\u7A0B\u7ECF\u8FC7"), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
489
+ span: 8
490
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
491
+ label: "\u7B2C\u4E00\u4EA7\u7A0B",
492
+ name: "firststage",
493
+ labelCol: {
494
+ span: 12
509
495
  },
510
- style: {
511
- width: '50%'
496
+ wrapperCol: {
497
+ span: 12
512
498
  }
513
- })), operation === 'edit' && /*#__PURE__*/React.createElement("div", null, "\u7F16\u8F91\u6A21\u677F\u540D\u79F0\uFF1A", /*#__PURE__*/React.createElement(_Input, {
514
- value: nodeTreeItem.title,
515
- onChange: function onChange(e) {
516
- return _this3.handleIptChange(e, 'edit');
499
+ }, /*#__PURE__*/React$1.createElement(HourMinuteInput, null)))), map(tabs, function (tab, index) {
500
+ return /*#__PURE__*/React$1.createElement(Row, {
501
+ key: tab.key,
502
+ style: {
503
+ alignItems: 'center'
504
+ }
505
+ }, /*#__PURE__*/React$1.createElement(Col, {
506
+ span: 8
507
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
508
+ label: "\u7B2C\u4E8C\u4EA7\u7A0B",
509
+ name: index === 0 ? 'secondstage' : "fetus".concat(index + 1, "Secondstage"),
510
+ labelCol: {
511
+ span: 12
512
+ },
513
+ wrapperCol: {
514
+ span: 12
515
+ }
516
+ }, /*#__PURE__*/React$1.createElement(HourMinuteInput, null))), /*#__PURE__*/React$1.createElement(Col, {
517
+ span: 8
518
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
519
+ label: "\u7B2C\u4E09\u4EA7\u7A0B",
520
+ name: index === 0 ? 'thirdstage' : "fetus".concat(index + 1, "Thirdstage"),
521
+ labelCol: {
522
+ span: 12
523
+ },
524
+ wrapperCol: {
525
+ span: 12
526
+ }
527
+ }, /*#__PURE__*/React$1.createElement(HourMinuteInput, null))), /*#__PURE__*/React$1.createElement(MyIcon, {
528
+ value: 'PlusCircleOutlined',
529
+ style: {
530
+ display: 'block',
531
+ marginLeft: 16,
532
+ cursor: 'pointer'
533
+ },
534
+ onClick: _this6.add
535
+ }), tabs.length > 1 && index > 0 && (/*#__PURE__*/React$1.createElement(MyIcon, {
536
+ value: 'DeleteOutlined',
537
+ style: {
538
+ display: 'block',
539
+ marginLeft: 16,
540
+ cursor: 'pointer'
541
+ },
542
+ onClick: _this6.handleDelete(tab)
543
+ })));
544
+ }), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
545
+ span: 8
546
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
547
+ label: "\u603B\u4EA7\u7A0B",
548
+ name: "totalstage",
549
+ labelCol: {
550
+ span: 12
517
551
  },
518
- style: {
519
- width: '50%'
552
+ wrapperCol: {
553
+ span: 12
520
554
  }
521
- })), operation === 'delete' && /*#__PURE__*/React.createElement("div", null, "\u662F\u5426\u5220\u9664\u6A21\u677F\uFF1A", nodeTreeItem.title));
522
- }
523
- }, {
524
- key: "renderTreatment",
525
- value: function renderTreatment() {
526
- var _this4 = this;
527
- var _this$props3 = this.props,
528
- checkable = _this$props3.checkable,
529
- divide = _this$props3.divide,
530
- editable = _this$props3.editable;
531
- var _this$state6 = this.state,
532
- templateData = _this$state6.templateData,
533
- checkedKeys = _this$state6.checkedKeys,
534
- checkedKeysLeft = _this$state6.checkedKeysLeft,
535
- checkedKeysRight = _this$state6.checkedKeysRight,
536
- currentArea = _this$state6.currentArea,
537
- nodeTreeItem = _this$state6.nodeTreeItem;
538
- var treeData = this.transferTemplateData(templateData);
539
- return /*#__PURE__*/React.createElement("div", {
555
+ }, /*#__PURE__*/React$1.createElement(HourMinuteInput, null))))), /*#__PURE__*/React$1.createElement("div", {
556
+ className: classnames(styles["base-edit-panel-form_section"], styles['border']),
540
557
  style: {
541
- minHeight: 160,
542
- padding: '12px 0'
558
+ margin: '16px -16px'
543
559
  }
544
- }, editable ? /*#__PURE__*/React.createElement("div", {
545
- className: styles["add-btn"]
546
- }, /*#__PURE__*/React.createElement(_Button, {
547
- size: "small",
548
- onClick: this.handleAddBtnClick
549
- }, "\u6DFB\u52A0\u6A21\u677F")) : null, divide ? /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
550
- span: 12
551
- }, /*#__PURE__*/React.createElement(Tree, {
560
+ }, /*#__PURE__*/React$1.createElement("span", {
561
+ className: styles["base-edit-panel-form_section_title"]
562
+ }, "\u80CE\u513F\u76F8\u5173"), /*#__PURE__*/React$1.createElement("div", {
552
563
  style: {
553
- maxHeight: '90%'
554
- },
555
- checkable: checkable,
556
- defaultExpandAll: true,
557
- checkedKeys: checkedKeysLeft.length === 0 ? [] : checkedKeysLeft,
558
- onCheck: this.handleCheckLeft,
559
- onSelect: this.handleSelect,
560
- onMouseEnter: function onMouseEnter(e) {
561
- return _this4.onMouseEnter(e, 'treeLeft');
562
- },
563
- treeData: treeData.slice(0, Math.ceil(treeData.length / 2))
564
- }), nodeTreeItem && currentArea === 'treeLeft' ? this.renderNodeTreeMenu() : null), /*#__PURE__*/React.createElement(_Col, {
565
- span: 12
566
- }, /*#__PURE__*/React.createElement(Tree, {
567
- style: {
568
- maxHeight: '90%'
569
- },
570
- checkable: checkable,
571
- defaultExpandAll: true,
572
- checkedKeys: checkedKeysRight.length === 0 ? [] : checkedKeysRight,
573
- onCheck: this.handleCheckRight,
574
- onSelect: this.handleSelect,
575
- onMouseEnter: function onMouseEnter(e) {
576
- return _this4.onMouseEnter(e, 'treeright');
577
- },
578
- treeData: treeData.slice(Math.ceil(treeData.length / 2))
579
- }), nodeTreeItem && currentArea === 'treeright' ? this.renderNodeTreeMenu() : null)) : /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
580
- span: 24
581
- }, /*#__PURE__*/React.createElement(Tree, {
564
+ position: 'relative'
565
+ }
566
+ }, /*#__PURE__*/React$1.createElement("div", {
567
+ id: "scroll-top"
568
+ }), /*#__PURE__*/React$1.createElement(Tabs, {
569
+ type: "editable-card",
570
+ onChange: this.setActiveKey,
571
+ addIcon: /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(MyIcon, {
572
+ value: 'PlusOutlined'
573
+ }), "\u589E\u52A0", TITLE),
574
+ activeKey: activeKey,
575
+ onEdit: this.onEdit
576
+ }, map(tabs, function (tab, index) {
577
+ return /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
578
+ tab: tab.title,
579
+ key: tab.key,
580
+ forceRender: true,
581
+ closable: index === 0 ? false : true
582
+ }, /*#__PURE__*/React$1.createElement(AdmissionPanel, {
583
+ ref: function ref(_ref4) {
584
+ _this6.formRefs[index] = _ref4;
585
+ },
586
+ index: index,
587
+ data: value && (value.length > 0 ? value[index] : tab.value) || tab.value
588
+ }));
589
+ })), /*#__PURE__*/React$1.createElement(Button, {
590
+ size: "large",
582
591
  style: {
583
- maxHeight: '90%'
592
+ position: 'absolute',
593
+ bottom: '12px',
594
+ left: '50%',
595
+ transform: 'translateX(-50%)'
584
596
  },
585
- checkable: checkable,
586
- defaultExpandAll: true,
587
- checkedKeys: checkedKeys,
588
- onCheck: this.handleCheck,
589
- onSelect: this.handleSelect,
590
- onMouseEnter: function onMouseEnter(e) {
591
- return _this4.onMouseEnter(e, '');
592
- },
593
- treeData: treeData
594
- }), nodeTreeItem ? this.renderNodeTreeMenu() : null)));
595
- }
596
- }, {
597
- key: "render",
598
- value: function render() {
599
- var templateData = this.state.templateData;
600
- return /*#__PURE__*/React.createElement("div", {
601
- className: styles["template-tree-wrapper"]
602
- }, templateData && this.renderTreatment(), this.renderHandleModal());
597
+ onClick: this.handleClick
598
+ }, "+ \u586B\u5199\u5176\u4ED6\u80CE\u513F\u4FE1\u606F"))));
603
599
  }
604
600
  }]);
605
601
  }(Component);
606
- export { Index as default };
607
- //# sourceMappingURL=.root81.js.map
602
+ export { NursingFetus as default };