laif-ds 1.1.4 → 1.2.0

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 (40) hide show
  1. package/dist/CHANGELOG.md +13 -0
  2. package/dist/_virtual/prism-cpp.js +3 -0
  3. package/dist/_virtual/prism-cpp2.js +5 -0
  4. package/dist/_virtual/prism-java.js +3 -0
  5. package/dist/_virtual/prism-java2.js +5 -0
  6. package/dist/_virtual/prism-python.js +3 -0
  7. package/dist/_virtual/prism-python2.js +5 -0
  8. package/dist/_virtual/prism-rust.js +3 -0
  9. package/dist/_virtual/prism-rust2.js +5 -0
  10. package/dist/_virtual/prism-typescript.js +3 -0
  11. package/dist/_virtual/prism-typescript2.js +5 -0
  12. package/dist/_virtual/prism.js +3 -0
  13. package/dist/_virtual/prism2.js +5 -0
  14. package/dist/agent-docs/adoption-report.json +26 -24
  15. package/dist/agent-docs/components/AppEditor.md +4 -0
  16. package/dist/agent-docs/components/FilePreview.md +24 -0
  17. package/dist/agent-docs/manifest.json +12 -8
  18. package/dist/components/editor/plugins/paste-markdown-plugin.js +75 -0
  19. package/dist/components/ui/app-editor.js +128 -116
  20. package/dist/components/ui/file-preview/index.js +262 -218
  21. package/dist/index.d.ts +12 -0
  22. package/dist/node_modules/@lexical/code-prism/dist/LexicalCodePrism.prod.js +27 -0
  23. package/dist/node_modules/@lexical/markdown/dist/LexicalMarkdown.prod.js +114 -109
  24. package/dist/node_modules/prismjs/components/prism-c.js +77 -0
  25. package/dist/node_modules/prismjs/components/prism-clike.js +32 -0
  26. package/dist/node_modules/prismjs/components/prism-cpp.js +93 -0
  27. package/dist/node_modules/prismjs/components/prism-css.js +56 -0
  28. package/dist/node_modules/prismjs/components/prism-java.js +122 -0
  29. package/dist/node_modules/prismjs/components/prism-javascript.js +138 -0
  30. package/dist/node_modules/prismjs/components/prism-markdown.js +301 -0
  31. package/dist/node_modules/prismjs/components/prism-markup.js +174 -0
  32. package/dist/node_modules/prismjs/components/prism-objectivec.js +11 -0
  33. package/dist/node_modules/prismjs/components/prism-powershell.js +56 -0
  34. package/dist/node_modules/prismjs/components/prism-python.js +69 -0
  35. package/dist/node_modules/prismjs/components/prism-rust.js +124 -0
  36. package/dist/node_modules/prismjs/components/prism-sql.js +34 -0
  37. package/dist/node_modules/prismjs/components/prism-swift.js +114 -0
  38. package/dist/node_modules/prismjs/components/prism-typescript.js +53 -0
  39. package/dist/node_modules/prismjs/prism.js +1165 -0
  40. package/package.json +1 -1
@@ -1,231 +1,243 @@
1
1
  "use client";
2
- import { jsx as r, jsxs as n, Fragment as u } from "react/jsx-runtime";
3
- import { LinkNode as U } from "../../node_modules/@lexical/link/dist/LexicalLink.prod.js";
4
- import { ListNode as _, ListItemNode as Q } from "../../node_modules/@lexical/list/dist/LexicalList.prod.js";
5
- import { TRANSFORMERS as K, $convertToMarkdownString as W, $convertFromMarkdownString as Z } from "../../node_modules/@lexical/markdown/dist/LexicalMarkdown.prod.js";
6
- import { CheckListPlugin as q } from "../../node_modules/@lexical/react/dist/LexicalCheckListPlugin.prod.js";
7
- import { ClearEditorPlugin as G } from "../../node_modules/@lexical/react/dist/LexicalClearEditorPlugin.prod.js";
8
- import { LexicalComposer as J } from "../../node_modules/@lexical/react/dist/LexicalComposer.prod.js";
2
+ import { jsx as r, jsxs as n, Fragment as h } from "react/jsx-runtime";
3
+ import "../../node_modules/@lexical/code-prism/dist/LexicalCodePrism.prod.js";
4
+ import { CodeNode as _ } from "../../node_modules/@lexical/code-core/dist/LexicalCodeCore.prod.js";
5
+ import { LinkNode as Q } from "../../node_modules/@lexical/link/dist/LexicalLink.prod.js";
6
+ import { ListNode as K, ListItemNode as W } from "../../node_modules/@lexical/list/dist/LexicalList.prod.js";
7
+ import { TRANSFORMERS as Z, $convertToMarkdownString as q, $convertFromMarkdownString as G } from "../../node_modules/@lexical/markdown/dist/LexicalMarkdown.prod.js";
8
+ import { CheckListPlugin as J } from "../../node_modules/@lexical/react/dist/LexicalCheckListPlugin.prod.js";
9
+ import { ClearEditorPlugin as X } from "../../node_modules/@lexical/react/dist/LexicalClearEditorPlugin.prod.js";
10
+ import { LexicalComposer as Y } from "../../node_modules/@lexical/react/dist/LexicalComposer.prod.js";
9
11
  import { useLexicalComposerContext as L } from "../../node_modules/@lexical/react/dist/LexicalComposerContext.prod.js";
