@edifice.io/wiki 3.6.15-develop-integration.20261001201600 → 3.6.15-develop.20261003152634

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.
Files changed (2) hide show
  1. package/lib/index2.js +64 -64
  2. package/package.json +5 -5
package/lib/index2.js CHANGED
@@ -5,7 +5,7 @@ var L1 = (e, t, i) => t.has(e) || S1("Cannot " + i);
5
5
  var v = (e, t, i) => (L1(e, t, "read from private field"), i ? i.call(e) : t.get(e)), N = (e, t, i) => t.has(e) ? S1("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, i), A = (e, t, i, s) => (L1(e, t, "write to private field"), s ? s.call(e, i) : t.set(e, i), i);
6
6
  import { jsx as o, jsxs as p, Fragment as c2 } from "react/jsx-runtime";
7
7
  import * as r2 from "react";
8
- import { createContext as ot, useState as i2, useEffect as a2, useCallback as J2, useContext as Xi, Suspense as l0, useRef as C0, lazy as M2, forwardRef as r1, useMemo as l1 } from "react";
8
+ import { createContext as ot, useState as i2, useEffect as o2, useCallback as J2, useContext as Xi, Suspense as l0, useRef as C0, lazy as M2, forwardRef as r1, useMemo as l1 } from "react";
9
9
  import { createRoot as $i } from "react-dom/client";
10
10
  import { useRouteError as _i, useNavigate as _, useActionData as es, Form as U0, useParams as X, useSubmit as rt, redirect as se, useLocation as me, useBlocker as ts, useBeforeUnload as is, useNavigation as ss, matchPath as ns, useMatch as ne, Outlet as as, createMemoryRouter as os, RouterProvider as rs } from "react-router-dom";
11
11
  import { ERROR_CODE as ls, FOLDER as R2, SORT_ORDER as cs, ResourceService as pe, odeServices as W } from "@edifice.io/client";
@@ -57,7 +57,7 @@ function Z2(e, t) {
57
57
  cleanups: null,
58
58
  context: a ? a.context : null,
59
59
  owner: a
60
- }, l = n ? e : () => e(() => o2(() => b0(r)));
60
+ }, l = n ? e : () => e(() => s2(() => b0(r)));
61
61
  T = r, j = null;
