@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.js CHANGED
@@ -12169,7 +12169,7 @@ var CardVehicleDetail = ({
12169
12169
  },
12170
12170
  children: [
12171
12171
  /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Subtitle1, { className: styles.headerTitle, children: mergedLabels.title }),
12172
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: { flex: 1, marginLeft: "1rem" }, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Divider, {}) })
12172
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: { flex: 1 }, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Divider, {}) })
12173
12173
  ]
12174
12174
  }
12175
12175
  ),
@@ -12972,7 +12972,10 @@ var CardVehicleOwnerForm = ({
12972
12972
  onUpdateOwner(owner.id, {
12973
12973
  cargoItems: updatedCargoItems
12974
12974
  });
12975
- setValue(`owners.${index}.cargo.${cargoIndex}.cargoType`, "");
12975
+ setValue(
12976
+ `owners.${index}.cargo.${cargoIndex}.cargoType`,
12977
+ ""
12978
+ );
12976
12979
  },
12977
12980
  options: commodityOptions,
12978
12981
  placeholder: mergedLabels.selectPlaceholder,
@@ -13023,9 +13026,11 @@ var CardVehicleOwnerForm = ({
13023
13026
  cargoItems: updatedCargoItems
13024
13027
  });
13025
13028
  },
13026
- options: loadTypeOptions.filter((lt) => lt.commodityId === (getValues(
13027
- `owners.${index}.cargo.${cargoIndex}.commodity`
13028
- ) || "")).map((lt) => ({
13029
+ options: loadTypeOptions.filter(
13030
+ (lt) => lt.commodityId === (getValues(
13031
+ `owners.${index}.cargo.${cargoIndex}.commodity`
13032
+ ) || "")
13033
+ ).map((lt) => ({
13029
13034
  value: lt.id.toString(),
13030
13035
  label: `${lt.name} (${lt.unit?.name})`
13031
13036
  })),