@nivaro/react 0.3.103 → 0.3.105

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 (28) hide show
  1. package/dist/full.css +1 -1
  2. package/dist/hooks/useSessionRecorder.js +1 -1
  3. package/dist/index.d.ts +15 -3
  4. package/dist/shared/components/CollectionBrowserView.js +1694 -1639
  5. package/dist/shared/components/ItemEditForm.js +2867 -2845
  6. package/dist/shared/components/imports/CollectionImportPanel.js +483 -459
  7. package/dist/shared/components/integrations/IntegrationStatusLines.js +71 -68
  8. package/dist/shared/components/item-edit/InlineTableField.js +88 -88
  9. package/dist/shared/components/item-edit/UserChip.js +38 -38
  10. package/dist/shared/components/layout-editor/DesignNode.js +16 -14
  11. package/dist/shared/components/layout-editor/LayoutEditor.js +445 -441
  12. package/dist/shared/components/layout-editor/inspector/Inspector.js +18 -18
  13. package/dist/shared/components/layout-editor/inspector/SlotInspector.js +80 -52
  14. package/dist/shared/components/layout-editor/parity-keys.json.js +1 -1
  15. package/dist/shared/components/layout-editor/settings/ButtonsSection.js +54 -26
  16. package/dist/shared/components/layout-editor/settings/settings-registry.js +23 -15
  17. package/dist/shared/components/layout-editor/useLayoutDraft.js +211 -196
  18. package/dist/shared/components/panels/ExternalRequestsChip.js +141 -122
  19. package/dist/shared/components/quick-filters/QuickFilterBarEditor.js +334 -0
  20. package/dist/shared/components/quick-filters/QuickFilterFieldPicker.js +151 -0
  21. package/dist/shared/components/quick-filters/QuickFilterForm.js +371 -0
  22. package/dist/shared/components/quick-filters/config.js +63 -0
  23. package/dist/shared/components/quick-filters/facets.js +55 -0
  24. package/dist/shared/components/quick-filters/useQuickFilterEditing.js +95 -0
  25. package/dist/shared/lib/entry-config.js +7 -7
  26. package/dist/shared/lib/integration-chip.js +10 -6
  27. package/dist/shared/lib/owners-header-tile.js +63 -0
  28. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as d, Fragment as x } from "react/jsx-runtime";
2
2
  import { MousePointerClick as ne } from "lucide-react";
3
3
  import { useMemo as q, useState as ie, useId as re } from "react";
4
- import { HEADER_GROUP_KEY as B, CANVAS_SLOT_KEYS as oe, UNGROUPED_KEY as de } from "../../../lib/layout-ops.js";
4
+ import { HEADER_GROUP_KEY as D, CANVAS_SLOT_KEYS as oe, UNGROUPED_KEY as de } from "../../../lib/layout-ops.js";
5
5
  import { isDisplayFormulaField as ae } from "../../../lib/placement-behaviour.js";
6
6
  import { cn as se, titleCase as k } from "../../../lib/utils.js";
7
7
  import { TipLayer as ce } from "../../TipLayer.js";
@@ -24,9 +24,9 @@ import { GridTab as Ie } from "./GridTab.js";
24
24
  import { GroupInspector as Ee } from "./GroupInspector.js";
25
25
  import { HeaderItemInspector as Le } from "./HeaderItemInspector.js";
26
26
  import { HelpVideoSetting as Z, NoteSetting as Q } from "./HelpTab.js";
27
- import { InspectorEnvContext as D, useInspectorEnv as K, PinZone as w, ScopeLegend as j, GlobalWriterContext as Fe } from "./kit.js";
27
+ import { InspectorEnvContext as G, useInspectorEnv as K, PinZone as w, ScopeLegend as j, GlobalWriterContext as Fe } from "./kit.js";
28
28
  import { LookTab as Ce } from "./LookTab.js";
29
- import { isDefaultForm as Ke, layoutTypeOf as Me, findPlacement as V, SUBTITLE_FIELD as U, overrideGroupOps as Oe, overridePlacementOps as Re, describeField as ee, asObject as A, NUMERIC_TYPES as De } from "./model.js";
29
+ import { isDefaultForm as Ke, layoutTypeOf as Me, findPlacement as V, SUBTITLE_FIELD as U, overrideGroupOps as Oe, overridePlacementOps as Re, describeField as ee, asObject as B, NUMERIC_TYPES as De } from "./model.js";
30
30
  import { OverrideNotice as Ge } from "./OverrideNotice.js";
