sykpcomposer 0.0.320 → 0.0.321

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.
@@ -6639,7 +6639,7 @@ function Fh() {
6639
6639
  function Dr(u) {
6640
6640
  return u instanceof is;
6641
6641
  }
6642
- const uk = fr.lazy(() => import("./ImageComponent-ca581897.js"));
6642
+ const uk = fr.lazy(() => import("./ImageComponent-6a74bf1d.js"));
6643
6643
  function dk(u) {
6644
6644
  const e = u;
6645
6645
  if (e.src.startsWith("file:///"))
@@ -6785,7 +6785,7 @@ function af({
6785
6785
  function fk(u) {
6786
6786
  return u instanceof Su;
6787
6787
  }
6788
- const pk = fr.lazy(() => import("./InlineImageComponent-b67a800b.js"));
6788
+ const pk = fr.lazy(() => import("./InlineImageComponent-08ba0cfd.js"));
6789
6789
  function hk(u) {
6790
6790
  if (u instanceof HTMLImageElement) {
6791
6791
  const { alt: e, src: o, width: t, height: a } = u;
@@ -60980,11 +60980,21 @@ function v4() {
60980
60980
  ln(() => no(e.registerCommand(hy, () => (R1(e, "number"), !0), rr), e.registerCommand(mp, () => (R1(e, "bullet"), !0), rr), e.registerCommand(nA, () => (GO(e), !0), rr), e.registerCommand(Bl, () => !!QO(), rr)), [e]);
60981
60981
  }(u), null;
60982
60982
  }
60983
- const _4 = ({ onlUser: u, codoxStarted: e }) => {
60984
- const [o] = er(), t = () => {
60985
- e ? o.setEditable(!0) : o.setEditable(!1);
60983
+ const _4 = ({ onlUser: u, codoxStarted: e, isCollab: o }) => {
60984
+ const [t] = er(), a = () => {
60985
+ if (!o) {
60986
+ t.setEditable(!0);
60987
+ return;
60988
+ }
60989
+ if (e) {
60990
+ t.setEditable(!0);
60991
+ return;
60992
+ } else {
60993
+ t.setEditable(!1);
60994
+ return;
60995
+ }
60986
60996
  };
60987
- return /* @__PURE__ */ jt.jsx(Jh, { onChange: t });
60997
+ return /* @__PURE__ */ jt.jsx(Jh, { onChange: a });
60988
60998
  }, x4 = [
60989
60999
  cf,
60990
61000
  Uh,
@@ -61174,7 +61184,7 @@ function O4({
61174
61184
  contentEditable: !1
61175
61185
  }
61176
61186
  ),
61177
- C === !0 ? /* @__PURE__ */ jt.jsx(_4, { onlUser: a }) : ""
61187
+ C === !0 ? /* @__PURE__ */ jt.jsx(_4, { onlUser: a, codoxStarted: A, isCollab: C }) : ""
61178
61188
  ] }),
61179
61189
  placeholder: null,
61180
61190
  ErrorBoundary: Md
@@ -61363,4 +61373,4 @@ export {
61363
61373
  Ne as w,
61364
61374
  pr as x
61365
61375
  };
61366
- //# sourceMappingURL=index-dea752f5.js.map
61376
+ //# sourceMappingURL=index-37c7c75d.js.map