@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,1011 +1,107 @@
1
- import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
1
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
2
  import _createClass from "@babel/runtime/helpers/createClass";
4
3
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
4
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
5
  import _inherits from "@babel/runtime/helpers/inherits";
7
6
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
- import _regeneratorRuntime from "@babel/runtime/regenerator";
11
7
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
12
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
- import { b as styleInject, C as CustomIcon, _ as _extends } from './index.js';
14
- import 'antd/es/row/style';
15
- import _Row from 'antd/es/row';
16
- import 'antd/es/popconfirm/style';
17
- import _Popconfirm from 'antd/es/popconfirm';
18
- import 'antd/es/col/style';
19
- import _Col from 'antd/es/col';
20
- import 'antd/es/input/style';
21
- import _Input from 'antd/es/input';
22
- import 'antd/es/button/style';
23
- import _Button from 'antd/es/button';
24
- import 'antd/es/message/style';
25
- import _message from 'antd/es/message';
26
- import _set from 'lodash/set';
27
- import _cloneDeep from 'lodash/cloneDeep';
28
- import _get from 'lodash/get';
29
9
  import React, { Component } from 'react';
30
- import { PlusCircleOutlined, EditOutlined, DeleteOutlined, ArrowUpOutlined, ArrowDownOutlined, UsergroupAddOutlined, UserAddOutlined } from '@ant-design/icons';
31
- import dayjs from 'dayjs';
32
- import 'antd/es/modal/style';
33
- import _Modal from 'antd/es/modal';
34
- import 'antd/es/tabs/style';
35
- import _Tabs from 'antd/es/tabs';
36
- import _size from 'lodash/size';
37
- import _omit from 'lodash/omit';
38
- import _map from 'lodash/map';
39
- import _isString from 'lodash/isString';
40
- import { SMchc_TemplateTrees } from '@lm_fe/service';
41
- import 'antd/es/tooltip/style';
42
- import _Tooltip from 'antd/es/tooltip';
43
- import _isUndefined from 'lodash/isUndefined';
44
- import _includes from 'lodash/includes';
45
- import _concat from 'lodash/concat';
46
- import _forEach from 'lodash/forEach';
47
- import _isEmpty from 'lodash/isEmpty';
10
+ import { AutoComplete, Row, Col, Divider } from 'antd';
11
+ import { concat, isArray, map } from 'lodash';
48
12
  import { request } from '@lm_fe/utils';