31
31
  import { PickerTab as He } from "./PickerTab.js";
32
32
  import { RulesTab as Ae } from "./RulesTab.js";
@@ -43,7 +43,7 @@ function le(e) {
43
43
  case "header":
44
44
  return {
45
45
  field: e.field,
46
- group_key: e.field === U ? null : B
46
+ group_key: e.field === U ? null : D
47
47
  };
48
48
  default:
49
49
  return null;
@@ -110,7 +110,7 @@ function Dt(e) {
110
110
  )
111
111
  ] })
112
112
  ] });
113
- return /* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(D.Provider, { value: _, children: h ? /* @__PURE__ */ t(G, { group: h, notice: y, readOnly: !0 }) : b ? /* @__PURE__ */ t(H, { target: n, row: b, notice: y, readOnly: !0 }) : /* @__PURE__ */ d(x, { children: [
113
+ return /* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(G.Provider, { value: _, children: h ? /* @__PURE__ */ t(H, { group: h, notice: y, readOnly: !0 }) : b ? /* @__PURE__ */ t(A, { target: n, row: b, notice: y, readOnly: !0 }) : /* @__PURE__ */ d(x, { children: [
114
114
  /* @__PURE__ */ t(F, { title: I(n) }),
115
115
  /* @__PURE__ */ t(C, { children: y })
116
116
  ] }) }) });
