@asdp/ferryui 0.1.22-dev.10162 → 0.1.22-dev.10166

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.js CHANGED
@@ -13836,19 +13836,21 @@ var CardBookingTicket = ({
13836
13836
  /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Card, { className: styles.bookingDetailBottom, children: [
13837
13837
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.totalPrice, children: [
13838
13838
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { children: mergedLabels.totalPriceLabel }),
13839
- /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Title3, { className: styles.priceText, children: [
13840
- mergedLabels.currencySymbol,
13841
- " ",
13842
- totalPrice
13843
- ] }),
13844
- /* @__PURE__ */ jsxRuntime.jsx(
13845
- react.Icon,
13846
- {
13847
- icon: "fluent:chevron-down-24-filled",
13848
- onClick: onPriceDetailClick,
13849
- style: { cursor: "pointer" }
13850
- }
13851
- )
13839
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", gap: reactComponents.tokens.spacingHorizontalL, alignItems: "center" }, children: [
13840
+ /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Title3, { className: styles.priceText, children: [
13841
+ mergedLabels.currencySymbol,
13842
+ " ",
13843
+ totalPrice
13844
+ ] }),
13845
+ /* @__PURE__ */ jsxRuntime.jsx(
13846
+ react.Icon,
13847
+ {
13848
+ icon: "fluent:chevron-down-24-filled",
13849
+ onClick: onPriceDetailClick,
13850
+ style: { cursor: "pointer" }
13851
+ }
13852
+ )
13853
+ ] })
13852
13854
  ] }),
13853
13855
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.gapButton, children: [
13854
13856
  !(paymentStep === "pay") && /* @__PURE__ */ jsxRuntime.jsx(
@@ -14409,7 +14411,7 @@ var CardAddon = ({
14409
14411
  )
14410
14412
  ] })
14411
14413
  ] }),