49
- import { LazyAntd } from '@lm_fe/components';
50
- import '@lm_fe/env';
51
- import 'lodash/isFunction';
52
- import 'antd/es/space/style';
53
- import 'antd/es/space';
54
- import 'antd/es/input-number/style';
55
- import 'antd/es/input-number';
56
- import 'lodash/indexOf';
57
- import 'lodash/compact';
58
- import 'classnames';
59
- import 'antd/es/checkbox/style';
60
- import 'antd/es/checkbox';
61
- import 'lodash/isNumber';
62
- import 'lodash/isBoolean';
63
- import 'antd/es/divider/style';
64
- import 'antd/es/divider';
65
- import 'antd/es/switch/style';
66
- import 'antd/es/switch';
67
- import 'antd/es/form/style';
68
- import 'antd/es/form';
69
- import 'lodash/join';
70
- import 'lodash/isEqual';
71
- import 'lodash/isArray';
72
- import 'lodash/identity';
73
- import 'lodash/isObject';
74
- import 'lodash/keys';
75
- import 'lodash/keyBy';
76
- import 'lodash/isNil';
77
- import 'antd/es/spin/style';
78
- import 'antd/es/spin';
79
- import 'lodash/has';
80
- import 'lodash/filter';
81
- import 'react-to-print';
82
- import 'lodash/reduce';
83
- import 'lodash/debounce';
84
- import 'lodash/pickBy';
85
- import 'antd/es/auto-complete/style';
86
- import 'antd/es/auto-complete';
87
- import 'lodash/nth';
88
- import 'lodash/assign';
89
- import 'antd/es/popover/style';
90
- import 'antd/es/popover';
91
- import 'antd/es/menu/style';
92
- import 'antd/es/menu';
93
- import 'store';
94
- import 'antd/es/radio/style';
95
- import 'antd/es/radio';
96
- import 'lodash/last';
97
- import 'lodash/toUpper';
98
- var css_248z$2 = ".template-tree-wrapper .add-btn {\n text-align: right;\n}\n.template-tree-wrapper .ant-tree .ant-tree-list .ant-tree-title {\n display: inline-block;\n max-width: 320px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.template-tree-wrapper .handle-icon {\n cursor: pointer;\n margin-left: 10px;\n}\n";
99
- styleInject(css_248z$2);
100
- var Tree = LazyAntd.Tree,
101
- TreeSelect = LazyAntd.TreeSelect,
102
- Select = LazyAntd.Select,
103
- Table = LazyAntd.Table,
104
- Dropdown = LazyAntd.Dropdown,
105
- Pagination = LazyAntd.Pagination;
106
- var operationMapping = {
107
- "new": '新增模板',
108
- add: '新增子模板',
109
- edit: '编辑模板',
110
- "delete": '请注意!'
111
- };
112
- var Index$2 = /*#__PURE__*/function (_Component) {
113
- function Index$2(props) {
13
+ var Option = AutoComplete.Option;
14
+ var AsyncAutoComplete = /*#__PURE__*/function (_Component) {
15
+ function AsyncAutoComplete() {
114
16
  var _this;
115
- _classCallCheck(this, Index$2);
116
- _this = _callSuper(this, Index$2, [props]);
117
- _defineProperty(_this, "getTemplateData", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
118
- var _this$props, type, depid, userid, paramsArr, paramsStr, res;
119
- return _regeneratorRuntime.wrap(function _callee$(_context) {
120
- while (1) switch (_context.prev = _context.next) {
121
- case 0:
122
- _this$props = _this.props, type = _this$props.type, depid = _this$props.depid, userid = _this$props.userid;
123
- paramsArr = {
124
- type: type,
125
- depid: depid,
126
- userid: userid
127
- };
128
- paramsStr = '';
129
- _forEach(paramsArr, function (value, key) {
130
- if (!_isUndefined(value)) {
131
- paramsStr += "".concat(key, ".equals=").concat(value, "&");
132
- }
133
- });
134
- _context.next = 6;
135
- return request.get("/api/template-trees?".concat(paramsStr, "page=0&size=500"));
136
- case 6:
137
- res = _context.sent;
138
- res = res || [];
139
- _this.setState({
140
- templateData: res
141
- });
142
- _this.setState({
143
- nodeTreeItem: null,
144
- operation: null,
145
- newTitle: null,
146
- addTitle: null
147
- });
148
- case 10:
149
- case "end":
150
- return _context.stop();
151
- }
152
- }, _callee);
153
- })));
154
- _defineProperty(_this, "handleTreeItem", function (operate) {
155
- _this.setState({
156
- modalVisible: true,
157
- operation: operate
158
- });
17
+ _classCallCheck(this, AsyncAutoComplete);
18
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
19
+ args[_key] = arguments[_key];
20
+ }
21
+ _this = _callSuper(this, AsyncAutoComplete, [].concat(args));
22
+ _defineProperty(_this, "state", {
23
+ options: [],
24
+ scrollPage: 0
25
+ });
26
+ _defineProperty(_this, "handleFocus", function () {
27
+ var options = _this.state.options;
28
+ var value = _this.props.value;
29
+ if (options && options.length > 0) {
30
+ return;
31
+ }
32
+ _this.fetchOptions(value);
33
+ });
34
+ _defineProperty(_this, "handleSearch", function (value) {});
35
+ _defineProperty(_this, "handleSelect", function (value, option) {
36
+ console.log('--------', value, option);
37
+ });
38
+ _defineProperty(_this, "handlePopupScroll", function (e) {
39
+ e.persist();
40
+ var target = e.target;
41
+ if (target.scrollTop + target.offsetHeight === target.scrollHeight) {
42
+ var scrollPage = _this.state.scrollPage;
43
+ console.log('----scrollPage----', scrollPage);
44
+ _this.fetchOptions(_this.props.value, scrollPage);
45
+ }
159
46
  });
160
- _defineProperty(_this, "handleTreeSort", /*#__PURE__*/function () {
161
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(sort) {
162
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
163
- while (1) switch (_context2.prev = _context2.next) {
164
- case 0:
165
- console.log('移动');
166
- case 1:
167
- case "end":
168
- return _context2.stop();
169
- }
170
- }, _callee2);
171
- }));
172
- return function (_x) {
173
- return _ref2.apply(this, arguments);
174
- };
175
- }());
176
- _defineProperty(_this, "handleIptChange", function (e, operation) {
177
- var nodeTreeItem = _this.state.nodeTreeItem;
178
- if (operation === 'new') _this.setState({
179
- newTitle: e.target.value
180
- });
181
- if (operation === 'add') _this.setState({
182
- addTitle: e.target.value
183
- });
184
- if (operation === 'edit') {
185
- var data = {
186
- title: e.target.value
187
- };
47
+ _defineProperty(_this, "fetchOptions", function (value) {
48
+ var page = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
49
+ var _this$props = _this.props,
50
+ api = _this$props.api,
51
+ valueKey = _this$props.valueKey;
52
+ var _this$state = _this.state,
53
+ options = _this$state.options,
54
+ scrollPage = _this$state.scrollPage;
55
+ request.get(api, {
56
+ params: _defineProperty({
57
+ size: 10,
58
+ page: page
59
+ }, "".concat(valueKey, ".contains"), value)
60
+ }).then(function (r) {
61
+ var newOptions = concat(options, r);
188
62
  _this.setState({
189
- nodeTreeItem: _objectSpread(_objectSpread({}, nodeTreeItem), data)
63
+ options: newOptions,
64
+ scrollPage: scrollPage + 1
190
65
  });
191
- }
192
- });
193
- _defineProperty(_this, "handleOk", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
194
- var _this$props2, type, depid, userid, _this$state, nodeTreeItem, addTitle, operation, newTitle, newItem, addItem, editItem;
195
- return _regeneratorRuntime.wrap(function _callee3$(_context3) {
196
- while (1) switch (_context3.prev = _context3.next) {
197
- case 0:
198
- _this$props2 = _this.props, type = _this$props2.type, depid = _this$props2.depid, userid = _this$props2.userid;
199
- _this$state = _this.state, nodeTreeItem = _this$state.nodeTreeItem, addTitle = _this$state.addTitle, operation = _this$state.operation, newTitle = _this$state.newTitle;
200
- if (!(operation === 'new')) {
201
- _context3.next = 7;
202
- break;
203
- }
204
- newItem = {
205
- pid: 0,
206
- val: newTitle,
207
- type: type,
208
- depid: depid,
209
- userid: userid
210
- };
211
- _context3.next = 6;
212
- return request.post("/api/template-trees", newItem);
213
- case 6:
214
- _this.getTemplateData();
215
- case 7:
216
- if (!(operation === 'add')) {
217
- _context3.next = 12;
218
- break;
219
- }
220
- addItem = {
221
- pid: Number(nodeTreeItem.id),
222
- val: addTitle,
223
- type: type,
224
- depid: depid,
225
- userid: userid
226
- };
227
- _context3.next = 11;
228
- return request.post("/api/template-trees", addItem);
229
- case 11:
230
- _this.getTemplateData();
231
- case 12:
232
- if (!(operation === 'edit')) {
233
- _context3.next = 17;
234
- break;
235
- }
236
- editItem = {
237
- pid: Number(nodeTreeItem.pid),
238
- val: nodeTreeItem.title,
239
- type: type,
240
- depid: depid,
241
- userid: userid,
242
- id: nodeTreeItem.id
243
- };
244
- _context3.next = 16;
245
- return request.put("/api/template-trees", editItem);
246
- case 16:
247
- _this.getTemplateData();
248
- case 17:
249
- if (!(operation === 'delete')) {
250
- _context3.next = 21;
251
- break;
252
- }
253
- _context3.next = 20;
254
- return request["delete"]("/api/template-trees/".concat(nodeTreeItem.id));
255
- case 20:
256
- _this.getTemplateData();
257
- case 21:
258
- _this.setState({
259
- modalVisible: false,
260
- nodeTreeItem: null,
261
- operation: null
262
- });
263
- case 22:
264
- case "end":
265
- return _context3.stop();
266
- }
267
- }, _callee3);
268
- })));
269
- _defineProperty(_this, "handleCancel", function () {
270
- _this.setState({
271
- modalVisible: false,
272
- nodeTreeItem: null,
273
- operation: null
274
- });
275
- });
276
- _defineProperty(_this, "handleAddBtnClick", function () {
277
- _this.setState({
278
- operation: 'new',
279
- modalVisible: true
280
- });
281
- });
282
- _defineProperty(_this, "onMouseEnter", function (_ref4, area) {
283
- var event = _ref4.event,
284
- node = _ref4.node;
285
- var x = event.currentTarget.offsetLeft + event.currentTarget.clientWidth;
286
- var y = event.currentTarget.offsetTop;
287
- _this.setState({
288
- nodeTreeItem: {
289
- pageX: x,
290
- pageY: y,
291
- pid: node.props.pid,
292
- id: Number(node.props.eventKey),
293
- title: node.props.title,
294
- sort: node.props.sort
295
- },
296
- currentArea: area
297
66
  });
298
67
  });
299
- _defineProperty(_this, "handleCheck", function (keys) {
300
- var onChecked = _this.props.onChecked;
301
- var _this$state2 = _this.state,
302
- templateData = _this$state2.templateData,
303
- checkedKeys = _this$state2.checkedKeys;
304
- _this.setState({
305
- checkedKeys: keys
306
- });
307
- _forEach(templateData, function (item) {
308
- if (_includes(checkedKeys, "".concat(item.id))) {
309
- item.checked = true;
310
- } else {
311
- item.checked = false;
312
- }
313
- });
314
- onChecked && onChecked(templateData);
315
- });
316
- _defineProperty(_this, "handleCheckLeft", function (keys) {
317
- var onChecked = _this.props.onChecked;
318
- var _this$state3 = _this.state,
319
- templateData = _this$state3.templateData,
320
- checkedKeysRight = _this$state3.checkedKeysRight;
321
- var allCheckedKays = _concat(keys, checkedKeysRight);
322
- _this.setState({
323
- checkedKeysLeft: keys
324
- });
325
- _forEach(templateData, function (item) {
326
- if (_includes(allCheckedKays, "".concat(item.id))) {
327
- item.checked = true;
328
- } else {
329
- item.checked = false;
330
- }
331
- });
332
- onChecked && onChecked(templateData);
333
- });
334
- _defineProperty(_this, "handleCheckRight", function (keys) {
335
- var onChecked = _this.props.onChecked;
336
- var _this$state4 = _this.state,
337
- templateData = _this$state4.templateData,
338
- checkedKeysLeft = _this$state4.checkedKeysLeft;
339
- var allCheckedKays = _concat(keys, checkedKeysLeft);
340
- _this.setState({
341
- checkedKeysRight: keys
342
- });
343
- _forEach(templateData, function (item) {
344
- if (_includes(allCheckedKays, "".concat(item.id))) {
345
- item.checked = true;
346
- } else {
347
- item.checked = false;
348
- }
349
- });
350
- onChecked && onChecked(templateData);
351
- });
352
- _defineProperty(_this, "transferTemplateData", function (data) {
353
- var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
354
- var showIcd = _this.props.showIcd;
355
- var treeData = [];
356
- _map(data, function (item) {
357
- if (item.pid === pid) {
358
- item.title = showIcd && item.code ? "\uFF08icd\uFF09".concat(item.val) : item.val;
359
- item.key = String(item.id);
360
- item.children = _this.transferTemplateData(data, item.id);
361
- if (_isEmpty(item.children)) {
362
- item.isLeaf = true;
363
- } else {
364
- item.isLeaf = false;
365
- }
366
- treeData.push(item);
367
- }
368
- });
369
- return treeData;
370
- });
371
- _defineProperty(_this, "handleSelect", function (selectedKeys, _ref5) {
372
- var node = _ref5.node;
373
- var onSelected = _this.props.onSelected;
374
- onSelected && onSelected(node);
375
- });
376
- _this.state = {
377
- templateData: null,
378
- checkedKeys: [],
379
- checkedKeysLeft: [],
380
- checkedKeysRight: [],
381
- currentArea: null,
382
- operation: null,
383
- nodeTreeItem: null,
384
- modalVisible: false,
385
- newTitle: null,
386
- // 新增主模板名称
387
- addTitle: null // 新增子模板名称
388
- };
389
68
  return _this;
390
69
  }
