@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,206 +1,1021 @@
1
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
1
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["className", "style", "labelBefore", "labelBeforeStyle", "labelAfterStyle", "labelAfter", "inputStyle", "value", "type", "maxValue", "minValue", "onChange"];
5
4
  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; }
6
5
  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; }
7
- import 'antd/es/input/style';
8
- import _Input from 'antd/es/input';
9
- import 'antd/es/input-number/style';
10
- import _InputNumber from 'antd/es/input-number';
11
- import { b as styleInject, _ as _extends } from './index.js';
12
- import _isNil from 'lodash/isNil';
13
- import _get from 'lodash/get';
14
- import { DatePicker_L } from '@lm_fe/components';
15
- import classnames from 'classnames';
16
- import dayjs from 'dayjs';
17
- import React, { useState, useEffect } from 'react';
18
- import '@lm_fe/env';
19
- import 'lodash/isFunction';
20
- import '@ant-design/icons';
21
- import 'antd/es/space/style';
22
- import 'antd/es/space';
23
- import 'lodash/set';
24
- import 'lodash/map';
25
- import 'lodash/indexOf';
26
- import 'lodash/compact';
6
+ import { MyIcon, Table_L } from '@lm_fe/components';
7
+ import { mchcEnv, mchcEvent } from '@lm_fe/env';
8
+ import { SMchc_Doctor } from '@lm_fe/service';
9
+ import { Space, Button, message } from 'antd';
10
+ import { get, throttle, orderBy, forEach, cloneDeep, set, size, map } from 'lodash';
11
+ import React, { useState, useRef, useCallback, useEffect } from 'react';
12
+ import { E as EditableCell } from './TableEditableCell.js';
13
+ import { a as styleInject } from './index.js';
14
+ import 'dayjs';
15
+ import './index2.js';
16
+ import '@lm_fe/provoke';
27
17
  import '@lm_fe/utils';
28
- import 'antd/es/checkbox/style';
29
- import 'antd/es/checkbox';
30
- import 'lodash/isString';
31
- import 'lodash/isNumber';
32
- import 'lodash/isBoolean';
33
- import 'antd/es/divider/style';
34
- import 'antd/es/divider';
35
- import 'antd/es/button/style';
36
- import 'antd/es/button';
37
- import 'lodash/isEmpty';
38
- import 'antd/es/switch/style';
39
- import 'antd/es/switch';
40
- import 'antd/es/form/style';
41
- import 'antd/es/form';
42
- import 'lodash/join';
43
- import 'lodash/isEqual';
44
- import 'lodash/isArray';
45
- import 'lodash/identity';
46
- import 'lodash/cloneDeep';
47
- import '@lm_fe/service';
48
- import 'lodash/isObject';
49
- import 'lodash/keys';
50
- import 'lodash/keyBy';
51
- import 'antd/es/tooltip/style';
52
- import 'antd/es/tooltip';
53
- import 'antd/es/spin/style';
54
- import 'antd/es/spin';
55
- import 'antd/es/message/style';
56
- import 'antd/es/message';
57
- import 'lodash/has';
58
- import 'antd/es/modal/style';
59
- import 'antd/es/modal';
60
- import 'lodash/size';
61
- import 'lodash/includes';
62
- import 'lodash/forEach';
63
- import 'lodash/filter';
64
- import 'react-to-print';
65
- import 'antd/es/row/style';
66
- import 'antd/es/row';
67
- import 'antd/es/col/style';
68
- import 'antd/es/col';
69
- import 'lodash/concat';
70
- import 'lodash/reduce';
71
- import 'lodash/debounce';
72
- import 'lodash/pickBy';
73
- import 'antd/es/auto-complete/style';
74
- import 'antd/es/auto-complete';
75
- import 'lodash/nth';
76
- import 'lodash/assign';
77
- import 'antd/es/popover/style';
78
- import 'antd/es/popover';
79
- import 'antd/es/menu/style';
80
- import 'antd/es/menu';
18
+ import 'classnames';
19
+ import 'reconnecting-websocket';
81
20
  import 'store';
