@alfadocs/ui-kit-debug 0.62.0 → 0.64.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 (161) hide show
  1. package/dist/_chunks/{ai-prompt-input-C6sCr1Vi.js → ai-prompt-input-Dx8eXoPm.js} +2 -2
  2. package/dist/_chunks/{ai-prompt-input-C6sCr1Vi.js.map → ai-prompt-input-Dx8eXoPm.js.map} +1 -1
  3. package/dist/_chunks/{audio-recorder-D6OVfNiZ.js → audio-recorder-CdXuT9ln.js} +2 -2
  4. package/dist/_chunks/{audio-recorder-D6OVfNiZ.js.map → audio-recorder-CdXuT9ln.js.map} +1 -1
  5. package/dist/_chunks/{bishop-score-B9tvgoIq.js → bishop-score-CzjSx-dm.js} +2 -2
  6. package/dist/_chunks/{bishop-score-B9tvgoIq.js.map → bishop-score-CzjSx-dm.js.map} +1 -1
  7. package/dist/_chunks/{booking-BUV9fspj.js → booking-ChfvWy3P.js} +2 -2
  8. package/dist/_chunks/{booking-BUV9fspj.js.map → booking-ChfvWy3P.js.map} +1 -1
  9. package/dist/_chunks/{care-plan-card-QmNpGggC.js → care-plan-card-DhZNoXs4.js} +2 -2
  10. package/dist/_chunks/{care-plan-card-QmNpGggC.js.map → care-plan-card-DhZNoXs4.js.map} +1 -1
  11. package/dist/_chunks/{care-plan-entry-card-Cnra7vUc.js → care-plan-entry-card-DW70yBOD.js} +2 -2
  12. package/dist/_chunks/{care-plan-entry-card-Cnra7vUc.js.map → care-plan-entry-card-DW70yBOD.js.map} +1 -1
  13. package/dist/_chunks/{editable-currency-cell-renderer-D5C5tCfu.js → editable-currency-cell-renderer-BQgaKFCz.js} +2 -2
  14. package/dist/_chunks/{editable-currency-cell-renderer-D5C5tCfu.js.map → editable-currency-cell-renderer-BQgaKFCz.js.map} +1 -1
  15. package/dist/_chunks/finished-terminal-VjZ_-eDD.js +122 -0
  16. package/dist/_chunks/finished-terminal-VjZ_-eDD.js.map +1 -0
  17. package/dist/_chunks/{gestational-age-calculator-AkNFfZYs.js → gestational-age-calculator-D85E8lGN.js} +2 -2
  18. package/dist/_chunks/{gestational-age-calculator-AkNFfZYs.js.map → gestational-age-calculator-D85E8lGN.js.map} +1 -1
  19. package/dist/_chunks/{pregnancy-dating-Dg6dTe1p.js → pregnancy-dating-7NUaAfob.js} +2 -2
  20. package/dist/_chunks/{pregnancy-dating-Dg6dTe1p.js.map → pregnancy-dating-7NUaAfob.js.map} +1 -1
  21. package/dist/_chunks/{select-hsCaJSX3.js → select-CEtRcon5.js} +46 -45
  22. package/dist/_chunks/select-CEtRcon5.js.map +1 -0
  23. package/dist/_chunks/{tabs-BpPYVme_.js → tabs-BIQ0ew1T.js} +2 -2
  24. package/dist/_chunks/{tabs-BpPYVme_.js.map → tabs-BIQ0ew1T.js.map} +1 -1
  25. package/dist/_chunks/tooth-scheme-CiphQaON.js +1257 -0
  26. package/dist/_chunks/tooth-scheme-CiphQaON.js.map +1 -0
  27. package/dist/_chunks/{unit-converter-3sINXO3m.js → unit-converter-BIbXHIQA.js} +2 -2
  28. package/dist/_chunks/{unit-converter-3sINXO3m.js.map → unit-converter-BIbXHIQA.js.map} +1 -1
  29. package/dist/_chunks/use-countdown-Yd6ts0_a.js +26 -0
  30. package/dist/_chunks/use-countdown-Yd6ts0_a.js.map +1 -0
  31. package/dist/agent-catalog.json +55 -4
  32. package/dist/components/ai-prompt-input/index.js +1 -1
  33. package/dist/components/audio-recorder/index.js +1 -1
  34. package/dist/components/bishop-score/index.js +1 -1
  35. package/dist/components/booking/index.js +1 -1
  36. package/dist/components/care-plan-card/index.js +1 -1
  37. package/dist/components/care-plan-entry-card/index.js +1 -1
  38. package/dist/components/data-table/index.js +1 -1
  39. package/dist/components/finished-terminal/finished-terminal.d.ts +55 -0
  40. package/dist/components/finished-terminal/finished-terminal.d.ts.map +1 -0
  41. package/dist/components/finished-terminal/index.d.ts +3 -0
  42. package/dist/components/finished-terminal/index.d.ts.map +1 -0
  43. package/dist/components/finished-terminal/index.js +5 -0
  44. package/dist/components/finished-terminal/index.js.map +1 -0
  45. package/dist/components/gestational-age-calculator/index.js +1 -1
  46. package/dist/components/index.d.ts +1 -0
  47. package/dist/components/index.d.ts.map +1 -1
  48. package/dist/components/pregnancy-dating/index.js +1 -1
  49. package/dist/components/select/index.js +1 -1
  50. package/dist/components/select/select.d.ts +8 -0
  51. package/dist/components/select/select.d.ts.map +1 -1
  52. package/dist/components/tabs/index.js +1 -1
  53. package/dist/components/tooth-scheme/index.d.ts +2 -2
  54. package/dist/components/tooth-scheme/index.d.ts.map +1 -1
  55. package/dist/components/tooth-scheme/index.js +22 -15
  56. package/dist/components/tooth-scheme/tooth-data.d.ts +79 -18
  57. package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -1
  58. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -0
  59. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
  60. package/dist/components/tooth-scheme/tooth-scheme.d.ts +48 -1
  61. package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
  62. package/dist/components/unit-converter/index.js +1 -1
  63. package/dist/hooks/index.js +79 -99
  64. package/dist/hooks/index.js.map +1 -1
  65. package/dist/i18n/locales/ar.d.ts +22 -0
  66. package/dist/i18n/locales/ar.d.ts.map +1 -1
  67. package/dist/i18n/locales/ar.js +23 -1
  68. package/dist/i18n/locales/ar.js.map +1 -1
  69. package/dist/i18n/locales/de.d.ts +22 -0
  70. package/dist/i18n/locales/de.d.ts.map +1 -1
  71. package/dist/i18n/locales/de.js +23 -1
  72. package/dist/i18n/locales/de.js.map +1 -1
  73. package/dist/i18n/locales/el.d.ts +22 -0
  74. package/dist/i18n/locales/el.d.ts.map +1 -1
  75. package/dist/i18n/locales/el.js +23 -1
  76. package/dist/i18n/locales/el.js.map +1 -1
  77. package/dist/i18n/locales/en.d.ts +22 -0
  78. package/dist/i18n/locales/en.d.ts.map +1 -1
  79. package/dist/i18n/locales/en.js +23 -1
  80. package/dist/i18n/locales/en.js.map +1 -1
  81. package/dist/i18n/locales/es.d.ts +22 -0
  82. package/dist/i18n/locales/es.d.ts.map +1 -1
  83. package/dist/i18n/locales/es.js +23 -1
  84. package/dist/i18n/locales/es.js.map +1 -1
  85. package/dist/i18n/locales/fr.d.ts +22 -0
  86. package/dist/i18n/locales/fr.d.ts.map +1 -1
  87. package/dist/i18n/locales/fr.js +23 -1
  88. package/dist/i18n/locales/fr.js.map +1 -1
  89. package/dist/i18n/locales/hi.d.ts +22 -0
  90. package/dist/i18n/locales/hi.d.ts.map +1 -1
  91. package/dist/i18n/locales/hi.js +23 -1
  92. package/dist/i18n/locales/hi.js.map +1 -1
  93. package/dist/i18n/locales/it.d.ts +22 -0
  94. package/dist/i18n/locales/it.d.ts.map +1 -1
  95. package/dist/i18n/locales/it.js +23 -1
  96. package/dist/i18n/locales/it.js.map +1 -1
  97. package/dist/i18n/locales/ja.d.ts +22 -0
  98. package/dist/i18n/locales/ja.d.ts.map +1 -1
  99. package/dist/i18n/locales/ja.js +23 -1
  100. package/dist/i18n/locales/ja.js.map +1 -1
  101. package/dist/i18n/locales/nl.d.ts +22 -0
  102. package/dist/i18n/locales/nl.d.ts.map +1 -1
  103. package/dist/i18n/locales/nl.js +23 -1
  104. package/dist/i18n/locales/nl.js.map +1 -1
  105. package/dist/i18n/locales/pl.d.ts +22 -0
  106. package/dist/i18n/locales/pl.d.ts.map +1 -1
  107. package/dist/i18n/locales/pl.js +23 -1
  108. package/dist/i18n/locales/pl.js.map +1 -1
  109. package/dist/i18n/locales/pt.d.ts +22 -0
  110. package/dist/i18n/locales/pt.d.ts.map +1 -1
  111. package/dist/i18n/locales/pt.js +23 -1
  112. package/dist/i18n/locales/pt.js.map +1 -1
  113. package/dist/i18n/locales/ro.d.ts +22 -0
  114. package/dist/i18n/locales/ro.d.ts.map +1 -1
  115. package/dist/i18n/locales/ro.js +23 -1
  116. package/dist/i18n/locales/ro.js.map +1 -1
  117. package/dist/i18n/locales/ru.d.ts +22 -0
  118. package/dist/i18n/locales/ru.d.ts.map +1 -1
  119. package/dist/i18n/locales/ru.js +23 -1
  120. package/dist/i18n/locales/ru.js.map +1 -1
  121. package/dist/i18n/locales/sq.d.ts +22 -0
  122. package/dist/i18n/locales/sq.d.ts.map +1 -1
  123. package/dist/i18n/locales/sq.js +23 -1
  124. package/dist/i18n/locales/sq.js.map +1 -1
  125. package/dist/i18n/locales/sv.d.ts +22 -0
  126. package/dist/i18n/locales/sv.d.ts.map +1 -1
  127. package/dist/i18n/locales/sv.js +23 -1
  128. package/dist/i18n/locales/sv.js.map +1 -1
  129. package/dist/i18n/locales/tr.d.ts +22 -0
  130. package/dist/i18n/locales/tr.d.ts.map +1 -1
  131. package/dist/i18n/locales/tr.js +23 -1
  132. package/dist/i18n/locales/tr.js.map +1 -1
  133. package/dist/i18n/locales/zh.d.ts +22 -0
  134. package/dist/i18n/locales/zh.d.ts.map +1 -1
  135. package/dist/i18n/locales/zh.js +23 -1
  136. package/dist/i18n/locales/zh.js.map +1 -1
  137. package/dist/index.js +354 -345
  138. package/dist/index.js.map +1 -1
  139. package/dist/locales/ar.json +23 -1
  140. package/dist/locales/de.json +23 -1
  141. package/dist/locales/el.json +23 -1
  142. package/dist/locales/en.json +23 -1
  143. package/dist/locales/es.json +23 -1
  144. package/dist/locales/fr.json +23 -1
  145. package/dist/locales/hi.json +23 -1
  146. package/dist/locales/it.json +23 -1
  147. package/dist/locales/ja.json +23 -1
  148. package/dist/locales/nl.json +23 -1
  149. package/dist/locales/pl.json +23 -1
  150. package/dist/locales/pt.json +23 -1
  151. package/dist/locales/ro.json +23 -1
  152. package/dist/locales/ru.json +23 -1
  153. package/dist/locales/sq.json +23 -1
  154. package/dist/locales/sv.json +23 -1
  155. package/dist/locales/tr.json +23 -1
  156. package/dist/locales/zh.json +23 -1
  157. package/dist/tokens.css +1 -1
  158. package/package.json +5 -1
  159. package/dist/_chunks/select-hsCaJSX3.js.map +0 -1
  160. package/dist/_chunks/tooth-scheme-CxlsLjfN.js +0 -753
  161. package/dist/_chunks/tooth-scheme-CxlsLjfN.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-D5C5tCfu.js";