391
- _inherits(Index$2, _Component);
392
- return _createClass(Index$2, [{
393
- key: "componentDidMount",
394
- value: function componentDidMount() {
395
- this.getTemplateData();
396
- }
397
- }, {
398
- key: "renderNodeTreeMenu",
399
- value: function renderNodeTreeMenu() {
400
- var _this2 = this;
401
- var editable = this.props.editable;
402
- var nodeTreeItem = this.state.nodeTreeItem;
403
- var _nodeTreeItem = _objectSpread({}, nodeTreeItem),
404
- pageX = _nodeTreeItem.pageX,
405
- pageY = _nodeTreeItem.pageY,
406
- pid = _nodeTreeItem.pid;
407
- var menuStyle = {
408
- position: 'absolute',
409
- maxHeight: 40,
410
- textAlign: 'center',
411
- left: "".concat(pageX + 10, "px"),
412
- top: "".concat(pageY, "px"),
413
- display: 'flex',
414
- flexDirection: 'row'
415
- };
416
- return nodeTreeItem && editable ? /*#__PURE__*/React.createElement("div", {
417
- style: menuStyle
418
- }, pid === 0 ? /*#__PURE__*/React.createElement("div", {
419
- className: css_248z$2["handle-icon"],
420
- onClick: function onClick() {
421
- return _this2.handleTreeItem('add');
422
- }
423
- }, /*#__PURE__*/React.createElement(_Tooltip, {
424
- placement: "bottom",
425
- title: "\u6DFB\u52A0\u5B50\u6A21\u677F"
426
- }, /*#__PURE__*/React.createElement(PlusCircleOutlined, null))) : null, /*#__PURE__*/React.createElement("div", {
427
- className: css_248z$2["handle-icon"],
428
- onClick: function onClick() {
429
- return _this2.handleTreeItem('edit');
430
- }
431
- }, /*#__PURE__*/React.createElement(_Tooltip, {
432
- placement: "bottom",
433
- title: "\u4FEE\u6539"
434
- }, /*#__PURE__*/React.createElement(EditOutlined, null))), /*#__PURE__*/React.createElement("div", {
435
- className: css_248z$2["handle-icon"],
436
- onClick: function onClick() {
437
- return _this2.handleTreeItem('delete');
438
- }
439
- }, /*#__PURE__*/React.createElement(_Tooltip, {
440
- placement: "bottom",
441
- title: "\u5220\u9664"
442
- }, /*#__PURE__*/React.createElement(DeleteOutlined, null))), /*#__PURE__*/React.createElement("div", {
443
- className: css_248z$2["handle-icon"],
444
- onClick: function onClick() {
445
- return _this2.handleTreeSort('DOWN');
446
- }
447
- }, /*#__PURE__*/React.createElement(_Tooltip, {
448
- placement: "bottom",
449
- title: "\u4E0A\u79FB"
450
- }, /*#__PURE__*/React.createElement(ArrowUpOutlined, null))), /*#__PURE__*/React.createElement("div", {
451
- className: css_248z$2["handle-icon"],
452
- onClick: function onClick() {
453
- return _this2.handleTreeSort('UP');
454
- }
455
- }, /*#__PURE__*/React.createElement(_Tooltip, {
456
- placement: "bottom",
457
- title: "\u4E0B\u79FB"
458
- }, /*#__PURE__*/React.createElement(ArrowDownOutlined, null)))) : null;
459
- }
460
- }, {
461
- key: "renderHandleModal",
462
- value: function renderHandleModal() {
463
- var _this3 = this;
464
- var _this$state5 = this.state,
465
- modalVisible = _this$state5.modalVisible,
466
- nodeTreeItem = _this$state5.nodeTreeItem,
467
- addTitle = _this$state5.addTitle,
468
- operation = _this$state5.operation,
469
- newTitle = _this$state5.newTitle;
470
- var title = operationMapping[operation];
471
- return /*#__PURE__*/React.createElement(_Modal, {
472
- title: title,
473
- closable: true,
474
- visible: modalVisible,
475
- onCancel: this.handleCancel,
476
- onOk: this.handleOk
477
- }, operation === 'new' && /*#__PURE__*/React.createElement("div", null, "\u65B0\u589E\u6A21\u677F\u540D\u79F0\uFF1A", /*#__PURE__*/React.createElement(_Input, {
478
- value: newTitle,
479
- onChange: function onChange(e) {
480
- return _this3.handleIptChange(e, 'new');
481
- },
482
- style: {
483
- width: '50%'
484
- }
485
- })), operation === 'add' && /*#__PURE__*/React.createElement("div", null, "\u65B0\u589E\u5B50\u6A21\u677F\uFF1A", /*#__PURE__*/React.createElement(_Input, {
486
- value: addTitle,
487
- onChange: function onChange(e) {
488
- return _this3.handleIptChange(e, 'add');
489
- },
490
- style: {
491
- width: '50%'
492
- }
493
- })), operation === 'edit' && /*#__PURE__*/React.createElement("div", null, "\u7F16\u8F91\u6A21\u677F\u540D\u79F0\uFF1A", /*#__PURE__*/React.createElement(_Input, {
494
- value: nodeTreeItem.title,
495
- onChange: function onChange(e) {
496
- return _this3.handleIptChange(e, 'edit');
497
- },
498
- style: {
499
- width: '50%'
500
- }
501
- })), operation === 'delete' && /*#__PURE__*/React.createElement("div", null, "\u662F\u5426\u5220\u9664\u6A21\u677F\uFF1A", nodeTreeItem.title));
502
- }
503
- }, {
504
- key: "renderTreatment",
505
- value: function renderTreatment() {
506
- var _this4 = this;
507
- var _this$props3 = this.props,
508
- checkable = _this$props3.checkable,
509
- divide = _this$props3.divide,
510
- editable = _this$props3.editable;
511
- var _this$state6 = this.state,
512
- templateData = _this$state6.templateData,
513
- checkedKeys = _this$state6.checkedKeys,
514
- checkedKeysLeft = _this$state6.checkedKeysLeft,
515
- checkedKeysRight = _this$state6.checkedKeysRight,
516
- currentArea = _this$state6.currentArea,
517
- nodeTreeItem = _this$state6.nodeTreeItem;
518
- var treeData = this.transferTemplateData(templateData);
519
- return /*#__PURE__*/React.createElement("div", null, editable ? /*#__PURE__*/React.createElement("div", {
520
- className: css_248z$2["add-btn"]
521
- }, /*#__PURE__*/React.createElement(_Button, {
522
- size: "small",
523
- onClick: this.handleAddBtnClick
524
- }, "\u6DFB\u52A0\u6A21\u677F")) : null, divide ? /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
525
- span: 12
526
- }, /*#__PURE__*/React.createElement(Tree, {
527
- style: {
528
- maxHeight: '90%'
529
- },
530
- checkable: checkable,
531
- defaultExpandAll: true,
532
- checkedKeys: checkedKeysLeft.length === 0 ? [] : checkedKeysLeft,
533
- onCheck: this.handleCheckLeft,
534
- onSelect: this.handleSelect,
535
- onMouseEnter: function onMouseEnter(e) {
536
- return _this4.onMouseEnter(e, 'treeLeft');
537
- },
538
- treeData: treeData.slice(0, Math.ceil(treeData.length / 2))
539
- }), nodeTreeItem && currentArea === 'treeLeft' ? this.renderNodeTreeMenu() : null), /*#__PURE__*/React.createElement(_Col, {
540
- span: 12
541
- }, /*#__PURE__*/React.createElement(Tree, {
542
- style: {
543
- maxHeight: '90%'
544
- },
545
- checkable: checkable,
546
- defaultExpandAll: true,
547
- checkedKeys: checkedKeysRight.length === 0 ? [] : checkedKeysRight,
548
- onCheck: this.handleCheckRight,
549
- onSelect: this.handleSelect,
550
- onMouseEnter: function onMouseEnter(e) {
551
- return _this4.onMouseEnter(e, 'treeright');
552
- },
553
- treeData: treeData.slice(Math.ceil(treeData.length / 2))
554
- }), nodeTreeItem && currentArea === 'treeright' ? this.renderNodeTreeMenu() : null)) : /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
555
- span: 24
556
- }, /*#__PURE__*/React.createElement(Tree, {
557
- style: {
558
- maxHeight: '90%'
559
- },
560
- checkable: checkable,
561
- defaultExpandAll: true,
562
- checkedKeys: checkedKeys,
563
- onCheck: this.handleCheck,
564
- onSelect: this.handleSelect,
565
- onMouseEnter: function onMouseEnter(e) {
566
- return _this4.onMouseEnter(e, '');
567
- },
568
- treeData: treeData
569
- }), nodeTreeItem ? this.renderNodeTreeMenu() : null)));
570
- }
571
- }, {
70
+ _inherits(AsyncAutoComplete, _Component);
71
+ return _createClass(AsyncAutoComplete, [{
572
72
  key: "render",
573
73
  value: function render() {
574
- var templateData = this.state.templateData;
575
- return /*#__PURE__*/React.createElement("div", {
576
- className: css_248z$2["template-tree-wrapper"]
577
- }, templateData && this.renderTreatment(), this.renderHandleModal());
578
- }
579
- }]);
580
- }(Component);
581
- var css_248z$1 = ".index-module_diag-template__-t0pr {\n width: 700px !important;\n height: 600px;\n}\n.index-module_diag-template__-t0pr .index-module_diag-ipt__iyREK {\n width: 80%;\n}\n.index-module_diag-template__-t0pr .index-module_search-info__NznZQ {\n color: #242741;\n font-size: 12px;\n margin: 8px 0 0 5px;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tabs-content__zh7BS {\n height: 450px;\n overflow-y: auto;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tabs-top__3tcuh > .index-module_ant-tabs-nav__Hi3SH::before {\n border: none;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tabs-bar__WDSRD {\n border-bottom: none;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tabs-tab-active__MWxhL .index-module_list-btn__YUeFA {\n color: #3d8bf7;\n border: 1px solid #007aff;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tabs-ink-bar__aAF-9 {\n display: none !important;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tabs-nav__Hi3SH {\n margin-bottom: 0;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tabs-nav__Hi3SH .index-module_ant-tabs-tab-inner__rceG6 {\n padding: 0;\n padding-bottom: 3px;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tabs-nav__Hi3SH .index-module_ant-tabs-tab__a9aFi {\n margin-right: 12px;\n}\n.index-module_diag-template__-t0pr .index-module_diag-item__xiMSD {\n padding-left: 3px;\n color: #383f4a;\n font-size: 16px;\n font-weight: 600;\n margin-bottom: 6px;\n cursor: pointer;\n}\n.index-module_diag-template__-t0pr .index-module_diag-item__xiMSD .index-module_diag-icon__sCGp4 {\n margin-left: 8px;\n display: none;\n}\n.index-module_diag-template__-t0pr .index-module_diag-item__xiMSD:hover {\n font-size: 18px;\n color: #007aff;\n border-radius: 6px;\n background-color: #f2f2fa;\n}\n.index-module_diag-template__-t0pr .index-module_diag-item__xiMSD:hover .index-module_diag-icon__sCGp4 {\n display: inline-block;\n}\n.index-module_diag-template__-t0pr .index-module_diag-item__xiMSD .index-module_diag-code__OH4Z3 {\n display: inline-block;\n border: 1px #007aff solid;\n margin-right: 6px;\n font-size: 12px;\n border-radius: 4px;\n padding: 0 3px;\n height: 16px;\n line-height: 16px;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tree__p0JlJ {\n padding: 0;\n font-weight: 600;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tree__p0JlJ .index-module_ant-tree-title__n3AP9 {\n padding-left: 3px;\n color: #383f4a;\n font-weight: 600;\n margin-bottom: 0;\n cursor: pointer;\n}\n.index-module_diag-template__-t0pr .index-module_ant-tree__p0JlJ .index-module_ant-tree-title__n3AP9:hover {\n font-size: 18px;\n color: #007aff;\n border-radius: 6px;\n background-color: #f2f2fa;\n}\n.index-module_diag-template__-t0pr .index-module_list-btn__YUeFA {\n height: 32px;\n color: #535881;\n font-weight: 600;\n padding: 0 15px;\n background-color: #fff;\n border: 1px solid #d8dce6;\n}\n";
582
- var styles$1 = {
583
- "diag-template": "index-module_diag-template__-t0pr",
584
- "diag-ipt": "index-module_diag-ipt__iyREK",
585
- "search-info": "index-module_search-info__NznZQ",
586
- "ant-tabs-content": "index-module_ant-tabs-content__zh7BS",
587
- "ant-tabs-top": "index-module_ant-tabs-top__3tcuh",
588
- "ant-tabs-nav": "index-module_ant-tabs-nav__Hi3SH",
589
- "ant-tabs-bar": "index-module_ant-tabs-bar__WDSRD",
590
- "ant-tabs-tab-active": "index-module_ant-tabs-tab-active__MWxhL",
591
- "list-btn": "index-module_list-btn__YUeFA",
592
- "ant-tabs-ink-bar": "index-module_ant-tabs-ink-bar__aAF-9",
593
- "ant-tabs-tab-inner": "index-module_ant-tabs-tab-inner__rceG6",
594
- "ant-tabs-tab": "index-module_ant-tabs-tab__a9aFi",
595
- "diag-item": "index-module_diag-item__xiMSD",
596
- "diag-icon": "index-module_diag-icon__sCGp4",
597
- "diag-code": "index-module_diag-code__OH4Z3",
598
- "ant-tree": "index-module_ant-tree__p0JlJ",
599
- "ant-tree-title": "index-module_ant-tree-title__n3AP9"
600
- };
601
- styleInject(css_248z$1);
602
- var Index$1 = /*#__PURE__*/function (_Component2) {
603
- function Index$1() {
604
- var _this5;
605
- _classCallCheck(this, Index$1);
606
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
607
- args[_key] = arguments[_key];
608
- }
609
- _this5 = _callSuper(this, Index$1, [].concat(args));
610
- _defineProperty(_this5, "state", {
611
- activeKey: '1',
612
- allDiagnosesTemplate: []
613
- });
614
- _defineProperty(_this5, "getDiagnosesTemplate", /*#__PURE__*/function () {
615
- var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(value) {
616
- var res;
617
- return _regeneratorRuntime.wrap(function _callee4$(_context4) {
618
- while (1) switch (_context4.prev = _context4.next) {
619
- case 0:
620
- _context4.next = 2;
621
- return SMchc_TemplateTrees.getDiagnosesTemplate(value);
622
- case 2:
623
- res = _context4.sent;
624
- _this5.setState({
625
- allDiagnosesTemplate: res
626
- });
627
- case 4:
628
- case "end":
629
- return _context4.stop();
630
- }
631
- }, _callee4);
632
- }));
633
- return function (_x2) {
634
- return _ref6.apply(this, arguments);
635
- };
636
- }());
637
- _defineProperty(_this5, "handleChangeTab", function (activeKey) {
638
- _this5.setState({
639
- activeKey: activeKey
640
- });
641
- });
642
- _defineProperty(_this5, "handleChange", /*#__PURE__*/function () {
643
- var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(value) {
644
- return _regeneratorRuntime.wrap(function _callee5$(_context5) {
645
- while (1) switch (_context5.prev = _context5.next) {
646
- case 0:
647
- if (_this5.timer) clearTimeout(_this5.timer);
648
- _this5.timer = setTimeout(function () {
649
- _this5.getDiagnosesTemplate(value);
650
- }, 500);
651
- case 2:
652
- case "end":
653
- return _context5.stop();
654
- }
655
- }, _callee5);
656
- }));
657
- return function (_x3) {
658
- return _ref7.apply(this, arguments);
659
- };
660
- }());
661
- _defineProperty(_this5, "handleSearch", function (item) {
662
- var _this5$props = _this5.props,
663
- closeTemplate = _this5$props.closeTemplate,
664
- addDiag = _this5$props.addDiag;
665
- if (item) {
666
- if (!_isString(item) && _size(item.children) > 0) return;
667
- if (_isString(item)) {
668
- addDiag({
669
- diagnosis: item
670
- });
671
- } else {
672
- _set(item, 'diagnosis', _get(item, 'val'));
673
- addDiag(_omit(item, ['id']));
674
- }
675
- closeTemplate();
676
- }
677
- });
678
- _defineProperty(_this5, "handleCancel", function () {
679
- var closeTemplate = _this5.props.closeTemplate;
680
- closeTemplate();
681
- });
682
- _defineProperty(_this5, "handleAddIcon", /*#__PURE__*/function () {
683
- var _ref8 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(item, type) {
684
- var basicInfo;
685
- return _regeneratorRuntime.wrap(function _callee6$(_context6) {
686
- while (1) switch (_context6.prev = _context6.next) {
687
- case 0:
688
- basicInfo = _this5.props.basicInfo;
689
- delete item.id;
690
- _set(item, 'pid', 0);
691
- _set(item, 'type', type);
692
- if (type === 2) {
693
- _set(item, 'depid', type);
694
- } else {
695
- _set(item, 'userid', _get(basicInfo, 'id'));
696
- }
697
- _context6.next = 7;
698
- return SMchc_TemplateTrees.addTemplateTree(item);
699
- case 7:
700
- _message.info('同步成功!');
701
- case 8:
702
- case "end":
703
- return _context6.stop();
704
- }
705
- }, _callee6);
74
+ var options = this.state.options;
75
+ var _this$props2 = this.props,
76
+ valueKey = _this$props2.valueKey,
77
+ columns = _this$props2.columns;
78
+ return /*#__PURE__*/React.createElement(AutoComplete, {
79
+ popupMatchSelectWidth: false,
80
+ onSearch: this.handleSearch,
81
+ onPopupScroll: this.handlePopupScroll,
82
+ onFocus: this.handleFocus,
83
+ onSelect: this.handleSelect,
84
+ placeholder: "\u8BF7\u8F93\u5165"
85
+ }, isArray(options) && options.map(function (option) {
86
+ return /*#__PURE__*/React.createElement(Option, {
87
+ key: "".concat(option === null || option === void 0 ? void 0 : option.id),
88
+ value: option[valueKey]
89
+ }, /*#__PURE__*/React.createElement(Row, {
90
+ gutter: 6
91
+ }, map(columns, function (column) {
92
+ return /*#__PURE__*/React.createElement(React.Fragment, {
93
+ key: column.key
94
+ }, /*#__PURE__*/React.createElement(Col, {
95
+ className: "text-overflow",
96
+ style: {
97
+ width: (column === null || column === void 0 ? void 0 : column.width) || 56
98
+ }
99
+ }, option[column === null || column === void 0 ? void 0 : column.key]), /*#__PURE__*/React.createElement(Divider, {
100
+ type: "vertical"
101
+ }));
102
+ })));
706
103
  }));
707
- return function (_x4, _x5) {
708
- return _ref8.apply(this, arguments);
709
- };
710
- }());
711
- return _this5;
712
- }
713
- _inherits(Index$1, _Component2);
714
- return _createClass(Index$1, [{
715
- key: "componentDidMount",
716
- value: function componentDidMount() {
717
- this.getDiagnosesTemplate('');
718
- }
719
- }, {
720
- key: "render",
721
- value: function render() {
722
- var _this6 = this;
723
- var _this$props4 = this.props,
724
- isShowDiagnosesTemplate = _this$props4.isShowDiagnosesTemplate,
725
- basicInfo = _this$props4.basicInfo,
726
- diagnosesWord = _this$props4.diagnosesWord;
727
- var _this$state7 = this.state,
728
- allDiagnosesTemplate = _this$state7.allDiagnosesTemplate,
729
- activeKey = _this$state7.activeKey;
730
- return /*#__PURE__*/React.createElement(_Modal, {
731
- centered: true,
732
- title: "\u6DFB\u52A0\u8BCA\u65AD",
733
- className: styles$1["diag-template"],
734
- footer: null,
735
- visible: isShowDiagnosesTemplate,
736
- onCancel: this.handleCancel
737
- }, /*#__PURE__*/React.createElement(_Input.Search, {
738
- className: styles$1["diag-ipt"],
739
- placeholder: "\u8BF7\u8F93\u5165\u8BCA\u65AD\u4FE1\u606F",
740
- enterButton: "\u6DFB\u52A0\u8BCA\u65AD",
741
- defaultValue: diagnosesWord,
742
- onChange: function onChange(e) {
743
- return _this6.handleChange(e.target.value);
744
- },
745
- onSearch: this.handleSearch
746
- }), /*#__PURE__*/React.createElement(_Tabs, {
747
- activeKey: activeKey,
748
- onChange: this.handleChangeTab
749
- }, /*#__PURE__*/React.createElement(_Tabs.TabPane, {
750
- tab: /*#__PURE__*/React.createElement(_Button, {
751
- className: styles$1["list-btn"]
752
- }, "\u5168\u90E8"),
753
- key: "1"
754
- }, _map(allDiagnosesTemplate, function (item) {
755
- return /*#__PURE__*/React.createElement("p", {
756
- className: styles$1["diag-item"]
757
- }, /*#__PURE__*/React.createElement("span", {
758
- onClick: function onClick() {
759
- return _this6.handleSearch(item);
760
- }
761
- }, _get(item, 'code') ? '(icd)' : null, _get(item, 'val')), /*#__PURE__*/React.createElement(UsergroupAddOutlined, {
762
- className: styles$1["diag-icon"],
763
- title: "\u540C\u6B65\u5230\u79D1\u5BA4\u8BCA\u65AD",
764
- onClick: function onClick() {
765
- return _this6.handleAddIcon(item, 2);
766
- }
767
- }), /*#__PURE__*/React.createElement(UserAddOutlined, {
768
- className: styles$1["diag-icon"],
769
- title: "\u540C\u6B65\u5230\u4E2A\u4EBA\u8BCA\u65AD",
770
- onClick: function onClick() {
771
- return _this6.handleAddIcon(item, 3);
772
- }
773
- }));
774
- })), "(", /*#__PURE__*/React.createElement(_Tabs.TabPane, {
775
- tab: /*#__PURE__*/React.createElement(_Button, {
776
- className: styles$1["list-btn"]
777
- }, "\u79D1\u5BA4"),
778
- key: "2"
779
- }, activeKey === '2' && /*#__PURE__*/React.createElement(Index$2, {
780
- type: 2,
781
- depid: 2,
782
- checkable: false,
783
- onSelected: this.handleSearch,
784
- editable: true,
785
- showIcd: true
786
- })), ") (", /*#__PURE__*/React.createElement(_Tabs.TabPane, {
787
- tab: /*#__PURE__*/React.createElement(_Button, {
788
- className: styles$1["list-btn"]
789
- }, "\u4E2A\u4EBA"),
790
- key: "3"
791
- }, activeKey === '3' && /*#__PURE__*/React.createElement(Index$2, {
792
- type: 3,
793
- userid: _get(basicInfo, 'id'),
794
- checkable: false,
795
- onSelected: this.handleSearch,
796
- editable: true,
797
- showIcd: true
798
- })), ")"));
799
104
  }
800
105
  }]);