82
- import 'antd/es/popconfirm/style';
83
- import 'antd/es/popconfirm';
84
- import 'antd/es/radio/style';
85
- import 'antd/es/radio';
86
- import 'lodash/last';
87
- import 'lodash/toUpper';
88
- var css_248z = ".input-with-label_input {\n width: auto !important;\n}\n";
89
- var styles = css_248z;
21
+ var 建瓯_config = {
22
+ "needNotThisTime": false,
23
+ "ignoreKeys": ["_children.childGender", "_children.childLiving", "_children.childDeathTime", "_children.childDeathNote", "_children.sequelaNote", "_children.neonateWeight"],
24
+ "tableColumns": [{
25
+ "key": "gravidityindex",
26
+ "title": "孕次",
27
+ "width": 30,
28
+ "editor": {
29
+ "input_type": "input"
30
+ }
31
+ }, {
32
+ "key": "year",
33
+ "title": "年-月",
34
+ "width": 50,
35
+ "editor": {
36
+ "input_type": "filterDateInput"
37
+ }
38
+ }, {
39
+ "key": "term",
40
+ "title": "足月产",
41
+ "width": 40,
42
+ "editor": {
43
+ "input_type": "checkbox",
44
+ "input_props": {
45
+ "type": "default"
46
+ }
47
+ }
48
+ }, {
49
+ "key": "preterm",
50
+ "title": "早产",
51
+ "width": 30,
52
+ "editor": {
53
+ "input_type": "checkbox",
54
+ "input_props": {
55
+ "type": "default"
56
+ }
57
+ }
58
+ }, {
59
+ "key": "inducedLabor",
60
+ "title": "引产",
61
+ "width": 30,
62
+ "editor": {
63
+ "input_type": "checkbox",
64
+ "input_props": {
65
+ "type": "default"
66
+ }
67
+ }
68
+ }, {
69
+ "key": "surgicalAbortion",
70
+ "title": "人工",
71
+ "width": 30,
72
+ "editor": {
73
+ "input_type": "checkbox",
74
+ "input_props": {
75
+ "type": "default"
76
+ }
77
+ }
78
+ }, {
79
+ "key": "medicalAbortion",
80
+ "title": "药流",
81
+ "width": 30,
82
+ "editor": {
83
+ "input_type": "checkbox",
84
+ "input_props": {
85
+ "type": "default"
86
+ }
87
+ }
88
+ }, {
89
+ "key": "naturalAbortion",
90
+ "title": "自然流产",
91
+ "width": 30,
92
+ "editor": {
93
+ "input_type": "checkbox",
94
+ "input_props": {
95
+ "type": "default"
96
+ }
97
+ }
98
+ }, {
99
+ "key": "ectopicPregnancy",
100
+ "title": "异位妊娠",
101
+ "width": 30,
102
+ "editor": {
103
+ "input_type": "checkbox",
104
+ "input_props": {
105
+ "type": "default"
106
+ }
107
+ }
108
+ }, {
109
+ "key": "hydatidMole",
110
+ "title": "葡萄胎",
111
+ "width": 30,
112
+ "editor": {
113
+ "input_type": "checkbox",
114
+ "input_props": {
115
+ "type": "default"
116
+ }
117
+ }
118
+ }, {
119
+ "key": "fetusdeath",
120
+ "title": "死胎",
121
+ "width": 30,
122
+ "editor": {
123
+ "input_type": "checkbox",
124
+ "input_props": {
125
+ "type": "default"
126
+ }
127
+ }
128
+ }, {
129
+ "key": "stillbirth",
130
+ "title": "死产",
131
+ "width": 30,
132
+ "editor": {
133
+ "input_type": "checkbox",
134
+ "input_props": {
135
+ "type": "default"
136
+ }
137
+ }
138
+ }, {
139
+ "key": "neonateDeath",
140
+ "title": "新生儿死亡",
141
+ "width": 30,
142
+ "editor": {
143
+ "input_type": "checkbox",
144
+ "input_props": {
145
+ "type": "default"
146
+ }
147
+ }
148
+ }, {
149
+ "title": "小孩情况",
150
+ "children": [{
151
+ "key": "children.childGender",
152
+ "title": "性别",
153
+ "width": 30,
154
+ "editor": {
155
+ "input_type": "MS",
156
+ "input_props": {
157
+ uniqueKey: '性别3'
158
+ // "options": [{ "label": "男", "value": 1 }, { "label": "女", "value": 2 }, { "label": "未知", "value": 3 }]
159
+ }
160
+ }
161
+ }, {
162
+ "key": "children.childLiving",
163
+ "title": "生存",
164
+ "width": 30,
165
+ "editor": {
166
+ "input_type": "MS",
167
+ "input_props": {
168
+ "options": [{
169
+ "label": "健在",
170
+ "value": true
171
+ }, {
172
+ "label": "死亡",
173
+ "value": false
174
+ }]
175
+ }
176
+ }
177
+ }, {
178
+ "key": "children.childDeformity",
179
+ "title": "畸形",
180
+ "width": 30,
181
+ "editor": {
182
+ "input_type": "MS",
183
+ "input_props": {
184
+ "options": [{
185
+ "label": "是",
186
+ "value": "是"
187
+ }, {
188
+ "label": "否",
189
+ "value": "否"
190
+ }]
191
+ }
192
+ }
193
+ }
194
+ // {
195
+ // "key": "children.childGender", "title": "性别", "width": 30,
196
+ // "editor": {
197
+ // "input_type": "MS", "input_props": {
198
+ // "options": [
199
+ // { "label": "男", "value": 1 }, { "label": "女", "value": 2 }, { "label": "未知", "value": 3 }]
200
+ // }
201
+ // }
202
+ // },
203
+ ]
204
+ }, {
205
+ "title": "分娩方式",
206
+ "children": [{
207
+ "key": "vaginalDelivery",
208
+ "title": "顺产",
209
+ "width": 30,
210
+ "editor": {
211
+ "input_type": "checkbox",
212
+ "input_props": {
213
+ "type": "default"
214
+ }
215
+ }
216
+ }, {
217
+ "key": "operationType",
218
+ "title": "手术产式",
219
+ "width": 50,
220
+ "editor": {
221
+ "input_type": "MS",
222
+ "input_props": {
223
+ "options": [{
224
+ "label": " ",
225
+ "value": " "
226
+ }, {
227
+ "label": "剖宫产",
228
+ "value": "cesareanSection"
229
+ }, {
230
+ "label": "吸引产",
231
+ "value": "vacuumAssisted"
232
+ }, {
233
+ "label": "钳产",
234
+ "value": "forceps"
235
+ }, {
236
+ "label": "臀助产",
237
+ "value": "breechMidwifery"
238
+ }]
239
+ }
240
+ }
241
+ }]
242
+ }, {
243
+ "key": "hemorrhage",
244
+ "title": "产后出血",
245
+ "width": 30,
246
+ "editor": {
247
+ "input_type": "checkbox",
248
+ "input_props": {
249
+ "type": "default"
250
+ }
251
+ }
252
+ }, {
253
+ "key": "exceptionalcase",
254
+ "title": "其他",
255
+ "width": 200,
256
+ "editor": {
257
+ "input_type": "MA",
258
+ "input_props": {
259
+ memorieskey: '孕产史-特殊情况'
260
+ }
261
+ }
262
+ }]
263
+ };
264
+ function getConfig() {
265
+ if (mchcEnv.is('建瓯')) {
266
+ return 建瓯_config;
267
+ }
268
+ return {
269
+ "pregnancyId": 0,
270
+ "needNotThisTime": false,
271
+ "ignoreKeys": ["_children.childGender", "_children.childLiving", "_children.childDeathTime", "_children.childDeathNote", "_children.sequelaNote", "_children.neonateWeight"],
272
+ "tableColumns": [{
273
+ "key": "gravidityindex",
274
+ "title": "孕次",
275
+ "width": 30,
276
+ "editor": {
277
+ "input_type": "input"
278
+ }
279
+ }, {
280
+ "key": "year",
281
+ "title": "年-月",
282
+ "width": 70,
283
+ "editor": {
284
+ "input_type": "filterDateInput"
285
+ }
286
+ }, {
287
+ "title": "流产",
288
+ "children": [{
289
+ "key": "naturalAbortion",
290
+ "title": "自然",
291
+ "width": 30,
292
+ "editor": {
293
+ "input_type": "checkbox",
294
+ "input_props": {
295
+ "type": "default"
296
+ }
297
+ }
298
+ }, {
299
+ "key": "medicalAbortion",
300
+ "title": "药物",
301
+ "width": 30,
302
+ "editor": {
303
+ "input_type": "checkbox",
304
+ "input_props": {
305
+ "type": "default"
306
+ }
307
+ }
308
+ }, {
309
+ "key": "surgicalAbortion",
310
+ "title": "人工",
311
+ "width": 30,
312
+ "editor": {
313
+ "input_type": "checkbox",
314
+ "input_props": {
315
+ "type": "default"
316
+ }
317
+ }
318
+ }, {
319
+ "key": "currettage",
320
+ "title": "清宫",
321
+ "width": 30,
322
+ "editor": {
323
+ "input_type": "checkbox",
324
+ "input_props": {
325
+ "type": "default"
326
+ }
327
+ }
328
+ }]
329
+ }, {
330
+ "key": "biochemicalAbortion",
331
+ "title": "生化妊娠",
332
+ "width": 30,
333
+ "editor": {
334
+ "input_type": "checkbox",
335
+ "input_props": {
336
+ "type": "default"
337
+ }
338
+ }
339
+ }, {
340
+ "key": "inducedLabor",
341
+ "title": "引产",
342
+ "width": 30,
343
+ "editor": {
344
+ "input_type": "checkbox",
345
+ "input_props": {
346
+ "type": "default"
347
+ }
348
+ }
349
+ }, {
350
+ "key": "fetusdeath",
351
+ "title": "死胎",
352
+ "width": 30,
353
+ "editor": {
354
+ "input_type": "checkbox",
355
+ "input_props": {
356
+ "type": "default"
357
+ }
358
+ }
359
+ }, {
360
+ "key": "preterm",
361
+ "title": "早产",
362
+ "width": 30,
363
+ "editor": {
364
+ "input_type": "checkbox",
365
+ "input_props": {
366
+ "type": "default"
367
+ }
368
+ }
369
+ }, {
370
+ "key": "term",
371
+ "title": "足月产",
372
+ "width": 40,
373
+ "editor": {
374
+ "input_type": "checkbox",
375
+ "input_props": {
376
+ "type": "default"
377
+ }
378
+ }
379
+ }, {
380
+ "key": "gestationalWeek",
381
+ "title": "孕周",
382
+ "width": 40,
383
+ "editor": {
384
+ "input_type": "input"
385
+ }
386
+ }, {
387
+ "title": "分娩方式",
388
+ "children": [{
389
+ "key": "vaginalDelivery",
390
+ "title": "顺产",
391
+ "width": 30,
392
+ "editor": {
393
+ "input_type": "checkbox",
394
+ "input_props": {
395
+ "type": "default"
396
+ }
397
+ }
398
+ }, {
399
+ "key": "operationType",
400
+ "title": "手术产式",
401
+ "width": 50,
402
+ "editor": {
403
+ "input_type": "MS",
404
+ "input_props": {
405
+ "options": [{
406
+ "label": " ",
407
+ "value": " "
408
+ }, {
409
+ "label": "剖宫产",
410
+ "value": "cesareanSection"
411
+ }, {
412
+ "label": "吸引产",
413
+ "value": "vacuumAssisted"
414
+ }, {
415
+ "label": "钳产",
416
+ "value": "forceps"
417
+ }, {
418
+ "label": "臀助产",
419
+ "value": "breechMidwifery"
420
+ }]
421
+ }
422
+ }
423
+ }]
424
+ }, {
425
+ "title": "产后情况",
426
+ "children": [{
427
+ "key": "hemorrhage",
428
+ "title": "出血",
429
+ "width": 30,
430
+ "editor": {
431
+ "input_type": "checkbox",
432
+ "input_props": {
433
+ "type": "default"
434
+ }
435
+ }
436
+ }, {
437
+ "key": "puerperalFever",
438
+ "title": "产褥热",
439
+ "width": 40,
440
+ "editor": {
441
+ "input_type": "checkbox",
442
+ "input_props": {
443
+ "type": "default"
444
+ }
445
+ }
446
+ }]
447
+ }, {
448
+ "key": "fetalcount",
449
+ "title": "胎数",
450
+ "width": 35,
451
+ "editor": {
452
+ "input_type": "input",
453
+ "input_props": {
454
+ "type": "number"
455
+ },
456
+ "controls": false
457
+ }
458
+ }, {
459
+ "title": "小孩情况",
460
+ "children": [{
461
+ "key": "children.childGender",
462
+ "title": "性别",
463
+ "width": 30,
464
+ "editor": {
465
+ "input_type": "MS",
466
+ "input_props": {
467
+ uniqueKey: '性别3'
468
+ // "options": [{ "label": "男", "value": 1 }, { "label": "女", "value": 2 }, { "label": "未知", "value": 3 }]
469
+ }
470
+ }
471
+ }, {
472
+ "key": "children.neonateWeight",
473
+ "title": mchcEnv["in"](['广三']) ? "出生体重(g)" : "出生体重(kg)",
474
+ "width": 60,
475
+ "editor": {
476
+ "input_type": "input",
477
+ "input_props": {
478
+ "type": "number"
479
+ },
480
+ "controls": false
481
+ }
482
+ }, {
483
+ "key": "children.childLiving",
484
+ "title": "生存",
485
+ "width": 30,
486
+ "editor": {
487
+ "input_type": "MS",
488
+ "input_props": {
489
+ "options": [{
490
+ "label": "健在",
491
+ "value": true
492
+ }, {
493
+ "label": "死亡",
494
+ "value": false
495
+ }]
496
+ }
497
+ }
498
+ }, {
499
+ "key": "children.childDeathTime",
500
+ "width": 100,
501
+ "title": "死亡时间",
502
+ "editor": {
503
+ "input_type": "filterDateInput"
504
+ }
505
+ }, {
506
+ "key": "children.childDeathNote",
507
+ "width": 100,
508
+ "title": "死亡原因",
509
+ "editor": {
510
+ "input_type": "input"
511
+ }
512
+ }, {
513
+ "key": "children.sequelaNote",
514
+ "title": "后遗症",
515
+ "width": 30,
516
+ "editor": {
517
+ "input_type": "input"
518
+ }
519
+ }]
520
+ }, {
521
+ "key": "hospital",
522
+ "title": "分娩医院",
523
+ "width": 80,
524
+ "editor": {
525
+ "input_type": "input"
526
+ }
527
+ }, {
528
+ "key": "exceptionalcase",
529
+ "title": "特殊情况",
530
+ "width": 200,
531
+ "editor": {
532
+ "input_type": "MA",
533
+ "input_props": {
534
+ memorieskey: '孕产史-特殊情况'
535
+ }
536
+ }
537
+ }]
538
+ };
539
+ }
540
+ var css_248z = ".preg-his-table .btns-wrapper {\n margin-bottom: 8px;\n}\n.preg-his-table .btns-wrapper .ant-btn {\n margin-right: 12px;\n}\n.preg-his-table .ant-table .ant-table-thead th {\n color: #150f55;\n}\n.preg-his-table .ant-table .ant-table-tbody > tr.ant-table-row:hover > td {\n background: #e6f6ff !important;\n}\n.preg-his-table .ant-table .row-select {\n background: #e6f6ff !important;\n}\n.preg-his-table .ant-table .ant-table-cell {\n height: 40px;\n text-align: center;\n word-break: keep-all;\n padding: 4px;\n}\n";
90
541
  styleInject(css_248z);
