@asdp/ferryui 0.1.22-dev.9771 → 0.1.22-dev.9789

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
@@ -1709,7 +1709,7 @@ var CardTicket = ({
1709
1709
  },
1710
1710
  children: [
1711
1711
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle2, { children: mergedLabels.totalPriceLabel }),
1712
- /* @__PURE__ */ jsxRuntime.jsxs(
1712
+ /* @__PURE__ */ jsxRuntime.jsx(
1713
1713
  reactComponents.Title3,
1714
1714
  {
1715
1715
  style: {
@@ -1717,11 +1717,7 @@ var CardTicket = ({
1717
1717
  flex: "column",
1718
1718
  justifyContent: "end"
1719
1719
  },
1720
- children: [
1721
- mergedLabels.currencySymbol,
1722
- "\xA0",
1723
- departureItem?.billingDetail?.total?.formatted
1724
- ]
1720
+ children: departureItem?.billingDetail?.total?.formatted
1725
1721
  }
1726
1722
  )
1727
1723
  ]
@@ -5480,7 +5476,7 @@ var DEFAULT_LABELS8 = {
5480
5476
  departureDateLabel: "Tanggal Berangkat",
5481
5477
  returnDateLabel: "Tanggal Pulang",
5482
5478
  serviceClassLabel: "Kelas Layanan",
5483
- typeOfServiceLabel: "Jenis Layanan",
5479
+ typeOfServiceLabel: "Jenis Penumpang",
5484
5480
  passengerLabel: "Penumpang",
5485
5481
  roundTripLabel: "Pulang Pergi",
5486
5482
  searchButton: "Cari Tiket",
@@ -5489,7 +5485,7 @@ var DEFAULT_LABELS8 = {
5489
5485
  placeholderDepartureDate: "Pilih Tanggal Keberangkatan",
5490
5486
  placeholderReturnDate: "Pilih Tanggal Kepulangan",
5491
5487
  placeholderTypeClass: "Pilih Kelas Layanan",
5492
- placeholderTypeService: "Pilih Jenis Layanan",
5488
+ placeholderTypeService: "Pilih Jenis Penumpang",
5493
5489
  placeholderPassenger: "Pilih Jumlah Penumpang",
5494
5490
  errorOriginRequired: "Pelabuhan asal wajib diisi",
5495
5491
  errorDestinationRequired: "Pelabuhan tujuan wajib diisi",
@@ -5508,7 +5504,7 @@ var DEFAULT_LABELS8 = {
5508
5504
  departureDateLabel: "Departure Date",
5509
5505
  returnDateLabel: "Return Date",
5510
5506
  serviceClassLabel: "Service Class",
5511
- typeOfServiceLabel: "Service Type",
5507
+ typeOfServiceLabel: "Type Of Passenger",
5512
5508
  passengerLabel: "Passenger",
5513
5509
  roundTripLabel: "Round Trip",
5514
5510
  searchButton: "Search Ticket",
@@ -6185,7 +6181,7 @@ var DEFAULT_LABELS9 = {
6185
6181
  destinationHarbor: "Pelabuhan Tujuan",
6186
6182
  departureDate: "Tanggal Keberangkatan",
6187
6183
  serviceClass: "Kelas Layanan",
6188
- typeOfService: "Jenis Layanan",
6184
+ typeOfService: "Jenis Penumpang",
6189
6185
  totalPassengers: "Jumlah Penumpang",
6190
6186
  changeSearchButton: "Ganti Pencarian",
6191
6187
  swapAriaLabel: "Tukar asal dan tujuan"
@@ -6195,7 +6191,7 @@ var DEFAULT_LABELS9 = {
6195
6191
  destinationHarbor: "Destination Port",
6196
6192
  departureDate: "Departure Date",
6197
6193
  serviceClass: "Service Class",
6198
- typeOfService: "Service Type",
6194
+ typeOfService: "Type Of Passenger",
6199
6195
  totalPassengers: "Total Passengers",
6200
6196
  changeSearchButton: "Change Search",
6201
6197
  swapAriaLabel: "Swap origin and destination"
@@ -8311,20 +8307,20 @@ var ModalTotalPassengers = ({
8311
8307
  // src/components/ModalTypeOfService/ModalTypeOfService.constants.ts
8312
8308
  var DEFAULT_LABELS15 = {
8313
8309
  id: {
8314
- title: "Pilih Jenis Layanan",
8310
+ title: "Pilih Jenis Penumpang",
8315
8311
  cancelButton: "Batal",
8316
8312
  saveButton: "Simpan",
8317
8313
  vehiclesAlt: "kendaraan",
8318
8314
  closeAriaLabel: "Tutup",
8319
- emptyContent: "Jenis Layanan"
8315
+ emptyContent: "Jenis Penumpang"
8320
8316
  },
8321
8317
  en: {
8322
- title: "Select Service Type",
8318
+ title: "Select Type Of Passenger",
8323
8319
  cancelButton: "Cancel",
8324
8320
  saveButton: "Save",
8325
8321
  vehiclesAlt: "vehicles",
8326
8322
  closeAriaLabel: "Close",
8327
- emptyContent: "Service Type"
8323
+ emptyContent: "Type Of Passenger"
8328
8324
  }
8329
8325
  };
8330
8326
  var DEFAULT_VEHICLE_ICONS = {
@@ -8519,7 +8515,8 @@ var HoverableRadioItem = ({
8519
8515
  item,
8520
8516
  imageRenderer,
8521
8517
  styles,
8522
- isChild = false
8518
+ isChild = false,
8519
+ onClick
8523
8520
  }) => {
8524
8521
  const [isHovered, setIsHovered] = React.useState(false);
8525
8522
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -8529,6 +8526,7 @@ var HoverableRadioItem = ({
8529
8526
  style: { padding: reactComponents.tokens.spacingHorizontalXS, cursor: "pointer" },
8530
8527
  onMouseEnter: () => setIsHovered(true),
8531
8528
  onMouseLeave: () => setIsHovered(false),
8529
+ onClick,
8532
8530
  children: [
8533
8531
  /* @__PURE__ */ jsxRuntime.jsx("div", { style: isChild ? void 0 : { marginLeft: 2 }, children: imageRenderer({
8534
8532
  src: item.image,
@@ -8749,7 +8747,8 @@ var ModalTypeOfService = ({
8749
8747
  item: childItem,
8750
8748
  imageRenderer,
8751
8749
  styles,
8752
- isChild: true
8750
+ isChild: true,
8751
+ onClick: () => setSelectedServiceId(childItem.id)
8753
8752
  },
8754
8753
  childIndex
8755
8754
  )) })
@@ -8764,7 +8763,8 @@ var ModalTypeOfService = ({
8764
8763
  item,
8765
8764
  imageRenderer,
8766
8765
  styles,
8767
- isChild: false
8766
+ isChild: false,
8767
+ onClick: () => setSelectedServiceId(item.id)
8768
8768
  },
8769
8769
  index
8770
8770
  );
@@ -9001,7 +9001,7 @@ var SortMenu = ({
9001
9001
  var DEFAULT_LABELS17 = {
9002
9002
  id: {
9003
9003
  title: "Filter dengan",
9004
- serviceTypeLabel: "Jenis Layanan",
9004
+ serviceTypeLabel: "Jenis Penumpang",
9005
9005
  departureTimeLabel: "Waktu pergi",
9006
9006
  arrivalTimeLabel: "Waktu tiba",
9007
9007
  priceLabel: "Harga",