@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
|
@@ -1,242 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
|
-
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
9
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
10
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
|
-
import 'antd/es/col/style';
|
|
12
|
-
import _Col from 'antd/es/col';
|
|
13
|
-
import 'antd/es/row/style';
|
|
14
|
-
import _Row from 'antd/es/row';
|
|
15
|
-
import 'antd/es/button/style';
|
|
16
|
-
import _Button from 'antd/es/button';
|
|
17
|
-
import 'antd/es/input/style';
|
|
18
|
-
import _Input from 'antd/es/input';
|
|
19
|
-
import _isEmpty from 'lodash/isEmpty';
|
|
20
|
-
import _map from 'lodash/map';
|
|
21
|
-
import _get from 'lodash/get';
|
|
22
|
-
import React from 'react';
|
|
23
|
-
import dayjs from 'dayjs';
|
|
24
|
-
import { aw as DynamicForm, as as formDescriptionsWithoutSectionApi, p as MyDatePicker } from './index.js';
|
|
25
|
-
import { PlusOutlined, CloseOutlined } from '@ant-design/icons';
|
|
26
|
-
import CheckboxGroup from './.root132.js';
|
|
27
|
-
import ReferralOrganizationSelect from './.root133.js';
|
|
28
|
-
import { SMchc_FormDescriptions, SLocal_State } from '@lm_fe/service';
|
|
29
|
-
import '@lm_fe/env';
|
|
30
|
-
import 'lodash/isFunction';
|
|
31
|
-
import 'antd/es/space/style';
|
|
32
|
-
import 'antd/es/space';
|
|
33
|
-
import 'antd/es/input-number/style';
|
|
34
|
-
import 'antd/es/input-number';
|
|
35
|
-
import 'lodash/set';
|
|
36
|
-
import 'lodash/indexOf';
|
|
37
|
-
import 'lodash/compact';
|
|
38
|
-
import '@lm_fe/components';
|
|
39
|
-
import '@lm_fe/utils';
|
|
40
|
-
import 'classnames';
|
|
41
|
-
import 'antd/es/checkbox/style';
|
|
42
|
-
import 'antd/es/checkbox';
|
|
43
|
-
import 'lodash/isString';
|
|
44
|
-
import 'lodash/isNumber';
|
|
45
|
-
import 'lodash/isBoolean';
|
|
46
|
-
import 'antd/es/divider/style';
|
|
47
|
-
import 'antd/es/divider';
|
|
48
|
-
import 'antd/es/switch/style';
|
|
49
|
-
import 'antd/es/switch';
|
|
50
|
-
import 'antd/es/form/style';
|
|
51
|
-
import 'antd/es/form';
|
|
52
|
-
import 'lodash/join';
|
|
53
|
-
import 'lodash/isEqual';
|
|
54
|
-
import 'lodash/isArray';
|
|
55
|
-
import 'lodash/identity';
|
|
56
|
-
import 'lodash/cloneDeep';
|
|
57
|
-
import 'lodash/isObject';
|
|
58
|
-
import 'lodash/keys';
|
|
59
|
-
import 'lodash/keyBy';
|
|
60
|
-
import 'lodash/isNil';
|
|
61
|
-
import 'antd/es/tooltip/style';
|
|
62
|
-
import 'antd/es/tooltip';
|
|
63
|
-
import 'antd/es/spin/style';
|
|
64
|
-
import 'antd/es/spin';
|
|
65
|
-
import 'antd/es/message/style';
|
|
66
|
-
import 'antd/es/message';
|
|
67
|
-
import 'lodash/has';
|
|
68
|
-
import 'antd/es/modal/style';
|
|
69
|
-
import 'antd/es/modal';
|
|
70
|
-
import 'lodash/size';
|
|
71
|
-
import 'lodash/includes';
|
|
72
|
-
import 'lodash/forEach';
|
|
73
|
-
import 'lodash/filter';
|
|
74
|
-
import 'react-to-print';
|
|
75
|
-
import 'lodash/concat';
|
|
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';
|
|
87
|
-
import 'store';
|
|
88
|
-
import 'antd/es/popconfirm/style';
|
|
89
|
-
import 'antd/es/popconfirm';
|
|
90
|
-
import 'antd/es/radio/style';
|
|
91
|
-
import 'antd/es/radio';
|
|
92
|
-
import 'lodash/last';
|
|
93
|
-
import 'lodash/toUpper';
|
|
94
|
-
import 'lodash/split';
|
|
95
|
-
var ReferralRegister = /*#__PURE__*/function (_DynamicForm) {
|
|
96
|
-
function ReferralRegister() {
|
|
97
|
-
var _this;
|
|
98
|
-
_classCallCheck(this, ReferralRegister);
|
|
99
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
100
|
-
args[_key] = arguments[_key];
|
|
101
|
-
}
|
|
102
|
-
_this = _callSuper(this, ReferralRegister, [].concat(args));
|
|
103
|
-
_defineProperty(_this, "state", {
|
|
104
|
-
formDescriptions: {}
|
|
105
|
-
});
|
|
106
|
-
_defineProperty(_this, "componentDidMount", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
107
|
-
var _this$props, form, value, formDescriptions;
|
|
108
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
109
|
-
while (1) switch (_context.prev = _context.next) {
|
|
110
|
-
case 0:
|
|
111
|
-
_this$props = _this.props, form = _this$props.form, value = _this$props.value;
|
|
112
|
-
_context.t0 = formDescriptionsWithoutSectionApi;
|
|
113
|
-
_context.next = 4;
|
|
114
|
-
return SMchc_FormDescriptions.getModuleParseCache('referral-register-setting');
|
|
115
|
-
case 4:
|
|
116
|
-
_context.t1 = _context.sent;
|
|
117
|
-
formDescriptions = (0, _context.t0)(_context.t1);
|
|
118
|
-
if (!_isEmpty(value)) {
|
|
119
|
-
form.setFieldsValue({
|
|
120
|
-
referralInReason: _get(value, 'reason'),
|
|
121
|
-
referralInReferralDate: _get(value, 'referralDate') ? dayjs(_get(value, 'referralDate')) : _get(value, 'referralDate'),
|
|
122
|
-
referralInReferralOrganization: _get(value, 'referralOrganization'),
|
|
123
|
-
referralInReferralDept: _get(value, 'referralDept'),
|
|
124
|
-
referralInReferralDirection: _get(value, 'referralDirection'),
|
|
125
|
-
referralInReferralDoctor: _get(value, 'referralDoctor'),
|
|
126
|
-
referralInReferralContactNumber: _get(value, 'referralContactNumber'),
|
|
127
|
-
referralInRecorder: _get(value, 'recorder')
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
_this.setState({
|
|
131
|
-
formDescriptions: formDescriptions
|
|
132
|
-
});
|
|
133
|
-
case 8:
|
|
134
|
-
case "end":
|
|
135
|
-
return _context.stop();
|
|
136
|
-
}
|
|
137
|
-
}, _callee);
|
|
138
|
-
})));
|
|
139
|
-
_defineProperty(_this, "handleBtnAdd", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
140
|
-
var form, basicInfo;
|
|
141
|
-
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
142
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
143
|
-
case 0:
|
|
144
|
-
form = _this.props.form;
|
|
145
|
-
basicInfo = SLocal_State.getUserData();
|
|
146
|
-
form.setFieldsValue({
|
|
147
|
-
referralInRecorder: _get(basicInfo, 'firstName'),
|
|
148
|
-
referralIn: {
|
|
149
|
-
showReferralForm: true
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
case 3:
|
|
153
|
-
case "end":
|
|
154
|
-
return _context2.stop();
|
|
155
|
-
}
|
|
156
|
-
}, _callee2);
|
|
157
|
-
})));
|
|
158
|
-
_defineProperty(_this, "handleBtnDelete", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
159
|
-
var form;
|
|
160
|
-
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
161
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
162
|
-
case 0:
|
|
163
|
-
form = _this.props.form;
|
|
164
|
-
form.setFieldsValue({
|
|
165
|
-
referralIn: null,
|
|
166
|
-
referralInReason: '',
|
|
167
|
-
referralInReferralDate: '',
|
|
168
|
-
referralInReferralOrganization: '',
|
|
169
|
-
referralInReferralDept: '',
|
|
170
|
-
referralInReferralDirection: '',
|
|
171
|
-
referralInReferralDoctor: '',
|
|
172
|
-
referralInReferralContactNumber: '',
|
|
173
|
-
referralInRecorder: ''
|
|
174
|
-
});
|
|
175
|
-
case 2:
|
|
176
|
-
case "end":
|
|
177
|
-
return _context3.stop();
|
|
178
|
-
}
|
|
179
|
-
}, _callee3);
|
|
180
|
-
})));
|
|
181
|
-
_defineProperty(_this, "renderItem", function (formDescription) {
|
|
182
|
-
var formDescriptions = _this.state.formDescriptions;
|
|
183
|
-
var renderEditItem = _this.generateRenderEditItem(formDescriptions);
|
|
184
|
-
var formDescriptionKey = _get(formDescription, 'key');
|
|
185
|
-
switch (_get(formDescription, 'inputType')) {
|
|
186
|
-
case 'input':
|
|
187
|
-
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(_Input, _get(formDescription, 'inputProps')), {
|
|
188
|
-
customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
|
|
189
|
-
});
|
|
190
|
-
case 'checkbox_group':
|
|
191
|
-
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(CheckboxGroup, {
|
|
192
|
-
config: formDescription
|
|
193
|
-
}), {
|
|
194
|
-
customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
|
|
195
|
-
});
|
|
196
|
-
case 'single_date_picker':
|
|
197
|
-
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(MyDatePicker, _get(formDescription, 'inputProps')), {
|
|
198
|
-
customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
|
|
199
|
-
});
|
|
200
|
-
case 'text_area':
|
|
201
|
-
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(_Input.TextArea, _get(formDescription, 'inputProps')), {
|
|
202
|
-
customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
|
|
203
|
-
});
|
|
204
|
-
case 'referral_organization_select':
|
|
205
|
-
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(ReferralOrganizationSelect, null), {
|
|
206
|
-
customFormItemLayout: _get(formDescription, 'formItemLayout') || {}
|
|
207
|
-
});
|
|
208
|
-
default:
|
|
209
|
-
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(_Input, _get(formDescription, 'inputProps')));
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
return _this;
|
|
213
|
-
}
|
|
214
|
-
_inherits(ReferralRegister, _DynamicForm);
|
|
215
|
-
return _createClass(ReferralRegister, [{
|
|
216
|
-
key: "render",
|
|
217
|
-
value: function render() {
|
|
218
|
-
var _this2 = this;
|
|
219
|
-
var formDescriptions = this.state.formDescriptions;
|
|
220
|
-
var value = this.props.value;
|
|
221
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Row, null, _isEmpty(value) ? /*#__PURE__*/React.createElement(_Button, {
|
|
222
|
-
icon: /*#__PURE__*/React.createElement(PlusOutlined, null),
|
|
223
|
-
onClick: this.handleBtnAdd
|
|
224
|
-
}, "\u6DFB\u52A0\u8F6C\u5165\u767B\u8BB0") : /*#__PURE__*/React.createElement(_Button, {
|
|
225
|
-
icon: /*#__PURE__*/React.createElement(CloseOutlined, null),
|
|
226
|
-
onClick: this.handleBtnDelete
|
|
227
|
-
}, "\u5220\u9664\u8F6C\u5165\u767B\u8BB0")), !_isEmpty(value) && /*#__PURE__*/React.createElement(_Row, {
|
|
228
|
-
style: {
|
|
229
|
-
marginTop: '4px'
|
|
230
|
-
}
|
|
231
|
-
}, _map(formDescriptions, function (formDescription, index) {
|
|
232
|
-
return /*#__PURE__*/React.createElement(_Col, {
|
|
233
|
-
key: index,
|
|
234
|
-
span: _get(formDescription, 'span'),
|
|
235
|
-
offset: _get(formDescription, 'offset')
|
|
236
|
-
}, _this2.renderItem(formDescription));
|
|
237
|
-
})));
|
|
238
|
-
}
|
|
239
|
-
}]);
|
|
240
|
-
}(DynamicForm);
|
|
241
|
-
export { ReferralRegister as default };
|
|
242
|
-
//# sourceMappingURL=.root131.js.map
|
|
1
|
+
import { MyAutoComplete } from '@lm_fe/components';
|
|
2
|
+
export { MyAutoComplete as default } from '@lm_fe/components';
|
|
@@ -1,144 +1,198 @@
|
|
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
1
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
5
|
+
var _excluded = ["value", "options", "onChange", "type", "row", "cusextraObj"];
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
8
|
+
import DefaultSelect from './.root38.js';
|
|
9
|
+
import { Row, Checkbox, Input, AutoComplete } from 'antd';
|
|
10
|
+
import classnames from 'classnames';
|
|
11
|
+
import { map, get, set, isArray } from 'lodash';
|
|
5
12
|
import React, { useState, useEffect } from 'react';
|
|
6
|
-
import {
|
|
7
|
-
import { safe_json_parse } from '@lm_fe/utils';
|
|
8
|
-
import '@lm_fe/env';
|
|
9
|
-
import 'lodash/isFunction';
|
|
10
|
-
import '@ant-design/icons';
|
|
11
|
-
import 'antd/es/space/style';
|
|
12
|
-
import 'antd/es/space';
|
|
13
|
-
import 'antd/es/input/style';
|
|
14
|
-
import 'antd/es/input';
|
|
15
|
-
import 'antd/es/input-number/style';
|
|
16
|
-
import 'antd/es/input-number';
|
|
17
|
-
import 'lodash/set';
|
|
18
|
-
import 'lodash/map';
|
|
19
|
-
import 'lodash/indexOf';
|
|
20
|
-
import 'lodash/compact';
|
|
13
|
+
import { a as styleInject } from './index.js';
|
|
21
14
|
import '@lm_fe/components';
|
|
22
|
-
import '
|
|
15
|
+
import '@lm_fe/env';
|
|
16
|
+
import '@lm_fe/provoke';
|
|
17
|
+
import '@lm_fe/utils';
|
|
23
18
|
import 'dayjs';
|
|
24
|
-
import 'antd/es/checkbox/style';
|
|
25
|
-
import 'antd/es/checkbox';
|
|
26
|
-
import 'lodash/isString';
|
|
27
|
-
import 'lodash/isNumber';
|
|
28
|
-
import 'lodash/isBoolean';
|
|
29
|
-
import 'antd/es/divider/style';
|
|
30
|
-
import 'antd/es/divider';
|
|
31
|
-
import 'antd/es/button/style';
|
|
32
|
-
import 'antd/es/button';
|
|
33
|
-
import 'lodash/isEmpty';
|
|
34
|
-
import 'antd/es/switch/style';
|
|
35
|
-
import 'antd/es/switch';
|
|
36
|
-
import 'antd/es/form/style';
|
|
37
|
-
import 'antd/es/form';
|
|
38
|
-
import 'lodash/isEqual';
|
|
39
|
-
import 'lodash/isArray';
|
|
40
|
-
import 'lodash/identity';
|
|
41
|
-
import 'lodash/cloneDeep';
|
|
42
19
|
import '@lm_fe/service';
|
|
43
|
-
import '
|
|
44
|
-
import 'lodash/keys';
|
|
45
|
-
import 'lodash/keyBy';
|
|
46
|
-
import 'lodash/isNil';
|
|
47
|
-
import 'antd/es/tooltip/style';
|
|
48
|
-
import 'antd/es/tooltip';
|
|
49
|
-
import 'antd/es/spin/style';
|
|
50
|
-
import 'antd/es/spin';
|
|
51
|
-
import 'antd/es/message/style';
|
|
52
|
-
import 'antd/es/message';
|
|
53
|
-
import 'lodash/has';
|
|
54
|
-
import 'antd/es/modal/style';
|
|
55
|
-
import 'antd/es/modal';
|
|
56
|
-
import 'lodash/size';
|
|
57
|
-
import 'lodash/includes';
|
|
58
|
-
import 'lodash/forEach';
|
|
59
|
-
import 'lodash/filter';
|
|
60
|
-
import 'react-to-print';
|
|
61
|
-
import 'antd/es/row/style';
|
|
62
|
-
import 'antd/es/row';
|
|
63
|
-
import 'antd/es/col/style';
|
|
64
|
-
import 'antd/es/col';
|
|
65
|
-
import 'lodash/concat';
|
|
66
|
-
import 'lodash/reduce';
|
|
67
|
-
import 'lodash/debounce';
|
|
68
|
-
import 'lodash/pickBy';
|
|
69
|
-
import 'antd/es/auto-complete/style';
|
|
70
|
-
import 'antd/es/auto-complete';
|
|
71
|
-
import 'lodash/nth';
|
|
72
|
-
import 'lodash/assign';
|
|
73
|
-
import 'antd/es/popover/style';
|
|
74
|
-
import 'antd/es/popover';
|
|
75
|
-
import 'antd/es/menu/style';
|
|
76
|
-
import 'antd/es/menu';
|
|
20
|
+
import 'reconnecting-websocket';
|
|
77
21
|
import 'store';
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
22
|
+
var css_248z = ".checkox-with-extra .checkbox-group-object-item-cus .ant-checkbox-wrapper {\n min-width: 60px;\n}\n.checkbox-group-object-item-cus {\n display: flex;\n align-items: baseline;\n margin-right: 10px;\n}\n.checkbox-group-object-item-cus .ant-checkbox + span {\n padding-right: 4px;\n}\n.checkbox-group-object-item-cus .ant-input {\n width: 100px;\n padding-right: 5px;\n padding-left: 5px;\n border-top: none;\n border-right: none;\n border-left: none;\n border-radius: 0;\n box-shadow: none;\n}\n.checkbox-group-object-item-cus.warning .ant-input {\n color: red !important;\n border-bottom-color: red;\n}\n.checkbox-group-object-item-cus .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n border: none;\n border-bottom: 1px solid red;\n border-radius: 0px;\n}\n.checkbox-group-object-item-cus .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {\n border-bottom: 1px solid red;\n box-shadow: none;\n}\n.checkbox-group-object-select {\n display: flex;\n align-items: center;\n}\n.checkbox-group-object-select span {\n display: flex;\n align-items: center;\n}\n.checkbox-group-object-select .ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n color: red;\n border: none;\n}\n.checkbox-group-object-select .ant-select-single .ant-select-selector .ant-select-selection-search {\n border-bottom: 1px solid red;\n}\n";
|
|
23
|
+
var styles = css_248z;
|
|
24
|
+
styleInject(css_248z);
|
|
25
|
+
var extraObj = {
|
|
26
|
+
key: 'nothing',
|
|
27
|
+
label: '无'
|
|
28
|
+
};
|
|
29
|
+
function CheckboxGroupObject(_ref) {
|
|
30
|
+
var value = _ref.value,
|
|
31
|
+
_ref$options = _ref.options,
|
|
32
|
+
options = _ref$options === void 0 ? [] : _ref$options,
|
|
33
|
+
onChange = _ref.onChange,
|
|
34
|
+
_ref$type = _ref.type,
|
|
35
|
+
type = _ref$type === void 0 ? 'withoutInput' : _ref$type,
|
|
36
|
+
row = _ref.row,
|
|
37
|
+
cusextraObj = _ref.cusextraObj,
|
|
38
|
+
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
39
|
+
// dataSource value值本地变量
|
|
40
|
+
var _useState = useState(null),
|
|
95
41
|
_useState2 = _slicedToArray(_useState, 2),
|
|
96
|
-
|
|
97
|
-
|
|
42
|
+
dataSource = _useState2[0],
|
|
43
|
+
setDataSource = _useState2[1];
|
|
98
44
|
useEffect(function () {
|
|
99
|
-
|
|
100
|
-
|
|
45
|
+
// 未有记录的状态
|
|
46
|
+
if (!value || JSON.stringify(value) === '{}') {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
// 有记录
|
|
101
50
|
if (value) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
// console.log(res)
|
|
114
|
-
setData(res);
|
|
115
|
-
} else if (typeof value == 'boolean' && !value) {
|
|
116
|
-
//value为布尔值false表单不回显
|
|
117
|
-
if (type === 'single') {
|
|
118
|
-
res = {
|
|
119
|
-
checkedValues: [value],
|
|
120
|
-
withInputValues: null
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
setData(res);
|
|
51
|
+
var isNothing = true;
|
|
52
|
+
Object.keys(value).forEach(function (key) {
|
|
53
|
+
if (key !== 'id' && value[key]) {
|
|
54
|
+
isNothing = false;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
var val = isNothing ? _objectSpread(_objectSpread({}, value), {}, {
|
|
58
|
+
nothing: true
|
|
59
|
+
}) : value;
|
|
60
|
+
setDataSource(val);
|
|
124
61
|
}
|
|
125
|
-
}, [
|
|
126
|
-
var handleChange = function handleChange(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
62
|
+
}, [value]);
|
|
63
|
+
var handleChange = function handleChange(checkedValue) {
|
|
64
|
+
onChange(checkedValue);
|
|
65
|
+
};
|
|
66
|
+
var handleTextChange = function handleTextChange(name, val) {
|
|
67
|
+
var newValue = _objectSpread(_objectSpread({}, dataSource), {}, _defineProperty({}, name, val));
|
|
68
|
+
onChange(newValue);
|
|
69
|
+
};
|
|
70
|
+
return /*#__PURE__*/React.createElement(Row, {
|
|
71
|
+
className: styles["checkox-with-extra"]
|
|
72
|
+
}, map([cusextraObj || extraObj].concat(_toConsumableArray(options)), function (item) {
|
|
73
|
+
var itemVal = {
|
|
74
|
+
key: get(value, [item.key]),
|
|
75
|
+
keyNote: get(value, ["".concat(item.key, "Note")])
|
|
76
|
+
};
|
|
77
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
78
|
+
className: styles["checkbox-group-object"]
|
|
79
|
+
}, /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
80
|
+
key: item.key,
|
|
81
|
+
type: type,
|
|
82
|
+
option: item,
|
|
83
|
+
value: itemVal,
|
|
84
|
+
onTextChange: handleTextChange,
|
|
85
|
+
onChange: handleChange,
|
|
86
|
+
row: row,
|
|
87
|
+
allValue: value,
|
|
88
|
+
options: options
|
|
89
|
+
}));
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
92
|
+
function CheckboxItem(_ref2) {
|
|
93
|
+
var option = _ref2.option,
|
|
94
|
+
onTextChange = _ref2.onTextChange,
|
|
95
|
+
_ref2$type = _ref2.type,
|
|
96
|
+
type = _ref2$type === void 0 ? 'withoutInput' : _ref2$type,
|
|
97
|
+
allValue = _ref2.allValue,
|
|
98
|
+
onChange = _ref2.onChange,
|
|
99
|
+
_ref2$row = _ref2.row,
|
|
100
|
+
row = _ref2$row === void 0 ? false : _ref2$row,
|
|
101
|
+
value = _ref2.value,
|
|
102
|
+
options = _ref2.options;
|
|
103
|
+
var inputChange = function inputChange(e) {
|
|
104
|
+
e.preventDefault();
|
|
105
|
+
var val = e.target.value;
|
|
106
|
+
onTextChange("".concat(option.key, "Note"), val);
|
|
107
|
+
};
|
|
108
|
+
var selectChange = function selectChange(val) {
|
|
109
|
+
onTextChange("".concat(option.key, "Note"), val);
|
|
110
|
+
};
|
|
111
|
+
var customselectChange = function customselectChange(val) {
|
|
112
|
+
if (isArray(val)) {
|
|
113
|
+
onTextChange("".concat(option.key, "Note"), val.join(','));
|
|
131
114
|
} else {
|
|
132
|
-
|
|
115
|
+
onTextChange("".concat(option.key, "Note"), val);
|
|
133
116
|
}
|
|
134
|
-
onChange && onChange(res);
|
|
135
117
|
};
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
|
|
118
|
+
function checkboxChange(val, key) {
|
|
119
|
+
var newVal = {};
|
|
120
|
+
if (key == 'nothing' && val) {
|
|
121
|
+
map(options, function (item) {
|
|
122
|
+
set(newVal, "".concat(item.key), false);
|
|
123
|
+
set(newVal, "".concat(item.key, "Note"), '');
|
|
124
|
+
});
|
|
125
|
+
newVal = _objectSpread(_objectSpread({}, newVal), {}, {
|
|
126
|
+
nothing: true
|
|
127
|
+
});
|
|
128
|
+
} else {
|
|
129
|
+
var keyNote = "".concat(key, "Note");
|
|
130
|
+
newVal = _objectSpread(_objectSpread({}, allValue), {}, _defineProperty(_defineProperty(_defineProperty({}, key, val), keyNote, val ? value.keyNote : ''), "nothing", false));
|
|
131
|
+
}
|
|
132
|
+
var newAllValue = _objectSpread(_objectSpread({}, allValue), newVal);
|
|
133
|
+
onChange(newAllValue);
|
|
134
|
+
}
|
|
135
|
+
function transFormToValues(val) {
|
|
136
|
+
if (val && Object.prototype.toString.call(val) == '[object String]') {
|
|
137
|
+
return val.split(',');
|
|
138
|
+
} else {
|
|
139
|
+
return val;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function renderComponent(option) {
|
|
143
|
+
switch (get(option, 'inputType')) {
|
|
144
|
+
case 'customselect':
|
|
145
|
+
return /*#__PURE__*/React.createElement(DefaultSelect, {
|
|
146
|
+
value: transFormToValues(value.keyNote),
|
|
147
|
+
onChange: customselectChange,
|
|
148
|
+
options: get(option, 'inputProps.options'),
|
|
149
|
+
multiple: get(option, 'inputProps.multiple'),
|
|
150
|
+
tags: get(option, 'inputProps.tags'),
|
|
151
|
+
style: {
|
|
152
|
+
minWidth: '100px'
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
case 'autoComplete':
|
|
156
|
+
return /*#__PURE__*/React.createElement(AutoComplete, {
|
|
157
|
+
options: get(option, 'inputProps.options'),
|
|
158
|
+
onChange: selectChange,
|
|
159
|
+
style: {
|
|
160
|
+
overflow: 'hidden',
|
|
161
|
+
whiteSpace: 'nowrap',
|
|
162
|
+
textOverflow: 'ellipsis',
|
|
163
|
+
marginLeft: '6px',
|
|
164
|
+
width: '100px'
|
|
165
|
+
},
|
|
166
|
+
value: value.keyNote
|
|
167
|
+
});
|
|
168
|
+
default:
|
|
169
|
+
return /*#__PURE__*/React.createElement(Input, {
|
|
170
|
+
name: option.key,
|
|
171
|
+
value: value.keyNote,
|
|
172
|
+
onChange: inputChange,
|
|
173
|
+
title: value.keyNote,
|
|
174
|
+
style: {
|
|
175
|
+
overflow: 'hidden',
|
|
176
|
+
whiteSpace: 'nowrap',
|
|
177
|
+
textOverflow: 'ellipsis'
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
183
|
+
className: classnames('checkbox-group-object-item-cus', {
|
|
184
|
+
warning: option.warning
|
|
185
|
+
}, {
|
|
186
|
+
'global-issue-checkbox': option.warning && value.key
|
|
187
|
+
}, {
|
|
188
|
+
'checkbox-group-object-select': option.inputType == 'select'
|
|
189
|
+
})
|
|
190
|
+
}, /*#__PURE__*/React.createElement(Checkbox, {
|
|
191
|
+
name: option.key,
|
|
192
|
+
checked: get(allValue, "".concat(option.key)),
|
|
193
|
+
onChange: function onChange(e) {
|
|
194
|
+
checkboxChange(e.target.checked, option.key);
|
|
195
|
+
}
|
|
196
|
+
}, option.label), type === 'withInput' && option.key !== extraObj.key && value.key && option.warning && renderComponent(option));
|
|
197
|
+
}
|
|
198
|
+
export { CheckboxGroupObject as default };
|