@alfadocs/ui-kit-debug 0.47.0 → 0.48.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 (341) hide show
  1. package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
  2. package/dist/_chunks/agenda-card-BaSfVfrL.js.map +1 -0
  3. package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
  4. package/dist/_chunks/agenda-tray-DQayYmQ0.js.map +1 -0
  5. package/dist/_chunks/ai-consent-banner-DO5ingMq.js +169 -0
  6. package/dist/_chunks/ai-consent-banner-DO5ingMq.js.map +1 -0
  7. package/dist/_chunks/ai-tools-rail-CxYG04cw.js +280 -0
  8. package/dist/_chunks/ai-tools-rail-CxYG04cw.js.map +1 -0
  9. package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
  10. package/dist/_chunks/alia-sidebar-DlvyXgVC.js.map +1 -0
  11. package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
  12. package/dist/_chunks/anamnesis-card-CmkBVAln.js.map +1 -0
  13. package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
  14. package/dist/_chunks/appointment-tray-BwDHhWWC.js.map +1 -0
  15. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  16. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
  17. package/dist/_chunks/{booking-DlDVuWMd.js → booking-WV2GSru5.js} +291 -303
  18. package/dist/_chunks/booking-WV2GSru5.js.map +1 -0
  19. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  20. package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
  21. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  22. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
  23. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  24. package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
  25. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  26. package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
  27. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  28. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
  29. package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
  30. package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
  31. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  32. package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
  33. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  34. package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
  35. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js → cycle-calculator-DYvGm_m1.js} +2 -2
  36. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js.map → cycle-calculator-DYvGm_m1.js.map} +1 -1
  37. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  38. package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
  39. package/dist/_chunks/{due-date-calculator-mFxpHLml.js → due-date-calculator-BXd3ANj7.js} +2 -2
  40. package/dist/_chunks/{due-date-calculator-mFxpHLml.js.map → due-date-calculator-BXd3ANj7.js.map} +1 -1
  41. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  42. package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
  43. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js → gestational-age-calculator-Crj6FgZw.js} +2 -2
  44. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js.map → gestational-age-calculator-Crj6FgZw.js.map} +1 -1
  45. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  46. package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
  47. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  48. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
  49. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  50. package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
  51. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  52. package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
  53. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  54. package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
  55. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  56. package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
  57. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  58. package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
  59. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  60. package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
  61. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  62. package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
  63. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-G8SU6Azw.js} +3 -3
  64. package/dist/_chunks/pdf-viewer-G8SU6Azw.js.map +1 -0
  65. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  66. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
  67. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  68. package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
  69. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-BFL_mcDW.js} +3 -2
  70. package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-BFL_mcDW.js.map} +1 -1
  71. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js → pregnancy-weight-gain-C7dK89jE.js} +2 -2
  72. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js.map → pregnancy-weight-gain-C7dK89jE.js.map} +1 -1
  73. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  74. package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
  75. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  76. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
  77. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-DPI2pY9V.js} +2 -2
  78. package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-DPI2pY9V.js.map} +1 -1
  79. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  80. package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
  81. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  82. package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
  83. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  84. package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
  85. package/dist/_chunks/video-BAeICxCT.js +21 -0
  86. package/dist/_chunks/video-BAeICxCT.js.map +1 -0
  87. package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-ZXw-zsZ8.js} +138 -156
  88. package/dist/_chunks/workflow-map-ZXw-zsZ8.js.map +1 -0
  89. package/dist/agent-catalog.json +324 -1
  90. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  91. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
  92. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  93. package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
  94. package/dist/components/_shared/index.d.ts +2 -0
  95. package/dist/components/_shared/index.d.ts.map +1 -1
  96. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  97. package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
  98. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  99. package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
  100. package/dist/components/agenda-card/index.d.ts +2 -1
  101. package/dist/components/agenda-card/index.d.ts.map +1 -1
  102. package/dist/components/agenda-card/index.js +6 -5
  103. package/dist/components/agenda-card/index.js.map +1 -1
  104. package/dist/components/agenda-tray/index.js +1 -1
  105. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  106. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
  107. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  108. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
  109. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  110. package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
  111. package/dist/components/ai-consent-banner/index.js +6 -0
  112. package/dist/components/ai-consent-banner/index.js.map +1 -0
  113. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  114. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
  115. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  116. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
  117. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  118. package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
  119. package/dist/components/ai-tools-rail/index.js +6 -0
  120. package/dist/components/ai-tools-rail/index.js.map +1 -0
  121. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  122. package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
  123. package/dist/components/anamnesis-card/index.d.ts +3 -0
  124. package/dist/components/anamnesis-card/index.d.ts.map +1 -0
  125. package/dist/components/anamnesis-card/index.js +5 -0
  126. package/dist/components/anamnesis-card/index.js.map +1 -0
  127. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  128. package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
  129. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  130. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
  131. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  132. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
  133. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  134. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
  135. package/dist/components/appointment-card/index.d.ts +8 -0
  136. package/dist/components/appointment-card/index.d.ts.map +1 -0
  137. package/dist/components/appointment-card/index.js +10 -0
  138. package/dist/components/appointment-card/index.js.map +1 -0
  139. package/dist/components/badge/badge.d.ts +1 -1
  140. package/dist/components/bmi-calculator/index.js +1 -1
  141. package/dist/components/booking/index.js +1 -1
  142. package/dist/components/calculator-dialog/index.js +1 -1
  143. package/dist/components/calendar/index.js +1 -1
  144. package/dist/components/card/card.d.ts +1 -1
  145. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  146. package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
  147. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  148. package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
  149. package/dist/components/care-plan-card/index.d.ts +4 -0
  150. package/dist/components/care-plan-card/index.d.ts.map +1 -0
  151. package/dist/components/care-plan-card/index.js +6 -0
  152. package/dist/components/care-plan-card/index.js.map +1 -0
  153. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  154. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
  155. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  156. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
  157. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  158. package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
  159. package/dist/components/care-plan-entry-card/index.js +6 -0
  160. package/dist/components/care-plan-entry-card/index.js.map +1 -0
  161. package/dist/components/chat-message/chat-message.d.ts +7 -0
  162. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  163. package/dist/components/chat-message/index.js +1 -1
  164. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  165. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
  166. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  167. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
  168. package/dist/components/clinical-note-card/index.d.ts +4 -0
  169. package/dist/components/clinical-note-card/index.d.ts.map +1 -0
  170. package/dist/components/clinical-note-card/index.js +6 -0
  171. package/dist/components/clinical-note-card/index.js.map +1 -0
  172. package/dist/components/contact-profile-card/index.js +1 -1
  173. package/dist/components/cycle-calculator/index.js +1 -1
  174. package/dist/components/dialog/dialog.d.ts +7 -0
  175. package/dist/components/dialog/dialog.d.ts.map +1 -1
  176. package/dist/components/dialog/index.js +1 -1
  177. package/dist/components/due-date-calculator/index.js +1 -1
  178. package/dist/components/gestational-age-calculator/index.js +1 -1
  179. package/dist/components/index.d.ts +10 -0
  180. package/dist/components/index.d.ts.map +1 -1
  181. package/dist/components/message-card/index.js +5 -4
  182. package/dist/components/message-card/index.js.map +1 -1
  183. package/dist/components/message-card/message-card.d.ts +1 -2
  184. package/dist/components/message-card/message-card.d.ts.map +1 -1
  185. package/dist/components/message-tray/index.js +1 -1
  186. package/dist/components/operator-hero/index.js +1 -1
  187. package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
  188. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  189. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  190. package/dist/components/patient-summary-card/index.d.ts +4 -0
  191. package/dist/components/patient-summary-card/index.d.ts.map +1 -0
  192. package/dist/components/patient-summary-card/index.js +6 -0
  193. package/dist/components/patient-summary-card/index.js.map +1 -0
  194. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  195. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
  196. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  197. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
  198. package/dist/components/payment-card/index.d.ts +7 -0
  199. package/dist/components/payment-card/index.d.ts.map +1 -0
  200. package/dist/components/payment-card/index.js +8 -0
  201. package/dist/components/payment-card/index.js.map +1 -0
  202. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  203. package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
  204. package/dist/components/payment-card/payment-card.d.ts +71 -0
  205. package/dist/components/payment-card/payment-card.d.ts.map +1 -0
  206. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  207. package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
  208. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  209. package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
  210. package/dist/components/pdf-viewer/index.js +1 -1
  211. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  212. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  213. package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
  214. package/dist/components/periodontal-chart-card/index.js +7 -0
  215. package/dist/components/periodontal-chart-card/index.js.map +1 -0
  216. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  217. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
  218. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  219. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
  220. package/dist/components/practice-results/index.js +1 -1
  221. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  222. package/dist/components/public-header/public-header.d.ts +1 -1
  223. package/dist/components/sign-document/index.js +1 -1
  224. package/dist/components/stat/stat.d.ts +1 -1
  225. package/dist/components/transaction-chip/index.js +1 -1
  226. package/dist/components/unit-converter/index.js +1 -1
  227. package/dist/components/workflow/index.js +1 -1
  228. package/dist/i18n/locales/ar.d.ts +351 -0
  229. package/dist/i18n/locales/ar.d.ts.map +1 -1
  230. package/dist/i18n/locales/ar.js +351 -0
  231. package/dist/i18n/locales/ar.js.map +1 -1
  232. package/dist/i18n/locales/de.d.ts +351 -0
  233. package/dist/i18n/locales/de.d.ts.map +1 -1
  234. package/dist/i18n/locales/de.js +351 -0
  235. package/dist/i18n/locales/de.js.map +1 -1
  236. package/dist/i18n/locales/el.d.ts +351 -0
  237. package/dist/i18n/locales/el.d.ts.map +1 -1
  238. package/dist/i18n/locales/el.js +351 -0
  239. package/dist/i18n/locales/el.js.map +1 -1
  240. package/dist/i18n/locales/en.d.ts +351 -0
  241. package/dist/i18n/locales/en.d.ts.map +1 -1
  242. package/dist/i18n/locales/en.js +351 -0
  243. package/dist/i18n/locales/en.js.map +1 -1
  244. package/dist/i18n/locales/es.d.ts +351 -0
  245. package/dist/i18n/locales/es.d.ts.map +1 -1
  246. package/dist/i18n/locales/es.js +351 -0
  247. package/dist/i18n/locales/es.js.map +1 -1
  248. package/dist/i18n/locales/fr.d.ts +351 -0
  249. package/dist/i18n/locales/fr.d.ts.map +1 -1
  250. package/dist/i18n/locales/fr.js +351 -0
  251. package/dist/i18n/locales/fr.js.map +1 -1
  252. package/dist/i18n/locales/hi.d.ts +351 -0
  253. package/dist/i18n/locales/hi.d.ts.map +1 -1
  254. package/dist/i18n/locales/hi.js +351 -0
  255. package/dist/i18n/locales/hi.js.map +1 -1
  256. package/dist/i18n/locales/it.d.ts +351 -0
  257. package/dist/i18n/locales/it.d.ts.map +1 -1
  258. package/dist/i18n/locales/it.js +351 -0
  259. package/dist/i18n/locales/it.js.map +1 -1
  260. package/dist/i18n/locales/ja.d.ts +351 -0
  261. package/dist/i18n/locales/ja.d.ts.map +1 -1
  262. package/dist/i18n/locales/ja.js +351 -0
  263. package/dist/i18n/locales/ja.js.map +1 -1
  264. package/dist/i18n/locales/nl.d.ts +351 -0
  265. package/dist/i18n/locales/nl.d.ts.map +1 -1
  266. package/dist/i18n/locales/nl.js +351 -0
  267. package/dist/i18n/locales/nl.js.map +1 -1
  268. package/dist/i18n/locales/pl.d.ts +351 -0
  269. package/dist/i18n/locales/pl.d.ts.map +1 -1
  270. package/dist/i18n/locales/pl.js +351 -0
  271. package/dist/i18n/locales/pl.js.map +1 -1
  272. package/dist/i18n/locales/pt.d.ts +351 -0
  273. package/dist/i18n/locales/pt.d.ts.map +1 -1
  274. package/dist/i18n/locales/pt.js +351 -0
  275. package/dist/i18n/locales/pt.js.map +1 -1
  276. package/dist/i18n/locales/ro.d.ts +351 -0
  277. package/dist/i18n/locales/ro.d.ts.map +1 -1
  278. package/dist/i18n/locales/ro.js +351 -0
  279. package/dist/i18n/locales/ro.js.map +1 -1
  280. package/dist/i18n/locales/ru.d.ts +351 -0
  281. package/dist/i18n/locales/ru.d.ts.map +1 -1
  282. package/dist/i18n/locales/ru.js +351 -0
  283. package/dist/i18n/locales/ru.js.map +1 -1
  284. package/dist/i18n/locales/sq.d.ts +351 -0
  285. package/dist/i18n/locales/sq.d.ts.map +1 -1
  286. package/dist/i18n/locales/sq.js +351 -0
  287. package/dist/i18n/locales/sq.js.map +1 -1
  288. package/dist/i18n/locales/sv.d.ts +351 -0
  289. package/dist/i18n/locales/sv.d.ts.map +1 -1
  290. package/dist/i18n/locales/sv.js +351 -0
  291. package/dist/i18n/locales/sv.js.map +1 -1
  292. package/dist/i18n/locales/tr.d.ts +351 -0
  293. package/dist/i18n/locales/tr.d.ts.map +1 -1
  294. package/dist/i18n/locales/tr.js +351 -0
  295. package/dist/i18n/locales/tr.js.map +1 -1
  296. package/dist/i18n/locales/zh.d.ts +351 -0
  297. package/dist/i18n/locales/zh.d.ts.map +1 -1
  298. package/dist/i18n/locales/zh.js +351 -0
  299. package/dist/i18n/locales/zh.js.map +1 -1
  300. package/dist/index.js +527 -491
  301. package/dist/index.js.map +1 -1
  302. package/dist/locales/ar.json +351 -0
  303. package/dist/locales/de.json +351 -0
  304. package/dist/locales/el.json +351 -0
  305. package/dist/locales/en.json +351 -0
  306. package/dist/locales/es.json +351 -0
  307. package/dist/locales/fr.json +351 -0
  308. package/dist/locales/hi.json +351 -0
  309. package/dist/locales/it.json +351 -0
  310. package/dist/locales/ja.json +351 -0
  311. package/dist/locales/nl.json +351 -0
  312. package/dist/locales/pl.json +351 -0
  313. package/dist/locales/pt.json +351 -0
  314. package/dist/locales/ro.json +351 -0
  315. package/dist/locales/ru.json +351 -0
  316. package/dist/locales/sq.json +351 -0
  317. package/dist/locales/sv.json +351 -0
  318. package/dist/locales/tr.json +351 -0
  319. package/dist/locales/zh.json +351 -0
  320. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  321. package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
  322. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  323. package/dist/patterns/alia-assistant/index.js +1 -1
  324. package/dist/tokens.css +1 -1
  325. package/package.json +42 -1
  326. package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
  327. package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
  328. package/dist/_chunks/alia-sidebar-CVIPrdc9.js.map +0 -1
  329. package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
  330. package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
  331. package/dist/_chunks/chat-message-B5JpFj0F.js.map +0 -1
  332. package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
  333. package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
  334. package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
  335. package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
  336. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  337. package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
  338. package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
  339. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
  340. package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
  341. package/dist/_chunks/workflow-map-Djn1QMJc.js.map +0 -1
