@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,503 +1,144 @@
1
- import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
- import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
- import _createClass from "@babel/runtime/helpers/createClass";
4
- import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
- import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
- import _inherits from "@babel/runtime/helpers/inherits";
7
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["name", "value", "onChange", "options", "suffix", "type", "inputType", "inputWidth"];
9
5
  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; }
10
6
  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; }
11
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
12
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
- import 'antd/es/button/style';
14
- import _Button from 'antd/es/button';
15
- import 'antd/es/divider/style';
16
- import _Divider from 'antd/es/divider';
17
- import 'antd/es/form/style';
18
- import _Form from 'antd/es/form';
19
- import { _ as _extends, av as MultipleInputWithLabel, b as styleInject, aw as DynamicForm, as as formDescriptionsWithoutSectionApi } from './index.js';
20
- import _isEmpty from 'lodash/isEmpty';
21
- import _split from 'lodash/split';
22
- import _filter from 'lodash/filter';
23
- import _set from 'lodash/set';
24
- import _cloneDeep from 'lodash/cloneDeep';
25
- import _get from 'lodash/get';
26
- import _map from 'lodash/map';
27
- import React from 'react';
28
- import { MinusCircleOutlined } from '@ant-design/icons';
29
- import 'antd/es/input-number/style';
30
- import _InputNumber from 'antd/es/input-number';
31
- import 'antd/es/input/style';
32
- import _Input from 'antd/es/input';
33
- import 'antd/es/row/style';
34
- import _Row from 'antd/es/row';
35
- import 'antd/es/col/style';
36
- import _Col from 'antd/es/col';
37
- import _isNil from 'lodash/isNil';
38
- import { DatePicker_L } from '@lm_fe/components';
39
- import InputWithLabel from './.root106.js';
40
- import NormalCheckboxWithInput from './.root107.js';
41
- import { N as NormalSelectWithInput } from './index4.js';
42
- import SelectWithOptions from './.root108.js';
43
- import dayjs from 'dayjs';
44
- import { SMchc_FormDescriptions } from '@lm_fe/service';
45
- import '@lm_fe/env';
46
- import 'lodash/isFunction';
47
- import 'antd/es/space/style';
48
- import 'antd/es/space';
49
- import 'lodash/indexOf';
50
- import 'lodash/compact';
7
+ import React, { useState, useEffect } from 'react';
8
+ import { Checkbox, Radio, InputNumber, AutoComplete, Input } from 'antd';
9
+ import classnames from 'classnames';
10
+ import { get } from 'lodash';
11
+ import { a as styleInject } from './index.js';
12
+ import '@lm_fe/provoke';
13
+ import '@lm_fe/components';
51
14
  import '@lm_fe/utils';
52
- import 'classnames';
53
- import 'antd/es/checkbox/style';
54
- import 'antd/es/checkbox';
55
- import 'lodash/isString';
56
- import 'lodash/isNumber';
57
- import 'lodash/isBoolean';
58
- import 'antd/es/switch/style';
59
- import 'antd/es/switch';
60
- import 'lodash/join';
61
- import 'lodash/isEqual';
62
- import 'lodash/isArray';
63
- import 'lodash/identity';
64
- import 'lodash/isObject';
65
- import 'lodash/keys';
66
- import 'lodash/keyBy';
67
- import 'antd/es/tooltip/style';
68
- import 'antd/es/tooltip';
69
- import 'antd/es/spin/style';
70
- import 'antd/es/spin';
71
- import 'antd/es/message/style';
72
- import 'antd/es/message';
73
- import 'lodash/has';
74
- import 'antd/es/modal/style';
75
- import 'antd/es/modal';
76
- import 'lodash/size';
77
- import 'lodash/includes';
78
- import 'lodash/forEach';
79
- import 'react-to-print';
80
- import 'lodash/concat';
81
- import 'lodash/reduce';
82
- import 'lodash/debounce';
83
- import 'lodash/pickBy';
84
- import 'antd/es/auto-complete/style';
85
- import 'antd/es/auto-complete';
86
- import 'lodash/nth';
87
- import 'lodash/assign';
88
- import 'antd/es/popover/style';
89
- import 'antd/es/popover';
90
- import 'antd/es/menu/style';
91
- import 'antd/es/menu';
15
+ import 'dayjs';
16
+ import '@lm_fe/env';
17
+ import '@lm_fe/service';
18
+ import 'reconnecting-websocket';
92
19
  import 'store';
