@alfadocs/ui-kit 1.39.0 → 1.40.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 (77) hide show
  1. package/dist/_chunks/{ai-consent-banner-DvtaM3yg.js → ai-consent-banner-D7I2U-cz.js} +37 -36
  2. package/dist/_chunks/{booking-Dn3jvv3K.js → booking-D43ASl8y.js} +1109 -1103
  3. package/dist/_chunks/{calendar-workspace-B-fUbm62.js → calendar-workspace-SN23GsXX.js} +2154 -2148
  4. package/dist/_chunks/{notes-panel-CAD1Ytcj.js → notes-panel-CmTqIWlS.js} +76 -73
  5. package/dist/_chunks/{rich-text-editor-C6fE-uP4.js → rich-text-editor-BJ1-Lkao.js} +1023 -931
  6. package/dist/agent-catalog.json +1 -1
  7. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +9 -0
  8. package/dist/components/ai-consent-banner/index.d.ts +1 -1
  9. package/dist/components/ai-consent-banner/index.js +1 -1
  10. package/dist/components/booking/booking-types.d.ts +6 -0
  11. package/dist/components/booking/cascade.d.ts +6 -0
  12. package/dist/components/booking/index.js +1 -1
  13. package/dist/components/notes-panel/index.d.ts +1 -0
  14. package/dist/components/notes-panel/index.js +1 -1
  15. package/dist/components/notes-panel/notes-panel.d.ts +8 -1
  16. package/dist/components/rich-text-editor/index.d.ts +1 -1
  17. package/dist/components/rich-text-editor/index.js +1 -1
  18. package/dist/components/rich-text-editor/rich-text-editor.d.ts +48 -0
  19. package/dist/i18n/locales/ar.d.ts +13 -11
  20. package/dist/i18n/locales/ar.js +14 -12
  21. package/dist/i18n/locales/de.d.ts +13 -11
  22. package/dist/i18n/locales/de.js +14 -12
  23. package/dist/i18n/locales/el.d.ts +13 -11
  24. package/dist/i18n/locales/el.js +14 -12
  25. package/dist/i18n/locales/en.d.ts +2 -0
  26. package/dist/i18n/locales/en.js +3 -1
  27. package/dist/i18n/locales/es.d.ts +13 -11
  28. package/dist/i18n/locales/es.js +14 -12
  29. package/dist/i18n/locales/fr.d.ts +13 -11
  30. package/dist/i18n/locales/fr.js +14 -12
  31. package/dist/i18n/locales/hi.d.ts +13 -11
  32. package/dist/i18n/locales/hi.js +14 -12
  33. package/dist/i18n/locales/it.d.ts +13 -11
  34. package/dist/i18n/locales/it.js +14 -12
  35. package/dist/i18n/locales/ja.d.ts +13 -11
  36. package/dist/i18n/locales/ja.js +14 -12
  37. package/dist/i18n/locales/nl.d.ts +13 -11
  38. package/dist/i18n/locales/nl.js +14 -12
  39. package/dist/i18n/locales/pl.d.ts +13 -11
  40. package/dist/i18n/locales/pl.js +14 -12
  41. package/dist/i18n/locales/pt.d.ts +13 -11
  42. package/dist/i18n/locales/pt.js +14 -12
  43. package/dist/i18n/locales/ro.d.ts +13 -11
  44. package/dist/i18n/locales/ro.js +14 -12
  45. package/dist/i18n/locales/ru.d.ts +13 -11
  46. package/dist/i18n/locales/ru.js +14 -12
  47. package/dist/i18n/locales/sq.d.ts +13 -11
  48. package/dist/i18n/locales/sq.js +14 -12
  49. package/dist/i18n/locales/sv.d.ts +13 -11
  50. package/dist/i18n/locales/sv.js +14 -12
  51. package/dist/i18n/locales/tr.d.ts +13 -11
  52. package/dist/i18n/locales/tr.js +14 -12
  53. package/dist/i18n/locales/zh.d.ts +13 -11
  54. package/dist/i18n/locales/zh.js +14 -12
  55. package/dist/index.js +5 -5
  56. package/dist/locales/ar.json +14 -12
  57. package/dist/locales/de.json +14 -12
  58. package/dist/locales/el.json +14 -12
  59. package/dist/locales/en.json +3 -1
  60. package/dist/locales/es.json +14 -12
  61. package/dist/locales/fr.json +14 -12
  62. package/dist/locales/hi.json +14 -12
  63. package/dist/locales/it.json +14 -12
  64. package/dist/locales/ja.json +14 -12
  65. package/dist/locales/nl.json +14 -12
  66. package/dist/locales/pl.json +14 -12
  67. package/dist/locales/pt.json +14 -12
  68. package/dist/locales/ro.json +14 -12
  69. package/dist/locales/ru.json +14 -12
  70. package/dist/locales/sq.json +14 -12
  71. package/dist/locales/sv.json +14 -12
  72. package/dist/locales/tr.json +14 -12
  73. package/dist/locales/zh.json +14 -12
  74. package/dist/patterns/calendar/calendar.journey.d.ts +9 -1
  75. package/dist/patterns/calendar/calendar.sheets.d.ts +6 -1
  76. package/dist/patterns/calendar/index.js +1 -1
  77. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.39.0",
