@mieweb/ui 0.10.0-dev.2 → 0.10.0-dev.21

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 (399) hide show
  1. package/agent/mieweb-ui.instructions.md +13 -1
  2. package/dist/CsvBlock-FX5YNGNE.cjs +17 -0
  3. package/dist/{CsvBlock-ROJCKJDP.cjs.map → CsvBlock-FX5YNGNE.cjs.map} +1 -1
  4. package/dist/CsvBlock-VLMG7GUO.js +8 -0
  5. package/dist/{CsvBlock-UWPMTLE2.js.map → CsvBlock-VLMG7GUO.js.map} +1 -1
  6. package/dist/HtmlPreviewBlock-5JE7L3GR.js +8 -0
  7. package/dist/{HtmlPreviewBlock-ME5U3XNS.js.map → HtmlPreviewBlock-5JE7L3GR.js.map} +1 -1
  8. package/dist/HtmlPreviewBlock-UO37JQ3K.cjs +17 -0
  9. package/dist/{HtmlPreviewBlock-DWFN6EUB.cjs.map → HtmlPreviewBlock-UO37JQ3K.cjs.map} +1 -1
  10. package/dist/Input-yN516s5_.d.cts +3 -0
  11. package/dist/Input-yN516s5_.d.ts +3 -0
  12. package/dist/MermaidBlock-3XHFBAMV.js +8 -0
  13. package/dist/{MermaidBlock-2B6CPD6Y.js.map → MermaidBlock-3XHFBAMV.js.map} +1 -1
  14. package/dist/MermaidBlock-RZ75RPZA.cjs +17 -0
  15. package/dist/{MermaidBlock-D2UC5M55.cjs.map → MermaidBlock-RZ75RPZA.cjs.map} +1 -1
  16. package/dist/SurveyBlock-MUVJ3JUI.js +8 -0
  17. package/dist/{SurveyBlock-4DO62RBT.js.map → SurveyBlock-MUVJ3JUI.js.map} +1 -1
  18. package/dist/SurveyBlock-VH47YXZC.cjs +17 -0
  19. package/dist/{SurveyBlock-4CD4AYMJ.cjs.map → SurveyBlock-VH47YXZC.cjs.map} +1 -1
  20. package/dist/ag-grid.d.cts +142 -1
  21. package/dist/ag-grid.d.ts +142 -1
  22. package/dist/{chunk-ACCAXVOG.js → chunk-2ABWFQQH.js} +133 -55
  23. package/dist/chunk-2ABWFQQH.js.map +1 -0
  24. package/dist/{chunk-Y5HFM7LO.js → chunk-2BARVD4C.js} +3 -3
  25. package/dist/{chunk-Y5HFM7LO.js.map → chunk-2BARVD4C.js.map} +1 -1
  26. package/dist/{chunk-G3JX3UAU.cjs → chunk-3KPDQG5O.cjs} +5 -5
  27. package/dist/{chunk-G3JX3UAU.cjs.map → chunk-3KPDQG5O.cjs.map} +1 -1
  28. package/dist/chunk-3YBS4WUQ.js +52 -0
  29. package/dist/chunk-3YBS4WUQ.js.map +1 -0
  30. package/dist/chunk-4HC2IBOX.js +258 -0
  31. package/dist/chunk-4HC2IBOX.js.map +1 -0
  32. package/dist/chunk-4IS3QCOQ.cjs +453 -0
  33. package/dist/chunk-4IS3QCOQ.cjs.map +1 -0
  34. package/dist/chunk-4NCDU5IG.cjs +56 -0
  35. package/dist/chunk-4NCDU5IG.cjs.map +1 -0
  36. package/dist/{chunk-E4IBHYJ7.cjs → chunk-6N6LIAUJ.cjs} +9 -9
  37. package/dist/{chunk-E4IBHYJ7.cjs.map → chunk-6N6LIAUJ.cjs.map} +1 -1
  38. package/dist/chunk-74ENCTIK.js +162 -0
  39. package/dist/chunk-74ENCTIK.js.map +1 -0
  40. package/dist/{chunk-GOALNQZ2.js → chunk-7YO7DNUV.js} +4 -83
  41. package/dist/chunk-7YO7DNUV.js.map +1 -0
  42. package/dist/{chunk-VILW53UZ.js → chunk-BIQ7GSO2.js} +3 -3
  43. package/dist/{chunk-VILW53UZ.js.map → chunk-BIQ7GSO2.js.map} +1 -1
  44. package/dist/chunk-BM35CACB.js +148 -0
  45. package/dist/chunk-BM35CACB.js.map +1 -0
  46. package/dist/{chunk-XI34EGK5.cjs → chunk-CPPUT74P.cjs} +9 -9
  47. package/dist/{chunk-XI34EGK5.cjs.map → chunk-CPPUT74P.cjs.map} +1 -1
  48. package/dist/{chunk-WNM7IZJ7.js → chunk-DSB4DKWG.js} +7 -7
  49. package/dist/{chunk-WNM7IZJ7.js.map → chunk-DSB4DKWG.js.map} +1 -1
  50. package/dist/chunk-DXEPYK3I.cjs +92 -0
  51. package/dist/chunk-DXEPYK3I.cjs.map +1 -0
  52. package/dist/{chunk-JI244Y7C.js → chunk-EK3BCET6.js} +57 -4
  53. package/dist/chunk-EK3BCET6.js.map +1 -0
  54. package/dist/{chunk-5JJ2DAE4.js → chunk-ENMXHZNE.js} +3 -3
  55. package/dist/{chunk-5JJ2DAE4.js.map → chunk-ENMXHZNE.js.map} +1 -1
  56. package/dist/{chunk-XCP454Q6.js → chunk-F4N67NAF.js} +12 -3
  57. package/dist/chunk-F4N67NAF.js.map +1 -0
  58. package/dist/{chunk-VKELAMAZ.js → chunk-FBLVPM2K.js} +3 -3
  59. package/dist/{chunk-VKELAMAZ.js.map → chunk-FBLVPM2K.js.map} +1 -1
  60. package/dist/{chunk-VU6UTJRM.js → chunk-FIKO4WR6.js} +3 -3
  61. package/dist/{chunk-VU6UTJRM.js.map → chunk-FIKO4WR6.js.map} +1 -1
  62. package/dist/{chunk-DEDN5HAG.js → chunk-FZURBQJ2.js} +3 -3
  63. package/dist/{chunk-DEDN5HAG.js.map → chunk-FZURBQJ2.js.map} +1 -1
  64. package/dist/{chunk-ENKFJJZX.js → chunk-G45FBKKV.js} +5 -5
  65. package/dist/{chunk-ENKFJJZX.js.map → chunk-G45FBKKV.js.map} +1 -1
  66. package/dist/{chunk-JHULS3EC.js → chunk-GBUVIGD5.js} +89 -3
  67. package/dist/chunk-GBUVIGD5.js.map +1 -0
  68. package/dist/chunk-GU5OS7JJ.cjs +281 -0
  69. package/dist/chunk-GU5OS7JJ.cjs.map +1 -0
  70. package/dist/{chunk-V7D3YGUV.js → chunk-GVLNXPJX.js} +4 -4
  71. package/dist/{chunk-V7D3YGUV.js.map → chunk-GVLNXPJX.js.map} +1 -1
  72. package/dist/chunk-GVM6DTR5.js +90 -0
  73. package/dist/chunk-GVM6DTR5.js.map +1 -0
  74. package/dist/{chunk-3QEVGSFG.cjs → chunk-GYXUS65N.cjs} +5 -5
  75. package/dist/{chunk-3QEVGSFG.cjs.map → chunk-GYXUS65N.cjs.map} +1 -1
  76. package/dist/{chunk-WGPLUCBD.js → chunk-H2IAMSHK.js} +3 -3
  77. package/dist/{chunk-WGPLUCBD.js.map → chunk-H2IAMSHK.js.map} +1 -1
  78. package/dist/{chunk-7ZXAQTV4.cjs → chunk-HIZWOAWY.cjs} +8 -8
  79. package/dist/{chunk-7ZXAQTV4.cjs.map → chunk-HIZWOAWY.cjs.map} +1 -1
  80. package/dist/{chunk-ELPW32ZI.cjs → chunk-HQ4CGVWX.cjs} +41 -41
  81. package/dist/{chunk-ELPW32ZI.cjs.map → chunk-HQ4CGVWX.cjs.map} +1 -1
  82. package/dist/{chunk-6EN3IQQI.cjs → chunk-I4LXSHKO.cjs} +4 -4
  83. package/dist/{chunk-6EN3IQQI.cjs.map → chunk-I4LXSHKO.cjs.map} +1 -1
  84. package/dist/{chunk-NV2CWBI2.cjs → chunk-IEY3ZJIT.cjs} +12 -3
  85. package/dist/chunk-IEY3ZJIT.cjs.map +1 -0
  86. package/dist/{chunk-2YCERQWC.js → chunk-IH55BEB3.js} +4 -4
  87. package/dist/{chunk-2YCERQWC.js.map → chunk-IH55BEB3.js.map} +1 -1
  88. package/dist/chunk-IT775BYG.js +179 -0
  89. package/dist/chunk-IT775BYG.js.map +1 -0
  90. package/dist/chunk-IYWG72DM.js +166 -0
  91. package/dist/chunk-IYWG72DM.js.map +1 -0
  92. package/dist/{chunk-IX6KFB3K.cjs → chunk-JELTRRR5.cjs} +9 -9
  93. package/dist/{chunk-IX6KFB3K.cjs.map → chunk-JELTRRR5.cjs.map} +1 -1
  94. package/dist/{chunk-FXO5ARBB.cjs → chunk-KDW6BD4O.cjs} +4 -4
  95. package/dist/{chunk-FXO5ARBB.cjs.map → chunk-KDW6BD4O.cjs.map} +1 -1
  96. package/dist/chunk-KHSFJTEX.js +1924 -0
  97. package/dist/chunk-KHSFJTEX.js.map +1 -0
  98. package/dist/{chunk-UV2FVNWT.cjs → chunk-LFPJ3OUM.cjs} +5 -5
  99. package/dist/{chunk-UV2FVNWT.cjs.map → chunk-LFPJ3OUM.cjs.map} +1 -1
  100. package/dist/{chunk-WNAA6CLE.cjs → chunk-LHBWRMNC.cjs} +94 -2
  101. package/dist/chunk-LHBWRMNC.cjs.map +1 -0
  102. package/dist/{chunk-X4XPNTCZ.cjs → chunk-LJZKEMAH.cjs} +135 -57
  103. package/dist/chunk-LJZKEMAH.cjs.map +1 -0
  104. package/dist/{chunk-2QKBTPUC.cjs → chunk-MQPG3KVK.cjs} +8 -8
  105. package/dist/{chunk-2QKBTPUC.cjs.map → chunk-MQPG3KVK.cjs.map} +1 -1
  106. package/dist/{chunk-WIAQQNFU.cjs → chunk-MYHV2ND3.cjs} +37 -3
  107. package/dist/chunk-MYHV2ND3.cjs.map +1 -0
  108. package/dist/{chunk-OE5CKRUC.js → chunk-MZNCLXXU.js} +4 -4
  109. package/dist/{chunk-OE5CKRUC.js.map → chunk-MZNCLXXU.js.map} +1 -1
  110. package/dist/{chunk-XEAT7XJG.cjs → chunk-N2CJJHHB.cjs} +4 -4
  111. package/dist/{chunk-XEAT7XJG.cjs.map → chunk-N2CJJHHB.cjs.map} +1 -1
  112. package/dist/chunk-N7C4OEP7.cjs +356 -0
  113. package/dist/chunk-N7C4OEP7.cjs.map +1 -0
  114. package/dist/chunk-OGNADPM4.cjs +170 -0
  115. package/dist/chunk-OGNADPM4.cjs.map +1 -0
  116. package/dist/{chunk-5GUOOLPR.cjs → chunk-P5CMZZRZ.cjs} +5 -5
  117. package/dist/{chunk-5GUOOLPR.cjs.map → chunk-P5CMZZRZ.cjs.map} +1 -1
  118. package/dist/{chunk-U42F3HLE.cjs → chunk-QNDP6PE5.cjs} +57 -4
  119. package/dist/chunk-QNDP6PE5.cjs.map +1 -0
  120. package/dist/{chunk-H4ZXMQQW.js → chunk-QOVJ6Z6R.js} +3 -3
  121. package/dist/{chunk-H4ZXMQQW.js.map → chunk-QOVJ6Z6R.js.map} +1 -1
  122. package/dist/{chunk-GD7EBGC4.cjs → chunk-R2O72G6Z.cjs} +19 -19
  123. package/dist/{chunk-GD7EBGC4.cjs.map → chunk-R2O72G6Z.cjs.map} +1 -1
  124. package/dist/{chunk-TMMVIUUN.js → chunk-R6KPWIGO.js} +4 -4
  125. package/dist/{chunk-TMMVIUUN.js.map → chunk-R6KPWIGO.js.map} +1 -1
  126. package/dist/{chunk-VPWJCJCX.cjs → chunk-S45EERW3.cjs} +5 -5
  127. package/dist/{chunk-VPWJCJCX.cjs.map → chunk-S45EERW3.cjs.map} +1 -1
  128. package/dist/{chunk-WNZAYBVB.cjs → chunk-SQ2D7AON.cjs} +45 -45
  129. package/dist/{chunk-WNZAYBVB.cjs.map → chunk-SQ2D7AON.cjs.map} +1 -1
  130. package/dist/{chunk-P2CA3XGI.js → chunk-SYRLCTDV.js} +3 -3
  131. package/dist/{chunk-P2CA3XGI.js.map → chunk-SYRLCTDV.js.map} +1 -1
  132. package/dist/{chunk-7ZDPD5ZX.cjs → chunk-T4L7Q5FA.cjs} +7 -7
  133. package/dist/{chunk-7ZDPD5ZX.cjs.map → chunk-T4L7Q5FA.cjs.map} +1 -1
  134. package/dist/{chunk-ZGRCSNPK.js → chunk-TF7YWJHU.js} +3 -3
  135. package/dist/{chunk-ZGRCSNPK.js.map → chunk-TF7YWJHU.js.map} +1 -1
  136. package/dist/{chunk-2IZLKPUW.js → chunk-THLIL6PY.js} +3 -3
  137. package/dist/{chunk-2IZLKPUW.js.map → chunk-THLIL6PY.js.map} +1 -1
  138. package/dist/{chunk-N6IY47YA.cjs → chunk-TTSSUOEV.cjs} +8 -8
  139. package/dist/{chunk-N6IY47YA.cjs.map → chunk-TTSSUOEV.cjs.map} +1 -1
  140. package/dist/{chunk-5MCBWTIF.cjs → chunk-TYE5K5WV.cjs} +4 -4
  141. package/dist/{chunk-5MCBWTIF.cjs.map → chunk-TYE5K5WV.cjs.map} +1 -1
  142. package/dist/{chunk-22CYDCXA.js → chunk-TZJQB4P2.js} +37 -4
  143. package/dist/chunk-TZJQB4P2.js.map +1 -0
  144. package/dist/{chunk-VOKVG3ER.js → chunk-UBSH27C2.js} +4 -4
  145. package/dist/{chunk-VOKVG3ER.js.map → chunk-UBSH27C2.js.map} +1 -1
  146. package/dist/chunk-VINZZQBD.cjs +323 -0
  147. package/dist/chunk-VINZZQBD.cjs.map +1 -0
  148. package/dist/chunk-VPTASZ2O.cjs +171 -0
  149. package/dist/chunk-VPTASZ2O.cjs.map +1 -0
  150. package/dist/{chunk-SGFYA22I.cjs → chunk-VYPPQPSZ.cjs} +7 -7
  151. package/dist/{chunk-SGFYA22I.cjs.map → chunk-VYPPQPSZ.cjs.map} +1 -1
  152. package/dist/chunk-WCDJFMZO.cjs +1967 -0
  153. package/dist/chunk-WCDJFMZO.cjs.map +1 -0
  154. package/dist/{chunk-VNYW4C4J.cjs → chunk-X6A27RGO.cjs} +4 -84
  155. package/dist/chunk-X6A27RGO.cjs.map +1 -0
  156. package/dist/chunk-XBTKZCZF.js +333 -0
  157. package/dist/chunk-XBTKZCZF.js.map +1 -0
  158. package/dist/chunk-XDIMTPZU.cjs +202 -0
  159. package/dist/chunk-XDIMTPZU.cjs.map +1 -0
  160. package/dist/chunk-XVW5DPPP.js +429 -0
  161. package/dist/chunk-XVW5DPPP.js.map +1 -0
  162. package/dist/chunk-Y4E2WRUR.cjs +188 -0
  163. package/dist/chunk-Y4E2WRUR.cjs.map +1 -0
  164. package/dist/chunk-Y4QNLW7W.js +300 -0
  165. package/dist/chunk-Y4QNLW7W.js.map +1 -0
  166. package/dist/{chunk-KZFBQ7GY.js → chunk-YU55JD35.js} +3 -3
  167. package/dist/{chunk-KZFBQ7GY.js.map → chunk-YU55JD35.js.map} +1 -1
  168. package/dist/{chunk-OD47TTAW.cjs → chunk-Z4JR23IB.cjs} +9 -9
  169. package/dist/{chunk-OD47TTAW.cjs.map → chunk-Z4JR23IB.cjs.map} +1 -1
  170. package/dist/{chunk-3M7TAXNR.js → chunk-ZTW4KODY.js} +3 -3
  171. package/dist/{chunk-3M7TAXNR.js.map → chunk-ZTW4KODY.js.map} +1 -1
  172. package/dist/{chunk-3QGS6CXD.js → chunk-ZYL4SNOR.js} +3 -3
  173. package/dist/{chunk-3QGS6CXD.js.map → chunk-ZYL4SNOR.js.map} +1 -1
  174. package/dist/components/Alert/index.d.cts +1 -1
  175. package/dist/components/Alert/index.d.ts +1 -1
  176. package/dist/components/AlertDialog/index.cjs +6 -5
  177. package/dist/components/AlertDialog/index.d.cts +28 -3
  178. package/dist/components/AlertDialog/index.d.ts +28 -3
  179. package/dist/components/AlertDialog/index.js +5 -4
  180. package/dist/components/AudioRecorder/index.d.cts +2 -2
  181. package/dist/components/AudioRecorder/index.d.ts +2 -2
  182. package/dist/components/Autocomplete/index.d.cts +8 -2
  183. package/dist/components/Autocomplete/index.d.ts +8 -2
  184. package/dist/components/Avatar/index.d.cts +1 -1
  185. package/dist/components/Avatar/index.d.ts +1 -1
  186. package/dist/components/Badge/index.d.cts +1 -1
  187. package/dist/components/Badge/index.d.ts +1 -1
  188. package/dist/components/BoardView/index.cjs +24 -0
  189. package/dist/components/BoardView/index.cjs.map +1 -0
  190. package/dist/components/BoardView/index.d.cts +129 -0
  191. package/dist/components/BoardView/index.d.ts +129 -0
  192. package/dist/components/BoardView/index.js +7 -0
  193. package/dist/components/BoardView/index.js.map +1 -0
  194. package/dist/components/Button/index.cjs +4 -3
  195. package/dist/components/Button/index.d.cts +2 -1
  196. package/dist/components/Button/index.d.ts +2 -1
  197. package/dist/components/Button/index.js +2 -1
  198. package/dist/components/CalendarView/index.cjs +23 -0
  199. package/dist/components/CalendarView/index.cjs.map +1 -0
  200. package/dist/components/CalendarView/index.d.cts +39 -0
  201. package/dist/components/CalendarView/index.d.ts +39 -0
  202. package/dist/components/CalendarView/index.js +10 -0
  203. package/dist/components/CalendarView/index.js.map +1 -0
  204. package/dist/components/Card/index.d.cts +3 -3
  205. package/dist/components/Card/index.d.ts +3 -3
  206. package/dist/components/Collapsible/index.cjs +5 -5
  207. package/dist/components/Collapsible/index.js +2 -2
  208. package/dist/components/CustomizableDashboard/index.cjs +10 -9
  209. package/dist/components/CustomizableDashboard/index.js +3 -2
  210. package/dist/components/Dropdown/index.cjs +9 -9
  211. package/dist/components/Dropdown/index.d.cts +2 -1
  212. package/dist/components/Dropdown/index.d.ts +2 -1
  213. package/dist/components/Dropdown/index.js +2 -2
  214. package/dist/components/FloatingWindow/index.cjs +5 -4
  215. package/dist/components/FloatingWindow/index.js +3 -2
  216. package/dist/components/GanttView/index.cjs +20 -0
  217. package/dist/components/GanttView/index.cjs.map +1 -0
  218. package/dist/components/GanttView/index.d.cts +36 -0
  219. package/dist/components/GanttView/index.d.ts +36 -0
  220. package/dist/components/GanttView/index.js +7 -0
  221. package/dist/components/GanttView/index.js.map +1 -0
  222. package/dist/components/KeyboardShortcutsOverlay/index.cjs +5 -5
  223. package/dist/components/KeyboardShortcutsOverlay/index.js +3 -3
  224. package/dist/components/ListView/index.cjs +23 -0
  225. package/dist/components/ListView/index.cjs.map +1 -0
  226. package/dist/components/ListView/index.d.cts +124 -0
  227. package/dist/components/ListView/index.d.ts +124 -0
  228. package/dist/components/ListView/index.js +10 -0
  229. package/dist/components/ListView/index.js.map +1 -0
  230. package/dist/components/Markdown/index.cjs +20 -19
  231. package/dist/components/Markdown/index.js +8 -7
  232. package/dist/components/MediaEditor/index.cjs +11 -10
  233. package/dist/components/MediaEditor/index.d.cts +91 -2
  234. package/dist/components/MediaEditor/index.d.ts +91 -2
  235. package/dist/components/MediaEditor/index.js +6 -5
  236. package/dist/components/MediaPlayer/index.cjs +6 -5
  237. package/dist/components/MediaPlayer/index.d.cts +1 -1
  238. package/dist/components/MediaPlayer/index.d.ts +1 -1
  239. package/dist/components/MediaPlayer/index.js +3 -2
  240. package/dist/components/MegaMenu/index.cjs +6 -5
  241. package/dist/components/MegaMenu/index.js +3 -2
  242. package/dist/components/Modal/index.cjs +10 -10
  243. package/dist/components/Modal/index.js +2 -2
  244. package/dist/components/Pagination/index.d.cts +1 -1
  245. package/dist/components/Pagination/index.d.ts +1 -1
  246. package/dist/components/PhoneInput/index.d.cts +36 -3
  247. package/dist/components/PhoneInput/index.d.ts +36 -3
  248. package/dist/components/Progress/index.d.cts +1 -1
  249. package/dist/components/Progress/index.d.ts +1 -1
  250. package/dist/components/Q/index.d.cts +2 -2
  251. package/dist/components/Q/index.d.ts +2 -2
  252. package/dist/components/QuickAction/index.d.cts +1 -1
  253. package/dist/components/QuickAction/index.d.ts +1 -1
  254. package/dist/components/RadialExplorer/index.cjs +4 -3
  255. package/dist/components/RadialExplorer/index.js +3 -2
  256. package/dist/components/RecordButton/index.d.cts +1 -1
  257. package/dist/components/RecordButton/index.d.ts +1 -1
  258. package/dist/components/RichTextEditor/index.cjs +8 -7
  259. package/dist/components/RichTextEditor/index.d.cts +7 -2
  260. package/dist/components/RichTextEditor/index.d.ts +7 -2
  261. package/dist/components/RichTextEditor/index.js +5 -4
  262. package/dist/components/ScrollArea/index.d.cts +1 -1
  263. package/dist/components/ScrollArea/index.d.ts +1 -1
  264. package/dist/components/SectionSpyNav/index.cjs +4 -3
  265. package/dist/components/SectionSpyNav/index.js +3 -2
  266. package/dist/components/Select/index.d.cts +1 -2
  267. package/dist/components/Select/index.d.ts +1 -2
  268. package/dist/components/Skeleton/index.d.cts +1 -1
  269. package/dist/components/Skeleton/index.d.ts +1 -1
  270. package/dist/components/Slider/index.d.cts +2 -2
  271. package/dist/components/Slider/index.d.ts +2 -2
  272. package/dist/components/Spinner/index.d.cts +2 -2
  273. package/dist/components/Spinner/index.d.ts +2 -2
  274. package/dist/components/SuperChat/index.cjs +478 -281
  275. package/dist/components/SuperChat/index.cjs.map +1 -1
  276. package/dist/components/SuperChat/index.d.cts +2 -4
  277. package/dist/components/SuperChat/index.d.ts +2 -4
  278. package/dist/components/SuperChat/index.js +468 -271
  279. package/dist/components/SuperChat/index.js.map +1 -1
  280. package/dist/components/SuperChat/plugins/index.cjs +5 -5
  281. package/dist/components/SuperChat/plugins/index.d.cts +2 -3
  282. package/dist/components/SuperChat/plugins/index.d.ts +2 -3
  283. package/dist/components/SuperChat/plugins/index.js +4 -4
  284. package/dist/components/Text/index.d.cts +3 -3
  285. package/dist/components/Text/index.d.ts +3 -3
  286. package/dist/components/Textarea/index.d.cts +1 -2
  287. package/dist/components/Textarea/index.d.ts +1 -2
  288. package/dist/components/ThemeProvider/index.d.cts +3 -1
  289. package/dist/components/ThemeProvider/index.d.ts +3 -1
  290. package/dist/components/TranscriptView/index.d.cts +85 -4
  291. package/dist/components/TranscriptView/index.d.ts +85 -4
  292. package/dist/components/ViewSet/index.cjs +24 -0
  293. package/dist/components/ViewSet/index.cjs.map +1 -0
  294. package/dist/components/ViewSet/index.d.cts +300 -0
  295. package/dist/components/ViewSet/index.d.ts +300 -0
  296. package/dist/components/ViewSet/index.js +15 -0
  297. package/dist/components/ViewSet/index.js.map +1 -0
  298. package/dist/components/ViewSwitcher/index.cjs +20 -0
  299. package/dist/components/ViewSwitcher/index.cjs.map +1 -0
  300. package/dist/components/ViewSwitcher/index.d.cts +57 -0
  301. package/dist/components/ViewSwitcher/index.d.ts +57 -0
  302. package/dist/components/ViewSwitcher/index.js +7 -0
  303. package/dist/components/ViewSwitcher/index.js.map +1 -0
  304. package/dist/datavis.cjs +3 -2
  305. package/dist/datavis.cjs.map +1 -1
  306. package/dist/datavis.d.cts +167 -13
  307. package/dist/datavis.d.ts +167 -13
  308. package/dist/datavis.js +2 -1
  309. package/dist/datavis.js.map +1 -1
  310. package/dist/esheet.cjs +9 -8
  311. package/dist/esheet.cjs.map +1 -1
  312. package/dist/esheet.d.cts +183 -1
  313. package/dist/esheet.d.ts +183 -1
  314. package/dist/esheet.js +6 -5
  315. package/dist/esheet.js.map +1 -1
  316. package/dist/hooks/index.cjs +49 -16
  317. package/dist/hooks/index.d.cts +590 -31
  318. package/dist/hooks/index.d.ts +590 -31
  319. package/dist/hooks/index.js +3 -2
  320. package/dist/index.cjs +1375 -1088
  321. package/dist/index.cjs.map +1 -1
  322. package/dist/index.d.cts +8596 -683
  323. package/dist/index.d.ts +8596 -683
  324. package/dist/index.js +433 -340
  325. package/dist/index.js.map +1 -1
  326. package/dist/kerebron.cjs +58 -19
  327. package/dist/kerebron.cjs.map +1 -1
  328. package/dist/kerebron.css +115 -0
  329. package/dist/kerebron.d.cts +37 -0
  330. package/dist/kerebron.d.ts +37 -0
  331. package/dist/kerebron.js +58 -19
  332. package/dist/kerebron.js.map +1 -1
  333. package/dist/motion.cjs +7 -7
  334. package/dist/motion.d.cts +186 -2
  335. package/dist/motion.d.ts +186 -2
  336. package/dist/motion.js +2 -2
  337. package/dist/q.d.cts +25 -3
  338. package/dist/q.d.ts +25 -3
  339. package/dist/{speaker-verify-5GTWAN5Y.cjs → speaker-verify-4NEJAK6C.cjs} +57 -90
  340. package/dist/speaker-verify-4NEJAK6C.cjs.map +1 -0
  341. package/dist/{speaker-verify-R67P433H.js → speaker-verify-AWSKI6DI.js} +57 -90
  342. package/dist/speaker-verify-AWSKI6DI.js.map +1 -0
  343. package/dist/styles/effects.css +33 -0
  344. package/dist/styles.css +1 -1
  345. package/dist/tailwind-preset.cjs +4 -4
  346. package/dist/tailwind-preset.js +1 -1
  347. package/dist/templates.cjs +103 -0
  348. package/dist/templates.cjs.map +1 -0
  349. package/dist/templates.d.cts +560 -0
  350. package/dist/templates.d.ts +560 -0
  351. package/dist/templates.js +10 -0
  352. package/dist/templates.js.map +1 -0
  353. package/dist/types-C3HQe74F.d.cts +86 -0
  354. package/dist/types-C3HQe74F.d.ts +86 -0
  355. package/dist/{types-B97JNRNQ.d.cts → types-DOxdTwmq.d.cts} +170 -2
  356. package/dist/{types-gZXrfLj6.d.ts → types-DOxdTwmq.d.ts} +170 -2
  357. package/dist/utils/index.d.cts +13 -2
  358. package/dist/utils/index.d.ts +13 -2
  359. package/package.json +29 -12
  360. package/dist/Animated-XmH6k8pZ.d.cts +0 -188
  361. package/dist/Animated-XmH6k8pZ.d.ts +0 -188
  362. package/dist/CsvBlock-ROJCKJDP.cjs +0 -16
  363. package/dist/CsvBlock-UWPMTLE2.js +0 -7
  364. package/dist/HtmlPreviewBlock-DWFN6EUB.cjs +0 -16
  365. package/dist/HtmlPreviewBlock-ME5U3XNS.js +0 -7
  366. package/dist/MedicationEditor-Bp4NLy7y.d.cts +0 -352
  367. package/dist/MedicationEditor-Bp4NLy7y.d.ts +0 -352
  368. package/dist/MermaidBlock-2B6CPD6Y.js +0 -7
  369. package/dist/MermaidBlock-D2UC5M55.cjs +0 -16
  370. package/dist/SurveyBlock-4CD4AYMJ.cjs +0 -16
  371. package/dist/SurveyBlock-4DO62RBT.js +0 -7
  372. package/dist/chunk-22CYDCXA.js.map +0 -1
  373. package/dist/chunk-ACCAXVOG.js.map +0 -1
  374. package/dist/chunk-GOALNQZ2.js.map +0 -1
  375. package/dist/chunk-JHULS3EC.js.map +0 -1
  376. package/dist/chunk-JI244Y7C.js.map +0 -1
  377. package/dist/chunk-NV2CWBI2.cjs.map +0 -1
  378. package/dist/chunk-U42F3HLE.cjs.map +0 -1
  379. package/dist/chunk-VNYW4C4J.cjs.map +0 -1
  380. package/dist/chunk-WIAQQNFU.cjs.map +0 -1
  381. package/dist/chunk-WNAA6CLE.cjs.map +0 -1
  382. package/dist/chunk-X4XPNTCZ.cjs.map +0 -1
  383. package/dist/chunk-XCP454Q6.js.map +0 -1
  384. package/dist/html-MdxqSzjD.d.cts +0 -13
  385. package/dist/html-MdxqSzjD.d.ts +0 -13
  386. package/dist/orderRows-BUJYgSc7.d.cts +0 -221
  387. package/dist/orderRows-BUJYgSc7.d.ts +0 -221
  388. package/dist/speaker-verify-5GTWAN5Y.cjs.map +0 -1
  389. package/dist/speaker-verify-R67P433H.js.map +0 -1
  390. package/dist/transcript-Cg7uSW-C.d.cts +0 -84
  391. package/dist/transcript-Cg7uSW-C.d.ts +0 -84
  392. package/dist/types-CnPEwzlp.d.cts +0 -254
  393. package/dist/types-CnPEwzlp.d.ts +0 -254
  394. package/dist/useAnchoredPosition-CKwLSQW8.d.cts +0 -76
  395. package/dist/useAnchoredPosition-CKwLSQW8.d.ts +0 -76
  396. package/dist/useTheme-B9SWu6ui.d.cts +0 -24
  397. package/dist/useTheme-B9SWu6ui.d.ts +0 -24
  398. package/dist/useTranscriptEdits-CGzlemHT.d.cts +0 -182
  399. package/dist/useTranscriptEdits-D32bLs0l.d.ts +0 -182
