@uva-glass/component-library 3.52.5 → 3.52.7

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 (93) hide show
  1. package/dist/{Lexical.prod-BAE-wnll.js → Lexical.prod-sd_e2sqT.js} +648 -627
  2. package/dist/Lexical.prod-sd_e2sqT.js.map +1 -0
  3. package/dist/{LexicalClipboard.prod-BS4qAkmJ.js → LexicalClipboard.prod-Co2PF1UJ.js} +44 -42
  4. package/dist/LexicalClipboard.prod-Co2PF1UJ.js.map +1 -0
  5. package/dist/{LexicalLink.prod-C6Or2Yo6.js → LexicalLink.prod-BCE6Bg2N.js} +354 -334
  6. package/dist/LexicalLink.prod-BCE6Bg2N.js.map +1 -0
  7. package/dist/{LexicalList.prod-rTq41CO0.js → LexicalList.prod-CIB0K0ja.js} +141 -138
  8. package/dist/LexicalList.prod-CIB0K0ja.js.map +1 -0
  9. package/dist/{LexicalSelection.prod-fLzEGOT_.js → LexicalSelection.prod-CCmcTP6S.js} +41 -41
  10. package/dist/{LexicalSelection.prod-fLzEGOT_.js.map → LexicalSelection.prod-CCmcTP6S.js.map} +1 -1
  11. package/dist/{LexicalTable.prod-BBI7yaOy.js → LexicalTable.prod-Oa2YPHLl.js} +359 -359
  12. package/dist/LexicalTable.prod-Oa2YPHLl.js.map +1 -0
  13. package/dist/{LexicalUtils.prod-D8DAKg7O.js → LexicalUtils.prod-CjKjgnmx.js} +43 -43
  14. package/dist/{LexicalUtils.prod-D8DAKg7O.js.map → LexicalUtils.prod-CjKjgnmx.js.map} +1 -1
  15. package/dist/{TableCellResizerPlugin-HPo4ZkHo.js → TableCellResizerPlugin-DATbSzfg.js} +51 -51
  16. package/dist/{TableCellResizerPlugin-HPo4ZkHo.js.map → TableCellResizerPlugin-DATbSzfg.js.map} +1 -1
  17. package/dist/{TablePlugin-BLbsvcuu.js → TablePlugin-CqCjNBW_.js} +83 -83
  18. package/dist/{TablePlugin-BLbsvcuu.js.map → TablePlugin-CqCjNBW_.js.map} +1 -1
  19. package/dist/{client--GsCJ9Up.js → client-CFLMKOFW.js} +1 -37
  20. package/dist/{client--GsCJ9Up.js.map → client-CFLMKOFW.js.map} +1 -1
  21. package/dist/components/Accordion/Accordion.test.js +3 -3
  22. package/dist/components/AccordionCard/AccordionCard.test.js +3 -3
  23. package/dist/components/ActionList/ActionList.test.js +3 -3
  24. package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -2
  25. package/dist/components/Attention/Attention.test.js +2 -2
  26. package/dist/components/Backdrop/Backdrop.test.js +2 -2
  27. package/dist/components/Buttons/Button.test.js +2 -2
  28. package/dist/components/Buttons/LinkButton.test.js +2 -2
  29. package/dist/components/Buttons/MenuButton.test.js +2 -2
  30. package/dist/components/Card/Card.test.js +2 -2
  31. package/dist/components/Checkbox/Checkbox.test.js +3 -3
  32. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +2 -2
  33. package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
  34. package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -2
  35. package/dist/components/FormInput/FormInput.js +1 -1
  36. package/dist/components/InputField/InputField.stories.js +1 -1
  37. package/dist/components/Label/Label.test.js +2 -2
  38. package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -1
  39. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  40. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  41. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  42. package/dist/components/MultiSelect/index.js +1 -1
  43. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -2
  44. package/dist/components/Notification/Notification.test.js +2 -2
  45. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  46. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
  47. package/dist/components/RadioGroup/Radiogroup.test.js +2 -2
  48. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
  49. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  50. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +7 -7
  51. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
  52. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
  53. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +52 -52
  54. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  55. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +25 -25
  56. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +7 -7
  57. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +4 -4
  58. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  59. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  60. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +4 -4
  61. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +27 -27
  62. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  63. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +16 -16
  64. package/dist/components/RteEditor/Plugins/index.js +2 -2
  65. package/dist/components/RteEditor/RteEditor.js +185 -185
  66. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  67. package/dist/components/RteEditor/helpers.js +8 -8
  68. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +11 -11
  69. package/dist/components/SearchField/SearchField.js +61 -51
  70. package/dist/components/SearchField/SearchField.js.map +1 -1
  71. package/dist/components/StatusBadge/StatusBadge.test.js +2 -2
  72. package/dist/components/TextArea/TextArea.test.js +2 -2
  73. package/dist/components/VarIndicator/VarIndicator.test.js +3 -3
  74. package/dist/components/index.js +1 -1
  75. package/dist/{index-DYPpFe2R.js → index-ApPj4mI1.js} +1 -2
  76. package/dist/{index-DYPpFe2R.js.map → index-ApPj4mI1.js.map} +1 -1
  77. package/dist/{index-C_1Z-Fok.js → index-BKK3EWVW.js} +2 -2
  78. package/dist/{index-C_1Z-Fok.js.map → index-BKK3EWVW.js.map} +1 -1
  79. package/dist/index.js +1 -1
  80. package/dist/{react-18-BHQltW8V.js → react-18-CJB15f47.js} +2 -2
  81. package/dist/{react-18-BHQltW8V.js.map → react-18-CJB15f47.js.map} +1 -1
  82. package/dist/{react.esm-DdELhthz.js → react.esm-BjO203QT.js} +3 -19
  83. package/dist/{react.esm-DdELhthz.js.map → react.esm-BjO203QT.js.map} +1 -1
  84. package/dist/setupTests.js +1 -1
  85. package/dist/storybook__react.d.js +2 -2
  86. package/dist/{test-utils-BP59mSnn.js → test-utils-BcpWLsLH.js} +1 -19
  87. package/dist/{test-utils-BP59mSnn.js.map → test-utils-BcpWLsLH.js.map} +1 -1
  88. package/package.json +10 -10
  89. package/dist/Lexical.prod-BAE-wnll.js.map +0 -1
  90. package/dist/LexicalClipboard.prod-BS4qAkmJ.js.map +0 -1
  91. package/dist/LexicalLink.prod-C6Or2Yo6.js.map +0 -1
  92. package/dist/LexicalList.prod-rTq41CO0.js.map +0 -1
  93. package/dist/LexicalTable.prod-BBI7yaOy.js.map +0 -1
