@srimandir/kundli-matching-generator 4.5.2 → 4.5.4
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/components/KundliMatchingPage/KundliMatchingContext.d.ts +4 -0
- package/dist/components/KundliMatchingPage/KundliMatchingPage.d.ts +4 -0
- package/dist/{criticalCss-se82iQyo.js → criticalCss-B2pSMY5A.js} +502 -483
- package/dist/{criticalCss-se82iQyo.js.map → criticalCss-B2pSMY5A.js.map} +1 -1
- package/dist/form-entry.js +1 -1
- package/dist/{image-kBwJ9YOw.js → image-Bd9nwFHe.js} +389 -378
- package/dist/image-Bd9nwFHe.js.map +1 -0
- package/dist/kundli-matching-generator.js +3 -3
- package/dist/page-entry.js +2 -2
- package/package.json +2 -2
- package/dist/image-kBwJ9YOw.js.map +0 -1
|
@@ -15,6 +15,10 @@ export interface KundliMatchingContextConfig {
|
|
|
15
15
|
onLocaleChange?: (locale: SupportedLocale) => void;
|
|
16
16
|
/** Optional image component (e.g. next/image adapter) for optimized images. */
|
|
17
17
|
imageComponent?: KundliMatchingImageComponent;
|
|
18
|
+
/** Pre-fills form values on mount (e.g. from URL query params on a deep-linked SEO flow). */
|
|
19
|
+
initialFormValues?: Partial<KundliMatchingFormValues>;
|
|
20
|
+
/** When true, automatically opens the plan selection bottom sheet once (deep-linked flows where the form is already fully pre-filled). */
|
|
21
|
+
autoOpenPlanSheet?: boolean;
|
|
18
22
|
}
|
|
19
23
|
export interface KundliMatchingContextValue {
|
|
20
24
|
locale: SupportedLocale;
|
|
@@ -22,6 +22,10 @@ export interface KundliMatchingPageProps {
|
|
|
22
22
|
onProceed?: (formValues: KundliMatchingFormValues, selectedPlan: KundliMatchingPlan) => void;
|
|
23
23
|
/** Notify when user changes language */
|
|
24
24
|
onLocaleChange?: (locale: SupportedLocale) => void;
|
|
25
|
+
/** Pre-fills form values on mount (e.g. from URL query params on a deep-linked SEO flow). */
|
|
26
|
+
initialFormValues?: Partial<KundliMatchingFormValues>;
|
|
27
|
+
/** When true, automatically opens the plan selection bottom sheet once. Used for deep-linked flows where the form is already fully pre-filled. */
|
|
28
|
+
autoOpenPlanSheet?: boolean;
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
27
31
|
* Complete Kundli Matching Generator page with all sections
|