@alfadocs/ui-kit-debug 0.52.0 → 0.53.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 (136) hide show
  1. package/dist/_chunks/{otp-input-CMphfBxZ.js → otp-input-Chb9r5vf.js} +89 -87
  2. package/dist/_chunks/{otp-input-CMphfBxZ.js.map → otp-input-Chb9r5vf.js.map} +1 -1
  3. package/dist/_chunks/{public-header.agent-BY6FH71R.js → public-header.agent-DyVpPwmv.js} +72 -62
  4. package/dist/_chunks/public-header.agent-DyVpPwmv.js.map +1 -0
  5. package/dist/_chunks/{sign-document-Bzld9jVM.js → sign-document-BzHTjMVC.js} +2 -2
  6. package/dist/_chunks/{sign-document-Bzld9jVM.js.map → sign-document-BzHTjMVC.js.map} +1 -1
  7. package/dist/_chunks/{signature-capture-CpMBhqQ9.js → signature-capture-CHbrKoA_.js} +163 -152
  8. package/dist/_chunks/signature-capture-CHbrKoA_.js.map +1 -0
  9. package/dist/_chunks/signature-field-DhscKdgk.js +152 -0
  10. package/dist/_chunks/signature-field-DhscKdgk.js.map +1 -0
  11. package/dist/_chunks/use-signing-session-C5evzYmo.js +108 -0
  12. package/dist/_chunks/use-signing-session-C5evzYmo.js.map +1 -0
  13. package/dist/agent-catalog.json +1 -1
  14. package/dist/components/index.d.ts +3 -2
  15. package/dist/components/index.d.ts.map +1 -1
  16. package/dist/components/otp-input/index.js +1 -1
  17. package/dist/components/otp-input/otp-input.d.ts +6 -0
  18. package/dist/components/otp-input/otp-input.d.ts.map +1 -1
  19. package/dist/components/pdf-viewer/index.d.ts +1 -1
  20. package/dist/components/pdf-viewer/index.d.ts.map +1 -1
  21. package/dist/components/public-header/index.js +1 -1
  22. package/dist/components/public-header/public-header.d.ts +1 -1
  23. package/dist/components/public-header/public-header.d.ts.map +1 -1
  24. package/dist/components/sign-document/index.js +1 -1
  25. package/dist/components/signature-capture/index.js +1 -1
  26. package/dist/components/signature-capture/signature-capture.d.ts +7 -0
  27. package/dist/components/signature-capture/signature-capture.d.ts.map +1 -1
  28. package/dist/components/signature-field/index.d.ts +3 -0
  29. package/dist/components/signature-field/index.d.ts.map +1 -0
  30. package/dist/components/signature-field/index.js +6 -0
  31. package/dist/components/signature-field/index.js.map +1 -0
  32. package/dist/components/signature-field/signature-field.d.ts +35 -0
  33. package/dist/components/signature-field/signature-field.d.ts.map +1 -0
  34. package/dist/hooks/index.d.ts +1 -0
  35. package/dist/hooks/index.d.ts.map +1 -1
  36. package/dist/hooks/index.js +42 -41
  37. package/dist/hooks/use-signing-session.d.ts +36 -0
  38. package/dist/hooks/use-signing-session.d.ts.map +1 -0
  39. package/dist/i18n/locales/ar.d.ts +8 -0
  40. package/dist/i18n/locales/ar.d.ts.map +1 -1
  41. package/dist/i18n/locales/ar.js +8 -0
  42. package/dist/i18n/locales/ar.js.map +1 -1
  43. package/dist/i18n/locales/de.d.ts +8 -0
  44. package/dist/i18n/locales/de.d.ts.map +1 -1
  45. package/dist/i18n/locales/de.js +8 -0
  46. package/dist/i18n/locales/de.js.map +1 -1
  47. package/dist/i18n/locales/el.d.ts +8 -0
  48. package/dist/i18n/locales/el.d.ts.map +1 -1
  49. package/dist/i18n/locales/el.js +8 -0
  50. package/dist/i18n/locales/el.js.map +1 -1
  51. package/dist/i18n/locales/en.d.ts +8 -0
  52. package/dist/i18n/locales/en.d.ts.map +1 -1
  53. package/dist/i18n/locales/en.js +8 -0
  54. package/dist/i18n/locales/en.js.map +1 -1
  55. package/dist/i18n/locales/es.d.ts +8 -0
  56. package/dist/i18n/locales/es.d.ts.map +1 -1
  57. package/dist/i18n/locales/es.js +8 -0
  58. package/dist/i18n/locales/es.js.map +1 -1
  59. package/dist/i18n/locales/fr.d.ts +8 -0
  60. package/dist/i18n/locales/fr.d.ts.map +1 -1
  61. package/dist/i18n/locales/fr.js +8 -0
  62. package/dist/i18n/locales/fr.js.map +1 -1
  63. package/dist/i18n/locales/hi.d.ts +8 -0
  64. package/dist/i18n/locales/hi.d.ts.map +1 -1
  65. package/dist/i18n/locales/hi.js +8 -0
  66. package/dist/i18n/locales/hi.js.map +1 -1
  67. package/dist/i18n/locales/it.d.ts +8 -0
  68. package/dist/i18n/locales/it.d.ts.map +1 -1
  69. package/dist/i18n/locales/it.js +8 -0
  70. package/dist/i18n/locales/it.js.map +1 -1
  71. package/dist/i18n/locales/ja.d.ts +8 -0
  72. package/dist/i18n/locales/ja.d.ts.map +1 -1
  73. package/dist/i18n/locales/ja.js +8 -0
  74. package/dist/i18n/locales/ja.js.map +1 -1
  75. package/dist/i18n/locales/nl.d.ts +8 -0
  76. package/dist/i18n/locales/nl.d.ts.map +1 -1
  77. package/dist/i18n/locales/nl.js +8 -0
  78. package/dist/i18n/locales/nl.js.map +1 -1
  79. package/dist/i18n/locales/pl.d.ts +8 -0
  80. package/dist/i18n/locales/pl.d.ts.map +1 -1
  81. package/dist/i18n/locales/pl.js +8 -0
  82. package/dist/i18n/locales/pl.js.map +1 -1
  83. package/dist/i18n/locales/pt.d.ts +8 -0
  84. package/dist/i18n/locales/pt.d.ts.map +1 -1
  85. package/dist/i18n/locales/pt.js +8 -0
  86. package/dist/i18n/locales/pt.js.map +1 -1
  87. package/dist/i18n/locales/ro.d.ts +8 -0
  88. package/dist/i18n/locales/ro.d.ts.map +1 -1
  89. package/dist/i18n/locales/ro.js +8 -0
  90. package/dist/i18n/locales/ro.js.map +1 -1
  91. package/dist/i18n/locales/ru.d.ts +8 -0
  92. package/dist/i18n/locales/ru.d.ts.map +1 -1
  93. package/dist/i18n/locales/ru.js +8 -0
  94. package/dist/i18n/locales/ru.js.map +1 -1
  95. package/dist/i18n/locales/sq.d.ts +8 -0
  96. package/dist/i18n/locales/sq.d.ts.map +1 -1
  97. package/dist/i18n/locales/sq.js +8 -0
  98. package/dist/i18n/locales/sq.js.map +1 -1
  99. package/dist/i18n/locales/sv.d.ts +8 -0
  100. package/dist/i18n/locales/sv.d.ts.map +1 -1
  101. package/dist/i18n/locales/sv.js +8 -0
  102. package/dist/i18n/locales/sv.js.map +1 -1
  103. package/dist/i18n/locales/tr.d.ts +8 -0
  104. package/dist/i18n/locales/tr.d.ts.map +1 -1
  105. package/dist/i18n/locales/tr.js +8 -0
  106. package/dist/i18n/locales/tr.js.map +1 -1
  107. package/dist/i18n/locales/zh.d.ts +8 -0
  108. package/dist/i18n/locales/zh.d.ts.map +1 -1
  109. package/dist/i18n/locales/zh.js +8 -0
  110. package/dist/i18n/locales/zh.js.map +1 -1
  111. package/dist/index.js +701 -697
  112. package/dist/index.js.map +1 -1
  113. package/dist/locales/ar.json +8 -0
  114. package/dist/locales/de.json +8 -0
  115. package/dist/locales/el.json +8 -0
  116. package/dist/locales/en.json +8 -0
  117. package/dist/locales/es.json +8 -0
  118. package/dist/locales/fr.json +8 -0
  119. package/dist/locales/hi.json +8 -0
  120. package/dist/locales/it.json +8 -0
  121. package/dist/locales/ja.json +8 -0
  122. package/dist/locales/nl.json +8 -0
  123. package/dist/locales/pl.json +8 -0
  124. package/dist/locales/pt.json +8 -0
  125. package/dist/locales/ro.json +8 -0
  126. package/dist/locales/ru.json +8 -0
  127. package/dist/locales/sq.json +8 -0
  128. package/dist/locales/sv.json +8 -0
  129. package/dist/locales/tr.json +8 -0
  130. package/dist/locales/zh.json +8 -0
  131. package/dist/tokens.css +1 -1
  132. package/package.json +5 -1
  133. package/dist/_chunks/public-header.agent-BY6FH71R.js.map +0 -1
  134. package/dist/_chunks/signature-capture-CpMBhqQ9.js.map +0 -1
  135. package/dist/_chunks/use-scroll-to-first-error-4Za-u5Nw.js +0 -43
  136. package/dist/_chunks/use-scroll-to-first-error-4Za-u5Nw.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"signature-capture.d.ts","sourceRoot":"","sources":["../../../src/components/signature-capture/signature-capture.tsx"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAUhD,MAAM,WAAW,uBAAuB;IACtC,0DAA0D;IAC1D,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AAC;CACxD;AAMD,QAAA,MAAM,eAAe,oFAWpB,CAAC;AAsCF,QAAA,MAAM,oBAAoB,oFAqBzB,CAAC;AAEF,QAAA,MAAM,qBAAqB,oFAmB1B,CAAC;AA+JF,eAAO,MAAM,gBAAgB,0HA6d5B,CAAC;AAIF,OAAO,EACL,eAAe,IAAI,wBAAwB,EAC3C,oBAAoB,IAAI,6BAA6B,EACrD,qBAAqB,IAAI,8BAA8B,GACxD,CAAC"}
1
+ {"version":3,"file":"signature-capture.d.ts","sourceRoot":"","sources":["../../../src/components/signature-capture/signature-capture.tsx"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAUhD,MAAM,WAAW,uBAAuB;IACtC,0DAA0D;IAC1D,GAAG,EAAE,MAAM,CAAC;IACZ,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,kFAAkF;IAClF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,2EAA2E;IAC3E,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACvD,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,wDAAwD;IACxD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6DAA6D;IAC7D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2DAA2D;IAC3D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAC;CACxD;AAMD,QAAA,MAAM,eAAe,oFAWpB,CAAC;AAsCF,QAAA,MAAM,oBAAoB,oFAqBzB,CAAC;AAEF,QAAA,MAAM,qBAAqB,oFAmB1B,CAAC;AA+JF,eAAO,MAAM,gBAAgB,0HA+e5B,CAAC;AAIF,OAAO,EACL,eAAe,IAAI,wBAAwB,EAC3C,oBAAoB,IAAI,6BAA6B,EACrD,qBAAqB,IAAI,8BAA8B,GACxD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { SignatureField, signatureFieldVariants } from './signature-field';
2
+ export type { SignatureFieldProps, SignatureFieldState, } from './signature-field';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/signature-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,YAAY,EACV,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { S as i, s as r } from "../../_chunks/signature-field-DhscKdgk.js";
2
+ export {
3
+ i as SignatureField,
4
+ r as signatureFieldVariants
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,35 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export type SignatureFieldState = 'unsigned' | 'signing' | 'signed';
3
+ export interface SignatureFieldProps extends Omit<ComponentPropsWithoutRef<'button'>, 'onClick' | 'children' | 'aria-label' | 'disabled'> {
4
+ /** Lifecycle state. Drives both the visual treatment and the accessible name. */
5
+ state?: SignatureFieldState;
6
+ /**
7
+ * Percent offset of the field's logical start edge within the overlay box.
8
+ * Applied as a runtime-computed `inset-inline-start: {n}%`.
9
+ */
10
+ insetInlineStart?: number;
11
+ /** Percent offset of the field's logical top edge. `inset-block-start: {n}%`. */
12
+ insetBlockStart?: number;
13
+ /** Percent of the overlay's logical inline size — the field width. */
14
+ inlineSize?: number;
15
+ /** Percent of the overlay's logical block size — the field height. */
16
+ blockSize?: number;
17
+ /** Called when an unsigned (or signed) field is activated by click / keyboard. */
18
+ onActivate?: () => void;
19
+ /** Captured signature image (PNG data URL or URL) shown when `state="signed"`. */
20
+ signedImageSrc?: string;
21
+ /**
22
+ * Caption shown in the unsigned prompt and used as the accessible name
23
+ * (e.g. "Sign here", "Date", "Initial here"). Falls back to the
24
+ * translated default prompt.
25
+ */
26
+ label?: string;
27
+ /** Hard-disable the field (non-activatable, dimmed). Distinct from `state="signing"`. */
28
+ disabled?: boolean;
29
+ }
30
+ declare const signatureFieldVariants: (props?: ({
31
+ state?: "signed" | "unsigned" | "signing" | null | undefined;
32
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
33
+ export declare const SignatureField: import("react").ForwardRefExoticComponent<SignatureFieldProps & import("react").RefAttributes<HTMLButtonElement>>;
34
+ export { signatureFieldVariants };
35
+ //# sourceMappingURL=signature-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signature-field.d.ts","sourceRoot":"","sources":["../../../src/components/signature-field/signature-field.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAEL,KAAK,wBAAwB,EAG9B,MAAM,OAAO,CAAC;AAUf,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAC/C,wBAAwB,CAAC,QAAQ,CAAC,EAClC,SAAS,GAAG,UAAU,GAAG,YAAY,GAAG,UAAU,CACnD;IACC,iFAAiF;IACjF,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iFAAiF;IACjF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yFAAyF;IACzF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD,QAAA,MAAM,sBAAsB;;8EAgD3B,CAAC;AAMF,eAAO,MAAM,cAAc,mHA2H1B,CAAC;AAIF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -18,4 +18,5 @@ export { usePersistentState } from './use-persistent-state';
18
18
  export { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect';
19
19
  export { useWebOtp, type UseWebOtpOptions } from './use-web-otp';
20
20
  export { useEdgeResize, type UseEdgeResizeOptions, type UseEdgeResizeReturn, type EdgeResizeSeparatorProps, } from './use-edge-resize';
21
+ export { useSigningSession, type SigningField, type SigningFieldBase, type UseSigningSessionReturn, } from './use-signing-session';
21
22
  //# sourceMapping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AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EACL,aAAa,EACb,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,GAC9B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,GAC7B,MAAM,uBAAuB,CAAC"}
@@ -1,27 +1,27 @@
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 _ } from "../_chunks/use-scroll-to-first-error-4Za-u5Nw.js";
4
- import { u as I } from "../_chunks/use-count-up-BLLetaZ8.js";
5
- import { u as R } from "../_chunks/use-locale-BkCIHujH.js";
6
- import { A as w, T as K, a as H, r as M, t as Y, u as q } from "../_chunks/use-theme-CAuo6EYT.js";
7
- import { u as G } from "../_chunks/use-controllable-state-BiY4xTzM.js";
8
- import { u as U } from "../_chunks/use-copy-to-clipboard-Cyfc_dlv.js";
9
- import { u as j } from "../_chunks/use-debounced-callback-BisrB-Fq.js";
3
+ import { u as g, a as _ } from "../_chunks/use-signing-session-C5evzYmo.js";
4
+ import { u as O } from "../_chunks/use-count-up-BLLetaZ8.js";
5
+ import { u as k } from "../_chunks/use-locale-BkCIHujH.js";
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";
7
+ import { u as P } from "../_chunks/use-controllable-state-BiY4xTzM.js";
8
+ import { u as V } from "../_chunks/use-copy-to-clipboard-Cyfc_dlv.js";
9
+ import { u as z } from "../_chunks/use-debounced-callback-BisrB-Fq.js";
10
10
  import { useState as x, useRef as b, useEffect as E } from "react";
11
- import { u as Q, a as W } from "../_chunks/use-direction-Dp8h70PP.js";
12
- import { u as N } from "../_chunks/use-persistent-state-i23OWy6G.js";
13
- import { u as Z } from "../_chunks/use-isomorphic-layout-effect-BGfaCOP1.js";
14
- import { u as ee } from "../_chunks/use-web-otp-D_utzp6S.js";
15
- import { u as re } from "../_chunks/use-edge-resize-ZnGG7gyO.js";
16
- function S(e, o) {
17
- const [t, c] = x(e), u = b(null);
11
+ import { u as W, a as J } from "../_chunks/use-direction-Dp8h70PP.js";
12
+ import { u as X } from "../_chunks/use-persistent-state-i23OWy6G.js";
13
+ import { u as $ } from "../_chunks/use-isomorphic-layout-effect-BGfaCOP1.js";
14
+ import { u as te } from "../_chunks/use-web-otp-D_utzp6S.js";
15
+ import { u as oe } from "../_chunks/use-edge-resize-ZnGG7gyO.js";
16
+ function h(e, o) {
17
+ const [t, i] = x(e), u = b(null);
18
18
  return E(() => {
19
19
  if (o <= 0) {
20
- u.current !== null && (clearTimeout(u.current), u.current = null), c(e);
20
+ u.current !== null && (clearTimeout(u.current), u.current = null), i(e);
21
21
  return;
22
22
  }
23
23
  const s = setTimeout(() => {
24
- c(e), u.current = null;
24
+ i(e), u.current = null;
25
25
  }, o);
26
26
  return u.current = s, () => clearTimeout(s);
27
27
  }, [e, o]), t;
@@ -51,12 +51,12 @@ function p(e) {
51
51
  });
52
52
  }
53
53
  function C(e, o = {}) {
54
- const { enabled: t = !0, autoFocus: c = !0, restoreFocus: u = !0 } = o, s = b(null);
54
+ const { enabled: t = !0, autoFocus: i = !0, restoreFocus: u = !0 } = o, s = b(null);
55
55
  E(() => {
56
56
  if (!t) return;
57
57
  const a = e.current;
58
58
  if (!a) return;
59
- if (s.current = typeof document < "u" && document.activeElement instanceof HTMLElement ? document.activeElement : null, c) {
59
+ if (s.current = typeof document < "u" && document.activeElement instanceof HTMLElement ? document.activeElement : null, i) {
60
60
  const n = p(a)[0] ?? (a.tabIndex >= -1 ? a : null);
61
61
  n == null || n.focus();
62
62
  }
@@ -64,12 +64,12 @@ function C(e, o = {}) {
64
64
  if (r.key !== "Tab") return;
65
65
  const n = e.current;
66
66
  if (!n) return;
67
- const i = p(n);
68
- if (i.length === 0) {
67
+ const c = p(n);
68
+ if (c.length === 0) {
69
69
  r.preventDefault();
70
70
  return;
71
71
  }
72
- const d = i[0], m = i[i.length - 1], l = document.activeElement;
72
+ const d = c[0], m = c[c.length - 1], l = document.activeElement;
73
73
  r.shiftKey ? (l === d || !n.contains(l)) && (r.preventDefault(), m.focus()) : (l === m || !n.contains(l)) && (r.preventDefault(), d.focus());
74
74
  }
75
75
  return a.addEventListener("keydown", f), () => {
@@ -80,30 +80,31 @@ function C(e, o = {}) {
80
80
  });
81
81
  }
82
82
  };
83
- }, [t, c, u, e]);
83
+ }, [t, i, u, e]);
84
84
  }
85
85
  export {
86
- w as ACCESSIBILITY_STORAGE_KEY,
87
- K as THEME_CLASS,
88
- H as THEME_STORAGE_KEY,
89
- M as resolveTheme,
90
- Y as themeClassList,
91
- G as useControllableState,
92
- U as useCopyToClipboard,
93
- I as useCountUp,
94
- j as useDebouncedCallback,
95
- S as useDebouncedValue,
96
- Q as useDirection,
97
- W as useDocumentDirection,
98
- re as useEdgeResize,
86
+ K as ACCESSIBILITY_STORAGE_KEY,
87
+ H as THEME_CLASS,
88
+ M as THEME_STORAGE_KEY,
89
+ Y as resolveTheme,
90
+ q as themeClassList,
91
+ P as useControllableState,
92
+ V as useCopyToClipboard,
93
+ O as useCountUp,
94
+ z as useDebouncedCallback,
95
+ h as useDebouncedValue,
96
+ W as useDirection,
97
+ J as useDocumentDirection,
98
+ oe as useEdgeResize,
99
99
  C as useFocusTrap,
100
- Z as useIsomorphicLayoutEffect,
101
- R as useLocale,
100
+ $ as useIsomorphicLayoutEffect,
101
+ k as useLocale,
102
102
  D as useMediaQuery,
103
- N as usePersistentState,
103
+ X as usePersistentState,
104
104
  v as usePrefersReducedMotion,
105
- _ as useScrollToFirstError,
106
- q as useTheme,
107
- ee as useWebOtp
105
+ g as useScrollToFirstError,
106
+ _ as useSigningSession,
107
+ B as useTheme,
108
+ te as useWebOtp
108
109
  };
109
110
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,36 @@
1
+ /** Minimum shape a signing field must satisfy. */
2
+ export interface SigningFieldBase {
3
+ /** Stable, unique id for the field within the session. */
4
+ id: string;
5
+ /** Initial signed state (default `false`). */
6
+ signed?: boolean;
7
+ }
8
+ /** A consumer field enriched with the session's live signed state + payload. */
9
+ export type SigningField<TField extends SigningFieldBase, TPayload> = TField & {
10
+ signed: boolean;
11
+ payload?: TPayload;
12
+ };
13
+ export interface UseSigningSessionReturn<TField extends SigningFieldBase, TPayload> {
14
+ /** The input fields, each enriched with live `signed` + `payload`. */
15
+ fields: SigningField<TField, TPayload>[];
16
+ /** How many fields are currently signed. */
17
+ signedCount: number;
18
+ /** Total number of fields. */
19
+ total: number;
20
+ /** True when every field is signed (and there is at least one). */
21
+ isComplete: boolean;
22
+ /** The field whose capture UI is currently open, or `null`. */
23
+ activeFieldId: string | null;
24
+ /** Open a field's capture UI (sets `activeFieldId`). */
25
+ openField: (id: string) => void;
26
+ /** Close any open capture UI (clears `activeFieldId`). */
27
+ closeField: () => void;
28
+ /** Flip a field to signed, storing its payload, and close it if active. */
29
+ markSigned: (id: string, payload?: TPayload) => void;
30
+ /** Read a single field's signed state. */
31
+ isFieldSigned: (id: string) => boolean;
32
+ /** Clear all signatures and close any open field. */
33
+ reset: () => void;
34
+ }
35
+ export declare function useSigningSession<TField extends SigningFieldBase, TPayload = unknown>(fields: TField[]): UseSigningSessionReturn<TField, TPayload>;
36
+ //# sourceMappingURL=use-signing-session.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,MAAM,EAAE,GAAG,uBAAuB,CAAC,MAAM,EAAE,QAAQ,CAAC,CA4E7D"}
@@ -1712,6 +1712,14 @@ export declare const arUi: {
1712
1712
  readonly invalidReturnUrl: "يجب أن يتطابق رابط العودة مع أصل هذا الموقع. لم يتم إرسال الدفع.";
1713
1713
  };
1714
1714
  };
1715
+ readonly signatureField: {
1716
+ readonly prompt: "انقر للتوقيع";
1717
+ readonly unsigned: "وقّع هنا";
1718
+ readonly signing: "جارٍ التوقيع…";
1719
+ readonly signingNamed: "{{label}} — جارٍ التوقيع…";
1720
+ readonly signed: "تم التوقيع";
1721
+ readonly signedNamed: "{{label}} — تم التوقيع";
1722
+ };
1715
1723
  readonly signature: {
1716
1724
  readonly padLabel: "منطقة التوقيع";
1717
1725
  readonly clear: "مسح التوقيع";
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4lFP,CAAC"}
@@ -1695,6 +1695,14 @@ const e = {
1695
1695
  invalidReturnUrl: "يجب أن يتطابق رابط العودة مع أصل هذا الموقع. لم يتم إرسال الدفع."
1696
1696
  }
1697
1697
  },
1698
+ signatureField: {
1699
+ prompt: "انقر للتوقيع",
1700
+ unsigned: "وقّع هنا",
1701
+ signing: "جارٍ التوقيع…",
1702
+ signingNamed: "{{label}} — جارٍ التوقيع…",
1703
+ signed: "تم التوقيع",
1704
+ signedNamed: "{{label}} — تم التوقيع"
1705
+ },
1698
1706
  signature: {
1699
1707
  padLabel: "منطقة التوقيع",
1700
1708
  clear: "مسح التوقيع",