@lm_fe/components_m 0.1.201 → 0.2.5
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 +1 -1
- 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/DateRange/utils.d.ts +400 -0
- 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 -7
- 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 -5
- 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/TemplateTextarea/index.d.ts +1 -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/{.root93.js → BusinessComponents.TreatmentProgram.TreatmentProgramBasic.js} +70 -139
- package/dist/a_chunks/Inner.js +154 -273
- package/dist/a_chunks/{.root44.js → MyForm.components.MyAutoComplete.js} +4 -6
- package/dist/a_chunks/{.root46.js → MyForm.components.MyCascader.js} +2 -4
- package/dist/a_chunks/{.root55.js → MyForm.components.MyCheckbox.js} +43 -112
- package/dist/a_chunks/{.root47.js → MyForm.components.MyCustom.js} +23 -87
- package/dist/a_chunks/{.root48.js → MyForm.components.MyCustom2.js} +8 -79
- package/dist/a_chunks/{.root73.js → MyForm.components.MyCustom3.js} +6 -75
- package/dist/a_chunks/{.root50.js → MyForm.components.MyInputWithRed.js} +23 -88
- package/dist/a_chunks/{.root52.js → MyForm.components.MySelect.js} +10 -14
- package/dist/a_chunks/{.root53.js → MyForm.components.MyTable.js} +44 -114
- package/dist/a_chunks/{.root72.js → MyForm.components.MyTreeSelect.js} +8 -85
- package/dist/a_chunks/MyForm.components.SingleCheckbox.js +20 -0
- package/dist/a_chunks/TableEditableCell.js +12 -10
- package/dist/a_chunks/TemplateModal.js +111 -132
- package/dist/a_chunks/{.root36.js → components.business.BloodPressure.js} +17 -84
- package/dist/a_chunks/{.root37.js → components.business.DoubleInput.js} +17 -86
- package/dist/a_chunks/{.root38.js → components.business.FilterDateInput.js} +4 -8
- package/dist/a_chunks/{.root39.js → components.business.FundalHeightInput.js} +2 -4
- package/dist/a_chunks/{.root41.js → components.business.NormalButton.js} +4 -6
- package/dist/a_chunks/{.root4.js → components.business.PregnancyHistory.js} +128 -214
- package/dist/a_chunks/components.business.TextareaWithBtn.js +57 -0
- package/dist/a_chunks/{.root78.js → components.business.TextareaWithTemplate.js} +25 -96
- package/dist/a_chunks/{.root74.js → components.business.prenatalReturnTable.js} +39 -106
- package/dist/a_chunks/{.root.js → components_m.src.BaseEditPanel.js} +73 -130
- package/dist/a_chunks/components_m.src.BaseFormComponent.js +24 -0
- package/dist/a_chunks/components_m.src.BaseTable.js +30 -0
- package/dist/a_chunks/components_m.src.DataSelectWithAutoInput.js +69 -0
- package/dist/a_chunks/{.root2.js → components_m.src.MyForm.js} +97 -163
- package/dist/a_chunks/{.root23.js → components_m.src.PDFPreview.js} +0 -1
- package/dist/a_chunks/deathclassification.js +17 -33
- package/dist/a_chunks/index.js +2855 -5604
- package/dist/a_chunks/index2.js +2 -4
- package/dist/a_chunks/{.root94.js → src.BusinessComponents.Appgar.js} +55 -132
- package/dist/a_chunks/{.root82.js → src.BusinessComponents.BirthCertificateChildren.js} +35 -100
- package/dist/a_chunks/{.root34.js → src.BusinessComponents.BloodAndThalassemia.js} +22 -93
- package/dist/a_chunks/{.root80.js → src.BusinessComponents.BloodAndThalassemia2.js} +17 -18
- package/dist/a_chunks/{.root95.js → src.BusinessComponents.BregmaGroup.js} +13 -82
- package/dist/a_chunks/{.root96.js → src.BusinessComponents.CaesareanChildren.js} +39 -104
- package/dist/a_chunks/{.root98.js → src.BusinessComponents.Diagnosis.js} +46 -114
- package/dist/a_chunks/{.root99.js → src.BusinessComponents.DiagnosisList.js} +34 -97
- package/dist/a_chunks/{.root100.js → src.BusinessComponents.DiagnosisListInduced.js} +39 -102
- package/dist/a_chunks/{.root101.js → src.BusinessComponents.DiagnosisListv2.js} +160 -220
- package/dist/a_chunks/{.root102.js → src.BusinessComponents.FamilyTumorHistory.js} +32 -97
- package/dist/a_chunks/src.BusinessComponents.FetalNTCheck.js +61 -0
- package/dist/a_chunks/{.root109.js → src.BusinessComponents.GynaecologyOperationTemplateTextarea.js} +109 -168
- package/dist/a_chunks/{.root110.js → src.BusinessComponents.GynaecologyTemplateTextarea.js} +105 -164
- package/dist/a_chunks/{.root111.js → src.BusinessComponents.HighriskSign.js} +19 -95
- package/dist/a_chunks/{.root112.js → src.BusinessComponents.InducedFetus.js} +57 -126
- package/dist/a_chunks/{.root114.js → src.BusinessComponents.KnowledgeBase.js} +17 -24
- package/dist/a_chunks/{.root115.js → src.BusinessComponents.LaborProcess.js} +35 -103
- package/dist/a_chunks/src.BusinessComponents.MiddleUltsounds.js +82 -0
- package/dist/a_chunks/src.BusinessComponents.MiddleUltsoundsSingle.js +58 -0
- package/dist/a_chunks/src.BusinessComponents.NoenateRecord.js +658 -0
- package/dist/a_chunks/{.root119.js → src.BusinessComponents.NurseChildren.js} +46 -114
- package/dist/a_chunks/{.root120.js → src.BusinessComponents.NurseChildren2.js} +26 -93
- package/dist/a_chunks/{.root121.js → src.BusinessComponents.NursingFetus.js} +93 -161
- package/dist/a_chunks/{.root122.js → src.BusinessComponents.NursingFetusv2.js} +71 -136
- package/dist/a_chunks/{.root123.js → src.BusinessComponents.NursingFetusv3.js} +94 -163
- package/dist/a_chunks/{.root125.js → src.BusinessComponents.PostpartumFetal.js} +6 -75
- package/dist/a_chunks/src.BusinessComponents.PregnancyHistoryV2.js +20 -0
- package/dist/a_chunks/src.BusinessComponents.PressureInput.js +76 -0
- package/dist/a_chunks/{.root127.js → src.BusinessComponents.ProcedureCystocentesis.js} +82 -151
- package/dist/a_chunks/{.root130.js → src.BusinessComponents.RecordState.js} +20 -101
- package/dist/a_chunks/{.root131.js → src.BusinessComponents.ReferralRegister.js} +48 -112
- package/dist/a_chunks/{.root134.js → src.BusinessComponents.ReferralToRegister.js} +34 -97
- package/dist/a_chunks/{.root136.js → src.BusinessComponents.ShiftPatients.js} +61 -126
- package/dist/a_chunks/{.root83.js → src.BusinessComponents.TemplateTexDeathclassification1.js} +16 -87
- package/dist/a_chunks/{.root84.js → src.BusinessComponents.TemplateTexDeathclassification2.js} +15 -86
- package/dist/a_chunks/{.root138.js → src.BusinessComponents.TemplateTextarea.js} +15 -82
- package/dist/a_chunks/{.root139.js → src.BusinessComponents.TemplateTextareav2.js} +112 -175
- package/dist/a_chunks/{.root85.js → src.BusinessComponents.TemplateTextareav3.js} +48 -117
- package/dist/a_chunks/src.ConfigComponents.CheckboxGroup.js +74 -0
- package/dist/a_chunks/src.ConfigComponents.CheckboxWithInputv2.js +48 -0
- package/dist/a_chunks/src.ConfigComponents.CheckboxWithSingleInput.js +66 -0
- package/dist/a_chunks/{.root144.js → src.ConfigComponents.CustomEditInTable.js} +13 -79
- package/dist/a_chunks/src.ConfigComponents.InputWithLabel.js +41 -0
- package/dist/a_chunks/src.ConfigComponents.InputWithRangTip.js +72 -0
- package/dist/a_chunks/src.ConfigComponents.InputWithRange.js +30 -0
- package/dist/a_chunks/{.root107.js → src.ConfigComponents.NormalCheckboxWithInput.js} +21 -87
- package/dist/a_chunks/{.root128.js → src.ConfigComponents.ProcedureRecords.js} +28 -97
- package/dist/a_chunks/src.ConfigComponents.VaginaStrumentsRecordForm.js +329 -0
- package/dist/a_chunks/{.root22.js → src.FB_components.DoctorEnd_ImageReport_Report.js} +24 -99
- package/dist/a_chunks/{.root21.js → src.FB_components.DoctorEnd_SurveyReport_Report.js} +33 -99
- package/dist/a_chunks/src.FU_components.ArrayPanel.js +144 -0
- package/dist/a_chunks/src.FU_components.CommonFormTabs.js +61 -0
- package/dist/a_chunks/{.root13.js → src.FU_components.CommonFormTabs2.js} +23 -12
- package/dist/a_chunks/{.root14.js → src.FU_components.DateTimeInput.js} +42 -90
- package/dist/a_chunks/src.FU_components.FormSection.js +2220 -0
- package/dist/a_chunks/{.root187.js → src.FU_components.LoadFlag.js} +0 -1
- package/dist/a_chunks/src.FU_components.MchcDriverStatus.js +91 -0
- package/dist/a_chunks/src.FU_components.MyEditTable.js +283 -0
- package/dist/a_chunks/src.FU_components.MySearchSelect.js +29 -0
- package/dist/a_chunks/src.FU_components.TakeInVolumn.js +67 -0
- package/dist/a_chunks/src.FU_components.TakeOutVolumn.js +81 -0
- package/dist/a_chunks/src.FU_components.ToggleForm.js +49 -0
- package/dist/a_chunks/{.root153.js → src.GeneralComponents.AsyncAutoComplete.js} +11 -21
- package/dist/a_chunks/{.root155.js → src.GeneralComponents.CheckboxGroupObject.js} +19 -88
- package/dist/a_chunks/{.root186.js → src.GeneralComponents.CheckboxGroupObjectCustom.js} +23 -92
- package/dist/a_chunks/{.root71.js → src.GeneralComponents.CheckboxWithInput.js} +71 -141
- package/dist/a_chunks/src.GeneralComponents.DataTimePick.js +107 -0
- package/dist/a_chunks/{.root8.js → src.GeneralComponents.DatePicker.js} +14 -81
- package/dist/a_chunks/{.root5.js → src.GeneralComponents.DictionarySelect.js} +58 -125
- package/dist/a_chunks/{.root7.js → src.GeneralComponents.EditInTable.js} +219 -281
- package/dist/a_chunks/src.GeneralComponents.FormSectionInput.js +14 -0
- package/dist/a_chunks/{.root182.js → src.GeneralComponents.ImageUploadPreview.js} +8 -8
- package/dist/a_chunks/{.root183.js → src.GeneralComponents.ImageUploadPreviewIntranet.js} +6 -9
- package/dist/a_chunks/{.root6.js → src.GeneralComponents.InputWithLabel.js} +19 -88
- package/dist/a_chunks/src.GeneralComponents.MobileEditor.js +108 -0
- package/dist/a_chunks/{.root157.js → src.GeneralComponents.MultipleInputGroup.js} +13 -82
- package/dist/a_chunks/{.root158.js → src.GeneralComponents.RadioWithInput.js} +21 -90
- package/dist/a_chunks/src.GeneralComponents.RangePicker.js +46 -0
- package/dist/a_chunks/src.GeneralComponents.TimePicker.js +47 -0
- package/dist/a_chunks/src.GeneralComponents.UploadFile.js +86 -0
- package/dist/a_chunks/{.root162.js → src.GeneralComponents.UploadFileUrlEdit.js} +10 -12
- package/dist/a_chunks/src.GeneralComponents.border-title.js +32 -0
- package/dist/a_chunks/src.GeneralComponents.datapick_with_check.js +60 -0
- package/dist/a_chunks/src.doctor-end.GestationalWeekProjectTree.js +224 -0
- package/dist/a_chunks/{.root179.js → src.newly-component.hepatitis-new-baby.js} +17 -86
- package/dist/a_chunks/{.root81.js → src.others.TemplateTree.js} +47 -111
- package/dist/a_chunks/{.root163.js → src.selects.AgeSelect.js} +7 -12
- package/dist/a_chunks/{.root164.js → src.selects.ApgarScoreInput.js} +38 -53
- package/dist/a_chunks/{.root25.js → src.selects.CascaderAddress.js} +22 -30
- package/dist/a_chunks/src.selects.CountrySelect.js +32 -0
- package/dist/a_chunks/src.selects.DeviceStatusSelect.js +36 -0
- package/dist/a_chunks/{.root32.js → src.selects.NativePlace.js} +7 -6
- package/dist/a_chunks/{.root169.js → src.selects.ParentPermissionSelect.js} +5 -84
- package/dist/a_chunks/{.root26.js → src.selects.PatientAutoComplete.js} +21 -95
- package/dist/a_chunks/src.selects.PermissionTypeSelect.js +38 -0
- package/dist/a_chunks/src.selects.RadioWithInput.js +51 -0
- package/dist/a_chunks/src.selects.RadioWithInputNumber.js +61 -0
- package/dist/a_chunks/{.root174.js → src.selects.ReferralOrganizationSelect.js} +40 -36
- package/dist/a_chunks/src.selects.SelectWithNoneOption.js +70 -0
- package/dist/a_chunks/src.selects.SelectWithOptionsOrInput.js +2 -0
- package/dist/a_chunks/src.selects.TriggerTypeSelect.js +33 -0
- package/dist/doctor-end/index.d.ts +0 -2
- package/dist/index.d.ts +3 -10
- 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 +0 -339
- 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 +0 -130
- package/dist/a_chunks/.root103.js.map +0 -1
- package/dist/a_chunks/.root104.js +0 -298
- package/dist/a_chunks/.root104.js.map +0 -1
- package/dist/a_chunks/.root105.js +0 -503
- package/dist/a_chunks/.root105.js.map +0 -1
- package/dist/a_chunks/.root106.js +0 -107
- package/dist/a_chunks/.root106.js.map +0 -1
- package/dist/a_chunks/.root107.js.map +0 -1
- package/dist/a_chunks/.root108.js +0 -189
- package/dist/a_chunks/.root108.js.map +0 -1
- package/dist/a_chunks/.root109.js.map +0 -1
- package/dist/a_chunks/.root11.js +0 -95
- 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 +0 -266
- 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 +0 -151
- package/dist/a_chunks/.root116.js.map +0 -1
- package/dist/a_chunks/.root117.js +0 -127
- package/dist/a_chunks/.root117.js.map +0 -1
- package/dist/a_chunks/.root118.js +0 -525
- package/dist/a_chunks/.root118.js.map +0 -1
- package/dist/a_chunks/.root119.js.map +0 -1
- package/dist/a_chunks/.root12.js +0 -130
- 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 +0 -276
- package/dist/a_chunks/.root124.js.map +0 -1
- package/dist/a_chunks/.root125.js.map +0 -1
- package/dist/a_chunks/.root126.js +0 -86
- 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 +0 -1127
- 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 +0 -144
- package/dist/a_chunks/.root132.js.map +0 -1
- package/dist/a_chunks/.root133.js +0 -185
- package/dist/a_chunks/.root133.js.map +0 -1
- package/dist/a_chunks/.root134.js.map +0 -1
- package/dist/a_chunks/.root135.js +0 -1143
- package/dist/a_chunks/.root135.js.map +0 -1
- 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.map +0 -1
- 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.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 +0 -275
- 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.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.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.map +0 -1
- 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 +0 -247
- 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.map +0 -1
- package/dist/a_chunks/.root163.js.map +0 -1
- 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.map +0 -1
- package/dist/a_chunks/.root17.js +0 -138
- 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.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.map +0 -1
- package/dist/a_chunks/.root18.js +0 -152
- 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.map +0 -1
- 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.map +0 -1
- package/dist/a_chunks/.root187.js.map +0 -1
- package/dist/a_chunks/.root19.js +0 -121
- package/dist/a_chunks/.root19.js.map +0 -1
- package/dist/a_chunks/.root2.js.map +0 -1
- package/dist/a_chunks/.root20.js +0 -169
- 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 +0 -90
- 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 +0 -151
- package/dist/a_chunks/.root27.js.map +0 -1
- package/dist/a_chunks/.root28.js +0 -394
- package/dist/a_chunks/.root28.js.map +0 -1
- package/dist/a_chunks/.root29.js +0 -555
- package/dist/a_chunks/.root29.js.map +0 -1
- package/dist/a_chunks/.root3.js +0 -284
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root30.js +0 -2227
- package/dist/a_chunks/.root30.js.map +0 -1
- package/dist/a_chunks/.root31.js +0 -286
- package/dist/a_chunks/.root31.js.map +0 -1
- package/dist/a_chunks/.root32.js.map +0 -1
- package/dist/a_chunks/.root33.js +0 -84
- package/dist/a_chunks/.root33.js.map +0 -1
- package/dist/a_chunks/.root34.js.map +0 -1
- package/dist/a_chunks/.root35.js +0 -288
- 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 +0 -273
- package/dist/a_chunks/.root40.js.map +0 -1
- package/dist/a_chunks/.root41.js.map +0 -1
- package/dist/a_chunks/.root42.js +0 -214
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js +0 -151
- package/dist/a_chunks/.root43.js.map +0 -1
- package/dist/a_chunks/.root44.js.map +0 -1
- package/dist/a_chunks/.root45.js +0 -21
- 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 +0 -82
- 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 +0 -338
- 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 +0 -23
- package/dist/a_chunks/.root54.js.map +0 -1
- package/dist/a_chunks/.root55.js.map +0 -1
- package/dist/a_chunks/.root56.js +0 -3357
- package/dist/a_chunks/.root56.js.map +0 -1
- package/dist/a_chunks/.root57.js +0 -567
- package/dist/a_chunks/.root57.js.map +0 -1
- package/dist/a_chunks/.root58.js +0 -198
- package/dist/a_chunks/.root58.js.map +0 -1
- package/dist/a_chunks/.root59.js +0 -165
- package/dist/a_chunks/.root59.js.map +0 -1
- package/dist/a_chunks/.root6.js.map +0 -1
- package/dist/a_chunks/.root60.js +0 -904
- package/dist/a_chunks/.root60.js.map +0 -1
- package/dist/a_chunks/.root61.js +0 -103
- package/dist/a_chunks/.root61.js.map +0 -1
- package/dist/a_chunks/.root62.js +0 -226
- package/dist/a_chunks/.root62.js.map +0 -1
- package/dist/a_chunks/.root63.js +0 -322
- package/dist/a_chunks/.root63.js.map +0 -1
- package/dist/a_chunks/.root64.js +0 -492
- package/dist/a_chunks/.root64.js.map +0 -1
- package/dist/a_chunks/.root65.js +0 -485
- package/dist/a_chunks/.root65.js.map +0 -1
- package/dist/a_chunks/.root66.js +0 -1056
- package/dist/a_chunks/.root66.js.map +0 -1
- package/dist/a_chunks/.root67.js +0 -299
- package/dist/a_chunks/.root67.js.map +0 -1
- package/dist/a_chunks/.root68.js +0 -206
- package/dist/a_chunks/.root68.js.map +0 -1
- package/dist/a_chunks/.root69.js +0 -1086
- package/dist/a_chunks/.root69.js.map +0 -1
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root70.js +0 -857
- 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 +0 -578
- package/dist/a_chunks/.root75.js.map +0 -1
- package/dist/a_chunks/.root76.js +0 -540
- package/dist/a_chunks/.root76.js.map +0 -1
- package/dist/a_chunks/.root77.js +0 -336
- package/dist/a_chunks/.root77.js.map +0 -1
- package/dist/a_chunks/.root78.js.map +0 -1
- package/dist/a_chunks/.root79.js +0 -2311
- 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 +0 -351
- package/dist/a_chunks/.root86.js.map +0 -1
- package/dist/a_chunks/.root87.js +0 -94
- package/dist/a_chunks/.root87.js.map +0 -1
- package/dist/a_chunks/.root88.js +0 -101
- package/dist/a_chunks/.root88.js.map +0 -1
- package/dist/a_chunks/.root89.js +0 -248
- package/dist/a_chunks/.root89.js.map +0 -1
- package/dist/a_chunks/.root9.js +0 -687
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/.root90.js +0 -356
- package/dist/a_chunks/.root90.js.map +0 -1
- package/dist/a_chunks/.root91.js +0 -143
- package/dist/a_chunks/.root91.js.map +0 -1
- package/dist/a_chunks/.root92.js +0 -143
- 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 +0 -521
- 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/selects/ApiPermissionSelect/index.d.ts +0 -21
- package/dist/selects/PermissionSelect/index.d.ts +0 -14
- package/dist/utils/adapter.d.ts +0 -97
- /package/dist/FU_components/MyBaseList/{_MyBaseList.d.ts → _MyBaseList copy.d.ts} +0 -0
|
@@ -0,0 +1,658 @@
|
|
|
1
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
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 _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
8
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
9
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
12
|
+
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; }
|
|
13
|
+
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; }
|
|
14
|
+
import React, { useState, useEffect } from 'react';
|
|
15
|
+
import { Row, Col, Input, InputNumber, Radio, Form, Divider, Button } from 'antd';
|
|
16
|
+
import { map, get, set, isEmpty, compact, split, indexOf, join, isNil, filter, cloneDeep } from 'lodash';
|
|
17
|
+
import { af as MultipleInputWithLabel, a as styleInject, ag as DynamicForm, a8 as formDescriptionsWithoutSectionApi } from './index.js';
|
|
18
|
+
import dayjs from 'dayjs';
|
|
19
|
+
import { LazyAntd, DatePicker_L, MyIcon } from '@lm_fe/components';
|
|
20
|
+
import InputWithLabel from './src.ConfigComponents.InputWithLabel.js';
|
|
21
|
+
import NormalCheckboxWithInput from './src.ConfigComponents.NormalCheckboxWithInput.js';
|
|
22
|
+
import { safe_json_parse } from '@lm_fe/utils';
|
|
23
|
+
import { SMchc_FormDescriptions } from '@lm_fe/service';
|
|
24
|
+
import '@lm_fe/provoke';
|
|
25
|
+
import 'classnames';
|
|
26
|
+
import '@lm_fe/env';
|
|
27
|
+
import 'reconnecting-websocket';
|
|
28
|
+
import 'store';
|
|
29
|
+
var fromApi = function fromApi(data, nativeFormDescriptions) {
|
|
30
|
+
var resultArray = map(data, function (item) {
|
|
31
|
+
var result = _objectSpread({}, item);
|
|
32
|
+
map(nativeFormDescriptions, function (desctiption, key) {
|
|
33
|
+
var tranferRules = desctiption.tranfer_rules;
|
|
34
|
+
var type = 'default';
|
|
35
|
+
var path = key;
|
|
36
|
+
if (tranferRules && JSON.parse(tranferRules)) {
|
|
37
|
+
var tranferRulesJson = JSON.parse(tranferRules);
|
|
38
|
+
type = get(tranferRulesJson, 'type') ? get(tranferRulesJson, 'type') : 'default';
|
|
39
|
+
path = get(tranferRulesJson, 'path') ? get(tranferRulesJson, 'path') : key;
|
|
40
|
+
}
|
|
41
|
+
switch (type) {
|
|
42
|
+
case 'key_and_keyNote':
|
|
43
|
+
set(result, "".concat(key, ".key"), get(item, path));
|
|
44
|
+
set(result, "".concat(key, ".keyNote"), get(item, "".concat(path, "Note")));
|
|
45
|
+
break;
|
|
46
|
+
case 'moment':
|
|
47
|
+
set(result, key, dayjs(get(item, path)));
|
|
48
|
+
break;
|
|
49
|
+
case 'default':
|
|
50
|
+
default:
|
|
51
|
+
set(result, key, get(item, path));
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
return result;
|
|
56
|
+
});
|
|
57
|
+
// console.log(resultArray);
|
|
58
|
+
return resultArray;
|
|
59
|
+
};
|
|
60
|
+
var toApi = function toApi(data, nativeFormDescriptions) {
|
|
61
|
+
var resultArray = map(data, function (item) {
|
|
62
|
+
var result = _objectSpread({}, item);
|
|
63
|
+
map(nativeFormDescriptions, function (desctiption, key) {
|
|
64
|
+
var tranferRules = desctiption.tranfer_rules;
|
|
65
|
+
var type = 'default';
|
|
66
|
+
var path = key;
|
|
67
|
+
if (tranferRules && JSON.parse(tranferRules)) {
|
|
68
|
+
var tranferRulesJson = JSON.parse(tranferRules);
|
|
69
|
+
type = get(tranferRulesJson, 'type') ? get(tranferRulesJson, 'type') : 'default';
|
|
70
|
+
path = get(tranferRulesJson, 'path') ? get(tranferRulesJson, 'path') : key;
|
|
71
|
+
}
|
|
72
|
+
switch (type) {
|
|
73
|
+
case 'key_and_keyNote':
|
|
74
|
+
set(result, path, get(item, "".concat(key, ".key")));
|
|
75
|
+
set(result, "".concat(path, "Note"), get(item, "".concat(key, ".keyNote")));
|
|
76
|
+
break;
|
|
77
|
+
case 'default':
|
|
78
|
+
default:
|
|
79
|
+
set(result, path, get(item, key));
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
return result;
|
|
84
|
+
});
|
|
85
|
+
// console.log(resultArray);
|
|
86
|
+
return resultArray;
|
|
87
|
+
};
|
|
88
|
+
var Tree$1 = LazyAntd.Tree,
|
|
89
|
+
TreeSelect$1 = LazyAntd.TreeSelect,
|
|
90
|
+
Select$1 = LazyAntd.Select,
|
|
91
|
+
Table$1 = LazyAntd.Table,
|
|
92
|
+
Dropdown$1 = LazyAntd.Dropdown,
|
|
93
|
+
Pagination$1 = LazyAntd.Pagination;
|
|
94
|
+
var SelectWithInput = function SelectWithInput(props) {
|
|
95
|
+
var _props$inputType = props.inputType,
|
|
96
|
+
inputType = _props$inputType === void 0 ? 'string' : _props$inputType,
|
|
97
|
+
selectOptions = props.options,
|
|
98
|
+
value = props.value,
|
|
99
|
+
selectedValueShowInput = props.selectedValueShowInput,
|
|
100
|
+
_props$getPopupContai = props.getPopupContainer,
|
|
101
|
+
getPopupContainer = _props$getPopupContai === void 0 ? function () {
|
|
102
|
+
return document.body;
|
|
103
|
+
} : _props$getPopupContai;
|
|
104
|
+
var _useState = useState({}),
|
|
105
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
106
|
+
data = _useState2[0],
|
|
107
|
+
setData = _useState2[1];
|
|
108
|
+
useEffect(function () {
|
|
109
|
+
!isEmpty(value) && setData(value);
|
|
110
|
+
}, [props.value]);
|
|
111
|
+
var handleChange = function handleChange(type) {
|
|
112
|
+
return function (e) {
|
|
113
|
+
var onChange = props.onChange;
|
|
114
|
+
if (type === 'string') {
|
|
115
|
+
set(data, 'input', get(e, 'target.value'));
|
|
116
|
+
}
|
|
117
|
+
if (type === 'number') {
|
|
118
|
+
set(data, 'input', e);
|
|
119
|
+
}
|
|
120
|
+
if (type === 'select') {
|
|
121
|
+
set(data, 'select', e);
|
|
122
|
+
set(data, 'input', '');
|
|
123
|
+
}
|
|
124
|
+
setData(data);
|
|
125
|
+
onChange && onChange(data);
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
|
|
129
|
+
span: 11
|
|
130
|
+
}, /*#__PURE__*/React.createElement(Select$1, {
|
|
131
|
+
onChange: handleChange('select'),
|
|
132
|
+
placeholder: "\u8BF7\u9009\u62E9...",
|
|
133
|
+
value: get(data, 'select'),
|
|
134
|
+
getPopupContainer: getPopupContainer
|
|
135
|
+
}, map(selectOptions, function (option) {
|
|
136
|
+
return /*#__PURE__*/React.createElement(Select$1.Option, {
|
|
137
|
+
key: option.key || option.value,
|
|
138
|
+
value: option.value
|
|
139
|
+
}, option.label);
|
|
140
|
+
}))), get(data, 'select') === selectedValueShowInput && (/*#__PURE__*/React.createElement(Col, {
|
|
141
|
+
span: 11,
|
|
142
|
+
offset: 1
|
|
143
|
+
}, inputType === 'string' ? (/*#__PURE__*/React.createElement(Input, {
|
|
144
|
+
onChange: handleChange(inputType),
|
|
145
|
+
value: get(data, 'input'),
|
|
146
|
+
placeholder: "\u8BF7\u8F93\u5165..."
|
|
147
|
+
})) : (/*#__PURE__*/React.createElement(InputNumber, {
|
|
148
|
+
onChange: handleChange(inputType),
|
|
149
|
+
placeholder: "\u8BF7\u8F93\u5165...",
|
|
150
|
+
value: get(data, 'input')
|
|
151
|
+
}))))));
|
|
152
|
+
};
|
|
153
|
+
var NormalSelectWithInput = function NormalSelectWithInput(props) {
|
|
154
|
+
var _get;
|
|
155
|
+
var config = get(props, 'config');
|
|
156
|
+
var specialConfig = (_get = get(config, 'specialConfig')) !== null && _get !== void 0 ? _get : safe_json_parse(get(config, 'special_config'));
|
|
157
|
+
var options = get(specialConfig, 'options');
|
|
158
|
+
var inputType = get(specialConfig, 'inputType');
|
|
159
|
+
var selectedValueShowInput = get(specialConfig, 'selectedValueShowInput');
|
|
160
|
+
var _useState3 = useState({}),
|
|
161
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
162
|
+
data = _useState4[0],
|
|
163
|
+
setData = _useState4[1];
|
|
164
|
+
useEffect(function () {
|
|
165
|
+
var value = props.value;
|
|
166
|
+
if (!isEmpty(value)) {
|
|
167
|
+
setData({
|
|
168
|
+
select: get(value, 'key'),
|
|
169
|
+
input: get(value, 'keyNote')
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}, [props.value]);
|
|
173
|
+
var handleChange = function handleChange(callbackData) {
|
|
174
|
+
var onChange = props.onChange;
|
|
175
|
+
var newData = {
|
|
176
|
+
key: get(callbackData, 'select'),
|
|
177
|
+
keyNote: get(callbackData, 'input')
|
|
178
|
+
};
|
|
179
|
+
onChange && onChange(newData);
|
|
180
|
+
};
|
|
181
|
+
return /*#__PURE__*/React.createElement(SelectWithInput, {
|
|
182
|
+
inputType: inputType,
|
|
183
|
+
options: options,
|
|
184
|
+
value: data,
|
|
185
|
+
selectedValueShowInput: selectedValueShowInput,
|
|
186
|
+
onChange: handleChange
|
|
187
|
+
});
|
|
188
|
+
};
|
|
189
|
+
var Tree = LazyAntd.Tree,
|
|
190
|
+
TreeSelect = LazyAntd.TreeSelect,
|
|
191
|
+
Select = LazyAntd.Select,
|
|
192
|
+
Table = LazyAntd.Table,
|
|
193
|
+
Dropdown = LazyAntd.Dropdown,
|
|
194
|
+
Pagination = LazyAntd.Pagination;
|
|
195
|
+
var SelectWithOptions = function SelectWithOptions(props) {
|
|
196
|
+
var _get2;
|
|
197
|
+
var _useState5 = useState([]),
|
|
198
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
199
|
+
data = _useState6[0],
|
|
200
|
+
setData = _useState6[1];
|
|
201
|
+
var _useState7 = useState(false),
|
|
202
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
203
|
+
showOther = _useState8[0],
|
|
204
|
+
setShowOther = _useState8[1];
|
|
205
|
+
var _useState9 = useState(''),
|
|
206
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
207
|
+
otherNote = _useState10[0],
|
|
208
|
+
setOtherNote = _useState10[1];
|
|
209
|
+
var _useState11 = useState({}),
|
|
210
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
211
|
+
dataResponse = _useState12[0],
|
|
212
|
+
setDataResponse = _useState12[1];
|
|
213
|
+
var config = (_get2 = get(props, 'config.specialConfig')) !== null && _get2 !== void 0 ? _get2 : safe_json_parse(get(props, 'config.special_config'));
|
|
214
|
+
var options = get(config, 'options') || [];
|
|
215
|
+
useEffect(function () {
|
|
216
|
+
var value = props.value;
|
|
217
|
+
// 字符串形式,如丈夫疾病史
|
|
218
|
+
if (get(config, 'type') === 'string') {
|
|
219
|
+
setData(compact(split(value, ',')));
|
|
220
|
+
// 对象形式,如孕妇疾病史
|
|
221
|
+
} else if (get(config, 'type') === 'object') {
|
|
222
|
+
var selectedArray = map(options, function (option) {
|
|
223
|
+
if (get(value, option.value)) {
|
|
224
|
+
return option.value;
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
if (get(config, 'needShowOther') && indexOf(selectedArray, 'other') > -1) {
|
|
228
|
+
setShowOther(true);
|
|
229
|
+
setOtherNote(get(value, 'otherNote'));
|
|
230
|
+
}
|
|
231
|
+
setData(compact(selectedArray));
|
|
232
|
+
// 数组形式,如分娩方式、不良生育史
|
|
233
|
+
} else if (get(config, 'type') === 'array') {
|
|
234
|
+
setData(value);
|
|
235
|
+
}
|
|
236
|
+
}, [props.value]);
|
|
237
|
+
var handleChange = function handleChange(selectedArray) {
|
|
238
|
+
var onChange = props.onChange;
|
|
239
|
+
// eslint-disable-next-line no-shadow
|
|
240
|
+
var dataResponse = null;
|
|
241
|
+
if (get(config, 'type') === 'string') {
|
|
242
|
+
dataResponse = join(selectedArray, ',');
|
|
243
|
+
} else if (get(config, 'type') === 'object') {
|
|
244
|
+
dataResponse = {};
|
|
245
|
+
if (get(config, 'mode') === 'single') {
|
|
246
|
+
set(dataResponse, selectedArray, true);
|
|
247
|
+
} else {
|
|
248
|
+
map(selectedArray, function (selectedDisease) {
|
|
249
|
+
set(dataResponse, selectedDisease, true);
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
if (get(config, 'needShowOther') && indexOf(selectedArray, 'other') > -1) {
|
|
253
|
+
setShowOther(true);
|
|
254
|
+
setDataResponse(dataResponse);
|
|
255
|
+
} else {
|
|
256
|
+
setShowOther(false);
|
|
257
|
+
setOtherNote('');
|
|
258
|
+
}
|
|
259
|
+
} else if (get(config, 'type') === 'array') {
|
|
260
|
+
dataResponse = selectedArray;
|
|
261
|
+
}
|
|
262
|
+
setData(selectedArray);
|
|
263
|
+
onChange && onChange(dataResponse);
|
|
264
|
+
};
|
|
265
|
+
var handleInputChange = function handleInputChange(e) {
|
|
266
|
+
var onChange = props.onChange;
|
|
267
|
+
setOtherNote(e.target.value);
|
|
268
|
+
if (get(config, 'type') === 'object') {
|
|
269
|
+
onChange && onChange(_objectSpread(_objectSpread({}, dataResponse), {}, {
|
|
270
|
+
otherNote: otherNote
|
|
271
|
+
}));
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Select, _objectSpread({
|
|
275
|
+
allowClear: true,
|
|
276
|
+
mode: get(config, 'mode'),
|
|
277
|
+
value: data,
|
|
278
|
+
onChange: handleChange
|
|
279
|
+
}, get(props, 'config.inputProps')), map(options, function (option) {
|
|
280
|
+
return /*#__PURE__*/React.createElement(Select.Option, {
|
|
281
|
+
key: get(option, 'value'),
|
|
282
|
+
value: get(option, 'value')
|
|
283
|
+
}, get(option, 'label') || get(option, 'value'));
|
|
284
|
+
})), showOther && /*#__PURE__*/React.createElement(Input, {
|
|
285
|
+
placeholder: "\u5176\u5B83",
|
|
286
|
+
value: otherNote,
|
|
287
|
+
onChange: handleInputChange
|
|
288
|
+
}));
|
|
289
|
+
};
|
|
290
|
+
var FoetalAppendageFormSection = /*#__PURE__*/function (_React$Component) {
|
|
291
|
+
function FoetalAppendageFormSection() {
|
|
292
|
+
var _this;
|
|
293
|
+
_classCallCheck(this, FoetalAppendageFormSection);
|
|
294
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
295
|
+
args[_key] = arguments[_key];
|
|
296
|
+
}
|
|
297
|
+
_this = _callSuper(this, FoetalAppendageFormSection, [].concat(args));
|
|
298
|
+
_defineProperty(_this, "renderRowAndCol", function () {
|
|
299
|
+
var formDescriptionArr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
300
|
+
return /*#__PURE__*/React.createElement(Row, null, map(formDescriptionArr, function (formDescription, index) {
|
|
301
|
+
return /*#__PURE__*/React.createElement(Col, {
|
|
302
|
+
key: index,
|
|
303
|
+
span: get(formDescription, 'span'),
|
|
304
|
+
offset: get(formDescription, 'offset')
|
|
305
|
+
}, _this.renderItem(formDescription));
|
|
306
|
+
}));
|
|
307
|
+
});
|
|
308
|
+
_defineProperty(_this, "renderItem", function (formDescription) {
|
|
309
|
+
var _this$props = _this.props,
|
|
310
|
+
renderEditItem = _this$props.renderEditItem,
|
|
311
|
+
data = _this$props.data,
|
|
312
|
+
_onChange = _this$props.onChange;
|
|
313
|
+
var formDescriptionKey = get(formDescription, 'key');
|
|
314
|
+
switch (get(formDescription, 'inputType')) {
|
|
315
|
+
case 'input':
|
|
316
|
+
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(Input, _objectSpread(_objectSpread({}, get(formDescription, 'inputProps')), {}, {
|
|
317
|
+
value: get(data, formDescriptionKey),
|
|
318
|
+
onChange: function onChange(e) {
|
|
319
|
+
_onChange(formDescriptionKey, get(e, 'target.value'));
|
|
320
|
+
}
|
|
321
|
+
})), {
|
|
322
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {}
|
|
323
|
+
});
|
|
324
|
+
case 'select_with_options':
|
|
325
|
+
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(SelectWithOptions, {
|
|
326
|
+
config: formDescription,
|
|
327
|
+
value: get(data, formDescriptionKey),
|
|
328
|
+
onChange: function onChange(e) {
|
|
329
|
+
_onChange(formDescriptionKey, e);
|
|
330
|
+
}
|
|
331
|
+
}), {
|
|
332
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {}
|
|
333
|
+
});
|
|
334
|
+
case 'pregnant_radio':
|
|
335
|
+
return renderEditItem(get(formDescription, 'key'), /*#__PURE__*/React.createElement(Radio.Group, {
|
|
336
|
+
value: get(data, formDescriptionKey),
|
|
337
|
+
onChange: function onChange(e) {
|
|
338
|
+
_onChange(formDescriptionKey, get(e, 'target.value'));
|
|
339
|
+
}
|
|
340
|
+
}, /*#__PURE__*/React.createElement(Radio, {
|
|
341
|
+
value: false
|
|
342
|
+
}, "\u5426"), /*#__PURE__*/React.createElement(Radio, {
|
|
343
|
+
value: true
|
|
344
|
+
}, "\u662F")), {
|
|
345
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {},
|
|
346
|
+
styles: get(formDescription, 'styles')
|
|
347
|
+
});
|
|
348
|
+
case 'single_date_picker':
|
|
349
|
+
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(DatePicker_L, _objectSpread(_objectSpread({
|
|
350
|
+
value: get(data, formDescriptionKey)
|
|
351
|
+
}, get(formDescription, 'inputProps')), {}, {
|
|
352
|
+
onChange: function onChange(e) {
|
|
353
|
+
_onChange(formDescriptionKey, e);
|
|
354
|
+
}
|
|
355
|
+
})), {
|
|
356
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {}
|
|
357
|
+
});
|
|
358
|
+
case 'select_with_input':
|
|
359
|
+
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(NormalSelectWithInput, {
|
|
360
|
+
config: formDescription,
|
|
361
|
+
value: get(data, formDescriptionKey),
|
|
362
|
+
onChange: function onChange(e) {
|
|
363
|
+
_onChange(formDescriptionKey, e);
|
|
364
|
+
}
|
|
365
|
+
}), {
|
|
366
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {}
|
|
367
|
+
});
|
|
368
|
+
case 'input_number':
|
|
369
|
+
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(InputNumber, _objectSpread(_objectSpread({
|
|
370
|
+
value: get(data, formDescriptionKey),
|
|
371
|
+
min: 0
|
|
372
|
+
}, get(formDescription, 'inputProps')), {}, {
|
|
373
|
+
onChange: function onChange(e) {
|
|
374
|
+
_onChange(formDescriptionKey, e);
|
|
375
|
+
},
|
|
376
|
+
controls: false
|
|
377
|
+
})), {
|
|
378
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {}
|
|
379
|
+
});
|
|
380
|
+
case 'normal_checkbox_with_input':
|
|
381
|
+
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(NormalCheckboxWithInput, {
|
|
382
|
+
value: get(data, formDescriptionKey),
|
|
383
|
+
config: formDescription,
|
|
384
|
+
onChange: function onChange(e) {
|
|
385
|
+
_onChange(formDescriptionKey, e);
|
|
386
|
+
}
|
|
387
|
+
}), {
|
|
388
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {}
|
|
389
|
+
});
|
|
390
|
+
case 'multiple_input_with_label':
|
|
391
|
+
return renderEditItem(get(formDescription, 'key'), /*#__PURE__*/React.createElement(MultipleInputWithLabel, {
|
|
392
|
+
config: formDescription,
|
|
393
|
+
value: get(data, formDescriptionKey),
|
|
394
|
+
onChange: function onChange(e) {
|
|
395
|
+
_onChange(formDescriptionKey, e);
|
|
396
|
+
}
|
|
397
|
+
}), {
|
|
398
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {},
|
|
399
|
+
styles: get(formDescription, 'styles')
|
|
400
|
+
});
|
|
401
|
+
case 'input_with_label':
|
|
402
|
+
return renderEditItem(get(formDescription, 'key'), /*#__PURE__*/React.createElement(InputWithLabel, {
|
|
403
|
+
config: formDescription,
|
|
404
|
+
value: get(data, formDescriptionKey),
|
|
405
|
+
onChange: function onChange(e) {
|
|
406
|
+
_onChange(formDescriptionKey, e);
|
|
407
|
+
}
|
|
408
|
+
}), {
|
|
409
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {},
|
|
410
|
+
styles: get(formDescription, 'styles')
|
|
411
|
+
});
|
|
412
|
+
default:
|
|
413
|
+
return renderEditItem(formDescriptionKey, /*#__PURE__*/React.createElement(Input, _objectSpread(_objectSpread({
|
|
414
|
+
value: get(data, formDescriptionKey)
|
|
415
|
+
}, get(formDescription, 'inputProps')), {}, {
|
|
416
|
+
onChange: function onChange(e) {
|
|
417
|
+
_onChange(formDescriptionKey, get(e, 'target.value'));
|
|
418
|
+
}
|
|
419
|
+
})), {
|
|
420
|
+
customFormItemLayout: get(formDescription, 'formItemLayout') || {},
|
|
421
|
+
styles: get(formDescription, 'styles')
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
});
|
|
425
|
+
_defineProperty(_this, "renderContent", function () {
|
|
426
|
+
var _this$props2 = _this.props,
|
|
427
|
+
_this$props2$formDesc = _this$props2.formDescriptions,
|
|
428
|
+
formDescriptions = _this$props2$formDesc === void 0 ? [] : _this$props2$formDesc,
|
|
429
|
+
formData = _this$props2.formData,
|
|
430
|
+
tabIndex = _this$props2.tabIndex;
|
|
431
|
+
var tempArr = [];
|
|
432
|
+
var tempSpan = 0;
|
|
433
|
+
var formArray = [];
|
|
434
|
+
map(formDescriptions, function (formDescription, index) {
|
|
435
|
+
if (!isNil(get(formDescription, 'span')) && !isNil(get(formDescription, 'offset'))) {
|
|
436
|
+
if (get(formDescription, 'isNewRow')) {
|
|
437
|
+
var renderArr = tempArr;
|
|
438
|
+
tempSpan = 0;
|
|
439
|
+
tempArr = [];
|
|
440
|
+
formArray.push(_this.renderRowAndCol(renderArr));
|
|
441
|
+
}
|
|
442
|
+
if (tempSpan < 25 && tempSpan + get(formDescription, 'span') + get(formDescription, 'offset') < 25) {
|
|
443
|
+
tempSpan = tempSpan + get(formDescription, 'span') + get(formDescription, 'offset');
|
|
444
|
+
tempArr.push(formDescription);
|
|
445
|
+
if (Number(index) === formDescriptions.length - 1) {
|
|
446
|
+
formArray.push(_this.renderRowAndCol(tempArr));
|
|
447
|
+
tempArr = [];
|
|
448
|
+
}
|
|
449
|
+
} else {
|
|
450
|
+
var _renderArr = tempArr;
|
|
451
|
+
tempArr = [];
|
|
452
|
+
formArray.push(_this.renderRowAndCol(_renderArr));
|
|
453
|
+
tempSpan = get(formDescription, 'span') + get(formDescription, 'offset');
|
|
454
|
+
tempArr.push(formDescription);
|
|
455
|
+
}
|
|
456
|
+
} else {
|
|
457
|
+
formArray.push(_this.renderItem(formDescription));
|
|
458
|
+
}
|
|
459
|
+
});
|
|
460
|
+
if (!isEmpty(tempArr)) {
|
|
461
|
+
formArray.push(_this.renderRowAndCol(tempArr));
|
|
462
|
+
}
|
|
463
|
+
return formArray;
|
|
464
|
+
});
|
|
465
|
+
return _this;
|
|
466
|
+
}
|
|
467
|
+
_inherits(FoetalAppendageFormSection, _React$Component);
|
|
468
|
+
return _createClass(FoetalAppendageFormSection, [{
|
|
469
|
+
key: "render",
|
|
470
|
+
value: function render() {
|
|
471
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, this.renderContent());
|
|
472
|
+
}
|
|
473
|
+
}]);
|
|
474
|
+
}(React.Component);
|
|
475
|
+
var css_248z = ".foetal-panel {\n display: flex;\n align-items: center;\n}\n.foetal-panel:hover .foetal-panel-delete {\n visibility: visible;\n}\n.foetal-panel-content {\n width: 100%;\n}\n.foetal-panel-delete {\n cursor: pointer;\n visibility: hidden;\n}\n";
|
|
476
|
+
styleInject(css_248z);
|
|
477
|
+
var TAB_TITLE = '新生儿';
|
|
478
|
+
// 新生儿信息
|
|
479
|
+
var NoenateRecord = /*#__PURE__*/function (_DynamicForm) {
|
|
480
|
+
function NoenateRecord(props) {
|
|
481
|
+
var _this2;
|
|
482
|
+
_classCallCheck(this, NoenateRecord);
|
|
483
|
+
_this2 = _callSuper(this, NoenateRecord, [props]);
|
|
484
|
+
_defineProperty(_this2, "index", void 0);
|
|
485
|
+
_defineProperty(_this2, "nativeFormDescriptions", void 0);
|
|
486
|
+
_defineProperty(_this2, "handleAddFetus", function () {
|
|
487
|
+
var data = _this2.state.data;
|
|
488
|
+
_this2.index += 1;
|
|
489
|
+
data.push({
|
|
490
|
+
key: "".concat(_this2.index)
|
|
491
|
+
});
|
|
492
|
+
_this2.setState({
|
|
493
|
+
data: data
|
|
494
|
+
});
|
|
495
|
+
});
|
|
496
|
+
_defineProperty(_this2, "handleRemoveFetus", function (_ref) {
|
|
497
|
+
var key = _ref.key;
|
|
498
|
+
return function () {
|
|
499
|
+
var data = _this2.state.data;
|
|
500
|
+
var newData = filter(data, function (item) {
|
|
501
|
+
return item.key !== key;
|
|
502
|
+
});
|
|
503
|
+
_this2.setState({
|
|
504
|
+
data: newData
|
|
505
|
+
});
|
|
506
|
+
_this2.throwDataByOnChange(newData);
|
|
507
|
+
};
|
|
508
|
+
});
|
|
509
|
+
// 获取表单数据
|
|
510
|
+
_defineProperty(_this2, "handleFieldsChange", function (formDescriptionKey, callbackData) {
|
|
511
|
+
var data = _this2.state.data;
|
|
512
|
+
var names = split(formDescriptionKey, '_');
|
|
513
|
+
set(data, "".concat(get(names, '1'), ".").concat(formDescriptionKey), callbackData);
|
|
514
|
+
_this2.throwDataByOnChange(data);
|
|
515
|
+
_this2.setState({
|
|
516
|
+
data: data
|
|
517
|
+
});
|
|
518
|
+
});
|
|
519
|
+
_defineProperty(_this2, "throwDataByOnChange", function (data) {
|
|
520
|
+
var onChange = _this2.props.onChange;
|
|
521
|
+
var tempData = map(data, function (item) {
|
|
522
|
+
var tempItem = {};
|
|
523
|
+
map(item, function (itemValue, key) {
|
|
524
|
+
var names = split(key, '_');
|
|
525
|
+
set(tempItem, get(names, 0), itemValue);
|
|
526
|
+
});
|
|
527
|
+
return tempItem;
|
|
528
|
+
});
|
|
529
|
+
onChange && onChange(toApi(tempData, _this2.nativeFormDescriptions));
|
|
530
|
+
return data;
|
|
531
|
+
});
|
|
532
|
+
_defineProperty(_this2, "generateRenderEditItem", function (formDescriptions) {
|
|
533
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
534
|
+
var formItemLayout = options.formItemLayout;
|
|
535
|
+
return function (key, ReactNode) {
|
|
536
|
+
var others = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
537
|
+
var config = get(formDescriptions, key) || {};
|
|
538
|
+
var label = config.label,
|
|
539
|
+
rules = config.rules;
|
|
540
|
+
return /*#__PURE__*/React.createElement(Form.Item, _objectSpread(_objectSpread(_objectSpread({}, formItemLayout), get(others, 'customFormItemLayout')), {}, {
|
|
541
|
+
style: _objectSpread({}, get(others, 'styles')),
|
|
542
|
+
key: key,
|
|
543
|
+
label: label,
|
|
544
|
+
rules: rules
|
|
545
|
+
}), ReactNode);
|
|
546
|
+
};
|
|
547
|
+
});
|
|
548
|
+
_defineProperty(_this2, "renderContent", function (item, index) {
|
|
549
|
+
var data = _this2.state.data;
|
|
550
|
+
var newFormDescriptions = {};
|
|
551
|
+
map(cloneDeep(_this2.nativeFormDescriptions), function (formDescription, formDescriptionKey) {
|
|
552
|
+
set(formDescription, 'key', "".concat(formDescriptionKey, "_").concat(item.key));
|
|
553
|
+
set(formDescription, 'native_key', formDescriptionKey);
|
|
554
|
+
set(newFormDescriptions, "".concat(formDescriptionKey, "_").concat(item.key), formDescription);
|
|
555
|
+
});
|
|
556
|
+
var renderEditItem = _this2.generateRenderEditItem(newFormDescriptions);
|
|
557
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
558
|
+
className: css_248z["foetal-panel"]
|
|
559
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
560
|
+
className: css_248z["foetal-panel-content"]
|
|
561
|
+
}, /*#__PURE__*/React.createElement(Divider, {
|
|
562
|
+
orientation: "left"
|
|
563
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
564
|
+
style: {
|
|
565
|
+
fontSize: 12
|
|
566
|
+
}
|
|
567
|
+
}, TAB_TITLE, index + 1)), /*#__PURE__*/React.createElement(FoetalAppendageFormSection, {
|
|
568
|
+
formDescriptions: newFormDescriptions,
|
|
569
|
+
renderEditItem: renderEditItem,
|
|
570
|
+
onChange: _this2.handleFieldsChange,
|
|
571
|
+
data: get(data, index)
|
|
572
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
573
|
+
className: css_248z["foetal-panel-delete"],
|
|
574
|
+
title: "\u5220\u9664",
|
|
575
|
+
onClick: _this2.handleRemoveFetus(item)
|
|
576
|
+
}, /*#__PURE__*/React.createElement(MyIcon, {
|
|
577
|
+
value: 'MinusCircleOutlined'
|
|
578
|
+
})));
|
|
579
|
+
});
|
|
580
|
+
var _data = [{
|
|
581
|
+
key: '0'
|
|
582
|
+
}];
|
|
583
|
+
_this2.state = {
|
|
584
|
+
data: _data
|
|
585
|
+
};
|
|
586
|
+
_this2.index = 0;
|
|
587
|
+
_this2.nativeFormDescriptions = {};
|
|
588
|
+
return _this2;
|
|
589
|
+
}
|
|
590
|
+
_inherits(NoenateRecord, _DynamicForm);
|
|
591
|
+
return _createClass(NoenateRecord, [{
|
|
592
|
+
key: "componentDidMount",
|
|
593
|
+
value: function () {
|
|
594
|
+
var _componentDidMount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
595
|
+
var _this3 = this;
|
|
596
|
+
var _this$props3, value, system, data, formField, result;
|
|
597
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
598
|
+
while (1) switch (_context.prev = _context.next) {
|
|
599
|
+
case 0:
|
|
600
|
+
_this$props3 = this.props, value = _this$props3.value, system = _this$props3.system;
|
|
601
|
+
data = [];
|
|
602
|
+
_context.next = 4;
|
|
603
|
+
return SMchc_FormDescriptions.getModuleParseCache('neonate-record-config');
|
|
604
|
+
case 4:
|
|
605
|
+
formField = _context.sent;
|
|
606
|
+
this.nativeFormDescriptions = formDescriptionsWithoutSectionApi(formField);
|
|
607
|
+
result = [{}];
|
|
608
|
+
if (!isEmpty(value)) {
|
|
609
|
+
result = fromApi(value, this.nativeFormDescriptions);
|
|
610
|
+
}
|
|
611
|
+
map(result, function (item, index) {
|
|
612
|
+
_this3.index = index;
|
|
613
|
+
var tempValue = {};
|
|
614
|
+
map(item, function (itemValue, key) {
|
|
615
|
+
key !== 'key' && set(tempValue, "".concat(key, "_").concat(index), itemValue);
|
|
616
|
+
});
|
|
617
|
+
data.push(_objectSpread({
|
|
618
|
+
key: "".concat(index)
|
|
619
|
+
}, tempValue));
|
|
620
|
+
});
|
|
621
|
+
this.setState({
|
|
622
|
+
data: data
|
|
623
|
+
});
|
|
624
|
+
case 10:
|
|
625
|
+
case "end":
|
|
626
|
+
return _context.stop();
|
|
627
|
+
}
|
|
628
|
+
}, _callee, this);
|
|
629
|
+
}));
|
|
630
|
+
function componentDidMount() {
|
|
631
|
+
return _componentDidMount.apply(this, arguments);
|
|
632
|
+
}
|
|
633
|
+
return componentDidMount;
|
|
634
|
+
}()
|
|
635
|
+
}, {
|
|
636
|
+
key: "render",
|
|
637
|
+
value: function render() {
|
|
638
|
+
var _this4 = this;
|
|
639
|
+
var data = this.state.data;
|
|
640
|
+
return /*#__PURE__*/React.createElement(Form, {
|
|
641
|
+
autoComplete: "off",
|
|
642
|
+
ref: this.formRef,
|
|
643
|
+
onFieldsChange: this.handleFieldsChange
|
|
644
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
645
|
+
style: {
|
|
646
|
+
display: 'flex',
|
|
647
|
+
flexDirection: 'row-reverse'
|
|
648
|
+
}
|
|
649
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
650
|
+
type: "primary",
|
|
651
|
+
onClick: this.handleAddFetus
|
|
652
|
+
}, "\u6DFB\u52A0", TAB_TITLE)), map(data, function (item, index) {
|
|
653
|
+
return _this4.renderContent(item, index);
|
|
654
|
+
}));
|
|
655
|
+
}
|
|
656
|
+
}]);
|
|
657
|
+
}(DynamicForm);
|
|
658
|
+
export { NoenateRecord as default };
|