@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,299 +1,857 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
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";
2
7
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
8
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
9
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
5
- var _excluded = ["modal_data", "close"];
10
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
11
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
6
12
  import _regeneratorRuntime from "@babel/runtime/regenerator";
7
- import 'antd/es/modal/style';
8
- import _Modal from 'antd/es/modal';
9
- import { b as styleInject, _ as _extends } from './index.js';
10
- import 'antd/es/space/style';
11
- import _Space from 'antd/es/space';
12
- import 'antd/es/button/style';
13
- import _Button from 'antd/es/button';
14
- import _isEmpty from 'lodash/isEmpty';
15
- import _forEach from 'lodash/forEach';
16
- import { SMchc_TemplateTrees } from '@lm_fe/service';
17
- import { useState, useRef, useEffect } from 'react';
18
- import ReactToPrint from 'react-to-print';
19
- import { LazyAntd } from '@lm_fe/components';
20
- import '@lm_fe/env';
21
- import 'lodash/isFunction';
22
- import '@ant-design/icons';
23
- import 'antd/es/input/style';
24
- import 'antd/es/input';
25
- import 'antd/es/input-number/style';
26
- import 'antd/es/input-number';
27
- import 'lodash/set';
28
- import 'lodash/map';
29
- import 'lodash/indexOf';
30
- import 'lodash/get';
31
- import 'lodash/compact';
13
+ 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; }
14
+ 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; }
15
+ import React, { useState, useEffect, Component } from 'react';
16
+ import { Form, Modal, Input, message, Popconfirm, Layout, Button, Row, Col } from 'antd';
17
+ import classnames from 'classnames';
18
+ import { a as styleInject, a9 as getResources, aa as updateResources, ab as createResources, ac as getResourcesByID, ad as deleteResourcesByID } from './index.js';
19
+ import { map, isEmpty, get, set, concat, compact, keyBy, indexOf, keys, filter, size, isNil, isEqual } from 'lodash';
32
20
  import '@lm_fe/utils';
33
- import 'classnames';
21
+ import { LazyAntd, validate_form, MyIcon } from '@lm_fe/components';
22
+ import '@lm_fe/provoke';
34
23
  import 'dayjs';
35
- import 'antd/es/checkbox/style';
36
- import 'antd/es/checkbox';
37
- import 'lodash/isString';
38
- import 'lodash/isNumber';
39
- import 'lodash/isBoolean';
40
- import 'antd/es/divider/style';
41
- import 'antd/es/divider';
42
- import 'antd/es/switch/style';
43
- import 'antd/es/switch';
44
- import 'antd/es/form/style';
45
- import 'antd/es/form';
46
- import 'lodash/join';
47
- import 'lodash/isEqual';
48
- import 'lodash/isArray';
49
- import 'lodash/identity';
50
- import 'lodash/cloneDeep';
51
- import 'lodash/isObject';
52
- import 'lodash/keys';
53
- import 'lodash/keyBy';
54
- import 'lodash/isNil';
55
- import 'antd/es/tooltip/style';
56
- import 'antd/es/tooltip';
57
- import 'antd/es/spin/style';
58
- import 'antd/es/spin';
59
- import 'antd/es/message/style';
60
- import 'antd/es/message';
61
- import 'lodash/has';
62
- import 'lodash/size';
63
- import 'lodash/includes';
64
- import 'lodash/filter';
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';
24
+ import '@lm_fe/env';
25
+ import '@lm_fe/service';
26
+ import 'reconnecting-websocket';
81
27
  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 = "@media print {\n html,\n body {\n background-color: #fff !important;\n }\n html .index-module_printtoalc__Eq-V4,\n body .index-module_printtoalc__Eq-V4 {\n padding: 12px;\n }\n}\n.index-module_tree-title__S78sH {\n width: 100%;\n}\n.index-module_tree-title__S78sH > .ant-tree-switcher,\n.index-module_tree-title__S78sH > .ant-tree-checkbox {\n display: none;\n}\n.index-module_tree-title__S78sH > .ant-tree-node-content-wrapper {\n width: 100%;\n height: 30px;\n margin-bottom: 10px;\n line-height: 30px;\n text-align: center;\n background-color: #e6f7ff;\n border-bottom: 3px solid #6699ff;\n}\n";