93
- import 'antd/es/popconfirm/style';
94
- import 'antd/es/popconfirm';
95
- import 'antd/es/radio/style';
96
- import 'antd/es/radio';
97
- import 'lodash/last';
98
- import 'lodash/toUpper';
99
- var FoetalAppendageFormSection = /*#__PURE__*/function (_React$Component) {
100
- function FoetalAppendageFormSection() {
101
- var _this;
102
- _classCallCheck(this, FoetalAppendageFormSection);
103
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
104
- args[_key] = arguments[_key];
20
+ var css_248z = "/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n.radio-group-with-input-wrapper-input {\n width: 86px;\n padding-left: 5px;\n padding-right: 5px;\n border-left: none;\n border-top: none;\n border-right: none;\n box-shadow: none !important;\n border-radius: 0;\n}\n.radio-group-with-input-wrapper-input.warning {\n color: red !important;\n}\n.radio-group-with-input-wrapper-input.warning .ant-input {\n color: red !important;\n}\n.radio-group-with-input-wrapper-complete {\n width: 86px;\n margin-right: 8px;\n}\n.radio-group-with-input-wrapper-complete .ant-select-selector {\n border-left: none !important;\n border-top: none !important;\n border-right: none !important;\n box-shadow: none !important;\n border-radius: 0 !important;\n}\n.radio-group-with-input-wrapper-inputNumber {\n display: inline-block;\n position: relative;\n width: 86px !important;\n}\n.radio-group-with-input-wrapper-inputNumber-suffix {\n position: absolute;\n bottom: 0;\n right: 0;\n font-size: 12px;\n line-height: 30px;\n}\n.radio-group-with-input-wrapper-inputNumber .ant-input-number {\n padding-left: 0px;\n padding-right: 0px;\n border-left: none;\n border-top: none;\n border-right: none;\n box-shadow: none !important;\n border-radius: 0;\n}\n.radio-group-with-input-wrapper-inputNumber .ant-input-number .ant-input-number-handler-wrap {\n display: none !important;\n}\n.radio-group-with-input-wrapper-inputNumber .ant-input-number .ant-input-number-input-wrap {\n padding-right: 28px;\n}\n.radio-group-with-input-wrapper-inputNumber .ant-input-number .ant-input-number-input {\n padding-left: 5px;\n padding-right: 5px;\n}\n.radio-group-with-input-wrapper-inputNumber.warning .ant-input-number-input {\n color: red !important;\n}\n";
21
+ var styles = css_248z;
22
+ styleInject(css_248z);
23
+ var OPTIONS = [{
24
+ label: '',
25
+ value: false
26
+ }, {
27
+ label: '有',
28
+ value: true,
29
+ withInput: true,
30
+ /* 是否带input输入框 */warning: true /* warnig样式提醒 */
31
+ }];
32
+ function RadioWithInput(_ref) {
33
+ var name = _ref.name,
34
+ _ref$value = _ref.value,
35
+ value = _ref$value === void 0 ? {} : _ref$value,
36
+ onChange = _ref.onChange,
37
+ _ref$options = _ref.options,
38
+ options = _ref$options === void 0 ? OPTIONS : _ref$options,
39
+ suffix = _ref.suffix,
40
+ _ref$type = _ref.type,
41
+ type = _ref$type === void 0 ? 'radio' : _ref$type,
42
+ _ref$inputType = _ref.inputType,
43
+ inputType = _ref$inputType === void 0 ? 'text' : _ref$inputType,
44
+ _ref$inputWidth = _ref.inputWidth,
45
+ inputWidth = _ref$inputWidth === void 0 ? 86 : _ref$inputWidth,
46
+ restProps = _objectWithoutProperties(_ref, _excluded);
47
+ var _useState = useState(false),
48
+ _useState2 = _slicedToArray(_useState, 2),
49
+ focus = _useState2[0],
50
+ setFocus = _useState2[1];
51
+ var key = name.split('.').pop();
52
+ useEffect(function () {
53
+ // console.log('---------89---------', value, restProps);
54
+ }, []);
55
+ var handleChange = function handleChange(e) {
56
+ e.preventDefault();
57
+ var val = e.target.value;
58
+ if (val) {
59
+ setFocus(true);
105
60
  }
106
- _this = _callSuper(this, FoetalAppendageFormSection, [].concat(args));
107
- _defineProperty(_this, "renderRowAndCol", function () {
108
- var formDescriptionArr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
109
- return /*#__PURE__*/React.createElement(_Row, null, _map(formDescriptionArr, function (formDescription, index) {
110
- return /*#__PURE__*/React.createElement(_Col, {
111
- key: index,
112
- span: _get(formDescription, 'span'),
113
- offset: _get(formDescription, 'offset')
114
- }, _this.renderItem(formDescription));
115
- }));
116
- });
117
- _defineProperty(_this, "renderItem", function (formDescription) {
118
- var _this$props = _this.props,
119
- renderEditItem = _this$props.renderEditItem,
120
- data = _this$props.data,
121
- _onChange = _this$props.onChange;
122
- var formDescriptionKey = _get(formDescription, 'key');
123
- switch (_get(formDescription, 'inputType')) {
124
- case 'input':
125
- return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(_Input, _extends({}, _get(formDescription, 'inputProps'), {
126
- value: _get(data, formDescriptionKey),
127
- onChange: function onChange(e) {
128
- _onChange(formDescriptionKey, _get(e, 'target.value'));
129
- }
130
- })), {
131
- customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
132
- });
133
- case 'select_with_options':
134
- return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(SelectWithOptions, {
135
- config: formDescription,
136
- value: _get(data, formDescriptionKey),
137
- onChange: function onChange(e) {
138
- _onChange(formDescriptionKey, e);
139
- }
140
- }), {
141
- customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
142
- });
143
- case 'single_date_picker':
144
- return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(DatePicker_L, _extends({
145
- value: _get(data, formDescriptionKey)
146
- }, _get(formDescription, 'inputProps'), {
147
- onChange: function onChange(e) {
148
- _onChange(formDescriptionKey, e);
149
- }
150
- })), {
151
- customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
152
- });
153
- case 'select_with_input':
154
- return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(NormalSelectWithInput, {
155
- config: formDescription,
156
- value: _get(data, formDescriptionKey),
157
- onChange: function onChange(e) {
158
- _onChange(formDescriptionKey, e);
159
- }
160
- }), {
161
- customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
162
- });
163
- case 'input_number':
164
- return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(_InputNumber, _extends({
165
- value: _get(data, formDescriptionKey),
166
- min: 0
167
- }, _get(formDescription, 'inputProps'), {
168
- onChange: function onChange(e) {
169
- _onChange(formDescriptionKey, e);
170
- }
171
- })), {
172
- customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
173
- });
174
- case 'normal_checkbox_with_input':
175
- return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(NormalCheckboxWithInput, {
176
- value: _get(data, formDescriptionKey),
177
- config: formDescription,
178
- onChange: function onChange(e) {
179
- _onChange(formDescriptionKey, e);
180
- }
181
- }), {
182
- customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
183
- });
184
- case 'multiple_input_with_label':
185
- return renderEditItem(_get(formDescription, 'key'), /*#__PURE__*/React.createElement(MultipleInputWithLabel, {
186
- config: formDescription,
187
- value: _get(data, formDescriptionKey),
188
- onChange: function onChange(e) {
189
- _onChange(formDescriptionKey, e);
190
- }
191
- }), {
192
- customFormItemLayout: _get(formDescription, 'formItemLayout') || {},
193
- styles: _get(formDescription, 'styles')
194
- });
195
- case 'input_with_label':
196
- return renderEditItem(_get(formDescription, 'key'), /*#__PURE__*/React.createElement(InputWithLabel, {
197
- config: formDescription,
198
- value: _get(data, formDescriptionKey),
199
- onChange: function onChange(e) {
200
- _onChange(formDescriptionKey, e);
201
- }
202
- }), {
203
- customFormItemLayout: _get(formDescription, 'formItemLayout') || {},
204
- styles: _get(formDescription, 'styles')
205
- });
206
- default:
207
- return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(_Input, _extends({
208
- value: _get(data, formDescriptionKey)
209
- }, _get(formDescription, 'inputProps'), {
210
- onChange: function onChange(e) {
211
- _onChange(formDescriptionKey, _get(e, 'target.value'));
212
- }
213
- })));
214
- }
215
- });
216
- _defineProperty(_this, "renderContent", function () {
217
- var _this$props2 = _this.props,
218
- _this$props2$formDesc = _this$props2.formDescriptions,
219
- formDescriptions = _this$props2$formDesc === void 0 ? [] : _this$props2$formDesc,
220
- formData = _this$props2.formData,
221
- tabIndex = _this$props2.tabIndex;
222
- var tempArr = [];
223
- var tempSpan = 0;
224
- var formArray = [];
225
- _map(formDescriptions, function (formDescription, index) {
226
- if (!_isNil(_get(formDescription, 'span')) && !_isNil(_get(formDescription, 'offset'))) {
227
- if (_get(formDescription, 'isNewRow')) {
228
- var renderArr = tempArr;
229
- tempSpan = 0;
230
- tempArr = [];
231
- formArray.push(_this.renderRowAndCol(renderArr));
232
- }
233
- if (tempSpan < 25 && tempSpan + _get(formDescription, 'span') + _get(formDescription, 'offset') < 25) {
234
- tempSpan = tempSpan + _get(formDescription, 'span') + _get(formDescription, 'offset');
235
- tempArr.push(formDescription);
236
- if (Number(index) === formDescriptions.length - 1) {
237
- formArray.push(_this.renderRowAndCol(tempArr));
238
- tempArr = [];
239
- }
240
- } else {
241
- var _renderArr = tempArr;
242
- tempArr = [];
243
- formArray.push(_this.renderRowAndCol(_renderArr));
244
- tempSpan = _get(formDescription, 'span') + _get(formDescription, 'offset');
245
- tempArr.push(formDescription);
246
- }
247
- } else {
248
- formArray.push(_this.renderItem(formDescription));
61
+ var newVal = _objectSpread(_objectSpread({}, value), {}, _defineProperty({}, key, val));
62
+ onChange(newVal);
63
+ };
64
+ var inputChange = function inputChange(e) {
65
+ e.preventDefault();
66
+ var val = e.target.value;
67
+ var newVal = _objectSpread(_objectSpread({}, value), {}, _defineProperty({}, "".concat(key, "Note"), val));
68
+ onChange(newVal);
69
+ };
70
+ var inputNumberChange = function inputNumberChange(val) {
71
+ var newVal = _objectSpread(_objectSpread({}, value), {}, _defineProperty({}, "".concat(key, "Note"), val));
72
+ onChange(newVal);
73
+ };
74
+ var renderInput = function renderInput(type) {
75
+ var warning = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
76
+ var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
77
+ if (type === 'number') {
78
+ return /*#__PURE__*/React.createElement("span", {
79
+ className: classnames(styles['radio-group-with-input-wrapper-inputNumber'], {
80
+ warning: warning
81
+ })
82
+ }, /*#__PURE__*/React.createElement(InputNumber, {
83
+ autoFocus: focus,
84
+ onChange: inputNumberChange,
85
+ style: {
86
+ width: inputWidth
249
87
  }
250
- });
251
- if (!_isEmpty(tempArr)) {
252
- formArray.push(_this.renderRowAndCol(tempArr));
253
- }
254
- return formArray;
255
- });
256
- return _this;
257
- }
258
- _inherits(FoetalAppendageFormSection, _React$Component);
259
- return _createClass(FoetalAppendageFormSection, [{
260
- key: "render",
261
- value: function render() {
262
- return /*#__PURE__*/React.createElement(React.Fragment, null, this.renderContent());
88
+ }), /*#__PURE__*/React.createElement("span", {
89
+ className: styles["radio-group-with-input-wrapper-inputNumber-suffix"]
90
+ }, suffix));
263
91
  }
264
- }]);
265
- }(React.Component);
266
- var fromApi = function fromApi(data, nativeFormDescriptions) {
267
- var resultArray = _map(data, function (item) {
268
- var result = _objectSpread({}, item);
269
- _map(nativeFormDescriptions, function (desctiption, key) {
270
- var tranferRules = desctiption.tranfer_rules;
271
- var type = 'default';
272
- var path = key;
273
- if (tranferRules && JSON.parse(tranferRules)) {
274
- var tranferRulesJson = JSON.parse(tranferRules);
275
- type = _get(tranferRulesJson, 'type') ? _get(tranferRulesJson, 'type') : 'default';
276
- path = _get(tranferRulesJson, 'path') ? _get(tranferRulesJson, 'path') : key;
277
- }
278
- switch (type) {
279
- case 'key_and_keyNote':
280
- _set(result, "".concat(key, ".key"), _get(item, path));
281
- _set(result, "".concat(key, ".keyNote"), _get(item, "".concat(path, "Note")));
282
- break;
283
- case 'moment':
284
- _set(result, key, dayjs(_get(item, path)));
285
- break;
286
- case 'default':
287
- default:
288
- _set(result, key, _get(item, path));
289
- break;
290
- }
291
- });
292
- return result;
293
- });
294
- // console.log(resultArray);
295
- return resultArray;
296
- };
297
- var toApi = function toApi(data, nativeFormDescriptions) {
298
- var resultArray = _map(data, function (item) {
299
- var result = _objectSpread({}, item);
300
- _map(nativeFormDescriptions, function (desctiption, key) {
301
- var tranferRules = desctiption.tranfer_rules;
302
- var type = 'default';
303
- var path = key;
304
- if (tranferRules && JSON.parse(tranferRules)) {
305
- var tranferRulesJson = JSON.parse(tranferRules);
306
- type = _get(tranferRulesJson, 'type') ? _get(tranferRulesJson, 'type') : 'default';
307
- path = _get(tranferRulesJson, 'path') ? _get(tranferRulesJson, 'path') : key;
308
- }
309
- switch (type) {
310
- case 'key_and_keyNote':
311
- _set(result, path, _get(item, "".concat(key, ".key")));
312
- _set(result, "".concat(path, "Note"), _get(item, "".concat(key, ".keyNote")));
313
- break;
314
- case 'default':
315
- default:
316
- _set(result, path, _get(item, key));
317
- break;
92
+ if (type === 'autoComplete') {
93
+ return /*#__PURE__*/React.createElement(AutoComplete, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
94
+ autoFocus: focus,
95
+ options: options,
96
+ value: get(value, "".concat(key, "Note")),
97
+ placeholder: ""
98
+ }, "value", get(value, "".concat(key, "Note"))), "onChange", inputNumberChange), "style", {
99
+ width: inputWidth
100
+ }), "className", classnames(styles['radio-group-with-input-wrapper-complete'], _defineProperty({}, styles["warning"], warning))), "filterOption", function filterOption(inputValue, option) {
101
+ return option.value.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1;
102
+ }));
103
+ }
104
+ return /*#__PURE__*/React.createElement(Input, {
105
+ autoFocus: focus,
106
+ value: get(value, "".concat(key, "Note")),
107
+ onChange: inputChange,
108
+ suffix: suffix,
109
+ className: classnames(styles['radio-group-with-input-wrapper-input'], {
110
+ warning: warning
111
+ }),
112
+ style: {
113
+ width: inputWidth
318
114
  }
319
115
  });
