@alfadocs/ui-kit 1.12.6 → 1.14.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 (182) hide show
  1. package/dist/_chunks/actions-cell-renderer-yy03OgRL.js +137 -0
  2. package/dist/_chunks/{address-fields-CZP4Wncx.js → address-fields-CZ0pEdEI.js} +4 -4
  3. package/dist/_chunks/{ai-prompt-input-DnbfEJnr.js → ai-prompt-input-CrHr-5H8.js} +2 -2
  4. package/dist/_chunks/{anamnesis-summary-rows-BfhxWPO3.js → anamnesis-summary-rows-CRWO8x8g.js} +4 -4
  5. package/dist/_chunks/{audio-recorder-EWBCNIsd.js → audio-recorder-DXG6LTtO.js} +2 -2
  6. package/dist/_chunks/{autocomplete-BrONKN8l.js → autocomplete-MpBhz-fG.js} +86 -74
  7. package/dist/_chunks/{balance-badge-cell-7L6nzB29.js → balance-badge-cell-CgkxYO96.js} +9 -8
  8. package/dist/_chunks/{bishop-score-Cnu0xs-z.js → bishop-score-CJUVBfAu.js} +2 -2
  9. package/dist/_chunks/{booking-CBHKdsZl.js → booking-DQbo6mQF.js} +609 -591
  10. package/dist/_chunks/{calendar-B4Gnyu1C.js → calendar-CHT9Rm3M.js} +2 -2
  11. package/dist/_chunks/{calendar-event-card-Bjdbik8G.js → calendar-event-card-BjdHZaqz.js} +18 -14
  12. package/dist/_chunks/calendar-plus-BFrIRE4r.js +19 -0
  13. package/dist/_chunks/calendar-workspace-DI49_t6t.js +7429 -0
  14. package/dist/_chunks/{care-plan-card-aDN4oem9.js → care-plan-card-D-FMfDKH.js} +2 -2
  15. package/dist/_chunks/{care-plan-entry-card-BEhANdBE.js → care-plan-entry-card-Bvw_9T-d.js} +2 -2
  16. package/dist/_chunks/{care-plan-header-CkpPyQqG.js → care-plan-header-B5CBE0zu.js} +2 -2
  17. package/dist/_chunks/{city-input-towzBenY.js → city-input-DaQc-Hbj.js} +2 -2
  18. package/dist/_chunks/clipboard-list-rSzfIYZB.js +25 -0
  19. package/dist/_chunks/{color-picker-oZ6zYks8.js → color-picker-CU303VjY.js} +4 -2
  20. package/dist/_chunks/{combobox-DiMLItyu.js → combobox-D7_NLE2Z.js} +89 -81
  21. package/dist/_chunks/{contact-profile-card-BMIBr5s9.js → contact-profile-card-BZqi8Hck.js} +38 -36
  22. package/dist/_chunks/{country-select-UEF9BEeQ.js → country-select-DzbPFktV.js} +2 -2
  23. package/dist/_chunks/data-table-DC5rO3Ty.js +1817 -0
  24. package/dist/_chunks/{document-preview-oyx9RhCo.js → document-preview-CDb-n_W7.js} +2 -2
  25. package/dist/_chunks/{face-scheme-CZaKm6fG.js → face-scheme-DA2vjqaM.js} +2 -2
  26. package/dist/_chunks/{field-value-DG8zaZvo.js → field-value-D-vkX9uL.js} +120 -140
  27. package/dist/_chunks/{file-manager-C0y7HBAN.js → file-manager-DJMeB3V8.js} +138 -153
  28. package/dist/_chunks/folder-plus-CutOs4DP.js +22 -0
  29. package/dist/_chunks/{gestational-age-calculator-CxZelpu2.js → gestational-age-calculator-CiOQjzgx.js} +2 -2
  30. package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
  31. package/dist/_chunks/key-value-pair-BIBdZBLg.js +188 -0
  32. package/dist/_chunks/{link-cell-renderer-CenJx-_7.js → link-cell-renderer-CIASXsVM.js} +4 -4
  33. package/dist/_chunks/{multi-select-DqL4o0qV.js → multi-select-DYOvx2SJ.js} +56 -48
  34. package/dist/_chunks/{muscle-scheme-yfzP_xoJ.js → muscle-scheme-BSJsI4-I.js} +2 -2
  35. package/dist/_chunks/{notes-panel-CymneXtl.js → notes-panel-DYAtlq_i.js} +2 -2
  36. package/dist/_chunks/{optical-prescription-Dj3Eh5Ok.js → optical-prescription-BvwuqTpl.js} +2 -2
  37. package/dist/_chunks/{patient-details-xrqe13az.js → patient-details-BfzvFnxQ.js} +75 -94
  38. package/dist/_chunks/{patient-search-D5ufYoRc.js → patient-search-HeEUB-_X.js} +2 -2
  39. package/dist/_chunks/{patient-summary-card-CBfuDvJ5.js → patient-summary-card-D5Vfa321.js} +3 -3
  40. package/dist/_chunks/{payment-request-card-YVCcCZ25.js → payment-request-card-lmKLwsDs.js} +2 -2
  41. package/dist/_chunks/{periodontal-chart-BatZEFar.js → periodontal-chart-B9fphroR.js} +2 -2
  42. package/dist/_chunks/{periodontal-chart-card-BBpY_rBc.js → periodontal-chart-card-qEZPXj83.js} +2 -2
  43. package/dist/_chunks/{practice-results-D7ygCj_W.js → practice-results-DL_ExLYE.js} +159 -172
  44. package/dist/_chunks/{pregnancy-dating-DtToyMyc.js → pregnancy-dating-D2wchD11.js} +2 -2
  45. package/dist/_chunks/{province-select-BDywtmL-.js → province-select-BBc7s7vR.js} +2 -2
  46. package/dist/_chunks/{rich-text-editor-BDfFtK4H.js → rich-text-editor-DtbcA6s1.js} +2 -2
  47. package/dist/_chunks/{select-BW5ecXlX.js → select-Bi8zril7.js} +165 -136
  48. package/dist/_chunks/signature-CpFNpsVK.js +21 -0
  49. package/dist/_chunks/{signature-field-0rFODJlW.js → signature-field-CEiPe-vX.js} +19 -34
  50. package/dist/_chunks/{signature-request-DVDTKLjM.js → signature-request-CUe903hj.js} +2 -2
  51. package/dist/_chunks/smartphone-C0rFF2if.js +15 -0
  52. package/dist/_chunks/{tabs-CBb2AidH.js → tabs-DqKtTIjZ.js} +2 -2
  53. package/dist/_chunks/{tasks-panel-Do5SFp-j.js → tasks-panel-DPCNaRko.js} +2 -2
  54. package/dist/_chunks/{toast.agent-D1tdg6DS.js → toast-YZz2sBzB.js} +160 -212
  55. package/dist/_chunks/toast.agent-DNQ0JYGv.js +56 -0
  56. package/dist/_chunks/{tooth-scheme-WdyVymQ1.js → tooth-scheme-2IsmbE6w.js} +2 -2
  57. package/dist/_chunks/{unit-converter-BPumXMA6.js → unit-converter-C6jMjqL9.js} +2 -2
  58. package/dist/_chunks/{workflow-map-DE_ribRM.js → workflow-map-dNzJjBWG.js} +104 -113
  59. package/dist/agent-catalog.json +867 -1
  60. package/dist/agent-i18n/en.json +27 -0
  61. package/dist/components/_shared/option.d.ts +1 -0
  62. package/dist/components/address-fields/index.js +1 -1
  63. package/dist/components/ai-prompt-input/index.js +1 -1
  64. package/dist/components/audio-recorder/index.js +1 -1
  65. package/dist/components/autocomplete/index.js +1 -1
  66. package/dist/components/bishop-score/index.js +1 -1
  67. package/dist/components/booking/index.js +1 -1
  68. package/dist/components/calendar/index.js +1 -1
  69. package/dist/components/calendar-event-card/index.js +1 -1
  70. package/dist/components/care-plan-card/index.js +1 -1
  71. package/dist/components/care-plan-entry-card/index.js +1 -1
  72. package/dist/components/care-plan-header/index.js +1 -1
  73. package/dist/components/city-input/index.js +1 -1
  74. package/dist/components/color-picker/index.js +1 -1
  75. package/dist/components/combobox/index.js +1 -1
  76. package/dist/components/contact-profile-card/index.js +1 -1
  77. package/dist/components/country-select/index.js +1 -1
  78. package/dist/components/data-table/index.js +39 -38
  79. package/dist/components/document-preview/index.js +1 -1
  80. package/dist/components/face-scheme/index.js +1 -1
  81. package/dist/components/file-manager/index.js +1 -1
  82. package/dist/components/gestational-age-calculator/index.js +1 -1
  83. package/dist/components/index.d.ts +1 -0
  84. package/dist/components/key-value-pair/index.js +1 -1
  85. package/dist/components/key-value-pair/key-value-pair.d.ts +16 -0
  86. package/dist/components/multi-select/index.js +1 -1
  87. package/dist/components/muscle-scheme/index.js +1 -1
  88. package/dist/components/notes-panel/index.js +1 -1
  89. package/dist/components/optical-prescription/index.js +1 -1
  90. package/dist/components/patient-details/index.js +1 -1
  91. package/dist/components/patient-search/index.js +1 -1
  92. package/dist/components/patient-summary-card/index.js +1 -1
  93. package/dist/components/patient-table/index.js +1 -1
  94. package/dist/components/payment-card/index.js +1 -1
  95. package/dist/components/periodontal-chart/index.js +1 -1
  96. package/dist/components/periodontal-chart-card/index.js +1 -1
  97. package/dist/components/practice-results/index.js +1 -1
  98. package/dist/components/pregnancy-dating/index.js +1 -1
  99. package/dist/components/province-select/index.js +1 -1
  100. package/dist/components/rich-text-editor/index.js +1 -1
  101. package/dist/components/select/index.js +1 -1
  102. package/dist/components/select/select.d.ts +24 -0
  103. package/dist/components/signature-field/index.js +1 -1
  104. package/dist/components/skeleton-scheme/index.js +1 -1
  105. package/dist/components/tabs/index.js +1 -1
  106. package/dist/components/tasks-panel/index.js +1 -1
  107. package/dist/components/toast/index.js +7 -6
  108. package/dist/components/tooth-scheme/index.js +1 -1
  109. package/dist/components/unit-converter/index.js +1 -1
  110. package/dist/components/workflow/index.js +1 -1
  111. package/dist/i18n/locales/ar.d.ts +680 -0
  112. package/dist/i18n/locales/ar.js +680 -0
  113. package/dist/i18n/locales/de.d.ts +680 -0
  114. package/dist/i18n/locales/de.js +680 -0
  115. package/dist/i18n/locales/el.d.ts +680 -0
  116. package/dist/i18n/locales/el.js +680 -0
  117. package/dist/i18n/locales/en.d.ts +680 -0
  118. package/dist/i18n/locales/en.js +680 -0
  119. package/dist/i18n/locales/es.d.ts +680 -0
  120. package/dist/i18n/locales/es.js +680 -0
  121. package/dist/i18n/locales/fr.d.ts +680 -0
  122. package/dist/i18n/locales/fr.js +680 -0
  123. package/dist/i18n/locales/hi.d.ts +680 -0
  124. package/dist/i18n/locales/hi.js +680 -0
  125. package/dist/i18n/locales/it.d.ts +680 -0
  126. package/dist/i18n/locales/it.js +680 -0
  127. package/dist/i18n/locales/ja.d.ts +680 -0
  128. package/dist/i18n/locales/ja.js +680 -0
  129. package/dist/i18n/locales/nl.d.ts +680 -0
  130. package/dist/i18n/locales/nl.js +680 -0
  131. package/dist/i18n/locales/pl.d.ts +680 -0
  132. package/dist/i18n/locales/pl.js +680 -0
  133. package/dist/i18n/locales/pt.d.ts +680 -0
  134. package/dist/i18n/locales/pt.js +680 -0
  135. package/dist/i18n/locales/ro.d.ts +680 -0
  136. package/dist/i18n/locales/ro.js +680 -0
  137. package/dist/i18n/locales/ru.d.ts +680 -0
  138. package/dist/i18n/locales/ru.js +680 -0
  139. package/dist/i18n/locales/sq.d.ts +680 -0
  140. package/dist/i18n/locales/sq.js +680 -0
  141. package/dist/i18n/locales/sv.d.ts +680 -0
  142. package/dist/i18n/locales/sv.js +680 -0
  143. package/dist/i18n/locales/tr.d.ts +680 -0
  144. package/dist/i18n/locales/tr.js +680 -0
  145. package/dist/i18n/locales/zh.d.ts +680 -0
  146. package/dist/i18n/locales/zh.js +680 -0
  147. package/dist/index.js +830 -812
  148. package/dist/locales/ar.json +680 -0
  149. package/dist/locales/de.json +680 -0
  150. package/dist/locales/el.json +680 -0
  151. package/dist/locales/en.json +680 -0
  152. package/dist/locales/es.json +680 -0
  153. package/dist/locales/fr.json +680 -0
  154. package/dist/locales/hi.json +680 -0
  155. package/dist/locales/it.json +680 -0
  156. package/dist/locales/ja.json +680 -0
  157. package/dist/locales/nl.json +680 -0
  158. package/dist/locales/pl.json +680 -0
  159. package/dist/locales/pt.json +680 -0
  160. package/dist/locales/ro.json +680 -0
  161. package/dist/locales/ru.json +680 -0
  162. package/dist/locales/sq.json +680 -0
  163. package/dist/locales/sv.json +680 -0
  164. package/dist/locales/tr.json +680 -0
  165. package/dist/locales/zh.json +680 -0
  166. package/dist/patterns/anamnesis/index.js +1 -1
  167. package/dist/patterns/calendar/calendar-workspace.d.ts +62 -0
  168. package/dist/patterns/calendar/calendar-workspace.model.d.ts +358 -0
  169. package/dist/patterns/calendar/calendar.data.d.ts +122 -0
  170. package/dist/patterns/calendar/calendar.host.d.ts +10 -0
  171. package/dist/patterns/calendar/calendar.journey.d.ts +119 -0
  172. package/dist/patterns/calendar/calendar.model.d.ts +684 -0
  173. package/dist/patterns/calendar/calendar.preferences.d.ts +74 -0
  174. package/dist/patterns/calendar/calendar.sheets.d.ts +398 -0
  175. package/dist/patterns/calendar/calendar.surface.d.ts +77 -0
  176. package/dist/patterns/calendar/calendar.types.d.ts +413 -0
  177. package/dist/patterns/calendar/index.d.ts +13 -0
  178. package/dist/patterns/calendar/index.js +19 -0
  179. package/dist/patterns/signature-request/index.js +1 -1
  180. package/package.json +5 -1
  181. package/dist/_chunks/actions-cell-renderer-DnSLrgQD.js +0 -1945
  182. package/dist/_chunks/key-value-pair-BubG4fUa.js +0 -144