28
+ var css_248z = ".index-module_textarea-with-template__q-iMO {\n position: relative;\n}\n.index-module_textarea-with-template__q-iMO .index-module_template-textarea__sy-GH {\n width: 100%;\n}\n.index-module_textarea-with-template__action__Lre-s {\n position: absolute;\n right: 1px;\n bottom: 1px;\n width: 0;\n height: 0;\n border-width: 20px 20px 20px 20px;\n border-color: transparent #d8dce6 #d8dce6 transparent;\n border-style: solid;\n border-radius: 4px;\n background: transparent;\n cursor: pointer;\n}\n.index-module_textarea-with-template__action__Lre-s span {\n position: relative;\n bottom: 1px;\n word-break: keep-all;\n color: #000;\n font-size: 12px;\n}\n.index-module_textarea-with-template__action_disabled__GOSRY {\n color: rgba(0, 0, 0, 0.25);\n}\n.index-module_textarea-with-template__modal-nav__AGWyq {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-nav__items__ODxhN {\n margin-right: 8px;\n}\n.index-module_textarea-with-template__modal-body__WVYa4 {\n margin: 10px 0;\n}\n.index-module_textarea-with-template__modal-body__WVYa4 .index-module_ant-tree-treenode__lPpOJ .index-module_template-list-item__actions__pZhbT {\n display: none;\n}\n.index-module_textarea-with-template__modal-body__WVYa4 .index-module_ant-tree-treenode__lPpOJ:hover .index-module_template-list-item__actions__pZhbT {\n display: inline-block;\n}\n.index-module_textarea-with-template__modal-body__WVYa4 .index-module_template-list-item__6bzyb {\n display: flex;\n flex-flow: row;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-body__WVYa4 .index-module_template-list-item__6bzyb .index-module_template-list-item__actions-icon__Lv-TZ {\n font-size: 14px;\n opacity: 0.8;\n cursor: pointer;\n margin-left: 10px;\n}\n.index-module_textarea-with-template__modal__C2lQl .index-module_ant-modal-content__LmhFx .index-module_ant-modal-header__KPD0c,\n.index-module_textarea-with-template__modal__C2lQl .index-module_ant-modal-content__LmhFx .index-module_ant-modal-body__QdEE-,\n.index-module_textarea-with-template__modal__C2lQl .index-module_ant-modal-content__LmhFx .index-module_ant-modal-footer__zC0ai {\n padding: 10px;\n}\n";
89
29
  var styles = {
90
- "printtoalc": "index-module_printtoalc__Eq-V4",
91
- "tree-title": "index-module_tree-title__S78sH"
30
+ "textarea-with-template": "index-module_textarea-with-template__q-iMO",
31
+ "template-textarea": "index-module_template-textarea__sy-GH",
32
+ "textarea-with-template__action": "index-module_textarea-with-template__action__Lre-s",
33
+ "textarea-with-template__action_disabled": "index-module_textarea-with-template__action_disabled__GOSRY",
34
+ "textarea-with-template__modal-nav": "index-module_textarea-with-template__modal-nav__AGWyq",
35
+ "textarea-with-template__modal-nav__items": "index-module_textarea-with-template__modal-nav__items__ODxhN",
36
+ "textarea-with-template__modal-body": "index-module_textarea-with-template__modal-body__WVYa4",
37
+ "ant-tree-treenode": "index-module_ant-tree-treenode__lPpOJ",
38
+ "template-list-item__actions": "index-module_template-list-item__actions__pZhbT",
39
+ "template-list-item": "index-module_template-list-item__6bzyb",
40
+ "template-list-item__actions-icon": "index-module_template-list-item__actions-icon__Lv-TZ",
41
+ "textarea-with-template__modal": "index-module_textarea-with-template__modal__C2lQl",
42
+ "ant-modal-content": "index-module_ant-modal-content__LmhFx",
43
+ "ant-modal-header": "index-module_ant-modal-header__KPD0c",
44
+ "ant-modal-body": "index-module_ant-modal-body__QdEE-",
45
+ "ant-modal-footer": "index-module_ant-modal-footer__zC0ai"
92
46
  };
93
47
  styleInject(css_248z);
