@uva-glass/component-library 3.19.0 → 3.19.2

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 (82) hide show
  1. package/dist/{Lexical.prod-qoFV025v.js → Lexical.prod-DcAfce4S.js} +2 -2
  2. package/dist/{Lexical.prod-qoFV025v.js.map → Lexical.prod-DcAfce4S.js.map} +1 -1
  3. package/dist/{LexicalClipboard.prod-BFJoO5qv.js → LexicalClipboard.prod-BktY_t6W.js} +4 -4
  4. package/dist/{LexicalClipboard.prod-BFJoO5qv.js.map → LexicalClipboard.prod-BktY_t6W.js.map} +1 -1
  5. package/dist/{LexicalLink.prod-BIN12UMz.js → LexicalLink.prod-BVtqGtVB.js} +3 -3
  6. package/dist/{LexicalLink.prod-BIN12UMz.js.map → LexicalLink.prod-BVtqGtVB.js.map} +1 -1
  7. package/dist/{LexicalList.prod-WlGaeo0L.js → LexicalList.prod-CZY2UZ4l.js} +5 -5
  8. package/dist/{LexicalList.prod-WlGaeo0L.js.map → LexicalList.prod-CZY2UZ4l.js.map} +1 -1
  9. package/dist/{LexicalSelection.prod-B5grbYgk.js → LexicalSelection.prod-Bbf3tSur.js} +2 -2
  10. package/dist/{LexicalSelection.prod-B5grbYgk.js.map → LexicalSelection.prod-Bbf3tSur.js.map} +1 -1
  11. package/dist/{LexicalTable.prod-osQj1CQX.js → LexicalTable.prod-CphD9tIW.js} +53 -53
  12. package/dist/LexicalTable.prod-CphD9tIW.js.map +1 -0
  13. package/dist/{LexicalUtils.prod-BpZsS7jD.js → LexicalUtils.prod-DGbydHdL.js} +2 -2
  14. package/dist/{LexicalUtils.prod-BpZsS7jD.js.map → LexicalUtils.prod-DGbydHdL.js.map} +1 -1
  15. package/dist/{TablePlugin-6tDdOCQy.js → TablePlugin-CE20cPhW.js} +4 -4
  16. package/dist/{TablePlugin-6tDdOCQy.js.map → TablePlugin-CE20cPhW.js.map} +1 -1
  17. package/dist/assets/Card.css +1 -1
  18. package/dist/assets/Checkbox.css +1 -1
  19. package/dist/assets/CheckboxButton.css +1 -1
  20. package/dist/assets/CheckboxButtonBar.css +1 -1
  21. package/dist/assets/CheckboxTree.css +1 -1
  22. package/dist/assets/Chip.css +1 -1
  23. package/dist/assets/Drawer.css +1 -1
  24. package/dist/assets/EmptyStateDataDisplay.css +1 -1
  25. package/dist/assets/FeedbackBar.css +1 -1
  26. package/dist/assets/FeedbackBox.css +1 -1
  27. package/dist/assets/FormInput.css +1 -1
  28. package/dist/assets/Icon.css +1 -1
  29. package/dist/assets/IconButton.css +1 -1
  30. package/dist/assets/InfoMessage.css +1 -1
  31. package/dist/assets/Input.css +1 -1
  32. package/dist/assets/InputField.css +1 -1
  33. package/dist/assets/Label.css +1 -1
  34. package/dist/components/Card/Card.js +23 -23
  35. package/dist/components/Checkbox/Checkbox.js +3 -3
  36. package/dist/components/CheckboxButton/CheckboxButton.js +21 -21
  37. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +20 -20
  38. package/dist/components/CheckboxTree/CheckboxTree.js +41 -41
  39. package/dist/components/Chip/Chip.js +8 -8
  40. package/dist/components/Drawer/Drawer.js +28 -28
  41. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +20 -20
  42. package/dist/components/FeedbackBar/FeedbackBar.js +15 -15
  43. package/dist/components/FeedbackBox/FeedbackBox.js +13 -13
  44. package/dist/components/FormInput/FormInput.js +20 -20
  45. package/dist/components/Icon/Icon.stories.js +9 -9
  46. package/dist/components/IconButton/IconButton.js +10 -10
  47. package/dist/components/InfoMessage/InfoMessage.js +5 -5
  48. package/dist/components/Input/Input.js +14 -14
  49. package/dist/components/InputField/InputField.js +40 -40
  50. package/dist/components/InputField/InputField.stories.js +1 -1
  51. package/dist/components/Label/Label.js +13 -13
  52. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  53. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  54. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  55. package/dist/components/MultiSelect/index.js +1 -1
  56. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  57. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
  58. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  59. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
  60. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
  61. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
  62. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  63. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +4 -4
  64. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  65. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +3 -3
  66. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +3 -3
  67. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  68. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
  69. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +2 -2
  70. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  71. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -3
  72. package/dist/components/RteEditor/Plugins/index.js +1 -1
  73. package/dist/components/RteEditor/RteEditor.js +196 -190
  74. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  75. package/dist/components/RteEditor/helpers.js +4 -4
  76. package/dist/components/Timeline/Timeline.test.js +1 -1
  77. package/dist/components/index.js +1 -1
  78. package/dist/{helpers-5RvdadYU.js → helpers-Dpx3BPyY.js} +4 -4
  79. package/dist/{helpers-5RvdadYU.js.map → helpers-Dpx3BPyY.js.map} +1 -1
  80. package/dist/index.js +1 -1
  81. package/package.json +13 -13
  82. package/dist/LexicalTable.prod-osQj1CQX.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { w as x, r as Q, i as ge, _ as Nt, j as Ut, N as Xt, T as vt, S as Yt, L as qt } from "./LexicalUtils.prod-BpZsS7jD.js";
