@asdp/ferryui 0.1.22-dev.10693 → 0.1.22-dev.10695

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
@@ -13520,59 +13520,50 @@ var CardVehicleOwnerForm = ({
13520
13520
  {
13521
13521
  style: {
13522
13522
  display: "flex",
13523
- flexDirection: "column",
13523
+ justifyContent: "space-between",
13524
+ alignItems: "center",
13524
13525
  width: "100%",
13525
- gap: "0.5rem"
13526
+ gap: "1rem"
13526
13527
  },
13527
13528
  children: [
13528
- /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { children: mergedLabels.cargoItemTitle.replace(
13529
+ /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1Strong, { style: { minWidth: "fit-content" }, children: mergedLabels.cargoItemTitle.replace(
13529
13530
  "{index}",
13530
13531
  (cargoIndex + 1).toString()
13531
13532
  ) }),
13532
- _selectedLoadType && !cargo._isAccordionOpen && /* @__PURE__ */ jsxRuntime.jsxs(
13533
- "div",
13534
- {
13535
- style: {
13536
- display: "flex",
13537
- justifyContent: "space-between",
13538
- alignItems: "center",
13539
- width: "100%"
13540
- },
13541
- children: [
13542
- /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Body1Strong, { children: [
13543
- _selectedLoadType.name,
13544
- " \u2022",
13545
- " ",
13546
- watchQuantity,
13547
- "x",
13548
- " ",
13549
- _selectedLoadType.unit?.name,
13550
- " \u2022",
13551
- " ",
13552
- _selectedLoadType.formattedPrice
13553
- ] }),
13554
- /* @__PURE__ */ jsxRuntime.jsx(
13555
- reactComponents.Body1Stronger,
13556
- {
13557
- style: {
13558
- color: sharedColors["Shared_Secondary_Primary"]
13559
- },
13560
- children: new Intl.NumberFormat("id-ID", {
13561
- style: "currency",
13562
- currency: "IDR",
13563
- minimumFractionDigits: 0
13564
- }).format(
13565
- Number(
13566
- getValues(
13567
- `owners.${index}.cargo.${cargoIndex}.quantity`
13568
- ) || 0
13569
- ) * (_selectedLoadType.price || 0)
13570
- )
13571
- }
13533
+ _selectedLoadType && !cargo._isAccordionOpen && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13534
+ /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Body1Strong, { style: { flex: 1 }, children: [
13535
+ _selectedLoadType.name,
13536
+ " \u2022",
13537
+ " ",
13538
+ watchQuantity,
13539
+ "x",
13540
+ " ",
13541
+ _selectedLoadType.unit?.name,
13542
+ " \u2022",
13543
+ " ",
13544
+ _selectedLoadType.formattedPrice
13545
+ ] }),
13546
+ /* @__PURE__ */ jsxRuntime.jsx(
13547
+ reactComponents.Body1Stronger,
13548
+ {
13549
+ style: {
13550
+ color: sharedColors["Shared_Secondary_Primary"],
13551
+ minWidth: "fit-content"
13552
+ },
13553
+ children: new Intl.NumberFormat("id-ID", {
13554
+ style: "currency",
13555
+ currency: "IDR",
13556
+ minimumFractionDigits: 0
13557
+ }).format(
13558
+ Number(
13559
+ getValues(
13560
+ `owners.${index}.cargo.${cargoIndex}.quantity`
13561
+ ) || 0
13562
+ ) * (_selectedLoadType.price || 0)
13572
13563
  )
13573
- ]
13574
- }
13575
- )
13564
+ }
13565
+ )
13566
+ ] })
13576
13567
  ]
13577
13568
  }
13578
13569
  )