wacomm 2.2.8 → 2.2.10
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/images/imageCropper/ImageCropper.d.ts +1 -1
- package/dist/{index-0EMBs8l_.js → index-BqeIO1d9.js} +3 -3
- package/dist/{index-CM24d-vU.mjs → index-DNz1k1tv.mjs} +33 -32
- package/dist/{mapbox-gl-DQcGzVr-.mjs → mapbox-gl-JYMrj5iy.mjs} +1 -1
- package/dist/{mapbox-gl-BSg4V_86.js → mapbox-gl-rmqetMo6.js} +1 -1
- package/dist/{maplibre-gl-CWhnfIyE.js → maplibre-gl-CRTjunT9.js} +1 -1
- package/dist/{maplibre-gl-CJWFj78A.mjs → maplibre-gl-RhErF3vr.mjs} +1 -1
- package/dist/wacomm.cjs.js +1 -1
- package/dist/wacomm.es.js +1 -1
- package/package.json +1 -1
|
@@ -50588,11 +50588,11 @@ function iz(e) {
|
|
|
50588
50588
|
}, [c]), null;
|
|
50589
50589
|
}
|
|
50590
50590
|
const TQ = la(iz);
|
|
50591
|
-
const az = import("./maplibre-gl-
|
|
50591
|
+
const az = import("./maplibre-gl-RhErF3vr.mjs").then((e) => e.m), Az = Y.forwardRef(function(t, i) {
|
|
50592
50592
|
return L4(t, i, az);
|
|
50593
50593
|
}), lz = N4;
|
|
50594
50594
|
const cz = sz;
|
|
50595
|
-
const uz = import("./mapbox-gl-
|
|
50595
|
+
const uz = import("./mapbox-gl-JYMrj5iy.mjs").then((e) => e.m), PQ = Y.forwardRef(function(t, i) {
|
|
50596
50596
|
return L4(t, i, uz);
|
|
50597
50597
|
}), dz = N4;
|
|
50598
50598
|
function pz({ locations: e }) {
|
|
@@ -58834,21 +58834,19 @@ function Cq({
|
|
|
58834
58834
|
shouldCloseOnOverlayClick: !0,
|
|
58835
58835
|
shouldCloseOnEsc: !0,
|
|
58836
58836
|
content: /* @__PURE__ */ B.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
58837
|
-
/* @__PURE__ */ B.
|
|
58838
|
-
|
|
58839
|
-
|
|
58840
|
-
|
|
58841
|
-
|
|
58842
|
-
|
|
58843
|
-
|
|
58844
|
-
|
|
58845
|
-
|
|
58846
|
-
|
|
58847
|
-
)),
|
|
58848
|
-
m && /* @__PURE__ */ B.jsx(fA, { className: "w-6 self-center" })
|
|
58849
|
-
] }),
|
|
58837
|
+
/* @__PURE__ */ B.jsx(ln, { className: "overflow-x-auto gap-2", children: b.map((te, W) => /* @__PURE__ */ B.jsx(
|
|
58838
|
+
D5,
|
|
58839
|
+
{
|
|
58840
|
+
file: te.file,
|
|
58841
|
+
objectUrl: te.objectUrl,
|
|
58842
|
+
onRemove: () => $(W),
|
|
58843
|
+
imgClassName: "h-40"
|
|
58844
|
+
},
|
|
58845
|
+
te.objectUrl
|
|
58846
|
+
)) }),
|
|
58850
58847
|
x && /* @__PURE__ */ B.jsx(Ku, { label: x }),
|
|
58851
|
-
/* @__PURE__ */ B.jsxs("div", { className: "flex justify-center gap-2", children: [
|
|
58848
|
+
/* @__PURE__ */ B.jsxs("div", { className: "flex justify-center gap-2 items-center", children: [
|
|
58849
|
+
m && /* @__PURE__ */ B.jsx(fA, { className: "w-6" }),
|
|
58852
58850
|
/* @__PURE__ */ B.jsx(
|
|
58853
58851
|
_i,
|
|
58854
58852
|
{
|
|
@@ -59719,11 +59717,11 @@ function xq({
|
|
|
59719
59717
|
m && b(!1);
|
|
59720
59718
|
}, [m]);
|
|
59721
59719
|
const { inputElement: U, trigger: J } = lu({
|
|
59722
|
-
onChange: (ee) => {
|
|
59720
|
+
onChange: async (ee) => {
|
|
59723
59721
|
const te = ee[0];
|
|
59724
59722
|
if (!te) return;
|
|
59725
|
-
const W =
|
|
59726
|
-
P(W),
|
|
59723
|
+
const W = await A(te);
|
|
59724
|
+
P(W), x({ x: 0, y: 0 }), I(1);
|
|
59727
59725
|
}
|
|
59728
59726
|
}), Z = In((ee, te) => {
|
|
59729
59727
|
z(te);
|
|
@@ -59768,19 +59766,22 @@ function xq({
|
|
|
59768
59766
|
onClose: q,
|
|
59769
59767
|
title: "Update Avatar",
|
|
59770
59768
|
content: /* @__PURE__ */ B.jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
59771
|
-
w ? /* @__PURE__ */ B.
|
|
59772
|
-
|
|
59773
|
-
|
|
59774
|
-
|
|
59775
|
-
|
|
59776
|
-
|
|
59777
|
-
|
|
59778
|
-
|
|
59779
|
-
|
|
59780
|
-
|
|
59781
|
-
|
|
59782
|
-
|
|
59783
|
-
|
|
59769
|
+
w ? /* @__PURE__ */ B.jsxs("div", { className: "relative w-full h-64", children: [
|
|
59770
|
+
/* @__PURE__ */ B.jsx("img", { src: w }),
|
|
59771
|
+
/* @__PURE__ */ B.jsx(
|
|
59772
|
+
yH,
|
|
59773
|
+
{
|
|
59774
|
+
image: w,
|
|
59775
|
+
crop: S,
|
|
59776
|
+
zoom: k,
|
|
59777
|
+
aspect: 1,
|
|
59778
|
+
onCropChange: x,
|
|
59779
|
+
onZoomChange: I,
|
|
59780
|
+
onCropComplete: Z
|
|
59781
|
+
},
|
|
59782
|
+
w
|
|
59783
|
+
)
|
|
59784
|
+
] }) : /* @__PURE__ */ B.jsx(
|
|
59784
59785
|
"div",
|
|
59785
59786
|
{
|
|
59786
59787
|
className: "flex items-center justify-center w-full h-64 bg-gray-100 rounded border border-dashed border-gray-300 text-gray-400 text-sm cursor-pointer hover:bg-gray-200",
|