@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,287 +1,604 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
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";
4
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
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";
9
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
8
10
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
9
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
- import 'antd/es/space/style';
11
- import _Space from 'antd/es/space';
12
- import 'antd/es/row/style';
13
- import _Row from 'antd/es/row';
14
- import { b as styleInject, i as BaseFormComponent, _ as _extends } from './index.js';
15
- import 'antd/es/col/style';
16
- import _Col from 'antd/es/col';
17
- import _isEmpty from 'lodash/isEmpty';
18
- import _get from 'lodash/get';
19
- import _set from 'lodash/set';
20
- import _map from 'lodash/map';
21
- import { PlusCircleOutlined, MinusCircleOutlined } from '@ant-design/icons';
22
- import React, { Component } from 'react';
23
- import '@lm_fe/env';
24
- import 'lodash/isFunction';
25
- import 'antd/es/input/style';
26
- import 'antd/es/input';
27
- import 'antd/es/input-number/style';
28
- import 'antd/es/input-number';
29
- import 'lodash/indexOf';
30
- import 'lodash/compact';
31
- import '@lm_fe/components';
32
- import '@lm_fe/utils';
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 { map, get, set } from 'lodash';
17
+ import React$1, { Component } from 'react';
18
+ import { a5 as BaseEditPanelForm, a6 as formItemLayout, a7 as BaseEditPanel, a8 as formDescriptionsWithoutSectionApi, e as BaseFormComponent } from './index.js';
19
+ import { SMchc_FormDescriptions } from '@lm_fe/service';
20
+ import { safe_json_parse } from '@lm_fe/utils';
21
+ import dayjs from 'dayjs';
22
+ import '@lm_fe/provoke';
33
23
  import 'classnames';
34
- import 'dayjs';
35
- import 'antd/es/checkbox/style';
36
- import 'antd/es/checkbox';
37
- import 'lodash/isString';
38
- import 'lodash/isNumber';
39
- import 'lodash/isBoolean';
40
- import 'antd/es/divider/style';
41
- import 'antd/es/divider';
42
- import 'antd/es/button/style';
43
- import 'antd/es/button';
44
- import 'antd/es/switch/style';
45
- import 'antd/es/switch';
46
- import 'antd/es/form/style';
47
- import 'antd/es/form';
48
- import 'lodash/join';
49
- import 'lodash/isEqual';
50
- import 'lodash/isArray';
51
- import 'lodash/identity';
52
- import 'lodash/cloneDeep';
53
- import '@lm_fe/service';
54
- import 'lodash/isObject';
55
- import 'lodash/keys';
56
- import 'lodash/keyBy';
57
- import 'lodash/isNil';
58
- import 'antd/es/tooltip/style';
59
- import 'antd/es/tooltip';
60
- import 'antd/es/spin/style';
61
- import 'antd/es/spin';
62
- import 'antd/es/message/style';
63
- import 'antd/es/message';
64
- import 'lodash/has';
65
- import 'antd/es/modal/style';
66
- import 'antd/es/modal';
67
- import 'lodash/size';
68
- import 'lodash/includes';
69
- import 'lodash/forEach';
70
- import 'lodash/filter';
71
- import 'react-to-print';
72
- import 'lodash/concat';
73
- import 'lodash/reduce';
74
- import 'lodash/debounce';
75
- import 'lodash/pickBy';
76
- import 'antd/es/auto-complete/style';
77
- import 'antd/es/auto-complete';
78
- import 'lodash/nth';
79
- import 'lodash/assign';
80
- import 'antd/es/popover/style';
81
- import 'antd/es/popover';
82
- import 'antd/es/menu/style';
83
- import 'antd/es/menu';
24
+ import '@lm_fe/env';
25
+ import 'reconnecting-websocket';
84
26
  import 'store';
