@asdp/ferryui 0.1.22-dev.10384 → 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.js +29 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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
|
},
|