@alfadocs/ui-kit 0.54.0 → 0.56.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 (72) hide show
  1. package/dist/_chunks/otp-input-xQ4Ps5VY.js +279 -0
  2. package/dist/_chunks/{pdf-viewer-4odMFuFW.js → pdf-viewer-XxWdtKfD.js} +63 -58
  3. package/dist/_chunks/{sign-document-BzHTjMVC.js → sign-document-BmAT0kKD.js} +3 -3
  4. package/dist/_chunks/{signature-capture-CHbrKoA_.js → signature-capture-COi0Uiqu.js} +22 -7
  5. package/dist/_chunks/use-signing-session-CyOZWinp.js +147 -0
  6. package/dist/agent-catalog.json +1 -1
  7. package/dist/components/otp-input/index.js +1 -1
  8. package/dist/components/otp-input/otp-input.d.ts +13 -1
  9. package/dist/components/pdf-viewer/index.js +1 -1
  10. package/dist/components/sign-document/index.js +1 -1
  11. package/dist/components/signature-capture/index.js +1 -1
  12. package/dist/hooks/index.js +1 -1
  13. package/dist/hooks/use-signing-session.d.ts +8 -0
  14. package/dist/i18n/locales/ar.d.ts +1 -0
  15. package/dist/i18n/locales/ar.js +2 -1
  16. package/dist/i18n/locales/de.d.ts +1 -0
  17. package/dist/i18n/locales/de.js +2 -1
  18. package/dist/i18n/locales/el.d.ts +1 -0
  19. package/dist/i18n/locales/el.js +2 -1
  20. package/dist/i18n/locales/en.d.ts +1 -0
  21. package/dist/i18n/locales/en.js +2 -1
  22. package/dist/i18n/locales/es.d.ts +1 -0
  23. package/dist/i18n/locales/es.js +2 -1
  24. package/dist/i18n/locales/fr.d.ts +1 -0
  25. package/dist/i18n/locales/fr.js +2 -1
  26. package/dist/i18n/locales/hi.d.ts +1 -0
  27. package/dist/i18n/locales/hi.js +2 -1
  28. package/dist/i18n/locales/it.d.ts +1 -0
  29. package/dist/i18n/locales/it.js +2 -1
  30. package/dist/i18n/locales/ja.d.ts +1 -0
  31. package/dist/i18n/locales/ja.js +2 -1
  32. package/dist/i18n/locales/nl.d.ts +1 -0
  33. package/dist/i18n/locales/nl.js +2 -1
  34. package/dist/i18n/locales/pl.d.ts +1 -0
  35. package/dist/i18n/locales/pl.js +2 -1
  36. package/dist/i18n/locales/pt.d.ts +1 -0
  37. package/dist/i18n/locales/pt.js +2 -1
  38. package/dist/i18n/locales/ro.d.ts +1 -0
  39. package/dist/i18n/locales/ro.js +2 -1
  40. package/dist/i18n/locales/ru.d.ts +1 -0
  41. package/dist/i18n/locales/ru.js +2 -1
  42. package/dist/i18n/locales/sq.d.ts +1 -0
  43. package/dist/i18n/locales/sq.js +2 -1
  44. package/dist/i18n/locales/sv.d.ts +1 -0
  45. package/dist/i18n/locales/sv.js +2 -1
  46. package/dist/i18n/locales/tr.d.ts +1 -0
  47. package/dist/i18n/locales/tr.js +2 -1
  48. package/dist/i18n/locales/zh.d.ts +1 -0
  49. package/dist/i18n/locales/zh.js +2 -1
  50. package/dist/index.js +5 -5
  51. package/dist/locales/ar.json +2 -1
  52. package/dist/locales/de.json +2 -1
  53. package/dist/locales/el.json +2 -1
  54. package/dist/locales/en.json +2 -1
  55. package/dist/locales/es.json +2 -1
  56. package/dist/locales/fr.json +2 -1
  57. package/dist/locales/hi.json +2 -1
  58. package/dist/locales/it.json +2 -1
  59. package/dist/locales/ja.json +2 -1
  60. package/dist/locales/nl.json +2 -1
  61. package/dist/locales/pl.json +2 -1
  62. package/dist/locales/pt.json +2 -1
  63. package/dist/locales/ro.json +2 -1
  64. package/dist/locales/ru.json +2 -1
  65. package/dist/locales/sq.json +2 -1
  66. package/dist/locales/sv.json +2 -1
  67. package/dist/locales/tr.json +2 -1
  68. package/dist/locales/zh.json +2 -1
  69. package/dist/tokens.css +1 -1
  70. package/package.json +1 -1
  71. package/dist/_chunks/otp-input-Chb9r5vf.js +0 -268
  72. package/dist/_chunks/use-signing-session-C5evzYmo.js +0 -108