@@ -118,8 +118,8 @@ function Dt(e) {
118
118
  if (u && !u.editing) {
119
119
  const m = /* @__PURE__ */ t($, { link: u.link }), _ = { ...f, apply: () => {
120
120
  } };
121
- return /* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(D.Provider, { value: _, children: p ? /* @__PURE__ */ t(G, { group: p, notice: m, readOnly: !0 }, p.key) : /* @__PURE__ */ t(
122
- H,
121
+ return /* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(G.Provider, { value: _, children: p ? /* @__PURE__ */ t(H, { group: p, notice: m, readOnly: !0 }, p.key) : /* @__PURE__ */ t(
122
+ A,
123
123
  {
124
124
  target: n,
125
125
  row: r,
@@ -139,8 +139,8 @@ function Dt(e) {
139
139
  apply: i
140
140
  }
141
141
  );
142
- return /* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(D.Provider, { value: f, children: n.kind === "group" ? p && /* @__PURE__ */ t(
143
- G,
142
+ return /* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(G.Provider, { value: f, children: n.kind === "group" ? p && /* @__PURE__ */ t(
143
+ H,
144
144
  {
145
145
  group: p,
146
146
  notice: /* @__PURE__ */ d(x, { children: [
@@ -156,7 +156,7 @@ function Dt(e) {
156
156
  " is not on this form any more."
157
157
  ] }) })
158
158
  ] }) : /* @__PURE__ */ t(
159
- H,
159
+ A,
160
160
  {
161
161
  target: n,
162
162
  row: r,
@@ -179,7 +179,7 @@ function R({ children: e }) {
179
179
  }
180
180
  function ze(e, l) {
181
181
  if (!l || l === de) return null;
182
- if (l === B) return "Header strip";
182
+ if (l === D) return "Header strip";
183
183
  const n = e.groups.find((i) => i.key === l);
184
184
  return n ? n.label || k(n.key) : k(l);
185
185
  }
@@ -227,7 +227,7 @@ function Ve(e, l) {
227
227
  const n = l.parent_key ? e.groups.find((i) => i.key === l.parent_key) ?? null : null;
228
228
  return l.type === "tab" ? (n == null ? void 0 : n.tab_mode) === "steps" ? "Step" : "Tab" : l.type === "container" ? l.tab_mode === "steps" ? "Steps holder" : "Tabs holder" : l.type === "content" ? "Text block" : l.type === "metadata" ? "Record info" : "Section";
229
229
  }
230
- function G({
230
+ function H({
231
231
  group: e,
232
232
  notice: l,
233
233
  readOnly: n = !1
@@ -316,7 +316,7 @@ function E({
316
316
  ] })
317
317
  ] });
318
318
  }
319
- function H({
319
+ function A({
320
320
  target: e,
321
321
  row: l,
322
322
  notice: n,
@@ -336,13 +336,13 @@ function H({
336
336
  ) : te(o) ? /* @__PURE__ */ t(
337
337
  E,
338
338
  {
339
- eyebrow: /* @__PURE__ */ t(L, { kind: "Panel", target: e, where: s }),
339
+ eyebrow: f === D ? "Header strip" : /* @__PURE__ */ t(L, { kind: "Panel", target: e, where: s }),
340
340
  title: X(o),
341
341
  notice: n,
342
342
  readOnly: i,
343
343
  children: /* @__PURE__ */ t(Be, { field: o, groupKey: f, row: l })
344
344
  }
345
- ) : l ? e.kind === "header" || l.group_key === B ? /* @__PURE__ */ t(Xe, { row: l, notice: n, readOnly: i }) : ae(o) ? /* @__PURE__ */ t(
345
+ ) : l ? e.kind === "header" || l.group_key === D ? /* @__PURE__ */ t(Xe, { row: l, notice: n, readOnly: i }) : ae(o) ? /* @__PURE__ */ t(
346
346
  E,
347
347
  {
348
348
  eyebrow: /* @__PURE__ */ t(L, { kind: "Formula", target: e, where: s }),
@@ -354,7 +354,7 @@ function H({
354
354
  ) : /* @__PURE__ */ t(Qe, { target: e, row: l, where: s, notice: n, readOnly: i }) : null;
355
355
  }
356
356
  function qe(e) {
357
- const l = A(e.overrides);
357
+ const l = B(e.overrides);
358
358
  return typeof l.label == "string" && l.label.trim() ? l.label : "Formula";
359
359
  }
360
360
  function Je({ row: e }) {
@@ -394,8 +394,8 @@ function Qe({
394
394
  field: l.field,
395
395
  fieldLabel: r.label,
396
396
  stored: {
397
- options: A((T = r.global) == null ? void 0 : T.options),
398
- dependency_config: A((m = r.global) == null ? void 0 : m.dependency_config),
397
+ options: B((T = r.global) == null ? void 0 : T.options),
398
+ dependency_config: B((m = r.global) == null ? void 0 : m.dependency_config),
399
399
  columns: {
400
400
  deprecated: !!((_ = r.global) != null && _.deprecated_at),
401
401
  deprecation_note: ((O = r.global) == null ? void 0 : O.deprecation_note) || null
@@ -1,9 +1,9 @@
1
- import { jsxs as c, Fragment as m, jsx as a } from "react/jsx-runtime";
2
- import { HEADER_GROUP_KEY as b, CANVAS_SLOT_KEYS as S } from "../../../lib/layout-ops.js";
3
- import { PdfFieldConfig as y } from "../editors/pdf-field-config.js";
4
- import { slotName as F } from "../slot-names.js";
5
- import { useInspectorEnv as g, Setting as u, TextInput as D, Toggle as h, Section as v, Buffered as P, Choice as N, Segmented as O } from "./kit.js";
6
- import { readOverrides as T, rowlessExpanded as $, placeSlotOps as A, withKey as E } from "./model.js";
1
+ import { jsxs as r, Fragment as m, jsx as a } from "react/jsx-runtime";
2
+ import { HEADER_GROUP_KEY as b, CANVAS_SLOT_KEYS as O } from "../../../lib/layout-ops.js";
3
+ import { PdfFieldConfig as F } from "../editors/pdf-field-config.js";
4
+ import { slotName as D } from "../slot-names.js";
5
+ import { useInspectorEnv as C, Setting as f, TextInput as g, Toggle as h, Section as k, Buffered as P, Choice as $, Segmented as N } from "./kit.js";
6
+ import { readOverrides as E, rowlessExpanded as T, placeSlotOps as A, withKey as L } from "./model.js";
7
7
  import { useLayoutsOf as H } from "./PickerTab.js";
8
8
  const R = [
9
9
  { value: "12", label: "Full" },
@@ -11,28 +11,28 @@ const R = [
11
11
  { value: "4", label: "⅓" },
12
12
  { value: "3", label: "¼" }
13
13
  ];
14
- function L(l, s, t) {
15
- const r = g();
16
- return (i, n, p) => r.apply(
17
- t ? [{ op: "update_placement", at: { field: l, group_key: s }, patch: i }] : A(r.bundle, l, s, i),
18
- { label: n, text: p }
14
+ function I(n, s, t) {
15
+ const c = C();
16
+ return (o, l, _) => c.apply(
17
+ t ? [{ op: "update_placement", at: { field: n, group_key: s }, patch: o }] : A(c.bundle, n, s, o),
18
+ { label: l, text: _ }
19
19
  );
20
20
  }
21
- function M({
22
- field: l,
21
+ function U({
22
+ field: n,
23
23
  groupKey: s,
24
24
  row: t
25
25
  }) {
26
- const r = g(), i = L(l, s, t), n = F(l), p = S.includes(l), o = T(t), d = (e, f, _, x) => i({ overrides: E(o, e, f) }, _, x), { data: k = [] } = H(l === "__pdf__" ? r.collection : null), C = k.filter((e) => e.layout_type === "file");
27
- return /* @__PURE__ */ c("div", { className: "space-y-5", children: [
28
- p && /* @__PURE__ */ c(m, { children: [
29
- /* @__PURE__ */ a(u, { k: "slot.label_override", label: "Title", effect: `Empty uses "${n}".`, children: /* @__PURE__ */ a(
30
- D,
26
+ const c = C(), o = I(n, s, t), l = D(n), _ = O.includes(n), v = n === "__owners__" && s === b, i = E(t), d = (e, u, p, y) => o({ overrides: L(i, e, u) }, p, y), { data: x = [] } = H(n === "__pdf__" ? c.collection : null), S = x.filter((e) => e.layout_type === "file");
27
+ return /* @__PURE__ */ r("div", { className: "space-y-5", children: [
28
+ _ && /* @__PURE__ */ r(m, { children: [
29
+ /* @__PURE__ */ a(f, { k: "slot.label_override", label: "Title", effect: `Empty uses "${l}".`, children: /* @__PURE__ */ a(
30
+ g,
31
31
  {
32
32
  ariaLabel: "Title",
33
33
  value: (t == null ? void 0 : t.label_override) ?? "",
34
- placeholder: n,
35
- onChange: (e) => i({ label_override: e.trim() && e !== n ? e : null }, `Rename ${n}`, !0)
34
+ placeholder: l,
35
+ onChange: (e) => o({ label_override: e.trim() && e !== l ? e : null }, `Rename ${l}`, !0)
36
36
  }
37
37
  ) }),
38
38
  /* @__PURE__ */ a(
@@ -42,7 +42,7 @@ function M({
42
42
  label: "Show on this form",
43
43
  effect: "Off leaves the panel off this form.",
44
44
  checked: (t == null ? void 0 : t.is_visible) ?? !0,
45
- onChange: (e) => i({ is_visible: e }, e ? `Show ${n}` : `Hide ${n}`)
45
+ onChange: (e) => o({ is_visible: e }, e ? `Show ${l}` : `Hide ${l}`)
46
46
  }
47
47
  ),
48
48
  /* @__PURE__ */ a(
@@ -51,15 +51,15 @@ function M({
51
51
  k: "slot.default_expanded",
52
52
  label: "Starts open",
53
53
  effect: "Off shows the panel folded until someone opens it.",
54
- checked: (t == null ? void 0 : t.default_expanded) ?? $(l),
55
- onChange: (e) => i(
54
+ checked: (t == null ? void 0 : t.default_expanded) ?? T(n),
55
+ onChange: (e) => o(
56
56
  { default_expanded: e },
57
- e ? `Open ${n} at first` : `Collapse ${n} at first`
57
+ e ? `Open ${l} at first` : `Collapse ${l} at first`
58
58
  )
59
59
  }
60
60
  )
61
61
  ] }),
62
- l === "__pipeline__" && /* @__PURE__ */ c(v, { title: "Action buttons", children: [
62
+ n === "__pipeline__" && /* @__PURE__ */ r(k, { title: "Action buttons", children: [
63
63
  /* @__PURE__ */ a("p", { className: "text-[12px] leading-snug text-slate-500 dark:text-muted-foreground", children: "The header can already show the transition buttons; hide them here to avoid doubles." }),
64
64
  /* @__PURE__ */ a(
65
65
  h,
@@ -67,8 +67,8 @@ function M({
67
67
  k: "slot.pipeline.hide_actions_collapsed",
68
68
  label: "Hide while collapsed",
69
69
  effect: "No transition buttons while the panel is folded.",
70
- checked: o.hide_actions_collapsed === !0,
71
- onChange: (e) => d("hide_actions_collapsed", e || void 0, `Change the ${n} buttons`)
70
+ checked: i.hide_actions_collapsed === !0,
71
+ onChange: (e) => d("hide_actions_collapsed", e || void 0, `Change the ${l} buttons`)
72
72
  }
73
73
  ),
74
74
  /* @__PURE__ */ a(
@@ -77,8 +77,8 @@ function M({
77
77
  k: "slot.pipeline.hide_actions_expanded",
78
78
  label: "Hide while open",
79
79
  effect: "No transition buttons while the panel is open.",
80
- checked: o.hide_actions_expanded === !0,
81
- onChange: (e) => d("hide_actions_expanded", e || void 0, `Change the ${n} buttons`)
80
+ checked: i.hide_actions_expanded === !0,
81
+ onChange: (e) => d("hide_actions_expanded", e || void 0, `Change the ${l} buttons`)
82
82
  }
83
83
  ),
84
84
  /* @__PURE__ */ a(
@@ -88,44 +88,44 @@ function M({
88
88
  label: "Approval chain button",
89
89
  effect: "A button that shows who approves next.",
90
90
  checked: (t == null ? void 0 : t.show_approval_chain) ?? !1,
91
- onChange: (e) => i(
91
+ onChange: (e) => o(
92
92
  { show_approval_chain: e },
93
93
  e ? "Show the approval chain button" : "Hide the approval chain button"
94
94
  )
95
95
  }
96
96
  )
97
97
  ] }),
98
- l === "__pdf__" && /* @__PURE__ */ c(m, { children: [
99
- /* @__PURE__ */ a(P, { value: typeof o.filename_template == "string" ? o.filename_template : "", children: (e, f) => /* @__PURE__ */ a(
100
- y,
98
+ n === "__pdf__" && /* @__PURE__ */ r(m, { children: [
99
+ /* @__PURE__ */ a(P, { value: typeof i.filename_template == "string" ? i.filename_template : "", children: (e, u) => /* @__PURE__ */ a(
100
+ F,
101
101
  {
102
- tableName: r.collection,
103
- value: typeof o.attach_to_field == "string" ? o.attach_to_field : null,
102
+ tableName: c.collection,
103
+ value: typeof i.attach_to_field == "string" ? i.attach_to_field : null,
104
104
  filenameTemplate: e || null,
105
- onChange: (_) => d("attach_to_field", _ ?? void 0, "Change where the PDF is attached"),
106
- onFilenameChange: (_) => d(
105
+ onChange: (p) => d("attach_to_field", p ?? void 0, "Change where the PDF is attached"),
106
+ onFilenameChange: (p) => d(
107
107
  "filename_template",
108
- f(_ ?? "") || void 0,
108
+ u(p ?? "") || void 0,
109
109
  "Change the PDF file name",
110
110
  !0
111
111
  )
112
112
  }
113
113
  ) }),
114
- /* @__PURE__ */ c(v, { title: "Advanced", collapsible: !0, children: [
114
+ /* @__PURE__ */ r(k, { title: "Advanced", collapsible: !0, children: [
115
115
  /* @__PURE__ */ a(
116
- u,
116
+ f,
117
117
  {
118
118
  k: "pdf_button.source_layout_id",
119
119
  label: "Render from",
120
120
  effect: "A PDF layout of this collection; otherwise the form itself.",
121
121
  children: /* @__PURE__ */ a(
122
- N,
122
+ $,
123
123
  {
124
124
  ariaLabel: "Render from",
125
- value: typeof o.source_layout_id == "number" ? String(o.source_layout_id) : "",
125
+ value: typeof i.source_layout_id == "number" ? String(i.source_layout_id) : "",
126
126
  options: [
127
127
  { value: "", label: "This form" },
128
- ...C.map((e) => ({ value: String(e.id), label: e.name }))
128
+ ...S.map((e) => ({ value: String(e.id), label: e.name }))
129
129
  ],
130
130
  onChange: (e) => d(
131
131
  "source_layout_id",
@@ -142,7 +142,7 @@ function M({
142
142
  k: "pdf_button.auto_generate_on_save",
143
143
  label: "Make the PDF on every save",
144
144
  effect: "Each save of the record makes a new PDF.",
145
- checked: o.auto_generate_on_save === !0,
145
+ checked: i.auto_generate_on_save === !0,
146
146
  onChange: (e) => d("auto_generate_on_save", e || void 0, "Change when the PDF is made")
147
147
  }
148
148
  ),
@@ -152,28 +152,56 @@ function M({
152
152
  k: "pdf_button.overwrite_generated",
153
153
  label: "Replace the last generated PDF",
154
154
  effect: "Off keeps every generated file.",
155
- checked: o.overwrite_generated !== !1,
155
+ checked: i.overwrite_generated !== !1,
156
156
  onChange: (e) => d("overwrite_generated", e ? void 0 : !1, "Change how PDFs are kept")
157
157
  }
158
158
  )
159
159
  ] })
160
160
  ] }),
161
- !p && s !== null && s !== b && /* @__PURE__ */ a(u, { k: "field.col_span", label: "Width", effect: "Share of the row it takes.", children: /* @__PURE__ */ a(
162
- O,
161
+ !_ && s !== null && s !== b && /* @__PURE__ */ a(f, { k: "field.col_span", label: "Width", effect: "Share of the row it takes.", children: /* @__PURE__ */ a(
162
+ N,
163
163
  {
164
164
  value: String((t == null ? void 0 : t.col_span) ?? 12),
165
165
  options: R,
166
- onChange: (e) => i({ col_span: e === "12" ? null : Number(e) }, `Change the width of ${n}`)
166
+ onChange: (e) => o({ col_span: e === "12" ? null : Number(e) }, `Change the width of ${l}`)
167
167
  }
168
168
  ) }),
169
- !p && l !== "__pdf__" && (s === null || s === b) && /* @__PURE__ */ c("p", { className: "text-[13px] text-slate-500 dark:text-muted-foreground", children: [
170
- n,
169
+ v && /* @__PURE__ */ r(m, { children: [
170
+ /* @__PURE__ */ a(f, { k: "header.label_override", label: "Label", effect: `Empty uses "${l}".`, children: /* @__PURE__ */ a(
171
+ g,
172
+ {
173
+ ariaLabel: "Label",
174
+ value: (t == null ? void 0 : t.label_override) ?? "",
175
+ placeholder: l,
176
+ onChange: (e) => o(
177
+ { label_override: e.trim() && e !== l ? e : null },
178
+ `Rename ${l} in the header`,
179
+ !0
180
+ )
181
+ }
182
+ ) }),
183
+ /* @__PURE__ */ a(
184
+ h,
185
+ {
186
+ k: "slot.is_visible",
187
+ label: "Show on this form",
188
+ effect: "Off takes the Owners tile out of this form’s header. It shows only on records whose pipeline has owners set up.",
189
+ checked: (t == null ? void 0 : t.is_visible) ?? !0,
190
+ onChange: (e) => o(
191
+ { is_visible: e },
192
+ e ? "Show Owners in the header" : "Hide Owners in the header"
193
+ )
194
+ }
195
+ )
196
+ ] }),
197
+ !_ && !v && n !== "__pdf__" && (s === null || s === b) && /* @__PURE__ */ r("p", { className: "text-[13px] text-slate-500 dark:text-muted-foreground", children: [
198
+ l,
171
199
  " has no settings beyond its place."
172
200
  ] })
173
201
  ] });
174
202
  }
175
203
  export {
176
- M as SlotInspector,
204
+ U as SlotInspector,
177
205
  R as WIDTHS,
178
- L as useSlotWriter
206
+ I as useSlotWriter
179
207
  };