@@ -0,0 +1,56 @@
1
+ const i = {
2
+ id: "toast",
3
+ capabilities: ["dismiss"],
4
+ state: {
5
+ visibleToasts: {
6
+ type: "Array<{ id: string }>",
7
+ descriptionKey: "ui.agent.toast.state.visibleToasts",
8
+ description: "Snapshot of currently-visible toasts by opaque id. Never carries the toast body text.",
9
+ read: (t) => t.getVisibleToasts()
10
+ }
11
+ },
12
+ actions: {
13
+ dismiss: {
14
+ safety: "destructive",
15
+ argsType: "{ id: string }",
16
+ argsSchema: {
17
+ type: "object",
18
+ properties: { id: { type: "string" } },
19
+ required: ["id"]
20
+ },
21
+ idempotent: !0,
22
+ descriptionKey: "ui.agent.toast.actions.dismiss",
23
+ description: "Dismiss the toast with the given id. Irreversible from the same UI.",
24
+ invoke: (t, s) => {
25
+ t.dismiss(s.id);
26
+ }
27
+ },
28
+ dismiss_all: {
29
+ safety: "destructive",
30
+ idempotent: !0,
31
+ descriptionKey: "ui.agent.toast.actions.dismissAll",
32
+ description: "Dismiss every visible toast.",
33
+ invoke: (t) => {
34
+ t.dismissAll();
35
+ }
36
+ }
37
+ },
38
+ domHooks: {
39
+ root: {
40
+ attr: "data-component",
41
+ // The sonner <ol> region wrapper emits `data-component="toast-region"`
42
+ // (not the bare adapter id) — toasts are imperatively created and
43
+ // addressed individually by id, not by a per-instance component root.
44
+ value: "toast-region",
45
+ description: 'Marks the Toaster region wrapper (data-component="toast-region"). Toast is imperatively created; the registry addresses individual toasts by id, not by per-instance root.'
46
+ },
47
+ item: {
48
+ attr: "data-toast-id",
49
+ description: "Stable opaque toast id assigned at creation. Used by `dismiss({id})`."
50
+ }
51
+ }
52
+ };
53
+ export {
54
+ i as t
55
+ };
56
+ //# sourceMappingURL=toast.agent-DNQ0JYGv.js.map
@@ -7,7 +7,7 @@ import { useTranslation as io } from "react-i18next";
7
7
  import { u as Xo } from "./registry-DvAUVLHh.js";