1
+ import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-BQgaKFCz.js";
2
2
  export {
3
3
  l as ActionsCellRenderer,
4
4
  r as BalanceCellRenderer,
@@ -0,0 +1,55 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ /**
3
+ * Gate for the URLs the terminal will navigate to. Allows only same-origin
4
+ * relative paths (`/…`) and explicit `http(s)` absolute URLs; rejects
5
+ * `javascript:` / `data:` / `vbscript:` and any other scheme.
6
+ *
7
+ * This terminal lives on public signing pages where `redirectUrl` may flow
8
+ * from a URL parameter, so a hostile `javascript:…` value must never reach
9
+ * `window.location.assign` (it would execute in the page). Exported for unit
10
+ * testing — it is NOT part of the public component API (`index.ts` does not
11
+ * re-export it).
12
+ */
13
+ export declare function isNavigableUrl(url: string): boolean;
14
+ export interface FinishedTerminalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
15
+ /** Completion headline — consumer-provided, already translated. */
16
+ title: string;
17
+ /** Completion sub-message — consumer-provided, already translated. */
18
+ body: string;
19
+ /**
20
+ * Auto-close countdown, in seconds. Default `10`. Set `0` to disable the
21
+ * countdown entirely (a static success screen with no next-step).
22
+ */
23
+ autoCloseSeconds?: number;
24
+ /**
25
+ * Where to send the signer when the countdown elapses / "Close now" is
26
+ * pressed. When omitted, the terminal does a best-effort `window.close()`
27
+ * and falls back to `brandUrl`.
28
+ *
29
+ * @security Navigated to via `window.location.assign`. Only same-origin
30
+ * relative paths and `http(s)` absolute URLs are honoured — `javascript:` /
31
+ * `data:` values are dropped. Pass a value from trusted backend config.
32
+ */
33
+ redirectUrl?: string;
34
+ /**
35
+ * Brand-site fallback used when there is no `redirectUrl` and the
36
+ * best-effort `window.close()` is blocked. Default `https://www.alfadocs.com`.
37
+ *
38
+ * @security Same navigation gate as `redirectUrl`.
39
+ */
40
+ brandUrl?: string;
41
+ /**
42
+ * Override the default close/redirect behaviour (e.g. SPA routing, analytics,
43
+ * or a no-op in stories). When provided, the terminal does NO browser
44
+ * navigation of its own — it just calls this.
45
+ */
46
+ onClose?: () => void;
47
+ /** Override the countdown line (default `ui.finishedTerminal.autoClose`). */
48
+ countdownLabel?: (seconds: number) => string;
49
+ /** Override the "Close now" label (default `ui.finishedTerminal.closeNow`). */
50
+ closeNowLabel?: string;
51
+ /** Override the post-close line (default `ui.finishedTerminal.redirecting`). */
52
+ redirectingLabel?: string;
53
+ }
54
+ export declare const FinishedTerminal: import("react").ForwardRefExoticComponent<FinishedTerminalProps & import("react").RefAttributes<HTMLDivElement>>;
55
+ //# sourceMappingURL=finished-terminal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finished-terminal.d.ts","sourceRoot":"","sources":["../../../src/components/finished-terminal/finished-terminal.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAWf;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAcnD;AAED,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CACjD,cAAc,CAAC,cAAc,CAAC,EAC9B,OAAO,CACR;IACC,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,6EAA6E;IAC7E,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,+EAA+E;IAC/E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,kHAoI5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { FinishedTerminal } from './finished-terminal';
2
+ export type { FinishedTerminalProps } from './finished-terminal';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/finished-terminal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { F as r } from "../../_chunks/finished-terminal-VjZ_-eDD.js";
2
+ export {
3
+ r as FinishedTerminal
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { G as t } from "../../_chunks/gestational-age-calculator-AkNFfZYs.js";
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-D85E8lGN.js";
2
2
  export {
3
3
  t as GestationalAgeCalculator
4
4
  };
@@ -96,6 +96,7 @@ export * from './alert';
96
96
  export * from './appointment-card';
97
97
  export * from './dialog';
98
98
  export * from './dropdown-menu';
99
+ export * from './finished-terminal';
99
100
  export * from './live-region';
100
101
  export * from './matrix-rain';
101
102
  export * from './message-card';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,SAAS,EACT,eAAe,EACf,4BAA4B,EAC5B,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,UAAU,CAAC;AAGlB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AAEzC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAO/C,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAM1E,YAAY,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAA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c,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAO3B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAGlD,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { P as r } from "../../_chunks/pregnancy-dating-Dg6dTe1p.js";
1
+ import { P as r } from "../../_chunks/pregnancy-dating-7NUaAfob.js";
2
2
  export {
3
3
  r as PregnancyDating
4
4
  };
@@ -1,4 +1,4 @@
1
- import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-hsCaJSX3.js";
1
+ import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-CEtRcon5.js";
2
2
  export {
3
3
  a as Select,
4
4
  l as SelectContent,
@@ -62,6 +62,14 @@ export interface SelectProps<T extends string = string> {
62
62
  tone?: 'default' | 'error';
63
63
  'aria-label'?: string;
64
64
  className?: string;
65
+ /**
66
+ * Portal target for the listbox. Defaults to `document.body`. Set this to a
67
+ * parent overlay's content element (e.g. a Popover) when the Select is nested
68
+ * inside one, so the listbox shares that stacking context and renders above
69
+ * it instead of behind it (the global z-scale puts `--z-dropdown` below
70
+ * `--z-popover`).
71
+ */
72
+ container?: HTMLElement | null;
65
73
  }
66
74
  interface SelectComponent {
67
75
  <T extends string = string>(props: SelectProps<T> & {
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components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Y,GAAG,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,KAAK,EAAE,OAAO,WAAW,CAAC;IAC1B,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,QAAQ,EAAE,OAAO,cAAc,CAAC;IAChC,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,QAAQ,EAAE,OAAO,cAAc,CAAC;IAChC,KAAK,EAAE,OAAO,WAAW,CAAC;IAC1B,KAAK,EAAE,OAAO,WAAW,CAAC;IAC1B,SAAS,EAAE,OAAO,eAAe,CAAC;CACnC;AAeD,eAAO,MAAM,MAAM,iBAAoB,CAAC;AAExC,OAAO,EACL,UAAU,EACV,aAAa,EACb,WAAW,EACX,aAAa,EACb,cAAc,EACd,UAAU,EACV,cAAc,EACd,WAAW,EACX,WAAW,EACX,eAAe,GAChB,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC;AAE5E,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,CAAC;AAEF,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { T as t, a as b, b as T, c as e, t as r } from "../../_chunks/tabs-BpPYVme_.js";
1
+ import { T as t, a as b, b as T, c as e, t as r } from "../../_chunks/tabs-BIQ0ew1T.js";
2
2
  export {
3
3
  t as Tabs,
4
4
  b as TabsContent,
@@ -1,5 +1,5 @@
1
1
  export * from './tooth-scheme';
2
- export { FDI_TO_META, FDI_TO_UNIVERSAL, FDI_TO_PALMER, CONDITION_COLORS, CONDITION_TOKENS, CONDITION_PATTERNS, TOOTH_SHAPES, chartFromConditions, emptyChart, labelFor, layoutTeeth, } from './tooth-data';
3
- export type { Anatomy, Arch, Quadrant, Side, Surface, ToothMeta, ToothShape, PositionedTooth, } from './tooth-data';
2
+ export { FDI_TO_META, FDI_TO_UNIVERSAL, FDI_TO_PALMER, CONDITION_COLORS, CONDITION_TOKENS, CONDITION_SIDE_SYMBOL, CONDITION_PLAN_FOLDER, SURFACE_ASSET_NAME, toothImageUrl, conditionSymbolUrl, surfaceSymbolUrl, zonesForTooth, zoneSurface, zonePath, chartFromConditions, emptyChart, labelFor, layoutTeeth, } from './tooth-data';
3
+ export type { Anatomy, Arch, Quadrant, Side, Surface, SurfaceZone, Projection, SideSymbolSpec, ToothMeta, PositionedTooth, } from './tooth-data';
4
4
  export { toothSchemeAgent } from './tooth-scheme.agent';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tooth-scheme/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACR,WAAW,GACZ,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,SAAS,EACT,UAAU,EACV,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tooth-scheme/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACR,WAAW,GACZ,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,WAAW,EACX,UAAU,EACV,cAAc,EACd,SAAS,EACT,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,20 +1,27 @@
1
- import { C as s, a as t, b as O, F as e, c as o, d as E, P as _, e as I, T as N, f as h, g as S, h as r, l as A, i as C, t as R, r as m } from "../../_chunks/tooth-scheme-CxlsLjfN.js";
1
+ import { C as o, a as t, b as e, c as T, F as O, d as _, e as E, P as I, f as S, S as r, T as N, g as h, h as m, i as n, l as A, j as l, s as C, t as D, k as F, r as c, z as R, m as i, n as L } from "../../_chunks/tooth-scheme-CiphQaON.js";
2
2
  export {
3
- s as CONDITION_COLORS,
4
- t as CONDITION_PATTERNS,
5
- O as CONDITION_TOKENS,
6
- e as FDI_TO_META,
7
- o as FDI_TO_PALMER,
3
+ o as CONDITION_COLORS,
4
+ t as CONDITION_PLAN_FOLDER,
5
+ e as CONDITION_SIDE_SYMBOL,
6
+ T as CONDITION_TOKENS,
7
+ O as FDI_TO_META,
8
+ _ as FDI_TO_PALMER,
8
9
  E as FDI_TO_UNIVERSAL,
9
- _ as PERMANENT_TEETH,
10
- I as PRIMARY_TEETH,
11
- N as TOOTH_SHAPES,
12
- h as ToothScheme,
13
- S as chartFromConditions,
14
- r as emptyChart,
10
+ I as PERMANENT_TEETH,
11
+ S as PRIMARY_TEETH,
12
+ r as SURFACE_ASSET_NAME,
13
+ N as ToothScheme,
14
+ h as chartFromConditions,
15
+ m as conditionSymbolUrl,
16
+ n as emptyChart,
15
17
  A as labelFor,
16
- C as layoutTeeth,
17
- R as toothSchemeAgent,
18
- m as toothSchemeVariants
18
+ l as layoutTeeth,
19
+ C as surfaceSymbolUrl,
20
+ D as toothImageUrl,
21
+ F as toothSchemeAgent,
22
+ c as toothSchemeVariants,
23
+ R as zonePath,
24
+ i as zoneSurface,
25
+ L as zonesForTooth
19
26
  };
20
27
  //# sourceMappingURL=index.js.map
@@ -3,7 +3,7 @@ export type Dentition = 'permanent' | 'primary' | 'mixed';
3
3
  export type Numbering = 'fdi' | 'universal' | 'palmer';
4
4
  export type ToothMode = 'interactive' | 'display';
5
5
  export type Surface = 'mesial' | 'distal' | 'occlusal' | 'buccal' | 'lingual';
6
- export type ToothCondition = 'caries' | 'filled' | 'crowned' | 'missing' | 'implant' | 'rootCanal';
6
+ export type ToothCondition = 'caries' | 'filled' | 'crowned' | 'temporaryCrown' | 'bridge' | 'missing' | 'implant' | 'implantExtraction' | 'stub' | 'destroyed' | 'rootCanal';
7
7
  export interface ToothState {
8
8
  conditions: ToothCondition[];
9
9
  surfaces: Surface[];
@@ -43,33 +43,94 @@ export declare const PRIMARY_TEETH: FdiId[];
43
43
  export declare const FDI_TO_META: Record<FdiId, ToothMeta>;
44
44
  export declare const FDI_TO_UNIVERSAL: Record<FdiId, string>;
45
45
  export declare const FDI_TO_PALMER: Record<FdiId, string>;
46
+ /**
47
+ * FDI used to resolve a tooth's RENDER. There are no separate deciduous
48
+ * renders — primary teeth reuse the permanent image of the same position
49
+ * (quadrant 5→1, 6→2, 7→3, 8→4; position digit unchanged), scaled down by
50
+ * the renderer. Permanent teeth resolve to themselves.
51
+ */
52
+ export declare function assetFdi(meta: ToothMeta): FdiId;
53
+ /** Render scale applied to a tooth image (primary teeth are smaller). */
54
+ export declare const PRIMARY_TOOTH_SCALE = 0.72;
46
55
  /** CSS variable name (without the leading `var(...)`) that drives a condition's colour. */
47
56
  export declare const CONDITION_TOKENS: Record<ToothCondition, string>;
48
57
  /**
49
58
  * Convenience: the `fill="var(--destructive)"` string ready to paste onto
50
- * an SVG attribute. Kept in sync with `CONDITION_TOKENS`.
59
+ * an SVG attribute. Kept in sync with `CONDITION_TOKENS`. Used for the legend
60
+ * swatch + the surface-condition ring; whole-tooth conditions render a
61
+ * distinct symbol image (the glyph is the colour-independent channel).
51
62
  */
52
63
  export declare const CONDITION_COLORS: Record<ToothCondition, string>;
53
- /** SVG `<pattern>` ids declared in `<defs>`. `missing` renders an X glyph instead of a pattern. */
54
- export declare const CONDITION_PATTERNS: Record<ToothCondition, string>;
55
- export interface ToothShape {
56
- /** Visual width inside the enclosing `<g>`. */
57
- width: number;
58
- /** Visual height inside the enclosing `<g>`. */
59
- height: number;
60
- /** SVG `d` attribute for the crown outline. */
61
- path: string;
62
- /** Optional inner decorative path (occlusal surface on molars, etc.). */
63
- innerPath?: string;
64
+ export interface SideSymbolSpec {
65
+ /** Asset folder under `side/`. */
66
+ folder: string;
67
+ /** How the file resolves inside `{folder}/{view}/`. */
68
+ resolve: 'per-fdi' | 'general' | 'rct';
64
69
  }
65
- export declare const TOOTH_SHAPES: Record<Anatomy, ToothShape>;
66
- export declare const TOOTH_GAP = 4;
67
- export declare const TOOTH_ROW_GAP = 24;
70
+ export declare const CONDITION_SIDE_SYMBOL: Partial<Record<ToothCondition, SideSymbolSpec>>;
71
+ /** Resolve the side-view symbol overlay URL for a condition on a tooth. */
72
+ export declare function conditionSymbolUrl(meta: ToothMeta, assetBaseUrl: string, spec: SideSymbolSpec): string;
73
+ export type Projection = 'side' | 'plan';
74
+ /** The user-selectable view: a single projection, or both stacked together. */
75
+ export type ViewMode = Projection | 'both';
76
+ /** Map the clinical `Surface` enum to the asset surface filename token. */
77
+ export declare const SURFACE_ASSET_NAME: Record<Surface, string>;
78
+ /** Conditions that render as per-surface fills in the plan view. */
79
+ export declare const CONDITION_PLAN_FOLDER: Partial<Record<ToothCondition, string>>;
80
+ /** Resolve a per-surface plan-view overlay URL (e.g. caries on the distal). */
81
+ export declare function surfaceSymbolUrl(meta: ToothMeta, assetBaseUrl: string, folder: string, surface: Surface): string;
82
+ /**
83
+ * Clickable surface regions of a plan-view tooth, named by SCREEN position.
84
+ * `zoneSurface()` resolves each to the anatomical `Surface` per quadrant.
85
+ */
86
+ export type SurfaceZone = 'top' | 'bottom' | 'left' | 'right' | 'center';
87
+ /**
88
+ * Which zones a tooth exposes. Molars & premolars have a central occlusal
89
+ * table (5 zones); incisors & canines have no occlusal surface to mark, so
90
+ * their crown splits into 4 directional zones.
91
+ */
92
+ export declare function zonesForTooth(meta: ToothMeta): SurfaceZone[];
93
+ /**
94
+ * Map a screen zone to the anatomical surface, QUADRANT-AWARE. Two flips make
95
+ * this non-trivial (ported from the platform odontogram's `_getAreaBySide`, so
96
+ * a finding always lands on the correct surface wherever the tooth sits):
97
+ *
98
+ * - mesial / distal (left & right zones) flip between the patient's right
99
+ * quadrants {1,4} and left quadrants {2,3} — "toward the midline" reverses.
100
+ * - buccal(vestibular) / lingual(oral) (top & bottom zones) flip between the
101
+ * upper and lower arch.
102
+ * - centre is always occlusal.
103
+ *
104
+ * Primary quadrants (5-8) normalise to their permanent counterpart (1-4).
105
+ */
106
+ export declare function zoneSurface(meta: ToothMeta, zone: SurfaceZone): Surface;
107
+ /**
108
+ * SVG `d` path for a clickable surface zone within a tooth's local box.
109
+ * 5-zone teeth frame a central occlusal rect with four edge trapezoids;
110
+ * 4-zone teeth split the box along both diagonals into four triangles meeting
111
+ * at the centre.
112
+ */
113
+ export declare function zonePath(zone: SurfaceZone, rect: {
114
+ x: number;
115
+ y: number;
116
+ w: number;
117
+ h: number;
118
+ }, hasCenter: boolean): string;
119
+ export declare const TOOTH_GAP = 5;
120
+ export declare const TOOTH_ROW_GAP = 40;
68
121
  export declare const TOOTH_HIT_PAD = 4;
122
+ export declare const TOOTH_SLOT_WIDTH = 36;
123
+ /** Facial-view slot block-size; the plan/occlusal view uses a shorter slot. */
124
+ export declare const TOOTH_SLOT_HEIGHT = 62;
125
+ /**
126
+ * Resolve a tooth render URL. `view` follows the arch (`top` = upper,
127
+ * `bottom` = lower); `symbol` selects the artwork layer (`default` is the
128
+ * healthy tooth; condition/finding overlays use their symbol folder).
129
+ */
130
+ export declare function toothImageUrl(meta: ToothMeta, assetBaseUrl: string, symbol?: string, projection?: 'side' | 'plan'): string;
69
131
  export interface PositionedTooth {
70
132
  fdi: FdiId;
71
133
  meta: ToothMeta;
72
- shape: ToothShape;
73
134
  x: number;
74
135
  y: number;
75
136
  }
@@ -80,7 +141,7 @@ export interface PositionedTooth {
80
141
  * is preserved: the patient's right sits on the viewer's left in both
81
142
  * arches, regardless of document direction.
82
143
  */
83
- export declare function layoutTeeth(dentition: Dentition): {
144
+ export declare function layoutTeeth(dentition: Dentition, slotHeight?: number): {
84
145
  teeth: PositionedTooth[];
85
146
  width: number;
86
147
  height: number;
@@ -1 +1 @@
1
- {"version":3,"file":"tooth-data.d.ts","sourceRoot":"","sources":["../../../src/components/tooth-scheme/tooth-data.ts"],"names":[],"mappings":"AAiBA,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAE3B,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;AAC1D,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,WAAW,GAAG,QAAQ,CAAC;AACvD,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,SAAS,CAAC;AAClD,MAAM,MAAM,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC9E,MAAM,MAAM,cAAc,GACtB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,SAAS,GACT,SAAS,GACT,WAAW,CAAC;AAEhB,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAEnD,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAClE,MAAM,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC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ACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CACzB,SAAS,EAAE,SAAS,EACpB,UAAU,GAAE,MAA0B,GACrC;IACD,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CA4CA;AAMD,wBAAgB,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAUhE;AAMD,wBAAgB,UAAU,IAAI,UAAU,CAEvC;AAED,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,cAAc,EAAE,CAAC,CAAC,GACnD,UAAU,CAOZ"}
@@ -1,4 +1,6 @@
1
1
  import type { AgentAdapter } from '../../agent/types';
2
2
  import type { ToothSchemeHandle } from './tooth-scheme';
3
+ import type { Surface, ToothCondition } from './tooth-data';
3
4
  export declare const toothSchemeAgent: AgentAdapter<ToothSchemeHandle>;
5
+ export type { Surface, ToothCondition };
4
6
  //# sourceMappingURL=tooth-scheme.agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooth-scheme.agent.d.ts","sourceRoot":"","sources":["../../../src/components/tooth-scheme/tooth-scheme.agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,iBAAiB,CAqC5D,CAAC"}
1
+ {"version":3,"file":"tooth-scheme.agent.d.ts","sourceRoot":"","sources":["../../../src/components/tooth-scheme/tooth-scheme.agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAI5D,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,iBAAiB,CAoF5D,CAAC;AAGF,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { PERMANENT_TEETH, PRIMARY_TEETH, type Dentition, type FdiId, type Numbering, type ToothChart, type ToothCondition, type ToothMode } from './tooth-data';
1
+ import { PERMANENT_TEETH, PRIMARY_TEETH, type ViewMode, type Dentition, type FdiId, type Numbering, type Surface, type ToothChart, type ToothCondition, type ToothMode } from './tooth-data';
2
2
  export interface ToothSchemeProps {
3
3
  /** Opaque instance id — emitted as `data-component-id` for the agent registry. */
4
4
  id?: string;
@@ -8,6 +8,13 @@ export interface ToothSchemeProps {
8
8
  numbering?: Numbering;
9
9
  /** `'interactive'` enables selection + keyboard nav; `'display'` is read-only. Default `'interactive'`. */
10
10
  mode?: ToothMode;
11
+ /**
12
+ * `'side'` shows the facial view (whole-tooth findings); `'plan'` shows the
13
+ * occlusal view (per-surface caries / fillings); `'both'` stacks the side
14
+ * chart above an interactive occlusal companion that shares the chart data.
15
+ * Default `'side'`.
16
+ */
17
+ projection?: ViewMode;
11
18
  /** Controlled chart state — the full `Record<FdiId, ToothState>`. */
12
19
  value?: ToothChart;
13
20
  /** Uncontrolled initial chart state. */
@@ -18,6 +25,36 @@ export interface ToothSchemeProps {
18
25
  onSelect?: (toothId: FdiId) => void;
19
26
  /** Shortcut for pre-populating conditions: `{ '16': ['caries'], '36': ['filled'] }`. */
20
27
  conditions?: Partial<Record<FdiId, ToothCondition[]>>;
28
+ /**
29
+ * The finding a tooth-click applies in interactive mode (the selected
30
+ * tool in a Findings / "Stato dentale" panel). Clicking a tooth toggles
31
+ * this condition. When unset, clicking cycles caries on/off.
32
+ */
33
+ activeCondition?: ToothCondition;
34
+ /**
35
+ * Base URL the photoreal tooth renders are served from. Resolves to
36
+ * `${assetBaseUrl}/{side|plan}/{symbol}/{top|bottom}/{fdi}.webp`. Defaults
37
+ * to the kit's bundled static path; host the `toothscheme/teeth` set
38
+ * elsewhere (CDN) by overriding this. Trusted developer-controlled value —
39
+ * interpolated into an SVG `<image href>` (which cannot execute scripts),
40
+ * not user input; intentionally not runtime-validated.
41
+ */
42
+ assetBaseUrl?: string;
43
+ /**
44
+ * Show the finding-colour legend below the chart. Default `false` — findings
45
+ * render as distinct symbol glyphs (self-describing) + tooltips, so the
46
+ * colour key is opt-in; a consuming "Stato dentale" surface uses a
47
+ * finding-type panel as its key instead.
48
+ */
49
+ legend?: boolean;
50
+ /**
51
+ * Render a built-in options affordance: a gear button that opens a popover
52
+ * letting the END USER toggle the legend and switch dentition / numbering /
53
+ * projection. Opt-in — when on, those four become user-overridable (seeded
54
+ * from the props); when off, the props drive the chart directly. Default
55
+ * `false`.
56
+ */
57
+ controls?: boolean;
21
58
  /** Accessible label override for the chart region. */
22
59
  ariaLabel?: string;
23
60
  /** Extra class names on the wrapper. */
@@ -28,6 +65,16 @@ export interface ToothSchemeHandle {
28
65
  focusTooth: (id: FdiId) => void;
29
66
  /** Read the current chart state. */
30
67
  getChart: () => ToothChart;
68
+ /** Read the findings recorded on one tooth (empty array if none). */
69
+ getTooth: (id: FdiId) => ToothCondition[];
70
+ /** Read the FDI ids of every tooth carrying a given finding. */
71
+ teethWith: (condition: ToothCondition) => FdiId[];
72
+ /** Add a finding to a tooth (no-op if already present). Optionally mark surfaces. */
73
+ setFinding: (id: FdiId, condition: ToothCondition, surfaces?: Surface[]) => void;
74
+ /** Remove a finding from a tooth (no-op if absent). */
75
+ removeFinding: (id: FdiId, condition: ToothCondition) => void;
76
+ /** Clear every finding from a tooth. */
77
+ clearTooth: (id: FdiId) => void;
31
78
  }
32
79
  declare const rootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
33
80
  export declare const ToothScheme: import("react").ForwardRefExoticComponent<ToothSchemeProps & import("react").RefAttributes<ToothSchemeHand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AM,CAAC;IACtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,gDAAgD;IAChD,UAAU,EAAE,CAAC,EAAE,EAAE,KAAK,KAAK,IAAI,CAAC;IAChC,oCAAoC;IACpC,QAAQ,EAAE,MAAM,UAAU,CAAC;IAC3B,qEAAqE;IACrE,QAAQ,EAAE,CAAC,EAAE,EAAE,KAAK,KAAK,cAAc,EAAE,CAAC;IAC1C,gEAAgE;IAChE,SAAS,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,KAAK,EAAE,CAAC;IAClD,qFAAqF;IACrF,UAAU,EAAE,CACV,EAAE,EAAE,KAAK,EACT,SAAS,EAAE,cAAc,EACzB,QAAQ,CAAC,EAAE,OAAO,EAAE,KACjB,IAAI,CAAC;IACV,uDAAuD;IACvD,aAAa,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9D,wCAAwC;IACxC,UAAU,EAAE,CAAC,EAAE,EAAE,KAAK,KAAK,IAAI,CAAC;CACjC;AAMD,QAAA,MAAM,YAAY,oFAoBjB,CAAC;AA0RF,eAAO,MAAM,WAAW,gHAwhCvB,CAAC;AAQF,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC;AAC/E,YAAY,EACV,SAAS,EACT,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,SAAS,EACT,UAAU,GACX,MAAM,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
- import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-3sINXO3m.js";
1
+ import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-BIbXHIQA.js";
2
2
  export {
3
3
  r as CATEGORIES,
4
4
  t as UNITS,