@asdp/ferryui 0.1.22-dev.10750 → 0.1.22-dev.10755
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/index.d.mts +58 -1
- package/dist/index.d.ts +58 -1
- package/dist/index.js +176 -68
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +177 -70
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeStyles, tokens, createLightTheme, createDarkTheme, shorthands, Popover, PopoverTrigger, Input, PopoverSurface, Field, Caption1Strong, Caption2, Button, InfoLabel, Body1, Body1Strong, Caption1, Dialog, DialogSurface, DialogBody, DialogTitle, DialogTrigger, DialogContent, Carousel, CarouselButton, CarouselViewport, mergeClasses, CarouselSlider, CarouselNav, CarouselNavButton, CarouselCard, Skeleton, SkeletonItem, Subtitle2, Card, Tooltip, Badge, Subtitle1, Title2, Divider, Title3, Spinner, Label, Text, Checkbox, MessageBar, MessageBarBody, Accordion, AccordionItem, AccordionHeader, AccordionPanel, RadioGroup, Menu, MenuTrigger, MenuPopover, MenuList, Radio, DialogActions, Caption2Strong, Link, Body2, Body1Stronger, Caption1Stronger, Display, Image, Title1, TabList, Tab, typographyStyles, Switch, Textarea } from '@fluentui/react-components';
|
|
2
2
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React, { forwardRef, useState, useRef, useEffect, useCallback, useMemo, Fragment as Fragment$1 } from 'react';
|
|
4
|
-
import { ArrowDownloadRegular, Dismiss24Regular, DismissRegular, SubtractRegular, AddRegular, DeleteRegular, InfoRegular, SearchRegular, ArrowRightRegular } from '@fluentui/react-icons';
|
|
4
|
+
import { ArrowDownloadRegular, Dismiss24Regular, DismissRegular, SubtractRegular, AddRegular, DeleteRegular, InfoRegular, SearchRegular, ChevronDownRegular, ArrowRightRegular } from '@fluentui/react-icons';
|
|
5
5
|
import { Container, Row, Col, Visible } from 'react-grid-system';
|
|
6
6
|
import { Icon } from '@iconify/react';
|
|
7
7
|
import { Controller, useForm, useWatch } from 'react-hook-form';
|
|
@@ -16423,10 +16423,12 @@ var CardPriceDetails = ({
|
|
|
16423
16423
|
// src/components/CardPaymentMethodList/CardPaymentMethodList.constants.ts
|
|
16424
16424
|
var DEFAULT_LABELS36 = {
|
|
16425
16425
|
id: {
|
|
16426
|
-
selectAriaLabel: "Pilih metode pembayaran"
|
|
16426
|
+
selectAriaLabel: "Pilih metode pembayaran",
|
|
16427
|
+
method: "Metode Pembayaran"
|
|
16427
16428
|
},
|
|
16428
16429
|
en: {
|
|
16429
|
-
selectAriaLabel: "Select payment method"
|
|
16430
|
+
selectAriaLabel: "Select payment method",
|
|
16431
|
+
method: "Payment Method"
|
|
16430
16432
|
}
|
|
16431
16433
|
};
|
|
16432
16434
|
var useStyles38 = makeStyles({
|
|
@@ -16491,55 +16493,160 @@ var CardPaymentMethodList = ({
|
|
|
16491
16493
|
}) => {
|
|
16492
16494
|
const styles = useStyles38();
|
|
16493
16495
|
const mergedLabels = { ...DEFAULT_LABELS36[language], ...labels };
|
|
16494
|
-
return /* @__PURE__ */ jsx("div", { className: styles.card, children: /* @__PURE__ */
|
|
16495
|
-
|
|
16496
|
-
|
|
16497
|
-
/* @__PURE__ */ jsx(
|
|
16498
|
-
|
|
16499
|
-
|
|
16500
|
-
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
|
|
16504
|
-
|
|
16505
|
-
|
|
16506
|
-
|
|
16507
|
-
{
|
|
16508
|
-
|
|
16509
|
-
|
|
16510
|
-
|
|
16511
|
-
|
|
16496
|
+
return /* @__PURE__ */ jsx("div", { className: styles.card, children: /* @__PURE__ */ jsxs("div", { className: `${styles.container}`, children: [
|
|
16497
|
+
/* @__PURE__ */ jsx(Subtitle1, { children: mergedLabels.method }),
|
|
16498
|
+
methods.map((category, index) => /* @__PURE__ */ jsxs("div", { children: [
|
|
16499
|
+
index > 0 && /* @__PURE__ */ jsx("div", { className: styles.dividerContainer, children: /* @__PURE__ */ jsx(Divider, {}) }),
|
|
16500
|
+
/* @__PURE__ */ jsx(Accordion, { multiple: true, collapsible: true, children: /* @__PURE__ */ jsxs(AccordionItem, { value: category.value, children: [
|
|
16501
|
+
/* @__PURE__ */ jsx(
|
|
16502
|
+
AccordionHeader,
|
|
16503
|
+
{
|
|
16504
|
+
expandIconPosition: "end",
|
|
16505
|
+
className: styles.title,
|
|
16506
|
+
children: /* @__PURE__ */ jsx(Body1, { children: category.title || category.value })
|
|
16507
|
+
}
|
|
16508
|
+
),
|
|
16509
|
+
/* @__PURE__ */ jsx(AccordionPanel, { children: /* @__PURE__ */ jsx("div", { className: styles.itemContainer, children: category.options.map((option) => /* @__PURE__ */ jsxs(
|
|
16510
|
+
"div",
|
|
16511
|
+
{
|
|
16512
|
+
className: styles.optionContainer,
|
|
16513
|
+
onClick: () => onSelect(option.value),
|
|
16514
|
+
children: [
|
|
16515
|
+
/* @__PURE__ */ jsxs("div", { className: styles.codeImage, children: [
|
|
16516
|
+
/* @__PURE__ */ jsx(
|
|
16517
|
+
"img",
|
|
16518
|
+
{
|
|
16519
|
+
src: option.image,
|
|
16520
|
+
alt: option.label,
|
|
16521
|
+
className: styles.image
|
|
16522
|
+
}
|
|
16523
|
+
),
|
|
16524
|
+
/* @__PURE__ */ jsx(Subtitle2, { className: styles.optionLabel, children: option.label })
|
|
16525
|
+
] }),
|
|
16512
16526
|
/* @__PURE__ */ jsx(
|
|
16513
|
-
|
|
16527
|
+
Radio,
|
|
16514
16528
|
{
|
|
16515
|
-
|
|
16516
|
-
|
|
16517
|
-
|
|
16529
|
+
checked: selectedValue === option.value,
|
|
16530
|
+
onChange: () => onSelect(option.value),
|
|
16531
|
+
value: option.value,
|
|
16532
|
+
name: "payment-method",
|
|
16533
|
+
disabled: option.disabled,
|
|
16534
|
+
"aria-label": `${mergedLabels.selectAriaLabel} ${option.label}`
|
|
16518
16535
|
}
|
|
16519
|
-
)
|
|
16520
|
-
|
|
16521
|
-
|
|
16522
|
-
|
|
16523
|
-
|
|
16524
|
-
|
|
16525
|
-
|
|
16526
|
-
|
|
16527
|
-
value: option.value,
|
|
16528
|
-
name: "payment-method",
|
|
16529
|
-
disabled: option.disabled,
|
|
16530
|
-
"aria-label": `${mergedLabels.selectAriaLabel} ${option.label}`
|
|
16531
|
-
}
|
|
16532
|
-
)
|
|
16533
|
-
]
|
|
16534
|
-
},
|
|
16535
|
-
option.value
|
|
16536
|
-
)) }) })
|
|
16537
|
-
] }) })
|
|
16538
|
-
] }, category.value || index)) }) });
|
|
16536
|
+
)
|
|
16537
|
+
]
|
|
16538
|
+
},
|
|
16539
|
+
option.value
|
|
16540
|
+
)) }) })
|
|
16541
|
+
] }) })
|
|
16542
|
+
] }, category.value || index))
|
|
16543
|
+
] }) });
|
|
16539
16544
|
};
|
|
16540
16545
|
|
|
16541
|
-
// src/components/
|
|
16546
|
+
// src/components/CardPaymentMethodFavorite/CardPaymentMethodFavorite.constants.ts
|
|
16542
16547
|
var DEFAULT_LABELS37 = {
|
|
16548
|
+
id: {
|
|
16549
|
+
method: "Metode Pembayaran Favorit",
|
|
16550
|
+
warningMessage: "Harap pilih salah satu metode pembayaran di bawah ini untuk melanjutkan.",
|
|
16551
|
+
viewAllMethods: "Lihat Semua Metode Pembayaran",
|
|
16552
|
+
selectAriaLabel: "Pilih metode pembayaran"
|
|
16553
|
+
},
|
|
16554
|
+
en: {
|
|
16555
|
+
method: "Favorite Payment Method",
|
|
16556
|
+
warningMessage: "Please select one of the payment methods below to continue.",
|
|
16557
|
+
viewAllMethods: "View All Payment Methods",
|
|
16558
|
+
selectAriaLabel: "Select payment method"
|
|
16559
|
+
}
|
|
16560
|
+
};
|
|
16561
|
+
var useStyles39 = makeStyles({
|
|
16562
|
+
container: {
|
|
16563
|
+
display: "flex",
|
|
16564
|
+
flexDirection: "column",
|
|
16565
|
+
width: "100%",
|
|
16566
|
+
rowGap: tokens.spacingHorizontalXXL
|
|
16567
|
+
},
|
|
16568
|
+
image: {
|
|
16569
|
+
width: "40px",
|
|
16570
|
+
height: "40px",
|
|
16571
|
+
objectFit: "contain"
|
|
16572
|
+
},
|
|
16573
|
+
card: {
|
|
16574
|
+
position: "relative",
|
|
16575
|
+
borderRadius: tokens.borderRadiusXLarge,
|
|
16576
|
+
...shorthands.padding(
|
|
16577
|
+
tokens.spacingHorizontalXL,
|
|
16578
|
+
tokens.spacingVerticalXXL
|
|
16579
|
+
),
|
|
16580
|
+
backgroundColor: tokens.colorNeutralBackground1,
|
|
16581
|
+
zIndex: 3
|
|
16582
|
+
}
|
|
16583
|
+
});
|
|
16584
|
+
var CardPaymentMethodFavorite = ({
|
|
16585
|
+
language = "id",
|
|
16586
|
+
labels,
|
|
16587
|
+
methods,
|
|
16588
|
+
selectedValue,
|
|
16589
|
+
onSelect,
|
|
16590
|
+
onViewAllMethods,
|
|
16591
|
+
showWarning = true,
|
|
16592
|
+
showViewAllButton = true
|
|
16593
|
+
}) => {
|
|
16594
|
+
const styles = useStyles39();
|
|
16595
|
+
const mergedLabels = { ...DEFAULT_LABELS37[language], ...labels };
|
|
16596
|
+
return /* @__PURE__ */ jsx("div", { className: styles.card, children: /* @__PURE__ */ jsxs("div", { className: `${styles.container}`, children: [
|
|
16597
|
+
/* @__PURE__ */ jsx(Subtitle1, { children: mergedLabels.method }),
|
|
16598
|
+
showWarning && /* @__PURE__ */ jsx(
|
|
16599
|
+
MessageBar,
|
|
16600
|
+
{
|
|
16601
|
+
intent: "warning",
|
|
16602
|
+
style: { borderRadius: tokens.borderRadiusLarge },
|
|
16603
|
+
children: /* @__PURE__ */ jsx(
|
|
16604
|
+
Caption1Strong,
|
|
16605
|
+
{
|
|
16606
|
+
style: { color: tokens.colorStatusWarningForeground1 },
|
|
16607
|
+
children: mergedLabels.warningMessage
|
|
16608
|
+
}
|
|
16609
|
+
)
|
|
16610
|
+
}
|
|
16611
|
+
),
|
|
16612
|
+
/* @__PURE__ */ jsx(Row, { nogutter: true, style: { gap: tokens.spacingVerticalL }, children: methods.map((option) => /* @__PURE__ */ jsx(Col, { xs: 12, children: /* @__PURE__ */ jsxs(Row, { justify: "between", children: [
|
|
16613
|
+
/* @__PURE__ */ jsx(Col, { xs: "content", children: /* @__PURE__ */ jsx(
|
|
16614
|
+
"img",
|
|
16615
|
+
{
|
|
16616
|
+
src: option.image,
|
|
16617
|
+
alt: option.label,
|
|
16618
|
+
className: styles.image
|
|
16619
|
+
}
|
|
16620
|
+
) }),
|
|
16621
|
+
/* @__PURE__ */ jsx(Col, { children: /* @__PURE__ */ jsx(Subtitle2, { children: option.label }) }),
|
|
16622
|
+
/* @__PURE__ */ jsx(Col, { xs: "content", children: /* @__PURE__ */ jsx(
|
|
16623
|
+
Radio,
|
|
16624
|
+
{
|
|
16625
|
+
checked: selectedValue === option.value,
|
|
16626
|
+
onChange: () => onSelect(option.value),
|
|
16627
|
+
value: option.value,
|
|
16628
|
+
name: "payment-method-favorite",
|
|
16629
|
+
disabled: option.disabled,
|
|
16630
|
+
"aria-label": `${mergedLabels.selectAriaLabel} ${option.label}`
|
|
16631
|
+
}
|
|
16632
|
+
) })
|
|
16633
|
+
] }) }, option.value)) }),
|
|
16634
|
+
showViewAllButton && /* @__PURE__ */ jsx(
|
|
16635
|
+
Button,
|
|
16636
|
+
{
|
|
16637
|
+
style: { width: "100%" },
|
|
16638
|
+
appearance: "transparent",
|
|
16639
|
+
iconPosition: "after",
|
|
16640
|
+
icon: /* @__PURE__ */ jsx(ChevronDownRegular, {}),
|
|
16641
|
+
onClick: onViewAllMethods,
|
|
16642
|
+
children: mergedLabels.viewAllMethods
|
|
16643
|
+
}
|
|
16644
|
+
)
|
|
16645
|
+
] }) });
|
|
16646
|
+
};
|
|
16647
|
+
|
|
16648
|
+
// src/components/CardPaymentGuide/CardPaymentGuide.constants.ts
|
|
16649
|
+
var DEFAULT_LABELS38 = {
|
|
16543
16650
|
id: {
|
|
16544
16651
|
title: "Cara Pembayaran"
|
|
16545
16652
|
},
|
|
@@ -16547,7 +16654,7 @@ var DEFAULT_LABELS37 = {
|
|
|
16547
16654
|
title: "Payment Method"
|
|
16548
16655
|
}
|
|
16549
16656
|
};
|
|
16550
|
-
var
|
|
16657
|
+
var useStyles40 = makeStyles({
|
|
16551
16658
|
container: {
|
|
16552
16659
|
display: "flex",
|
|
16553
16660
|
flexDirection: "column",
|
|
@@ -16583,8 +16690,8 @@ var CardPaymentGuide = ({
|
|
|
16583
16690
|
guides,
|
|
16584
16691
|
className
|
|
16585
16692
|
}) => {
|
|
16586
|
-
const styles =
|
|
16587
|
-
const mergedLabels = { ...
|
|
16693
|
+
const styles = useStyles40();
|
|
16694
|
+
const mergedLabels = { ...DEFAULT_LABELS38[language], ...labels };
|
|
16588
16695
|
const displayTitle = title || mergedLabels.title;
|
|
16589
16696
|
return /* @__PURE__ */ jsxs("div", { className: `${styles.container} ${className || ""}`, children: [
|
|
16590
16697
|
displayTitle && /* @__PURE__ */ jsx("div", { className: styles.titleContainer, children: /* @__PURE__ */ jsx(Subtitle1, { className: styles.title, children: displayTitle }) }),
|
|
@@ -16603,7 +16710,7 @@ var CardPaymentGuide = ({
|
|
|
16603
16710
|
};
|
|
16604
16711
|
|
|
16605
16712
|
// src/components/CardPaymentInfo/CardPaymentInfo.constants.ts
|
|
16606
|
-
var
|
|
16713
|
+
var DEFAULT_LABELS39 = {
|
|
16607
16714
|
id: {
|
|
16608
16715
|
expiryPrefix: "Kode virtual akun berlaku sampai",
|
|
16609
16716
|
copyCodeButton: "Salin Kode",
|
|
@@ -16623,7 +16730,7 @@ var DEFAULT_LABELS38 = {
|
|
|
16623
16730
|
changePayment: "Change Payment Method"
|
|
16624
16731
|
}
|
|
16625
16732
|
};
|
|
16626
|
-
var
|
|
16733
|
+
var useStyles41 = makeStyles({
|
|
16627
16734
|
container: {
|
|
16628
16735
|
display: "flex",
|
|
16629
16736
|
flexDirection: "column",
|
|
@@ -16715,8 +16822,8 @@ var CardPaymentInfo = ({
|
|
|
16715
16822
|
onCheckStatus,
|
|
16716
16823
|
onChangePayment
|
|
16717
16824
|
}) => {
|
|
16718
|
-
const styles =
|
|
16719
|
-
const mergedLabels = { ...
|
|
16825
|
+
const styles = useStyles41();
|
|
16826
|
+
const mergedLabels = { ...DEFAULT_LABELS39[language], ...labels };
|
|
16720
16827
|
return /* @__PURE__ */ jsx("div", { className: styles.card, children: /* @__PURE__ */ jsxs("div", { className: styles.container, children: [
|
|
16721
16828
|
/* @__PURE__ */ jsxs("div", { className: styles.headerRow, children: [
|
|
16722
16829
|
/* @__PURE__ */ jsx(Subtitle1, { children: mergedLabels.expiryPrefix }),
|
|
@@ -16788,7 +16895,7 @@ var CardPaymentInfo = ({
|
|
|
16788
16895
|
};
|
|
16789
16896
|
|
|
16790
16897
|
// src/components/CardStatusOrder/CardStatusOrder.constants.ts
|
|
16791
|
-
var
|
|
16898
|
+
var DEFAULT_LABELS40 = {
|
|
16792
16899
|
id: {
|
|
16793
16900
|
detailTitle: "Detail Pemesanan",
|
|
16794
16901
|
statusLabel: "Status",
|
|
@@ -16818,7 +16925,7 @@ var DEFAULT_LABELS39 = {
|
|
|
16818
16925
|
illustrationAlt: "E-Ticket Illustration"
|
|
16819
16926
|
}
|
|
16820
16927
|
};
|
|
16821
|
-
var
|
|
16928
|
+
var useStyles42 = makeStyles({
|
|
16822
16929
|
activeCard: {
|
|
16823
16930
|
width: "100%",
|
|
16824
16931
|
// padding: tokens.spacingHorizontalNone, // default
|
|
@@ -16888,8 +16995,8 @@ var CardStatusOrder = ({
|
|
|
16888
16995
|
onClickViewTicket,
|
|
16889
16996
|
className
|
|
16890
16997
|
}) => {
|
|
16891
|
-
const styles =
|
|
16892
|
-
const mergedLabels = { ...
|
|
16998
|
+
const styles = useStyles42();
|
|
16999
|
+
const mergedLabels = { ...DEFAULT_LABELS40[language], ...labels };
|
|
16893
17000
|
const displayStatus = statusLabel || mergedLabels.defaultStatus;
|
|
16894
17001
|
const displayTitle = title || mergedLabels.defaultTitle;
|
|
16895
17002
|
const displayDescription = description || mergedLabels.defaultDescription;
|
|
@@ -16986,7 +17093,7 @@ var CardStatusOrder = ({
|
|
|
16986
17093
|
};
|
|
16987
17094
|
|
|
16988
17095
|
// src/components/ModalPriceDetail/ModalPriceDetail.constants.ts
|
|
16989
|
-
var
|
|
17096
|
+
var DEFAULT_LABELS41 = {
|
|
16990
17097
|
id: {
|
|
16991
17098
|
title: "Rincian Harga",
|
|
16992
17099
|
passengerDetailHeader: "Detail Penumpang",
|
|
@@ -17018,7 +17125,7 @@ var DEFAULT_LABELS40 = {
|
|
|
17018
17125
|
closeAriaLabel: "Close"
|
|
17019
17126
|
}
|
|
17020
17127
|
};
|
|
17021
|
-
var
|
|
17128
|
+
var useStyles43 = makeStyles({
|
|
17022
17129
|
surface: {
|
|
17023
17130
|
width: "680px",
|
|
17024
17131
|
maxWidth: "90vw",
|
|
@@ -17178,8 +17285,8 @@ var ModalPriceDetail = ({
|
|
|
17178
17285
|
roundTripGrandTotal,
|
|
17179
17286
|
...props
|
|
17180
17287
|
}) => {
|
|
17181
|
-
const styles =
|
|
17182
|
-
const mergedLabels = { ...
|
|
17288
|
+
const styles = useStyles43();
|
|
17289
|
+
const mergedLabels = { ...DEFAULT_LABELS41[language], ...labels };
|
|
17183
17290
|
const locale = language === "id" ? "id-ID" : "en-US";
|
|
17184
17291
|
const formatCurrency = (value) => `${mergedLabels.currencyCode} ${value.toLocaleString(locale)}`;
|
|
17185
17292
|
const passengerItemsFromNested = detailItems.flatMap(
|
|
@@ -17708,7 +17815,7 @@ var ModalPriceDetail = ({
|
|
|
17708
17815
|
// src/components/FileUpload/FileUpload.constants.ts
|
|
17709
17816
|
var ACCEPTED_FILES = ".pdf,.jpg,.jpeg,.png";
|
|
17710
17817
|
var MAX_FILE_SIZE_MB = 10;
|
|
17711
|
-
var
|
|
17818
|
+
var DEFAULT_LABELS42 = {
|
|
17712
17819
|
id: {
|
|
17713
17820
|
placeholder: "Ketuk untuk pilih file",
|
|
17714
17821
|
maxSizeWarning: "Maksimal {maxSize}MB per file dalam format PDF, JPG, JPEG, PNG.",
|
|
@@ -17726,7 +17833,7 @@ var DEFAULT_LABELS41 = {
|
|
|
17726
17833
|
downloadTemplateDocument: "Download Template Document"
|
|
17727
17834
|
}
|
|
17728
17835
|
};
|
|
17729
|
-
var
|
|
17836
|
+
var useStyles44 = makeStyles({
|
|
17730
17837
|
surface: {
|
|
17731
17838
|
maxWidth: "90vw",
|
|
17732
17839
|
maxHeight: "90vh",
|
|
@@ -17753,7 +17860,7 @@ var ModalPreviewImage = ({
|
|
|
17753
17860
|
imageUrl,
|
|
17754
17861
|
alt = "Preview"
|
|
17755
17862
|
}) => {
|
|
17756
|
-
const styles =
|
|
17863
|
+
const styles = useStyles44();
|
|
17757
17864
|
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange: (_, data) => onOpenChange(data.open), children: /* @__PURE__ */ jsx(DialogSurface, { className: styles.surface, children: /* @__PURE__ */ jsxs(DialogBody, { children: [
|
|
17758
17865
|
/* @__PURE__ */ jsx(
|
|
17759
17866
|
DialogTitle,
|
|
@@ -17879,7 +17986,7 @@ var FileUpload = React.forwardRef(
|
|
|
17879
17986
|
downloadTemplateDocument = false,
|
|
17880
17987
|
infoLabel
|
|
17881
17988
|
}, ref) => {
|
|
17882
|
-
const mergedLabels = { ...
|
|
17989
|
+
const mergedLabels = { ...DEFAULT_LABELS42[language], ...customLabels };
|
|
17883
17990
|
const styles = uploadStyles();
|
|
17884
17991
|
const fileInputRef = useRef(null);
|
|
17885
17992
|
const [, setIsDragOver] = useState(false);
|
|
@@ -18316,11 +18423,11 @@ function hexToRgba(hex, alpha = 1) {
|
|
|
18316
18423
|
}
|
|
18317
18424
|
|
|
18318
18425
|
// src/components/CardProfileMenu/CardProfileMenu.constants.ts
|
|
18319
|
-
var
|
|
18426
|
+
var DEFAULT_LABELS43 = {
|
|
18320
18427
|
id: {},
|
|
18321
18428
|
en: {}
|
|
18322
18429
|
};
|
|
18323
|
-
var
|
|
18430
|
+
var useStyles45 = makeStyles({
|
|
18324
18431
|
container: {
|
|
18325
18432
|
display: "flex",
|
|
18326
18433
|
flexDirection: "column",
|
|
@@ -18380,8 +18487,8 @@ var CardProfileMenu = ({
|
|
|
18380
18487
|
selectedValue,
|
|
18381
18488
|
onTabSelect
|
|
18382
18489
|
}) => {
|
|
18383
|
-
const styles =
|
|
18384
|
-
({ ...
|
|
18490
|
+
const styles = useStyles45();
|
|
18491
|
+
({ ...DEFAULT_LABELS43[language], ...labels });
|
|
18385
18492
|
const handleTabSelect = (_, data) => {
|
|
18386
18493
|
onTabSelect(data.value);
|
|
18387
18494
|
};
|
|
@@ -18410,6 +18517,6 @@ var CardProfileMenu = ({
|
|
|
18410
18517
|
) });
|
|
18411
18518
|
};
|
|
18412
18519
|
|
|
18413
|
-
export { API_CONFIG, API_ERROR_MESSAGES, BackgroundTicketCard_default as BackgroundTicketCard, BackgroundTicketCardVertical_default as BackgroundTicketCardVertical, COUNTRIES, CardAddon, CardBanner, CardBookingAddOn, CardBookingTicket, CardFAQ, CardMealCatalog, CardOrdererInfo, CardPassengerList, CardPaymentGuide, CardPaymentInfo, CardPaymentMethodList, CardPriceDetails, CardProfileMenu, CardPromo, CardReview, CardReviewDetail, CardReviewPassenger, CardServiceMenu, CardStatusOrder, CardTicket, CardTicketSearch, DEFAULT_LABELS8 as CardTicketSearchDefaultLabels, CardTicketSearchSummary, DEFAULT_LABELS9 as CardTicketSearchSummaryDefaultLabels, CardVehicleDetail, CardVehicleOwnerForm, CarouselWithCustomNav, DEFAULT_DURATION_RANGE, DEFAULT_PRICE_RANGE, DEFAULT_SCROLL_AMOUNT, DEFAULT_SERVICE_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS18 as DateFilterDefaultLabels, EmptyContent, DEFAULT_LABELS11 as EmptyContentDefaultLabels, FileUpload_default as FileUpload, GENDER, HARDCODED_ID, HARDCODED_NAME, HTTP_STATUS, IDENTITY_TYPE, InputDynamic_default as InputDynamic, LOAD_TYPE, MANIFEST_ENTITY, MODAL_PRESETS, MY_TICKET_STATUS, MY_TICKET_TAB, ModalFilterTicket, DEFAULT_LABELS17 as ModalFilterTicketDefaultLabels, ModalIllustration, ModalListMenuService, ModalListPassenger, ModalPassengerForm, ModalPreviewImage, ModalPriceDetail, ModalSearchHarbor, ModalSearchTicket, ModalSelectDate, ModalService, ModalTotalPassengers, ModalTypeOfService, PASSENGER_TYPE, SortMenu, Stepper, calculateAge, getBadgeConfig, getModalPreset, getSortLabel, hexToRgba };
|
|
18520
|
+
export { API_CONFIG, API_ERROR_MESSAGES, BackgroundTicketCard_default as BackgroundTicketCard, BackgroundTicketCardVertical_default as BackgroundTicketCardVertical, COUNTRIES, CardAddon, CardBanner, CardBookingAddOn, CardBookingTicket, CardFAQ, CardMealCatalog, CardOrdererInfo, CardPassengerList, CardPaymentGuide, CardPaymentInfo, CardPaymentMethodFavorite, CardPaymentMethodList, CardPriceDetails, CardProfileMenu, CardPromo, CardReview, CardReviewDetail, CardReviewPassenger, CardServiceMenu, CardStatusOrder, CardTicket, CardTicketSearch, DEFAULT_LABELS8 as CardTicketSearchDefaultLabels, CardTicketSearchSummary, DEFAULT_LABELS9 as CardTicketSearchSummaryDefaultLabels, CardVehicleDetail, CardVehicleOwnerForm, CarouselWithCustomNav, DEFAULT_DURATION_RANGE, DEFAULT_PRICE_RANGE, DEFAULT_SCROLL_AMOUNT, DEFAULT_SERVICE_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS18 as DateFilterDefaultLabels, EmptyContent, DEFAULT_LABELS11 as EmptyContentDefaultLabels, FileUpload_default as FileUpload, GENDER, HARDCODED_ID, HARDCODED_NAME, HTTP_STATUS, IDENTITY_TYPE, InputDynamic_default as InputDynamic, LOAD_TYPE, MANIFEST_ENTITY, MODAL_PRESETS, MY_TICKET_STATUS, MY_TICKET_TAB, ModalFilterTicket, DEFAULT_LABELS17 as ModalFilterTicketDefaultLabels, ModalIllustration, ModalListMenuService, ModalListPassenger, ModalPassengerForm, ModalPreviewImage, ModalPriceDetail, ModalSearchHarbor, ModalSearchTicket, ModalSelectDate, ModalService, ModalTotalPassengers, ModalTypeOfService, PASSENGER_TYPE, SortMenu, Stepper, calculateAge, getBadgeConfig, getModalPreset, getSortLabel, hexToRgba };
|
|
18414
18521
|
//# sourceMappingURL=index.mjs.map
|
|
18415
18522
|
//# sourceMappingURL=index.mjs.map
|