@srimandir/pitru-paksh-common 3.0.0 → 3.1.1
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.
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
export { getOutcomeTranslation, OutcomeI18nProvider, OUTCOME_SUPPORTED_LOCALES, outcomeTranslations, useOutcomeI18n, } from './outcome-i18n';
|
|
2
|
+
export type { OutcomeLocale, OutcomeTranslationKey, OutcomeTranslations, } from './outcome-i18n';
|
|
3
|
+
export { OutcomeBillDetails, } from './components/OutcomeBillDetails/OutcomeBillDetails';
|
|
4
|
+
export type { OutcomeBillDetailsItem, OutcomeBillDetailsProps, } from './components/OutcomeBillDetails/OutcomeBillDetails';
|
|
5
|
+
export { OutcomeAncestorEditModal, } from './components/OutcomeAncestorEditModal/OutcomeAncestorEditModal';
|
|
6
|
+
export type { OutcomeAncestorEditModalProps, OutcomeAncestorPujaItem, } from './components/OutcomeAncestorEditModal/OutcomeAncestorEditModal';
|
|
7
|
+
export { OutcomeStickyCta, } from './components/OutcomeStickyCta/OutcomeStickyCta';
|
|
8
|
+
export type { OutcomeStickyCtaProps, } from './components/OutcomeStickyCta/OutcomeStickyCta';
|
|
9
|
+
export { OutcomeEmptyRituals, } from './components/OutcomeEmptyRituals/OutcomeEmptyRituals';
|
|
10
|
+
export { OnlinePujaTestimonial, } from './components/OnlinePujaTestimonial/OnlinePujaTestimonial';
|
|
11
|
+
export { WhySriMandir } from './components/WhySriMandir/WhySriMandir';
|
|
12
|
+
export { ProcessInvolved } from './components/ProcessInvolved/ProcessInvolved';
|
|
13
|
+
export { PujaDetailsCarouselHeader, } from './components/PujaDetails/PujaDetailsCarouselHeader';
|
|
14
|
+
export type { PujaDetailsCarouselHeaderProps, } from './components/PujaDetails/PujaDetailsCarouselHeader';
|
|
15
|
+
export { PujaBenefitsSection, } from './components/PujaDetails/PujaBenefitsSection';
|
|
16
|
+
export type { PujaBenefitData, PujaBenefitsSectionProps, } from './components/PujaDetails/PujaBenefitsSection';
|
|
17
|
+
export { TempleSignificanceSection, } from './components/PujaDetails/TempleSignificanceSection';
|
|
18
|
+
export type { TempleSignificanceSectionProps, } from './components/PujaDetails/TempleSignificanceSection';
|
|
19
|
+
export { DevoteesReviews } from './components/PujaDetails/DevoteesReviews';
|
|
20
|
+
export type { DevoteeReviewData, DevoteeReviewMedia, DevoteesReviewsProps, } from './components/PujaDetails/DevoteesReviews';
|
|
21
|
+
export { OUTCOME_TRUST_ITEMS } from './constants/outcome.constants';
|
|
22
|
+
export type { OutcomeTrustItemData, } from './constants/outcome.constants';
|
|
23
|
+
export { Button, buttonVariants } from './components/Button';
|
|
24
|
+
export type { ButtonProps } from './components/Button';
|
|
25
|
+
export { ConfinedBottomSheet } from './components/ConfinedBottomSheet';
|
|
26
|
+
export { TestimonialCard } from './components/TestimonialCard';
|
|
27
|
+
export type { TestimonialCardProps } from './components/TestimonialCard';
|
|
28
|
+
export { FAQSection } from './components/FAQSection';
|
|
29
|
+
export type { FAQSectionProps, FAQItem } from './components/FAQSection';
|
|
30
|
+
export { FAQAccordion } from './components/FAQAccordion';
|
|
31
|
+
export type { FAQAccordionProps, FAQAccordionItem } from './components/FAQAccordion';
|
|
32
|
+
export { VideoPlayer } from './components/VideoPlayer';
|
|
33
|
+
export type { VideoPlayerProps } from './components/VideoPlayer';
|
|
34
|
+
export { LanguageSwitcher } from './components/LanguageSwitcher';
|
|
35
|
+
export type { LanguageSwitcherProps, LanguageOption, } from './components/LanguageSwitcher';
|
|
36
|
+
export { TopBar } from './components/TopBar';
|
|
37
|
+
export type { TopBarProps } from './components/TopBar';
|
|
38
|
+
export { Chip } from './components/Chip';
|
|
39
|
+
export type { ChipProps } from './components/Chip';
|
|
40
|
+
export { StepProgressHeader } from './components/StepProgressHeader';
|
|
41
|
+
export type { StepProgressHeaderProps } from './components/StepProgressHeader';
|
|
42
|
+
export { AudioQuestionCard } from './components/AudioQuestionCard';
|
|
43
|
+
export type { AudioQuestionCardProps } from './components/AudioQuestionCard';
|
|
44
|
+
export { IconBadge } from './components/IconBadge';
|
|
45
|
+
export type { IconBadgeProps } from './components/IconBadge';
|
|
46
|
+
export { SelectorCard, SelectorCardEditableField, SelectorCardInfoRow, SelectorCardNote, SelectorCardPriceBadge, } from './components/SelectorCard';
|
|
47
|
+
export type { SelectorCardProps, SelectorCardEditableFieldProps, SelectorCardInfoRowProps, SelectorCardNoteProps, SelectorCardPriceBadgeProps, } from './components/SelectorCard';
|
|
48
|
+
export { QuantityStepper } from './components/QuantityStepper';
|
|
49
|
+
export type { QuantityStepperProps } from './components/QuantityStepper';
|
|
50
|
+
export { CartReviewItem, CartReviewMandapItem, CartReviewChangeButton, CartReviewAddedBadge, } from './components/CartReviewItem';
|
|
51
|
+
export type { CartReviewItemProps, CartReviewMandapItemProps, CartReviewChangeButtonProps, CartReviewAddedBadgeProps, } from './components/CartReviewItem';
|
|
52
|
+
export { ServiceOfferCard } from './components/ServiceOfferCard';
|
|
53
|
+
export type { ServiceOfferCardProps } from './components/ServiceOfferCard';
|
|
54
|
+
export { ServiceOfferSheet } from './components/ServiceOfferSheet';
|
|
55
|
+
export type { ServiceOfferSheetProps } from './components/ServiceOfferSheet';
|
|
56
|
+
export { PackageSelect } from './components/PackageSelect';
|
|
57
|
+
export type { PackageSelectProps, PackageSelectOption, } from './components/PackageSelect';
|
|
58
|
+
export { PACKAGE_SELECT_DEFAULT_COPY, getPackageSelectDefaultCopy, } from './components/PackageSelect';
|
|
59
|
+
export type { PackageSelectLocale, PackageSelectDefaultCopy, } from './components/PackageSelect';
|
|
60
|
+
export { TrustBadgesBar } from './components/TrustBadgesBar';
|
|
61
|
+
export type { TrustBadgesBarProps, TrustBadge, } from './components/TrustBadgesBar';
|
|
62
|
+
export { CheckoutBar } from './components/CheckoutBar';
|
|
63
|
+
export type { CheckoutBarProps } from './components/CheckoutBar';
|
|
64
|
+
export { CHECKOUT_BAR_DEFAULT_COPY, getCheckoutBarDefaultCopy, } from './components/CheckoutBar';
|
|
65
|
+
export type { CheckoutBarLocale, CheckoutBarDefaultCopy, } from './components/CheckoutBar';
|
|
66
|
+
export { BookingSummaryBanner } from './components/BookingSummaryBanner';
|
|
67
|
+
export type { BookingSummaryBannerProps, BookingSummaryBannerStats, } from './components/BookingSummaryBanner';
|
|
68
|
+
export { BOOKING_SUMMARY_BANNER_DEFAULT_COPY, getBookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
|
|
69
|
+
export type { BookingSummaryBannerLocale, BookingSummaryBannerDefaultCopy, } from './components/BookingSummaryBanner';
|
|
70
|
+
export { BillDetails, BillDetailsSheet } from './components/BillDetails';
|
|
71
|
+
export type { BillDetailsProps, BillDetailsRow, BillDetailsSheetProps, } from './components/BillDetails';
|
|
72
|
+
export { CartView } from './components/CartView';
|
|
73
|
+
export type { CartViewProps, CartViewAddon, CartViewItem, CartViewLocale, } from './components/CartView';
|
|
74
|
+
export { TextField } from './components/TextField';
|
|
75
|
+
export type { TextFieldProps } from './components/TextField';
|
|
76
|
+
export { TithiPickerSheet } from './components/TithiPickerSheet';
|
|
77
|
+
export type { TithiPickerSheetProps } from './components/TithiPickerSheet';
|
|
78
|
+
export { DatePickerSheet } from './components/DatePickerSheet';
|
|
79
|
+
export type { DatePickerSheetProps, PickedDate, } from './components/DatePickerSheet';
|
|
80
|
+
export { PhoneNumberSheet } from './components/PhoneNumberSheet';
|
|
81
|
+
export type { PhoneNumberSheetProps } from './components/PhoneNumberSheet';
|
|
82
|
+
export { EmailSheet } from './components/EmailSheet';
|
|
83
|
+
export type { EmailSheetProps } from './components/EmailSheet';
|
|
84
|
+
export { TimeOfBirthPickerSheet } from './components/DatePickerSheet';
|
|
85
|
+
export type { TimeOfBirthPickerSheetProps, PickedTime } from './components/DatePickerSheet';
|
|
86
|
+
export { L2Card } from './components/L2Card';
|
|
87
|
+
export type { L2CardProps, L2CardImageProps } from './components/L2Card';
|
|
88
|
+
export { OutcomeButton, PlusIcon, CheckIcon } from './components/OutcomeButton';
|
|
89
|
+
export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps, } from './components/OutcomeButton';
|
|
90
|
+
export { PujaDetailsForm, createEmptyPujaDetailsFormValues, } from './components/PujaDetailsForm';
|
|
91
|
+
export type { PujaDetailsFormProps, PujaDetailsFormValues, AncestorNameEntry, } from './components/PujaDetailsForm';
|
|
92
|
+
export { PUJA_DETAILS_FORM_DEFAULT_COPY, getPujaDetailsFormDefaultCopy, getKartaOrdinalLabel, } from './components/PujaDetailsForm';
|
|
93
|
+
export type { PujaDetailsFormLocale, PujaDetailsFormDefaultCopy, } from './components/PujaDetailsForm';
|
|
94
|
+
export { ConfirmPujaDetailsModal } from './components/ConfirmPujaDetailsModal';
|
|
95
|
+
export type { ConfirmPujaDetailsModalProps } from './components/ConfirmPujaDetailsModal';
|
|
96
|
+
export { CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY, getConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
97
|
+
export type { ConfirmPujaDetailsModalLocale, ConfirmPujaDetailsModalDefaultCopy, } from './components/ConfirmPujaDetailsModal';
|
|
98
|
+
export { GotraInfoModal } from './components/GotraInfoModal';
|
|
99
|
+
export type { GotraInfoModalProps } from './components/GotraInfoModal';
|
|
100
|
+
export { GOTRA_INFO_MODAL_DEFAULT_COPY, getGotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
101
|
+
export type { GotraInfoModalLocale, GotraInfoModalDefaultCopy, } from './components/GotraInfoModal';
|
|
102
|
+
export { OutcomeSummary } from './components/OutcomeSummary';
|
|
103
|
+
export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant, } from './components/OutcomeSummary';
|
|
104
|
+
export { AddAncestorSheet } from './components/AddAncestorSheet';
|
|
105
|
+
export type { AddAncestorSheetProps } from './components/AddAncestorSheet';
|
|
106
|
+
export { AncestorTab } from './components/AncestorTab';
|
|
107
|
+
export type { AncestorTabProps, AncestorTabState, } from './components/AncestorTab';
|
|
108
|
+
export { AncestorTabRow } from './components/AncestorTabRow';
|
|
109
|
+
export type { AncestorTabRowProps, AncestorTabRowEntry, } from './components/AncestorTabRow';
|
|
110
|
+
export { AvatarCardDialog } from './components/AvatarCardDialog';
|
|
111
|
+
export type { AvatarCardDialogProps } from './components/AvatarCardDialog';
|
|
112
|
+
export { parseIsoDate, formatIsoDate, getMonthLabels, formatDisplayDate, } from './utils/date.utils';
|
|
113
|
+
export { SarvaPitruCard } from './components/SarvaPitruCard';
|
|
114
|
+
export type { SarvaPitruCardProps } from './components/SarvaPitruCard';
|
|
115
|
+
export { SARVA_PITRU_CARD_DEFAULT_COPY, getSarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
|
|
116
|
+
export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
|
|
117
|
+
export { cn } from '../../common/dist/common.js';
|
|
118
|
+
export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, CUSTOM_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './constants';
|
|
119
|
+
export { DEATH_TITHI_OPTIONS, TITHI_NAME_KEYS } from './constants';
|
|
120
|
+
export type { AncestorOptionData, DeathTithiMethod } from './types';
|
|
121
|
+
export type { OutcomeAncestorItem, OutcomeMandapArrangementData, OutcomePackageSelectOption, OutcomePackageSelectProps, OutcomeRitualData, } from './types/outcome.types';
|
|
122
|
+
export { mapPujaL2Response } from './utils/mapPujaL2Response';
|
|
123
|
+
export type { PujaL2DetailsSheetData, } from './utils/mapPujaL2Response';
|
|
124
|
+
export type { PujaL2Benefit, PujaL2BenefitsCard, PujaL2Card, PujaL2InfoMedia, PujaL2LocationDetailsCard, PujaL2Response, PujaL2ReviewUser, PujaL2StoreCard, PujaL2TempleDetails, PujaL2UserReviewsCard, } from './types/pujaL2.types';
|
|
125
|
+
export { EventHeader } from './components/EventHeader';
|
|
126
|
+
export type { EventHeaderProps } from './components/EventHeader';
|
|
127
|
+
export { HeroLogoBadge } from './components/HeroLogoBadge';
|
|
128
|
+
export type { HeroLogoBadgeProps } from './components/HeroLogoBadge';
|
|
129
|
+
export { DatesCard } from './components/DatesCard';
|
|
130
|
+
export type { DatesCardProps } from './components/DatesCard';
|
|
131
|
+
export { RitualProceedBar } from './components/RitualProceedBar';
|
|
132
|
+
export type { RitualProceedBarProps } from './components/RitualProceedBar';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createI18n as Ga, cn as m, BottomSheet as
|
|
1
|
+
import { createI18n as Ga, cn as m, BottomSheet as Ie, DEFAULT_COUNTRIES as Ua, getMaxLengthForCountry as sa, validatePhoneByCountryCode as ra, getFlagEmoji as Ka } from "@srimandir/common";
|
|
2
2
|
import { cn as Wl } from "@srimandir/common";
|
|
3
3
|
import * as Za from "react";
|
|
4
4
|
import k, { useState as V, useRef as Ze, useMemo as $e, useEffect as We, forwardRef as Ya, Fragment as qa } from "react";
|
|
@@ -258,7 +258,7 @@ const Un = ["en", "hi", "kn", "te"], Ja = {
|
|
|
258
258
|
kn: ts,
|
|
259
259
|
te: as
|
|
260
260
|
}, na = Ga(rt), Kn = na.I18nProvider;
|
|
261
|
-
function
|
|
261
|
+
function ke() {
|
|
262
262
|
return na.useI18n();
|
|
263
263
|
}
|
|
264
264
|
const Nt = (t, a) => (rt[t] ?? rt.en)[a];
|
|
@@ -1370,7 +1370,7 @@ function Ss(t) {
|
|
|
1370
1370
|
function xa(t) {
|
|
1371
1371
|
return E({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(t);
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function _e(t) {
|
|
1374
1374
|
return E({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(t);
|
|
1375
1375
|
}
|
|
1376
1376
|
function lt(t) {
|
|
@@ -1384,7 +1384,7 @@ function Qn({
|
|
|
1384
1384
|
onProceedClick: l,
|
|
1385
1385
|
disabled: i
|
|
1386
1386
|
}) {
|
|
1387
|
-
const { t: u } =
|
|
1387
|
+
const { t: u } = ke();
|
|
1388
1388
|
return /* @__PURE__ */ e.jsxs(
|
|
1389
1389
|
"div",
|
|
1390
1390
|
{
|
|
@@ -1421,7 +1421,7 @@ function Qn({
|
|
|
1421
1421
|
},
|
|
1422
1422
|
children: [
|
|
1423
1423
|
r ?? u("outcomeStickyCtaProceedLabel"),
|
|
1424
|
-
/* @__PURE__ */ e.jsx(
|
|
1424
|
+
/* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0, className: "size-[18px] text-white" })
|
|
1425
1425
|
]
|
|
1426
1426
|
}
|
|
1427
1427
|
)
|
|
@@ -1431,7 +1431,7 @@ function Qn({
|
|
|
1431
1431
|
}
|
|
1432
1432
|
const Ts = "https://srm-sbox-cdn.a4b.io/yoda/1788262425704.svg";
|
|
1433
1433
|
function Jn() {
|
|
1434
|
-
const { t } =
|
|
1434
|
+
const { t } = ke();
|
|
1435
1435
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 rounded-[20px] border border-[#e5e3fd] bg-white p-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]", children: [
|
|
1436
1436
|
/* @__PURE__ */ e.jsx("img", { src: Ts, alt: "", "aria-hidden": !0, className: "size-6" }),
|
|
1437
1437
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-1", children: [
|
|
@@ -1442,7 +1442,7 @@ function Jn() {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
const Rs = "https://srm-sbox-cdn.a4b.io/yoda/1788261755933.webp", Es = "https://srm-sbox-cdn.a4b.io/yoda/1788261771996.webp", St = "https://srm-sbox-cdn.a4b.io/yoda/1788261812755.svg", As = "linear-gradient(28.44deg, #fbe9f0 0.54%, #ffffff 18.28%, #ffffff 53.34%, #fcccdf 100%), linear-gradient(90deg, #fff9e9 0%, #fff9e9 100%)";
|
|
1444
1444
|
function el() {
|
|
1445
|
-
const { t } =
|
|
1445
|
+
const { t } = ke();
|
|
1446
1446
|
return /* @__PURE__ */ e.jsxs(
|
|
1447
1447
|
"section",
|
|
1448
1448
|
{
|
|
@@ -1535,7 +1535,7 @@ const Tt = "https://srm-cdn.a4b.io/yoda/1788322995409.svg", Rt = "https://srm-cd
|
|
|
1535
1535
|
}
|
|
1536
1536
|
];
|
|
1537
1537
|
function tl() {
|
|
1538
|
-
const { t } =
|
|
1538
|
+
const { t } = ke();
|
|
1539
1539
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center justify-center gap-5 px-4 py-8", children: [
|
|
1540
1540
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
1541
1541
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 items-center gap-1", children: [
|
|
@@ -1622,7 +1622,7 @@ const Et = "https://srm-sbox-cdn.a4b.io/yoda/1788262151570.svg", At = "https://s
|
|
|
1622
1622
|
}
|
|
1623
1623
|
];
|
|
1624
1624
|
function al() {
|
|
1625
|
-
const { t } =
|
|
1625
|
+
const { t } = ke();
|
|
1626
1626
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center gap-4 py-4", children: [
|
|
1627
1627
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2 px-4", children: [
|
|
1628
1628
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 items-center gap-1", children: [
|
|
@@ -1789,7 +1789,7 @@ function nl({
|
|
|
1789
1789
|
imageAlt: r = "",
|
|
1790
1790
|
paragraphs: n
|
|
1791
1791
|
}) {
|
|
1792
|
-
const { t: l } =
|
|
1792
|
+
const { t: l } = ke(), [i, u] = V(!1);
|
|
1793
1793
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-start bg-white px-4 py-4", children: [
|
|
1794
1794
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-lg font-bold leading-6 text-[#242424]", children: t }),
|
|
1795
1795
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start pt-4", children: [
|
|
@@ -2067,7 +2067,7 @@ const rr = Xa(
|
|
|
2067
2067
|
)
|
|
2068
2068
|
);
|
|
2069
2069
|
X.displayName = "Button";
|
|
2070
|
-
function
|
|
2070
|
+
function Pe(t) {
|
|
2071
2071
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
2072
2072
|
"div",
|
|
2073
2073
|
{
|
|
@@ -2077,7 +2077,7 @@ function Ie(t) {
|
|
|
2077
2077
|
maxWidth: "var(--pitru-paksh-sheet-overlay-max-width, 28rem)",
|
|
2078
2078
|
zIndex: 1100
|
|
2079
2079
|
},
|
|
2080
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2080
|
+
children: /* @__PURE__ */ e.jsx(Ie, { ...t })
|
|
2081
2081
|
}
|
|
2082
2082
|
) : null;
|
|
2083
2083
|
}
|
|
@@ -3281,7 +3281,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3281
3281
|
}) => {
|
|
3282
3282
|
const y = typeof d == "number" && d > x, j = y ? Math.round((d - x) / d * 100) : 0, v = (b ?? y) && j > 0;
|
|
3283
3283
|
return /* @__PURE__ */ e.jsx(
|
|
3284
|
-
|
|
3284
|
+
Pe,
|
|
3285
3285
|
{
|
|
3286
3286
|
isOpen: t,
|
|
3287
3287
|
onClose: a,
|
|
@@ -3610,7 +3610,7 @@ const Zr = [
|
|
|
3610
3610
|
onInfoClick: u,
|
|
3611
3611
|
infoIconClassName: o,
|
|
3612
3612
|
proceedLabel: c,
|
|
3613
|
-
proceedIcon: g = /* @__PURE__ */ e.jsx(
|
|
3613
|
+
proceedIcon: g = /* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0 }),
|
|
3614
3614
|
onProceed: x,
|
|
3615
3615
|
proceedButtonProps: d,
|
|
3616
3616
|
buttonWrapperClassName: f,
|
|
@@ -4076,7 +4076,7 @@ function vl({
|
|
|
4076
4076
|
}) {
|
|
4077
4077
|
const x = ya(r);
|
|
4078
4078
|
return /* @__PURE__ */ e.jsx(
|
|
4079
|
-
|
|
4079
|
+
Pe,
|
|
4080
4080
|
{
|
|
4081
4081
|
isOpen: t,
|
|
4082
4082
|
onClose: a,
|
|
@@ -4295,7 +4295,7 @@ function Nl({
|
|
|
4295
4295
|
c && u(c);
|
|
4296
4296
|
};
|
|
4297
4297
|
return /* @__PURE__ */ e.jsx(
|
|
4298
|
-
|
|
4298
|
+
Ie,
|
|
4299
4299
|
{
|
|
4300
4300
|
isOpen: t,
|
|
4301
4301
|
onClose: a,
|
|
@@ -4417,7 +4417,7 @@ function wl({
|
|
|
4417
4417
|
u({ day: P, month: D, year: B });
|
|
4418
4418
|
};
|
|
4419
4419
|
return /* @__PURE__ */ e.jsx(
|
|
4420
|
-
|
|
4420
|
+
Ie,
|
|
4421
4421
|
{
|
|
4422
4422
|
isOpen: t,
|
|
4423
4423
|
onClose: a,
|
|
@@ -4474,7 +4474,7 @@ function Cl({
|
|
|
4474
4474
|
i({ hour: _, minute: Ut[p] });
|
|
4475
4475
|
};
|
|
4476
4476
|
return /* @__PURE__ */ e.jsx(
|
|
4477
|
-
|
|
4477
|
+
Ie,
|
|
4478
4478
|
{
|
|
4479
4479
|
isOpen: t,
|
|
4480
4480
|
onClose: a,
|
|
@@ -4552,12 +4552,13 @@ function Ll({
|
|
|
4552
4552
|
p && u(d, x);
|
|
4553
4553
|
};
|
|
4554
4554
|
return /* @__PURE__ */ e.jsx(
|
|
4555
|
-
|
|
4555
|
+
Pe,
|
|
4556
4556
|
{
|
|
4557
4557
|
isOpen: t,
|
|
4558
4558
|
onClose: a,
|
|
4559
4559
|
showDragHandle: !0,
|
|
4560
|
-
showCloseButton: !
|
|
4560
|
+
showCloseButton: !0,
|
|
4561
|
+
closeButtonOutside: !0,
|
|
4561
4562
|
ariaLabel: r,
|
|
4562
4563
|
className: "min-h-[25vh]",
|
|
4563
4564
|
overlayClassName: "pitru-paksh-common-root",
|
|
@@ -4567,7 +4568,7 @@ function Ll({
|
|
|
4567
4568
|
variant: "primary",
|
|
4568
4569
|
size: "xl",
|
|
4569
4570
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
4570
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
4571
|
+
rightIcon: /* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0 }),
|
|
4571
4572
|
disabled: !p,
|
|
4572
4573
|
onClick: C,
|
|
4573
4574
|
children: i
|
|
@@ -4613,11 +4614,13 @@ function kl({
|
|
|
4613
4614
|
b && i(f);
|
|
4614
4615
|
};
|
|
4615
4616
|
return /* @__PURE__ */ e.jsx(
|
|
4616
|
-
|
|
4617
|
+
Pe,
|
|
4617
4618
|
{
|
|
4618
4619
|
isOpen: t,
|
|
4619
4620
|
onClose: a,
|
|
4620
4621
|
showDragHandle: !0,
|
|
4622
|
+
showCloseButton: !0,
|
|
4623
|
+
closeButtonOutside: !0,
|
|
4621
4624
|
ariaLabel: r,
|
|
4622
4625
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
4623
4626
|
X,
|
|
@@ -4625,7 +4628,7 @@ function kl({
|
|
|
4625
4628
|
variant: "primary",
|
|
4626
4629
|
size: "xl",
|
|
4627
4630
|
className: "w-full rounded-xl",
|
|
4628
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
4631
|
+
rightIcon: /* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0 }),
|
|
4629
4632
|
disabled: !b,
|
|
4630
4633
|
onClick: C,
|
|
4631
4634
|
children: l
|
|
@@ -4873,7 +4876,7 @@ function cn({
|
|
|
4873
4876
|
}) {
|
|
4874
4877
|
const f = on(r), b = f.payButtonTemplate.replace("{amount}", o);
|
|
4875
4878
|
return /* @__PURE__ */ e.jsx(
|
|
4876
|
-
|
|
4879
|
+
Pe,
|
|
4877
4880
|
{
|
|
4878
4881
|
isOpen: t,
|
|
4879
4882
|
onClose: a,
|
|
@@ -4972,7 +4975,7 @@ const Yt = {
|
|
|
4972
4975
|
function dn({ isOpen: t, onClose: a, onOkayClick: r, locale: n = "en", className: l }) {
|
|
4973
4976
|
const i = wa(n);
|
|
4974
4977
|
return /* @__PURE__ */ e.jsx(
|
|
4975
|
-
|
|
4978
|
+
Pe,
|
|
4976
4979
|
{
|
|
4977
4980
|
isOpen: t,
|
|
4978
4981
|
onClose: a,
|
|
@@ -5649,7 +5652,7 @@ function Rl({
|
|
|
5649
5652
|
y.length !== 0 && (r(y), f());
|
|
5650
5653
|
}, C = x.some((y) => y.trim().length > 0);
|
|
5651
5654
|
return /* @__PURE__ */ e.jsx(
|
|
5652
|
-
|
|
5655
|
+
Ie,
|
|
5653
5656
|
{
|
|
5654
5657
|
isOpen: t,
|
|
5655
5658
|
onClose: b,
|
|
@@ -5663,7 +5666,7 @@ function Rl({
|
|
|
5663
5666
|
variant: "primary",
|
|
5664
5667
|
size: "xl",
|
|
5665
5668
|
className: "w-full rounded-xl",
|
|
5666
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
5669
|
+
rightIcon: /* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0 }),
|
|
5667
5670
|
disabled: !C,
|
|
5668
5671
|
onClick: p,
|
|
5669
5672
|
children: c
|
|
@@ -6093,7 +6096,7 @@ function Hl({
|
|
|
6093
6096
|
showInfoIcon: l = !0,
|
|
6094
6097
|
onInfoClick: i,
|
|
6095
6098
|
proceedLabel: u = "Continue",
|
|
6096
|
-
proceedIcon: o = /* @__PURE__ */ e.jsx(
|
|
6099
|
+
proceedIcon: o = /* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0 }),
|
|
6097
6100
|
onProceed: c,
|
|
6098
6101
|
disabled: g,
|
|
6099
6102
|
proceedButtonProps: x,
|
|
@@ -6174,7 +6177,7 @@ export {
|
|
|
6174
6177
|
qn as CheckIcon,
|
|
6175
6178
|
ct as CheckoutBar,
|
|
6176
6179
|
or as Chip,
|
|
6177
|
-
|
|
6180
|
+
Pe as ConfinedBottomSheet,
|
|
6178
6181
|
cn as ConfirmPujaDetailsModal,
|
|
6179
6182
|
El as DEATH_TITHI_OPTIONS,
|
|
6180
6183
|
wl as DatePickerSheet,
|
|
@@ -6252,5 +6255,5 @@ export {
|
|
|
6252
6255
|
Dl as mapPujaL2Response,
|
|
6253
6256
|
rt as outcomeTranslations,
|
|
6254
6257
|
In as parseIsoDate,
|
|
6255
|
-
|
|
6258
|
+
ke as useOutcomeI18n
|
|
6256
6259
|
};
|