2
- import { f as Ze, u as be, e as Qe, h as jt, Q as Ce, i as at, P as I, X as Ge, T as Vt, m as xt, k as re, n as Zt, L as Be, p as Tt, c as z, o as Qt, q as ye, d as D, N as B, w as Je, s as Oe, t as Gt, x as en, z as tn, A as nn, K as De, O as on, B as rn, C as Rt, D as ln, E as V, G as sn, H as an, U as cn, M as un, R as hn, S as dn, V as fn, W as gn, Y as fe, y as ne, $ as $e, a0 as mn, a as Ft, a1 as pn, F as et, a2 as Cn, Z as _n, a3 as Ae, a4 as Sn, a5 as wn, a6 as ct, a7 as yn, a8 as ut, j as bn, a9 as ht, _ as dt, l as Te, aa as Nn, v as vn, ab as xn, ac as Tn } from "./Lexical.prod-qoFV025v.js";
3
- import { _ as Rn, M as Fn } from "./LexicalClipboard.prod-BFJoO5qv.js";
1
+ import { w as x, r as Q, i as ge, _ as Nt, j as Ut, N as Xt, T as vt, S as Yt, L as qt } from "./LexicalUtils.prod-DGbydHdL.js";
2
+ import { f as Ze, u as be, e as Qe, h as jt, Q as Ce, i as at, P as I, X as Ge, T as Vt, m as xt, k as re, n as Zt, L as Be, p as Tt, c as L, o as Qt, q as ye, d as D, N as B, w as Je, s as Oe, t as Gt, x as en, z as tn, A as nn, K as De, O as on, B as rn, C as Rt, D as ln, E as V, G as sn, H as an, U as cn, M as un, R as hn, S as dn, V as fn, W as gn, Y as fe, y as ne, $ as $e, a0 as mn, a as Ft, a1 as pn, F as et, a2 as Cn, Z as _n, a3 as Ae, a4 as Sn, a5 as wn, a6 as ct, a7 as yn, a8 as ut, j as bn, a9 as ht, _ as dt, l as Te, aa as Nn, v as vn, ab as xn, ac as Tn } from "./Lexical.prod-DcAfce4S.js";
3
+ import { _ as Rn, M as Fn } from "./LexicalClipboard.prod-BktY_t6W.js";
4
4
  const tt = /^(\d+(?:\.\d+)?)px$/, W = { BOTH: 3, COLUMN: 2, NO_STATUS: 0, ROW: 1 };