10
- import { LexicalErrorBoundary as X } from "../../node_modules/@lexical/react/dist/LexicalErrorBoundary.prod.js";
11
- import { HistoryPlugin as Y } from "../../node_modules/@lexical/react/dist/LexicalHistoryPlugin.prod.js";
12
- import { ListPlugin as V } from "../../node_modules/@lexical/react/dist/LexicalListPlugin.prod.js";
13
- import { OnChangePlugin as rr } from "../../node_modules/@lexical/react/dist/LexicalOnChangePlugin.prod.js";
14
- import { RichTextPlugin as or } from "../../node_modules/@lexical/react/dist/LexicalRichTextPlugin.prod.js";
15
- import { HeadingNode as er, QuoteNode as tr } from "../../node_modules/@lexical/rich-text/dist/LexicalRichText.prod.js";
16
- import { ParagraphNode as g, TextNode as h, $nodesOfType as ir, $getRoot as N } from "../../node_modules/lexical/dist/Lexical.prod.js";
17
- import { forwardRef as nr, useState as lr, useMemo as ar, useImperativeHandle as sr, useEffect as mr } from "react";
18
- import { ContentEditable as cr } from "../editor/editor-ui/content-editable.js";
12
+ import { LexicalErrorBoundary as V } from "../../node_modules/@lexical/react/dist/LexicalErrorBoundary.prod.js";
13
+ import { HistoryPlugin as rr } from "../../node_modules/@lexical/react/dist/LexicalHistoryPlugin.prod.js";
14
+ import { ListPlugin as or } from "../../node_modules/@lexical/react/dist/LexicalListPlugin.prod.js";
15
+ import { OnChangePlugin as er } from "../../node_modules/@lexical/react/dist/LexicalOnChangePlugin.prod.js";
16
+ import { RichTextPlugin as tr } from "../../node_modules/@lexical/react/dist/LexicalRichTextPlugin.prod.js";
17
+ import { HeadingNode as ir, QuoteNode as nr } from "../../node_modules/@lexical/rich-text/dist/LexicalRichText.prod.js";
18
+ import { ParagraphNode as N, TextNode as v, $nodesOfType as lr, $getRoot as b } from "../../node_modules/lexical/dist/Lexical.prod.js";
19
+ import { forwardRef as ar, useState as sr, useMemo as mr, useImperativeHandle as cr, useEffect as dr } from "react";
20
+ import { ContentEditable as pr } from "../editor/editor-ui/content-editable.js";
19
21
  import { MentionNode as k } from "../editor/nodes/mention-node.js";