801
106
  }(Component);
802
- var css_248z = ".index-module_diagWrapper__gu-G2 {\n padding: 8px;\n max-height: 620px;\n overflow-y: auto;\n /*border: 1px solid #d7dce7;*/\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagIpt__rTEBn {\n padding-bottom: 5px;\n}\n.index-module_diagWrapper__gu-G2 .index-module_firstDiag__2T4Gu {\n display: flex;\n align-items: center;\n margin: 7px 0 7px 5px;\n font-weight: 600;\n color: #150f55;\n}\n.index-module_diagWrapper__gu-G2 .index-module_singleDiag__urINn {\n display: flex;\n align-items: center;\n margin: 7px 0 7px 5px;\n font-weight: 600;\n color: #150f55;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagGP__kJFGa {\n display: inline-block;\n width: 12px;\n height: 21px;\n line-height: 21px;\n border-bottom: 1px #fe708b solid;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagWeek__m0nuP {\n width: 34px;\n padding: 0 2px;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagWeek2__81AGR {\n width: 54px;\n padding: 0 2px;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagWord__8Ix-y {\n display: flex;\n align-items: center;\n color: #150f55;\n cursor: pointer;\n background-color: #fce6ea;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagHighrisk__-nelK {\n background-color: #fcb9c5;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagNote__MK8J- {\n min-width: 60px;\n height: 28px;\n flex: 1;\n border: 0 none;\n outline: none;\n box-shadow: none;\n background-color: transparent;\n border-bottom: 1px #fe708b solid;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagNote__MK8J-::-ms-input-placeholder {\n text-align: center;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diagNote__MK8J-::-webkit-input-placeholder {\n text-align: center;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diag-popover__Tziw4 {\n display: flex;\n align-items: center;\n}\n.index-module_diagWrapper__gu-G2 .index-module_diag-words__LFwLQ {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box !important;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n}\n.index-module_diagWrapper__gu-G2 .index-module_delBtn__PhMPK {\n color: #8a8a8a;\n font-size: 24px;\n}\n.index-module_diagHandle__0PiRp {\n cursor: pointer;\n color: #150f55;\n}\n";
803
- var styles = {
804
- "diagWrapper": "index-module_diagWrapper__gu-G2",
805
- "diagIpt": "index-module_diagIpt__rTEBn",
806
- "firstDiag": "index-module_firstDiag__2T4Gu",
807
- "singleDiag": "index-module_singleDiag__urINn",
808
- "diagGP": "index-module_diagGP__kJFGa",
809
- "diagWeek": "index-module_diagWeek__m0nuP",
810
- "diagWeek2": "index-module_diagWeek2__81AGR",
811
- "diagWord": "index-module_diagWord__8Ix-y",
812
- "diagHighrisk": "index-module_diagHighrisk__-nelK",
813
- "diagNote": "index-module_diagNote__MK8J-",
814
- "diag-popover": "index-module_diag-popover__Tziw4",
815
- "diag-words": "index-module_diag-words__LFwLQ",
816
- "delBtn": "index-module_delBtn__PhMPK",
817
- "diagHandle": "index-module_diagHandle__0PiRp"
818
- };
819
- styleInject(css_248z);
820
- var Index = /*#__PURE__*/function (_React$Component) {
821
- function Index() {
822
- var _this7;
823
- _classCallCheck(this, Index);
824
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
825
- args[_key2] = arguments[_key2];
826
- }
827
- _this7 = _callSuper(this, Index, [].concat(args));
828
- _defineProperty(_this7, "state", {
829
- isShowDiagnosesTemplate: false
830
- });
831
- _defineProperty(_this7, "getTitle", function (item) {
832
- var createdDate = item.createDate ? "\u8BCA\u65AD\u65F6\u95F4: ".concat(item.createDate, "\n") : '';
833
- var diagnosis = item.diagnosis ? "\u8BCA\u65AD\u5168\u79F0: ".concat(item.diagnosis, "\n") : '';
834
- var note = item.note ? "\u8BCA\u65AD\u5907\u6CE8: ".concat(item.note, "\n") : '';
835
- return "".concat(createdDate).concat(diagnosis).concat(note);
836
- });
837
- _defineProperty(_this7, "handleDelete", /*#__PURE__*/function () {
838
- var _ref9 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(item, i) {
839
- var _this7$props, value, onChange, newList;
840
- return _regeneratorRuntime.wrap(function _callee7$(_context7) {
841
- while (1) switch (_context7.prev = _context7.next) {
842
- case 0:
843
- _this7$props = _this7.props, value = _this7$props.value, onChange = _this7$props.onChange;
844
- newList = _cloneDeep(_get(value, 'list'));
845
- newList.splice(i, 1);
846
- onChange(_objectSpread(_objectSpread({}, value), {}, {
847
- list: newList
848
- }));
849
- case 4:
850
- case "end":
851
- return _context7.stop();
852
- }
853
- }, _callee7);
854
- }));
855
- return function (_x6, _x7) {
856
- return _ref9.apply(this, arguments);
857
- };
858
- }());
859
- _defineProperty(_this7, "changeNote", function (v, i) {
860
- var _this7$props2 = _this7.props,
861
- value = _this7$props2.value,
862
- onChange = _this7$props2.onChange;
863
- var newList = _cloneDeep(_get(value, 'list'));
864
- var item = newList[i];
865
- item.note = v;
866
- onChange(_objectSpread(_objectSpread({}, value), {}, {
867
- list: newList
868
- }));
869
- });
870
- _defineProperty(_this7, "handleBtnClick", function () {
871
- _this7.setState({
872
- isShowDiagnosesTemplate: true
873
- });
874
- });
875
- _defineProperty(_this7, "addDiag", /*#__PURE__*/function () {
876
- var _ref10 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(diagnosisObj) {
877
- var _this7$props3, value, onChange, list, diag, newList, specialList, specialIndex;
878
- return _regeneratorRuntime.wrap(function _callee8$(_context8) {
879
- while (1) switch (_context8.prev = _context8.next) {
880
- case 0:
881
- _this7$props3 = _this7.props, value = _this7$props3.value, onChange = _this7$props3.onChange;
882
- list = _get(value, 'list') || [];
883
- diag = _get(diagnosisObj, 'diagnosis');
884
- if (list.filter(function (item) {
885
- return item.diagnosis === diag;
886
- }).length === 0) {
887
- newList = _cloneDeep(list);
888
- _set(diagnosisObj, 'createDate', dayjs().format('YYYY-MM-DD'));
889
- _set(diagnosisObj, 'diagnosisCode', _get(diagnosisObj, 'code'));
890
- // 诊断互斥项
891
- specialList = ['妊娠', '早孕', '中孕', '晚孕'];
892
- specialIndex = -1;
893
- newList.forEach(function (item, index) {
894
- if (specialList.includes(item.diagnosis)) specialIndex = index;
895
- });
896
- if (specialIndex !== -1 && specialList.includes(diag)) {
897
- newList.splice(specialIndex, 1);
898
- newList.unshift(diagnosisObj);
899
- } else if (specialIndex === -1 && specialList.includes(diag)) {
900
- newList.unshift(diagnosisObj);
901
- } else {
902
- newList.push(diagnosisObj);
903
- }
904
- // 对诊断进行排序,sort赋值
905
- newList.forEach(function (subItem, subIndex) {
906
- subItem.sort = subIndex + 1;
907
- });
908
- onChange(_objectSpread(_objectSpread({}, value), {}, {
909
- list: newList
910
- }));
911
- } else {
912
- _message.warning('添加诊断重复!');
913
- }
914
- case 4:
915
- case "end":
916
- return _context8.stop();
917
- }
918
- }, _callee8);
919
- }));
920
- return function (_x8) {
921
- return _ref10.apply(this, arguments);
922
- };
923
- }());
924
- _defineProperty(_this7, "closeTemplate", function () {
925
- _this7.setState({
926
- isShowDiagnosesTemplate: false
927
- });
928
- });
929
- _defineProperty(_this7, "renderDiagnoses", function () {
930
- var _this7$props4 = _this7.props,
931
- isAllPregnancies = _this7$props4.isAllPregnancies,
932
- value = _this7$props4.value,
933
- id = _this7$props4.id,
934
- isShow = _this7$props4.isShow;
935
- return /*#__PURE__*/React.createElement("div", {
936
- className: styles["diagWrapper"]
937
- }, !isAllPregnancies && /*#__PURE__*/React.createElement(_Button, {
938
- className: styles["diag-btn"],
939
- icon: /*#__PURE__*/React.createElement(PlusCircleOutlined, null),
940
- onClick: _this7.handleBtnClick
941
- }, "\u6DFB\u52A0\u8BCA\u65AD"), !isShow && /*#__PURE__*/React.createElement("div", {
942
- className: styles["firstDiag"]
943
- }, /*#__PURE__*/React.createElement("span", {
944
- className: styles["diagNum"]
945
- }, "1\u3001"), "G", /*#__PURE__*/React.createElement("span", {
946
- className: styles["diagGP"]
947
- }, _get(value, 'gravidity')), "P", /*#__PURE__*/React.createElement("span", {
948
- className: styles["diagGP"]
949
- }, _get(value, 'parity')), "\u598A\u5A20", /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
950
- className: styles["diagGP diagWeek"]
951
- }, _get(value, 'gestationalWeek')), "\u5468"), id === 'inductionLabourDiagnosisDocument' && /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("span", {
952
- className: styles["diagGP diagWeek2"]
953
- }, _get(value, 'fetalPostion') ? _get(value, 'fetalPostion') : /*#__PURE__*/React.createElement("span", {
954
- style: {
955
- color: '#ccc'
956
- }
957
- }, "\u80CE\u65B9\u4F4D")), ' ', ",\u5F15\u4EA7")), _get(value, 'list') && _get(value, 'list').map(function (item, i) {
958
- return /*#__PURE__*/React.createElement(_Row, {
959
- className: styles["singleDiag"],
960
- title: _this7.getTitle(item),
961
- key: i
962
- }, /*#__PURE__*/React.createElement(_Col, {
963
- span: 18,
964
- className: styles["diagWord"]
965
- }, /*#__PURE__*/React.createElement("span", {
966
- className: styles["diagNum"]
967
- }, !isShow ? i + 2 : i + 1, "\u3001"), /*#__PURE__*/React.createElement("span", {
968
- className: styles["diag-words"]
969
- }, item.diagnosis), /*#__PURE__*/React.createElement(_Input, {
970
- className: styles["diagNote"],
971
- placeholder: "\u5907\u6CE8",
972
- disabled: isAllPregnancies ? true : false,
973
- value: item.note,
974
- onChange: function onChange(e) {
975
- return _this7.changeNote(e.target.value, i);
976
- }
977
- })), /*#__PURE__*/React.createElement(_Col, {
978
- span: 4
979
- }, item.createDate), !isAllPregnancies && /*#__PURE__*/React.createElement(_Col, {
980
- span: 1
981
- }, /*#__PURE__*/React.createElement(_Popconfirm, {
982
- placement: "topRight",
983
- title: '你确定要删除这个诊断吗?',
984
- onConfirm: function onConfirm() {
985
- return _this7.handleDelete(item, i);
986
- },
987
- okText: "\u786E\u5B9A",
988
- cancelText: "\u53D6\u6D88"
989
- }, /*#__PURE__*/React.createElement(CustomIcon, {
990
- className: styles["delBtn"],
991
- type: "icon-cacncel"
992
- }))));
993
- }));
994
- });
995
- return _this7;
996
- }
997
- _inherits(Index, _React$Component);
998
- return _createClass(Index, [{
999
- key: "render",
1000
- value: function render() {
1001
- var isShowDiagnosesTemplate = this.state.isShowDiagnosesTemplate;
1002
- return /*#__PURE__*/React.createElement("div", null, this.renderDiagnoses(), isShowDiagnosesTemplate && /*#__PURE__*/React.createElement(Index$1, _extends({
1003
- isShowDiagnosesTemplate: isShowDiagnosesTemplate,
1004
- closeTemplate: this.closeTemplate,
1005
- addDiag: this.addDiag
1006
- }, this.props)));
1007
- }
1008
- }]);
1009
- }(React.Component);
1010
- export { Index as default };
1011
- //# sourceMappingURL=.root101.js.map
107
+ export { AsyncAutoComplete as default };