@asdp/ferryui 0.1.22-dev.10281 → 0.1.22-dev.10301

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
@@ -12617,7 +12617,9 @@ var DEFAULT_LABELS26 = {
12617
12617
  entityTypeIndividual: "Perseorangan",
12618
12618
  selectCompanyPlaceholder: "Pilih Nama Perusahaan",
12619
12619
  inputSenderNamePlaceholder: "Masukkan Nama Pengirim",
12620
- estimatedWeightLabel: "Estimasi Berat Muatan dan Kendaraan (Ton)",
12620
+ estimatedVehicleWeightLabel: "Estimasi Berat Kendaraan (Ton)",
12621
+ estimatedCargoWeightLabel: "Estimasi Berat Muatan (Ton)",
12622
+ estimatedVehicleAndCargoWeightLabel: "Estimasi Berat Kendaraan dan Muatan (Ton)",
12621
12623
  inputNumberPlaceholder: "Masukkan Angka",
12622
12624
  originCityLabel: "Kota Asal",
12623
12625
  destinationCityLabel: "Kota Tujuan",
@@ -12667,7 +12669,9 @@ var DEFAULT_LABELS26 = {
12667
12669
  entityTypeIndividual: "Individual",
12668
12670
  selectCompanyPlaceholder: "Select Company Name",
12669
12671
  inputSenderNamePlaceholder: "Enter Sender Name",
12670
- estimatedWeightLabel: "Estimated Cargo & Vehicle Weight (Ton)",
12672
+ estimatedVehicleWeightLabel: "Estimated Vehicle Weight (Ton)",
12673
+ estimatedCargoWeightLabel: "Estimated Cargo Weight (Ton)",
12674
+ estimatedVehicleAndCargoWeightLabel: "Estimated Vehicle and Cargo Weight (Ton)",
12671
12675
  inputNumberPlaceholder: "Enter Number",
12672
12676
  originCityLabel: "Origin City",
12673
12677
  destinationCityLabel: "Destination City",
@@ -12773,6 +12777,7 @@ var CardVehicleOwnerForm = ({
12773
12777
  commodityOptions = [],
12774
12778
  loadTypeOptions = [],
12775
12779
  loadTypes = [],
12780
+ selectedLoadType,
12776
12781
  loadTypeOptionsByCommodityId = {},
12777
12782
  industryOptions = [],
12778
12783
  loadCategoryOptions = [],
@@ -12966,7 +12971,7 @@ var CardVehicleOwnerForm = ({
12966
12971
  /* @__PURE__ */ jsxs(Col, { lg: 6, children: [
12967
12972
  /* @__PURE__ */ jsx("div", { style: { height: "1rem" } }),
12968
12973
  /* @__PURE__ */ jsxs(Body1, { className: styles.label, children: [
12969
- mergedLabels.estimatedWeightLabel,
12974
+ mergedLabels.estimatedVehicleWeightLabel,
12970
12975
  " ",
12971
12976
  /* @__PURE__ */ jsx("span", { style: { color: "red" }, children: "*" })
12972
12977
  ] }),
@@ -13409,10 +13414,10 @@ var CardVehicleOwnerForm = ({
13409
13414
  const type = watch(
13410
13415
  `owners.${index}.cargo.${cargoIndex}.cargoType`
13411
13416
  );
13412
- const selectedLoadType = loadTypes.find(
13417
+ const selectedLoadType2 = loadTypes.find(
13413
13418
  (loadType) => loadType.id.toString() === type
13414
13419
  );
13415
- if (!selectedLoadType) {
13420
+ if (!selectedLoadType2) {
13416
13421
  return /* @__PURE__ */ jsxs(Col, { md: 3, children: [
13417
13422
  /* @__PURE__ */ jsx(Body1, { className: styles.label, children: mergedLabels.priceLabel }),
13418
13423
  /* @__PURE__ */ jsx(
@@ -13619,10 +13624,10 @@ var CardVehicleOwnerForm = ({
13619
13624
  const type2 = watch(
13620
13625
  `owners.${index}.cargo.${cargoIndex}.cargoType`
13621
13626
  );
13622
- const selectedLoadType2 = loadTypes.find(
13627
+ const selectedLoadType3 = loadTypes.find(
13623
13628
  (loadType) => loadType.id.toString() === type2
13624
13629
  );
13625
- return selectedLoadType2?.unit?.name;
13630
+ return selectedLoadType3?.unit?.name;
13626
13631
  })()
13627
13632
  }
13628
13633
  )
@@ -13650,7 +13655,7 @@ var CardVehicleOwnerForm = ({
13650
13655
  getValues(
13651
13656
  `owners.${index}.cargo.${cargoIndex}.quantity`
13652
13657
  ) || 0
13653
- ) * (selectedLoadType?.price || 0)
13658
+ ) * (selectedLoadType2?.price || 0)
13654
13659
  );
13655
13660
  })()
13656
13661
  }