@@ -0,0 +1,86 @@
1
+ import * as React from 'react';
2
+
3
+ /**
4
+ * The contract every component in the `Modules/Views` family reads through.
5
+ *
6
+ * A page describes its collection once — which field is the id, the title, the
7
+ * status, the start date — and every view understands it. That is the whole
8
+ * reason the family exists: without it each view needs its own adapter and you
9
+ * end up re-implementing the same board per entity.
10
+ *
11
+ * Views are headless. Nothing here fetches, subscribes, or navigates.
12
+ * See CONTRIBUTING → "Modules: headless data components".
13
+ */
14
+
15
+ /**
16
+ * Which layout is on screen. `overview` and `table` are rendered by the host
17
+ * through `ViewSet` slots rather than by a component in this family — a tabular
18
+ * collection is `DataVisNitroGrid`, and an overview is domain content.
19
+ */
20
+ type ViewId = 'overview' | 'list' | 'board' | 'calendar' | 'gantt' | 'roadmap' | 'table';
21
+ /**
22
+ * A semantic colour name, resolved to `--mieweb-*` tokens by each view.
23
+ *
24
+ * Accessors return one of these rather than a class string so a caller cannot
25
+ * hardcode a palette that breaks under another brand or in dark mode.
26
+ */
27
+ type Accent = 'primary' | 'success' | 'warning' | 'destructive' | 'info' | 'neutral';
28
+ /**
29
+ * How a view reads one item. Only `getId` and `getTitle` are always required;
30
+ * each view documents which of the rest it needs (a board needs `getStatus`, a
31
+ * Gantt needs `getStart`) and renders an explanatory empty state without them.
32
+ */
33
+ interface ViewAccessors<T> {
34
+ getId: (item: T) => string;
35
+ getTitle: (item: T) => string;
36
+ /** Secondary line under the title. */
37
+ getSubtitle?: (item: T) => string | undefined;
38
+ /** Board column and list group; matched against `Stage['id']`. */
39
+ getStatus?: (item: T) => string;
40
+ /** Gantt bar start, calendar placement. */
41
+ getStart?: (item: T) => Date | string | null | undefined;
42
+ /** Gantt bar end, calendar span. Falls back to the start when absent. */
43
+ getEnd?: (item: T) => Date | string | null | undefined;
44
+ /** Swimlane in a roadmap, row group in a Gantt. */
45
+ getGroup?: (item: T) => string | undefined;
46
+ getAccent?: (item: T) => Accent;
47
+ }
48
+ /** Strings a view renders. Every one is overridable; the defaults are English. */
49
+ interface ViewLabels {
50
+ /** Accessible name of the view switcher group. */
51
+ viewSwitcher: string;
52
+ loading: string;
53
+ empty: string;
54
+ error: string;
55
+ /** Action on the error state. */
56
+ retry: string;
57
+ /** Heading for the group a record with no status or group falls into. */
58
+ ungrouped: string;
59
+ }
60
+ /**
61
+ * Props every view accepts. Views are controlled: selection, the active view and
62
+ * filter state live in the page, and every change is handed back.
63
+ */
64
+ interface ViewBaseProps<T> {
65
+ items: T[];
66
+ accessors: ViewAccessors<T>;
67
+ loading?: boolean;
68
+ error?: Error | null;
69
+ selectedId?: string | null;
70
+ /** Called when the user activates an item. */
71
+ onOpen?: (id: string, item: T) => void;
72
+ /** Return a URL to render each item as a real anchor — middle-clickable and crawlable. */
73
+ getHref?: (id: string, item: T) => string;
74
+ /** Render one item. Receives the active view so one function can serve several. */
75
+ renderItem?: (item: T, context: {
76
+ view: ViewId;
77
+ }) => React.ReactNode;
78
+ /** Replaces the built-in empty state. */
79
+ emptyState?: React.ReactNode;
80
+ labels?: Partial<ViewLabels>;
81
+ /** Pins "today" so stories, tests and visual snapshots stay deterministic. */
82
+ now?: Date;
83
+ className?: string;
84
+ }
85
+
86
+ export type { ViewLabels as V, ViewBaseProps as a };
@@ -1,5 +1,173 @@
1
1
  import * as React from 'react';
