@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.d.mts CHANGED
@@ -1695,8 +1695,8 @@ declare const IDENTITY_TYPE: {
1695
1695
  readonly SIM: "SIM";
1696
1696
  readonly KK: "KK";
1697
1697
  readonly KTA: "KTA";
1698
- readonly PASSPORT: "PASSPORT";
1699
- readonly LAINNYA: "LAINNYA";
1698
+ readonly PASSPORT: "PSP";
1699
+ readonly LAINNYA: "TGL";
1700
1700
  };
1701
1701
  type IDENTITY_TYPE_TYPE = typeof IDENTITY_TYPE[keyof typeof IDENTITY_TYPE];
1702
1702
  declare const LOAD_TYPE: {
package/dist/index.d.ts CHANGED
@@ -1695,8 +1695,8 @@ declare const IDENTITY_TYPE: {
1695
1695
  readonly SIM: "SIM";
1696
1696
  readonly KK: "KK";
1697
1697
  readonly KTA: "KTA";
1698
- readonly PASSPORT: "PASSPORT";
1699
- readonly LAINNYA: "LAINNYA";
1698
+ readonly PASSPORT: "PSP";
1699
+ readonly LAINNYA: "TGL";
1700
1700
  };
1701
1701
  type IDENTITY_TYPE_TYPE = typeof IDENTITY_TYPE[keyof typeof IDENTITY_TYPE];
1702
1702
  declare const LOAD_TYPE: {
package/dist/index.js CHANGED
@@ -412,8 +412,8 @@ var IDENTITY_TYPE = {
412
412
  SIM: "SIM",
413
413
  KK: "KK",
414
414
  KTA: "KTA",
415
- PASSPORT: "PASSPORT",
416
- LAINNYA: "LAINNYA"
415
+ PASSPORT: "PSP",
416
+ LAINNYA: "TGL"
417
417
  };
418
418
  var LOAD_TYPE = {
419
419
  PEDESTRIAN: 1,
@@ -13586,34 +13586,6 @@ var CardVehicleOwnerForm = ({
13586
13586
  )
13587
13587
  ] })
13588
13588
  ] }),
13589
- /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Row, { children: /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: (owner.cargoItems?.length || 0) > 1 && /* @__PURE__ */ jsxRuntime.jsx(
13590
- reactComponents.Button,
13591
- {
13592
- disabled,
13593
- icon: /* @__PURE__ */ jsxRuntime.jsx(react.Icon, { icon: "fluent:delete-24-regular" }),
13594
- onClick: (e) => {
13595
- e.stopPropagation();
13596
- onDeleteCargo(owner.id, cargo.id);
13597
- },
13598
- onKeyDown: (e) => {
13599
- if (e.key === "Enter" || e.key === " ") {
13600
- e.stopPropagation();
13601
- onDeleteCargo(
13602
- owner.id,
13603
- cargo.id
13604
- );
13605
- }
13606
- },
13607
- size: "medium",
13608
- shape: "circular",
13609
- style: {
13610
- border: `1px solid ${reactComponents.tokens.colorPaletteRedForeground1}`,
13611
- color: reactComponents.tokens.colorPaletteRedForeground1,
13612
- width: "100%"
13613
- },
13614
- children: mergedLabels.deleteCargoButton
13615
- }
13616
- ) }) }),
13617
13589
  (() => {
13618
13590
  const type = watch(
13619
13591
  `owners.${index}.cargo.${cargoIndex}.loadType`
@@ -13846,7 +13818,35 @@ var CardVehicleOwnerForm = ({
13846
13818
  )
13847
13819
  ] })
13848
13820
  ] });
13849
- })()
13821
+ })(),
13822
+ /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Row, { children: /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { children: (owner.cargoItems?.length || 0) > 1 && /* @__PURE__ */ jsxRuntime.jsx(
13823
+ reactComponents.Button,
13824
+ {
13825
+ disabled,
13826
+ icon: /* @__PURE__ */ jsxRuntime.jsx(react.Icon, { icon: "fluent:delete-24-regular" }),
13827
+ onClick: (e) => {
13828
+ e.stopPropagation();
13829
+ onDeleteCargo(owner.id, cargo.id);
13830
+ },
13831
+ onKeyDown: (e) => {
13832
+ if (e.key === "Enter" || e.key === " ") {
13833
+ e.stopPropagation();
13834
+ onDeleteCargo(
13835
+ owner.id,
13836
+ cargo.id
13837
+ );
13838
+ }
13839
+ },
13840
+ size: "medium",
13841
+ shape: "circular",
13842
+ style: {
13843
+ border: `1px solid ${reactComponents.tokens.colorPaletteRedForeground1}`,
13844
+ color: reactComponents.tokens.colorPaletteRedForeground1,
13845
+ width: "100%"
13846
+ },
13847
+ children: mergedLabels.deleteCargoButton
13848
+ }
13849
+ ) }) })
13850
13850
  ] }) })
13851
13851
  ]
13852
13852
  },