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.
@@ -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-CJWFj78A.mjs").then((e) => e.m), Az = Y.forwardRef(function(t, i) {
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-DQcGzVr-.mjs").then((e) => e.m), PQ = Y.forwardRef(function(t, i) {
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.jsxs(ln, { className: "overflow-x-auto gap-2", children: [
58838
- b.map((te, W) => /* @__PURE__ */ B.jsx(
58839
- D5,
58840
- {
58841
- file: te.file,
58842
- objectUrl: te.objectUrl,
58843
- onRemove: () => $(W),
58844
- imgClassName: "h-40"
58845
- },
58846
- te.objectUrl
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 = URL.createObjectURL(te);
59726
- P(W), A(te), x({ x: 0, y: 0 }), I(1);
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.jsx("div", { className: "relative w-full h-64", children: /* @__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
- ) }) : /* @__PURE__ */ B.jsx(
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",
@@ -1,4 +1,4 @@
1
- import { g as qT } from "./index-CM24d-vU.mjs";
1
+ import { g as qT } from "./index-DNz1k1tv.mjs";
2
2
  function $T(Cu, gm) {
3
3
  for (var Io = 0; Io < gm.length; Io++) {
4
4
  const gs = gm[Io];