@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/Inner.js
CHANGED
|
@@ -3,48 +3,17 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
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; }
|
|
5
5
|
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; }
|
|
6
|
-
import '
|
|
7
|
-
import
|
|
8
|
-
import 'antd
|
|
9
|
-
import _Popover from 'antd/es/popover';
|
|
10
|
-
import 'antd/es/button/style';
|
|
11
|
-
import _Button from 'antd/es/button';
|
|
12
|
-
import 'antd/es/empty/style';
|
|
13
|
-
import _Empty from 'antd/es/empty';
|
|
14
|
-
import 'antd/es/row/style';
|
|
15
|
-
import _Row from 'antd/es/row';
|
|
16
|
-
import 'antd/es/form/style';
|
|
17
|
-
import _Form from 'antd/es/form';
|
|
18
|
-
import 'antd/es/col/style';
|
|
19
|
-
import _Col from 'antd/es/col';
|
|
20
|
-
import _set from 'lodash/set';
|
|
21
|
-
import _omit from 'lodash/omit';
|
|
22
|
-
import _map from 'lodash/map';
|
|
23
|
-
import _join from 'lodash/join';
|
|
24
|
-
import _isNil from 'lodash/isNil';
|
|
25
|
-
import _isEmpty from 'lodash/isEmpty';
|
|
26
|
-
import _get from 'lodash/get';
|
|
27
|
-
import { DownOutlined, ScanOutlined, DisconnectOutlined, SettingOutlined } from '@ant-design/icons';
|
|
28
|
-
import { safe_json_parse, expect_array } from '@lm_fe/utils';
|
|
6
|
+
import { useMchcDriverStatus, MyIcon, LazyAntd, MyCheckbox, MyLazyComponent } from '@lm_fe/components';
|
|
7
|
+
import { expect_array, safe_json_parse } from '@lm_fe/utils';
|
|
8
|
+
import { Menu, Space, Tabs, ConfigProvider, Empty, Popover, Button, Row, Col } from 'antd';
|
|
29
9
|
import zhCN from 'antd/lib/locale/zh_CN';
|
|
10
|
+
import { isEmpty, forEach, get, isNil, omit, join, map } from 'lodash';
|
|
30
11
|
import React, { useState, useEffect, useRef, lazy } from 'react';
|
|
31
|
-
import { s as styles, d as MyCheckbox, f as formatFormConfig, R as RenderEditItem } from './index.js';
|
|
32
|
-
import { useMchcDriverStatus, LazyAntd, MyLazyComponent } from '@lm_fe/components';
|
|
33
|
-
import 'antd/es/tabs/style';
|
|
34
|
-
import _Tabs from 'antd/es/tabs';
|
|
35
|
-
import 'antd/es/message/style';
|
|
36
|
-
import _message from 'antd/es/message';
|
|
37
|
-
import _isString from 'lodash/isString';
|
|
38
|
-
import _isObject from 'lodash/isObject';
|
|
39
|
-
import _isFunction from 'lodash/isFunction';
|
|
40
|
-
import _isArray from 'lodash/isArray';
|
|
41
12
|
import { mchcDriver, mchcEvent } from '@lm_fe/env';
|
|
42
13
|
import { SMchc_FormDescriptions } from '@lm_fe/service';
|
|
43
14
|
import classnames from 'classnames';
|
|
44
|
-
import '
|
|
45
|
-
import
|
|
46
|
-
import 'antd/es/menu/style';
|
|
47
|
-
import _Menu from 'antd/es/menu';
|
|
15
|
+
import { use_provoke } from '@lm_fe/provoke';
|
|
16
|
+
import { s as styles, f as formatFormConfig, R as RenderEditItem } from './index.js';
|
|
48
17
|
var Tree = LazyAntd.Tree,
|
|
49
18
|
TreeSelect = LazyAntd.TreeSelect,
|
|
50
19
|
Select = LazyAntd.Select,
|
|
@@ -64,10 +33,10 @@ function IdNOButton(props) {
|
|
|
64
33
|
setTarget = _useState2[1];
|
|
65
34
|
var _useMchcDriverStatus = useMchcDriverStatus(),
|
|
66
35
|
isOpen = _useMchcDriverStatus.isOpen;
|
|
67
|
-
var menuProps = /*#__PURE__*/React.createElement(
|
|
36
|
+
var menuProps = /*#__PURE__*/React.createElement(Menu, {
|
|
68
37
|
onClick: function onClick(e) {}
|
|
69
38
|
}, types.map(function (k) {
|
|
70
|
-
return /*#__PURE__*/React.createElement(
|
|
39
|
+
return /*#__PURE__*/React.createElement(Menu.Item, {
|
|
71
40
|
onClick: function onClick() {
|
|
72
41
|
setTarget(k);
|
|
73
42
|
send_msg(k);
|
|
@@ -89,12 +58,17 @@ function IdNOButton(props) {
|
|
|
89
58
|
color: isOpen ? undefined : 'red'
|
|
90
59
|
},
|
|
91
60
|
type: isOpen ? 'primary' : undefined,
|
|
92
|
-
icon: /*#__PURE__*/React.createElement(
|
|
61
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
62
|
+
value: 'DownOutlined'
|
|
63
|
+
}),
|
|
93
64
|
overlay: menuProps,
|
|
94
65
|
onClick: function onClick(e) {
|
|
95
66
|
return send_msg(target);
|
|
96
67
|
}
|
|
97
|
-
}, /*#__PURE__*/React.createElement(
|
|
68
|
+
}, /*#__PURE__*/React.createElement(Space, null, isOpen ? /*#__PURE__*/React.createElement(MyIcon, {
|
|
69
|
+
value: 'ScanOutlined'
|
|
70
|
+
}) : /*#__PURE__*/React.createElement(MyIcon, {
|
|
71
|
+
value: 'DisconnectOutlined',
|
|
98
72
|
style: {
|
|
99
73
|
color: 'red'
|
|
100
74
|
}
|
|
@@ -116,82 +90,10 @@ function useReadIdNO() {
|
|
|
116
90
|
id_NO_msg: id_NO_msg
|
|
117
91
|
};
|
|
118
92
|
}
|
|
119
|
-
function getFormItemControl(getFieldValue, config) {
|
|
120
|
-
var _config$inputProps;
|
|
121
|
-
var dependency = config === null || config === void 0 || (_config$inputProps = config.inputProps) === null || _config$inputProps === void 0 ? void 0 : _config$inputProps.dependency;
|
|
122
|
-
if (dependency) {
|
|
123
|
-
return getFormItemControlByDependency(getFieldValue, config);
|
|
124
|
-
} else {
|
|
125
|
-
return getFormItemControlByNew(getFieldValue, config);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
function getFormItemControlByNew(form_ins, config) {
|
|
129
|
-
var showDeps = config === null || config === void 0 ? void 0 : config.showDeps;
|
|
130
|
-
var requiredDeps = config === null || config === void 0 ? void 0 : config.requiredDeps;
|
|
131
|
-
var disabledDeps = config === null || config === void 0 ? void 0 : config.disabledDeps;
|
|
132
|
-
var res = {
|
|
133
|
-
isShow: compute_dep_status(form_ins, showDeps, !showDeps),
|
|
134
|
-
isRequired: compute_dep_status(form_ins, requiredDeps),
|
|
135
|
-
isDisabled: compute_dep_status(form_ins, disabledDeps)
|
|
136
|
-
};
|
|
137
|
-
return res;
|
|
138
|
-
}
|
|
139
|
-
function compute_dep_status(form_ins, dep_config) {
|
|
140
|
-
var default_status = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
141
|
-
if (_isFunction(dep_config)) {
|
|
142
|
-
return dep_config(form_ins);
|
|
143
|
-
}
|
|
144
|
-
var config_obj = dep_config !== null && dep_config !== void 0 ? dep_config : {};
|
|
145
|
-
var dep_keys = Object.keys(config_obj);
|
|
146
|
-
return dep_keys.reduce(function (state, k) {
|
|
147
|
-
return state || getDepStatus(form_ins, k, config_obj[k]);
|
|
148
|
-
}, default_status);
|
|
149
|
-
}
|
|
150
|
-
function getFormItemControlByDependency(form_ins, config) {
|
|
151
|
-
var _config$inputProps2, _dependency$show, _dependency$show2, _dependency$disabled, _dependency$disabled2, _dependency$required, _dependency$required2;
|
|
152
|
-
var dependency = config === null || config === void 0 || (_config$inputProps2 = config.inputProps) === null || _config$inputProps2 === void 0 ? void 0 : _config$inputProps2.dependency;
|
|
153
|
-
return {
|
|
154
|
-
isShow: getDepStatus(form_ins, dependency === null || dependency === void 0 || (_dependency$show = dependency.show) === null || _dependency$show === void 0 ? void 0 : _dependency$show.key, dependency === null || dependency === void 0 || (_dependency$show2 = dependency.show) === null || _dependency$show2 === void 0 ? void 0 : _dependency$show2.value),
|
|
155
|
-
isDisabled: getDepStatus(form_ins, dependency === null || dependency === void 0 || (_dependency$disabled = dependency.disabled) === null || _dependency$disabled === void 0 ? void 0 : _dependency$disabled.key, dependency === null || dependency === void 0 || (_dependency$disabled2 = dependency.disabled) === null || _dependency$disabled2 === void 0 ? void 0 : _dependency$disabled2.value),
|
|
156
|
-
isRequired: getDepStatus(form_ins, dependency === null || dependency === void 0 || (_dependency$required = dependency.required) === null || _dependency$required === void 0 ? void 0 : _dependency$required.key, dependency === null || dependency === void 0 || (_dependency$required2 = dependency.required) === null || _dependency$required2 === void 0 ? void 0 : _dependency$required2.value)
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
function getDepStatus(form_ins) {
|
|
160
|
-
var depKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
161
|
-
var depValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
162
|
-
//key值有.的情况下showKey处理
|
|
163
|
-
if (_isString(depKey) && depKey.includes('.')) {
|
|
164
|
-
depKey = depKey.split('.');
|
|
165
|
-
}
|
|
166
|
-
var __showVal = form_ins.getFieldValue(depKey);
|
|
167
|
-
var targetShowVal = getUglyValue(__showVal);
|
|
168
|
-
if (_isFunction(depValue)) return depValue(targetShowVal);
|
|
169
|
-
return depValue.includes(targetShowVal);
|
|
170
|
-
}
|
|
171
|
-
function getUglyValue(v) {
|
|
172
|
-
var __value = safe_json_parse(v, v);
|
|
173
|
-
var checkedValue = __value;
|
|
174
|
-
if (_isArray(__value)) {
|
|
175
|
-
return getUglyArrValue(__value);
|
|
176
|
-
}
|
|
177
|
-
if (_isObject(__value)) {
|
|
178
|
-
// [todo]:如果是多选的情况 如何处理
|
|
179
|
-
return getUglyObjValue(__value);
|
|
180
|
-
}
|
|
181
|
-
return checkedValue;
|
|
182
|
-
}
|
|
183
|
-
function getUglyArrValue(__arr) {
|
|
184
|
-
if (!_isArray(__arr)) return __arr;
|
|
185
|
-
if (__arr.length > 1) {
|
|
186
|
-
return __arr.map(getUglyObjValue).join(',');
|
|
187
|
-
}
|
|
188
|
-
return getUglyObjValue(__arr[0]);
|
|
189
|
-
}
|
|
190
|
-
function getUglyObjValue(__obj) {
|
|
191
|
-
var _ref, _obj$value, _obj$checkedValues;
|
|
192
|
-
return (_ref = (_obj$value = __obj === null || __obj === void 0 ? void 0 : __obj.value) !== null && _obj$value !== void 0 ? _obj$value : __obj === null || __obj === void 0 ? void 0 : __obj.key) !== null && _ref !== void 0 ? _ref : __obj === null || __obj === void 0 || (_obj$checkedValues = __obj.checkedValues) === null || _obj$checkedValues === void 0 ? void 0 : _obj$checkedValues[0];
|
|
193
|
-
}
|
|
194
93
|
function RenderTab(props) {
|
|
94
|
+
use_provoke(function (s) {
|
|
95
|
+
return s.sys_theme;
|
|
96
|
+
});
|
|
195
97
|
var fds = props.fds,
|
|
196
98
|
renderContent = props.renderContent,
|
|
197
99
|
form = props.form;
|
|
@@ -211,45 +113,22 @@ function RenderTab(props) {
|
|
|
211
113
|
form: form
|
|
212
114
|
});
|
|
213
115
|
}
|
|
214
|
-
return /*#__PURE__*/React.createElement(
|
|
215
|
-
size:
|
|
116
|
+
return /*#__PURE__*/React.createElement(Tabs, {
|
|
117
|
+
size: 'small',
|
|
216
118
|
tabBarStyle: {
|
|
217
|
-
marginBottom:
|
|
119
|
+
marginBottom: 6
|
|
218
120
|
},
|
|
219
121
|
activeKey: activeKey,
|
|
122
|
+
// tabPosition='right'
|
|
220
123
|
onChange: function onChange(k) {
|
|
221
|
-
|
|
222
|
-
var title = SMchc_FormDescriptions.get_form_item_title_or_Name(_);
|
|
223
|
-
return title === activeKey;
|
|
224
|
-
});
|
|
225
|
-
if (form && items) {
|
|
226
|
-
var _items$children;
|
|
227
|
-
var arr = (_items$children = items.children) !== null && _items$children !== void 0 ? _items$children : [];
|
|
228
|
-
var keys = arr.map(function (_) {
|
|
229
|
-
return SMchc_FormDescriptions.parse_form_item_name(_);
|
|
230
|
-
});
|
|
231
|
-
form.validateFields(keys).then(function () {
|
|
232
|
-
return changeActiveKey(k);
|
|
233
|
-
})["catch"](function (e) {
|
|
234
|
-
var _e$errorFields;
|
|
235
|
-
var errorFields = (_e$errorFields = e === null || e === void 0 ? void 0 : e.errorFields) !== null && _e$errorFields !== void 0 ? _e$errorFields : [];
|
|
236
|
-
var str = errorFields.map(function (_) {
|
|
237
|
-
var errorText = _.errors[0];
|
|
238
|
-
return errorText;
|
|
239
|
-
}).filter(function (_) {
|
|
240
|
-
return _;
|
|
241
|
-
}).join('、');
|
|
242
|
-
_message.warning(str);
|
|
243
|
-
});
|
|
244
|
-
} else {
|
|
245
|
-
changeActiveKey(k);
|
|
246
|
-
}
|
|
124
|
+
return changeActiveKey(k);
|
|
247
125
|
}
|
|
248
126
|
}, configArr.map(function (_) {
|
|
249
127
|
var _$children;
|
|
250
128
|
var title = SMchc_FormDescriptions.get_form_item_title_or_Name(_);
|
|
251
129
|
var tabConfig = (_$children = _ === null || _ === void 0 ? void 0 : _.children) !== null && _$children !== void 0 ? _$children : [];
|
|
252
|
-
return /*#__PURE__*/React.createElement(
|
|
130
|
+
return /*#__PURE__*/React.createElement(Tabs.TabPane, {
|
|
131
|
+
forceRender: !(_ !== null && _ !== void 0 && _.fd_lazy),
|
|
253
132
|
tabKey: title,
|
|
254
133
|
key: title,
|
|
255
134
|
tab: /*#__PURE__*/React.createElement("span", {
|
|
@@ -257,19 +136,25 @@ function RenderTab(props) {
|
|
|
257
136
|
textDecorationLine: _ !== null && _ !== void 0 && _.remote_filter_key ? 'underline' : 'unset'
|
|
258
137
|
}
|
|
259
138
|
}, title)
|
|
260
|
-
},
|
|
139
|
+
}, isEmpty(tabConfig) ? "\u8BF7\u914D\u7F6E".concat(title, "\u7684 children") : renderContent(tabConfig));
|
|
261
140
|
}));
|
|
262
141
|
}
|
|
263
142
|
function RenderSection(props) {
|
|
143
|
+
var _sys_theme$colors;
|
|
264
144
|
var fd = props.fd,
|
|
265
145
|
renderContent = props.renderContent;
|
|
146
|
+
var sys_theme = use_provoke(function (s) {
|
|
147
|
+
return s.sys_theme;
|
|
148
|
+
});
|
|
266
149
|
if (!fd) return null;
|
|
150
|
+
// const bg = '#eee'
|
|
151
|
+
var bg = (_sys_theme$colors = sys_theme.colors) === null || _sys_theme$colors === void 0 ? void 0 : _sys_theme$colors.light[0];
|
|
267
152
|
var _fd$containerType = fd.containerType,
|
|
268
153
|
containerType = _fd$containerType === void 0 ? 'section(default)' : _fd$containerType,
|
|
269
154
|
_fd$children = fd.children,
|
|
270
155
|
children = _fd$children === void 0 ? [] : _fd$children,
|
|
271
156
|
collapsed = fd.collapsed;
|
|
272
|
-
if (
|
|
157
|
+
if (isEmpty(children)) return null;
|
|
273
158
|
var title = SMchc_FormDescriptions.get_form_item_title_or_Name(fd);
|
|
274
159
|
var _useState7 = useState(collapsed),
|
|
275
160
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
@@ -284,32 +169,53 @@ function RenderSection(props) {
|
|
|
284
169
|
padding: '4px 0',
|
|
285
170
|
fontWeight: 'bold',
|
|
286
171
|
fontSize: 20,
|
|
287
|
-
color:
|
|
288
|
-
borderBottom: '1px dashed #150f55',
|
|
172
|
+
color: sys_theme.colorPrimary,
|
|
289
173
|
margin: '6px 0 12px 0',
|
|
290
174
|
textIndent: 12
|
|
291
175
|
}
|
|
292
|
-
}, title), node);
|
|
176
|
+
}, title, ":"), node);
|
|
293
177
|
return title ? /*#__PURE__*/React.createElement("div", {
|
|
294
|
-
className: classnames(styles['base-edit-panel-form_section'], _defineProperty({}, styles['border'], true))
|
|
178
|
+
className: classnames(styles['base-edit-panel-form_section'], _defineProperty({}, styles['border'], true)),
|
|
179
|
+
style: {
|
|
180
|
+
border: "1px solid ".concat(bg),
|
|
181
|
+
borderRadius: 4
|
|
182
|
+
}
|
|
295
183
|
}, /*#__PURE__*/React.createElement("span", {
|
|
296
184
|
className: styles["base-edit-panel-form_section_title"],
|
|
297
185
|
style: {
|
|
298
|
-
cursor: 'pointer'
|
|
186
|
+
cursor: 'pointer',
|
|
187
|
+
color: sys_theme.colorPrimary,
|
|
188
|
+
background: sys_theme.bg_color
|
|
299
189
|
},
|
|
300
190
|
onClick: function onClick() {
|
|
301
191
|
return setHidden(!hidden);
|
|
302
192
|
}
|
|
303
|
-
},
|
|
193
|
+
}, /*#__PURE__*/React.createElement(MyIcon, {
|
|
194
|
+
value: hidden ? 'RightOutlined' : 'DownOutlined',
|
|
304
195
|
style: {
|
|
305
|
-
|
|
196
|
+
fontSize: 14,
|
|
197
|
+
marginRight: 6
|
|
198
|
+
}
|
|
199
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
200
|
+
style: {
|
|
201
|
+
userSelect: 'none'
|
|
306
202
|
}
|
|
307
203
|
}, title)), node) : node;
|
|
308
204
|
}
|
|
309
205
|
function use_form_config(props) {
|
|
310
|
-
var formDescriptions = props.formDescriptions
|
|
206
|
+
var formDescriptions = props.formDescriptions,
|
|
207
|
+
bf_config = props.bf_config,
|
|
208
|
+
initialValues = props.initialValues;
|
|
311
209
|
var form = props.form;
|
|
312
210
|
var value_cache = useRef();
|
|
211
|
+
function assign_cache(value) {
|
|
212
|
+
if (!value) return;
|
|
213
|
+
if (!value_cache.current) {
|
|
214
|
+
value_cache.current = {};
|
|
215
|
+
}
|
|
216
|
+
Object.assign(value_cache.current, value);
|
|
217
|
+
}
|
|
218
|
+
var is_init = useRef(false);
|
|
313
219
|
var _useReadIdNO = useReadIdNO(),
|
|
314
220
|
id_NO_msg = _useReadIdNO.id_NO_msg;
|
|
315
221
|
var _useState9 = useState(),
|
|
@@ -321,8 +227,9 @@ function use_form_config(props) {
|
|
|
321
227
|
form.setFieldsValue_old = form.setFieldsValue;
|
|
322
228
|
}
|
|
323
229
|
form.setFieldsValue = function (value) {
|
|
230
|
+
// mchcLogger.log('setFieldsValue 00', form, value_cache.current, value, form_config)
|
|
324
231
|
if (!form_config) {
|
|
325
|
-
|
|
232
|
+
assign_cache(value);
|
|
326
233
|
} else {
|
|
327
234
|
var _form$setFieldsValue_;
|
|
328
235
|
(_form$setFieldsValue_ = form.setFieldsValue_old) === null || _form$setFieldsValue_ === void 0 || _form$setFieldsValue_.call(form, value);
|
|
@@ -330,20 +237,27 @@ function use_form_config(props) {
|
|
|
330
237
|
};
|
|
331
238
|
}
|
|
332
239
|
useEffect(function () {
|
|
240
|
+
if (!is_init.current && initialValues) {
|
|
241
|
+
is_init.current = true;
|
|
242
|
+
assign_cache(initialValues);
|
|
243
|
+
}
|
|
333
244
|
return function () {};
|
|
334
|
-
}, []);
|
|
245
|
+
}, [initialValues]);
|
|
335
246
|
useEffect(function () {
|
|
336
|
-
formDescriptions &&
|
|
247
|
+
var fd_config = formDescriptions !== null && formDescriptions !== void 0 ? formDescriptions : bf_config === null || bf_config === void 0 ? void 0 : bf_config.tableColumns;
|
|
248
|
+
fd_config && SMchc_FormDescriptions.filter_form_config(fd_config).then(function (f) {
|
|
337
249
|
setForm_config(f);
|
|
338
|
-
|
|
339
|
-
|
|
250
|
+
// mchcLogger.log('setFieldsValue 11 0', form, value_cache.current, value_cache)
|
|
251
|
+
setTimeout(function () {
|
|
252
|
+
if (value_cache.current) {
|
|
253
|
+
// mchcLogger.log('setFieldsValue 11 1', form, value_cache.current)
|
|
340
254
|
form === null || form === void 0 || form.setFieldsValue(value_cache.current);
|
|
341
255
|
value_cache.current = undefined;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
256
|
+
}
|
|
257
|
+
}, 500);
|
|
344
258
|
});
|
|
345
259
|
return function () {};
|
|
346
|
-
}, [formDescriptions]);
|
|
260
|
+
}, [formDescriptions, bf_config]);
|
|
347
261
|
useEffect(function () {
|
|
348
262
|
if (id_NO_msg !== null && id_NO_msg !== void 0 && id_NO_msg.data && form) {
|
|
349
263
|
form.setFieldsValue(id_NO_msg.data);
|
|
@@ -352,12 +266,13 @@ function use_form_config(props) {
|
|
|
352
266
|
return [form_config];
|
|
353
267
|
}
|
|
354
268
|
var RenderFormSectionComponent = /*#__PURE__*/lazy(function () {
|
|
355
|
-
return import('./.
|
|
269
|
+
return import('./.root46.js');
|
|
356
270
|
});
|
|
357
271
|
var typeToText = {
|
|
358
272
|
'section(default)': '分块(默认)',
|
|
359
273
|
'plain': '简约',
|
|
360
|
-
'tabs': '标签页'
|
|
274
|
+
'tabs': '标签页',
|
|
275
|
+
'segs': '分段'
|
|
361
276
|
};
|
|
362
277
|
var typeOption = Object.keys(typeToText).map(function (k) {
|
|
363
278
|
return {
|
|
@@ -377,53 +292,22 @@ function MyFormSection(props) {
|
|
|
377
292
|
function renderRowAndCol() {
|
|
378
293
|
var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
379
294
|
var dynamicFormItemProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
380
|
-
var rowKey =
|
|
381
|
-
return /*#__PURE__*/React.createElement(
|
|
295
|
+
var rowKey = join(map(arr, 'key'), '~');
|
|
296
|
+
return /*#__PURE__*/React.createElement(Row, {
|
|
382
297
|
key: rowKey,
|
|
383
298
|
gutter: 24
|
|
384
|
-
},
|
|
385
|
-
var _config$
|
|
299
|
+
}, map(arr, function (_config) {
|
|
300
|
+
var _config$inputProps, _get, _config$offset, _config$push, _config$pull;
|
|
386
301
|
if (!_config) return;
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
var span = (
|
|
302
|
+
(_config$inputProps = _config.inputProps) === null || _config$inputProps === void 0 || _config$inputProps.dependency;
|
|
303
|
+
_config.showDeps;
|
|
304
|
+
_config.disabledDeps;
|
|
305
|
+
_config.requiredDeps;
|
|
306
|
+
var span = (_get = get(_config, 'span')) !== null && _get !== void 0 ? _get : props.span;
|
|
392
307
|
var offset = (_config$offset = _config.offset) !== null && _config$offset !== void 0 ? _config$offset : 0;
|
|
393
308
|
var push = (_config$push = _config.push) !== null && _config$push !== void 0 ? _config$push : 0;
|
|
394
309
|
var pull = (_config$pull = _config.pull) !== null && _config$pull !== void 0 ? _config$pull : 0;
|
|
395
|
-
|
|
396
|
-
return /*#__PURE__*/React.createElement(_Form.Item, {
|
|
397
|
-
noStyle: true,
|
|
398
|
-
shouldUpdate: true,
|
|
399
|
-
key: _config.key
|
|
400
|
-
}, function (f) {
|
|
401
|
-
var _getFormItemControl = getFormItemControl(f, _config),
|
|
402
|
-
isShow = _getFormItemControl.isShow,
|
|
403
|
-
isDisabled = _getFormItemControl.isDisabled,
|
|
404
|
-
isRequired = _getFormItemControl.isRequired;
|
|
405
|
-
var newDescription = _objectSpread({}, _config);
|
|
406
|
-
if (isDisabled) {
|
|
407
|
-
var inputProps = _get(newDescription, 'inputProps', {});
|
|
408
|
-
newDescription.inputProps = _objectSpread(_objectSpread({}, inputProps), {}, {
|
|
409
|
-
disabled: true
|
|
410
|
-
});
|
|
411
|
-
}
|
|
412
|
-
if (isRequired) {
|
|
413
|
-
_set(newDescription, 'required', true);
|
|
414
|
-
}
|
|
415
|
-
if (!isShow) {
|
|
416
|
-
return null;
|
|
417
|
-
}
|
|
418
|
-
return /*#__PURE__*/React.createElement(_Col, {
|
|
419
|
-
span: span,
|
|
420
|
-
offset: offset,
|
|
421
|
-
push: push,
|
|
422
|
-
pull: pull
|
|
423
|
-
}, renderItem(newDescription, dynamicFormItemProps));
|
|
424
|
-
});
|
|
425
|
-
}
|
|
426
|
-
return /*#__PURE__*/React.createElement(_Col, {
|
|
310
|
+
return /*#__PURE__*/React.createElement(Col, {
|
|
427
311
|
span: span,
|
|
428
312
|
push: push,
|
|
429
313
|
pull: pull,
|
|
@@ -432,10 +316,10 @@ function MyFormSection(props) {
|
|
|
432
316
|
}, renderItem(_config, dynamicFormItemProps));
|
|
433
317
|
}));
|
|
434
318
|
}
|
|
435
|
-
function
|
|
319
|
+
function renderTab_Wrap() {
|
|
436
320
|
var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
437
321
|
var dynamicFormItemProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
438
|
-
var rowKey =
|
|
322
|
+
var rowKey = join(map(arr, 'key'), '~');
|
|
439
323
|
return /*#__PURE__*/React.createElement(RenderTab, {
|
|
440
324
|
fds: arr,
|
|
441
325
|
key: rowKey,
|
|
@@ -450,7 +334,7 @@ function MyFormSection(props) {
|
|
|
450
334
|
}
|
|
451
335
|
// 返回 renderEditItem 的返回
|
|
452
336
|
function renderItem(_config) {
|
|
453
|
-
var _config$
|
|
337
|
+
var _config$inputProps2, _inputProps$size;
|
|
454
338
|
var dynamicFormItemProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
455
339
|
var id = props.id,
|
|
456
340
|
data = props.data,
|
|
@@ -476,8 +360,8 @@ function MyFormSection(props) {
|
|
|
476
360
|
var _inputProps = _config.inputProps;
|
|
477
361
|
var parseProps = safe_json_parse(_inputProps, {});
|
|
478
362
|
_config.inputProps = _typeof(_inputProps) === 'object' ? _objectSpread({}, _inputProps) : parseProps;
|
|
479
|
-
_config.inputProps = (_config$
|
|
480
|
-
_inputProps.size = props.size;
|
|
363
|
+
_config.inputProps = (_config$inputProps2 = _config.inputProps) !== null && _config$inputProps2 !== void 0 ? _config$inputProps2 : {};
|
|
364
|
+
_inputProps.size = (_inputProps$size = _inputProps.size) !== null && _inputProps$size !== void 0 ? _inputProps$size : props.size;
|
|
481
365
|
if (_config.editable === false) {
|
|
482
366
|
_inputProps.disabled = true;
|
|
483
367
|
}
|
|
@@ -498,18 +382,20 @@ function MyFormSection(props) {
|
|
|
498
382
|
targetLabelCol: getLabelCol()
|
|
499
383
|
};
|
|
500
384
|
// 返回 renderEditItem 的返回
|
|
501
|
-
return /*#__PURE__*/React.createElement(RenderFormSectionComponent, option);
|
|
385
|
+
return /*#__PURE__*/React.createElement(RenderFormSectionComponent, _objectSpread({}, option));
|
|
502
386
|
}
|
|
503
|
-
function _renderEditItemInner(
|
|
387
|
+
function _renderEditItemInner(_, defaultOptions) {
|
|
504
388
|
var _props$renderEditItem;
|
|
505
389
|
var R = (_props$renderEditItem = props.renderEditItemInner) !== null && _props$renderEditItem !== void 0 ? _props$renderEditItem : RenderEditItem;
|
|
506
|
-
return function (
|
|
390
|
+
return function (c, ReactNode) {
|
|
507
391
|
var userSetConfig = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
508
|
-
return R(
|
|
392
|
+
return R(c, ReactNode, _objectSpread(_objectSpread({}, defaultOptions), userSetConfig));
|
|
509
393
|
};
|
|
510
394
|
}
|
|
511
|
-
function renderContent(
|
|
395
|
+
function renderContent() {
|
|
396
|
+
var _fds = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
512
397
|
var dynamicFormItemProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
398
|
+
var fds = _fds || [];
|
|
513
399
|
var _props$inline = props.inline,
|
|
514
400
|
inline = _props$inline === void 0 ? false : _props$inline;
|
|
515
401
|
var tempArr = [];
|
|
@@ -518,55 +404,55 @@ function MyFormSection(props) {
|
|
|
518
404
|
var formArray = [];
|
|
519
405
|
var len = fds.length;
|
|
520
406
|
var flush = function flush() {
|
|
521
|
-
if (!
|
|
407
|
+
if (!isEmpty(tempArr)) {
|
|
522
408
|
formArray.push(renderRowAndCol(tempArr, dynamicFormItemProps));
|
|
523
409
|
tempArr = [];
|
|
524
410
|
tempSpan = 0;
|
|
525
411
|
}
|
|
526
412
|
};
|
|
527
413
|
var flushTab = function flushTab() {
|
|
528
|
-
if (!
|
|
529
|
-
formArray.push(
|
|
414
|
+
if (!isEmpty(tempTabItemArr)) {
|
|
415
|
+
formArray.push(renderTab_Wrap(tempTabItemArr, dynamicFormItemProps));
|
|
530
416
|
tempTabItemArr = [];
|
|
531
417
|
}
|
|
532
418
|
};
|
|
533
|
-
|
|
534
|
-
var
|
|
419
|
+
forEach(fds, function (_config, index) {
|
|
420
|
+
var _get2, _config$offset2;
|
|
535
421
|
if (!_config) return;
|
|
536
|
-
var span = (
|
|
422
|
+
var span = (_get2 = get(_config, 'span')) !== null && _get2 !== void 0 ? _get2 : props.span;
|
|
537
423
|
var offset = (_config$offset2 = _config.offset) !== null && _config$offset2 !== void 0 ? _config$offset2 : 0;
|
|
538
424
|
if (!_config.isActive) return;
|
|
539
|
-
var children = _config.children;
|
|
425
|
+
var children = _config.inputType === 'straw' ? [] : _config.children;
|
|
540
426
|
if (_config.containerType === 'tabs') {
|
|
541
427
|
flush();
|
|
542
428
|
tempTabItemArr.push(_config);
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
flushTab();
|
|
432
|
+
if (children && !isEmpty(children)) {
|
|
433
|
+
flush();
|
|
434
|
+
var n = renderSection(_config);
|
|
435
|
+
formArray.push(n);
|
|
436
|
+
} else if (!isNil(span) && !isNil(offset) && !inline) {
|
|
437
|
+
if (get(_config, 'isNewRow')) {
|
|
546
438
|
flush();
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
}
|
|
553
|
-
if (tempSpan < 25 && tempSpan + span + offset < 25) {
|
|
554
|
-
tempSpan = tempSpan + span + offset;
|
|
555
|
-
tempArr.push(_config);
|
|
556
|
-
if (Number(index) === len - 1) {
|
|
557
|
-
flush();
|
|
558
|
-
}
|
|
559
|
-
} else {
|
|
439
|
+
}
|
|
440
|
+
if (tempSpan < 25 && tempSpan + span + offset < 25) {
|
|
441
|
+
tempSpan = tempSpan + span + offset;
|
|
442
|
+
tempArr.push(_config);
|
|
443
|
+
if (Number(index) === len - 1) {
|
|
560
444
|
flush();
|
|
561
|
-
tempSpan = tempSpan + span + offset;
|
|
562
|
-
tempArr.push(_config);
|
|
563
445
|
}
|
|
564
446
|
} else {
|
|
565
|
-
// 修改位置!
|
|
566
447
|
flush();
|
|
567
|
-
|
|
568
|
-
|
|
448
|
+
tempSpan = tempSpan + span + offset;
|
|
449
|
+
tempArr.push(_config);
|
|
569
450
|
}
|
|
451
|
+
} else {
|
|
452
|
+
// 修改位置!
|
|
453
|
+
flush();
|
|
454
|
+
// 修改位置!
|
|
455
|
+
formArray.push(renderItem(_config, dynamicFormItemProps));
|
|
570
456
|
}
|
|
571
457
|
});
|
|
572
458
|
// 修改位置!
|
|
@@ -583,33 +469,33 @@ function MyFormSection(props) {
|
|
|
583
469
|
});
|
|
584
470
|
}
|
|
585
471
|
function __formatFormConfig(_, siblings) {
|
|
586
|
-
var _props$requiredKeys,
|
|
472
|
+
var _props$requiredKeys, _c$children;
|
|
587
473
|
var defaultData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
588
|
-
var
|
|
474
|
+
var c = formatFormConfig(_, getLabelCol(), _objectSpread({
|
|
589
475
|
layout: props.defaultFormItemLayout,
|
|
590
476
|
required: props.defaultRequired
|
|
591
477
|
}, defaultData));
|
|
592
|
-
var formItemName =
|
|
478
|
+
var formItemName = c.name;
|
|
593
479
|
var requiredKeys = (_props$requiredKeys = props.requiredKeys) !== null && _props$requiredKeys !== void 0 ? _props$requiredKeys : {};
|
|
594
480
|
var keys = Object.keys(requiredKeys);
|
|
595
481
|
if (keys.includes(formItemName)) {
|
|
596
|
-
|
|
482
|
+
c.required = requiredKeys[formItemName];
|
|
597
483
|
}
|
|
598
|
-
var arr = (
|
|
484
|
+
var arr = (_c$children = c.children) !== null && _c$children !== void 0 ? _c$children : c.fields;
|
|
599
485
|
if (arr) {
|
|
600
486
|
var filterArr = arr.filter(function (_) {
|
|
601
487
|
return _;
|
|
602
488
|
});
|
|
603
|
-
|
|
604
|
-
c.parent =
|
|
489
|
+
c.children = filterArr.map(function (c) {
|
|
490
|
+
c.parent = omit(c, ['children', 'fields']);
|
|
605
491
|
return __formatFormConfig(c, filterArr);
|
|
606
492
|
});
|
|
607
493
|
}
|
|
608
|
-
|
|
609
|
-
return
|
|
494
|
+
c.siblings = siblings;
|
|
495
|
+
return c;
|
|
610
496
|
}
|
|
611
497
|
function render() {
|
|
612
|
-
if (!f_config ||
|
|
498
|
+
if (!f_config || isEmpty(f_config)) return /*#__PURE__*/React.createElement(Empty, null);
|
|
613
499
|
var filterArr = (f_config !== null && f_config !== void 0 ? f_config : []).filter(function (_) {
|
|
614
500
|
return _;
|
|
615
501
|
});
|
|
@@ -634,8 +520,8 @@ function MyFormSection(props) {
|
|
|
634
520
|
zIndex: 999,
|
|
635
521
|
position: 'relative'
|
|
636
522
|
}
|
|
637
|
-
}, /*#__PURE__*/React.createElement(
|
|
638
|
-
placement:
|
|
523
|
+
}, /*#__PURE__*/React.createElement(Popover, {
|
|
524
|
+
placement: 'leftBottom',
|
|
639
525
|
content: /*#__PURE__*/React.createElement(MyCheckbox, {
|
|
640
526
|
marshal: 0,
|
|
641
527
|
value: dispalyType,
|
|
@@ -645,12 +531,14 @@ function MyFormSection(props) {
|
|
|
645
531
|
options: typeOption
|
|
646
532
|
}),
|
|
647
533
|
title: "\u663E\u793A\u6A21\u5F0F"
|
|
648
|
-
}, /*#__PURE__*/React.createElement(
|
|
649
|
-
icon: /*#__PURE__*/React.createElement(
|
|
650
|
-
|
|
534
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
535
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
536
|
+
value: 'SettingOutlined'
|
|
537
|
+
}),
|
|
538
|
+
shape: 'circle'
|
|
651
539
|
}))), node);
|
|
652
540
|
}
|
|
653
|
-
return /*#__PURE__*/React.createElement(
|
|
541
|
+
return /*#__PURE__*/React.createElement(ConfigProvider, {
|
|
654
542
|
locale: zhCN
|
|
655
543
|
}, render());
|
|
656
544
|
}
|
|
@@ -659,4 +547,3 @@ var Inner = {
|
|
|
659
547
|
'default': MyFormSection
|
|
660
548
|
};
|
|
661
549
|
export { IdNOButton as I, Inner as a };
|
|
662
|
-
//# sourceMappingURL=Inner.js.map
|