@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,369 +1,72 @@
1
- import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
5
- import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
6
- var _excluded = ["onCancel", "onSubmit", "visible", "templateType", "data", "depid", "getContainer", "templateTypes"],
7
- _excluded2 = ["modal_data", "width", "close", "onClose"];
8
- import _regeneratorRuntime from "@babel/runtime/regenerator";
9
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
- import 'antd/es/modal/style';
12
- import _Modal from 'antd/es/modal';
13
- import { b as styleInject, Y as getResources, _ as _extends } from './index.js';
14
- import 'antd/es/row/style';
15
- import _Row from 'antd/es/row';
16
- import 'antd/es/col/style';
17
- import _Col from 'antd/es/col';
18
- import 'antd/es/button/style';
19
- import _Button from 'antd/es/button';
20
- import 'antd/es/popconfirm/style';
21
- import _Popconfirm from 'antd/es/popconfirm';
22
- import 'antd/es/message/style';
23
- import _message from 'antd/es/message';
24
- import _size from 'lodash/size';
25
- import 'lodash/set';
26
- import _map from 'lodash/map';
27
- import _keys from 'lodash/keys';
28
- import _keyBy from 'lodash/keyBy';
29
- import _isEmpty from 'lodash/isEmpty';
30
- import _indexOf from 'lodash/indexOf';
31
- import _get from 'lodash/get';
32
- import _concat from 'lodash/concat';
33
- import _compact from 'lodash/compact';
34
- import { EditOutlined, DeleteOutlined } from '@ant-design/icons';
35
- import { SMchc_TemplateTrees, SLocal_State } from '@lm_fe/service';
36
- import { safe_json_parse, request } from '@lm_fe/utils';
37
- import React$1, { useState, useEffect, useRef } from 'react';
38
- import 'antd/es/input/style';
39
- import _Input from 'antd/es/input';
40
- import 'antd/es/form/style';
41
- import _Form from 'antd/es/form';
42
- import { MODAL_TEMPLATE_TYPES_个人模板, MODAL_TEMPLATE_TYPES, mchcEnv } from '@lm_fe/env';
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["value", "onChange"],
4
+ _excluded2 = ["name", "inputProps"];
5
+ import React, { useState, useEffect } from 'react';
6
+ import { Input, Form } from 'antd';
7
+ import { a as styleInject } from './index.js';
43
8
  import { LazyAntd } from '@lm_fe/components';
44
- import 'lodash/isFunction';
45
- import 'antd/es/space/style';
46
- import 'antd/es/space';
47
- import 'antd/es/input-number/style';
48
- import 'antd/es/input-number';
9
+ import '@lm_fe/provoke';
10
+ import '@lm_fe/utils';
49
11
  import 'classnames';
50
12
  import 'dayjs';
51
- import 'antd/es/checkbox/style';
52
- import 'antd/es/checkbox';
53
- import 'lodash/isString';
54
- import 'lodash/isNumber';
55
- import 'lodash/isBoolean';
56
- import 'antd/es/divider/style';
57
- import 'antd/es/divider';
58
- import 'antd/es/switch/style';
59
- import 'antd/es/switch';
60
- import 'lodash/join';
61
- import 'lodash/isEqual';
62
- import 'lodash/isArray';
63
- import 'lodash/identity';
64
- import 'lodash/cloneDeep';
65
- import 'lodash/isObject';
66
- import 'lodash/isNil';
67
- import 'antd/es/tooltip/style';
68
- import 'antd/es/tooltip';
69
- import 'antd/es/spin/style';
70
- import 'antd/es/spin';
71
- import 'lodash/has';
72
- import 'lodash/includes';
73
- import 'lodash/forEach';
74
- import 'lodash/filter';
75
- import 'react-to-print';
76
- import 'lodash/reduce';
77
- import 'lodash/debounce';
78
- import 'lodash/pickBy';
79
- import 'antd/es/auto-complete/style';
80
- import 'antd/es/auto-complete';
81
- import 'lodash/nth';
82
- import 'lodash/assign';
83
- import 'antd/es/popover/style';
84
- import 'antd/es/popover';
85
- import 'antd/es/menu/style';
86
- import 'antd/es/menu';
13
+ import 'lodash';
14
+ import '@lm_fe/env';
15
+ import '@lm_fe/service';
16
+ import 'reconnecting-websocket';
87
17
  import 'store';
