@alfadocs/ui-kit 1.28.0 → 1.28.1
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.
- package/dist/_chunks/{calendar-workspace-Cs4hNB40.js → calendar-workspace-a84AHQwj.js} +2 -2
- package/dist/_chunks/signature-status-chip-T5fyS-k9.js +196 -0
- package/dist/agent-catalog.json +1 -1
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.js +1 -0
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.js +1 -0
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.js +1 -0
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.js +1 -0
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.js +1 -0
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.js +1 -0
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.js +1 -0
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.js +1 -0
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.js +1 -0
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.js +1 -0
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.js +1 -0
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.js +1 -0
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.js +1 -0
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.js +1 -0
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.js +1 -0
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.js +1 -0
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.js +1 -0
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.js +1 -0
- package/dist/index.js +2 -2
- package/dist/locales/ar.json +1 -0
- package/dist/locales/de.json +1 -0
- package/dist/locales/el.json +1 -0
- package/dist/locales/en.json +1 -0
- package/dist/locales/es.json +1 -0
- package/dist/locales/fr.json +1 -0
- package/dist/locales/hi.json +1 -0
- package/dist/locales/it.json +1 -0
- package/dist/locales/ja.json +1 -0
- package/dist/locales/nl.json +1 -0
- package/dist/locales/pl.json +1 -0
- package/dist/locales/pt.json +1 -0
- package/dist/locales/ro.json +1 -0
- package/dist/locales/ru.json +1 -0
- package/dist/locales/sq.json +1 -0
- package/dist/locales/sv.json +1 -0
- package/dist/locales/tr.json +1 -0
- package/dist/locales/zh.json +1 -0
- package/dist/patterns/calendar/index.js +1 -1
- package/package.json +1 -1
- package/dist/_chunks/signature-status-chip-BSatI_Qc.js +0 -179
|
@@ -8,7 +8,7 @@ import { c as Cs, d as yn, b as Hn } from "./toast-YZz2sBzB.js";
|
|
|
8
8
|
import { a as Wi } from "./tooltip-DvmfrNvB.js";
|
|
9
9
|
import { V as Tt } from "./visually-hidden-BHxEUGyT.js";
|
|
10
10
|
import { G as aa, h as Ds, c as Bi, A as Pi, C as Xs } from "./color-picker-CU303VjY.js";
|
|
11
|
-
import { s as _i, S as zi } from "./signature-status-chip-
|
|
11
|
+
import { s as _i, S as zi } from "./signature-status-chip-T5fyS-k9.js";
|
|
12
12
|
import { Z as $i, B as Fi, T as Hi, E as Vi, C as Ui } from "./calendar-event-card-66CEEWU6.js";
|
|
13
13
|
import { C as Zs } from "./check-DrFSN__t.js";
|
|
14
14
|
import { S as Js } from "./stethoscope-sZXGC43m.js";
|
|
@@ -7503,4 +7503,4 @@ export {
|
|
|
7503
7503
|
El as r,
|
|
7504
7504
|
Cn as u
|
|
7505
7505
|
};
|
|
7506
|
-
//# sourceMappingURL=calendar-workspace-
|
|
7506
|
+
//# sourceMappingURL=calendar-workspace-a84AHQwj.js.map
|
|
@@ -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
|
package/dist/agent-catalog.json
CHANGED
|
@@ -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";
|
package/dist/i18n/locales/ar.js
CHANGED
|
@@ -2850,6 +2850,7 @@ const e = {
|
|
|
2850
2850
|
signed: "تم التوقيع",
|
|
2851
2851
|
unsigned: "لم يتم التوقيع",
|
|
2852
2852
|
notRequired: "لا يلزم توقيع",
|
|
2853
|
+
partial: "Partially signed",
|
|
2853
2854
|
missingOperator: "توقيع المشغّل مفقود",
|
|
2854
2855
|
missingPatient: "توقيع المريض مفقود",
|
|
2855
2856
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2876,6 +2876,7 @@ export declare const deUi: {
|
|
|
2876
2876
|
readonly signed: "Unterschrieben";
|
|
2877
2877
|
readonly unsigned: "Nicht unterschrieben";
|
|
2878
2878
|
readonly notRequired: "Keine Unterschrift erforderlich";
|
|
2879
|
+
readonly partial: "Partially signed";
|
|
2879
2880
|
readonly missingOperator: "Unterschrift des Operators fehlt";
|
|
2880
2881
|
readonly missingPatient: "Unterschrift des Patienten fehlt";
|
|
2881
2882
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/de.js
CHANGED
|
@@ -2851,6 +2851,7 @@ const e = {
|
|
|
2851
2851
|
signed: "Unterschrieben",
|
|
2852
2852
|
unsigned: "Nicht unterschrieben",
|
|
2853
2853
|
notRequired: "Keine Unterschrift erforderlich",
|
|
2854
|
+
partial: "Partially signed",
|
|
2854
2855
|
missingOperator: "Unterschrift des Operators fehlt",
|
|
2855
2856
|
missingPatient: "Unterschrift des Patienten fehlt",
|
|
2856
2857
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const elUi: {
|
|
|
2873
2873
|
readonly signed: "Υπογεγραμμένο";
|
|
2874
2874
|
readonly unsigned: "Χωρίς υπογραφή";
|
|
2875
2875
|
readonly notRequired: "Δεν απαιτείται υπογραφή";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Λείπει η υπογραφή του χειριστή";
|
|
2877
2878
|
readonly missingPatient: "Λείπει η υπογραφή του ασθενούς";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/el.js
CHANGED
|
@@ -2857,6 +2857,7 @@ const e = {
|
|
|
2857
2857
|
signed: "Υπογεγραμμένο",
|
|
2858
2858
|
unsigned: "Χωρίς υπογραφή",
|
|
2859
2859
|
notRequired: "Δεν απαιτείται υπογραφή",
|
|
2860
|
+
partial: "Partially signed",
|
|
2860
2861
|
missingOperator: "Λείπει η υπογραφή του χειριστή",
|
|
2861
2862
|
missingPatient: "Λείπει η υπογραφή του ασθενούς",
|
|
2862
2863
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2884,6 +2884,7 @@ export declare const enUi: {
|
|
|
2884
2884
|
readonly signed: "Signed";
|
|
2885
2885
|
readonly unsigned: "Not signed";
|
|
2886
2886
|
readonly notRequired: "No signature required";
|
|
2887
|
+
readonly partial: "Partially signed";
|
|
2887
2888
|
readonly missingOperator: "Operator signature missing";
|
|
2888
2889
|
readonly missingPatient: "Patient signature missing";
|
|
2889
2890
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/en.js
CHANGED
|
@@ -2867,6 +2867,7 @@ const e = {
|
|
|
2867
2867
|
signed: "Signed",
|
|
2868
2868
|
unsigned: "Not signed",
|
|
2869
2869
|
notRequired: "No signature required",
|
|
2870
|
+
partial: "Partially signed",
|
|
2870
2871
|
missingOperator: "Operator signature missing",
|
|
2871
2872
|
missingPatient: "Patient signature missing",
|
|
2872
2873
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const esUi: {
|
|
|
2873
2873
|
readonly signed: "Firmado";
|
|
2874
2874
|
readonly unsigned: "Sin firmar";
|
|
2875
2875
|
readonly notRequired: "No se requiere firma";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Falta la firma del operador";
|
|
2877
2878
|
readonly missingPatient: "Falta la firma del paciente";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/es.js
CHANGED
|
@@ -2848,6 +2848,7 @@ const e = {
|
|
|
2848
2848
|
signed: "Firmado",
|
|
2849
2849
|
unsigned: "Sin firmar",
|
|
2850
2850
|
notRequired: "No se requiere firma",
|
|
2851
|
+
partial: "Partially signed",
|
|
2851
2852
|
missingOperator: "Falta la firma del operador",
|
|
2852
2853
|
missingPatient: "Falta la firma del paciente",
|
|
2853
2854
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const frUi: {
|
|
|
2873
2873
|
readonly signed: "Signé";
|
|
2874
2874
|
readonly unsigned: "Non signé";
|
|
2875
2875
|
readonly notRequired: "Aucune signature requise";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Signature de l’opérateur manquante";
|
|
2877
2878
|
readonly missingPatient: "Signature du patient manquante";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/fr.js
CHANGED
|
@@ -2851,6 +2851,7 @@ const e = {
|
|
|
2851
2851
|
signed: "Signé",
|
|
2852
2852
|
unsigned: "Non signé",
|
|
2853
2853
|
notRequired: "Aucune signature requise",
|
|
2854
|
+
partial: "Partially signed",
|
|
2854
2855
|
missingOperator: "Signature de l’opérateur manquante",
|
|
2855
2856
|
missingPatient: "Signature du patient manquante",
|
|
2856
2857
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const hiUi: {
|
|
|
2873
2873
|
readonly signed: "हस्ताक्षरित";
|
|
2874
2874
|
readonly unsigned: "हस्ताक्षर नहीं हुए";
|
|
2875
2875
|
readonly notRequired: "हस्ताक्षर आवश्यक नहीं";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "ऑपरेटर के हस्ताक्षर नहीं हुए";
|
|
2877
2878
|
readonly missingPatient: "रोगी के हस्ताक्षर नहीं हुए";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/hi.js
CHANGED
|
@@ -2848,6 +2848,7 @@ const e = {
|
|
|
2848
2848
|
signed: "हस्ताक्षरित",
|
|
2849
2849
|
unsigned: "हस्ताक्षर नहीं हुए",
|
|
2850
2850
|
notRequired: "हस्ताक्षर आवश्यक नहीं",
|
|
2851
|
+
partial: "Partially signed",
|
|
2851
2852
|
missingOperator: "ऑपरेटर के हस्ताक्षर नहीं हुए",
|
|
2852
2853
|
missingPatient: "रोगी के हस्ताक्षर नहीं हुए",
|
|
2853
2854
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2870,6 +2870,7 @@ export declare const itUi: {
|
|
|
2870
2870
|
readonly signed: "Firmata";
|
|
2871
2871
|
readonly unsigned: "Non firmata";
|
|
2872
2872
|
readonly notRequired: "Firma non richiesta";
|
|
2873
|
+
readonly partial: "Parzialmente firmata";
|
|
2873
2874
|
readonly missingOperator: "Manca la firma dell’operatore";
|
|
2874
2875
|
readonly missingPatient: "Manca la firma del paziente";
|
|
2875
2876
|
readonly missingSecondary: "Manca la firma del secondo firmatario";
|
package/dist/i18n/locales/it.js
CHANGED
|
@@ -2831,6 +2831,7 @@ const e = {
|
|
|
2831
2831
|
signed: "Firmata",
|
|
2832
2832
|
unsigned: "Non firmata",
|
|
2833
2833
|
notRequired: "Firma non richiesta",
|
|
2834
|
+
partial: "Parzialmente firmata",
|
|
2834
2835
|
missingOperator: "Manca la firma dell’operatore",
|
|
2835
2836
|
missingPatient: "Manca la firma del paziente",
|
|
2836
2837
|
missingSecondary: "Manca la firma del secondo firmatario",
|
|
@@ -2873,6 +2873,7 @@ export declare const jaUi: {
|
|
|
2873
2873
|
readonly signed: "署名済み";
|
|
2874
2874
|
readonly unsigned: "未署名";
|
|
2875
2875
|
readonly notRequired: "署名不要";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "オペレーターの署名がありません";
|
|
2877
2878
|
readonly missingPatient: "患者の署名がありません";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/ja.js
CHANGED
|
@@ -2853,6 +2853,7 @@ const e = {
|
|
|
2853
2853
|
signed: "署名済み",
|
|
2854
2854
|
unsigned: "未署名",
|
|
2855
2855
|
notRequired: "署名不要",
|
|
2856
|
+
partial: "Partially signed",
|
|
2856
2857
|
missingOperator: "オペレーターの署名がありません",
|
|
2857
2858
|
missingPatient: "患者の署名がありません",
|
|
2858
2859
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const nlUi: {
|
|
|
2873
2873
|
readonly signed: "Ondertekend";
|
|
2874
2874
|
readonly unsigned: "Niet ondertekend";
|
|
2875
2875
|
readonly notRequired: "Geen handtekening vereist";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Handtekening van de operator ontbreekt";
|
|
2877
2878
|
readonly missingPatient: "Handtekening van de patiënt ontbreekt";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/nl.js
CHANGED
|
@@ -2842,6 +2842,7 @@ const e = {
|
|
|
2842
2842
|
signed: "Ondertekend",
|
|
2843
2843
|
unsigned: "Niet ondertekend",
|
|
2844
2844
|
notRequired: "Geen handtekening vereist",
|
|
2845
|
+
partial: "Partially signed",
|
|
2845
2846
|
missingOperator: "Handtekening van de operator ontbreekt",
|
|
2846
2847
|
missingPatient: "Handtekening van de patiënt ontbreekt",
|
|
2847
2848
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const plUi: {
|
|
|
2873
2873
|
readonly signed: "Podpisano";
|
|
2874
2874
|
readonly unsigned: "Niepodpisano";
|
|
2875
2875
|
readonly notRequired: "Podpis niewymagany";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Brak podpisu operatora";
|
|
2877
2878
|
readonly missingPatient: "Brak podpisu pacjenta";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/pl.js
CHANGED
|
@@ -2853,6 +2853,7 @@ const e = {
|
|
|
2853
2853
|
signed: "Podpisano",
|
|
2854
2854
|
unsigned: "Niepodpisano",
|
|
2855
2855
|
notRequired: "Podpis niewymagany",
|
|
2856
|
+
partial: "Partially signed",
|
|
2856
2857
|
missingOperator: "Brak podpisu operatora",
|
|
2857
2858
|
missingPatient: "Brak podpisu pacjenta",
|
|
2858
2859
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2874,6 +2874,7 @@ export declare const ptUi: {
|
|
|
2874
2874
|
readonly signed: "Assinado";
|
|
2875
2875
|
readonly unsigned: "Não assinado";
|
|
2876
2876
|
readonly notRequired: "Assinatura não necessária";
|
|
2877
|
+
readonly partial: "Partially signed";
|
|
2877
2878
|
readonly missingOperator: "Falta a assinatura do operador";
|
|
2878
2879
|
readonly missingPatient: "Falta a assinatura do paciente";
|
|
2879
2880
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/pt.js
CHANGED
|
@@ -2858,6 +2858,7 @@ const e = {
|
|
|
2858
2858
|
signed: "Assinado",
|
|
2859
2859
|
unsigned: "Não assinado",
|
|
2860
2860
|
notRequired: "Assinatura não necessária",
|
|
2861
|
+
partial: "Partially signed",
|
|
2861
2862
|
missingOperator: "Falta a assinatura do operador",
|
|
2862
2863
|
missingPatient: "Falta a assinatura do paciente",
|
|
2863
2864
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const roUi: {
|
|
|
2873
2873
|
readonly signed: "Semnat";
|
|
2874
2874
|
readonly unsigned: "Nesemnat";
|
|
2875
2875
|
readonly notRequired: "Nu este necesară semnătura";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Lipsește semnătura operatorului";
|
|
2877
2878
|
readonly missingPatient: "Lipsește semnătura pacientului";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/ro.js
CHANGED
|
@@ -2857,6 +2857,7 @@ const e = {
|
|
|
2857
2857
|
signed: "Semnat",
|
|
2858
2858
|
unsigned: "Nesemnat",
|
|
2859
2859
|
notRequired: "Nu este necesară semnătura",
|
|
2860
|
+
partial: "Partially signed",
|
|
2860
2861
|
missingOperator: "Lipsește semnătura operatorului",
|
|
2861
2862
|
missingPatient: "Lipsește semnătura pacientului",
|
|
2862
2863
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const ruUi: {
|
|
|
2873
2873
|
readonly signed: "Подписано";
|
|
2874
2874
|
readonly unsigned: "Не подписано";
|
|
2875
2875
|
readonly notRequired: "Подпись не требуется";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Отсутствует подпись оператора";
|
|
2877
2878
|
readonly missingPatient: "Отсутствует подпись пациента";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/ru.js
CHANGED
|
@@ -2850,6 +2850,7 @@ const e = {
|
|
|
2850
2850
|
signed: "Подписано",
|
|
2851
2851
|
unsigned: "Не подписано",
|
|
2852
2852
|
notRequired: "Подпись не требуется",
|
|
2853
|
+
partial: "Partially signed",
|
|
2853
2854
|
missingOperator: "Отсутствует подпись оператора",
|
|
2854
2855
|
missingPatient: "Отсутствует подпись пациента",
|
|
2855
2856
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const sqUi: {
|
|
|
2873
2873
|
readonly signed: "Nënshkruar";
|
|
2874
2874
|
readonly unsigned: "Pa nënshkrim";
|
|
2875
2875
|
readonly notRequired: "Nuk kërkohet nënshkrim";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Mungon nënshkrimi i operatorit";
|
|
2877
2878
|
readonly missingPatient: "Mungon nënshkrimi i pacientit";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/sq.js
CHANGED
|
@@ -2854,6 +2854,7 @@ const e = {
|
|
|
2854
2854
|
signed: "Nënshkruar",
|
|
2855
2855
|
unsigned: "Pa nënshkrim",
|
|
2856
2856
|
notRequired: "Nuk kërkohet nënshkrim",
|
|
2857
|
+
partial: "Partially signed",
|
|
2857
2858
|
missingOperator: "Mungon nënshkrimi i operatorit",
|
|
2858
2859
|
missingPatient: "Mungon nënshkrimi i pacientit",
|
|
2859
2860
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const svUi: {
|
|
|
2873
2873
|
readonly signed: "Signerad";
|
|
2874
2874
|
readonly unsigned: "Inte signerad";
|
|
2875
2875
|
readonly notRequired: "Ingen signatur krävs";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Behandlarens signatur saknas";
|
|
2877
2878
|
readonly missingPatient: "Patientens signatur saknas";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/sv.js
CHANGED
|
@@ -2850,6 +2850,7 @@ const e = {
|
|
|
2850
2850
|
signed: "Signerad",
|
|
2851
2851
|
unsigned: "Inte signerad",
|
|
2852
2852
|
notRequired: "Ingen signatur krävs",
|
|
2853
|
+
partial: "Partially signed",
|
|
2853
2854
|
missingOperator: "Behandlarens signatur saknas",
|
|
2854
2855
|
missingPatient: "Patientens signatur saknas",
|
|
2855
2856
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const trUi: {
|
|
|
2873
2873
|
readonly signed: "İmzalandı";
|
|
2874
2874
|
readonly unsigned: "İmzalanmadı";
|
|
2875
2875
|
readonly notRequired: "İmza gerekmiyor";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "Operatör imzası eksik";
|
|
2877
2878
|
readonly missingPatient: "Hasta imzası eksik";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/tr.js
CHANGED
|
@@ -2850,6 +2850,7 @@ const e = {
|
|
|
2850
2850
|
signed: "İmzalandı",
|
|
2851
2851
|
unsigned: "İmzalanmadı",
|
|
2852
2852
|
notRequired: "İmza gerekmiyor",
|
|
2853
|
+
partial: "Partially signed",
|
|
2853
2854
|
missingOperator: "Operatör imzası eksik",
|
|
2854
2855
|
missingPatient: "Hasta imzası eksik",
|
|
2855
2856
|
missingSecondary: "Second signee signature missing",
|
|
@@ -2873,6 +2873,7 @@ export declare const zhUi: {
|
|
|
2873
2873
|
readonly signed: "已签名";
|
|
2874
2874
|
readonly unsigned: "未签名";
|
|
2875
2875
|
readonly notRequired: "无需签名";
|
|
2876
|
+
readonly partial: "Partially signed";
|
|
2876
2877
|
readonly missingOperator: "缺少操作员签名";
|
|
2877
2878
|
readonly missingPatient: "缺少患者签名";
|
|
2878
2879
|
readonly missingSecondary: "Second signee signature missing";
|
package/dist/i18n/locales/zh.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -211,7 +211,7 @@ import { R as hf, r as Of, w as Ff } from "./_chunks/rich-text-editor-lSCiE0Zz.j
|
|
|
211
211
|
import { E as Mf } from "./_chunks/editor-overlay-DEc5yYwo.js";
|
|
212
212
|
import { S as kf, s as Bf } from "./_chunks/signature-capture-D6ut9_IR.js";
|
|
213
213
|
import { S as vf, s as Hf } from "./_chunks/signature-field-0rFODJlW.js";
|
|
214
|
-
import { S as Uf, e as Vf, s as Wf } from "./_chunks/signature-status-chip-
|
|
214
|
+
import { S as Uf, e as Vf, s as Wf } from "./_chunks/signature-status-chip-T5fyS-k9.js";
|
|
215
215
|
import { S as Yf, s as Xf } from "./_chunks/sign-document-jF4fZDJ5.js";
|
|
216
216
|
import { S as zf, f as jf, i as Qf, s as Jf } from "./_chunks/slot-grid-BuZOKfcd.js";
|
|
217
217
|
import { A as $f, F as ag, a as eg, b as sg, c as rg, d as og, e as tg, I as ng, f as ig, g as pg, h as mg, i as lg, j as dg, k as Ag, l as cg, m as fg, n as gg, o as Sg, p as Cg, q as Tg, r as xg, s as ug, t as Pg, u as Ig } from "./_chunks/face-scheme-DA2vjqaM.js";
|
|
@@ -223,7 +223,7 @@ import { W as GS, a as vS } from "./_chunks/whatsapp-button-Ai4YAVkl.js";
|
|
|
223
223
|
import { C as wS, W as US, a as VS, b as WS, c as KS, i as YS, l as XS, m as qS, r as zS, w as jS, d as QS, e as JS, f as ZS } from "./_chunks/workflow-map-dNzJjBWG.js";
|
|
224
224
|
import { A as aC, a as eC, b as sC, c as rC } from "./_chunks/alia-sidebar-BWcWZivN.js";
|
|
225
225
|
import { A as tC, a as nC, L as iC, P as pC, S as mC, T as lC, b as dC, c as AC, d as cC, e as fC, f as gC, g as SC, h as CC, i as TC, j as xC, k as uC, l as PC, m as IC, n as EC, o as RC, p as _C, r as bC, q as NC, s as DC, t as hC, u as OC } from "./_chunks/anamnesis-summary-rows-DwjqZgR5.js";
|
|
226
|
-
import { C as LC, a as MC, b as yC, D as kC, c as BC, S as GC, V as vC, W as HC, d as wC, i as UC, m as VC, r as WC, u as KC, e as YC, f as XC } from "./_chunks/calendar-workspace-
|
|
226
|
+
import { C as LC, a as MC, b as yC, D as kC, c as BC, S as GC, V as vC, W as HC, d as wC, i as UC, m as VC, r as WC, u as KC, e as YC, f as XC } from "./_chunks/calendar-workspace-a84AHQwj.js";
|
|
227
227
|
import { C as zC, M as jC, P as QC } from "./_chunks/marketplace-app-shell-C4AjQmvz.js";
|
|
228
228
|
import { P as ZC } from "./_chunks/payment-automation-upsell-DwQW2fRp.js";
|
|
229
229
|
import { S as aT } from "./_chunks/signature-request-C-IsbkPf.js";
|
package/dist/locales/ar.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "تم التوقيع",
|
|
2870
2870
|
"unsigned": "لم يتم التوقيع",
|
|
2871
2871
|
"notRequired": "لا يلزم توقيع",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "توقيع المشغّل مفقود",
|
|
2873
2874
|
"missingPatient": "توقيع المريض مفقود",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/de.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Unterschrieben",
|
|
2870
2870
|
"unsigned": "Nicht unterschrieben",
|
|
2871
2871
|
"notRequired": "Keine Unterschrift erforderlich",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Unterschrift des Operators fehlt",
|
|
2873
2874
|
"missingPatient": "Unterschrift des Patienten fehlt",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/el.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Υπογεγραμμένο",
|
|
2870
2870
|
"unsigned": "Χωρίς υπογραφή",
|
|
2871
2871
|
"notRequired": "Δεν απαιτείται υπογραφή",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Λείπει η υπογραφή του χειριστή",
|
|
2873
2874
|
"missingPatient": "Λείπει η υπογραφή του ασθενούς",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/en.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Signed",
|
|
2870
2870
|
"unsigned": "Not signed",
|
|
2871
2871
|
"notRequired": "No signature required",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Operator signature missing",
|
|
2873
2874
|
"missingPatient": "Patient signature missing",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/es.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Firmado",
|
|
2870
2870
|
"unsigned": "Sin firmar",
|
|
2871
2871
|
"notRequired": "No se requiere firma",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Falta la firma del operador",
|
|
2873
2874
|
"missingPatient": "Falta la firma del paciente",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/fr.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Signé",
|
|
2870
2870
|
"unsigned": "Non signé",
|
|
2871
2871
|
"notRequired": "Aucune signature requise",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Signature de l’opérateur manquante",
|
|
2873
2874
|
"missingPatient": "Signature du patient manquante",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/hi.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "हस्ताक्षरित",
|
|
2870
2870
|
"unsigned": "हस्ताक्षर नहीं हुए",
|
|
2871
2871
|
"notRequired": "हस्ताक्षर आवश्यक नहीं",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "ऑपरेटर के हस्ताक्षर नहीं हुए",
|
|
2873
2874
|
"missingPatient": "रोगी के हस्ताक्षर नहीं हुए",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/it.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Firmata",
|
|
2870
2870
|
"unsigned": "Non firmata",
|
|
2871
2871
|
"notRequired": "Firma non richiesta",
|
|
2872
|
+
"partial": "Parzialmente firmata",
|
|
2872
2873
|
"missingOperator": "Manca la firma dell’operatore",
|
|
2873
2874
|
"missingPatient": "Manca la firma del paziente",
|
|
2874
2875
|
"missingSecondary": "Manca la firma del secondo firmatario",
|
package/dist/locales/ja.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "署名済み",
|
|
2870
2870
|
"unsigned": "未署名",
|
|
2871
2871
|
"notRequired": "署名不要",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "オペレーターの署名がありません",
|
|
2873
2874
|
"missingPatient": "患者の署名がありません",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/nl.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Ondertekend",
|
|
2870
2870
|
"unsigned": "Niet ondertekend",
|
|
2871
2871
|
"notRequired": "Geen handtekening vereist",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Handtekening van de operator ontbreekt",
|
|
2873
2874
|
"missingPatient": "Handtekening van de patiënt ontbreekt",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/pl.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Podpisano",
|
|
2870
2870
|
"unsigned": "Niepodpisano",
|
|
2871
2871
|
"notRequired": "Podpis niewymagany",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Brak podpisu operatora",
|
|
2873
2874
|
"missingPatient": "Brak podpisu pacjenta",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/pt.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Assinado",
|
|
2870
2870
|
"unsigned": "Não assinado",
|
|
2871
2871
|
"notRequired": "Assinatura não necessária",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Falta a assinatura do operador",
|
|
2873
2874
|
"missingPatient": "Falta a assinatura do paciente",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/ro.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Semnat",
|
|
2870
2870
|
"unsigned": "Nesemnat",
|
|
2871
2871
|
"notRequired": "Nu este necesară semnătura",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Lipsește semnătura operatorului",
|
|
2873
2874
|
"missingPatient": "Lipsește semnătura pacientului",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/ru.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Подписано",
|
|
2870
2870
|
"unsigned": "Не подписано",
|
|
2871
2871
|
"notRequired": "Подпись не требуется",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Отсутствует подпись оператора",
|
|
2873
2874
|
"missingPatient": "Отсутствует подпись пациента",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/sq.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Nënshkruar",
|
|
2870
2870
|
"unsigned": "Pa nënshkrim",
|
|
2871
2871
|
"notRequired": "Nuk kërkohet nënshkrim",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Mungon nënshkrimi i operatorit",
|
|
2873
2874
|
"missingPatient": "Mungon nënshkrimi i pacientit",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/sv.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "Signerad",
|
|
2870
2870
|
"unsigned": "Inte signerad",
|
|
2871
2871
|
"notRequired": "Ingen signatur krävs",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Behandlarens signatur saknas",
|
|
2873
2874
|
"missingPatient": "Patientens signatur saknas",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/tr.json
CHANGED
|
@@ -2869,6 +2869,7 @@
|
|
|
2869
2869
|
"signed": "İmzalandı",
|
|
2870
2870
|
"unsigned": "İmzalanmadı",
|
|
2871
2871
|
"notRequired": "İmza gerekmiyor",
|
|
2872
|
+
"partial": "Partially signed",
|
|
2872
2873
|
"missingOperator": "Operatör imzası eksik",
|
|
2873
2874
|
"missingPatient": "Hasta imzası eksik",
|
|
2874
2875
|
"missingSecondary": "Second signee signature missing",
|
package/dist/locales/zh.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as s, a as r, b as E, D as P, c as t, S, V as A, W as C, d, i as o, m as D, r as i, u as n, e as W, f as _ } from "../../_chunks/calendar-workspace-
|
|
1
|
+
import { C as s, a as r, b as E, D as P, c as t, S, V as A, W as C, d, i as o, m as D, r as i, u as n, e as W, f as _ } from "../../_chunks/calendar-workspace-a84AHQwj.js";
|
|
2
2
|
export {
|
|
3
3
|
s as CALENDAR_PREFERENCE_KEYS,
|
|
4
4
|
r as CalendarDataProvider,
|
package/package.json
CHANGED
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { jsx as D } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as P } from "react";
|
|
3
|
-
import { useTranslation as M } from "react-i18next";
|
|
4
|
-
import { B as K } from "./badge-sTusUqZD.js";
|
|
5
|
-
import { T as Y } from "./tooltip-DvmfrNvB.js";
|
|
6
|
-
function E(e) {
|
|
7
|
-
if (!e || typeof e == "string") return [];
|
|
8
|
-
const i = e.signedBy;
|
|
9
|
-
return i ? Array.isArray(i) ? i : [i] : [];
|
|
10
|
-
}
|
|
11
|
-
function u(e, i) {
|
|
12
|
-
if (e === "notRequired") return "notRequired";
|
|
13
|
-
const r = E(i).filter((t) => t.standing);
|
|
14
|
-
return r.length === 0 ? e : r.every((t) => t.standing === "signed") ? "signed" : "pending";
|
|
15
|
-
}
|
|
16
|
-
function z(e, i, r = "notRequired", t) {
|
|
17
|
-
const o = [
|
|
18
|
-
u(e, t == null ? void 0 : t.operator),
|
|
19
|
-
u(i, 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 c = o.filter((d) => d === "signed").length;
|
|
24
|
-
return c === 0 ? "unsigned" : c === o.length ? "signed" : "partial";
|
|
25
|
-
}
|
|
26
|
-
const H = {
|
|
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
|
-
}, J = {
|
|
34
|
-
operator: "Operator",
|
|
35
|
-
patient: "Patient",
|
|
36
|
-
secondary: "Second signee"
|
|
37
|
-
}, Q = {
|
|
38
|
-
signed: "signed",
|
|
39
|
-
pending: "pending"
|
|
40
|
-
}, W = {
|
|
41
|
-
operator: "signatureStatusChip.missingOperator",
|
|
42
|
-
patient: "signatureStatusChip.missingPatient",
|
|
43
|
-
secondary: "signatureStatusChip.missingSecondary"
|
|
44
|
-
}, X = {
|
|
45
|
-
operator: "Operator signature missing",
|
|
46
|
-
patient: "Patient signature missing",
|
|
47
|
-
secondary: "Second signee signature missing"
|
|
48
|
-
};
|
|
49
|
-
function S(e) {
|
|
50
|
-
return `${e}`;
|
|
51
|
-
}
|
|
52
|
-
function Z(e, i, r) {
|
|
53
|
-
const t = [];
|
|
54
|
-
return e !== "notRequired" && t.push({ role: "operator", standing: e }), i !== "notRequired" && t.push({ role: "patient", standing: i }), r !== "notRequired" && t.push({ role: "secondary", standing: r }), t;
|
|
55
|
-
}
|
|
56
|
-
const tt = P(
|
|
57
|
-
({
|
|
58
|
-
operator: e,
|
|
59
|
-
patient: i,
|
|
60
|
-
secondary: r = "notRequired",
|
|
61
|
-
names: t,
|
|
62
|
-
size: o = "md",
|
|
63
|
-
detail: c = !1,
|
|
64
|
-
tooltip: d = !1,
|
|
65
|
-
id: w,
|
|
66
|
-
className: V,
|
|
67
|
-
"aria-label": _,
|
|
68
|
-
title: m,
|
|
69
|
-
...U
|
|
70
|
-
}, x) => {
|
|
71
|
-
const { t: n } = M(), y = z(e, i, r, t), N = Z(
|
|
72
|
-
u(e, t == null ? void 0 : t.operator),
|
|
73
|
-
u(i, t == null ? void 0 : t.patient),
|
|
74
|
-
u(r, t == null ? void 0 : t.secondary)
|
|
75
|
-
), l = (() => {
|
|
76
|
-
switch (y) {
|
|
77
|
-
case "signed":
|
|
78
|
-
return n("signatureStatusChip.signed", { defaultValue: "Signed" });
|
|
79
|
-
case "unsigned":
|
|
80
|
-
return n("signatureStatusChip.unsigned", {
|
|
81
|
-
defaultValue: "Not signed"
|
|
82
|
-
});
|
|
83
|
-
case "notRequired":
|
|
84
|
-
return n("signatureStatusChip.notRequired", {
|
|
85
|
-
defaultValue: "No signature required"
|
|
86
|
-
});
|
|
87
|
-
case "partial": {
|
|
88
|
-
const p = N.filter((a) => a.standing === "pending");
|
|
89
|
-
if (p.length === 1) {
|
|
90
|
-
const a = p[0].role;
|
|
91
|
-
return n(W[a], {
|
|
92
|
-
defaultValue: X[a]
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
return n("signatureStatusChip.missingCount", {
|
|
96
|
-
defaultValue: "{{count}} signatures missing",
|
|
97
|
-
count: p.length
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
})(), T = (p) => N.map(({ role: a, standing: b }) => {
|
|
102
|
-
const C = n(`signatureStatusChip.party.${a}`, {
|
|
103
|
-
defaultValue: J[a]
|
|
104
|
-
}), B = n(`signatureStatusChip.state.${b}`, {
|
|
105
|
-
defaultValue: Q[b]
|
|
106
|
-
}), h = p ? t == null ? void 0 : t[a] : void 0;
|
|
107
|
-
if (!h)
|
|
108
|
-
return n("signatureStatusChip.breakdownItem", {
|
|
109
|
-
defaultValue: "{{party}} {{state}}",
|
|
110
|
-
party: C,
|
|
111
|
-
state: B
|
|
112
|
-
});
|
|
113
|
-
const R = typeof h == "string" ? { name: h } : h, q = E(R);
|
|
114
|
-
if (q.length > 0) {
|
|
115
|
-
const L = (s) => s.relationship ? n("signatureStatusChip.representative", {
|
|
116
|
-
defaultValue: "{{name}} ({{relationship}})",
|
|
117
|
-
name: S(s.name),
|
|
118
|
-
relationship: s.relationship
|
|
119
|
-
}) : S(s.name), $ = (s) => s.standing ?? b, j = q.filter((s) => $(s) === "signed"), k = q.filter((s) => $(s) === "pending"), v = [];
|
|
120
|
-
return j.length > 0 && v.push(
|
|
121
|
-
n("signatureStatusChip.signedByList", {
|
|
122
|
-
defaultValue: "signed by {{signers}}",
|
|
123
|
-
signers: j.map(L).join(", ")
|
|
124
|
-
})
|
|
125
|
-
), k.length > 0 && v.push(
|
|
126
|
-
n("signatureStatusChip.awaitingList", {
|
|
127
|
-
defaultValue: "awaiting {{signers}}",
|
|
128
|
-
signers: k.map(L).join(", ")
|
|
129
|
-
})
|
|
130
|
-
), n("signatureStatusChip.breakdownItemOnBehalf", {
|
|
131
|
-
defaultValue: "{{party}}: {{name}}, {{detail}}",
|
|
132
|
-
party: C,
|
|
133
|
-
name: S(R.name),
|
|
134
|
-
detail: v.join(", ")
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
return n("signatureStatusChip.breakdownItemNamed", {
|
|
138
|
-
defaultValue: "{{party}}: {{name}} ({{state}})",
|
|
139
|
-
party: C,
|
|
140
|
-
name: S(R.name),
|
|
141
|
-
state: B
|
|
142
|
-
});
|
|
143
|
-
}).join(" · "), f = T(!0), I = T(!1), F = f ? `${l}, ${f}` : l, G = c && I ? `${l} · ${I}` : l, g = d && f.length > 0, A = _ ?? (g ? l : F), O = /* @__PURE__ */ D(
|
|
144
|
-
K,
|
|
145
|
-
{
|
|
146
|
-
ref: x,
|
|
147
|
-
variant: H[y],
|
|
148
|
-
size: o,
|
|
149
|
-
withDot: !0,
|
|
150
|
-
role: "img",
|
|
151
|
-
"aria-label": A,
|
|
152
|
-
title: g ? m : m ?? A,
|
|
153
|
-
tabIndex: g ? 0 : void 0,
|
|
154
|
-
"data-component": "signature-status-chip",
|
|
155
|
-
"data-status": y,
|
|
156
|
-
"data-component-id": w,
|
|
157
|
-
id: w,
|
|
158
|
-
className: g ? [
|
|
159
|
-
"ds:rounded-[var(--radius-full)]",
|
|
160
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
161
|
-
"ds:focus-visible:outline-solid",
|
|
162
|
-
"ds:focus-visible:outline-ring",
|
|
163
|
-
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
164
|
-
V
|
|
165
|
-
].filter(Boolean).join(" ") : V,
|
|
166
|
-
...U,
|
|
167
|
-
children: G
|
|
168
|
-
}
|
|
169
|
-
);
|
|
170
|
-
return g ? /* @__PURE__ */ D(Y, { label: f, children: O }) : O;
|
|
171
|
-
}
|
|
172
|
-
);
|
|
173
|
-
tt.displayName = "SignatureStatusChip";
|
|
174
|
-
export {
|
|
175
|
-
tt as S,
|
|
176
|
-
u as e,
|
|
177
|
-
z as s
|
|
178
|
-
};
|
|
179
|
-
//# sourceMappingURL=signature-status-chip-BSatI_Qc.js.map
|