@srimandir/kundli-matching-generator 1.0.13 → 1.0.17
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.d.ts +27 -0
- package/dist/components/SneakPeekSection/SneakPeekSection.d.ts +2 -0
- package/dist/components/TestimonialsSection/TestimonialsSection.d.ts +2 -0
- package/dist/components/ViewSampleReportButton/ViewSampleReportButton.d.ts +3 -2
- package/dist/kundli-matching-generator.js +1673 -1519
- package/dist/kundli-matching-generator.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/analytics.d.ts
CHANGED
|
@@ -43,6 +43,16 @@ export declare const KUNDLI_MATCHING_ANALYTICS_EVENT_NAMES: {
|
|
|
43
43
|
readonly kundli_matching_plan_page_closed: "kundli_matching_plan_page_closed";
|
|
44
44
|
readonly payment_partner_page_opened: "payment_partner_page_opened";
|
|
45
45
|
readonly retry_payment: "retry_payment";
|
|
46
|
+
readonly hero_section_viewed: "hero_section_viewed";
|
|
47
|
+
readonly features_section_viewed: "features_section_viewed";
|
|
48
|
+
readonly sneak_peek_section_viewed: "sneak_peek_section_viewed";
|
|
49
|
+
readonly testimonials_section_viewed: "testimonials_section_viewed";
|
|
50
|
+
readonly benefits_section_viewed: "benefits_section_viewed";
|
|
51
|
+
readonly how_it_works_section_viewed: "how_it_works_section_viewed";
|
|
52
|
+
readonly why_us_section_viewed: "why_us_section_viewed";
|
|
53
|
+
readonly faq_section_viewed: "faq_section_viewed";
|
|
54
|
+
readonly sneak_peek_card_viewed: "sneak_peek_card_viewed";
|
|
55
|
+
readonly testimonial_scrolled: "testimonial_scrolled";
|
|
46
56
|
};
|
|
47
57
|
export type KundliMatchingAnalyticsEventName = (typeof KUNDLI_MATCHING_ANALYTICS_EVENT_NAMES)[keyof typeof KUNDLI_MATCHING_ANALYTICS_EVENT_NAMES];
|
|
48
58
|
/**
|
|
@@ -112,4 +122,21 @@ export interface KundliMatchingAnalytics {
|
|
|
112
122
|
price: string;
|
|
113
123
|
}): void;
|
|
114
124
|
trackRetryPayment?(): void;
|
|
125
|
+
trackHeroSectionViewed?(): void;
|
|
126
|
+
trackFeaturesSectionViewed?(): void;
|
|
127
|
+
trackSneakPeekSectionViewed?(): void;
|
|
128
|
+
trackTestimonialsSectionViewed?(): void;
|
|
129
|
+
trackBenefitsSectionViewed?(): void;
|
|
130
|
+
trackHowItWorksSectionViewed?(): void;
|
|
131
|
+
trackWhyUsSectionViewed?(): void;
|
|
132
|
+
trackFaqSectionViewed?(): void;
|
|
133
|
+
trackSneakPeekCardViewed?(params: {
|
|
134
|
+
cardNumber: number;
|
|
135
|
+
cardTitle: string;
|
|
136
|
+
}): void;
|
|
137
|
+
trackTestimonialScrolled?(params: {
|
|
138
|
+
reviewIndex: number;
|
|
139
|
+
reviewerName: string;
|
|
140
|
+
isManualScroll: boolean;
|
|
141
|
+
}): void;
|
|
115
142
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { KundliMatchingAnalytics } from '../../analytics';
|
|
2
3
|
export interface SneakPeekSectionProps {
|
|
3
4
|
t: (key: string) => string;
|
|
5
|
+
analytics?: KundliMatchingAnalytics;
|
|
4
6
|
className?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const SneakPeekSection: React.FC<SneakPeekSectionProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { KundliMatchingAnalytics } from '../../analytics';
|
|
2
3
|
export interface Testimonial {
|
|
3
4
|
name: string;
|
|
4
5
|
avatarUrl: string;
|
|
@@ -9,5 +10,6 @@ export interface TestimonialsSectionProps {
|
|
|
9
10
|
t: (key: string) => string;
|
|
10
11
|
testimonials?: Testimonial[];
|
|
11
12
|
className?: string;
|
|
13
|
+
analytics?: KundliMatchingAnalytics;
|
|
12
14
|
}
|
|
13
15
|
export declare const TestimonialsSection: React.FC<TestimonialsSectionProps>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { KundliMatchingAnalytics } from '../../analytics';
|
|
2
3
|
export interface ViewSampleReportButtonProps {
|
|
3
4
|
t: (key: string) => string;
|
|
4
5
|
/** PDF URL to display in modal. Defaults to the sample PDF. */
|
|
5
6
|
pdfUrl?: string;
|
|
6
|
-
/**
|
|
7
|
-
|
|
7
|
+
/** Analytics implementation */
|
|
8
|
+
analytics?: KundliMatchingAnalytics;
|
|
8
9
|
className?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const ViewSampleReportButton: React.FC<ViewSampleReportButtonProps>;
|