320
- return result;
321
- });
322
- // console.log(resultArray);
323
- return resultArray;
324
- };
325
- var css_248z = ".foetal-panel {\n display: flex;\n align-items: center;\n}\n.foetal-panel:hover .foetal-panel-delete {\n visibility: visible;\n}\n.foetal-panel-content {\n width: 100%;\n}\n.foetal-panel-delete {\n cursor: pointer;\n visibility: hidden;\n}\n";
326
- styleInject(css_248z);
327
- var TAB_TITLE = '胎儿';
328
- // 胎儿附属物
329
- var FoetalAppendage = /*#__PURE__*/function (_DynamicForm) {
330
- function FoetalAppendage(props) {
331
- var _this2;
332
- _classCallCheck(this, FoetalAppendage);
333
- _this2 = _callSuper(this, FoetalAppendage, [props]);
334
- _defineProperty(_this2, "index", void 0);
335
- _defineProperty(_this2, "nativeFormDescriptions", void 0);
336
- _defineProperty(_this2, "handleAddFetus", function () {
337
- var data = _this2.state.data;
338
- _this2.index += 1;
339
- data.push({
340
- key: "".concat(_this2.index)
341
- });
342
- _this2.setState({
343
- data: data
344
- });
345
- });
346
- _defineProperty(_this2, "handleRemoveFetus", function (removeItem) {
347
- return function () {
348
- var data = _this2.state.data;
349
- var newData = _filter(data, function (item) {
350
- return _get(item, 'key') !== _get(removeItem, 'key');
351
- });
352
- _this2.setState({
353
- data: newData
354
- });
355
- _this2.throwDataByOnChange(newData);
356
- };
357
- });
358
- // 获取表单数据
359
- _defineProperty(_this2, "handleFieldsChange", function (formDescriptionKey, callbackData) {
360
- var data = _this2.state.data;
361
- var names = _split(formDescriptionKey, '_');
362
- _set(data, "".concat(_get(names, '1'), ".").concat(formDescriptionKey), callbackData);
363
- _this2.throwDataByOnChange(data);
364
- _this2.setState({
365
- data: data
366
- });
367
- });
368
- _defineProperty(_this2, "throwDataByOnChange", function (data) {
369
- var onChange = _this2.props.onChange;
370
- var tempData = _map(data, function (item) {
371
- var tempItem = {};
372
- _map(item, function (itemValue, key) {
373
- var names = _split(key, '_');
374
- _set(tempItem, _get(names, 0), itemValue);
375
- });
376
- return tempItem;
377
- });
378
- onChange && onChange(toApi(tempData, _this2.nativeFormDescriptions));
379
- return data;
380
- });
381
- _defineProperty(_this2, "generateRenderEditItem", function (formDescriptions) {
382
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
383
- var formItemLayout = options.formItemLayout;
384
- return function (key, ReactNode) {
385
- var others = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
386
- var config = _get(formDescriptions, key) || {};
387
- var label = config.label,
388
- rules = config.rules;
389
- return /*#__PURE__*/React.createElement(_Form.Item, _extends({}, formItemLayout, _get(others, 'customFormItemLayout'), {
390
- style: _objectSpread({}, _get(others, 'styles')),
391
- key: key,
392
- label: label,
393
- rules: rules
394
- }), ReactNode);
395
- };
396
- });
397
- _defineProperty(_this2, "renderContent", function (item, index) {
398
- var data = _this2.state.data;
399
- var newFormDescriptions = {};
400
- _map(_cloneDeep(_this2.nativeFormDescriptions), function (formDescription, formDescriptionKey) {
401
- _set(formDescription, 'key', "".concat(formDescriptionKey, "_").concat(_get(item, 'key')));
402
- _set(formDescription, 'native_key', formDescriptionKey);
403
- _set(newFormDescriptions, "".concat(formDescriptionKey, "_").concat(_get(item, 'key')), formDescription);
404
- });
405
- var renderEditItem = _this2.generateRenderEditItem(newFormDescriptions);
406
- return /*#__PURE__*/React.createElement("div", {
407
- className: "foetal-panel"
408
- }, /*#__PURE__*/React.createElement("div", {
409
- className: "foetal-panel-content"
410
- }, /*#__PURE__*/React.createElement(_Divider, {
411
- orientation: "left"
412
- }, /*#__PURE__*/React.createElement("span", {
413
- style: {
414
- fontSize: 12
415
- }
416
- }, TAB_TITLE, index + 1)), /*#__PURE__*/React.createElement(FoetalAppendageFormSection, {
417
- formDescriptions: newFormDescriptions,
418
- renderEditItem: renderEditItem,
419
- onChange: _this2.handleFieldsChange,
420
- data: _get(data, index)
421
- })), /*#__PURE__*/React.createElement("div", {
422
- className: "foetal-panel-delete",
423
- title: "\u5220\u9664",
424
- onClick: _this2.handleRemoveFetus(item)
425
- }, /*#__PURE__*/React.createElement(MinusCircleOutlined, null)));
426
- });
427
- var _data = [{
428
- key: '0'
429
- }];
430
- _this2.state = {
431
- data: _data
432
- };
433
- _this2.index = 0;
434
- _this2.nativeFormDescriptions = {};
435
- return _this2;
116
+ };
117
+ if (type === 'checkbox') {
118
+ return /*#__PURE__*/React.createElement(Checkbox.Group, {
119
+ value: [get(value, key)],
120
+ className: styles["radio-group-with-input-wrapper"]
121
+ }, options.map(function (_) {
122
+ return /*#__PURE__*/React.createElement(React.Fragment, {
123
+ key: _.value
124
+ }, /*#__PURE__*/React.createElement(Checkbox, {
125
+ value: _.value,
126
+ onChange: handleChange,
127
+ className: classnames({
128
+ 'global-issue-checkbox': _.warning && [get(value, key)] && [get(value, key)].indexOf(_.value) > -1
129
+ })
130
+ }, _.label), _.withInput && get(value, key) === _.value && renderInput(inputType, _.warning, _.options));
131
+ }));
436
132
  }
437
- _inherits(FoetalAppendage, _DynamicForm);
438
- return _createClass(FoetalAppendage, [{
439
- key: "componentDidMount",
440
- value: function () {
441
- var _componentDidMount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
442
- var _this3 = this;
443
- var value, data, formField, result;
444
- return _regeneratorRuntime.wrap(function _callee$(_context) {
445
- while (1) switch (_context.prev = _context.next) {
446
- case 0:
447
- value = this.props.value;
448
- data = []; // 获取原始表单配置
449
- _context.next = 4;
450
- return SMchc_FormDescriptions.getModuleParseCache('foetalAppendage');
451
- case 4:
452
- formField = _context.sent;
453
- this.nativeFormDescriptions = formDescriptionsWithoutSectionApi(formField);
454
- result = [{}];
455
- if (!_isEmpty(value)) {
456
- result = fromApi(value, this.nativeFormDescriptions);
457
- }
458
- _map(result, function (item, index) {
459
- _this3.index = index;
460
- var tempValue = {};
461
- _map(item, function (itemValue, key) {
462
- key !== 'key' && _set(tempValue, "".concat(key, "_").concat(index), itemValue);
463
- });
464
- data.push(_objectSpread({
465
- key: "".concat(index)
466
- }, tempValue));
467
- });
468
- this.setState({
469
- data: data
470
- });
471
- case 10:
472
- case "end":
473
- return _context.stop();
474
- }
475
- }, _callee, this);
476
- }));
477
- function componentDidMount() {
478
- return _componentDidMount.apply(this, arguments);
479
- }
480
- return componentDidMount;
481
- }()
482
- }, {
483
- key: "render",
484
- value: function render() {
485
- var _this4 = this;
486
- var data = this.state.data;
487
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
488
- style: {
489
- display: 'flex',
490
- flexDirection: 'row',
491
- marginLeft: 24
492
- }
493
- }, /*#__PURE__*/React.createElement(_Button, {
494
- type: "primary",
495
- onClick: this.handleAddFetus
496
- }, "\u6DFB\u52A0", TAB_TITLE)), _map(data, function (item, index) {
497
- return _this4.renderContent(item, index);
498
- }));
499
- }
500
- }]);
501
- }(DynamicForm);
502
- export { FoetalAppendage as default };
503
- //# sourceMappingURL=.root105.js.map
133
+ return /*#__PURE__*/React.createElement(Radio.Group, {
134
+ value: get(value, key),
135
+ className: styles["radio-group-with-input-wrapper"]
136
+ }, options.map(function (_) {
137
+ return /*#__PURE__*/React.createElement(Radio, {
138
+ key: _.value,
139
+ value: _.value,
140
+ onChange: handleChange
141
+ }, _.label, _.withInput && get(value, key) === _.value && renderInput(inputType, _.warning, _.options));
142
+ }));
143
+ }
144
+ export { OPTIONS, RadioWithInput as default };