@asdp/ferryui 0.1.22-dev.9831 → 0.1.22-dev.9840
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 +14 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9578,7 +9578,16 @@ var ModalFilterTicket = ({
|
|
|
9578
9578
|
children: mergedLabels.resetButton
|
|
9579
9579
|
}
|
|
9580
9580
|
),
|
|
9581
|
-
/* @__PURE__ */ jsx(
|
|
9581
|
+
/* @__PURE__ */ jsx(
|
|
9582
|
+
Button,
|
|
9583
|
+
{
|
|
9584
|
+
appearance: "primary",
|
|
9585
|
+
disabled: selectedServiceTypes.length === 0,
|
|
9586
|
+
onClick: onApply,
|
|
9587
|
+
shape: "circular",
|
|
9588
|
+
children: mergedLabels.applyButton
|
|
9589
|
+
}
|
|
9590
|
+
)
|
|
9582
9591
|
] })
|
|
9583
9592
|
] }) }) });
|
|
9584
9593
|
};
|
|
@@ -13111,11 +13120,7 @@ var CardVehicleOwnerForm = ({
|
|
|
13111
13120
|
cargoItems: updatedCargoItems
|
|
13112
13121
|
});
|
|
13113
13122
|
},
|
|
13114
|
-
options: loadTypeOptions.
|
|
13115
|
-
(lt) => lt.commodityId === (getValues(
|
|
13116
|
-
`owners.${index}.cargo.${cargoIndex}.commodity`
|
|
13117
|
-
) || "")
|
|
13118
|
-
).map((lt) => ({
|
|
13123
|
+
options: loadTypeOptions.map((lt) => ({
|
|
13119
13124
|
value: lt.id.toString(),
|
|
13120
13125
|
label: `${lt.name} (${lt.unit?.name})`
|
|
13121
13126
|
})),
|
|
@@ -13141,7 +13146,7 @@ var CardVehicleOwnerForm = ({
|
|
|
13141
13146
|
`owners.${index}.cargo.${cargoIndex}.cargoType`
|
|
13142
13147
|
);
|
|
13143
13148
|
const selectedLoadType = loadTypes.find(
|
|
13144
|
-
(loadType) => loadType.id === type
|
|
13149
|
+
(loadType) => loadType.id.toString() === type
|
|
13145
13150
|
);
|
|
13146
13151
|
if (!selectedLoadType) {
|
|
13147
13152
|
return /* @__PURE__ */ jsxs(Col, { md: 3, children: [
|
|
@@ -13330,9 +13335,9 @@ var CardVehicleOwnerForm = ({
|
|
|
13330
13335
|
`owners.${index}.cargo.${cargoIndex}.cargoType`
|
|
13331
13336
|
);
|
|
13332
13337
|
const selectedLoadType2 = loadTypes.find(
|
|
13333
|
-
(loadType) => loadType.id === type2
|
|
13338
|
+
(loadType) => loadType.id.toString() === type2
|
|
13334
13339
|
);
|
|
13335
|
-
return selectedLoadType2?.unit?.name
|
|
13340
|
+
return selectedLoadType2?.unit?.name;
|
|
13336
13341
|
})()
|
|
13337
13342
|
}
|
|
13338
13343
|
)
|