2
- import { A as AIMessageContent, a as AIMessageStatus } from './types-CnPEwzlp.cjs';
2
+
3
+ /**
4
+ * AI Component Types
5
+ *
6
+ * Type definitions for AI-related components including MCP (Model Context Protocol)
7
+ * interactions, tool calls, and chat messages.
8
+ */
9
+
10
+ /**
11
+ * Status of an MCP tool invocation
12
+ */
13
+ type MCPToolStatus = 'pending' | 'running' | 'success' | 'error' | 'cancelled';
14
+ /**
15
+ * MCP Tool parameter definition
16
+ */
17
+ interface MCPToolParameter {
18
+ name: string;
19
+ type: string;
20
+ value: unknown;
21
+ description?: string;
22
+ }
23
+ /**
24
+ * MCP Tool invocation
25
+ */
26
+ interface MCPToolCall {
27
+ /** Unique identifier for this tool call */
28
+ id: string;
29
+ /** Name of the tool being invoked */
30
+ toolName: string;
31
+ /** Human-readable description of what the tool does */
32
+ description?: string;
33
+ /** Parameters passed to the tool */
34
+ parameters: MCPToolParameter[];
35
+ /** Current status of the tool execution */
36
+ status: MCPToolStatus;
37
+ /** Timestamp when tool was invoked */
38
+ startedAt: Date | string;
39
+ /** Timestamp when tool completed */
40
+ completedAt?: Date | string;
41
+ /** Duration in milliseconds */
42
+ duration?: number;
43
+ /** Result data if successful */
44
+ result?: MCPToolResult;
45
+ /** Error message if failed */
46
+ error?: string;
47
+ }
48
+ /**
49
+ * Result from an MCP tool execution
50
+ */
51
+ interface MCPToolResult {
52
+ /** Type of result data */
53
+ type: 'text' | 'json' | 'link' | 'resource' | 'error';
54
+ /** The result data */
55
+ data: unknown;
56
+ /** Human-readable summary of the result */
57
+ summary?: string;
58
+ /** Link to a resource (for link type) */
59
+ link?: MCPResourceLink;
60
+ /** Resources created or modified */
61
+ resources?: MCPResource[];
62
+ }
63
+ /**
64
+ * Link to a resource
65
+ */
66
+ interface MCPResourceLink {
67
+ /** URL or path to the resource */
68
+ href: string;
69
+ /** Display text for the link */
70
+ label: string;
71
+ /** Type of resource */
72
+ type?: 'patient' | 'document' | 'appointment' | 'order' | 'provider' | 'external' | 'internal';
73
+ /** Icon name or component */
74
+ icon?: string;
75
+ }
76
+ /**
77
+ * MCP Resource definition
78
+ */
79
+ interface MCPResource {
80
+ /** Unique identifier */
81
+ id: string;
82
+ /** Resource type (e.g., 'patient', 'appointment', 'document') */
83
+ type: string;
84
+ /** Display name */
85
+ name: string;
86
+ /** URL to access the resource */
87
+ uri?: string;
88
+ /** Brief description */
89
+ description?: string;
90
+ /** Additional metadata */
91
+ metadata?: Record<string, unknown>;
92
+ }
93
+ /**
94
+ * Role of the message sender
95
+ */
96
+ type AIMessageRole = 'user' | 'assistant' | 'system' | 'tool';
97
+ /**
98
+ * Status of an AI message
99
+ */
100
+ type AIMessageStatus = 'pending' | 'streaming' | 'complete' | 'error';
101
+ /**
102
+ * Content block within a message
103
+ */
104
+ interface AIMessageContent {
105
+ /** Type of content */
106
+ type: 'text' | 'tool_use' | 'tool_result' | 'thinking' | 'code' | 'image' | 'file' | 'audio' | 'video';
107
+ /** Text content (also used as the label for `audio` and `video` blocks) */
108
+ text?: string;
109
+ /** Tool call reference */
110
+ toolCall?: MCPToolCall;
111
+ /** Language for code blocks */
112
+ language?: string;
113
+ /** Whether this content is collapsed by default */
114
+ collapsed?: boolean;
115
+ /** Image source URL (for `image` blocks) */
116
+ imageUrl?: string;
117
+ /** Alt text / file name (for `image` and `file` blocks) */
118
+ name?: string;
119
+ /** File size in bytes (for `file` blocks) */
120
+ fileSize?: number;
121
+ /** MIME type (for `file`, `audio`, and `video` blocks) */
122
+ mimeType?: string;
123
+ /** Download/open URL (for `file` blocks) */
124
+ fileUrl?: string;
125
+ /** Source URL for `audio` blocks */
126
+ audioUrl?: string;
127
+ /** Source URL for `video` blocks */
128
+ videoUrl?: string;
129
+ /** Duration in seconds for `audio` blocks */
130
+ duration?: number;
131
+ }
132
+ /**
133
+ * AI Chat Message
134
+ */
135
+ interface AIMessage {
136
+ /** Unique identifier */
137
+ id: string;
138
+ /** Role of sender */
139
+ role: AIMessageRole;
140
+ /** Message content blocks */
141
+ content: AIMessageContent[];
142
+ /** Timestamp */
143
+ timestamp: Date | string;
144
+ /** Current status */
145
+ status: AIMessageStatus;
146
+ /** Model used (for assistant messages) */
147
+ model?: string;
148
+ /** Token usage info */
149
+ usage?: {
150
+ promptTokens?: number;
151
+ completionTokens?: number;
152
+ totalTokens?: number;
153
+ };
154
+ /** Custom metadata */
155
+ metadata?: Record<string, unknown>;
156
+ }
157
+ /** Context passed to a custom text content renderer. */
158
+ interface AITextRenderContext {
159
+ /** id of the parent message (useful as a render cache key) */
160
+ messageId: string;
161
+ /** true while the message is still streaming */
162
+ streaming: boolean;
163
+ /** role of the parent message */
164
+ role: AIMessage['role'];
165
+ }
166
+ /**
167
+ * Render-prop for customizing `text` content blocks. Host is responsible
168
+ * for sanitizing untrusted input.
169
+ */
170
+ type AIRenderTextContent = (text: string, ctx: AITextRenderContext) => React.ReactNode;
3
171
 