94
- var Tree = LazyAntd.Tree,
95
- TreeSelect = LazyAntd.TreeSelect,
96
- Select = LazyAntd.Select,
97
- Table = LazyAntd.Table,
98
- Dropdown = LazyAntd.Dropdown,
99
- Pagination = LazyAntd.Pagination;
100
- var TYPE = 33;
101
- function Index(props) {
102
- var modal_data = props.modal_data,
103
- close = props.close,
104
- others = _objectWithoutProperties(props, _excluded);
105
- var pregnancyId = modal_data.pregnancyId;
106
- var _useState = useState([]),
48
+ var rootTemplate = {
49
+ id: 0,
50
+ key: 0,
51
+ value: 0,
52
+ title: '一级模板',
53
+ children: []
54
+ };
55
+ var _transferTemplates = function transferTemplates(templates) {
56
+ var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
57
+ var temp = [];
58
+ map(templates, function (item) {
59
+ if (item.pid === pid) {
60
+ item.key = item.id;
61
+ item.value = item.id;
62
+ item.title = item.val;
63
+ item.children = _transferTemplates(templates, item.id);
64
+ if (isEmpty(item.children)) {
65
+ item.isLeaf = true;
66
+ } else {
67
+ item.isLeaf = false;
68
+ }
69
+ temp.push(item);
70
+ }
71
+ });
72
+ return temp;
73
+ };
74
+ var DEFAULT_URL = '/api/template-trees';
75
+ var needUserIDTypes$1 = [2];
76
+ var MODAL_NAVS = {
77
+ department: {
78
+ key: 'department',
79
+ label: '术前',
80
+ type: 1
81
+ },
82
+ person: {
83
+ key: 'person',
84
+ label: '术后',
85
+ type: 2
86
+ }
87
+ };
88
+ var Tree$2 = LazyAntd.Tree,
89
+ TreeSelect$2 = LazyAntd.TreeSelect,
90
+ Select$2 = LazyAntd.Select,
91
+ Table$2 = LazyAntd.Table,
92
+ Dropdown$2 = LazyAntd.Dropdown,
93
+ Pagination$2 = LazyAntd.Pagination;
94
+ function TemplateSelect(props) {
95
+ var onChange = props.onChange,
96
+ templateType = props.templateType,
97
+ userid = props.userid,
98
+ _props$depid = props.depid,
99
+ depid = _props$depid === void 0 ? 1 : _props$depid;
100
+ var _useState = useState(props.value || 0),
107
101
  _useState2 = _slicedToArray(_useState, 2),
108
- treeToalc = _useState2[0],
109
- setTreeToalc = _useState2[1];
102
+ value = _useState2[0],
103
+ setValue = _useState2[1];
110
104
  var _useState3 = useState([]),
111
105
  _useState4 = _slicedToArray(_useState3, 2),
112
- toalcKeys = _useState4[0],
113
- setToalcKeys = _useState4[1];
114
- var printTableRef = useRef(null);
106
+ options = _useState4[0],
107
+ setOptions = _useState4[1];
108
+ useEffect(function () {
109
+ setValue(props.value);
110
+ }, [props.value]);
115
111
  useEffect(function () {
116
- _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
117
- var _selecteToalc$value;
118
- var _treeToalc, selecteToalc, toalcValue, _toalcKeys;
112
+ getResources(DEFAULT_URL, {
113
+ 'depid.equals': depid,
114
+ 'type.equals': templateType,
115
+ 'userid.equals': needUserIDTypes$1.indexOf(templateType) > -1 && userid ? userid : null,
116
+ size: 99999,
117
+ page: 0
118
+ }).then(function (res) {
119
+ setOptions([_objectSpread(_objectSpread({}, rootTemplate), {}, {
120
+ children: _transferTemplates(res)
121
+ })]);
122
+ });
123
+ }, []);
124
+ var handleChange = function handleChange(data) {
125
+ setValue(data);
126
+ onChange && onChange(data);
127
+ };
128
+ return /*#__PURE__*/React.createElement(TreeSelect$2, {
129
+ treeDefaultExpandAll: true,
130
+ value: value,
131
+ treeData: options,
132
+ onChange: handleChange
133
+ });
134
+ }
135
+ var Tree$1 = LazyAntd.Tree,
136
+ TreeSelect$1 = LazyAntd.TreeSelect,
137
+ Select$1 = LazyAntd.Select,
138
+ Table$1 = LazyAntd.Table,
139
+ Dropdown$1 = LazyAntd.Dropdown,
140
+ Pagination$1 = LazyAntd.Pagination;
141
+ function EditModal(props) {
142
+ var onCancel = props.onCancel,
143
+ onSubmit = props.onSubmit,
144
+ visible = props.visible,
145
+ templateType = props.templateType,
146
+ userid = props.userid,
147
+ data = props.data,
148
+ depid = props.depid;
149
+ var _Form$useForm = Form.useForm(),
150
+ _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
151
+ form = _Form$useForm2[0];
152
+ useEffect(function () {
153
+ form && form.setFieldsValue(_objectSpread(_objectSpread({}, data), {}, {
154
+ pid: get(data, 'pid') || 0,
155
+ type: templateType
156
+ }));
157
+ }, []);
158
+ var handleSubmit = /*#__PURE__*/function () {
159
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
160
+ var formData;
119
161
  return _regeneratorRuntime.wrap(function _callee$(_context) {
120
162
  while (1) switch (_context.prev = _context.next) {
121
163
  case 0:
122
164
  _context.next = 2;
123
- return SMchc_TemplateTrees.getTemplateTree(TYPE);
165
+ return validate_form(form);
124
166
  case 2:
125
- _treeToalc = _context.sent;
126
- _context.next = 5;
127
- return SMchc_TemplateTrees.findAlertAssessment(TYPE, pregnancyId);
167
+ formData = _context.sent;
168
+ if (formData) {
169
+ _context.next = 5;
170
+ break;
171
+ }
172
+ return _context.abrupt("return");
128
173
  case 5:
129
- selecteToalc = _context.sent;
130
- toalcValue = (_selecteToalc$value = selecteToalc.value) !== null && _selecteToalc$value !== void 0 ? _selecteToalc$value : [];
131
- _toalcKeys = toalcValue.map(function (_) {
132
- return String(_.id);
133
- });
134
- setTreeToalc(_treeToalc);
135
- setToalcKeys(_toalcKeys);
136
- case 10:
174
+ onSubmit && onSubmit(formData);
175
+ case 6:
137
176
  case "end":
138
177
  return _context.stop();
139
178
  }
140
179
  }, _callee);
141
- }))();
142
- return function () {};
143
- }, []);
144
- function handleCheck(keys) {
145
- _forEach(treeToalc, function (item) {
146
- if (keys.includes(String(item.id))) {
147
- item.selected = true;
148
- } else {
149
- item.selected = null;
150
- }
180
+ }));
181
+ return function handleSubmit() {
182
+ return _ref.apply(this, arguments);
183
+ };
184
+ }();
185
+ return /*#__PURE__*/React.createElement(Modal, {
186
+ open: visible,
187
+ className: "textarea-with-template__modal-edit",
188
+ onCancel: onCancel,
189
+ onOk: handleSubmit,
190
+ closable: false,
191
+ width: 500
192
+ }, /*#__PURE__*/React.createElement(Form, {
193
+ autoComplete: "off",
194
+ form: form,
195
+ labelAlign: "right",
196
+ labelCol: {
197
+ span: 8
198
+ },
199
+ wrapperCol: {
200
+ span: 16
201
+ }
202
+ }, /*#__PURE__*/React.createElement(Form.Item, {
203
+ label: "\u6240\u5C5E\u6A21\u5757",
204
+ name: "type"
205
+ }, /*#__PURE__*/React.createElement(Select$1, null, map(MODAL_NAVS, function (nav, key) {
206
+ return /*#__PURE__*/React.createElement(Select$1.Option, {
207
+ value: nav.type,
208
+ key: key
209
+ }, nav.label);
210
+ }))), /*#__PURE__*/React.createElement(Form.Item, {
211
+ label: "\u4E0A\u7EA7\u6A21\u677F",
212
+ name: "pid"
213
+ }, /*#__PURE__*/React.createElement(TemplateSelect, {
214
+ templateType: templateType,
215
+ userid: userid,
216
+ depid: depid
217
+ })), /*#__PURE__*/React.createElement(Form.Item, {
218
+ rules: [{
219
+ required: true,
220
+ message: '模板内容是必填项'
221
+ }],
222
+ label: "\u6A21\u677F\u5185\u5BB9",
223
+ name: "val"
224
+ }, /*#__PURE__*/React.createElement(Input, null))));
225
+ }
226
+ var Tree = LazyAntd.Tree,
227
+ TreeSelect = LazyAntd.TreeSelect,
228
+ Select = LazyAntd.Select,
229
+ Table = LazyAntd.Table,
230
+ Dropdown = LazyAntd.Dropdown,
231
+ Pagination = LazyAntd.Pagination;
232
+ var Sider = Layout.Sider,
233
+ Content = Layout.Content;
234
+ var TemplateModal = /*#__PURE__*/function (_React$Component) {
235
+ function TemplateModal(props) {
236
+ var _this;
237
+ _classCallCheck(this, TemplateModal);
238
+ _this = _callSuper(this, TemplateModal, [props]);
239
+ _defineProperty(_this, "transferLabexamsList", function (result) {
240
+ return map(result, function (item) {
241
+ var temp = _objectSpread(_objectSpread({}, item), {}, {
242
+ children: [],
243
+ val: get(item, 'title'),
244
+ isLeaf: true
245
+ });
246
+ if (!isEmpty(get(item, 'items'))) {
247
+ set(temp, 'children', _this.transferLabexamsList(get(item, 'items')));
248
+ set(temp, 'isLeaf', false);
249
+ }
250
+ return temp;
251
+ });
151
252
  });
152
- setToalcKeys(keys);
153
- setTreeToalc(_toConsumableArray(treeToalc));
154
- }
155
- function handleOk() {
156
- return _handleOk.apply(this, arguments);
157
- }
158
- function _handleOk() {
159
- _handleOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
160
- var filterData, data;
161
- return _regeneratorRuntime.wrap(function _callee3$(_context3) {
162
- while (1) switch (_context3.prev = _context3.next) {
253
+ _defineProperty(_this, "transferAllLabexamsList", function (labexams) {
254
+ var allLabexams = [];
255
+ map(labexams, function (labexam) {
256
+ var tempLabexams = [];
257
+ if (!isEmpty(get(labexam, 'children'))) {
258
+ tempLabexams = _this.transferAllLabexamsList(get(labexam, 'children'));
259
+ allLabexams = concat(allLabexams, tempLabexams);
260
+ } else {
261
+ allLabexams.push(labexam);
262
+ }
263
+ });
264
+ return allLabexams;
265
+ });
266
+ _defineProperty(_this, "getTemplateList", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
267
+ var templateType, _this$props, user, _this$props$depid, depid, patientId, admissionId, pregnancyId, result, labexams, allLabexams, _result, _labexams, _allLabexams, _result2, _result3, templates, splitTemplates, splitTemplatesMapping;
268
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
269
+ while (1) switch (_context2.prev = _context2.next) {
163
270
  case 0:
164
- filterData = treeToalc.filter(function (item) {
165
- return toalcKeys.includes(String(item.id));
166
- });
167
- data = {
168
- pregnancyId: pregnancyId,
169
- type: TYPE,
170
- value: filterData.length ? filterData : undefined,
171
- templateId: null
172
- };
173
- if (!(filterData.length == 0)) {
174
- _context3.next = 7;
271
+ templateType = _this.state.templateType;
272
+ _this$props = _this.props, user = _this$props.user, _this$props$depid = _this$props.depid, depid = _this$props$depid === void 0 ? 1 : _this$props$depid, patientId = _this$props.patientId, admissionId = _this$props.admissionId, pregnancyId = _this$props.pregnancyId;
273
+ if (!(templateType === 3)) {
274
+ _context2.next = 11;
175
275
  break;
176
276
  }
177
- _context3.next = 5;
178
- return SMchc_TemplateTrees.deleteHighrisk(data);
277
+ _context2.next = 5;
278
+ return getResources("/api/getLabExamImportTree?pregnancyId=".concat(pregnancyId, "&admissionId=").concat(admissionId));
179
279
  case 5:
180
- _context3.next = 9;
280
+ result = _context2.sent;
281
+ labexams = _this.transferLabexamsList(result);
282
+ allLabexams = _this.transferAllLabexamsList(labexams);
283
+ _this.setState({
284
+ labexams: labexams,
285
+ allLabexams: allLabexams
286
+ });
287
+ _context2.next = 35;
288
+ break;
289
+ case 11:
290
+ if (!(templateType === 4)) {
291
+ _context2.next = 20;
292
+ break;
293
+ }
294
+ _context2.next = 14;
295
+ return getResources("/api/getImageExamImportTree?pregnancyId=".concat(pregnancyId, "&admissionId=").concat(admissionId));
296
+ case 14:
297
+ _result = _context2.sent;
298
+ _labexams = _this.transferLabexamsList(_result);
299
+ _allLabexams = _this.transferAllLabexamsList(_labexams);
300
+ _this.setState({
301
+ labexams: _labexams,
302
+ allLabexams: _allLabexams
303
+ });
304
+ _context2.next = 35;
181
305
  break;
182
- case 7:
183
- _context3.next = 9;
184
- return SMchc_TemplateTrees.saveAlertAssessment(data);
185
- case 9:
186
- close === null || close === void 0 || close(true);
187
- case 10:
306
+ case 20:
307
+ if (!(templateType === 5)) {
308
+ _context2.next = 27;
309
+ break;
310
+ }
311
+ _context2.next = 23;
312
+ return getResources("/api/findDiagnosisByDateVisitType/".concat(admissionId));
313
+ case 23:
314
+ _result2 = _context2.sent;
315
+ _this.setState({
316
+ diagnosisList: _result2
317
+ });
318
+ _context2.next = 35;
319
+ break;
320
+ case 27:
321
+ _context2.next = 29;
322
+ return getResources(DEFAULT_URL, {
323
+ 'depid.equals': depid,
324
+ 'type.equals': templateType,
325
+ 'userid.equals': needUserIDTypes.indexOf(templateType) > -1 && get(user, 'basicInfo.id') ? get(user, 'basicInfo.id') : null,
326
+ size: 99999,
327
+ page: 0
328
+ });
329
+ case 29:
330
+ _result3 = _context2.sent;
331
+ templates = _transferTemplates(_result3); // 拆分为多个树
332
+ splitTemplates = compact(map(templates, function (template) {
333
+ if (get(template, 'pid') === 0) {
334
+ return _objectSpread(_objectSpread({}, template), {}, {
335
+ children: []
336
+ });
337
+ }
338
+ }));
339
+ splitTemplatesMapping = keyBy(splitTemplates, 'id');
340
+ map(_result3, function (template) {
341
+ var templatePid = get(template, 'pid');
342
+ if (indexOf(keys(splitTemplatesMapping), String(templatePid)) > -1) {
343
+ splitTemplatesMapping[templatePid]['children'].push(template);
344
+ }
345
+ });
346
+ _this.setState({
347
+ splitTemplatesMapping: splitTemplatesMapping,
348
+ result: _result3
349
+ });
350
+ case 35:
188
351
  case "end":
189
- return _context3.stop();
352
+ return _context2.stop();
190
353
  }
191
- }, _callee3);
192
- }));
193
- return _handleOk.apply(this, arguments);
194
- }
195
- function transferTemplateData(data) {
196
- var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
197
- var treeData = [];
198
- data.forEach(function (item) {
199
- if (item.pid === pid) {
200
- var tmpData = {
201
- key: String(item.id)
354
+ }, _callee2);
355
+ })));
356
+ _defineProperty(_this, "handleAddTemplate", function (e) {
357
+ e.stopPropagation();
358
+ _this.setState({
359
+ editModalVisible: true,
360
+ activeTemplate: {}
361
+ });
362
+ });
363
+ _defineProperty(_this, "handleHideEditModal", function () {
364
+ _this.setState({
365
+ editModalVisible: false,
366
+ activeTemplate: {}
367
+ });
368
+ });
369
+ _defineProperty(_this, "closeModal", function () {
370
+ var onCancel = _this.props.onCancel;
371
+ onCancel && onCancel();
372
+ _this.setState({
373
+ splitTemplatesMapping: {}
374
+ });
375
+ });
376
+ _defineProperty(_this, "handleSubmitEditModal", /*#__PURE__*/function () {
377
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(data) {
378
+ var _this$state, templateType, activeTemplate, _this$props2, user, _this$props2$depid, depid;
379
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
380
+ while (1) switch (_context3.prev = _context3.next) {
381
+ case 0:
382
+ _this$state = _this.state, templateType = _this$state.templateType, activeTemplate = _this$state.activeTemplate;
383
+ _this$props2 = _this.props, user = _this$props2.user, _this$props2$depid = _this$props2.depid, depid = _this$props2$depid === void 0 ? 1 : _this$props2$depid;
384
+ if (templateType === 2) {
385
+ set(data, 'userid', get(user, 'basicInfo.id'));
386
+ }
387
+ if (isEmpty(activeTemplate)) {
388
+ _context3.next = 8;
389
+ break;
390
+ }
391
+ _context3.next = 6;
392
+ return updateResources(DEFAULT_URL, _objectSpread(_objectSpread(_objectSpread({}, activeTemplate), data), {}, {
393
+ depid: depid
394
+ }));
395
+ case 6:
396
+ _context3.next = 10;
397
+ break;
398
+ case 8:
399
+ _context3.next = 10;
400
+ return createResources(DEFAULT_URL, _objectSpread(_objectSpread({}, data), {}, {
401
+ depid: depid
402
+ }));
403
+ case 10:
404
+ _this.setState({
405
+ editModalVisible: false,
406
+ activeTemplate: {}
407
+ });
408
+ message.success('提交模板成功');
409
+ _this.getTemplateList();
410
+ case 13:
411
+ case "end":
412
+ return _context3.stop();
413
+ }
414
+ }, _callee3);
415
+ }));
416
+ return function (_x) {
417
+ return _ref3.apply(this, arguments);
418
+ };
419
+ }());
420
+ _defineProperty(_this, "handleEditTemplate", function (template) {
421
+ return /*#__PURE__*/function () {
422
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(e) {
423
+ var activeTemplate;
424
+ return _regeneratorRuntime.wrap(function _callee4$(_context4) {
425
+ while (1) switch (_context4.prev = _context4.next) {
426
+ case 0:
427
+ e.stopPropagation();
428
+ _context4.next = 3;
429
+ return getResourcesByID(DEFAULT_URL, get(template, 'id'));
430
+ case 3:
431
+ activeTemplate = _context4.sent;
432
+ _this.setState({
433
+ editModalVisible: true,
434
+ activeTemplate: activeTemplate
435
+ });
436
+ case 5:
437
+ case "end":
438
+ return _context4.stop();
439
+ }
440
+ }, _callee4);
441
+ }));
442
+ return function (_x2) {
443
+ return _ref4.apply(this, arguments);
202
444
  };
203
- if (item.pid === 0) tmpData.className = styles['tree-title'];
204
- tmpData.title = item.val;
205
- tmpData.key = String(item.id);
206
- tmpData.children = transferTemplateData(data, item.id);
207
- if (_isEmpty(tmpData.children)) {
208
- tmpData.isLeaf = true;
209
- } else {
210
- tmpData.isLeaf = false;
445
+ }();
446
+ });
447
+ _defineProperty(_this, "handleConfirmDelete", function (template) {
448
+ return /*#__PURE__*/function () {
449
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(e) {
450
+ return _regeneratorRuntime.wrap(function _callee5$(_context5) {
451
+ while (1) switch (_context5.prev = _context5.next) {
452
+ case 0:
453
+ e.stopPropagation();
454
+ _context5.next = 3;
455
+ return deleteResourcesByID(DEFAULT_URL, get(template, 'id'));
456
+ case 3:
457
+ message.success('删除模板成功');
458
+ _this.getTemplateList();
459
+ case 5:
460
+ case "end":
461
+ return _context5.stop();
462
+ }
463
+ }, _callee5);
464
+ }));
465
+ return function (_x3) {
466
+ return _ref5.apply(this, arguments);
467
+ };
468
+ }();
469
+ });
470
+ _defineProperty(_this, "handleSelectTemplates", function (checked, e) {
471
+ var selectedRowKeys = _this.state.selectedRowKeys;
472
+ _this.setState({
473
+ selectedRowKeys: Array.from(new Set([].concat(_toConsumableArray(selectedRowKeys), _toConsumableArray(checked)))),
474
+ selectedRows: e.checkedNodes
475
+ });
476
+ });
477
+ _defineProperty(_this, "getproposalTemp", function (data, info) {
478
+ _this.setState({
479
+ surgicalSelected: data
480
+ });
481
+ });
482
+ _defineProperty(_this, "handleOk", function () {
483
+ var onOk = _this.props.onOk;
484
+ var _this$state2 = _this.state,
485
+ selectedRowKeys = _this$state2.selectedRowKeys,
486
+ result = _this$state2.result,
487
+ templateType = _this$state2.templateType,
488
+ allLabexams = _this$state2.allLabexams,
489
+ selectedRows = _this$state2.selectedRows,
490
+ surgicalSelected = _this$state2.surgicalSelected;
491
+ var content = '';
492
+ var addList = [];
493
+ var treeData = result;
494
+ if (templateType === 3 || templateType === 4) {
495
+ treeData = allLabexams;
496
+ }
497
+ var treeDataMapping = keyBy(treeData, 'id');
498
+ map(selectedRowKeys, function (selectedKey) {
499
+ var item = get(treeDataMapping, selectedKey);
500
+ if (!isEmpty(item) && get(item, 'isLeaf')) {
501
+ content += "".concat(get(treeDataMapping, "".concat(selectedKey, ".val")), "\uFF1B");
502
+ }
503
+ });
504
+ if (templateType === 5) {
505
+ addList = filter(selectedRows, function (item) {
506
+ return !item.type;
507
+ });
508
+ if (size(addList) > 0) {
509
+ map(addList, function (item) {
510
+ delete item.id;
511
+ });
211
512
  }
212
- treeData.push(tmpData);
513
+ onOk && onOk(addList);
514
+ return;
213
515
  }
516
+ for (var i = 0; i < surgicalSelected.length; i++) {
517
+ content += "".concat(surgicalSelected[i], "\uFF1B");
518
+ }
519
+ onOk && onOk(content);
520
+ });
521
+ _defineProperty(_this, "handleChangeTemplateType", function (nav) {
522
+ return /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
523
+ return _regeneratorRuntime.wrap(function _callee6$(_context6) {
524
+ while (1) switch (_context6.prev = _context6.next) {
525
+ case 0:
526
+ _this.setState({
527
+ templateType: nav.type
528
+ }, function () {
529
+ _this.getTemplateList();
530
+ });
531
+ case 1:
532
+ case "end":
533
+ return _context6.stop();
534
+ }
535
+ }, _callee6);
536
+ }));
214
537
  });