3
+ "packageVersion": "1.40.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -4,6 +4,8 @@ declare const rootVariants: (props?: ({
4
4
  state?: "required" | "pending" | "granted" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  export type AiConsentState = NonNullable<VariantProps<typeof rootVariants>['state']>;
7
+ /** Heading levels `AiConsentBanner.headingLevel` accepts. */
8
+ export type AiConsentBannerHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
7
9
  /** Agent-readiness curated handle. Exposes the structural consent state only. */
8
10
  export interface AiConsentBannerHandle {
9
11
  /** Current derived state: 'granted' | 'required' | 'pending'. */
@@ -37,6 +39,13 @@ export interface AiConsentBannerProps extends Omit<ComponentPropsWithoutRef<'div
37
39
  pending?: boolean;
38
40
  /** Fired when the operator confirms the consent grant. */
39
41
  onGrantConsent?: () => void;
42
+ /**
43
+ * Heading level for the banner's own title, so it can be nested under a
44
+ * host section's heading without skipping levels (axe `heading-order`).
45
+ * Additive: default `5` matches the banner's original, unconditional
46
+ * `<h5>` — every existing consumer is unaffected.
47
+ */
48
+ headingLevel?: AiConsentBannerHeadingLevel;
40
49
  /** Override the region's accessible name. */
41
50
  'aria-label'?: string;
42
51
  }
@@ -1,4 +1,4 @@
1
1
  export { AiConsentBanner } from './ai-consent-banner';
2
- export type { AiConsentBannerProps, AiConsentBannerHandle, AiConsentState, } from './ai-consent-banner';
2
+ export type { AiConsentBannerProps, AiConsentBannerHandle, AiConsentState, AiConsentBannerHeadingLevel, } from './ai-consent-banner';
3
3
  export { aiConsentBannerAgent } from './ai-consent-banner.agent';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { A as e, a as o } from "../../_chunks/ai-consent-banner-DvtaM3yg.js";
