@srimandir/kundli-generator 10.0.2 → 10.0.3
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-C7q6coqa.js +5099 -0
- package/dist/analytics-C7q6coqa.js.map +1 -0
- package/dist/analytics.d.ts +308 -0
- package/dist/components/KundliForm/KundliForm.d.ts +50 -0
- package/dist/components/KundliForm/index.d.ts +2 -0
- package/dist/components/KundliForm/sections/FormHeader/FormHeader.d.ts +7 -0
- package/dist/components/KundliForm/sections/FormHeader/index.d.ts +2 -0
- package/dist/components/KundliForm/sections/ProceedFooter/ProceedFooter.d.ts +28 -0
- package/dist/components/KundliForm/sections/ProceedFooter/index.d.ts +2 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +20 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/constants.d.ts +215 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/googlePlacesAutocomplete.d.ts +21 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/index.d.ts +2 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/useAtlasPlacesAutocomplete.d.ts +22 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +51 -0
- package/dist/components/KundliForm/sections/index.d.ts +3 -0
- package/dist/components/KundliPage/KundliContext.d.ts +108 -0
- package/dist/components/KundliPage/KundliPage.d.ts +92 -0
- package/dist/components/KundliPage/KundliPageV1.d.ts +98 -0
- package/dist/components/KundliPage/KundliPageVariant.d.ts +10 -0
- package/dist/components/KundliPage/index.d.ts +4 -0
- package/dist/components/KundliPage/sections/CTAFooter/CTAFooter.d.ts +15 -0
- package/dist/components/KundliPage/sections/CTAFooter/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/ContactUsSection/ContactUsSection.d.ts +9 -0
- package/dist/components/KundliPage/sections/ContactUsSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/FAQSection/FAQSection.d.ts +8 -0
- package/dist/components/KundliPage/sections/FAQSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/FeedbackSection/FeedbackSection.d.ts +13 -0
- package/dist/components/KundliPage/sections/FeedbackSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/HeroSection/HeroSection.d.ts +5 -0
- package/dist/components/KundliPage/sections/HeroSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/KundliHeader/KundliHeader.d.ts +7 -0
- package/dist/components/KundliPage/sections/KundliHeader/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/KundliTableSection/KundliTableSection.constants.d.ts +36 -0
- package/dist/components/KundliPage/sections/KundliTableSection/SampleReportsSection.d.ts +10 -0
- package/dist/components/KundliPage/sections/KundliTableSection/index.d.ts +3 -0
- package/dist/components/KundliPage/sections/PremiumReportOverview/PremiumReportOverview.d.ts +26 -0
- package/dist/components/KundliPage/sections/PremiumReportOverview/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/ThreeStepsProcess/ThreeStepsProcess.d.ts +8 -0
- package/dist/components/KundliPage/sections/ThreeStepsProcess/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/UniversityCertification/UniversityCertification.d.ts +7 -0
- package/dist/components/KundliPage/sections/UniversityCertification/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/UtmBannerSection/UtmBannerSection.d.ts +8 -0
- package/dist/components/KundliPage/sections/UtmBannerSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/ViewSampleReportButton/SampleReportModal.d.ts +8 -0
- package/dist/components/KundliPage/sections/ViewSampleReportButton/ViewSampleReportButton.d.ts +14 -0
- package/dist/components/KundliPage/sections/ViewSampleReportButton/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/WhatYoullFindSection/WhatYoullFindSection.d.ts +7 -0
- package/dist/components/KundliPage/sections/WhatYoullFindSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/WhyUsSection/WhyUsSection.d.ts +5 -0
- package/dist/components/KundliPage/sections/WhyUsSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/index.d.ts +13 -0
- package/dist/components/KundliPlanBottomSheet/AstrologerCard.d.ts +10 -0
- package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +19 -0
- package/dist/components/KundliPlanBottomSheet/ConsultationSlotFields.d.ts +54 -0
- package/dist/components/KundliPlanBottomSheet/ConsultationSlotModal.d.ts +6 -0
- package/dist/components/KundliPlanBottomSheet/KundliPlanBottomSheet.d.ts +37 -0
- package/dist/components/KundliPlanBottomSheet/MostPopularBadge.d.ts +4 -0
- package/dist/components/KundliPlanBottomSheet/PlanCard.d.ts +19 -0
- package/dist/components/KundliPlanBottomSheet/PlanFeatureList.d.ts +10 -0
- package/dist/components/KundliPlanBottomSheet/PlanIcons.d.ts +18 -0
- package/dist/components/KundliPlanBottomSheet/PlanSheetHeader.d.ts +9 -0
- package/dist/components/KundliPlanBottomSheet/consultationSlotDefaults.d.ts +44 -0
- package/dist/components/KundliPlanBottomSheet/index.d.ts +7 -0
- package/dist/components/KundliPlanBottomSheet/planDefaults.d.ts +2 -0
- package/dist/components/KundliPlanBottomSheet/types.d.ts +67 -0
- package/dist/components/ThreeSkuPlanBottomSheet/AstrologerSection.d.ts +8 -0
- package/dist/components/ThreeSkuPlanBottomSheet/PlanFeatureList.d.ts +7 -0
- package/dist/components/ThreeSkuPlanBottomSheet/PlanSelectorStrip.d.ts +11 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ProceedButton.d.ts +9 -0
- package/dist/components/ThreeSkuPlanBottomSheet/QuestionChips.d.ts +7 -0
- package/dist/components/ThreeSkuPlanBottomSheet/QuestionInput.d.ts +15 -0
- package/dist/components/ThreeSkuPlanBottomSheet/SheetHeader.d.ts +6 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerCard.d.ts +6 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerProfiles.d.ts +15 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.d.ts +3 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.icons.d.ts +3 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.types.d.ts +61 -0
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +113 -0
- package/dist/components/ThreeSkuPlanBottomSheet/index.d.ts +4 -0
- package/dist/constants/criticalCss.d.ts +12 -0
- package/dist/criticalCss-Dwemq76K.js +2063 -0
- package/dist/criticalCss-Dwemq76K.js.map +1 -0
- package/dist/dev/main.d.ts +0 -0
- package/dist/form-entry.d.ts +15 -0
- package/dist/form-entry.js +21 -0
- package/dist/form-entry.js.map +1 -0
- package/dist/i18n/I18nContext.d.ts +18 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/translations.d.ts +4 -0
- package/dist/i18n/translations.en.d.ts +163 -0
- package/dist/i18n/translations.hi.d.ts +163 -0
- package/dist/index.d.ts +17 -0
- package/dist/kundli-generator.js +66 -0
- package/dist/kundli-generator.js.map +1 -0
- package/dist/page-entry.d.ts +16 -0
- package/dist/page-entry.js +24 -0
- package/dist/page-entry.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/styles.d.ts +0 -0
- package/dist/styles.js +2 -0
- package/dist/styles.js.map +1 -0
- package/dist/types/image.d.ts +17 -0
- package/dist/utils/Stringconstant.d.ts +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/keyframeStyles.d.ts +10 -0
- package/dist/utils/localeStorage.d.ts +10 -0
- package/dist/utils/phone.d.ts +26 -0
- package/dist/utils/storage.d.ts +7 -0
- package/dist/utils/utmBanner.d.ts +23 -0
- package/package.json +2 -2
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { KundliPlan } from '../KundliPlanBottomSheet/types';
|
|
2
|
+
/**
|
|
3
|
+
* Self-contained en/hi strings for the 3-SKU experiment bottom sheet.
|
|
4
|
+
*/
|
|
5
|
+
export declare const THREE_SKU_STRINGS: {
|
|
6
|
+
readonly en: {
|
|
7
|
+
readonly planSheetTitle: "Choose your Kundli Plan";
|
|
8
|
+
readonly planProceedToPayment: "Proceed to Payment";
|
|
9
|
+
readonly planSelectConsultationSlot: "Select consultation slot →";
|
|
10
|
+
readonly planAstrologerHeading: "We will match you with astrologer who speaks your language";
|
|
11
|
+
readonly planMostPopular: "Most popular";
|
|
12
|
+
readonly planNew: "New";
|
|
13
|
+
readonly planLimitedTimeCombo: "Limited-Time Combo";
|
|
14
|
+
readonly planNameBasic: "Kundli Report";
|
|
15
|
+
readonly planNameQuestion: "Kundli + 1 Question";
|
|
16
|
+
readonly planNameGuidance: "Kundli + Consultation";
|
|
17
|
+
readonly planSaveLabel: "Save ~25%";
|
|
18
|
+
readonly planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances";
|
|
19
|
+
readonly planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras";
|
|
20
|
+
readonly planFeatureClearLanguage: "Clear, easy-to-understand language by expert astrologers";
|
|
21
|
+
readonly planFeatureAstrologyConsultant: "Astrology consultant";
|
|
22
|
+
readonly planFeaturePersonalizedReading: "Personalized reading";
|
|
23
|
+
readonly planFeatureIncludesPremium: "Includes everything in the Premium Personalized Kundli";
|
|
24
|
+
readonly planFeatureExpertAnswers: "PLUS: Personalized answer, remedies and timelines from an expert astrologer";
|
|
25
|
+
readonly planFeatureFollowUpQuestions: "Go deeper into asking follow up questions";
|
|
26
|
+
readonly planFeatureNoConsultation: "No personal consultation call";
|
|
27
|
+
readonly planFeaturePlusConsultation: "PLUS: A 30-minute private consultation with an expert astrologer";
|
|
28
|
+
readonly planFeatureRealTimeAnswers: "Get real-time answers & guidance for your biggest life concerns";
|
|
29
|
+
readonly planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart";
|
|
30
|
+
readonly planQuestionLabel: "Ask your Question";
|
|
31
|
+
readonly planQuestionHeader: "Ask our top astrologers";
|
|
32
|
+
readonly planQuestionPlaceholder: "Ask follow up question";
|
|
33
|
+
readonly planQuestionHint: "Please enter your question to continue.";
|
|
34
|
+
readonly planQuestionChip1: "When will I get married?";
|
|
35
|
+
readonly planQuestionChip2: "When will I grow in my career?";
|
|
36
|
+
readonly planQuestionChip3: "Are there any doshas which is affecting me?";
|
|
37
|
+
readonly planQuestionChip4: "Is my current job right for me?";
|
|
38
|
+
readonly planAstrologerExp: "{{years}} Years of experience";
|
|
39
|
+
readonly planConsultationSlotTitle: "Select consultation slot";
|
|
40
|
+
readonly planConsultationTrustLabel: "3,750+ people have booked consultation";
|
|
41
|
+
readonly planSelectSlotHeading: "Select consultation slot";
|
|
42
|
+
readonly planGuidanceHeading: "What would you like guidance on?";
|
|
43
|
+
readonly planPeriodMorning: "Morning";
|
|
44
|
+
readonly planPeriodAfternoon: "Afternoon";
|
|
45
|
+
readonly planPeriodEvening: "Evening";
|
|
46
|
+
readonly planPeriodEveningNight: "Evening/Night";
|
|
47
|
+
readonly planTopicCareerWork: "Career & work";
|
|
48
|
+
readonly planTopicHealthWellbeing: "Health & wellbeing";
|
|
49
|
+
readonly planTopicLoveMarriage: "Love & marriage";
|
|
50
|
+
readonly planTopicMoneyFinance: "Money & finance";
|
|
51
|
+
};
|
|
52
|
+
readonly hi: {
|
|
53
|
+
readonly planSheetTitle: "अपनी कुंडली प्लान चुनें";
|
|
54
|
+
readonly planProceedToPayment: "पेमेंट करें";
|
|
55
|
+
readonly planSelectConsultationSlot: "परामर्श स्लॉट चुनें →";
|
|
56
|
+
readonly planAstrologerHeading: "हम आपकी भाषा बोलने वाले ज्योतिषी से आपकी बात करवाएंगे";
|
|
57
|
+
readonly planMostPopular: "सबसे लोकप्रिय";
|
|
58
|
+
readonly planNew: "नया";
|
|
59
|
+
readonly planLimitedTimeCombo: "सीमित समय ऑफर";
|
|
60
|
+
readonly planNameBasic: "कुंडली रिपोर्ट";
|
|
61
|
+
readonly planNameQuestion: "कुंडली + 1 सवाल";
|
|
62
|
+
readonly planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात";
|
|
63
|
+
readonly planSaveLabel: "~25% बचाएं";
|
|
64
|
+
readonly planFeatureDetailedInsights: "प्यार, विवाह, करियर, स्वास्थ्य और वित्त पर गहरी जानकारी";
|
|
65
|
+
readonly planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्रों जैसे व्यावहारिक उपाय";
|
|
66
|
+
readonly planFeatureClearLanguage: "विशेषज्ञ ज्योतिषियों द्वारा स्पष्ट और आसान भाषा में";
|
|
67
|
+
readonly planFeatureAstrologyConsultant: "ज्योतिषी से बात नहीं होगी";
|
|
68
|
+
readonly planFeaturePersonalizedReading: "आपके लिए खास रीडिंग";
|
|
69
|
+
readonly planFeatureIncludesPremium: "प्रीमियम कुंडली रिपोर्ट में जो कुछ भी है, सब मिलेगा";
|
|
70
|
+
readonly planFeatureExpertAnswers: "PLUS: विशेषज्ञ ज्योतिषी से व्यक्तिगत जवाब, उपाय और समयरेखा पाएं";
|
|
71
|
+
readonly planFeatureFollowUpQuestions: "आगे के सवाल पूछने की सुविधा";
|
|
72
|
+
readonly planFeatureNoConsultation: "कोई व्यक्तिगत परामर्श कॉल नहीं";
|
|
73
|
+
readonly planFeaturePlusConsultation: "साथ ही: एक अनुभवी ज्योतिषी से 30 मिनट की प्राइवेट बात";
|
|
74
|
+
readonly planFeatureRealTimeAnswers: "अपनी सबसे बड़ी परेशानियों का सीधा जवाब और सही सलाह पाएं";
|
|
75
|
+
readonly planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी";
|
|
76
|
+
readonly planQuestionLabel: "अपना सवाल पूछें";
|
|
77
|
+
readonly planQuestionHeader: "अपने सवाल हमारे टॉप ज्योतिषियों से पूछें";
|
|
78
|
+
readonly planQuestionPlaceholder: "फॉलो अप सवाल लिखें";
|
|
79
|
+
readonly planQuestionHint: "जारी रखने के लिए अपना सवाल लिखें।";
|
|
80
|
+
readonly planQuestionChip1: "मेरी शादी कब होगी?";
|
|
81
|
+
readonly planQuestionChip2: "मेरा करियर कब बेहतर होगा?";
|
|
82
|
+
readonly planQuestionChip3: "क्या कोई दोष है जो मुझे प्रभावित कर रहा है?";
|
|
83
|
+
readonly planQuestionChip4: "क्या मेरी मौजूदा नौकरी मेरे लिए सही है?";
|
|
84
|
+
readonly planAstrologerExp: "साल का अनुभव";
|
|
85
|
+
readonly planConsultationSlotTitle: "परामर्श स्लॉट चुनें";
|
|
86
|
+
readonly planConsultationTrustLabel: "3,750+ लोगों ने परामर्श बुक किया है";
|
|
87
|
+
readonly planSelectSlotHeading: "परामर्श स्लॉट चुनें";
|
|
88
|
+
readonly planGuidanceHeading: "आप किस बारे में सलाह चाहते हैं?";
|
|
89
|
+
readonly planPeriodMorning: "सुबह";
|
|
90
|
+
readonly planPeriodAfternoon: "दोपहर";
|
|
91
|
+
readonly planPeriodEvening: "शाम";
|
|
92
|
+
readonly planPeriodEveningNight: "शाम/रात";
|
|
93
|
+
readonly planTopicCareerWork: "करियर और काम";
|
|
94
|
+
readonly planTopicHealthWellbeing: "सेहत और खुशहाली";
|
|
95
|
+
readonly planTopicLoveMarriage: "प्यार और शादी";
|
|
96
|
+
readonly planTopicMoneyFinance: "पैसा और वित्त";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export type ThreeSkuLocale = keyof typeof THREE_SKU_STRINGS;
|
|
100
|
+
export interface ThreeSkuPlan extends KundliPlan {
|
|
101
|
+
supportsQuestion?: boolean;
|
|
102
|
+
/** Key for a corner "New" ribbon rendered on the card */
|
|
103
|
+
newBadge?: string;
|
|
104
|
+
}
|
|
105
|
+
export declare const getThreeSkuDefaultPlans: (isGlobal: boolean) => ThreeSkuPlan[];
|
|
106
|
+
export declare const CHIP_KEYS: readonly ["planQuestionChip1", "planQuestionChip2", "planQuestionChip3", "planQuestionChip4"];
|
|
107
|
+
export declare const TOP_ASTROLOGER_AVATARS: {
|
|
108
|
+
id: "jyoti" | "samiksha";
|
|
109
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1781527417602.webp" | "https://srm-cdn.a4b.io/yoda/1781527490353.webp";
|
|
110
|
+
name: "Acharya Rama Sarma" | "Astro Neeraj";
|
|
111
|
+
}[];
|
|
112
|
+
export declare const MAX_QUESTION_LENGTH = 5000;
|
|
113
|
+
export declare const MAX_TEXTAREA_HEIGHT_PX = 84;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ThreeSkuPlanBottomSheet } from './ThreeSkuPlanBottomSheet';
|
|
2
|
+
export { getThreeSkuDefaultPlans } from './constants';
|
|
3
|
+
export type { ThreeSkuPlanBottomSheetProps, ThreeSkuAnalytics } from './ThreeSkuPlanBottomSheet';
|
|
4
|
+
export type { ThreeSkuPlan, ThreeSkuLocale } from './constants';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Critical CSS that should be inlined in document <head> to prevent CLS
|
|
3
|
+
* Import this in your host app and inject it as inline styles
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* import { KUNDLI_CRITICAL_CSS } from '@srimandir/kundli-generator';
|
|
8
|
+
*
|
|
9
|
+
* <style dangerouslySetInnerHTML={{ __html: KUNDLI_CRITICAL_CSS }} />
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare const KUNDLI_CRITICAL_CSS = "[data-hero]{min-height:200px}[data-background-layer]{position:absolute;inset:0;z-index:0;overflow:hidden}[data-form-container]{min-height:400px}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap}img{max-width:100%;height:auto}.kundli-page-root{contain:layout}";
|