@asdp/ferryui 0.1.22-dev.9800 → 0.1.22-dev.9801

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
@@ -12160,7 +12160,7 @@ var CardVehicleDetail = ({
12160
12160
  },
12161
12161
  children: [
12162
12162
  /* @__PURE__ */ jsx(Subtitle1, { className: styles.headerTitle, children: mergedLabels.title }),
12163
- /* @__PURE__ */ jsx("div", { style: { flex: 1, marginLeft: "1rem" }, children: /* @__PURE__ */ jsx(Divider, {}) })
12163
+ /* @__PURE__ */ jsx("div", { style: { flex: 1 }, children: /* @__PURE__ */ jsx(Divider, {}) })
12164
12164
  ]
12165
12165
  }
12166
12166
  ),
@@ -12963,7 +12963,10 @@ var CardVehicleOwnerForm = ({
12963
12963
  onUpdateOwner(owner.id, {
12964
12964
  cargoItems: updatedCargoItems
12965
12965
  });
12966
- setValue(`owners.${index}.cargo.${cargoIndex}.cargoType`, "");
12966
+ setValue(
12967
+ `owners.${index}.cargo.${cargoIndex}.cargoType`,
12968
+ ""
12969
+ );
12967
12970
  },
12968
12971
  options: commodityOptions,
12969
12972
  placeholder: mergedLabels.selectPlaceholder,
@@ -13014,9 +13017,11 @@ var CardVehicleOwnerForm = ({
13014
13017
  cargoItems: updatedCargoItems
13015
13018
  });
13016
13019
  },
13017
- options: loadTypeOptions.filter((lt) => lt.commodityId === (getValues(
13018
- `owners.${index}.cargo.${cargoIndex}.commodity`
13019
- ) || "")).map((lt) => ({
13020
+ options: loadTypeOptions.filter(
13021
+ (lt) => lt.commodityId === (getValues(
13022
+ `owners.${index}.cargo.${cargoIndex}.commodity`
13023
+ ) || "")
13024
+ ).map((lt) => ({
13020
13025
  value: lt.id.toString(),
13021
13026
  label: `${lt.name} (${lt.unit?.name})`
13022
13027
  })),