88
- import 'antd/es/radio/style';
89
- import 'antd/es/radio';
90
- import 'lodash/last';
91
- import 'lodash/toUpper';
92
- var needUserIDTypes = [2];
93
- var baseType = {
94
- getList: function getList(_ref) {
95
- var _user$id;
96
- var item = _ref.item,
97
- user = _ref.user,
98
- pregnacy = _ref.pregnacy;
99
- var depid = item.depid,
100
- type = item.type;
101
- var userid = type === MODAL_TEMPLATE_TYPES_个人模板 ? (_user$id = user === null || user === void 0 ? void 0 : user.id) !== null && _user$id !== void 0 ? _user$id : undefined : undefined;
102
- return SMchc_TemplateTrees.getList({
103
- params: {
104
- 'depid.equals': depid,
105
- 'type.equals': type,
106
- 'userid.equals': userid,
107
- size: 99999,
108
- page: 0
109
- }
110
- });
111
- },
112
- postItem: function postItem(_ref2) {
113
- return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
114
- var _user$id2;
115
- var item, user, pregnacy, userid;
116
- return _regeneratorRuntime.wrap(function _callee$(_context) {
117
- while (1) switch (_context.prev = _context.next) {
118
- case 0:
119
- item = _ref2.item, user = _ref2.user, pregnacy = _ref2.pregnacy;
120
- userid = item.type === MODAL_TEMPLATE_TYPES_个人模板 ? (_user$id2 = user === null || user === void 0 ? void 0 : user.id) !== null && _user$id2 !== void 0 ? _user$id2 : undefined : undefined;
121
- _context.next = 4;
122
- return SMchc_TemplateTrees.post(_objectSpread(_objectSpread({}, item), {}, {
123
- userid: userid
124
- }));
125
- case 4:
126
- case "end":
127
- return _context.stop();
128
- }
129
- }, _callee);
130
- }))();
131
- },
132
- delItem: function delItem(_ref3) {
133
- return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
134
- var item, user, pregnacy;
135
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
136
- while (1) switch (_context2.prev = _context2.next) {
137
- case 0:
138
- item = _ref3.item, user = _ref3.user, pregnacy = _ref3.pregnacy;
139
- _context2.next = 3;
140
- return SMchc_TemplateTrees.del(item.id);
141
- case 3:
142
- case "end":
143
- return _context2.stop();
144
- }
145
- }, _callee2);
146
- }))();
147
- },
148
- putItem: function putItem(_ref4) {
149
- return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
150
- var _user$id3;
151
- var item, user, pregnacy, userid;
152
- return _regeneratorRuntime.wrap(function _callee3$(_context3) {
153
- while (1) switch (_context3.prev = _context3.next) {
154
- case 0:
155
- item = _ref4.item, user = _ref4.user, pregnacy = _ref4.pregnacy;
156
- userid = item.type === MODAL_TEMPLATE_TYPES_个人模板 ? (_user$id3 = user === null || user === void 0 ? void 0 : user.id) !== null && _user$id3 !== void 0 ? _user$id3 : undefined : undefined;
157
- _context3.next = 4;
158
- return SMchc_TemplateTrees.put(_objectSpread(_objectSpread({}, item), {}, {
159
- userid: userid
160
- }));
161
- case 4:
162
- case "end":
163
- return _context3.stop();
164
- }
165
- }, _callee3);
166
- }))();
167
- }
168
- };
169
- var rootTemplate = {
170
- id: 0,
171
- key: 0,
172
- value: 0,
173
- title: '一级模板',
174
- children: []
175
- };
176
- var transferTemplates = function transferTemplates(templates) {
177
- var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
178
- var all = templates.map(function (item) {
179
- return _objectSpread(_objectSpread({}, item), {}, {
180
- key: item.id,
181
- value: item.id,
182
- title: item.val,
183
- children: [],
184
- isLeaf: false
185
- });
186
- });
187
- all.forEach(function (_) {
188
- var c = all.filter(function (s) {
189
- return s.pid === _.id;
190
- });
191
- _.children = c;
192
- _.isLeaf = c.length ? false : true;
193
- });
194
- return {
195
- tree: all.filter(function (q) {
196
- return q.pid === 0;
197
- }),
198
- all: all
18
+ function MultiplicationInput(_ref) {
19
+ var _ref$value = _ref.value,
20
+ value = _ref$value === void 0 ? '×' : _ref$value,
21
+ onChange = _ref.onChange,
22
+ rest = _objectWithoutProperties(_ref, _excluded);
23
+ var preValues = value ? value.split('×') : ['', ''];
24
+ var handleChange = function handleChange(name, e) {
25
+ var val = '';
26
+ var inputVal = e.target.value;
27
+ if (name === 'arg1') {
28
+ val = "".concat(inputVal, "\xD7").concat(preValues[1]);
29
+ }
30
+ if (name === 'arg2') {
31
+ val = "".concat(preValues[0], "\xD7").concat(inputVal);
32
+ }
33
+ onChange(val);
199
34
  };
200
- };
201
- var Tree$2 = LazyAntd.Tree,
202
- TreeSelect$2 = LazyAntd.TreeSelect,
203
- Select$2 = LazyAntd.Select,
204
- Table$2 = LazyAntd.Table,
205
- Dropdown$2 = LazyAntd.Dropdown,
206
- Pagination$2 = LazyAntd.Pagination;
207
- function TemplateSelect(props) {
208
- var user = SLocal_State.getUserData();
209
- var userid = user === null || user === void 0 ? void 0 : user.id;
210
- var onChange = props.onChange,
211
- templateType = props.templateType,
212
- _props$depid = props.depid,
213
- depid = _props$depid === void 0 ? 1 : _props$depid;
214
- var _useState = useState(props.value || 0),
215
- _useState2 = _slicedToArray(_useState, 2),
216
- value = _useState2[0],
217
- setValue = _useState2[1];
218
- var _useState3 = useState([]),
219
- _useState4 = _slicedToArray(_useState3, 2),
220
- options = _useState4[0],
221
- setOptions = _useState4[1];
222
- useEffect(function () {
223
- setValue(props.value);
224
- }, [props.value]);
225
- useEffect(function () {
226
- SMchc_TemplateTrees.getTemplateTree({
227
- depid: depid,
228
- type: templateType,
229
- userid: needUserIDTypes.indexOf(templateType) > -1 && userid ? userid : undefined
230
- }).then(function (res) {
231
- setOptions([_objectSpread(_objectSpread({}, rootTemplate), {}, {
232
- children: transferTemplates(res).tree
233
- })]);
234
- });
235
- }, []);
236
- var handleChange = function handleChange(data) {
237
- setValue(data);
238
- onChange && onChange(data);
35
+ var extraStyle = {
36
+ lineHeight: '32px',
37
+ padding: '0 2px'
239
38
  };
240
- return /*#__PURE__*/React.createElement(TreeSelect$2, {
241
- getPopupContainer: props.getPopupContainer,
242
- treeDefaultExpandAll: true,
243
- value: value,
244
- treeData: options,
245
- onChange: handleChange
246
- });
247
- }
248
- var Tree$1 = LazyAntd.Tree,
249
- TreeSelect$1 = LazyAntd.TreeSelect,
250
- Select$1 = LazyAntd.Select,
251
- Table$1 = LazyAntd.Table,
252
- Dropdown$1 = LazyAntd.Dropdown,
253
- Pagination$1 = LazyAntd.Pagination;
254
- function EditModal(props) {
255
- var onCancel = props.onCancel,
256
- onSubmit = props.onSubmit,
257
- visible = props.visible,
258
- templateType = props.templateType,
259
- data = props.data,
260
- depid = props.depid,
261
- getContainer = props.getContainer,
262
- templateTypes = props.templateTypes,
263
- others = _objectWithoutProperties(props, _excluded);
264
- var _Form$useForm = _Form.useForm(),
265
- _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
266
- form = _Form$useForm2[0];
267
- var el = useRef(null);
268
- var types = templateTypes;
269
- useEffect(function () {
270
- form && form.setFieldsValue(_objectSpread(_objectSpread({}, data), {}, {
271
- pid: _get(data, 'pid') || 0,
272
- type: templateType
273
- }));
274
- }, []);
275
- var handleSubmit = /*#__PURE__*/function () {
276
- var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
277
- var formData;
278
- return _regeneratorRuntime.wrap(function _callee4$(_context4) {
279
- while (1) switch (_context4.prev = _context4.next) {
280
- case 0:
281
- _context4.next = 2;
282
- return form.validateFields();
283
- case 2:
284
- formData = form && form.getFieldsValue();
285
- onSubmit && onSubmit(formData);
286
- case 4:
287
- case "end":
288
- return _context4.stop();
289
- }
290
- }, _callee4);
291
- }));
292
- return function handleSubmit() {
293
- return _ref5.apply(this, arguments);
294
- };
295
- }();
296
- return /*#__PURE__*/React.createElement(_Modal, {
297
- getContainer: getContainer,
298
- visible: visible,
299
- className: "textarea-with-template__modal-edit",
300
- onCancel: onCancel,
301
- onOk: handleSubmit,
302
- closable: false,
303
- width: 500
304
- }, /*#__PURE__*/React.createElement("div", {
305
- ref: el
306
- }, /*#__PURE__*/React.createElement(_Form, {
307
- autoComplete: "off",
308
- form: form,
309
- labelAlign: "right",
310
- labelCol: {
311
- span: 8
312
- },
313
- wrapperCol: {
314
- span: 16
39
+ return /*#__PURE__*/React.createElement(Input.Group, {
40
+ compact: true,
41
+ style: {
42
+ display: 'inline-flex',
43
+ width: 148,
44
+ margin: '0 5px'
315
45
  }
316
- }, /*#__PURE__*/React.createElement(_Form.Item, {
317
- label: "\u6240\u5C5E\u6A21\u5757",
318
- name: "type"
319
- }, /*#__PURE__*/React.createElement(Select$1, {
320
- getPopupContainer: function getPopupContainer() {
321
- return el.current;
46
+ }, /*#__PURE__*/React.createElement(Input, {
47
+ style: {
48
+ width: 50
49
+ },
50
+ value: preValues[0],
51
+ onChange: function onChange(e) {
52
+ return handleChange('arg1', e);
322
53
  }
323
- }, types.map(function (_ref6, key) {
324
- var title = _ref6.title,
325
- type = _ref6.type;
326
- return /*#__PURE__*/React.createElement(Select$1.Option, {
327
- value: type,
328
- key: type
329
- }, title);
330
- }))), /*#__PURE__*/React.createElement(_Form.Item, {
331
- label: "\u4E0A\u7EA7\u6A21\u677F",
332
- name: "pid"
333
- }, /*#__PURE__*/React.createElement(TemplateSelect, {
334
- getPopupContainer: function getPopupContainer() {
335
- return el.current;
54
+ }), /*#__PURE__*/React.createElement("span", {
55
+ style: extraStyle
56
+ }, "\xD7"), /*#__PURE__*/React.createElement(Input, {
57
+ style: {
58
+ width: 50
336
59
  },
337
- templateType: templateType,
338
- depid: depid
339
- })), /*#__PURE__*/React.createElement(_Form.Item, {
340
- rules: [{
341
- required: true,
342
- message: '模板内容是必填项'
343
- }],
344
- label: "\u6A21\u677F\u5185\u5BB9",
345
- name: "val"
346
- }, /*#__PURE__*/React.createElement(_Input, null)))));
60
+ value: preValues[1],
61
+ onChange: function onChange(e) {
62
+ return handleChange('arg2', e);
63
+ }
64
+ }), /*#__PURE__*/React.createElement("span", {
65
+ style: extraStyle
66
+ }, "cm\xB2"));
347
67
  }
348
- var css_248z = ".index-module_textarea-with-template__uLA-v {\n position: relative;\n}\n.index-module_textarea-with-template__uLA-v .index-module_template-textarea__gqcM3 {\n width: 100%;\n}\n.index-module_textarea-with-template__action__SlEkO {\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__SlEkO 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__N4laO {\n color: rgba(0, 0, 0, 0.25);\n}\n.index-module_textarea-with-template__modal-nav__T1lRV {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-nav__items__e9UUj {\n margin-right: 8px;\n}\n.index-module_textarea-with-template__modal-body__Kutxj {\n margin: 10px 0;\n}\n.index-module_textarea-with-template__modal-body__Kutxj .index-module_ant-tree-treenode__VRZC5 .index-module_template-list-item__actions__aRx-A {\n display: none;\n}\n.index-module_textarea-with-template__modal-body__Kutxj .index-module_ant-tree-treenode__VRZC5:hover .index-module_template-list-item__actions__aRx-A {\n display: inline-block;\n}\n.index-module_textarea-with-template__modal-body__Kutxj .index-module_template-list-item__luX3h {\n display: flex;\n flex-flow: row;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-body__Kutxj .index-module_template-list-item__luX3h .index-module_template-list-item__actions-icon__lXB5f {\n font-size: 14px;\n opacity: 0.8;\n cursor: pointer;\n margin-left: 10px;\n}\n.index-module_textarea-with-template__modal__aHN06 .index-module_ant-modal-content__sIeSZ .index-module_ant-modal-header__5J7KR,\n.index-module_textarea-with-template__modal__aHN06 .index-module_ant-modal-content__sIeSZ .index-module_ant-modal-body__IJao5,\n.index-module_textarea-with-template__modal__aHN06 .index-module_ant-modal-content__sIeSZ .index-module_ant-modal-footer__8mN39 {\n padding: 10px;\n}\n";
349
- var styles = {
350
- "textarea-with-template": "index-module_textarea-with-template__uLA-v",
351
- "template-textarea": "index-module_template-textarea__gqcM3",
352
- "textarea-with-template__action": "index-module_textarea-with-template__action__SlEkO",
353
- "textarea-with-template__action_disabled": "index-module_textarea-with-template__action_disabled__N4laO",
354
- "textarea-with-template__modal-nav": "index-module_textarea-with-template__modal-nav__T1lRV",
355
- "textarea-with-template__modal-nav__items": "index-module_textarea-with-template__modal-nav__items__e9UUj",
356
- "textarea-with-template__modal-body": "index-module_textarea-with-template__modal-body__Kutxj",
357
- "ant-tree-treenode": "index-module_ant-tree-treenode__VRZC5",
358
- "template-list-item__actions": "index-module_template-list-item__actions__aRx-A",
359
- "template-list-item": "index-module_template-list-item__luX3h",
360
- "template-list-item__actions-icon": "index-module_template-list-item__actions-icon__lXB5f",
361
- "textarea-with-template__modal": "index-module_textarea-with-template__modal__aHN06",
362
- "ant-modal-content": "index-module_ant-modal-content__sIeSZ",
363
- "ant-modal-header": "index-module_ant-modal-header__5J7KR",
364
- "ant-modal-body": "index-module_ant-modal-body__IJao5",
365
- "ant-modal-footer": "index-module_ant-modal-footer__8mN39"
366
- };
68
+ var css_248z = ".bregma-group-wrapper {\n display: inline-flex;\n}\n";
69
+ var styles = css_248z;
367
70
  styleInject(css_248z);
368
71
  var Tree = LazyAntd.Tree,
369
72
  TreeSelect = LazyAntd.TreeSelect,
@@ -371,534 +74,81 @@ var Tree = LazyAntd.Tree,
371
74
  Table = LazyAntd.Table,
372
75
  Dropdown = LazyAntd.Dropdown,
373
76
  Pagination = LazyAntd.Pagination;
374
- function TemplateModal(props) {
375
- var _simpleTypes$, _user$groups, _user$groups$some, _modal_data$canOperat;
376
- var modal_data = props.modal_data,
377
- width = props.width,
378
- close = props.close,
379
- onClose = props.onClose,
380
- others = _objectWithoutProperties(props, _excluded2);
381
- var _modal_data$depid = modal_data.depid,
382
- depid = _modal_data$depid === void 0 ? 1 : _modal_data$depid,
383
- admissionId = modal_data.admissionId,
384
- onValueCheck = modal_data.onValueCheck,
385
- onOk = modal_data.onOk;
386
- var simpleTypes = Array.isArray(modal_data.simpleTypes) ? modal_data.simpleTypes : MODAL_TEMPLATE_TYPES['科室个人'];
387
- var user = SLocal_State.getUserData();
388
- var _useState5 = useState([]),
389
- _useState6 = _slicedToArray(_useState5, 2),
390
- result = _useState6[0],
391
- set_result = _useState6[1];
392
- var _useState7 = useState([]),
393
- _useState8 = _slicedToArray(_useState7, 2),
394
- labexams = _useState8[0],
395
- set_labexams = _useState8[1];
396
- var _useState9 = useState([]),
397
- _useState10 = _slicedToArray(_useState9, 2),
398
- allLabexams = _useState10[0],
399
- set_allLabexams = _useState10[1];
400
- var _useState11 = useState([]),
401
- _useState12 = _slicedToArray(_useState11, 2),
402
- selectedRowKeys = _useState12[0],
403
- set_selectedRowKeys = _useState12[1];
404
- var _useState13 = useState([]),
405
- _useState14 = _slicedToArray(_useState13, 2),
406
- selectedRows = _useState14[0],
407
- set_selectedRows = _useState14[1];
408
- var _useState15 = useState({}),
409
- _useState16 = _slicedToArray(_useState15, 2),
410
- activeTemplate = _useState16[0],
411
- set_activeTemplate = _useState16[1];
412
- var _useState17 = useState({}),
413
- _useState18 = _slicedToArray(_useState17, 2),
414
- splitTemplatesMapping = _useState18[0],
415
- set_splitTemplatesMapping = _useState18[1];
416
- var _useState19 = useState([]),
417
- _useState20 = _slicedToArray(_useState19, 2),
418
- diagnosisList = _useState20[0],
419
- set_diagnosisList = _useState20[1];
420
- var _useState21 = useState(false),
421
- _useState22 = _slicedToArray(_useState21, 2),
422
- editModalVisible = _useState22[0],
423
- set_editModalVisible = _useState22[1];
424
- var _useState23 = useState((_simpleTypes$ = simpleTypes[0]) === null || _simpleTypes$ === void 0 ? void 0 : _simpleTypes$.type),
425
- _useState24 = _slicedToArray(_useState23, 2),
426
- templateType = _useState24[0],
427
- set_templateType = _useState24[1];
428
- var safeTypes = _toConsumableArray(simpleTypes.map(function (_) {
429
- return _objectSpread(_objectSpread({}, _), baseType);
430
- }));
431
- var canOperate = mchcEnv.is('广三') ? user === null || user === void 0 || (_user$groups = user.groups) === null || _user$groups === void 0 || (_user$groups$some = _user$groups.some) === null || _user$groups$some === void 0 ? void 0 : _user$groups$some.call(_user$groups, function (_) {
432
- return ['ADMIN', 'MASTERNURSE'].includes(_.name.toUpperCase());
433
- }) : (_modal_data$canOperat = modal_data.canOperate) !== null && _modal_data$canOperat !== void 0 ? _modal_data$canOperat : true;
434
- var isExpandAll = false;
77
+ function BregmaGroup(_ref2) {
78
+ var _ref2$name = _ref2.name,
79
+ name = _ref2$name === void 0 ? 'bregma1+bregma2+bregma3' : _ref2$name,
80
+ _ref2$inputProps = _ref2.inputProps,
81
+ inputProps = _ref2$inputProps === void 0 ? [] : _ref2$inputProps,
82
+ rest = _objectWithoutProperties(_ref2, _excluded2);
83
+ var names = name.split('+');
84
+ var _useState = useState(false),
85
+ _useState2 = _slicedToArray(_useState, 2),
86
+ visible = _useState2[0],
87
+ setVisible = _useState2[1];
435
88
  useEffect(function () {
436
- getTemplateList();
437
- return function () {};
89
+ var bregma = rest.form.getFieldValue(['childPhysicalExam', 'bregma']);
90
+ setVisible(bregma === 2 ? true : false);
438
91
  }, []);
439
- function transferAllLabexamsList(labexams) {
440
- var allLabexams = [];
441
- _map(labexams, function (labexam) {
442
- var tempLabexams = [];
443
- if (!_isEmpty(_get(labexam, 'children'))) {
444
- tempLabexams = transferAllLabexamsList(_get(labexam, 'children'));
445
- allLabexams = _concat(allLabexams, tempLabexams);
446
- } else {
447
- allLabexams.push(labexam);
448
- }
449
- });
450
- return allLabexams;
451
- }
452
- function getTemplateList() {
453
- return _getTemplateList.apply(this, arguments);
454
- }
455
- function _getTemplateList() {
456
- _getTemplateList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {
457
- var item,
458
- type,
459
- t,
460
- headerInfoOfInpatientData,
461
- inpatientNO,
462
- outpatientNO,
463
- _result,
464
- _labexams,
465
- _allLabexams,
466
- _headerInfoOfInpatientData,
467
- _inpatientNO,
468
- _outpatientNO,
469
- _result2,
470
- _labexams2,
471
- _allLabexams2,
472
- _result3,
473
- _yield$getList,
474
- getList,
475
- _result4,
476
- _transferTemplates,
477
- tree,
478
- all,
479
- splitTemplates,
480
- _splitTemplatesMapping,
481
- newData,
482
- _args4 = arguments;
483
- return _regeneratorRuntime.wrap(function _callee8$(_context8) {
484
- while (1) switch (_context8.prev = _context8.next) {
485
- case 0:
486
- item = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : safeTypes[0];
487
- type = item.type;
488
- t = safeTypes.find(function (_) {
489
- return _.type === type;
490
- });
491
- if (t) {
492
- _context8.next = 5;
493
- break;
494
- }
495
- return _context8.abrupt("return");
496
- case 5:
497
- if (!(type === 3)) {
498
- _context8.next = 24;
499
- break;
500
- }
501
- headerInfoOfInpatientData = safe_json_parse(sessionStorage.getItem('headerInfoOfInpatientData'));
502
- inpatientNO = headerInfoOfInpatientData.inpatientNO, outpatientNO = headerInfoOfInpatientData.outpatientNO;
503
- _result = {};
504
- if (!inpatientNO) {
505
- _context8.next = 15;
506
- break;
507
- }
508
- _context8.next = 12;
509
- return request.get("/api/getLabExamTemplateData?inpatientNo=".concat(inpatientNO));
510
- case 12:
511
- _result = _context8.sent;
512
- _context8.next = 18;
513
- break;
514
- case 15:
515
- _context8.next = 17;
516
- return request.get("/api/getLabExamTemplateData?outpatientNo=".concat(outpatientNO));
517
- case 17:
518
- _result = _context8.sent;
519
- case 18:
520
- _labexams = _result;
521
- _allLabexams = transferAllLabexamsList(_labexams);
522
- set_labexams(_labexams);
523
- set_allLabexams(_allLabexams);
524
- _context8.next = 70;
525
- break;
526
- case 24:
527
- if (!(type === 4)) {
528
- _context8.next = 43;
529
- break;
530
- }
531
- _headerInfoOfInpatientData = safe_json_parse(sessionStorage.getItem('headerInfoOfInpatientData'));
532
- _inpatientNO = _headerInfoOfInpatientData.inpatientNO, _outpatientNO = _headerInfoOfInpatientData.outpatientNO;
533
- _result2 = {};
534
- if (!_inpatientNO) {
535
- _context8.next = 34;
536
- break;
537
- }
538
- _context8.next = 31;
539
- return request.get("/api/getImageExamTemplateData?inpatientNo=".concat(_inpatientNO));
540
- case 31:
541
- _result2 = _context8.sent;
542
- _context8.next = 37;
543
- break;
544
- case 34:
545
- _context8.next = 36;
546
- return request.get("/api/getImageExamTemplateData?outpatientNo=".concat(_outpatientNO));
547
- case 36:
548
- _result2 = _context8.sent;
549
- case 37:
550
- _labexams2 = _result2;
551
- _allLabexams2 = transferAllLabexamsList(_labexams2);
552
- set_labexams(_labexams2);
553
- set_allLabexams(_allLabexams2);
554
- _context8.next = 70;
555
- break;
556
- case 43:
557
- if (!(type === 5)) {
558
- _context8.next = 50;
559
- break;
560
- }
561
- _context8.next = 46;
562
- return getResources("/api/findDiagnosisByDateVisitType/".concat(admissionId));
563
- case 46:
564
- _result3 = _context8.sent;
565
- set_diagnosisList(_result3);
566
- _context8.next = 70;
567
- break;
568
- case 50:
569
- getList = t.getList;
570
- _context8.next = 53;
571
- return getList === null || getList === void 0 ? void 0 : getList({
572
- item: {
573
- depid: depid,
574
- type: type
575
- },
576
- user: user
577
- });
578
- case 53:
579
- _context8.t1 = _yield$getList = _context8.sent;
580
- _context8.t0 = _context8.t1 !== null;
581
- if (!_context8.t0) {
582
- _context8.next = 57;
583
- break;
584
- }
585
- _context8.t0 = _yield$getList !== void 0;
586
- case 57:
587
- if (!_context8.t0) {
588
- _context8.next = 61;
589
- break;
590
- }
591
- _context8.t2 = _yield$getList;
592
- _context8.next = 62;
593
- break;
594
- case 61:
595
- _context8.t2 = [];
596
- case 62:
597
- _result4 = _context8.t2;
598
- _transferTemplates = transferTemplates(_result4), tree = _transferTemplates.tree, all = _transferTemplates.all; // 拆分为多个树
599
- splitTemplates = _compact(_map(tree, function (t) {
600
- if (_get(t, 'pid') === 0) {
601
- return _objectSpread(_objectSpread({}, t), {}, {
602
- children: []
603
- });
604
- }
605
- }));
606
- _splitTemplatesMapping = _keyBy(splitTemplates, 'id');
607
- _map(_result4, function (t) {
608
- var templatePid = _get(t, 'pid');
609
- if (_indexOf(_keys(_splitTemplatesMapping), String(templatePid)) > -1) {
610
- _splitTemplatesMapping[templatePid]['children'].push(t);
611
- }
612
- });
613
- newData = _keyBy(tree, 'id');
614
- set_splitTemplatesMapping(newData);
615
- set_result(all);
616
- case 70:
617
- case "end":
618
- return _context8.stop();
619
- }
620
- }, _callee8);
621
- }));
622
- return _getTemplateList.apply(this, arguments);
623
- }
624
- function handleAddTemplate(e) {
625
- e.stopPropagation();
626
- set_editModalVisible(true);
627
- set_activeTemplate({});
628
- }
629
- function handleHideEditModal() {
630
- set_editModalVisible(false);
631
- set_activeTemplate({});
632
- }
633
- function handleSubmitEditModal(_x) {
634
- return _handleSubmitEditModal.apply(this, arguments);
635
- }
636
- function _handleSubmitEditModal() {
637
- _handleSubmitEditModal = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(data) {
638
- var t, _t$putItem, _t$postItem;
639
- return _regeneratorRuntime.wrap(function _callee9$(_context9) {
640
- while (1) switch (_context9.prev = _context9.next) {
641
- case 0:
642
- t = safeTypes.find(function (_) {
643
- return _.type === templateType;
644
- });
645
- if (t) {
646
- _context9.next = 3;
647
- break;
648
- }
649
- return _context9.abrupt("return");
650
- case 3:
651
- if (_isEmpty(activeTemplate)) {
652
- _context9.next = 8;
653
- break;
654
- }
655
- _context9.next = 6;
656
- return (_t$putItem = t.putItem) === null || _t$putItem === void 0 ? void 0 : _t$putItem.call(t, {
657
- user: user,
658
- item: _objectSpread(_objectSpread(_objectSpread({}, activeTemplate), data), {}, {
659
- depid: depid
660
- })
661
- });
662
- case 6:
663
- _context9.next = 10;
664
- break;
665
- case 8:
666
- _context9.next = 10;
667
- return (_t$postItem = t.postItem) === null || _t$postItem === void 0 ? void 0 : _t$postItem.call(t, {
668
- user: user,
669
- item: _objectSpread(_objectSpread({}, data), {}, {
670
- depid: depid
671
- })
672
- });
673
- case 10:
674
- set_editModalVisible(false);
675
- set_activeTemplate({});
676
- _message.success('提交模板成功');
677
- getTemplateList();
678
- case 14:
679
- case "end":
680
- return _context9.stop();
681
- }
682
- }, _callee9);
683
- }));
684
- return _handleSubmitEditModal.apply(this, arguments);
685
- }
686
- var handleEditTemplate = function handleEditTemplate(template) {
687
- return /*#__PURE__*/function () {
688
- var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(e) {
689
- return _regeneratorRuntime.wrap(function _callee5$(_context5) {
690
- while (1) switch (_context5.prev = _context5.next) {
691
- case 0:
692
- e.stopPropagation();
693
- set_editModalVisible(true);
694
- set_activeTemplate(template);
695
- case 3:
696
- case "end":
697
- return _context5.stop();
698
- }
699
- }, _callee5);
700
- }));
701
- return function (_x2) {
702
- return _ref7.apply(this, arguments);
703
- };
704
- }();
705
- };
706
- var handleConfirmDelete = function handleConfirmDelete(template) {
707
- return /*#__PURE__*/function () {
708
- var _ref8 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(e) {
709
- var _t$delItem;
710
- var t;
711
- return _regeneratorRuntime.wrap(function _callee6$(_context6) {
712
- while (1) switch (_context6.prev = _context6.next) {
713
- case 0:
714
- t = safeTypes.find(function (_) {
715
- return _.type === templateType;
716
- });
717
- if (t) {
718
- _context6.next = 3;
719
- break;
720
- }
721
- return _context6.abrupt("return");
722
- case 3:
723
- e.stopPropagation();
724
- _context6.next = 6;
725
- return (_t$delItem = t.delItem) === null || _t$delItem === void 0 ? void 0 : _t$delItem.call(t, {
726
- item: template
727
- });
728
- case 6:
729
- _message.success('删除模板成功');
730
- getTemplateList();
731
- case 8:
732
- case "end":
733
- return _context6.stop();
734
- }
735
- }, _callee6);
736
- }));
737
- return function (_x3) {
738
- return _ref8.apply(this, arguments);
739
- };
740
- }();
92
+ var handleSelect = function handleSelect(val) {
93
+ setVisible(val === 2 ? true : false);
741
94
  };
