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