20
- import { ActionsPlugin as dr } from "../editor/plugins/actions/actions-plugin.js";
21
- import { ClearEditorActionPlugin as pr } from "../editor/plugins/actions/clear-editor-plugin.js";
22
- import { CounterCharacterPlugin as fr } from "../editor/plugins/actions/counter-character-plugin.js";
23
- import { MENTION_TRANSFORMER as ur, MentionPlugin as gr, collectMentions as hr } from "../editor/plugins/mention-plugin.js";
24
- import { FormatBulletedList as Nr } from "../editor/plugins/toolbar/block-format/format-bulleted-list.js";
25
- import { FormatCheckList as br } from "../editor/plugins/toolbar/block-format/format-check-list.js";
26
- import { FormatHeading as vr } from "../editor/plugins/toolbar/block-format/format-heading.js";
27
- import { FormatNumberedList as xr } from "../editor/plugins/toolbar/block-format/format-numbered-list.js";
28
- import { FormatParagraph as Er } from "../editor/plugins/toolbar/block-format/format-paragraph.js";
29
- import { FormatQuote as Fr } from "../editor/plugins/toolbar/block-format/format-quote.js";
30
- import { BlockFormatDropDown as Pr } from "../editor/plugins/toolbar/block-format-toolbar-plugin.js";
22
+ import { ActionsPlugin as fr } from "../editor/plugins/actions/actions-plugin.js";
23
+ import { ClearEditorActionPlugin as ur } from "../editor/plugins/actions/clear-editor-plugin.js";
24
+ import { CounterCharacterPlugin as gr } from "../editor/plugins/actions/counter-character-plugin.js";
25
+ import { MENTION_TRANSFORMER as hr, MentionPlugin as Nr, collectMentions as vr } from "../editor/plugins/mention-plugin.js";
26
+ import { PasteMarkdownPlugin as br } from "../editor/plugins/paste-markdown-plugin.js";
27
+ import { FormatBulletedList as xr } from "../editor/plugins/toolbar/block-format/format-bulleted-list.js";
28
+ import { FormatCheckList as Er } from "../editor/plugins/toolbar/block-format/format-check-list.js";
29
+ import { FormatHeading as Fr } from "../editor/plugins/toolbar/block-format/format-heading.js";
30
+ import { FormatNumberedList as Pr } from "../editor/plugins/toolbar/block-format/format-numbered-list.js";
31
+ import { FormatParagraph as Cr } from "../editor/plugins/toolbar/block-format/format-paragraph.js";
32
+ import { FormatQuote as Rr } from "../editor/plugins/toolbar/block-format/format-quote.js";
33
+ import { BlockFormatDropDown as yr } from "../editor/plugins/toolbar/block-format-toolbar-plugin.js";
31
34
  import { FontFormatToolbarPlugin as m } from "../editor/plugins/toolbar/font-format-toolbar-plugin.js";
32
- import { LinkToolbarPlugin as yr, $insertLink as Rr } from "../editor/plugins/toolbar/link-toolbar-plugin.js";
33
- import { MentionInsertToolbarPlugin as Cr } from "../editor/plugins/toolbar/mention-insert-toolbar-plugin.js";
35
+ import { LinkToolbarPlugin as Tr, $insertLink as kr } from "../editor/plugins/toolbar/link-toolbar-plugin.js";
36
+ import { MentionInsertToolbarPlugin as wr } from "../editor/plugins/toolbar/mention-insert-toolbar-plugin.js";
34
37
  import { ToolbarPlugin as f } from "../editor/plugins/toolbar/toolbar-plugin.js";
