@alfadocs/ui-kit-debug 1.28.0 → 1.28.2

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 (102) hide show
  1. package/dist/_chunks/{calendar-workspace-Cs4hNB40.js → calendar-workspace-a84AHQwj.js} +2 -2
  2. package/dist/_chunks/{calendar-workspace-Cs4hNB40.js.map → calendar-workspace-a84AHQwj.js.map} +1 -1
  3. package/dist/_chunks/signature-status-chip-T5fyS-k9.js +196 -0
  4. package/dist/_chunks/signature-status-chip-T5fyS-k9.js.map +1 -0
  5. package/dist/agent-catalog.json +1 -1
  6. package/dist/components/signature-status-chip/index.js +1 -1
  7. package/dist/components/signature-status-chip/signature-status-chip.d.ts.map +1 -1
  8. package/dist/i18n/locales/ar.d.ts +76 -75
  9. package/dist/i18n/locales/ar.d.ts.map +1 -1
  10. package/dist/i18n/locales/ar.js +77 -76
  11. package/dist/i18n/locales/ar.js.map +1 -1
  12. package/dist/i18n/locales/de.d.ts +25 -24
  13. package/dist/i18n/locales/de.d.ts.map +1 -1
  14. package/dist/i18n/locales/de.js +25 -24
  15. package/dist/i18n/locales/de.js.map +1 -1
  16. package/dist/i18n/locales/el.d.ts +76 -75
  17. package/dist/i18n/locales/el.d.ts.map +1 -1
  18. package/dist/i18n/locales/el.js +77 -76
  19. package/dist/i18n/locales/el.js.map +1 -1
  20. package/dist/i18n/locales/en.d.ts +1 -0
  21. package/dist/i18n/locales/en.d.ts.map +1 -1
  22. package/dist/i18n/locales/en.js +1 -0
  23. package/dist/i18n/locales/en.js.map +1 -1
  24. package/dist/i18n/locales/es.d.ts +26 -25
  25. package/dist/i18n/locales/es.d.ts.map +1 -1
  26. package/dist/i18n/locales/es.js +26 -25
  27. package/dist/i18n/locales/es.js.map +1 -1
  28. package/dist/i18n/locales/fr.d.ts +26 -25
  29. package/dist/i18n/locales/fr.d.ts.map +1 -1
  30. package/dist/i18n/locales/fr.js +26 -25
  31. package/dist/i18n/locales/fr.js.map +1 -1
  32. package/dist/i18n/locales/hi.d.ts +76 -75
  33. package/dist/i18n/locales/hi.d.ts.map +1 -1
  34. package/dist/i18n/locales/hi.js +77 -76
  35. package/dist/i18n/locales/hi.js.map +1 -1
  36. package/dist/i18n/locales/it.d.ts +1 -0
  37. package/dist/i18n/locales/it.d.ts.map +1 -1
  38. package/dist/i18n/locales/it.js +1 -0
  39. package/dist/i18n/locales/it.js.map +1 -1
  40. package/dist/i18n/locales/ja.d.ts +76 -75
  41. package/dist/i18n/locales/ja.d.ts.map +1 -1
  42. package/dist/i18n/locales/ja.js +77 -76
  43. package/dist/i18n/locales/ja.js.map +1 -1
  44. package/dist/i18n/locales/nl.d.ts +24 -23
  45. package/dist/i18n/locales/nl.d.ts.map +1 -1
  46. package/dist/i18n/locales/nl.js +24 -23
  47. package/dist/i18n/locales/nl.js.map +1 -1
  48. package/dist/i18n/locales/pl.d.ts +76 -75
  49. package/dist/i18n/locales/pl.d.ts.map +1 -1
  50. package/dist/i18n/locales/pl.js +77 -76
  51. package/dist/i18n/locales/pl.js.map +1 -1
  52. package/dist/i18n/locales/pt.d.ts +26 -25
  53. package/dist/i18n/locales/pt.d.ts.map +1 -1
  54. package/dist/i18n/locales/pt.js +26 -25
  55. package/dist/i18n/locales/pt.js.map +1 -1
  56. package/dist/i18n/locales/ro.d.ts +76 -75
  57. package/dist/i18n/locales/ro.d.ts.map +1 -1
  58. package/dist/i18n/locales/ro.js +77 -76
  59. package/dist/i18n/locales/ro.js.map +1 -1
  60. package/dist/i18n/locales/ru.d.ts +76 -75
  61. package/dist/i18n/locales/ru.d.ts.map +1 -1
  62. package/dist/i18n/locales/ru.js +77 -76
  63. package/dist/i18n/locales/ru.js.map +1 -1
  64. package/dist/i18n/locales/sq.d.ts +76 -75
  65. package/dist/i18n/locales/sq.d.ts.map +1 -1
  66. package/dist/i18n/locales/sq.js +77 -76
  67. package/dist/i18n/locales/sq.js.map +1 -1
  68. package/dist/i18n/locales/sv.d.ts +75 -74
  69. package/dist/i18n/locales/sv.d.ts.map +1 -1
  70. package/dist/i18n/locales/sv.js +76 -75
  71. package/dist/i18n/locales/sv.js.map +1 -1
  72. package/dist/i18n/locales/tr.d.ts +76 -75
  73. package/dist/i18n/locales/tr.d.ts.map +1 -1
  74. package/dist/i18n/locales/tr.js +77 -76
  75. package/dist/i18n/locales/tr.js.map +1 -1
  76. package/dist/i18n/locales/zh.d.ts +76 -75
  77. package/dist/i18n/locales/zh.d.ts.map +1 -1
  78. package/dist/i18n/locales/zh.js +77 -76
  79. package/dist/i18n/locales/zh.js.map +1 -1
  80. package/dist/index.js +2 -2
  81. package/dist/locales/ar.json +76 -75
  82. package/dist/locales/de.json +25 -24
  83. package/dist/locales/el.json +76 -75
  84. package/dist/locales/en.json +1 -0
  85. package/dist/locales/es.json +26 -25
  86. package/dist/locales/fr.json +26 -25
  87. package/dist/locales/hi.json +76 -75
  88. package/dist/locales/it.json +1 -0
  89. package/dist/locales/ja.json +76 -75
  90. package/dist/locales/nl.json +24 -23
  91. package/dist/locales/pl.json +76 -75
  92. package/dist/locales/pt.json +26 -25
  93. package/dist/locales/ro.json +76 -75
  94. package/dist/locales/ru.json +76 -75
  95. package/dist/locales/sq.json +76 -75
  96. package/dist/locales/sv.json +75 -74
  97. package/dist/locales/tr.json +76 -75
  98. package/dist/locales/zh.json +76 -75
  99. package/dist/patterns/calendar/index.js +1 -1
  100. package/package.json +1 -1
  101. package/dist/_chunks/signature-status-chip-BSatI_Qc.js +0 -179
  102. package/dist/_chunks/signature-status-chip-BSatI_Qc.js.map +0 -1
