@alixpartners/ui-components 2.5.2 → 2.5.5

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 (61) hide show
  1. package/dist/CorusHeader.module-xOp6ZX_M.js +35 -0
  2. package/dist/RichTextEditor-cvtLFe4t.js +443 -0
  3. package/dist/ap-logos-2dYMA1l5.js +4 -0
  4. package/dist/assets/CorusHeader.css +1 -0
  5. package/dist/assets/Input.css +1 -1
  6. package/dist/assets/RichTextEditor.css +1 -1
  7. package/dist/assets/SplitButton.css +1 -1
  8. package/dist/assets/ap-icons-types.d.ts +1 -1
  9. package/dist/assets/ap-icons.d.ts +1 -1
  10. package/dist/assets/ap-logos-types.d.ts +1 -1
  11. package/dist/assets/ap-logos.d.ts +1 -1
  12. package/dist/assets/main.css +1 -1
  13. package/dist/components/Checkbox/Checkbox.js +3 -3
  14. package/dist/components/CorusHeader/CorusHeader.d.ts +3 -0
  15. package/dist/components/CorusHeader/CorusHeader.js +65 -0
  16. package/dist/components/CorusHeader/CorusHeader.types.d.ts +47 -0
  17. package/dist/components/CorusHeader/DropdownItemContent.d.ts +6 -0
  18. package/dist/components/CorusHeader/DropdownItemContent.js +17 -0
  19. package/dist/components/CorusHeader/DropdownMenu.d.ts +6 -0
  20. package/dist/components/CorusHeader/DropdownMenu.js +26 -0
  21. package/dist/components/CorusHeader/MegaMenuContent.d.ts +6 -0
  22. package/dist/components/CorusHeader/MegaMenuContent.js +24 -0
  23. package/dist/components/CorusHeader/UserProfileIcon.d.ts +3 -0
  24. package/dist/components/CorusHeader/UserProfileIcon.js +9 -0
  25. package/dist/components/Creatable/Creatable.js +1 -1
  26. package/dist/components/Datepicker/Datepicker.js +1 -1
  27. package/dist/components/Dialog/Dialog.js +5 -5
  28. package/dist/components/Dropdown/Dropdown.js +1 -1
  29. package/dist/components/Icons/IconsGallery.js +1 -1
  30. package/dist/components/Logo/Logo.d.ts +1 -1
  31. package/dist/components/Logo/Logo.js +12 -6
  32. package/dist/components/Logos/LogosGallery.js +1 -1
  33. package/dist/components/NavBar/NavBar.js +50 -352
  34. package/dist/components/Radio/Radio.js +1 -1
  35. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  36. package/dist/components/RichTextEditor/RichTextEditor.d.ts +10 -3
  37. package/dist/components/RichTextEditor/RichTextEditor.js +5 -3
  38. package/dist/components/RichTextEditor/RichTextEditor.model.d.ts +1 -1
  39. package/dist/components/RichTextEditor/RichTextEditor.test.js +76 -59
  40. package/dist/components/SplitButton/SplitButton.js +3 -3
  41. package/dist/components/TagsFields/TagsFields.js +1 -1
  42. package/dist/components/Toggle/Toggle.js +2 -2
  43. package/dist/components/Tooltip/Tooltip.js +50 -50
  44. package/dist/{index-7CBv-Jx6.js → index-C2s_VtSb.js} +3 -3
  45. package/dist/{index-DEphED6n.js → index-C8H9A55g.js} +2 -2
  46. package/dist/{index-DZ4Gof57.js → index-CCFDXH-J.js} +6 -6
  47. package/dist/{index-CpsmI33B.js → index-CCnm5-ML.js} +4 -4
  48. package/dist/{index-Chv2KjIL.js → index-CFqDEbIR.js} +2 -2
  49. package/dist/{index-BymOxiM6.js → index-CfIcUHKK.js} +1 -1
  50. package/dist/{index-D34Qo5Qx.js → index-ChQc_Cm6.js} +3 -3
  51. package/dist/{index-DrR82jOT.js → index-CmGGeUr0.js} +2 -2
  52. package/dist/index-D_L0ncPJ.js +312 -0
  53. package/dist/{index-DgdVwltD.js → index-Ii4UOx3H.js} +7 -7
  54. package/dist/index-Nyh2Wa71.js +27 -0
  55. package/dist/{index-DM51yNMI.js → index-z_kiwVc3.js} +5 -5
  56. package/dist/main.d.ts +1 -0
  57. package/dist/main.js +24 -22
  58. package/package.json +16 -10
  59. package/dist/RichTextEditor-CHGQT1Qj.js +0 -363
  60. package/dist/ap-logos-CwA4O8B7.js +0 -4
  61. package/dist/index-CxAtPSMM.js +0 -27
