@gentiq/ui 1.0.0-alpha.1 → 1.0.0-alpha.10

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.
@@ -0,0 +1,199 @@
1
+ "use client";
2
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
3
+ import { useId as G, useState as p, useRef as q } from "react";
4
+ import { Paperclip as F, X as B, Send as P } from "lucide-react";
5
+ import { toast as d } from "sonner";
6
+ import { rejectAttachment as V } from "@gentiq/core";
7
+ import { useGentiqTranslation as H, useGentiqLanguage as J, useServerConfig as K, useSubmitReport as O, getLocalizedErrorMessage as X } from "@gentiq/react";
8
+ import { G as h, H as Q, I as U, J as W, c as l, K as Y, M as Z, N as M, B as x } from "./shared-BtZa4J_w.js";
9
+ import { T as ee } from "./shared-BKh4GbRI.js";
10
+ import { f as $ } from "./shared-DO5kF-Zj.js";
11
+ const te = ["bug", "feature", "other"], v = "bg-muted/30 border-border/50 rounded-xl focus-visible:ring-primary text-start";
12
+ function ue({
13
+ sectionMode: N = "editable",
14
+ categoryMode: b = "editable",
15
+ attachmentMode: u = "editable"
16
+ } = {}) {
17
+ const s = G(), { t: a, i18n: k } = H(["settings", "errors"]), { dir: I } = J(), i = K()?.attachments, g = O(), [y, L] = p("bug"), [S, j] = p(""), [C, z] = p(""), [m, _] = p(null), f = q(null), n = N === "faded" || g.isPending, A = b !== "hidden", R = u !== "hidden" && !!i, w = () => {
18
+ _(null), f.current && (f.current.value = "");
19
+ }, T = (t) => {
20
+ const c = t.target.files?.[0];
21
+ if (c) {
22
+ if (i) {
23
+ const o = V(c, i);
24
+ if (o === "too_large") {
25
+ d.error(
26
+ a("feedback.attachment_too_large", {
27
+ size: $(i.max_size, k.language)
28
+ })
29
+ ), t.target.value = "";
30
+ return;
31
+ }
32
+ if (o === "unsupported_type") {
33
+ d.error(a("feedback.attachment_unsupported")), t.target.value = "";
34
+ return;
35
+ }
36
+ }
37
+ _(c);
38
+ }
39
+ }, D = async (t) => {
40
+ if (t.preventDefault(), n) return;
41
+ const c = S.trim(), o = C.trim();
42
+ if (!c || !o) {
43
+ d.error(a("feedback.validation_required"));
44
+ return;
45
+ }
46
+ try {
47
+ await g.mutateAsync({
48
+ category: y,
49
+ subject: c,
50
+ description: o,
51
+ file: m
52
+ }), d.success(a("feedback.success")), j(""), z(""), w();
53
+ } catch (E) {
54
+ d.error(X(E, a));
55
+ }
56
+ };
57
+ return /* @__PURE__ */ r(
58
+ "form",
59
+ {
60
+ onSubmit: (t) => {
61
+ D(t);
62
+ },
63
+ className: l(
64
+ "space-y-5",
65
+ N === "faded" && "opacity-50 pointer-events-none select-none"
66
+ ),
67
+ children: [
68
+ A && /* @__PURE__ */ r(
69
+ "div",
70
+ {
71
+ className: l(
72
+ "flex flex-col gap-2",
73
+ b === "faded" && "opacity-60 pointer-events-none"
74
+ ),
75
+ children: [
76
+ /* @__PURE__ */ e(h, { htmlFor: `${s}-category`, className: "px-1 text-start", children: a("feedback.category") }),
77
+ /* @__PURE__ */ r(
78
+ Q,
79
+ {
80
+ value: y,
81
+ onValueChange: (t) => L(t),
82
+ disabled: n || b === "faded",
83
+ dir: I,
84
+ children: [
85
+ /* @__PURE__ */ e(U, { id: `${s}-category`, className: l(v, "h-11"), children: /* @__PURE__ */ e(W, {}) }),
86
+ /* @__PURE__ */ e(Y, { className: "rounded-xl border-border/40 shadow-xl bg-background", children: te.map((t) => /* @__PURE__ */ e(Z, { value: t, className: "rounded-lg focus:bg-primary/10", children: a(`feedback.categories.${t}`) }, t)) })
87
+ ]
88
+ }
89
+ )
90
+ ]
91
+ }
92
+ ),
93
+ /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: [
94
+ /* @__PURE__ */ e(h, { htmlFor: `${s}-subject`, className: "px-1 text-start", children: a("feedback.subject") }),
95
+ /* @__PURE__ */ e(
96
+ M,
97
+ {
98
+ id: `${s}-subject`,
99
+ value: S,
100
+ onChange: (t) => j(t.target.value),
101
+ disabled: n,
102
+ maxLength: 200,
103
+ placeholder: a("feedback.subject_placeholder"),
104
+ className: l(v, "h-11")
105
+ }
106
+ )
107
+ ] }),
108
+ /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: [
109
+ /* @__PURE__ */ e(h, { htmlFor: `${s}-description`, className: "px-1 text-start", children: a("feedback.description") }),
110
+ /* @__PURE__ */ e(
111
+ ee,
112
+ {
113
+ id: `${s}-description`,
114
+ value: C,
115
+ onChange: (t) => z(t.target.value),
116
+ disabled: n,
117
+ rows: 5,
118
+ maxLength: 5e3,
119
+ placeholder: a("feedback.description_placeholder"),
120
+ className: l(v, "min-h-28 resize-y text-sm")
121
+ }
122
+ )
123
+ ] }),
124
+ R && i && /* @__PURE__ */ r(
125
+ "div",
126
+ {
127
+ className: l(
128
+ "flex flex-col gap-2",
129
+ u === "faded" && "opacity-60 pointer-events-none"
130
+ ),
131
+ children: [
132
+ /* @__PURE__ */ e(h, { htmlFor: `${s}-file`, className: "px-1 text-start", children: a("feedback.attachment") }),
133
+ /* @__PURE__ */ e(
134
+ "input",
135
+ {
136
+ id: `${s}-file`,
137
+ ref: f,
138
+ type: "file",
139
+ accept: i.types.join(","),
140
+ onChange: T,
141
+ disabled: n || u === "faded",
142
+ className: "hidden"
143
+ }
144
+ ),
145
+ m ? /* @__PURE__ */ r("div", { className: "flex items-center justify-between gap-2 rounded-xl border border-border/50 bg-muted/30 px-3 py-2 text-sm", children: [
146
+ /* @__PURE__ */ r("div", { className: "flex items-center gap-2 min-w-0", children: [
147
+ /* @__PURE__ */ e(F, { className: "size-4 shrink-0 text-muted-foreground" }),
148
+ /* @__PURE__ */ e("span", { className: "truncate font-medium", children: m.name }),
149
+ /* @__PURE__ */ e("span", { className: "shrink-0 text-xs text-muted-foreground", children: $(m.size, k.language) })
150
+ ] }),
151
+ /* @__PURE__ */ e(
152
+ x,
153
+ {
154
+ type: "button",
155
+ variant: "ghost",
156
+ size: "icon",
157
+ onClick: w,
158
+ disabled: n,
159
+ "aria-label": a("feedback.remove_attachment"),
160
+ className: "size-7 shrink-0 rounded-full text-muted-foreground hover:text-foreground",
161
+ children: /* @__PURE__ */ e(B, { className: "size-3.5" })
162
+ }
163
+ )
164
+ ] }) : /* @__PURE__ */ e("div", { children: /* @__PURE__ */ r(
165
+ x,
166
+ {
167
+ type: "button",
168
+ variant: "outline",
169
+ onClick: () => f.current?.click(),
170
+ disabled: n || u === "faded",
171
+ className: "rounded-xl border-border/60 bg-muted/20 gap-2 text-sm font-medium h-10",
172
+ children: [
173
+ /* @__PURE__ */ e(F, { className: "size-4 text-muted-foreground" }),
174
+ /* @__PURE__ */ e("span", { children: a("feedback.attach_file") })
175
+ ]
176
+ }
177
+ ) })
178
+ ]
179
+ }
180
+ ),
181
+ /* @__PURE__ */ e("div", { className: "pt-2 flex justify-end", children: /* @__PURE__ */ r(
182
+ x,
183
+ {
184
+ type: "submit",
185
+ disabled: n,
186
+ className: "w-full sm:w-auto px-6 rounded-full gap-2 font-medium h-10",
187
+ children: [
188
+ /* @__PURE__ */ e(P, { className: "size-4" }),
189
+ a(g.isPending ? "feedback.submitting" : "feedback.submit")
190
+ ]
191
+ }
192
+ ) })
193
+ ]
194
+ }
195
+ );
196
+ }
197
+ export {
198
+ ue as FeedbackSettings
199
+ };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
3
3
  import { useGentiqTranslation as a, MessageEdit as t } from "@gentiq/react";