4
172
  /**
5
173
  * SuperChat Types
@@ -248,4 +416,4 @@ interface GenUIBlockPayload {
248
416
  props?: unknown;
249
417
  }
250
418
 
251
- export type { AttachmentKind as A, ComposerAttachment as C, GenUIBlockPayload as G, Participant as P, SuperChatConversation as S, SuperChatRenderPlugin as a, SuperChatLinkBuilder as b, SuperChatCopyFormat as c, SuperChatRef as d, GenUIPrefetchPolicy as e, GenUIRegistry as f, GenUIWidgetEntry as g, GenUIWidgetProps as h, ParticipantKind as i, ParticipantStatus as j, StandardSchemaV1 as k, SuperChatChannel as l, SuperChatItemType as m, SuperChatMessage as n, SuperChatPluggable as o, SuperChatPluggableList as p };
419
+ export type { AIRenderTextContent as A, ComposerAttachment as C, GenUIBlockPayload as G, MCPResourceLink as M, Participant as P, SuperChatConversation as S, SuperChatRenderPlugin as a, AttachmentKind as b, SuperChatLinkBuilder as c, SuperChatCopyFormat as d, SuperChatRef as e, AIMessageContent as f, AIMessageStatus as g, AITextRenderContext as h, GenUIPrefetchPolicy as i, GenUIRegistry as j, GenUIWidgetEntry as k, GenUIWidgetProps as l, ParticipantKind as m, ParticipantStatus as n, StandardSchemaV1 as o, SuperChatChannel as p, SuperChatItemType as q, SuperChatMessage as r, SuperChatPluggable as s, SuperChatPluggableList as t };
@@ -1,5 +1,173 @@
1
1
  import * as React from 'react';
2
- import { A as AIMessageContent, a as AIMessageStatus } from './types-CnPEwzlp.js';
2
+
3
+ /**
4
+ * AI Component Types
5
+ *
6
+ * Type definitions for AI-related components including MCP (Model Context Protocol)
7
+ * interactions, tool calls, and chat messages.
8
+ */
9
+
10
+ /**
11
+ * Status of an MCP tool invocation
12
+ */
13
+ type MCPToolStatus = 'pending' | 'running' | 'success' | 'error' | 'cancelled';
14
+ /**
15
+ * MCP Tool parameter definition
16
+ */
17
+ interface MCPToolParameter {
18
+ name: string;
19
+ type: string;
20
+ value: unknown;
21
+ description?: string;
22
+ }
23
+ /**
24
+ * MCP Tool invocation
25
+ */
26
+ interface MCPToolCall {
27
+ /** Unique identifier for this tool call */
28
+ id: string;
29
+ /** Name of the tool being invoked */
30
+ toolName: string;
31
+ /** Human-readable description of what the tool does */
32
+ description?: string;
33
+ /** Parameters passed to the tool */
34
+ parameters: MCPToolParameter[];
35
+ /** Current status of the tool execution */
36
+ status: MCPToolStatus;
37
+ /** Timestamp when tool was invoked */
38
+ startedAt: Date | string;
39
+ /** Timestamp when tool completed */
40
+ completedAt?: Date | string;
41
+ /** Duration in milliseconds */
42
+ duration?: number;
43
+ /** Result data if successful */
44
+ result?: MCPToolResult;
45
+ /** Error message if failed */
46
+ error?: string;
47
+ }
48
+ /**
49
+ * Result from an MCP tool execution
50
+ */
51
+ interface MCPToolResult {
52
+ /** Type of result data */
53
+ type: 'text' | 'json' | 'link' | 'resource' | 'error';
54
+ /** The result data */
55
+ data: unknown;
56
+ /** Human-readable summary of the result */
57
+ summary?: string;
58
+ /** Link to a resource (for link type) */
59
+ link?: MCPResourceLink;
60
+ /** Resources created or modified */
61
+ resources?: MCPResource[];
62
+ }
63
+ /**
64
+ * Link to a resource
65
+ */
66
+ interface MCPResourceLink {
67
+ /** URL or path to the resource */
68
+ href: string;
69
+ /** Display text for the link */
70
+ label: string;
71
+ /** Type of resource */
72
+ type?: 'patient' | 'document' | 'appointment' | 'order' | 'provider' | 'external' | 'internal';
73
+ /** Icon name or component */
74
+ icon?: string;
75
+ }
76
+ /**
77
+ * MCP Resource definition
78
+ */
79
+ interface MCPResource {
80
+ /** Unique identifier */
81
+ id: string;
82
+ /** Resource type (e.g., 'patient', 'appointment', 'document') */
83
+ type: string;
84
+ /** Display name */
85
+ name: string;
86
+ /** URL to access the resource */
87
+ uri?: string;
88
+ /** Brief description */
89
+ description?: string;
90
+ /** Additional metadata */
91
+ metadata?: Record<string, unknown>;
92
+ }
93
+ /**
94
+ * Role of the message sender
95
+ */
96
+ type AIMessageRole = 'user' | 'assistant' | 'system' | 'tool';
97
+ /**
98
+ * Status of an AI message
99
+ */
100
+ type AIMessageStatus = 'pending' | 'streaming' | 'complete' | 'error';
101
+ /**
102
+ * Content block within a message
103
+ */
104
+ interface AIMessageContent {
105
+ /** Type of content */
106
+ type: 'text' | 'tool_use' | 'tool_result' | 'thinking' | 'code' | 'image' | 'file' | 'audio' | 'video';
107
+ /** Text content (also used as the label for `audio` and `video` blocks) */
108
+ text?: string;
109
+ /** Tool call reference */
110
+ toolCall?: MCPToolCall;
111
+ /** Language for code blocks */
112
+ language?: string;
113
+ /** Whether this content is collapsed by default */
114
+ collapsed?: boolean;
115
+ /** Image source URL (for `image` blocks) */
116
+ imageUrl?: string;
117
+ /** Alt text / file name (for `image` and `file` blocks) */
118
+ name?: string;
119
+ /** File size in bytes (for `file` blocks) */
120
+ fileSize?: number;
121
+ /** MIME type (for `file`, `audio`, and `video` blocks) */
122
+ mimeType?: string;
123
+ /** Download/open URL (for `file` blocks) */
124
+ fileUrl?: string;
125
+ /** Source URL for `audio` blocks */
126
+ audioUrl?: string;
127
+ /** Source URL for `video` blocks */
128
+ videoUrl?: string;
129
+ /** Duration in seconds for `audio` blocks */
130
+ duration?: number;
131
+ }
132
+ /**
133
+ * AI Chat Message
134
+ */
135
+ interface AIMessage {
136
+ /** Unique identifier */
137
+ id: string;
138
+ /** Role of sender */
139
+ role: AIMessageRole;
140
+ /** Message content blocks */
141
+ content: AIMessageContent[];
142
+ /** Timestamp */
143
+ timestamp: Date | string;
144
+ /** Current status */
145
+ status: AIMessageStatus;
146
+ /** Model used (for assistant messages) */
147
+ model?: string;
148
+ /** Token usage info */
149
+ usage?: {
150
+ promptTokens?: number;
151
+ completionTokens?: number;
152
+ totalTokens?: number;
153
+ };
154
+ /** Custom metadata */
155
+ metadata?: Record<string, unknown>;
156
+ }
157
+ /** Context passed to a custom text content renderer. */
158
+ interface AITextRenderContext {
159
+ /** id of the parent message (useful as a render cache key) */
160
+ messageId: string;
161
+ /** true while the message is still streaming */
162
+ streaming: boolean;
163
+ /** role of the parent message */
164
+ role: AIMessage['role'];
165
+ }
166
+ /**
167
+ * Render-prop for customizing `text` content blocks. Host is responsible
168
+ * for sanitizing untrusted input.
169
+ */
170
+ type AIRenderTextContent = (text: string, ctx: AITextRenderContext) => React.ReactNode;
3
171
 