1
+ import { A as e, a as o } from "../../_chunks/ai-consent-banner-D7I2U-cz.js";
2
2
  export {
3
3
  e as AiConsentBanner,
4
4
  o as aiConsentBannerAgent
@@ -159,6 +159,12 @@ export interface BookingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'ari
159
159
  allowOperatorSelection?: boolean;
160
160
  /** Pins step 4 to this operator. */
161
161
  lockedOperatorId?: string;
162
+ /**
163
+ * Default: false. When true, the operators offered for a service are the
164
+ * ones linked to that service, even when specialties are on. The specialty
165
+ * only groups services.
166
+ */
167
+ operatorsByService?: boolean;
162
168
  specialties?: BookingSpecialty[];
163
169
  services: BookingService[];
164
170
  operators?: BookingOperator[];
@@ -15,6 +15,12 @@ export interface CascadePolicy {
15
15
  lockedOperatorId?: string;
16
16
  /** Defaults to `false`. When true, single-service lists auto-pre-fill. */
17
17
  autoSelectSingleService?: boolean;
18
+ /**
19
+ * Defaults to `false`. When true, the operators offered come from the
20
+ * chosen service (`appointmentBookingReasonIds`) even when specialties are
21
+ * on; the specialty only groups services. Added in 1.40.0.
22
+ */
23
+ operatorsByService?: boolean;
18
24
  }
19
25
  export interface CascadeInputs extends CascadePolicy {
20
26
  specialties: BookingSpecialty[];
@@ -1,4 +1,4 @@
1
- import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-Dn3jvv3K.js";
1
+ import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-D43ASl8y.js";
2
2
  export {
3
3
  A as Booking,
4
4
  R as CONFIRMATION_CHANNEL_ORDER,
@@ -1,3 +1,4 @@
1
1
  export { NotesPanel } from './notes-panel';
2
2
  export type { NotesPanelProps, NotesPanelNote, NotesPanelNoteActions, NotesPanelSubmission, } from './notes-panel';
3
+ export type { AiConsentGate } from '../rich-text-editor';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { N as a } from "../../_chunks/notes-panel-CAD1Ytcj.js";
1
+ import { N as a } from "../../_chunks/notes-panel-CmTqIWlS.js";
2
2
  export {
3
3
  a as NotesPanel
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { type HTMLAttributes, type ReactNode } from 'react';
2
2
  import type { ClinicalNoteCardProps } from '../clinical-note-card';
3
- import type { RichTextEditorProps, RichTextEditorToolbar, RedactorFactory } from '../rich-text-editor';
3
+ import type { RichTextEditorProps, RichTextEditorToolbar, RedactorFactory, AiConsentGate } from '../rich-text-editor';
4
4
  /**
5
5
  * One note in the panel — the data subset of `ClinicalNoteCard`.
6
6
  *
@@ -138,6 +138,13 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
138
138
  onDictate?: RichTextEditorProps['onDictate'];
139
139
  onProofread?: RichTextEditorProps['onProofread'];
140
140
  onAutoFormat?: RichTextEditorProps['onAutoFormat'];
141
+ /**
142
+ * Patient AI-consent gate for Help-me-write + both mics, forwarded
143
+ * straight to the rich composer. See `AiConsentGate`. Omit for today's
144
+ * ungated behaviour. Ignored by the `'plain'` composer (it offers
145
+ * neither affordance).
146
+ */
147
+ aiConsent?: AiConsentGate;
141
148
  /** Toggle a note's pinned state — renders an inline pin button per note. */
142
149
  onTogglePin?: (id: string) => void;
143
150
  /** Toggle a note's flagged state — renders an inline flag button per note. */
@@ -1,4 +1,4 @@
1
1
  export { RichTextEditor, wrapperVariants } from './rich-text-editor';
2
- export type { RichTextEditorHandle, RichTextEditorProps, RichTextEditorToolbar, RedactorFactory, } from './rich-text-editor';
2
+ export type { RichTextEditorHandle, RichTextEditorProps, RichTextEditorToolbar, RedactorFactory, AiConsentGate, } from './rich-text-editor';
3
3
  export { richTextEditorAgent } from './rich-text-editor.agent';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-C6fE-uP4.js";
1
+ import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-BJ1-Lkao.js";
2
2
  export {
3
3
  a as RichTextEditor,
4
4
  e as richTextEditorAgent,
@@ -1,7 +1,41 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import '../../tokens/themes/bridges/redactor-theme.css';
3
+ import { type AiConsentBannerHeadingLevel } from '../ai-consent-banner';
3
4
  export type RedactorFactory = (selector: string | HTMLElement, command?: unknown, ...args: unknown[]) => unknown;
4
5
  export type RichTextEditorToolbar = 'minimal' | 'standard' | 'full';
6
+ /**
7
+ * Patient AI-consent gate for the Help-me-write action and both dictation
8
+ * mics (the editor's own, and the one inside the Help-me-write overlay).
9
+ * Omit entirely for today's ungated behaviour — no existing host breaks.
10
+ *
11
+ * Present and `granted: false`: the affordances stay visible (this never
12
+ * hides a control), but opening one shows the kit's `AiConsentBanner` in
13
+ * the same docked slot instead of calling `onRequestAiDraft` / `onDictate`.
14
+ * When `granted` flips `true` the reader carries on without reopening
15
+ * anything — the editor resumes exactly the action it gated.
16
+ *
17
+ * Present and `granted: true`: normal behaviour, and the Help-me-write
18
+ * privacy notice records that consent was given.
19
+ */
20
+ export interface AiConsentGate {
21
+ /** Whether AI consent has already been recorded for the current patient. */
22
+ granted: boolean;
23
+ /** When consent was granted — passed straight to `AiConsentBanner`. */
24
+ grantedAt?: string | number | Date;
25
+ /** Who granted consent — passed straight to `AiConsentBanner`. */
26
+ grantedBy?: string;
27
+ /** Whether the signed-in reader may grant consent. Default `true`; treated
28
+ * as `false` when `onGrant` is absent, so no dead Grant control shows. */
29
+ canGrant?: boolean;
30
+ /** The grant is being persisted server-side (host-driven busy state). */
31
+ pending?: boolean;
32
+ /**
33
+ * Fired when the reader confirms the grant in the banner. A returned
34
+ * promise drives the banner's own pending/Spinner state until it settles,
35
+ * in addition to (or absent) a host-supplied `pending`.
36
+ */
37
+ onGrant?: () => void | Promise<void>;
38
+ }
5
39
  export interface RichTextEditorProps {
6
40
  /** Opaque instance id — emitted as `data-component-id` for the agent registry. */
7
41
  id?: string;
@@ -54,6 +88,20 @@ export interface RichTextEditorProps {
54
88
  aiDraftFormat?: 'html' | 'text';
55
89
  /** Override the compliance notice shown in the Help-me-write dialog. */
56
90
  aiPrivacyNotice?: ReactNode;
91
+ /**
92
+ * Patient AI-consent gate for Help-me-write + both mics. See
93
+ * `AiConsentGate`. Omit for today's ungated behaviour.
94
+ */
95
+ aiConsent?: AiConsentGate;
96
+ /**
97
+ * Heading level for the `AiConsentBanner` shown while the gate is open —
98
+ * forwarded straight to its own `headingLevel` so it nests correctly under
99
+ * whatever heading the host has above this editor (axe `heading-order`).
100
+ * Default `5` (the banner's own default) suits a standalone editor with no
101
+ * heading directly above it; a host wrapping the editor under its own
102
+ * heading (e.g. `NotesPanel`'s `h2`) should pass one level below it.
103
+ */
104
+ aiConsentHeadingLevel?: AiConsentBannerHeadingLevel;
57
105
  /**
58
106
  * Voice dictation. When provided, a DS mic toggle + live-transcript region
59
107
  * appear. The kit owns the UI; the consumer runs mic capture + transcription
@@ -2372,21 +2372,21 @@ export declare const arUi: {
2372
2372
  readonly openNote: "فتح ملاحظة · {{date}}";
2373
2373
  };
2374
2374
  readonly aiConsentBanner: {
2375
- readonly regionLabel: "AI assistance consent";
2376
- readonly title: "AI assistance consent";
2375
+ readonly regionLabel: "موافقة المساعدة بالذكاء الاصطناعي";
2376
+ readonly title: "موافقة المساعدة بالذكاء الاصطناعي";
2377
2377
  readonly description: {
2378
- readonly granted: "AI assistance is enabled for this record.";
2379
- readonly required: "AI assistance requires recorded consent before it can run.";
2378
+ readonly granted: "المساعدة بالذكاء الاصطناعي مفعّلة لهذا السجل.";
2379
+ readonly required: "تتطلب المساعدة بالذكاء الاصطناعي موافقة مسجّلة قبل أن تعمل.";
2380
2380
  };
2381
2381
  readonly badge: {
2382
- readonly granted: "Consent granted";
2382
+ readonly granted: "تم منح الموافقة";
2383
2383
  };
2384
- readonly grantedAtPrefix: "Granted";
2385
- readonly grantedBy: "By {{name}}";
2386
- readonly pendingLabel: "Saving consent…";
2387
- readonly confirmLabel: "I confirm consent has been obtained for AI assistance.";
2388
- readonly grantButton: "Grant consent";
2389
- readonly notAllowed: "You do not have permission to grant AI assistance consent.";
2384
+ readonly grantedAtPrefix: "مُنحت";
2385
+ readonly grantedBy: "بواسطة {{name}}";
2386
+ readonly pendingLabel: "جارٍ حفظ الموافقة…";
2387
+ readonly confirmLabel: "أؤكد أنه تم الحصول على الموافقة على المساعدة بالذكاء الاصطناعي.";
2388
+ readonly grantButton: "منح الموافقة";
2389
+ readonly notAllowed: "ليست لديك صلاحية لمنح الموافقة على المساعدة بالذكاء الاصطناعي.";
2390
2390
  };
2391
2391
  readonly paymentCard: {
2392
2392
  readonly regionLabel: "Payment {{number}}";
@@ -2882,6 +2882,8 @@ export declare const arUi: {
2882
2882
  readonly dictationError: "فشل الإملاء. أعد المحاولة.";
2883
2883
  readonly proofread: "التدقيق الإملائي والنحوي";
2884
2884
  readonly autoFormat: "تنسيق المستند تلقائيًا";
2885
+ readonly consentRecorded: "تم تسجيل الموافقة على المساعدة بالذكاء الاصطناعي.";
2886
+ readonly consentRegionLabel: "موافقة المساعدة بالذكاء الاصطناعي لهذا المستند";
2885
2887
  };
2886
2888
  };
2887
2889
  readonly payment: {
@@ -2346,21 +2346,21 @@ const e = {
2346
2346
  openNote: "فتح ملاحظة · {{date}}"
2347
2347
  },
2348
2348
  aiConsentBanner: {
2349
- regionLabel: "AI assistance consent",
2350
- title: "AI assistance consent",
2349
+ regionLabel: "موافقة المساعدة بالذكاء الاصطناعي",
2350
+ title: "موافقة المساعدة بالذكاء الاصطناعي",
2351
2351
  description: {
2352
- granted: "AI assistance is enabled for this record.",
2353
- required: "AI assistance requires recorded consent before it can run."
2352
+ granted: "المساعدة بالذكاء الاصطناعي مفعّلة لهذا السجل.",
2353
+ required: "تتطلب المساعدة بالذكاء الاصطناعي موافقة مسجّلة قبل أن تعمل."
2354
2354
  },
2355
2355
  badge: {
2356
- granted: "Consent granted"
2356
+ granted: "تم منح الموافقة"
2357
2357
  },
2358
- grantedAtPrefix: "Granted",
2359
- grantedBy: "By {{name}}",
2360
- pendingLabel: "Saving consent…",
2361
- confirmLabel: "I confirm consent has been obtained for AI assistance.",
2362
- grantButton: "Grant consent",
2363
- notAllowed: "You do not have permission to grant AI assistance consent."
2358
+ grantedAtPrefix: "مُنحت",
2359
+ grantedBy: "بواسطة {{name}}",
2360
+ pendingLabel: "جارٍ حفظ الموافقة…",
2361
+ confirmLabel: "أؤكد أنه تم الحصول على الموافقة على المساعدة بالذكاء الاصطناعي.",
2362
+ grantButton: "منح الموافقة",
2363
+ notAllowed: "ليست لديك صلاحية لمنح الموافقة على المساعدة بالذكاء الاصطناعي."
2364
2364
  },
2365
2365
  paymentCard: {
2366
2366
  regionLabel: "Payment {{number}}",
@@ -2855,7 +2855,9 @@ const e = {
2855
2855
  listening: "يستمع…",
2856
2856
  dictationError: "فشل الإملاء. أعد المحاولة.",
2857
2857
  proofread: "التدقيق الإملائي والنحوي",
2858
- autoFormat: "تنسيق المستند تلقائيًا"
2858
+ autoFormat: "تنسيق المستند تلقائيًا",
2859
+ consentRecorded: "تم تسجيل الموافقة على المساعدة بالذكاء الاصطناعي.",
2860
+ consentRegionLabel: "موافقة المساعدة بالذكاء الاصطناعي لهذا المستند"
2859
2861
  }
2860
2862
  },
2861
2863
  payment: {
@@ -2372,21 +2372,21 @@ export declare const deUi: {
2372
2372
  readonly openNote: "Notiz öffnen · {{date}}";
2373
2373
  };
2374
2374
  readonly aiConsentBanner: {
2375
- readonly regionLabel: "AI assistance consent";
2376
- readonly title: "AI assistance consent";
2375
+ readonly regionLabel: "Einwilligung zur KI-Unterstützung";
2376
+ readonly title: "Einwilligung zur KI-Unterstützung";
2377
2377
  readonly description: {
2378
- readonly granted: "AI assistance is enabled for this record.";
2379
- readonly required: "AI assistance requires recorded consent before it can run.";
2378
+ readonly granted: "Die KI-Unterstützung ist für diesen Datensatz aktiviert.";
2379
+ readonly required: "Die KI-Unterstützung erfordert eine erteilte Einwilligung, bevor sie ausgeführt werden kann.";
2380
2380
  };
2381
2381
  readonly badge: {
2382
- readonly granted: "Consent granted";
2382
+ readonly granted: "Einwilligung erteilt";
2383
2383
  };
2384
- readonly grantedAtPrefix: "Granted";
2385
- readonly grantedBy: "By {{name}}";
2386
- readonly pendingLabel: "Saving consent…";
2387
- readonly confirmLabel: "I confirm consent has been obtained for AI assistance.";
2388
- readonly grantButton: "Grant consent";
2389
- readonly notAllowed: "You do not have permission to grant AI assistance consent.";
2384
+ readonly grantedAtPrefix: "Erteilt";
2385
+ readonly grantedBy: "Von {{name}}";
2386
+ readonly pendingLabel: "Einwilligung wird gespeichert …";
2387
+ readonly confirmLabel: "Ich bestätige, dass die Einwilligung zur KI-Unterstützung eingeholt wurde.";
2388
+ readonly grantButton: "Einwilligung erteilen";
2389
+ readonly notAllowed: "Sie haben keine Berechtigung, die Einwilligung zur KI-Unterstützung zu erteilen.";
2390
2390
  };
2391
2391
  readonly paymentCard: {
2392
2392
  readonly regionLabel: "Payment {{number}}";
@@ -2882,6 +2882,8 @@ export declare const deUi: {
2882
2882
  readonly dictationError: "Diktat fehlgeschlagen. Bitte erneut versuchen.";
2883
2883
  readonly proofread: "Rechtschreibung & Grammatik prüfen";
2884
2884
  readonly autoFormat: "Dokument automatisch formatieren";
2885
+ readonly consentRecorded: "Die Einwilligung zur KI-Unterstützung wurde erfasst.";
2886
+ readonly consentRegionLabel: "Einwilligung zur KI-Unterstützung für dieses Dokument";
2885
2887
  };
2886
2888
  };
2887
2889
  readonly payment: {
@@ -2347,21 +2347,21 @@ const e = {
2347
2347
  openNote: "Notiz öffnen · {{date}}"
2348
2348
  },
2349
2349
  aiConsentBanner: {
2350
- regionLabel: "AI assistance consent",
2351
- title: "AI assistance consent",
2350
+ regionLabel: "Einwilligung zur KI-Unterstützung",
2351
+ title: "Einwilligung zur KI-Unterstützung",
2352
2352
  description: {
2353
- granted: "AI assistance is enabled for this record.",
2354
- required: "AI assistance requires recorded consent before it can run."
2353
+ granted: "Die KI-Unterstützung ist für diesen Datensatz aktiviert.",
2354
+ required: "Die KI-Unterstützung erfordert eine erteilte Einwilligung, bevor sie ausgeführt werden kann."
2355
2355
  },
2356
2356
  badge: {
2357
- granted: "Consent granted"
2357
+ granted: "Einwilligung erteilt"
2358
2358
  },
2359
- grantedAtPrefix: "Granted",
2360
- grantedBy: "By {{name}}",
2361
- pendingLabel: "Saving consent…",
2362
- confirmLabel: "I confirm consent has been obtained for AI assistance.",
2363
- grantButton: "Grant consent",
2364
- notAllowed: "You do not have permission to grant AI assistance consent."
2359
+ grantedAtPrefix: "Erteilt",
2360
+ grantedBy: "Von {{name}}",
2361
+ pendingLabel: "Einwilligung wird gespeichert …",
2362
+ confirmLabel: "Ich bestätige, dass die Einwilligung zur KI-Unterstützung eingeholt wurde.",
2363
+ grantButton: "Einwilligung erteilen",
2364
+ notAllowed: "Sie haben keine Berechtigung, die Einwilligung zur KI-Unterstützung zu erteilen."
2365
2365
  },
2366
2366
  paymentCard: {
2367
2367
  regionLabel: "Payment {{number}}",
@@ -2856,7 +2856,9 @@ const e = {
2856
2856
  listening: "Aufnahme läuft …",
2857
2857
  dictationError: "Diktat fehlgeschlagen. Bitte erneut versuchen.",
2858
2858
  proofread: "Rechtschreibung & Grammatik prüfen",
2859
- autoFormat: "Dokument automatisch formatieren"
2859
+ autoFormat: "Dokument automatisch formatieren",
2860
+ consentRecorded: "Die Einwilligung zur KI-Unterstützung wurde erfasst.",
2861
+ consentRegionLabel: "Einwilligung zur KI-Unterstützung für dieses Dokument"
2860
2862
  }
2861
2863
  },
2862
2864
  payment: {
@@ -2369,21 +2369,21 @@ export declare const elUi: {
2369
2369
  readonly openNote: "Άνοιγμα σημείωσης · {{date}}";
2370
2370
  };
2371
2371
  readonly aiConsentBanner: {
2372
- readonly regionLabel: "AI assistance consent";
2373
- readonly title: "AI assistance consent";
2372
+ readonly regionLabel: "Συναίνεση για υποστήριξη AI";
2373
+ readonly title: "Συναίνεση για υποστήριξη AI";
2374
2374
  readonly description: {
2375
- readonly granted: "AI assistance is enabled for this record.";
2376
- readonly required: "AI assistance requires recorded consent before it can run.";
2375
+ readonly granted: "Η υποστήριξη AI είναι ενεργοποιημένη για αυτήν την εγγραφή.";
2376
+ readonly required: "Η υποστήριξη AI απαιτεί καταγεγραμμένη συναίνεση πριν εκτελεστεί.";
2377
2377
  };
2378
2378
  readonly badge: {
2379
- readonly granted: "Consent granted";
2379
+ readonly granted: "Η συναίνεση δόθηκε";
2380
2380
  };
2381
- readonly grantedAtPrefix: "Granted";
2382
- readonly grantedBy: "By {{name}}";
2383
- readonly pendingLabel: "Saving consent…";
2384
- readonly confirmLabel: "I confirm consent has been obtained for AI assistance.";
2385
- readonly grantButton: "Grant consent";
2386
- readonly notAllowed: "You do not have permission to grant AI assistance consent.";
2381
+ readonly grantedAtPrefix: "Δόθηκε";
2382
+ readonly grantedBy: "Από {{name}}";
2383
+ readonly pendingLabel: "Αποθήκευση συναίνεσης…";
2384
+ readonly confirmLabel: "Επιβεβαιώνω ότι έχει ληφθεί συναίνεση για την υποστήριξη AI.";
2385
+ readonly grantButton: "Παροχή συναίνεσης";
2386
+ readonly notAllowed: "Δεν έχετε δικαίωμα να παράσχετε συναίνεση για την υποστήριξη AI.";
2387
2387
  };
2388
2388
  readonly paymentCard: {
2389
2389
  readonly regionLabel: "Payment {{number}}";
@@ -2879,6 +2879,8 @@ export declare const elUi: {
2879
2879
  readonly dictationError: "Η υπαγόρευση απέτυχε. Δοκιμάστε ξανά.";
2880
2880
  readonly proofread: "Έλεγχος ορθογραφίας και γραμματικής";
2881
2881
  readonly autoFormat: "Αυτόματη μορφοποίηση εγγράφου";
2882
+ readonly consentRecorded: "Η συναίνεση για την υποστήριξη AI έχει καταγραφεί.";
2883
+ readonly consentRegionLabel: "Συναίνεση υποστήριξης AI για αυτό το έγγραφο";
2882
2884
  };
2883
2885
  };
2884
2886
  readonly payment: {
@@ -2353,21 +2353,21 @@ const e = {
2353
2353
  openNote: "Άνοιγμα σημείωσης · {{date}}"
2354
2354
  },
2355
2355
  aiConsentBanner: {
2356
- regionLabel: "AI assistance consent",
2357
- title: "AI assistance consent",
2356
+ regionLabel: "Συναίνεση για υποστήριξη AI",
2357
+ title: "Συναίνεση για υποστήριξη AI",
2358
2358
  description: {
2359
- granted: "AI assistance is enabled for this record.",
2360
- required: "AI assistance requires recorded consent before it can run."
2359
+ granted: "Η υποστήριξη AI είναι ενεργοποιημένη για αυτήν την εγγραφή.",
2360
+ required: "Η υποστήριξη AI απαιτεί καταγεγραμμένη συναίνεση πριν εκτελεστεί."
2361
2361
  },
2362
2362
  badge: {
2363
- granted: "Consent granted"
2363
+ granted: "Η συναίνεση δόθηκε"
2364
2364
  },
2365
- grantedAtPrefix: "Granted",
2366
- grantedBy: "By {{name}}",
2367
- pendingLabel: "Saving consent…",
2368
- confirmLabel: "I confirm consent has been obtained for AI assistance.",
2369
- grantButton: "Grant consent",
2370
- notAllowed: "You do not have permission to grant AI assistance consent."
2365
+ grantedAtPrefix: "Δόθηκε",
2366
+ grantedBy: "Από {{name}}",
2367
+ pendingLabel: "Αποθήκευση συναίνεσης…",
2368
+ confirmLabel: "Επιβεβαιώνω ότι έχει ληφθεί συναίνεση για την υποστήριξη AI.",
2369
+ grantButton: "Παροχή συναίνεσης",
2370
+ notAllowed: "Δεν έχετε δικαίωμα να παράσχετε συναίνεση για την υποστήριξη AI."
2371
2371
  },
2372
2372
  paymentCard: {
2373
2373
  regionLabel: "Payment {{number}}",
@@ -2862,7 +2862,9 @@ const e = {
2862
2862
  listening: "Ακρόαση…",
2863
2863
  dictationError: "Η υπαγόρευση απέτυχε. Δοκιμάστε ξανά.",
2864
2864
  proofread: "Έλεγχος ορθογραφίας και γραμματικής",
2865
- autoFormat: "Αυτόματη μορφοποίηση εγγράφου"
2865
+ autoFormat: "Αυτόματη μορφοποίηση εγγράφου",
2866
+ consentRecorded: "Η συναίνεση για την υποστήριξη AI έχει καταγραφεί.",
2867
+ consentRegionLabel: "Συναίνεση υποστήριξης AI για αυτό το έγγραφο"
2866
2868
  }
2867
2869
  },
2868
2870
  payment: {
@@ -2890,6 +2890,8 @@ export declare const enUi: {
2890
2890
  readonly dictationError: "Dictation failed. Please try again.";
2891
2891
  readonly proofread: "Check spelling & grammar";
2892
2892
  readonly autoFormat: "Auto-format document";
2893
+ readonly consentRecorded: "AI assistance consent has been recorded.";
2894
+ readonly consentRegionLabel: "AI assistance consent for this document";
2893
2895
  };
2894
2896
  };
2895
2897
  readonly payment: {
@@ -2872,7 +2872,9 @@ const e = {
2872
2872
  listening: "Listening…",
2873
2873
  dictationError: "Dictation failed. Please try again.",
2874
2874
  proofread: "Check spelling & grammar",
2875
- autoFormat: "Auto-format document"
2875
+ autoFormat: "Auto-format document",
2876
+ consentRecorded: "AI assistance consent has been recorded.",
2877
+ consentRegionLabel: "AI assistance consent for this document"
2876
2878
  }
2877
2879
  },
2878
2880
  payment: {
@@ -2369,21 +2369,21 @@ export declare const esUi: {
2369
2369
  readonly openNote: "Abrir nota · {{date}}";
2370
2370
  };
2371
2371
  readonly aiConsentBanner: {
2372
- readonly regionLabel: "AI assistance consent";
2373
- readonly title: "AI assistance consent";
2372
+ readonly regionLabel: "Consentimiento de asistencia de IA";
2373
+ readonly title: "Consentimiento de asistencia de IA";
2374
2374
  readonly description: {
2375
- readonly granted: "AI assistance is enabled for this record.";
2376
- readonly required: "AI assistance requires recorded consent before it can run.";
2375
+ readonly granted: "La asistencia de IA está habilitada para este registro.";
2376
+ readonly required: "La asistencia de IA requiere un consentimiento registrado antes de poder ejecutarse.";
2377
2377
  };
2378
2378
  readonly badge: {
2379
- readonly granted: "Consent granted";
2379
+ readonly granted: "Consentimiento otorgado";
2380
2380
  };
2381
- readonly grantedAtPrefix: "Granted";
2382
- readonly grantedBy: "By {{name}}";
2383
- readonly pendingLabel: "Saving consent…";
2384
- readonly confirmLabel: "I confirm consent has been obtained for AI assistance.";
2385
- readonly grantButton: "Grant consent";
2386
- readonly notAllowed: "You do not have permission to grant AI assistance consent.";
2381
+ readonly grantedAtPrefix: "Otorgado";
2382
+ readonly grantedBy: "Por {{name}}";
2383
+ readonly pendingLabel: "Guardando el consentimiento…";
2384
+ readonly confirmLabel: "Confirmo que se ha obtenido el consentimiento para la asistencia de IA.";
2385
+ readonly grantButton: "Otorgar consentimiento";
2386
+ readonly notAllowed: "No tienes permiso para otorgar el consentimiento de asistencia de IA.";
2387
2387
  };
2388
2388
  readonly paymentCard: {
2389
2389
  readonly regionLabel: "Payment {{number}}";
@@ -2879,6 +2879,8 @@ export declare const esUi: {
2879
2879
  readonly dictationError: "El dictado ha fallado. Inténtelo de nuevo.";
2880
2880
  readonly proofread: "Revisar ortografía y gramática";
2881
2881
  readonly autoFormat: "Formatear documento automáticamente";
2882
+ readonly consentRecorded: "Se ha registrado el consentimiento de asistencia de IA.";
2883
+ readonly consentRegionLabel: "Consentimiento de asistencia de IA para este documento";
2882
2884
  };
2883
2885
  };
2884
2886
  readonly payment: {
@@ -2344,21 +2344,21 @@ const e = {
2344
2344
  openNote: "Abrir nota · {{date}}"
2345
2345
  },
2346
2346
  aiConsentBanner: {
2347
- regionLabel: "AI assistance consent",
2348
- title: "AI assistance consent",
2347
+ regionLabel: "Consentimiento de asistencia de IA",
2348
+ title: "Consentimiento de asistencia de IA",
2349
2349
  description: {
2350
- granted: "AI assistance is enabled for this record.",
2351
- required: "AI assistance requires recorded consent before it can run."
2350
+ granted: "La asistencia de IA está habilitada para este registro.",
2351
+ required: "La asistencia de IA requiere un consentimiento registrado antes de poder ejecutarse."
2352
2352
  },
2353
2353
  badge: {
2354
- granted: "Consent granted"
2354
+ granted: "Consentimiento otorgado"
2355
2355
  },
2356
- grantedAtPrefix: "Granted",
2357
- grantedBy: "By {{name}}",
2358
- pendingLabel: "Saving consent…",
2359
- confirmLabel: "I confirm consent has been obtained for AI assistance.",
2360
- grantButton: "Grant consent",
2361
- notAllowed: "You do not have permission to grant AI assistance consent."
2356
+ grantedAtPrefix: "Otorgado",
2357
+ grantedBy: "Por {{name}}",
2358
+ pendingLabel: "Guardando el consentimiento…",
2359
+ confirmLabel: "Confirmo que se ha obtenido el consentimiento para la asistencia de IA.",
2360
+ grantButton: "Otorgar consentimiento",
2361
+ notAllowed: "No tienes permiso para otorgar el consentimiento de asistencia de IA."
2362
2362
  },
2363
2363
  paymentCard: {
2364
2364
  regionLabel: "Payment {{number}}",
@@ -2853,7 +2853,9 @@ const e = {
2853
2853
  listening: "Escuchando…",
2854
2854
  dictationError: "El dictado ha fallado. Inténtelo de nuevo.",
2855
2855
  proofread: "Revisar ortografía y gramática",
2856
- autoFormat: "Formatear documento automáticamente"
2856
+ autoFormat: "Formatear documento automáticamente",
2857
+ consentRecorded: "Se ha registrado el consentimiento de asistencia de IA.",
2858
+ consentRegionLabel: "Consentimiento de asistencia de IA para este documento"
2857
2859
  }
2858
2860
  },
2859
2861
  payment: {
@@ -2369,21 +2369,21 @@ export declare const frUi: {
2369
2369
  readonly openNote: "Ouvrir la note · {{date}}";
2370
2370
  };
2371
2371
  readonly aiConsentBanner: {
2372
- readonly regionLabel: "AI assistance consent";
2373
- readonly title: "AI assistance consent";
2372
+ readonly regionLabel: "Consentement à l’assistance IA";
2373
+ readonly title: "Consentement à l’assistance IA";
2374
2374
  readonly description: {
2375
- readonly granted: "AI assistance is enabled for this record.";
2376
- readonly required: "AI assistance requires recorded consent before it can run.";
2375
+ readonly granted: "L’assistance IA est activée pour ce dossier.";
2376
+ readonly required: "L’assistance IA nécessite un consentement enregistré avant de pouvoir s’exécuter.";
2377
2377
  };
2378
2378
  readonly badge: {
2379
- readonly granted: "Consent granted";
2379
+ readonly granted: "Consentement accordé";
2380
2380
  };
2381
- readonly grantedAtPrefix: "Granted";
2382
- readonly grantedBy: "By {{name}}";
2383
- readonly pendingLabel: "Saving consent…";
2384
- readonly confirmLabel: "I confirm consent has been obtained for AI assistance.";
2385
- readonly grantButton: "Grant consent";
2386
- readonly notAllowed: "You do not have permission to grant AI assistance consent.";
2381
+ readonly grantedAtPrefix: "Accordé";
2382
+ readonly grantedBy: "Par {{name}}";
2383
+ readonly pendingLabel: "Enregistrement du consentement…";
2384
+ readonly confirmLabel: "Je confirme que le consentement à l’assistance IA a été obtenu.";
2385
+ readonly grantButton: "Accorder le consentement";
2386
+ readonly notAllowed: "Vous n’avez pas l’autorisation d’accorder le consentement à l’assistance IA.";
2387
2387
  };
2388
2388
  readonly paymentCard: {
2389
2389
  readonly regionLabel: "Payment {{number}}";
@@ -2879,6 +2879,8 @@ export declare const frUi: {
2879
2879
  readonly dictationError: "Échec de la dictée. Veuillez réessayer.";
2880
2880
  readonly proofread: "Vérifier l’orthographe et la grammaire";
2881
2881
  readonly autoFormat: "Mettre en forme le document automatiquement";
2882
+ readonly consentRecorded: "Le consentement à l’assistance IA a été enregistré.";
2883
+ readonly consentRegionLabel: "Consentement à l’assistance IA pour ce document";
2882
2884
  };
2883
2885
  };
2884
2886
  readonly payment: {