@srimandir/kundli-generator 7.5.7 → 7.5.8
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/{analytics-BZyas-wq.js → analytics-DOC6EHFq.js} +320 -319
- package/dist/analytics-DOC6EHFq.js.map +1 -0
- package/dist/components/KundliPage/KundliContext.d.ts +2 -0
- package/dist/components/KundliPage/KundliPage.d.ts +11 -4
- package/dist/components/KundliPage/KundliPageV1.d.ts +0 -4
- package/dist/{criticalCss-5f00WNFD.js → criticalCss-BIJjNQDN.js} +487 -496
- package/dist/criticalCss-BIJjNQDN.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/package.json +2 -2
- package/dist/analytics-BZyas-wq.js.map +0 -1
- package/dist/criticalCss-5f00WNFD.js.map +0 -1
|
@@ -71,6 +71,8 @@ export interface KundliContextValue {
|
|
|
71
71
|
declare const KundliContext: any;
|
|
72
72
|
export interface KundliProviderProps extends KundliContextConfig {
|
|
73
73
|
className?: string;
|
|
74
|
+
/** Initial view to show on mount. Defaults to "landing". Set to "form" to skip the landing content and show the (optionally pre-filled) form directly, e.g. for deep-linked SEO flows — the back button still correctly returns to the landing view. */
|
|
75
|
+
initialView?: KundliView;
|
|
74
76
|
children?: React.ReactNode;
|
|
75
77
|
}
|
|
76
78
|
export declare const KundliProvider: React.FC<KundliProviderProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SupportedLocale } from '../../i18n/translations';
|
|
2
|
+
import { KundliView } from './KundliContext';
|
|
2
3
|
import { KundliFormValues } from '../KundliForm';
|
|
3
4
|
import { KundliAnalytics } from '../../analytics';
|
|
4
5
|
import { AtlasSearchLocalities } from '../KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete';
|
|
@@ -15,6 +16,16 @@ export interface KundliPageProps {
|
|
|
15
16
|
userId?: number;
|
|
16
17
|
/** Whether the user is global (international) or domestic */
|
|
17
18
|
isGlobal?: boolean;
|
|
19
|
+
/** Variant identifier for analytics tracking / feature gating ("v1" enables the plan bottom sheet flow). */
|
|
20
|
+
variant?: string;
|
|
21
|
+
/** Pre-fills form values on mount (e.g. from URL query params on a deep-linked SEO flow). */
|
|
22
|
+
initialFormValues?: Partial<KundliFormValues>;
|
|
23
|
+
/** When true, automatically opens the plan selection bottom sheet once (requires variant "v1"). Used for deep-linked flows where the form is already fully pre-filled. */
|
|
24
|
+
autoOpenPlanSheet?: boolean;
|
|
25
|
+
/** Initial view to show on mount. Defaults to "landing". Set to "form" to skip the landing content and show the (optionally pre-filled) form directly — the back button still correctly returns to the landing view. */
|
|
26
|
+
initialView?: KundliView;
|
|
27
|
+
/** Called when the form's back button is clicked (in addition to returning to the landing view). */
|
|
28
|
+
onBack?: () => void;
|
|
18
29
|
/** Header logo URL */
|
|
19
30
|
logoUrl?: string;
|
|
20
31
|
/** Premium report cover image URL */
|
|
@@ -63,9 +74,5 @@ export interface KundliPageProps {
|
|
|
63
74
|
* An empty string means "no banner" (show default PremiumReportOverview).
|
|
64
75
|
*/
|
|
65
76
|
resolvedUtmBannerImageUrl?: string;
|
|
66
|
-
/** Pre-fills form values on mount (e.g. from URL query params on a deep-linked SEO flow). */
|
|
67
|
-
initialFormValues?: Partial<KundliFormValues>;
|
|
68
|
-
/** When true, automatically opens the plan selection bottom sheet once (requires variant "v1"). Used for deep-linked flows where the form is already fully pre-filled. */
|
|
69
|
-
autoOpenPlanSheet?: boolean;
|
|
70
77
|
}
|
|
71
78
|
export declare const KundliPage: React.FC<KundliPageProps>;
|
|
@@ -64,9 +64,5 @@ export interface KundliPageProps {
|
|
|
64
64
|
* An empty string means "no banner" (show default PremiumReportOverview).
|
|
65
65
|
*/
|
|
66
66
|
resolvedUtmBannerImageUrl?: string;
|
|
67
|
-
/** Pre-fills form values on mount (e.g. from URL query params on a deep-linked SEO flow). */
|
|
68
|
-
initialFormValues?: Partial<KundliFormValues>;
|
|
69
|
-
/** When true, automatically opens the plan selection bottom sheet once on mount. Used for deep-linked flows where the form is already fully pre-filled. */
|
|
70
|
-
autoOpenPlanSheet?: boolean;
|
|
71
67
|
}
|
|
72
68
|
export declare const KundliPageV1: React.FC<KundliPageProps>;
|