4
172
  /**
5
173
  * SuperChat Types
@@ -248,4 +416,4 @@ interface GenUIBlockPayload {
248
416
  props?: unknown;
249
417
  }
250
418
 
251
- export type { AttachmentKind as A, ComposerAttachment as C, GenUIBlockPayload as G, Participant as P, SuperChatConversation as S, SuperChatRenderPlugin as a, SuperChatLinkBuilder as b, SuperChatCopyFormat as c, SuperChatRef as d, GenUIPrefetchPolicy as e, GenUIRegistry as f, GenUIWidgetEntry as g, GenUIWidgetProps as h, ParticipantKind as i, ParticipantStatus as j, StandardSchemaV1 as k, SuperChatChannel as l, SuperChatItemType as m, SuperChatMessage as n, SuperChatPluggable as o, SuperChatPluggableList as p };
419
+ export type { AIRenderTextContent as A, ComposerAttachment as C, GenUIBlockPayload as G, MCPResourceLink as M, Participant as P, SuperChatConversation as S, SuperChatRenderPlugin as a, AttachmentKind as b, SuperChatLinkBuilder as c, SuperChatCopyFormat as d, SuperChatRef as e, AIMessageContent as f, AIMessageStatus as g, AITextRenderContext as h, GenUIPrefetchPolicy as i, GenUIRegistry as j, GenUIWidgetEntry as k, GenUIWidgetProps as l, ParticipantKind as m, ParticipantStatus as n, StandardSchemaV1 as o, SuperChatChannel as p, SuperChatItemType as q, SuperChatMessage as r, SuperChatPluggable as s, SuperChatPluggableList as t };
@@ -1,5 +1,4 @@
1
1
  import { ClassValue } from 'clsx';
2
- export { i as isHtmlEmpty, s as stripHtmlTags } from '../html-MdxqSzjD.cjs';
3
2
 
4
3
  declare const miewebUITwMergeConflicts: Record<string, string[]>;
5
4
  /**
@@ -18,6 +17,18 @@ declare const miewebUITwMergeConflicts: Record<string, string[]>;
18
17
  */