@@ -1,50 +1,22 @@
1
- import { jsxs as G, jsx as x } from "react/jsx-runtime";
2
- import { forwardRef as it, useRef as Tt } from "react";
3
- import { useTranslation as Mt } from "react-i18next";
4
- import { c as It } from "./index-D2ZczOXr.js";
5
- import { B as At } from "./button-DD_0Xdmr.js";
6
- import { c as lt } from "./createLucideIcon-CrFbzy84.js";
7
- import { I as Ct } from "./image-C6RM5hfF.js";
1
+ import { jsxs as G, jsx as g } from "react/jsx-runtime";
2
+ import { forwardRef as it, useRef as Lt } from "react";
3
+ import { useTranslation as Tt } from "react-i18next";
4
+ import { c as Mt } from "./index-D2ZczOXr.js";
5
+ import { B as It } from "./button-DD_0Xdmr.js";
6
+ import { L as Ct } from "./layers-pzGcbLPj.js";
7
+ import { I as Bt } from "./image-C6RM5hfF.js";
8
+ import { c as Et } from "./createLucideIcon-CrFbzy84.js";
8
9
  /**
9
10
  * @license lucide-react v1.8.0 - ISC
10
11
  *
11
12
  * This source code is licensed under the ISC license.
12
13
  * See the LICENSE file in the root directory of this source tree.
13
14
  */