742
- function handleSelectTemplates(checked, e) {
743
- if (e.checked) {
744
- set_selectedRowKeys(Array.from(new Set([].concat(_toConsumableArray(selectedRowKeys), _toConsumableArray(checked)))));
745
- } else {
746
- var parentKey = e.node.key;
747
- var leftKey = selectedRowKeys.filter(function (_) {
748
- return !_.includes(parentKey);
749
- });
750
- set_selectedRowKeys(leftKey);
751
- }
752
- console.log('aax', e.checked, e.checkedNodes, e);
753
- set_selectedRows(e.checkedNodes);
754
- }
755
- function handleOk() {
756
- var rowKey = selectedRowKeys.map(function (_) {
757
- return _.split('_').pop();
758
- });
759
- var content = '';
760
- var treeData = result;
761
- var treeDataMapping = _keyBy(treeData, 'id');
762
- _map(rowKey, function (id) {
763
- var item = _get(treeDataMapping, id);
764
- if (!_isEmpty(item) && _get(item, 'isLeaf')) {
765
- content += "".concat(_get(item, "val"), "\uFF1B");
766
- }
767
- });
768
- var data = {
769
- result: result.filter(function (_) {
770
- var _$children, _$id;
771
- return _.isLeaf && !((_$children = _.children) !== null && _$children !== void 0 && _$children.length) && rowKey.includes((_$id = _.id) === null || _$id === void 0 ? void 0 : _$id.toString());
772
- }),
773
- raw: result,
774
- selectedRowKeys: rowKey,
775
- treeDataMapping: treeDataMapping
776
- };
777
- onValueCheck === null || onValueCheck === void 0 || onValueCheck(data);
778
- close === null || close === void 0 || close(true);
779
- }
780
- var handleChangeTemplateType = function handleChangeTemplateType(item) {
781
- return /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
782
- return _regeneratorRuntime.wrap(function _callee7$(_context7) {
783
- while (1) switch (_context7.prev = _context7.next) {
784
- case 0:
785
- getTemplateList(item);
786
- set_templateType(item.type);
787
- case 2:
788
- case "end":
789
- return _context7.stop();
790
- }
791
- }, _callee7);
792
- }));
793
- };
794
- function transferTemplateData(data) {
795
- var treeData = [];
796
- _map(data, function (item, index) {
797
- if (item.date) {
798
- item.title = "".concat(item.date, " ").concat(item.type);
799
- item.key = index;
800
- var diags = [];
801
- if (_size(item.pds) > 0) {
802
- diags = item.pds;
803
- } else {
804
- diags = item.ods;
805
- }
806
- item.children = transferTemplateData(diags);
807
- } else {
808
- item.title = item.diagnosis;
809
- item.key = String(item.id);
810
- }
811
- if (_isEmpty(item.children)) {
812
- item.isLeaf = true;
813
- } else {
814
- item.isLeaf = false;
815
- }
816
- treeData.push(item);
817
- });
818
- return treeData;
819
- }
820
- function renderDiagnosisHistory() {
821
- var treeData = transferTemplateData(diagnosisList);
822
- return _size(treeData) > 0 && /*#__PURE__*/React$1.createElement(Tree, {
823
- checkable: true,
824
- defaultExpandAll: isExpandAll,
825
- onCheck: handleSelectTemplates,
826
- treeData: treeData
827
- });
828
- }
829
- function renderLabexams() {
830
- return labexams.length > 0 ? /*#__PURE__*/React$1.createElement(Tree, {
831
- checkable: true,
832
- defaultExpandAll: isExpandAll,
833
- treeData: labexams,
834
- onCheck: handleSelectTemplates
835
- }) : '暂无数据';
836
- }
837
- function renderTreeNode() {
838
- var templatesTree = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
839
- var _key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
840
- return _map(templatesTree, function (template) {
841
- var key = _key ? "".concat(_key, "_").concat(template.id) : "".concat(template.id);
842
- return /*#__PURE__*/React$1.createElement(Tree.TreeNode, {
843
- title: /*#__PURE__*/React$1.createElement("div", {
844
- className: styles["template-list-item"]
845
- }, /*#__PURE__*/React$1.createElement("div", null, "\xA0", _get(template, 'val'), "\xA0"), canOperate && /*#__PURE__*/React$1.createElement("div", {
846
- className: styles["template-list-item__actions"]
847
- }, /*#__PURE__*/React$1.createElement(EditOutlined, {
848
- className: styles["template-list-item__actions-icon"],
849
- onClick: handleEditTemplate(template)
850
- }), /*#__PURE__*/React$1.createElement(_Popconfirm, {
851
- title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6A21\u677F\u5417\uFF1F",
852
- onConfirm: handleConfirmDelete(template)
853
- }, /*#__PURE__*/React$1.createElement(DeleteOutlined, {
854
- className: styles["template-list-item__actions-icon"]
855
- })))),
856
- key: key
857
- }, renderTreeNode(_get(template, 'children'), key));
858
- });
859
- }
860
- function renderModal() {
861
- return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
862
- className: styles["textarea-with-template__modal-nav"]
863
- }, /*#__PURE__*/React$1.createElement("div", null, safeTypes.map(function (item) {
864
- var type = item.type,
865
- title = item.title;
866
- return /*#__PURE__*/React$1.createElement(_Button, {
867
- className: styles["textarea-with-template__modal-nav__items"],
868
- type: templateType === type ? 'primary' : 'default',
869
- key: type,
870
- onClick: handleChangeTemplateType(item)
871
- }, title);
872
- })), /*#__PURE__*/React$1.createElement(_Button, {
873
- disabled: !canOperate,
874
- onClick: handleAddTemplate
875
- }, "\u6DFB\u52A0\u6A21\u677F")), /*#__PURE__*/React$1.createElement(_Row, {
876
- className: styles["textarea-with-template__modal-body"]
877
- }, /*#__PURE__*/React$1.createElement(React$1.Fragment, null, _map(splitTemplatesMapping, function (templateTree, id) {
878
- return /*#__PURE__*/React$1.createElement(_Col, {
879
- span: 12
880
- }, /*#__PURE__*/React$1.createElement(Tree, {
881
- checkable: true,
882
- defaultExpandAll: isExpandAll,
883
- onCheck: handleSelectTemplates
884
- }, renderTreeNode([templateTree])));
885
- })), (templateType === 3 || templateType === 4) && renderLabexams(), templateType === 5 && renderDiagnosisHistory()), editModalVisible && /*#__PURE__*/React$1.createElement(EditModal, {
886
- templateTypes: safeTypes,
887
- getContainer: props.getContainer,
888
- templateType: templateType,
889
- visible: editModalVisible,
890
- data: activeTemplate,
891
- depid: depid,
892
- onCancel: handleHideEditModal,
893
- onSubmit: handleSubmitEditModal
894
- }));
895
- }
896
- return /*#__PURE__*/React$1.createElement(_Modal, _extends({}, others, {
897
- className: styles["textarea-with-template__modal"],
898
- title: "\u6A21\u677F\u5BFC\u5165",
899
- width: 1100,
900
- onOk: handleOk
901
- }), renderModal());
95
+ return /*#__PURE__*/React.createElement(Input.Group, {
96
+ compact: true,
97
+ className: styles["bregma-group-wrapper"]
98
+ }, /*#__PURE__*/React.createElement(Form.Item, {
99
+ noStyle: true,
100
+ rules: [{
101
+ required: false,
102
+ message: ''
103
+ }],
104
+ label: "",
105
+ name: names[0].split('.')
106
+ }, /*#__PURE__*/React.createElement(Select, {
107
+ allowClear: true,
108
+ style: {
109
+ width: 128
110
+ },
111
+ placeholder: "\u662F\u5426\u95ED\u5408",
112
+ onSelect: handleSelect,
113
+ options: [{
114
+ value: 1,
115
+ label: '闭合'
116
+ }, {
117
+ value: 2,
118
+ label: '未闭合'
119
+ }]
120
+ })), visible && (/*#__PURE__*/React.createElement(Form.Item, {
121
+ noStyle: true,
122
+ rules: [{
123
+ required: false,
124
+ message: ''
125
+ }],
126
+ label: "",
127
+ name: names[1].split('.')
128
+ }, /*#__PURE__*/React.createElement(MultiplicationInput, null))), /*#__PURE__*/React.createElement(Form.Item, {
129
+ noStyle: true,
130
+ rules: [{
131
+ required: false,
132
+ message: ''
133
+ }],
134
+ label: "",
135
+ name: names[2].split('.')
136
+ }, /*#__PURE__*/React.createElement(Select, {
137
+ allowClear: true,
138
+ style: {
139
+ width: 128
140
+ },
141
+ placeholder: "\u8BF7\u9009\u62E9\u5F62\u72B6",
142
+ options: [{
143
+ value: 1,
144
+ label: '平'
145
+ }, {
146
+ value: 2,
147
+ label: '隆起'
148
+ }, {
149
+ value: 3,
150
+ label: '凹陷'
151
+ }]
152
+ })));
902
153
  }
903
- export { TemplateModal as default };
904
- //# sourceMappingURL=.root60.js.map
154
+ export { BregmaGroup as default };