35
- import { editorTheme as Tr } from "../editor/themes/editor-theme.js";
36
- import { TooltipProvider as kr } from "./tooltip.js";
37
- import { HistoryToolbarPlugin as wr } from "../editor/plugins/toolbar/history-toolbar-plugin.js";
38
- import { cn as Lr } from "../../lib/utils.js";
39
- const Sr = "Start typing...", Ar = {
38
+ import { editorTheme as Lr } from "../editor/themes/editor-theme.js";
39
+ import { TooltipProvider as Sr } from "./tooltip.js";
40
+ import { HistoryToolbarPlugin as Ar } from "../editor/plugins/toolbar/history-toolbar-plugin.js";
41
+ import { cn as Mr } from "../../lib/utils.js";
42
+ const $r = "Start typing...", Ir = {
40
43
  format: ["underline"],
41
44
  tag: "++",
42
45
  type: "text-format"
43
46
  }, w = [
44
- ...K,
45
- Ar
46
- ], Mr = (o) => o.replace(/<u>(.*?)<\/u>/g, "++$1++"), $r = (o) => o.replace(/\+\+(.+?)\+\+/g, "<u>$1</u>");
47
- function Ir({
47
+ ...Z,
48
+ Ir
49
+ ], S = (o) => o.replace(/<u>(.*?)<\/u>/g, "++$1++"), Or = (o) => o.replace(/\+\+(.+?)\+\+/g, "<u>$1</u>");
50
+ function Hr({
48
51
  handleRef: o
49
52
  }) {
50
53
  const [e] = L();
51
- return sr(
54
+ return cr(
52
55
  o,
53
56
  () => ({
54
57
  insertLink: (t, a) => {
55
- e.focus(), e.update(() => Rr(t, a));
58
+ e.focus(), e.update(() => kr(t, a));
56
59
  }
57
60
  }),
58
61
  [e]
59
62
  ), null;
60
63
  }
61
- function Or({
64
+ function jr({
62
65
  defaultValue: o,
63
66
  onlyMarkdown: e,
64
67
  transformers: t
65
68
  }) {
66
69
  const [a] = L();
67
- return mr(() => {
70
+ return dr(() => {
68
71
  o && a.update(() => {
69
- e ? Z(
70
- Mr(o),
72
+ e ? G(
73
+ S(o),
71
74
  t
72
- ) : N().append(
73
- new g().append(new h(o))
75
+ ) : b().append(
76
+ new N().append(new v(o))
74
77
  );
75
- const c = N();
78
+ const c = b();
76
79
  (c.getFirstChild() ?? c).selectStart();
77
80
  });
78
81
  }, [a, o, e, t]), null;
79
82
  }
80
- function Hr({
83
+ function Br({
81
84
  defaultValue: o,
82
85
  onMarkdownEdit: e,
83
86
  onValueChange: t,
84
87
  plugins: a = [],
85
88
  toolbars: c = [],
86
- placeholder: S = Sr,
87
- onlyMarkdown: b = !0,
88
- className: A = "rounded-lg border border-d-border",
89
- wrpClassName: M = "",
89
+ placeholder: A = $r,
90
+ onlyMarkdown: u = !0,
91
+ className: M = "rounded-lg border border-d-border",
92
+ wrpClassName: $ = "",
90
93
  mentions: d,
91
- mentionTrigger: v = "@"
92
- }, $) {
93
- const [, I] = lr(null), s = d !== void 0, x = ar(
94
- () => s ? [ur, ...w] : w,
94
+ mentionTrigger: x = "@"
95
+ }, I) {
96
+ const [, O] = sr(null), s = d !== void 0, g = mr(
97
+ () => s ? [hr, ...w] : w,
95
98
  [s]
96
- ), O = {
99
+ ), H = {
97
100
  namespace: "AppEditor",
98
- theme: Tr,
101
+ theme: Lr,
99
102
  nodes: [
100
- er,
101
- g,
102
- h,
103
- tr,
104
- _,
103
+ ir,
104
+ N,
105
+ v,
106
+ nr,
107
+ K,
108
+ W,
109
+ // Required by the Markdown LINK and CODE transformers: without them a
110
+ // link or a fenced block in `defaultValue` (or in a paste) throws and
111
+ // leaves the editor empty.
105
112
  Q,
106
- // TRANSFORMERS includes the Markdown LINK transformer, which needs this
107
- // node to import `[text](url)` from `defaultValue`.
108
- U,
113
+ _,
109
114
  ...s ? [k] : []
110
115
  ],
111
116
  onError: (i) => {
112
117
  console.error(i);
113
118
  },
114
- ...o && !b ? {
119
+ ...o && !u ? {
115
120
  editorState: () => {
116
- N().append(
117
- new g().append(new h(o))
121
+ b().append(
122
+ new N().append(new v(o))
118
123
  );
119
124
  }
120
125
  } : {}
121
- }, E = (i) => a.includes(i), p = (i) => c.includes(i), F = E("clear"), P = E("counter"), y = p("block-format"), H = p("font-format"), R = p("history"), j = p("link");
122
- return /* @__PURE__ */ r("div", { className: Lr("bg-d-background flex h-96 flex-col", M), children: /* @__PURE__ */ r(J, { initialConfig: O, children: /* @__PURE__ */ n(kr, { children: [
123
- /* @__PURE__ */ r(Ir, { handleRef: $ }),
126
+ }, E = (i) => a.includes(i), p = (i) => c.includes(i), F = E("clear"), P = E("counter"), C = p("block-format"), j = p("font-format"), R = p("history"), B = p("link");
127
+ return /* @__PURE__ */ r("div", { className: Mr("bg-d-background flex h-96 flex-col", $), children: /* @__PURE__ */ r(Y, { initialConfig: H, children: /* @__PURE__ */ n(Sr, { children: [
128
+ /* @__PURE__ */ r(Hr, { handleRef: I }),
124
129
  o && /* @__PURE__ */ r(
125
- Or,
130
+ jr,
126
131
  {
127
132
  defaultValue: o,
128
- onlyMarkdown: b,
129
- transformers: x
133
+ onlyMarkdown: u,
134
+ transformers: g
130
135
  }
131
136
  ),
132
- s && /* @__PURE__ */ r(gr, { source: d, trigger: v }),
137
+ u && /* @__PURE__ */ r(
138
+ br,
139
+ {
140
+ transformers: g,
141
+ preprocess: S
142
+ }
143
+ ),
144
+ s && /* @__PURE__ */ r(Nr, { source: d, trigger: x }),
133
145
  /* @__PURE__ */ n("div", { className: "border-d-border flex items-center border-b", children: [
134
- R && /* @__PURE__ */ r(f, { children: () => /* @__PURE__ */ r("div", { className: "vertical-align-middle sticky top-0 z-10 flex gap-2 overflow-auto p-1", children: /* @__PURE__ */ r(wr, {}) }) }),
135
- y && /* @__PURE__ */ r(f, { children: () => /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r("div", { className: "vertical-align-middle sticky top-0 z-10 flex gap-2 overflow-auto p-1", children: /* @__PURE__ */ n(Pr, { children: [
136
- /* @__PURE__ */ r(Er, {}),
137
- /* @__PURE__ */ r(vr, { levels: ["h1", "h2", "h3"] }),
146
+ R && /* @__PURE__ */ r(f, { children: () => /* @__PURE__ */ r("div", { className: "vertical-align-middle sticky top-0 z-10 flex gap-2 overflow-auto p-1", children: /* @__PURE__ */ r(Ar, {}) }) }),
147
+ C && /* @__PURE__ */ r(f, { children: () => /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r("div", { className: "vertical-align-middle sticky top-0 z-10 flex gap-2 overflow-auto p-1", children: /* @__PURE__ */ n(yr, { children: [
148
+ /* @__PURE__ */ r(Cr, {}),
149
+ /* @__PURE__ */ r(Fr, { levels: ["h1", "h2", "h3"] }),
150
+ /* @__PURE__ */ r(Pr, {}),
138
151
  /* @__PURE__ */ r(xr, {}),
139
- /* @__PURE__ */ r(Nr, {}),
140
- /* @__PURE__ */ r(br, {}),
141
- /* @__PURE__ */ r(Fr, {})
152
+ /* @__PURE__ */ r(Er, {}),
153
+ /* @__PURE__ */ r(Rr, {})
142
154
  ] }) }) }) }),
143
- H && /* @__PURE__ */ r(f, { children: () => /* @__PURE__ */ n("div", { className: "vertical-align-middle sticky top-0 z-10 flex gap-2 overflow-auto p-1", children: [
155
+ j && /* @__PURE__ */ r(f, { children: () => /* @__PURE__ */ n("div", { className: "vertical-align-middle sticky top-0 z-10 flex gap-2 overflow-auto p-1", children: [
144
156
  /* @__PURE__ */ r(m, { format: "bold" }),
145
157
  /* @__PURE__ */ r(m, { format: "italic" }),
146
158
  /* @__PURE__ */ r(m, { format: "underline" }),
147
159
  /* @__PURE__ */ r(m, { format: "strikethrough" }),
148
160
  /* @__PURE__ */ r(m, { format: "code" }),
149
161
  s && /* @__PURE__ */ r(
150
- Cr,
162
+ wr,
151
163
  {
152
- trigger: v ?? "@"
164
+ trigger: x ?? "@"
153
165
  }
154
166
  )
155
167
  ] }) }),
156
- j && /* @__PURE__ */ r(f, { children: () => /* @__PURE__ */ r("div", { className: "vertical-align-middle sticky top-0 z-10 flex gap-2 overflow-auto p-1", children: /* @__PURE__ */ r(yr, {}) }) })
168
+ B && /* @__PURE__ */ r(f, { children: () => /* @__PURE__ */ r("div", { className: "vertical-align-middle sticky top-0 z-10 flex gap-2 overflow-auto p-1", children: /* @__PURE__ */ r(Tr, {}) }) })
157
169
  ] }),
158
170
  /* @__PURE__ */ n("div", { className: "relative flex min-h-0 w-full flex-1 flex-col", children: [
159
- R && /* @__PURE__ */ r(Y, {}),
171
+ R && /* @__PURE__ */ r(rr, {}),
160
172
  /* @__PURE__ */ r(
161
- or,
173
+ tr,
162
174
  {
163
- ErrorBoundary: X,
175
+ ErrorBoundary: V,
164
176
  contentEditable: /* @__PURE__ */ r(
165
177
  "div",
166
178
  {
167
- ref: I,
179
+ ref: O,
168
180
  className: "flex min-h-0 w-full flex-1 overflow-auto",
169
181
  children: /* @__PURE__ */ r(
170
- cr,
182
+ pr,
171
183
  {
172
- placeholder: S,
173
- className: `border-d-border w-full rounded-none border-b ${A}`
184
+ placeholder: A,
185
+ className: `border-d-border w-full rounded-none border-b ${M}`
174
186
  }
175
187
  )
176
188
  }
177
189
  )
178
190
  }
179
191
  ),
180
- y && /* @__PURE__ */ n(u, { children: [
181
- /* @__PURE__ */ r(V, {}),
182
- /* @__PURE__ */ r(q, {})
192
+ C && /* @__PURE__ */ n(h, { children: [
193
+ /* @__PURE__ */ r(or, {}),
194
+ /* @__PURE__ */ r(J, {})
183
195
  ] }),
184
- (F || P) && /* @__PURE__ */ r(dr, { children: /* @__PURE__ */ n("div", { className: "clear-both flex items-center justify-between gap-2 p-1", children: [
196
+ (F || P) && /* @__PURE__ */ r(fr, { children: /* @__PURE__ */ n("div", { className: "clear-both flex items-center justify-between gap-2 p-1", children: [
185
197
  /* @__PURE__ */ r("div", { className: "flex flex-1 justify-start" }),
186
- /* @__PURE__ */ r("div", { children: P && /* @__PURE__ */ r(fr, { charset: "UTF-16" }) }),
187
- /* @__PURE__ */ r("div", { className: "flex flex-1 justify-end gap-2", children: F && /* @__PURE__ */ n(u, { children: [
188
- /* @__PURE__ */ r(pr, {}),
189
- /* @__PURE__ */ r(G, {})
198
+ /* @__PURE__ */ r("div", { children: P && /* @__PURE__ */ r(gr, { charset: "UTF-16" }) }),
199
+ /* @__PURE__ */ r("div", { className: "flex flex-1 justify-end gap-2", children: F && /* @__PURE__ */ n(h, { children: [
200
+ /* @__PURE__ */ r(ur, {}),
201
+ /* @__PURE__ */ r(X, {})
190
202
  ] }) })
191
203
  ] }) })
192
204
  ] }),
193
205
  /* @__PURE__ */ r(
194
- rr,
206
+ er,
195
207
  {
196
208
  ignoreSelectionChange: !0,
197
209
  onChange: (i) => {
198
210
  if (!t && !e) return;
199
- const C = $r(
200
- i.read(() => W(x))
211
+ const y = Or(
212
+ i.read(() => q(g))
201
213
  );
202
214
  if (!t) {
203
- e?.(C);
215
+ e?.(y);
204
216
  return;
205
217
  }
206
218
  let T = [];
207
219
  if (s) {
208
- const B = i.read(
209
- () => hr(ir(k))
210
- ), z = Array.isArray(d) ? d : [], D = new Map(
211
- z.map((l) => [String(l.id), l])
220
+ const z = i.read(
221
+ () => vr(lr(k))
222
+ ), D = Array.isArray(d) ? d : [], U = new Map(
223
+ D.map((l) => [String(l.id), l])
212
224
  );
213
- T = B.map(
214
- (l) => D.get(String(l.id)) ?? {
225
+ T = z.map(
226
+ (l) => U.get(String(l.id)) ?? {
215
227
  id: l.id,
216
228
  label: l.label,
217
229
  value: l.value
218
230
  }
219
231
  );
220
232
  }
221
- t(C, { mentions: T });
233
+ t(y, { mentions: T });
222
234
  }
223
235
  }
224
236
  )
225
237
  ] }) }) });
226
238
  }
227
- const jr = nr(Hr);
228
- jr.displayName = "AppEditor";
239
+ const zr = ar(Br);
240
+ zr.displayName = "AppEditor";
229
241
  export {
230
- jr as AppEditor
242
+ zr as AppEditor
231
243
  };