215
- return treeData;
538
+ _defineProperty(_this, "transferTemplateData", function (data) {
539
+ var treeData = [];
540
+ map(data, function (item, index) {
541
+ if (item.date) {
542
+ item.title = "".concat(item.date, " ").concat(item.type);
543
+ item.key = index;
544
+ var diags = [];
545
+ if (size(item.pds) > 0) {
546
+ diags = item.pds;
547
+ } else {
548
+ diags = item.ods;
549
+ }
550
+ item.children = _this.transferTemplateData(diags);
551
+ } else {
552
+ item.title = item.diagnosis;
553
+ item.key = String(item.id);
554
+ }
555
+ if (isEmpty(item.children)) {
556
+ item.isLeaf = true;
557
+ } else {
558
+ item.isLeaf = false;
559
+ }
560
+ treeData.push(item);
561
+ });
562
+ return treeData;
563
+ });
564
+ _defineProperty(_this, "renderDiagnosisHistory", function () {
565
+ var diagnosisList = _this.state.diagnosisList;
566
+ var treeData = _this.transferTemplateData(diagnosisList);
567
+ return size(treeData) > 0 && /*#__PURE__*/React.createElement(Tree, {
568
+ checkable: true,
569
+ defaultExpandAll: true,
570
+ onCheck: _this.handleSelectTemplates,
571
+ treeData: treeData
572
+ });
573
+ });
574
+ _defineProperty(_this, "renderLabexams", function () {
575
+ var labexams = _this.state.labexams;
576
+ return /*#__PURE__*/React.createElement(Tree, {
577
+ checkable: true,
578
+ defaultExpandAll: true,
579
+ onCheck: _this.handleSelectTemplates
580
+ }, _this.renderTreeNode(labexams));
581
+ });
582
+ _defineProperty(_this, "renderTreeNode", function (templatesTree) {
583
+ var templateType = _this.state.templateType;
584
+ return map(templatesTree, function (template) {
585
+ if (!isEmpty(get(template, 'children')) && !isNil(get(template, 'children'))) {
586
+ return /*#__PURE__*/React.createElement(Tree.TreeNode, {
587
+ title: /*#__PURE__*/React.createElement("div", {
588
+ className: "template-list-item"
589
+ }, /*#__PURE__*/React.createElement("div", null, "\xA0", get(template, 'val'), "\xA0"), (templateType === 1 || templateType === 2) && (/*#__PURE__*/React.createElement("div", {
590
+ className: "template-list-item__actions"
591
+ }, /*#__PURE__*/React.createElement(MyIcon, {
592
+ value: 'PlusCircleOutlined',
593
+ className: "template-list-item__actions-icon",
594
+ onClick: _this.handleAddTemplate
595
+ }), /*#__PURE__*/React.createElement(MyIcon, {
596
+ value: 'EditOutlined',
597
+ className: "template-list-item__actions-icon",
598
+ onClick: _this.handleEditTemplate(template)
599
+ }), /*#__PURE__*/React.createElement(Popconfirm, {
600
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6A21\u677F\u5417\uFF1F",
601
+ onConfirm: _this.handleConfirmDelete(template)
602
+ }, /*#__PURE__*/React.createElement(MyIcon, {
603
+ value: 'DeleteOutlined',
604
+ className: "template-list-item__actions-icon"
605
+ }))))),
606
+ key: get(template, 'id')
607
+ }, _this.renderTreeNode(get(template, 'children')));
608
+ }
609
+ return /*#__PURE__*/React.createElement(Tree.TreeNode, {
610
+ title: /*#__PURE__*/React.createElement("div", {
611
+ className: "template-list-item"
612
+ }, /*#__PURE__*/React.createElement("div", null, get(template, 'val')), (templateType === 1 || templateType === 2) && (/*#__PURE__*/React.createElement("div", {
613
+ className: "template-list-item__actions"
614
+ }, /*#__PURE__*/React.createElement(MyIcon, {
615
+ value: 'PlusCircleOutlined',
616
+ className: "template-list-item__actions-icon",
617
+ onClick: _this.handleAddTemplate
618
+ }), /*#__PURE__*/React.createElement(MyIcon, {
619
+ value: 'EditOutlined',
620
+ className: "template-list-item__actions-icon",
621
+ onClick: _this.handleEditTemplate(template)
622
+ }), /*#__PURE__*/React.createElement(Popconfirm, {
623
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6A21\u677F\u5417\uFF1F",
624
+ onConfirm: _this.handleConfirmDelete(template)
625
+ }, /*#__PURE__*/React.createElement(MyIcon, {
626
+ value: 'DeleteOutlined',
627
+ className: "template-list-item__actions-icon"
628
+ }))))),
629
+ key: get(template, 'id')
630
+ });
631
+ });
632
+ });
633
+ _defineProperty(_this, "renderModal", function () {
634
+ var depid = _this.props.depid;
635
+ var _this$state3 = _this.state,
636
+ editModalVisible = _this$state3.editModalVisible,
637
+ templateType = _this$state3.templateType,
638
+ activeTemplate = _this$state3.activeTemplate,
639
+ splitTemplatesMapping = _this$state3.splitTemplatesMapping,
640
+ surgicalTemplate = _this$state3.surgicalTemplate;
641
+ return /*#__PURE__*/React.createElement(Layout, null, /*#__PURE__*/React.createElement(Content, {
642
+ style: {
643
+ background: '#fff',
644
+ paddingLeft: '10px',
645
+ overflow: 'auto',
646
+ maxHeight: '520px'
647
+ }
648
+ }, /*#__PURE__*/React.createElement("div", {
649
+ className: "textarea-with-template__modal-nav"
650
+ }, /*#__PURE__*/React.createElement("div", null, map(MODAL_NAVS, function (nav, key) {
651
+ return /*#__PURE__*/React.createElement(Button, {
652
+ className: "textarea-with-template__modal-nav__items",
653
+ type: templateType === nav.type ? 'primary' : 'default',
654
+ key: key,
655
+ onClick: _this.handleChangeTemplateType(nav)
656
+ }, nav.label);
657
+ })), (templateType === 1 || templateType === 2) && (/*#__PURE__*/React.createElement(Button, {
658
+ onClick: _this.handleAddTemplate,
659
+ style: {
660
+ marginRight: 10
661
+ }
662
+ }, "\u6DFB\u52A0\u6A21\u677F"))), /*#__PURE__*/React.createElement(Row, {
663
+ className: "textarea-with-template__modal-body"
664
+ }, (templateType === 1 || templateType === 2) && (/*#__PURE__*/React.createElement(React.Fragment, null, map(splitTemplatesMapping, function (templateTree) {
665
+ return /*#__PURE__*/React.createElement(Col, {
666
+ span: 12
667
+ }, /*#__PURE__*/React.createElement(Tree, {
668
+ checkable: true,
669
+ defaultExpandAll: true,
670
+ onCheck: _this.handleSelectTemplates
671
+ }, _this.renderTreeNode([templateTree])));
672
+ }))), (templateType === 3 || templateType === 4) && _this.renderLabexams(), templateType === 5 && _this.renderDiagnosisHistory()), editModalVisible && (/*#__PURE__*/React.createElement(EditModal, {
673
+ templateType: templateType,
674
+ userid: get(_this.props, 'user.basicInfo.id'),
675
+ visible: editModalVisible,
676
+ data: activeTemplate,
677
+ depid: depid,
678
+ onCancel: _this.handleHideEditModal,
679
+ onSubmit: _this.handleSubmitEditModal
680
+ }))));
681
+ });
682
+ _this.state = {
683
+ result: [],
684
+ labexams: [],
685
+ allLabexams: [],
686
+ selectedRowKeys: [],
687
+ selectedRows: [],
688
+ editModalVisible: false,
689
+ templateType: 1,
690
+ activeTemplate: {},
691
+ splitTemplatesMapping: {},
692
+ diagnosisList: [],
693
+ surgicalTemplate: [],
694
+ surgicalSelected: []
695
+ };
696
+ return _this;
216
697
  }