8
8
  import { I as Jo } from "./icon-button-DA2CAGHZ.js";
9
9
  import { P as rt } from "./popover-Cqcjx-Ny.js";
10
- import { S as en } from "./select-BW5ecXlX.js";
10
+ import { S as en } from "./select-Bi8zril7.js";
11
11
  import { S as at } from "./switch-OILsBLWo.js";
12
12
  import { o as zt, K as tn, a0 as on, J as Ke, R as Ue, u as ro, U as ao, G as nn, S as rn, w as Ve, X as F, f as de, $ as st, _ as Vt, E as ft, a1 as ce, H as Bt, z as ut, y as an, l as ct, A as so, L as sn, t as pt, W as dt, s as co, Y as lo, x as cn, V as dn, a2 as ln, a3 as $, a4 as U, a5 as hn, Z as un, C as ho, Q as pn, a6 as fn, k as Gt, T as mn, O as gn, q as vn, N as bn } from "./tooth-data-DR8Kdnup.js";
13
13
  import { S as yn } from "./settings-d25ju_6L.js";
@@ -2048,4 +2048,4 @@ export {
2048
2048
  Nn as r,
2049
2049
  $n as t
2050
2050
  };
2051
- //# sourceMappingURL=tooth-scheme-WdyVymQ1.js.map
2051
+ //# sourceMappingURL=tooth-scheme-2IsmbE6w.js.map
@@ -5,7 +5,7 @@ import { useTranslation as M } from "react-i18next";
5
5
  import { u as Y } from "./registry-DvAUVLHh.js";
6
6
  import { F as C } from "./form-field-CahJzTxp.js";
7
7
  import { N as B } from "./number-input-Cgu2TtA8.js";
8
- import { S } from "./select-BW5ecXlX.js";
8
+ import { S } from "./select-Bi8zril7.js";
9
9
  import { I as D } from "./insert-result-LCNTskNJ.js";
10
10
  const L = [
11
11
  "weight",
@@ -334,4 +334,4 @@ export {
334
334
  ee as b,
335
335
  Q as c
336
336
  };
337
- //# sourceMappingURL=unit-converter-BPumXMA6.js.map
337
+ //# sourceMappingURL=unit-converter-C6jMjqL9.js.map