sykpcomposer 0.0.48 → 0.0.50

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.es.js CHANGED
@@ -44908,8 +44908,15 @@ function P2({ collabApiKey: y, spfList: d, userObj: g }) {
44908
44908
  u.current && u.current.start(p).then(() => {
44909
44909
  console.log("[Lexical Demo][codox.start] success"), f(!0);
44910
44910
  }).catch((w) => console.log("[Lexical Demo][codox.start] error", w));
44911
- }, b = () => {
44912
- u.current && (console.log("Codox stoped"), u.current.stop()), f(!1);
44911
+ };
44912
+ sr(
44913
+ () => () => {
44914
+ b();
44915
+ },
44916
+ []
44917
+ );
44918
+ const b = () => {
44919
+ u.current && (console.log("i am stop"), u.current.stop()), f(!1);
44913
44920
  };
44914
44921
  let _ = {
44915
44922
  root: {
@@ -44940,18 +44947,14 @@ function P2({ collabApiKey: y, spfList: d, userObj: g }) {
44940
44947
  let w = _;
44941
44948
  if (w)
44942
44949
  try {
44943
- c2(w, Ep), l(w);
44950
+ c2(w, Ep), console.log("afsjdjs"), l(w);
44944
44951
  } catch (x) {
44945
44952
  console.error("[APP] error: ", x);
44946
44953
  }
44947
44954
  })();
44948
44955
  }, [e]), sr(() => {
44949
44956
  i && e && !t && m();
44950
- }, [i, e, t]), sr(() => {
44951
- setTimeout(() => {
44952
- console.log("setTiemOut Called"), m();
44953
- }, 2e3);
44954
- }, []), el(
44957
+ }, [i, e, t]), el(
44955
44958
  () => ({
44956
44959
  editorState: i ? JSON.stringify({ root: i.root }) : null,
44957
44960
  namespace: "Playground",
@@ -44970,11 +44973,11 @@ function P2({ collabApiKey: y, spfList: d, userObj: g }) {
44970
44973
  /* @__PURE__ */ Ee.jsxs("div", { title: S.email, className: `avatarStyle avatar-color-${C + 1}`, children: [
44971
44974
  " ",
44972
44975
  S.name && S.name[0]
44973
- ] })
44976
+ ] }, C)
44974
44977
  ));
44975
44978
  }), /* @__PURE__ */ Ee.jsx("div", { className: "flexContainer", children: w });
44976
44979
  };
44977
- return console.log("iam user object", g), console.log("i am CodoxStarted", t), /* @__PURE__ */ Ee.jsx("div", { children: t && /* @__PURE__ */ Ee.jsxs(Dy, { initialConfig: O2, children: [
44980
+ return /* @__PURE__ */ Ee.jsx("div", { children: /* @__PURE__ */ Ee.jsxs(Dy, { initialConfig: O2, children: [
44978
44981
  v(),
44979
44982
  /* @__PURE__ */ Ee.jsxs("div", { className: "editor-container", children: [
44980
44983
  /* @__PURE__ */ Ee.jsx(E2, {}),