14
- const Bt = [
15
- [
16
- "path",
17
- {
18
- d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
19
- key: "zw3jo"
20
- }
21
- ],
22
- [
23
- "path",
24
- {
25
- d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
26
- key: "1wduqc"
27
- }
28
- ],
29
- [
30
- "path",
31
- {
32
- d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
33
- key: "kqbvx6"
34
- }
35
- ]
36
- ], Et = lt("layers", Bt);
37
- /**
38
- * @license lucide-react v1.8.0 - ISC
39
- *
40
- * This source code is licensed under the ISC license.
41
- * See the LICENSE file in the root directory of this source tree.
42
- */
43
- const _t = [
15
+ const At = [
44
16
  ["path", { d: "M12 4v16", key: "1654pz" }],
45
17
  ["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2", key: "e0r10z" }],
46
18
  ["path", { d: "M9 20h6", key: "s66wpe" }]
47
- ], St = lt("type", _t), Yt = 15, J = 40, Nt = [18.5, 25, 30];
19
+ ], _t = Et("type", At), St = 15, J = 40, Yt = [18.5, 25, 30];
48
20
  function bn() {
49
21
  return {
50
22
  bands: [
@@ -53,19 +25,19 @@ function bn() {
53
25
  { upTo: 30, colorToken: "--warning-readable" },
54
26
  { upTo: J, colorToken: "--destructive" }
55
27
  ],
56
- min: Yt,
28
+ min: St,
57
29
  max: J,
58
- ticks: [...Nt]
30
+ ticks: [...Yt]
59
31
  };
60
32
  }
61
- const P = 14, U = 12, Gt = U / 2, Q = 18, Ht = 12, Rt = 16;
33
+ const P = 14, U = 12, Nt = U / 2, Q = 18, Gt = 12, Ht = 16;
62
34
  function S(t, n, i, a, r) {
63
35
  if (i <= n) return a;
64
36
  const s = (t - n) / (i - n);
65
37
  return a + s * (r - a);
66
38
  }
67
- function ct(t, { width: n, height: i }) {
68
- const a = P, r = n - P, s = Q + Ht, e = Q, c = s + U + Rt;
39
+ function lt(t, { width: n, height: i }) {
40
+ const a = P, r = n - P, s = Q + Gt, e = Q, c = s + U + Ht;
69
41
  let u = t.min;
70
42
  const d = t.bands.map((l) => {
71
43
  const L = Math.max(t.min, Math.min(u, t.max)), y = Math.max(t.min, Math.min(l.upTo, t.max));
@@ -83,7 +55,7 @@ function ct(t, { width: n, height: i }) {
83
55
  barEnd: r,
84
56
  barY: s,
85
57
  barH: U,
86
- barRadius: Gt,
58
+ barRadius: Nt,
87
59
  bands: d,
88
60
  marker: {
89
61
  x: v,
@@ -99,35 +71,35 @@ function ct(t, { width: n, height: i }) {
99
71
  ariaLabel: t.ariaLabel
100
72
  };
101
73
  }
102
- const o = (t) => Math.round(t * 100) / 100, C = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
103
- function ut(t, n, i, a, r, s) {
74
+ const o = (t) => Math.round(t * 100) / 100, B = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
75
+ function ct(t, n, i, a, r, s) {
104
76
  const e = t + i, c = n + a, u = s > 0 ? `A${s} ${s} 0 0 1 ${o(e)} ${o(n + s)}` : "", d = s > 0 ? `A${s} ${s} 0 0 1 ${o(e - s)} ${o(c)}` : "", f = r > 0 ? `A${r} ${r} 0 0 1 ${o(t)} ${o(c - r)}` : "", p = r > 0 ? `A${r} ${r} 0 0 1 ${o(t + r)} ${o(n)}` : "";
105
77
  return `M${o(t + r)} ${o(n)} H${o(e - s)} ${u} V${o(
106
78
  c - s
107
79
  )} ${d} H${o(t + r)} ${f} V${o(n + r)} ${p} Z`;
108
80
  }
109
- function Dt(t, n) {
110
- const { resolve: i, font: a, fg: r, muted: s, track: e } = n, c = C(a), u = `<rect x="${o(t.barStart)}" y="${o(
81
+ function Rt(t, n) {
82
+ const { resolve: i, font: a, fg: r, muted: s, track: e } = n, c = B(a), u = `<rect x="${o(t.barStart)}" y="${o(
111
83
  t.barY
112
- )}" width="${o(t.barEnd - t.barStart)}" height="${t.barH}" rx="${t.barRadius}" fill="${e}"/>`, d = t.bands.length, f = t.bands.map((m, g) => {
113
- const I = i(m.colorToken), _ = g === 0 ? t.barRadius : 0, Lt = g === d - 1 ? t.barRadius : 0;
114
- return `<path d="${ut(
84
+ )}" width="${o(t.barEnd - t.barStart)}" height="${t.barH}" rx="${t.barRadius}" fill="${e}"/>`, d = t.bands.length, f = t.bands.map((m, x) => {
85
+ const I = i(m.colorToken), _ = x === 0 ? t.barRadius : 0, wt = x === d - 1 ? t.barRadius : 0;
86
+ return `<path d="${ct(
115
87
  m.x,
116
88
  t.barY,
117
89
  m.w,
118
90
  t.barH,
119
91
  _,
120
- Lt
92
+ wt
121
93
  )}" fill="${I}"/>`;
122
94
  }).join(""), p = t.barY + t.barH, v = p + 4, h = t.ticks.map((m) => {
123
- const g = `<line x1="${o(m.x)}" y1="${o(p)}" x2="${o(
95
+ const x = `<line x1="${o(m.x)}" y1="${o(p)}" x2="${o(
124
96
  m.x
125
97
  )}" y2="${o(v)}" stroke="${e}" stroke-width="1"/>`, I = `<text x="${o(
126
98
  m.x
127
- )}" y="${o(t.tickLabelY)}" text-anchor="middle" font-family="${c}" font-size="9" fill="${s}">${C(
99
+ )}" y="${o(t.tickLabelY)}" text-anchor="middle" font-family="${c}" font-size="9" fill="${s}">${B(
128
100
  String(m.value)
129
101
  )}</text>`;
130
- return g + I;
102
+ return x + I;
131
103
  }).join(""), $ = o(t.marker.x), l = t.barY - 3, L = t.barY + t.barH + 3, y = `<line x1="${$}" y1="${o(l)}" x2="${$}" y2="${o(
132
104
  L
133
105
  )}" stroke="${r}" stroke-width="2" stroke-linecap="round"/>`, b = t.barY - 4, T = `<polygon points="${$},${o(t.barY + 1)} ${o(
@@ -137,41 +109,41 @@ function Dt(t, n) {
137
109
  if (t.marker.overflow) {
138
110
  const m = t.barY + t.barH / 2;
139
111
  if (t.marker.overflow === "start") {
140
- const g = t.barStart - 2;
141
- M = `<polyline points="${o(g + 5)},${o(m - 4)} ${o(
142
- g
143
- )},${o(m)} ${o(g + 5)},${o(
112
+ const x = t.barStart - 2;
113
+ M = `<polyline points="${o(x + 5)},${o(m - 4)} ${o(
114
+ x
115
+ )},${o(m)} ${o(x + 5)},${o(
144
116
  m + 4
145
117
  )}" fill="none" stroke="${r}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`;
146
118
  } else {
147
- const g = t.barEnd + 2;
148
- M = `<polyline points="${o(g - 5)},${o(m - 4)} ${o(
149
- g
150
- )},${o(m)} ${o(g - 5)},${o(
119
+ const x = t.barEnd + 2;
120
+ M = `<polyline points="${o(x - 5)},${o(m - 4)} ${o(
121
+ x
122
+ )},${o(m)} ${o(x - 5)},${o(
151
123
  m + 4
152
124
  )}" fill="none" stroke="${r}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`;
153
125
  }
154
126
  }
155
- const A = `<text x="${o(
127
+ const C = `<text x="${o(
156
128
  t.barStart
157
- )}" y="${o(t.valueLabelY)}" font-family="${c}" font-size="13" font-weight="700" fill="${r}">${C(
129
+ )}" y="${o(t.valueLabelY)}" font-family="${c}" font-size="13" font-weight="700" fill="${r}">${B(
158
130
  t.valueLabel