19
18
  declare function cn(...inputs: ClassValue[]): string;
20
19
 
20
+ /**
21
+ * Extracts visible text from an HTML string without using regex.
22
+ * Uses a simple character-by-character state machine to skip tags.
23
+ * This avoids CodeQL false-positives associated with regex-based tag stripping.
24
+ */
25
+ declare function stripHtmlTags(html: string): string;
26
+ /**
27
+ * Returns true when an HTML string has no visible text content.
28
+ * This is a visibility check, not a sanitizer — do NOT use for XSS prevention.
29
+ */
30
+ declare function isHtmlEmpty(html: string): boolean;
31
+
21
32
  /**
22
33
  * Phone number formatting utilities
23
34
  */
@@ -106,4 +117,4 @@ declare function displayFormatToDateString(value: string): string;
106
117
  */
107
118
  declare function isStorybookDocsMode(): boolean;
108
119
 
109
- export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, unformatPhoneNumber };
120
+ export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isHtmlEmpty, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, stripHtmlTags, unformatPhoneNumber };
@@ -1,5 +1,4 @@
1
1
  import { ClassValue } from 'clsx';
2
- export { i as isHtmlEmpty, s as stripHtmlTags } from '../html-MdxqSzjD.js';
3
2
 
4
3
  declare const miewebUITwMergeConflicts: Record<string, string[]>;