14412
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.mealActions, children: [
14414
+ mealData.showActions !== false && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.mealActions, children: [
14413
14415
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.qtySelector, children: [
14414
14416
  /* @__PURE__ */ jsxRuntime.jsx(
14415
14417
  reactComponents.Button,
@@ -14767,8 +14769,9 @@ var useStyles32 = reactComponents.makeStyles({
14767
14769
  card: {
14768
14770
  padding: "1.5rem",
14769
14771
  borderRadius: reactComponents.tokens.borderRadiusXLarge,
14770
- boxShadow: reactComponents.tokens.shadow4,
14771
- zIndex: 3
14772
+ boxShadow: "none",
14773
+ zIndex: 3,
14774
+ border: `${reactComponents.tokens.strokeWidthThin} solid ${reactComponents.tokens.colorNeutralStroke1}`
14772
14775
  },
14773
14776
  headerContainer: {
14774
14777
  display: "flex",
@@ -14874,93 +14877,69 @@ var DEFAULT_LABELS32 = {
14874
14877
  };
14875
14878
  var useStyles33 = reactComponents.makeStyles({
14876
14879
  card: {
14877
- padding: "1.5rem",
14880
+ boxShadow: "none",
14881
+ border: `${reactComponents.tokens.strokeWidthThin} solid ${reactComponents.tokens.colorNeutralStroke1}`,
14878
14882
  borderRadius: reactComponents.tokens.borderRadiusXLarge,
14879
- boxShadow: reactComponents.tokens.shadow4,
14880
- zIndex: 3
14883
+ padding: `${reactComponents.tokens.spacingHorizontalL} ${reactComponents.tokens.spacingHorizontalXXL}`
14881
14884
  },
14882
- headerContainer: {
14885
+ titleRow: {
14883
14886
  display: "flex",
14884
14887
  alignItems: "center",
14885
- marginBottom: "1rem",
14886
- gap: "1rem"
14887
- },
14888
- headerTitle: {
14889
- whiteSpace: "nowrap",
14890
- fontWeight: reactComponents.tokens.fontWeightSemibold
14888
+ gap: reactComponents.tokens.spacingHorizontalS
14891
14889
  },
14892
- headerLine: {
14893
- height: "1px",
14894
- flexGrow: 1,
14895
- backgroundColor: reactComponents.tokens.colorNeutralStroke2
14890
+ titleDivider: {
14891
+ flex: 1
14896
14892
  },
14897
- contentContainer: {
14893
+ list: {
14898
14894
  display: "flex",
14899
- flexDirection: "column"
14895
+ flexDirection: "column",
14896
+ rowGap: reactComponents.tokens.spacingVerticalL
14900
14897
  },
14901
- passengerItem: {
14898
+ passengerCard: {
14899
+ boxShadow: "none",
14900
+ border: `${reactComponents.tokens.strokeWidthThin} solid ${reactComponents.tokens.colorNeutralStroke1}`,
14901
+ borderRadius: reactComponents.tokens.borderRadius3XLarge,
14902
+ padding: reactComponents.tokens.spacingHorizontalL
14903
+ },
14904
+ passengerRow: {
14905
+ width: "100%",
14906
+ alignItems: "center"
14907
+ },
14908
+ passengerInfo: {
14902
14909
  display: "flex",
14903
14910
  flexDirection: "column",
14904
- gap: reactComponents.tokens.spacingVerticalS,
14905
- paddingBottom: reactComponents.tokens.spacingVerticalL,
14906
- paddingTop: reactComponents.tokens.spacingVerticalM,
14907
- borderBottom: `1px solid ${reactComponents.tokens.colorNeutralStroke2}`,
14908
- ":last-child": {
14909
- borderBottom: "none",
14910
- paddingBottom: 0
14911
- }
14912
- // Matches styles.passengerItem in Review.tsx
14911
+ gap: reactComponents.tokens.spacingVerticalXXS
14913
14912
  },
14914
- itemHeader: {
14915
- display: "flex",
14916
- justifyContent: "space-between",
14917
- alignItems: "center",
14918
- marginBottom: reactComponents.tokens.spacingVerticalS
14913
+ passengerName: {
14914
+ color: reactComponents.tokens.colorNeutralForeground1
14919
14915
  },
14920
- name: {
14921
- color: "#00B8D4",
14922
- // Cyan color from design
14923
- fontSize: reactComponents.tokens.fontSizeBase400
14916
+ passengerMeta: {
14917
+ color: reactComponents.tokens.colorNeutralForeground2
14924
14918
  },
14925
- // Badge Styles
14926
14919
  badgeContainer: {
14927
- display: "flex",
14928
- alignItems: "center",
14929
- position: "relative"
14930
- },
14931
- badgeContent: {
14932
- display: "flex",
14920
+ display: "inline-flex",
14933
14921
  alignItems: "center",
14934
- padding: "0.25rem 0.75rem 0.25rem 1.5rem",
14935
- // Extra left padding for the icon overlap
14936
- borderRadius: "0 4px 4px 0",
14937
- borderTopRightRadius: "9999px",
14938
- borderBottomRightRadius: "9999px",
14939
- color: "white",
14940
- fontSize: reactComponents.tokens.fontSizeBase200,
14941
- fontWeight: reactComponents.tokens.fontWeightMedium,
14942
- marginLeft: "-14px",
14943
- // Pull the text container under the icon
14944
- minHeight: "24px"
14922
+ overflow: "hidden",
14923
+ borderRadius: reactComponents.tokens.borderRadiusXLarge,
14924
+ minHeight: "32px",
14925
+ boxShadow: reactComponents.tokens.shadow2
14945
14926
  },
14946
14927
  badgeIcon: {
14947
- width: "28px",
14928
+ width: "32px",
14948
14929
  height: "32px",
14949
- zIndex: 1,
14950
- filter: "drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.1))"
14951
- },
14952
- fields: {
14953
- display: "grid",
14954
- gridTemplateColumns: "1fr 1fr",
14955
- gap: reactComponents.tokens.spacingHorizontalL
14930
+ objectFit: "cover",
14931
+ flexShrink: 0,
14932
+ display: "block"
14956
14933
  },
14957
- inputBox: {
14958
- border: `1px solid ${reactComponents.tokens.colorNeutralStroke1}`,
14959
- borderRadius: reactComponents.tokens.borderRadiusMedium,
14960
- padding: `${reactComponents.tokens.spacingVerticalS} ${reactComponents.tokens.spacingHorizontalM}`,
14961
- display: "flex",
14934
+ badgeContent: {
14935
+ display: "inline-flex",
14962
14936
  alignItems: "center",
14963
- height: "32px"
14937
+ minHeight: "32px",
14938
+ padding: `0 ${reactComponents.tokens.spacingHorizontalM}`,
14939
+ color: reactComponents.tokens.colorNeutralForegroundOnBrand,
14940
+ fontSize: reactComponents.tokens.fontSizeBase200,
14941
+ fontWeight: reactComponents.tokens.fontWeightSemibold,
14942
+ whiteSpace: "nowrap"
14964
14943
  }
14965
14944
  });
14966
14945
  var CardReviewPassenger = ({
@@ -14973,48 +14952,140 @@ var CardReviewPassenger = ({
14973
14952
  const styles = useStyles33();
14974
14953
  const mergedLabels = { ...DEFAULT_LABELS32[language], ...labels };
14975
14954
  const displayTitle = title || mergedLabels.title;
14976
- return /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Card, { className: `${styles.card} ${className || ""}`, children: [
14977
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.headerContainer, children: [
14978
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { className: styles.headerTitle, children: displayTitle }),
14979
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.headerLine })
14980
- ] }),
14981
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.contentContainer, children: passengers.map((passenger, index) => {
14955
+ return /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Card, { className: `${styles.card} ${className || ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { direction: "column", nogutter: true, className: styles.list, children: [
14956
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, className: styles.titleRow, children: [
14957
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { children: displayTitle }),
14958
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Divider, { className: styles.titleDivider })
14959
+ ] }) }),
14960
+ passengers.map((passenger, index) => {
14982
14961
  const badgeConfig = getBadgeConfig(passenger.serviceClass);
14983
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.passengerItem, children: [
14984
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.itemHeader, children: [
14985
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { className: styles.name, children: passenger.name }),
14986
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.badgeContainer, children: [
14987
- badgeConfig.icon && /* @__PURE__ */ jsxRuntime.jsx(
14988
- reactComponents.Image,
14989
- {
14990
- src: badgeConfig.icon,
14991
- alt: passenger.ticketClass,
14992
- className: styles.badgeIcon,
14993
- height: 28,
14994
- width: 24
14995
- }
14996
- ),
14997
- /* @__PURE__ */ jsxRuntime.jsx(
14998
- "div",
14999
- {
15000
- className: styles.badgeContent,
15001
- style: { backgroundColor: badgeConfig.color },
15002
- children: passenger.ticketClass
15003
- }
15004
- )
15005
- ] })
14962
+ const passengerMeta = `${passenger.ageLabel} \xB7 ${mergedLabels.idNumber} ${passenger.identityNumber}`;
14963
+ return /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: 12, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Card, { className: styles.passengerCard, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, className: styles.passengerRow, children: [
14964
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.passengerInfo, children: [
14965
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { className: styles.passengerName, children: passenger.name }),
14966
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.passengerMeta, children: passengerMeta })
14967
+ ] }) }),
14968
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: "content", children: /* @__PURE__ */ jsxRuntime.jsxs(
14969
+ "div",
14970
+ {
14971
+ className: styles.badgeContainer,
14972
+ style: { backgroundColor: badgeConfig.color },
14973
+ children: [
14974
+ badgeConfig.icon ? /* @__PURE__ */ jsxRuntime.jsx(
14975
+ "img",
14976
+ {
14977
+ src: badgeConfig.icon,
14978
+ alt: passenger.ticketClass,
14979
+ className: styles.badgeIcon
14980
+ }
14981
+ ) : null,
14982
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.badgeContent, children: passenger.ticketClass })
14983
+ ]
14984
+ }
14985
+ ) })
14986
+ ] }) }) }, passenger.id || index);
14987
+ })
14988
+ ] }) });
14989
+ };
14990
+
14991
+ // src/components/CardReviewDetail/CardReviewDetail.constants.ts
14992
+ var DEFAULT_LABELS33 = {
14993
+ id: {
14994
+ title: "Detail Pemesanan",
14995
+ fromLabel: "Dari",
14996
+ toLabel: "Ke",
14997
+ scheduleLabel: "Jadwal Masuk",
14998
+ bookingNameLabel: "Nama Pemesanan",
14999
+ passengerTypeLabel: "Jenis Penumpang",
15000
+ addOnLabel: "Add On",
15001
+ viewDetail: "Lihat Detail"
15002
+ },
15003
+ en: {
15004
+ title: "Booking Details",
15005
+ fromLabel: "From",
15006
+ toLabel: "To",
15007
+ scheduleLabel: "Entry Schedule",
15008
+ bookingNameLabel: "Booking Name",
15009
+ passengerTypeLabel: "Passenger Type",
15010
+ addOnLabel: "Add On",
15011
+ viewDetail: "View Details"
15012
+ }
15013
+ };
15014
+ var useStyles34 = reactComponents.makeStyles({
15015
+ card: {
15016
+ boxShadow: "none",
15017
+ border: `${reactComponents.tokens.strokeWidthThin} solid ${reactComponents.tokens.colorNeutralStroke1}`,
15018
+ borderRadius: reactComponents.tokens.borderRadiusXLarge,
15019
+ padding: `${reactComponents.tokens.spacingHorizontalL} ${reactComponents.tokens.spacingHorizontalXXL}`
15020
+ },
15021
+ titleRow: {
15022
+ display: "flex",
15023
+ alignItems: "center",
15024
+ gap: reactComponents.tokens.spacingHorizontalS
15025
+ },
15026
+ fieldRow: {
15027
+ display: "flex",
15028
+ alignItems: "flex-start",
15029
+ gap: reactComponents.tokens.spacingHorizontalL
15030
+ },
15031
+ addOnRow: {
15032
+ display: "flex",
15033
+ alignItems: "center",
15034
+ justifyContent: "space-between",
15035
+ width: "100%"
15036
+ }
15037
+ });
15038
+ var CardReviewDetail = ({
15039
+ language = "id",
15040
+ labels,
15041
+ from,
15042
+ to,
15043
+ scheduleTime,
15044
+ bookingName,
15045
+ passengerType,
15046
+ addOnsCount,
15047
+ onViewAddOns,
15048
+ className
15049
+ }) => {
15050
+ const styles = useStyles34();
15051
+ const mergedLabels = { ...DEFAULT_LABELS33[language], ...labels };
15052
+ return /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Card, { className: `${styles.card} ${className || ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, direction: "column", style: { gap: reactComponents.tokens.spacingHorizontalL }, children: [
15053
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, className: styles.titleRow, children: [
15054
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { children: mergedLabels.title }),
15055
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Divider, { style: { width: 0 } })
15056
+ ] }) }),
15057
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, className: styles.fieldRow, children: [
15058
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: mergedLabels.fromLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { children: from }) }) }),
15059
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: mergedLabels.toLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { children: to }) }) })
15060
+ ] }) }),
15061
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, className: styles.fieldRow, children: [
15062
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: mergedLabels.scheduleLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { children: scheduleTime }) }) }),
15063
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: mergedLabels.bookingNameLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { children: bookingName }) }) })
15064
+ ] }) }),
15065
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, className: styles.fieldRow, children: [
15066
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: mergedLabels.passengerTypeLabel, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { children: passengerType }) }) }),
15067
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: mergedLabels.addOnLabel, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.addOnRow, children: [
15068
+ /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Body1Strong, { children: [
15069
+ addOnsCount,
15070
+ " ",
15071
+ addOnsCount === 1 ? "Layanan" : "Layanan"
15006
15072
  ] }),