@@ -1,50 +1,50 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { o as P } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
3
- import { k as f, x as C, S as N, o as x, d as b, h as I } from "../../../../LexicalList.prod-rTq41CO0.js";
2
+ import { o as y } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
3
+ import { k as f, x as C, S as N, o as P, d as b, h as x } from "../../../../LexicalList.prod-CIB0K0ja.js";
4
4
  import { useState as p, useEffect as k } from "react";
5
- import { c as K } from "../../../../clsx-OuTLNxxd.js";
6
- import { as as y, D as O, X as U, a as v, h as D, F as w } from "../../../../Lexical.prod-BAE-wnll.js";
7
- import { Icon as B } from "../../../Icon/Icon.js";
5
+ import { c as D } from "../../../../clsx-OuTLNxxd.js";
6
+ import { as as I, K as z, Y as O, b as v, y as K, z as U } from "../../../../Lexical.prod-sd_e2sqT.js";
7
+ import { Icon as w } from "../../../Icon/Icon.js";
8
8
  import { s as l } from "../../../../RteEditor.module-CUi7Vqe8.js";
9
- import { useTranslation as E } from "../../hooks/useTranslation.js";
10
- const F = {
9
+ import { useTranslation as B } from "../../hooks/useTranslation.js";
10
+ const E = {
11
11
  bullet: "BulletList",
12
12
  number: "NumberedList"
13
- }, $ = ["bullet", "number"], M = () => {
14
- const u = E(), [e] = P(), [h, a] = p(null), [c, g] = p(!1), [m, L] = p(!1), S = (t) => {
13
+ }, Y = ["bullet", "number"], Q = () => {
14
+ const u = B(), [e] = y(), [h, a] = p(null), [m, g] = p(!1), [c, L] = p(!1), S = (t) => {
15
15
  t === "number" && h !== "number" ? (e.dispatchCommand(C, void 0), a("number")) : t === "bullet" && h !== "bullet" ? (e.dispatchCommand(N, void 0), a("bullet")) : (e.dispatchCommand(f, void 0), a(null));
16
16
  };
17
17
  return k(() => {
18
18
  const t = e.registerCommand(
19
- y,
20
- (o) => o.ctrlKey && o.shiftKey && o.code === "Digit7" ? (o.preventDefault(), m ? e.dispatchCommand(f, void 0) : e.dispatchCommand(C, void 0), !0) : o.ctrlKey && o.shiftKey && o.code === "Digit8" ? (o.preventDefault(), c ? e.dispatchCommand(f, void 0) : e.dispatchCommand(N, void 0), !0) : !1,
21
- O
19
+ I,
20
+ (o) => o.ctrlKey && o.shiftKey && o.code === "Digit7" ? (o.preventDefault(), c ? e.dispatchCommand(f, void 0) : e.dispatchCommand(C, void 0), !0) : o.ctrlKey && o.shiftKey && o.code === "Digit8" ? (o.preventDefault(), m ? e.dispatchCommand(f, void 0) : e.dispatchCommand(N, void 0), !0) : !1,
21
+ z
22
22
  );
23
23
  return () => {
24
24
  t();
25
25
  };
26
- }, [e, m, c]), k(() => {
26
+ }, [e, c, m]), k(() => {
27
27
  e.registerCommand(
28
- U,
28
+ O,
29
29
  (o) => (o.preventDefault(), e.update(() => {
30
30
  const n = v();
31
- if (!D(n))
31
+ if (!K(n))
32
32
  return;
33
33
  const r = n.anchor.getNode(), i = r.getParent();
34
- if (!x(i))
34
+ if (!P(i))
35
35
  return;
36
36
  const s = i.getParent();
37
37
  if (b(s)) {
38
- const _ = I(b(s) ? s.getListType() : "bullet");
38
+ const _ = x(b(s) ? s.getListType() : "bullet");
39
39
  i.append(_), _.append(r);
40
40
  }
41
41
  }), !0),
42
- w
42
+ U
43
43
  );
44
44
  const t = e.registerUpdateListener(({ editorState: o }) => {
45
45
  o.read(() => {
46
46
  const n = v();
47
- if (D(n)) {
47
+ if (K(n)) {
48
48
  let r = n.anchor.getNode();
49
49
  for (; r !== null; ) {
50
50
  if (b(r)) {
@@ -64,26 +64,26 @@ const F = {
64
64
  return () => {
65
65
  t();
66
66
  };
67
- }, [e]), /* @__PURE__ */ d("div", { className: l["editor__toolbar-button-group"], children: $.map((t) => /* @__PURE__ */ d(
67
+ }, [e]), /* @__PURE__ */ d("div", { className: l["editor__toolbar-button-group"], children: Y.map((t) => /* @__PURE__ */ d(
68
68
  "button",
69
69
  {
70
70
  onClick: () => S(t),
71
71
  title: u.format[`${t}Tooltip`],
72
- className: K(
72
+ className: D(
73
73
  l["editor__toolbar-button"],
74
74
  l[`editor__toolbar-button--${t}`],
75
- t === "bullet" && c && l["editor__toolbar-button--active"],
76
- t === "number" && m && l["editor__toolbar-button--active"]
75
+ t === "bullet" && m && l["editor__toolbar-button--active"],
76
+ t === "number" && c && l["editor__toolbar-button--active"]
77
77
  ),
78
78
  "aria-label": u.aria.labels[t],
79
79
  "aria-keyshortcuts": u.aria.keyshortcuts[t],
80
80
  type: "button",
81
- children: /* @__PURE__ */ d(B, { name: F[t], size: 24 })
81
+ children: /* @__PURE__ */ d(w, { name: E[t], size: 24 })
82
82
  },
83
83
  t
84
84
  )) });
85
85
  };
86
86
  export {
87
- M as ListPlugin
87
+ Q as ListPlugin
88
88
  };
89
89
  //# sourceMappingURL=ListPlugin.js.map
@@ -1,16 +1,16 @@
1
1
  import { o as m } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
2
2
  import { useEffect as c } from "react";
3
- import { ae as f, N as p, a as u } from "../../../../Lexical.prod-BAE-wnll.js";
4
- import { L as i } from "../../../../LexicalUtils.prod-D8DAKg7O.js";
5
- import { R as d } from "../../../../LexicalClipboard.prod-BS4qAkmJ.js";
3
+ import { ad as f, ae as p, b as d } from "../../../../Lexical.prod-sd_e2sqT.js";
4
+ import { L as i } from "../../../../LexicalUtils.prod-CjKjgnmx.js";
5
+ import { R as u } from "../../../../LexicalClipboard.prod-Co2PF1UJ.js";
6
6
  import { d as D } from "../../../../index-yEhaxKq-.js";
7
- const P = () => {
7
+ const L = () => {
8
8
  const [e] = m(), l = (t) => {
9
9
  t.preventDefault(), e.update(() => {
10
- const r = u(), a = i(t, InputEvent) || i(t, KeyboardEvent) ? null : t.clipboardData;
10
+ const r = d(), a = i(t, InputEvent) || i(t, KeyboardEvent) ? null : t.clipboardData;
11
11
  if (a != null && r !== null) {
12
12
  const o = a.getData("text/html") || a.getData("text/plain"), n = new DataTransfer(), s = new D.MSWordNormalizer();
13
- n.setData("text/html", o), s.isActive(o) && n.setData("text/html", s.normalize(o)), d(n, r, e);
13
+ n.setData("text/html", o), s.isActive(o) && n.setData("text/html", s.normalize(o)), u(n, r, e);
14
14
  }
15
15
  });
16
16
  };
@@ -26,6 +26,6 @@ const P = () => {
26
26
  }, [e]), null;
27
27
  };
28
28
  export {
29
- P as PasteHandlerPlugin
29
+ L as PasteHandlerPlugin
30
30
  };
31
31
  //# sourceMappingURL=PasteHandlerPlugin.js.map
@@ -1,10 +1,10 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
4
- import { T as b } from "../../../../TableCellResizerPlugin-HPo4ZkHo.js";
5
- import "../../../../LexicalTable.prod-BBI7yaOy.js";
6
- import "../../../../LexicalUtils.prod-D8DAKg7O.js";
7
- import "../../../../Lexical.prod-BAE-wnll.js";
4
+ import { T as b } from "../../../../TableCellResizerPlugin-DATbSzfg.js";
5
+ import "../../../../LexicalTable.prod-Oa2YPHLl.js";
6
+ import "../../../../LexicalUtils.prod-CjKjgnmx.js";
7
+ import "../../../../Lexical.prod-sd_e2sqT.js";
8
8
  import "react-dom";
9
9
  import "../TablePlugin/helpers.js";
10
10
  import "../../nodes/TableWrapperNode/TableWrapperNode.js";
@@ -1,4 +1,4 @@
1
- import { T as r } from "../../../../TableCellResizerPlugin-HPo4ZkHo.js";
1
+ import { T as r } from "../../../../TableCellResizerPlugin-DATbSzfg.js";
2
2
  export {
3
3
  r as TableCellResizerPlugin
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { b as G } from "../../../../TablePlugin-BLbsvcuu.js";
3
+ import { b as G } from "../../../../TablePlugin-CqCjNBW_.js";
4
4
  import "../../../Accordion/Accordion.js";
5
5
  import "../../../Buttons/Button.js";
6
6
  import "../../../Buttons/LinkButton.js";
@@ -1,11 +1,11 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
3
3
  import "../../../../clsx-OuTLNxxd.js";
4
- import "../../../../LexicalTable.prod-BBI7yaOy.js";
5
- import "../../../../Lexical.prod-BAE-wnll.js";
6
- import "../../../../LexicalUtils.prod-D8DAKg7O.js";
4
+ import "../../../../LexicalTable.prod-Oa2YPHLl.js";
5
+ import "../../../../Lexical.prod-sd_e2sqT.js";
6
+ import "../../../../LexicalUtils.prod-CjKjgnmx.js";
7
7
  import "react";
8
- import { T as L } from "../../../../TablePlugin-BLbsvcuu.js";
8
+ import { T as L } from "../../../../TablePlugin-CqCjNBW_.js";
9
9
  import "./helpers.js";
10
10
  import "../../nodes/TableWrapperNode/TableWrapperNode.js";
11
11
  import "../../hooks/useFlyout.js";
@@ -1,37 +1,37 @@
1
- import { Z as T, A as i, I as w, s as p, J as u, U as b, e as E, D, $ as g, V as I, B as R, O as x } from "../../../../LexicalTable.prod-BBI7yaOy.js";
2
- import { A as S } from "../../../../Lexical.prod-BAE-wnll.js";
3
- import { TableWrapperNode as N } from "../../nodes/TableWrapperNode/TableWrapperNode.js";
4
- const v = 32, a = 48, W = 1, A = 200, F = 320, B = (t, e) => {
1
+ import { Q as T, O as i, D as w, l as p, U as u, I as b, Z as E, P as D, M as g, j as I, L as R, F as x } from "../../../../LexicalTable.prod-Oa2YPHLl.js";
2
+ import { L } from "../../../../Lexical.prod-sd_e2sqT.js";
3
+ import { TableWrapperNode as S } from "../../nodes/TableWrapperNode/TableWrapperNode.js";
4
+ const y = 32, a = 48, N = 1, P = 200, v = 320, M = (t, e) => {
5
5
  const n = R(0, 0, !1);
6
6
  for (let o = 0; o < t; o++) {
7
7
  const r = g();
8
8
  for (let s = 0; s < e; s++) {
9
9
  const l = x(0, void 0, void 0);
10
- l.append(S()), r.append(l);
10
+ l.append(L()), r.append(l);
11
11
  }
12
12
  n.append(r);
13
13
  }
14
14
  return n;
15
- }, P = (t) => {
15
+ }, H = (t) => {
16
16
  const e = D(t), n = e.getNextSibling() || e.getPreviousSibling(), o = e.getParentOrThrow();
17
17
  if (o.getChildrenSize() > 1 ? e.remove() : o.remove(), n !== null) {
18
18
  const r = n.getFirstDescendant();
19
19
  r && r.select();
20
20
  }
21
- }, O = (t) => {
21
+ }, W = (t) => {
22
22
  const e = T(t);
23
23
  if (!e)
24
24
  throw new Error("Selected node is not a TableCellNode");
25
25
  const n = e.getParent();
26
- n instanceof N ? n.remove() : e.remove();
27
- }, H = (t, e) => {
26
+ n instanceof S ? n.remove() : e.remove();
27
+ }, U = (t, e) => {
28
28
  if (!i(t))
29
29
  throw new Error("Selected node is not a TableCellNode");
30
30
  const n = g();
31
31
  I(e === "insertRowBelow");
32
32
  const o = n.getFirstDescendant();
33
33
  o && o.select();
34
- }, U = (t, e) => {
34
+ }, B = (t, e) => {
35
35
  if (!i(t))
36
36
  throw new Error("Selected node is not a TableCellNode");
37
37
  const n = w(t);
@@ -48,11 +48,11 @@ const v = 32, a = 48, W = 1, A = 200, F = 320, B = (t, e) => {
48
48
  n.setColWidths(C), o = e === "insertColumnLeft" ? o : o + 1;
49
49
  const f = r[s].getChildren()[o];
50
50
  f && f.select();
51
- }, M = (t) => {
51
+ }, A = (t) => {
52
52
  if (!i(t))
53
53
  throw new Error("Selected node is not a TableCellNode");
54
- (w(t).getFirstChild()?.getChildrenSize() || 0) === 1 ? O(t) : p();
55
- }, V = (t) => {
54
+ (w(t).getFirstChild()?.getChildrenSize() || 0) === 1 ? W(t) : p();
55
+ }, j = (t) => {
56
56
  const e = t.getRootElement();
57
57
  if (!e || typeof window > "u") return 0;
58
58
  const n = e.getBoundingClientRect(), o = window.getComputedStyle(e), r = parseFloat(o.paddingLeft || "0") + parseFloat(o.paddingRight || "0") + a;
@@ -62,8 +62,8 @@ const v = 32, a = 48, W = 1, A = 200, F = 320, B = (t, e) => {
62
62
  const o = n.getElementByKey(t.getKey());
63
63
  if (!o) return 0;
64
64
  const r = window.getComputedStyle(o);
65
- return parseInt(r.width) - e * W - 1;
66
- }, J = (t) => {
65
+ return parseInt(r.width) - e * N - 1;
66
+ }, K = (t) => {
67
67
  const e = t.getChildren();
68
68
  for (const n of e) {
69
69
  const o = n.getChildren();
@@ -74,19 +74,19 @@ const v = 32, a = 48, W = 1, A = 200, F = 320, B = (t, e) => {
74
74
  return !1;
75
75
  };
76
76
  export {
77
- W as BORDER_WIDTHS,
77
+ N as BORDER_WIDTHS,
78
78
  a as DEFAULT_COL_WIDTH,
79
- F as DEFAULT_EDITOR_WIDTH,
80
- v as MIN_COLUMN_WIDTH,
81
- A as PREVENT_OPEN_DELAY,
82
- B as createTable,
83
- M as deleteColumn,
84
- P as deleteRow,
85
- O as deleteTable,
86
- V as getEditorContentWidth,
79
+ v as DEFAULT_EDITOR_WIDTH,
80
+ y as MIN_COLUMN_WIDTH,
81
+ P as PREVENT_OPEN_DELAY,
82
+ M as createTable,
83
+ A as deleteColumn,
84
+ H as deleteRow,
85
+ W as deleteTable,
86
+ j as getEditorContentWidth,
87
87
  z as getEditorParrentCellWidth,
88
- U as insertColumn,
89
- H as insertRow,
90
- J as tableHasContent
88
+ B as insertColumn,
89
+ U as insertRow,
90
+ K as tableHasContent
91
91
  };
92
92
  //# sourceMappingURL=helpers.js.map
@@ -1,4 +1,4 @@
1
- import { T as o } from "../../../../TablePlugin-BLbsvcuu.js";
1
+ import { T as o } from "../../../../TablePlugin-CqCjNBW_.js";
2
2
  import { TableCellContextMenu as t } from "./TableCellContextMenu/TableCellContextMenu.js";
3
3
  export {
4
4
  t as TableCellContextMenu,
@@ -1,20 +1,20 @@
1
- import { jsxs as P, jsx as n } from "react/jsx-runtime";
2
- import { o as y } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
3
- import { a as f, h, a1 as C } from "../../../../Lexical.prod-BAE-wnll.js";
4
- import { useState as L, useRef as E, useCallback as T, useEffect as c } from "react";
5
- import { P as g } from "../../../../LexicalTable.prod-BBI7yaOy.js";
6
- import { BlockFormatPlugin as N } from "../BlockFormatPlugin/BlockFormatPlugin.js";
7
- import { ListPlugin as S } from "../ListPlugin/ListPlugin.js";
1
+ import { jsxs as y, jsx as n } from "react/jsx-runtime";
2
+ import { o as L } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
3
+ import { b as f, y as h, a0 as P } from "../../../../Lexical.prod-sd_e2sqT.js";
4
+ import { useState as C, useRef as E, useCallback as B, useEffect as c } from "react";
5
+ import { B as g } from "../../../../LexicalTable.prod-Oa2YPHLl.js";
6
+ import { BlockFormatPlugin as T } from "../BlockFormatPlugin/BlockFormatPlugin.js";
7
+ import { ListPlugin as N } from "../ListPlugin/ListPlugin.js";
8
8
  import { LinkPlugin as k } from "../LinkPlugin/LinkPlugin.js";
9
9
  import { HistoryPlugin as x } from "../HistoryPlugin/HistoryPlugin.js";
10
- import { T as B } from "../../../../TablePlugin-BLbsvcuu.js";
11
- import { TableCellContextMenu as A } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
10
+ import { T as S } from "../../../../TablePlugin-CqCjNBW_.js";
11
+ import { TableCellContextMenu as z } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
12
12
  import "react-dom";
13
13
  import "../../../../index-yEhaxKq-.js";
14
- import { s as z } from "../../../../RteEditor.module-CUi7Vqe8.js";
14
+ import { s as A } from "../../../../RteEditor.module-CUi7Vqe8.js";
15
15
  import { setScrollableContainers as b, removeScrollableContainers as K } from "../../helpers.js";
16
16
  const W = ({ editorScrollPosition: m }) => {
17
- const [t] = y(), [r, i] = L(null), d = E(null), u = T(() => {
17
+ const [t] = L(), [r, i] = C(null), d = E(null), u = B(() => {
18
18
  const e = f();
19
19
  if (h(e)) {
20
20
  const s = e.anchor.getNode(), l = g(s);
@@ -31,7 +31,7 @@ const W = ({ editorScrollPosition: m }) => {
31
31
  const e = f();
32
32
  if (h(e)) {
33
33
  const s = e.anchor.getNode();
34
- g(s) && (C(null), i(null));
34
+ g(s) && (P(null), i(null));
35
35
  }
36
36
  });
37
37
  };
@@ -50,12 +50,12 @@ const W = ({ editorScrollPosition: m }) => {
50
50
  return window.addEventListener("keydown", e, { capture: !0 }), () => {
51
51
  window.removeEventListener("keydown", e);
52
52
  };
53
- }, []), /* @__PURE__ */ P("div", { className: z.editor__toolbar, children: [
53
+ }, []), /* @__PURE__ */ y("div", { className: A.editor__toolbar, children: [
54
+ /* @__PURE__ */ n(T, {}),
54
55
  /* @__PURE__ */ n(N, {}),
55
- /* @__PURE__ */ n(S, {}),
56
- /* @__PURE__ */ n(B, { isActive: !!r, ref: d }),
56
+ /* @__PURE__ */ n(S, { isActive: !!r, ref: d }),
57
57
  r && /* @__PURE__ */ n(
58
- A,
58
+ z,
59
59
  {
60
60
  position: r,
61
61
  parentScrollPosition: m,
@@ -3,9 +3,9 @@ import { BlockFormatPlugin as t } from "./BlockFormatPlugin/BlockFormatPlugin.js
3
3
  import { ListPlugin as n } from "./ListPlugin/ListPlugin.js";
4
4
  import { LinkPlugin as g, getLinkNodeTag as m } from "./LinkPlugin/LinkPlugin.js";
5
5
  import { HistoryPlugin as f } from "./HistoryPlugin/HistoryPlugin.js";
6
- import { T as u } from "../../../TablePlugin-BLbsvcuu.js";
6
+ import { T as u } from "../../../TablePlugin-CqCjNBW_.js";
7
7
  import { TableCellContextMenu as T } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
8
- import { T as b } from "../../../TableCellResizerPlugin-HPo4ZkHo.js";
8
+ import { T as b } from "../../../TableCellResizerPlugin-DATbSzfg.js";
9
9
  import { PasteHandlerPlugin as C } from "./PasteHandlerPlugin/PasteHandlerPlugin.js";
10
10
  export {
11
11
  t as BlockFormatPlugin,