4
- import { B as s } from "./shared-BNCHeyvj.js";
4
+ import { B as s } from "./shared-BtZa4J_w.js";
5
5
  function d() {
6
6
  const { t: n } = a(["chat"]);
7
7
  return /* @__PURE__ */ r(t.Root, { className: "ms-auto flex w-full max-w-[88%] flex-col gap-2 rounded-lg border border-border bg-background p-3 md:max-w-[78%]", children: [
@@ -3,42 +3,43 @@ import { jsxs as z, jsx as e, Fragment as k } from "react/jsx-runtime";
3
3
  import { useState as L, useRef as P, useEffect as U } from "react";
4
4
  import { XIcon as X, Loader2Icon as V, SquareIcon as J } from "lucide-react";
5
5
  import { useGentiqTranslation as q, useComposerVoice as y, Composer as S, useComposer as K } from "@gentiq/react";
6
- import { a8 as H, as as O, c as Q } from "./shared-BNCHeyvj.js";
6
+ import { P as H, a as O } from "./shared-DO5kF-Zj.js";
7
+ import { c as Q } from "./shared-BtZa4J_w.js";
7
8
  function ce() {
8
- const { t: n } = q("chat"), i = y(), r = i.status === "transcribing";
9
+ const { t: n } = q("chat"), i = y(), c = i.status === "transcribing";
9
10
  return /* @__PURE__ */ z("div", { className: "flex min-h-[40px] min-w-0 flex-1 items-center gap-2 md:min-h-[44px]", children: [
10
11
  /* @__PURE__ */ e(S.VoiceCancel, { asChild: !0, children: /* @__PURE__ */ e(H, { "aria-label": n("voice_cancel"), className: "-ms-1 mb-1 self-end", children: /* @__PURE__ */ e(X, { className: "size-5" }) }) }),
11
12
  /* @__PURE__ */ e(
12
13
  te,
13
14
  {
14
15
  analyser: i.analyser,
15
- busy: r,
16
+ busy: c,
16
17
  className: "h-7 min-w-0 flex-1 text-foreground/75"
17
18
  }
18
19
  ),
19
- /* @__PURE__ */ e("span", { role: "status", className: "sr-only", children: n(r ? "voice_transcribing" : "voice_recording") })
20
+ /* @__PURE__ */ e("span", { role: "status", className: "sr-only", children: n(c ? "voice_transcribing" : "voice_recording") })
20
21
  ] });
21
22
  }
22
- function re() {
23
- const { t: n } = q("chat"), i = y().status === "transcribing", r = !K().isBusy, [d, p] = L(!1);
23
+ function le() {
24
+ const { t: n } = q("chat"), i = y().status === "transcribing", c = !K().isBusy, [d, p] = L(!1);
24
25
  return /* @__PURE__ */ z(k, { children: [
25
26
  /* @__PURE__ */ e(S.VoiceStop, { asChild: !0, children: /* @__PURE__ */ e(
26
27
  H,
27
28
  {
28
- autoFocus: !r,
29
+ autoFocus: !c,
29
30
  "aria-label": n("voice_stop"),
30
31
  className: "bg-accent/60 text-foreground",
31
32
  children: i && !d ? /* @__PURE__ */ e(V, { className: "size-4 animate-spin" }) : /* @__PURE__ */ e(J, { className: "size-3.5 fill-current" })
32
33
  }
33
34
  ) }),
34
- /* @__PURE__ */ e(S.VoiceSend, { asChild: !0, disabled: d, onClick: () => p(!0), children: /* @__PURE__ */ e(O, { type: "button", autoFocus: r, "aria-label": n("voice_send"), children: d ? /* @__PURE__ */ e(V, { className: "size-4 animate-spin" }) : void 0 }) })
35
+ /* @__PURE__ */ e(S.VoiceSend, { asChild: !0, disabled: d, onClick: () => p(!0), children: /* @__PURE__ */ e(O, { type: "button", autoFocus: c, "aria-label": n("voice_send"), children: d ? /* @__PURE__ */ e(V, { className: "size-4 animate-spin" }) : void 0 }) })
35
36
  ] });
36
37
  }
37
- const c = 2.5, Y = 3, C = c + Y, Z = 90, $ = 0.25, ee = 1400;
38
+ const r = 2.5, Y = 3, C = r + Y, Z = 90, $ = 0.25, ee = 1400;
38
39
  function te({
39
40
  analyser: n,
40
41
  busy: i = !1,
41
- className: r
42
+ className: c
42
43
  }) {
43
44
  const d = P(null), p = P({
44
45
  /** The finished bars' levels, most recent first. */
@@ -76,23 +77,23 @@ function te({
76
77
  s.fillStyle = D;
77
78
  const W = w ? 0 : t.progress * C;
78
79
  for (let a = -1; a < x; a++) {
79
- const M = a < 0 ? t.live : t.bars[a] ?? 0, m = l - c - a * C - W, R = Math.max(c, Math.min(1, M) * f), B = (f - R) / 2, j = Math.max(0, Math.min(1, (m + c) / (l * $)));
80
+ const M = a < 0 ? t.live : t.bars[a] ?? 0, m = l - r - a * C - W, R = Math.max(r, Math.min(1, M) * f), B = (f - R) / 2, j = Math.max(0, Math.min(1, (m + r) / (l * $)));
80
81
  let I = 1;
81
82
  if (i) {
82
83
  const G = Math.sin((b / ee - m / l) * 2 * Math.PI);
83
84
  I = w ? 0.5 : 0.35 + 0.325 * (1 + G);
84
85
  }
85
86
  s.globalAlpha = j * I;
86
- const F = E === "rtl" ? l - m - c : m;
87
- s.beginPath(), s.roundRect ? s.roundRect(F, B, c, R, c / 2) : s.rect(F, B, c, R), s.fill();
87
+ const F = E === "rtl" ? l - m - r : m;
88
+ s.beginPath(), s.roundRect ? s.roundRect(F, B, r, R, r / 2) : s.rect(F, B, r, R), s.fill();
88
89
  }
89
90
  g = requestAnimationFrame(A);
90
91
  };
91
92
  return g = requestAnimationFrame(A), () => cancelAnimationFrame(g);
92
- }, [n, i]), /* @__PURE__ */ e("div", { "aria-hidden": !0, className: Q("relative", r), children: /* @__PURE__ */ e("canvas", { ref: d, className: "absolute inset-0 size-full" }) });
93
+ }, [n, i]), /* @__PURE__ */ e("div", { "aria-hidden": !0, className: Q("relative", c), children: /* @__PURE__ */ e("canvas", { ref: d, className: "absolute inset-0 size-full" }) });
93
94
  }
94
95
  export {
95
96
  ce as VoiceRecordingBar,
96
- re as VoiceRecordingControls,
97
+ le as VoiceRecordingControls,
97
98
  te as VoiceWaveform
98
99
  };
package/dist/index.d.ts CHANGED
@@ -46,7 +46,7 @@ export declare interface AccountSettingsFields {
46
46
 
47
47
  /**
48
48
  * The default sidebar: a new-conversation button and the user's conversations, built from
49
- * `ThreadList.*` as `GentiqUI`'s `history` options allow.
49
+ * `ThreadList.*`. Switches into the grouped settings navigation while settings are open.
50
50
  */
51
51
  export declare function AppSidebar({ side }: {
52
52
  side?: 'start' | 'end';
@@ -57,7 +57,7 @@ declare function Button({ className, variant, size, asChild, ...props }: React_2
57
57
  }): JSX.Element;
58
58
 
59
59
  declare const buttonVariants: (props?: ({
60
- variant?: "default" | "destructive" | "link" | "secondary" | "outline" | "ghost" | null | undefined;
60
+ variant?: "default" | "destructive" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
61
61
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
62
62
  } & ClassProp) | undefined) => string;
63
63
 
@@ -68,7 +68,7 @@ export declare const Chat: ({ threadId, onThreadChange, components: localCompone
68
68
  * e.g. to offer an upgrade when `error.code` is `quota_exceeded`, and render this one for the
69
69
  * rest.
70
70
  */
71
- export declare function ChatError({ error }: ChatErrorProps): JSX.Element;
71
+ export declare function ChatError({ error, code }: ChatErrorProps): JSX.Element;
72
72
 
73
73
  /**
74
74
  * Props for the ChatError component, the notice under the transcript when a turn fails. Dismiss
@@ -395,6 +395,29 @@ export declare function CreditsBar({ credits, action }: {
395
395
  action?: ReactNode;
396
396
  }): JSX.Element;
397
397
 
398
+ /**
399
+ * A custom section added to the settings sidebar and page by the host application.
400
+ */
401
+ export declare interface CustomSettingsSection {
402
+ /** Unique identifier for the section (e.g. `'notifications'`, `'personalization'`). */
403
+ id: string;
404
+ /** Display title or translation key for the sidebar item and page heading. */
405
+ label: string;
406
+ /** Optional subtitle or translation key shown under the page heading. */
407
+ subtitle?: string;
408
+ /**
409
+ * Sidebar group this section belongs to: `'account'`, `'general'`, or a custom group title /
410
+ * translation key. Defaults to `'general'`.
411
+ */
412
+ group?: string;
413
+ /** Optional icon rendered beside the label in the sidebar and popover menu. */
414
+ icon?: LucideIcon;
415
+ /** Whether to also show a shortcut to this section in the floating settings popover menu. */
416
+ showInMenu?: boolean;
417
+ /** Component rendered in the main settings page when this section is active. */
418
+ component: ComponentType;
419
+ }
420
+
398
421
  /**
399
422
  * Mirrors Gentiq's state onto the page, for an app whose whole page is Gentiq, such as the
400
423
  * starter: `<html lang>` and `dir` follow the chat's language, `<html>` gets the theme's `light`
@@ -404,6 +427,13 @@ export declare function CreditsBar({ credits, action }: {
404
427
  */
405
428
  export declare function DocumentSync(): null;
406
429
 
430
+ /** Fields available in the Feedback section. */
431
+ export declare interface FeedbackSettingsFields {
432
+ category?: SettingsFieldMode;
433
+ attachment?: SettingsFieldMode;
434
+ [key: string]: SettingsFieldMode | undefined;
435
+ }
436
+
407
437
  /** The built-in renderer of `file` parts: an image's preview, or a file to download. */
408
438
  export declare function FilePart({ part }: FilePartProps): JSX.Element;
409
439
 
@@ -429,6 +459,13 @@ export declare interface FollowUpSuggestionsProps extends FollowUpSuggestions_2
429
459
  className?: string;
430
460
  }
431
461
 
462
+ /** Fields available in the General section. */
463
+ export declare interface GeneralSettingsFields {
464
+ theme?: SettingsFieldMode;
465
+ language?: SettingsFieldMode;
466
+ [key: string]: SettingsFieldMode | undefined;
467
+ }
468
+
432
469
  /**
433
470
  * A whole chat app on the browser's URL: sign-in, the chat with its sidebar, shared
434
471
  * conversations and, when given, the admin panel. It owns the page, so it also keeps the
@@ -498,6 +535,10 @@ export declare interface GentiqComponents {
498
535
  PromptInput?: ComponentType<PromptInputProps>;
499
536
  /** Replaces the welcome / empty-state screen */
500
537
  WelcomeScreen?: ComponentType<WelcomeScreenProps>;
538
+ /**
539
+ * Replaces the pending-reply and thread-loading indicator with a custom loader component.
540
+ */
541
+ Loader?: ComponentType<LoaderProps>;
501
542
  /**
502
543
  * The component for each part type, over Gentiq's: `text`, `reasoning`, `file`, `tool` (any tool
503
544
  * call without its own), `tool-<name>` (one tool's calls), `data-<name>` (a part the backend
@@ -758,8 +799,7 @@ export declare interface HeaderActionConfig {
758
799
  */
759
800
  export declare interface HeaderActionsProps {
760
801
  /**
761
- * Whether the viewport is phone-sized. The logo sits in the middle of the bar, so on a
762
- * phone there is room for about one icon-sized button before it is covered.
802
+ * Whether the viewport is phone-sized.
763
803
  */
764
804
  isMobile: boolean;
765
805
  }
@@ -780,6 +820,15 @@ export declare interface HistoryConfig {
780
820
  showPin?: boolean;
781
821
  }
782
822
 
823
+ declare type LoaderProps = HTMLAttributes<HTMLDivElement> & {
824
+ size?: number;
825
+ /**
826
+ * Indicator variant. Retained for compatibility with custom renderers;
827
+ * Gentiq's built-in loader renders a three-dot acrobatic loop.
828
+ */
829
+ variant?: string;
830
+ };
831
+
783
832
  /**
784
833
  * The strip shown above the chat while maintenance is on. Replace it with
785
834
  * `components.MaintenanceBanner`.
@@ -959,22 +1008,52 @@ export declare type ResolvedSmoothStreaming = Required<UseSmoothTextOptions>;
959
1008
  declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.Root>): JSX.Element;
960
1009
 
961
1010
  /**
962
- * Configuration for the settings dialog sections and fields.
1011
+ * Configuration for the settings dialog sections, popover menu, and custom sections.
963
1012
  */
964
1013
  export declare interface SettingsConfig {
965
1014
  /** Section-specific configurations. */
966
1015
  sections?: {
1016
+ /** General settings section (Theme, Language) */
1017
+ general?: SettingsSectionConfig<GeneralSettingsFields>;
967
1018
  /** Profile settings section (Name, Phone, etc.) */
968
1019
  profile?: SettingsSectionConfig<ProfileSettingsFields>;
969
1020
  /** Account settings section (Balance, Logout, etc.) */
970
1021
  account?: SettingsSectionConfig<AccountSettingsFields>;
1022
+ /** Feedback settings section (Bug reports, Feature requests, etc.) */
1023
+ feedback?: SettingsSectionConfig<FeedbackSettingsFields>;
971
1024
  };
1025
+ /** Which shortcuts and quick actions appear in the floating settings popover menu. */
1026
+ menu?: SettingsMenuConfig;
1027
+ /** Additional settings sections registered by the application. */
1028
+ customSections?: CustomSettingsSection[];
972
1029
  }
973
1030
 
974
1031
  export declare function SettingsDialog({ trigger }: {
975
1032
  trigger?: ReactNode;
976
1033
  }): JSX.Element;
977
1034
 
1035
+ /**
1036
+ * Controls which shortcuts and quick actions appear in the floating settings popover menu.
1037
+ */
1038
+ export declare interface SettingsMenuConfig {
1039
+ /** Whether to show the signed-in user's header at the top of the popover menu. Defaults to `true`. */
1040
+ showUserHeader?: boolean;
1041
+ /** Whether to show a separate Profile item in the popover menu. Defaults to `false` (clicking the user header opens Profile). */
1042
+ showProfile?: boolean;
1043
+ /** Whether to show the Account & Usage item in the popover menu. Defaults to `true`. */
1044
+ showAccount?: boolean;
1045
+ /** Whether to show the Feedback item in the popover menu. Defaults to `true`. */
1046
+ showFeedback?: boolean;
1047
+ /** Whether to show the Settings item in the popover menu. Defaults to `true`. */
1048
+ showSettings?: boolean;
1049
+ /** Whether to show the inline Theme submenu in the popover menu. Defaults to `false`. */
1050
+ showTheme?: boolean;
1051
+ /** Whether to show the inline Language submenu in the popover menu. Defaults to `false`. */
1052
+ showLanguage?: boolean;
1053
+ /** Whether to show the Logout action in the popover menu. Defaults to `true`. */
1054
+ showLogout?: boolean;
1055
+ }
1056
+
978
1057
  /**
979
1058
  * Configuration for a single settings section (tab).
980
1059
  */