@aveonline/ui-react 2.19.2 → 2.19.3
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/ui-react.mjs
CHANGED
|
@@ -41636,13 +41636,13 @@ function Yue({
|
|
|
41636
41636
|
}
|
|
41637
41637
|
);
|
|
41638
41638
|
}
|
|
41639
|
-
function Uue({ infoItems: e }) {
|
|
41640
|
-
const
|
|
41641
|
-
var
|
|
41642
|
-
(
|
|
41643
|
-
},
|
|
41644
|
-
var
|
|
41645
|
-
(
|
|
41639
|
+
function Uue({ infoItems: e, onItemClick: t }) {
|
|
41640
|
+
const n = pe(null), r = () => {
|
|
41641
|
+
var a;
|
|
41642
|
+
(a = n.current) == null || a.scrollBy({ left: -n.current.offsetWidth });
|
|
41643
|
+
}, i = () => {
|
|
41644
|
+
var a;
|
|
41645
|
+
(a = n.current) == null || a.scrollBy({ left: n.current.offsetWidth });
|
|
41646
41646
|
};
|
|
41647
41647
|
return /* @__PURE__ */ m.jsxs("div", { className: "flex w-full items-center justify-center mt-4", children: [
|
|
41648
41648
|
/* @__PURE__ */ m.jsx(
|
|
@@ -41651,30 +41651,31 @@ function Uue({ infoItems: e }) {
|
|
|
41651
41651
|
size: "sm",
|
|
41652
41652
|
variant: "plain-monochrome",
|
|
41653
41653
|
className: "rounded-full",
|
|
41654
|
-
onClick:
|
|
41654
|
+
onClick: r,
|
|
41655
41655
|
children: /* @__PURE__ */ m.jsx(lt, { size: "sm", kind: "page-back" })
|
|
41656
41656
|
}
|
|
41657
41657
|
),
|
|
41658
|
-
/* @__PURE__ */ m.jsx("div", { ref:
|
|
41658
|
+
/* @__PURE__ */ m.jsx("div", { ref: n, className: "flex gap-1 overflow-hidden", children: e.map((a) => /* @__PURE__ */ m.jsx(
|
|
41659
41659
|
"div",
|
|
41660
41660
|
{
|
|
41661
41661
|
className: "slider-item border border-surface-active rounded-sm",
|
|
41662
|
+
onClick: () => t == null ? void 0 : t(a),
|
|
41662
41663
|
children: /* @__PURE__ */ m.jsx("div", { className: "p-4 w-[180px] h-[190px] flex items-center justify-center", children: /* @__PURE__ */ m.jsxs("div", { className: "block gap-y-2 items-center p-4", children: [
|
|
41663
41664
|
/* @__PURE__ */ m.jsx(
|
|
41664
41665
|
"img",
|
|
41665
41666
|
{
|
|
41666
41667
|
className: "rounded-full size-[50px] object-cover",
|
|
41667
|
-
src:
|
|
41668
|
+
src: a.imageUrl,
|
|
41668
41669
|
alt: "image transport"
|
|
41669
41670
|
}
|
|
41670
41671
|
),
|
|
41671
|
-
/* @__PURE__ */ m.jsx(Ie, { className: "text-center mt-4 font-extrabold", children:
|
|
41672
|
-
/* @__PURE__ */ m.jsx(Ie, { className: "text-center mt-2", children:
|
|
41672
|
+
/* @__PURE__ */ m.jsx(Ie, { className: "text-center mt-4 font-extrabold", children: a.title }),
|
|
41673
|
+
/* @__PURE__ */ m.jsx(Ie, { className: "text-center mt-2", children: a.value })
|
|
41673
41674
|
] }) })
|
|
41674
41675
|
},
|
|
41675
|
-
|
|
41676
|
+
a.value
|
|
41676
41677
|
)) }),
|
|
41677
|
-
/* @__PURE__ */ m.jsx(Ur, { size: "sm", variant: "plain-monochrome", onClick:
|
|
41678
|
+
/* @__PURE__ */ m.jsx(Ur, { size: "sm", variant: "plain-monochrome", onClick: i, children: /* @__PURE__ */ m.jsx(lt, { size: "sm", kind: "page-front" }) })
|
|
41678
41679
|
] });
|
|
41679
41680
|
}
|
|
41680
41681
|
function _ue({ steps: e }) {
|