@@ -1,363 +0,0 @@
1
- import { jsxs as c, jsx as n } from "react/jsx-runtime";
2
- import { c as _ } from "./clsx-OuTLNxxd.js";
3
- import { useId as se, useRef as w, useState as p, useMemo as ue, useEffect as E } from "react";
4
- import O from "./components/Icon/Icon.js";
5
- import S from "./components/Tooltip/Tooltip.js";
6
- import { R as me, T as fe, P as _e, C as pe } from "./index-DZ4Gof57.js";
7
- import './assets/RichTextEditor.css';const he = "RichTextEditor-module__container___AplP0", ge = "RichTextEditor-module__label___vjzs-", be = "RichTextEditor-module__required___7duke", Me = "RichTextEditor-module__frame___7OSyf", Te = "RichTextEditor-module__frameFocused___GtJ2x", xe = "RichTextEditor-module__frameDisabled___LubtU", ve = "RichTextEditor-module__toolbar___m9-M-", Re = "RichTextEditor-module__toolbarContent___YXKHD", Ee = "RichTextEditor-module__toolbarStacked___6rB10", Oe = "RichTextEditor-module__actions___ZAK9J", Ce = "RichTextEditor-module__toolbarPanel___OVGHO", ye = "RichTextEditor-module__toolbarRow___f0xJR", He = "RichTextEditor-module__toolButton___IT2Kg", Ne = "RichTextEditor-module__toolButtonActive___-HvZQ", ke = "RichTextEditor-module__toolIcon___Wndhd", Le = "RichTextEditor-module__formatControl___w4WcA", we = "RichTextEditor-module__toolbarLinkSlot___Gu-9l", Se = "RichTextEditor-module__selectTrigger___frv3x", Fe = "RichTextEditor-module__selectTriggerOpen___tk2Pb", Ie = "RichTextEditor-module__selectTriggerLabel___FkEv0", Pe = "RichTextEditor-module__selectIcon___aJWUk", Be = "RichTextEditor-module__formatMenu___y-uBL", Ae = "RichTextEditor-module__formatMenuOptions___zcdlo", je = "RichTextEditor-module__formatMenuOption___3ppTs", ze = "RichTextEditor-module__formatMenuOptionSelected___bq9J9", De = "RichTextEditor-module__formatMenuOptionParagraph___4BLds", qe = "RichTextEditor-module__formatMenuOptionHeading1___H1cKX", Ue = "RichTextEditor-module__formatMenuOptionHeading2___JdixR", $e = "RichTextEditor-module__formatMenuOptionHeading3___NcwLr", We = "RichTextEditor-module__formatMenuOptionHeading4___4mLbG", Je = "RichTextEditor-module__formatMenuOptionPreformatted___cB0Ix", Ke = "RichTextEditor-module__editor___M32R7", Ve = "RichTextEditor-module__wordCount___5SSVY", Ge = "RichTextEditor-module__wordCountExceeded___NhqBc", e = {
8
- container: he,
9
- label: ge,
10
- required: be,
11
- frame: Me,
12
- frameFocused: Te,
13
- frameDisabled: xe,
14
- toolbar: ve,
15
- toolbarContent: Re,
16
- toolbarStacked: Ee,
17
- actions: Oe,
18
- toolbarPanel: Ce,
19
- toolbarRow: ye,
20
- toolButton: He,
21
- toolButtonActive: Ne,
22
- toolIcon: ke,
23
- formatControl: Le,
24
- toolbarLinkSlot: we,
25
- selectTrigger: Se,
26
- selectTriggerOpen: Fe,
27
- selectTriggerLabel: Ie,
28
- selectIcon: Pe,
29
- formatMenu: Be,
30
- formatMenuOptions: Ae,
31
- formatMenuOption: je,
32
- formatMenuOptionSelected: ze,
33
- formatMenuOptionParagraph: De,
34
- formatMenuOptionHeading1: qe,
35
- formatMenuOptionHeading2: Ue,
36
- formatMenuOptionHeading3: $e,
37
- formatMenuOptionHeading4: We,
38
- formatMenuOptionPreformatted: Je,
39
- editor: Ke,
40
- wordCount: Ve,
41
- wordCountExceeded: Ge
42
- }, Xe = {
43
- paragraph: "p",
44
- heading1: "h1",
45
- heading2: "h2",
46
- heading3: "h3",
47
- heading4: "h4",
48
- preformatted: "pre",
49
- "unordered-list": "ul",
50
- "ordered-list": "ol"
51
- };
52
- function te(o) {
53
- return o.trim().length > 0 ? o : "<br>";
54
- }
55
- function Ye(o) {
56
- switch (o.toLowerCase()) {
57
- case "h1":
58
- return "heading1";
59
- case "h2":
60
- return "heading2";
61
- case "h3":
62
- return "heading3";
63
- case "h4":
64
- return "heading4";
65
- case "pre":
66
- return "preformatted";
67
- case "ul":
68
- return "unordered-list";
69
- case "ol":
70
- return "ordered-list";
71
- case "p":
72
- default:
73
- return "paragraph";
74
- }
75
- }
76
- function F(o) {
77
- if (!o.trim())
78
- return {
79
- blocks: [{
80
- type: "paragraph",
81
- html: "<br>"
82
- }]
83
- };
84
- const d = new DOMParser().parseFromString(o, "text/html"), s = Array.from(d.body.childNodes), h = [];
85
- return s.forEach((i) => {
86
- var T;
87
- if (i.nodeType === Node.TEXT_NODE) {
88
- const m = (T = i.textContent) == null ? void 0 : T.trim();
89
- m && h.push({
90
- type: "paragraph",
91
- html: m
92
- });
93
- return;
94
- }
95
- if (i.nodeType !== Node.ELEMENT_NODE)
96
- return;
97
- const u = i, b = u.style.textAlign;
98
- h.push({
99
- type: Ye(u.tagName),
100
- html: te(u.innerHTML),
101
- align: b || void 0
102
- });
103
- }), {
104
- blocks: h.length > 0 ? h : [{
105
- type: "paragraph",
106
- html: "<br>"
107
- }]
108
- };
109
- }
110
- function ee(o) {
111
- return o.blocks.length ? o.blocks.map((a) => {
112
- const d = Xe[a.type], s = a.align ? ` style="text-align:${a.align}"` : "";
113
- return `<${d}${s}>${te(a.html)}</${d}>`;
114
- }).join("") : "<p><br></p>";
115
- }
116
- function Ze(o) {
117
- const a = o.blocks.map((d) => d.html.replace(/<[^>]+>/g, " ")).join(" ").replace(/\s+/g, " ").trim();
118
- return a ? a.split(" ").length : 0;
119
- }
120
- const Qe = [{
121
- label: "Paragraph",
122
- value: "paragraph"
123
- }, {
124
- label: "Heading 1",
125
- value: "heading1"
126
- }, {
127
- label: "Heading 2",
128
- value: "heading2"
129
- }, {
130
- label: "Heading 3",
131
- value: "heading3"
132
- }, {
133
- label: "Heading 4",
134
- value: "heading4"
135
- }, {
136
- label: "Preformatted",
137
- value: "preformatted"
138
- }], et = {
139
- paragraph: "P",
140
- heading1: "H1",
141
- heading2: "H2",
142
- heading3: "H3",
143
- heading4: "H4",
144
- preformatted: "PRE",
145
- "unordered-list": "UL",
146
- "ordered-list": "OL"
147
- };
148
- function I() {
149
- return "<p><br></p>";
150
- }
151
- function tt(o) {
152
- return o.trim().length > 0 ? o : I();
153
- }
154
- function nt() {
155
- const o = document.queryCommandValue("formatBlock");
156
- switch (String(o || "").replace(/[<>]/g, "").toUpperCase()) {
157
- case "H1":
158
- return "heading1";
159
- case "H2":
160
- return "heading2";
161
- case "H3":
162
- return "heading3";
163
- case "H4":
164
- return "heading4";
165
- case "PRE":
166
- return "preformatted";
167
- default:
168
- return "paragraph";
169
- }
170
- }
171
- function ot(o) {
172
- switch (o) {
173
- case "heading1":
174
- return e.formatMenuOptionHeading1;
175
- case "heading2":
176
- return e.formatMenuOptionHeading2;
177
- case "heading3":
178
- return e.formatMenuOptionHeading3;
179
- case "heading4":
180
- return e.formatMenuOptionHeading4;
181
- case "preformatted":
182
- return e.formatMenuOptionPreformatted;
183
- default:
184
- return e.formatMenuOptionParagraph;
185
- }
186
- }
187
- function st({
188
- className: o,
189
- label: a,
190
- required: d = !1,
191
- value: s,
192
- placeholder: h = "Content",
193
- disabled: i = !1,
194
- toolbarLayout: u = "inline",
195
- showToolbar: b = !0,
196
- showWordCount: T = !0,
197
- maxWords: m,
198
- resizable: ne = !0,
199
- rows: oe = 8,
200
- tooltipEnabled: x = !0,
201
- formatOptions: P = Qe,
202
- onChange: C,
203
- onModelChange: y
204
- }) {
205
- const B = se(), l = w(null), A = w(null), j = w(null), [re, z] = p(!1), [H, D] = p(!1), [ie, ae] = p(0), [q, U] = p(null), [v, $] = p(() => F(s || I())), [W, le] = p("paragraph"), [f, ce] = p({
206
- bold: !1,
207
- italic: !1,
208
- underline: !1,
209
- justifyLeft: !1,
210
- justifyCenter: !1,
211
- justifyRight: !1,
212
- insertUnorderedList: !1
213
- }), N = ue(() => Ze(v), [v]), k = () => {
214
- if (!l.current) return;
215
- const t = F(l.current.innerHTML);
216
- $(t), y == null || y(t), C == null || C(ee(t));
217
- }, M = () => {
218
- le(nt()), ce({
219
- bold: document.queryCommandState("bold"),
220
- italic: document.queryCommandState("italic"),
221
- underline: document.queryCommandState("underline"),
222
- justifyLeft: document.queryCommandState("justifyLeft"),
223
- justifyCenter: document.queryCommandState("justifyCenter"),
224
- justifyRight: document.queryCommandState("justifyRight"),
225
- insertUnorderedList: document.queryCommandState("insertUnorderedList")
226
- });
227
- }, J = () => {
228
- var t;
229
- i || (t = l.current) == null || t.focus();
230
- }, K = (t, r) => {
231
- i || (J(), document.execCommand(t, !1, r), k(), M());
232
- }, de = (t) => {
233
- K("formatBlock", et[t]);
234
- }, V = () => {
235
- if (i) return;
236
- J();
237
- const t = window.prompt("Enter URL");
238
- t && (document.execCommand("createLink", !1, t), k(), M());
239
- };
240
- E(() => {
241
- const t = tt(s || I()), r = F(t);
242
- $(r), l.current && l.current.innerHTML !== t && (l.current.innerHTML = t);
243
- }, [s]), E(() => {
244
- l.current && (l.current.innerHTML.trim() || (l.current.innerHTML = ee(v)));
245
- }, [v]), E(() => {
246
- var r;
247
- const t = (r = A.current) == null ? void 0 : r.getBoundingClientRect().width;
248
- t && ae(t);
249
- }, [H]), E(() => {
250
- if (!b) {
251
- U(null);
252
- return;
253
- }
254
- const t = j.current;
255
- if (!t) return;
256
- const r = () => {
257
- const Q = t.getBoundingClientRect().width;
258
- Q > 0 && U(Q);
259
- };
260
- r();
261
- const R = new ResizeObserver(() => {
262
- r();
263
- });
264
- return R.observe(t), window.addEventListener("resize", r), () => {
265
- R.disconnect(), window.removeEventListener("resize", r);
266
- };
267
- }, [b, u, i, x]);
268
- const g = (t) => /* @__PURE__ */ n(S, { content: t.tooltip, size: "sm", theme: "dark", tipSide: "top", tipAlignment: "center", disabled: !x, children: /* @__PURE__ */ n("button", { type: "button", className: _(e.toolButton, t.active && e.toolButtonActive), onMouseDown: (r) => r.preventDefault(), onClick: () => K(t.command, t.value), "aria-label": t.tooltip, disabled: i, children: /* @__PURE__ */ n(O, { icon: t.icon, className: e.toolIcon }) }) }, t.id), L = [{
269
- id: "bold",
270
- icon: "ap-icon-bold",
271
- command: "bold",
272
- tooltip: "Bold",
273
- active: f.bold
274
- }, {
275
- id: "italic",
276
- icon: "ap-icon-italic",
277
- command: "italic",
278
- tooltip: "Italic",
279
- active: f.italic
280
- }, {
281
- id: "underline",
282
- icon: "ap-icon-underline",
283
- command: "underline",
284
- tooltip: "Underline",
285
- active: f.underline
286
- }, {
287
- id: "align-left",
288
- icon: "ap-icon-left",
289
- command: "justifyLeft",
290
- tooltip: "Align left",
291
- active: f.justifyLeft
292
- }, {
293
- id: "align-center",
294
- icon: "ap-icon-bar",
295
- command: "justifyCenter",
296
- tooltip: "Align center",
297
- active: f.justifyCenter
298
- }, {
299
- id: "align-right",
300
- icon: "ap-icon-right",
301
- command: "justifyRight",
302
- tooltip: "Align right",
303
- active: f.justifyRight
304
- }, {
305
- id: "bulleted",
306
- icon: "ap-icon-list",
307
- command: "insertUnorderedList",
308
- tooltip: "Bulleted list",
309
- active: f.insertUnorderedList
310
- }], G = L.filter((t) => ["bold", "italic", "underline"].includes(t.id)), X = L.filter((t) => ["align-left", "align-center", "align-right"].includes(t.id)), Y = L.filter((t) => ["bulleted"].includes(t.id)), Z = () => {
311
- var t;
312
- return /* @__PURE__ */ n("div", { className: e.formatControl, children: /* @__PURE__ */ c(me, { open: H, onOpenChange: D, children: [
313
- /* @__PURE__ */ c(fe, { ref: A, disabled: i, className: _(e.selectTrigger, H && e.selectTriggerOpen), children: [
314
- /* @__PURE__ */ n("span", { className: e.selectTriggerLabel, children: ((t = P.find((r) => r.value === W)) == null ? void 0 : t.label) || "Paragraph" }),
315
- /* @__PURE__ */ n(O, { icon: "ap-icon-expand-more", className: e.selectIcon })
316
- ] }),
317
- /* @__PURE__ */ n(_e, { children: /* @__PURE__ */ n(pe, { align: "end", side: "bottom", sideOffset: 6, collisionPadding: 8, className: e.formatMenu, style: {
318
- minWidth: ie || 180,
319
- zIndex: 9999
320
- }, children: /* @__PURE__ */ n("div", { className: e.formatMenuOptions, children: P.map((r) => /* @__PURE__ */ n("button", { type: "button", className: _(e.formatMenuOption, ot(r.value), r.value === W && e.formatMenuOptionSelected), onMouseDown: (R) => R.preventDefault(), onClick: () => {
321
- de(r.value), D(!1);
322
- }, children: r.label }, r.value)) }) }) })
323
- ] }) });
324
- };
325
- return /* @__PURE__ */ c("div", { className: _(e.container, o), children: [
326
- a && /* @__PURE__ */ c("label", { className: e.label, htmlFor: B, children: [
327
- a,
328
- d && /* @__PURE__ */ n("span", { className: e.required, children: "*" })
329
- ] }),
330
- /* @__PURE__ */ c("div", { className: _(e.frame, re && e.frameFocused, i && e.frameDisabled), style: {
331
- width: q ? `${q}px` : void 0
332
- }, children: [
333
- b && /* @__PURE__ */ n("div", { className: _(e.toolbar, u === "stacked" && e.toolbarStacked), children: /* @__PURE__ */ n("div", { ref: j, className: e.toolbarContent, children: u === "stacked" ? /* @__PURE__ */ c("div", { className: e.toolbarPanel, children: [
334
- /* @__PURE__ */ c("div", { className: e.toolbarRow, children: [
335
- /* @__PURE__ */ n("div", { className: e.actions, children: G.map(g) }),
336
- /* @__PURE__ */ n("div", { className: e.actions, children: X.map(g) })
337
- ] }),
338
- /* @__PURE__ */ c("div", { className: e.toolbarRow, children: [
339
- /* @__PURE__ */ n("div", { className: e.actions, children: Y.map(g) }),
340
- /* @__PURE__ */ n("div", { className: e.toolbarLinkSlot, children: /* @__PURE__ */ n(S, { content: "Insert link", size: "sm", theme: "dark", tipSide: "top", tipAlignment: "center", disabled: !x, children: /* @__PURE__ */ n("button", { type: "button", className: e.toolButton, onMouseDown: (t) => t.preventDefault(), onClick: V, "aria-label": "Insert link", disabled: i, children: /* @__PURE__ */ n(O, { icon: "ap-icon-link", className: e.toolIcon }) }) }) }),
341
- Z()
342
- ] })
343
- ] }) : /* @__PURE__ */ n("div", { className: e.toolbarPanel, children: /* @__PURE__ */ c("div", { className: e.toolbarRow, children: [
344
- /* @__PURE__ */ n("div", { className: e.actions, children: G.map(g) }),
345
- /* @__PURE__ */ n("div", { className: e.actions, children: X.map(g) }),
346
- /* @__PURE__ */ n("div", { className: e.actions, children: Y.map(g) }),
347
- /* @__PURE__ */ n("div", { className: e.toolbarLinkSlot, children: /* @__PURE__ */ n(S, { content: "Insert link", size: "sm", theme: "dark", tipSide: "top", tipAlignment: "center", disabled: !x, children: /* @__PURE__ */ n("button", { type: "button", className: e.toolButton, onMouseDown: (t) => t.preventDefault(), onClick: V, "aria-label": "Insert link", disabled: i, children: /* @__PURE__ */ n(O, { icon: "ap-icon-link", className: e.toolIcon }) }) }) }),
348
- Z()
349
- ] }) }) }) }),
350
- /* @__PURE__ */ n("div", { id: B, ref: l, className: e.editor, contentEditable: !i, suppressContentEditableWarning: !0, role: "textbox", "aria-multiline": "true", "aria-label": a || "Rich text editor", "data-placeholder": h, onInput: k, onFocus: () => {
351
- z(!0), M();
352
- }, onBlur: () => z(!1), onKeyUp: M, onMouseUp: M, style: {
353
- minHeight: `${oe * 20}px`,
354
- resize: ne ? "vertical" : "none"
355
- } }),
356
- T && /* @__PURE__ */ n("div", { className: _(e.wordCount, m && N > m && e.wordCountExceeded), children: m ? `${N}/${m}` : N })
357
- ] })
358
- ] });
359
- }
360
- export {
361
- st as R,
362
- e as s
363
- };
@@ -1,4 +0,0 @@
1
- const o = ["ap-icon-logo-alixpartners", "ap-icon-logo-chapter11", "ap-icon-logo-deedi", "ap-icon-logo-elevation", "ap-icon-logo-gto", "ap-icon-logo-radial", "ap-icon-logo-rpms", "ap-icon-logo-smart-factory", "ap-icon-logo-sxr", "ap-icon-logo-working-capital", "ap-icon-logo-vault", "ap-icon-logo-codex"];
2
- export {
3
- o as a
4
- };
@@ -1,27 +0,0 @@
1
- import * as u from "react";
2
- import { i as z } from "./index-DM51yNMI.js";
3
- function n(r) {
4
- const [h, i] = u.useState(void 0);
5
- return z(() => {
6
- if (r) {
7
- i({ width: r.offsetWidth, height: r.offsetHeight });
8
- const f = new ResizeObserver((e) => {
9
- if (!Array.isArray(e) || !e.length)
10
- return;
11
- const b = e[0];
12
- let o, t;
13
- if ("borderBoxSize" in b) {
14
- const s = b.borderBoxSize, d = Array.isArray(s) ? s[0] : s;
15
- o = d.inlineSize, t = d.blockSize;
16
- } else
17
- o = r.offsetWidth, t = r.offsetHeight;
18
- i({ width: o, height: t });
19
- });
20
- return f.observe(r, { box: "border-box" }), () => f.unobserve(r);
21
- } else
22
- i(void 0);
23
- }, [r]), h;
24
- }
25
- export {
26
- n as u
27
- };