@asdp/ferryui 0.1.22-dev.10378 → 0.1.22-dev.10391

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
@@ -403,8 +403,8 @@ var IDENTITY_TYPE = {
403
403
  SIM: "SIM",
404
404
  KK: "KK",
405
405
  KTA: "KTA",
406
- PASSPORT: "PASSPORT",
407
- LAINNYA: "LAINNYA"
406
+ PASSPORT: "PSP",
407
+ LAINNYA: "TGL"
408
408
  };
409
409
  var LOAD_TYPE = {
410
410
  PEDESTRIAN: 1,
@@ -13577,34 +13577,6 @@ var CardVehicleOwnerForm = ({
13577
13577
  )
13578
13578
  ] })
13579
13579
  ] }),
13580
- /* @__PURE__ */ jsx(Row, { children: /* @__PURE__ */ jsx(Col, { children: (owner.cargoItems?.length || 0) > 1 && /* @__PURE__ */ jsx(
13581
- Button,
13582
- {
13583
- disabled,
13584
- icon: /* @__PURE__ */ jsx(Icon, { icon: "fluent:delete-24-regular" }),
13585
- onClick: (e) => {
13586
- e.stopPropagation();
13587
- onDeleteCargo(owner.id, cargo.id);
13588
- },
13589
- onKeyDown: (e) => {
13590
- if (e.key === "Enter" || e.key === " ") {
13591
- e.stopPropagation();
13592
- onDeleteCargo(
13593
- owner.id,
13594
- cargo.id
13595
- );
13596
- }
13597
- },
13598
- size: "medium",
13599
- shape: "circular",
13600
- style: {
13601
- border: `1px solid ${tokens.colorPaletteRedForeground1}`,
13602
- color: tokens.colorPaletteRedForeground1,
13603
- width: "100%"
13604
- },
13605
- children: mergedLabels.deleteCargoButton
13606
- }
13607
- ) }) }),
13608
13580
  (() => {
13609
13581
  const type = watch(
13610
13582
  `owners.${index}.cargo.${cargoIndex}.loadType`
@@ -13837,7 +13809,35 @@ var CardVehicleOwnerForm = ({
13837
13809
  )
13838
13810
  ] })
13839
13811
  ] });
13840
- })()
13812
+ })(),
13813
+ /* @__PURE__ */ jsx(Row, { children: /* @__PURE__ */ jsx(Col, { children: (owner.cargoItems?.length || 0) > 1 && /* @__PURE__ */ jsx(
13814
+ Button,
13815
+ {
13816
+ disabled,
13817
+ icon: /* @__PURE__ */ jsx(Icon, { icon: "fluent:delete-24-regular" }),
13818
+ onClick: (e) => {
13819
+ e.stopPropagation();
13820
+ onDeleteCargo(owner.id, cargo.id);
13821
+ },
13822
+ onKeyDown: (e) => {
13823
+ if (e.key === "Enter" || e.key === " ") {
13824
+ e.stopPropagation();
13825
+ onDeleteCargo(
13826
+ owner.id,
13827
+ cargo.id
13828
+ );
13829
+ }
13830
+ },
13831
+ size: "medium",
13832
+ shape: "circular",
13833
+ style: {
13834
+ border: `1px solid ${tokens.colorPaletteRedForeground1}`,
13835
+ color: tokens.colorPaletteRedForeground1,
13836
+ width: "100%"
13837
+ },
13838
+ children: mergedLabels.deleteCargoButton
13839
+ }
13840
+ ) }) })
13841
13841
  ] }) })
13842
13842
  ]
13843
13843
  },