formanitor 0.3.12 → 0.3.14
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/dist/{AddInvestigationWidget-O5YSYLE3.mjs → AddInvestigationWidget-GYPBY2I7.mjs} +5 -5
- package/dist/{AddInvestigationWidget-O5YSYLE3.mjs.map → AddInvestigationWidget-GYPBY2I7.mjs.map} +1 -1
- package/dist/{AddInvestigationWidget-DLFDZCXO.cjs → AddInvestigationWidget-VFLWSOHU.cjs} +10 -10
- package/dist/{AddInvestigationWidget-DLFDZCXO.cjs.map → AddInvestigationWidget-VFLWSOHU.cjs.map} +1 -1
- package/dist/{AddMedicationWidget-CB7IWDBA.mjs → AddMedicationWidget-K77LLYN6.mjs} +4 -4
- package/dist/{AddMedicationWidget-CB7IWDBA.mjs.map → AddMedicationWidget-K77LLYN6.mjs.map} +1 -1
- package/dist/{AddMedicationWidget-H5WKS2I6.cjs → AddMedicationWidget-VHR5FSX6.cjs} +10 -10
- package/dist/{AddMedicationWidget-H5WKS2I6.cjs.map → AddMedicationWidget-VHR5FSX6.cjs.map} +1 -1
- package/dist/{AddProcedureWidget-X5HI4TYI.cjs → AddProcedureWidget-IKX3PNS3.cjs} +8 -8
- package/dist/{AddProcedureWidget-X5HI4TYI.cjs.map → AddProcedureWidget-IKX3PNS3.cjs.map} +1 -1
- package/dist/{AddProcedureWidget-DJBRBWYJ.mjs → AddProcedureWidget-Q3KXGPEO.mjs} +4 -4
- package/dist/{AddProcedureWidget-DJBRBWYJ.mjs.map → AddProcedureWidget-Q3KXGPEO.mjs.map} +1 -1
- package/dist/{BiometryIolWorkupWidget-IAX66Z3X.cjs → BiometryIolWorkupWidget-4IHRSZUV.cjs} +6 -6
- package/dist/{BiometryIolWorkupWidget-IAX66Z3X.cjs.map → BiometryIolWorkupWidget-4IHRSZUV.cjs.map} +1 -1
- package/dist/{BiometryIolWorkupWidget-V5TC4O3D.mjs → BiometryIolWorkupWidget-KJF3JCL5.mjs} +4 -4
- package/dist/{BiometryIolWorkupWidget-V5TC4O3D.mjs.map → BiometryIolWorkupWidget-KJF3JCL5.mjs.map} +1 -1
- package/dist/BpeChartWidget-LHIWXWBK.mjs +7 -0
- package/dist/{BpeChartWidget-O2PYAUUT.cjs.map → BpeChartWidget-LHIWXWBK.mjs.map} +1 -1
- package/dist/BpeChartWidget-RLIG4ALE.cjs +28 -0
- package/dist/{BpeChartWidget-Z6B4DIVB.mjs.map → BpeChartWidget-RLIG4ALE.cjs.map} +1 -1
- package/dist/{DateTimeWidget-ADOL65JG.mjs → DateTimeWidget-4OHDJPOX.mjs} +4 -4
- package/dist/{DateTimeWidget-ADOL65JG.mjs.map → DateTimeWidget-4OHDJPOX.mjs.map} +1 -1
- package/dist/{DateTimeWidget-3WFHTPJB.cjs → DateTimeWidget-ZXPIE7FP.cjs} +6 -6
- package/dist/{DateTimeWidget-3WFHTPJB.cjs.map → DateTimeWidget-ZXPIE7FP.cjs.map} +1 -1
- package/dist/{DateWidget-WOFQJVJA.cjs → DateWidget-AKMCXZ3M.cjs} +6 -6
- package/dist/{DateWidget-WOFQJVJA.cjs.map → DateWidget-AKMCXZ3M.cjs.map} +1 -1
- package/dist/{DateWidget-GOZNF5UN.mjs → DateWidget-F7UEHDK5.mjs} +4 -4
- package/dist/{DateWidget-GOZNF5UN.mjs.map → DateWidget-F7UEHDK5.mjs.map} +1 -1
- package/dist/{DentalChartWidget-GAHJB4SR.mjs → DentalChartWidget-L7H5OIE7.mjs} +4 -4
- package/dist/{DentalChartWidget-GAHJB4SR.mjs.map → DentalChartWidget-L7H5OIE7.mjs.map} +1 -1
- package/dist/DentalChartWidget-ZVUVPZGT.cjs +21 -0
- package/dist/{DentalChartWidget-JBJ4OAYR.cjs.map → DentalChartWidget-ZVUVPZGT.cjs.map} +1 -1
- package/dist/{DiagnosisTextareaWidget-A3WAYPXF.mjs → DiagnosisTextareaWidget-2CNMKZ5U.mjs} +4 -4
- package/dist/{DiagnosisTextareaWidget-A3WAYPXF.mjs.map → DiagnosisTextareaWidget-2CNMKZ5U.mjs.map} +1 -1
- package/dist/{DiagnosisTextareaWidget-BCXJFGHP.cjs → DiagnosisTextareaWidget-H2F7PBUB.cjs} +7 -7
- package/dist/{DiagnosisTextareaWidget-BCXJFGHP.cjs.map → DiagnosisTextareaWidget-H2F7PBUB.cjs.map} +1 -1
- package/dist/{DifferentialDiagnosisWidget-BEGFMAMB.mjs → DifferentialDiagnosisWidget-5ZOZOZSP.mjs} +3 -3
- package/dist/{DifferentialDiagnosisWidget-BEGFMAMB.mjs.map → DifferentialDiagnosisWidget-5ZOZOZSP.mjs.map} +1 -1
- package/dist/{DifferentialDiagnosisWidget-AZDGGX2N.cjs → DifferentialDiagnosisWidget-SJEBX26D.cjs} +5 -5
- package/dist/{DifferentialDiagnosisWidget-AZDGGX2N.cjs.map → DifferentialDiagnosisWidget-SJEBX26D.cjs.map} +1 -1
- package/dist/{DischargeMedicationOrdersWidget-THGP5JJU.mjs → DischargeMedicationOrdersWidget-57SYCQIW.mjs} +4 -4
- package/dist/{DischargeMedicationOrdersWidget-THGP5JJU.mjs.map → DischargeMedicationOrdersWidget-57SYCQIW.mjs.map} +1 -1
- package/dist/{DischargeMedicationOrdersWidget-DSIONWUX.cjs → DischargeMedicationOrdersWidget-P4ZITIXV.cjs} +7 -7
- package/dist/{DischargeMedicationOrdersWidget-DSIONWUX.cjs.map → DischargeMedicationOrdersWidget-P4ZITIXV.cjs.map} +1 -1
- package/dist/{EditableTable-TZFFJ3LV.mjs → EditableTable-BO6TDZB7.mjs} +3 -3
- package/dist/{EditableTable-TZFFJ3LV.mjs.map → EditableTable-BO6TDZB7.mjs.map} +1 -1
- package/dist/{EditableTable-SAQYJ6QT.cjs → EditableTable-KSNDX7SU.cjs} +4 -4
- package/dist/{EditableTable-SAQYJ6QT.cjs.map → EditableTable-KSNDX7SU.cjs.map} +1 -1
- package/dist/{ExtraOralExamWidget-IKKYSM3E.cjs → ExtraOralExamWidget-FT4U3IOG.cjs} +13 -13
- package/dist/{ExtraOralExamWidget-IKKYSM3E.cjs.map → ExtraOralExamWidget-FT4U3IOG.cjs.map} +1 -1
- package/dist/{ExtraOralExamWidget-FGPSCRND.mjs → ExtraOralExamWidget-WSEAECPS.mjs} +4 -4
- package/dist/{ExtraOralExamWidget-FGPSCRND.mjs.map → ExtraOralExamWidget-WSEAECPS.mjs.map} +1 -1
- package/dist/{FollowupWidget-YUU4PFSD.cjs → FollowupWidget-SBW6M2U2.cjs} +5 -5
- package/dist/{FollowupWidget-YUU4PFSD.cjs.map → FollowupWidget-SBW6M2U2.cjs.map} +1 -1
- package/dist/{FollowupWidget-3Z7LTEWK.mjs → FollowupWidget-SJECHW7S.mjs} +3 -3
- package/dist/{FollowupWidget-3Z7LTEWK.mjs.map → FollowupWidget-SJECHW7S.mjs.map} +1 -1
- package/dist/{FunctionalImpairmentScoreWidget-RWBGSKEU.mjs → FunctionalImpairmentScoreWidget-DDJ7ZDNS.mjs} +4 -4
- package/dist/{FunctionalImpairmentScoreWidget-RWBGSKEU.mjs.map → FunctionalImpairmentScoreWidget-DDJ7ZDNS.mjs.map} +1 -1
- package/dist/{FunctionalImpairmentScoreWidget-VB2O6K7V.cjs → FunctionalImpairmentScoreWidget-OSC5JXTO.cjs} +6 -6
- package/dist/{FunctionalImpairmentScoreWidget-VB2O6K7V.cjs.map → FunctionalImpairmentScoreWidget-OSC5JXTO.cjs.map} +1 -1
- package/dist/{GsExaminationWidget-V3M6BYHQ.cjs → GsExaminationWidget-J4J3J4F2.cjs} +28 -28
- package/dist/{GsExaminationWidget-V3M6BYHQ.cjs.map → GsExaminationWidget-J4J3J4F2.cjs.map} +1 -1
- package/dist/{GsExaminationWidget-3FKYFSYF.mjs → GsExaminationWidget-P77CVF67.mjs} +5 -5
- package/dist/{GsExaminationWidget-3FKYFSYF.mjs.map → GsExaminationWidget-P77CVF67.mjs.map} +1 -1
- package/dist/{GsGradingWidget-YTECG44D.cjs → GsGradingWidget-JUHQFOIY.cjs} +12 -12
- package/dist/{GsGradingWidget-YTECG44D.cjs.map → GsGradingWidget-JUHQFOIY.cjs.map} +1 -1
- package/dist/{GsGradingWidget-OAO4H7OT.mjs → GsGradingWidget-L7XQHXKA.mjs} +4 -4
- package/dist/{GsGradingWidget-OAO4H7OT.mjs.map → GsGradingWidget-L7XQHXKA.mjs.map} +1 -1
- package/dist/{GsSmartHistoryWidget-R76GVKXS.mjs → GsSmartHistoryWidget-36TAZHGA.mjs} +5 -5
- package/dist/{GsSmartHistoryWidget-R76GVKXS.mjs.map → GsSmartHistoryWidget-36TAZHGA.mjs.map} +1 -1
- package/dist/{GsSmartHistoryWidget-KCPXV7QN.cjs → GsSmartHistoryWidget-44KN5X3J.cjs} +18 -18
- package/dist/{GsSmartHistoryWidget-KCPXV7QN.cjs.map → GsSmartHistoryWidget-44KN5X3J.cjs.map} +1 -1
- package/dist/{HiddenVitalsWidget-I3BDEKZ4.mjs → HiddenVitalsWidget-BKBSZ5G5.mjs} +4 -4
- package/dist/{HiddenVitalsWidget-I3BDEKZ4.mjs.map → HiddenVitalsWidget-BKBSZ5G5.mjs.map} +1 -1
- package/dist/{HiddenVitalsWidget-C5RWJM6Q.cjs → HiddenVitalsWidget-D5EY2BVO.cjs} +6 -6
- package/dist/{HiddenVitalsWidget-C5RWJM6Q.cjs.map → HiddenVitalsWidget-D5EY2BVO.cjs.map} +1 -1
- package/dist/{LensAssessmentWidget-MWSYAJVG.mjs → LensAssessmentWidget-E73L5RLN.mjs} +4 -4
- package/dist/{LensAssessmentWidget-MWSYAJVG.mjs.map → LensAssessmentWidget-E73L5RLN.mjs.map} +1 -1
- package/dist/{LensAssessmentWidget-MPKJE5L4.cjs → LensAssessmentWidget-PXNEWVJH.cjs} +6 -6
- package/dist/{LensAssessmentWidget-MPKJE5L4.cjs.map → LensAssessmentWidget-PXNEWVJH.cjs.map} +1 -1
- package/dist/{MarMedicationOrdersWidget-FTOEDP5F.mjs → MarMedicationOrdersWidget-C5UFYFM3.mjs} +4 -4
- package/dist/{MarMedicationOrdersWidget-FTOEDP5F.mjs.map → MarMedicationOrdersWidget-C5UFYFM3.mjs.map} +1 -1
- package/dist/{MarMedicationOrdersWidget-YYODUHM2.cjs → MarMedicationOrdersWidget-F3TI6CZJ.cjs} +7 -7
- package/dist/{MarMedicationOrdersWidget-YYODUHM2.cjs.map → MarMedicationOrdersWidget-F3TI6CZJ.cjs.map} +1 -1
- package/dist/{OBGExaminationWidget-A6ZWPBLG.mjs → OBGExaminationWidget-4XZ2MRME.mjs} +5 -5
- package/dist/{OBGExaminationWidget-A6ZWPBLG.mjs.map → OBGExaminationWidget-4XZ2MRME.mjs.map} +1 -1
- package/dist/{OBGExaminationWidget-XXQX34VO.cjs → OBGExaminationWidget-CCYR22O4.cjs} +17 -17
- package/dist/{OBGExaminationWidget-XXQX34VO.cjs.map → OBGExaminationWidget-CCYR22O4.cjs.map} +1 -1
- package/dist/{OBGPathwayWidget-3H7XSIHF.mjs → OBGPathwayWidget-FF54CCRL.mjs} +7 -7
- package/dist/{OBGPathwayWidget-3H7XSIHF.mjs.map → OBGPathwayWidget-FF54CCRL.mjs.map} +1 -1
- package/dist/{OBGPathwayWidget-ISVQGOIM.cjs → OBGPathwayWidget-VAF5DWA5.cjs} +23 -23
- package/dist/{OBGPathwayWidget-ISVQGOIM.cjs.map → OBGPathwayWidget-VAF5DWA5.cjs.map} +1 -1
- package/dist/{ObstetricHistoryWidget-XUI2SDMW.cjs → ObstetricHistoryWidget-DZL6OJLX.cjs} +18 -18
- package/dist/{ObstetricHistoryWidget-XUI2SDMW.cjs.map → ObstetricHistoryWidget-DZL6OJLX.cjs.map} +1 -1
- package/dist/{ObstetricHistoryWidget-57HV25E5.mjs → ObstetricHistoryWidget-OTXBTHTA.mjs} +6 -6
- package/dist/{ObstetricHistoryWidget-57HV25E5.mjs.map → ObstetricHistoryWidget-OTXBTHTA.mjs.map} +1 -1
- package/dist/{OphthalDiagnosisWidget-UNBXRQWJ.cjs → OphthalDiagnosisWidget-HHNBYK3Q.cjs} +4 -4
- package/dist/{OphthalDiagnosisWidget-UNBXRQWJ.cjs.map → OphthalDiagnosisWidget-HHNBYK3Q.cjs.map} +1 -1
- package/dist/{OphthalDiagnosisWidget-FW4U7AMU.mjs → OphthalDiagnosisWidget-W4NMKL4J.mjs} +3 -3
- package/dist/{OphthalDiagnosisWidget-FW4U7AMU.mjs.map → OphthalDiagnosisWidget-W4NMKL4J.mjs.map} +1 -1
- package/dist/{OphthalmologyWidget-7D6LWQ7D.cjs → OphthalmologyWidget-FQPWK24C.cjs} +4 -4
- package/dist/{OphthalmologyWidget-7D6LWQ7D.cjs.map → OphthalmologyWidget-FQPWK24C.cjs.map} +1 -1
- package/dist/{OphthalmologyWidget-VXUCHSLP.mjs → OphthalmologyWidget-H7NMSWYI.mjs} +3 -3
- package/dist/{OphthalmologyWidget-VXUCHSLP.mjs.map → OphthalmologyWidget-H7NMSWYI.mjs.map} +1 -1
- package/dist/{OralHygieneWidget-Z42AE5YZ.cjs → OralHygieneWidget-5SCO62HF.cjs} +8 -8
- package/dist/{OralHygieneWidget-Z42AE5YZ.cjs.map → OralHygieneWidget-5SCO62HF.cjs.map} +1 -1
- package/dist/{OralHygieneWidget-4QFEFEUB.mjs → OralHygieneWidget-VUDFCZTC.mjs} +4 -4
- package/dist/{OralHygieneWidget-4QFEFEUB.mjs.map → OralHygieneWidget-VUDFCZTC.mjs.map} +1 -1
- package/dist/{OrthopedicExamWidget-S6OYLNWB.mjs → OrthopedicExamWidget-PQVPCXLT.mjs} +5 -5
- package/dist/{OrthopedicExamWidget-S6OYLNWB.mjs.map → OrthopedicExamWidget-PQVPCXLT.mjs.map} +1 -1
- package/dist/{OrthopedicExamWidget-DXHFBGMH.cjs → OrthopedicExamWidget-PUIYU2TL.cjs} +9 -9
- package/dist/{OrthopedicExamWidget-DXHFBGMH.cjs.map → OrthopedicExamWidget-PUIYU2TL.cjs.map} +1 -1
- package/dist/{PainScaleFlagsWidget-KRJXSYBR.mjs → PainScaleFlagsWidget-D75RW7VM.mjs} +6 -6
- package/dist/{PainScaleFlagsWidget-KRJXSYBR.mjs.map → PainScaleFlagsWidget-D75RW7VM.mjs.map} +1 -1
- package/dist/{PainScaleFlagsWidget-PJ6P65IS.cjs → PainScaleFlagsWidget-L3I3PRM7.cjs} +13 -13
- package/dist/{PainScaleFlagsWidget-PJ6P65IS.cjs.map → PainScaleFlagsWidget-L3I3PRM7.cjs.map} +1 -1
- package/dist/{PregnancyStatusWidget-L3SGWA4G.cjs → PregnancyStatusWidget-4ZPJM7GG.cjs} +7 -7
- package/dist/{PregnancyStatusWidget-L3SGWA4G.cjs.map → PregnancyStatusWidget-4ZPJM7GG.cjs.map} +1 -1
- package/dist/{PregnancyStatusWidget-ECCSG54Z.mjs → PregnancyStatusWidget-6TRM2UWA.mjs} +4 -4
- package/dist/{PregnancyStatusWidget-ECCSG54Z.mjs.map → PregnancyStatusWidget-6TRM2UWA.mjs.map} +1 -1
- package/dist/{ReferralWidget-3762ULVV.mjs → ReferralWidget-DO2GDTGG.mjs} +4 -4
- package/dist/{ReferralWidget-3762ULVV.mjs.map → ReferralWidget-DO2GDTGG.mjs.map} +1 -1
- package/dist/{ReferralWidget-VA3PUZLL.cjs → ReferralWidget-WR7EN7Y6.cjs} +8 -8
- package/dist/{ReferralWidget-VA3PUZLL.cjs.map → ReferralWidget-WR7EN7Y6.cjs.map} +1 -1
- package/dist/{RichTextWidget-ZNTAHAQ6.cjs → RichTextWidget-6IQPGNO7.cjs} +7 -7
- package/dist/{RichTextWidget-Y7OWJOMZ.mjs.map → RichTextWidget-6IQPGNO7.cjs.map} +1 -1
- package/dist/RichTextWidget-CSFWGM3F.mjs +11 -0
- package/dist/{RichTextWidget-ZNTAHAQ6.cjs.map → RichTextWidget-CSFWGM3F.mjs.map} +1 -1
- package/dist/SmartTextarea-ESTMIA5I.mjs +12 -0
- package/dist/{SmartTextarea-AZSP4J3C.cjs.map → SmartTextarea-ESTMIA5I.mjs.map} +1 -1
- package/dist/{SmartTextarea-AZSP4J3C.cjs → SmartTextarea-GAW2BXZE.cjs} +6 -6
- package/dist/{SmartTextarea-M4TU55KU.mjs.map → SmartTextarea-GAW2BXZE.cjs.map} +1 -1
- package/dist/{SuggestionTextareaWidget-LMF7QBV7.cjs → SuggestionTextareaWidget-H737OFYH.cjs} +19 -19
- package/dist/{SuggestionTextareaWidget-LMF7QBV7.cjs.map → SuggestionTextareaWidget-H737OFYH.cjs.map} +1 -1
- package/dist/{SuggestionTextareaWidget-U4B6NDPB.mjs → SuggestionTextareaWidget-JY5PWPPC.mjs} +7 -7
- package/dist/{SuggestionTextareaWidget-U4B6NDPB.mjs.map → SuggestionTextareaWidget-JY5PWPPC.mjs.map} +1 -1
- package/dist/{SurgicalRiskFlagsWidget-FRSYPAXJ.mjs → SurgicalRiskFlagsWidget-JLBSOLBA.mjs} +4 -4
- package/dist/{SurgicalRiskFlagsWidget-FRSYPAXJ.mjs.map → SurgicalRiskFlagsWidget-JLBSOLBA.mjs.map} +1 -1
- package/dist/{SurgicalRiskFlagsWidget-EBVJG63N.cjs → SurgicalRiskFlagsWidget-NSSB4U3Z.cjs} +6 -6
- package/dist/{SurgicalRiskFlagsWidget-EBVJG63N.cjs.map → SurgicalRiskFlagsWidget-NSSB4U3Z.cjs.map} +1 -1
- package/dist/{TreatmentPlanWidget-AOMWYYB2.cjs → TreatmentPlanWidget-FNU3L3N3.cjs} +8 -8
- package/dist/{TreatmentPlanWidget-AOMWYYB2.cjs.map → TreatmentPlanWidget-FNU3L3N3.cjs.map} +1 -1
- package/dist/{TreatmentPlanWidget-XZUH65IO.mjs → TreatmentPlanWidget-H223CYQZ.mjs} +5 -5
- package/dist/{TreatmentPlanWidget-XZUH65IO.mjs.map → TreatmentPlanWidget-H223CYQZ.mjs.map} +1 -1
- package/dist/{UrologyExaminationWidget-NEFFEGCR.mjs → UrologyExaminationWidget-DNJGQXAH.mjs} +5 -5
- package/dist/{UrologyExaminationWidget-NEFFEGCR.mjs.map → UrologyExaminationWidget-DNJGQXAH.mjs.map} +1 -1
- package/dist/{UrologyExaminationWidget-OQYEGMIU.cjs → UrologyExaminationWidget-O4ENNCGR.cjs} +18 -18
- package/dist/{UrologyExaminationWidget-OQYEGMIU.cjs.map → UrologyExaminationWidget-O4ENNCGR.cjs.map} +1 -1
- package/dist/{UrologyPathwayWidget-AWASSTOT.cjs → UrologyPathwayWidget-343EB3CN.cjs} +10 -10
- package/dist/{UrologyPathwayWidget-AWASSTOT.cjs.map → UrologyPathwayWidget-343EB3CN.cjs.map} +1 -1
- package/dist/{UrologyPathwayWidget-KUYKP2JP.mjs → UrologyPathwayWidget-NFLUEPWO.mjs} +5 -5
- package/dist/{UrologyPathwayWidget-KUYKP2JP.mjs.map → UrologyPathwayWidget-NFLUEPWO.mjs.map} +1 -1
- package/dist/{UrologySmartHistoryWidget-UW5HRCNZ.cjs → UrologySmartHistoryWidget-D4YG6UVB.cjs} +19 -19
- package/dist/{UrologySmartHistoryWidget-UW5HRCNZ.cjs.map → UrologySmartHistoryWidget-D4YG6UVB.cjs.map} +1 -1
- package/dist/{UrologySmartHistoryWidget-STKGAL4E.mjs → UrologySmartHistoryWidget-DFNY627Z.mjs} +5 -5
- package/dist/{UrologySmartHistoryWidget-STKGAL4E.mjs.map → UrologySmartHistoryWidget-DFNY627Z.mjs.map} +1 -1
- package/dist/{VitalsWidget-6IFKZ3B5.cjs → VitalsWidget-ILPP6ZJM.cjs} +5 -5
- package/dist/{VitalsWidget-6IFKZ3B5.cjs.map → VitalsWidget-ILPP6ZJM.cjs.map} +1 -1
- package/dist/{VitalsWidget-VBECLSXS.mjs → VitalsWidget-LCP6UJIK.mjs} +3 -3
- package/dist/{VitalsWidget-VBECLSXS.mjs.map → VitalsWidget-LCP6UJIK.mjs.map} +1 -1
- package/dist/{chunk-XB3YNGKB.mjs → chunk-3JPJ4CAL.mjs} +6 -6
- package/dist/chunk-3JPJ4CAL.mjs.map +1 -0
- package/dist/{chunk-6D4VDOIO.cjs → chunk-4FXFHR57.cjs} +4 -4
- package/dist/{chunk-6D4VDOIO.cjs.map → chunk-4FXFHR57.cjs.map} +1 -1
- package/dist/{chunk-32PV5N5F.mjs → chunk-4HRGKJXY.mjs} +3 -3
- package/dist/{chunk-32PV5N5F.mjs.map → chunk-4HRGKJXY.mjs.map} +1 -1
- package/dist/{chunk-7TMCC6NZ.mjs → chunk-5474K4UA.mjs} +3 -3
- package/dist/{chunk-7TMCC6NZ.mjs.map → chunk-5474K4UA.mjs.map} +1 -1
- package/dist/{chunk-O5E3R7A5.mjs → chunk-74PGBNQL.mjs} +3 -3
- package/dist/{chunk-O5E3R7A5.mjs.map → chunk-74PGBNQL.mjs.map} +1 -1
- package/dist/{chunk-CYA674S2.mjs → chunk-A6LXDIX7.mjs} +3 -3
- package/dist/{chunk-CYA674S2.mjs.map → chunk-A6LXDIX7.mjs.map} +1 -1
- package/dist/{chunk-GDBWN7P6.cjs → chunk-AF3CBRGP.cjs} +8 -8
- package/dist/{chunk-GDBWN7P6.cjs.map → chunk-AF3CBRGP.cjs.map} +1 -1
- package/dist/{chunk-BJ2VLXGL.cjs → chunk-AZCZKMIE.cjs} +6 -6
- package/dist/{chunk-BJ2VLXGL.cjs.map → chunk-AZCZKMIE.cjs.map} +1 -1
- package/dist/{chunk-FKVI2E7G.cjs → chunk-EAYQOSSH.cjs} +4 -4
- package/dist/{chunk-FKVI2E7G.cjs.map → chunk-EAYQOSSH.cjs.map} +1 -1
- package/dist/{chunk-C2BZVYUI.cjs → chunk-FEPLVLEK.cjs} +9 -9
- package/dist/chunk-FEPLVLEK.cjs.map +1 -0
- package/dist/{chunk-KEG37EFI.cjs → chunk-FMBNVXQE.cjs} +34 -18
- package/dist/chunk-FMBNVXQE.cjs.map +1 -0
- package/dist/{chunk-ZEE43BXF.cjs → chunk-GHTWXNPC.cjs} +5 -5
- package/dist/{chunk-ZEE43BXF.cjs.map → chunk-GHTWXNPC.cjs.map} +1 -1
- package/dist/{chunk-JMMBFI2F.cjs → chunk-GI5QBDPX.cjs} +17 -13
- package/dist/chunk-GI5QBDPX.cjs.map +1 -0
- package/dist/{chunk-NDG4TJTR.mjs → chunk-HSPOCOFQ.mjs} +3 -3
- package/dist/{chunk-NDG4TJTR.mjs.map → chunk-HSPOCOFQ.mjs.map} +1 -1
- package/dist/{chunk-LLBYSBKY.cjs → chunk-J7G77636.cjs} +4 -4
- package/dist/{chunk-LLBYSBKY.cjs.map → chunk-J7G77636.cjs.map} +1 -1
- package/dist/{chunk-ST6T6U3E.mjs → chunk-KAYCW2DF.mjs} +3 -3
- package/dist/{chunk-ST6T6U3E.mjs.map → chunk-KAYCW2DF.mjs.map} +1 -1
- package/dist/{chunk-BHYPA5NY.mjs → chunk-L3UDG6T3.mjs} +3 -3
- package/dist/{chunk-BHYPA5NY.mjs.map → chunk-L3UDG6T3.mjs.map} +1 -1
- package/dist/{chunk-GC2GZBUY.cjs → chunk-LBIZDREX.cjs} +4 -4
- package/dist/{chunk-GC2GZBUY.cjs.map → chunk-LBIZDREX.cjs.map} +1 -1
- package/dist/{chunk-ICC7EWBV.mjs → chunk-MEZUEPR2.mjs} +27 -11
- package/dist/chunk-MEZUEPR2.mjs.map +1 -0
- package/dist/{chunk-FJ2NG3NL.mjs → chunk-MRVPTU64.mjs} +4 -4
- package/dist/{chunk-FJ2NG3NL.mjs.map → chunk-MRVPTU64.mjs.map} +1 -1
- package/dist/{chunk-NHWT2G7D.mjs → chunk-NOFLNJZ6.mjs} +13 -9
- package/dist/chunk-NOFLNJZ6.mjs.map +1 -0
- package/dist/{chunk-Y3MQRSHA.cjs → chunk-P3UZGB74.cjs} +4 -4
- package/dist/{chunk-Y3MQRSHA.cjs.map → chunk-P3UZGB74.cjs.map} +1 -1
- package/dist/{chunk-QBAMLKAM.cjs → chunk-Q24OK7J6.cjs} +10 -3
- package/dist/chunk-Q24OK7J6.cjs.map +1 -0
- package/dist/{chunk-DJTZ3QNF.mjs → chunk-SJWKNDI5.mjs} +3 -3
- package/dist/{chunk-DJTZ3QNF.mjs.map → chunk-SJWKNDI5.mjs.map} +1 -1
- package/dist/{chunk-XXRQCN4Y.mjs → chunk-SORZQ6J6.mjs} +3 -3
- package/dist/{chunk-XXRQCN4Y.mjs.map → chunk-SORZQ6J6.mjs.map} +1 -1
- package/dist/{chunk-KGCEATHN.cjs → chunk-T66LW3J5.cjs} +4 -4
- package/dist/{chunk-KGCEATHN.cjs.map → chunk-T66LW3J5.cjs.map} +1 -1
- package/dist/{chunk-DFWDHCLP.mjs → chunk-TPVPMO7W.mjs} +10 -4
- package/dist/chunk-TPVPMO7W.mjs.map +1 -0
- package/dist/{chunk-GLJ5LI6K.cjs → chunk-V5NEFZGE.cjs} +5 -5
- package/dist/{chunk-GLJ5LI6K.cjs.map → chunk-V5NEFZGE.cjs.map} +1 -1
- package/dist/{chunk-JNCCDIZF.cjs → chunk-VFATO7VP.cjs} +4 -4
- package/dist/{chunk-JNCCDIZF.cjs.map → chunk-VFATO7VP.cjs.map} +1 -1
- package/dist/{chunk-IRIZKQOR.mjs → chunk-WNQBXIAP.mjs} +3 -3
- package/dist/{chunk-IRIZKQOR.mjs.map → chunk-WNQBXIAP.mjs.map} +1 -1
- package/dist/{chunk-5WKPCNAT.mjs → chunk-X4WL56LN.mjs} +3 -3
- package/dist/{chunk-5WKPCNAT.mjs.map → chunk-X4WL56LN.mjs.map} +1 -1
- package/dist/{chunk-MUEFZIBA.cjs → chunk-ZMLPHAGC.cjs} +4 -4
- package/dist/{chunk-MUEFZIBA.cjs.map → chunk-ZMLPHAGC.cjs.map} +1 -1
- package/dist/index.cjs +150 -146
- package/dist/index.d.cts +66 -33
- package/dist/index.d.ts +66 -33
- package/dist/index.mjs +57 -57
- package/dist/read-only-table.d.cts +2 -2
- package/dist/read-only-table.d.ts +2 -2
- package/dist/rich-text.cjs +2961 -5
- package/dist/rich-text.cjs.map +1 -1
- package/dist/rich-text.d.cts +7 -3
- package/dist/rich-text.d.ts +7 -3
- package/dist/rich-text.mjs +2948 -4
- package/dist/rich-text.mjs.map +1 -1
- package/dist/richTextClassName-DGvZ5_t4.d.cts +3040 -0
- package/dist/richTextClassName-DGvZ5_t4.d.ts +3040 -0
- package/dist/smart.cjs +5 -5
- package/dist/smart.d.cts +2 -2
- package/dist/smart.d.ts +2 -2
- package/dist/smart.mjs +3 -3
- package/package.json +1 -1
- package/dist/BpeChartWidget-O2PYAUUT.cjs +0 -28
- package/dist/BpeChartWidget-Z6B4DIVB.mjs +0 -7
- package/dist/DentalChartWidget-JBJ4OAYR.cjs +0 -21
- package/dist/RichTextWidget-Y7OWJOMZ.mjs +0 -11
- package/dist/SmartTextarea-M4TU55KU.mjs +0 -12
- package/dist/chunk-C2BZVYUI.cjs.map +0 -1
- package/dist/chunk-DFWDHCLP.mjs.map +0 -1
- package/dist/chunk-ICC7EWBV.mjs.map +0 -1
- package/dist/chunk-JMMBFI2F.cjs.map +0 -1
- package/dist/chunk-KEG37EFI.cjs.map +0 -1
- package/dist/chunk-NHWT2G7D.mjs.map +0 -1
- package/dist/chunk-QBAMLKAM.cjs.map +0 -1
- package/dist/chunk-XB3YNGKB.mjs.map +0 -1
- package/dist/richTextClassName--8wkuHkW.d.cts +0 -10
- package/dist/richTextClassName--8wkuHkW.d.ts +0 -10
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { P as FormValues, M as FormDef, O as FormState, F as FieldDef, aY as WorkflowTransition, au as Rule, v as DoctorFrequentItems, s as DiagnosticPackage, a6 as MedicationPackage, B as BaseFieldDef, a5 as MedicationFrequentItem, Z as InvestigationFrequentItem, an as ProcedureFrequentItem, n as DentalChartData, aO as ToothCondition } from './types-Bp-DGSW8.cjs';
|
|
2
2
|
export { a as BiometryIolWorkupFieldDef, b as BiometryIolWorkupValue, c as BiometryMethod, d as BpeChartFieldDef, C as CampDateOption, e as CampDateSelection, f as CampDatesFieldDef, g as CampTimeSlotOption, h as CampTimeSlotSelection, i as CampTimeSlotsFieldDef, j as CheckboxFieldDef, k as ColumnLayout, l as Computation, m as Condition, D as DataSource, o as DentalChartFieldDef, p as DiagnosisGradeSelection, q as DiagnosisTextareaFieldDef, r as DiagnosisTextareaValue, t as DiagnosticPackageTest, u as DifferentialDiagnosisFieldDef, E as EditableTableColumnDef, w as EditableTableFieldDef, x as EventDefinition, y as ExtractedKeywordMatch, z as FieldPrefill, A as FieldState, G as FieldStyleClassNames, H as FieldStyleConfig, I as FieldType, J as FileUploadFieldDef, K as FollowupFieldDef, L as FollowupValue, N as FormErrors, Q as FormulaComputation, R as FormulaExpr, S as FunctionalImpairmentDimension, T as FunctionalImpairmentScoreFieldDef, U as FunctionalImpairmentScoreValue, V as GeneralSurgeryExaminationFieldDef, W as GeneralSurgeryGradingFieldDef, X as GeneralSurgerySmartHistoryFieldDef, Y as ImageUploadFieldDef, _ as InvestigationsFieldDef, $ as LayoutNode, a0 as LensAssessmentFieldDef, a1 as LensAssessmentValue, a2 as LocsGrades, a3 as MatchedCondition, a4 as MediaUploadFieldDef, a7 as MedicationPackageDrug, a8 as MedicationsFieldDef, a9 as MultiStepLayoutNode, aa as MultiStepNode, ab as NumberFieldDef, ac as OBGExaminationFieldDef, ad as OBGPathwayFieldDef, ae as OralHygieneFieldDef, af as OralHygieneValue, ag as OtpInputFieldDef, ah as OtpVerifiedValue, ai as PainScaleFlagsFieldDef, aj as Permission, ak as PhoneInputFieldDef, al as PregnancyStatusFieldDef, am as PregnancyStatusValue, ao as ProceduresFieldDef, ap as RadioFieldDef, aq as ReferralFieldDef, ar as ReferralItem, as as RepeatableFieldDef, at as RichTextFieldDef, av as RuleAction, aw as ScoreComputation, ax as ScoreRange, ay as Section, az as SectionChild, aA as SelectFieldDef, aB as SelectOption, aC as SignatureFieldDef, aD as SliderFieldDef, aE as SmartTextareaFieldDef, aF as SmartTextareaValue, aG as SocialHistoryFieldDef, aH as StaticTextFieldDef, aI as SuggestionTextareaFieldDef, aJ as SumComputation, aK as SurgicalRiskFlagsFieldDef, aL as SurgicalRiskFlagsValue, aM as TextFieldDef, aN as ToggleFieldDef, aP as ToothEntry, aQ as TreatmentPlanFieldDef, aR as UrologyExaminationFieldDef, aS as UrologyPathwayFieldDef, aT as UrologySmartHistoryFieldDef, aU as ValidationRule, aV as VitalsFieldDef, aW as WebhookDef, aX as Workflow } from './types-Bp-DGSW8.cjs';
|
|
3
|
-
import React from 'react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { b as Extensions, E as Editor } from './richTextClassName-DGvZ5_t4.cjs';
|
|
6
|
+
export { r as richTextHtmlClassName } from './richTextClassName-DGvZ5_t4.cjs';
|
|
4
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
|
|
8
|
+
import '@tiptap/pm/state';
|
|
9
|
+
import '@tiptap/pm/model';
|
|
10
|
+
import '@tiptap/pm/view';
|
|
11
|
+
import '@tiptap/pm/transform';
|
|
6
12
|
|
|
7
13
|
interface SavedState {
|
|
8
14
|
values: FormValues;
|
|
@@ -268,6 +274,30 @@ declare function evaluateRules(values: FormValues, rules: Rule[], fields: Record
|
|
|
268
274
|
type FormUiSkin = 'classic' | 'v2';
|
|
269
275
|
declare const DEFAULT_FORM_UI_SKIN: FormUiSkin;
|
|
270
276
|
|
|
277
|
+
type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
278
|
+
/** Height in pixels. If not provided, uses default min height (80px). */
|
|
279
|
+
height?: number;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
type TextareaOverrideProps = TextareaProps & {
|
|
283
|
+
ref?: React__default.Ref<HTMLTextAreaElement>;
|
|
284
|
+
/** Forminator's own styled textarea. Render it to keep the default look. */
|
|
285
|
+
DefaultTextarea: React__default.ComponentType<TextareaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* Host-supplied replacements/extensions for built-in widgets. Keep the object
|
|
289
|
+
* stable (memoize it): changing `richTextExtensions` recreates every editor.
|
|
290
|
+
*/
|
|
291
|
+
type WidgetOverrides = {
|
|
292
|
+
/** Replaces the textarea used by `textarea` / `social_history` fields. */
|
|
293
|
+
Textarea?: React__default.ComponentType<TextareaOverrideProps>;
|
|
294
|
+
/** Extra TipTap extensions added to every `richtext` editor. */
|
|
295
|
+
richTextExtensions?: Extensions;
|
|
296
|
+
/** Rendered next to every `richtext` editor, e.g. for popups tied to it. */
|
|
297
|
+
RichTextAddon?: React__default.ComponentType<{
|
|
298
|
+
editor: Editor | null;
|
|
299
|
+
}>;
|
|
300
|
+
};
|
|
271
301
|
type FieldHandler = {
|
|
272
302
|
onSearch: (query: string) => Promise<any[]>;
|
|
273
303
|
recentlyUsed?: any[];
|
|
@@ -308,7 +338,7 @@ type FieldHandler = {
|
|
|
308
338
|
* or an accession-number badge). Return null/undefined to render nothing for
|
|
309
339
|
* that item.
|
|
310
340
|
*/
|
|
311
|
-
renderItemAction?: (item: any) =>
|
|
341
|
+
renderItemAction?: (item: any) => React__default.ReactNode;
|
|
312
342
|
};
|
|
313
343
|
type FieldHandlersMap = Record<string, FieldHandler>;
|
|
314
344
|
declare function useFieldHandlers(fieldId: string): FieldHandler;
|
|
@@ -323,6 +353,7 @@ declare function useMedicationPackages(): MedicationPackage[];
|
|
|
323
353
|
* existing hosts and forms render exactly as before.
|
|
324
354
|
*/
|
|
325
355
|
declare function useFormUiSkin(): FormUiSkin;
|
|
356
|
+
declare function useWidgetOverrides(): WidgetOverrides;
|
|
326
357
|
interface FormProviderProps {
|
|
327
358
|
schema: FormDef;
|
|
328
359
|
config?: StoreConfig;
|
|
@@ -340,9 +371,11 @@ interface FormProviderProps {
|
|
|
340
371
|
* into the new design without affecting other consumers of this package.
|
|
341
372
|
*/
|
|
342
373
|
uiSkin?: FormUiSkin;
|
|
343
|
-
|
|
374
|
+
/** Optional widget replacements/extensions. Omitted means no behavior change. */
|
|
375
|
+
widgetOverrides?: WidgetOverrides;
|
|
376
|
+
children: React__default.ReactNode;
|
|
344
377
|
}
|
|
345
|
-
declare const FormProvider:
|
|
378
|
+
declare const FormProvider: React__default.FC<FormProviderProps>;
|
|
346
379
|
declare function useFormStore(): FormStore;
|
|
347
380
|
|
|
348
381
|
declare function useForm(): {
|
|
@@ -426,7 +459,7 @@ declare const SECTION_SCROLL_MARGIN = "scroll-mt-24";
|
|
|
426
459
|
* so find-in-page and printing keep working, and a validation error can never
|
|
427
460
|
* be sitting inside a collapsed panel.
|
|
428
461
|
*/
|
|
429
|
-
declare const SectionNav:
|
|
462
|
+
declare const SectionNav: React__default.FC<SectionNavProps>;
|
|
430
463
|
|
|
431
464
|
/**
|
|
432
465
|
* How a form's sections are presented.
|
|
@@ -474,7 +507,7 @@ interface FormLayoutProps {
|
|
|
474
507
|
* component growing a second copy of it — and the `accordion` branch is the
|
|
475
508
|
* original markup, untouched.
|
|
476
509
|
*/
|
|
477
|
-
declare const FormLayout:
|
|
510
|
+
declare const FormLayout: React__default.FC<FormLayoutProps>;
|
|
478
511
|
|
|
479
512
|
interface DynamicFormProps {
|
|
480
513
|
/**
|
|
@@ -496,7 +529,7 @@ interface DynamicFormProps {
|
|
|
496
529
|
* Default form view. Renders `schema.title` as the page heading and each
|
|
497
530
|
* section as a collapsible card unless `sectionMode` says otherwise.
|
|
498
531
|
*/
|
|
499
|
-
declare const DynamicForm:
|
|
532
|
+
declare const DynamicForm: React__default.FC<DynamicFormProps>;
|
|
500
533
|
|
|
501
534
|
/** @deprecated Prefer {@link FormSectionMode}; kept so existing imports resolve. */
|
|
502
535
|
type DynamicFormV2SectionMode = FormSectionMode;
|
|
@@ -519,7 +552,7 @@ interface DynamicFormV2Props {
|
|
|
519
552
|
* Alternate layout shell for alternative designs (e.g. marketing / minimal flows).
|
|
520
553
|
* Same schema traversal as {@link DynamicForm}; configurable title and section chrome.
|
|
521
554
|
*/
|
|
522
|
-
declare const DynamicFormV2:
|
|
555
|
+
declare const DynamicFormV2: React__default.FC<DynamicFormV2Props>;
|
|
523
556
|
|
|
524
557
|
interface MultiStepFormProps {
|
|
525
558
|
/** When true, renders `schema.title` as the page heading. Default true. */
|
|
@@ -533,7 +566,7 @@ interface MultiStepFormProps {
|
|
|
533
566
|
* Multi-step groups unlock steps linearly: a step becomes visible only when
|
|
534
567
|
* all fields in the previous step are valid (no errors, required fields filled).
|
|
535
568
|
*/
|
|
536
|
-
declare const MultiStepForm:
|
|
569
|
+
declare const MultiStepForm: React__default.FC<MultiStepFormProps>;
|
|
537
570
|
|
|
538
571
|
/** Shape of one differential diagnosis item from AI (must match form field value) */
|
|
539
572
|
type AIDifferentialDiagnosisItem = {
|
|
@@ -567,7 +600,7 @@ interface SmartFormProps {
|
|
|
567
600
|
* one batch without marking fields as touched. Re-applies when the result
|
|
568
601
|
* reference or content changes (e.g. streaming or incremental AI updates).
|
|
569
602
|
*/
|
|
570
|
-
declare const SmartForm:
|
|
603
|
+
declare const SmartForm: React__default.FC<SmartFormProps>;
|
|
571
604
|
|
|
572
605
|
/**
|
|
573
606
|
* A class value accepted by the field style helpers. Mirrors what `cn` (clsx +
|
|
@@ -659,7 +692,7 @@ declare function fieldErrorClass(fieldDef: Pick<BaseFieldDef, "style">, ...defau
|
|
|
659
692
|
interface FieldRendererProps {
|
|
660
693
|
fieldId: string;
|
|
661
694
|
}
|
|
662
|
-
declare const FieldRenderer:
|
|
695
|
+
declare const FieldRenderer: React__default.FC<FieldRendererProps>;
|
|
663
696
|
|
|
664
697
|
interface SubmissionData {
|
|
665
698
|
created_at: string;
|
|
@@ -689,21 +722,21 @@ interface ReadOnlyFormProps {
|
|
|
689
722
|
schema: FormDef;
|
|
690
723
|
submission: SubmissionData;
|
|
691
724
|
}
|
|
692
|
-
declare const ReadOnlyForm:
|
|
725
|
+
declare const ReadOnlyForm: React__default.FC<ReadOnlyFormProps>;
|
|
693
726
|
|
|
694
727
|
interface FormControlsProps {
|
|
695
728
|
className?: string;
|
|
696
|
-
containerStyle?:
|
|
729
|
+
containerStyle?: React__default.CSSProperties;
|
|
697
730
|
/**
|
|
698
731
|
* When false, hides workflow state + valid/invalid text. Buttons stay right-aligned unless
|
|
699
732
|
* `actionsFullWidth` is used. Default true (existing behaviour).
|
|
700
733
|
*/
|
|
701
734
|
showWorkflowStatus?: boolean;
|
|
702
735
|
statusClassName?: string;
|
|
703
|
-
statusStyle?:
|
|
736
|
+
statusStyle?: React__default.CSSProperties;
|
|
704
737
|
/** Classes for the buttons row wrapper. */
|
|
705
738
|
actionsClassName?: string;
|
|
706
|
-
actionsStyle?:
|
|
739
|
+
actionsStyle?: React__default.CSSProperties;
|
|
707
740
|
/**
|
|
708
741
|
* When workflow status is hidden, make action buttons stretch (column on small screens;
|
|
709
742
|
* on `sm+` submit row grows with flex). Ignored while `showWorkflowStatus` is true.
|
|
@@ -716,7 +749,7 @@ interface FormControlsProps {
|
|
|
716
749
|
/** Override the label on the submit/transition button. Defaults to "Submit". */
|
|
717
750
|
submitLabel?: string;
|
|
718
751
|
}
|
|
719
|
-
declare const FormControls:
|
|
752
|
+
declare const FormControls: React__default.FC<FormControlsProps>;
|
|
720
753
|
|
|
721
754
|
interface UploadProps {
|
|
722
755
|
accept?: string;
|
|
@@ -730,7 +763,7 @@ interface UploadProps {
|
|
|
730
763
|
/** Primary drop-zone label from the field template (supports `\n` for line breaks). */
|
|
731
764
|
label?: string;
|
|
732
765
|
placeholder?: string;
|
|
733
|
-
beforeUploadContent?:
|
|
766
|
+
beforeUploadContent?: React__default.ReactNode;
|
|
734
767
|
id?: string;
|
|
735
768
|
/**
|
|
736
769
|
* When true, do not show "N files selected" in the drop zone; parent can render file rows.
|
|
@@ -739,19 +772,19 @@ interface UploadProps {
|
|
|
739
772
|
}
|
|
740
773
|
declare function Upload({ value, accept, multiple, disabled, onChange, className, formatsLabel, label, placeholder, beforeUploadContent, id: idProp, listLayout, }: UploadProps): react_jsx_runtime.JSX.Element;
|
|
741
774
|
|
|
742
|
-
declare const FormFileUploadWidget:
|
|
775
|
+
declare const FormFileUploadWidget: React__default.FC<{
|
|
743
776
|
fieldId: string;
|
|
744
777
|
}>;
|
|
745
778
|
|
|
746
|
-
declare const ImageUploadWidget:
|
|
779
|
+
declare const ImageUploadWidget: React__default.FC<{
|
|
747
780
|
fieldId: string;
|
|
748
781
|
}>;
|
|
749
782
|
|
|
750
|
-
declare const MediaUploadWidget:
|
|
783
|
+
declare const MediaUploadWidget: React__default.FC<{
|
|
751
784
|
fieldId: string;
|
|
752
785
|
}>;
|
|
753
786
|
|
|
754
|
-
declare const SignatureUploadWidget:
|
|
787
|
+
declare const SignatureUploadWidget: React__default.FC<{
|
|
755
788
|
fieldId: string;
|
|
756
789
|
}>;
|
|
757
790
|
|
|
@@ -759,19 +792,19 @@ interface ReadOnlyImageUploadProps {
|
|
|
759
792
|
fieldDef: BaseFieldDef;
|
|
760
793
|
value: any;
|
|
761
794
|
}
|
|
762
|
-
declare const ReadOnlyImageUpload:
|
|
795
|
+
declare const ReadOnlyImageUpload: React__default.FC<ReadOnlyImageUploadProps>;
|
|
763
796
|
|
|
764
797
|
interface ReadOnlyMediaUploadProps {
|
|
765
798
|
fieldDef: BaseFieldDef;
|
|
766
799
|
value: any;
|
|
767
800
|
}
|
|
768
|
-
declare const ReadOnlyMediaUpload:
|
|
801
|
+
declare const ReadOnlyMediaUpload: React__default.FC<ReadOnlyMediaUploadProps>;
|
|
769
802
|
|
|
770
803
|
interface ReadOnlySignatureProps {
|
|
771
804
|
fieldDef: BaseFieldDef;
|
|
772
805
|
value: any;
|
|
773
806
|
}
|
|
774
|
-
declare const ReadOnlySignature:
|
|
807
|
+
declare const ReadOnlySignature: React__default.FC<ReadOnlySignatureProps>;
|
|
775
808
|
|
|
776
809
|
interface PresignedUploadResponse {
|
|
777
810
|
presigned_url: string;
|
|
@@ -868,9 +901,9 @@ type AddMedicationFieldProps = {
|
|
|
868
901
|
suggestedMedications?: AIMedication[];
|
|
869
902
|
packages?: MedicationPackage[];
|
|
870
903
|
/** Extra UI rendered inside each added medicine's card, below its notes section. */
|
|
871
|
-
renderItemAction?: (item: Medication) =>
|
|
904
|
+
renderItemAction?: (item: Medication) => React__default.ReactNode;
|
|
872
905
|
};
|
|
873
|
-
declare const AddMedicationField:
|
|
906
|
+
declare const AddMedicationField: React__default.FC<AddMedicationFieldProps>;
|
|
874
907
|
|
|
875
908
|
type InvestigationSearchResult = {
|
|
876
909
|
id: string;
|
|
@@ -916,9 +949,9 @@ type AddInvestigationFieldProps = {
|
|
|
916
949
|
frequentItems?: InvestigationFrequentItem[];
|
|
917
950
|
packages?: DiagnosticPackage[];
|
|
918
951
|
/** Extra UI rendered inside each added item's row, before the remove button. */
|
|
919
|
-
renderItemAction?: (item: Investigation) =>
|
|
952
|
+
renderItemAction?: (item: Investigation) => React__default.ReactNode;
|
|
920
953
|
};
|
|
921
|
-
declare const AddInvestigationField:
|
|
954
|
+
declare const AddInvestigationField: React__default.FC<AddInvestigationFieldProps>;
|
|
922
955
|
|
|
923
956
|
type ProcedureSearchResult = {
|
|
924
957
|
id: string;
|
|
@@ -962,9 +995,9 @@ type AddProcedureFieldProps = {
|
|
|
962
995
|
/** Doctor-scoped frequently used procedures (from FormProvider frequentItems) */
|
|
963
996
|
frequentItems?: ProcedureFrequentItem[];
|
|
964
997
|
/** Extra UI rendered inside each added item's row, before the remove button. */
|
|
965
|
-
renderItemAction?: (item: Procedure) =>
|
|
998
|
+
renderItemAction?: (item: Procedure) => React__default.ReactNode;
|
|
966
999
|
};
|
|
967
|
-
declare const AddProcedureField:
|
|
1000
|
+
declare const AddProcedureField: React__default.FC<AddProcedureFieldProps>;
|
|
968
1001
|
|
|
969
1002
|
type DifferentialDiagnosisItem = {
|
|
970
1003
|
category: string;
|
|
@@ -988,7 +1021,7 @@ type DifferentialDiagnosisProps = {
|
|
|
988
1021
|
* Classic: rounded border [#D0D0D0], pink highlight label strip (#FEE8EC).
|
|
989
1022
|
* V2: matches text fields — uppercase muted label + soft grey rounded body.
|
|
990
1023
|
*/
|
|
991
|
-
declare const DifferentialDiagnosis:
|
|
1024
|
+
declare const DifferentialDiagnosis: React__default.FC<DifferentialDiagnosisProps>;
|
|
992
1025
|
|
|
993
1026
|
declare function DentalChartReadOnly({ data, className, }: {
|
|
994
1027
|
data: DentalChartData;
|
|
@@ -1054,4 +1087,4 @@ declare function BpeChartReadOnly({ data: rawData, label, className, }: {
|
|
|
1054
1087
|
className?: string;
|
|
1055
1088
|
}): react_jsx_runtime.JSX.Element;
|
|
1056
1089
|
|
|
1057
|
-
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, AddProcedureField, type AddProcedureFieldProps, BPE_SCORES, BaseFieldDef, type BpeChartData, BpeChartReadOnly, type BpeScore, type CampBookingConfig, CampBookingPersistenceProvider, type CreateUploadHandlerOptions, type CustomProcedure, DEFAULT_FORM_UI_SKIN, CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartData, DentalChartReadOnly, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, type DynamicFormProps, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type FieldClassValue, type FieldControlClassOptions, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormLayout, type FormLayoutProps, type FormNavConfig, FormProvider, type FormSectionMode, FormState, FormStore, type FormUiSkin, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, MAR_MEDICATION_ORDERS_META_KEY, type MasterProcedure, MediaUploadWidget, type Medication, MedicationFrequentItem, MedicationPackage, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, type PresignedUploadResponse, type Procedure, ProcedureFrequentItem, type ProcedureSearchResult, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SECTION_SCROLL_MARGIN, SEXTANTS, SectionNav, type SectionNavClassNames, type SectionNavItem, type SectionNavProps, type SextantKey, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreCampsConfig, type StoreConfig, type SubmissionData, ToothCondition, Upload, type UploadProps, WorkflowTransition, createUploadHandler, evaluateRules, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, isLabelVisible, normalizeDentalChart, toothLabel, useField, useFieldHandlers, useForm, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, validateField, validateForm };
|
|
1090
|
+
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, AddProcedureField, type AddProcedureFieldProps, BPE_SCORES, BaseFieldDef, type BpeChartData, BpeChartReadOnly, type BpeScore, type CampBookingConfig, CampBookingPersistenceProvider, type CreateUploadHandlerOptions, type CustomProcedure, DEFAULT_FORM_UI_SKIN, CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartData, DentalChartReadOnly, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, type DynamicFormProps, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type FieldClassValue, type FieldControlClassOptions, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormLayout, type FormLayoutProps, type FormNavConfig, FormProvider, type FormSectionMode, FormState, FormStore, type FormUiSkin, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, MAR_MEDICATION_ORDERS_META_KEY, type MasterProcedure, MediaUploadWidget, type Medication, MedicationFrequentItem, MedicationPackage, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, type PresignedUploadResponse, type Procedure, ProcedureFrequentItem, type ProcedureSearchResult, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SECTION_SCROLL_MARGIN, SEXTANTS, SectionNav, type SectionNavClassNames, type SectionNavItem, type SectionNavProps, type SextantKey, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreCampsConfig, type StoreConfig, type SubmissionData, type TextareaOverrideProps, ToothCondition, Upload, type UploadProps, type WidgetOverrides, WorkflowTransition, createUploadHandler, evaluateRules, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, isLabelVisible, normalizeDentalChart, toothLabel, useField, useFieldHandlers, useForm, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, useWidgetOverrides, validateField, validateForm };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { P as FormValues, M as FormDef, O as FormState, F as FieldDef, aY as WorkflowTransition, au as Rule, v as DoctorFrequentItems, s as DiagnosticPackage, a6 as MedicationPackage, B as BaseFieldDef, a5 as MedicationFrequentItem, Z as InvestigationFrequentItem, an as ProcedureFrequentItem, n as DentalChartData, aO as ToothCondition } from './types-Bp-DGSW8.js';
|
|
2
2
|
export { a as BiometryIolWorkupFieldDef, b as BiometryIolWorkupValue, c as BiometryMethod, d as BpeChartFieldDef, C as CampDateOption, e as CampDateSelection, f as CampDatesFieldDef, g as CampTimeSlotOption, h as CampTimeSlotSelection, i as CampTimeSlotsFieldDef, j as CheckboxFieldDef, k as ColumnLayout, l as Computation, m as Condition, D as DataSource, o as DentalChartFieldDef, p as DiagnosisGradeSelection, q as DiagnosisTextareaFieldDef, r as DiagnosisTextareaValue, t as DiagnosticPackageTest, u as DifferentialDiagnosisFieldDef, E as EditableTableColumnDef, w as EditableTableFieldDef, x as EventDefinition, y as ExtractedKeywordMatch, z as FieldPrefill, A as FieldState, G as FieldStyleClassNames, H as FieldStyleConfig, I as FieldType, J as FileUploadFieldDef, K as FollowupFieldDef, L as FollowupValue, N as FormErrors, Q as FormulaComputation, R as FormulaExpr, S as FunctionalImpairmentDimension, T as FunctionalImpairmentScoreFieldDef, U as FunctionalImpairmentScoreValue, V as GeneralSurgeryExaminationFieldDef, W as GeneralSurgeryGradingFieldDef, X as GeneralSurgerySmartHistoryFieldDef, Y as ImageUploadFieldDef, _ as InvestigationsFieldDef, $ as LayoutNode, a0 as LensAssessmentFieldDef, a1 as LensAssessmentValue, a2 as LocsGrades, a3 as MatchedCondition, a4 as MediaUploadFieldDef, a7 as MedicationPackageDrug, a8 as MedicationsFieldDef, a9 as MultiStepLayoutNode, aa as MultiStepNode, ab as NumberFieldDef, ac as OBGExaminationFieldDef, ad as OBGPathwayFieldDef, ae as OralHygieneFieldDef, af as OralHygieneValue, ag as OtpInputFieldDef, ah as OtpVerifiedValue, ai as PainScaleFlagsFieldDef, aj as Permission, ak as PhoneInputFieldDef, al as PregnancyStatusFieldDef, am as PregnancyStatusValue, ao as ProceduresFieldDef, ap as RadioFieldDef, aq as ReferralFieldDef, ar as ReferralItem, as as RepeatableFieldDef, at as RichTextFieldDef, av as RuleAction, aw as ScoreComputation, ax as ScoreRange, ay as Section, az as SectionChild, aA as SelectFieldDef, aB as SelectOption, aC as SignatureFieldDef, aD as SliderFieldDef, aE as SmartTextareaFieldDef, aF as SmartTextareaValue, aG as SocialHistoryFieldDef, aH as StaticTextFieldDef, aI as SuggestionTextareaFieldDef, aJ as SumComputation, aK as SurgicalRiskFlagsFieldDef, aL as SurgicalRiskFlagsValue, aM as TextFieldDef, aN as ToggleFieldDef, aP as ToothEntry, aQ as TreatmentPlanFieldDef, aR as UrologyExaminationFieldDef, aS as UrologyPathwayFieldDef, aT as UrologySmartHistoryFieldDef, aU as ValidationRule, aV as VitalsFieldDef, aW as WebhookDef, aX as Workflow } from './types-Bp-DGSW8.js';
|
|
3
|
-
import React from 'react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { b as Extensions, E as Editor } from './richTextClassName-DGvZ5_t4.js';
|
|
6
|
+
export { r as richTextHtmlClassName } from './richTextClassName-DGvZ5_t4.js';
|
|
4
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
|
|
8
|
+
import '@tiptap/pm/state';
|
|
9
|
+
import '@tiptap/pm/model';
|
|
10
|
+
import '@tiptap/pm/view';
|
|
11
|
+
import '@tiptap/pm/transform';
|
|
6
12
|
|
|
7
13
|
interface SavedState {
|
|
8
14
|
values: FormValues;
|
|
@@ -268,6 +274,30 @@ declare function evaluateRules(values: FormValues, rules: Rule[], fields: Record
|
|
|
268
274
|
type FormUiSkin = 'classic' | 'v2';
|
|
269
275
|
declare const DEFAULT_FORM_UI_SKIN: FormUiSkin;
|
|
270
276
|
|
|
277
|
+
type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
278
|
+
/** Height in pixels. If not provided, uses default min height (80px). */
|
|
279
|
+
height?: number;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
type TextareaOverrideProps = TextareaProps & {
|
|
283
|
+
ref?: React__default.Ref<HTMLTextAreaElement>;
|
|
284
|
+
/** Forminator's own styled textarea. Render it to keep the default look. */
|
|
285
|
+
DefaultTextarea: React__default.ComponentType<TextareaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* Host-supplied replacements/extensions for built-in widgets. Keep the object
|
|
289
|
+
* stable (memoize it): changing `richTextExtensions` recreates every editor.
|
|
290
|
+
*/
|
|
291
|
+
type WidgetOverrides = {
|
|
292
|
+
/** Replaces the textarea used by `textarea` / `social_history` fields. */
|
|
293
|
+
Textarea?: React__default.ComponentType<TextareaOverrideProps>;
|
|
294
|
+
/** Extra TipTap extensions added to every `richtext` editor. */
|
|
295
|
+
richTextExtensions?: Extensions;
|
|
296
|
+
/** Rendered next to every `richtext` editor, e.g. for popups tied to it. */
|
|
297
|
+
RichTextAddon?: React__default.ComponentType<{
|
|
298
|
+
editor: Editor | null;
|
|
299
|
+
}>;
|
|
300
|
+
};
|
|
271
301
|
type FieldHandler = {
|
|
272
302
|
onSearch: (query: string) => Promise<any[]>;
|
|
273
303
|
recentlyUsed?: any[];
|
|
@@ -308,7 +338,7 @@ type FieldHandler = {
|
|
|
308
338
|
* or an accession-number badge). Return null/undefined to render nothing for
|
|
309
339
|
* that item.
|
|
310
340
|
*/
|
|
311
|
-
renderItemAction?: (item: any) =>
|
|
341
|
+
renderItemAction?: (item: any) => React__default.ReactNode;
|
|
312
342
|
};
|
|
313
343
|
type FieldHandlersMap = Record<string, FieldHandler>;
|
|
314
344
|
declare function useFieldHandlers(fieldId: string): FieldHandler;
|
|
@@ -323,6 +353,7 @@ declare function useMedicationPackages(): MedicationPackage[];
|
|
|
323
353
|
* existing hosts and forms render exactly as before.
|
|
324
354
|
*/
|
|
325
355
|
declare function useFormUiSkin(): FormUiSkin;
|
|
356
|
+
declare function useWidgetOverrides(): WidgetOverrides;
|
|
326
357
|
interface FormProviderProps {
|
|
327
358
|
schema: FormDef;
|
|
328
359
|
config?: StoreConfig;
|
|
@@ -340,9 +371,11 @@ interface FormProviderProps {
|
|
|
340
371
|
* into the new design without affecting other consumers of this package.
|
|
341
372
|
*/
|
|
342
373
|
uiSkin?: FormUiSkin;
|
|
343
|
-
|
|
374
|
+
/** Optional widget replacements/extensions. Omitted means no behavior change. */
|
|
375
|
+
widgetOverrides?: WidgetOverrides;
|
|
376
|
+
children: React__default.ReactNode;
|
|
344
377
|
}
|
|
345
|
-
declare const FormProvider:
|
|
378
|
+
declare const FormProvider: React__default.FC<FormProviderProps>;
|
|
346
379
|
declare function useFormStore(): FormStore;
|
|
347
380
|
|
|
348
381
|
declare function useForm(): {
|
|
@@ -426,7 +459,7 @@ declare const SECTION_SCROLL_MARGIN = "scroll-mt-24";
|
|
|
426
459
|
* so find-in-page and printing keep working, and a validation error can never
|
|
427
460
|
* be sitting inside a collapsed panel.
|
|
428
461
|
*/
|
|
429
|
-
declare const SectionNav:
|
|
462
|
+
declare const SectionNav: React__default.FC<SectionNavProps>;
|
|
430
463
|
|
|
431
464
|
/**
|
|
432
465
|
* How a form's sections are presented.
|
|
@@ -474,7 +507,7 @@ interface FormLayoutProps {
|
|
|
474
507
|
* component growing a second copy of it — and the `accordion` branch is the
|
|
475
508
|
* original markup, untouched.
|
|
476
509
|
*/
|
|
477
|
-
declare const FormLayout:
|
|
510
|
+
declare const FormLayout: React__default.FC<FormLayoutProps>;
|
|
478
511
|
|
|
479
512
|
interface DynamicFormProps {
|
|
480
513
|
/**
|
|
@@ -496,7 +529,7 @@ interface DynamicFormProps {
|
|
|
496
529
|
* Default form view. Renders `schema.title` as the page heading and each
|
|
497
530
|
* section as a collapsible card unless `sectionMode` says otherwise.
|
|
498
531
|
*/
|
|
499
|
-
declare const DynamicForm:
|
|
532
|
+
declare const DynamicForm: React__default.FC<DynamicFormProps>;
|
|
500
533
|
|
|
501
534
|
/** @deprecated Prefer {@link FormSectionMode}; kept so existing imports resolve. */
|
|
502
535
|
type DynamicFormV2SectionMode = FormSectionMode;
|
|
@@ -519,7 +552,7 @@ interface DynamicFormV2Props {
|
|
|
519
552
|
* Alternate layout shell for alternative designs (e.g. marketing / minimal flows).
|
|
520
553
|
* Same schema traversal as {@link DynamicForm}; configurable title and section chrome.
|
|
521
554
|
*/
|
|
522
|
-
declare const DynamicFormV2:
|
|
555
|
+
declare const DynamicFormV2: React__default.FC<DynamicFormV2Props>;
|
|
523
556
|
|
|
524
557
|
interface MultiStepFormProps {
|
|
525
558
|
/** When true, renders `schema.title` as the page heading. Default true. */
|
|
@@ -533,7 +566,7 @@ interface MultiStepFormProps {
|
|
|
533
566
|
* Multi-step groups unlock steps linearly: a step becomes visible only when
|
|
534
567
|
* all fields in the previous step are valid (no errors, required fields filled).
|
|
535
568
|
*/
|
|
536
|
-
declare const MultiStepForm:
|
|
569
|
+
declare const MultiStepForm: React__default.FC<MultiStepFormProps>;
|
|
537
570
|
|
|
538
571
|
/** Shape of one differential diagnosis item from AI (must match form field value) */
|
|
539
572
|
type AIDifferentialDiagnosisItem = {
|
|
@@ -567,7 +600,7 @@ interface SmartFormProps {
|
|
|
567
600
|
* one batch without marking fields as touched. Re-applies when the result
|
|
568
601
|
* reference or content changes (e.g. streaming or incremental AI updates).
|
|
569
602
|
*/
|
|
570
|
-
declare const SmartForm:
|
|
603
|
+
declare const SmartForm: React__default.FC<SmartFormProps>;
|
|
571
604
|
|
|
572
605
|
/**
|
|
573
606
|
* A class value accepted by the field style helpers. Mirrors what `cn` (clsx +
|
|
@@ -659,7 +692,7 @@ declare function fieldErrorClass(fieldDef: Pick<BaseFieldDef, "style">, ...defau
|
|
|
659
692
|
interface FieldRendererProps {
|
|
660
693
|
fieldId: string;
|
|
661
694
|
}
|
|
662
|
-
declare const FieldRenderer:
|
|
695
|
+
declare const FieldRenderer: React__default.FC<FieldRendererProps>;
|
|
663
696
|
|
|
664
697
|
interface SubmissionData {
|
|
665
698
|
created_at: string;
|
|
@@ -689,21 +722,21 @@ interface ReadOnlyFormProps {
|
|
|
689
722
|
schema: FormDef;
|
|
690
723
|
submission: SubmissionData;
|
|
691
724
|
}
|
|
692
|
-
declare const ReadOnlyForm:
|
|
725
|
+
declare const ReadOnlyForm: React__default.FC<ReadOnlyFormProps>;
|
|
693
726
|
|
|
694
727
|
interface FormControlsProps {
|
|
695
728
|
className?: string;
|
|
696
|
-
containerStyle?:
|
|
729
|
+
containerStyle?: React__default.CSSProperties;
|
|
697
730
|
/**
|
|
698
731
|
* When false, hides workflow state + valid/invalid text. Buttons stay right-aligned unless
|
|
699
732
|
* `actionsFullWidth` is used. Default true (existing behaviour).
|
|
700
733
|
*/
|
|
701
734
|
showWorkflowStatus?: boolean;
|
|
702
735
|
statusClassName?: string;
|
|
703
|
-
statusStyle?:
|
|
736
|
+
statusStyle?: React__default.CSSProperties;
|
|
704
737
|
/** Classes for the buttons row wrapper. */
|
|
705
738
|
actionsClassName?: string;
|
|
706
|
-
actionsStyle?:
|
|
739
|
+
actionsStyle?: React__default.CSSProperties;
|
|
707
740
|
/**
|
|
708
741
|
* When workflow status is hidden, make action buttons stretch (column on small screens;
|
|
709
742
|
* on `sm+` submit row grows with flex). Ignored while `showWorkflowStatus` is true.
|
|
@@ -716,7 +749,7 @@ interface FormControlsProps {
|
|
|
716
749
|
/** Override the label on the submit/transition button. Defaults to "Submit". */
|
|
717
750
|
submitLabel?: string;
|
|
718
751
|
}
|
|
719
|
-
declare const FormControls:
|
|
752
|
+
declare const FormControls: React__default.FC<FormControlsProps>;
|
|
720
753
|
|
|
721
754
|
interface UploadProps {
|
|
722
755
|
accept?: string;
|
|
@@ -730,7 +763,7 @@ interface UploadProps {
|
|
|
730
763
|
/** Primary drop-zone label from the field template (supports `\n` for line breaks). */
|
|
731
764
|
label?: string;
|
|
732
765
|
placeholder?: string;
|
|
733
|
-
beforeUploadContent?:
|
|
766
|
+
beforeUploadContent?: React__default.ReactNode;
|
|
734
767
|
id?: string;
|
|
735
768
|
/**
|
|
736
769
|
* When true, do not show "N files selected" in the drop zone; parent can render file rows.
|
|
@@ -739,19 +772,19 @@ interface UploadProps {
|
|
|
739
772
|
}
|
|
740
773
|
declare function Upload({ value, accept, multiple, disabled, onChange, className, formatsLabel, label, placeholder, beforeUploadContent, id: idProp, listLayout, }: UploadProps): react_jsx_runtime.JSX.Element;
|
|
741
774
|
|
|
742
|
-
declare const FormFileUploadWidget:
|
|
775
|
+
declare const FormFileUploadWidget: React__default.FC<{
|
|
743
776
|
fieldId: string;
|
|
744
777
|
}>;
|
|
745
778
|
|
|
746
|
-
declare const ImageUploadWidget:
|
|
779
|
+
declare const ImageUploadWidget: React__default.FC<{
|
|
747
780
|
fieldId: string;
|
|
748
781
|
}>;
|
|
749
782
|
|
|
750
|
-
declare const MediaUploadWidget:
|
|
783
|
+
declare const MediaUploadWidget: React__default.FC<{
|
|
751
784
|
fieldId: string;
|
|
752
785
|
}>;
|
|
753
786
|
|
|
754
|
-
declare const SignatureUploadWidget:
|
|
787
|
+
declare const SignatureUploadWidget: React__default.FC<{
|
|
755
788
|
fieldId: string;
|
|
756
789
|
}>;
|
|
757
790
|
|
|
@@ -759,19 +792,19 @@ interface ReadOnlyImageUploadProps {
|
|
|
759
792
|
fieldDef: BaseFieldDef;
|
|
760
793
|
value: any;
|
|
761
794
|
}
|
|
762
|
-
declare const ReadOnlyImageUpload:
|
|
795
|
+
declare const ReadOnlyImageUpload: React__default.FC<ReadOnlyImageUploadProps>;
|
|
763
796
|
|
|
764
797
|
interface ReadOnlyMediaUploadProps {
|
|
765
798
|
fieldDef: BaseFieldDef;
|
|
766
799
|
value: any;
|
|
767
800
|
}
|
|
768
|
-
declare const ReadOnlyMediaUpload:
|
|
801
|
+
declare const ReadOnlyMediaUpload: React__default.FC<ReadOnlyMediaUploadProps>;
|
|
769
802
|
|
|
770
803
|
interface ReadOnlySignatureProps {
|
|
771
804
|
fieldDef: BaseFieldDef;
|
|
772
805
|
value: any;
|
|
773
806
|
}
|
|
774
|
-
declare const ReadOnlySignature:
|
|
807
|
+
declare const ReadOnlySignature: React__default.FC<ReadOnlySignatureProps>;
|
|
775
808
|
|
|
776
809
|
interface PresignedUploadResponse {
|
|
777
810
|
presigned_url: string;
|
|
@@ -868,9 +901,9 @@ type AddMedicationFieldProps = {
|
|
|
868
901
|
suggestedMedications?: AIMedication[];
|
|
869
902
|
packages?: MedicationPackage[];
|
|
870
903
|
/** Extra UI rendered inside each added medicine's card, below its notes section. */
|
|
871
|
-
renderItemAction?: (item: Medication) =>
|
|
904
|
+
renderItemAction?: (item: Medication) => React__default.ReactNode;
|
|
872
905
|
};
|
|
873
|
-
declare const AddMedicationField:
|
|
906
|
+
declare const AddMedicationField: React__default.FC<AddMedicationFieldProps>;
|
|
874
907
|
|
|
875
908
|
type InvestigationSearchResult = {
|
|
876
909
|
id: string;
|
|
@@ -916,9 +949,9 @@ type AddInvestigationFieldProps = {
|
|
|
916
949
|
frequentItems?: InvestigationFrequentItem[];
|
|
917
950
|
packages?: DiagnosticPackage[];
|
|
918
951
|
/** Extra UI rendered inside each added item's row, before the remove button. */
|
|
919
|
-
renderItemAction?: (item: Investigation) =>
|
|
952
|
+
renderItemAction?: (item: Investigation) => React__default.ReactNode;
|
|
920
953
|
};
|
|
921
|
-
declare const AddInvestigationField:
|
|
954
|
+
declare const AddInvestigationField: React__default.FC<AddInvestigationFieldProps>;
|
|
922
955
|
|
|
923
956
|
type ProcedureSearchResult = {
|
|
924
957
|
id: string;
|
|
@@ -962,9 +995,9 @@ type AddProcedureFieldProps = {
|
|
|
962
995
|
/** Doctor-scoped frequently used procedures (from FormProvider frequentItems) */
|
|
963
996
|
frequentItems?: ProcedureFrequentItem[];
|
|
964
997
|
/** Extra UI rendered inside each added item's row, before the remove button. */
|
|
965
|
-
renderItemAction?: (item: Procedure) =>
|
|
998
|
+
renderItemAction?: (item: Procedure) => React__default.ReactNode;
|
|
966
999
|
};
|
|
967
|
-
declare const AddProcedureField:
|
|
1000
|
+
declare const AddProcedureField: React__default.FC<AddProcedureFieldProps>;
|
|
968
1001
|
|
|
969
1002
|
type DifferentialDiagnosisItem = {
|
|
970
1003
|
category: string;
|
|
@@ -988,7 +1021,7 @@ type DifferentialDiagnosisProps = {
|
|
|
988
1021
|
* Classic: rounded border [#D0D0D0], pink highlight label strip (#FEE8EC).
|
|
989
1022
|
* V2: matches text fields — uppercase muted label + soft grey rounded body.
|
|
990
1023
|
*/
|
|
991
|
-
declare const DifferentialDiagnosis:
|
|
1024
|
+
declare const DifferentialDiagnosis: React__default.FC<DifferentialDiagnosisProps>;
|
|
992
1025
|
|
|
993
1026
|
declare function DentalChartReadOnly({ data, className, }: {
|
|
994
1027
|
data: DentalChartData;
|
|
@@ -1054,4 +1087,4 @@ declare function BpeChartReadOnly({ data: rawData, label, className, }: {
|
|
|
1054
1087
|
className?: string;
|
|
1055
1088
|
}): react_jsx_runtime.JSX.Element;
|
|
1056
1089
|
|
|
1057
|
-
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, AddProcedureField, type AddProcedureFieldProps, BPE_SCORES, BaseFieldDef, type BpeChartData, BpeChartReadOnly, type BpeScore, type CampBookingConfig, CampBookingPersistenceProvider, type CreateUploadHandlerOptions, type CustomProcedure, DEFAULT_FORM_UI_SKIN, CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartData, DentalChartReadOnly, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, type DynamicFormProps, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type FieldClassValue, type FieldControlClassOptions, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormLayout, type FormLayoutProps, type FormNavConfig, FormProvider, type FormSectionMode, FormState, FormStore, type FormUiSkin, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, MAR_MEDICATION_ORDERS_META_KEY, type MasterProcedure, MediaUploadWidget, type Medication, MedicationFrequentItem, MedicationPackage, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, type PresignedUploadResponse, type Procedure, ProcedureFrequentItem, type ProcedureSearchResult, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SECTION_SCROLL_MARGIN, SEXTANTS, SectionNav, type SectionNavClassNames, type SectionNavItem, type SectionNavProps, type SextantKey, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreCampsConfig, type StoreConfig, type SubmissionData, ToothCondition, Upload, type UploadProps, WorkflowTransition, createUploadHandler, evaluateRules, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, isLabelVisible, normalizeDentalChart, toothLabel, useField, useFieldHandlers, useForm, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, validateField, validateForm };
|
|
1090
|
+
export { type AIDifferentialDiagnosisItem, AddInvestigationField, type AddInvestigationFieldProps, AddMedicationField, type AddMedicationFieldProps, AddProcedureField, type AddProcedureFieldProps, BPE_SCORES, BaseFieldDef, type BpeChartData, BpeChartReadOnly, type BpeScore, type CampBookingConfig, CampBookingPersistenceProvider, type CreateUploadHandlerOptions, type CustomProcedure, DEFAULT_FORM_UI_SKIN, CONDITION_CONFIG as DENTAL_CONDITION_CONFIG, QUADRANTS as DENTAL_QUADRANTS, DentalChartData, DentalChartReadOnly, DiagnosticPackage, DifferentialDiagnosis, type DifferentialDiagnosisItem, type DifferentialDiagnosisProps, DoctorFrequentItems, DynamicForm, type DynamicFormProps, DynamicFormV2, type DynamicFormV2Props, type DynamicFormV2SectionMode, EMAIL_REGEX, type FieldClassValue, type FieldControlClassOptions, FieldDef, type FieldHandler, type FieldHandlersMap, FieldRenderer, FieldRequiredIndicator, FormControls, type FormControlsProps, FormDef, FormFileUploadWidget, FormLayout, type FormLayoutProps, type FormNavConfig, FormProvider, type FormSectionMode, FormState, FormStore, type FormUiSkin, FormValues, ImageUploadWidget, type Investigation, InvestigationFrequentItem, type InvestigationSearchResult, MAR_MEDICATION_ORDERS_META_KEY, type MasterProcedure, MediaUploadWidget, type Medication, MedicationFrequentItem, MedicationPackage, type MedicationSearchResult, MultiStepForm, type MultiStepFormProps, type PresignedUploadResponse, type Procedure, ProcedureFrequentItem, type ProcedureSearchResult, ReadOnlyForm, ReadOnlyImageUpload, ReadOnlyMediaUpload, ReadOnlySignature, Rule, type RuleResult, SECTION_SCROLL_MARGIN, SEXTANTS, SectionNav, type SectionNavClassNames, type SectionNavItem, type SectionNavProps, type SextantKey, SignatureUploadWidget, SmartForm, type SmartFormProps, type StoreAuthConfig, type StoreCampsConfig, type StoreConfig, type SubmissionData, type TextareaOverrideProps, ToothCondition, Upload, type UploadProps, type WidgetOverrides, WorkflowTransition, createUploadHandler, evaluateRules, fieldClass, fieldControlClass, fieldDescriptionClass, fieldErrorClass, fieldLabelClass, fieldMetaRequestsMarMedicationOrdersButton, fieldWrapperClass, isLabelVisible, normalizeDentalChart, toothLabel, useField, useFieldHandlers, useForm, useFormStore, useFormUiSkin, useFrequentItems, useMedicationPackages, usePackages, useWidgetOverrides, validateField, validateForm };
|