62
62
  try {
63
63
  return f2(l, !0);
@@ -126,18 +126,18 @@ function Ks(e, t, i) {
126
126
  d = !1;
127
127
  const L = u ? u() : s;
128
128
  if (L == null || L === !1) {
129
- x(r, o2(h));
129
+ x(r, s2(h));
130
130
  return;
131
131
  }
132
132
  let w;
133
- const U = l !== ze ? l : o2(() => {
133
+ const U = l !== ze ? l : s2(() => {
134
134
  try {
135
135
  return n(L, {
136
136
  value: h(),
137
137
  refetching: R
138
138
  });
139
- } catch (s2) {
140
- w = s2;
139
+ } catch (n2) {
140
+ w = n2;
141
141
  }
142
142
  });
143
143
  if (w !== void 0) {
@@ -147,7 +147,7 @@ function Ks(e, t, i) {
147
147
  return x(r, U, void 0, L), U;
148
148
  return r = U, "v" in U ? (U.s === 1 ? x(r, U.v, void 0, L) : x(r, void 0, ee(U.v), L), U) : (d = !0, queueMicrotask(() => d = !1), f2(() => {
149
149
  g(m ? "refreshing" : "pending"), S();
150
- }, !1), U.then((s2) => x(U, s2, void 0, L), (s2) => x(U, void 0, ee(s2), L)));
150
+ }, !1), U.then((n2) => x(U, n2, void 0, L), (n2) => x(U, void 0, ee(n2), L)));
151
151
  }
152
152
  Object.defineProperties(O, {
153
153
  state: {
@@ -180,7 +180,7 @@ function Ks(e, t, i) {
180
180
  function M3(e) {
181
181
  return f2(e, !1);
182
182
  }
183
- function o2(e) {
183
+ function s2(e) {
184
184
  if (j === null) return e();
185
185
  const t = j;
186
186
  j = null;
@@ -201,12 +201,12 @@ function b3(e, t, i) {
201
201
  } else l = e();
202
202
  if (a)
203
203
  return a = !1, r;
204
- const c = o2(() => t(l, n, r));
204
+ const c = s2(() => t(l, n, r));
205
205
  return n = l, c;
206
206
  };
207
207
  }
208
208
  function Xs(e) {
209
- Ht(() => o2(e));
209
+ Ht(() => s2(e));
210
210
  }
211
211
  function M0(e) {
212
212
  return T === null || (T.cleanups === null ? T.cleanups = [e] : T.cleanups.push(e)), e;
@@ -319,7 +319,7 @@ function ye(e, t, i, s = v2, n) {
319
319
  function ce(e) {
320
320
  if (e.state === 0) return;
321
321
  if (e.state === le) return de(e);
322
- if (e.suspense && o2(e.suspense.inFallback)) return e.suspense.effects.push(e);
322
+ if (e.suspense && s2(e.suspense.inFallback)) return e.suspense.effects.push(e);
323
323
  const t = [e];
324
324
  for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < ke); )
325
325
  e.state && t.push(e);
@@ -428,7 +428,7 @@ function Qe(e) {
428
428
  function an(e, t) {
429
429
  return function(s) {
430
430
  let n;
431
- return N2(() => n = o2(() => (T.context = {
431
+ return N2(() => n = s2(() => (T.context = {
432
432
  ...T.context,
433
433
  [e]: s.value
434
434
  }, Gt(() => s.children))), void 0), n;
@@ -442,7 +442,7 @@ function on(e, t, i = {}) {
442
442
  let s = [], n = [], a = [], r = 0, l = t.length > 1 ? [] : null;
443
443
  return M0(() => ue(a)), () => {
444
444
  let c = e() || [], d = c.length, m, u;
445
- return c[Ut], o2(() => {
445
+ return c[Ut], s2(() => {
446
446
  let h, f, k, y, b, S, M, g, x;
447
447
  if (d === 0)
448
448
  r !== 0 && (ue(a), a = [], s = [], n = [], r = 0, l && (l = [])), i.fallback && (s = [Ve], n[0] = Z2((J) => (a[0] = J, i.fallback())), r = 1);
@@ -477,7 +477,7 @@ function rn(e, t, i = {}) {
477
477
  let s = [], n = [], a = [], r = [], l = 0, c;
478
478
  return M0(() => ue(a)), () => {
479
479
  const d = e() || [], m = d.length;
480
- return d[Ut], o2(() => {
480
+ return d[Ut], s2(() => {
481
481
  if (m === 0)
482
482
  return l !== 0 && (ue(a), a = [], s = [], n = [], l = 0, r = []), i.fallback && (s = [Ve], n[0] = Z2((C) => (a[0] = C, i.fallback())), l = 1), n;
483
483
  for (s[0] === Ve && (a[0](), a = [], s = [], n = [], l = 0), c = 0; c < m; c++)
@@ -494,7 +494,7 @@ function rn(e, t, i = {}) {
494
494
  };
495
495
  }
496
496
  function Vt(e, t) {
497
- return o2(() => e(t || {}));
497
+ return s2(() => e(t || {}));
498
498
  }
499
499
  function Y0() {
500
500
  return !0;
@@ -634,7 +634,7 @@ function Xt(e) {
634
634
  t = l;
635
635
  }
636
636
  let r;
637
- return t2(() => (r = t()) ? o2(() => {
637
+ return t2(() => (r = t()) ? s2(() => {
638
638
  if (!a || I.done) return r(n);
639
639
  const l = I.context;
640
640
  h0(a);
@@ -669,8 +669,8 @@ function z3(e) {
669
669
  const n = s();
670
670
  if (n) {
671
671
  const a = e.children;
672
- return typeof a == "function" && a.length > 0 ? o2(() => a(t ? n : () => {
673
- if (!o2(s)) throw $t("Show");
672
+ return typeof a == "function" && a.length > 0 ? s2(() => a(t ? n : () => {
673
+ if (!s2(s)) throw $t("Show");
674
674
  return i();
675
675
  })) : a;
676
676
  }
@@ -694,9 +694,9 @@ function A3(e) {
694
694
  const s = i()();
695
695
  if (!s) return e.fallback;
696
696
  const [n, a, r] = s, l = r.children;
697
- return typeof l == "function" && l.length > 0 ? o2(() => l(r.keyed ? a() : () => {
697
+ return typeof l == "function" && l.length > 0 ? s2(() => l(r.keyed ? a() : () => {
698
698
  var d;
699
- if (((d = o2(i)()) == null ? void 0 : d[0]) !== n) throw $t("Match");
699
+ if (((d = s2(i)()) == null ? void 0 : d[0]) !== n) throw $t("Match");
700
700
  return a();
701
701
  })) : l;
702
702
  }, void 0, void 0);
@@ -875,7 +875,7 @@ function Z3(e, t, i, s) {
875
875
  const a = () => {
876
876
  const l = document.createElement("template");
877
877
  return l.innerHTML = e, l.content.firstChild;
878
- }, r = () => (n || (n = a())).cloneNode(!0);
878
+ }, r = t ? () => s2(() => document.importNode(n || (n = a()), !0)) : () => (n || (n = a())).cloneNode(!0);
879
879
  return r.cloneNode = r, r;
880
880
  }
881
881
  function Mn(e, t = window.document) {
@@ -941,7 +941,7 @@ function Jn(e, t = {}, i, s) {
941
941
  return s || N2(() => n.children = v0(e, t.children, n.children)), N2(() => typeof t.ref == "function" && wn(t.ref, e)), N2(() => zn(e, t, i, !0, n, !0)), n;
942
942
  }
943
943
  function wn(e, t, i) {
944
- return o2(() => e(t, i));
944
+ return s2(() => e(t, i));
945
945
  }
946
946
  function $e(e, t, i, s) {
947
947
  if (i !== void 0 && !s && (s = []), typeof t != "function") return v0(e, t, s, i);
@@ -1184,7 +1184,7 @@ function Nn(e, t) {
1184
1184
  const s = i();
1185
1185
  switch (typeof s) {
1186
1186
  case "function":
1187
- return o2(() => s(t));
1187
+ return s2(() => s(t));
1188
1188
  case "string":
1189
1189
  const n = kn.has(s), a = I.context ? An() : ti(s, n);
1190
1190
  return Jn(a, t, n), a;
@@ -3398,7 +3398,7 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3398
3398
  const [t, i] = i2([]), [s, n] = i2(!0), {
3399
3399
  user: a
3400
3400
  } = c1();
3401
- return a2(() => {
3401
+ return o2(() => {
3402
3402
  (async () => {
3403
3403
  if (!e) {
3404
3404
  i([]), n(!0);
@@ -3696,7 +3696,7 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3696
3696
  getPageFromRoute: () => m,
3697
3697
  getRevisionFromRoute: () => u,
3698
3698
  getPageVersionFromRoute: () => {
3699
- var J, O, z, H, R, L, w, U, s2, q, S2;
3699
+ var J, O, z, H, R, L, w, U, n2, q, S2;
3700
3700
  const g = !a.versionId;
3701
3701
  return {
3702
3702
  isRevision: !!a.versionId,
@@ -3707,7 +3707,7 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3707
3707
  jsonContent: (z = u.data) == null ? void 0 : z.jsonContent,
3708
3708
  lastContributer: ((H = u.data) == null ? void 0 : H.userId) ?? ((R = m.data) == null ? void 0 : R.lastContributer),
3709
3709
  lastContributerName: ((L = u.data) == null ? void 0 : L.username) ?? ((w = m.data) == null ? void 0 : w.lastContributerName),
3710
- title: ((U = u.data) == null ? void 0 : U.title) ?? ((s2 = m.data) == null ? void 0 : s2.title),
3710
+ title: ((U = u.data) == null ? void 0 : U.title) ?? ((n2 = m.data) == null ? void 0 : n2.title),
3711
3711
  modified: ((q = u.data) == null ? void 0 : q.date) ?? ((S2 = m.data) == null ? void 0 : S2.modified)
3712
3712
  },
3713
3713
  isPending: m.isPending || a.versionId && u.isPending,
@@ -4034,7 +4034,7 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4034
4034
  } = ps(), {
4035
4035
  t: m
4036
4036
  } = E();
4037
- return a2(() => {
4037
+ return o2(() => {
4038
4038
  const C = document.getElementById("theme");
4039
4039
  C && (C.href = `${d == null ? void 0 : d.themeUrl}theme.css`);
4040
4040
  }, [d == null ? void 0 : d.themeUrl]), c ? /* @__PURE__ */ p("div", { className: "d-flex flex-column mt-24 ms-md-24 me-md-16", children: [
@@ -10432,40 +10432,40 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10432
10432
  } = Zi({
10433
10433
  pageId: i.pageId || ""
10434
10434
  });
10435
- a2(() => {
10435
+ o2(() => {
10436
10436
  B.triggerPageView(i.pageId);
10437
- }, [i.pageId]), a2(() => {
10437
+ }, [i.pageId]), o2(() => {
10438
10438
  g && k(g._id);
10439
- }, [g]), a2(() => {
10439
+ }, [g]), o2(() => {
10440
10440
  if (g != null && g.aiMetadata && !g.aiMetadata.contentGenerated) {
10441
- const n2 = setInterval(() => {
10441
+ const a2 = setInterval(() => {
10442
10442
  O();
10443
10443
  }, 5e3);
10444
- return () => clearInterval(n2);
10444
+ return () => clearInterval(a2);
10445
10445
  }
10446
10446
  }, [g == null ? void 0 : g.aiMetadata, O]);
10447
- const H = ko(), R = xo(), L = yo(), w = async (n2, z2) => {
10447
+ const H = ko(), R = xo(), L = yo(), w = async (a2, z2) => {
10448
10448
  await H.mutate({
10449
10449
  wikiId: i.wikiId,
10450
10450
  pageId: i.pageId,
10451
- comment: n2,
10451
+ comment: a2,
10452
10452
  replyTo: z2
10453
10453
  });
10454
10454
  }, U = async ({
10455
- comment: n2,
10455
+ comment: a2,
10456
10456
  commentId: z2
10457
10457
  }) => {
10458
10458
  await L.mutateAsync({
10459
10459
  wikiId: i.wikiId,
10460
10460
  pageId: i.pageId,
10461
10461
  commentId: z2,
10462
- comment: n2
10462
+ comment: a2
10463
10463
  });
10464
- }, s2 = async (n2) => {
10464
+ }, n2 = async (a2) => {
10465
10465
  await R.mutateAsync({
10466
10466
  wikiId: i.wikiId,
10467
10467
  pageId: i.pageId,
10468
- commentId: n2
10468
+ commentId: a2
10469
10469
  });
10470
10470
  }, q = async () => {
10471
10471
  t(!0);
@@ -10498,15 +10498,15 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10498
10498
  maxReplies: Aa,
10499
10499
  additionalReplies: Oa
10500
10500
  }, type: u ? "edit" : "read", rights: m, callbacks: {
10501
- post: (n2, z2) => w(n2, z2),
10501
+ post: (a2, z2) => w(a2, z2),
10502
10502
  put: ({
10503
- comment: n2,
10503
+ comment: a2,
10504
10504
  commentId: z2
10505
10505
  }) => U({
10506
- comment: n2,
10506
+ comment: a2,
10507
10507
  commentId: z2
10508
10508
  }),
10509
- delete: (n2) => s2(n2)
10509
+ delete: (a2) => n2(a2)
10510
10510
  } }),
10511
10511
  /* @__PURE__ */ p(l0, { fallback: /* @__PURE__ */ o(p2, { position: !1 }), children: [
10512
10512
  n && /* @__PURE__ */ o(Qo, {}),
@@ -10664,7 +10664,7 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10664
10664
  content: e == null ? void 0 : e.content
10665
10665
  }
10666
10666
  });
10667
- a2(() => {
10667
+ o2(() => {
10668
10668
  h("content", t ?? "", {
10669
10669
  shouldDirty: !0
10670
10670
  });
@@ -11120,17 +11120,17 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11120
11120
  selectedPages: u,
11121
11121
  pagesCount: z
11122
11122
  });
11123
- a2(() => () => {
11123
+ o2(() => () => {
11124
11124
  h([]);
11125
- }, [h]), a2(() => {
11125
+ }, [h]), o2(() => {
11126
11126
  h([]);
11127
11127
  }, [a.pathname, h]);
11128
11128
  const R = (q) => (S == null ? void 0 : S[q]) || 0, L = async (q) => {
11129
11129
  t(!0), s(q);
11130
11130
  }, w = () => {
11131
11131
  t(!1);
11132
- }, U = (q, S2, n2) => /* @__PURE__ */ p("div", { className: C2("grid gap-24 px-12 py-8 mb-2 align-items: center", {
11133
- "bg-secondary-200 rounded": n2
11132
+ }, U = (q, S2, a2) => /* @__PURE__ */ p("div", { className: C2("grid gap-24 px-12 py-8 mb-2 align-items: center", {
11133
+ "bg-secondary-200 rounded": a2
11134
11134
  }), style: {
11135
11135
  "--edifice-columns": 9
11136
11136
  }, children: [
@@ -11150,8 +11150,8 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11150
11150
  background: !0,
11151
11151
  level: q.isVisible ? "warning" : "info"
11152
11152
  }, children: q.isVisible ? g("wiki.table.body.visible") : g("wiki.table.body.invisible") }) })
11153
- ] }), s2 = (q, S2, n2) => /* @__PURE__ */ p("div", { className: C2("grid px-12 py-8 mb-2 gap-2", {
11154
- "bg-secondary-200 rounded": n2
11153
+ ] }), n2 = (q, S2, a2) => /* @__PURE__ */ p("div", { className: C2("grid px-12 py-8 mb-2 gap-2", {
11154
+ "bg-secondary-200 rounded": a2
11155
11155
  }), children: [
11156
11156
  /* @__PURE__ */ p("div", { className: "d-flex align-items-center gap-8 g-col-6 g-col-md-12 justify-content-between", children: [
11157
11157
  /* @__PURE__ */ p("div", { className: "d-flex align-items-center gap-8", children: [
@@ -11169,7 +11169,7 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11169
11169
  return k ? /* @__PURE__ */ o(p2, {}) : b ? "An error has occurred: " + b.message : /* @__PURE__ */ p(c2, { children: [
11170
11170
  /* @__PURE__ */ o(Ce, { className: "m-16", level: "h2", headingStyle: "h2", children: g("wiki.pagelist") }),
11171
11171
  /* @__PURE__ */ p("div", { className: "px-md-16", children: [
11172
- /* @__PURE__ */ o(fs, { data: O, items: H, renderNode: f ? U : s2, onSelectedItems: h }),
11172
+ /* @__PURE__ */ o(fs, { data: O, items: H, renderNode: f ? U : n2, onSelectedItems: h }),
11173
11173
  /* @__PURE__ */ p(l0, { fallback: /* @__PURE__ */ o(p2, { position: !1 }), children: [
11174
11174
  l && /* @__PURE__ */ o(Cr, { pageId: u[0] }),
11175
11175
  c && /* @__PURE__ */ o(hr, { selectedPages: u }),
@@ -11247,7 +11247,7 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11247
11247
  }
11248
11248
  return c;
11249
11249
  }) : [], [t, s]);
11250
- a2(() => {
11250
+ o2(() => {
11251
11251
  t && i(a.slice().sort((r, l) => (r.position ?? a.length) - (l.position ?? a.length)));
11252
11252
  }, [t, i]);
11253
11253
  }, xr = (e, t) => {
@@ -11259,7 +11259,7 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11259
11259
  const [e, t] = i2(!0), i = X(), s = _(), n = ne("/id/:wikiId"), a = u2(), {
11260
11260
  data: r
11261
11261
  } = m0(i.wikiId);
11262
- return a2(() => {
11262
+ return o2(() => {
11263
11263
  if (r) {
11264
11264
  if (n) {
11265
11265
  if (r.pages.length) {
@@ -11357,17 +11357,17 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11357
11357
  const {
11358
11358
  header: x
11359
11359
  } = Wi(), J = (w) => t(`/id/${y == null ? void 0 : y._id}/page/${w}`), O = (w) => t(`page/${w}/subpage/create`), z = !l && !M, H = !l && !n && !z;
11360
- a2(() => {
11360
+ o2(() => {
11361
11361
  e.pageId ? h(`${e.pageId}`) : h(null);
11362
- }, [e.pageId]), a2(() => {
11362
+ }, [e.pageId]), o2(() => {
11363
11363
  c.forEach((w) => {
11364
11364
  w.type === "success" ? d.success(u(w.text)) : w.type === "error" && d.error(u(w.text));
11365
11365
  }), c.length > 0 && C();
11366
- }, [c, C, d]), a2(() => {
11366
+ }, [c, C, d]), o2(() => {
11367
11367
  if (S) return;
11368
11368
  const w = setInterval(() => {
11369
- var s2;
11370
- const U = (s2 = y == null ? void 0 : y.pages) == null ? void 0 : s2.filter((q) => q.aiMetadata && !q.aiMetadata.contentGenerated);
11369
+ var n2;
11370
+ const U = (n2 = y == null ? void 0 : y.pages) == null ? void 0 : n2.filter((q) => q.aiMetadata && !q.aiMetadata.contentGenerated);
11371
11371
  if ((U == null ? void 0 : U.length) === 0) {
11372
11372
  clearInterval(w);
11373
11373
  return;
@@ -11399,8 +11399,8 @@ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11399
11399
  !w.isVisible && /* @__PURE__ */ o(ae, { width: "20", height: "20", className: C2({
11400
11400
  "me-8": U
11401
11401
  }) }),
11402
- !U && !l && /* @__PURE__ */ o("button", { className: "tree-btn mx-8", onClick: (s2) => {
11403
- s2.stopPropagation(), O(w.id);
11402
+ !U && !l && /* @__PURE__ */ o("button", { className: "tree-btn mx-8", onClick: (n2) => {
11403
+ n2.stopPropagation(), O(w.id);
11404
11404
  }, children: /* @__PURE__ */ o(D0, { height: 16, width: 16 }) })
11405
11405
  ] })
11406
11406
  ] }), onSortable: (w) => m(w), onTreeItemClick: J, isDisabled: () => l })
@@ -11538,7 +11538,7 @@ const K1 = "import-pdf", zr = (e) => ({
11538
11538
  } = P(), {
11539
11539
  t: a
11540
11540
  } = E(), r = d1();
11541
- a2(() => {
11541
+ o2(() => {
11542
11542
  var u, C;
11543
11543
  const m = (C = (u = i == null ? void 0 : i.votes) == null ? void 0 : u.find((h) => h.userId === (s == null ? void 0 : s.userId))) == null ? void 0 : C.vote;
11544
11544
  t((h) => h === m ? h : m);
@@ -12120,7 +12120,7 @@ const Ki = (e) => {
12120
12120
  } = E(), {
12121
12121
  setPagesStructure: r
12122
12122
  } = G0(), l = v1();
12123
- return a2(() => {
12123
+ return o2(() => {
12124
12124
  let c = null;
12125
12125
  return (async () => {
12126
12126
  t(!0);
@@ -12207,7 +12207,7 @@ const Ki = (e) => {
12207
12207
  } = E(), r = Fr(), {
12208
12208
  setFormValues: l
12209
12209
  } = G0(), c = X(), d = _();
12210
- a2(() => {
12210
+ o2(() => {
12211
12211
  const u = setInterval(async () => {
12212
12212
  var h;
12213
12213
  const C = await W.http().get(`/wiki/${c.wikiId}`);
@@ -12468,7 +12468,7 @@ const Ki = (e) => {
12468
12468
  };
12469
12469
  return u.children && (f.children = c(u.children, h)), f;
12470
12470
  });
12471
- return a2(() => {
12471
+ return o2(() => {
12472
12472
  if (n.current)
12473
12473
  return a.current || (a.current = $i(n.current)), r.current || (r.current = os(c(_r(E1)), {
12474
12474
  initialEntries: [`/id/${e}`]
@@ -12498,7 +12498,7 @@ export {
12498
12498
  F3 as G,
12499
12499
  G3 as H,
12500
12500
  J3 as I,
12501
- o2 as J,
12501
+ s2 as J,
12502
12502
  Jn as K,
12503
12503
  Kt as L,
12504
12504
  Z2 as M,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/wiki",
3
- "version": "3.6.15-develop-integration.20261001201600",
3
+ "version": "3.6.15-develop.20261003152634",
4
4
  "description": "Wiki application",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "Edifice",
@@ -17,9 +17,9 @@
17
17
  ]
18
18
  },
19
19
  "dependencies": {
20
- "@edifice.io/bootstrap": "develop-integration",
21
- "@edifice.io/client": "develop-integration",
22
- "@edifice.io/react": "develop-integration",
20
+ "@edifice.io/bootstrap": "develop",
21
+ "@edifice.io/client": "develop",
22
+ "@edifice.io/react": "develop",
23
23
  "@react-spring/web": "9.7.5",
24
24
  "@tanstack/react-query": "5.81.5",
25
25
  "@uidotdev/usehooks": "2.4.1",
@@ -27,7 +27,7 @@
27
27
  "i18next": "23.8.1",
28
28
  "i18next-http-backend": "2.4.2",
29
29
  "lottie-react": "2.4.1",
30
- "ode-explorer": "develop-integration",
30
+ "ode-explorer": "develop",
31
31
  "react": "18.3.1",
32
32
  "react-dom": "18.3.1",
33
33
  "react-error-boundary": "4.0.13",