@@ -0,0 +1,147 @@
1
+ import { useRef as E, useEffect as B, useState as h, useMemo as I, useCallback as g } from "react";
2
+ function R(o) {
3
+ return o != null && o.current ? o.current : typeof document > "u" ? null : document;
4
+ }
5
+ function T(o, s) {
6
+ const r = typeof CSS < "u" && typeof CSS.escape == "function" ? CSS.escape(o) : (
7
+ // SSR / jsdom fallback — drop every character that's
8
+ // significant in a CSS attribute selector. Conservative but
9
+ // robust enough for the test environment.
10
+ o.replace(/["'\\[\]]/g, "")
11
+ ), c = `[data-error-anchor="${r}"], [name="${r}"], [name$="[${r}]"]`, l = Array.from(s.querySelectorAll(c));
12
+ return l.length === 0 ? null : l.find((f) => f.offsetParent !== null) ?? l[0];
13
+ }
14
+ function q(o, s, r = {}) {
15
+ const {
16
+ scope: c,
17
+ scrollOptions: l = { behavior: "smooth", block: "center" },
18
+ focus: p = !0,
19
+ skipInitialMount: f = !0
20
+ } = r, t = E(!1), a = E(null), i = s.find((m) => !!o[m]) ?? null;
21
+ B(() => {
22
+ if (f && !t.current) {
23
+ t.current = !0, a.current = i;
24
+ return;
25
+ }
26
+ if (!i) {
27
+ a.current = null;
28
+ return;
29
+ }
30
+ if (i === a.current || typeof window > "u") return;
31
+ const m = window.requestAnimationFrame(() => {
32
+ const F = R(c);
33
+ if (!F) return;
34
+ const S = T(i, F);
35
+ S && (S.scrollIntoView(l), p && S.focus({ preventScroll: !0 }), a.current = i);
36
+ });
37
+ return () => window.cancelAnimationFrame(m);
38
+ }, [i]);
39
+ }
40
+ function k(o, s = !1) {
41
+ const r = {};
42
+ for (const c of o)
43
+ r[c.id] = { signed: s ? !1 : !!c.signed };
44
+ return r;
45
+ }
46
+ function M(o) {
47
+ const [s, r] = h(
48
+ () => k(o)
49
+ ), [c, l] = h(null), [p, f] = h(
50
+ () => {
51
+ var n;
52
+ return ((n = o[0]) == null ? void 0 : n.id) ?? null;
53
+ }
54
+ ), t = I(
55
+ () => o.map((n) => {
56
+ const e = s[n.id];
57
+ return {
58
+ ...n,
59
+ signed: e ? e.signed : !!n.signed,
60
+ payload: e == null ? void 0 : e.payload
61
+ };
62
+ }),
63
+ [o, s]
64
+ ), a = I(
65
+ () => t.reduce((n, e) => e.signed ? n + 1 : n, 0),
66
+ [t]
67
+ ), i = t.length, m = i > 0 && a === i, F = g((n) => {
68
+ l(n);
69
+ }, []), S = g(() => {
70
+ l(null);
71
+ }, []), v = g((n, e) => {
72
+ r((u) => ({ ...u, [n]: { signed: !0, payload: e } })), l((u) => u === n ? null : u);
73
+ }, []), w = g(
74
+ (n) => {
75
+ var e;
76
+ return !!((e = s[n]) != null && e.signed);
77
+ },
78
+ [s]
79
+ ), y = g(() => {
80
+ var n;
81
+ r(k(o, !0)), l(null), f(((n = o[0]) == null ? void 0 : n.id) ?? null);
82
+ }, [o]), C = g(() => {
83
+ f((n) => {
84
+ const e = t.length;
85
+ if (e === 0) return null;
86
+ const u = n ? t.findIndex((d) => d.id === n) : -1;
87
+ return t[(u + 1 + e) % e].id;
88
+ });
89
+ }, [t]), x = g(() => {
90
+ f((n) => {
91
+ const e = t.length;
92
+ if (e === 0) return null;
93
+ const u = n ? t.findIndex((d) => d.id === n) : 0;
94
+ return t[(u - 1 + e) % e].id;
95
+ });
96
+ }, [t]), b = g(() => {
97
+ f((n) => {
98
+ const e = t.length;
99
+ if (e === 0) return n;
100
+ const u = n ? t.findIndex((d) => d.id === n) : -1;
101
+ for (let d = 1; d <= e; d += 1) {
102
+ const A = t[(u + d) % e];
103
+ if (!A.signed) return A.id;
104
+ }
105
+ return n;
106
+ });
107
+ }, [t]);
108
+ return I(
109
+ () => ({
110
+ fields: t,
111
+ signedCount: a,
112
+ total: i,
113
+ isComplete: m,
114
+ activeFieldId: c,
115
+ openField: F,
116
+ closeField: S,
117
+ markSigned: v,
118
+ isFieldSigned: w,
119
+ reset: y,
120
+ cursorFieldId: p,
121
+ goToNextField: C,
122
+ goToPreviousField: x,
123
+ goToNextUnsigned: b
124
+ }),
125
+ [
126
+ t,
127
+ a,
128
+ i,
129
+ m,
130
+ c,
131
+ F,
132
+ S,
133
+ v,
134
+ w,
135
+ y,
136
+ p,
137
+ C,
138
+ x,
139
+ b
140
+ ]
141
+ );
142
+ }
143
+ export {
144
+ M as a,
145
+ q as u
146
+ };
147
+ //# sourceMappingURL=use-signing-session-CyOZWinp.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.54.0",
3
+ "packageVersion": "0.56.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,4 +1,4 @@
1
- import { O as r } from "../../_chunks/otp-input-Chb9r5vf.js";
1
+ import { O as r } from "../../_chunks/otp-input-xQ4Ps5VY.js";
2
2
  export {
3
3
  r as OTPInput
4
4
  };
@@ -1,3 +1,4 @@
1
+ export type OTPMode = 'numeric' | 'alphanumeric';
1
2
  /** Agent-readiness curated handle for OTPInput. */
2
3
  export interface OTPInputHandle {
3
4
  getValue: () => string;
@@ -7,7 +8,11 @@ export interface OTPInputHandle {
7
8
  isComplete: () => boolean;
8
9
  }
9
10
  export interface OTPInputProps {
10
- length?: 4 | 6 | 8;
11
+ /**
12
+ * Number of boxes. Default 6. Any integer in [3, 10] is honoured;
13
+ * out-of-range values are clamped (with a DEV warning).
14
+ */
15
+ length?: number;
11
16
  value?: string;
12
17
  defaultValue?: string;
13
18
  onChange?: (value: string) => void;
@@ -40,6 +45,13 @@ export interface OTPInputProps {
40
45
  * `sms_code_form[code]`. Default off — no behaviour change.
41
46
  */
42
47
  name?: string;
48
+ /**
49
+ * Character set. `numeric` (default) accepts digits only (with Arabic-Indic
50
+ * digit folding) — byte-identical to prior behaviour. `alphanumeric` accepts
51
+ * `[A-Za-z0-9]`, uppercases the value, and switches the boxes to text input
52
+ * (for SMS codes that mix letters and digits).
53
+ */
54
+ mode?: OTPMode;
43
55
  }
44
56
  export declare const OTPInput: import("react").ForwardRefExoticComponent<OTPInputProps & import("react").RefAttributes<OTPInputHandle>>;
45
57
  //# sourceMappingURL=otp-input.d.ts.map
@@ -1,4 +1,4 @@
1
- import { P as p, p as a } from "../../_chunks/pdf-viewer-4odMFuFW.js";
1
+ import { P as p, p as a } from "../../_chunks/pdf-viewer-XxWdtKfD.js";
2
2
  export {
3
3
  p as PDFViewer,
4
4
  a as pdfViewerAgent
@@ -1,4 +1,4 @@
1
- import { S as o, s } from "../../_chunks/sign-document-BzHTjMVC.js";
1
+ import { S as o, s } from "../../_chunks/sign-document-BmAT0kKD.js";
2
2
  export {
3
3
  o as SignDocument,
4
4
  s as signDocumentAgent
@@ -1,4 +1,4 @@
1
- import { S as r, s as t } from "../../_chunks/signature-capture-CHbrKoA_.js";
1
+ import { S as r, s as t } from "../../_chunks/signature-capture-COi0Uiqu.js";
2
2
  export {
3
3
  r as SignatureCapture,
4
4
  t as signatureCaptureAgent
@@ -1,6 +1,6 @@
1
1
  import { u as v } from "../_chunks/use-prefers-reduced-motion-BMwIQRjB.js";
2
2
  import { u as D } from "../_chunks/use-media-query-CcAx5SMM.js";
3
- import { u as g, a as _ } from "../_chunks/use-signing-session-C5evzYmo.js";
3
+ import { u as g, a as _ } from "../_chunks/use-signing-session-CyOZWinp.js";
4
4
  import { u as O } from "../_chunks/use-count-up-BLLetaZ8.js";
5
5
  import { u as k } from "../_chunks/use-locale-BkCIHujH.js";
6
6
  import { A as K, T as H, a as M, r as Y, t as q, u as B } from "../_chunks/use-theme-CAuo6EYT.js";
@@ -31,6 +31,14 @@ export interface UseSigningSessionReturn<TField extends SigningFieldBase, TPaylo
31
31
  isFieldSigned: (id: string) => boolean;
32
32
  /** Clear all signatures and close any open field. */
33
33
  reset: () => void;
34
+ /** The field currently targeted by next/previous navigation, or `null`. */
35
+ cursorFieldId: string | null;
36
+ /** Move the navigation cursor to the next field (input order, cycling). */
37
+ goToNextField: () => void;
38
+ /** Move the navigation cursor to the previous field (cycling). */
39
+ goToPreviousField: () => void;
40
+ /** Move the cursor to the next still-unsigned field (cycling); no-op if all signed. */
41
+ goToNextUnsigned: () => void;
34
42
  }
35
43
  export declare function useSigningSession<TField extends SigningFieldBase, TPayload = unknown>(fields: TField[]): UseSigningSessionReturn<TField, TPayload>;
36
44
  //# sourceMappingURL=use-signing-session.d.ts.map
@@ -147,6 +147,7 @@ export declare const arUi: {
147
147
  };
148
148
  readonly otp: {
149
149
  readonly digitLabel: "الرقم {{current}} من {{total}}";
150
+ readonly charLabel: "الحرف {{current}} من {{total}}";
150
151
  };
151
152
  readonly slider: {
152
153
  readonly minLabel: "الحد الأدنى";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "مسح الاختيار"
140
140
  },
141
141
  otp: {
142
- digitLabel: "الرقم {{current}} من {{total}}"
142
+ digitLabel: "الرقم {{current}} من {{total}}",
143
+ charLabel: "الحرف {{current}} من {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "الحد الأدنى",
@@ -136,6 +136,7 @@ export declare const deUi: {
136
136
  };
137
137
  readonly otp: {
138
138
  readonly digitLabel: "Ziffer {{current}} von {{total}}";
139
+ readonly charLabel: "Zeichen {{current}} von {{total}}";
139
140
  };
140
141
  readonly slider: {
141
142
  readonly minLabel: "Minimum";
@@ -128,7 +128,8 @@ const e = {
128
128
  clear: "Auswahl aufheben"
129
129
  },
130
130
  otp: {
131
- digitLabel: "Ziffer {{current}} von {{total}}"
131
+ digitLabel: "Ziffer {{current}} von {{total}}",
132
+ charLabel: "Zeichen {{current}} von {{total}}"
132
133
  },
133
134
  slider: {
134
135
  minLabel: "Minimum",
@@ -144,6 +144,7 @@ export declare const elUi: {
144
144
  };
145
145
  readonly otp: {
146
146
  readonly digitLabel: "Ψηφίο {{current}} από {{total}}";
147
+ readonly charLabel: "Χαρακτήρας {{current}} από {{total}}";
147
148
  };
148
149
  readonly slider: {
149
150
  readonly minLabel: "Ελάχιστο";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Εκκαθάριση επιλογής"
140
140
  },
141
141
  otp: {
142
- digitLabel: "Ψηφίο {{current}} από {{total}}"
142
+ digitLabel: "Ψηφίο {{current}} από {{total}}",
143
+ charLabel: "Χαρακτήρας {{current}} από {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Ελάχιστο",
@@ -144,6 +144,7 @@ export declare const enUi: {
144
144
  };
145
145
  readonly otp: {
146
146
  readonly digitLabel: "Digit {{current}} of {{total}}";
147
+ readonly charLabel: "Character {{current}} of {{total}}";
147
148
  };
148
149
  readonly slider: {
149
150
  readonly minLabel: "Minimum";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Clear selection"
140
140
  },
141
141
  otp: {
142
- digitLabel: "Digit {{current}} of {{total}}"
142
+ digitLabel: "Digit {{current}} of {{total}}",
143
+ charLabel: "Character {{current}} of {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Minimum",
@@ -133,6 +133,7 @@ export declare const esUi: {
133
133
  };
134
134
  readonly otp: {
135
135
  readonly digitLabel: "Dígito {{current}} de {{total}}";
136
+ readonly charLabel: "Carácter {{current}} de {{total}}";
136
137
  };
137
138
  readonly slider: {
138
139
  readonly minLabel: "Mínimo";
@@ -128,7 +128,8 @@ const e = {
128
128
  clear: "Borrar selección"
129
129
  },
130
130
  otp: {
131
- digitLabel: "Dígito {{current}} de {{total}}"
131
+ digitLabel: "Dígito {{current}} de {{total}}",
132
+ charLabel: "Carácter {{current}} de {{total}}"
132
133
  },
133
134
  slider: {
134
135
  minLabel: "Mínimo",
@@ -144,6 +144,7 @@ export declare const frUi: {
144
144
  };
145
145
  readonly otp: {
146
146
  readonly digitLabel: "Chiffre {{current}} sur {{total}}";
147
+ readonly charLabel: "Caractère {{current}} sur {{total}}";
147
148
  };
148
149
  readonly slider: {
149
150
  readonly minLabel: "Minimum";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Effacer la sélection"
140
140
  },
141
141
  otp: {
142
- digitLabel: "Chiffre {{current}} sur {{total}}"
142
+ digitLabel: "Chiffre {{current}} sur {{total}}",
143
+ charLabel: "Caractère {{current}} sur {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Minimum",
@@ -144,6 +144,7 @@ export declare const hiUi: {
144
144
  };
145
145
  readonly otp: {
146
146
  readonly digitLabel: "{{current}} में से {{total}} का अंक";
147
+ readonly charLabel: "{{current}} में से {{total}} का वर्ण";
147
148
  };
148
149
  readonly slider: {
149
150
  readonly minLabel: "न्यूनतम";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "चयन हटाएं"
140
140
  },
141
141
  otp: {
142
- digitLabel: "{{current}} में से {{total}} का अंक"
142
+ digitLabel: "{{current}} में से {{total}} का अंक",
143
+ charLabel: "{{current}} में से {{total}} का वर्ण"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "न्यूनतम",
@@ -141,6 +141,7 @@ export declare const itUi: {
141
141
  };
142
142
  readonly otp: {
143
143
  readonly digitLabel: "Cifra {{current}} di {{total}}";
144
+ readonly charLabel: "Carattere {{current}} di {{total}}";
144
145
  };
145
146
  readonly slider: {
146
147
  readonly minLabel: "Minimo";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Cancella selezione"
140
140
  },
141
141
  otp: {
142
- digitLabel: "Cifra {{current}} di {{total}}"
142
+ digitLabel: "Cifra {{current}} di {{total}}",
143
+ charLabel: "Carattere {{current}} di {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Minimo",
@@ -133,6 +133,7 @@ export declare const jaUi: {
133
133
  };
134
134
  readonly otp: {
135
135
  readonly digitLabel: "{{total}} 桁中 {{current}} 桁目";
136
+ readonly charLabel: "{{total}} 文字中 {{current}} 文字目";
136
137
  };
137
138
  readonly slider: {
138
139
  readonly minLabel: "最小";
@@ -128,7 +128,8 @@ const e = {
128
128
  clear: "選択をクリア"
129
129
  },
130
130
  otp: {
131
- digitLabel: "{{total}} 桁中 {{current}} 桁目"
131
+ digitLabel: "{{total}} 桁中 {{current}} 桁目",
132
+ charLabel: "{{total}} 文字中 {{current}} 文字目"
132
133
  },
133
134
  slider: {
134
135
  minLabel: "最小",
@@ -133,6 +133,7 @@ export declare const nlUi: {
133
133
  };
134
134
  readonly otp: {
135
135
  readonly digitLabel: "Cijfer {{current}} van {{total}}";
136
+ readonly charLabel: "Teken {{current}} van {{total}}";
136
137
  };
137
138
  readonly slider: {
138
139
  readonly minLabel: "Minimum";
@@ -128,7 +128,8 @@ const e = {
128
128
  clear: "Selectie wissen"
129
129
  },
130
130
  otp: {
131
- digitLabel: "Cijfer {{current}} van {{total}}"
131
+ digitLabel: "Cijfer {{current}} van {{total}}",
132
+ charLabel: "Teken {{current}} van {{total}}"
132
133
  },
133
134
  slider: {
134
135
  minLabel: "Minimum",
@@ -133,6 +133,7 @@ export declare const plUi: {
133
133
  };
134
134
  readonly otp: {
135
135
  readonly digitLabel: "Cyfra {{current}} z {{total}}";
136
+ readonly charLabel: "Znak {{current}} z {{total}}";
136
137
  };
137
138
  readonly slider: {
138
139
  readonly minLabel: "Minimum";
@@ -128,7 +128,8 @@ const e = {
128
128
  clear: "Wyczyść wybór"
129
129
  },
130
130
  otp: {
131
- digitLabel: "Cyfra {{current}} z {{total}}"
131
+ digitLabel: "Cyfra {{current}} z {{total}}",
132
+ charLabel: "Znak {{current}} z {{total}}"
132
133
  },
133
134
  slider: {
134
135
  minLabel: "Minimum",
@@ -145,6 +145,7 @@ export declare const ptUi: {
145
145
  };
146
146
  readonly otp: {
147
147
  readonly digitLabel: "Dígito {{current}} de {{total}}";
148
+ readonly charLabel: "Caractere {{current}} de {{total}}";
148
149
  };
149
150
  readonly slider: {
150
151
  readonly minLabel: "Mínimo";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Limpar seleção"
140
140
  },
141
141
  otp: {
142
- digitLabel: "Dígito {{current}} de {{total}}"
142
+ digitLabel: "Dígito {{current}} de {{total}}",
143
+ charLabel: "Caractere {{current}} de {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Mínimo",
@@ -133,6 +133,7 @@ export declare const roUi: {
133
133
  };
134
134
  readonly otp: {
135
135
  readonly digitLabel: "Cifra {{current}} din {{total}}";
136
+ readonly charLabel: "Caracterul {{current}} din {{total}}";
136
137
  };
137
138
  readonly slider: {
138
139
  readonly minLabel: "Minim";
@@ -128,7 +128,8 @@ const e = {
128
128
  clear: "Anulează selecția"
129
129
  },
130
130
  otp: {
131
- digitLabel: "Cifra {{current}} din {{total}}"
131
+ digitLabel: "Cifra {{current}} din {{total}}",
132
+ charLabel: "Caracterul {{current}} din {{total}}"
132
133
  },
133
134
  slider: {
134
135
  minLabel: "Minim",
@@ -144,6 +144,7 @@ export declare const ruUi: {
144
144
  };
145
145
  readonly otp: {
146
146
  readonly digitLabel: "Цифра {{current}} из {{total}}";
147
+ readonly charLabel: "Символ {{current}} из {{total}}";
147
148
  };
148
149
  readonly slider: {
149
150
  readonly minLabel: "Минимум";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Очистить выбор"
140
140
  },
141
141
  otp: {
142
- digitLabel: "Цифра {{current}} из {{total}}"
142
+ digitLabel: "Цифра {{current}} из {{total}}",
143
+ charLabel: "Символ {{current}} из {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Минимум",
@@ -144,6 +144,7 @@ export declare const sqUi: {
144
144
  };
145
145
  readonly otp: {
146
146
  readonly digitLabel: "Shifra {{current}} nga {{total}}";
147
+ readonly charLabel: "Karakteri {{current}} nga {{total}}";
147
148
  };
148
149
  readonly slider: {
149
150
  readonly minLabel: "Minimumi";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Pastro zgjedhjen"
140
140
  },
141
141
  otp: {
142
- digitLabel: "Shifra {{current}} nga {{total}}"
142
+ digitLabel: "Shifra {{current}} nga {{total}}",
143
+ charLabel: "Karakteri {{current}} nga {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Minimumi",
@@ -144,6 +144,7 @@ export declare const svUi: {
144
144
  };
145
145
  readonly otp: {
146
146
  readonly digitLabel: "Siffra {{current}} av {{total}}";
147
+ readonly charLabel: "Tecken {{current}} av {{total}}";
147
148
  };
148
149
  readonly slider: {
149
150
  readonly minLabel: "Minimum";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Rensa val"
140
140
  },
141
141
  otp: {
142
- digitLabel: "Siffra {{current}} av {{total}}"
142
+ digitLabel: "Siffra {{current}} av {{total}}",
143
+ charLabel: "Tecken {{current}} av {{total}}"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Minimum",
@@ -144,6 +144,7 @@ export declare const trUi: {
144
144
  };
145
145
  readonly otp: {
146
146
  readonly digitLabel: "{{total}} basamaktan {{current}}. basamak";
147
+ readonly charLabel: "{{total}} karakterden {{current}}. karakter";
147
148
  };
148
149
  readonly slider: {
149
150
  readonly minLabel: "Minimum";
@@ -139,7 +139,8 @@ const e = {
139
139
  clear: "Seçimi temizle"
140
140
  },
141
141
  otp: {
142
- digitLabel: "{{total}} basamaktan {{current}}. basamak"
142
+ digitLabel: "{{total}} basamaktan {{current}}. basamak",
143
+ charLabel: "{{total}} karakterden {{current}}. karakter"
143
144
  },
144
145
  slider: {
145
146
  minLabel: "Minimum",
@@ -133,6 +133,7 @@ export declare const zhUi: {
133
133
  };
134
134
  readonly otp: {
135
135
  readonly digitLabel: "第 {{current}} 位,共 {{total}} 位";
136
+ readonly charLabel: "第 {{current}} 个字符,共 {{total}} 个";
136
137
  };
137
138
  readonly slider: {
138
139
  readonly minLabel: "最小值";
@@ -128,7 +128,8 @@ const e = {
128
128
  clear: "清除选择"
129
129
  },
130
130
  otp: {
131
- digitLabel: "第 {{current}} 位,共 {{total}} 位"
131
+ digitLabel: "第 {{current}} 位,共 {{total}} 位",
132
+ charLabel: "第 {{current}} 个字符,共 {{total}} 个"
132
133
  },
133
134
  slider: {
134
135
  minLabel: "最小值",
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { u as r } from "./_chunks/use-prefers-reduced-motion-BMwIQRjB.js";
2
2
  import { u as t } from "./_chunks/use-media-query-CcAx5SMM.js";
3
- import { u as n, a as i } from "./_chunks/use-signing-session-C5evzYmo.js";
3
+ import { u as n, a as i } from "./_chunks/use-signing-session-CyOZWinp.js";
4
4
  import { u as m } from "./_chunks/use-locale-BkCIHujH.js";
5
5
  import { A as d, T as c, a as f, r as g, t as A, u as x } from "./_chunks/use-theme-CAuo6EYT.js";
6
6
  import { u } from "./_chunks/use-persistent-state-i23OWy6G.js";
@@ -34,7 +34,7 @@ import { F as Ya } from "./_chunks/form-field-BOm9hK35.js";
34
34
  import { F as Qa, u as ja } from "./_chunks/form-field-context-B3APVHKx.js";
35
35
  import { M as Xa, m as Ja, a as Za } from "./_chunks/multi-select-DOLO3K_z.js";
36
36
  import { N as ae, u as ee } from "./_chunks/number-input-Dj5L3pXK.js";
37
- import { O as oe } from "./_chunks/otp-input-Chb9r5vf.js";
37
+ import { O as oe } from "./_chunks/otp-input-xQ4Ps5VY.js";
38
38
  import { P as se, u as ne } from "./_chunks/use-password-requirements-DsgduV1x.js";
39
39
  import { P as pe, c as me, p as le, a as de } from "./_chunks/phone-input-DfZbPPvh.js";
40
40
  import { R as fe, r as ge } from "./_chunks/recaptcha-widget-BCNHsgqt.js";
@@ -160,12 +160,12 @@ import { C as Mm, a as km, b as Hm, c as wm } from "./_chunks/contact-profile-ca
160
160
  import { P as Vm, p as Gm } from "./_chunks/practice-results-CtfciF2v.js";
161
161
  import { P as Um, a as Km, p as Ym, b as qm } from "./_chunks/payment-request-card-B_lyobd0.js";
162
162
  import { P as jm, f as zm, p as Xm, a as Jm, s as Zm, b as $m, c as al } from "./_chunks/payment-form-DJ9vnzrT.js";
163
- import { P as rl, p as ol } from "./_chunks/pdf-viewer-4odMFuFW.js";
163
+ import { P as rl, p as ol } from "./_chunks/pdf-viewer-XxWdtKfD.js";
164
164
  import { R as sl, r as nl } from "./_chunks/reviews-panel-CPrXu5TX.js";
165
165
  import { R as pl, e as ml, r as ll, t as dl, a as cl, w as fl } from "./_chunks/rich-text-editor-DhGIBd4a.js";
166
- import { S as Al, s as xl } from "./_chunks/signature-capture-CHbrKoA_.js";
166
+ import { S as Al, s as xl } from "./_chunks/signature-capture-COi0Uiqu.js";
167
167
  import { S as ul, s as Sl } from "./_chunks/signature-field-DhscKdgk.js";
168
- import { S as bl, s as Pl } from "./_chunks/sign-document-BzHTjMVC.js";
168
+ import { S as bl, s as Pl } from "./_chunks/sign-document-BmAT0kKD.js";
169
169
  import { S as Rl, f as El, i as hl } from "./_chunks/slot-grid-BlHHP9Qy.js";
170
170
  import { C as Nl, a as _l, b as Ll, F as Dl, c as yl, d as Ol, P as Bl, e as Ml, T as kl, f as Hl, g as wl, h as vl, l as Vl, i as Gl, t as Wl, r as Ul } from "./_chunks/tooth-scheme-CxlsLjfN.js";
171
171
  import { T as Yl } from "./_chunks/transaction-chip-BZCa6XDn.js";