@asdp/ferryui 0.1.22-dev.10841 → 0.1.22-dev.10844
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 +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13479,7 +13479,15 @@ var CardVehicleOwnerForm = ({
|
|
|
13479
13479
|
/* @__PURE__ */ jsxs(Col, { lg: 12, children: [
|
|
13480
13480
|
/* @__PURE__ */ jsx("div", { style: { height: "1rem" } }),
|
|
13481
13481
|
/* @__PURE__ */ jsxs(Body1, { className: styles.label, children: [
|
|
13482
|
-
|
|
13482
|
+
(() => {
|
|
13483
|
+
if (selectedLoadType === LOAD_TYPE.PASSENGER_VEHICLE) {
|
|
13484
|
+
return mergedLabels.estimatedVehicleWeightLabel;
|
|
13485
|
+
} else if (selectedLoadType === LOAD_TYPE.GOODS_VEHICLE || selectedLoadType === LOAD_TYPE.LOOSE_LOAD_WITH_VEHICLE) {
|
|
13486
|
+
return hasLoad ? mergedLabels.estimatedVehicleAndCargoWeightLabel : mergedLabels.estimatedVehicleWeightLabel;
|
|
13487
|
+
} else if (selectedLoadType === LOAD_TYPE.LOOSE_LOAD_WITHOUT_VEHICLE) {
|
|
13488
|
+
return mergedLabels.estimatedCargoWeightLabel;
|
|
13489
|
+
}
|
|
13490
|
+
})(),
|
|
13483
13491
|
" ",
|
|
13484
13492
|
/* @__PURE__ */ jsx("span", { style: { color: "red" }, children: "*" })
|
|
13485
13493
|
] }),
|