217
- function renderFooter() {
218
- return /*#__PURE__*/React.createElement(_Space, {
219
- style: {
220
- display: 'flex',
221
- alignItems: 'center',
222
- justifyContent: 'center'
698
+ _inherits(TemplateModal, _React$Component);
699
+ return _createClass(TemplateModal, [{
700
+ key: "componentDidMount",
701
+ value: function () {
702
+ var _componentDidMount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
703
+ var surgicalTemplate;
704
+ return _regeneratorRuntime.wrap(function _callee7$(_context7) {
705
+ while (1) switch (_context7.prev = _context7.next) {
706
+ case 0:
707
+ surgicalTemplate = [];
708
+ _context7.next = 3;
709
+ return this.getTemplateList();
710
+ case 3:
711
+ //手术模板
712
+ map(NurseTypesMapping, function (item, index) {
713
+ surgicalTemplate.push({
714
+ title: item.name,
715
+ key: item.name
716
+ });
717
+ });
718
+ this.setState({
719
+ surgicalTemplate: surgicalTemplate
720
+ });
721
+ case 5:
722
+ case "end":
723
+ return _context7.stop();
724
+ }
725
+ }, _callee7, this);
726
+ }));
727
+ function componentDidMount() {
728
+ return _componentDidMount.apply(this, arguments);
223
729
  }
224
- }, /*#__PURE__*/React.createElement(_Button, {
225
- key: "back",
226
- onClick: function onClick() {
227
- return close === null || close === void 0 ? void 0 : close(false);
228
- }
229
- }, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(_Button, {
230
- key: "submit",
231
- type: "primary",
232
- onClick: handleOk
233
- }, "\u786E\u5B9A"), /*#__PURE__*/React.createElement(ReactToPrint, {
234
- trigger: function trigger() {
235
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_Button, {
236
- type: "primary"
237
- }, "\u6253\u5370"));
730
+ return componentDidMount;
731
+ }()
732
+ }, {
733
+ key: "render",
734
+ value: function render() {
735
+ return /*#__PURE__*/React.createElement(Modal, _objectSpread(_objectSpread({}, this.props), {}, {
736
+ className: "textarea-with-template__modal",
737
+ title: "\u6A21\u677F\u5BFC\u5165",
738
+ width: 1100,
739
+ onCancel: this.closeModal,
740
+ onOk: this.handleOk
741
+ }), this.renderModal());
742
+ }
743
+ }]);
744
+ }(React.Component);
745
+ var TemplateModal$1 = TemplateModal;
746
+ var TextareaWithTemplate = /*#__PURE__*/function (_Component) {
747
+ function TextareaWithTemplate(props) {
748
+ var _this2;
749
+ _classCallCheck(this, TextareaWithTemplate);
750
+ _this2 = _callSuper(this, TextareaWithTemplate, [props]);
751
+ _defineProperty(_this2, "handleTextareaChange", function (e) {
752
+ var onChange = _this2.props.onChange;
753
+ var inputProps = get(_this2.props, 'config.inputProps') || {};
754
+ if (get(inputProps, 'maxLength') && e.target.value.length === get(inputProps, 'maxLength')) {
755
+ message.error('健康宣教内容无法输入更多。');
238
756
  }
239
- /*为了获取更新数据后的页面*/,
240
- onBeforeGetContent: function () {
241
- var _onBeforeGetContent = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
242
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
243
- while (1) switch (_context2.prev = _context2.next) {
244
- case 0:
245
- setTimeout(function () {}, 100);
246
- case 1:
247
- case "end":
248
- return _context2.stop();
757
+ _this2.setState({
758
+ value: e.target.value
759
+ });
760
+ onChange && onChange(e.target.value);
761
+ });
762
+ _defineProperty(_this2, "openModal", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {
763
+ var disabled;
764
+ return _regeneratorRuntime.wrap(function _callee8$(_context8) {
765
+ while (1) switch (_context8.prev = _context8.next) {
766
+ case 0:
767
+ disabled = _this2.props.disabled;
768
+ if (!disabled) {
769
+ _context8.next = 3;
770
+ break;
249
771
  }
250
- }, _callee2);
251
- }));
252
- function onBeforeGetContent() {
253
- return _onBeforeGetContent.apply(this, arguments);
772
+ return _context8.abrupt("return");
773
+ case 3:
774
+ _this2.setState({
775
+ modalVisible: true
776
+ });
777
+ case 4:
778
+ case "end":
779
+ return _context8.stop();
254
780
  }
255
- return onBeforeGetContent;
256
- }(),
257
- content: function content() {
258
- return printTableRef.current;
259
- }
260
- }));
781
+ }, _callee8);
782
+ })));
783
+ _defineProperty(_this2, "closeModal", function () {
784
+ _this2.setState({
785
+ modalVisible: false
786
+ });
787
+ });
788
+ _defineProperty(_this2, "handleOk", function (data) {
789
+ var onChange = _this2.props.onChange;
790
+ var value = get(_this2.state, 'value') || '';
791
+ var content = "".concat(value).concat(data);
792
+ _this2.setState({
793
+ value: "".concat(value).concat(data),
794
+ modalVisible: false
795
+ });
796
+ onChange && onChange(content);
797
+ });
798
+ _this2.state = {
799
+ modalVisible: false,
800
+ value: props.value
801
+ };
802
+ return _this2;
261
803
  }
