@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.
- package/README.md +0 -0
- package/dist/BaseEditPanel/BaseEditPanelFormFC.d.ts +3 -0
- package/dist/BaseEditPanel/PanelWithChildFC.d.ts +10 -15
- package/dist/BaseList/index.d.ts +2 -2
- package/dist/BaseList/methods/index.d.ts +1 -4
- package/dist/BaseListOld/methods/index.d.ts +1 -5
- package/dist/BaseModalForm/DynamicForm.d.ts +0 -24
- package/dist/BaseModalForm/PatientList/index.d.ts +2 -2
- package/dist/BaseModalForm/index.d.ts +2 -2
- package/dist/BusinessComponents/BloodPressure/index.d.ts +2 -1
- package/dist/BusinessComponents/DiagnosisListInduced/index.d.ts +2 -1
- package/dist/BusinessComponents/DiagnosisListv2/template/index.d.ts +1 -2
- package/dist/BusinessComponents/HighriskGrade/index.d.ts +1 -1
- package/dist/BusinessComponents/HighriskSign/index.d.ts +1 -1
- package/dist/BusinessComponents/InspectionResultTextarea/utils.d.ts +0 -8
- package/dist/BusinessComponents/LaborProcess/index.d.ts +3 -3
- package/dist/BusinessComponents/NurseChildren/index.d.ts +5 -5
- package/dist/BusinessComponents/NurseChildren2/index.d.ts +1 -2
- package/dist/BusinessComponents/NursingFetusv2/index.d.ts +1 -2
- package/dist/BusinessComponents/NursingFetusv3/index.d.ts +3 -3
- package/dist/BusinessComponents/PregnancyHistory/config/index-table.d.ts +1 -1
- package/dist/BusinessComponents/ResultTextarea/index copy.d.ts +13 -0
- package/dist/BusinessComponents/ResultTextarea/index.d.ts +1 -1
- package/dist/BusinessComponents/ResultTextarea/utils.d.ts +0 -8
- package/dist/BusinessComponents/TemplateTexDeathclassification1/index.d.ts +2 -1
- package/dist/BusinessComponents/TemplateTextareav2/components/TemplateSelect.d.ts +2 -1
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramTable/index.d.ts +3 -4
- package/dist/BusinessComponents/UltrosoundResultTextarea/utils.d.ts +0 -8
- package/dist/ConfigComponents/CheckboxWithInput/index.d.ts +2 -1
- package/dist/ConfigComponents/InputWithRange/index.d.ts +2 -1
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/default.d.ts +3 -3
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/gysy.d.ts +11 -11
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/indx.d.ts +14 -14
- package/dist/ConfigComponents/NeonatalScaleExamination/table.d.ts +4 -4
- package/dist/ConfigComponents/NormalNursingTable/table.d.ts +1 -1
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable/table.d.ts +3 -3
- package/dist/ConfigComponents/PastDeliveryNursingTable/table.d.ts +6 -6
- package/dist/ConfigComponents/PreDeliverNursingTable/table/default.d.ts +4 -4
- package/dist/ConfigComponents/SpecialNursingTable/table.d.ts +2 -2
- package/dist/FU_components/ArrayInput/index copy.d.ts +4 -0
- package/dist/FU_components/ArrayInput/index.d.ts +1 -4
- package/dist/FU_components/ArrayInput/types.d.ts +8 -9
- package/dist/FU_components/ArrayPanel/Display.d.ts +0 -1
- package/dist/FU_components/ArrayPanel/Inner.d.ts +5 -3
- package/dist/FU_components/CommonFormTabs/index.d.ts +1 -1
- package/dist/FU_components/CommonFormTabs/types.d.ts +4 -2
- package/dist/FU_components/CommonFormTabs/utils.d.ts +4 -0
- package/dist/FU_components/DateRange/index copy.d.ts +7 -0
- package/dist/FU_components/DateRange/index.d.ts +1 -7
- package/dist/FU_components/DateTimeInput/Inner.d.ts +2 -0
- package/dist/FU_components/DateTimeInput/index.d.ts +3 -1
- package/dist/FU_components/FormSection/FormSectionForm.d.ts +4 -0
- package/dist/FU_components/FormSection/RenderFormSectionComponent.d.ts +3 -3
- package/dist/FU_components/FormSection/form_control.d.ts +9 -0
- package/dist/FU_components/FormSection/helper.d.ts +7 -7
- package/dist/FU_components/FormSection/types.d.ts +4 -1
- package/dist/FU_components/FormSection/use_chrono.d.ts +17 -2
- package/dist/FU_components/HbvdnaInput/index.d.ts +2 -1
- package/dist/FU_components/HighriskGradeColorSpan/index.d.ts +1 -1
- package/dist/FU_components/IdNOButton/index copy.d.ts +1 -1
- package/dist/FU_components/MchcDriverStatus/Inner.d.ts +1 -1
- package/dist/FU_components/MyAutoComplete/index copy.d.ts +4 -0
- package/dist/FU_components/MyAutoComplete/index.d.ts +1 -4
- package/dist/FU_components/MyAutoComplete/types.d.ts +1 -1
- package/dist/FU_components/MyBaseList/methods/index.d.ts +1 -1
- package/dist/FU_components/MyBaseTable/strategies.d.ts +0 -5
- package/dist/FU_components/MyButton/{index.d.ts → index copy.d.ts } +1 -1
- package/dist/FU_components/MyEditTable/Inner.d.ts +4 -0
- package/dist/FU_components/MyEditTable/index.d.ts +2 -19
- package/dist/FU_components/MyEditTable/types.d.ts +16 -0
- package/dist/FU_components/MyReferralOrganizationSelect/index.d.ts +1 -1
- package/dist/FU_components/MySearchSelect/index.d.ts +2 -1
- package/dist/FU_components/MySelect/index.d.ts +1 -8
- package/dist/FU_components/MySelect/types.d.ts +3 -5
- package/dist/FU_components/OkButton/index.d.ts +2 -7
- package/dist/FU_components/PressureInput/index.d.ts +4 -0
- package/dist/FU_components/ResultTextarea/index.d.ts +19 -0
- package/dist/FU_components/index.d.ts +1 -3
- package/dist/FU_components/types.d.ts +1 -12
- package/dist/GeneralComponents/CaseTemplete/Inner.d.ts +4 -1
- package/dist/GeneralComponents/CheckboxGroupObject/index.d.ts +1 -1
- package/dist/GeneralComponents/CheckboxWithInput_gold/components.d.ts +200 -45
- package/dist/GeneralComponents/CheckboxWithInput_gold/index.d.ts +1 -5
- package/dist/GeneralComponents/CheckboxWithInput_gold/types.d.ts +1 -1
- package/dist/GeneralComponents/CheckboxWithInput_gold/utils.d.ts +0 -4
- package/dist/GeneralComponents/CustomIcon/index.d.ts +0 -1
- package/dist/GeneralComponents/DatePicker/Inner.d.ts +1 -1
- package/dist/GeneralComponents/DatePicker/index.d.ts +2 -2
- package/dist/GeneralComponents/DatePicker/utils.d.ts +35 -0
- package/dist/GeneralComponents/EditInTable/EditInTable_Inner copy.d.ts +3 -24
- package/dist/GeneralComponents/EditInTable/components.d.ts +1 -1
- package/dist/GeneralComponents/EditInTable/index.d.ts +2 -2
- package/dist/GeneralComponents/EditInTable/utils.d.ts +6 -1
- package/dist/GeneralComponents/ImageUploadPreview/Inner.d.ts +2 -1
- package/dist/GeneralComponents/ImageUploadPreview/index.d.ts +2 -1
- package/dist/GeneralComponents/InputNumber/index.d.ts +4 -4
- package/dist/GeneralComponents/MobileEditor/Inner.d.ts +6 -9
- package/dist/GeneralComponents/MobileEditor/index.d.ts +3 -2
- package/dist/GeneralComponents/UploadFile/index.d.ts +9 -1
- package/dist/GeneralComponents/UploadFileUrlEdit/index.d.ts +2 -1
- package/dist/MyForm/components/Base/CheckboxWithExtra.d.ts +3 -2
- package/dist/MyForm/components/MyButton/index.d.ts +1 -1
- package/dist/MyForm/components/MySelect/DefaultSelect.d.ts +3 -2
- package/dist/MyForm/components/MyTable/index.d.ts +1 -1
- package/dist/MyForm/components/MyTable/index2.d.ts +1 -1
- package/dist/MyForm/components/_MyFormComponent.d.ts +252 -0
- package/dist/MyForm/components/business/NormalButton/index.d.ts +1 -1
- package/dist/MyForm/components/business/PdProcedure/config/table.d.ts +1 -1
- package/dist/MyForm/components/business/PregnancyHistory/MyForm_Business_PregnancyHistory.d.ts +1 -1
- package/dist/MyForm/components/business/PregnancyHistory/config.d.ts +37 -9
- package/dist/MyForm/components/business/TextareaWithBtn/index.d.ts +4 -7
- package/dist/MyForm/form_new.d.ts +20 -1
- package/dist/a_chunks/.root.js +73 -130
- package/dist/a_chunks/.root10.js +124 -319
- package/dist/a_chunks/.root100.js +22 -393
- package/dist/a_chunks/.root101.js +83 -987
- package/dist/a_chunks/.root102.js +13 -278
- package/dist/a_chunks/.root103.js +83 -128
- package/dist/a_chunks/.root104.js +64 -277
- package/dist/a_chunks/.root105.js +133 -492
- package/dist/a_chunks/.root106.js +45 -106
- package/dist/a_chunks/.root107.js +43 -210
- package/dist/a_chunks/.root108.js +71 -174
- package/dist/a_chunks/.root109.js +38 -910
- package/dist/a_chunks/.root11.js +55 -89
- package/dist/a_chunks/.root110.js +46 -939
- package/dist/a_chunks/.root111.js +188 -169
- package/dist/a_chunks/.root112.js +16 -414
- package/dist/a_chunks/.root113.js +23 -257
- package/dist/a_chunks/.root114.js +1994 -163
- package/dist/a_chunks/.root115.js +33 -343
- package/dist/a_chunks/.root116.js +67 -150
- package/dist/a_chunks/.root117.js +35 -124
- package/dist/a_chunks/.root118.js +49 -523
- package/dist/a_chunks/.root119.js +58 -580
- package/dist/a_chunks/.root12.js +133 -117
- package/dist/a_chunks/.root120.js +62 -277
- package/dist/a_chunks/.root121.js +75 -512
- package/dist/a_chunks/.root122.js +75 -633
- package/dist/a_chunks/.root123.js +29 -669
- package/dist/a_chunks/.root124.js +57 -273
- package/dist/a_chunks/.root125.js +107 -200
- package/dist/a_chunks/.root126.js +179 -81
- package/dist/a_chunks/.root127.js +85 -792
- package/dist/a_chunks/.root128.js +108 -260
- package/dist/a_chunks/.root129.js +172 -1085
- package/dist/a_chunks/.root13.js +284 -119
- package/dist/a_chunks/.root130.js +200 -532
- package/dist/a_chunks/.root131.js +2 -242
- package/dist/a_chunks/.root132.js +185 -131
- package/dist/a_chunks/.root133.js +324 -180
- package/dist/a_chunks/.root134.js +13 -409
- package/dist/a_chunks/.root135.js +160 -1135
- package/dist/a_chunks/.root14.js +251 -316
- package/dist/a_chunks/.root15.js +58 -266
- package/dist/a_chunks/.root16.js +74 -240
- package/dist/a_chunks/.root17.js +38 -127
- package/dist/a_chunks/.root18.js +87 -148
- package/dist/a_chunks/.root19.js +182 -109
- package/dist/a_chunks/.root2.js +97 -163
- package/dist/a_chunks/.root20.js +237 -157
- package/dist/a_chunks/.root21.js +19 -258
- package/dist/a_chunks/.root22.js +20 -320
- package/dist/a_chunks/.root23.js +197 -20
- package/dist/a_chunks/.root24.js +190 -89
- package/dist/a_chunks/.root25.js +73 -196
- package/dist/a_chunks/.root26.js +102 -257
- package/dist/a_chunks/.root27.js +69 -142
- package/dist/a_chunks/.root28.js +79 -375
- package/dist/a_chunks/.root29.js +34 -542
- package/dist/a_chunks/.root3.js +103 -170
- package/dist/a_chunks/.root30.js +19 -2226
- package/dist/a_chunks/.root31.js +50 -279
- package/dist/a_chunks/.root32.js +49 -81
- package/dist/a_chunks/.root33.js +49 -84
- package/dist/a_chunks/.root34.js +200 -223
- package/dist/a_chunks/.root35.js +112 -279
- package/dist/a_chunks/.root36.js +136 -158
- package/dist/a_chunks/.root37.js +19 -146
- package/dist/a_chunks/.root38.js +101 -78
- package/dist/a_chunks/.root39.js +581 -34
- package/dist/a_chunks/.root4.js +635 -1056
- package/dist/a_chunks/.root40.js +25 -268
- package/dist/a_chunks/.root41.js +312 -18
- package/dist/a_chunks/.root42.js +138 -192
- package/dist/a_chunks/.root43.js +62 -128
- package/dist/a_chunks/.root44.js +264 -36
- package/dist/a_chunks/.root45.js +257 -20
- package/dist/a_chunks/.root46.js +2274 -47
- package/dist/a_chunks/.root47.js +490 -227
- package/dist/a_chunks/.root48.js +190 -160
- package/dist/a_chunks/.root49.js +168 -74
- package/dist/a_chunks/.root5.js +98 -349
- package/dist/a_chunks/.root50.js +146 -190
- package/dist/a_chunks/.root51.js +379 -305
- package/dist/a_chunks/.root52.js +237 -101
- package/dist/a_chunks/.root53.js +29 -296
- package/dist/a_chunks/.root54.js +69 -23
- package/dist/a_chunks/.root55.js +71 -660
- package/dist/a_chunks/.root56.js +356 -3320
- package/dist/a_chunks/.root57.js +206 -544
- package/dist/a_chunks/.root58.js +275 -185
- package/dist/a_chunks/.root59.js +150 -147
- package/dist/a_chunks/.root6.js +1003 -188
- package/dist/a_chunks/.root60.js +132 -882
- package/dist/a_chunks/.root61.js +288 -98
- package/dist/a_chunks/.root62.js +293 -213
- package/dist/a_chunks/.root63.js +299 -294
- package/dist/a_chunks/.root64.js +295 -450
- package/dist/a_chunks/.root65.js +924 -458
- package/dist/a_chunks/.root66.js +58 -1053
- package/dist/a_chunks/.root67.js +813 -255
- package/dist/a_chunks/.root68.js +892 -192
- package/dist/a_chunks/.root69.js +80 -1070
- package/dist/a_chunks/.root7.js +269 -725
- package/dist/a_chunks/.root70.js +333 -830
- package/dist/a_chunks/.root71.js +155 -376
- package/dist/a_chunks/.root72.js +245 -204
- package/dist/a_chunks/.root73.js +76 -148
- package/dist/a_chunks/.root74.js +54 -344
- package/dist/a_chunks/.root75.js +610 -530
- package/dist/a_chunks/.root76.js +34 -533
- package/dist/a_chunks/.root77.js +140 -328
- package/dist/a_chunks/.root78.js +472 -286
- package/dist/a_chunks/.root79.js +199 -2292
- package/dist/a_chunks/.root8.js +128 -163
- package/dist/a_chunks/.root80.js +476 -168
- package/dist/a_chunks/.root81.js +530 -535
- package/dist/a_chunks/.root82.js +565 -248
- package/dist/a_chunks/.root83.js +126 -242
- package/dist/a_chunks/.root84.js +14 -241
- package/dist/a_chunks/.root85.js +678 -430
- package/dist/a_chunks/.root86.js +161 -317
- package/dist/a_chunks/.root87.js +455 -88
- package/dist/a_chunks/.root88.js +175 -98
- package/dist/a_chunks/.root89.js +63 -237
- package/dist/a_chunks/.root9.js +93 -675
- package/dist/a_chunks/.root90.js +108 -348
- package/dist/a_chunks/.root91.js +331 -124
- package/dist/a_chunks/.root92.js +438 -139
- package/dist/a_chunks/.root93.js +102 -434
- package/dist/a_chunks/.root94.js +821 -346
- package/dist/a_chunks/.root95.js +39 -214
- package/dist/a_chunks/.root96.js +57 -349
- package/dist/a_chunks/.root97.js +274 -510
- package/dist/a_chunks/.root98.js +22 -366
- package/dist/a_chunks/.root99.js +57 -375
- package/dist/a_chunks/Inner.js +149 -262
- package/dist/a_chunks/TableEditableCell.js +12 -10
- package/dist/a_chunks/TemplateModal.js +111 -132
- package/dist/a_chunks/deathclassification.js +17 -33
- package/dist/a_chunks/index.js +2930 -5417
- package/dist/a_chunks/index2.js +2 -4
- package/dist/doctor-end/index.d.ts +0 -2
- package/dist/index.d.ts +3 -8
- package/dist/index.js +8 -77
- package/dist/layout/header.d.ts +0 -1
- package/dist/modals/index.d.ts +1 -16
- package/dist/modals/meta.d.ts +1 -16
- package/dist/newly-component/hepatitis-new-baby/components/Form.d.ts +2 -1
- package/dist/newly-component/hepatitis-new-baby/index.d.ts +2 -1
- package/dist/selects/NormalSelect/index.d.ts +1 -1
- package/dist/selects/SelectWithNo/index copy.d.ts +2 -0
- package/dist/selects/SelectWithNo/index.d.ts +2 -2
- package/dist/utils/InterceptComponent.d.ts +1 -0
- package/dist/utils/dictionary.d.ts +2 -13
- package/dist/utils/format.d.ts +4 -4
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/useMarshal.d.ts +3 -3
- package/dist/utils/utils.d.ts +0 -4
- package/package.json +32 -19
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/BaseTable.d.ts +0 -5
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/EditInTableNoForm.d.ts +0 -51
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/index.d.ts +0 -49
- package/dist/ConfigComponents/OxytocinNursingTable/index.d.ts +0 -2
- package/dist/ConfigComponents/OxytocinNursingTable/table/default.d.ts +0 -255
- package/dist/ConfigComponents/OxytocinNursingTable/table/gysy.d.ts +0 -234
- package/dist/ConfigComponents/OxytocinNursingTable/table/index.d.ts +0 -3
- package/dist/ConfigComponents/RevertEditInTable/index.d.ts +0 -1
- package/dist/FU_components/FormSection/utils.d.ts +0 -81
- package/dist/FU_components/SimpleForm/components/TabForm/index.d.ts +0 -14
- package/dist/FU_components/SimpleForm/components/extra/Custom.d.ts +0 -5
- package/dist/FU_components/SimpleForm/components/extra/SimpleSelect.d.ts +0 -6
- package/dist/FU_components/SimpleForm/index.d.ts +0 -45
- package/dist/FU_components/SimpleForm/types/help.d.ts +0 -3
- package/dist/FU_components/SimpleForm/types/lmTypes.d.ts +0 -85
- package/dist/FU_components/SimpleForm/types/metaTypes.d.ts +0 -28
- package/dist/GeneralComponents/CustomFormField/index.d.ts +0 -12
- package/dist/GeneralComponents/EditInTable/EditInTable_Inner copy 2.d.ts +0 -24
- package/dist/GeneralComponents/IconSelect/index.d.ts +0 -5
- package/dist/GeneralComponents/SelectTable/index.d.ts +0 -44
- package/dist/GeneralComponents/SoDiaoEditor/config.d.ts +0 -44
- package/dist/GeneralComponents/SoDiaoEditor/index.d.ts +0 -11
- package/dist/a_chunks/.root.js.map +0 -1
- package/dist/a_chunks/.root10.js.map +0 -1
- package/dist/a_chunks/.root100.js.map +0 -1
- package/dist/a_chunks/.root101.js.map +0 -1
- package/dist/a_chunks/.root102.js.map +0 -1
- package/dist/a_chunks/.root103.js.map +0 -1
- package/dist/a_chunks/.root104.js.map +0 -1
- package/dist/a_chunks/.root105.js.map +0 -1
- package/dist/a_chunks/.root106.js.map +0 -1
- package/dist/a_chunks/.root107.js.map +0 -1
- package/dist/a_chunks/.root108.js.map +0 -1
- package/dist/a_chunks/.root109.js.map +0 -1
- package/dist/a_chunks/.root11.js.map +0 -1
- package/dist/a_chunks/.root110.js.map +0 -1
- package/dist/a_chunks/.root111.js.map +0 -1
- package/dist/a_chunks/.root112.js.map +0 -1
- package/dist/a_chunks/.root113.js.map +0 -1
- package/dist/a_chunks/.root114.js.map +0 -1
- package/dist/a_chunks/.root115.js.map +0 -1
- package/dist/a_chunks/.root116.js.map +0 -1
- package/dist/a_chunks/.root117.js.map +0 -1
- package/dist/a_chunks/.root118.js.map +0 -1
- package/dist/a_chunks/.root119.js.map +0 -1
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root120.js.map +0 -1
- package/dist/a_chunks/.root121.js.map +0 -1
- package/dist/a_chunks/.root122.js.map +0 -1
- package/dist/a_chunks/.root123.js.map +0 -1
- package/dist/a_chunks/.root124.js.map +0 -1
- package/dist/a_chunks/.root125.js.map +0 -1
- package/dist/a_chunks/.root126.js.map +0 -1
- package/dist/a_chunks/.root127.js.map +0 -1
- package/dist/a_chunks/.root128.js.map +0 -1
- package/dist/a_chunks/.root129.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root130.js.map +0 -1
- package/dist/a_chunks/.root131.js.map +0 -1
- package/dist/a_chunks/.root132.js.map +0 -1
- package/dist/a_chunks/.root133.js.map +0 -1
- package/dist/a_chunks/.root134.js.map +0 -1
- package/dist/a_chunks/.root135.js.map +0 -1
- package/dist/a_chunks/.root136.js +0 -507
- package/dist/a_chunks/.root136.js.map +0 -1
- package/dist/a_chunks/.root137.js +0 -570
- package/dist/a_chunks/.root137.js.map +0 -1
- package/dist/a_chunks/.root138.js +0 -197
- package/dist/a_chunks/.root138.js.map +0 -1
- package/dist/a_chunks/.root139.js +0 -903
- package/dist/a_chunks/.root139.js.map +0 -1
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root140.js +0 -267
- package/dist/a_chunks/.root140.js.map +0 -1
- package/dist/a_chunks/.root141.js +0 -179
- package/dist/a_chunks/.root141.js.map +0 -1
- package/dist/a_chunks/.root142.js +0 -114
- package/dist/a_chunks/.root142.js.map +0 -1
- package/dist/a_chunks/.root143.js +0 -133
- package/dist/a_chunks/.root143.js.map +0 -1
- package/dist/a_chunks/.root144.js +0 -351
- package/dist/a_chunks/.root144.js.map +0 -1
- package/dist/a_chunks/.root145.js +0 -99
- package/dist/a_chunks/.root145.js.map +0 -1
- package/dist/a_chunks/.root146.js +0 -136
- package/dist/a_chunks/.root146.js.map +0 -1
- package/dist/a_chunks/.root147.js +0 -445
- package/dist/a_chunks/.root147.js.map +0 -1
- package/dist/a_chunks/.root148.js +0 -618
- package/dist/a_chunks/.root148.js.map +0 -1
- package/dist/a_chunks/.root149.js +0 -329
- package/dist/a_chunks/.root149.js.map +0 -1
- package/dist/a_chunks/.root15.js.map +0 -1
- package/dist/a_chunks/.root150.js +0 -381
- package/dist/a_chunks/.root150.js.map +0 -1
- package/dist/a_chunks/.root151.js +0 -299
- package/dist/a_chunks/.root151.js.map +0 -1
- package/dist/a_chunks/.root152.js +0 -105
- package/dist/a_chunks/.root152.js.map +0 -1
- package/dist/a_chunks/.root153.js +0 -117
- package/dist/a_chunks/.root153.js.map +0 -1
- package/dist/a_chunks/.root154.js +0 -101
- package/dist/a_chunks/.root154.js.map +0 -1
- package/dist/a_chunks/.root155.js +0 -279
- package/dist/a_chunks/.root155.js.map +0 -1
- package/dist/a_chunks/.root156.js +0 -91
- package/dist/a_chunks/.root156.js.map +0 -1
- package/dist/a_chunks/.root157.js +0 -154
- package/dist/a_chunks/.root157.js.map +0 -1
- package/dist/a_chunks/.root158.js +0 -213
- package/dist/a_chunks/.root158.js.map +0 -1
- package/dist/a_chunks/.root159.js +0 -122
- package/dist/a_chunks/.root159.js.map +0 -1
- package/dist/a_chunks/.root16.js.map +0 -1
- package/dist/a_chunks/.root160.js +0 -123
- package/dist/a_chunks/.root160.js.map +0 -1
- package/dist/a_chunks/.root161.js +0 -45
- package/dist/a_chunks/.root161.js.map +0 -1
- package/dist/a_chunks/.root162.js +0 -46
- package/dist/a_chunks/.root162.js.map +0 -1
- package/dist/a_chunks/.root163.js +0 -77
- package/dist/a_chunks/.root163.js.map +0 -1
- package/dist/a_chunks/.root164.js +0 -206
- package/dist/a_chunks/.root164.js.map +0 -1
- package/dist/a_chunks/.root165.js +0 -108
- package/dist/a_chunks/.root165.js.map +0 -1
- package/dist/a_chunks/.root166.js +0 -108
- package/dist/a_chunks/.root166.js.map +0 -1
- package/dist/a_chunks/.root167.js +0 -2074
- package/dist/a_chunks/.root167.js.map +0 -1
- package/dist/a_chunks/.root168.js +0 -112
- package/dist/a_chunks/.root168.js.map +0 -1
- package/dist/a_chunks/.root169.js +0 -147
- package/dist/a_chunks/.root169.js.map +0 -1
- package/dist/a_chunks/.root17.js.map +0 -1
- package/dist/a_chunks/.root170.js +0 -114
- package/dist/a_chunks/.root170.js.map +0 -1
- package/dist/a_chunks/.root171.js +0 -59
- package/dist/a_chunks/.root171.js.map +0 -1
- package/dist/a_chunks/.root172.js +0 -69
- package/dist/a_chunks/.root172.js.map +0 -1
- package/dist/a_chunks/.root173.js +0 -146
- package/dist/a_chunks/.root173.js.map +0 -1
- package/dist/a_chunks/.root174.js +0 -112
- package/dist/a_chunks/.root174.js.map +0 -1
- package/dist/a_chunks/.root175.js +0 -113
- package/dist/a_chunks/.root175.js.map +0 -1
- package/dist/a_chunks/.root176.js +0 -109
- package/dist/a_chunks/.root176.js.map +0 -1
- package/dist/a_chunks/.root177.js +0 -129
- package/dist/a_chunks/.root177.js.map +0 -1
- package/dist/a_chunks/.root178.js +0 -182
- package/dist/a_chunks/.root178.js.map +0 -1
- package/dist/a_chunks/.root179.js +0 -253
- package/dist/a_chunks/.root179.js.map +0 -1
- package/dist/a_chunks/.root18.js.map +0 -1
- package/dist/a_chunks/.root180.js +0 -458
- package/dist/a_chunks/.root180.js.map +0 -1
- package/dist/a_chunks/.root181.js +0 -1511
- package/dist/a_chunks/.root181.js.map +0 -1
- package/dist/a_chunks/.root182.js +0 -91
- package/dist/a_chunks/.root182.js.map +0 -1
- package/dist/a_chunks/.root183.js +0 -115
- package/dist/a_chunks/.root183.js.map +0 -1
- package/dist/a_chunks/.root184.js +0 -1202
- package/dist/a_chunks/.root184.js.map +0 -1
- package/dist/a_chunks/.root185.js +0 -83
- package/dist/a_chunks/.root185.js.map +0 -1
- package/dist/a_chunks/.root186.js +0 -267
- package/dist/a_chunks/.root186.js.map +0 -1
- package/dist/a_chunks/.root187.js +0 -18
- package/dist/a_chunks/.root187.js.map +0 -1
- package/dist/a_chunks/.root19.js.map +0 -1
- package/dist/a_chunks/.root2.js.map +0 -1
- package/dist/a_chunks/.root20.js.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js.map +0 -1
- package/dist/a_chunks/.root23.js.map +0 -1
- package/dist/a_chunks/.root24.js.map +0 -1
- package/dist/a_chunks/.root25.js.map +0 -1
- package/dist/a_chunks/.root26.js.map +0 -1
- package/dist/a_chunks/.root27.js.map +0 -1
- package/dist/a_chunks/.root28.js.map +0 -1
- package/dist/a_chunks/.root29.js.map +0 -1
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root30.js.map +0 -1
- package/dist/a_chunks/.root31.js.map +0 -1
- package/dist/a_chunks/.root32.js.map +0 -1
- package/dist/a_chunks/.root33.js.map +0 -1
- package/dist/a_chunks/.root34.js.map +0 -1
- package/dist/a_chunks/.root35.js.map +0 -1
- package/dist/a_chunks/.root36.js.map +0 -1
- package/dist/a_chunks/.root37.js.map +0 -1
- package/dist/a_chunks/.root38.js.map +0 -1
- package/dist/a_chunks/.root39.js.map +0 -1
- package/dist/a_chunks/.root4.js.map +0 -1
- package/dist/a_chunks/.root40.js.map +0 -1
- package/dist/a_chunks/.root41.js.map +0 -1
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js.map +0 -1
- package/dist/a_chunks/.root44.js.map +0 -1
- package/dist/a_chunks/.root45.js.map +0 -1
- package/dist/a_chunks/.root46.js.map +0 -1
- package/dist/a_chunks/.root47.js.map +0 -1
- package/dist/a_chunks/.root48.js.map +0 -1
- package/dist/a_chunks/.root49.js.map +0 -1
- package/dist/a_chunks/.root5.js.map +0 -1
- package/dist/a_chunks/.root50.js.map +0 -1
- package/dist/a_chunks/.root51.js.map +0 -1
- package/dist/a_chunks/.root52.js.map +0 -1
- package/dist/a_chunks/.root53.js.map +0 -1
- package/dist/a_chunks/.root54.js.map +0 -1
- package/dist/a_chunks/.root55.js.map +0 -1
- package/dist/a_chunks/.root56.js.map +0 -1
- package/dist/a_chunks/.root57.js.map +0 -1
- package/dist/a_chunks/.root58.js.map +0 -1
- package/dist/a_chunks/.root59.js.map +0 -1
- package/dist/a_chunks/.root6.js.map +0 -1
- package/dist/a_chunks/.root60.js.map +0 -1
- package/dist/a_chunks/.root61.js.map +0 -1
- package/dist/a_chunks/.root62.js.map +0 -1
- package/dist/a_chunks/.root63.js.map +0 -1
- package/dist/a_chunks/.root64.js.map +0 -1
- package/dist/a_chunks/.root65.js.map +0 -1
- package/dist/a_chunks/.root66.js.map +0 -1
- package/dist/a_chunks/.root67.js.map +0 -1
- package/dist/a_chunks/.root68.js.map +0 -1
- package/dist/a_chunks/.root69.js.map +0 -1
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root70.js.map +0 -1
- package/dist/a_chunks/.root71.js.map +0 -1
- package/dist/a_chunks/.root72.js.map +0 -1
- package/dist/a_chunks/.root73.js.map +0 -1
- package/dist/a_chunks/.root74.js.map +0 -1
- package/dist/a_chunks/.root75.js.map +0 -1
- package/dist/a_chunks/.root76.js.map +0 -1
- package/dist/a_chunks/.root77.js.map +0 -1
- package/dist/a_chunks/.root78.js.map +0 -1
- package/dist/a_chunks/.root79.js.map +0 -1
- package/dist/a_chunks/.root8.js.map +0 -1
- package/dist/a_chunks/.root80.js.map +0 -1
- package/dist/a_chunks/.root81.js.map +0 -1
- package/dist/a_chunks/.root82.js.map +0 -1
- package/dist/a_chunks/.root83.js.map +0 -1
- package/dist/a_chunks/.root84.js.map +0 -1
- package/dist/a_chunks/.root85.js.map +0 -1
- package/dist/a_chunks/.root86.js.map +0 -1
- package/dist/a_chunks/.root87.js.map +0 -1
- package/dist/a_chunks/.root88.js.map +0 -1
- package/dist/a_chunks/.root89.js.map +0 -1
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/.root90.js.map +0 -1
- package/dist/a_chunks/.root91.js.map +0 -1
- package/dist/a_chunks/.root92.js.map +0 -1
- package/dist/a_chunks/.root93.js.map +0 -1
- package/dist/a_chunks/.root94.js.map +0 -1
- package/dist/a_chunks/.root95.js.map +0 -1
- package/dist/a_chunks/.root96.js.map +0 -1
- package/dist/a_chunks/.root97.js.map +0 -1
- package/dist/a_chunks/.root98.js.map +0 -1
- package/dist/a_chunks/.root99.js.map +0 -1
- package/dist/a_chunks/Inner.js.map +0 -1
- package/dist/a_chunks/TableEditableCell.js.map +0 -1
- package/dist/a_chunks/TemplateModal.js.map +0 -1
- package/dist/a_chunks/_commonjsHelpers.js +0 -22
- package/dist/a_chunks/_commonjsHelpers.js.map +0 -1
- package/dist/a_chunks/common-table-item.js +0 -771
- package/dist/a_chunks/common-table-item.js.map +0 -1
- package/dist/a_chunks/data.js +0 -570
- package/dist/a_chunks/data.js.map +0 -1
- package/dist/a_chunks/deathclassification.js.map +0 -1
- package/dist/a_chunks/func.js +0 -277
- package/dist/a_chunks/func.js.map +0 -1
- package/dist/a_chunks/index.js.map +0 -1
- package/dist/a_chunks/index2.js.map +0 -1
- package/dist/a_chunks/index3.js +0 -479
- package/dist/a_chunks/index3.js.map +0 -1
- package/dist/a_chunks/index4.js +0 -119
- package/dist/a_chunks/index4.js.map +0 -1
- package/dist/a_chunks/requestMethods.js +0 -56
- package/dist/a_chunks/requestMethods.js.map +0 -1
- package/dist/curve/components/BmiCanvas/index.d.ts +0 -29
- package/dist/curve/components/FetusCanvas/config.d.ts +0 -3
- package/dist/curve/components/FetusCanvas/index.d.ts +0 -26
- package/dist/curve/components/FetusCanvas/requestMethods.d.ts +0 -9
- package/dist/curve/components/FetusCanvasNICHD/config.d.ts +0 -3
- package/dist/curve/components/FetusCanvasNICHD/data.d.ts +0 -84
- package/dist/curve/components/FetusCanvasNICHD/index.d.ts +0 -28
- package/dist/curve/components/Pregnogram/index.d.ts +0 -19
- package/dist/curve/components/api.d.ts +0 -23
- package/dist/curve/components-new/BmiCanvas/index.d.ts +0 -22
- package/dist/curve/components-new/FetusCanvas/config.d.ts +0 -3
- package/dist/curve/components-new/FetusCanvas/index.d.ts +0 -19
- package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +0 -9
- package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +0 -3
- package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +0 -84
- package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +0 -21
- package/dist/curve/components-new/Pregnogram/index.d.ts +0 -13
- package/dist/curve/data.d.ts +0 -120
- package/dist/curve/func.d.ts +0 -9
- package/dist/curve/index.d.ts +0 -5
- package/dist/curve/intro-steps.d.ts +0 -7
- package/dist/doctor-end/DiagReminder_copy/index.d.ts +0 -3
- package/dist/doctor-end/ScarredUterus/index.d.ts +0 -15
- package/dist/doctor-end/SyphilisManagement/index.d.ts +0 -15
- package/dist/doctor-end/Thrombus/index.d.ts +0 -22
- package/dist/doctor-end/high-risk-warn/add-diagnoses/add-diagnoses.d.ts +0 -11
- package/dist/doctor-end/high-risk-warn/high-risk-warn.d.ts +0 -15
- package/dist/doctor-end/high-risk-warn/util.d.ts +0 -12
- package/dist/doctor-end/message-multiterm-modal/message-multiterm-modal.d.ts +0 -11
- package/dist/index.js.map +0 -1
- package/dist/layout/components/MenuSearch/Inner.d.ts +0 -7
- package/dist/layout/components/MenuSearch/index.d.ts +0 -1
- package/dist/layout/index.d.ts +0 -1
- package/dist/modals/entries/StupidTemplateModal2/components/TemplateSelect.d.ts +0 -2
- package/dist/modals/entries/StupidTemplateModal2/index.d.ts +0 -22
- package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +0 -16
- package/dist/modals/entries/modal_form/index.d.ts +0 -27
- package/dist/modals/entries/print_modal/index.d.ts +0 -3
- package/dist/modals/entries/template_modal3/EditModal.d.ts +0 -1
- package/dist/modals/entries/template_modal3/common.d.ts +0 -4
- package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +0 -1
- package/dist/modals/entries/template_modal3/index copy 2.d.ts +0 -19
- package/dist/modals/entries/template_modal3/index copy.d.ts +0 -22
- package/dist/modals/entries/template_modal3/index.d.ts +0 -18
- package/dist/modals/entries/template_modal3/methods/index.d.ts +0 -15
- package/dist/modals/entries/template_modal3/types.d.ts +0 -28
- package/dist/modals/entries/test/index.d.ts +0 -6
- package/dist/modals/entries/text_search/index.d.ts +0 -8
- package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +0 -7
- 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
- package/dist/modals/entries//346/242/205/346/257/222/347/256/241/347/220/206/index.d.ts +0 -7
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/modals/entries//350/257/212/346/226/255/345/216/206/345/217/262/index.d.ts +0 -8
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/utils/adapter.d.ts +0 -97
- /package/dist/FU_components/MyBaseList/{_MyBaseList.d.ts → _MyBaseList copy.d.ts} +0 -0
package/dist/a_chunks/.root47.js
CHANGED
|
@@ -1,280 +1,543 @@
|
|
|
1
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
1
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
4
5
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
5
6
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
7
|
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";
|
|
7
11
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
12
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
|
-
import '
|
|
10
|
-
import
|
|
11
|
-
import 'antd
|
|
12
|
-
import
|
|
13
|
-
import 'antd/es/button/style';
|
|
14
|
-
import _Button from 'antd/es/button';
|
|
15
|
-
import _set from 'lodash/set';
|
|
13
|
+
import { MyIcon, LazyAntd } from '@lm_fe/components';
|
|
14
|
+
import { request } from '@lm_fe/utils';
|
|
15
|
+
import { Tooltip, Modal, Input, Button, Row, Col } from 'antd';
|
|
16
|
+
import { get, forEach, isUndefined, includes, concat, map, isEmpty } from 'lodash';
|
|
16
17
|
import React, { Component } from 'react';
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import '@lm_fe/env';
|
|
20
|
-
import 'lodash/isFunction';
|
|
21
|
-
import 'antd/es/space/style';
|
|
22
|
-
import 'antd/es/space';
|
|
23
|
-
import 'antd/es/input/style';
|
|
24
|
-
import 'antd/es/input';
|
|
25
|
-
import 'antd/es/input-number/style';
|
|
26
|
-
import 'antd/es/input-number';
|
|
27
|
-
import 'lodash/map';
|
|
28
|
-
import 'lodash/indexOf';
|
|
29
|
-
import 'lodash/get';
|
|
30
|
-
import 'lodash/compact';
|
|
31
|
-
import '@lm_fe/components';
|
|
32
|
-
import '@lm_fe/utils';
|
|
18
|
+
import { a as styleInject } from './index.js';
|
|
19
|
+
import '@lm_fe/provoke';
|
|
33
20
|
import 'classnames';
|
|
34
21
|
import 'dayjs';
|
|
35
|
-
import '
|
|
36
|
-
import 'antd/es/checkbox';
|
|
37
|
-
import 'lodash/isString';
|
|
38
|
-
import 'lodash/isNumber';
|
|
39
|
-
import 'lodash/isBoolean';
|
|
40
|
-
import 'antd/es/divider/style';
|
|
41
|
-
import 'antd/es/divider';
|
|
42
|
-
import 'lodash/isEmpty';
|
|
43
|
-
import 'antd/es/switch/style';
|
|
44
|
-
import 'antd/es/switch';
|
|
45
|
-
import 'antd/es/form/style';
|
|
46
|
-
import 'antd/es/form';
|
|
47
|
-
import 'lodash/join';
|
|
48
|
-
import 'lodash/isEqual';
|
|
49
|
-
import 'lodash/isArray';
|
|
50
|
-
import 'lodash/identity';
|
|
51
|
-
import 'lodash/cloneDeep';
|
|
22
|
+
import '@lm_fe/env';
|
|
52
23
|
import '@lm_fe/service';
|
|
53
|
-
import '
|
|
54
|
-
import 'lodash/keys';
|
|
55
|
-
import 'lodash/keyBy';
|
|
56
|
-
import 'lodash/isNil';
|
|
57
|
-
import 'antd/es/spin/style';
|
|
58
|
-
import 'antd/es/spin';
|
|
59
|
-
import 'antd/es/message/style';
|
|
60
|
-
import 'antd/es/message';
|
|
61
|
-
import 'lodash/has';
|
|
62
|
-
import 'lodash/size';
|
|
63
|
-
import 'lodash/includes';
|
|
64
|
-
import 'lodash/forEach';
|
|
65
|
-
import 'lodash/filter';
|
|
66
|
-
import 'react-to-print';
|
|
67
|
-
import 'antd/es/row/style';
|
|
68
|
-
import 'antd/es/row';
|
|
69
|
-
import 'antd/es/col/style';
|
|
70
|
-
import 'antd/es/col';
|
|
71
|
-
import 'lodash/concat';
|
|
72
|
-
import 'lodash/reduce';
|
|
73
|
-
import 'lodash/debounce';
|
|
74
|
-
import 'lodash/pickBy';
|
|
75
|
-
import 'antd/es/auto-complete/style';
|
|
76
|
-
import 'antd/es/auto-complete';
|
|
77
|
-
import 'lodash/nth';
|
|
78
|
-
import 'lodash/assign';
|
|
79
|
-
import 'antd/es/popover/style';
|
|
80
|
-
import 'antd/es/popover';
|
|
81
|
-
import 'antd/es/menu/style';
|
|
82
|
-
import 'antd/es/menu';
|
|
24
|
+
import 'reconnecting-websocket';
|
|
83
25
|
import 'store';
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
var css_248z = ".array-custom {\n padding-top: 10px;\n}\n.array-custom .array-form-title {\n color: rgba(0, 0, 0, 0.85);\n display: flex;\n flex-direction: row;\n margin-bottom: 8px;\n}\n.array-custom .array-form-title > div {\n width: 100%;\n padding-left: 2rem;\n}\n.array-custom .array-form-title > div > span {\n position: relative;\n padding: 0 2px;\n}\n.array-custom .array-form-main {\n display: flex;\n flex-direction: row;\n align-items: center;\n position: relative;\n}\n.array-custom .array-form-main_title {\n position: absolute;\n top: -15px;\n left: 3px;\n color: #3d8bf7;\n}\n.array-custom .array-form-main_title-handler {\n display: inline-block;\n}\n.array-custom .array-form-main_custom {\n width: 100%;\n}\n";
|
|
26
|
+
var css_248z = ".index-module_template-tree-wrapper__-eVVJ .index-module_add-btn__Hpw5H {\n position: absolute;\n top: 18px;\n right: 42px;\n z-index: 2;\n text-align: right;\n}\n.index-module_template-tree-wrapper__-eVVJ .ant-tree .ant-tree-list .ant-tree-title {\n display: inline-block;\n max-width: 320px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.index-module_template-tree-wrapper__-eVVJ .index-module_handle-icon__UdWvw {\n margin-left: 10px;\n cursor: pointer;\n}\n";
|
|
27
|
+
var styles = {
|
|
28
|
+
"template-tree-wrapper": "index-module_template-tree-wrapper__-eVVJ",
|
|
29
|
+
"add-btn": "index-module_add-btn__Hpw5H",
|
|
30
|
+
"handle-icon": "index-module_handle-icon__UdWvw"
|
|
31
|
+
};
|
|
91
32
|
styleInject(css_248z);
|
|
92
|
-
var
|
|
93
|
-
|
|
33
|
+
var operationMapping = {
|
|
34
|
+
"new": '新增模板',
|
|
35
|
+
add: '新增子模板',
|
|
36
|
+
edit: '编辑模板',
|
|
37
|
+
"delete": '请注意!'
|
|
38
|
+
};
|
|
39
|
+
var Tree = LazyAntd.Tree,
|
|
40
|
+
TreeSelect = LazyAntd.TreeSelect,
|
|
41
|
+
Select = LazyAntd.Select,
|
|
42
|
+
Table = LazyAntd.Table,
|
|
43
|
+
Dropdown = LazyAntd.Dropdown,
|
|
44
|
+
Pagination = LazyAntd.Pagination;
|
|
45
|
+
var Index = /*#__PURE__*/function (_Component) {
|
|
46
|
+
function Index(props) {
|
|
94
47
|
var _this;
|
|
95
|
-
_classCallCheck(this,
|
|
96
|
-
_this = _callSuper(this,
|
|
97
|
-
_defineProperty(_this, "
|
|
98
|
-
var
|
|
99
|
-
_this$props
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
48
|
+
_classCallCheck(this, Index);
|
|
49
|
+
_this = _callSuper(this, Index, [props]);
|
|
50
|
+
_defineProperty(_this, "getTemplateData", /*#__PURE__*/function () {
|
|
51
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(value) {
|
|
52
|
+
var _this$props, type, depid, userid, pregnancyid, paramsArr, paramsStr, newValue, res;
|
|
53
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
54
|
+
while (1) switch (_context.prev = _context.next) {
|
|
55
|
+
case 0:
|
|
56
|
+
_this$props = _this.props, type = _this$props.type, depid = _this$props.depid, userid = _this$props.userid, pregnancyid = _this$props.pregnancyid;
|
|
57
|
+
paramsArr = {
|
|
58
|
+
type: type,
|
|
59
|
+
depid: depid,
|
|
60
|
+
userid: userid
|
|
61
|
+
};
|
|
62
|
+
paramsStr = '';
|
|
63
|
+
forEach(paramsArr, function (value, key) {
|
|
64
|
+
if (!isUndefined(value)) {
|
|
65
|
+
paramsStr += "".concat(key, ".equals=").concat(value, "&");
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
if (pregnancyid) {
|
|
69
|
+
paramsStr += "pregnancyid.equals=".concat(pregnancyid, "&");
|
|
70
|
+
}
|
|
71
|
+
newValue = value == undefined ? _this.props.searchValue : value;
|
|
72
|
+
if (newValue) {
|
|
73
|
+
paramsStr += "code.contains=".concat(newValue, "&mnemonic.contains=").concat(newValue, "&val.contains=").concat(newValue, "&");
|
|
74
|
+
}
|
|
75
|
+
_context.next = 9;
|
|
76
|
+
return request.get("/api/template-trees?".concat(paramsStr, "page=0&size=500"));
|
|
77
|
+
case 9:
|
|
78
|
+
res = _context.sent;
|
|
79
|
+
res = res.data || [];
|
|
80
|
+
_this.setState({
|
|
81
|
+
templateData: res
|
|
82
|
+
});
|
|
83
|
+
_this.setState({
|
|
84
|
+
nodeTreeItem: null,
|
|
85
|
+
operation: null,
|
|
86
|
+
newTitle: null,
|
|
87
|
+
addTitle: null
|
|
88
|
+
});
|
|
89
|
+
case 13:
|
|
90
|
+
case "end":
|
|
91
|
+
return _context.stop();
|
|
92
|
+
}
|
|
93
|
+
}, _callee);
|
|
94
|
+
}));
|
|
95
|
+
return function (_x) {
|
|
96
|
+
return _ref.apply(this, arguments);
|
|
97
|
+
};
|
|
98
|
+
}());
|
|
99
|
+
_defineProperty(_this, "handleTreeItem", function (operate) {
|
|
100
|
+
_this.setState({
|
|
101
|
+
modalVisible: true,
|
|
102
|
+
operation: operate
|
|
107
103
|
});
|
|
108
|
-
onChange(newValue);
|
|
109
104
|
});
|
|
110
|
-
_defineProperty(_this, "
|
|
111
|
-
var
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
if (!value || value.length === 0) {
|
|
120
|
-
// 默认赋值一条数据
|
|
121
|
-
value = [{}];
|
|
122
|
-
}
|
|
123
|
-
return value.map(function (val, index) {
|
|
124
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
125
|
-
className: "array-form",
|
|
126
|
-
key: "array-custom-".concat(index)
|
|
127
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
128
|
-
className: "array-form-main"
|
|
129
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
130
|
-
className: "array-form-main_title"
|
|
131
|
-
}, /*#__PURE__*/React.createElement("span", null, array_title, index + 1, "\uFF1A"), /*#__PURE__*/React.createElement("div", {
|
|
132
|
-
className: "array-form-main_title-handler"
|
|
133
|
-
}, !hiddenBtn && /*#__PURE__*/React.createElement(React.Fragment, null, value.length === 1 ? null : /*#__PURE__*/React.createElement(_Tooltip, {
|
|
134
|
-
title: "\u5220\u9664"
|
|
135
|
-
}, /*#__PURE__*/React.createElement(_Button, {
|
|
136
|
-
size: "small",
|
|
137
|
-
shape: "circle",
|
|
138
|
-
danger: true,
|
|
139
|
-
type: "link",
|
|
140
|
-
icon: /*#__PURE__*/React.createElement(MinusCircleOutlined, null),
|
|
141
|
-
disabled: _this.props.disabled,
|
|
142
|
-
onClick: function onClick() {
|
|
143
|
-
return _this.handleDelete(index);
|
|
105
|
+
_defineProperty(_this, "handleTreeSort", /*#__PURE__*/function () {
|
|
106
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(sort) {
|
|
107
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
108
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
109
|
+
case 0:
|
|
110
|
+
console.log('移动');
|
|
111
|
+
case 1:
|
|
112
|
+
case "end":
|
|
113
|
+
return _context2.stop();
|
|
144
114
|
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
className: "array-form-main_custom"
|
|
156
|
-
}, /*#__PURE__*/React.createElement(Inner, {
|
|
157
|
-
onChange: function onChange(singleValue) {
|
|
158
|
-
return _this.handleChange(singleValue, index);
|
|
159
|
-
},
|
|
160
|
-
dispatch: dispatch,
|
|
161
|
-
input_props: input_props,
|
|
162
|
-
error: null,
|
|
163
|
-
value: val,
|
|
164
|
-
getValidFun: function getValidFun() {},
|
|
165
|
-
subscribe: function subscribe() {},
|
|
166
|
-
disabled: _this.props.disabled || input_props.disabled
|
|
167
|
-
}))));
|
|
115
|
+
}, _callee2);
|
|
116
|
+
}));
|
|
117
|
+
return function (_x2) {
|
|
118
|
+
return _ref2.apply(this, arguments);
|
|
119
|
+
};
|
|
120
|
+
}());
|
|
121
|
+
_defineProperty(_this, "handleIptChange", function (e, operation) {
|
|
122
|
+
var nodeTreeItem = _this.state.nodeTreeItem;
|
|
123
|
+
if (operation === 'new') _this.setState({
|
|
124
|
+
newTitle: e.target.value
|
|
168
125
|
});
|
|
126
|
+
if (operation === 'add') _this.setState({
|
|
127
|
+
addTitle: e.target.value
|
|
128
|
+
});
|
|
129
|
+
if (operation === 'edit') {
|
|
130
|
+
var data = {
|
|
131
|
+
title: e.target.value
|
|
132
|
+
};
|
|
133
|
+
_this.setState({
|
|
134
|
+
nodeTreeItem: _objectSpread(_objectSpread({}, nodeTreeItem), data)
|
|
135
|
+
});
|
|
136
|
+
}
|
|
169
137
|
});
|
|
170
|
-
_defineProperty(_this, "
|
|
171
|
-
var _this$
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
138
|
+
_defineProperty(_this, "handleOk", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
139
|
+
var _this$props2, type, depid, userid, _this$state, nodeTreeItem, addTitle, operation, newTitle, newItem, addItem, editItem;
|
|
140
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
141
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
142
|
+
case 0:
|
|
143
|
+
_this$props2 = _this.props, type = _this$props2.type, depid = _this$props2.depid, userid = _this$props2.userid;
|
|
144
|
+
_this$state = _this.state, nodeTreeItem = _this$state.nodeTreeItem, addTitle = _this$state.addTitle, operation = _this$state.operation, newTitle = _this$state.newTitle;
|
|
145
|
+
if (!(operation === 'new')) {
|
|
146
|
+
_context3.next = 7;
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
newItem = {
|
|
150
|
+
pid: 0,
|
|
151
|
+
val: newTitle,
|
|
152
|
+
type: type,
|
|
153
|
+
depid: depid,
|
|
154
|
+
userid: userid
|
|
155
|
+
};
|
|
156
|
+
_context3.next = 6;
|
|
157
|
+
return request.post("/api/template-trees", newItem);
|
|
158
|
+
case 6:
|
|
159
|
+
_this.getTemplateData();
|
|
160
|
+
case 7:
|
|
161
|
+
if (!(operation === 'add')) {
|
|
162
|
+
_context3.next = 12;
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
addItem = {
|
|
166
|
+
pid: Number(nodeTreeItem.id),
|
|
167
|
+
val: addTitle,
|
|
168
|
+
type: type,
|
|
169
|
+
depid: depid,
|
|
170
|
+
userid: userid
|
|
171
|
+
};
|
|
172
|
+
_context3.next = 11;
|
|
173
|
+
return request.post("/api/template-trees", addItem);
|
|
174
|
+
case 11:
|
|
175
|
+
_this.getTemplateData();
|
|
176
|
+
case 12:
|
|
177
|
+
if (!(operation === 'edit')) {
|
|
178
|
+
_context3.next = 17;
|
|
179
|
+
break;
|
|
180
|
+
}
|
|
181
|
+
editItem = {
|
|
182
|
+
pid: Number(nodeTreeItem.pid),
|
|
183
|
+
val: nodeTreeItem.title,
|
|
184
|
+
type: type,
|
|
185
|
+
depid: depid,
|
|
186
|
+
userid: userid,
|
|
187
|
+
id: nodeTreeItem.id
|
|
188
|
+
};
|
|
189
|
+
_context3.next = 16;
|
|
190
|
+
return request.put("/api/template-trees", editItem);
|
|
191
|
+
case 16:
|
|
192
|
+
_this.getTemplateData();
|
|
193
|
+
case 17:
|
|
194
|
+
if (!(operation === 'delete')) {
|
|
195
|
+
_context3.next = 21;
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
198
|
+
_context3.next = 20;
|
|
199
|
+
return request["delete"]("/api/template-trees/".concat(nodeTreeItem.id));
|
|
200
|
+
case 20:
|
|
201
|
+
_this.getTemplateData();
|
|
202
|
+
case 21:
|
|
203
|
+
_this.setState({
|
|
204
|
+
modalVisible: false,
|
|
205
|
+
nodeTreeItem: null,
|
|
206
|
+
operation: null
|
|
207
|
+
});
|
|
208
|
+
case 22:
|
|
209
|
+
case "end":
|
|
210
|
+
return _context3.stop();
|
|
189
211
|
}
|
|
212
|
+
}, _callee3);
|
|
213
|
+
})));
|
|
214
|
+
_defineProperty(_this, "handleCancel", function () {
|
|
215
|
+
_this.setState({
|
|
216
|
+
modalVisible: false,
|
|
217
|
+
nodeTreeItem: null,
|
|
218
|
+
operation: null
|
|
190
219
|
});
|
|
191
|
-
if (value) {
|
|
192
|
-
value.push(emptyItem);
|
|
193
|
-
} else {
|
|
194
|
-
value = [emptyItem, emptyItem];
|
|
195
|
-
}
|
|
196
|
-
onChange(value);
|
|
197
220
|
});
|
|
198
|
-
_defineProperty(_this, "
|
|
221
|
+
_defineProperty(_this, "handleAddBtnClick", function () {
|
|
199
222
|
_this.setState({
|
|
200
|
-
|
|
201
|
-
|
|
223
|
+
operation: 'new',
|
|
224
|
+
modalVisible: true
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
_defineProperty(_this, "onMouseEnter", function (_ref4, area) {
|
|
228
|
+
var event = _ref4.event,
|
|
229
|
+
node = _ref4.node;
|
|
230
|
+
var x = event.currentTarget.offsetLeft + event.currentTarget.clientWidth;
|
|
231
|
+
var y = event.currentTarget.offsetTop;
|
|
232
|
+
_this.setState({
|
|
233
|
+
nodeTreeItem: {
|
|
234
|
+
pageX: x,
|
|
235
|
+
pageY: y,
|
|
236
|
+
pid: node.props.pid,
|
|
237
|
+
id: Number(node.props.eventKey),
|
|
238
|
+
title: node.props.title,
|
|
239
|
+
sort: node.props.sort
|
|
240
|
+
},
|
|
241
|
+
currentArea: area
|
|
202
242
|
});
|
|
203
243
|
});
|
|
204
|
-
_defineProperty(_this, "
|
|
205
|
-
var
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
244
|
+
_defineProperty(_this, "handleCheck", /*#__PURE__*/function () {
|
|
245
|
+
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(keys) {
|
|
246
|
+
var onChecked, _this$state2, templateData, checkedKeys;
|
|
247
|
+
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
248
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
249
|
+
case 0:
|
|
250
|
+
onChecked = _this.props.onChecked;
|
|
251
|
+
_this$state2 = _this.state, templateData = _this$state2.templateData, checkedKeys = _this$state2.checkedKeys;
|
|
252
|
+
_this.setState({
|
|
253
|
+
checkedKeys: keys
|
|
254
|
+
});
|
|
255
|
+
forEach(templateData, function (item) {
|
|
256
|
+
if (includes(keys, "".concat(item.id))) {
|
|
257
|
+
item.checked = true;
|
|
258
|
+
} else {
|
|
259
|
+
item.checked = false;
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
onChecked && onChecked(templateData);
|
|
263
|
+
case 5:
|
|
264
|
+
case "end":
|
|
265
|
+
return _context4.stop();
|
|
266
|
+
}
|
|
267
|
+
}, _callee4);
|
|
268
|
+
}));
|
|
269
|
+
return function (_x3) {
|
|
270
|
+
return _ref5.apply(this, arguments);
|
|
271
|
+
};
|
|
272
|
+
}());
|
|
273
|
+
_defineProperty(_this, "handleCheckLeft", function (keys) {
|
|
274
|
+
var onChecked = _this.props.onChecked;
|
|
275
|
+
var _this$state3 = _this.state,
|
|
276
|
+
templateData = _this$state3.templateData,
|
|
277
|
+
checkedKeysRight = _this$state3.checkedKeysRight;
|
|
278
|
+
var allCheckedKays = concat(keys, checkedKeysRight);
|
|
211
279
|
_this.setState({
|
|
212
|
-
|
|
280
|
+
checkedKeysLeft: keys
|
|
281
|
+
});
|
|
282
|
+
forEach(templateData, function (item) {
|
|
283
|
+
if (includes(allCheckedKays, "".concat(item.id))) {
|
|
284
|
+
item.checked = true;
|
|
285
|
+
} else {
|
|
286
|
+
item.checked = false;
|
|
287
|
+
}
|
|
213
288
|
});
|
|
289
|
+
onChecked && onChecked(templateData);
|
|
214
290
|
});
|
|
215
|
-
_defineProperty(_this, "
|
|
216
|
-
var
|
|
217
|
-
|
|
218
|
-
|
|
291
|
+
_defineProperty(_this, "handleCheckRight", function (keys) {
|
|
292
|
+
var onChecked = _this.props.onChecked;
|
|
293
|
+
var _this$state4 = _this.state,
|
|
294
|
+
templateData = _this$state4.templateData,
|
|
295
|
+
checkedKeysLeft = _this$state4.checkedKeysLeft;
|
|
296
|
+
var allCheckedKays = concat(keys, checkedKeysLeft);
|
|
219
297
|
_this.setState({
|
|
220
|
-
|
|
221
|
-
error: error
|
|
298
|
+
checkedKeysRight: keys
|
|
222
299
|
});
|
|
300
|
+
forEach(templateData, function (item) {
|
|
301
|
+
if (includes(allCheckedKays, "".concat(item.id))) {
|
|
302
|
+
item.checked = true;
|
|
303
|
+
} else {
|
|
304
|
+
item.checked = false;
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
onChecked && onChecked(templateData);
|
|
308
|
+
});
|
|
309
|
+
_defineProperty(_this, "transferTemplateData", function (data) {
|
|
310
|
+
var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
311
|
+
var showIcd = _this.props.showIcd;
|
|
312
|
+
var treeData = [];
|
|
313
|
+
map(data, function (item) {
|
|
314
|
+
if (item.pid === pid) {
|
|
315
|
+
item.title = showIcd && item.code ? "\uFF08icd\uFF09".concat(item.val) : item.val;
|
|
316
|
+
item.key = String(item.id);
|
|
317
|
+
item.children = _this.transferTemplateData(data, item.id);
|
|
318
|
+
if (isEmpty(item.children)) {
|
|
319
|
+
item.isLeaf = true;
|
|
320
|
+
} else {
|
|
321
|
+
item.isLeaf = false;
|
|
322
|
+
}
|
|
323
|
+
treeData.push(item);
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
console.log({
|
|
327
|
+
treeData: treeData
|
|
328
|
+
});
|
|
329
|
+
return treeData;
|
|
330
|
+
});
|
|
331
|
+
_defineProperty(_this, "handleSelect", function (selectedKeys, _ref6) {
|
|
332
|
+
var node = _ref6.node;
|
|
333
|
+
var onSelected = _this.props.onSelected;
|
|
334
|
+
onSelected && onSelected(node);
|
|
223
335
|
});
|
|
224
336
|
_this.state = {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
337
|
+
templateData: null,
|
|
338
|
+
checkedKeys: [],
|
|
339
|
+
checkedKeysLeft: [],
|
|
340
|
+
checkedKeysRight: [],
|
|
341
|
+
currentArea: null,
|
|
342
|
+
operation: null,
|
|
343
|
+
nodeTreeItem: null,
|
|
344
|
+
modalVisible: false,
|
|
345
|
+
newTitle: null,
|
|
346
|
+
// 新增主模板名称
|
|
347
|
+
addTitle: null // 新增子模板名称
|
|
229
348
|
};
|
|
230
349
|
return _this;
|
|
231
350
|
}
|
|
232
|
-
_inherits(
|
|
233
|
-
return _createClass(
|
|
351
|
+
_inherits(Index, _Component);
|
|
352
|
+
return _createClass(Index, [{
|
|
234
353
|
key: "componentDidMount",
|
|
235
354
|
value: function componentDidMount() {
|
|
236
|
-
this.
|
|
355
|
+
this.getTemplateData(get(this.props, "searchValue", ''));
|
|
237
356
|
}
|
|
238
357
|
}, {
|
|
239
|
-
key: "
|
|
240
|
-
value: function
|
|
241
|
-
if (
|
|
242
|
-
this.
|
|
358
|
+
key: "componentWillReceiveProps",
|
|
359
|
+
value: function componentWillReceiveProps(nextPorps) {
|
|
360
|
+
if (get(nextPorps, "searchValue") != get(this.props, "searchValue")) {
|
|
361
|
+
this.getTemplateData(get(nextPorps, "searchValue"));
|
|
243
362
|
}
|
|
244
363
|
}
|
|
245
364
|
}, {
|
|
246
|
-
key: "
|
|
247
|
-
value: function
|
|
365
|
+
key: "renderNodeTreeMenu",
|
|
366
|
+
value: function renderNodeTreeMenu() {
|
|
248
367
|
var _this2 = this;
|
|
249
|
-
var
|
|
250
|
-
var
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
368
|
+
var editable = this.props.editable;
|
|
369
|
+
var nodeTreeItem = this.state.nodeTreeItem;
|
|
370
|
+
var _nodeTreeItem = _objectSpread({}, nodeTreeItem),
|
|
371
|
+
pageX = _nodeTreeItem.pageX,
|
|
372
|
+
pageY = _nodeTreeItem.pageY,
|
|
373
|
+
pid = _nodeTreeItem.pid;
|
|
374
|
+
var menuStyle = {
|
|
375
|
+
position: 'absolute',
|
|
376
|
+
maxHeight: 40,
|
|
377
|
+
textAlign: 'center',
|
|
378
|
+
left: "".concat(pageX + 10, "px"),
|
|
379
|
+
top: "".concat(pageY, "px"),
|
|
380
|
+
display: 'flex',
|
|
381
|
+
flexDirection: 'row'
|
|
382
|
+
};
|
|
383
|
+
return nodeTreeItem && editable ? (/*#__PURE__*/React.createElement("div", {
|
|
384
|
+
style: menuStyle
|
|
385
|
+
}, pid === 0 ? (/*#__PURE__*/React.createElement("div", {
|
|
386
|
+
className: styles["handle-icon"],
|
|
387
|
+
onClick: function onClick() {
|
|
388
|
+
return _this2.handleTreeItem('add');
|
|
389
|
+
}
|
|
390
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
391
|
+
placement: "bottom",
|
|
392
|
+
title: "\u6DFB\u52A0\u5B50\u6A21\u677F"
|
|
393
|
+
}, /*#__PURE__*/React.createElement(MyIcon, {
|
|
394
|
+
value: 'PlusCircleOutlined'
|
|
395
|
+
})))) : null, /*#__PURE__*/React.createElement("div", {
|
|
396
|
+
className: styles["handle-icon"],
|
|
397
|
+
onClick: function onClick() {
|
|
398
|
+
return _this2.handleTreeItem('edit');
|
|
399
|
+
}
|
|
400
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
401
|
+
placement: "bottom",
|
|
402
|
+
title: "\u4FEE\u6539"
|
|
403
|
+
}, /*#__PURE__*/React.createElement(MyIcon, {
|
|
404
|
+
value: 'EditOutlined'
|
|
405
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
406
|
+
className: styles["handle-icon"],
|
|
407
|
+
onClick: function onClick() {
|
|
408
|
+
return _this2.handleTreeItem('delete');
|
|
409
|
+
}
|
|
410
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
411
|
+
placement: "bottom",
|
|
412
|
+
title: "\u5220\u9664"
|
|
413
|
+
}, /*#__PURE__*/React.createElement(MyIcon, {
|
|
414
|
+
value: 'DeleteOutlined'
|
|
415
|
+
}))))) : null;
|
|
416
|
+
}
|
|
417
|
+
}, {
|
|
418
|
+
key: "renderHandleModal",
|
|
419
|
+
value: function renderHandleModal() {
|
|
420
|
+
var _this3 = this;
|
|
421
|
+
var _this$state5 = this.state,
|
|
422
|
+
modalVisible = _this$state5.modalVisible,
|
|
423
|
+
nodeTreeItem = _this$state5.nodeTreeItem,
|
|
424
|
+
addTitle = _this$state5.addTitle,
|
|
425
|
+
operation = _this$state5.operation,
|
|
426
|
+
newTitle = _this$state5.newTitle;
|
|
427
|
+
var title = operationMapping[operation];
|
|
428
|
+
return /*#__PURE__*/React.createElement(Modal, {
|
|
429
|
+
title: title,
|
|
430
|
+
closable: true,
|
|
431
|
+
visible: modalVisible,
|
|
432
|
+
onCancel: this.handleCancel,
|
|
433
|
+
onOk: this.handleOk
|
|
434
|
+
}, operation === 'new' && (/*#__PURE__*/React.createElement("div", null, "\u65B0\u589E\u6A21\u677F\u540D\u79F0\uFF1A", /*#__PURE__*/React.createElement(Input, {
|
|
435
|
+
value: newTitle,
|
|
436
|
+
onChange: function onChange(e) {
|
|
437
|
+
return _this3.handleIptChange(e, 'new');
|
|
263
438
|
},
|
|
264
|
-
|
|
265
|
-
|
|
439
|
+
style: {
|
|
440
|
+
width: '50%'
|
|
441
|
+
}
|
|
442
|
+
}))), operation === 'add' && (/*#__PURE__*/React.createElement("div", null, "\u65B0\u589E\u5B50\u6A21\u677F\uFF1A", /*#__PURE__*/React.createElement(Input, {
|
|
443
|
+
value: addTitle,
|
|
444
|
+
onChange: function onChange(e) {
|
|
445
|
+
return _this3.handleIptChange(e, 'add');
|
|
446
|
+
},
|
|
447
|
+
style: {
|
|
448
|
+
width: '50%'
|
|
449
|
+
}
|
|
450
|
+
}))), operation === 'edit' && (/*#__PURE__*/React.createElement("div", null, "\u7F16\u8F91\u6A21\u677F\u540D\u79F0\uFF1A", /*#__PURE__*/React.createElement(Input, {
|
|
451
|
+
value: nodeTreeItem.title,
|
|
452
|
+
onChange: function onChange(e) {
|
|
453
|
+
return _this3.handleIptChange(e, 'edit');
|
|
266
454
|
},
|
|
267
|
-
width: "350px",
|
|
268
455
|
style: {
|
|
269
|
-
|
|
456
|
+
width: '50%'
|
|
270
457
|
}
|
|
271
|
-
}, /*#__PURE__*/React.createElement("
|
|
458
|
+
}))), operation === 'delete' && /*#__PURE__*/React.createElement("div", null, "\u662F\u5426\u5220\u9664\u6A21\u677F\uFF1A", nodeTreeItem.title));
|
|
459
|
+
}
|
|
460
|
+
}, {
|
|
461
|
+
key: "renderTreatment",
|
|
462
|
+
value: function renderTreatment() {
|
|
463
|
+
var _this4 = this;
|
|
464
|
+
var _this$props3 = this.props,
|
|
465
|
+
checkable = _this$props3.checkable,
|
|
466
|
+
divide = _this$props3.divide,
|
|
467
|
+
editable = _this$props3.editable;
|
|
468
|
+
var _this$state6 = this.state,
|
|
469
|
+
templateData = _this$state6.templateData,
|
|
470
|
+
checkedKeys = _this$state6.checkedKeys,
|
|
471
|
+
checkedKeysLeft = _this$state6.checkedKeysLeft,
|
|
472
|
+
checkedKeysRight = _this$state6.checkedKeysRight,
|
|
473
|
+
currentArea = _this$state6.currentArea,
|
|
474
|
+
nodeTreeItem = _this$state6.nodeTreeItem;
|
|
475
|
+
var treeData = this.transferTemplateData(templateData);
|
|
476
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
272
477
|
style: {
|
|
273
|
-
|
|
478
|
+
minHeight: 160,
|
|
479
|
+
padding: '12px 0'
|
|
274
480
|
}
|
|
275
|
-
}
|
|
481
|
+
}, editable ? (/*#__PURE__*/React.createElement("div", {
|
|
482
|
+
className: styles["add-btn"]
|
|
483
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
484
|
+
size: "small",
|
|
485
|
+
onClick: this.handleAddBtnClick
|
|
486
|
+
}, "\u6DFB\u52A0\u6A21\u677F"))) : null, divide ? (/*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
|
|
487
|
+
span: 12
|
|
488
|
+
}, /*#__PURE__*/React.createElement(Tree, {
|
|
489
|
+
style: {
|
|
490
|
+
maxHeight: '90%'
|
|
491
|
+
},
|
|
492
|
+
checkable: checkable,
|
|
493
|
+
defaultExpandAll: true,
|
|
494
|
+
checkedKeys: checkedKeysLeft.length === 0 ? [] : checkedKeysLeft,
|
|
495
|
+
onCheck: this.handleCheckLeft,
|
|
496
|
+
onSelect: this.handleSelect,
|
|
497
|
+
onMouseEnter: function onMouseEnter(e) {
|
|
498
|
+
return _this4.onMouseEnter(e, 'treeLeft');
|
|
499
|
+
},
|
|
500
|
+
treeData: treeData.slice(0, Math.ceil(treeData.length / 2))
|
|
501
|
+
}), nodeTreeItem && currentArea === 'treeLeft' ? this.renderNodeTreeMenu() : null), /*#__PURE__*/React.createElement(Col, {
|
|
502
|
+
span: 12
|
|
503
|
+
}, /*#__PURE__*/React.createElement(Tree, {
|
|
504
|
+
style: {
|
|
505
|
+
maxHeight: '90%'
|
|
506
|
+
},
|
|
507
|
+
checkable: checkable,
|
|
508
|
+
defaultExpandAll: true,
|
|
509
|
+
checkedKeys: checkedKeysRight.length === 0 ? [] : checkedKeysRight,
|
|
510
|
+
onCheck: this.handleCheckRight,
|
|
511
|
+
onSelect: this.handleSelect,
|
|
512
|
+
onMouseEnter: function onMouseEnter(e) {
|
|
513
|
+
return _this4.onMouseEnter(e, 'treeright');
|
|
514
|
+
},
|
|
515
|
+
treeData: treeData.slice(Math.ceil(treeData.length / 2))
|
|
516
|
+
}), nodeTreeItem && currentArea === 'treeright' ? this.renderNodeTreeMenu() : null))) : (/*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
|
|
517
|
+
span: 24
|
|
518
|
+
}, /*#__PURE__*/React.createElement(Tree, {
|
|
519
|
+
style: {
|
|
520
|
+
maxHeight: '90%'
|
|
521
|
+
},
|
|
522
|
+
checkable: checkable,
|
|
523
|
+
defaultExpandAll: true,
|
|
524
|
+
checkedKeys: checkedKeys,
|
|
525
|
+
onCheck: this.handleCheck,
|
|
526
|
+
onSelect: this.handleSelect,
|
|
527
|
+
onMouseEnter: function onMouseEnter(e) {
|
|
528
|
+
return _this4.onMouseEnter(e, '');
|
|
529
|
+
},
|
|
530
|
+
treeData: treeData
|
|
531
|
+
}), nodeTreeItem ? this.renderNodeTreeMenu() : null))));
|
|
532
|
+
}
|
|
533
|
+
}, {
|
|
534
|
+
key: "render",
|
|
535
|
+
value: function render() {
|
|
536
|
+
var templateData = this.state.templateData;
|
|
537
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
538
|
+
className: styles["template-tree-wrapper"]
|
|
539
|
+
}, templateData && this.renderTreatment(), this.renderHandleModal());
|
|
276
540
|
}
|
|
277
541
|
}]);
|
|
278
542
|
}(Component);
|
|
279
|
-
export {
|
|
280
|
-
//# sourceMappingURL=.root47.js.map
|
|
543
|
+
export { Index as default };
|