5
4
  /**
@@ -18,6 +17,18 @@ declare const miewebUITwMergeConflicts: Record<string, string[]>;
18
17
  */
19
18
  declare function cn(...inputs: ClassValue[]): string;
20
19
 
20
+ /**
21
+ * Extracts visible text from an HTML string without using regex.
22
+ * Uses a simple character-by-character state machine to skip tags.
23
+ * This avoids CodeQL false-positives associated with regex-based tag stripping.
24
+ */
25
+ declare function stripHtmlTags(html: string): string;
26
+ /**
27
+ * Returns true when an HTML string has no visible text content.
28
+ * This is a visibility check, not a sanitizer — do NOT use for XSS prevention.
29
+ */
30
+ declare function isHtmlEmpty(html: string): boolean;
31
+
21
32
  /**
22
33
  * Phone number formatting utilities
23
34
  */
@@ -106,4 +117,4 @@ declare function displayFormatToDateString(value: string): string;
106
117
  */
107
118
  declare function isStorybookDocsMode(): boolean;
108
119
 
109
- export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, unformatPhoneNumber };
120
+ export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isHtmlEmpty, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, stripHtmlTags, unformatPhoneNumber };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mieweb/ui",
3
- "version": "0.10.0-dev.2",
3
+ "version": "0.10.0-dev.21",
4
4
  "description": "A themeable, accessible React component library built with Tailwind CSS",