262
- var treeData = transferTemplateData(treeToalc);
263
- return /*#__PURE__*/React.createElement(_Modal, _extends({}, others, {
264
- className: styles["tolac-modal"],
265
- title: "\u7622\u75D5\u5B50\u5BAB\u9634\u9053\u8BD5\u4EA7\u8868",
266
- width: 800,
267
- onOk: handleOk,
268
- maskClosable: false,
269
- footer: renderFooter()
270
- }), !!treeToalc.length && /*#__PURE__*/React.createElement(Tree, {
271
- checkable: true,
272
- defaultExpandAll: true,
273
- checkedKeys: toalcKeys,
274
- treeData: treeData,
275
- onCheck: handleCheck
276
- }), /*#__PURE__*/React.createElement("div", {
277
- style: {
278
- display: 'none'
804
+ _inherits(TextareaWithTemplate, _Component);
805
+ return _createClass(TextareaWithTemplate, [{
806
+ key: "componentWillReceiveProps",
807
+ value: function componentWillReceiveProps(nextProps) {
808
+ if (!isEqual(nextProps.value, this.props.value)) {
809
+ this.setState({
810
+ value: nextProps.value
811
+ });
812
+ }
279
813
  }
280
- }, /*#__PURE__*/React.createElement("div", {
281
- style: {
282
- marginTop: '28px'
283
- },
284
- ref: printTableRef,
285
- className: styles['printtoalc']
286
- }, /*#__PURE__*/React.createElement("h2", {
287
- style: {
288
- textAlign: 'center'
814
+ }, {
815
+ key: "render",
816
+ value: function render() {
817
+ var _this$state4 = this.state,
818
+ modalVisible = _this$state4.modalVisible,
819
+ value = _this$state4.value;
820
+ var _this$props3 = this.props,
821
+ disabled = _this$props3.disabled,
822
+ patientId = _this$props3.patientId,
823
+ admissionId = _this$props3.admissionId,
824
+ pregnancyId = _this$props3.pregnancyId;
825
+ var inputProps = get(this.props, 'config.inputProps') || {};
826
+ return /*#__PURE__*/React.createElement("div", {
827
+ className: styles["textarea-with-template"],
828
+ style: get(inputProps, 'showCount') ? {
829
+ marginBottom: 16
830
+ } : {
831
+ marginBottom: 0
832
+ }
833
+ }, /*#__PURE__*/React.createElement(Input.TextArea, _objectSpread({
834
+ disabled: disabled,
835
+ title: value,
836
+ value: value,
837
+ autoSize: {
838
+ minRows: 2,
839
+ maxRows: 5
840
+ },
841
+ onChange: this.handleTextareaChange,
842
+ className: styles["template-textarea"]
843
+ }, inputProps)), /*#__PURE__*/React.createElement("div", {
844
+ className: classnames(styles['textarea-with-template__action'], _defineProperty({}, styles['textarea-with-template__action_disabled'], disabled)),
845
+ onClick: this.openModal
846
+ }, /*#__PURE__*/React.createElement("span", null, "\u6A21")), modalVisible && (/*#__PURE__*/React.createElement(TemplateModal$1, {
847
+ visible: modalVisible,
848
+ onCancel: this.closeModal,
849
+ onOk: this.handleOk,
850
+ patientId: patientId,
851
+ admissionId: admissionId,
852
+ pregnancyId: pregnancyId
853
+ })));
289
854
  }
290
- }, "\u7622\u75D5\u5B50\u5BAB\u9634\u9053\u8BD5\u4EA7\u8868"), !!treeToalc.length && /*#__PURE__*/React.createElement(Tree, {
291
- checkable: true,
292
- defaultExpandAll: true,
293
- checkedKeys: toalcKeys,
294
- treeData: treeData,
295
- onCheck: handleCheck
296
- }))));
297
- }
298
- export { Index as default };
299
- //# sourceMappingURL=.root67.js.map
855
+ }]);
856
+ }(Component);
857
+ export { TextareaWithTemplate as default };