sykpcomposer 0.0.174 → 0.0.176

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.
@@ -15925,7 +15925,7 @@ function sC(n, e) {
15925
15925
  }
15926
15926
  function oC(n, e) {
15927
15927
  const t = Ny(n, e);
15928
- return console.log("id", n), new rC(`${window.location.hostname === "localhost" ? "wss://localhost:5173" : "ws://spincrm.sharepoint.com/"}`, n, t, {
15928
+ return console.log("id", n), new rC(`${window.location.hostname === "localhost" ? "ws://localhost:5173" : "wss://spincrm.sharepoint.com/"}`, n, t, {
15929
15929
  connect: !1
15930
15930
  });
15931
15931
  }
@@ -17273,7 +17273,7 @@ function Kf() {
17273
17273
  function Mt(n) {
17274
17274
  return n instanceof mr;
17275
17275
  }
17276
- const vC = sn.lazy(() => import("./ImageComponent-ede6fc28.js"));
17276
+ const vC = sn.lazy(() => import("./ImageComponent-ed5b31c3.js"));
17277
17277
  function xC(n) {
17278
17278
  const e = n;
17279
17279
  if (e.src.startsWith("file:///"))
@@ -17415,7 +17415,7 @@ function Ro({
17415
17415
  function CC(n) {
17416
17416
  return n instanceof Ps;
17417
17417
  }
17418
- const SC = sn.lazy(() => import("./InlineImageComponent-80fad68f.js"));
17418
+ const SC = sn.lazy(() => import("./InlineImageComponent-5556363a.js"));
17419
17419
  function TC(n) {
17420
17420
  if (n instanceof HTMLImageElement) {
17421
17421
  const { alt: e, src: t, width: r, height: i } = n;
@@ -24306,7 +24306,7 @@ function JT({
24306
24306
  })) : E && (o(!0), i(!1), p({
24307
24307
  height: G,
24308
24308
  left: O - ee + 10,
24309
- top: R - V + 20,
24309
+ top: R - V + 10,
24310
24310
  width: zg
24311
24311
  }));
24312
24312
  }
@@ -25486,7 +25486,7 @@ const E1 = ({ initialHtml: n, onHtmlChanged: e, htmlParseObj: t, setSavedEditorS
25486
25486
  let l = n;
25487
25487
  const a = () => {
25488
25488
  let u = e_(".editor-input").html();
25489
- String(u) != String(l) && (r(u), l = u);
25489
+ String(u) != String(l) && (console.log("111111111111"), r(u), l = u);
25490
25490
  };
25491
25491
  return /* @__PURE__ */ U.jsx(
25492
25492
  T1,
@@ -25550,10 +25550,10 @@ function R1({ userObj: n, styleConfig: e, docId: t, onlUser: r, setonlUser: i, u
25550
25550
  });
25551
25551
  }, 3e3);
25552
25552
  }, []), et(() => {
25553
- let z = r, G = s;
25553
+ let z = r || [], G = s || [];
25554
25554
  if (n && n.userName && n.userName.length > 0) {
25555
25555
  let V = n.userName;
25556
- if (console.log("!111 222", s, r), console.log("userObj", n), r.length < 2) {
25556
+ if (console.log("!111 222", s, r), console.log("userObj", n), r && r.length < 1) {
25557
25557
  let ee = /* @__PURE__ */ U.jsxs(
25558
25558
  "div",
25559
25559
  {
@@ -25663,4 +25663,4 @@ export {
25663
25663
  fe as w,
25664
25664
  gt as x
25665
25665
  };
25666
- //# sourceMappingURL=index-7e7de23c.js.map
25666
+ //# sourceMappingURL=index-d0901485.js.map