5
5
  "author": "Medical Informatics Engineering, Inc.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -151,6 +151,16 @@
151
151
  "default": "./dist/globe.cjs"
152
152
  }
153
153
  },
154
+ "./templates": {
155
+ "import": {
156
+ "types": "./dist/templates.d.ts",
157
+ "default": "./dist/templates.js"
158
+ },
159
+ "require": {
160
+ "types": "./dist/templates.d.cts",
161
+ "default": "./dist/templates.cjs"
162
+ }
163
+ },
154
164
  "./datavis": {
155
165
  "import": {
156
166
  "types": "./dist/datavis.d.ts",
@@ -241,7 +251,8 @@
241
251
  "prepare": "npm run build:datavis && npm run build:css && npm run copy:brand-css && npm run copy:style-css && npm run copy:markdown-css && npm run copy:kerebron-css",
242
252
  "dev": "tsup --watch",
243
253
  "prebuild": "npm run build:esheet && npm run build:datavis",
244
- "build": "node --max-old-space-size=8192 ./node_modules/tsup/dist/cli-default.js && npm run build:css && npm run copy:brand-css && npm run copy:style-css && npm run copy:markdown-css && npm run copy:kerebron-css",
254
+ "build": "node --max-old-space-size=8192 ./node_modules/tsup/dist/cli-default.js && npm run build:dts && npm run build:css && npm run copy:brand-css && npm run copy:style-css && npm run copy:markdown-css && npm run copy:kerebron-css",
255
+ "build:dts": "node scripts/build-dts.mjs",
245
256
  "build:esheet": "if [ ! -f packages/esheet/packages/core/dist/index.d.ts ] || [ ! -f packages/esheet/packages/renderer/src/index.output.css ] || [ ! -f packages/esheet/packages/builder/src/index.output.css ]; then cd packages/esheet && pnpm install --frozen-lockfile && pnpm --filter '@esheet/builder...' --filter '@esheet/renderer...' build; fi",
246
257
  "build:datavis": "node scripts/build-datavis.mjs",
247
258
  "build:css": "mkdir -p dist && npx @tailwindcss/cli -i ./src/styles/base.css -o ./dist/styles.css --minify",
@@ -253,6 +264,7 @@
253
264
  "lint": "eslint \"src/**/*.{ts,tsx}\"",
254
265
  "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
255
266
  "rtl:scan": "node scripts/rtl-scan.mjs",
267
+ "check:templates-rsc": "node --conditions=react-server scripts/check-templates-rsc.mjs",
256
268
  "rtl:scan:update": "node scripts/rtl-scan.mjs --update",
257
269
  "condensed:scan": "node scripts/condensed-scan.mjs",
258
270
  "catalog:check": "node scripts/catalog-check.mjs",
@@ -263,8 +275,8 @@
263
275
  "test": "vitest run",
264
276
  "test:watch": "vitest",
265
277
  "prestorybook": "npm run build:esheet && npm run build:datavis",
266
- "storybook": "storybook dev -p 6006",
267
- "build-storybook": "npm run build:esheet && npm run build:datavis && storybook build && npm run catalog:manifest",
278
+ "storybook": "node scripts/build-ozwell-docs.mjs && storybook dev -p 6006",
279
+ "build-storybook": "npm run build:esheet && npm run build:datavis && node scripts/build-ozwell-docs.mjs && storybook build && npm run catalog:manifest",
268
280
  "test:coverage": "vitest run --coverage",
269
281
  "playwright:install": "playwright install --with-deps",
270
282
  "test:visual": "playwright test",
@@ -274,10 +286,11 @@
274
286
  "prepublishOnly": "npm run build"
275
287
  },
276
288
  "peerDependencies": {
277
- "@kerebron/editor": ">=0.8.6",
278
- "@kerebron/editor-kits": ">=0.8.6",
279
- "@kerebron/extension-yjs": ">=0.8.6",
280
- "@kerebron/wasm": ">=0.8.6",
289
+ "@kerebron/editor": ">=0.8.12",
290
+ "@kerebron/editor-kits": ">=0.8.12",
291
+ "@kerebron/extension-basic-editor": ">=0.8.12",
292
+ "@kerebron/extension-yjs": ">=0.8.12",
293
+ "@kerebron/wasm": ">=0.8.12",
281
294
  "@mieweb/q": "1.0.0",
282
295
  "ag-grid-community": ">=32.0.0",
283
296
  "ag-grid-react": ">=32.0.0",
@@ -316,6 +329,9 @@
316
329
  "@kerebron/editor-kits": {
317
330
  "optional": true
318
331
  },
332
+ "@kerebron/extension-basic-editor": {
333
+ "optional": true
334
+ },
319
335
  "@kerebron/extension-yjs": {
320
336
  "optional": true
321
337
  },
@@ -407,10 +423,11 @@
407
423
  "@esheet/fields": "0.0.5",
408
424
  "@esheet/renderer": "0.0.5",
409
425
  "@eslint/js": "^9.39.3",
410
- "@kerebron/editor": "^0.8.6",
411
- "@kerebron/editor-kits": "^0.8.6",
412
- "@kerebron/extension-yjs": "^0.8.6",
413
- "@kerebron/wasm": "^0.8.6",
426
+ "@kerebron/editor": "^0.8.12",
427
+ "@kerebron/editor-kits": "^0.8.12",
428
+ "@kerebron/extension-basic-editor": "^0.8.12",
429
+ "@kerebron/extension-yjs": "^0.8.12",
430
+ "@kerebron/wasm": "^0.8.12",
414
431
  "@mieweb/datavis": "link:./packages/datavis",
415
432
  "@mieweb/q": "1.0.0",
416
433
  "@monaco-editor/react": "^4.7.0",