91
542
 
92
- // 通用的单个输入框
93
- function InputWithLabel(props) {
94
- var _props$className = props.className,
95
- className = _props$className === void 0 ? '' : _props$className,
96
- _props$style = props.style,
97
- style = _props$style === void 0 ? {} : _props$style,
98
- labelBefore = props.labelBefore,
99
- labelBeforeStyle = props.labelBeforeStyle,
100
- labelAfterStyle = props.labelAfterStyle,
101
- labelAfter = props.labelAfter,
102
- inputStyle = props.inputStyle,
103
- value = props.value,
104
- type = props.type,
105
- maxValue = props.maxValue,
106
- minValue = props.minValue,
543
+ // 手术产式
544
+ var operationTypes = ['cesareanSection', 'vacuumAssisted', 'forceps', 'breechMidwifery'];
545
+ var addData = {
546
+ _key: 'benyun',
547
+ fetalcount: null
548
+ };
549
+ function getPropsValue(k, a, b) {
550
+ var _ref, _get, _a$config;
551
+ return (_ref = (_get = get(a, k)) !== null && _get !== void 0 ? _get : get(a === null || a === void 0 || (_a$config = a.config) === null || _a$config === void 0 ? void 0 : _a$config.input_props, k)) !== null && _ref !== void 0 ? _ref : get(b, k);
552
+ }
553
+ function MyForm_Business_PregnancyHistory(props) {
554
+ var _getPropsValue, _getPropsValue2;
555
+ var __config = getConfig();
556
+ var _window$BF_Wrap = window.BF_Wrap2({
557
+ default_conf: {
558
+ title: "\u7EC4\u4EF6-\u5B55\u4EA7\u53F2",
559
+ tableColumns: [__config]
560
+ }
561
+ }),
562
+ Wrap = _window$BF_Wrap.Wrap,
563
+ config = _window$BF_Wrap.config;
564
+ var conf = get(config, 'tableColumns', [])[0];
565
+ console.log('conf', {
566
+ conf: conf,
567
+ config: config
568
+ });
569
+ var value = props.value,
107
570
  onChange = props.onChange,
108
- others = _objectWithoutProperties(props, _excluded);
109
- var _useState = useState(),
571
+ dispatch = props.dispatch,
572
+ disabled = props.disabled;
573
+ var __ignoreKeys = (_getPropsValue = getPropsValue('ignoreKeys', conf, __config)) !== null && _getPropsValue !== void 0 ? _getPropsValue : [];
574
+ var __tableColumns = (_getPropsValue2 = getPropsValue('tableColumns', conf, __config)) !== null && _getPropsValue2 !== void 0 ? _getPropsValue2 : [];
575
+ var __needNotThisTime = getPropsValue('needNotThisTime', conf, __config);
576
+ var __closeAdd = getPropsValue('closeAdd', conf, __config);
577
+ var __pregnancyId = getPropsValue('pregnancyId', conf, __config);
578
+ var ignoreKeys = __ignoreKeys.map(function (_) {
579
+ return _.startsWith('children') ? _.replace('children', '_children') : _;
580
+ });
581
+ var _useState = useState([]),
110
582
  _useState2 = _slicedToArray(_useState, 2),
111
- data = _useState2[0],
112
- setData = _useState2[1];
113
- var _useState3 = useState(inputStyle),
583
+ tableColumns = _useState2[0],
584
+ set_tableColumns = _useState2[1];
585
+ var _useState3 = useState(0),
114
586
  _useState4 = _slicedToArray(_useState3, 2),
115
- newStyle = _useState4[0],
116
- setNewStyle = _useState4[1];
587
+ tableColumnsLength = _useState4[0],
588
+ set_tableColumnsLength = _useState4[1];
589
+ var _useState5 = useState([]),
590
+ _useState6 = _slicedToArray(_useState5, 2),
591
+ dataSource = _useState6[0],
592
+ set_dataSource = _useState6[1];
593
+ var _useState7 = useState([]),
594
+ _useState8 = _slicedToArray(_useState7, 2),
595
+ selectedRowKeys = _useState8[0],
596
+ set_selectedRowKeys = _useState8[1];
597
+ var _useState9 = useState(),
598
+ _useState10 = _slicedToArray(_useState9, 2),
599
+ g = _useState10[0],
600
+ setG = _useState10[1];
601
+ var _useState11 = useState(),
602
+ _useState12 = _slicedToArray(_useState11, 2),
603
+ p = _useState12[0],
604
+ setP = _useState12[1];
605
+ var pregnancyId = useRef();
606
+ pregnancyId.current = __pregnancyId;
607
+ var fetchPG = useCallback(throttle(function fetchPG() {
608
+ var id = pregnancyId.current;
609
+ id && SMchc_Doctor.getOutpatientHeaderInfo(id).then(function (r) {
610
+ setG(r.g);
611
+ setP(r.p);
612
+ });
613
+ }, 2000), []);
117
614
  useEffect(function () {
118
- if (type === 'number' && !_isNil(maxValue) && value > maxValue) {
119
- setNewStyle(_objectSpread(_objectSpread({}, newStyle), {}, {
120
- color: 'red'
121
- }));
122
- } else if (type === 'number' && !_isNil(minValue) && value < minValue) {
123
- setNewStyle(_objectSpread(_objectSpread({}, newStyle), {}, {
124
- color: 'red'
125
- }));
126
- } else {
127
- setNewStyle(_objectSpread(_objectSpread({}, newStyle), {}, {
128
- color: '#333'
129
- }));
130
- }
131
- if (props.type === 'single_date_picker') {
132
- value && setData(dayjs(value));
133
- } else if (value === 0) {
134
- setData(String(value));
135
- } else {
136
- value && setData(String(value));
137
- }
138
- }, [props.value]);
139
- var handleChange = function handleChange(type) {
140
- return function (e) {
141
- var tempData = '';
142
- if (type === 'string') {
143
- tempData = _get(e, 'target.value');
144
- } else if (type === 'number') {
145
- tempData = e;
146
- if (type === 'number' && !_isNil(maxValue) && e > maxValue) {
147
- setNewStyle(_objectSpread(_objectSpread({}, newStyle), {}, {
148
- color: 'red'
149
- }));
150
- } else if (type === 'number' && !_isNil(minValue) && e < minValue) {
151
- setNewStyle(_objectSpread(_objectSpread({}, newStyle), {}, {
152
- color: 'red'
153
- }));
615
+ fetchPG();
616
+ var rm = mchcEvent.on_rm('outpatient', function (e) {
617
+ if (e.type === '刷新头部') {
618
+ fetchPG();
619
+ }
620
+ });
621
+ return rm;
622
+ }, []);
623
+ useEffect(function () {
624
+ var safeValue = value !== null && value !== void 0 ? value : [];
625
+ var _value = orderBy(safeValue, ['gravidityindex'], ['asc']);
626
+ var d = splitData(_value);
627
+ set_dataSource(d !== null && d !== void 0 ? d : []);
628
+ set_selectedRowKeys([]);
629
+ console.log('value', _value, d);
630
+ return function () {};
631
+ }, [value]);
632
+ useEffect(function () {
633
+ /*计算本孕一行占据的宽度*/
634
+ var length = 0;
635
+ forEach(__tableColumns, function (item) {
636
+ if (item.children) {
637
+ length += get(item, 'children.length');
638
+ item.children = item.children.map(function (c) {
639
+ var _c$key;
640
+ return _objectSpread(_objectSpread({}, c), {}, {
641
+ key: (_c$key = c.key) !== null && _c$key !== void 0 && _c$key.startsWith('children') ? c.key.replace('children', '_children') : c.key
642
+ });
643
+ });
644
+ } else {
645
+ length++;
646
+ }
647
+ });
648
+ set_tableColumns(__tableColumns);
649
+ set_tableColumnsLength(length - 1);
650
+ return function () {};
651
+ }, [config]);
652
+ function _onChange(data) {
653
+ console.log('_onChange', data);
654
+ onChange(JSON.parse(JSON.stringify(data)));
655
+ }
656
+ function splitData(data) {
657
+ var cloneData = cloneDeep(data);
658
+ var splitArr = [];
659
+ if (cloneData) {
660
+ var count = 0;
661
+ cloneData.forEach(function (item, index) {
662
+ var _get2;
663
+ var len = (_get2 = get(item, 'children.length')) !== null && _get2 !== void 0 ? _get2 : 0;
664
+ if (len > 0) {
665
+ forEach(item.children, function (subItem) {
666
+ var newItem = cloneDeep(item);
667
+ newItem.mergeIndex = index;
668
+ newItem._children = subItem;
669
+ newItem._key = count;
670
+ splitArr.push(newItem);
671
+ count++;
672
+ });
154
673
  } else {
155
- setNewStyle(_objectSpread(_objectSpread({}, newStyle), {}, {
156
- color: '#333'
157
- }));
674
+ item.mergeIndex = index;
675
+ item._children = {};
676
+ item._key = count;
677
+ splitArr.push(item);
678
+ count++;
679
+ }
680
+ });
681
+ }
682
+ forEach(splitArr, function (item) {
683
+ forEach(operationTypes, function (type) {
684
+ if (get(item, type) === true) {
685
+ set(item, 'operationType', type);
158
686
  }
159
- } else if (type === 'single_date_picker') {
160
- tempData = e;
687
+ });
688
+ });
689
+ /* 加入本孕信息 */
690
+ if (!__needNotThisTime) {
691
+ var newAddData = cloneDeep(addData);
692
+ newAddData.gravidityindex = data.length + 1;
693
+ splitArr.push(newAddData);
694
+ }
695
+ return splitArr;
696
+ }
697
+ // onChange 之前
698
+ function mergeData(data) {
699
+ /* 删去最后一条本孕信息 */
700
+ if (!__needNotThisTime) {
701
+ data.splice(data.length - 1, 1);
702
+ }
703
+ var mergeArr = [];
704
+ var sameIndex = -1;
705
+ for (var i = 0; i < data.length; i++) {
706
+ if (data[i].mergeIndex !== sameIndex) {
707
+ var _child$mergeIndex;
708
+ var child = cloneDeep(data[i]);
709
+ sameIndex = (_child$mergeIndex = child.mergeIndex) !== null && _child$mergeIndex !== void 0 ? _child$mergeIndex : -1;
710
+ var childArr = child._children ? [child._children] : [];
711
+ mergeArr.push(child);
712
+ mergeArr[mergeArr.length - 1].children = childArr;
713
+ } else {
714
+ var _mergeArr;
715
+ var c = data[i]._children;
716
+ c && ((_mergeArr = mergeArr[mergeArr.length - 1]) === null || _mergeArr === void 0 || (_mergeArr = _mergeArr.children) === null || _mergeArr === void 0 ? void 0 : _mergeArr.push(c));
161
717
  }
162
- setData(tempData);
163
- onChange && onChange(tempData);
164
- };
165
- };
166
- return /*#__PURE__*/React.createElement("div", {
167
- className: classnames(styles['input-with-label'], className),
168
- style: _objectSpread({
718
+ }
719
+ map(mergeArr, function (item) {
720
+ var _get3, _item$children;
721
+ var len = (_get3 = get(item, 'children.length')) !== null && _get3 !== void 0 ? _get3 : 0;
722
+ /* 未分娩胎数为零 */
723
+ if (len === 1 && size((_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children[0]) === 0) {
724
+ item.children = [];
725
+ item.fetalcount = undefined;
726
+ }
727
+ if (len > 0) {
728
+ item.fetalcount = len;
729
+ }
730
+ });
731
+ return mergeArr;
732
+ }
733
+ function handleEdit(val, key, index) {
734
+ var newValue = cloneDeep(dataSource);
735
+ var fetelData = newValue[index];
736
+ /*互斥项提示
737
+ 流产
738
+ naturalAbortion -自然
739
+ medicalAbortion -药物流产
740
+ surgicalAbortion - 手术流产
741
+ currettage - 清宫
742
+ biochemicalAbortion - 生化妊娠
743
+ inducedLabor -- 引产
744
+ 产出
745
+ preterm -- 早产
746
+ term -- 足月产
747
+ vaginalDelivery -- 顺产
748
+ cesareanSection -- 剖宫产
749
+ vacuumAssisted -- 吸引产
750
+ forceps -- 钳产
751
+ breechMidwifery -- 臀助产
752
+ */
753
+ var threeCount = 0;
754
+ var fourCount = 0;
755
+ if (fetelData.naturalAbortion === true) threeCount++;
756
+ if (fetelData.surgicalAbortion === true) threeCount++;
757
+ if (fetelData.inducedLabor === true) threeCount++;
758
+ if (fetelData.medicalAbortion === true) threeCount++;
759
+ if (fetelData.currettage === true) threeCount++;
760
+ if (fetelData.biochemicalAbortion === true) threeCount++;
761
+ if (fetelData.preterm === true) fourCount++;
762
+ if (fetelData.term === true) fourCount++;
763
+ if (fetelData.vaginalDelivery === true) fourCount++;
764
+ if (!!fetelData.shouShuChanType) fourCount++;
765
+ if (fetelData.cesareanSection === true) fourCount++;
766
+ if (fetelData.vacuumAssisted === true) fourCount++;
767
+ if (fetelData.forceps === true) fourCount++;
768
+ if (fetelData.breechMidwifery === true) fourCount++;
769
+ if (key === 'naturalAbortion' && val === true && fourCount > 0 || key === 'surgicalAbortion' && val === true && fourCount > 0 || key === 'inducedLabor' && val === true && fourCount > 0 || key === 'medicalAbortion' && val === true && fourCount > 0 || key === 'currettage' && val === true && fourCount > 0 || key === 'biochemicalAbortion' && val === true && fourCount > 0) {
770
+ message.error('早产、足月产、顺产、手术产式中已有数据!', 4);
771
+ }
772
+ if (key === 'preterm' && val === true && threeCount > 0 || key === 'term' && val === true && threeCount > 0 || key === 'vaginalDelivery' && val === true && threeCount > 0 || key === 'shouShuChanType' && val && threeCount > 0 || key === 'operationType' && val && threeCount > 0) {
773
+ message.error('自然流产、人工流产、引产中已有数据!', 4);
774
+ }
775
+ if (key === 'naturalAbortion' && val === true && (fetelData.surgicalAbortion === true || fetelData.inducedLabor === true)) {
776
+ message.error('人工流产、引产中已有数据!', 4);
777
+ }
778
+ if (key === 'surgicalAbortion' && val === true && (fetelData.naturalAbortion === true || fetelData.inducedLabor === true)) {
779
+ message.error('自然流产、引产中已有数据!', 4);
780
+ }
781
+ if (key === 'inducedLabor' && val === true && (fetelData.naturalAbortion === true || fetelData.surgicalAbortion === true)) {
782
+ message.error('自然流产、人工流产中已有数据!', 4);
783
+ }
784
+ if (key === 'preterm' && val === true && fetelData.term === true) {
785
+ message.error('足月产已有数据!', 4);
786
+ }
787
+ if (key === 'term' && val === true && fetelData.preterm === true) {
788
+ message.error('早产已有数据!', 4);
789
+ }
790
+ if (key === 'vaginalDelivery' && val === true && fetelData.shouShuChanType) {
791
+ message.error('手术产式已有数据!', 4);
792
+ }
793
+ if (key === 'shouShuChanType' && val && fetelData.vaginalDelivery === true) {
794
+ message.error('顺产已有数据!', 4);
795
+ }
796
+ /*手术产式 值转换*/
797
+ if (key === 'operationType') {
798
+ forEach(operationTypes, function (type) {
799
+ if (type === val) {
800
+ set(fetelData, type, true);
801
+ } else {
802
+ set(fetelData, type, false);
803
+ }
804
+ });
805
+ }
806
+ /*胎数变化*/
807
+ if (key === 'fetalcount') {
808
+ var samePreg = newValue.filter(function (item) {
809
+ return item.mergeIndex === fetelData.mergeIndex;
810
+ });
811
+ var sameCount = samePreg.length;
812
+ console.log('xx --', val, sameCount, samePreg);
813
+ if (!val || val === 0) {
814
+ return;
815
+ } else if (val < 0 || val > 18) {
816
+ message.warning('胎数范围为0到18!');
817
+ } else if (val > sameCount) {
818
+ console.log('xx', val, sameCount, samePreg);
819
+ for (var i = 0; i < val - sameCount; i++) {
820
+ var newFetus = cloneDeep(samePreg[0]);
821
+ newFetus._children = {};
822
+ newValue.splice(index + sameCount + i, 0, newFetus);
823
+ }
824
+ } else if (val < sameCount) {
825
+ console.log('xx 11', val, sameCount, samePreg);
826
+ newValue.splice(index + val, sameCount - val);
827
+ }
828
+ } else {
829
+ set(fetelData, key, val);
830
+ }
831
+ if (dispatch) dispatch('tableEdit', fetelData);
832
+ var d = mergeData(newValue);
833
+ console.log('handleEdit', arguments, d);
834
+ _onChange(d);
835
+ }
836
+ function handleAdd() {
837
+ var newData = {};
838
+ forEach(tableColumns, function (item) {
839
+ if (item.children) {
840
+ var child = item.children;
841
+ forEach(child, function (subItem) {
842
+ if (subItem.key.indexOf('.') === -1) {
843
+ newData[subItem.key] = '';
844
+ } else {
845
+ newData._children = {};
846
+ newData.children = [];
847
+ }
848
+ });
849
+ } else {
850
+ newData[item.key] = '';
851
+ }
852
+ });
853
+ console.log('newData', newData);
854
+ _onChange(mergeData([].concat(_toConsumableArray(dataSource), [newData])));
855
+ }
856
+ function handleDelete() {
857
+ var newDataSource = cloneDeep(dataSource);
858
+ console.log('handleDelete', selectedRowKeys, dataSource);
859
+ forEach(selectedRowKeys, function (key) {
860
+ for (var i = 0; i < newDataSource.length; i++) {
861
+ if (key === newDataSource[i]._key) {
862
+ newDataSource.splice(i, 1);
863
+ break;
864
+ }
865
+ }
866
+ });
867
+ forEach(newDataSource, function (item, index) {
868
+ newDataSource[index].gravidityindex = index + 1;
869
+ });
870
+ _onChange(mergeData(newDataSource));
871
+ }
872
+ // handleRowSelectChange = (selectedRowKeys: Array<number | string>, selectedRows: any[]): void => {
873
+ // setState({ selectedRowKeys });
874
+ // };
875
+ function handleRowClick(row, index) {
876
+ var newValue = cloneDeep(dataSource);
877
+ forEach(newValue, function (item) {
878
+ return item.rowClassName = '';
879
+ });
880
+ set(newValue[index], 'rowClassName', 'row-select');
881
+ set_selectedRowKeys([index]);
882
+ set_dataSource(newValue);
883
+ }
884
+ function _rowClassName(row) {
885
+ return row.rowClassName;
886
+ }
887
+ function getRowSpans(arr, key) {
888
+ var sameValueLength = 0;
889
+ var rowSpans = [];
890
+ for (var i = arr.length - 1; i >= 0; i--) {
891
+ if (i === 0) {
892
+ rowSpans[i] = sameValueLength + 1;
893
+ continue;
894
+ }
895
+ if (arr[i][key] === arr[i - 1][key]) {
896
+ rowSpans[i] = 0;
897
+ sameValueLength++;
898
+ } else {
899
+ rowSpans[i] = sameValueLength + 1;
900
+ sameValueLength = 0;
901
+ }
902
+ }
903
+ return rowSpans;
904
+ }
905
+ // 对于二级表单的处理
906
+ function handleTabColumnsFormat(tableColumns) {
907
+ var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
908
+ var rowSpans = getRowSpans(dataSource, 'mergeIndex');
909
+ var newColums = tableColumns.map(function (col, colIndx) {
910
+ if (col.key) {
911
+ return _objectSpread(_objectSpread({}, col), {}, {
912
+ dataIndex: col.key,
913
+ render: function render(text, record, index) {
914
+ if (index === dataSource.length - 1 && !__needNotThisTime) {
915
+ return {
916
+ children: (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, colIndx === 1 ? '本孕' : text))),
917
+ props: {
918
+ colSpan: colIndx === 1 && level === 1 ? tableColumnsLength : text ? 1 : 0
919
+ }
920
+ };
921
+ } else {
922
+ return {
923
+ children: (/*#__PURE__*/React.createElement(EditableCell, {
924
+ disabled: disabled,
925
+ value: get(record, col.key),
926
+ onChange: function onChange(val) {
927
+ return handleEdit(val, col.key, index);
928
+ },
929
+ editor: col.editor
930
+ })),
931
+ props: {
932
+ rowSpan: ignoreKeys.includes(col.key) ? 1 : rowSpans[index]
933
+ }
934
+ };
935
+ }
936
+ }
937
+ });
938
+ }
939
+ if (col.children) {
940
+ return {
941
+ title: col.title,
942
+ children: handleTabColumnsFormat(col.children, 2)
943
+ };
944
+ }
945
+ return {};
946
+ });
947
+ return newColums;
948
+ }
949
+ var cloneColumns = cloneDeep(tableColumns);
950
+ if (size(tableColumns) > 0) cloneColumns = handleTabColumnsFormat(tableColumns);
951
+ // const rowSelection = {
952
+ // selectedRowKeys: state.selectedRowKeys,
953
+ // onChange: handleRowSelectChange,
954
+ // };
955
+ return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement("div", {
956
+ className: "preg-his-table"
957
+ }, __closeAdd ? '' : (/*#__PURE__*/React.createElement("div", {
958
+ style: {
959
+ marginBottom: 8,
169
960
  display: 'flex',
961
+ justifyContent: 'space-between',
170
962
  alignItems: 'center'
171
- }, style)
172
- }, labelBefore && /*#__PURE__*/React.createElement("span", {
173
- style: _objectSpread({
174
- display: 'inline-block',
175
- marginLeft: 4,
176
- marginRight: 4,
177
- wordBreak: 'keep-all'
178
- }, _get(props, 'labelBeforeStyle'))
179
- }, labelBefore), _get(props, 'type') === 'number' ? /*#__PURE__*/React.createElement(_InputNumber, _extends({}, others, {
180
- className: styles["input-with-label_input"],
181
- style: newStyle,
182
- value: data,
183
- onChange: handleChange('number')
184
- })) : type === 'single_date_picker' ? /*#__PURE__*/React.createElement(DatePicker_L, {
185
- className: styles["input-with-label_input"],
186
- style: inputStyle,
187
- onChange: handleChange('number'),
188
- value: data
189
- }) : /*#__PURE__*/React.createElement(_Input, _extends({}, others, {
190
- title: data,
191
- className: styles["input-with-label_input"],
192
- style: inputStyle,
193
- value: data,
194
- onChange: handleChange('string')
195
- })), labelAfter && /*#__PURE__*/React.createElement("span", {
196
- style: _objectSpread({
197
- display: 'inline-block',
198
- marginLeft: 4,
199
- marginRight: 4,
200
- wordBreak: 'keep-all',
201
- whiteSpace: 'nowrap'
202
- }, _get(props, 'labelAfterStyle'))
203
- }, labelAfter));
963
+ }
964
+ }, /*#__PURE__*/React.createElement("span", {
965
+ hidden: !g && !p,
966
+ style: {
967
+ fontSize: 18
968
+ }
969
+ }, /*#__PURE__*/React.createElement("span", {
970
+ style: {
971
+ color: '#999'
972
+ }
973
+ }, "\u5B55\u4EA7\uFF1A"), /*#__PURE__*/React.createElement("span", {
974
+ style: {
975
+ fontWeight: 'bold'
976
+ }
977
+ }, g !== null && g !== void 0 ? g : '--', "/", p !== null && p !== void 0 ? p : '--')), /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
978
+ disabled: disabled,
979
+ id: "add",
980
+ type: "primary",
981
+ ghost: true,
982
+ onClick: handleAdd,
983
+ icon: /*#__PURE__*/React.createElement(MyIcon, {
984
+ value: "PlusOutlined"
985
+ })
986
+ }, "\u65B0\u589E"), /*#__PURE__*/React.createElement(Button, {
987
+ disabled: disabled,
988
+ id: "delete",
989
+ danger: true,
990
+ icon: /*#__PURE__*/React.createElement(MyIcon, {
991
+ value: "DeleteOutlined"
992
+ }),
993
+ onClick: handleDelete
994
+ }, "\u5220\u9664")))), /*#__PURE__*/React.createElement(Table_L, {
995
+ bordered: true,
996
+ scroll: {
997
+ x: 1200
998
+ },
999
+ // rowSelection={rowSelection}
1000
+ onRow: function onRow(record, index) {
1001
+ return {
1002
+ onClick: function onClick() {
1003
+ return handleRowClick(record, index);
1004
+ }
1005
+ };
1006
+ },
1007
+ rowClassName: function rowClassName(row) {
1008
+ return _rowClassName(row);
1009
+ },
1010
+ columns: cloneColumns || [],
1011
+ dataSource: dataSource || [],
1012
+ childrenColumnName: "noChildren",
1013
+ rowKey: function rowKey(record) {
1014
+ return record._key;
1015
+ },
1016
+ pagination: false
1017
+ })));
204
1018
  }
205
- export { InputWithLabel as default };
206
- //# sourceMappingURL=.root6.js.map
1019
+ // export default MyForm_Business_PregnancyHistory
1020
+
1021
+ export { MyForm_Business_PregnancyHistory as default };