85
- import 'antd/es/popconfirm/style';
86
- import 'antd/es/popconfirm';
87
- import 'antd/es/radio/style';
88
- import 'antd/es/radio';
89
- import 'lodash/last';
90
- import 'lodash/toUpper';
91
- var css_248z = ".nurse-children__field {\n align-items: center;\n text-align: right;\n margin: 4px 0;\n}\n.nurse-children__field-label {\n font-weight: 500;\n color: rgba(0, 0, 0, 0.85);\n}\n.nurse-children__field-input {\n text-align: left;\n}\n";
92
- var styles = css_248z;
93
- styleInject(css_248z);
94
- var CaesareanChildren = /*#__PURE__*/function (_Component) {
95
- function CaesareanChildren() {
27
+ var fromApi = function fromApi(data, nativeFormDescriptions) {
28
+ var result = _objectSpread({}, data);
29
+ map(nativeFormDescriptions, function (desctiption, key) {
30
+ var tranferRules = desctiption.tranfer_rules,
31
+ inputType = desctiption.inputType;
32
+ var type = 'default';
33
+ var path = key;
34
+ if (safe_json_parse(tranferRules)) {
35
+ var tranferRulesJson = safe_json_parse(tranferRules);
36
+ type = get(tranferRulesJson, 'type') ? get(tranferRulesJson, 'type') : 'default';
37
+ path = get(tranferRulesJson, 'path') ? get(tranferRulesJson, 'path') : key;
38
+ }
39
+ if (key === 'appgar') {
40
+ type = 'apgar';
41
+ }
42
+ if (['deliverytype', 'motherAbo', 'fatherAbo', 'ear', 'snout', 'labrum', 'nece', 'pectus', 'ventral', 'dorsalspine', 'extremities', 'fingers', 'toe', 'anus', 'anoperineogenital', 'headDeform', 'raniumOverlay', 'umbilicalCordtorsion', 'umbilicalCordKnot', 'tongue', 'umbilicalcord', 'mouth'].includes(key)) {
43
+ type = 'key_and_keyNote';
44
+ }
45
+ switch (type) {
46
+ case 'key_and_keyNote':
47
+ set(result, "".concat(key, ".key"), get(data, path));
48
+ set(result, "".concat(key, ".keyNote"), get(data, "".concat(path, "Note")));
49
+ break;
50
+ case 'stage':
51
+ set(result, "".concat(key, ".0"), get(data, "".concat(key, "h")));
52
+ set(result, "".concat(key, ".1"), get(data, "".concat(key, "m")));
53
+ break;
54
+ case 'apgar':
55
+ map(data, function (record, index) {
56
+ if (index.indexOf('apgar') > -1) {
57
+ set(result, "".concat(key, ".").concat(index), record);
58
+ }
59
+ // set(result, `${key}.${index}.apgar1`, record);
60
+ // set(result, `${key}.${index}.apgar5`, record);
61
+ // set(result, `${key}.${index}.apgar10`, record);
62
+ });
63
+ break;
64
+ case 'moment':
65
+ set(result, key, get(data, path) ? dayjs(get(data, path)) : undefined);
66
+ break;
67
+ case 'default':
68
+ default:
69
+ set(result, key, get(data, path));
70
+ break;
71
+ }
72
+ // radio_input组件数据处理
73
+ if (inputType === 'radio_input') {
74
+ var k = key.split('.').pop();
75
+ var obj = _defineProperty(_defineProperty({}, k, get(data, key)), "".concat(k, "Note"), get(data, "".concat(key, "Note")));
76
+ set(result, key, obj);
77
+ delete result["".concat(k, "Note")];
78
+ }
79
+ if (inputType === 'checkbox_with_input') {
80
+ if (['hbig', 'hepatitisBvaccin'].includes(key)) {
81
+ var checkBoxValue = {
82
+ checkedValues: [get(data, path)],
83
+ withInputValues: _defineProperty({}, get(data, path), {
84
+ key: get(data, path),
85
+ value: {
86
+ '0': get(data, "".concat(path, "Time"))
87
+ }
88
+ })
89
+ };
90
+ set(result, key, JSON.stringify(checkBoxValue));
91
+ } else if (key === 'umbilicalCordWine' || key === 'caputSuccedaneumNote1' || key === 'hematomaNote1' || key === 'craniomalaciaNote1' || key === 'asphyxiatedNote' || key === 'embryolemma') {
92
+ set(result, key, get(data, path));
93
+ } else {
94
+ var _checkBoxValue = {
95
+ checkedValues: [get(data, path)],
96
+ withInputValues: _defineProperty({}, get(data, path), {
97
+ key: get(data, path),
98
+ value: {
99
+ '0': get(data, "".concat(path, "Note"))
100
+ }
101
+ })
102
+ };
103
+ set(result, key, JSON.stringify(_checkBoxValue));
104
+ }
105
+ }
106
+ if (key === 'process') {
107
+ set(result, "".concat(key), "{\"0\":".concat(get(data, 'gravidity') || null, ",\"1\":").concat(get(data, 'parity') || null, "}"));
108
+ }
109
+ if (['umbilicalcordtwine', 'umbilicalcordTurnRound', 'umbilicalcordKnot'].includes(key)) {
110
+ set(result, "".concat(key, ".key"), get(data, "fetusAppendages.".concat(key)));
111
+ set(result, "".concat(key, ".keyNote"), '');
112
+ }
113
+ });
114
+ return _objectSpread(_objectSpread({}, result), {}, {
115
+ id: get(data, 'id')
116
+ });
117
+ };
118
+ var AdmissionForm = /*#__PURE__*/function (_BaseEditPanelForm) {
119
+ function AdmissionForm() {
96
120
  var _this;
97
- _classCallCheck(this, CaesareanChildren);
121
+ _classCallCheck(this, AdmissionForm);
98
122
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
99
123
  args[_key] = arguments[_key];
100
124
  }
101
- _this = _callSuper(this, CaesareanChildren, [].concat(args));
102
- _defineProperty(_this, "state", {
103
- childrens: [{}],
104
- outData: {}
125
+ _this = _callSuper(this, AdmissionForm, [].concat(args));
126
+ _defineProperty(_this, "handleFieldsChange", /*#__PURE__*/function () {
127
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(changedFields, allFields) {
128
+ var form, name, value;
129
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
130
+ while (1) switch (_context.prev = _context.next) {
131
+ case 0:
132
+ form = _this.form;
133
+ name = get(changedFields[0], 'name.0');
134
+ if (name === 'appgar') {
135
+ value = get(changedFields[0], 'value');
136
+ form && form.setFieldsValue({
137
+ appgar: {
138
+ apgar1HeartrateScore: get(value, 'apgar1Heartrate'),
139
+ apgar1BreathScore: get(value, 'apgar1Breath'),
140
+ apgar1ReflexScore: get(value, 'apgar1Reflex'),
141
+ apgar1MuscletensionScore: get(value, 'apgar1Muscletension'),
142
+ apgar1SkincolorScore: get(value, 'apgar1Skincolor'),
143
+ apgar1: (get(value, 'apgar1Heartrate') || 0) + (get(value, 'apgar1Breath') || 0) + (get(value, 'apgar1Reflex') || 0) + (get(value, 'apgar1Muscletension') || 0) + (get(value, 'apgar1Skincolor') || 0),
144
+ apgar5HeartrateScore: get(value, 'apgar5Heartrate'),
145
+ apgar5BreathScore: get(value, 'apgar5Breath'),
146
+ apgar5ReflexScore: get(value, 'apgar5Reflex'),
147
+ apgar5MuscletensionScore: get(value, 'apgar5Muscletension'),
148
+ apgar5SkincolorScore: get(value, 'apgar5Skincolor'),
149
+ apgar5: (get(value, 'apgar5Heartrate') || 0) + (get(value, 'apgar5Breath') || 0) + (get(value, 'apgar5Reflex') || 0) + (get(value, 'apgar5Muscletension') || 0) + (get(value, 'apgar5Skincolor') || 0),
150
+ apgar10HeartrateScore: get(value, 'apgar10Heartrate'),
151
+ apgar10BreathScore: get(value, 'apgar10Breath'),
152
+ apgar10ReflexScore: get(value, 'apgar10Reflex'),
153
+ apgar10MuscletensionScore: get(value, 'apgar10Muscletension'),
154
+ apgar10SkincolorScore: get(value, 'apgar10Skincolor'),
155
+ apgar10: (get(value, 'apgar10Heartrate') || 0) + (get(value, 'apgar10Breath') || 0) + (get(value, 'apgar10Reflex') || 0) + (get(value, 'apgar10Muscletension') || 0) + (get(value, 'apgar10Skincolor') || 0)
156
+ }
157
+ });
158
+ }
159
+ case 3:
160
+ case "end":
161
+ return _context.stop();
162
+ }
163
+ }, _callee);
164
+ }));
165
+ return function (_x, _x2) {
166
+ return _ref.apply(this, arguments);
167
+ };
168
+ }());
169
+ return _this;
170
+ }
171
+ _inherits(AdmissionForm, _BaseEditPanelForm);
172
+ return _createClass(AdmissionForm, [{
173
+ key: "render",
174
+ value: function render() {
175
+ return /*#__PURE__*/React$1.createElement(Form, _objectSpread({
176
+ autoComplete: "off",
177
+ ref: this.formRef,
178
+ onBlur: this.handleItemBlur,
179
+ //onValuesChange={this.props.onValuesChange}
180
+ onFieldsChange: this.handleFieldsChange
181
+ }, formItemLayout), this.renderEditContent());
182
+ }
183
+ }]);
184
+ }(BaseEditPanelForm);
185
+ var AdmissionPanel = /*#__PURE__*/function (_BaseEditPanel) {
186
+ function AdmissionPanel() {
187
+ _classCallCheck(this, AdmissionPanel);
188
+ return _callSuper(this, AdmissionPanel, arguments);
189
+ }
190
+ _inherits(AdmissionPanel, _BaseEditPanel);
191
+ return _createClass(AdmissionPanel, [{
192
+ key: "componentDidMount",
193
+ value: function () {
194
+ var _componentDidMount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
195
+ var _this$props, data, moduleName, baseUrl, _this$props$fromApi, fromApi$1, system, formDescriptions, formDescriptionsWithoutSection, formKey;
196
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
197
+ while (1) switch (_context2.prev = _context2.next) {
198
+ case 0:
199
+ _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, system = _this$props.system;
200
+ _context2.next = 3;
201
+ return SMchc_FormDescriptions.getModuleParseCache(moduleName);
202
+ case 3:
203
+ formDescriptions = _context2.sent;
204
+ formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
205
+ formKey = get(data, 'id') || Math.random();
206
+ this.setState({
207
+ formDescriptions: formDescriptions,
208
+ formDescriptionsWithoutSection: formDescriptionsWithoutSection,
209
+ data: fromApi$1(data, formDescriptionsWithoutSection),
210
+ formKey: formKey
211
+ });
212
+ case 7:
213
+ case "end":
214
+ return _context2.stop();
215
+ }
216
+ }, _callee2, this);
217
+ }));
218
+ function componentDidMount() {
219
+ return _componentDidMount.apply(this, arguments);
220
+ }
221
+ return componentDidMount;
222
+ }()
223
+ }, {
224
+ key: "render",
225
+ value: function render() {
226
+ var _this2 = this;
227
+ var _this$props2 = this.props,
228
+ Form = _this$props2.Form,
229
+ _this$props2$printTem = _this$props2.printTemplate,
230
+ printTemplate = _this$props2$printTem === void 0 ? '' : _this$props2$printTem,
231
+ _this$props2$printRes = _this$props2.printResource,
232
+ printResource = _this$props2$printRes === void 0 ? '' : _this$props2$printRes,
233
+ history = _this$props2.history;
234
+ var _this$state = this.state,
235
+ formDescriptions = _this$state.formDescriptions,
236
+ formDescriptionsWithoutSection = _this$state.formDescriptionsWithoutSection,
237
+ data = _this$state.data,
238
+ formKey = _this$state.formKey,
239
+ spinning = _this$state.spinning;
240
+ return React.createElement("div", {
241
+ className: "base-edit-panel"
242
+ }, React.createElement(Form, {
243
+ ref: function ref(_ref2) {
244
+ return _this2.formRef = _ref2;
245
+ },
246
+ key: formKey,
247
+ spinning: spinning,
248
+ printId: get(data, 'id'),
249
+ printResource: printResource,
250
+ printTemplate: printTemplate,
251
+ data: data,
252
+ onFinish: this.handleSubmit,
253
+ formDescriptions: formDescriptions,
254
+ formDescriptionsWithoutSection: formDescriptionsWithoutSection,
255
+ history: history
256
+ }));
257
+ }
258
+ }]);
259
+ }(BaseEditPanel);
260
+ _defineProperty(AdmissionPanel, "defaultProps", {
261
+ baseUrl: '/api/noenate-records',
262
+ moduleName: 'newborn-stranger',
263
+ //moduleName: 'neonatal-nursing',
264
+ title: '新生儿出生情况',
265
+ Form: AdmissionForm
266
+ });
267
+ var TITLE = '胎儿';
268
+ var NursingFetus = /*#__PURE__*/function (_Component) {
269
+ function NursingFetus() {
270
+ var _this3;
271
+ _classCallCheck(this, NursingFetus);
272
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
273
+ args[_key2] = arguments[_key2];
274
+ }
275
+ _this3 = _callSuper(this, NursingFetus, [].concat(args));
276
+ _defineProperty(_this3, "state", {
277
+ tabs: [{
278
+ title: "".concat(TITLE, "1"),
279
+ key: 'tab1',
280
+ value: {}
281
+ }],
282
+ activeKey: 'tab1'
105
283
  });
106
- _defineProperty(_this, "handleAdd", function () {
107
- var childrens = _this.state.childrens;
108
- _this.setState({
109
- childrens: [].concat(_toConsumableArray(childrens), [{}])
284
+ _defineProperty(_this3, "formRefs", {});
285
+ _defineProperty(_this3, "onChange", function (activeKey) {
286
+ _this3.setState({
287
+ activeKey: activeKey
110
288
  });
111
289
  });
112
- _defineProperty(_this, "handleDelete", function (index) {
113
- var childrens = _this.state.childrens;
114
- childrens.splice(index, 1);
115
- _this.setState({
116
- childrens: childrens
117
- });
290
+ _defineProperty(_this3, "onEdit", function (targetKey, action) {
291
+ _this3[action](targetKey);
118
292
  });
119
- _defineProperty(_this, "handleChange", function (callbackData, name, index) {
120
- var onChange = _this.props.onChange;
121
- var _this$state = _this.state,
122
- outData = _this$state.outData,
123
- childrens = _this$state.childrens;
124
- _set(childrens[index], name, callbackData);
125
- _this.setState({
126
- outData: childrens,
127
- childrens: childrens
128
- }, function () {
129
- onChange && onChange(_this.state.outData);
293
+ _defineProperty(_this3, "handleClick", function () {
294
+ var _this3$state = _this3.state,
295
+ tabs = _this3$state.tabs,
296
+ activeKey = _this3$state.activeKey;
297
+ var activeKeyNew = Math.random().toString();
298
+ var newPanes = _toConsumableArray(tabs);
299
+ var key = tabs[tabs.length - 1].key;
300
+ //自动打开下一个tab,若没有则新增一个
301
+ if (key === activeKey) {
302
+ newPanes.push({
303
+ title: "".concat(TITLE).concat(tabs.length + 1),
304
+ key: activeKeyNew
305
+ });
306
+ _this3.setState({
307
+ tabs: newPanes,
308
+ activeKey: activeKeyNew
309
+ });
310
+ } else {
311
+ _this3.setState({
312
+ activeKey: key
313
+ });
314
+ }
315
+ //回到tab顶部
316
+ var dom = document.getElementById('scroll-top');
317
+ dom && dom.scrollIntoView({
318
+ behavior: 'smooth'
130
319
  });
131
320
  });
132
- _defineProperty(_this, "renderFieldItem", function (_ref) {
133
- var name = _ref.name,
134
- value = _ref.value,
135
- label = _ref.label,
136
- inputType = _ref.inputType,
137
- _ref$labelSpan = _ref.labelSpan,
138
- labelSpan = _ref$labelSpan === void 0 ? 12 : _ref$labelSpan,
139
- _ref$wrapperSpan = _ref.wrapperSpan,
140
- wrapperSpan = _ref$wrapperSpan === void 0 ? 12 : _ref$wrapperSpan,
141
- _ref$inputProps = _ref.inputProps,
142
- inputProps = _ref$inputProps === void 0 ? {} : _ref$inputProps,
143
- _ref$index = _ref.index,
144
- index = _ref$index === void 0 ? 0 : _ref$index;
145
- return /*#__PURE__*/React.createElement(_Row, {
146
- className: styles["nurse-children__field"]
147
- }, /*#__PURE__*/React.createElement(_Col, {
148
- className: styles["nurse-children__field-label"],
149
- span: labelSpan
150
- }, /*#__PURE__*/React.createElement("span", null, label, "\uFF1A")), /*#__PURE__*/React.createElement(_Col, {
151
- className: styles["nurse-children__field-input"],
152
- span: wrapperSpan
153
- }, /*#__PURE__*/React.createElement(BaseFormComponent, _extends({
154
- name: name,
155
- value: value,
156
- inputType: inputType
157
- }, inputProps, {
158
- onChange: function onChange(e) {
159
- _this.handleChange(e, name, index);
160
- }
161
- }))));
321
+ _defineProperty(_this3, "add", function () {
322
+ var tabs = _this3.state.tabs;
323
+ var activeKey = Math.random().toString();
324
+ var newPanes = _toConsumableArray(tabs);
325
+ newPanes.push({
326
+ title: "".concat(TITLE).concat(tabs.length + 1),
327
+ key: activeKey
328
+ });
329
+ _this3.setState({
330
+ tabs: newPanes,
331
+ activeKey: activeKey
332
+ });
162
333
  });
163
- _defineProperty(_this, "renderChildrenItem", function (children, index, value) {
164
- return /*#__PURE__*/React.createElement("div", {
165
- key: index
166
- }, /*#__PURE__*/React.createElement("div", {
167
- style: {
168
- paddingLeft: 30,
169
- color: '#3d8bf7'
334
+ _defineProperty(_this3, "remove", function (targetKey) {
335
+ if (!confirm('确定删除吗?')) return;
336
+ var _this3$state2 = _this3.state,
337
+ tabs = _this3$state2.tabs,
338
+ activeKey = _this3$state2.activeKey;
339
+ var newActiveKey = activeKey;
340
+ var lastIndex;
341
+ tabs.forEach(function (pane, i) {
342
+ if (pane.key === targetKey) {
343
+ lastIndex = i - 1;
170
344
  }
171
- }, /*#__PURE__*/React.createElement("span", null, "\u65B0\u751F\u513F", index + 1, "\uFF1A"), /*#__PURE__*/React.createElement(_Space, null, /*#__PURE__*/React.createElement(PlusCircleOutlined, {
172
- onClick: _this.handleAdd
173
- }), _this.state.childrens.length > 1 ? /*#__PURE__*/React.createElement(MinusCircleOutlined, {
174
- onClick: function onClick() {
175
- _this.handleDelete(index);
176
- }
177
- }) : null)), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
178
- span: 12
179
- }, _this.renderFieldItem({
180
- index: index,
181
- name: 'birthOrder',
182
- value: _get(value, ["".concat(index), 'birthOrder']),
183
- label: '出生次序',
184
- labelSpan: 9,
185
- wrapperSpan: 14,
186
- inputType: 'input_number'
187
- })), /*#__PURE__*/React.createElement(_Col, {
188
- span: 12
189
- }, _this.renderFieldItem({
190
- index: index,
191
- name: 'gender',
192
- value: _get(value, ["".concat(index), 'gender']),
193
- label: '性别',
194
- labelSpan: 9,
195
- wrapperSpan: 14,
196
- inputType: 'select_with_options',
197
- inputProps: {
198
- options: [{
199
- value: 1,
200
- label: '男'
201
- }, {
202
- value: 2,
203
- label: '女'
204
- }]
205
- }
206
- })), /*#__PURE__*/React.createElement(_Col, {
207
- span: 12
208
- }, _this.renderFieldItem({
209
- index: index,
210
- name: 'weight',
211
- value: _get(value, ["".concat(index), 'weight']),
212
- label: '体重(kg)',
213
- labelSpan: 9,
214
- wrapperSpan: 14,
215
- inputType: 'input_number'
216
- })), /*#__PURE__*/React.createElement(_Col, {
217
- span: 12
218
- }, _this.renderFieldItem({
219
- index: index,
220
- name: 'height',
221
- value: _get(value, ["".concat(index), 'height']),
222
- label: '身长(cm)',
223
- labelSpan: 9,
224
- wrapperSpan: 14,
225
- inputType: 'input_number'
226
- })), /*#__PURE__*/React.createElement(_Col, {
227
- span: 12
228
- }, _this.renderFieldItem({
229
- index: index,
230
- name: 'status',
231
- value: _get(value, ["".concat(index), 'status']),
232
- label: '健康状况',
233
- labelSpan: 9,
234
- wrapperSpan: 14,
235
- inputType: 'input_with_label'
236
- })), /*#__PURE__*/React.createElement(_Col, {
237
- span: 12
238
- }, _this.renderFieldItem({
239
- index: index,
240
- name: 'birthDate',
241
- value: _get(value, ["".concat(index), 'birthDate']),
242
- label: '出生时间',
243
- labelSpan: 9,
244
- wrapperSpan: 13,
245
- inputType: 'single_date_picker',
246
- inputProps: {
247
- showTime: true,
248
- format: 'YYYY-MM-DD HH:mm'
345
+ });
346
+ var newPanes = tabs.filter(function (pane) {
347
+ return pane.key !== targetKey;
348
+ });
349
+ if (newPanes.length && newActiveKey === targetKey) {
350
+ if (lastIndex >= 0) {
351
+ newActiveKey = newPanes[lastIndex].key;
352
+ } else {
353
+ newActiveKey = newPanes[0].key;
249
354
  }
250
- })), /*#__PURE__*/React.createElement(_Col, {
251
- span: 12
252
- }, _this.renderFieldItem({
253
- index: index,
254
- name: 'name',
255
- value: _get(value, ["".concat(index), 'name']),
256
- label: '新生儿姓名',
257
- labelSpan: 9,
258
- wrapperSpan: 14,
259
- inputType: 'input_with_label'
260
- }))));
355
+ }
356
+ _this3.setState({
357
+ tabs: newPanes,
358
+ activeKey: newActiveKey
359
+ });
261
360
  });
262
- return _this;
361
+ _defineProperty(_this3, "handleDelete", function (tab) {
362
+ return function () {
363
+ var targetKey = get(tab, 'key');
364
+ _this3.remove(targetKey);
365
+ };
366
+ });
367
+ _defineProperty(_this3, "renderFieldItem", function (_ref3) {
368
+ var inputType = _ref3.inputType,
369
+ _ref3$labelSpan = _ref3.labelSpan,
370
+ labelSpan = _ref3$labelSpan === void 0 ? 12 : _ref3$labelSpan,
371
+ _ref3$wrapperSpan = _ref3.wrapperSpan,
372
+ wrapperSpan = _ref3$wrapperSpan === void 0 ? 12 : _ref3$wrapperSpan,
373
+ _ref3$inputProps = _ref3.inputProps,
374
+ inputProps = _ref3$inputProps === void 0 ? {} : _ref3$inputProps;
375
+ return /*#__PURE__*/React$1.createElement(BaseFormComponent, _objectSpread({
376
+ inputType: inputType
377
+ }, inputProps));
378
+ });
379
+ return _this3;
263
380
  }
264
- _inherits(CaesareanChildren, _Component);
265
- return _createClass(CaesareanChildren, [{
381
+ _inherits(NursingFetus, _Component);
382
+ return _createClass(NursingFetus, [{
266
383
  key: "componentDidMount",
267
384
  value: function componentDidMount() {
268
- if (this.props.value && !_isEmpty(this.props.value)) {
385
+ this.props.onRef(this);
386
+ this.props;
387
+ if (this.props.value && this.props.value.length > 0) {
269
388
  this.setState({
270
- childrens: this.props.value
389
+ tabs: map(this.props.value, function (item, index) {
390
+ return {
391
+ title: "".concat(TITLE).concat(index + 1),
392
+ key: "tab".concat(index + 1),
393
+ value: item
394
+ };
395
+ })
271
396
  });
272
397
  }
273
398
  }
274
399
  }, {
275
400
  key: "render",
276
401
  value: function render() {
277
- var _this2 = this;
278
- var childrens = this.state.childrens;
402
+ var _this4 = this;
403
+ var _this$state2 = this.state,
404
+ tabs = _this$state2.tabs,
405
+ activeKey = _this$state2.activeKey;
279
406
  var value = this.props.value;
280
- return /*#__PURE__*/React.createElement("div", null, _map(childrens, function (children, index) {
281
- return _this2.renderChildrenItem(children, index, value);
282
- }));
407
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
408
+ className: "base-edit-panel-form_section border",
409
+ style: {
410
+ margin: '16px -16px'
411
+ }
412
+ }, /*#__PURE__*/React$1.createElement("span", {
413
+ className: "base-edit-panel-form_section_title"
414
+ }, "\u4EA7\u7A0B\u7ECF\u8FC7"), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
415
+ span: 8
416
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
417
+ label: "\u7B2C\u4E00\u4EA7\u7A0B",
418
+ name: "firststage",
419
+ labelCol: {
420
+ span: 12
421
+ },
422
+ wrapperCol: {
423
+ span: 12
424
+ }
425
+ }, this.renderFieldItem({
426
+ inputType: 'multiple_input_with_label',
427
+ inputProps: {
428
+ config: {
429
+ special_config: JSON.stringify({
430
+ type: 'number',
431
+ options: [{
432
+ min: 0,
433
+ labelBefore: '',
434
+ labelAfter: '时',
435
+ maxValue: 15
436
+ }, {
437
+ min: 0,
438
+ max: 59,
439
+ labelBefore: '',
440
+ labelAfter: '分'
441
+ }]
442
+ })
443
+ }
444
+ }
445
+ })))), map(tabs, function (tab, index) {
446
+ return /*#__PURE__*/React$1.createElement(Row, {
447
+ key: tab.key,
448
+ style: {
449
+ alignItems: 'center'
450
+ }
451
+ }, /*#__PURE__*/React$1.createElement(Col, {
452
+ span: 8
453
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
454
+ label: "\u7B2C\u4E8C\u4EA7\u7A0B",
455
+ name: index === 0 ? 'secondstage' : "fetus".concat(index + 1, "Secondstage"),
456
+ labelCol: {
457
+ span: 12
458
+ },
459
+ wrapperCol: {
460
+ span: 12
461
+ }
462
+ }, _this4.renderFieldItem({
463
+ inputType: 'multiple_input_with_label',
464
+ inputProps: {
465
+ config: {
466
+ special_config: JSON.stringify({
467
+ type: 'number',
468
+ options: [{
469
+ min: 0,
470
+ labelBefore: '',
471
+ labelAfter: '时',
472
+ maxValue: 2
473
+ }, {
474
+ min: 0,
475
+ max: 59,
476
+ labelBefore: '',
477
+ labelAfter: '分'
478
+ }]
479
+ })
480
+ }
481
+ }
482
+ }))), /*#__PURE__*/React$1.createElement(Col, {
483
+ span: 8
484
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
485
+ label: "\u7B2C\u4E09\u4EA7\u7A0B",
486
+ name: index === 0 ? 'thirdstage' : "fetus".concat(index + 1, "Thirdstage"),
487
+ labelCol: {
488
+ span: 12
489
+ },
490
+ wrapperCol: {
491
+ span: 12
492
+ }
493
+ }, _this4.renderFieldItem({
494
+ inputType: 'multiple_input_with_label',
495
+ inputProps: {
496
+ config: {
497
+ special_config: JSON.stringify({
498
+ type: 'number',
499
+ options: [{
500
+ min: 0,
501
+ labelBefore: '',
502
+ labelAfter: '时',
503
+ maxValue: 0
504
+ }, {
505
+ min: 0,
506
+ max: 59,
507
+ labelBefore: '',
508
+ labelAfter: '分',
509
+ maxValue: 29
510
+ }]
511
+ })
512
+ }
513
+ }
514
+ }))), /*#__PURE__*/React$1.createElement(MyIcon, {
515
+ value: 'PlusCircleOutlined',
516
+ style: {
517
+ display: 'block',
518
+ marginLeft: 16,
519
+ cursor: 'pointer'
520
+ },
521
+ onClick: _this4.add
522
+ }), tabs.length > 1 && index > 0 && (/*#__PURE__*/React$1.createElement(MyIcon, {
523
+ value: 'DeleteOutlined',
524
+ style: {
525
+ display: 'block',
526
+ marginLeft: 16,
527
+ cursor: 'pointer'
528
+ },
529
+ onClick: _this4.handleDelete(tab)
530
+ })));
531
+ }), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
532
+ span: 8
533
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
534
+ label: "\u603B\u4EA7\u7A0B",
535
+ name: "totalstage",
536
+ labelCol: {
537
+ span: 12
538
+ },
539
+ wrapperCol: {
540
+ span: 12
541
+ }
542
+ }, this.renderFieldItem({
543
+ inputType: 'multiple_input_with_label',
544
+ inputProps: {
545
+ config: {
546
+ special_config: JSON.stringify({
547
+ type: 'number',
548
+ options: [{
549
+ labelBefore: '',
550
+ labelAfter: '时'
551
+ }, {
552
+ labelBefore: '',
553
+ labelAfter: '分'
554
+ }]
555
+ })
556
+ }
557
+ }
558
+ }))))), /*#__PURE__*/React$1.createElement("div", {
559
+ className: "base-edit-panel-form_section border",
560
+ style: {
561
+ margin: '16px -16px'
562
+ }
563
+ }, /*#__PURE__*/React$1.createElement("span", {
564
+ className: "base-edit-panel-form_section_title"
565
+ }, "\u80CE\u513F\u76F8\u5173"), /*#__PURE__*/React$1.createElement("div", {
566
+ style: {
567
+ position: 'relative'
568
+ }
569
+ }, /*#__PURE__*/React$1.createElement("div", {
570
+ id: "scroll-top"
571
+ }), /*#__PURE__*/React$1.createElement(Tabs, {
572
+ type: "editable-card",
573
+ onChange: this.onChange,
574
+ addIcon: /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(MyIcon, {
575
+ value: 'PlusOutlined'
576
+ }), "\u589E\u52A0", TITLE),
577
+ activeKey: activeKey,
578
+ onEdit: this.onEdit
579
+ }, map(tabs, function (tab, index) {
580
+ return /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
581
+ tab: tab.title,
582
+ key: tab.key,
583
+ forceRender: true,
584
+ closable: index === 0 ? false : true
585
+ }, /*#__PURE__*/React$1.createElement(AdmissionPanel, {
586
+ ref: function ref(_ref4) {
587
+ _this4.formRefs[index] = _ref4;
588
+ },
589
+ data: value && (value.length > 0 ? value[index] : tab.value) || tab.value
590
+ }));
591
+ })), /*#__PURE__*/React$1.createElement(Button, {
592
+ size: "large",
593
+ style: {
594
+ position: 'absolute',
595
+ bottom: '12px',
596
+ left: '50%',
597
+ transform: 'translateX(-50%)'
598
+ },
599
+ onClick: this.handleClick
600
+ }, "+ \u586B\u5199\u5176\u4ED6\u80CE\u513F\u4FE1\u606F"))));
283
601
  }
284
602
  }]);
285
603
  }(Component);
286
- export { CaesareanChildren as default };
287
- //# sourceMappingURL=.root82.js.map
604
+ export { NursingFetus as default };