159
131
  )}</text>`, R = t.summaryLabel ? `<text x="${o(t.barEnd)}" y="${o(
160
132
  t.valueLabelY
161
- )}" text-anchor="end" font-family="${c}" font-size="10" fill="${s}">${C(
133
+ )}" text-anchor="end" font-family="${c}" font-size="10" fill="${s}">${B(
162
134
  t.summaryLabel
163
- )}</text>` : "", D = `<title>${C(t.ariaLabel)}</title>`;
164
- return `<g role="img" aria-label="${C(
135
+ )}</text>` : "", D = `<title>${B(t.ariaLabel)}</title>`;
136
+ return `<g role="img" aria-label="${B(
165
137
  t.ariaLabel
166
- )}">${D}${u}${f}${h}${y}${T}${M}${A}${R}</g>`;
138
+ )}">${D}${u}${f}${h}${y}${T}${M}${C}${R}</g>`;
167
139
  }
168
- const Ot = 260, V = 64;
169
- function Pt(t) {
140
+ const Dt = 260, V = 64;
141
+ function Ot(t) {
170
142
  return `var(${t})`;
171
143
  }
172
- const Ut = it(
173
- function({ model: n, width: i = Ot, height: a = V, className: r }, s) {
174
- const e = ct(n, { width: i, height: a }), c = e.barY + e.barH, u = c + 4, d = e.barY - 3, f = e.barY + e.barH + 3, p = e.barY - 4, v = e.bands.length, h = e.barY + e.barH / 2;
144
+ const Pt = it(
145
+ function({ model: n, width: i = Dt, height: a = V, className: r }, s) {
146
+ const e = lt(n, { width: i, height: a }), c = e.barY + e.barH, u = c + 4, d = e.barY - 3, f = e.barY + e.barH + 3, p = e.barY - 4, v = e.bands.length, h = e.barY + e.barH / 2;
175
147
  return /* @__PURE__ */ G(
176
148
  "svg",
177
149
  {
@@ -185,8 +157,8 @@ const Ut = it(
185
157
  viewBox: `0 0 ${i} ${a}`,
186
158
  className: ["ds:[font-family:var(--font-sans)]", r].filter(Boolean).join(" "),
187
159
  children: [
188
- /* @__PURE__ */ x("title", { children: e.ariaLabel }),
189
- /* @__PURE__ */ x(
160
+ /* @__PURE__ */ g("title", { children: e.ariaLabel }),
161
+ /* @__PURE__ */ g(
190
162
  "rect",
191
163
  {
192
164
  x: o(e.barStart),
@@ -197,10 +169,10 @@ const Ut = it(
197
169
  className: "ds:fill-[color:var(--muted)]"
198
170
  }
199
171
  ),
200
- e.bands.map(($, l) => /* @__PURE__ */ x(
172
+ e.bands.map(($, l) => /* @__PURE__ */ g(
201
173
  "path",
202
174
  {
203
- d: ut(
175
+ d: ct(
204
176
  $.x,
205
177
  e.barY,
206
178
  $.w,
@@ -208,12 +180,12 @@ const Ut = it(
208
180
  l === 0 ? e.barRadius : 0,
209
181
  l === v - 1 ? e.barRadius : 0
210
182
  ),
211
- fill: Pt($.colorToken)
183
+ fill: Ot($.colorToken)
212
184
  },
213
185
  `${$.colorToken}-${l}`
214
186
  )),
215
187
  e.ticks.map(($) => /* @__PURE__ */ G("g", { children: [
216
- /* @__PURE__ */ x(
188
+ /* @__PURE__ */ g(
217
189
  "line",
218
190
  {
219
191
  x1: o($.x),
@@ -224,7 +196,7 @@ const Ut = it(
224
196
  className: "ds:stroke-[color:var(--border)]"
225
197
  }
226
198
  ),
227
- /* @__PURE__ */ x(
199
+ /* @__PURE__ */ g(
228
200
  "text",
229
201
  {
230
202
  x: o($.x),
@@ -236,7 +208,7 @@ const Ut = it(
236
208
  }
237
209
  )
238
210
  ] }, $.value)),
239
- /* @__PURE__ */ x(
211
+ /* @__PURE__ */ g(
240
212
  "line",
241
213
  {
242
214
  x1: o(e.marker.x),
@@ -248,7 +220,7 @@ const Ut = it(
248
220
  className: "ds:stroke-[color:var(--foreground)]"
249
221
  }
250
222
  ),
251
- /* @__PURE__ */ x(
223
+ /* @__PURE__ */ g(
252
224
  "polygon",
253
225
  {
254
226
  points: `${o(e.marker.x)},${o(e.barY + 1)} ${o(
@@ -257,7 +229,7 @@ const Ut = it(
257
229
  className: "ds:fill-[color:var(--foreground)]"
258
230
  }
259
231
  ),
260
- e.marker.overflow === "start" ? /* @__PURE__ */ x(
232
+ e.marker.overflow === "start" ? /* @__PURE__ */ g(
261
233
  "polyline",
262
234
  {
263
235
  points: `${o(e.barStart + 3)},${o(h - 4)} ${o(
@@ -270,7 +242,7 @@ const Ut = it(
270
242
  className: "ds:stroke-[color:var(--foreground)]"
271
243
  }
272
244
  ) : null,
273
- e.marker.overflow === "end" ? /* @__PURE__ */ x(
245
+ e.marker.overflow === "end" ? /* @__PURE__ */ g(
274
246
  "polyline",
275
247
  {
276
248
  points: `${o(e.barEnd - 3)},${o(h - 4)} ${o(
@@ -283,7 +255,7 @@ const Ut = it(
283
255
  className: "ds:stroke-[color:var(--foreground)]"
284
256
  }
285
257
  ) : null,
286
- /* @__PURE__ */ x(
258
+ /* @__PURE__ */ g(
287
259
  "text",
288
260
  {
289
261
  x: o(e.barStart),
@@ -294,7 +266,7 @@ const Ut = it(
294
266
  children: e.valueLabel
295
267
  }
296
268
  ),
297
- e.summaryLabel ? /* @__PURE__ */ x(
269
+ e.summaryLabel ? /* @__PURE__ */ g(
298
270
  "text",
299
271
  {
300
272
  x: o(e.barEnd),
@@ -310,8 +282,8 @@ const Ut = it(
310
282
  );
311
283
  }
312
284
  );
313
- Ut.displayName = "BandedGauge";
314
- const zt = 24, dt = 18, Y = 12, ft = {
285
+ Pt.displayName = "BandedGauge";
286
+ const Ut = 24, ut = 18, Y = 12, dt = {
315
287
  activity: '<path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"/>',
316
288
  scale: '<path d="M12 3v18"/><path d="m19 8 3 8a5 5 0 0 1-6 0zV7"/><path d="M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1"/><path d="m5 8 3 8a5 5 0 0 1-6 0zV7"/><path d="M7 21h10"/>',
317
289
  ruler: '<path d="M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z"/><path d="m14.5 12.5 2-2"/><path d="m11.5 9.5 2-2"/><path d="m8.5 6.5 2-2"/><path d="m17.5 15.5 2-2"/>',
@@ -325,22 +297,22 @@ const zt = 24, dt = 18, Y = 12, ft = {
325
297
  "trending-up": '<path d="M16 7h6v6"/><path d="m22 7-8.5 8.5-5-5L2 17"/>',
326
298
  percent: '<line x1="19" x2="5" y1="5" y2="19"/><circle cx="6.5" cy="6.5" r="2.5"/><circle cx="17.5" cy="17.5" r="2.5"/>'
327
299
  };
328
- function $t(t) {
329
- return Object.prototype.hasOwnProperty.call(ft, t);
300
+ function ft(t) {
301
+ return Object.prototype.hasOwnProperty.call(dt, t);
330
302
  }
331
303
  function tt(t, n, i, a, r) {
332
- if (!$t(t)) return "";
333
- const s = r / zt;
334
- return `<g transform="translate(${i} ${a}) scale(${s})" fill="none" color="${n}" stroke="${n}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${ft[t]}</g>`;
304
+ if (!ft(t)) return "";
305
+ const s = r / Ut;
306
+ return `<g transform="translate(${i} ${a}) scale(${s})" fill="none" color="${n}" stroke="${n}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${dt[t]}</g>`;
335
307
  }
336
- function E(t) {
308
+ function A(t) {
337
309
  return t.variant === "banded";
338
310
  }
339
- const Ft = ["fg", "muted", "accent", "border", "bg"], j = "--primary", q = 380, ht = (t) => t.trim().replace(/^--/, "");
340
- function Wt(t) {
311
+ const Ft = ["fg", "muted", "accent", "border", "bg"], j = "--primary", K = 380, $t = (t) => t.trim().replace(/^--/, "");
312
+ function zt(t) {
341
313
  return `ds:text-[color:var(${t})]`;
342
314
  }
343
- function pt(t) {
315
+ function ht(t) {
344
316
  return t.highlightToken ?? j;
345
317
  }
346
318
  function O(t) {
@@ -349,15 +321,15 @@ function O(t) {
349
321
  const a = t.highlightToken ?? j;
350
322
  n.add(a), n.add(`${a}-foreground`);
351
323
  }
352
- const i = pt(t);
324
+ const i = ht(t);
353
325
  if (n.add(i), t.gauge)
354
- if (E(t.gauge))
326
+ if (A(t.gauge))
355
327
  for (const a of t.gauge.bands) n.add(a.colorToken);
356
328
  else
357
329
  n.add(t.gauge.colorToken);
358
330
  return [...n];
359
331
  }
360
- function z(t, n = []) {
332
+ function F(t, n = []) {
361
333
  const i = {
362
334
  fg: "currentColor",
363
335
  muted: "currentColor",
@@ -374,7 +346,7 @@ function z(t, n = []) {
374
346
  }, r = {};
375
347
  for (const s of n) {
376
348
  const e = t.querySelector(
377
- `[data-token="${ht(s)}"]`
349
+ `[data-token="${$t(s)}"]`
378
350
  );
379
351
  if (e) {
380
352
  const c = getComputedStyle(e).color;
@@ -396,19 +368,19 @@ function H(t, n, i) {
396
368
  return n ? ((a = t.tokens) == null ? void 0 : a[n]) ?? i : i;
397
369
  }
398
370
  const k = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
399
- function bt(t) {
371
+ function pt(t) {
400
372
  const n = [t.title];
401
373
  t.highlight && n.push(t.highlight);
402
374
  for (const i of t.fields) n.push(`• ${i.label}: ${i.value}`);
403
375
  return n.join(`
404
376
  `);
405
377
  }
406
- function mt(t) {
378
+ function bt(t) {
407
379
  const n = t.fields.map((a) => `<li>${k(a.label)}: ${k(a.value)}</li>`).join(""), i = t.highlight ? `<p><strong>${k(t.highlight)}</strong></p>` : "";
408
380
  return `<p><strong>${k(t.title)}</strong></p>${i}<ul>${n}</ul>`;
409
381
  }
410
- const w = 20, B = w + 18, N = 22, Xt = 10, F = 22, nt = 16, et = 12, Vt = 12, xt = 34, W = 9, X = (xt + W) * 2, jt = 16, at = dt, qt = 6;
411
- function K(t, n) {
382
+ const w = 20, E = w + 18, N = 22, Wt = 10, z = 22, nt = 16, et = 12, Xt = 12, mt = 34, W = 9, X = (mt + W) * 2, Vt = 16, at = ut, jt = 6;
383
+ function q(t, n) {
412
384
  const i = n !== void 0 ? n : t.brand;
413
385
  return typeof i == "string" ? i : !1;
414
386
  }
@@ -419,7 +391,7 @@ function Kt(t) {
419
391
  return Number.isFinite(n) && typeof t.max == "number" && t.max > 0 ? Math.min(1, Math.max(0, n / t.max)) : 1;
420
392
  }
421
393
  function gt(t, n) {
422
- const i = !!t.highlight, a = B + Xt, r = (i ? a + N + nt : B + nt) + F - 6, s = r + Math.max(0, t.fields.length - 1) * F, e = t.gauge && E(t.gauge), d = t.gauge && !E(t.gauge) ? (i ? a : B) + X : 0, f = e ? s + jt : null, p = f !== null ? f + V : 0, v = Math.max(s, d, p), h = n ? v + et + Vt - 4 : v, $ = Math.round(h + (n ? et : w));
394
+ const i = !!t.highlight, a = E + Wt, r = (i ? a + N + nt : E + nt) + z - 6, s = r + Math.max(0, t.fields.length - 1) * z, e = t.gauge && A(t.gauge), d = t.gauge && !A(t.gauge) ? (i ? a : E) + X : 0, f = e ? s + Vt : null, p = f !== null ? f + V : 0, v = Math.max(s, d, p), h = n ? v + et + Xt - 4 : v, $ = Math.round(h + (n ? et : w));
423
395
  return {
424
396
  hasChip: i,
425
397
  chipY: a,
@@ -430,11 +402,11 @@ function gt(t, n) {
430
402
  height: $
431
403
  };
432
404
  }
433
- function vt(t, n) {
405
+ function xt(t, n) {
434
406
  return gt(t, n !== !1).height;
435
407
  }
436
- function Zt(t, n, i, a, r) {
437
- const s = xt, e = 2 * Math.PI * s, c = Kt(t), u = H(n, t.colorToken, n.accent), d = typeof t.segments == "number" && t.segments > 1 ? t.segments : 0, f = d ? 3 : 0, p = d ? e / d - f : e, v = d ? `${p} ${f}` : "", h = `${e * c} ${e}`, $ = `transform="rotate(-90 ${a} ${r})"`, l = k(
408
+ function qt(t, n, i, a, r) {
409
+ const s = mt, e = 2 * Math.PI * s, c = Kt(t), u = H(n, t.colorToken, n.accent), d = typeof t.segments == "number" && t.segments > 1 ? t.segments : 0, f = d ? 3 : 0, p = d ? e / d - f : e, v = d ? `${p} ${f}` : "", h = `${e * c} ${e}`, $ = `transform="rotate(-90 ${a} ${r})"`, l = k(
438
410
  t.label ? `${t.value} — ${t.label}` : t.value
439
411
  ), L = `<circle cx="${a}" cy="${r}" r="${s}" fill="none" stroke="${n.border}" stroke-width="${W}"${v ? ` stroke-dasharray="${v}"` : ""} ${$}/>`, y = `<circle cx="${a}" cy="${r}" r="${s}" fill="none" stroke="${u}" stroke-width="${W}" stroke-linecap="round" stroke-dasharray="${h}" ${$}/>`, b = `<text x="${a}" y="${r + 1}" text-anchor="middle" dominant-baseline="middle" font-family="${i}" font-size="16" font-weight="700" fill="${n.fg}">${k(
440
412
  t.value
@@ -443,8 +415,8 @@ function Zt(t, n, i, a, r) {
443
415
  )}</text>` : "";
444
416
  return `<g role="img" aria-label="${l}"><title>${l}</title>${L}${y}${b}${T}</g>`;
445
417
  }
446
- function Jt(t, n, i, a) {
447
- const r = w - P, s = i - 2 * r, e = ct(
418
+ function Zt(t, n, i, a) {
419
+ const r = w - P, s = i - 2 * r, e = lt(
448
420
  {
449
421
  value: t.value,
450
422
  bands: t.bands,
@@ -457,7 +429,7 @@ function Jt(t, n, i, a) {
457
429
  ticks: t.ticks
458
430
  },
459
431
  { width: s, height: V }
460
- ), c = Dt(e, {
432
+ ), c = Rt(e, {
461
433
  resolve: (u) => H(n, u, n.accent),
462
434
  // Raw theme font — buildBandedGaugeSvgString escapes it once. Passing the
463
435
  // card's already-escaped `font` here would double-escape and break it.
@@ -479,67 +451,67 @@ function rt([t, n, i]) {
479
451
  };
480
452
  return 0.2126 * a(t) + 0.7152 * a(n) + 0.0722 * a(i);
481
453
  }
482
- function Qt(t, n) {
454
+ function Jt(t, n) {
483
455
  const i = ot(t), a = ot(n);
484
456
  if (!i || !a) return 0;
485
457
  const r = rt(i), s = rt(a);
486
458
  return (Math.max(r, s) + 0.05) / (Math.min(r, s) + 0.05);
487
459
  }
488
- function tn(t, n, i, a) {
489
- const r = t.highlight, s = t.highlightToken ?? j, e = H(n, s, n.accent), c = Qt(n.bg, e) >= 3 ? n.bg : n.fg, u = Math.round(r.length * 7.2 + 28), d = w + u / 2, f = a + N / 2 + 1;
460
+ function Qt(t, n, i, a) {
461
+ const r = t.highlight, s = t.highlightToken ?? j, e = H(n, s, n.accent), c = Jt(n.bg, e) >= 3 ? n.bg : n.fg, u = Math.round(r.length * 7.2 + 28), d = w + u / 2, f = a + N / 2 + 1;
490
462
  return `<rect x="${w}" y="${a}" width="${u}" height="${N}" rx="${N / 2}" fill="${e}"/><text x="${d}" y="${f}" text-anchor="middle" dominant-baseline="middle" font-family="${i}" font-size="12" font-weight="600" fill="${c}">${k(
491
463
  r
492
464
  )}</text>`;
493
465
  }
494
466
  function Z(t, n, i = !1) {
495
- const a = q, r = gt(t, i !== !1), s = r.height, e = k(n.font), c = pt(t), u = H(n, c, n.accent), d = t.icon ? tt(
467
+ const a = K, r = gt(t, i !== !1), s = r.height, e = k(n.font), c = ht(t), u = H(n, c, n.accent), d = t.icon ? tt(
496
468
  t.icon,
497
469
  u,
498
470
  a - w - at,
499
- B - at + 2,
500
- dt
501
- ) : "", f = w + Y + qt, p = t.fields.map((b, T) => {
502
- const M = r.firstFieldY + T * F, A = T === 0, R = A ? 14 : 13, D = A ? 700 : 500, m = A ? u : n.fg, g = M - 4;
471
+ E - at + 2,
472
+ ut
473
+ ) : "", f = w + Y + jt, p = t.fields.map((b, T) => {
474
+ const M = r.firstFieldY + T * z, C = T === 0, R = C ? 14 : 13, D = C ? 700 : 500, m = C ? u : n.fg, x = M - 4;
503
475
  let I;
504
- if (b.icon && $t(b.icon)) {
476
+ if (b.icon && ft(b.icon)) {
505
477
  const _ = u;
506
478
  I = tt(
507
479
  b.icon,
508
480
  _,
509
481
  w,
510
- g - Y / 2,
482
+ x - Y / 2,
511
483
  Y
512
484
  );
513
485
  } else
514
- I = `<circle cx="${w + Y / 2}" cy="${g}" r="2" fill="${n.muted}"/>`;
486
+ I = `<circle cx="${w + Y / 2}" cy="${x}" r="2" fill="${n.muted}"/>`;
515
487
  return `${I}<text x="${f}" y="${M}" font-family="${e}" font-size="13"><tspan fill="${n.muted}">${k(
516
488
  b.label
517
489
  )}: </tspan><tspan font-size="${R}" font-weight="${D}" fill="${m}">${k(
518
490
  b.value
519
491
  )}</tspan></text>`;
520
- }).join(""), v = r.hasChip ? tn(t, n, e, r.chipY) : "";
492
+ }).join(""), v = r.hasChip ? Qt(t, n, e, r.chipY) : "";
521
493
  let h = "";
522
- t.gauge && (E(t.gauge) && r.bandedGaugeY !== null ? h = Jt(t.gauge, n, a, r.bandedGaugeY) : E(t.gauge) || (h = Zt(
494
+ t.gauge && (A(t.gauge) && r.bandedGaugeY !== null ? h = Zt(t.gauge, n, a, r.bandedGaugeY) : A(t.gauge) || (h = qt(
523
495
  t.gauge,
524
496
  n,
525
497
  e,
526
498
  a - w - X / 2,
527
- (r.hasChip ? r.chipY : B) + X / 2
499
+ (r.hasChip ? r.chipY : E) + X / 2
528
500
  )));
529
501
  const $ = i !== !1 ? `<text x="${w}" y="${r.footerY}" font-family="${e}" font-size="10" font-weight="500" fill="${n.muted}">${k(
530
502
  i
531
- )}</text>` : "", l = `<text x="${w}" y="${B}" font-family="${e}" font-size="16" font-weight="700" fill="${n.fg}">${k(
503
+ )}</text>` : "", l = `<text x="${w}" y="${E}" font-family="${e}" font-size="16" font-weight="700" fill="${n.fg}">${k(
532
504
  t.title
533
505
  )}</text>`, L = `<rect x="0.5" y="0.5" width="${a - 1}" height="${s - 1}" rx="12" fill="${n.bg}"/>`, y = `<rect x="0.5" y="0.5" width="${a - 1}" height="${s - 1}" rx="12" fill="none" stroke="${n.border}"/>`;
534
506
  return `<svg xmlns="http://www.w3.org/2000/svg" width="${a}" height="${s}" viewBox="0 0 ${a} ${s}" role="img" aria-label="${k(
535
507
  t.title
536
508
  )}">${L}${l}${d}${v}${h}${p}${$}${y}</svg>`;
537
509
  }
538
- function nn() {
510
+ function tn() {
539
511
  var t;
540
512
  return typeof navigator < "u" && typeof ((t = navigator.clipboard) == null ? void 0 : t.write) == "function" && typeof ClipboardItem < "u";
541
513
  }
542
- function kt(t, n, i) {
514
+ function vt(t, n, i) {
543
515
  return new Promise((a, r) => {
544
516
  const s = new Image();
545
517
  s.decoding = "async", s.onload = () => {
@@ -556,46 +528,46 @@ function kt(t, n, i) {
556
528
  }, s.onerror = () => r(new Error("SVG failed to decode as an image")), s.src = t;
557
529
  });
558
530
  }
559
- function yt() {
531
+ function kt() {
560
532
  const t = typeof window < "u" && typeof window.devicePixelRatio == "number" ? window.devicePixelRatio : 1;
561
533
  return Math.max(2, t);
562
534
  }
563
535
  async function mn(t, n = {}) {
564
- return (await wt(t, n)).dataUri;
536
+ return (await yt(t, n)).dataUri;
565
537
  }
566
- async function wt(t, n = {}) {
567
- const { colours: i, scale: a = yt() } = n, r = i ?? z(null), s = K(t, n.brand), e = Z(t, r, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = q, d = vt(t, s), f = await kt(
538
+ async function yt(t, n = {}) {
539
+ const { colours: i, scale: a = kt() } = n, r = i ?? F(null), s = q(t, n.brand), e = Z(t, r, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = K, d = xt(t, s), f = await vt(
568
540
  c,
569
541
  Math.round(u * a),
570
542
  Math.round(d * a)
571
543
  );
572
- return { dataUri: await en(f), width: u, height: d };
544
+ return { dataUri: await nn(f), width: u, height: d };
573
545
  }
574
- function en(t) {
546
+ function nn(t) {
575
547
  return new Promise((n, i) => {
576
548
  const a = new FileReader();
577
549
  a.onload = () => n(String(a.result)), a.onerror = () => i(a.error ?? new Error("FileReader error")), a.readAsDataURL(t);
578
550
  });
579
551
  }
580
- async function an(t, n, i) {
581
- const a = bt(n), r = new Blob([a], { type: "text/plain" });
552
+ async function en(t, n, i) {
553
+ const a = pt(n), r = new Blob([a], { type: "text/plain" });
582
554
  if (t === "text")
583
555
  return new ClipboardItem({ "text/plain": r });
584
- const s = K(n, void 0), e = Z(n, i, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = yt(), d = await kt(
556
+ const s = q(n, void 0), e = Z(n, i, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = kt(), d = await vt(
585
557
  c,
586
- Math.round(q * u),
587
- Math.round(vt(n, s) * u)
558
+ Math.round(K * u),
559
+ Math.round(xt(n, s) * u)
588
560
  );
589
561
  if (t === "image")
590
562
  return new ClipboardItem({ "image/png": d, "text/plain": r });
591
- const f = new Blob([mt(n)], { type: "text/html" });
563
+ const f = new Blob([bt(n)], { type: "text/html" });
592
564
  return new ClipboardItem({
593
565
  "text/html": f,
594
566
  "image/png": d,
595
567
  "text/plain": r
596
568
  });
597
569
  }
598
- const on = It(
570
+ const an = Mt(
599
571
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
600
572
  {
601
573
  variants: {
@@ -606,10 +578,10 @@ const on = It(
606
578
  },
607
579
  defaultVariants: { variant: "insert" }
608
580
  }
609
- ), rn = ["text", "image", "text-image"], sn = {
610
- text: /* @__PURE__ */ x(St, { "aria-hidden": !0 }),
611
- image: /* @__PURE__ */ x(Ct, { "aria-hidden": !0 }),
612
- "text-image": /* @__PURE__ */ x(Et, { "aria-hidden": !0 })
581
+ ), on = ["text", "image", "text-image"], rn = {
582
+ text: /* @__PURE__ */ g(_t, { "aria-hidden": !0 }),
583
+ image: /* @__PURE__ */ g(Bt, { "aria-hidden": !0 }),
584
+ "text-image": /* @__PURE__ */ g(Ct, { "aria-hidden": !0 })
613
585
  }, st = {
614
586
  insert: {
615
587
  text: "insert.text",
@@ -621,7 +593,7 @@ const on = It(
621
593
  image: "insert.copyImage",
622
594
  "text-image": "insert.copyTextImage"
623
595
  }
624
- }, ln = it(
596
+ }, sn = it(
625
597
  function({
626
598
  card: n,
627
599
  variant: i = "insert",
@@ -631,23 +603,23 @@ const on = It(
631
603
  size: e = "sm",
632
604
  intent: c = "primary"
633
605
  }, u) {
634
- const { t: d } = Mt(), f = Tt(null), p = (l) => {
635
- const L = bt(n), y = mt(n);
606
+ const { t: d } = Tt(), f = Lt(null), p = (l) => {
607
+ const L = pt(n), y = bt(n);
636
608
  let b = "", T = "";
637
- const M = l === "text" ? null : z(f.current, O(n));
638
- return M && (b = Z(n, M, K(n, void 0)), T = `data:image/svg+xml,${encodeURIComponent(b)}`), { mode: l, text: L, html: y, svg: b, imageDataUri: T, pngDataUri: () => M ? wt(n, { colours: M }) : Promise.resolve({ dataUri: "", width: 0, height: 0 }) };
609
+ const M = l === "text" ? null : F(f.current, O(n));
610
+ return M && (b = Z(n, M, q(n, void 0)), T = `data:image/svg+xml,${encodeURIComponent(b)}`), { mode: l, text: L, html: y, svg: b, imageDataUri: T, pngDataUri: () => M ? yt(n, { colours: M }) : Promise.resolve({ dataUri: "", width: 0, height: 0 }) };
639
611
  }, $ = i === "copy" ? (l) => {
640
- if (!nn()) {
612
+ if (!tn()) {
641
613
  s == null || s(new Error("Clipboard write unavailable in this context"));
642
614
  return;
643
615
  }
644
- const L = z(
616
+ const L = F(
645
617
  f.current,
646
618
  O(n)
647
619
  );
648
620
  (async () => {
649
621
  try {
650
- const y = await an(l, n, L);
622
+ const y = await en(l, n, L);
651
623
  await navigator.clipboard.write([y]), r == null || r(l);
652
624
  } catch (y) {
653
625
  s == null || s(y);
@@ -662,10 +634,10 @@ const on = It(
662
634
  ref: u,
663
635
  "data-component": "insert-result",
664
636
  "data-variant": i,
665
- className: on({ variant: i }),
637
+ className: an({ variant: i }),
666
638
  children: [
667
639
  /* @__PURE__ */ G("span", { ref: f, "aria-hidden": !0, className: "ds:sr-only", children: [
668
- Ft.map((l) => /* @__PURE__ */ x(
640
+ Ft.map((l) => /* @__PURE__ */ g(
669
641
  "span",
670
642
  {
671
643
  "data-k": l,
@@ -673,22 +645,22 @@ const on = It(
673
645
  },
674
646
  l
675
647
  )),
676
- O(n).map((l) => /* @__PURE__ */ x(
648
+ O(n).map((l) => /* @__PURE__ */ g(
677
649
  "span",
678
650
  {
679
- "data-token": ht(l),
680
- className: Wt(l)
651
+ "data-token": $t(l),
652
+ className: zt(l)
681
653
  },
682
654
  l
683
655
  ))
684
656
  ] }),
685
- rn.map((l) => /* @__PURE__ */ x(
686
- At,
657
+ on.map((l) => /* @__PURE__ */ g(
658
+ It,
687
659
  {
688
660
  type: "button",
689
661
  intent: c,
690
662
  size: e,
691
- startIcon: sn[l],
663
+ startIcon: rn[l],
692
664
  "aria-label": d(st[i][l]),
693
665
  onClick: () => $(l),
694
666
  children: d(st[i][l])
@@ -700,12 +672,12 @@ const on = It(
700
672
  );
701
673
  }
702
674
  );
703
- ln.displayName = "InsertButton";
675
+ sn.displayName = "InsertButton";
704
676
  export {
705
- Ut as B,
706
- ln as I,
677
+ Pt as B,
678
+ sn as I,
707
679
  mn as a,
708
680
  bn as b,
709
- wt as s
681
+ yt as s
710
682
  };
711
- //# sourceMappingURL=insert-result-C5ABnzDl.js.map
683
+ //# sourceMappingURL=insert-result-DNdi_JYW.js.map