@lm_fe/components_m 0.1.201
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 +31 -0
- package/dist/BaseEditPanel/BaseEditPanelFC.d.ts +17 -0
- package/dist/BaseEditPanel/BaseEditPanelForm.d.ts +59 -0
- package/dist/BaseEditPanel/BaseEditPanelFormFC.d.ts +31 -0
- package/dist/BaseEditPanel/PanelWithChild.d.ts +22 -0
- package/dist/BaseEditPanel/PanelWithChildFC.d.ts +30 -0
- package/dist/BaseEditPanel/index.d.ts +40 -0
- package/dist/BaseFormComponent/DisplayFC.d.ts +1 -0
- package/dist/BaseList/index.d.ts +67 -0
- package/dist/BaseList/methods/index.d.ts +4 -0
- package/dist/BaseListOld/__test__/index.test.d.ts +1 -0
- package/dist/BaseListOld/index.d.ts +125 -0
- package/dist/BaseListOld/methods/index.d.ts +5 -0
- package/dist/BaseModalForm/BaseModal.d.ts +20 -0
- package/dist/BaseModalForm/DynamicForm.d.ts +36 -0
- package/dist/BaseModalForm/ExtendsForm.d.ts +10 -0
- package/dist/BaseModalForm/FixedSearch.d.ts +4 -0
- package/dist/BaseModalForm/PatientList/components/Query.d.ts +27 -0
- package/dist/BaseModalForm/PatientList/components/Table.d.ts +6 -0
- package/dist/BaseModalForm/PatientList/config/form.d.ts +19 -0
- package/dist/BaseModalForm/PatientList/config/table.d.ts +6 -0
- package/dist/BaseModalForm/PatientList/index.d.ts +43 -0
- package/dist/BaseModalForm/index.d.ts +41 -0
- package/dist/BaseQuery/RenderInputItemComponent.d.ts +2 -0
- package/dist/BaseQuery/index.d.ts +43 -0
- package/dist/BaseTable/Resizeable.d.ts +3 -0
- package/dist/BaseTable/Resizeable_Inner.d.ts +3 -0
- package/dist/BaseTable/index.d.ts +25 -0
- package/dist/BaseTableOld/Resizeable.d.ts +2 -0
- package/dist/BaseTableOld/index.d.ts +59 -0
- package/dist/BusinessComponents/Appgar/config.d.ts +20 -0
- package/dist/BusinessComponents/Appgar/index.d.ts +2 -0
- package/dist/BusinessComponents/BirthCertificateChildren/index.d.ts +23 -0
- package/dist/BusinessComponents/BloodAndThalassemia/constant.d.ts +35 -0
- package/dist/BusinessComponents/BloodAndThalassemia/index.d.ts +3 -0
- package/dist/BusinessComponents/BloodAndThalassemia/index2.d.ts +4 -0
- package/dist/BusinessComponents/BloodPressure/index.d.ts +1 -0
- package/dist/BusinessComponents/BregmaGroup/MultiplicationInput.d.ts +6 -0
- package/dist/BusinessComponents/BregmaGroup/index.d.ts +6 -0
- package/dist/BusinessComponents/CaesareanChildren/index.d.ts +23 -0
- package/dist/BusinessComponents/CalculateScoreTable/BaseTable.d.ts +5 -0
- package/dist/BusinessComponents/CalculateScoreTable/index.d.ts +26 -0
- package/dist/BusinessComponents/Diagnosis/index.d.ts +18 -0
- package/dist/BusinessComponents/DiagnosisList/Modal.d.ts +4 -0
- package/dist/BusinessComponents/DiagnosisList/index.d.ts +2 -0
- package/dist/BusinessComponents/DiagnosisListInduced/Modal.d.ts +4 -0
- package/dist/BusinessComponents/DiagnosisListInduced/index.d.ts +1 -0
- package/dist/BusinessComponents/DiagnosisListv2/TemplateTree/index.d.ts +51 -0
- package/dist/BusinessComponents/DiagnosisListv2/index.d.ts +15 -0
- package/dist/BusinessComponents/DiagnosisListv2/template/index.d.ts +16 -0
- package/dist/BusinessComponents/FamilyTumorHistory/index.d.ts +23 -0
- package/dist/BusinessComponents/FetalNTCheck/index.d.ts +2 -0
- package/dist/BusinessComponents/FetalUltrasound/index.d.ts +7 -0
- package/dist/BusinessComponents/FoetalAppendage/FoetalAppendageFormSection.d.ts +14 -0
- package/dist/BusinessComponents/FoetalAppendage/config.d.ts +2 -0
- package/dist/BusinessComponents/FoetalAppendage/index.d.ts +20 -0
- package/dist/BusinessComponents/GynaecologyOperationTemplateTextarea/EditModal.d.ts +2 -0
- package/dist/BusinessComponents/GynaecologyOperationTemplateTextarea/TemplateModal.d.ts +39 -0
- package/dist/BusinessComponents/GynaecologyOperationTemplateTextarea/components/TemplateSelect.d.ts +2 -0
- package/dist/BusinessComponents/GynaecologyOperationTemplateTextarea/index.d.ts +23 -0
- package/dist/BusinessComponents/GynaecologyOperationTemplateTextarea/methods/index.d.ts +12 -0
- package/dist/BusinessComponents/GynaecologyOperationTemplateTextarea/utils.d.ts +41 -0
- package/dist/BusinessComponents/GynaecologyTemplateTextarea/EditModal.d.ts +2 -0
- package/dist/BusinessComponents/GynaecologyTemplateTextarea/TemplateModal.d.ts +38 -0
- package/dist/BusinessComponents/GynaecologyTemplateTextarea/components/TemplateSelect.d.ts +2 -0
- package/dist/BusinessComponents/GynaecologyTemplateTextarea/index.d.ts +23 -0
- package/dist/BusinessComponents/GynaecologyTemplateTextarea/methods/index.d.ts +12 -0
- package/dist/BusinessComponents/GynaecologyTemplateTextarea/utils.d.ts +41 -0
- package/dist/BusinessComponents/HighriskGrade/index.d.ts +6 -0
- package/dist/BusinessComponents/HighriskSign/index.d.ts +10 -0
- package/dist/BusinessComponents/InducedFetus/components/Form.d.ts +5 -0
- package/dist/BusinessComponents/InducedFetus/components/index.d.ts +12 -0
- package/dist/BusinessComponents/InducedFetus/config/adapter.d.ts +3 -0
- package/dist/BusinessComponents/InducedFetus/index.d.ts +19 -0
- package/dist/BusinessComponents/InspectionResultTextarea/Modal.d.ts +2 -0
- package/dist/BusinessComponents/InspectionResultTextarea/index.d.ts +15 -0
- package/dist/BusinessComponents/InspectionResultTextarea/utils.d.ts +26 -0
- package/dist/BusinessComponents/KnowledgeBase/index.d.ts +2 -0
- package/dist/BusinessComponents/LaborProcess/index.d.ts +29 -0
- package/dist/BusinessComponents/MiddleUltsounds/index.d.ts +2 -0
- package/dist/BusinessComponents/MiddleUltsoundsSingle/index.d.ts +2 -0
- package/dist/BusinessComponents/NoenateRecord/NoenateRecordFormSection.d.ts +14 -0
- package/dist/BusinessComponents/NoenateRecord/config.d.ts +2 -0
- package/dist/BusinessComponents/NoenateRecord/index.d.ts +16 -0
- package/dist/BusinessComponents/NurseChildren/index.d.ts +23 -0
- package/dist/BusinessComponents/NurseChildren2/index.d.ts +24 -0
- package/dist/BusinessComponents/NursingFetus/components/Form.d.ts +6 -0
- package/dist/BusinessComponents/NursingFetus/components/index.d.ts +12 -0
- package/dist/BusinessComponents/NursingFetus/config/adapter.d.ts +2 -0
- package/dist/BusinessComponents/NursingFetus/index.d.ts +19 -0
- package/dist/BusinessComponents/NursingFetusv2/components/Form.d.ts +6 -0
- package/dist/BusinessComponents/NursingFetusv2/components/index.d.ts +12 -0
- package/dist/BusinessComponents/NursingFetusv2/config/adapter.d.ts +2 -0
- package/dist/BusinessComponents/NursingFetusv2/index.d.ts +30 -0
- package/dist/BusinessComponents/NursingFetusv3/components/Form.d.ts +6 -0
- package/dist/BusinessComponents/NursingFetusv3/components/index.d.ts +12 -0
- package/dist/BusinessComponents/NursingFetusv3/config/adapter.d.ts +2 -0
- package/dist/BusinessComponents/NursingFetusv3/index.d.ts +26 -0
- package/dist/BusinessComponents/NursingFetusv4/components/Form.d.ts +6 -0
- package/dist/BusinessComponents/NursingFetusv4/components/index.d.ts +12 -0
- package/dist/BusinessComponents/NursingFetusv4/config/adapter.d.ts +2 -0
- package/dist/BusinessComponents/OxytocinTable/index.d.ts +2 -0
- package/dist/BusinessComponents/PostpartumFetal/index.d.ts +2 -0
- package/dist/BusinessComponents/PregnancyHistory/PregnancyHistoryFormSection.d.ts +21 -0
- package/dist/BusinessComponents/PregnancyHistory/config/index-table.d.ts +209 -0
- package/dist/BusinessComponents/PregnancyHistory/index-form.d.ts +30 -0
- package/dist/BusinessComponents/PregnancyHistory/index-table.d.ts +31 -0
- package/dist/BusinessComponents/PregnancyHistory/index.d.ts +3 -0
- package/dist/BusinessComponents/PregnancyHistoryV2/components/FormMode/index.d.ts +4 -0
- package/dist/BusinessComponents/PregnancyHistoryV2/components/TableMode/index.d.ts +3 -0
- package/dist/BusinessComponents/PregnancyHistoryV2/index.d.ts +3 -0
- package/dist/BusinessComponents/PressureInput/index-v2.d.ts +3 -0
- package/dist/BusinessComponents/PressureInput/index.d.ts +24 -0
- package/dist/BusinessComponents/ProcedureCystocentesis/config/table.d.ts +126 -0
- package/dist/BusinessComponents/ProcedureCystocentesis/index.d.ts +33 -0
- package/dist/BusinessComponents/ProcedureIntrauterine/config/table.d.ts +196 -0
- package/dist/BusinessComponents/ProcedureIntrauterine/index.d.ts +36 -0
- package/dist/BusinessComponents/RecordState/form_config.d.ts +2 -0
- package/dist/BusinessComponents/RecordState/index copy.d.ts +14 -0
- package/dist/BusinessComponents/RecordState/index.d.ts +10 -0
- package/dist/BusinessComponents/ReferralRegister/index.d.ts +13 -0
- package/dist/BusinessComponents/ReferralToRegister/EditableCell.d.ts +16 -0
- package/dist/BusinessComponents/ReferralToRegister/columns.d.ts +56 -0
- package/dist/BusinessComponents/ReferralToRegister/index.d.ts +10 -0
- package/dist/BusinessComponents/ReferralToRegisterv2/EditableCell.d.ts +16 -0
- package/dist/BusinessComponents/ReferralToRegisterv2/columns.d.ts +56 -0
- package/dist/BusinessComponents/ReferralToRegisterv2/index.d.ts +10 -0
- package/dist/BusinessComponents/ResultTextarea/Modal.d.ts +2 -0
- package/dist/BusinessComponents/ResultTextarea/index.d.ts +13 -0
- package/dist/BusinessComponents/ResultTextarea/utils.d.ts +26 -0
- package/dist/BusinessComponents/ShiftPatients/index.d.ts +35 -0
- package/dist/BusinessComponents/SingleCheckBox/index.d.ts +11 -0
- package/dist/BusinessComponents/SurgicalInspectionReport/index.d.ts +47 -0
- package/dist/BusinessComponents/SurgicalInspectionReport/mock.d.ts +104 -0
- package/dist/BusinessComponents/TemplateTexDeathclassification1/deathclassification.d.ts +14 -0
- package/dist/BusinessComponents/TemplateTexDeathclassification1/index.d.ts +29 -0
- package/dist/BusinessComponents/TemplateTexDeathclassification2/index.d.ts +29 -0
- package/dist/BusinessComponents/TemplateTextarea/EditModal.d.ts +1 -0
- package/dist/BusinessComponents/TemplateTextarea/TemplateModal.d.ts +37 -0
- package/dist/BusinessComponents/TemplateTextarea/common.d.ts +29 -0
- package/dist/BusinessComponents/TemplateTextarea/components/TemplateSelect.d.ts +2 -0
- package/dist/BusinessComponents/TemplateTextarea/index.d.ts +23 -0
- package/dist/BusinessComponents/TemplateTextarea/methods/index.d.ts +12 -0
- package/dist/BusinessComponents/TemplateTextareav2/EditModal.d.ts +2 -0
- package/dist/BusinessComponents/TemplateTextareav2/TemplateModal.d.ts +37 -0
- package/dist/BusinessComponents/TemplateTextareav2/common.d.ts +29 -0
- package/dist/BusinessComponents/TemplateTextareav2/components/TemplateSelect.d.ts +1 -0
- package/dist/BusinessComponents/TemplateTextareav2/index.d.ts +22 -0
- package/dist/BusinessComponents/TemplateTextareav2/methods/index.d.ts +8 -0
- package/dist/BusinessComponents/TemplateTextareav3/Modal.d.ts +9 -0
- package/dist/BusinessComponents/TemplateTextareav3/index.d.ts +31 -0
- package/dist/BusinessComponents/TemplateTextrootcauseDeath/Diagnosisdeath.d.ts +12 -0
- package/dist/BusinessComponents/TemplateTextrootcauseDeath/index.d.ts +25 -0
- package/dist/BusinessComponents/TimePickerAutoaccept/index.d.ts +4 -0
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramBasic/components/Form.d.ts +5 -0
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramBasic/components/index.d.ts +13 -0
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramBasic/config/adapter.d.ts +3 -0
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramBasic/index.d.ts +20 -0
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramTable/components/ModalForm.d.ts +14 -0
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramTable/components/Table.d.ts +2 -0
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramTable/config/table.d.ts +22 -0
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramTable/index.d.ts +51 -0
- package/dist/BusinessComponents/TreatmentProgram/utils/index.d.ts +2 -0
- package/dist/BusinessComponents/UltrosoundResultTextarea/Modal.d.ts +1 -0
- package/dist/BusinessComponents/UltrosoundResultTextarea/index.d.ts +15 -0
- package/dist/BusinessComponents/UltrosoundResultTextarea/utils.d.ts +26 -0
- package/dist/ConfigComponents/BloodSugarNursingTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/BloodSugarNursingTable/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/ConfigComponents/BloodSugarNursingTable/EditInTable/index.d.ts +50 -0
- package/dist/ConfigComponents/BloodSugarNursingTable/index.d.ts +2 -0
- package/dist/ConfigComponents/BloodSugarNursingTable/table.d.ts +73 -0
- package/dist/ConfigComponents/CheckboxGroup/index.d.ts +6 -0
- package/dist/ConfigComponents/CheckboxWithInput/index.d.ts +9 -0
- package/dist/ConfigComponents/CheckboxWithInputv2/index.d.ts +3 -0
- package/dist/ConfigComponents/CheckboxWithSingleInput/index.d.ts +9 -0
- package/dist/ConfigComponents/CustomEditInTable/config/index.d.ts +1 -0
- package/dist/ConfigComponents/CustomEditInTable/config/neonateEnter.d.ts +1 -0
- package/dist/ConfigComponents/CustomEditInTable/config/tocolysisNursing.d.ts +1 -0
- package/dist/ConfigComponents/CustomEditInTable/index.d.ts +2 -0
- package/dist/ConfigComponents/DictionarySelect/index.d.ts +8 -0
- package/dist/ConfigComponents/DictionarySelectInTable/index.d.ts +8 -0
- package/dist/ConfigComponents/InputWithLabel/index.d.ts +15 -0
- package/dist/ConfigComponents/InputWithRangTip/index.d.ts +3 -0
- package/dist/ConfigComponents/InputWithRange/index.d.ts +2 -0
- package/dist/ConfigComponents/MultipleInputWithLabel/index.d.ts +8 -0
- package/dist/ConfigComponents/NeonatalCareRecordTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/NeonatalCareRecordTable/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/ConfigComponents/NeonatalCareRecordTable/EditInTable/index.d.ts +49 -0
- package/dist/ConfigComponents/NeonatalCareRecordTable/index copy.d.ts +2 -0
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/default.d.ts +88 -0
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/gysy.d.ts +295 -0
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/indx.d.ts +382 -0
- package/dist/ConfigComponents/NeonatalScaleExamination/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/NeonatalScaleExamination/EditInTable/EditInTableNoForm.d.ts +6 -0
- package/dist/ConfigComponents/NeonatalScaleExamination/EditInTable/index.d.ts +8 -0
- package/dist/ConfigComponents/NeonatalScaleExamination/index copy.d.ts +2 -0
- package/dist/ConfigComponents/NeonatalScaleExamination/table.d.ts +619 -0
- package/dist/ConfigComponents/NormalCheckboxWithInput/index.d.ts +9 -0
- package/dist/ConfigComponents/NormalNursingTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/NormalNursingTable/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/ConfigComponents/NormalNursingTable/EditInTable/index.d.ts +50 -0
- package/dist/ConfigComponents/NormalNursingTable/index.d.ts +2 -0
- package/dist/ConfigComponents/NormalNursingTable/table.d.ts +261 -0
- package/dist/ConfigComponents/NormalSelectWithInput/index.d.ts +3 -0
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable/EditInTable/EditInTableNoForm.d.ts +6 -0
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable/EditInTable/index.d.ts +8 -0
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable/index.d.ts +2 -0
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable/table.d.ts +74 -0
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable2/config/index.d.ts +7 -0
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable2/config/magnesiumNursing.d.ts +1 -0
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable2/index copy.d.ts +2 -0
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/index.d.ts +49 -0
- package/dist/ConfigComponents/OxytocinNursingTable/index.d.ts +2 -0
- package/dist/ConfigComponents/OxytocinNursingTable/table/default.d.ts +255 -0
- package/dist/ConfigComponents/OxytocinNursingTable/table/gysy.d.ts +234 -0
- package/dist/ConfigComponents/OxytocinNursingTable/table/index.d.ts +3 -0
- package/dist/ConfigComponents/PastDeliveryNursingTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/PastDeliveryNursingTable/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/ConfigComponents/PastDeliveryNursingTable/EditInTable/index.d.ts +50 -0
- package/dist/ConfigComponents/PastDeliveryNursingTable/index.d.ts +2 -0
- package/dist/ConfigComponents/PastDeliveryNursingTable/table.d.ts +181 -0
- package/dist/ConfigComponents/PostUrinaryretentionTable2/config/index.d.ts +7 -0
- package/dist/ConfigComponents/PostUrinaryretentionTable2/config/urinaryRetentionNursing.d.ts +1 -0
- package/dist/ConfigComponents/PostUrinaryretentionTable2/index copy.d.ts +2 -0
- package/dist/ConfigComponents/PostpartumCarerecordTable2/config/index.d.ts +7 -0
- package/dist/ConfigComponents/PostpartumCarerecordTable2/config/postnatalCareRecord.d.ts +1 -0
- package/dist/ConfigComponents/PostpartumCarerecordTable2/index copy.d.ts +2 -0
- package/dist/ConfigComponents/PreDeliverNursingTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/PreDeliverNursingTable/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/ConfigComponents/PreDeliverNursingTable/EditInTable/index.d.ts +49 -0
- package/dist/ConfigComponents/PreDeliverNursingTable/index.d.ts +2 -0
- package/dist/ConfigComponents/PreDeliverNursingTable/table/default.d.ts +569 -0
- package/dist/ConfigComponents/PreDeliverNursingTable/table/gysy.d.ts +1 -0
- package/dist/ConfigComponents/PreDeliverNursingTable/table/index.d.ts +2 -0
- package/dist/ConfigComponents/ProcedureRecords/index.d.ts +11 -0
- package/dist/ConfigComponents/PureCheckbox/index.d.ts +6 -0
- package/dist/ConfigComponents/RevertEditInTable/index.d.ts +1 -0
- package/dist/ConfigComponents/SpecialNursingTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/SpecialNursingTable/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/ConfigComponents/SpecialNursingTable/EditInTable/index.d.ts +50 -0
- package/dist/ConfigComponents/SpecialNursingTable/index.d.ts +2 -0
- package/dist/ConfigComponents/SpecialNursingTable/table.d.ts +176 -0
- package/dist/ConfigComponents/TemperatureNursingTable/EditInTable/BaseTable.d.ts +5 -0
- package/dist/ConfigComponents/TemperatureNursingTable/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/ConfigComponents/TemperatureNursingTable/EditInTable/index.d.ts +49 -0
- package/dist/ConfigComponents/TemperatureNursingTable/index.d.ts +2 -0
- package/dist/ConfigComponents/TemperatureNursingTable/table.d.ts +64 -0
- package/dist/ConfigComponents/VaginaStrumentsRecordForm/Inner.d.ts +2 -0
- package/dist/ConfigComponents/VaginaStrumentsRecordForm/index.d.ts +2 -0
- package/dist/DataSelect/index.d.ts +21 -0
- package/dist/DataSelectWithAutoInput/index.d.ts +13 -0
- package/dist/FB_components/DoctorEnd_ImageReport_Report/Inner.d.ts +4 -0
- package/dist/FB_components/DoctorEnd_ImageReport_Report/index.d.ts +3 -0
- package/dist/FB_components/DoctorEnd_ImageReport_Report/types.d.ts +3 -0
- package/dist/FB_components/DoctorEnd_SurveyReport_Report/Inner.d.ts +4 -0
- package/dist/FB_components/DoctorEnd_SurveyReport_Report/index.d.ts +3 -0
- package/dist/FB_components/DoctorEnd_SurveyReport_Report/types.d.ts +4 -0
- package/dist/FB_components/index.d.ts +2 -0
- package/dist/FU_components/ArrayInput/components.d.ts +6 -0
- package/dist/FU_components/ArrayInput/index.d.ts +4 -0
- package/dist/FU_components/ArrayInput/types.d.ts +82 -0
- package/dist/FU_components/ArrayInput/utils.d.ts +3 -0
- package/dist/FU_components/ArrayPanel/Display.d.ts +13 -0
- package/dist/FU_components/ArrayPanel/Inner.d.ts +13 -0
- package/dist/FU_components/CalcBmi/index.d.ts +4 -0
- package/dist/FU_components/CheckboxWithValue/index.d.ts +9 -0
- package/dist/FU_components/CommonFormTabs/CommonFormTabs.d.ts +5 -0
- package/dist/FU_components/CommonFormTabs/DisplayFC.d.ts +3 -0
- package/dist/FU_components/CommonFormTabs/Inner.d.ts +4 -0
- package/dist/FU_components/CommonFormTabs/index.d.ts +8 -0
- package/dist/FU_components/CommonFormTabs/types.d.ts +18 -0
- package/dist/FU_components/DateRange/index.d.ts +7 -0
- package/dist/FU_components/DateTimeInput/Inner.d.ts +6 -0
- package/dist/FU_components/DateTimeInput/index copy.d.ts +5 -0
- package/dist/FU_components/DateTimeInput/index.d.ts +5 -0
- package/dist/FU_components/FormList/index.d.ts +10 -0
- package/dist/FU_components/FormSection/FormSection.d.ts +5 -0
- package/dist/FU_components/FormSection/FormSectionForm.d.ts +13 -0
- package/dist/FU_components/FormSection/Inner.d.ts +4 -0
- package/dist/FU_components/FormSection/RenderFormSectionComponent.d.ts +19 -0
- package/dist/FU_components/FormSection/helper.d.ts +20 -0
- package/dist/FU_components/FormSection/index.d.ts +1 -0
- package/dist/FU_components/FormSection/types.d.ts +33 -0
- package/dist/FU_components/FormSection/use_chrono.d.ts +13 -0
- package/dist/FU_components/FormSection/utils.d.ts +81 -0
- package/dist/FU_components/HbvdnaInput/index.d.ts +10 -0
- package/dist/FU_components/HighriskButton/index.d.ts +16 -0
- package/dist/FU_components/HighriskGradeColorSpan/index.d.ts +4 -0
- package/dist/FU_components/HourMinuteInput/index.d.ts +5 -0
- package/dist/FU_components/IdNOButton/index copy.d.ts +6 -0
- package/dist/FU_components/IdNOButton/index.d.ts +12 -0
- package/dist/FU_components/LoadFlag/Inner.d.ts +2 -0
- package/dist/FU_components/LoadFlag/index.d.ts +2 -0
- package/dist/FU_components/LoadingPlaceholder/index.d.ts +5 -0
- package/dist/FU_components/MchcDriverStatus/Inner.d.ts +5 -0
- package/dist/FU_components/MchcDriverStatus/index.d.ts +1 -0
- package/dist/FU_components/MyAutoComplete/MyAutoCompleteInner.d.ts +3 -0
- package/dist/FU_components/MyAutoComplete/index.d.ts +4 -0
- package/dist/FU_components/MyAutoComplete/types.d.ts +21 -0
- package/dist/FU_components/MyAutoComplete/useConfig.d.ts +11 -0
- package/dist/FU_components/MyBaseList/_MyBaseList.d.ts +9 -0
- package/dist/FU_components/MyBaseList/__test__/index.test.d.ts +1 -0
- package/dist/FU_components/MyBaseList/index.d.ts +2 -0
- package/dist/FU_components/MyBaseList/methods/index.d.ts +1 -0
- package/dist/FU_components/MyBaseList/types.d.ts +129 -0
- package/dist/FU_components/MyBaseTable/Resizeable.d.ts +1 -0
- package/dist/FU_components/MyBaseTable/index.d.ts +9 -0
- package/dist/FU_components/MyBaseTable/strategies.d.ts +13 -0
- package/dist/FU_components/MyButton/index.d.ts +5 -0
- package/dist/FU_components/MyEditTable/index.d.ts +20 -0
- package/dist/FU_components/MyReferralOrganizationSelect/index.d.ts +17 -0
- package/dist/FU_components/MySearchSelect/index.d.ts +10 -0
- package/dist/FU_components/MySelect/Display.d.ts +3 -0
- package/dist/FU_components/MySelect/Inner.d.ts +4 -0
- package/dist/FU_components/MySelect/components.d.ts +4 -0
- package/dist/FU_components/MySelect/index.d.ts +8 -0
- package/dist/FU_components/MySelect/types.d.ts +27 -0
- package/dist/FU_components/MySelect/utils.d.ts +13 -0
- package/dist/FU_components/OkButton/index.d.ts +8 -0
- package/dist/FU_components/PressureInput/index.d.ts +7 -0
- package/dist/FU_components/SimpleForm/components/TabForm/index.d.ts +14 -0
- package/dist/FU_components/SimpleForm/components/extra/Custom.d.ts +5 -0
- package/dist/FU_components/SimpleForm/components/extra/SimpleSelect.d.ts +6 -0
- package/dist/FU_components/SimpleForm/index.d.ts +45 -0
- package/dist/FU_components/SimpleForm/types/help.d.ts +3 -0
- package/dist/FU_components/SimpleForm/types/lmTypes.d.ts +85 -0
- package/dist/FU_components/SimpleForm/types/metaTypes.d.ts +28 -0
- package/dist/FU_components/TakeInVolumn/DisplayFC.d.ts +7 -0
- package/dist/FU_components/TakeInVolumn/Inner.d.ts +7 -0
- package/dist/FU_components/TakeOutVolumn/DisplayFC.d.ts +7 -0
- package/dist/FU_components/TakeOutVolumn/Inner.d.ts +7 -0
- package/dist/FU_components/TemplateTextarea/index.d.ts +14 -0
- package/dist/FU_components/ToggleForm/Inner.d.ts +3 -0
- package/dist/FU_components/ToggleForm/index.d.ts +3 -0
- package/dist/FU_components/ToggleForm/types.d.ts +14 -0
- package/dist/FU_components/index.d.ts +25 -0
- package/dist/FU_components/others/RolesPicker/index.d.ts +12 -0
- package/dist/FU_components/types.d.ts +12 -0
- package/dist/GeneralComponents/AsyncAutoComplete/index.d.ts +13 -0
- package/dist/GeneralComponents/Button/index.d.ts +9 -0
- package/dist/GeneralComponents/ButtonModal/index.d.ts +10 -0
- package/dist/GeneralComponents/CaseTemplete/Inner.d.ts +21 -0
- package/dist/GeneralComponents/CaseTemplete/config.d.ts +20 -0
- package/dist/GeneralComponents/CaseTemplete/index.d.ts +2 -0
- package/dist/GeneralComponents/CheckAndCancelButton/index.d.ts +3 -0
- package/dist/GeneralComponents/CheckboxGroupObject/index.d.ts +15 -0
- package/dist/GeneralComponents/CheckboxGroupObjectCustom/Inner.d.ts +13 -0
- package/dist/GeneralComponents/CheckboxGroupObjectCustom/index.d.ts +2 -0
- package/dist/GeneralComponents/CheckboxWithInput/Inner.d.ts +21 -0
- package/dist/GeneralComponents/CheckboxWithInput/index.d.ts +2 -0
- package/dist/GeneralComponents/CheckboxWithInput_gold/Display.d.ts +6 -0
- package/dist/GeneralComponents/CheckboxWithInput_gold/Inner.d.ts +5 -0
- package/dist/GeneralComponents/CheckboxWithInput_gold/components.d.ts +56 -0
- package/dist/GeneralComponents/CheckboxWithInput_gold/index.d.ts +5 -0
- package/dist/GeneralComponents/CheckboxWithInput_gold/types.d.ts +52 -0
- package/dist/GeneralComponents/CheckboxWithInput_gold/utils.d.ts +11 -0
- package/dist/GeneralComponents/CustomEditor/index.d.ts +26 -0
- package/dist/GeneralComponents/CustomFormField/index.d.ts +12 -0
- package/dist/GeneralComponents/CustomIcon/index.d.ts +8 -0
- package/dist/GeneralComponents/CustomJSONEditor/index.d.ts +28 -0
- package/dist/GeneralComponents/CustomSpin/index.d.ts +4 -0
- package/dist/GeneralComponents/CustomTreeSelect/index.d.ts +5 -0
- package/dist/GeneralComponents/DataTimePick/index.d.ts +12 -0
- package/dist/GeneralComponents/DatePicker/Display.d.ts +3 -0
- package/dist/GeneralComponents/DatePicker/Inner.d.ts +5 -0
- package/dist/GeneralComponents/DatePicker/index.d.ts +9 -0
- package/dist/GeneralComponents/DatePickerWithSwitch/index.d.ts +3 -0
- package/dist/GeneralComponents/DictionarySelect/Display.d.ts +13 -0
- package/dist/GeneralComponents/DictionarySelect/index.d.ts +4 -0
- package/dist/GeneralComponents/EditInTable/BaseTable.d.ts +5 -0
- package/dist/GeneralComponents/EditInTable/EditInTableNoForm.d.ts +51 -0
- package/dist/GeneralComponents/EditInTable/EditInTable_Inner copy 2.d.ts +24 -0
- package/dist/GeneralComponents/EditInTable/EditInTable_Inner copy.d.ts +24 -0
- package/dist/GeneralComponents/EditInTable/EditInTable_Inner.d.ts +3 -0
- package/dist/GeneralComponents/EditInTable/components.d.ts +28 -0
- package/dist/GeneralComponents/EditInTable/index.d.ts +5 -0
- package/dist/GeneralComponents/EditInTable/utils.d.ts +37 -0
- package/dist/GeneralComponents/Editor/Inner.d.ts +14 -0
- package/dist/GeneralComponents/Editor/index.d.ts +3 -0
- package/dist/GeneralComponents/Editor/types.d.ts +7 -0
- package/dist/GeneralComponents/FormSectionInput/index.d.ts +3 -0
- package/dist/GeneralComponents/IconSelect/index.d.ts +5 -0
- package/dist/GeneralComponents/ImageEditor/Inner.d.ts +12 -0
- package/dist/GeneralComponents/ImageEditor/index.d.ts +3 -0
- package/dist/GeneralComponents/ImageUploadPreview/Inner.d.ts +7 -0
- package/dist/GeneralComponents/ImageUploadPreview/index.d.ts +6 -0
- package/dist/GeneralComponents/ImageUploadPreviewIntranet/Inner.d.ts +10 -0
- package/dist/GeneralComponents/InputNumber/index.d.ts +17 -0
- package/dist/GeneralComponents/InputWithLabel/Inner.d.ts +3 -0
- package/dist/GeneralComponents/InputWithLabel/index.d.ts +4 -0
- package/dist/GeneralComponents/InputWithLabel/types.d.ts +15 -0
- package/dist/GeneralComponents/InputWithRangTip/index.d.ts +2 -0
- package/dist/GeneralComponents/InputWithRange/index.d.ts +12 -0
- package/dist/GeneralComponents/MobileEditor/Inner.d.ts +12 -0
- package/dist/GeneralComponents/MobileEditor/index.d.ts +2 -0
- package/dist/GeneralComponents/MultipleInputGroup/index.d.ts +8 -0
- package/dist/GeneralComponents/MultipleInputWithLabel/index.d.ts +17 -0
- package/dist/GeneralComponents/NormalDictionarySelect/index.d.ts +3 -0
- package/dist/GeneralComponents/RadioGroup/index.d.ts +2 -0
- package/dist/GeneralComponents/RadioWithInput/index.d.ts +18 -0
- package/dist/GeneralComponents/RangeInputNumber/index.d.ts +10 -0
- package/dist/GeneralComponents/RangePicker/index.d.ts +2 -0
- package/dist/GeneralComponents/Select/AsyncHOC.d.ts +28 -0
- package/dist/GeneralComponents/Select/InputSelector.d.ts +29 -0
- package/dist/GeneralComponents/Select/MultiSelector.d.ts +7 -0
- package/dist/GeneralComponents/Select/SingleSelector.d.ts +2 -0
- package/dist/GeneralComponents/Select/index.d.ts +56 -0
- package/dist/GeneralComponents/SelectTable/index.d.ts +44 -0
- package/dist/GeneralComponents/SelectWithInput/index.d.ts +15 -0
- package/dist/GeneralComponents/SoDiaoEditor/config.d.ts +44 -0
- package/dist/GeneralComponents/SoDiaoEditor/index.d.ts +11 -0
- package/dist/GeneralComponents/TimePicker/index.d.ts +2 -0
- package/dist/GeneralComponents/UploadFile/index.d.ts +2 -0
- package/dist/GeneralComponents/UploadFileUrlEdit/index.d.ts +2 -0
- package/dist/GeneralComponents/UploadImg/index.d.ts +26 -0
- package/dist/GeneralComponents/border-title/border-title.d.ts +5 -0
- package/dist/GeneralComponents/datapick_with_check/datapick_with_check.d.ts +6 -0
- package/dist/GeneralComponents/tinymce-editor/tinymce-edit.d.ts +6 -0
- package/dist/MyForm/_MyForm.d.ts +11 -0
- package/dist/MyForm/components/Base/CheckboxWithExtra.d.ts +16 -0
- package/dist/MyForm/components/Base/ExtraEditors.d.ts +13 -0
- package/dist/MyForm/components/MyAutoComplete/index.d.ts +4 -0
- package/dist/MyForm/components/MyButton/index.d.ts +9 -0
- package/dist/MyForm/components/MyCascader/index.d.ts +14 -0
- package/dist/MyForm/components/MyCheckbox/CheckboxInputNeedFillWidth.d.ts +22 -0
- package/dist/MyForm/components/MyCheckbox/CustomCheckbox.d.ts +31 -0
- package/dist/MyForm/components/MyCheckbox/GroupCheckbox.d.ts +19 -0
- package/dist/MyForm/components/MyCheckbox/MultipleCheckbox.d.ts +36 -0
- package/dist/MyForm/components/MyCheckbox/index.d.ts +10 -0
- package/dist/MyForm/components/MyCheckbox/type.d.ts +33 -0
- package/dist/MyForm/components/MyCustom/ArrayCustom.d.ts +33 -0
- package/dist/MyForm/components/MyCustom/ArrayCustomTab.d.ts +22 -0
- package/dist/MyForm/components/MyCustom/Inner.d.ts +22 -0
- package/dist/MyForm/components/MyCustom/index.d.ts +3 -0
- package/dist/MyForm/components/MyDateTime/index.d.ts +10 -0
- package/dist/MyForm/components/MyInput/index.d.ts +41 -0
- package/dist/MyForm/components/MyInputWithRed/index.d.ts +42 -0
- package/dist/MyForm/components/MySelect/CustomSelect.d.ts +9 -0
- package/dist/MyForm/components/MySelect/DefaultSelect.d.ts +30 -0
- package/dist/MyForm/components/MySelect/MultipleSelect.d.ts +25 -0
- package/dist/MyForm/components/MySelect/index.d.ts +8 -0
- package/dist/MyForm/components/MyTable/TableEditableCell.d.ts +25 -0
- package/dist/MyForm/components/MyTable/components/Table.d.ts +2 -0
- package/dist/MyForm/components/MyTable/index.d.ts +18 -0
- package/dist/MyForm/components/MyTable/index2.d.ts +17 -0
- package/dist/MyForm/components/MyTable/index3.d.ts +25 -0
- package/dist/MyForm/components/MyTreeSelect/Inner.d.ts +29 -0
- package/dist/MyForm/components/MyTreeSelect/index.d.ts +2 -0
- package/dist/MyForm/components/SimpleObject/index.d.ts +15 -0
- package/dist/MyForm/components/SingleCheckbox/index.d.ts +2 -0
- package/dist/MyForm/components/business/Address/AddressCascader.d.ts +13 -0
- package/dist/MyForm/components/business/BloodAndThalassemia/index.d.ts +2 -0
- package/dist/MyForm/components/business/BloodAndThalassemia/index2.d.ts +2 -0
- package/dist/MyForm/components/business/BloodFlows/index.d.ts +4 -0
- package/dist/MyForm/components/business/BloodPressure/index.d.ts +14 -0
- package/dist/MyForm/components/business/DoubleInput/index.d.ts +14 -0
- package/dist/MyForm/components/business/FilterDateInput/index.d.ts +15 -0
- package/dist/MyForm/components/business/FundalHeightInput/index.d.ts +5 -0
- package/dist/MyForm/components/business/HemogramExam/index.d.ts +4 -0
- package/dist/MyForm/components/business/NormalButton/index.d.ts +9 -0
- package/dist/MyForm/components/business/PdProcedure/Cystocentesis.d.ts +3 -0
- package/dist/MyForm/components/business/PdProcedure/Cystocentesis_Inner.d.ts +25 -0
- package/dist/MyForm/components/business/PdProcedure/Inner.d.ts +17 -0
- package/dist/MyForm/components/business/PdProcedure/IntrauterineBloodTransfusion.d.ts +3 -0
- package/dist/MyForm/components/business/PdProcedure/IntrauterineBloodTransfusion_Inner.d.ts +25 -0
- package/dist/MyForm/components/business/PdProcedure/config/common-table-item.d.ts +302 -0
- package/dist/MyForm/components/business/PdProcedure/config/options.d.ts +63 -0
- package/dist/MyForm/components/business/PdProcedure/config/table.d.ts +271 -0
- package/dist/MyForm/components/business/PdProcedure/index.d.ts +3 -0
- package/dist/MyForm/components/business/PregnancyHistory/MyForm_Business_PregnancyHistory.d.ts +32 -0
- package/dist/MyForm/components/business/PregnancyHistory/config.d.ts +228 -0
- package/dist/MyForm/components/business/PregnancyHistory/index.d.ts +2 -0
- package/dist/MyForm/components/business/PrenatalDignosisPrenancyHisotries/index.d.ts +42 -0
- package/dist/MyForm/components/business/TemplateTextarea/EditModal.d.ts +2 -0
- package/dist/MyForm/components/business/TemplateTextarea/TextareaWithTemplate.d.ts +39 -0
- package/dist/MyForm/components/business/TemplateTextarea/common.d.ts +22 -0
- package/dist/MyForm/components/business/TemplateTextarea/components/TemplateSelect.d.ts +2 -0
- package/dist/MyForm/components/business/TemplateTextarea/methods/index.d.ts +16 -0
- package/dist/MyForm/components/business/TextareaWithBtn/index.d.ts +16 -0
- package/dist/MyForm/components/business/TextareaWithTemplate/Inner.d.ts +25 -0
- package/dist/MyForm/components/business/TextareaWithTemplate/index.d.ts +3 -0
- package/dist/MyForm/components/business/TextareaWithTemplate/types.d.ts +9 -0
- package/dist/MyForm/components/business/prenatalReturnTable/Inner.d.ts +29 -0
- package/dist/MyForm/components/business/prenatalReturnTable/index.d.ts +2 -0
- package/dist/MyForm/components/index.d.ts +2 -0
- package/dist/MyForm/formItem.d.ts +32 -0
- package/dist/MyForm/form_new.d.ts +3 -0
- package/dist/MyForm/index.d.ts +7 -0
- package/dist/MyForm/interface.d.ts +115 -0
- package/dist/MyForm/utils/__test__/index.test22.d.ts +1 -0
- package/dist/MyForm/utils/func.d.ts +25 -0
- package/dist/MyForm/utils/index.d.ts +9 -0
- package/dist/MyForm/utils/render.d.ts +1 -0
- package/dist/MyForm/utils/valid.d.ts +10 -0
- package/dist/MyLazyComponent/index.d.ts +1 -0
- package/dist/PDFPreview/Base64ModalframeView.d.ts +11 -0
- package/dist/PDFPreview/IframeView.d.ts +8 -0
- package/dist/PDFPreview/ModalIframeView.d.ts +11 -0
- package/dist/PDFPreview/ModalView.d.ts +8 -0
- package/dist/PDFPreview/View.d.ts +7 -0
- package/dist/PDFPreview/index.d.ts +13 -0
- package/dist/a_chunks/.root.js +294 -0
- package/dist/a_chunks/.root.js.map +1 -0
- package/dist/a_chunks/.root10.js +339 -0
- package/dist/a_chunks/.root10.js.map +1 -0
- package/dist/a_chunks/.root100.js +400 -0
- package/dist/a_chunks/.root100.js.map +1 -0
- package/dist/a_chunks/.root101.js +1011 -0
- package/dist/a_chunks/.root101.js.map +1 -0
- package/dist/a_chunks/.root102.js +279 -0
- package/dist/a_chunks/.root102.js.map +1 -0
- package/dist/a_chunks/.root103.js +130 -0
- package/dist/a_chunks/.root103.js.map +1 -0
- package/dist/a_chunks/.root104.js +298 -0
- package/dist/a_chunks/.root104.js.map +1 -0
- package/dist/a_chunks/.root105.js +503 -0
- package/dist/a_chunks/.root105.js.map +1 -0
- package/dist/a_chunks/.root106.js +107 -0
- package/dist/a_chunks/.root106.js.map +1 -0
- package/dist/a_chunks/.root107.js +214 -0
- package/dist/a_chunks/.root107.js.map +1 -0
- package/dist/a_chunks/.root108.js +189 -0
- package/dist/a_chunks/.root108.js.map +1 -0
- package/dist/a_chunks/.root109.js +916 -0
- package/dist/a_chunks/.root109.js.map +1 -0
- package/dist/a_chunks/.root11.js +95 -0
- package/dist/a_chunks/.root11.js.map +1 -0
- package/dist/a_chunks/.root110.js +965 -0
- package/dist/a_chunks/.root110.js.map +1 -0
- package/dist/a_chunks/.root111.js +172 -0
- package/dist/a_chunks/.root111.js.map +1 -0
- package/dist/a_chunks/.root112.js +429 -0
- package/dist/a_chunks/.root112.js.map +1 -0
- package/dist/a_chunks/.root113.js +266 -0
- package/dist/a_chunks/.root113.js.map +1 -0
- package/dist/a_chunks/.root114.js +172 -0
- package/dist/a_chunks/.root114.js.map +1 -0
- package/dist/a_chunks/.root115.js +346 -0
- package/dist/a_chunks/.root115.js.map +1 -0
- package/dist/a_chunks/.root116.js +151 -0
- package/dist/a_chunks/.root116.js.map +1 -0
- package/dist/a_chunks/.root117.js +127 -0
- package/dist/a_chunks/.root117.js.map +1 -0
- package/dist/a_chunks/.root118.js +525 -0
- package/dist/a_chunks/.root118.js.map +1 -0
- package/dist/a_chunks/.root119.js +583 -0
- package/dist/a_chunks/.root119.js.map +1 -0
- package/dist/a_chunks/.root12.js +130 -0
- package/dist/a_chunks/.root12.js.map +1 -0
- package/dist/a_chunks/.root120.js +285 -0
- package/dist/a_chunks/.root120.js.map +1 -0
- package/dist/a_chunks/.root121.js +545 -0
- package/dist/a_chunks/.root121.js.map +1 -0
- package/dist/a_chunks/.root122.js +667 -0
- package/dist/a_chunks/.root122.js.map +1 -0
- package/dist/a_chunks/.root123.js +673 -0
- package/dist/a_chunks/.root123.js.map +1 -0
- package/dist/a_chunks/.root124.js +276 -0
- package/dist/a_chunks/.root124.js.map +1 -0
- package/dist/a_chunks/.root125.js +200 -0
- package/dist/a_chunks/.root125.js.map +1 -0
- package/dist/a_chunks/.root126.js +86 -0
- package/dist/a_chunks/.root126.js.map +1 -0
- package/dist/a_chunks/.root127.js +798 -0
- package/dist/a_chunks/.root127.js.map +1 -0
- package/dist/a_chunks/.root128.js +264 -0
- package/dist/a_chunks/.root128.js.map +1 -0
- package/dist/a_chunks/.root129.js +1127 -0
- package/dist/a_chunks/.root129.js.map +1 -0
- package/dist/a_chunks/.root13.js +135 -0
- package/dist/a_chunks/.root13.js.map +1 -0
- package/dist/a_chunks/.root130.js +542 -0
- package/dist/a_chunks/.root130.js.map +1 -0
- package/dist/a_chunks/.root131.js +242 -0
- package/dist/a_chunks/.root131.js.map +1 -0
- package/dist/a_chunks/.root132.js +144 -0
- package/dist/a_chunks/.root132.js.map +1 -0
- package/dist/a_chunks/.root133.js +185 -0
- package/dist/a_chunks/.root133.js.map +1 -0
- package/dist/a_chunks/.root134.js +413 -0
- package/dist/a_chunks/.root134.js.map +1 -0
- package/dist/a_chunks/.root135.js +1143 -0
- package/dist/a_chunks/.root135.js.map +1 -0
- package/dist/a_chunks/.root136.js +507 -0
- package/dist/a_chunks/.root136.js.map +1 -0
- package/dist/a_chunks/.root137.js +570 -0
- package/dist/a_chunks/.root137.js.map +1 -0
- package/dist/a_chunks/.root138.js +197 -0
- package/dist/a_chunks/.root138.js.map +1 -0
- package/dist/a_chunks/.root139.js +903 -0
- package/dist/a_chunks/.root139.js.map +1 -0
- package/dist/a_chunks/.root14.js +348 -0
- package/dist/a_chunks/.root14.js.map +1 -0
- package/dist/a_chunks/.root140.js +267 -0
- package/dist/a_chunks/.root140.js.map +1 -0
- package/dist/a_chunks/.root141.js +179 -0
- package/dist/a_chunks/.root141.js.map +1 -0
- package/dist/a_chunks/.root142.js +114 -0
- package/dist/a_chunks/.root142.js.map +1 -0
- package/dist/a_chunks/.root143.js +133 -0
- package/dist/a_chunks/.root143.js.map +1 -0
- package/dist/a_chunks/.root144.js +351 -0
- package/dist/a_chunks/.root144.js.map +1 -0
- package/dist/a_chunks/.root145.js +99 -0
- package/dist/a_chunks/.root145.js.map +1 -0
- package/dist/a_chunks/.root146.js +136 -0
- package/dist/a_chunks/.root146.js.map +1 -0
- package/dist/a_chunks/.root147.js +445 -0
- package/dist/a_chunks/.root147.js.map +1 -0
- package/dist/a_chunks/.root148.js +618 -0
- package/dist/a_chunks/.root148.js.map +1 -0
- package/dist/a_chunks/.root149.js +329 -0
- package/dist/a_chunks/.root149.js.map +1 -0
- package/dist/a_chunks/.root15.js +275 -0
- package/dist/a_chunks/.root15.js.map +1 -0
- package/dist/a_chunks/.root150.js +381 -0
- package/dist/a_chunks/.root150.js.map +1 -0
- package/dist/a_chunks/.root151.js +299 -0
- package/dist/a_chunks/.root151.js.map +1 -0
- package/dist/a_chunks/.root152.js +105 -0
- package/dist/a_chunks/.root152.js.map +1 -0
- package/dist/a_chunks/.root153.js +117 -0
- package/dist/a_chunks/.root153.js.map +1 -0
- package/dist/a_chunks/.root154.js +101 -0
- package/dist/a_chunks/.root154.js.map +1 -0
- package/dist/a_chunks/.root155.js +279 -0
- package/dist/a_chunks/.root155.js.map +1 -0
- package/dist/a_chunks/.root156.js +91 -0
- package/dist/a_chunks/.root156.js.map +1 -0
- package/dist/a_chunks/.root157.js +154 -0
- package/dist/a_chunks/.root157.js.map +1 -0
- package/dist/a_chunks/.root158.js +213 -0
- package/dist/a_chunks/.root158.js.map +1 -0
- package/dist/a_chunks/.root159.js +122 -0
- package/dist/a_chunks/.root159.js.map +1 -0
- package/dist/a_chunks/.root16.js +247 -0
- package/dist/a_chunks/.root16.js.map +1 -0
- package/dist/a_chunks/.root160.js +123 -0
- package/dist/a_chunks/.root160.js.map +1 -0
- package/dist/a_chunks/.root161.js +45 -0
- package/dist/a_chunks/.root161.js.map +1 -0
- package/dist/a_chunks/.root162.js +46 -0
- package/dist/a_chunks/.root162.js.map +1 -0
- package/dist/a_chunks/.root163.js +77 -0
- package/dist/a_chunks/.root163.js.map +1 -0
- package/dist/a_chunks/.root164.js +206 -0
- package/dist/a_chunks/.root164.js.map +1 -0
- package/dist/a_chunks/.root165.js +108 -0
- package/dist/a_chunks/.root165.js.map +1 -0
- package/dist/a_chunks/.root166.js +108 -0
- package/dist/a_chunks/.root166.js.map +1 -0
- package/dist/a_chunks/.root167.js +2074 -0
- package/dist/a_chunks/.root167.js.map +1 -0
- package/dist/a_chunks/.root168.js +112 -0
- package/dist/a_chunks/.root168.js.map +1 -0
- package/dist/a_chunks/.root169.js +147 -0
- package/dist/a_chunks/.root169.js.map +1 -0
- package/dist/a_chunks/.root17.js +138 -0
- package/dist/a_chunks/.root17.js.map +1 -0
- package/dist/a_chunks/.root170.js +114 -0
- package/dist/a_chunks/.root170.js.map +1 -0
- package/dist/a_chunks/.root171.js +59 -0
- package/dist/a_chunks/.root171.js.map +1 -0
- package/dist/a_chunks/.root172.js +69 -0
- package/dist/a_chunks/.root172.js.map +1 -0
- package/dist/a_chunks/.root173.js +146 -0
- package/dist/a_chunks/.root173.js.map +1 -0
- package/dist/a_chunks/.root174.js +112 -0
- package/dist/a_chunks/.root174.js.map +1 -0
- package/dist/a_chunks/.root175.js +113 -0
- package/dist/a_chunks/.root175.js.map +1 -0
- package/dist/a_chunks/.root176.js +109 -0
- package/dist/a_chunks/.root176.js.map +1 -0
- package/dist/a_chunks/.root177.js +129 -0
- package/dist/a_chunks/.root177.js.map +1 -0
- package/dist/a_chunks/.root178.js +182 -0
- package/dist/a_chunks/.root178.js.map +1 -0
- package/dist/a_chunks/.root179.js +253 -0
- package/dist/a_chunks/.root179.js.map +1 -0
- package/dist/a_chunks/.root18.js +152 -0
- package/dist/a_chunks/.root18.js.map +1 -0
- package/dist/a_chunks/.root180.js +458 -0
- package/dist/a_chunks/.root180.js.map +1 -0
- package/dist/a_chunks/.root181.js +1511 -0
- package/dist/a_chunks/.root181.js.map +1 -0
- package/dist/a_chunks/.root182.js +91 -0
- package/dist/a_chunks/.root182.js.map +1 -0
- package/dist/a_chunks/.root183.js +115 -0
- package/dist/a_chunks/.root183.js.map +1 -0
- package/dist/a_chunks/.root184.js +1202 -0
- package/dist/a_chunks/.root184.js.map +1 -0
- package/dist/a_chunks/.root185.js +83 -0
- package/dist/a_chunks/.root185.js.map +1 -0
- package/dist/a_chunks/.root186.js +267 -0
- package/dist/a_chunks/.root186.js.map +1 -0
- package/dist/a_chunks/.root187.js +18 -0
- package/dist/a_chunks/.root187.js.map +1 -0
- package/dist/a_chunks/.root19.js +121 -0
- package/dist/a_chunks/.root19.js.map +1 -0
- package/dist/a_chunks/.root2.js +980 -0
- package/dist/a_chunks/.root2.js.map +1 -0
- package/dist/a_chunks/.root20.js +169 -0
- package/dist/a_chunks/.root20.js.map +1 -0
- package/dist/a_chunks/.root21.js +260 -0
- package/dist/a_chunks/.root21.js.map +1 -0
- package/dist/a_chunks/.root22.js +324 -0
- package/dist/a_chunks/.root22.js.map +1 -0
- package/dist/a_chunks/.root23.js +22 -0
- package/dist/a_chunks/.root23.js.map +1 -0
- package/dist/a_chunks/.root24.js +90 -0
- package/dist/a_chunks/.root24.js.map +1 -0
- package/dist/a_chunks/.root25.js +207 -0
- package/dist/a_chunks/.root25.js.map +1 -0
- package/dist/a_chunks/.root26.js +265 -0
- package/dist/a_chunks/.root26.js.map +1 -0
- package/dist/a_chunks/.root27.js +151 -0
- package/dist/a_chunks/.root27.js.map +1 -0
- package/dist/a_chunks/.root28.js +394 -0
- package/dist/a_chunks/.root28.js.map +1 -0
- package/dist/a_chunks/.root29.js +555 -0
- package/dist/a_chunks/.root29.js.map +1 -0
- package/dist/a_chunks/.root3.js +284 -0
- package/dist/a_chunks/.root3.js.map +1 -0
- package/dist/a_chunks/.root30.js +2227 -0
- package/dist/a_chunks/.root30.js.map +1 -0
- package/dist/a_chunks/.root31.js +286 -0
- package/dist/a_chunks/.root31.js.map +1 -0
- package/dist/a_chunks/.root32.js +83 -0
- package/dist/a_chunks/.root32.js.map +1 -0
- package/dist/a_chunks/.root33.js +84 -0
- package/dist/a_chunks/.root33.js.map +1 -0
- package/dist/a_chunks/.root34.js +239 -0
- package/dist/a_chunks/.root34.js.map +1 -0
- package/dist/a_chunks/.root35.js +288 -0
- package/dist/a_chunks/.root35.js.map +1 -0
- package/dist/a_chunks/.root36.js +177 -0
- package/dist/a_chunks/.root36.js.map +1 -0
- package/dist/a_chunks/.root37.js +147 -0
- package/dist/a_chunks/.root37.js.map +1 -0
- package/dist/a_chunks/.root38.js +102 -0
- package/dist/a_chunks/.root38.js.map +1 -0
- package/dist/a_chunks/.root39.js +49 -0
- package/dist/a_chunks/.root39.js.map +1 -0
- package/dist/a_chunks/.root4.js +1107 -0
- package/dist/a_chunks/.root4.js.map +1 -0
- package/dist/a_chunks/.root40.js +273 -0
- package/dist/a_chunks/.root40.js.map +1 -0
- package/dist/a_chunks/.root41.js +22 -0
- package/dist/a_chunks/.root41.js.map +1 -0
- package/dist/a_chunks/.root42.js +214 -0
- package/dist/a_chunks/.root42.js.map +1 -0
- package/dist/a_chunks/.root43.js +151 -0
- package/dist/a_chunks/.root43.js.map +1 -0
- package/dist/a_chunks/.root44.js +53 -0
- package/dist/a_chunks/.root44.js.map +1 -0
- package/dist/a_chunks/.root45.js +21 -0
- package/dist/a_chunks/.root45.js.map +1 -0
- package/dist/a_chunks/.root46.js +51 -0
- package/dist/a_chunks/.root46.js.map +1 -0
- package/dist/a_chunks/.root47.js +280 -0
- package/dist/a_chunks/.root47.js.map +1 -0
- package/dist/a_chunks/.root48.js +192 -0
- package/dist/a_chunks/.root48.js.map +1 -0
- package/dist/a_chunks/.root49.js +82 -0
- package/dist/a_chunks/.root49.js.map +1 -0
- package/dist/a_chunks/.root5.js +359 -0
- package/dist/a_chunks/.root5.js.map +1 -0
- package/dist/a_chunks/.root50.js +220 -0
- package/dist/a_chunks/.root50.js.map +1 -0
- package/dist/a_chunks/.root51.js +338 -0
- package/dist/a_chunks/.root51.js.map +1 -0
- package/dist/a_chunks/.root52.js +129 -0
- package/dist/a_chunks/.root52.js.map +1 -0
- package/dist/a_chunks/.root53.js +299 -0
- package/dist/a_chunks/.root53.js.map +1 -0
- package/dist/a_chunks/.root54.js +23 -0
- package/dist/a_chunks/.root54.js.map +1 -0
- package/dist/a_chunks/.root55.js +665 -0
- package/dist/a_chunks/.root55.js.map +1 -0
- package/dist/a_chunks/.root56.js +3357 -0
- package/dist/a_chunks/.root56.js.map +1 -0
- package/dist/a_chunks/.root57.js +567 -0
- package/dist/a_chunks/.root57.js.map +1 -0
- package/dist/a_chunks/.root58.js +198 -0
- package/dist/a_chunks/.root58.js.map +1 -0
- package/dist/a_chunks/.root59.js +165 -0
- package/dist/a_chunks/.root59.js.map +1 -0
- package/dist/a_chunks/.root6.js +206 -0
- package/dist/a_chunks/.root6.js.map +1 -0
- package/dist/a_chunks/.root60.js +904 -0
- package/dist/a_chunks/.root60.js.map +1 -0
- package/dist/a_chunks/.root61.js +103 -0
- package/dist/a_chunks/.root61.js.map +1 -0
- package/dist/a_chunks/.root62.js +226 -0
- package/dist/a_chunks/.root62.js.map +1 -0
- package/dist/a_chunks/.root63.js +322 -0
- package/dist/a_chunks/.root63.js.map +1 -0
- package/dist/a_chunks/.root64.js +492 -0
- package/dist/a_chunks/.root64.js.map +1 -0
- package/dist/a_chunks/.root65.js +485 -0
- package/dist/a_chunks/.root65.js.map +1 -0
- package/dist/a_chunks/.root66.js +1056 -0
- package/dist/a_chunks/.root66.js.map +1 -0
- package/dist/a_chunks/.root67.js +299 -0
- package/dist/a_chunks/.root67.js.map +1 -0
- package/dist/a_chunks/.root68.js +206 -0
- package/dist/a_chunks/.root68.js.map +1 -0
- package/dist/a_chunks/.root69.js +1086 -0
- package/dist/a_chunks/.root69.js.map +1 -0
- package/dist/a_chunks/.root7.js +748 -0
- package/dist/a_chunks/.root7.js.map +1 -0
- package/dist/a_chunks/.root70.js +857 -0
- package/dist/a_chunks/.root70.js.map +1 -0
- package/dist/a_chunks/.root71.js +386 -0
- package/dist/a_chunks/.root71.js.map +1 -0
- package/dist/a_chunks/.root72.js +237 -0
- package/dist/a_chunks/.root72.js.map +1 -0
- package/dist/a_chunks/.root73.js +154 -0
- package/dist/a_chunks/.root73.js.map +1 -0
- package/dist/a_chunks/.root74.js +348 -0
- package/dist/a_chunks/.root74.js.map +1 -0
- package/dist/a_chunks/.root75.js +578 -0
- package/dist/a_chunks/.root75.js.map +1 -0
- package/dist/a_chunks/.root76.js +540 -0
- package/dist/a_chunks/.root76.js.map +1 -0
- package/dist/a_chunks/.root77.js +336 -0
- package/dist/a_chunks/.root77.js.map +1 -0
- package/dist/a_chunks/.root78.js +329 -0
- package/dist/a_chunks/.root78.js.map +1 -0
- package/dist/a_chunks/.root79.js +2311 -0
- package/dist/a_chunks/.root79.js.map +1 -0
- package/dist/a_chunks/.root8.js +172 -0
- package/dist/a_chunks/.root8.js.map +1 -0
- package/dist/a_chunks/.root80.js +169 -0
- package/dist/a_chunks/.root80.js.map +1 -0
- package/dist/a_chunks/.root81.js +607 -0
- package/dist/a_chunks/.root81.js.map +1 -0
- package/dist/a_chunks/.root82.js +287 -0
- package/dist/a_chunks/.root82.js.map +1 -0
- package/dist/a_chunks/.root83.js +247 -0
- package/dist/a_chunks/.root83.js.map +1 -0
- package/dist/a_chunks/.root84.js +247 -0
- package/dist/a_chunks/.root84.js.map +1 -0
- package/dist/a_chunks/.root85.js +481 -0
- package/dist/a_chunks/.root85.js.map +1 -0
- package/dist/a_chunks/.root86.js +351 -0
- package/dist/a_chunks/.root86.js.map +1 -0
- package/dist/a_chunks/.root87.js +94 -0
- package/dist/a_chunks/.root87.js.map +1 -0
- package/dist/a_chunks/.root88.js +101 -0
- package/dist/a_chunks/.root88.js.map +1 -0
- package/dist/a_chunks/.root89.js +248 -0
- package/dist/a_chunks/.root89.js.map +1 -0
- package/dist/a_chunks/.root9.js +687 -0
- package/dist/a_chunks/.root9.js.map +1 -0
- package/dist/a_chunks/.root90.js +356 -0
- package/dist/a_chunks/.root90.js.map +1 -0
- package/dist/a_chunks/.root91.js +143 -0
- package/dist/a_chunks/.root91.js.map +1 -0
- package/dist/a_chunks/.root92.js +143 -0
- package/dist/a_chunks/.root92.js.map +1 -0
- package/dist/a_chunks/.root93.js +462 -0
- package/dist/a_chunks/.root93.js.map +1 -0
- package/dist/a_chunks/.root94.js +365 -0
- package/dist/a_chunks/.root94.js.map +1 -0
- package/dist/a_chunks/.root95.js +223 -0
- package/dist/a_chunks/.root95.js.map +1 -0
- package/dist/a_chunks/.root96.js +358 -0
- package/dist/a_chunks/.root96.js.map +1 -0
- package/dist/a_chunks/.root97.js +521 -0
- package/dist/a_chunks/.root97.js.map +1 -0
- package/dist/a_chunks/.root98.js +374 -0
- package/dist/a_chunks/.root98.js.map +1 -0
- package/dist/a_chunks/.root99.js +390 -0
- package/dist/a_chunks/.root99.js.map +1 -0
- package/dist/a_chunks/Inner.js +662 -0
- package/dist/a_chunks/Inner.js.map +1 -0
- package/dist/a_chunks/TableEditableCell.js +148 -0
- package/dist/a_chunks/TableEditableCell.js.map +1 -0
- package/dist/a_chunks/TemplateModal.js +733 -0
- package/dist/a_chunks/TemplateModal.js.map +1 -0
- package/dist/a_chunks/_commonjsHelpers.js +22 -0
- package/dist/a_chunks/_commonjsHelpers.js.map +1 -0
- package/dist/a_chunks/common-table-item.js +771 -0
- package/dist/a_chunks/common-table-item.js.map +1 -0
- package/dist/a_chunks/data.js +570 -0
- package/dist/a_chunks/data.js.map +1 -0
- package/dist/a_chunks/deathclassification.js +172 -0
- package/dist/a_chunks/deathclassification.js.map +1 -0
- package/dist/a_chunks/func.js +277 -0
- package/dist/a_chunks/func.js.map +1 -0
- package/dist/a_chunks/index.js +10465 -0
- package/dist/a_chunks/index.js.map +1 -0
- package/dist/a_chunks/index2.js +6 -0
- package/dist/a_chunks/index2.js.map +1 -0
- package/dist/a_chunks/index3.js +479 -0
- package/dist/a_chunks/index3.js.map +1 -0
- package/dist/a_chunks/index4.js +119 -0
- package/dist/a_chunks/index4.js.map +1 -0
- package/dist/a_chunks/requestMethods.js +56 -0
- package/dist/a_chunks/requestMethods.js.map +1 -0
- package/dist/common_field_item/index.d.ts +5 -0
- package/dist/common_field_item/meta.d.ts +41 -0
- package/dist/curve/components/BmiCanvas/index.d.ts +29 -0
- package/dist/curve/components/FetusCanvas/config.d.ts +3 -0
- package/dist/curve/components/FetusCanvas/index.d.ts +26 -0
- package/dist/curve/components/FetusCanvas/requestMethods.d.ts +9 -0
- package/dist/curve/components/FetusCanvasNICHD/config.d.ts +3 -0
- package/dist/curve/components/FetusCanvasNICHD/data.d.ts +84 -0
- package/dist/curve/components/FetusCanvasNICHD/index.d.ts +28 -0
- package/dist/curve/components/Pregnogram/index.d.ts +19 -0
- package/dist/curve/components/api.d.ts +23 -0
- package/dist/curve/components-new/BmiCanvas/index.d.ts +22 -0
- package/dist/curve/components-new/FetusCanvas/config.d.ts +3 -0
- package/dist/curve/components-new/FetusCanvas/index.d.ts +19 -0
- package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +9 -0
- package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +3 -0
- package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +84 -0
- package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +21 -0
- package/dist/curve/components-new/Pregnogram/index.d.ts +13 -0
- package/dist/curve/data.d.ts +120 -0
- package/dist/curve/func.d.ts +9 -0
- package/dist/curve/index.d.ts +5 -0
- package/dist/curve/intro-steps.d.ts +7 -0
- package/dist/doctor-end/ChiefComplaintTemplate/index.d.ts +21 -0
- package/dist/doctor-end/CockpitModal/CockpitModal.d.ts +9 -0
- package/dist/doctor-end/CockpitModal/components/chart-booking/chart-booking.d.ts +8 -0
- package/dist/doctor-end/CockpitModal/components/chart-efficiency/chart-efficiency.d.ts +8 -0
- package/dist/doctor-end/CockpitModal/components/chart-highrisk/chart-highrisk.d.ts +8 -0
- package/dist/doctor-end/CockpitModal/components/chart-type/chart-type-inner.d.ts +8 -0
- package/dist/doctor-end/CockpitModal/components/chart-type/chart-type.d.ts +2 -0
- package/dist/doctor-end/CockpitModal/components/chart-type/chart.d.ts +28 -0
- package/dist/doctor-end/CockpitModal/components/index.d.ts +5 -0
- package/dist/doctor-end/CockpitModal/components/time-header/time-header.d.ts +15 -0
- package/dist/doctor-end/CockpitModal/methods/assist-methods.d.ts +3 -0
- package/dist/doctor-end/CockpitModal/methods/request-methods.d.ts +8 -0
- package/dist/doctor-end/DiabetesAppointment/index.d.ts +16 -0
- package/dist/doctor-end/DiagReminder/index.d.ts +13 -0
- package/dist/doctor-end/DiagReminder_copy/index.d.ts +3 -0
- package/dist/doctor-end/GestationalWeekProjectTree/index.d.ts +7 -0
- package/dist/doctor-end/HighRiskModal/HighRiskModal.d.ts +12 -0
- package/dist/doctor-end/HighriskFactor/index.d.ts +51 -0
- package/dist/doctor-end/HighriskGradeSelect/index.d.ts +13 -0
- package/dist/doctor-end/HighriskSign/index.d.ts +21 -0
- package/dist/doctor-end/Loading/index.d.ts +5 -0
- package/dist/doctor-end/Preeclampsia/Inner.d.ts +15 -0
- package/dist/doctor-end/Preeclampsia/index.d.ts +5 -0
- package/dist/doctor-end/PreventPreeclampsia/index.d.ts +2 -0
- package/dist/doctor-end/ResultImport/index.d.ts +19 -0
- package/dist/doctor-end/ScarredUterus/index.d.ts +15 -0
- package/dist/doctor-end/SyphilisManagement/index.d.ts +15 -0
- package/dist/doctor-end/TemplateTree/index.d.ts +55 -0
- package/dist/doctor-end/Thrombus/index.d.ts +22 -0
- package/dist/doctor-end/TreatmentTemplate/index.d.ts +21 -0
- package/dist/doctor-end/common.d.ts +1 -0
- package/dist/doctor-end/high-risk-warn/add-diagnoses/add-diagnoses.d.ts +11 -0
- package/dist/doctor-end/high-risk-warn/high-risk-warn.d.ts +15 -0
- package/dist/doctor-end/high-risk-warn/util.d.ts +12 -0
- package/dist/doctor-end/index.d.ts +5 -0
- package/dist/doctor-end/message-multiterm-modal/message-multiterm-modal.d.ts +11 -0
- package/dist/global-high-risk/config.d.ts +35 -0
- package/dist/global-high-risk/global-high-risk.d.ts +6 -0
- package/dist/global-high-risk/move-point.d.ts +21 -0
- package/dist/global-high-risk/request.d.ts +9 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/obis-doctor-ws/index.d.ts +1 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.js +83 -0
- package/dist/index.js.map +1 -0
- package/dist/layout/components/ClearCache.d.ts +3 -0
- package/dist/layout/components/MenuSearch/Inner.d.ts +7 -0
- package/dist/layout/components/MenuSearch/index.d.ts +1 -0
- package/dist/layout/components/PregnancyToolbar.d.ts +7 -0
- package/dist/layout/components/ResetPasswordModal.d.ts +19 -0
- package/dist/layout/components/RouterTabs.d.ts +33 -0
- package/dist/layout/components/TabButton/Inner.d.ts +11 -0
- package/dist/layout/components/TabButton/index.d.ts +8 -0
- package/dist/layout/components/build-info-modal/build-info-modal.d.ts +6 -0
- package/dist/layout/components/reset-config.d.ts +62 -0
- package/dist/layout/header.d.ts +28 -0
- package/dist/layout/index.d.ts +1 -0
- package/dist/modals/entries/StupidTemplateModal2/components/TemplateSelect.d.ts +2 -0
- package/dist/modals/entries/StupidTemplateModal2/index.d.ts +22 -0
- package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +16 -0
- package/dist/modals/entries/modal_form/index.d.ts +27 -0
- package/dist/modals/entries/print_modal/index.d.ts +3 -0
- package/dist/modals/entries/template_modal3/EditModal.d.ts +1 -0
- package/dist/modals/entries/template_modal3/common.d.ts +4 -0
- package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +1 -0
- package/dist/modals/entries/template_modal3/index copy 2.d.ts +19 -0
- package/dist/modals/entries/template_modal3/index copy.d.ts +22 -0
- package/dist/modals/entries/template_modal3/index.d.ts +18 -0
- package/dist/modals/entries/template_modal3/methods/index.d.ts +15 -0
- package/dist/modals/entries/template_modal3/types.d.ts +28 -0
- package/dist/modals/entries/test/index.d.ts +6 -0
- package/dist/modals/entries/text_search/index.d.ts +8 -0
- package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +7 -0
- 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 +9 -0
- package/dist/modals/entries//346/242/205/346/257/222/347/256/241/347/220/206/index.d.ts +7 -0
- 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 +9 -0
- 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 +7 -0
- 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 +28 -0
- 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 +9 -0
- 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 +7 -0
- 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 +3 -0
- 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 +5 -0
- 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 +6 -0
- package/dist/modals/entries//350/257/212/346/226/255/345/216/206/345/217/262/index.d.ts +8 -0
- 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 +12 -0
- 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 +20 -0
- 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 +66 -0
- 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 +13 -0
- 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 +9 -0
- 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" +12 -0
- 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 +13 -0
- package/dist/modals/index.d.ts +25 -0
- package/dist/modals/meta.d.ts +18 -0
- package/dist/newly-component/hepatitis-new-baby/components/Form.d.ts +13 -0
- package/dist/newly-component/hepatitis-new-baby/hepatitis-new-baby.d.ts +19 -0
- package/dist/newly-component/hepatitis-new-baby/index.d.ts +6 -0
- package/dist/newly-component/move-point/move-point.d.ts +21 -0
- package/dist/options/index.d.ts +2 -0
- package/dist/others/TemplateTree/Inner.d.ts +29 -0
- package/dist/others/TemplateTree/index.d.ts +3 -0
- package/dist/others/TemplateTree/types.d.ts +25 -0
- package/dist/others/baby-form/components/Form.d.ts +4 -0
- package/dist/others/baby-form/config/adapter.d.ts +5 -0
- package/dist/others/baby-form/frompanel.d.ts +16 -0
- package/dist/selects/AgeSelect/index.d.ts +5 -0
- package/dist/selects/ApgarScoreInput/index.d.ts +3 -0
- package/dist/selects/ApiPermissionSelect/index.d.ts +21 -0
- package/dist/selects/AutoCompleteWithRed/index.d.ts +4 -0
- package/dist/selects/CascaderAddress/AddressInput.d.ts +2 -0
- package/dist/selects/CascaderAddress/AddressInputInner.d.ts +19 -0
- package/dist/selects/CascaderAddress/index.d.ts +2 -0
- package/dist/selects/CountrySelect/index.d.ts +7 -0
- package/dist/selects/CronSelect/index.d.ts +10 -0
- package/dist/selects/DataSelectWithOptionsOrInput/Inner.d.ts +2 -0
- package/dist/selects/DataSelectWithOptionsOrInput/index.d.ts +2 -0
- package/dist/selects/DeviceStatusSelect/index.d.ts +7 -0
- package/dist/selects/DiagnosisAutoComplete/index.d.ts +11 -0
- package/dist/selects/NativePlace/NativePlace.d.ts +2 -0
- package/dist/selects/NativePlace/NativePlaceInner.d.ts +8 -0
- package/dist/selects/NativePlace/config.d.ts +7 -0
- package/dist/selects/NormalSelect/index.d.ts +11 -0
- package/dist/selects/OrderTypeSelect/index.d.ts +7 -0
- package/dist/selects/ParentPermissionSelect/index.d.ts +3 -0
- package/dist/selects/PatientAutoComplete/Inner.d.ts +14 -0
- package/dist/selects/PatientAutoComplete/index.d.ts +3 -0
- package/dist/selects/PermissionSelect/index.d.ts +14 -0
- package/dist/selects/PermissionTypeSelect/index.d.ts +11 -0
- package/dist/selects/RadioWithInput/index.d.ts +8 -0
- package/dist/selects/RadioWithInputNumber/index.d.ts +8 -0
- package/dist/selects/ReferralOrganizationSelect/index.d.ts +11 -0
- package/dist/selects/SelectTagWithOptions/index.d.ts +3 -0
- package/dist/selects/SelectWithNo/index.d.ts +2 -0
- package/dist/selects/SelectWithNoneOption/index.d.ts +8 -0
- package/dist/selects/SelectWithOptions/index.d.ts +8 -0
- package/dist/selects/SelectWithOptionsFromApi/index.d.ts +3 -0
- package/dist/selects/SelectWithOptionsOrInput/index.d.ts +2 -0
- package/dist/selects/ServiceTypeSelect/index.d.ts +7 -0
- package/dist/selects/ServiceTypeStatus/index.d.ts +7 -0
- package/dist/selects/SurgicalBeforeNurseSelect/index.d.ts +11 -0
- package/dist/selects/SurgicalBeforeOperatorSelect/index.d.ts +11 -0
- package/dist/selects/TreeSelect/index.d.ts +15 -0
- package/dist/selects/TriggerTypeSelect/index.d.ts +7 -0
- package/dist/special-components/cure-state/cure-state.d.ts +6 -0
- package/dist/special-components/syphilis-tested/syphilis-tested.d.ts +5 -0
- package/dist/utils/EventEmitter.d.ts +1 -0
- package/dist/utils/InterceptComponent.d.ts +17 -0
- package/dist/utils/adapter.d.ts +97 -0
- package/dist/utils/constants/index.d.ts +30 -0
- package/dist/utils/defaultMethod.d.ts +82 -0
- package/dist/utils/dictionary.d.ts +13 -0
- package/dist/utils/dictionaryTranslator.d.ts +6 -0
- package/dist/utils/form.d.ts +1 -0
- package/dist/utils/format.d.ts +16 -0
- package/dist/utils/getInputStyle.d.ts +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/levelOptions.d.ts +61 -0
- package/dist/utils/observePatientData.d.ts +7 -0
- package/dist/utils/preload_components.d.ts +2 -0
- package/dist/utils/select_options.d.ts +1 -0
- package/dist/utils/useMarshal.d.ts +5 -0
- package/dist/utils/utils.d.ts +33 -0
- package/package.json +53 -0
|
@@ -0,0 +1,980 @@
|
|
|
1
|
+
import _readOnlyError from "@babel/runtime/helpers/readOnlyError";
|
|
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 _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
+
import _typeof from "@babel/runtime/helpers/typeof";
|
|
9
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
10
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
|
+
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; }
|
|
12
|
+
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; }
|
|
13
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
14
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
15
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
16
|
+
import 'antd/es/col/style';
|
|
17
|
+
import _Col from 'antd/es/col';
|
|
18
|
+
import 'antd/es/row/style';
|
|
19
|
+
import _Row from 'antd/es/row';
|
|
20
|
+
import { b as styleInject, M as MyComponent, C as CustomIcon, _ as _extends, g as getRenderData, c as getFormData } from './index.js';
|
|
21
|
+
import _cloneDeep from 'lodash/cloneDeep';
|
|
22
|
+
import _get from 'lodash/get';
|
|
23
|
+
import _isEmpty from 'lodash/isEmpty';
|
|
24
|
+
import _isString from 'lodash/isString';
|
|
25
|
+
import React, { Component, Suspense } from 'react';
|
|
26
|
+
import 'antd/es/message/style';
|
|
27
|
+
import _message from 'antd/es/message';
|
|
28
|
+
import _set from 'lodash/set';
|
|
29
|
+
import _map from 'lodash/map';
|
|
30
|
+
import { mchcLogger, mchcEvent } from '@lm_fe/env';
|
|
31
|
+
import _isObject from 'lodash/isObject';
|
|
32
|
+
import _isNil from 'lodash/isNil';
|
|
33
|
+
import _isArray from 'lodash/isArray';
|
|
34
|
+
import _indexOf from 'lodash/indexOf';
|
|
35
|
+
import _has from 'lodash/has';
|
|
36
|
+
import classnames from 'classnames';
|
|
37
|
+
import _isBoolean from 'lodash/isBoolean';
|
|
38
|
+
import _isNumber from 'lodash/isNumber';
|
|
39
|
+
import 'lodash/isFunction';
|
|
40
|
+
import '@ant-design/icons';
|
|
41
|
+
import 'antd/es/space/style';
|
|
42
|
+
import 'antd/es/space';
|
|
43
|
+
import 'antd/es/input/style';
|
|
44
|
+
import 'antd/es/input';
|
|
45
|
+
import 'antd/es/input-number/style';
|
|
46
|
+
import 'antd/es/input-number';
|
|
47
|
+
import 'lodash/compact';
|
|
48
|
+
import '@lm_fe/components';
|
|
49
|
+
import '@lm_fe/utils';
|
|
50
|
+
import 'dayjs';
|
|
51
|
+
import 'antd/es/checkbox/style';
|
|
52
|
+
import 'antd/es/checkbox';
|
|
53
|
+
import 'antd/es/divider/style';
|
|
54
|
+
import 'antd/es/divider';
|
|
55
|
+
import 'antd/es/button/style';
|
|
56
|
+
import 'antd/es/button';
|
|
57
|
+
import 'antd/es/switch/style';
|
|
58
|
+
import 'antd/es/switch';
|
|
59
|
+
import 'antd/es/form/style';
|
|
60
|
+
import 'antd/es/form';
|
|
61
|
+
import 'lodash/join';
|
|
62
|
+
import 'lodash/isEqual';
|
|
63
|
+
import 'lodash/identity';
|
|
64
|
+
import '@lm_fe/service';
|
|
65
|
+
import 'lodash/keys';
|
|
66
|
+
import 'lodash/keyBy';
|
|
67
|
+
import 'antd/es/tooltip/style';
|
|
68
|
+
import 'antd/es/tooltip';
|
|
69
|
+
import 'antd/es/spin/style';
|
|
70
|
+
import 'antd/es/spin';
|
|
71
|
+
import 'antd/es/modal/style';
|
|
72
|
+
import 'antd/es/modal';
|
|
73
|
+
import 'lodash/size';
|
|
74
|
+
import 'lodash/includes';
|
|
75
|
+
import 'lodash/forEach';
|
|
76
|
+
import 'lodash/filter';
|
|
77
|
+
import 'react-to-print';
|
|
78
|
+
import 'lodash/concat';
|
|
79
|
+
import 'lodash/reduce';
|
|
80
|
+
import 'lodash/debounce';
|
|
81
|
+
import 'lodash/pickBy';
|
|
82
|
+
import 'antd/es/auto-complete/style';
|
|
83
|
+
import 'antd/es/auto-complete';
|
|
84
|
+
import 'lodash/nth';
|
|
85
|
+
import 'lodash/assign';
|
|
86
|
+
import 'antd/es/popover/style';
|
|
87
|
+
import 'antd/es/popover';
|
|
88
|
+
import 'antd/es/menu/style';
|
|
89
|
+
import 'antd/es/menu';
|
|
90
|
+
import 'store';
|
|
91
|
+
import 'antd/es/popconfirm/style';
|
|
92
|
+
import 'antd/es/popconfirm';
|
|
93
|
+
import 'antd/es/radio/style';
|
|
94
|
+
import 'antd/es/radio';
|
|
95
|
+
import 'lodash/last';
|
|
96
|
+
import 'lodash/toUpper';
|
|
97
|
+
function createFormHandler(config, _ref) {
|
|
98
|
+
var submitChange = _ref.submitChange;
|
|
99
|
+
var formData = {};
|
|
100
|
+
var newRef = {};
|
|
101
|
+
var fieldsValueChange = function fieldsValueChange() {};
|
|
102
|
+
if (!Array.isArray(config)) {
|
|
103
|
+
_message.warning("expect array but ".concat(_typeof(config)));
|
|
104
|
+
console.log("expect array but ", config);
|
|
105
|
+
config = [];
|
|
106
|
+
// throw new Error(`expect array but ${typeof config}`);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @param {string} fieldName
|
|
110
|
+
* @param {string} eventName
|
|
111
|
+
* @param {function} cb
|
|
112
|
+
* fieldName:{
|
|
113
|
+
* eventName:cb
|
|
114
|
+
* }
|
|
115
|
+
*/
|
|
116
|
+
var eventCallBacks = {};
|
|
117
|
+
var formState = {
|
|
118
|
+
validateCode: false,
|
|
119
|
+
submitChange: submitChange
|
|
120
|
+
};
|
|
121
|
+
// c - config
|
|
122
|
+
var initField = function initField(config) {
|
|
123
|
+
var result = {};
|
|
124
|
+
_map(config, function (itemConfig) {
|
|
125
|
+
_set(result, _get(itemConfig, 'name'), {
|
|
126
|
+
actions: {}
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
return result;
|
|
130
|
+
};
|
|
131
|
+
var updateFormData = function updateFormData() {
|
|
132
|
+
Object.keys(formHandler).forEach(function (key) {
|
|
133
|
+
if (formHandler[key].actions) {
|
|
134
|
+
if (typeof formHandler[key].actions.getValue === 'function') {
|
|
135
|
+
formData = Object.assign(formData, _defineProperty({}, key, formHandler[key].actions.getValue()));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
};
|
|
140
|
+
var submit = function submit() {
|
|
141
|
+
var keys = Object.keys(formHandler);
|
|
142
|
+
mchcLogger.log('formHandler submit', {
|
|
143
|
+
formHandler: formHandler,
|
|
144
|
+
keys: keys
|
|
145
|
+
});
|
|
146
|
+
var validCode = true;
|
|
147
|
+
keys.forEach(function (key) {
|
|
148
|
+
if (formHandler[key].actions) {
|
|
149
|
+
if (typeof formHandler[key].actions.getValue === 'function') {
|
|
150
|
+
formData = Object.assign(formData, _defineProperty({}, key, formHandler[key].actions.getValue()));
|
|
151
|
+
}
|
|
152
|
+
if (typeof formHandler[key].actions.valid === 'function') {
|
|
153
|
+
var result = formHandler[key].actions.valid();
|
|
154
|
+
if (!result && validCode) {
|
|
155
|
+
validCode = false;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
return new Promise(function (resolve) {
|
|
161
|
+
resolve({
|
|
162
|
+
validCode: validCode,
|
|
163
|
+
res: formData
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
};
|
|
167
|
+
var reset = function reset() {
|
|
168
|
+
Object.keys(formHandler).forEach(function (key) {
|
|
169
|
+
if (formHandler[key].actions) {
|
|
170
|
+
if (formHandler[key].actions.reset) {
|
|
171
|
+
formHandler[key].actions.reset();
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
// TODO 所有的valid方法需要整改
|
|
177
|
+
var valid = function valid() {
|
|
178
|
+
var validCode = true;
|
|
179
|
+
var keyArr = Object.keys(formHandler);
|
|
180
|
+
for (var i = 0; i < keyArr.length; i++) {
|
|
181
|
+
if (formHandler[keyArr[i]].actions && typeof formHandler[keyArr[i]].actions.valid === 'function') {
|
|
182
|
+
if (!formHandler[keyArr[i]].actions.valid()) {
|
|
183
|
+
validCode = false;
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return validCode;
|
|
189
|
+
};
|
|
190
|
+
var subscribe = function subscribe(fieldName, eventName, cb) {
|
|
191
|
+
// if(fieldName in this || fieldName === "_global"){
|
|
192
|
+
// 这里使用this会导致subscribe传给组件后this丢失
|
|
193
|
+
if (fieldName in formHandler || fieldName === '_global') {
|
|
194
|
+
if (!eventCallBacks[fieldName]) {
|
|
195
|
+
eventCallBacks[fieldName] = {};
|
|
196
|
+
}
|
|
197
|
+
if (!eventCallBacks[fieldName][eventName]) {
|
|
198
|
+
eventCallBacks[fieldName][eventName] = [];
|
|
199
|
+
}
|
|
200
|
+
var flag = true;
|
|
201
|
+
var _iterator = _createForOfIteratorHelper(eventCallBacks[fieldName][eventName]),
|
|
202
|
+
_step;
|
|
203
|
+
try {
|
|
204
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
205
|
+
var event = _step.value;
|
|
206
|
+
// 判断传入的函数是否已存在
|
|
207
|
+
if (JSON.stringify(cb) === JSON.stringify(event)) {
|
|
208
|
+
flag = false;
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
} catch (err) {
|
|
213
|
+
_iterator.e(err);
|
|
214
|
+
} finally {
|
|
215
|
+
_iterator.f();
|
|
216
|
+
}
|
|
217
|
+
if (flag) {
|
|
218
|
+
eventCallBacks[fieldName][eventName].push(cb);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
var _dispatch = function dispatch(fieldName, eventName, args) {
|
|
223
|
+
formHandler.fieldChange = true;
|
|
224
|
+
updateFormData && updateFormData();
|
|
225
|
+
fieldsValueChange && fieldsValueChange(formData);
|
|
226
|
+
if (fieldName !== '_global' && submitChange) {
|
|
227
|
+
_dispatch('_global', 'change');
|
|
228
|
+
// return;
|
|
229
|
+
}
|
|
230
|
+
if (!Object.prototype.hasOwnProperty.call(eventCallBacks, fieldName)) {
|
|
231
|
+
// console.warn(`fieldName ${fieldName} not found in eventCallBacks Object`);
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
var eventObject = eventCallBacks[fieldName];
|
|
235
|
+
var eventQueue = eventObject[eventName];
|
|
236
|
+
if (!eventQueue || eventQueue.length === 0) {
|
|
237
|
+
// console.warn(`fieldName ${eventName} not found in ${fieldName} Event Object || eventQueue's length is 0`);
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
setTimeout(function () {
|
|
241
|
+
eventQueue.forEach(function (func) {
|
|
242
|
+
func(args);
|
|
243
|
+
});
|
|
244
|
+
}, 100);
|
|
245
|
+
};
|
|
246
|
+
var setMyRef = function setMyRef(fieldName, ref) {
|
|
247
|
+
// set(formHandler, `ref.${fieldName}`, ref);
|
|
248
|
+
newRef["".concat(fieldName)] = ref;
|
|
249
|
+
};
|
|
250
|
+
var getMyRef = function getMyRef(fieldName) {
|
|
251
|
+
return _get(formHandler, "ref.".concat(fieldName));
|
|
252
|
+
};
|
|
253
|
+
var getAllRef = function getAllRef() {
|
|
254
|
+
return _get(formHandler, "ref");
|
|
255
|
+
};
|
|
256
|
+
var cleanSubscriptions = function cleanSubscriptions() {
|
|
257
|
+
formHandler.eventCallBacks = {};
|
|
258
|
+
};
|
|
259
|
+
var listenFormData = function listenFormData(callback) {
|
|
260
|
+
fieldsValueChange = callback;
|
|
261
|
+
};
|
|
262
|
+
var formHandler = _objectSpread({}, initField(config));
|
|
263
|
+
formHandler.submit = submit;
|
|
264
|
+
formHandler.valid = valid;
|
|
265
|
+
formHandler.reset = reset;
|
|
266
|
+
formHandler.subscribe = subscribe;
|
|
267
|
+
formHandler.dispatch = _dispatch;
|
|
268
|
+
formHandler.cleanSubscriptions = cleanSubscriptions;
|
|
269
|
+
formHandler.formState = formState;
|
|
270
|
+
formHandler.formData = formData;
|
|
271
|
+
formHandler.listenFormData = listenFormData;
|
|
272
|
+
formHandler.uuid = Math.random();
|
|
273
|
+
formHandler.fieldChange = false; // 判断表单是否有修改
|
|
274
|
+
formHandler.setMyRef = setMyRef;
|
|
275
|
+
formHandler.getMyRef = getMyRef;
|
|
276
|
+
formHandler.getAllRef = getAllRef;
|
|
277
|
+
formHandler.ref = newRef;
|
|
278
|
+
return formHandler;
|
|
279
|
+
}
|
|
280
|
+
var css_248z$1 = ".custom-my-form {\n width: 100%;\n padding: 8px;\n margin: 0 auto;\n}\n.custom-my-form #components-select-demo-search-box .code-box-demo .ant-select {\n margin: 0 !important;\n}\n.custom-my-form .custom-my-form {\n width: 100% !important;\n padding: 0;\n}\n.custom-my-form .input-cover {\n font-weight: 600;\n color: #150f55;\n}\n";
|
|
281
|
+
styleInject(css_248z$1);
|
|
282
|
+
var css_248z = ".custom-my-form {\n width: 100%;\n padding: 8px;\n margin: 0 auto;\n}\n.custom-my-form #components-select-demo-search-box .code-box-demo .ant-select {\n margin: 0 !important;\n}\n.custom-my-form .custom-my-form {\n width: 100% !important;\n padding: 0;\n}\n.custom-my-form .input-cover {\n font-weight: 600;\n color: #150f55;\n}\n.form-item {\n display: flex;\n flex-direction: row;\n width: 100%;\n}\n.form-item .form-item-inline-label {\n padding-left: 12px;\n text-align: right;\n color: #36316d;\n}\n.form-item .form-item-inline-label .label-unit {\n margin-left: 3px;\n font-style: none;\n font-size: 10px;\n}\n.form-item .form-item-main {\n flex: 1;\n}\n.form-item .form-item-main .ant-input-number {\n width: 100%;\n}\n.form-item .form-item-main .check-box .checkox-with-extra .ant-checkbox {\n top: 0;\n}\n.form-item .form-item-main-error {\n transition: all 0.3s;\n}\n.form-item .form-item-main-error textarea,\n.form-item .form-item-main-error .ant-select-selector,\n.form-item .form-item-main-error .ant-picker,\n.form-item .form-item-main-error .ant-input,\n.form-item .form-item-main-error .ant-input-number-input,\n.form-item .form-item-main-error .ant-cascader-picker,\n.form-item .form-item-main-error .ant-radio-wrapper,\n.form-item .form-item-main-error .ant-checkbox-inner {\n background: #fce7e7;\n border: 1px solid red;\n}\n.form-item .form-item-main-warn textarea,\n.form-item .form-item-main-warn .ant-select-selector,\n.form-item .form-item-main-warn .ant-picker,\n.form-item .form-item-main-warn .ant-input,\n.form-item .form-item-main-warn .ant-input-number-input,\n.form-item .form-item-main-warn .ant-cascader-picker,\n.form-item .form-item-main-warn .ant-radio-wrapper,\n.form-item .form-item-main-warn .ant-checkbox-inner {\n color: #ff517d;\n}\n.form-item .form-item-full-main {\n width: 100%;\n overflow-x: auto;\n}\n.form-item .form-item-unit {\n padding-left: 5px;\n text-align: left;\n}\n.form-item .form-item-required {\n display: inline-block;\n margin-right: 4px;\n color: #ff4d4f;\n font-size: 14px;\n font-style: normal;\n font-family: SimSun, sans-serif;\n line-height: 1;\n}\n.form-item-header-label {\n display: flex;\n width: 100%;\n height: 8px;\n margin-bottom: 20px;\n margin-top: 10px;\n}\n.form-item-header-label .form-item-header-label-before {\n height: 10px;\n width: 6px;\n background-color: #1504e3;\n}\n.form-item-header-label .form-item-header-label-text {\n width: 100%;\n font-size: 15px;\n padding-left: 8px;\n position: relative;\n}\n.form-item-header-label .form-item-header-label-text > span {\n position: absolute;\n top: -6px;\n left: 12px;\n padding: 0 8px;\n font-weight: 600;\n}\n.form-item-header-label .form-item-just-label span {\n display: inline-block;\n width: 130px;\n text-align: right;\n color: #36316d;\n font-size: 15px;\n padding-right: 10px;\n background-color: #fff;\n}\n.form-item-error {\n max-width: 200px;\n text-align: left;\n color: red;\n}\n";
|
|
283
|
+
styleInject(css_248z);
|
|
284
|
+
var validateRules = {
|
|
285
|
+
required: function required(val) {
|
|
286
|
+
return val !== undefined && val !== '' && val !== null;
|
|
287
|
+
},
|
|
288
|
+
number: function number(val) {
|
|
289
|
+
if (val === null || val === undefined) {
|
|
290
|
+
return true;
|
|
291
|
+
}
|
|
292
|
+
return /^\d*(\.\d+)?$/.test(val);
|
|
293
|
+
},
|
|
294
|
+
pureNumber: function pureNumber(val) {
|
|
295
|
+
return /^\d+$/.test(val);
|
|
296
|
+
},
|
|
297
|
+
chinaID: function chinaID(val) {
|
|
298
|
+
return /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(val);
|
|
299
|
+
},
|
|
300
|
+
telephone: function telephone(val) {
|
|
301
|
+
// return /^((\+|00)86)?((134\d{4})|((13[0-3|5-9]|14[1|5-9]|15[0-9]|16[2|5|6|7]|17[0-8]|18[0-9]|19[0-2|5-9])\d{8}))$/.test(val);
|
|
302
|
+
return /^((134\d{4})|((13[0-3|5-9]|14[1|5-9]|15[0-9]|16[2|5|6|7]|17[0-8]|18[0-9]|19[0-2|5-9])\d{8}))$/.test(val);
|
|
303
|
+
},
|
|
304
|
+
rang: function rang(val, min, max) {
|
|
305
|
+
var v = Number(val);
|
|
306
|
+
var minVal = Number(min);
|
|
307
|
+
var maxVal = Number(max);
|
|
308
|
+
if (minVal > v || maxVal < v) {
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
return true;
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @param {any} data
|
|
317
|
+
* @param {string|object|RegExp|null} validate
|
|
318
|
+
* 输入规则
|
|
319
|
+
* 1.基本数据类型校验validate格式 string
|
|
320
|
+
* 2.引用数据类型校验validate格式 {}
|
|
321
|
+
* 3.若输入的rule类型和data类型不相同,报错但可通过校验
|
|
322
|
+
*/
|
|
323
|
+
var validFun = function validFun(data, validates) {
|
|
324
|
+
var label = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '该项';
|
|
325
|
+
for (var index = 0; index < validates.length; index++) {
|
|
326
|
+
var validate = validates[index];
|
|
327
|
+
if (_get(validate, 'required')) {
|
|
328
|
+
if (_isObject(data)) {
|
|
329
|
+
var allKeys = Object.keys(data);
|
|
330
|
+
data = data[allKeys[0]];
|
|
331
|
+
}
|
|
332
|
+
if (!data && !_isNumber(data) && !_isBoolean(data)) {
|
|
333
|
+
return _get(validate, 'message') || "".concat(label, " \u662F\u5FC5\u586B\u9879");
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
var ruleType = _get(validate, 'type');
|
|
337
|
+
if (ruleType === 'rang') {
|
|
338
|
+
var min = _get(validate, 'min');
|
|
339
|
+
var max = _get(validate, 'max');
|
|
340
|
+
if (_get(validateRules, ruleType) && !_get(validateRules, ruleType)(data, min, max)) {
|
|
341
|
+
return _get(validate, 'message') || "*".concat(label, " \u6709\u5F02\u5E38");
|
|
342
|
+
}
|
|
343
|
+
} else {
|
|
344
|
+
if (_get(validateRules, ruleType) && !_get(validateRules, ruleType)(data)) {
|
|
345
|
+
return _get(validate, 'message') || "*".concat(label, " \u6709\u5F02\u5E38");
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
return true;
|
|
350
|
+
// if (!validate) return '';
|
|
351
|
+
// let errorTip: any = '';
|
|
352
|
+
// // data 为 null时,typeof为object
|
|
353
|
+
// if (isString(validate) && (isBase(data) || !data)) {
|
|
354
|
+
// const ruleArr = validate.split(SPLIT_KEY);
|
|
355
|
+
// let isValid = true;
|
|
356
|
+
// for (let i = 0; i < ruleArr.length; i++) {
|
|
357
|
+
// const name = ruleArr[i].replace(/\(.*\)/, '');
|
|
358
|
+
// const args = /\((.*)\)/.test(ruleArr[i]) && /\((.*)\)/.exec(ruleArr[i])[1];
|
|
359
|
+
// isValid = validateRules[name](data, ...(args ? args.split(',') : []));
|
|
360
|
+
// if (!isValid) {
|
|
361
|
+
// errorTip = errorText[name];
|
|
362
|
+
// break;
|
|
363
|
+
// }
|
|
364
|
+
// }
|
|
365
|
+
// } else if (isString(validate) && isObj(data)) {
|
|
366
|
+
// const allKeys = Object.keys(data);
|
|
367
|
+
// errorTip = validFun(data[allKeys[0]], validate);
|
|
368
|
+
// } else if (isObj(validate) && isObj(data)) {
|
|
369
|
+
// errorTip = Object.assign({}, validate);
|
|
370
|
+
// try {
|
|
371
|
+
// Object.keys(validate).forEach((key: string) => {
|
|
372
|
+
// errorTip[key] = '';
|
|
373
|
+
// errorTip[key] = validFun(data[key], validate[key]);
|
|
374
|
+
// });
|
|
375
|
+
// } catch (e) {
|
|
376
|
+
// console.error(e);
|
|
377
|
+
// }
|
|
378
|
+
// } else if (isRegExp(validate) && (!isBase(data) || !data)) {
|
|
379
|
+
// errorTip = validate.test(data) ? '' : `正则验证 ${validate} 不通过`;
|
|
380
|
+
// } else if (isObj(validate) && Array.isArray(data)) {
|
|
381
|
+
// errorTip = data.map((v: any) => {
|
|
382
|
+
// const obj = Object.assign({}, v);
|
|
383
|
+
// Object.keys(obj).forEach((key: string) => {
|
|
384
|
+
// obj[key] = '';
|
|
385
|
+
// });
|
|
386
|
+
// return obj;
|
|
387
|
+
// });
|
|
388
|
+
// for (let i = 0; i < errorTip.length; i++) {
|
|
389
|
+
// errorTip[i] = validFun(data[i], validate);
|
|
390
|
+
// }
|
|
391
|
+
// console.log(errorTip);
|
|
392
|
+
// } else if (isFunction(validate)) {
|
|
393
|
+
// errorTip = validate(data);
|
|
394
|
+
// } else {
|
|
395
|
+
// console.error(`Type of validate is ${typeof validate}, but type of data is ${typeof data} `);
|
|
396
|
+
// }
|
|
397
|
+
// return errorTip;
|
|
398
|
+
};
|
|
399
|
+
function isRequired() {
|
|
400
|
+
var rules = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
401
|
+
for (var index = 0; index < rules.length; index++) {
|
|
402
|
+
var rule = rules[index];
|
|
403
|
+
if (_get(rule, 'required')) {
|
|
404
|
+
return true;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return false;
|
|
408
|
+
}
|
|
409
|
+
var FormItem = /*#__PURE__*/function (_Component) {
|
|
410
|
+
function FormItem(props) {
|
|
411
|
+
var _this;
|
|
412
|
+
_classCallCheck(this, FormItem);
|
|
413
|
+
_this = _callSuper(this, FormItem, [props]);
|
|
414
|
+
_defineProperty(_this, "setInitialVal", function () {
|
|
415
|
+
var _this$props = _this.props,
|
|
416
|
+
value = _this$props.value,
|
|
417
|
+
_this$props$validate = _this$props.validate,
|
|
418
|
+
validate = _this$props$validate === void 0 ? [] : _this$props$validate,
|
|
419
|
+
path = _this$props.path,
|
|
420
|
+
getActions = _this$props.getActions,
|
|
421
|
+
labelSign = _this$props.labelSign;
|
|
422
|
+
_this.setState({
|
|
423
|
+
value: value,
|
|
424
|
+
rules: validate || [],
|
|
425
|
+
path: path,
|
|
426
|
+
labelSign: labelSign
|
|
427
|
+
});
|
|
428
|
+
if (!!value && JSON.stringify(validate).indexOf('rang') !== -1) {
|
|
429
|
+
var validation = validFun(value, validate);
|
|
430
|
+
_this.updateError(validation);
|
|
431
|
+
}
|
|
432
|
+
getActions && getActions({
|
|
433
|
+
getValue: _this.getValue,
|
|
434
|
+
setValue: _this.setValue,
|
|
435
|
+
reset: _this.reset,
|
|
436
|
+
valid: _this.valid,
|
|
437
|
+
getValidate: _this.getRules,
|
|
438
|
+
setValidate: _this.setRules
|
|
439
|
+
});
|
|
440
|
+
});
|
|
441
|
+
// 获取组件内部的自己的验证方法
|
|
442
|
+
_defineProperty(_this, "getChildrenValid", function (func) {
|
|
443
|
+
if (func) {
|
|
444
|
+
_this.childrenValid = func;
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
// 承载组件的验证方法 - 相当于一个别名/引用
|
|
448
|
+
_defineProperty(_this, "childrenValid", function () {
|
|
449
|
+
return true;
|
|
450
|
+
});
|
|
451
|
+
_defineProperty(_this, "handleClick", function (value) {
|
|
452
|
+
var _this$props2 = _this.props,
|
|
453
|
+
name = _this$props2.name,
|
|
454
|
+
dispatch = _this$props2.dispatch;
|
|
455
|
+
dispatch(name, 'click', value);
|
|
456
|
+
});
|
|
457
|
+
_defineProperty(_this, "handleChange", function (value) {
|
|
458
|
+
var error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
459
|
+
var _this$props3 = _this.props,
|
|
460
|
+
name = _this$props3.name,
|
|
461
|
+
dispatch = _this$props3.dispatch,
|
|
462
|
+
hidden = _this$props3.hidden,
|
|
463
|
+
formHandler = _this$props3.formHandler;
|
|
464
|
+
mchcLogger.log('onChange', name, value);
|
|
465
|
+
if (hidden) return;
|
|
466
|
+
var rules = _this.state.rules;
|
|
467
|
+
_this.setState({
|
|
468
|
+
value: value
|
|
469
|
+
});
|
|
470
|
+
if (name) {
|
|
471
|
+
var _formHandler$submit;
|
|
472
|
+
dispatch(name, 'change', value);
|
|
473
|
+
formHandler === null || formHandler === void 0 || (_formHandler$submit = formHandler.submit) === null || _formHandler$submit === void 0 || _formHandler$submit.call(formHandler).then(function (r) {
|
|
474
|
+
mchcEvent.emit('my_form', {
|
|
475
|
+
type: 'onChange',
|
|
476
|
+
value: value,
|
|
477
|
+
name: name,
|
|
478
|
+
values: r,
|
|
479
|
+
config: _this.props.config,
|
|
480
|
+
setValue: function setValue(name, value) {
|
|
481
|
+
var _formHandler$name;
|
|
482
|
+
(_formHandler$name = formHandler[name]) === null || _formHandler$name === void 0 || (_formHandler$name = _formHandler$name.actions) === null || _formHandler$name === void 0 || _formHandler$name.setValue(value);
|
|
483
|
+
}
|
|
484
|
+
});
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
var validation = validFun(value, rules);
|
|
488
|
+
_this.updateError(validation);
|
|
489
|
+
});
|
|
490
|
+
// 这个dispatch默认会使用本组件渲染的路径
|
|
491
|
+
_defineProperty(_this, "handleDispatch", function (eventName, args) {
|
|
492
|
+
var _this$props4 = _this.props,
|
|
493
|
+
name = _this$props4.name,
|
|
494
|
+
dispatch = _this$props4.dispatch;
|
|
495
|
+
dispatch(name, eventName, args);
|
|
496
|
+
});
|
|
497
|
+
// 渲染必填项标志
|
|
498
|
+
_defineProperty(_this, "renderAsterisk", function () {
|
|
499
|
+
var rules = _this.state.rules;
|
|
500
|
+
for (var index = 0; index < rules.length; index++) {
|
|
501
|
+
var rule = rules[index];
|
|
502
|
+
if (_get(rule, 'required')) {
|
|
503
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
504
|
+
className: "form-item-required"
|
|
505
|
+
}, "*");
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
509
|
+
});
|
|
510
|
+
_defineProperty(_this, "getValue", function () {
|
|
511
|
+
var _this$state = _this.state,
|
|
512
|
+
value = _this$state.value,
|
|
513
|
+
path = _this$state.path,
|
|
514
|
+
labelSign = _this$state.labelSign;
|
|
515
|
+
var _this$props5 = _this.props,
|
|
516
|
+
name = _this$props5.name,
|
|
517
|
+
input_props = _this$props5.input_props;
|
|
518
|
+
if (_has(input_props, 'labelSign')) {
|
|
519
|
+
return _defineProperty({
|
|
520
|
+
value: value,
|
|
521
|
+
path: path
|
|
522
|
+
}, "".concat(name, "Sign"), labelSign);
|
|
523
|
+
} else {
|
|
524
|
+
return {
|
|
525
|
+
value: value,
|
|
526
|
+
path: path
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
});
|
|
530
|
+
_defineProperty(_this, "setValue", function (value) {
|
|
531
|
+
_this.setState({
|
|
532
|
+
value: value
|
|
533
|
+
});
|
|
534
|
+
});
|
|
535
|
+
_defineProperty(_this, "getRules", function () {
|
|
536
|
+
return _this.state.rules;
|
|
537
|
+
});
|
|
538
|
+
_defineProperty(_this, "setRules", function (rules) {
|
|
539
|
+
_this.setState({
|
|
540
|
+
rules: rules
|
|
541
|
+
});
|
|
542
|
+
});
|
|
543
|
+
_defineProperty(_this, "reset", function () {
|
|
544
|
+
var hidden = _this.props.hidden;
|
|
545
|
+
var value = _this.state.value;
|
|
546
|
+
if (!hidden) {
|
|
547
|
+
if (_isObject(value)) {
|
|
548
|
+
_this.setState({
|
|
549
|
+
value: {}
|
|
550
|
+
});
|
|
551
|
+
} else if (_isArray(value)) {
|
|
552
|
+
_this.setState({
|
|
553
|
+
value: []
|
|
554
|
+
});
|
|
555
|
+
} else {
|
|
556
|
+
_this.setState({
|
|
557
|
+
value: null
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
});
|
|
562
|
+
_defineProperty(_this, "updateError", function (validation) {
|
|
563
|
+
_this.setState({
|
|
564
|
+
error: validation === true ? !validation : validation
|
|
565
|
+
});
|
|
566
|
+
});
|
|
567
|
+
_defineProperty(_this, "valid", function () {
|
|
568
|
+
var _this$state2 = _this.state,
|
|
569
|
+
value = _this$state2.value,
|
|
570
|
+
rules = _this$state2.rules;
|
|
571
|
+
var label = _this.props.label;
|
|
572
|
+
var validation = validFun(value, rules, label);
|
|
573
|
+
_this.updateError(validation);
|
|
574
|
+
if (validation === true) {
|
|
575
|
+
return true;
|
|
576
|
+
}
|
|
577
|
+
if (_indexOf(validation, '*') > -1 || _isNil(validation)) return true;
|
|
578
|
+
return false;
|
|
579
|
+
});
|
|
580
|
+
_defineProperty(_this, "validError", function () {
|
|
581
|
+
var error = _this.state.error;
|
|
582
|
+
if (error === '') {
|
|
583
|
+
return false;
|
|
584
|
+
}
|
|
585
|
+
return _isString(error) && !/\*/.test(error);
|
|
586
|
+
});
|
|
587
|
+
_this.state = {
|
|
588
|
+
value: '',
|
|
589
|
+
error: false,
|
|
590
|
+
path: '',
|
|
591
|
+
rules: [],
|
|
592
|
+
labelSign: false
|
|
593
|
+
};
|
|
594
|
+
return _this;
|
|
595
|
+
}
|
|
596
|
+
_inherits(FormItem, _Component);
|
|
597
|
+
return _createClass(FormItem, [{
|
|
598
|
+
key: "componentDidMount",
|
|
599
|
+
value: function componentDidMount() {
|
|
600
|
+
this.setInitialVal();
|
|
601
|
+
}
|
|
602
|
+
// 外部页面更新引发
|
|
603
|
+
}, {
|
|
604
|
+
key: "componentDidUpdate",
|
|
605
|
+
value: function componentDidUpdate(prevProps) {
|
|
606
|
+
if (JSON.stringify(this.props) !== JSON.stringify(prevProps)) {
|
|
607
|
+
this.setInitialVal();
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}, {
|
|
611
|
+
key: "handleOnFocus",
|
|
612
|
+
value: function handleOnFocus(value) {
|
|
613
|
+
var _this$props6 = this.props,
|
|
614
|
+
name = _this$props6.name,
|
|
615
|
+
dispatch = _this$props6.dispatch;
|
|
616
|
+
dispatch(name, 'focus', value);
|
|
617
|
+
}
|
|
618
|
+
}, {
|
|
619
|
+
key: "handleOnBlurs",
|
|
620
|
+
value: function handleOnBlurs(value) {
|
|
621
|
+
var _this$props7 = this.props,
|
|
622
|
+
name = _this$props7.name,
|
|
623
|
+
dispatch = _this$props7.dispatch;
|
|
624
|
+
dispatch(name, 'blur', value);
|
|
625
|
+
}
|
|
626
|
+
}, {
|
|
627
|
+
key: "setMyRef",
|
|
628
|
+
value: function setMyRef(ref) {
|
|
629
|
+
var _this$props8 = this.props,
|
|
630
|
+
name = _this$props8.name,
|
|
631
|
+
setMyRef = _this$props8.setMyRef;
|
|
632
|
+
setMyRef && setMyRef(name, ref);
|
|
633
|
+
}
|
|
634
|
+
}, {
|
|
635
|
+
key: "handleIconSign",
|
|
636
|
+
value: function handleIconSign() {
|
|
637
|
+
var _this$props9 = this.props,
|
|
638
|
+
name = _this$props9.name,
|
|
639
|
+
dispatch = _this$props9.dispatch,
|
|
640
|
+
hidden = _this$props9.hidden;
|
|
641
|
+
var labelSign = this.state.labelSign;
|
|
642
|
+
this.setState({
|
|
643
|
+
labelSign: !labelSign
|
|
644
|
+
});
|
|
645
|
+
if (name) {
|
|
646
|
+
dispatch("".concat(name, "Sign"), 'change', !labelSign);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}, {
|
|
650
|
+
key: "render",
|
|
651
|
+
value: function render() {
|
|
652
|
+
var _id, _id2;
|
|
653
|
+
var _this$props10 = this.props,
|
|
654
|
+
name = _this$props10.name,
|
|
655
|
+
subscribe = _this$props10.subscribe,
|
|
656
|
+
type = _this$props10.type,
|
|
657
|
+
label = _this$props10.label,
|
|
658
|
+
input_props = _this$props10.input_props,
|
|
659
|
+
unit = _this$props10.unit,
|
|
660
|
+
header_label = _this$props10.header_label,
|
|
661
|
+
just_header = _this$props10.just_header,
|
|
662
|
+
disabled_all = _this$props10.disabled_all,
|
|
663
|
+
allValue = _this$props10.allValue,
|
|
664
|
+
thisConfig = _this$props10.thisConfig;
|
|
665
|
+
var _this$state3 = this.state,
|
|
666
|
+
value = _this$state3.value,
|
|
667
|
+
error = _this$state3.error,
|
|
668
|
+
rules = _this$state3.rules,
|
|
669
|
+
labelSign = _this$state3.labelSign;
|
|
670
|
+
var required = isRequired(rules);
|
|
671
|
+
var C = MyComponent[type];
|
|
672
|
+
var safe_input_props = input_props !== null && input_props !== void 0 ? input_props : {};
|
|
673
|
+
var disabled = safe_input_props.disabled || disabled_all;
|
|
674
|
+
// id转化
|
|
675
|
+
var id = name;
|
|
676
|
+
if ((_id = id) !== null && _id !== void 0 && _id.includes('.') || (_id2 = id) !== null && _id2 !== void 0 && _id2.includes('(Note)')) {
|
|
677
|
+
var re = id.replace('(Note)', '');
|
|
678
|
+
var reArr = re.split('.');
|
|
679
|
+
id = reArr.join('-');
|
|
680
|
+
}
|
|
681
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, label !== '' && header_label ? /*#__PURE__*/React.createElement("div", {
|
|
682
|
+
className: "form-item-header-label"
|
|
683
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
684
|
+
className: type === 'label' ? 'form-item-just-label' : 'form-item-header-label-text'
|
|
685
|
+
}, /*#__PURE__*/React.createElement("span", null, type === 'label' ? "".concat(label) : label))) : null, !just_header ? /*#__PURE__*/React.createElement("div", {
|
|
686
|
+
id: id,
|
|
687
|
+
className: "ant-form-item form-item"
|
|
688
|
+
}, !_isEmpty(label) && (!header_label || type.indexOf('custom') === -1) ? /*#__PURE__*/React.createElement("div", {
|
|
689
|
+
className: "ant-form-item-label form-item-inline-label"
|
|
690
|
+
}, !_isEmpty(_get(input_props, 'labelSign')) && _get(input_props, 'labelSign.type') == 'iconfont' && /*#__PURE__*/React.createElement(CustomIcon, {
|
|
691
|
+
type: _get(input_props, 'labelSign.value'),
|
|
692
|
+
className: classnames('iconfont', {
|
|
693
|
+
'icon-sign': labelSign
|
|
694
|
+
}),
|
|
695
|
+
onClick: this.handleIconSign.bind(this)
|
|
696
|
+
}), /*#__PURE__*/React.createElement("label", {
|
|
697
|
+
className: classnames({
|
|
698
|
+
'ant-form-item-required': required
|
|
699
|
+
})
|
|
700
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
701
|
+
className: "label-words"
|
|
702
|
+
}, label), unit && /*#__PURE__*/React.createElement("span", {
|
|
703
|
+
className: "label-unit"
|
|
704
|
+
}, "(", unit, ")"), __DEV__ && thisConfig.id ? /*#__PURE__*/React.createElement("sup", {
|
|
705
|
+
className: "label-unit"
|
|
706
|
+
}, thisConfig.id) : null)) : null, /*#__PURE__*/React.createElement("div", {
|
|
707
|
+
style: {
|
|
708
|
+
display: 'flex',
|
|
709
|
+
alignItems: 'center'
|
|
710
|
+
},
|
|
711
|
+
className: classnames({
|
|
712
|
+
'form-item-full-main': header_label,
|
|
713
|
+
'form-item-main': !header_label,
|
|
714
|
+
// 填写错误,无法提交
|
|
715
|
+
'form-item-main-error': this.validError(),
|
|
716
|
+
// 异常警告,但仍可以提交
|
|
717
|
+
'form-item-main-warn': /\*/.test(error)
|
|
718
|
+
})
|
|
719
|
+
}, C ? /*#__PURE__*/React.createElement("div", {
|
|
720
|
+
style: {
|
|
721
|
+
flex: 1
|
|
722
|
+
}
|
|
723
|
+
}, /*#__PURE__*/React.createElement(C, _extends({
|
|
724
|
+
config: this.props.config
|
|
725
|
+
}, safe_input_props, {
|
|
726
|
+
allValue: allValue,
|
|
727
|
+
disabled: disabled,
|
|
728
|
+
onClick: this.handleClick,
|
|
729
|
+
onChange: this.handleChange,
|
|
730
|
+
dispatch: this.handleDispatch,
|
|
731
|
+
onFocus: this.handleOnFocus.bind(this),
|
|
732
|
+
onBlur: this.handleOnBlurs.bind(this),
|
|
733
|
+
setMyRef: this.setMyRef.bind(this)
|
|
734
|
+
// subscribe仅在一些 业务组件/内嵌表单组件 中使用
|
|
735
|
+
,
|
|
736
|
+
|
|
737
|
+
myForm: true,
|
|
738
|
+
subscribe: subscribe,
|
|
739
|
+
name: name,
|
|
740
|
+
value: value,
|
|
741
|
+
input_props: _objectSpread(_objectSpread({}, safe_input_props), {}, {
|
|
742
|
+
disabled: disabled
|
|
743
|
+
}),
|
|
744
|
+
error: error,
|
|
745
|
+
getValidFun: this.getChildrenValid,
|
|
746
|
+
validate: rules,
|
|
747
|
+
label: "".concat(label),
|
|
748
|
+
unit: unit
|
|
749
|
+
}))) : /*#__PURE__*/React.createElement("strong", null, "\u7EC4\u4EF6", type, "\u4E0D\u5B58\u5728"))) : null);
|
|
750
|
+
}
|
|
751
|
+
}]);
|
|
752
|
+
}(Component); // const FormItem = lazy(() => import('./formItem'));
|
|
753
|
+
var defaultGutterConfig = {
|
|
754
|
+
gutter: [0, 0],
|
|
755
|
+
// px
|
|
756
|
+
justify: 'start'
|
|
757
|
+
};
|
|
758
|
+
var MyForm = /*#__PURE__*/function (_Component2) {
|
|
759
|
+
function MyForm(props) {
|
|
760
|
+
var _this2;
|
|
761
|
+
_classCallCheck(this, MyForm);
|
|
762
|
+
_this2 = _callSuper(this, MyForm, [props]);
|
|
763
|
+
_defineProperty(_this2, "renderForm", function () {
|
|
764
|
+
var _this2$state$myConfig;
|
|
765
|
+
var config = (_this2$state$myConfig = _this2.state.myConfig) !== null && _this2$state$myConfig !== void 0 ? _this2$state$myConfig : [];
|
|
766
|
+
var formHandler = _this2.state.formHandler;
|
|
767
|
+
var gridConfig = defaultGutterConfig;
|
|
768
|
+
var count = 0; // 计算占比
|
|
769
|
+
var row = 0;
|
|
770
|
+
var formDom = [];
|
|
771
|
+
var spanArr = [];
|
|
772
|
+
var _loop = function _loop() {
|
|
773
|
+
var _config$i = config[i],
|
|
774
|
+
_config$i$span = _config$i.span,
|
|
775
|
+
span = _config$i$span === void 0 ? 24 : _config$i$span,
|
|
776
|
+
_config$i$offset = _config$i.offset,
|
|
777
|
+
offset = _config$i$offset === void 0 ? 0 : _config$i$offset;
|
|
778
|
+
var thisConfig = config[i];
|
|
779
|
+
var _thisConfig$label = thisConfig.label,
|
|
780
|
+
label = _thisConfig$label === void 0 ? '' : _thisConfig$label,
|
|
781
|
+
_thisConfig$unit = thisConfig.unit,
|
|
782
|
+
unit = _thisConfig$unit === void 0 ? '' : _thisConfig$unit,
|
|
783
|
+
_thisConfig$input_pro = thisConfig.input_props,
|
|
784
|
+
input_props = _thisConfig$input_pro === void 0 ? {} : _thisConfig$input_pro,
|
|
785
|
+
_thisConfig$rules = thisConfig.rules,
|
|
786
|
+
rules = _thisConfig$rules === void 0 ? [] : _thisConfig$rules,
|
|
787
|
+
_thisConfig$key = thisConfig.key,
|
|
788
|
+
key = _thisConfig$key === void 0 ? '' : _thisConfig$key,
|
|
789
|
+
_thisConfig$is_new_ro = thisConfig.is_new_row,
|
|
790
|
+
is_new_row = _thisConfig$is_new_ro === void 0 ? false : _thisConfig$is_new_ro,
|
|
791
|
+
_thisConfig$name = thisConfig.name,
|
|
792
|
+
name = _thisConfig$name === void 0 ? '' : _thisConfig$name,
|
|
793
|
+
_thisConfig$header_la = thisConfig.header_label,
|
|
794
|
+
header_label = _thisConfig$header_la === void 0 ? false : _thisConfig$header_la,
|
|
795
|
+
_thisConfig$hidden = thisConfig.hidden,
|
|
796
|
+
hidden = _thisConfig$hidden === void 0 ? false : _thisConfig$hidden,
|
|
797
|
+
_thisConfig$just_head = thisConfig.just_header,
|
|
798
|
+
just_header = _thisConfig$just_head === void 0 ? false : _thisConfig$just_head,
|
|
799
|
+
_thisConfig$className = thisConfig.className,
|
|
800
|
+
className = _thisConfig$className === void 0 ? '' : _thisConfig$className,
|
|
801
|
+
isActive = thisConfig.isActive;
|
|
802
|
+
var getParseJson = function getParseJson(str) {
|
|
803
|
+
try {
|
|
804
|
+
var obj = JSON.parse(str);
|
|
805
|
+
return obj;
|
|
806
|
+
} catch (_unused) {
|
|
807
|
+
return str;
|
|
808
|
+
}
|
|
809
|
+
};
|
|
810
|
+
var resetIsNewRow = _get(config[i], 'isNewRow') || is_new_row ? true : false;
|
|
811
|
+
var resetHidden = hidden || isActive === 0 ? true : false;
|
|
812
|
+
var resetName = _isEmpty(name) && key ? key.substr(1) : name;
|
|
813
|
+
var resetInputType = _get(config[i], 'inputType') ? _get(config[i], 'inputType') : config[i].input_type;
|
|
814
|
+
var resetInputProps = _get(config[i], 'inputProps') ? getParseJson(_get(config[i], 'inputProps')) : input_props;
|
|
815
|
+
var resetRules = _isString(rules) ? getParseJson(rules) : rules;
|
|
816
|
+
var resetUnit = _get(resetInputProps, 'unit') ? _get(resetInputProps, 'unit') : unit;
|
|
817
|
+
var resetHeaderLabel = _get(resetInputProps, 'header_label') ? _get(resetInputProps, 'header_label') : header_label;
|
|
818
|
+
var resetJustHeader = _get(resetInputProps, 'just_header') ? _get(resetInputProps, 'just_header') : just_header;
|
|
819
|
+
// console.log(config[i], get(resetInputProps, 'unit'), '554');
|
|
820
|
+
// console.log(config[i].inputProps, key, typeof getParseJson(config[i].inputProps));
|
|
821
|
+
if (!resetHidden) {
|
|
822
|
+
count += span + offset;
|
|
823
|
+
}
|
|
824
|
+
if (count > 24 || resetIsNewRow) {
|
|
825
|
+
formDom.push(/*#__PURE__*/React.createElement(_Row, _extends({
|
|
826
|
+
key: "row-".concat(row)
|
|
827
|
+
}, gridConfig), spanArr));
|
|
828
|
+
spanArr = [];
|
|
829
|
+
// 计算上一行换行的offset数量
|
|
830
|
+
// prevOffset = 24 - count + (span + offset);
|
|
831
|
+
// 减去上一行换行所用offset
|
|
832
|
+
count = span + offset;
|
|
833
|
+
row += 1;
|
|
834
|
+
}
|
|
835
|
+
spanArr.push(/*#__PURE__*/React.createElement(_Col, {
|
|
836
|
+
span: resetHidden ? 0 : span,
|
|
837
|
+
offset: resetHidden ? 0 : offset,
|
|
838
|
+
key: "".concat(config[i].key, "|row-").concat(row, "|span-").concat(count)
|
|
839
|
+
}, /*#__PURE__*/React.createElement(FormItem, {
|
|
840
|
+
thisConfig: thisConfig,
|
|
841
|
+
disabled_all: _this2.props.disabled_all,
|
|
842
|
+
config: config,
|
|
843
|
+
formHandler: formHandler,
|
|
844
|
+
dispatch: formHandler.dispatch,
|
|
845
|
+
subscribe: formHandler.subscribe
|
|
846
|
+
// setMyRef={formHandler.setMyRef}
|
|
847
|
+
,
|
|
848
|
+
|
|
849
|
+
setMyRef: _this2.props.setRef,
|
|
850
|
+
value: config[i].value,
|
|
851
|
+
allValue: _this2.props.value,
|
|
852
|
+
labelSign: _get(config, "".concat(i, ".labelSign")),
|
|
853
|
+
type: resetInputType,
|
|
854
|
+
label: label,
|
|
855
|
+
header_label: resetHeaderLabel,
|
|
856
|
+
just_header: resetJustHeader,
|
|
857
|
+
unit: resetUnit,
|
|
858
|
+
input_props: resetInputProps,
|
|
859
|
+
validate: resetRules,
|
|
860
|
+
path: key,
|
|
861
|
+
name: resetName,
|
|
862
|
+
hidden: resetHidden,
|
|
863
|
+
className: className,
|
|
864
|
+
getActions: function getActions(functions) {
|
|
865
|
+
return _this2.handlerGetActions(resetName, functions);
|
|
866
|
+
}
|
|
867
|
+
})));
|
|
868
|
+
};
|
|
869
|
+
for (var i = 0; i < config.length; i++) {
|
|
870
|
+
_loop();
|
|
871
|
+
}
|
|
872
|
+
if (spanArr) {
|
|
873
|
+
formDom.push(/*#__PURE__*/React.createElement(_Row, _extends({
|
|
874
|
+
key: "row-".concat(row)
|
|
875
|
+
}, gridConfig), spanArr));
|
|
876
|
+
}
|
|
877
|
+
return formDom;
|
|
878
|
+
});
|
|
879
|
+
_defineProperty(_this2, "handlerGetActions", function (name, actions) {
|
|
880
|
+
var formHandler = _this2.state.formHandler;
|
|
881
|
+
if (!formHandler[name] || !formHandler[name].actions) {
|
|
882
|
+
formHandler[name] = {};
|
|
883
|
+
formHandler[name].actions = {};
|
|
884
|
+
}
|
|
885
|
+
formHandler[name].actions = actions;
|
|
886
|
+
_this2.setState({
|
|
887
|
+
formHandler: formHandler
|
|
888
|
+
});
|
|
889
|
+
});
|
|
890
|
+
_this2.state = {
|
|
891
|
+
formHandler: {},
|
|
892
|
+
myConfig: []
|
|
893
|
+
};
|
|
894
|
+
return _this2;
|
|
895
|
+
}
|
|
896
|
+
_inherits(MyForm, _Component2);
|
|
897
|
+
return _createClass(MyForm, [{
|
|
898
|
+
key: "componentDidMount",
|
|
899
|
+
value: function componentDidMount() {
|
|
900
|
+
var _this3 = this;
|
|
901
|
+
var _this$props11 = this.props,
|
|
902
|
+
getFormHandler = _this$props11.getFormHandler,
|
|
903
|
+
config = _this$props11.config,
|
|
904
|
+
value = _this$props11.value,
|
|
905
|
+
submitChange = _this$props11.submitChange;
|
|
906
|
+
/*key值加上‘.’*/
|
|
907
|
+
var cloneConfig = _cloneDeep(config);
|
|
908
|
+
if (!_isEmpty(cloneConfig)) {
|
|
909
|
+
cloneConfig.forEach(function (item) {
|
|
910
|
+
var _item$rawKey;
|
|
911
|
+
var key = item.key;
|
|
912
|
+
item.rawKey = (_item$rawKey = item.rawKey) !== null && _item$rawKey !== void 0 ? _item$rawKey : key;
|
|
913
|
+
item.key = key !== null && key !== void 0 && key.startsWith('.') ? key : ".".concat(key);
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
this.setState({
|
|
917
|
+
myConfig: getRenderData(cloneConfig, value),
|
|
918
|
+
formHandler: createFormHandler(getRenderData(cloneConfig, value), {
|
|
919
|
+
submitChange: submitChange
|
|
920
|
+
})
|
|
921
|
+
}, function () {
|
|
922
|
+
if (getFormHandler) {
|
|
923
|
+
getFormHandler(_this3.state.formHandler);
|
|
924
|
+
}
|
|
925
|
+
});
|
|
926
|
+
}
|
|
927
|
+
// 没有新建formHandler 只是增加了其中的键值
|
|
928
|
+
}, {
|
|
929
|
+
key: "componentDidUpdate",
|
|
930
|
+
value: function componentDidUpdate(prevProps, prevState) {
|
|
931
|
+
var _this$props12 = this.props,
|
|
932
|
+
getFormHandler = _this$props12.getFormHandler,
|
|
933
|
+
config = _this$props12.config,
|
|
934
|
+
value = _this$props12.value,
|
|
935
|
+
submitChange = _this$props12.submitChange;
|
|
936
|
+
/*key值加上‘.’*/
|
|
937
|
+
var cloneConfig = _cloneDeep(config);
|
|
938
|
+
if (!_isEmpty(cloneConfig)) {
|
|
939
|
+
cloneConfig.forEach(function (item) {
|
|
940
|
+
var _item$rawKey2;
|
|
941
|
+
var key = item.key;
|
|
942
|
+
item.rawKey = (_item$rawKey2 = item.rawKey) !== null && _item$rawKey2 !== void 0 ? _item$rawKey2 : key;
|
|
943
|
+
item.key = key && key.startsWith('.') ? key : ".".concat(key);
|
|
944
|
+
});
|
|
945
|
+
}
|
|
946
|
+
if (!config) return;
|
|
947
|
+
// 数据不同
|
|
948
|
+
if (JSON.stringify(this.props.value) !== JSON.stringify(prevProps.value)) {
|
|
949
|
+
this.setState({
|
|
950
|
+
myConfig: getRenderData(cloneConfig, value)
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
// 配置不同
|
|
954
|
+
if (JSON.stringify(this.props.config) !== JSON.stringify(prevProps.config)) {
|
|
955
|
+
var formData = getFormData(_get(this.state.formHandler, 'formData'));
|
|
956
|
+
var currentValue = _isEmpty(formData) ? value : formData;
|
|
957
|
+
this.setState({
|
|
958
|
+
myConfig: getRenderData(cloneConfig, currentValue),
|
|
959
|
+
formHandler: createFormHandler(getRenderData(cloneConfig, currentValue), {
|
|
960
|
+
submitChange: submitChange
|
|
961
|
+
})
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
if (JSON.stringify(prevState.formHandler.uuid) !== JSON.stringify(this.state.formHandler.uuid)) {
|
|
965
|
+
if (getFormHandler) {
|
|
966
|
+
getFormHandler(this.state.formHandler);
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}, {
|
|
971
|
+
key: "render",
|
|
972
|
+
value: function render() {
|
|
973
|
+
return /*#__PURE__*/React.createElement(Suspense, null, /*#__PURE__*/React.createElement("div", {
|
|
974
|
+
className: "custom-my-form"
|
|
975
|
+
}, this.renderForm()));
|
|
976
|
+
}
|
|
977
|
+
}]);
|
|
978
|
+
}(Component);
|
|
979
|
+
export { MyForm as default };
|
|
980
|
+
//# sourceMappingURL=.root2.js.map
|