@srimandir/kundli-generator 4.4.2 → 4.4.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.
@@ -32,7 +32,7 @@ export interface KundliPageProps {
32
32
  readMoreReviewsHref?: string;
33
33
  /** Called when user proceeds from the form (e.g. to payment) */
34
34
  onProceed?: (values: KundliFormValues) => void;
35
- /** Callback for Guidance plan (749 price) specifically */
35
+ /** Callback for Guidance plan (999 price) specifically */
36
36
  onProceedGuidance?: (values: KundliFormValues) => void;
37
37
  /** Form: proceed CTA as link */
38
38
  proceedHref?: string;
@@ -32,7 +32,7 @@ export interface KundliPageProps {
32
32
  readMoreReviewsHref?: string;
33
33
  /** Called when user proceeds from the form (e.g. to payment) */
34
34
  onProceed?: (values: KundliFormValues) => void;
35
- /** Callback for Guidance plan (749 price) specifically */
35
+ /** Callback for Guidance plan (999 price) specifically */
36
36
  onProceedGuidance?: (values: KundliFormValues) => void;
37
37
  /** Form: proceed CTA as link */
38
38
  proceedHref?: string;
@@ -1,25 +1,19 @@
1
1
  export declare const ASTROLOGERS: readonly [{
2
2
  readonly id: "jyoti";
3
3
  readonly name: "planAstrologerNameJyoti";
4
- readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png";
4
+ readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp";
5
5
  readonly experience: "planAstrologerExpJyoti";
6
6
  readonly certifications: readonly ["planAstrologerCertCertifiedJyotish", "planAstrologerCertAccurateSolutions"];
7
7
  }, {
8
8
  readonly id: "samiksha";
9
9
  readonly name: "planAstrologerNameSamiksha";
10
- readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png";
10
+ readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp";
11
11
  readonly experience: "planAstrologerExpSamiksha";
12
12
  readonly certifications: readonly ["planAstrologerCertVedicAstrology", "planAstrologerCertResultOriented"];
13
13
  }, {
14
14
  readonly id: "neeraj";
15
15
  readonly name: "planAstrologerNameNeeraj";
16
- readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png";
16
+ readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp";
17
17
  readonly experience: "planAstrologerExpNeeraj";
18
18
  readonly certifications: readonly ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"];
19
- }, {
20
- readonly id: "ashwini";
21
- readonly name: "planAstrologerNameAshwini";
22
- readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png";
23
- readonly experience: "planAstrologerExpAshwini";
24
- readonly certifications: readonly ["planAstrologerCertKundliBhavfal", "planAstrologerCertAccurateKundliMatching"];
25
19
  }];
@@ -5,6 +5,7 @@ export interface KundliPlanBottomSheetProps {
5
5
  onClose: () => void;
6
6
  selectedPlan: KundliPlan | null;
7
7
  onSelectPlan: (plan: KundliPlan) => void;
8
+ onProceed: (plan: KundliPlan) => void;
8
9
  plans?: KundliPlan[];
9
10
  t?: (key: string) => string;
10
11
  analytics?: KundliAnalytics;
@@ -17,7 +18,7 @@ export interface KundliPlanBottomSheetProps {
17
18
  */
18
19
  export declare const KundliPlanBottomSheet: React.FC<KundliPlanBottomSheetProps>;
19
20
  export type { KundliPlan } from './types';
20
- export { DEFAULT_PLANS } from './planDefaults';
21
+ export { getDefaultPlans } from './planDefaults';
21
22
  export { PlanCard } from './PlanCard';
22
23
  export { PlanSheetHeader } from './PlanSheetHeader';
23
24
  export { PlanFeatureList } from './PlanFeatureList';
@@ -1,2 +1,2 @@
1
- export { KundliPlanBottomSheet, DEFAULT_PLANS } from './KundliPlanBottomSheet';
1
+ export { KundliPlanBottomSheet, getDefaultPlans } from './KundliPlanBottomSheet';
2
2
  export type { KundliPlanBottomSheetProps, KundliPlan } from './KundliPlanBottomSheet';
@@ -1,66 +1,2 @@
1
- export declare const DEFAULT_PLANS: readonly [{
2
- readonly id: "kundli-report";
3
- readonly title: "planNameBasic";
4
- readonly price: "₹499";
5
- readonly features: readonly [{
6
- readonly text: "planFeatureDetailedInsights";
7
- readonly included: true;
8
- }, {
9
- readonly text: "planFeaturePracticalRemedies";
10
- readonly included: true;
11
- }, {
12
- readonly text: "planFeatureClearLanguage";
13
- readonly included: true;
14
- }, {
15
- readonly text: "planFeatureAstrologyConsultant";
16
- readonly included: false;
17
- }, {
18
- readonly text: "planFeaturePersonalizedReading";
19
- readonly included: false;
20
- }];
21
- }, {
22
- readonly id: "kundli-report-astrologer";
23
- readonly title: "planNameGuidance";
24
- readonly price: "₹749";
25
- readonly originalPrice: "₹499+₹450";
26
- readonly savingsLabel: "planSaveLabel";
27
- readonly badge: "planMostPopular";
28
- readonly features: readonly [{
29
- readonly text: "planFeatureIncludesPremium";
30
- readonly included: true;
31
- }, {
32
- readonly text: "planFeaturePlusConsultation";
33
- readonly included: true;
34
- }, {
35
- readonly text: "planFeatureRealTimeAnswers";
36
- readonly included: true;
37
- }, {
38
- readonly text: "planFeatureTailoredRemedies";
39
- readonly included: true;
40
- }];
41
- readonly astrologers: ({
42
- readonly id: "jyoti";
43
- readonly name: "planAstrologerNameJyoti";
44
- readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png";
45
- readonly experience: "planAstrologerExpJyoti";
46
- readonly certifications: readonly ["planAstrologerCertCertifiedJyotish", "planAstrologerCertAccurateSolutions"];
47
- } | {
48
- readonly id: "samiksha";
49
- readonly name: "planAstrologerNameSamiksha";
50
- readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png";
51
- readonly experience: "planAstrologerExpSamiksha";
52
- readonly certifications: readonly ["planAstrologerCertVedicAstrology", "planAstrologerCertResultOriented"];
53
- } | {
54
- readonly id: "neeraj";
55
- readonly name: "planAstrologerNameNeeraj";
56
- readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png";
57
- readonly experience: "planAstrologerExpNeeraj";
58
- readonly certifications: readonly ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"];
59
- } | {
60
- readonly id: "ashwini";
61
- readonly name: "planAstrologerNameAshwini";
62
- readonly imageUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png";
63
- readonly experience: "planAstrologerExpAshwini";
64
- readonly certifications: readonly ["planAstrologerCertKundliBhavfal", "planAstrologerCertAccurateKundliMatching"];
65
- })[];
66
- }];
1
+ import { KundliPlan } from './types';
2
+ export declare const getDefaultPlans: (isGlobal: boolean) => KundliPlan[];