15007
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.fields, children: [
15008
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: mergedLabels.idNumber, size: "small", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.inputBox, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { children: passenger.identityNumber }) }) }),
15009
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: passenger.ageLabel, size: "small", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.inputBox, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { children: passenger.ageValue }) }) })
15010
- ] })
15011
- ] }, passenger.id || index);
15012
- }) })
15013
- ] });
15073
+ /* @__PURE__ */ jsxRuntime.jsx(
15074
+ reactComponents.Button,
15075
+ {
15076
+ appearance: "transparent",
15077
+ onClick: onViewAddOns,
15078
+ style: { color: brandColors[80] },
15079
+ children: mergedLabels.viewDetail
15080
+ }
15081
+ )
15082
+ ] }) }) })
15083
+ ] }) })
15084
+ ] }) });
15014
15085
  };
15015
15086
 
15016
15087
  // src/components/CardPriceDetails/CardPriceDetails.constants.ts
15017
- var DEFAULT_LABELS33 = {
15088
+ var DEFAULT_LABELS34 = {
15018
15089
  id: {
15019
15090
  defaultTitle: "Rincian Harga",
15020
15091
  totalPayment: "Total Pembayaran",
@@ -15050,7 +15121,7 @@ var DEFAULT_LABELS33 = {
15050
15121
  currencyPrefix: "Rp. "
15051
15122
  }
15052
15123
  };
15053
- var useStyles34 = reactComponents.makeStyles({
15124
+ var useStyles35 = reactComponents.makeStyles({
15054
15125
  list: {
15055
15126
  margin: 0,
15056
15127
  padding: 0,
@@ -15072,7 +15143,7 @@ var PriceDetailsTerms = ({
15072
15143
  language = "id",
15073
15144
  labels
15074
15145
  }) => {
15075
- const styles = useStyles34();
15146
+ const styles = useStyles35();
15076
15147
  const linkColor = reactComponents.tokens.colorBrandBackground;
15077
15148
  const bookingTerms = labels.bookingTerms;
15078
15149
  const agreementTerms = [
@@ -15092,7 +15163,7 @@ var PriceDetailsTerms = ({
15092
15163
  ] })
15093
15164
  ] });
15094
15165
  };
15095
- var useStyles35 = reactComponents.makeStyles({
15166
+ var useStyles36 = reactComponents.makeStyles({
15096
15167
  card: {
15097
15168
  padding: "1.5rem",
15098
15169
  borderRadius: reactComponents.tokens.borderRadiusXLarge,
@@ -15169,8 +15240,8 @@ var CardPriceDetails = ({
15169
15240
  total,
15170
15241
  labels
15171
15242
  }) => {
15172
- const styles = useStyles35();
15173
- const mergedLabels = { ...DEFAULT_LABELS33[language], ...labels };
15243
+ const styles = useStyles36();
15244
+ const mergedLabels = { ...DEFAULT_LABELS34[language], ...labels };
15174
15245
  const displayTitle = title || mergedLabels.defaultTitle;
15175
15246
  const getVariantClass = (variant) => {
15176
15247
  switch (variant) {
@@ -15229,7 +15300,7 @@ var CardPriceDetails = ({
15229
15300
  };
15230
15301
 
15231
15302
  // src/components/CardPaymentMethodList/CardPaymentMethodList.constants.ts
15232
- var DEFAULT_LABELS34 = {
15303
+ var DEFAULT_LABELS35 = {
15233
15304
  id: {
15234
15305
  selectAriaLabel: "Pilih metode pembayaran"
15235
15306
  },
@@ -15237,7 +15308,7 @@ var DEFAULT_LABELS34 = {
15237
15308
  selectAriaLabel: "Select payment method"
15238
15309
  }
15239
15310
  };
15240
- var useStyles36 = reactComponents.makeStyles({
15311
+ var useStyles37 = reactComponents.makeStyles({
15241
15312
  container: {
15242
15313
  display: "flex",
15243
15314
  flexDirection: "column",
@@ -15297,8 +15368,8 @@ var CardPaymentMethodList = ({
15297
15368
  selectedValue,
15298
15369
  onSelect
15299
15370
  }) => {
15300
- const styles = useStyles36();
15301
- const mergedLabels = { ...DEFAULT_LABELS34[language], ...labels };
15371
+ const styles = useStyles37();
15372
+ const mergedLabels = { ...DEFAULT_LABELS35[language], ...labels };
15302
15373
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.card, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${styles.container}`, children: methods.map((category, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
15303
15374
  index > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.dividerContainer, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Divider, {}) }),
15304
15375
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Accordion, { multiple: true, collapsible: true, children: /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.AccordionItem, { value: category.value, children: [
@@ -15347,7 +15418,7 @@ var CardPaymentMethodList = ({
15347
15418
  };
15348
15419
 
15349
15420
  // src/components/CardPaymentGuide/CardPaymentGuide.constants.ts
15350
- var DEFAULT_LABELS35 = {
15421
+ var DEFAULT_LABELS36 = {
15351
15422
  id: {
15352
15423
  title: "Cara Pembayaran"
15353
15424
  },
@@ -15355,7 +15426,7 @@ var DEFAULT_LABELS35 = {
15355
15426
  title: "Payment Method"
15356
15427
  }
15357
15428
  };
15358
- var useStyles37 = reactComponents.makeStyles({
15429
+ var useStyles38 = reactComponents.makeStyles({
15359
15430
  container: {
15360
15431
  display: "flex",
15361
15432
  flexDirection: "column",
@@ -15391,8 +15462,8 @@ var CardPaymentGuide = ({
15391
15462
  guides,
15392
15463
  className
15393
15464
  }) => {
15394
- const styles = useStyles37();
15395
- const mergedLabels = { ...DEFAULT_LABELS35[language], ...labels };
15465
+ const styles = useStyles38();
15466
+ const mergedLabels = { ...DEFAULT_LABELS36[language], ...labels };
15396
15467
  const displayTitle = title || mergedLabels.title;
15397
15468
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${styles.container} ${className || ""}`, children: [
15398
15469
  displayTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.titleContainer, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { className: styles.title, children: displayTitle }) }),
@@ -15411,7 +15482,7 @@ var CardPaymentGuide = ({
15411
15482
  };
15412
15483
 
15413
15484
  // src/components/CardPaymentInfo/CardPaymentInfo.constants.ts
15414
- var DEFAULT_LABELS36 = {
15485
+ var DEFAULT_LABELS37 = {
15415
15486
  id: {
15416
15487
  expiryPrefix: "Kode virtual akun berlaku sampai",
15417
15488
  copyCodeButton: "Salin Kode",
@@ -15431,7 +15502,7 @@ var DEFAULT_LABELS36 = {
15431
15502
  changePayment: "Change Payment Method"
15432
15503
  }
15433
15504
  };
15434
- var useStyles38 = reactComponents.makeStyles({
15505
+ var useStyles39 = reactComponents.makeStyles({
15435
15506
  container: {
15436
15507
  display: "flex",
15437
15508
  flexDirection: "column",
@@ -15523,8 +15594,8 @@ var CardPaymentInfo = ({
15523
15594
  onCheckStatus,
15524
15595
  onChangePayment
15525
15596
  }) => {
15526
- const styles = useStyles38();
15527
- const mergedLabels = { ...DEFAULT_LABELS36[language], ...labels };
15597
+ const styles = useStyles39();
15598
+ const mergedLabels = { ...DEFAULT_LABELS37[language], ...labels };
15528
15599
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.card, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.container, children: [
15529
15600
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.headerRow, children: [
15530
15601
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { children: mergedLabels.expiryPrefix }),
@@ -15596,7 +15667,7 @@ var CardPaymentInfo = ({
15596
15667
  };
15597
15668
 
15598
15669
  // src/components/CardStatusOrder/CardStatusOrder.constants.ts
15599
- var DEFAULT_LABELS37 = {
15670
+ var DEFAULT_LABELS38 = {
15600
15671
  id: {
15601
15672
  detailTitle: "Detail Pemesanan",
15602
15673
  statusLabel: "Status",
@@ -15626,7 +15697,7 @@ var DEFAULT_LABELS37 = {
15626
15697
  illustrationAlt: "E-Ticket Illustration"
15627
15698
  }
15628
15699
  };
15629
- var useStyles39 = reactComponents.makeStyles({
15700
+ var useStyles40 = reactComponents.makeStyles({
15630
15701
  activeCard: {
15631
15702
  width: "100%",
15632
15703
  // padding: tokens.spacingHorizontalNone, // default
@@ -15696,8 +15767,8 @@ var CardStatusOrder = ({
15696
15767
  onClickViewTicket,
15697
15768
  className
15698
15769
  }) => {
15699
- const styles = useStyles39();
15700
- const mergedLabels = { ...DEFAULT_LABELS37[language], ...labels };
15770
+ const styles = useStyles40();
15771
+ const mergedLabels = { ...DEFAULT_LABELS38[language], ...labels };
15701
15772
  const displayStatus = statusLabel || mergedLabels.defaultStatus;
15702
15773
  const displayTitle = title || mergedLabels.defaultTitle;
15703
15774
  const displayDescription = description || mergedLabels.defaultDescription;
@@ -15794,7 +15865,7 @@ var CardStatusOrder = ({
15794
15865
  };
15795
15866
 
15796
15867
  // src/components/ModalPriceDetail/ModalPriceDetail.constants.ts
15797
- var DEFAULT_LABELS38 = {
15868
+ var DEFAULT_LABELS39 = {
15798
15869
  id: {
15799
15870
  title: "Rincian Harga",
15800
15871
  addonHeader: "Add On",
@@ -15820,7 +15891,7 @@ var DEFAULT_LABELS38 = {
15820
15891
  closeAriaLabel: "Close"
15821
15892
  }
15822
15893
  };
15823
- var useStyles40 = reactComponents.makeStyles({
15894
+ var useStyles41 = reactComponents.makeStyles({
15824
15895
  surface: {
15825
15896
  width: "680px",
15826
15897
  maxWidth: "90vw",
@@ -15947,8 +16018,8 @@ var ModalPriceDetail = ({
15947
16018
  grandTotal,
15948
16019
  ...props
15949
16020
  }) => {
15950
- const styles = useStyles40();
15951
- const mergedLabels = { ...DEFAULT_LABELS38[language], ...labels };
16021
+ const styles = useStyles41();
16022
+ const mergedLabels = { ...DEFAULT_LABELS39[language], ...labels };
15952
16023
  return /* @__PURE__ */ jsxRuntime.jsx(
15953
16024
  reactComponents.Dialog,
15954
16025
  {
@@ -16090,7 +16161,7 @@ var ModalPriceDetail = ({
16090
16161
  // src/components/FileUpload/FileUpload.constants.ts
16091
16162
  var ACCEPTED_FILES = ".pdf,.jpg,.jpeg,.png";
16092
16163
  var MAX_FILE_SIZE_MB = 10;
16093
- var DEFAULT_LABELS39 = {
16164
+ var DEFAULT_LABELS40 = {
16094
16165
  id: {
16095
16166
  placeholder: "Ketuk untuk pilih file",
16096
16167
  maxSizeWarning: "Maksimal {maxSize}MB per file dalam format PDF, JPG, JPEG, PNG.",
@@ -16108,7 +16179,7 @@ var DEFAULT_LABELS39 = {
16108
16179
  downloadTemplateDocument: "Download Template Document"
16109
16180
  }
16110
16181
  };
16111
- var useStyles41 = reactComponents.makeStyles({
16182
+ var useStyles42 = reactComponents.makeStyles({
16112
16183
  surface: {
16113
16184
  maxWidth: "90vw",
16114
16185
  maxHeight: "90vh",
@@ -16135,7 +16206,7 @@ var ModalPreviewImage = ({
16135
16206
  imageUrl,
16136
16207
  alt = "Preview"
16137
16208
  }) => {
16138
- const styles = useStyles41();
16209
+ const styles = useStyles42();
16139
16210
  return /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Dialog, { open, onOpenChange: (_, data) => onOpenChange(data.open), children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.DialogSurface, { className: styles.surface, children: /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.DialogBody, { children: [
16140
16211
  /* @__PURE__ */ jsxRuntime.jsx(
16141
16212
  reactComponents.DialogTitle,
@@ -16261,7 +16332,7 @@ var FileUpload = React__default.default.forwardRef(
16261
16332
  downloadTemplateDocument = false,
16262
16333
  infoLabel
16263
16334
  }, ref) => {
16264
- const mergedLabels = { ...DEFAULT_LABELS39[language], ...customLabels };
16335
+ const mergedLabels = { ...DEFAULT_LABELS40[language], ...customLabels };
16265
16336
  const styles = uploadStyles();
16266
16337
  const fileInputRef = React.useRef(null);
16267
16338
  const [, setIsDragOver] = React.useState(false);
@@ -16698,11 +16769,11 @@ function hexToRgba(hex, alpha = 1) {
16698
16769
  }
16699
16770
 
16700
16771
  // src/components/CardProfileMenu/CardProfileMenu.constants.ts
16701
- var DEFAULT_LABELS40 = {
16772
+ var DEFAULT_LABELS41 = {
16702
16773
  id: {},
16703
16774
  en: {}
16704
16775
  };
16705
- var useStyles42 = reactComponents.makeStyles({
16776
+ var useStyles43 = reactComponents.makeStyles({
16706
16777
  container: {
16707
16778
  display: "flex",
16708
16779
  flexDirection: "column",
@@ -16762,8 +16833,8 @@ var CardProfileMenu = ({
16762
16833
  selectedValue,
16763
16834
  onTabSelect
16764
16835
  }) => {
16765
- const styles = useStyles42();
16766
- ({ ...DEFAULT_LABELS40[language], ...labels });
16836
+ const styles = useStyles43();
16837
+ ({ ...DEFAULT_LABELS41[language], ...labels });
16767
16838
  const handleTabSelect = (_, data) => {
16768
16839
  onTabSelect(data.value);
16769
16840
  };
@@ -16812,6 +16883,7 @@ exports.CardPriceDetails = CardPriceDetails;
16812
16883
  exports.CardProfileMenu = CardProfileMenu;
16813
16884
  exports.CardPromo = CardPromo;
16814
16885
  exports.CardReview = CardReview;
16886
+ exports.CardReviewDetail = CardReviewDetail;
16815
16887
  exports.CardReviewPassenger = CardReviewPassenger;
16816
16888
  exports.CardServiceMenu = CardServiceMenu;
16817
16889
  exports.CardStatusOrder = CardStatusOrder;