@@ -0,0 +1,196 @@
1
+ import { jsx as E } from "react/jsx-runtime";
2
+ import { forwardRef as M } from "react";
3
+ import { useTranslation as K } from "react-i18next";
4
+ import { B as Y } from "./badge-sTusUqZD.js";
5
+ import { T as z } from "./tooltip-DvmfrNvB.js";
6
+ function _(i) {
7
+ if (!i || typeof i == "string") return [];
8
+ const n = i.signedBy;
9
+ return n ? Array.isArray(n) ? n : [n] : [];
10
+ }
11
+ function u(i, n) {
12
+ if (i === "notRequired") return "notRequired";
13
+ const r = _(n).filter((t) => t.standing);
14
+ return r.length === 0 ? i : r.every((t) => t.standing === "signed") ? "signed" : "pending";
15
+ }
16
+ function H(i, n, r = "notRequired", t) {
17
+ const o = [
18
+ u(i, t == null ? void 0 : t.operator),
19
+ u(n, t == null ? void 0 : t.patient),
20
+ u(r, t == null ? void 0 : t.secondary)
21
+ ].filter((d) => d !== "notRequired");
22
+ if (o.length === 0) return "notRequired";
23
+ const p = o.filter((d) => d === "signed").length;
24
+ return p === 0 ? "unsigned" : p === o.length ? "signed" : "partial";
25
+ }
26
+ const J = {
27
+ // Traffic light: green when everyone required has signed, amber when at
28
+ // least one party is still missing, red when nobody has.
29
+ signed: "success",
30
+ partial: "warning",
31
+ unsigned: "error",
32
+ notRequired: "neutral"
33
+ }, Q = {
34
+ operator: "Operator",
35
+ patient: "Patient",
36
+ secondary: "Second signee"
37
+ }, W = {
38
+ signed: "signed",
39
+ pending: "pending"
40
+ }, X = {
41
+ operator: "signatureStatusChip.missingOperator",
42
+ patient: "signatureStatusChip.missingPatient",
43
+ secondary: "signatureStatusChip.missingSecondary"
44
+ }, Z = {
45
+ operator: "Operator signature missing",
46
+ patient: "Patient signature missing",
47
+ secondary: "Second signee signature missing"
48
+ };
49
+ function S(i) {
50
+ return `⁨${i}⁩`;
51
+ }
52
+ function tt(i, n, r) {
53
+ const t = [];
54
+ return i !== "notRequired" && t.push({ role: "operator", standing: i }), n !== "notRequired" && t.push({ role: "patient", standing: n }), r !== "notRequired" && t.push({ role: "secondary", standing: r }), t;
55
+ }
56
+ const et = M(
57
+ ({
58
+ operator: i,
59
+ patient: n,
60
+ secondary: r = "notRequired",
61
+ names: t,
62
+ size: o = "md",
63
+ detail: p = !1,
64
+ tooltip: d = !1,
65
+ id: w,
66
+ className: v,
67
+ "aria-label": P,
68
+ title: m,
69
+ ...U
70
+ }, x) => {
71
+ const { t: e } = K(), c = H(i, n, r, t), N = tt(
72
+ u(i, t == null ? void 0 : t.operator),
73
+ u(n, t == null ? void 0 : t.patient),
74
+ u(r, t == null ? void 0 : t.secondary)
75
+ ), T = (() => {
76
+ switch (c) {
77
+ case "signed":
78
+ return e("signatureStatusChip.signed", { defaultValue: "Signed" });
79
+ case "unsigned":
80
+ return e("signatureStatusChip.unsigned", {
81
+ defaultValue: "Not signed"
82
+ });
83
+ case "notRequired":
84
+ return e("signatureStatusChip.notRequired", {
85
+ defaultValue: "No signature required"
86
+ });
87
+ case "partial":
88
+ return e("signatureStatusChip.partial", {
89
+ defaultValue: "Partially signed"
90
+ });
91
+ }
92
+ })(), y = (() => {
93
+ switch (c) {
94
+ case "signed":
95
+ return e("signatureStatusChip.signed", { defaultValue: "Signed" });
96
+ case "unsigned":
97
+ return e("signatureStatusChip.unsigned", {
98
+ defaultValue: "Not signed"
99
+ });
100
+ case "notRequired":
101
+ return e("signatureStatusChip.notRequired", {
102
+ defaultValue: "No signature required"
103
+ });
104
+ case "partial": {
105
+ const g = N.filter((a) => a.standing === "pending");
106
+ if (g.length === 1) {
107
+ const a = g[0].role;
108
+ return e(X[a], {
109
+ defaultValue: Z[a]
110
+ });
111
+ }
112
+ return e("signatureStatusChip.missingCount", {
113
+ defaultValue: "{{count}} signatures missing",
114
+ count: g.length
115
+ });
116
+ }
117
+ }
118
+ })(), I = (g) => N.map(({ role: a, standing: C }) => {
119
+ const b = e(`signatureStatusChip.party.${a}`, {
120
+ defaultValue: Q[a]
121
+ }), B = e(`signatureStatusChip.state.${C}`, {
122
+ defaultValue: W[C]
123
+ }), h = g ? t == null ? void 0 : t[a] : void 0;
124
+ if (!h)
125
+ return e("signatureStatusChip.breakdownItem", {
126
+ defaultValue: "{{party}} {{state}}",
127
+ party: b,
128
+ state: B
129
+ });
130
+ const q = typeof h == "string" ? { name: h } : h, R = _(q);
131
+ if (R.length > 0) {
132
+ const $ = (s) => s.relationship ? e("signatureStatusChip.representative", {
133
+ defaultValue: "{{name}} ({{relationship}})",
134
+ name: S(s.name),
135
+ relationship: s.relationship
136
+ }) : S(s.name), j = (s) => s.standing ?? C, k = R.filter((s) => j(s) === "signed"), D = R.filter((s) => j(s) === "pending"), V = [];
137
+ return k.length > 0 && V.push(
138
+ e("signatureStatusChip.signedByList", {
139
+ defaultValue: "signed by {{signers}}",
140
+ signers: k.map($).join(", ")
141
+ })
142
+ ), D.length > 0 && V.push(
143
+ e("signatureStatusChip.awaitingList", {
144
+ defaultValue: "awaiting {{signers}}",
145
+ signers: D.map($).join(", ")
146
+ })
147
+ ), e("signatureStatusChip.breakdownItemOnBehalf", {
148
+ defaultValue: "{{party}}: {{name}}, {{detail}}",
149
+ party: b,
150
+ name: S(q.name),
151
+ detail: V.join(", ")
152
+ });
153
+ }
154
+ return e("signatureStatusChip.breakdownItemNamed", {
155
+ defaultValue: "{{party}}: {{name}} ({{state}})",
156
+ party: b,
157
+ name: S(q.name),
158
+ state: B
159
+ });
160
+ }).join(" · "), f = I(!0), A = I(!1), F = f ? `${T}, ${f}` : y, G = p && A ? `${T} · ${A}` : y, l = d && f.length > 0, L = P ?? (l ? y : F), O = /* @__PURE__ */ E(
161
+ Y,
162
+ {
163
+ ref: x,
164
+ variant: J[c],
165
+ size: o,
166
+ withDot: !0,
167
+ role: "img",
168
+ "aria-label": L,
169
+ title: l ? m : m ?? L,
170
+ tabIndex: l ? 0 : void 0,
171
+ "data-component": "signature-status-chip",
172
+ "data-status": c,
173
+ "data-component-id": w,
174
+ id: w,
175
+ className: l ? [
176
+ "ds:rounded-[var(--radius-full)]",
177
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
178
+ "ds:focus-visible:outline-solid",
179
+ "ds:focus-visible:outline-ring",
180
+ "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
181
+ v
182
+ ].filter(Boolean).join(" ") : v,
183
+ ...U,
184
+ children: G
185
+ }
186
+ );
187
+ return l ? /* @__PURE__ */ E(z, { label: f, children: O }) : O;
188
+ }
189
+ );
190
+ et.displayName = "SignatureStatusChip";
191
+ export {
192
+ et as S,
193
+ u as e,
194
+ H as s
195
+ };
196
+ //# sourceMappingURL=signature-status-chip-T5fyS-k9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signature-status-chip-T5fyS-k9.js","sources":["../../src/components/signature-status-chip/signature-status-chip.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Badge, type BadgeProps } from '../badge';\nimport { Tooltip } from '../tooltip';\n\n/* ------------------------------------------------------------------ */\n/* State vocabulary */\n/* ------------------------------------------------------------------ */\n\n/** One party's standing on the document. */\nexport type SignatureParty = 'signed' | 'pending' | 'notRequired';\n\n/** The chip's derived state. */\nexport type SignatureStatus = 'signed' | 'partial' | 'unsigned' | 'notRequired';\n\n/**\n * The parties a document can require. `secondary` is the second signee on a\n * two-signee envelope (platform: `secondary_signee_id`) — a guardian, parent\n * or co-signer. It is optional: a document that does not need one leaves it\n * `notRequired`, which is the default.\n */\nexport type SignatureRole = 'operator' | 'patient' | 'secondary';\n\ntype RequiredStanding = Exclude<SignatureParty, 'notRequired'>;\n\n/**\n * Who a party is, and — when they cannot sign for themselves — who signs in\n * their place. A minor, or an adult who lacks capacity, is still the party\n * the document is about; the parent, guardian or legal representative signs\n * on their behalf. The standing (`signed` / `pending`) stays on the party,\n * because it is their signature slot that is being filled.\n */\nexport interface SignerRepresentative {\n /** The representative's display name. */\n name: string;\n /**\n * Already-translated relationship to the party, e.g. \"Mother\",\n * \"Legal guardian\". Same contract as `SignerRoster.relationship` — the\n * host translates it, because the set is open.\n */\n relationship?: string;\n /**\n * This representative's own standing. Supply it when representatives can\n * be at different stages — both parents must consent and only one has\n * signed. Omit it and the representative inherits the party's standing,\n * which is the right default when a single person signs.\n */\n standing?: Exclude<SignatureParty, 'notRequired'>;\n}\n\nexport interface SignerIdentity {\n /** The party's own display name. */\n name: string;\n /**\n * Who signs in this party's place, when the party cannot sign for\n * themselves. One representative for the ordinary guardian case; several\n * where every one of them must sign — both parents consenting for a minor,\n * where the minor never signs at all.\n *\n * When representatives carry their own `standing`, they become the source\n * of truth for this party: the slot is `signed` only once every one of\n * them has signed. Pass the same values to {@link signatureStatusOf} so\n * host-side filtering agrees with the chip.\n */\n signedBy?: SignerRepresentative | SignerRepresentative[];\n}\n\n/** Normalise the one-or-many representative shape to a list. */\nfunction representativesOf(\n identity: string | SignerIdentity | undefined,\n): SignerRepresentative[] {\n if (!identity || typeof identity === 'string') return [];\n const by = identity.signedBy;\n if (!by) return [];\n return Array.isArray(by) ? by : [by];\n}\n\n/**\n * A party's effective standing. Representatives that carry their own\n * `standing` override the party value, because they are the signatures that\n * actually have to land: every one of them must sign before the slot is\n * complete.\n */\nexport function effectiveStanding(\n party: SignatureParty,\n identity?: string | SignerIdentity,\n): SignatureParty {\n if (party === 'notRequired') return 'notRequired';\n const reps = representativesOf(identity).filter((r) => r.standing);\n if (reps.length === 0) return party;\n return reps.every((r) => r.standing === 'signed') ? 'signed' : 'pending';\n}\n\n/**\n * Display names for the signers, when the host has them and chooses to show\n * them. A bare string is the common case; pass a {@link SignerIdentity} where\n * someone signs on the party's behalf.\n */\nexport type SignatureSignerNames = Partial<\n Record<SignatureRole, string | SignerIdentity>\n>;\n\n/**\n * The rule, exported so hosts can sort/filter by the same state the chip\n * shows: required = parties not `notRequired`; all signed → `signed`, some\n * signed → `partial`, none signed → `unsigned`, nobody required → `notRequired`.\n *\n * `secondary` is optional and defaults to `notRequired`, so existing\n * two-argument calls keep their exact meaning.\n */\nexport function signatureStatusOf(\n operator: SignatureParty,\n patient: SignatureParty,\n secondary: SignatureParty = 'notRequired',\n names?: SignatureSignerNames,\n): SignatureStatus {\n const required = [\n effectiveStanding(operator, names?.operator),\n effectiveStanding(patient, names?.patient),\n effectiveStanding(secondary, names?.secondary),\n ].filter((p) => p !== 'notRequired');\n if (required.length === 0) return 'notRequired';\n const signed = required.filter((p) => p === 'signed').length;\n if (signed === 0) return 'unsigned';\n return signed === required.length ? 'signed' : 'partial';\n}\n\n// `partial` shares the warning tone with `unsigned` so a half-signed document\n// never reads as done at a glance — only a fully signed one goes green.\nconst STATUS_VARIANT: Record<\n SignatureStatus,\n NonNullable<BadgeProps['variant']>\n> = {\n // Traffic light: green when everyone required has signed, amber when at\n // least one party is still missing, red when nobody has.\n signed: 'success',\n partial: 'warning',\n unsigned: 'error',\n notRequired: 'neutral',\n};\n\nconst ROLE_DEFAULT: Record<SignatureRole, string> = {\n operator: 'Operator',\n patient: 'Patient',\n secondary: 'Second signee',\n};\n\nconst STANDING_DEFAULT: Record<RequiredStanding, string> = {\n signed: 'signed',\n pending: 'pending',\n};\n\n// Flat keys, matching the shipped bundles. i18next splits on '.', so a\n// nested `missing.operator` alongside the existing flat keys would risk a\n// lookup collision — and renaming them would break any host override.\nconst MISSING_KEY: Record<SignatureRole, string> = {\n operator: 'signatureStatusChip.missingOperator',\n patient: 'signatureStatusChip.missingPatient',\n secondary: 'signatureStatusChip.missingSecondary',\n};\n\nconst MISSING_DEFAULT: Record<SignatureRole, string> = {\n operator: 'Operator signature missing',\n patient: 'Patient signature missing',\n secondary: 'Second signee signature missing',\n};\n\n/**\n * Wrap host-supplied names in a Unicode first-strong isolate. Names arrive in\n * an unknown script and are interpolated into a translated frame — a Latin\n * name inside an Arabic sentence reorders the surrounding punctuation without\n * this. FSI … PDI is invisible, and assistive tech treats it as formatting.\n */\nfunction isolate(value: string): string {\n return `\\u2068${value}\\u2069`;\n}\n\nfunction requiredParties(\n operator: SignatureParty,\n patient: SignatureParty,\n secondary: SignatureParty,\n): Array<{ role: SignatureRole; standing: RequiredStanding }> {\n const out: Array<{ role: SignatureRole; standing: RequiredStanding }> = [];\n if (operator !== 'notRequired')\n out.push({ role: 'operator', standing: operator });\n if (patient !== 'notRequired')\n out.push({ role: 'patient', standing: patient });\n if (secondary !== 'notRequired')\n out.push({ role: 'secondary', standing: secondary });\n return out;\n}\n\n/* ------------------------------------------------------------------ */\n/* Props */\n/* ------------------------------------------------------------------ */\n\nexport interface SignatureStatusChipProps extends Omit<\n HTMLAttributes<HTMLSpanElement>,\n 'children'\n> {\n /** The operator's standing. */\n operator: SignatureParty;\n /** The patient's standing. */\n patient: SignatureParty;\n /**\n * The second signee's standing on a two-signee envelope — a guardian,\n * parent or co-signer. Defaults to `notRequired`, so a document with only\n * an operator and a patient behaves exactly as before.\n */\n secondary?: SignatureParty;\n /**\n * Display names for the signers, keyed by role. Supply them and the\n * breakdown reads \"Operator: Dr Rossi (signed)\" instead of \"Operator\n * signed\"; omit them and only the roles are named.\n *\n * A role may be a bare name, or a {@link SignerIdentity} when someone\n * signs on that party's behalf — a parent for a minor, a guardian for an\n * adult who lacks capacity. Then the row reads \"Patient: M. Bianchi,\n * signed by A. Bianchi (Parent)\".\n *\n * A name is shown in the chip's accessible name and its hover title, so\n * pass one only where the viewer is already entitled to see that person —\n * these are real people, and on the patient row usually a patient. Roles\n * with no name fall back to the role alone, so a partial map is fine.\n */\n names?: SignatureSignerNames;\n /** Chip height — maps onto the Badge `sm` / `md` sizes. */\n size?: 'sm' | 'md';\n /**\n * Spell the breakdown in the chip text (\"Signed · Operator signed · Patient\n * signed\") instead of the summary word. Default false — the breakdown is\n * always in the accessible name / title.\n */\n detail?: boolean;\n /**\n * Make the breakdown reachable by keyboard and touch, not only on hover.\n *\n * The chip becomes focusable and the breakdown moves out of the accessible\n * name into the kit's `Tooltip`, which exposes it as the accessible\n * description. Screen readers then hear the summary once and the detail\n * once, instead of the whole string twice.\n *\n * Off by default for two reasons. It adds a tab stop, and a table of forty\n * chips should not add forty; and it **requires a `TooltipProvider` above\n * it** — without one the kit's Tooltip throws. Turn it on where the\n * breakdown is something the user has to act on.\n */\n tooltip?: boolean;\n /** Agent-readiness consumer id, surfaced as `data-component-id`. */\n id?: string;\n}\n\n/* ------------------------------------------------------------------ */\n/* Component */\n/* ------------------------------------------------------------------ */\n\nexport const SignatureStatusChip = forwardRef<\n HTMLSpanElement,\n SignatureStatusChipProps\n>(\n (\n {\n operator,\n patient,\n secondary = 'notRequired',\n names,\n size = 'md',\n detail = false,\n tooltip = false,\n id,\n className,\n 'aria-label': ariaLabelProp,\n title: titleProp,\n ...rest\n },\n ref,\n ) => {\n const { t } = useTranslation();\n const status = signatureStatusOf(operator, patient, secondary, names);\n // Each party's standing is the effective one, so a slot held open by an\n // unsigned representative reads as pending here too.\n const parties = requiredParties(\n effectiveStanding(operator, names?.operator),\n effectiveStanding(patient, names?.patient),\n effectiveStanding(secondary, names?.secondary),\n );\n\n // When exactly one required party is outstanding the summary names it,\n // which is more use than a vague \"partially signed\". Two or more can be\n // outstanding once a second signee is in play, and then only the count\n // is worth the chip's width — the breakdown spells out the rest.\n // Two summaries, because a summary that is about to be followed by the\n // breakdown must not say what the breakdown is about to say. Alone, it\n // names the party that is missing, which is the useful half. Leading a\n // breakdown, it is the status word only — otherwise a detail chip read\n // \"Operator signature missing · Operator pending · Patient signed\",\n // naming the operator twice in one line.\n const summaryLead = (() => {\n switch (status) {\n case 'signed':\n return t('signatureStatusChip.signed', { defaultValue: 'Signed' });\n case 'unsigned':\n return t('signatureStatusChip.unsigned', {\n defaultValue: 'Not signed',\n });\n case 'notRequired':\n return t('signatureStatusChip.notRequired', {\n defaultValue: 'No signature required',\n });\n case 'partial':\n return t('signatureStatusChip.partial', {\n defaultValue: 'Partially signed',\n });\n }\n })();\n\n const summary = (() => {\n switch (status) {\n case 'signed':\n return t('signatureStatusChip.signed', { defaultValue: 'Signed' });\n case 'unsigned':\n return t('signatureStatusChip.unsigned', {\n defaultValue: 'Not signed',\n });\n case 'notRequired':\n return t('signatureStatusChip.notRequired', {\n defaultValue: 'No signature required',\n });\n case 'partial': {\n const pending = parties.filter((p) => p.standing === 'pending');\n if (pending.length === 1) {\n const role = pending[0].role;\n return t(MISSING_KEY[role], {\n defaultValue: MISSING_DEFAULT[role],\n });\n }\n return t('signatureStatusChip.missingCount', {\n defaultValue: '{{count}} signatures missing',\n count: pending.length,\n });\n }\n }\n })();\n\n // Two breakdowns, deliberately. The chip is a pill: its visible text\n // names roles only, so it stays the length it was before names existed.\n // Names go where there is room for them — the tooltip, or the accessible\n // name when there is no tooltip. A named three-party chip spelled out\n // visibly ran to 138 characters, which is a paragraph, not a chip.\n const buildBreakdown = (withNames: boolean) =>\n parties\n .map(({ role, standing }) => {\n const roleLabel = t(`signatureStatusChip.party.${role}`, {\n defaultValue: ROLE_DEFAULT[role],\n });\n const state = t(`signatureStatusChip.state.${standing}`, {\n defaultValue: STANDING_DEFAULT[standing],\n });\n const identity = withNames ? names?.[role] : undefined;\n if (!identity) {\n return t('signatureStatusChip.breakdownItem', {\n defaultValue: '{{party}} {{state}}',\n party: roleLabel,\n state,\n });\n }\n\n const who =\n typeof identity === 'string' ? { name: identity } : identity;\n\n // Someone signs in the party's place — name the party AND whoever\n // fills their slot, so the reader can see both. Several can be\n // required at once: both parents consenting for a minor.\n const reps = representativesOf(who);\n if (reps.length > 0) {\n const render = (r: SignerRepresentative) =>\n r.relationship\n ? t('signatureStatusChip.representative', {\n defaultValue: '{{name}} ({{relationship}})',\n name: isolate(r.name),\n relationship: r.relationship,\n })\n : isolate(r.name);\n\n // A representative with no standing of its own follows the party.\n const standingOf = (r: SignerRepresentative) =>\n r.standing ?? standing;\n const signed = reps.filter((r) => standingOf(r) === 'signed');\n const awaiting = reps.filter((r) => standingOf(r) === 'pending');\n\n const clauses: string[] = [];\n if (signed.length > 0)\n clauses.push(\n t('signatureStatusChip.signedByList', {\n defaultValue: 'signed by {{signers}}',\n signers: signed.map(render).join(', '),\n }),\n );\n if (awaiting.length > 0)\n clauses.push(\n t('signatureStatusChip.awaitingList', {\n defaultValue: 'awaiting {{signers}}',\n signers: awaiting.map(render).join(', '),\n }),\n );\n\n return t('signatureStatusChip.breakdownItemOnBehalf', {\n defaultValue: '{{party}}: {{name}}, {{detail}}',\n party: roleLabel,\n name: isolate(who.name),\n detail: clauses.join(', '),\n });\n }\n\n return t('signatureStatusChip.breakdownItemNamed', {\n defaultValue: '{{party}}: {{name}} ({{state}})',\n party: roleLabel,\n name: isolate(who.name),\n state,\n });\n })\n .join(' · ');\n\n const breakdownNamed = buildBreakdown(true);\n const breakdownRoles = buildBreakdown(false);\n\n // The full picture always reaches AT and hover, even in the compact form.\n const label = breakdownNamed\n ? `${summaryLead}, ${breakdownNamed}`\n : summary;\n // Visible text: roles only, never names.\n const visible =\n detail && breakdownRoles ? `${summaryLead} · ${breakdownRoles}` : summary;\n\n // With a tooltip the breakdown becomes the accessible DESCRIPTION, so the\n // name carries only the summary — otherwise assistive tech reads the same\n // detail twice. Without one, the name has to carry everything, because\n // there is nowhere else for it to go.\n const useTooltip = tooltip && breakdownNamed.length > 0;\n const accessibleName = ariaLabelProp ?? (useTooltip ? summary : label);\n\n const chip = (\n <Badge\n ref={ref}\n variant={STATUS_VARIANT[status]}\n size={size}\n withDot\n role=\"img\"\n // One source of truth: an overridden aria-label also becomes the\n // hover text, so the two can never drift apart.\n aria-label={accessibleName}\n // A native title alongside a Tooltip shows two overlapping bubbles,\n // so the Tooltip takes over entirely when it is on.\n title={useTooltip ? titleProp : (titleProp ?? accessibleName)}\n tabIndex={useTooltip ? 0 : undefined}\n data-component=\"signature-status-chip\"\n data-status={status}\n data-component-id={id}\n id={id}\n className={\n useTooltip\n ? [\n 'ds:rounded-[var(--radius-full)]',\n 'ds:focus-visible:outline-[length:var(--focus-ring-width)]',\n 'ds:focus-visible:outline-solid',\n 'ds:focus-visible:outline-ring',\n 'ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]',\n className,\n ]\n .filter(Boolean)\n .join(' ')\n : className\n }\n {...rest}\n >\n {visible}\n </Badge>\n );\n\n if (!useTooltip) return chip;\n\n // Radix's Trigger clones this element, so the chip itself is the trigger:\n // one element, focusable, with the focus ring following the pill shape.\n return <Tooltip label={breakdownNamed}>{chip}</Tooltip>;\n },\n);\n\nSignatureStatusChip.displayName = 'SignatureStatusChip';\n"],"names":["representativesOf","identity","by","effectiveStanding","party","reps","r","signatureStatusOf","operator","patient","secondary","names","required","p","signed","STATUS_VARIANT","ROLE_DEFAULT","STANDING_DEFAULT","MISSING_KEY","MISSING_DEFAULT","isolate","value","requiredParties","out","SignatureStatusChip","forwardRef","size","detail","tooltip","id","className","ariaLabelProp","titleProp","rest","ref","t","useTranslation","status","parties","summaryLead","summary","pending","role","buildBreakdown","withNames","standing","roleLabel","state","who","render","standingOf","awaiting","clauses","breakdownNamed","breakdownRoles","label","visible","useTooltip","accessibleName","chip","jsx","Badge","Tooltip"],"mappings":";;;;;AAoEA,SAASA,EACPC,GACwB;AACxB,MAAI,CAACA,KAAY,OAAOA,KAAa,iBAAiB,CAAA;AACtD,QAAMC,IAAKD,EAAS;AACpB,SAAKC,IACE,MAAM,QAAQA,CAAE,IAAIA,IAAK,CAACA,CAAE,IADnB,CAAA;AAElB;AAQO,SAASC,EACdC,GACAH,GACgB;AAChB,MAAIG,MAAU,cAAe,QAAO;AACpC,QAAMC,IAAOL,EAAkBC,CAAQ,EAAE,OAAO,CAACK,MAAMA,EAAE,QAAQ;AACjE,SAAID,EAAK,WAAW,IAAUD,IACvBC,EAAK,MAAM,CAACC,MAAMA,EAAE,aAAa,QAAQ,IAAI,WAAW;AACjE;AAmBO,SAASC,EACdC,GACAC,GACAC,IAA4B,eAC5BC,GACiB;AACjB,QAAMC,IAAW;AAAA,IACfT,EAAkBK,GAAUG,KAAA,gBAAAA,EAAO,QAAQ;AAAA,IAC3CR,EAAkBM,GAASE,KAAA,gBAAAA,EAAO,OAAO;AAAA,IACzCR,EAAkBO,GAAWC,KAAA,gBAAAA,EAAO,SAAS;AAAA,EAAA,EAC7C,OAAO,CAACE,MAAMA,MAAM,aAAa;AACnC,MAAID,EAAS,WAAW,EAAG,QAAO;AAClC,QAAME,IAASF,EAAS,OAAO,CAACC,MAAMA,MAAM,QAAQ,EAAE;AACtD,SAAIC,MAAW,IAAU,aAClBA,MAAWF,EAAS,SAAS,WAAW;AACjD;AAIA,MAAMG,IAGF;AAAA;AAAA;A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- "packageVersion": "1.28.0",
3
+ "packageVersion": "1.28.2",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,4 +1,4 @@
1
- import { S as e, e as s, s as i } from "../../_chunks/signature-status-chip-BSatI_Qc.js";
1
+ import { S as e, e as s, s as i } from "../../_chunks/signature-status-chip-T5fyS-k9.js";
2
2
  export {
3
3
  e as SignatureStatusChip,
4
4
  s as effectiveStanding,
@@ -1 +1 @@
1
- {"version":3,"file":"signature-status-chip.d.ts","sourceRoot":"","sources":["../../../src/components/signature-status-chip/signature-status-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AASxD,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAC;AAElE,gCAAgC;AAChC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;AAEhF;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAIjE;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,cAAc;IAC7B,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;CAC1D;AAYD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,cAAc,EACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,cAAc,GACjC,cAAc,CAKhB;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,cAAc,CAAC,CAC/C,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,cAAc,EACvB,SAAS,GAAE,cAA8B,EACzC,KAAK,CAAC,EAAE,oBAAoB,GAC3B,eAAe,CAUjB;AAuED,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CACpD,cAAc,CAAC,eAAe,CAAC,EAC/B,UAAU,CACX;IACC,+BAA+B;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,8BAA8B;IAC9B,OAAO,EAAE,cAAc,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAMD,eAAO,MAAM,mBAAmB,sHA0M/B,CAAC"}
1
+ {"version":3,"file":"signature-status-chip.d.ts","sourceRoot":"","sources":["../../../src/components/signature-status-chip/signature-status-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AASxD,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAC;AAElE,gCAAgC;AAChC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;AAEhF;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AA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;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAMD,eAAO,MAAM,mBAAmB,sHAqO/B,CAAC"}
@@ -1811,20 +1811,20 @@ export declare const arUi: {
1811
1811
  };
1812
1812
  };
1813
1813
  readonly success: {
1814
- readonly heading: "Booking submitted";
1815
- readonly descriptionSingle: "We've sent a confirmation link via {{channel}}. Click the link to confirm your booking.";
1816
- readonly descriptionMultiple: "We've sent a confirmation link via {{channels}}. Click the link in any of these to confirm your booking.";
1817
- readonly descriptionDemo: "This was a demo — no confirmation was sent. In production we'd email you a link to confirm.";
1818
- readonly summaryDate: "Date";
1819
- readonly summaryTime: "Time";
1820
- readonly summaryProvider: "Provider";
1821
- readonly summaryService: "Service";
1822
- readonly summarySpecialty: "Specialty";
1823
- readonly bookAnother: "Book another appointment";
1824
- readonly modifyBooking: "Modify booking";
1814
+ readonly heading: "تم إرسال الحجز";
1815
+ readonly descriptionSingle: "لقد أرسلنا لك رابط تأكيد عبر {{channel}}. انقر على الرابط لتأكيد حجزك.";
1816
+ readonly descriptionMultiple: "لقد أرسلنا لك رابط تأكيد عبر {{channels}}. انقر على الرابط في أي منها لتأكيد حجزك.";
1817
+ readonly descriptionDemo: "هذا عرض تجريبي — لم يتم إرسال أي تأكيد. في الإصدار الفعلي، سنرسل إليك رابطًا عبر البريد الإلكتروني للتأكيد.";
1818
+ readonly summaryDate: "التاريخ";
1819
+ readonly summaryTime: "الوقت";
1820
+ readonly summaryProvider: "المختص";
1821
+ readonly summaryService: "الخدمة";
1822
+ readonly summarySpecialty: "التخصص";
1823
+ readonly bookAnother: "احجز موعدًا آخر";
1824
+ readonly modifyBooking: "تعديل الحجز";
1825
1825
  };
1826
1826
  readonly submitError: {
1827
- readonly generic: "We couldn't submit your booking. Please try again.";
1827
+ readonly generic: "تعذر إرسال حجزك. يرجى المحاولة مرة أخرى.";
1828
1828
  };
1829
1829
  readonly details: {
1830
1830
  readonly heading: "بياناتك";
@@ -1919,104 +1919,104 @@ export declare const arUi: {
1919
1919
  };
1920
1920
  };
1921
1921
  readonly practiceResults: {
1922
- readonly regionLabel: "Practice search results";
1923
- readonly loading: "Loading results…";
1922
+ readonly regionLabel: "نتائج البحث عن العيادات";
1923
+ readonly loading: "جارٍ تحميل النتائج…";
1924
1924
  readonly results: {
1925
- readonly heading_one: "{{count}} result in {{place}}";
1926
- readonly heading_zero: "{{count}} results in {{place}}";
1927
- readonly heading_two: "{{count}} results in {{place}}";
1928
- readonly heading_few: "{{count}} results in {{place}}";
1929
- readonly heading_many: "{{count}} results in {{place}}";
1930
- readonly heading_other: "{{count}} results in {{place}}";
1931
- readonly summary_one: "{{count}} result";
1932
- readonly summary_zero: "{{count}} results";
1933
- readonly summary_two: "{{count}} results";
1934
- readonly summary_few: "{{count}} results";
1935
- readonly summary_many: "{{count}} results";
1936
- readonly summary_other: "{{count}} results";
1925
+ readonly heading_one: "{{count}} نتيجة في {{place}}";
1926
+ readonly heading_zero: "{{count}} نتائج في {{place}}";
1927
+ readonly heading_two: "{{count}} نتيجتان في {{place}}";
1928
+ readonly heading_few: "{{count}} نتائج في {{place}}";
1929
+ readonly heading_many: "{{count}} نتيجة في {{place}}";
1930
+ readonly heading_other: "{{count}} نتيجة في {{place}}";
1931
+ readonly summary_one: "{{count}} نتيجة";
1932
+ readonly summary_zero: "{{count}} نتائج";
1933
+ readonly summary_two: "{{count}} نتيجتان";
1934
+ readonly summary_few: "{{count}} نتائج";
1935
+ readonly summary_many: "{{count}} نتيجة";
1936
+ readonly summary_other: "{{count}} نتيجة";
1937
1937
  };
1938
1938
  readonly list: {
1939
- readonly label: "Practice results list";
1939
+ readonly label: "قائمة نتائج العيادات";
1940
1940
  };
1941
1941
  readonly map: {
1942
- readonly label: "Practice results map";
1942
+ readonly label: "خريطة نتائج العيادات";
1943
1943
  };
1944
1944
  readonly thumbnail: {
1945
- readonly alt: "Map preview of the practice location";
1945
+ readonly alt: "معاينة خريطة لموقع العيادة";
1946
1946
  };
1947
1947
  readonly filters: {
1948
- readonly label: "Filters";
1949
- readonly clear: "Clear filters";
1950
- readonly empty: "No filters available.";
1948
+ readonly label: "الفلاتر";
1949
+ readonly clear: "مسح الفلاتر";
1950
+ readonly empty: "لا توجد فلاتر متاحة.";
1951
1951
  };
1952
1952
  readonly sort: {
1953
- readonly label: "Sort";
1954
- readonly distance: "Distance";
1955
- readonly rating: "Rating";
1956
- readonly nextAvailable: "Next available";
1957
- readonly relevance: "Relevance";
1953
+ readonly label: "الترتيب";
1954
+ readonly distance: "المسافة";
1955
+ readonly rating: "التقييم";
1956
+ readonly nextAvailable: "أقرب موعد متاح";
1957
+ readonly relevance: "الأكثر صلة";
1958
1958
  };
1959
1959
  readonly empty: {
1960
- readonly title: "No results";
1961
- readonly description: "Try widening the radius or removing a filter.";
1960
+ readonly title: "لا توجد نتائج";
1961
+ readonly description: "حاول توسيع نطاق البحث أو إزالة أحد الفلاتر.";
1962
1962
  };
1963
1963
  readonly error: {
1964
- readonly title: "We couldn't load the results";
1965
- readonly description: "Check your connection and try again.";
1966
- readonly retry: "Try again";
1964
+ readonly title: "تعذر تحميل النتائج";
1965
+ readonly description: "تحقق من اتصالك وحاول مرة أخرى.";
1966
+ readonly retry: "حاول مرة أخرى";
1967
1967
  };
1968
- readonly viewMap: "View map";
1969
- readonly viewList: "View list";
1968
+ readonly viewMap: "عرض الخريطة";
1969
+ readonly viewList: "عرض القائمة";
1970
1970
  readonly nextSlot: {
1971
- readonly summary: "Next available {{time}}";
1972
- readonly cta: "Book at {{time}}";
1971
+ readonly summary: "أقرب موعد متاح {{time}}";
1972
+ readonly cta: "احجز الساعة {{time}}";
1973
1973
  };
1974
1974
  readonly distance: {
1975
1975
  readonly km: "{{distance}} km";
1976
1976
  readonly below: "< 1 km";
1977
1977
  };
1978
1978
  readonly fearPatient: {
1979
- readonly label: "Anxious-patient friendly";
1979
+ readonly label: "مناسب للمرضى القلقين";
1980
1980
  };
1981
1981
  readonly card: {
1982
- readonly open: "Open";
1983
- readonly book: "Book";
1984
- readonly firstVisitPrice: "First visit cost";
1982
+ readonly open: "فتح";
1983
+ readonly book: "احجز";
1984
+ readonly firstVisitPrice: "تكلفة الزيارة الأولى";
1985
1985
  };
1986
1986
  readonly sheet: {
1987
- readonly title_one: "{{count}} practice";
1988
- readonly title_zero: "{{count}} practices";
1989
- readonly title_two: "{{count}} practices";
1990
- readonly title_few: "{{count}} practices";
1991
- readonly title_many: "{{count}} practices";
1992
- readonly title_other: "{{count}} practices";
1993
- readonly description: "Map of the matching practices with the result list beneath.";
1994
- readonly descriptionMapFirst: "Practice list, sort controls, and sheet snap-state radio group.";
1987
+ readonly title_one: "{{count}} عيادة";
1988
+ readonly title_zero: "{{count}} عيادات";
1989
+ readonly title_two: "{{count}} عيادتان";
1990
+ readonly title_few: "{{count}} عيادات";
1991
+ readonly title_many: "{{count}} عيادة";
1992
+ readonly title_other: "{{count}} عيادة";
1993
+ readonly description: "خريطة العيادات المطابقة مع قائمة النتائج أسفلها.";
1994
+ readonly descriptionMapFirst: "قائمة العيادات، عناصر تحكم الترتيب، ومجموعة أزرار اختيار حجم اللوحة.";
1995
1995
  readonly snap: {
1996
- readonly label: "Sheet size";
1997
- readonly peek: "Peek";
1998
- readonly half: "Half";
1999
- readonly full: "Full";
1996
+ readonly label: "حجم اللوحة";
1997
+ readonly peek: "معاينة";
1998
+ readonly half: "نصف";
1999
+ readonly full: "كامل";
2000
2000
  };
2001
2001
  };
2002
2002
  };
2003
2003
  readonly contactProfileCard: {
2004
- readonly heading: "Profile";
2005
- readonly openInGoogleMaps: "Open in Google Maps";
2004
+ readonly heading: "الملف الشخصي";
2005
+ readonly openInGoogleMaps: "فتح في Google Maps";
2006
2006
  readonly label: {
2007
- readonly address: "Practice address";
2008
- readonly phone: "Phone";
2007
+ readonly address: "عنوان العيادة";
2008
+ readonly phone: "الهاتف";
2009
2009
  readonly whatsapp: "WhatsApp";
2010
2010
  readonly email: "Email";
2011
- readonly website: "Website";
2012
- readonly languages: "Languages spoken";
2013
- readonly insurances: "Insurance / partnership";
2014
- readonly firstVisitPrice: "First visit cost";
2015
- readonly expertForAnxiousPatients: "Expert with anxious patients";
2016
- readonly profession: "Profession";
2011
+ readonly website: "الموقع الإلكتروني";
2012
+ readonly languages: "اللغات المتحدثة";
2013
+ readonly insurances: "التأمين / الشراكات";
2014
+ readonly firstVisitPrice: "تكلفة الزيارة الأولى";
2015
+ readonly expertForAnxiousPatients: "خبرة مع المرضى القلقين";
2016
+ readonly profession: "المهنة";
2017
2017
  };
2018
2018
  readonly value: {
2019
- readonly yesShort: "Yes";
2019
+ readonly yesShort: "نعم";
2020
2020
  };
2021
2021
  readonly map: {
2022
2022
  readonly alt: "خريطة تعرض {{address}}";
@@ -2619,8 +2619,8 @@ export declare const arUi: {
2619
2619
  };
2620
2620
  readonly operatorHero: {
2621
2621
  readonly colorLabel: "Calendar colour";
2622
- readonly regionLabel: "Operator profile";
2623
- readonly ratingLabel: "{{value}} out of 5 stars, based on {{count}} reviews";
2622
+ readonly regionLabel: "الملف الشخصي للمختص";
2623
+ readonly ratingLabel: "{{value}} من أصل 5 نجوم، استنادًا إلى {{count}} مراجعة";
2624
2624
  };
2625
2625
  readonly reviewsPanel: {
2626
2626
  readonly regionLabel: "تقييمات المرضى";
@@ -2876,6 +2876,7 @@ export declare const arUi: {
2876
2876
  readonly signed: "تم التوقيع";
2877
2877
  readonly unsigned: "لم يتم التوقيع";
2878
2878
  readonly notRequired: "لا يلزم توقيع";
2879
+ readonly partial: "Partially signed";
2879
2880
  readonly missingOperator: "توقيع المشغّل مفقود";
2880
2881
  readonly missingPatient: "توقيع المريض مفقود";
2881
2882
  readonly missingSecondary: "Second signee signature missing";
@@ -1 +1 @@
1
- {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/ar.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;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