@srimandir/make-your-own-ritual 0.9.0 → 0.11.0
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/DeathTithi/DeathTithi.d.ts +58 -1
- package/dist/components/DeathTithi/index.d.ts +1 -1
- package/dist/components/LandingPage/LandingPage.d.ts +6 -2
- package/dist/components/MyorOutcome/MyorOutcome.d.ts +5 -5
- package/dist/components/MyorRitualCard/MyorRitualCard.d.ts +8 -3
- package/dist/components/PujaDetailsSheet/index.d.ts +2 -2
- package/dist/components/RitualCard/RitualCard.d.ts +3 -1
- package/dist/components/SelectAncestors/SelectAncestors.d.ts +33 -1
- package/dist/components/SelectAncestors/index.d.ts +1 -1
- package/dist/i18n/translations.d.ts +1 -1
- package/dist/i18n/translations.en.d.ts +2 -0
- package/dist/i18n/translations.hi.d.ts +94 -0
- package/dist/i18n/translations.kn.d.ts +121 -0
- package/dist/i18n/translations.te.d.ts +121 -0
- package/dist/index.d.ts +3 -3
- package/dist/make-your-own-ritual.js +1940 -1337
- package/dist/make-your-own-ritual.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,60 @@
|
|
|
1
1
|
import { MakeYourOwnRitualDataState, RitualDataAction, TithiPreview, TithiValidity } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Interaction points this screen doesn't otherwise expose a callback for —
|
|
4
|
+
* added for analytics, kept as one prop rather than one per interaction so
|
|
5
|
+
* the surface doesn't balloon. Each variant matches one row of the MYOR
|
|
6
|
+
* instrumentation sheet's "Tithi Input (Step 3/3)" section (plus the
|
|
7
|
+
* "date has passed" popup, which lives in this same screen).
|
|
8
|
+
*/
|
|
9
|
+
export type DeathTithiInteractionEvent = {
|
|
10
|
+
type: "form_impression";
|
|
11
|
+
ancestorKey: string;
|
|
12
|
+
ancestorPosition: number;
|
|
13
|
+
} | {
|
|
14
|
+
type: "method_select";
|
|
15
|
+
ancestorKey: string;
|
|
16
|
+
ancestorPosition: number;
|
|
17
|
+
method: "tithi" | "date" | "unknown";
|
|
18
|
+
} | {
|
|
19
|
+
type: "tithi_picker_shown";
|
|
20
|
+
ancestorKey: string;
|
|
21
|
+
ancestorPosition: number;
|
|
22
|
+
} | {
|
|
23
|
+
type: "tithi_picker_confirm";
|
|
24
|
+
ancestorKey: string;
|
|
25
|
+
ancestorPosition: number;
|
|
26
|
+
tithiKey: string;
|
|
27
|
+
} | {
|
|
28
|
+
type: "tithi_picker_dismiss";
|
|
29
|
+
ancestorKey: string;
|
|
30
|
+
ancestorPosition: number;
|
|
31
|
+
} | {
|
|
32
|
+
type: "date_picker_shown";
|
|
33
|
+
ancestorKey: string;
|
|
34
|
+
ancestorPosition: number;
|
|
35
|
+
} | {
|
|
36
|
+
type: "date_picker_confirm";
|
|
37
|
+
ancestorKey: string;
|
|
38
|
+
ancestorPosition: number;
|
|
39
|
+
date: string;
|
|
40
|
+
} | {
|
|
41
|
+
type: "date_picker_dismiss";
|
|
42
|
+
ancestorKey: string;
|
|
43
|
+
ancestorPosition: number;
|
|
44
|
+
} | {
|
|
45
|
+
type: "date_passed_popup_shown";
|
|
46
|
+
ancestorKey: string;
|
|
47
|
+
ancestorPosition: number;
|
|
48
|
+
} | {
|
|
49
|
+
type: "date_passed_popup_dismiss";
|
|
50
|
+
ancestorKey: string;
|
|
51
|
+
ancestorPosition: number;
|
|
52
|
+
} | {
|
|
53
|
+
type: "proceed_click";
|
|
54
|
+
ancestorKey: string;
|
|
55
|
+
ancestorPosition: number;
|
|
56
|
+
isLastAncestor: boolean;
|
|
57
|
+
};
|
|
2
58
|
export interface DeathTithiProps {
|
|
3
59
|
store: MakeYourOwnRitualDataState;
|
|
4
60
|
mutate: (action: RitualDataAction) => void;
|
|
@@ -10,5 +66,6 @@ export interface DeathTithiProps {
|
|
|
10
66
|
onResolveTithiForDate?: (date: string, ancestorKey: string) => Promise<TithiPreview | undefined>;
|
|
11
67
|
/** Checks whether a directly-picked tithi is still bookable. Never rejects — a failure resolves to undefined. */
|
|
12
68
|
onValidateTithi?: (tithiKey: string, ancestorKey: string) => Promise<TithiValidity | undefined>;
|
|
69
|
+
onInteraction?: (event: DeathTithiInteractionEvent) => void;
|
|
13
70
|
}
|
|
14
|
-
export declare function DeathTithi({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, onResolveTithiForDate, onValidateTithi, }: DeathTithiProps): import("react").JSX.Element;
|
|
71
|
+
export declare function DeathTithi({ store, mutate, avatarUrl, audioSrc, onBackClick, onProceed, onResolveTithiForDate, onValidateTithi, onInteraction, }: DeathTithiProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { DeathTithi } from './DeathTithi';
|
|
2
|
-
export type { DeathTithiProps } from './DeathTithi';
|
|
2
|
+
export type { DeathTithiProps, DeathTithiInteractionEvent, } from './DeathTithi';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SupportedLocale } from '../../i18n';
|
|
2
|
-
import { LandingPageStore, LandingPageAction } from '../../types';
|
|
2
|
+
import { LandingPageStore, LandingPageAction, PitruPakshRenderableRitual } from '../../types';
|
|
3
3
|
export interface LandingPageProps {
|
|
4
4
|
store: LandingPageStore;
|
|
5
5
|
mutate: (action: LandingPageAction) => void;
|
|
@@ -7,5 +7,9 @@ export interface LandingPageProps {
|
|
|
7
7
|
onLocaleChange: (locale: SupportedLocale) => void;
|
|
8
8
|
/** Fired when a card's "About this Chadhava/Seva" link is clicked, with that ritual's id. */
|
|
9
9
|
onAboutRitualClick?: (ritualId: string) => void;
|
|
10
|
+
/** Fired once, the first time a card scrolls into view, with its 1-based list position. */
|
|
11
|
+
onCardImpression?: (ritual: PitruPakshRenderableRitual, position: number) => void;
|
|
12
|
+
/** Fired when a card's checkbox is toggled, with its 1-based list position and the new selected state. */
|
|
13
|
+
onCardToggle?: (ritual: PitruPakshRenderableRitual, position: number, willBeSelected: boolean) => void;
|
|
10
14
|
}
|
|
11
|
-
export declare function LandingPage({ store, mutate, onProceed, onLocaleChange, onAboutRitualClick, }: LandingPageProps): import("react").JSX.Element;
|
|
15
|
+
export declare function LandingPage({ store, mutate, onProceed, onLocaleChange, onAboutRitualClick, onCardImpression, onCardToggle, }: LandingPageProps): import("react").JSX.Element;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OutcomeRitualData, OutcomeMandapArrangementData, OutcomePackageSelectProps, DevoteeReviewData, DevoteeReviewMedia } from '../../../../pitru-paksh-common/dist/pitru-paksh-common.js';
|
|
2
2
|
/**
|
|
3
|
-
* `
|
|
3
|
+
* `OutcomeRitualData` plus MYOR's own per-ritual "Learn more" reviews
|
|
4
4
|
* (fetched on demand per temple, unlike ritual-recommendations' one fixed
|
|
5
5
|
* list for every ritual) — a local extension instead of widening the shared
|
|
6
6
|
* type, so ritual-recommendations' own type is untouched.
|
|
7
7
|
*/
|
|
8
|
-
export type MyorOutcomeRitualData =
|
|
8
|
+
export type MyorOutcomeRitualData = OutcomeRitualData & {
|
|
9
9
|
devoteesReviews?: DevoteeReviewData[];
|
|
10
10
|
learnMoreLabel?: string;
|
|
11
11
|
};
|
|
12
12
|
export interface MyorOutcomeProps {
|
|
13
13
|
ritualCount: number;
|
|
14
14
|
rituals: MyorOutcomeRitualData[];
|
|
15
|
-
mandapArrangement?:
|
|
15
|
+
mandapArrangement?: OutcomeMandapArrangementData;
|
|
16
16
|
/** Video/screenshot reviews shown in a carousel above the text reviews, in every ritual's detail sheet */
|
|
17
17
|
reviewMedia?: DevoteeReviewMedia[];
|
|
18
18
|
onDevoteesReviewsSeeMoreClick?: () => void;
|
|
@@ -38,4 +38,4 @@ export interface MyorOutcomeProps {
|
|
|
38
38
|
* - A ritual's own `devoteesReviews` (per-temple, fetched on demand) takes
|
|
39
39
|
* precedence over showing nothing.
|
|
40
40
|
*/
|
|
41
|
-
export declare function MyorOutcome({ ritualCount, rituals, mandapArrangement, reviewMedia, onDevoteesReviewsSeeMoreClick, totalPrice, onPriceInfoClick, onProceedClick, skipPackageSelect, onBack, backButtonAriaLabel, packageSelectOptions, }: MyorOutcomeProps &
|
|
41
|
+
export declare function MyorOutcome({ ritualCount, rituals, mandapArrangement, reviewMedia, onDevoteesReviewsSeeMoreClick, totalPrice, onPriceInfoClick, onProceedClick, skipPackageSelect, onBack, backButtonAriaLabel, packageSelectOptions, }: MyorOutcomeProps & OutcomePackageSelectProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type MyorRitualCardProps =
|
|
1
|
+
import { OutcomeRitualData } from '../../../../pitru-paksh-common/dist/pitru-paksh-common.js';
|
|
2
|
+
export type MyorRitualCardProps = OutcomeRitualData & {
|
|
3
3
|
learnMoreLabel?: string;
|
|
4
|
+
editButtonAriaLabel?: string;
|
|
5
|
+
priceLabel?: string;
|
|
6
|
+
priceInfoAriaLabel?: string;
|
|
7
|
+
addLabel?: string;
|
|
8
|
+
addedLabel?: string;
|
|
4
9
|
};
|
|
5
10
|
/**
|
|
6
11
|
* MYOR's own outcome-page ritual card — visually distinct from
|
|
@@ -11,4 +16,4 @@ export type MyorRitualCardProps = RitualRecommendationData & {
|
|
|
11
16
|
* separate component rather than reworking `L2Card`, so
|
|
12
17
|
* ritual-recommendations' own card is untouched.
|
|
13
18
|
*/
|
|
14
|
-
export declare function MyorRitualCard({ index, ancestorsLabel, onEditClick, imageUrl, imageAlt, ratingLabel, bookedLabel, title, description, learnMoreLabel, onLearnMoreClick, learnMoreHref, dateLabel, locationLabel, price, isAdded, onCtaClick, onPriceInfoClick, }: MyorRitualCardProps): import("react").JSX.Element;
|
|
19
|
+
export declare function MyorRitualCard({ index, ancestorsLabel, onEditClick, imageUrl, imageAlt, ratingLabel, bookedLabel, title, description, learnMoreLabel, editButtonAriaLabel, priceLabel, priceInfoAriaLabel, addLabel, addedLabel, onLearnMoreClick, learnMoreHref, dateLabel, locationLabel, price, isAdded, onCtaClick, onPriceInfoClick, }: MyorRitualCardProps): import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PujaDetailsSheet } from './PujaDetailsSheet';
|
|
2
2
|
export type { PujaDetailsSheetProps } from './PujaDetailsSheet';
|
|
3
|
-
export { PujaDetailsCarouselHeader, PujaBenefitsSection, TempleSignificanceSection, DevoteesReviews, } from '../../../../pitru-paksh-
|
|
4
|
-
export type { PujaDetailsCarouselHeaderProps, PujaBenefitsSectionProps, PujaBenefitData, TempleSignificanceSectionProps, DevoteesReviewsProps, DevoteeReviewData, DevoteeReviewMedia, } from '../../../../pitru-paksh-
|
|
3
|
+
export { PujaDetailsCarouselHeader, PujaBenefitsSection, TempleSignificanceSection, DevoteesReviews, } from '../../../../pitru-paksh-common/dist/pitru-paksh-common.js';
|
|
4
|
+
export type { PujaDetailsCarouselHeaderProps, PujaBenefitsSectionProps, PujaBenefitData, TempleSignificanceSectionProps, DevoteesReviewsProps, DevoteeReviewData, DevoteeReviewMedia, } from '../../../../pitru-paksh-common/dist/pitru-paksh-common.js';
|
|
@@ -28,10 +28,12 @@ export interface RitualCardProps {
|
|
|
28
28
|
onToggle: () => void;
|
|
29
29
|
selectAriaLabel?: string;
|
|
30
30
|
className?: string;
|
|
31
|
+
/** Fired once, the first time this card scrolls into view. */
|
|
32
|
+
onImpression?: () => void;
|
|
31
33
|
}
|
|
32
34
|
/**
|
|
33
35
|
* Selectable ritual card for the "Make Your Own Ritual" picker: a thumbnail,
|
|
34
36
|
* title/description, a checkbox toggle, an optional location + rating/booked
|
|
35
37
|
* stats row, and a price row with an "About" link.
|
|
36
38
|
*/
|
|
37
|
-
export declare function RitualCard({ imageUrl, imageAlt, title, titleClassName, description, descriptionClassName, locationLabel, ratingLabel, bookedLabel, tagClassName, tagTextClassName, priceLabel, price, linkLabel, onLinkClick, selected, onToggle, selectAriaLabel, className, }: RitualCardProps): import("react").JSX.Element;
|
|
39
|
+
export declare function RitualCard({ imageUrl, imageAlt, title, titleClassName, description, descriptionClassName, locationLabel, ratingLabel, bookedLabel, tagClassName, tagTextClassName, priceLabel, price, linkLabel, onLinkClick, selected, onToggle, selectAriaLabel, className, onImpression, }: RitualCardProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { MakeYourOwnRitualDataState, RitualDataAction } from '../../types';
|
|
2
|
+
import { PujaId, MakeYourOwnRitualDataState, RitualDataAction } from '../../types';
|
|
3
3
|
import { RitualDayOption } from '../SelectRitualDaySheet';
|
|
4
|
+
/**
|
|
5
|
+
* Interaction points this screen doesn't otherwise expose a callback for —
|
|
6
|
+
* added for analytics, kept as one prop rather than one per interaction so
|
|
7
|
+
* the surface doesn't balloon. Each variant matches one row of the MYOR
|
|
8
|
+
* instrumentation sheet's "Pitru Selection" section.
|
|
9
|
+
*/
|
|
10
|
+
export type SelectAncestorsInteractionEvent = {
|
|
11
|
+
type: "form_impression";
|
|
12
|
+
pujaId: PujaId;
|
|
13
|
+
} | {
|
|
14
|
+
type: "tab_switch";
|
|
15
|
+
pujaId: PujaId;
|
|
16
|
+
} | {
|
|
17
|
+
type: "ancestor_toggle";
|
|
18
|
+
ancestor: string;
|
|
19
|
+
selected: boolean;
|
|
20
|
+
} | {
|
|
21
|
+
type: "add_more_click";
|
|
22
|
+
} | {
|
|
23
|
+
type: "add_ancestor_save";
|
|
24
|
+
names: string[];
|
|
25
|
+
} | {
|
|
26
|
+
type: "add_ancestor_dismiss";
|
|
27
|
+
} | {
|
|
28
|
+
type: "proceed_click";
|
|
29
|
+
isLastRitual: boolean;
|
|
30
|
+
} | {
|
|
31
|
+
type: "ritual_day_prompt_shown";
|
|
32
|
+
} | {
|
|
33
|
+
type: "ritual_day_prompt_dismissed";
|
|
34
|
+
};
|
|
4
35
|
export interface SelectAncestorsProps {
|
|
5
36
|
store: MakeYourOwnRitualDataState;
|
|
6
37
|
mutate: (action: RitualDataAction) => void;
|
|
@@ -14,5 +45,6 @@ export interface SelectAncestorsProps {
|
|
|
14
45
|
* decide whether to show `DeathTithi` next.
|
|
15
46
|
*/
|
|
16
47
|
onProceed?: (ritualDay: RitualDayOption) => void;
|
|
48
|
+
onInteraction?: (event: SelectAncestorsInteractionEvent) => void;
|
|
17
49
|
}
|
|
18
50
|
export declare const SelectAncestors: React.FC<SelectAncestorsProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { SelectAncestors } from './SelectAncestors';
|
|
2
|
-
export type { SelectAncestorsProps } from './SelectAncestors';
|
|
2
|
+
export type { SelectAncestorsProps, SelectAncestorsInteractionEvent, } from './SelectAncestors';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SUPPORTED_LOCALES: readonly ["en", "hi"];
|
|
1
|
+
export declare const SUPPORTED_LOCALES: readonly ["en", "hi", "kn", "te"];
|
|
2
2
|
export type SupportedLocale = (typeof SUPPORTED_LOCALES)[number];
|
|
3
3
|
export declare const LOCALE_LABELS: Record<SupportedLocale, string>;
|
|
4
4
|
export declare const translations: Record<SupportedLocale, Record<string, string>>;
|
|
@@ -16,6 +16,8 @@ export declare const en: {
|
|
|
16
16
|
ritualLocationKotiTirtha: string;
|
|
17
17
|
ritualRating: string;
|
|
18
18
|
ritualBooked: string;
|
|
19
|
+
ritualRatingTemplate: string;
|
|
20
|
+
ritualBookedTemplate: string;
|
|
19
21
|
ritualPriceLabel: string;
|
|
20
22
|
ritualAboutLink: string;
|
|
21
23
|
ritualAboutChadhava: string;
|
|
@@ -16,6 +16,8 @@ export declare const hi: {
|
|
|
16
16
|
ritualLocationKotiTirtha: string;
|
|
17
17
|
ritualRating: string;
|
|
18
18
|
ritualBooked: string;
|
|
19
|
+
ritualRatingTemplate: string;
|
|
20
|
+
ritualBookedTemplate: string;
|
|
19
21
|
ritualPriceLabel: string;
|
|
20
22
|
ritualAboutLink: string;
|
|
21
23
|
ritualAboutChadhava: string;
|
|
@@ -24,4 +26,96 @@ export declare const hi: {
|
|
|
24
26
|
ritualCountSingular: string;
|
|
25
27
|
ritualCountPlural: string;
|
|
26
28
|
ctaProceed: string;
|
|
29
|
+
makeYourOwnRitualCtaLabel: string;
|
|
30
|
+
makeYourOwnRitualHeroTitle: string;
|
|
31
|
+
makeYourOwnRitualHeroSubtitle: string;
|
|
32
|
+
makeYourOwnRitualIntroTitle: string;
|
|
33
|
+
makeYourOwnRitualIntroBody: string;
|
|
34
|
+
makeYourOwnRitualChoicesTitle: string;
|
|
35
|
+
makeYourOwnRitualChoiceDeity: string;
|
|
36
|
+
makeYourOwnRitualChoiceTemple: string;
|
|
37
|
+
makeYourOwnRitualChoiceSankalp: string;
|
|
38
|
+
makeYourOwnRitualChoiceOfferings: string;
|
|
39
|
+
makeYourOwnRitualStepsTitle: string;
|
|
40
|
+
makeYourOwnRitualStep1Title: string;
|
|
41
|
+
makeYourOwnRitualStep1Text: string;
|
|
42
|
+
makeYourOwnRitualStep2Title: string;
|
|
43
|
+
makeYourOwnRitualStep2Text: string;
|
|
44
|
+
makeYourOwnRitualStep3Title: string;
|
|
45
|
+
makeYourOwnRitualStep3Text: string;
|
|
46
|
+
selectAncestorsBackAriaLabel: string;
|
|
47
|
+
selectAncestorsProgressLabel: string;
|
|
48
|
+
selectAncestorsQuestion: string;
|
|
49
|
+
selectAncestorsCardHeadingPrefix: string;
|
|
50
|
+
selectAncestorsAllAncestorsCaption: string;
|
|
51
|
+
selectAncestorsCtaNextRitual: string;
|
|
52
|
+
selectAncestorsCtaProceed: string;
|
|
53
|
+
selectAncestorsAddMoreLabel: string;
|
|
54
|
+
selectAncestorsAndAddMoreLabel: string;
|
|
55
|
+
selectAncestorsOptionAll: string;
|
|
56
|
+
selectAncestorsOptionMother: string;
|
|
57
|
+
selectAncestorsOptionFather: string;
|
|
58
|
+
selectAncestorsOptionWife: string;
|
|
59
|
+
selectAncestorsOptionHusband: string;
|
|
60
|
+
selectAncestorsOptionGrandfatherPaternal: string;
|
|
61
|
+
selectAncestorsOptionGrandmotherPaternal: string;
|
|
62
|
+
selectAncestorsOptionGrandfatherMaternal: string;
|
|
63
|
+
selectAncestorsOptionGrandmotherMaternal: string;
|
|
64
|
+
selectAncestorsOptionGreatGrandfatherPaternal: string;
|
|
65
|
+
selectAncestorsOptionGreatGrandmotherPaternal: string;
|
|
66
|
+
selectAncestorsOptionGreatGrandfatherMaternal: string;
|
|
67
|
+
selectAncestorsOptionGreatGrandmotherMaternal: string;
|
|
68
|
+
deathTithiProgressLabel: string;
|
|
69
|
+
deathTithiQuestionPrefix: string;
|
|
70
|
+
deathTithiQuestionHighlight: string;
|
|
71
|
+
deathTithiQuestionSuffix: string;
|
|
72
|
+
deathTithiSubtextPrefix: string;
|
|
73
|
+
deathTithiSubtextHighlight: string;
|
|
74
|
+
deathTithiOption1Title: string;
|
|
75
|
+
deathTithiOption1Subtext: string;
|
|
76
|
+
deathTithiOption2Title: string;
|
|
77
|
+
deathTithiOption2Subtext: string;
|
|
78
|
+
deathTithiOption3Title: string;
|
|
79
|
+
deathTithiOption3Subtext: string;
|
|
80
|
+
deathTithiOption3ExpandedTitle: string;
|
|
81
|
+
deathTithiOption3ExpandedBody: string;
|
|
82
|
+
deathTithiCtaLabel: string;
|
|
83
|
+
deathTithiFinalCtaLabel: string;
|
|
84
|
+
deathTithiPickerHeadingSuffix: string;
|
|
85
|
+
deathTithiPickerConfirmCta: string;
|
|
86
|
+
deathDatePickerConfirmCta: string;
|
|
87
|
+
deathDatePickerTimezoneLabel: string;
|
|
88
|
+
tithiNamePratipada: string;
|
|
89
|
+
tithiNameDvitiya: string;
|
|
90
|
+
tithiNameTritiya: string;
|
|
91
|
+
tithiNameChaturthi: string;
|
|
92
|
+
tithiNamePanchami: string;
|
|
93
|
+
tithiNameShashthi: string;
|
|
94
|
+
tithiNameSaptami: string;
|
|
95
|
+
tithiNameAshtami: string;
|
|
96
|
+
tithiNameNavami: string;
|
|
97
|
+
tithiNameDashami: string;
|
|
98
|
+
tithiNameEkadashi: string;
|
|
99
|
+
tithiNameDvadashi: string;
|
|
100
|
+
tithiNameTrayodashi: string;
|
|
101
|
+
tithiNameChaturdashi: string;
|
|
102
|
+
tithiNameAmavasya: string;
|
|
103
|
+
amavasyaFallbackTithiPassedHeader: string;
|
|
104
|
+
amavasyaFallbackCardTitle: string;
|
|
105
|
+
amavasyaFallbackCardBadge: string;
|
|
106
|
+
amavasyaFallbackCardBodyDatePassed: string;
|
|
107
|
+
amavasyaFallbackCta: string;
|
|
108
|
+
addAncestorModalTitle: string;
|
|
109
|
+
addAncestorModalFieldLabel: string;
|
|
110
|
+
addAncestorModalNamePrefix: string;
|
|
111
|
+
addAncestorModalNamePlaceholder: string;
|
|
112
|
+
addAncestorModalAddMore: string;
|
|
113
|
+
addAncestorModalSaveCta: string;
|
|
114
|
+
selectRitualDaySheetHeading: string;
|
|
115
|
+
selectRitualDaySheetCardTitle: string;
|
|
116
|
+
selectRitualDaySheetCardDescription: string;
|
|
117
|
+
selectRitualDaySheetTag: string;
|
|
118
|
+
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
|
+
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
|
+
selectRitualDaySheetCta: string;
|
|
27
121
|
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kannada translations for Make Your Own Ritual
|
|
3
|
+
*/
|
|
4
|
+
export declare const kn: {
|
|
5
|
+
headerBadge: string;
|
|
6
|
+
headerDateRange: string;
|
|
7
|
+
headerHeadline: string;
|
|
8
|
+
chooseMultipleNote: string;
|
|
9
|
+
nextStepInfoNote: string;
|
|
10
|
+
ritualPindDaanTitle: string;
|
|
11
|
+
ritualPindDaanDesc: string;
|
|
12
|
+
ritualTarpanTitle: string;
|
|
13
|
+
ritualTarpanDesc: string;
|
|
14
|
+
ritualShraddhaTitle: string;
|
|
15
|
+
ritualShraddhaDesc: string;
|
|
16
|
+
ritualLocationKotiTirtha: string;
|
|
17
|
+
ritualRating: string;
|
|
18
|
+
ritualBooked: string;
|
|
19
|
+
ritualRatingTemplate: string;
|
|
20
|
+
ritualBookedTemplate: string;
|
|
21
|
+
ritualPriceLabel: string;
|
|
22
|
+
ritualAboutLink: string;
|
|
23
|
+
ritualAboutChadhava: string;
|
|
24
|
+
ritualAboutSeva: string;
|
|
25
|
+
ritualSelectAriaLabel: string;
|
|
26
|
+
ritualCountSingular: string;
|
|
27
|
+
ritualCountPlural: string;
|
|
28
|
+
ctaProceed: string;
|
|
29
|
+
makeYourOwnRitualCtaLabel: string;
|
|
30
|
+
makeYourOwnRitualHeroTitle: string;
|
|
31
|
+
makeYourOwnRitualHeroSubtitle: string;
|
|
32
|
+
makeYourOwnRitualIntroTitle: string;
|
|
33
|
+
makeYourOwnRitualIntroBody: string;
|
|
34
|
+
makeYourOwnRitualChoicesTitle: string;
|
|
35
|
+
makeYourOwnRitualChoiceDeity: string;
|
|
36
|
+
makeYourOwnRitualChoiceTemple: string;
|
|
37
|
+
makeYourOwnRitualChoiceSankalp: string;
|
|
38
|
+
makeYourOwnRitualChoiceOfferings: string;
|
|
39
|
+
makeYourOwnRitualStepsTitle: string;
|
|
40
|
+
makeYourOwnRitualStep1Title: string;
|
|
41
|
+
makeYourOwnRitualStep1Text: string;
|
|
42
|
+
makeYourOwnRitualStep2Title: string;
|
|
43
|
+
makeYourOwnRitualStep2Text: string;
|
|
44
|
+
makeYourOwnRitualStep3Title: string;
|
|
45
|
+
makeYourOwnRitualStep3Text: string;
|
|
46
|
+
selectAncestorsBackAriaLabel: string;
|
|
47
|
+
selectAncestorsProgressLabel: string;
|
|
48
|
+
selectAncestorsQuestion: string;
|
|
49
|
+
selectAncestorsCardHeadingPrefix: string;
|
|
50
|
+
selectAncestorsAllAncestorsCaption: string;
|
|
51
|
+
selectAncestorsCtaNextRitual: string;
|
|
52
|
+
selectAncestorsCtaProceed: string;
|
|
53
|
+
selectAncestorsAddMoreLabel: string;
|
|
54
|
+
selectAncestorsAndAddMoreLabel: string;
|
|
55
|
+
selectAncestorsOptionAll: string;
|
|
56
|
+
selectAncestorsOptionMother: string;
|
|
57
|
+
selectAncestorsOptionFather: string;
|
|
58
|
+
selectAncestorsOptionWife: string;
|
|
59
|
+
selectAncestorsOptionHusband: string;
|
|
60
|
+
selectAncestorsOptionGrandfatherPaternal: string;
|
|
61
|
+
selectAncestorsOptionGrandmotherPaternal: string;
|
|
62
|
+
selectAncestorsOptionGrandfatherMaternal: string;
|
|
63
|
+
selectAncestorsOptionGrandmotherMaternal: string;
|
|
64
|
+
selectAncestorsOptionGreatGrandfatherPaternal: string;
|
|
65
|
+
selectAncestorsOptionGreatGrandmotherPaternal: string;
|
|
66
|
+
selectAncestorsOptionGreatGrandfatherMaternal: string;
|
|
67
|
+
selectAncestorsOptionGreatGrandmotherMaternal: string;
|
|
68
|
+
deathTithiProgressLabel: string;
|
|
69
|
+
deathTithiQuestionPrefix: string;
|
|
70
|
+
deathTithiQuestionHighlight: string;
|
|
71
|
+
deathTithiQuestionSuffix: string;
|
|
72
|
+
deathTithiSubtextPrefix: string;
|
|
73
|
+
deathTithiSubtextHighlight: string;
|
|
74
|
+
deathTithiOption1Title: string;
|
|
75
|
+
deathTithiOption1Subtext: string;
|
|
76
|
+
deathTithiOption2Title: string;
|
|
77
|
+
deathTithiOption2Subtext: string;
|
|
78
|
+
deathTithiOption3Title: string;
|
|
79
|
+
deathTithiOption3Subtext: string;
|
|
80
|
+
deathTithiOption3ExpandedTitle: string;
|
|
81
|
+
deathTithiOption3ExpandedBody: string;
|
|
82
|
+
deathTithiCtaLabel: string;
|
|
83
|
+
deathTithiFinalCtaLabel: string;
|
|
84
|
+
deathTithiPickerHeadingSuffix: string;
|
|
85
|
+
deathTithiPickerConfirmCta: string;
|
|
86
|
+
deathDatePickerConfirmCta: string;
|
|
87
|
+
deathDatePickerTimezoneLabel: string;
|
|
88
|
+
tithiNamePratipada: string;
|
|
89
|
+
tithiNameDvitiya: string;
|
|
90
|
+
tithiNameTritiya: string;
|
|
91
|
+
tithiNameChaturthi: string;
|
|
92
|
+
tithiNamePanchami: string;
|
|
93
|
+
tithiNameShashthi: string;
|
|
94
|
+
tithiNameSaptami: string;
|
|
95
|
+
tithiNameAshtami: string;
|
|
96
|
+
tithiNameNavami: string;
|
|
97
|
+
tithiNameDashami: string;
|
|
98
|
+
tithiNameEkadashi: string;
|
|
99
|
+
tithiNameDvadashi: string;
|
|
100
|
+
tithiNameTrayodashi: string;
|
|
101
|
+
tithiNameChaturdashi: string;
|
|
102
|
+
tithiNameAmavasya: string;
|
|
103
|
+
amavasyaFallbackTithiPassedHeader: string;
|
|
104
|
+
amavasyaFallbackCardTitle: string;
|
|
105
|
+
amavasyaFallbackCardBadge: string;
|
|
106
|
+
amavasyaFallbackCardBodyDatePassed: string;
|
|
107
|
+
amavasyaFallbackCta: string;
|
|
108
|
+
addAncestorModalTitle: string;
|
|
109
|
+
addAncestorModalFieldLabel: string;
|
|
110
|
+
addAncestorModalNamePrefix: string;
|
|
111
|
+
addAncestorModalNamePlaceholder: string;
|
|
112
|
+
addAncestorModalAddMore: string;
|
|
113
|
+
addAncestorModalSaveCta: string;
|
|
114
|
+
selectRitualDaySheetHeading: string;
|
|
115
|
+
selectRitualDaySheetCardTitle: string;
|
|
116
|
+
selectRitualDaySheetCardDescription: string;
|
|
117
|
+
selectRitualDaySheetTag: string;
|
|
118
|
+
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
|
+
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
|
+
selectRitualDaySheetCta: string;
|
|
121
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Telugu translations for Make Your Own Ritual
|
|
3
|
+
*/
|
|
4
|
+
export declare const te: {
|
|
5
|
+
headerBadge: string;
|
|
6
|
+
headerDateRange: string;
|
|
7
|
+
headerHeadline: string;
|
|
8
|
+
chooseMultipleNote: string;
|
|
9
|
+
nextStepInfoNote: string;
|
|
10
|
+
ritualPindDaanTitle: string;
|
|
11
|
+
ritualPindDaanDesc: string;
|
|
12
|
+
ritualTarpanTitle: string;
|
|
13
|
+
ritualTarpanDesc: string;
|
|
14
|
+
ritualShraddhaTitle: string;
|
|
15
|
+
ritualShraddhaDesc: string;
|
|
16
|
+
ritualLocationKotiTirtha: string;
|
|
17
|
+
ritualRating: string;
|
|
18
|
+
ritualBooked: string;
|
|
19
|
+
ritualRatingTemplate: string;
|
|
20
|
+
ritualBookedTemplate: string;
|
|
21
|
+
ritualPriceLabel: string;
|
|
22
|
+
ritualAboutLink: string;
|
|
23
|
+
ritualAboutChadhava: string;
|
|
24
|
+
ritualAboutSeva: string;
|
|
25
|
+
ritualSelectAriaLabel: string;
|
|
26
|
+
ritualCountSingular: string;
|
|
27
|
+
ritualCountPlural: string;
|
|
28
|
+
ctaProceed: string;
|
|
29
|
+
makeYourOwnRitualCtaLabel: string;
|
|
30
|
+
makeYourOwnRitualHeroTitle: string;
|
|
31
|
+
makeYourOwnRitualHeroSubtitle: string;
|
|
32
|
+
makeYourOwnRitualIntroTitle: string;
|
|
33
|
+
makeYourOwnRitualIntroBody: string;
|
|
34
|
+
makeYourOwnRitualChoicesTitle: string;
|
|
35
|
+
makeYourOwnRitualChoiceDeity: string;
|
|
36
|
+
makeYourOwnRitualChoiceTemple: string;
|
|
37
|
+
makeYourOwnRitualChoiceSankalp: string;
|
|
38
|
+
makeYourOwnRitualChoiceOfferings: string;
|
|
39
|
+
makeYourOwnRitualStepsTitle: string;
|
|
40
|
+
makeYourOwnRitualStep1Title: string;
|
|
41
|
+
makeYourOwnRitualStep1Text: string;
|
|
42
|
+
makeYourOwnRitualStep2Title: string;
|
|
43
|
+
makeYourOwnRitualStep2Text: string;
|
|
44
|
+
makeYourOwnRitualStep3Title: string;
|
|
45
|
+
makeYourOwnRitualStep3Text: string;
|
|
46
|
+
selectAncestorsBackAriaLabel: string;
|
|
47
|
+
selectAncestorsProgressLabel: string;
|
|
48
|
+
selectAncestorsQuestion: string;
|
|
49
|
+
selectAncestorsCardHeadingPrefix: string;
|
|
50
|
+
selectAncestorsAllAncestorsCaption: string;
|
|
51
|
+
selectAncestorsCtaNextRitual: string;
|
|
52
|
+
selectAncestorsCtaProceed: string;
|
|
53
|
+
selectAncestorsAddMoreLabel: string;
|
|
54
|
+
selectAncestorsAndAddMoreLabel: string;
|
|
55
|
+
selectAncestorsOptionAll: string;
|
|
56
|
+
selectAncestorsOptionMother: string;
|
|
57
|
+
selectAncestorsOptionFather: string;
|
|
58
|
+
selectAncestorsOptionWife: string;
|
|
59
|
+
selectAncestorsOptionHusband: string;
|
|
60
|
+
selectAncestorsOptionGrandfatherPaternal: string;
|
|
61
|
+
selectAncestorsOptionGrandmotherPaternal: string;
|
|
62
|
+
selectAncestorsOptionGrandfatherMaternal: string;
|
|
63
|
+
selectAncestorsOptionGrandmotherMaternal: string;
|
|
64
|
+
selectAncestorsOptionGreatGrandfatherPaternal: string;
|
|
65
|
+
selectAncestorsOptionGreatGrandmotherPaternal: string;
|
|
66
|
+
selectAncestorsOptionGreatGrandfatherMaternal: string;
|
|
67
|
+
selectAncestorsOptionGreatGrandmotherMaternal: string;
|
|
68
|
+
deathTithiProgressLabel: string;
|
|
69
|
+
deathTithiQuestionPrefix: string;
|
|
70
|
+
deathTithiQuestionHighlight: string;
|
|
71
|
+
deathTithiQuestionSuffix: string;
|
|
72
|
+
deathTithiSubtextPrefix: string;
|
|
73
|
+
deathTithiSubtextHighlight: string;
|
|
74
|
+
deathTithiOption1Title: string;
|
|
75
|
+
deathTithiOption1Subtext: string;
|
|
76
|
+
deathTithiOption2Title: string;
|
|
77
|
+
deathTithiOption2Subtext: string;
|
|
78
|
+
deathTithiOption3Title: string;
|
|
79
|
+
deathTithiOption3Subtext: string;
|
|
80
|
+
deathTithiOption3ExpandedTitle: string;
|
|
81
|
+
deathTithiOption3ExpandedBody: string;
|
|
82
|
+
deathTithiCtaLabel: string;
|
|
83
|
+
deathTithiFinalCtaLabel: string;
|
|
84
|
+
deathTithiPickerHeadingSuffix: string;
|
|
85
|
+
deathTithiPickerConfirmCta: string;
|
|
86
|
+
deathDatePickerConfirmCta: string;
|
|
87
|
+
deathDatePickerTimezoneLabel: string;
|
|
88
|
+
tithiNamePratipada: string;
|
|
89
|
+
tithiNameDvitiya: string;
|
|
90
|
+
tithiNameTritiya: string;
|
|
91
|
+
tithiNameChaturthi: string;
|
|
92
|
+
tithiNamePanchami: string;
|
|
93
|
+
tithiNameShashthi: string;
|
|
94
|
+
tithiNameSaptami: string;
|
|
95
|
+
tithiNameAshtami: string;
|
|
96
|
+
tithiNameNavami: string;
|
|
97
|
+
tithiNameDashami: string;
|
|
98
|
+
tithiNameEkadashi: string;
|
|
99
|
+
tithiNameDvadashi: string;
|
|
100
|
+
tithiNameTrayodashi: string;
|
|
101
|
+
tithiNameChaturdashi: string;
|
|
102
|
+
tithiNameAmavasya: string;
|
|
103
|
+
amavasyaFallbackTithiPassedHeader: string;
|
|
104
|
+
amavasyaFallbackCardTitle: string;
|
|
105
|
+
amavasyaFallbackCardBadge: string;
|
|
106
|
+
amavasyaFallbackCardBodyDatePassed: string;
|
|
107
|
+
amavasyaFallbackCta: string;
|
|
108
|
+
addAncestorModalTitle: string;
|
|
109
|
+
addAncestorModalFieldLabel: string;
|
|
110
|
+
addAncestorModalNamePrefix: string;
|
|
111
|
+
addAncestorModalNamePlaceholder: string;
|
|
112
|
+
addAncestorModalAddMore: string;
|
|
113
|
+
addAncestorModalSaveCta: string;
|
|
114
|
+
selectRitualDaySheetHeading: string;
|
|
115
|
+
selectRitualDaySheetCardTitle: string;
|
|
116
|
+
selectRitualDaySheetCardDescription: string;
|
|
117
|
+
selectRitualDaySheetTag: string;
|
|
118
|
+
selectRitualDaySheetDeathAnniversaryTitle: string;
|
|
119
|
+
selectRitualDaySheetDeathAnniversaryDescription: string;
|
|
120
|
+
selectRitualDaySheetCta: string;
|
|
121
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { I18nProvider, useI18n } from './i18n';
|
|
1
|
+
export { I18nProvider, SUPPORTED_LOCALES, useI18n } from './i18n';
|
|
2
2
|
export type { SupportedLocale } from './i18n';
|
|
3
3
|
export { SelectAncestors } from './components/SelectAncestors';
|
|
4
|
-
export type { SelectAncestorsProps } from './components/SelectAncestors';
|
|
4
|
+
export type { SelectAncestorsProps, SelectAncestorsInteractionEvent, } from './components/SelectAncestors';
|
|
5
5
|
export type { RitualDayOption } from './components/SelectRitualDaySheet';
|
|
6
6
|
export { DeathTithi } from './components/DeathTithi';
|
|
7
|
-
export type { DeathTithiProps } from './components/DeathTithi';
|
|
7
|
+
export type { DeathTithiProps, DeathTithiInteractionEvent, } from './components/DeathTithi';
|
|
8
8
|
export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS } from '../../pitru-paksh-common/dist/pitru-paksh-common.js';
|
|
9
9
|
export type { RitualDataAction, PhoneNumberData, PujaId, SelectedItem, AncestorSelection, TithiPreview, TithiValidity, DeathTithiSelection, MakeYourOwnRitualDataState, SetSelectedRitualsAction, LandingPageAction, LandingPageStore, PitruPakshStoreTemple, PitruPakshStoreAddOn, PitruPakshOrderedRitual, PitruPakshStoreData, PitruPakshRenderableRitual, RitualType, } from './types';
|
|
10
10
|
export { MakeYourOwnRitualPage } from './components/MakeYourOwnRitualPage';
|