@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.mjs CHANGED
@@ -1700,7 +1700,7 @@ var CardTicket = ({
1700
1700
  },
1701
1701
  children: [
1702
1702
  /* @__PURE__ */ jsx(Subtitle2, { children: mergedLabels.totalPriceLabel }),
1703
- /* @__PURE__ */ jsxs(
1703
+ /* @__PURE__ */ jsx(
1704
1704
  Title3,
1705
1705
  {
1706
1706
  style: {
@@ -1708,11 +1708,7 @@ var CardTicket = ({
1708
1708
  flex: "column",
1709
1709
  justifyContent: "end"
1710
1710
  },
1711
- children: [
1712
- mergedLabels.currencySymbol,
1713
- "\xA0",
1714
- departureItem?.billingDetail?.total?.formatted
1715
- ]
1711
+ children: departureItem?.billingDetail?.total?.formatted
1716
1712
  }
1717
1713
  )
1718
1714
  ]
@@ -5471,7 +5467,7 @@ var DEFAULT_LABELS8 = {
5471
5467
  departureDateLabel: "Tanggal Berangkat",
5472
5468
  returnDateLabel: "Tanggal Pulang",
5473
5469
  serviceClassLabel: "Kelas Layanan",
5474
- typeOfServiceLabel: "Jenis Layanan",
5470
+ typeOfServiceLabel: "Jenis Penumpang",
5475
5471
  passengerLabel: "Penumpang",
5476
5472
  roundTripLabel: "Pulang Pergi",
5477
5473
  searchButton: "Cari Tiket",
@@ -5480,7 +5476,7 @@ var DEFAULT_LABELS8 = {
5480
5476
  placeholderDepartureDate: "Pilih Tanggal Keberangkatan",
5481
5477
  placeholderReturnDate: "Pilih Tanggal Kepulangan",
5482
5478
  placeholderTypeClass: "Pilih Kelas Layanan",
5483
- placeholderTypeService: "Pilih Jenis Layanan",
5479
+ placeholderTypeService: "Pilih Jenis Penumpang",
5484
5480
  placeholderPassenger: "Pilih Jumlah Penumpang",
5485
5481
  errorOriginRequired: "Pelabuhan asal wajib diisi",
5486
5482
  errorDestinationRequired: "Pelabuhan tujuan wajib diisi",
@@ -5499,7 +5495,7 @@ var DEFAULT_LABELS8 = {
5499
5495
  departureDateLabel: "Departure Date",
5500
5496
  returnDateLabel: "Return Date",
5501
5497
  serviceClassLabel: "Service Class",
5502
- typeOfServiceLabel: "Service Type",
5498
+ typeOfServiceLabel: "Type Of Passenger",
5503
5499
  passengerLabel: "Passenger",
5504
5500
  roundTripLabel: "Round Trip",
5505
5501
  searchButton: "Search Ticket",
@@ -6176,7 +6172,7 @@ var DEFAULT_LABELS9 = {
6176
6172
  destinationHarbor: "Pelabuhan Tujuan",
6177
6173
  departureDate: "Tanggal Keberangkatan",
6178
6174
  serviceClass: "Kelas Layanan",
6179
- typeOfService: "Jenis Layanan",
6175
+ typeOfService: "Jenis Penumpang",
6180
6176
  totalPassengers: "Jumlah Penumpang",
6181
6177
  changeSearchButton: "Ganti Pencarian",
6182
6178
  swapAriaLabel: "Tukar asal dan tujuan"
@@ -6186,7 +6182,7 @@ var DEFAULT_LABELS9 = {
6186
6182
  destinationHarbor: "Destination Port",
6187
6183
  departureDate: "Departure Date",
6188
6184
  serviceClass: "Service Class",
6189
- typeOfService: "Service Type",
6185
+ typeOfService: "Type Of Passenger",
6190
6186
  totalPassengers: "Total Passengers",
6191
6187
  changeSearchButton: "Change Search",
6192
6188
  swapAriaLabel: "Swap origin and destination"
@@ -8302,20 +8298,20 @@ var ModalTotalPassengers = ({
8302
8298
  // src/components/ModalTypeOfService/ModalTypeOfService.constants.ts
8303
8299
  var DEFAULT_LABELS15 = {
8304
8300
  id: {
8305
- title: "Pilih Jenis Layanan",
8301
+ title: "Pilih Jenis Penumpang",
8306
8302
  cancelButton: "Batal",
8307
8303
  saveButton: "Simpan",
8308
8304
  vehiclesAlt: "kendaraan",
8309
8305
  closeAriaLabel: "Tutup",
8310
- emptyContent: "Jenis Layanan"
8306
+ emptyContent: "Jenis Penumpang"
8311
8307
  },
8312
8308
  en: {
8313
- title: "Select Service Type",
8309
+ title: "Select Type Of Passenger",
8314
8310
  cancelButton: "Cancel",
8315
8311
  saveButton: "Save",
8316
8312
  vehiclesAlt: "vehicles",
8317
8313
  closeAriaLabel: "Close",
8318
- emptyContent: "Service Type"
8314
+ emptyContent: "Type Of Passenger"
8319
8315
  }
8320
8316
  };
8321
8317
  var DEFAULT_VEHICLE_ICONS = {
@@ -8510,7 +8506,8 @@ var HoverableRadioItem = ({
8510
8506
  item,
8511
8507
  imageRenderer,
8512
8508
  styles,
8513
- isChild = false
8509
+ isChild = false,
8510
+ onClick
8514
8511
  }) => {
8515
8512
  const [isHovered, setIsHovered] = useState(false);
8516
8513
  return /* @__PURE__ */ jsxs(
@@ -8520,6 +8517,7 @@ var HoverableRadioItem = ({
8520
8517
  style: { padding: tokens.spacingHorizontalXS, cursor: "pointer" },
8521
8518
  onMouseEnter: () => setIsHovered(true),
8522
8519
  onMouseLeave: () => setIsHovered(false),
8520
+ onClick,
8523
8521
  children: [
8524
8522
  /* @__PURE__ */ jsx("div", { style: isChild ? void 0 : { marginLeft: 2 }, children: imageRenderer({
8525
8523
  src: item.image,
@@ -8740,7 +8738,8 @@ var ModalTypeOfService = ({
8740
8738
  item: childItem,
8741
8739
  imageRenderer,
8742
8740
  styles,
8743
- isChild: true
8741
+ isChild: true,
8742
+ onClick: () => setSelectedServiceId(childItem.id)
8744
8743
  },
8745
8744
  childIndex
8746
8745
  )) })
@@ -8755,7 +8754,8 @@ var ModalTypeOfService = ({
8755
8754
  item,
8756
8755
  imageRenderer,
8757
8756
  styles,
8758
- isChild: false
8757
+ isChild: false,
8758
+ onClick: () => setSelectedServiceId(item.id)
8759
8759
  },
8760
8760
  index
8761
8761
  );
@@ -8992,7 +8992,7 @@ var SortMenu = ({
8992
8992
  var DEFAULT_LABELS17 = {
8993
8993
  id: {
8994
8994
  title: "Filter dengan",
8995
- serviceTypeLabel: "Jenis Layanan",
8995
+ serviceTypeLabel: "Jenis Penumpang",
8996
8996
  departureTimeLabel: "Waktu pergi",
8997
8997
  arrivalTimeLabel: "Waktu tiba",
8998
8998
  priceLabel: "Harga",