5
5
  class ce extends Ze {
6
6
  static getType() {
@@ -340,7 +340,7 @@ function At(n, e) {
340
340
  const t = n.getFirstChild();
341
341
  t !== null ? t.insertBefore(e) : n.append(e);
342
342
  }
343
- function Ln(n) {
343
+ function zn(n) {
344
344
  if (n.length === 0) return null;
345
345
  const e = Ot(n[0]), [t] = oe(e, null, null);
346
346
  let o = 1 / 0, r = -1 / 0, s = 1 / 0, l = -1 / 0;
@@ -364,11 +364,11 @@ function Ln(n) {
364
364
  const f = t[a][c];
365
365
  if (!f.cell) continue;
366
366
  const d = f.cell, g = d.getKey();
367
- C.has(g) || (C.add(g), zn(d) || p.append(...d.getChildren()), d.remove());
367
+ C.has(g) || (C.add(g), Ln(d) || p.append(...d.getChildren()), d.remove());
368
368
  }
369
369
  return p.getChildrenSize() === 0 && p.append(I()), p;
370
370
  }
371
- function zn(n) {
371
+ function Ln(n) {
372
372
  if (n.getChildrenSize() !== 1) return !1;
373
373
  const e = n.getFirstChildOrThrow();
374
374
  return !(!et(e) || !e.isEmpty());
@@ -784,7 +784,7 @@ function Xn(n, e, t, o) {
784
784
  const c = ke(a.target);
785
785
  c !== null && t.update(() => {
786
786
  const f = Je();
787
- if (gt && a.shiftKey && Z(f, n) && (z(f) || O(f))) {
787
+ if (gt && a.shiftKey && Z(f, n) && (L(f) || O(f))) {
788
788
  const d = f.anchor.getNode(), g = Ne(n, f.anchor.getNode());
789
789
  g ? (l.$setAnchorCellForSelection(se(l, g)), l.$setFocusCellForSelection(c), te(a)) : (n.isBefore(d) ? n.selectStart() : n.selectEnd()).anchor.set(f.anchor.key, f.anchor.offset, f.anchor.type);
790
790
  } else l.$setAnchorCellForSelection(c);
@@ -823,7 +823,7 @@ function Xn(n, e, t, o) {
823
823
  s.addEventListener("pointerdown", h, l.listenerOptions), l.listenersToRemove.add(() => {
824
824
  s.removeEventListener("pointerdown", h);
825
825
  });
826
- for (const [a, c] of In) l.listenersToRemove.add(t.registerCommand(a, (f) => Lt(t, f, c, n, l), De));
826
+ for (const [a, c] of In) l.listenersToRemove.add(t.registerCommand(a, (f) => zt(t, f, c, n, l), De));
827
827
  l.listenersToRemove.add(t.registerCommand(on, (a) => {
828
828
  const c = B();
829
829
  if (O(c)) {
@@ -836,7 +836,7 @@ function Xn(n, e, t, o) {
836
836
  const c = B();
837
837
  if (!Z(c, n)) return !1;
838
838
  if (O(c)) return l.$clearText(), !0;
839
- if (z(c)) {
839
+ if (L(c)) {
840
840
  if (!w(Ne(n, c.anchor.getNode()))) return !1;
841
841
  const f = c.anchor.getNode(), d = c.focus.getNode(), g = n.isParentOf(f), _ = n.isParentOf(d);
842
842
  if (g && !_ || _ && !g) return l.$clearText(), !0;
@@ -849,7 +849,7 @@ function Xn(n, e, t, o) {
849
849
  for (const a of Jn) l.listenersToRemove.add(t.registerCommand(a, p(a), V));
850
850
  const C = (a) => {
851
851
  const c = B();
852
- if (!O(c) && !z(c)) return !1;
852
+ if (!O(c) && !L(c)) return !1;
853
853
  const f = n.isParentOf(c.anchor.getNode());
854
854
  if (f !== n.isParentOf(c.focus.getNode())) {
855
855
  const d = f ? "anchor" : "focus", g = f ? "focus" : "anchor", { key: _, offset: S, type: N } = c[g];
@@ -861,17 +861,17 @@ function Xn(n, e, t, o) {
861
861
  return l.listenersToRemove.add(t.registerCommand(cn, (a) => {
862
862
  const c = B();
863
863
  if (c) {
864
- if (!O(c) && !z(c)) return !1;
864
+ if (!O(c) && !L(c)) return !1;
865
865
  Rn(t, qt(a, ClipboardEvent) ? a : null, Fn(c));
866
866
  const f = C(a);
867
- return z(c) ? (c.removeText(), !0) : f;
867
+ return L(c) ? (c.removeText(), !0) : f;
868
868
  }
869
869
  return !1;
870
870
  }, V)), l.listenersToRemove.add(t.registerCommand(un, (a) => {
871
871
  const c = B();
872
872
  if (!Z(c, n)) return !1;
873
873
  if (O(c)) return l.$formatCells(a), !0;
874
- if (z(c)) {
874
+ if (L(c)) {
875
875
  const f = x(c.anchor.getNode(), (d) => w(d));
876
876
  if (!w(f)) return !1;
877
877
  }
@@ -885,8 +885,8 @@ function Xn(n, e, t, o) {
885
885
  if (O(K)) {
886
886
  const R = K.anchor.getNode(), k = K.focus.getNode();
887
887
  if (E && R && k) {
888
- const [L] = U(E, R, k);
889
- return R.getKey() === L[0][0].cell.getKey() && k.getKey() === L[L.length - 1].at(-1).cell.getKey();
888
+ const [z] = U(E, R, k);
889
+ return R.getKey() === z[0][0].cell.getKey() && k.getKey() === z[z.length - 1].at(-1).cell.getKey();
890
890
  }
891
891
  }
892
892
  return !1;
@@ -897,8 +897,8 @@ function Xn(n, e, t, o) {
897
897
  if (M.has(R)) continue;
898
898
  M.add(R), R.setFormat(a);
899
899
  const k = R.getChildren();
900
- for (let L = 0; L < k.length; L++) {
901
- const P = k[L];
900
+ for (let z = 0; z < k.length; z++) {
901
+ const P = k[z];
902
902
  D(P) && !P.isInline() && P.setFormat(a);
903
903
  }
904
904
  }
@@ -907,7 +907,7 @@ function Xn(n, e, t, o) {
907
907
  const c = B();
908
908
  if (!Z(c, n)) return !1;
909
909
  if (O(c)) return l.$clearHighlight(), !1;
910
- if (z(c)) {
910
+ if (L(c)) {
911
911
  const f = x(c.anchor.getNode(), (d) => w(d));
912
912
  if (!w(f)) return !1;
913
913
  if (typeof a == "string") {
@@ -918,7 +918,7 @@ function Xn(n, e, t, o) {
918
918
  return !1;
919
919
  }, V)), o && l.listenersToRemove.add(t.registerCommand(fn, (a) => {
920
920
  const c = B();
921
- if (!z(c) || !c.isCollapsed() || !Z(c, n)) return !1;
921
+ if (!L(c) || !c.isCollapsed() || !Z(c, n)) return !1;
922
922
  const f = we(c.anchor.getNode());
923
923
  return !(f === null || !n.is(pe(f))) && (te(a), function(d, g) {
924
924
  const _ = g === "next" ? "getNextSibling" : "getPreviousSibling", S = g === "next" ? "getFirstChild" : "getLastChild", N = d[_]();
@@ -933,21 +933,21 @@ function Xn(n, e, t, o) {
933
933
  T === null && y(248), g === "next" ? T.selectNext() : T.selectPrevious();
934
934
  }(f, a.shiftKey ? "previous" : "next"), !0);
935
935
  }, V)), l.listenersToRemove.add(t.registerCommand(gn, (a) => n.isSelected(), De)), l.listenersToRemove.add(t.registerCommand(Tt, (a) => {
936
- const { nodes: c, selection: f } = a, d = f.getStartEndPoints(), g = O(f), _ = z(f) && x(f.anchor.getNode(), (v) => w(v)) !== null && x(f.focus.getNode(), (v) => w(v)) !== null || g;
936
+ const { nodes: c, selection: f } = a, d = f.getStartEndPoints(), g = O(f), _ = L(f) && x(f.anchor.getNode(), (v) => w(v)) !== null && x(f.focus.getNode(), (v) => w(v)) !== null || g;
937
937
  if (c.length !== 1 || !$(c[0]) || !_ || d === null) return !1;
938
938
  const [S, N] = d, [b, T, F] = G(S), M = x(N.getNode(), (v) => w(v));
939
939
  if (!(w(b) && w(M) && A(T) && $(F))) return !1;
940
- const K = c[0], [E, R, k] = U(F, b, M), [L] = oe(K, null, null), P = E.length, le = P > 0 ? E[0].length : 0;
941
- let Y = R.startRow, q = R.startColumn, H = L.length, ue = H > 0 ? L[0].length : 0;
940
+ const K = c[0], [E, R, k] = U(F, b, M), [z] = oe(K, null, null), P = E.length, le = P > 0 ? E[0].length : 0;
941
+ let Y = R.startRow, q = R.startColumn, H = z.length, ue = H > 0 ? z[0].length : 0;
942
942
  if (g) {
943
943
  const v = Ee(E, R, k), J = v.maxRow - v.minRow + 1, j = v.maxColumn - v.minColumn + 1;
944
944
  Y = v.minRow, q = v.minColumn, H = Math.min(H, J), ue = Math.min(ue, j);
945
945
  }
946
- let Le = !1;
947
- const zt = Math.min(P, Y + H) - 1, Wt = Math.min(le, q + ue) - 1, st = /* @__PURE__ */ new Set();
948
- for (let v = Y; v <= zt; v++) for (let J = q; J <= Wt; J++) {
946
+ let ze = !1;
947
+ const Lt = Math.min(P, Y + H) - 1, Wt = Math.min(le, q + ue) - 1, st = /* @__PURE__ */ new Set();
948
+ for (let v = Y; v <= Lt; v++) for (let J = q; J <= Wt; J++) {
949
949
  const j = E[v][J];
950
- st.has(j.cell.getKey()) || j.cell.__rowSpan === 1 && j.cell.__colSpan === 1 || (Wn(j.cell), st.add(j.cell.getKey()), Le = !0);
950
+ st.has(j.cell.getKey()) || j.cell.__rowSpan === 1 && j.cell.__colSpan === 1 || (Wn(j.cell), st.add(j.cell.getKey()), ze = !0);
951
951
  }
952
952
  let [_e] = oe(F.getWritable(), null, null);
953
953
  const Pt = H - P + Y;
@@ -958,23 +958,23 @@ function Xn(n, e, t, o) {
958
958
  $n(_e[0][le - 1].cell, !0, !1);
959
959
  [_e] = oe(F.getWritable(), null, null);
960
960
  for (let v = Y; v < Y + H; v++) for (let J = q; J < q + ue; J++) {
961
- const j = v - Y, it = J - q, ze = L[j][it];
962
- if (ze.startRow !== j || ze.startColumn !== it) continue;
963
- const Se = ze.cell;
961
+ const j = v - Y, it = J - q, Le = z[j][it];
962
+ if (Le.startRow !== j || Le.startColumn !== it) continue;
963
+ const Se = Le.cell;
964
964
  if (Se.__rowSpan !== 1 || Se.__colSpan !== 1) {
965
965
  const ee = [], Dt = Math.min(v + Se.__rowSpan, Y + H) - 1, It = Math.min(J + Se.__colSpan, q + ue) - 1;
966
966
  for (let Pe = v; Pe <= Dt; Pe++) for (let He = J; He <= It; He++) {
967
967
  const Jt = _e[Pe][He];
968
968
  ee.push(Jt.cell);
969
969
  }
970
- Ln(ee), Le = !0;
970
+ zn(ee), ze = !0;
971
971
  }
972
972
  const { cell: We } = _e[v][J], Bt = We.getChildren();
973
973
  Se.getChildren().forEach((ee) => {
974
974
  Ce(ee) && I().append(ee), We.append(ee);
975
975
  }), Bt.forEach((ee) => ee.remove());
976
976
  }
977
- if (g && Le) {
977
+ if (g && ze) {
978
978
  const [v] = oe(F.getWritable(), null, null);
979
979
  v[R.startRow][R.startColumn].cell.selectEnd();
980
980
  }
@@ -986,26 +986,26 @@ function Xn(n, e, t, o) {
986
986
  if (O(a) && a.tableKey === l.tableNodeKey) return (d.x !== l.focusX || d.y !== l.focusY) && (l.$setFocusCellForSelection(d), !0);
987
987
  if (d !== l.anchorCell && Z(a, n)) return l.$setFocusCellForSelection(d), !0;
988
988
  }
989
- if (l.getAndClearShouldCheckSelection() && z(c) && z(a) && a.isCollapsed()) {
989
+ if (l.getAndClearShouldCheckSelection() && L(c) && L(a) && a.isCollapsed()) {
990
990
  const d = a.anchor.getNode(), g = n.getFirstChild(), _ = we(d);
991
991
  if (_ !== null && A(g)) {
992
992
  const S = g.getFirstChild();
993
993
  if (w(S) && n.is(x(_, (N) => N.is(n) || N.is(S)))) return S.selectStart(), !0;
994
994
  }
995
995
  }
996
- if (z(a)) {
996
+ if (L(a)) {
997
997
  const { anchor: d, focus: g } = a, _ = d.getNode(), S = g.getNode(), N = we(_), b = we(S), T = !(!N || !n.is(pe(N))), F = !(!b || !n.is(pe(b))), M = T !== F, K = T && F, E = a.isBackward();
998
998
  if (M) {
999
999
  const R = a.clone();
1000
1000
  if (F) {
1001
- const [k] = U(n, b, b), L = k[0][0].cell, P = k[k.length - 1].at(-1).cell;
1002
- R.focus.set(E ? L.getKey() : P.getKey(), E ? L.getChildrenSize() : P.getChildrenSize(), "element");
1001
+ const [k] = U(n, b, b), z = k[0][0].cell, P = k[k.length - 1].at(-1).cell;
1002
+ R.focus.set(E ? z.getKey() : P.getKey(), E ? z.getChildrenSize() : P.getChildrenSize(), "element");
1003
1003
  } else if (T) {
1004
- const [k] = U(n, N, N), L = k[0][0].cell, P = k[k.length - 1].at(-1).cell;
1005
- R.anchor.set(E ? P.getKey() : L.getKey(), E ? P.getChildrenSize() : 0, "element");
1004
+ const [k] = U(n, N, N), z = k[0][0].cell, P = k[k.length - 1].at(-1).cell;
1005
+ R.anchor.set(E ? P.getKey() : z.getKey(), E ? P.getChildrenSize() : 0, "element");
1006
1006
  }
1007
1007
  ne(R), St(t, l);
1008
- } else if (K && (N.is(b) || (l.$setAnchorCellForSelection(se(l, N)), l.$setFocusCellForSelection(se(l, b), !0)), l.pointerType === "touch" && a.isCollapsed() && z(c) && c.isCollapsed())) {
1008
+ } else if (K && (N.is(b) || (l.$setAnchorCellForSelection(se(l, N)), l.$setFocusCellForSelection(se(l, b), !0)), l.pointerType === "touch" && a.isCollapsed() && L(c) && c.isCollapsed())) {
1009
1009
  const R = we(c.anchor.getNode());
1010
1010
  R && !R.is(b) && (l.$setAnchorCellForSelection(se(l, R)), l.$setFocusCellForSelection(se(l, b), !0), l.pointerType = null);
1011
1011
  }
@@ -1027,7 +1027,7 @@ function Xn(n, e, t, o) {
1027
1027
  }(t, l) : !l.hasHijackedSelectionStyles && n.isSelected() && St(t, l), !1);
1028
1028
  }, V)), l.listenersToRemove.add(t.registerCommand(Ft, () => {
1029
1029
  const a = B();
1030
- if (!z(a) || !a.isCollapsed() || !Z(a, n)) return !1;
1030
+ if (!L(a) || !a.isCollapsed() || !Z(a, n)) return !1;
1031
1031
  const c = yt(t, a, n);
1032
1032
  return !!c && (wt(c, n), !0);
1033
1033
  }, V)), l;
@@ -1152,11 +1152,11 @@ function he(n, e, [t, o]) {
1152
1152
  function qn(n, e, t, o, r) {
1153
1153
  const s = Ee(e, t, o), l = function(T, F) {
1154
1154
  const { minColumn: M, maxColumn: K, minRow: E, maxRow: R } = F;
1155
- let k = 1, L = 1, P = 1, le = 1;
1155
+ let k = 1, z = 1, P = 1, le = 1;
1156
1156
  const Y = T[E], q = T[R];
1157
1157
  for (let H = M; H <= K; H++) k = Math.max(k, Y[H].cell.__rowSpan), le = Math.max(le, q[H].cell.__rowSpan);
1158
- for (let H = E; H <= R; H++) L = Math.max(L, T[H][M].cell.__colSpan), P = Math.max(P, T[H][K].cell.__colSpan);
1159
- return { bottomSpan: le, leftSpan: L, rightSpan: P, topSpan: k };
1158
+ for (let H = E; H <= R; H++) z = Math.max(z, T[H][M].cell.__colSpan), P = Math.max(P, T[H][K].cell.__colSpan);
1159
+ return { bottomSpan: le, leftSpan: z, rightSpan: P, topSpan: k };
1160
1160
  }(e, s), { topSpan: i, leftSpan: u, bottomSpan: m, rightSpan: h } = l, p = function(T, F) {
1161
1161
  const M = Ie(T, F);
1162
1162
  return M === null && y(249, F.cell.getKey()), M;
@@ -1178,7 +1178,7 @@ function qn(n, e, t, o, r) {
1178
1178
  return n.$setAnchorCellForSelection(N), n.$setFocusCellForSelection(b, !0), !0;
1179
1179
  }
1180
1180
  function Z(n, e) {
1181
- if (z(n) || O(n)) {
1181
+ if (L(n) || O(n)) {
1182
1182
  const t = e.isParentOf(n.anchor.getNode()), o = e.isParentOf(n.focus.getNode());
1183
1183
  return t && o;
1184
1184
  }
@@ -1246,14 +1246,14 @@ function jn(n, e, t, o, r, s, l) {
1246
1246
  }
1247
1247
  return te(e), !0;
1248
1248
  }
1249
- function Lt(n, e, t, o, r) {
1249
+ function zt(n, e, t, o, r) {
1250
1250
  if ((t === "up" || t === "down") && function(l) {
1251
1251
  const i = l.getRootElement();
1252
1252
  return i ? i.hasAttribute("aria-controls") && i.getAttribute("aria-controls") === "typeahead-menu" : !1;
1253
1253
  }(n)) return !1;
1254
1254
  const s = B();
1255
1255
  if (!Z(s, o)) {
1256
- if (z(s)) {
1256
+ if (L(s)) {
1257
1257
  if (t === "backward") {
1258
1258
  if (s.focus.offset > 0) return !1;
1259
1259
  const l = function(u) {
@@ -1306,7 +1306,7 @@ function Lt(n, e, t, o, r) {
1306
1306
  }
1307
1307
  return t === "down" && Ve(n) && r.setShouldCheckSelection(), !1;
1308
1308
  }
1309
- if (z(s)) {
1309
+ if (L(s)) {
1310
1310
  if (t === "backward" || t === "forward")
1311
1311
  return jn(n, e, s, e.shiftKey ? "extend" : "move", t === "backward", o, r);
1312
1312
  if (s.isCollapsed()) {
@@ -1315,7 +1315,7 @@ function Lt(n, e, t, o, r) {
1315
1315
  const h = pe(u);
1316
1316
  if (h !== o && h != null) {
1317
1317
  const g = ie(h, n.getElementByKey(h.getKey()));
1318
- if (g != null) return r.table = me(h, g), Lt(n, e, t, h, r);
1318
+ if (g != null) return r.table = me(h, g), zt(n, e, t, h, r);
1319
1319
  }
1320
1320
  const p = n.getElementByKey(u.__key), C = n.getElementByKey(l.key);
1321
1321
  if (C == null || p == null) return !1;
@@ -1594,7 +1594,7 @@ function Vn(n, e) {
1594
1594
  }
1595
1595
  function Zn(n) {
1596
1596
  const e = lt();
1597
- n.hasAttribute("data-lexical-row-striping") && e.setRowStriping(!0);
1597
+ n.hasAttribute("data-lexical-row-striping") && e.setRowStriping(!0), n.hasAttribute("data-lexical-frozen-column") && e.setFrozenColumns(1), n.hasAttribute("data-lexical-frozen-row") && e.setFrozenRows(1);
1598
1598
  const t = n.querySelector(":scope > colgroup");
1599
1599
  if (t) {
1600
1600
  let o = [];
@@ -1618,7 +1618,7 @@ function $(n) {
1618
1618
  }
1619
1619
  function Qn({ rows: n, columns: e, includeHeaders: t }) {
1620
1620
  const o = B() || Je();
1621
- if (!o || !z(o) || pe(o.anchor.getNode())) return !1;
1621
+ if (!o || !L(o) || pe(o.anchor.getNode())) return !1;
1622
1622
  const r = En(Number(n), Number(e), t);
1623
1623
  Yt(r);
1624
1624
  const s = r.getFirstDescendant();
@@ -1696,11 +1696,11 @@ function fo(n, e = !0) {
1696
1696
  };
1697
1697
  }
1698
1698
  function go(n) {
1699
- return n.hasNodes([ae]) || y(255), Ut(n.registerCommand(Kn, Qn, Be), n.registerCommand(Tt, ({ nodes: e, selection: t }) => z(t) ? pe(t.anchor.getNode()) !== null && e.some($) : !1, Be), n.registerCommand(Zt, no, Be), n.registerNodeTransform(ae, to), n.registerNodeTransform(xe, eo), n.registerNodeTransform(ce, Gn));
1699
+ return n.hasNodes([ae]) || y(255), Ut(n.registerCommand(Kn, Qn, Be), n.registerCommand(Tt, ({ nodes: e, selection: t }) => L(t) ? pe(t.anchor.getNode()) !== null && e.some($) : !1, Be), n.registerCommand(Zt, no, Be), n.registerNodeTransform(ae, to), n.registerNodeTransform(xe, eo), n.registerNodeTransform(ce, Gn));
1700
1700
  }
1701
1701
  export {
1702
1702
  ao as B,
1703
- Kt as H,
1703
+ Ot as H,
1704
1704
  ve as K,
1705
1705
  En as L,
1706
1706
  xe as O,
@@ -1716,6 +1716,6 @@ export {
1716
1716
  fo as w,
1717
1717
  X as x,
1718
1718
  ce as y,
1719
- Ot as z
1719
+ Kt as z
1720
1720
  };
1721
- //# sourceMappingURL=LexicalTable.prod-osQj1CQX.js.map
1721
+ //# sourceMappingURL=LexicalTable.prod-CphD9tIW.js.map