@mieweb/ui 0.6.1 → 0.7.0-dev.178

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 (450) hide show
  1. package/README.md +90 -53
  2. package/dist/CsvBlock-2A5VEDD3.cjs +15 -0
  3. package/dist/CsvBlock-2A5VEDD3.cjs.map +1 -0
  4. package/dist/CsvBlock-D6PWAJ5X.js +6 -0
  5. package/dist/CsvBlock-D6PWAJ5X.js.map +1 -0
  6. package/dist/HtmlPreviewBlock-PEHTJ6C3.js +6 -0
  7. package/dist/HtmlPreviewBlock-PEHTJ6C3.js.map +1 -0
  8. package/dist/HtmlPreviewBlock-SYXCV5RH.cjs +15 -0
  9. package/dist/HtmlPreviewBlock-SYXCV5RH.cjs.map +1 -0
  10. package/dist/MedicationEditor-Bp4NLy7y.d.cts +352 -0
  11. package/dist/MedicationEditor-Bp4NLy7y.d.ts +352 -0
  12. package/dist/MermaidBlock-7NK3AVK2.js +6 -0
  13. package/dist/MermaidBlock-7NK3AVK2.js.map +1 -0
  14. package/dist/MermaidBlock-AFXNP5NK.cjs +15 -0
  15. package/dist/MermaidBlock-AFXNP5NK.cjs.map +1 -0
  16. package/dist/SurveyBlock-6KRNKFH5.cjs +15 -0
  17. package/dist/SurveyBlock-6KRNKFH5.cjs.map +1 -0
  18. package/dist/SurveyBlock-NNDGXGG4.js +6 -0
  19. package/dist/SurveyBlock-NNDGXGG4.js.map +1 -0
  20. package/dist/ag-grid.cjs +6 -6
  21. package/dist/ag-grid.cjs.map +1 -1
  22. package/dist/ag-grid.js +2 -2
  23. package/dist/ag-grid.js.map +1 -1
  24. package/dist/brands/index.cjs +17 -17
  25. package/dist/brands/index.js +4 -4
  26. package/dist/chunk-372IIHUA.cjs +2017 -0
  27. package/dist/chunk-372IIHUA.cjs.map +1 -0
  28. package/dist/{chunk-2DS3RJ2D.js → chunk-3TERETXH.js} +112 -3
  29. package/dist/chunk-3TERETXH.js.map +1 -0
  30. package/dist/chunk-44CK4CT2.cjs +336 -0
  31. package/dist/chunk-44CK4CT2.cjs.map +1 -0
  32. package/dist/{chunk-FSBFQBNE.cjs → chunk-4GXECTPS.cjs} +2 -2
  33. package/dist/{chunk-FSBFQBNE.cjs.map → chunk-4GXECTPS.cjs.map} +1 -1
  34. package/dist/chunk-4LVPQ44A.js +228 -0
  35. package/dist/chunk-4LVPQ44A.js.map +1 -0
  36. package/dist/{chunk-6555OYRU.js → chunk-5BQE6BEL.js} +2 -2
  37. package/dist/{chunk-6555OYRU.js.map → chunk-5BQE6BEL.js.map} +1 -1
  38. package/dist/chunk-62ZOA6PX.js +31 -0
  39. package/dist/chunk-62ZOA6PX.js.map +1 -0
  40. package/dist/chunk-63KVQHGQ.cjs +1802 -0
  41. package/dist/chunk-63KVQHGQ.cjs.map +1 -0
  42. package/dist/chunk-6AHYYWVB.js +78 -0
  43. package/dist/chunk-6AHYYWVB.js.map +1 -0
  44. package/dist/chunk-6I7IDZ4A.js +51 -0
  45. package/dist/chunk-6I7IDZ4A.js.map +1 -0
  46. package/dist/chunk-6ZYE6JUK.cjs +80 -0
  47. package/dist/chunk-6ZYE6JUK.cjs.map +1 -0
  48. package/dist/chunk-7QXG5BBB.cjs +164 -0
  49. package/dist/chunk-7QXG5BBB.cjs.map +1 -0
  50. package/dist/chunk-7WMSUXOQ.js +182 -0
  51. package/dist/chunk-7WMSUXOQ.js.map +1 -0
  52. package/dist/chunk-7XUN3OQT.js +3 -0
  53. package/dist/{chunk-V2DF2GUE.js.map → chunk-7XUN3OQT.js.map} +1 -1
  54. package/dist/chunk-7ZVTLTJF.js +109 -0
  55. package/dist/chunk-7ZVTLTJF.js.map +1 -0
  56. package/dist/chunk-AES2BKEW.cjs +229 -0
  57. package/dist/chunk-AES2BKEW.cjs.map +1 -0
  58. package/dist/chunk-AFKKJEV5.cjs +72 -0
  59. package/dist/chunk-AFKKJEV5.cjs.map +1 -0
  60. package/dist/chunk-AT732HC6.cjs +4 -0
  61. package/dist/{chunk-74K3RRU7.cjs.map → chunk-AT732HC6.cjs.map} +1 -1
  62. package/dist/chunk-BB4WQ4LV.cjs +137 -0
  63. package/dist/chunk-BB4WQ4LV.cjs.map +1 -0
  64. package/dist/chunk-BIT27PPD.js +49 -0
  65. package/dist/chunk-BIT27PPD.js.map +1 -0
  66. package/dist/chunk-BLPCYP4D.cjs +537 -0
  67. package/dist/chunk-BLPCYP4D.cjs.map +1 -0
  68. package/dist/chunk-BT3ZQJGT.cjs +130 -0
  69. package/dist/chunk-BT3ZQJGT.cjs.map +1 -0
  70. package/dist/chunk-BX6BTDTR.js +34 -0
  71. package/dist/chunk-BX6BTDTR.js.map +1 -0
  72. package/dist/chunk-C2544GKZ.js +313 -0
  73. package/dist/chunk-C2544GKZ.js.map +1 -0
  74. package/dist/chunk-C7RVKV25.cjs +25 -0
  75. package/dist/chunk-C7RVKV25.cjs.map +1 -0
  76. package/dist/chunk-CKD554XR.cjs +100 -0
  77. package/dist/chunk-CKD554XR.cjs.map +1 -0
  78. package/dist/chunk-CVC4NWFA.cjs +154 -0
  79. package/dist/chunk-CVC4NWFA.cjs.map +1 -0
  80. package/dist/{chunk-K3IVCUPP.js → chunk-CYMZ2QS5.js} +2 -2
  81. package/dist/{chunk-K3IVCUPP.js.map → chunk-CYMZ2QS5.js.map} +1 -1
  82. package/dist/{chunk-FRT6RQND.cjs → chunk-DAPZPT5N.cjs} +92 -56
  83. package/dist/chunk-DAPZPT5N.cjs.map +1 -0
  84. package/dist/chunk-DHKYGVP7.js +3 -0
  85. package/dist/{chunk-LEMY57MI.js.map → chunk-DHKYGVP7.js.map} +1 -1
  86. package/dist/chunk-DLNJLCNO.cjs +101 -0
  87. package/dist/chunk-DLNJLCNO.cjs.map +1 -0
  88. package/dist/chunk-DUPR6FEL.js +43 -0
  89. package/dist/chunk-DUPR6FEL.js.map +1 -0
  90. package/dist/{chunk-4FALCEJI.cjs → chunk-EL2RSQTJ.cjs} +2 -2
  91. package/dist/{chunk-4FALCEJI.cjs.map → chunk-EL2RSQTJ.cjs.map} +1 -1
  92. package/dist/chunk-ERLPVXOV.js +22 -0
  93. package/dist/chunk-ERLPVXOV.js.map +1 -0
  94. package/dist/chunk-FIWKHLWY.js +197 -0
  95. package/dist/chunk-FIWKHLWY.js.map +1 -0
  96. package/dist/chunk-FJH7P5WG.js +513 -0
  97. package/dist/chunk-FJH7P5WG.js.map +1 -0
  98. package/dist/chunk-FSGEDDF2.cjs +33 -0
  99. package/dist/chunk-FSGEDDF2.cjs.map +1 -0
  100. package/dist/chunk-GLXTVCHN.cjs +4 -0
  101. package/dist/{chunk-4ZU53GNR.cjs.map → chunk-GLXTVCHN.cjs.map} +1 -1
  102. package/dist/chunk-HRS6W74P.js +1568 -0
  103. package/dist/chunk-HRS6W74P.js.map +1 -0
  104. package/dist/chunk-I2W24RHW.js +196 -0
  105. package/dist/chunk-I2W24RHW.js.map +1 -0
  106. package/dist/chunk-I6CY5C6A.js +12 -0
  107. package/dist/chunk-I6CY5C6A.js.map +1 -0
  108. package/dist/chunk-IQ4KQJAO.js +3 -0
  109. package/dist/chunk-IQ4KQJAO.js.map +1 -0
  110. package/dist/chunk-IWDQPSJN.cjs +1452 -0
  111. package/dist/chunk-IWDQPSJN.cjs.map +1 -0
  112. package/dist/chunk-J7KWQJOB.js +14 -0
  113. package/dist/chunk-J7KWQJOB.js.map +1 -0
  114. package/dist/{chunk-R25H4N4Z.js → chunk-J7Z7467B.js} +92 -56
  115. package/dist/chunk-J7Z7467B.js.map +1 -0
  116. package/dist/{chunk-NINI4WVS.cjs → chunk-JC6Y3LGF.cjs} +297 -84
  117. package/dist/chunk-JC6Y3LGF.cjs.map +1 -0
  118. package/dist/chunk-JCNPVK74.cjs +347 -0
  119. package/dist/chunk-JCNPVK74.cjs.map +1 -0
  120. package/dist/chunk-JFLC7SHM.cjs +35 -0
  121. package/dist/chunk-JFLC7SHM.cjs.map +1 -0
  122. package/dist/chunk-JHYFHEHS.js +1967 -0
  123. package/dist/chunk-JHYFHEHS.js.map +1 -0
  124. package/dist/{chunk-IBZXDX4L.cjs → chunk-JQEY53SH.cjs} +112 -3
  125. package/dist/chunk-JQEY53SH.cjs.map +1 -0
  126. package/dist/chunk-JTBQNOSL.cjs +1605 -0
  127. package/dist/chunk-JTBQNOSL.cjs.map +1 -0
  128. package/dist/chunk-JYZW2PZS.cjs +166 -0
  129. package/dist/chunk-JYZW2PZS.cjs.map +1 -0
  130. package/dist/chunk-KBEKQMVY.cjs +198 -0
  131. package/dist/chunk-KBEKQMVY.cjs.map +1 -0
  132. package/dist/chunk-KJ5BSGEO.cjs +258 -0
  133. package/dist/chunk-KJ5BSGEO.cjs.map +1 -0
  134. package/dist/{chunk-DNPRRYPQ.js → chunk-KL2S36FM.js} +2 -2
  135. package/dist/chunk-KL2S36FM.js.map +1 -0
  136. package/dist/chunk-LIH3IZYK.js +689 -0
  137. package/dist/chunk-LIH3IZYK.js.map +1 -0
  138. package/dist/chunk-MAMY5HTT.cjs +1177 -0
  139. package/dist/chunk-MAMY5HTT.cjs.map +1 -0
  140. package/dist/{chunk-WFS6R2F5.js → chunk-MKWGKASO.js} +114 -101
  141. package/dist/chunk-MKWGKASO.js.map +1 -0
  142. package/dist/{chunk-CV4CVGLO.cjs → chunk-MZPF2QGM.cjs} +95 -74
  143. package/dist/chunk-MZPF2QGM.cjs.map +1 -0
  144. package/dist/chunk-NQME7MCK.js +1416 -0
  145. package/dist/chunk-NQME7MCK.js.map +1 -0
  146. package/dist/chunk-NTYGCBCL.js +543 -0
  147. package/dist/chunk-NTYGCBCL.js.map +1 -0
  148. package/dist/chunk-OF7NTZ2I.js +3 -0
  149. package/dist/chunk-OF7NTZ2I.js.map +1 -0
  150. package/dist/chunk-OXYFTCRW.cjs +57 -0
  151. package/dist/chunk-OXYFTCRW.cjs.map +1 -0
  152. package/dist/chunk-QA6ZDHFP.js +117 -0
  153. package/dist/chunk-QA6ZDHFP.js.map +1 -0
  154. package/dist/chunk-RHNPILZQ.cjs +4 -0
  155. package/dist/chunk-RHNPILZQ.cjs.map +1 -0
  156. package/dist/chunk-RHYIFIT5.js +98 -0
  157. package/dist/chunk-RHYIFIT5.js.map +1 -0
  158. package/dist/chunk-RI56YPED.cjs +201 -0
  159. package/dist/chunk-RI56YPED.cjs.map +1 -0
  160. package/dist/chunk-RISZWWEQ.js +3 -0
  161. package/dist/chunk-RISZWWEQ.js.map +1 -0
  162. package/dist/chunk-S6Z3KDEM.js +140 -0
  163. package/dist/chunk-S6Z3KDEM.js.map +1 -0
  164. package/dist/chunk-S7JQ3FV5.cjs +16 -0
  165. package/dist/chunk-S7JQ3FV5.cjs.map +1 -0
  166. package/dist/{chunk-OXGUG57G.cjs → chunk-SNEQXSC5.cjs} +2 -2
  167. package/dist/{chunk-OXGUG57G.cjs.map → chunk-SNEQXSC5.cjs.map} +1 -1
  168. package/dist/chunk-SQHMGT4W.js +164 -0
  169. package/dist/chunk-SQHMGT4W.js.map +1 -0
  170. package/dist/{chunk-JHPFOG2N.cjs → chunk-ST2RE5UB.cjs} +30 -18
  171. package/dist/chunk-ST2RE5UB.cjs.map +1 -0
  172. package/dist/{chunk-QVJBUWJQ.js → chunk-STPK44AU.js} +46 -12
  173. package/dist/chunk-STPK44AU.js.map +1 -0
  174. package/dist/chunk-T3C4RNJ4.js +106 -0
  175. package/dist/chunk-T3C4RNJ4.js.map +1 -0
  176. package/dist/chunk-T3RWXOCM.js +148 -0
  177. package/dist/chunk-T3RWXOCM.js.map +1 -0
  178. package/dist/{chunk-DCER2QQB.js → chunk-T42BCIUA.js} +2 -2
  179. package/dist/{chunk-DCER2QQB.js.map → chunk-T42BCIUA.js.map} +1 -1
  180. package/dist/{chunk-OYKS2JBB.cjs → chunk-TN33E2VN.cjs} +2 -2
  181. package/dist/chunk-TN33E2VN.cjs.map +1 -0
  182. package/dist/{chunk-K7IGBNZA.cjs → chunk-TR2OJKQ4.cjs} +46 -12
  183. package/dist/chunk-TR2OJKQ4.cjs.map +1 -0
  184. package/dist/chunk-UFYXU7KV.js +135 -0
  185. package/dist/chunk-UFYXU7KV.js.map +1 -0
  186. package/dist/chunk-UM6NA7HL.js +1145 -0
  187. package/dist/chunk-UM6NA7HL.js.map +1 -0
  188. package/dist/chunk-UO3KEUYK.cjs +220 -0
  189. package/dist/chunk-UO3KEUYK.cjs.map +1 -0
  190. package/dist/chunk-UOOH356R.cjs +66 -0
  191. package/dist/chunk-UOOH356R.cjs.map +1 -0
  192. package/dist/{chunk-4ZU53GNR.cjs → chunk-UTYUT5YY.cjs} +62 -2
  193. package/dist/chunk-UTYUT5YY.cjs.map +1 -0
  194. package/dist/chunk-UVSODK6V.cjs +53 -0
  195. package/dist/chunk-UVSODK6V.cjs.map +1 -0
  196. package/dist/chunk-V25Z5GR6.cjs +184 -0
  197. package/dist/chunk-V25Z5GR6.cjs.map +1 -0
  198. package/dist/chunk-VBWRH4UW.cjs +4 -0
  199. package/dist/chunk-VBWRH4UW.cjs.map +1 -0
  200. package/dist/chunk-VJOVJTFP.cjs +370 -0
  201. package/dist/chunk-VJOVJTFP.cjs.map +1 -0
  202. package/dist/{chunk-7BARESXI.cjs → chunk-VPNURIAY.cjs} +114 -101
  203. package/dist/chunk-VPNURIAY.cjs.map +1 -0
  204. package/dist/{chunk-I56VBDSC.js → chunk-XDFDVF2O.js} +30 -18
  205. package/dist/chunk-XDFDVF2O.js.map +1 -0
  206. package/dist/chunk-XL7TTKHP.js +327 -0
  207. package/dist/chunk-XL7TTKHP.js.map +1 -0
  208. package/dist/chunk-Y2S6QMKU.js +78 -0
  209. package/dist/chunk-Y2S6QMKU.js.map +1 -0
  210. package/dist/chunk-Y4ESBDQ5.cjs +552 -0
  211. package/dist/chunk-Y4ESBDQ5.cjs.map +1 -0
  212. package/dist/chunk-Y5KEFV5O.js +192 -0
  213. package/dist/chunk-Y5KEFV5O.js.map +1 -0
  214. package/dist/chunk-YBLIDESO.js +365 -0
  215. package/dist/chunk-YBLIDESO.js.map +1 -0
  216. package/dist/chunk-YVLP3ATI.js +1776 -0
  217. package/dist/chunk-YVLP3ATI.js.map +1 -0
  218. package/dist/chunk-YVPC65ZJ.cjs +134 -0
  219. package/dist/chunk-YVPC65ZJ.cjs.map +1 -0
  220. package/dist/{chunk-MPOWJVV4.js → chunk-YZT62IMX.js} +95 -74
  221. package/dist/chunk-YZT62IMX.js.map +1 -0
  222. package/dist/chunk-ZAIEQWRA.js +207 -0
  223. package/dist/chunk-ZAIEQWRA.js.map +1 -0
  224. package/dist/chunk-ZDEYV373.cjs +139 -0
  225. package/dist/chunk-ZDEYV373.cjs.map +1 -0
  226. package/dist/{chunk-Q7NBJFEB.js → chunk-ZGSC2CB2.js} +2 -2
  227. package/dist/{chunk-Q7NBJFEB.js.map → chunk-ZGSC2CB2.js.map} +1 -1
  228. package/dist/{chunk-3M4P2KMG.cjs → chunk-ZHBANUBI.cjs} +2 -2
  229. package/dist/{chunk-3M4P2KMG.cjs.map → chunk-ZHBANUBI.cjs.map} +1 -1
  230. package/dist/components/AlertDialog/index.cjs +18 -0
  231. package/dist/components/AlertDialog/index.cjs.map +1 -0
  232. package/dist/components/AlertDialog/index.d.cts +56 -0
  233. package/dist/components/AlertDialog/index.d.ts +56 -0
  234. package/dist/components/AlertDialog/index.js +9 -0
  235. package/dist/components/AlertDialog/index.js.map +1 -0
  236. package/dist/components/AudioRecorder/index.d.cts +1 -1
  237. package/dist/components/AudioRecorder/index.d.ts +1 -1
  238. package/dist/components/Autocomplete/index.cjs +16 -0
  239. package/dist/components/Autocomplete/index.cjs.map +1 -0
  240. package/dist/components/Autocomplete/index.d.cts +77 -0
  241. package/dist/components/Autocomplete/index.d.ts +77 -0
  242. package/dist/components/Autocomplete/index.js +7 -0
  243. package/dist/components/Autocomplete/index.js.map +1 -0
  244. package/dist/components/Badge/index.cjs +4 -3
  245. package/dist/components/Badge/index.js +2 -1
  246. package/dist/components/Card/index.cjs +16 -15
  247. package/dist/components/Card/index.js +2 -1
  248. package/dist/components/Collapsible/index.cjs +21 -0
  249. package/dist/components/Collapsible/index.cjs.map +1 -0
  250. package/dist/components/Collapsible/index.d.cts +33 -0
  251. package/dist/components/Collapsible/index.d.ts +33 -0
  252. package/dist/components/Collapsible/index.js +4 -0
  253. package/dist/components/Collapsible/index.js.map +1 -0
  254. package/dist/components/CountryCodeDropdown/index.cjs +6 -5
  255. package/dist/components/CountryCodeDropdown/index.js +3 -2
  256. package/dist/components/DateInput/index.cjs +2 -2
  257. package/dist/components/DateInput/index.d.cts +8 -2
  258. package/dist/components/DateInput/index.d.ts +8 -2
  259. package/dist/components/DateInput/index.js +1 -1
  260. package/dist/components/Dropdown/index.cjs +9 -8
  261. package/dist/components/Dropdown/index.d.cts +2 -1
  262. package/dist/components/Dropdown/index.d.ts +2 -1
  263. package/dist/components/Dropdown/index.js +3 -2
  264. package/dist/components/FloatingWindow/index.cjs +18 -0
  265. package/dist/components/FloatingWindow/index.cjs.map +1 -0
  266. package/dist/components/FloatingWindow/index.d.cts +64 -0
  267. package/dist/components/FloatingWindow/index.d.ts +64 -0
  268. package/dist/components/FloatingWindow/index.js +5 -0
  269. package/dist/components/FloatingWindow/index.js.map +1 -0
  270. package/dist/components/Label/index.cjs +17 -0
  271. package/dist/components/Label/index.cjs.map +1 -0
  272. package/dist/components/Label/index.d.cts +23 -0
  273. package/dist/components/Label/index.d.ts +23 -0
  274. package/dist/components/Label/index.js +4 -0
  275. package/dist/components/Label/index.js.map +1 -0
  276. package/dist/components/Markdown/index.cjs +51 -0
  277. package/dist/components/Markdown/index.cjs.map +1 -0
  278. package/dist/components/Markdown/index.css +331 -0
  279. package/dist/components/Markdown/index.css.map +1 -0
  280. package/dist/components/Markdown/index.d.cts +82 -0
  281. package/dist/components/Markdown/index.d.ts +82 -0
  282. package/dist/components/Markdown/index.js +10 -0
  283. package/dist/components/Markdown/index.js.map +1 -0
  284. package/dist/components/Markdown/styles.css +354 -0
  285. package/dist/components/MediaEditor/index.cjs +44 -0
  286. package/dist/components/MediaEditor/index.cjs.map +1 -0
  287. package/dist/components/MediaEditor/index.d.cts +151 -0
  288. package/dist/components/MediaEditor/index.d.ts +151 -0
  289. package/dist/components/MediaEditor/index.js +19 -0
  290. package/dist/components/MediaEditor/index.js.map +1 -0
  291. package/dist/components/MediaPlayer/index.cjs +24 -0
  292. package/dist/components/MediaPlayer/index.cjs.map +1 -0
  293. package/dist/components/MediaPlayer/index.d.cts +71 -0
  294. package/dist/components/MediaPlayer/index.d.ts +71 -0
  295. package/dist/components/MediaPlayer/index.js +7 -0
  296. package/dist/components/MediaPlayer/index.js.map +1 -0
  297. package/dist/components/RecordButton/index.cjs +4 -4
  298. package/dist/components/RecordButton/index.js +1 -1
  299. package/dist/components/RichTextEditor/index.cjs +33 -0
  300. package/dist/components/RichTextEditor/index.cjs.map +1 -0
  301. package/dist/components/RichTextEditor/index.d.cts +62 -0
  302. package/dist/components/RichTextEditor/index.d.ts +62 -0
  303. package/dist/components/RichTextEditor/index.js +12 -0
  304. package/dist/components/RichTextEditor/index.js.map +1 -0
  305. package/dist/components/ScrollArea/index.cjs +17 -0
  306. package/dist/components/ScrollArea/index.cjs.map +1 -0
  307. package/dist/components/ScrollArea/index.d.cts +22 -0
  308. package/dist/components/ScrollArea/index.d.ts +22 -0
  309. package/dist/components/ScrollArea/index.js +4 -0
  310. package/dist/components/ScrollArea/index.js.map +1 -0
  311. package/dist/components/Select/index.cjs +5 -3
  312. package/dist/components/Select/index.js +3 -1
  313. package/dist/components/Separator/index.cjs +17 -0
  314. package/dist/components/Separator/index.cjs.map +1 -0
  315. package/dist/components/Separator/index.d.cts +27 -0
  316. package/dist/components/Separator/index.d.ts +27 -0
  317. package/dist/components/Separator/index.js +4 -0
  318. package/dist/components/Separator/index.js.map +1 -0
  319. package/dist/components/Sheet/index.cjs +48 -0
  320. package/dist/components/Sheet/index.cjs.map +1 -0
  321. package/dist/components/Sheet/index.d.cts +62 -0
  322. package/dist/components/Sheet/index.d.ts +62 -0
  323. package/dist/components/Sheet/index.js +7 -0
  324. package/dist/components/Sheet/index.js.map +1 -0
  325. package/dist/components/SuperChat/index.cjs +1373 -0
  326. package/dist/components/SuperChat/index.cjs.map +1 -0
  327. package/dist/components/SuperChat/index.d.cts +189 -0
  328. package/dist/components/SuperChat/index.d.ts +189 -0
  329. package/dist/components/SuperChat/index.js +1336 -0
  330. package/dist/components/SuperChat/index.js.map +1 -0
  331. package/dist/components/SuperChat/plugins/index.cjs +1292 -0
  332. package/dist/components/SuperChat/plugins/index.cjs.map +1 -0
  333. package/dist/components/SuperChat/plugins/index.d.cts +233 -0
  334. package/dist/components/SuperChat/plugins/index.d.ts +233 -0
  335. package/dist/components/SuperChat/plugins/index.js +1252 -0
  336. package/dist/components/SuperChat/plugins/index.js.map +1 -0
  337. package/dist/components/Table/index.cjs +9 -9
  338. package/dist/components/Table/index.d.cts +4 -0
  339. package/dist/components/Table/index.d.ts +4 -0
  340. package/dist/components/Table/index.js +1 -1
  341. package/dist/components/ThemeProvider/index.cjs +7 -7
  342. package/dist/components/ThemeProvider/index.js +1 -1
  343. package/dist/components/Toggle/index.cjs +17 -0
  344. package/dist/components/Toggle/index.cjs.map +1 -0
  345. package/dist/components/Toggle/index.d.cts +28 -0
  346. package/dist/components/Toggle/index.d.ts +28 -0
  347. package/dist/components/Toggle/index.js +4 -0
  348. package/dist/components/Toggle/index.js.map +1 -0
  349. package/dist/components/TranscriptView/index.cjs +21 -0
  350. package/dist/components/TranscriptView/index.cjs.map +1 -0
  351. package/dist/components/TranscriptView/index.d.cts +55 -0
  352. package/dist/components/TranscriptView/index.d.ts +55 -0
  353. package/dist/components/TranscriptView/index.js +4 -0
  354. package/dist/components/TranscriptView/index.js.map +1 -0
  355. package/dist/datavis.cjs +268 -227
  356. package/dist/datavis.cjs.map +1 -1
  357. package/dist/datavis.d.cts +83 -9
  358. package/dist/datavis.d.ts +83 -9
  359. package/dist/datavis.js +235 -229
  360. package/dist/datavis.js.map +1 -1
  361. package/dist/esheet.cjs +184 -0
  362. package/dist/esheet.cjs.map +1 -1
  363. package/dist/esheet.d.cts +117 -0
  364. package/dist/esheet.d.ts +117 -0
  365. package/dist/esheet.js +163 -0
  366. package/dist/esheet.js.map +1 -1
  367. package/dist/hey-buddy-CLUVAY2X.cjs +1133 -0
  368. package/dist/hey-buddy-CLUVAY2X.cjs.map +1 -0
  369. package/dist/hey-buddy-NMSWZ4TN.js +1131 -0
  370. package/dist/hey-buddy-NMSWZ4TN.js.map +1 -0
  371. package/dist/hooks/index.cjs +76 -16
  372. package/dist/hooks/index.d.cts +151 -2
  373. package/dist/hooks/index.d.ts +151 -2
  374. package/dist/hooks/index.js +6 -2
  375. package/dist/html-MdxqSzjD.d.cts +13 -0
  376. package/dist/html-MdxqSzjD.d.ts +13 -0
  377. package/dist/index.cjs +10394 -6565
  378. package/dist/index.cjs.map +1 -1
  379. package/dist/index.css +331 -0
  380. package/dist/index.css.map +1 -0
  381. package/dist/index.d.cts +2020 -249
  382. package/dist/index.d.ts +2020 -249
  383. package/dist/index.js +9223 -5969
  384. package/dist/index.js.map +1 -1
  385. package/dist/kerebron.cjs +119 -0
  386. package/dist/kerebron.cjs.map +1 -0
  387. package/dist/kerebron.css +11 -0
  388. package/dist/kerebron.d.cts +23 -0
  389. package/dist/kerebron.d.ts +23 -0
  390. package/dist/kerebron.js +116 -0
  391. package/dist/kerebron.js.map +1 -0
  392. package/dist/nitroTableGrid-3J2GY6CK.cjs +47 -0
  393. package/dist/nitroTableGrid-3J2GY6CK.cjs.map +1 -0
  394. package/dist/nitroTableGrid-SIMT7635.js +25 -0
  395. package/dist/nitroTableGrid-SIMT7635.js.map +1 -0
  396. package/dist/orderRows-BUJYgSc7.d.cts +221 -0
  397. package/dist/orderRows-BUJYgSc7.d.ts +221 -0
  398. package/dist/speaker-verify-5GTWAN5Y.cjs +357 -0
  399. package/dist/speaker-verify-5GTWAN5Y.cjs.map +1 -0
  400. package/dist/speaker-verify-R67P433H.js +355 -0
  401. package/dist/speaker-verify-R67P433H.js.map +1 -0
  402. package/dist/styles/init.css +5 -0
  403. package/dist/styles.css +1 -1
  404. package/dist/tailwind-preset.cjs +4 -4
  405. package/dist/tailwind-preset.js +1 -1
  406. package/dist/transcript-oaWqY3yr.d.cts +81 -0
  407. package/dist/transcript-oaWqY3yr.d.ts +81 -0
  408. package/dist/types-BYnLjEFg.d.cts +248 -0
  409. package/dist/types-BYnLjEFg.d.ts +248 -0
  410. package/dist/types-CBh8Zlje.d.cts +240 -0
  411. package/dist/types-CyCwYBlr.d.ts +240 -0
  412. package/dist/useAnchoredPosition-nXdSFKHf.d.cts +65 -0
  413. package/dist/useAnchoredPosition-nXdSFKHf.d.ts +65 -0
  414. package/dist/useTranscriptEdits-BUylQFg0.d.cts +168 -0
  415. package/dist/useTranscriptEdits-CWYnjbGP.d.ts +168 -0
  416. package/dist/utils/index.cjs +27 -18
  417. package/dist/utils/index.d.cts +1 -0
  418. package/dist/utils/index.d.ts +1 -0
  419. package/dist/utils/index.js +3 -2
  420. package/package.json +180 -55
  421. package/dist/chunk-2DS3RJ2D.js.map +0 -1
  422. package/dist/chunk-74K3RRU7.cjs +0 -4
  423. package/dist/chunk-7BARESXI.cjs.map +0 -1
  424. package/dist/chunk-CV4CVGLO.cjs.map +0 -1
  425. package/dist/chunk-DNPRRYPQ.js.map +0 -1
  426. package/dist/chunk-FRT6RQND.cjs.map +0 -1
  427. package/dist/chunk-HYEJLKXI.js +0 -476
  428. package/dist/chunk-HYEJLKXI.js.map +0 -1
  429. package/dist/chunk-I56VBDSC.js.map +0 -1
  430. package/dist/chunk-IBZXDX4L.cjs.map +0 -1
  431. package/dist/chunk-IKMR2ADM.cjs +0 -25
  432. package/dist/chunk-IKMR2ADM.cjs.map +0 -1
  433. package/dist/chunk-JHPFOG2N.cjs.map +0 -1
  434. package/dist/chunk-K7IGBNZA.cjs.map +0 -1
  435. package/dist/chunk-LEMY57MI.js +0 -3
  436. package/dist/chunk-MPOWJVV4.js.map +0 -1
  437. package/dist/chunk-NINI4WVS.cjs.map +0 -1
  438. package/dist/chunk-OKBR6PX4.js +0 -23
  439. package/dist/chunk-OKBR6PX4.js.map +0 -1
  440. package/dist/chunk-OYKS2JBB.cjs.map +0 -1
  441. package/dist/chunk-QVJBUWJQ.js.map +0 -1
  442. package/dist/chunk-R25H4N4Z.js.map +0 -1
  443. package/dist/chunk-V2DF2GUE.js +0 -3
  444. package/dist/chunk-WFS6R2F5.js.map +0 -1
  445. package/dist/ozwell.cjs +0 -385
  446. package/dist/ozwell.cjs.map +0 -1
  447. package/dist/ozwell.d.cts +0 -15
  448. package/dist/ozwell.d.ts +0 -15
  449. package/dist/ozwell.js +0 -360
  450. package/dist/ozwell.js.map +0 -1
@@ -0,0 +1,151 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { T as Transcript, E as EditableWord, S as SpeedMarker, P as PlaybackSpeed } from '../../transcript-oaWqY3yr.cjs';
5
+ import { MediaKind, MediaPlayerRef } from '../MediaPlayer/index.cjs';
6
+ import { S as SilenceThresholdCount } from '../../useTranscriptEdits-BUylQFg0.cjs';
7
+
8
+ interface MediaEditorProps extends VariantProps<typeof mediaEditorVariants> {
9
+ /** Media URL */
10
+ src: string;
11
+ /** Force the media kind; inferred from the src extension when omitted */
12
+ kind?: MediaKind;
13
+ /** The source transcript (canonical, immutable) */
14
+ transcript: Transcript;
15
+ /** Initial edited words (from saved edits) */
16
+ initialEditedWords?: EditableWord[];
17
+ /** Initial undo stack (from saved edits) */
18
+ initialUndoStack?: EditableWord[][];
19
+ /** Fired after every edit mutation (for persistence) */
20
+ onEditorStateChange?: (editedWords: EditableWord[], undoStack: EditableWord[][]) => void;
21
+ /** Fired when the hasEdits flag changes */
22
+ onHasEditsChange?: (hasEdits: boolean) => void;
23
+ /** Fired when the cursor moves (start time of the cursor word in ms, or null) */
24
+ onCursorTimestampChange?: (timestampMs: number | null) => void;
25
+ /** Fired whenever the edited words change — lets the host build raw-data views */
26
+ onEditedWordsRender?: (editedWords: EditableWord[]) => void;
27
+ /** Optional ref to the internal MediaPlayer (host escape hatch, e.g. thumbnail capture) */
28
+ playerRef?: React.Ref<MediaPlayerRef>;
29
+ /** Additional class name */
30
+ className?: string;
31
+ /**
32
+ * 'horizontal' (default): media stacked above the transcript.
33
+ * 'vertical': media and transcript side by side.
34
+ */
35
+ splitLayout?: 'horizontal' | 'vertical';
36
+ }
37
+ declare const mediaEditorVariants: (props?: ({
38
+ splitLayout?: "horizontal" | "vertical" | null | undefined;
39
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
40
+ /**
41
+ * Media editor: MediaPlayer on top, an editable word-mode transcript below,
42
+ * and a toolbar with speed control, filler removal, and edit statistics.
43
+ *
44
+ * Interactions (ported from pulseclip's TranscriptViewer):
45
+ * - Click a word: seek and play just that word
46
+ * - Double-click: set a range anchor; click another word to select the range
47
+ * - Mouse-down + drag: select a range; long-press (500ms) opens the editor
48
+ * - Right-click: speed marker menu
49
+ * - Keyboard: arrows (+Shift to select), Home/End, Backspace/Delete toggle
50
+ * delete, Cmd/Ctrl+X/C/V cut/copy/paste, Cmd/Ctrl+Z undo, Space plays the
51
+ * edited timeline from the cursor, Enter opens the word editor
52
+ */
53
+ declare const MediaEditor: React.ForwardRefExoticComponent<MediaEditorProps & React.RefAttributes<HTMLDivElement>>;
54
+
55
+ /**
56
+ * FillerWordsModal — select filler words (and long silences) to mark deleted.
57
+ *
58
+ * Ported from pulseclip's TranscriptViewer for @mieweb/ui. Pure UI: match
59
+ * counts/durations come in via props (see useTranscriptEdits.fillerAnalysis);
60
+ * the selection is reported through onApply.
61
+ */
62
+
63
+ interface FillerWordsModalProps {
64
+ isOpen: boolean;
65
+ onClose: () => void;
66
+ /** Apply removal: selected filler words + optional silence threshold (seconds) */
67
+ onApply: (fillerWords: string[], removeSilenceAboveSec: number | null) => void;
68
+ /** Occurrence count per normalized word */
69
+ matchingCounts: Map<string, number>;
70
+ /** Total duration (ms) per filler word */
71
+ fillerDurations: Map<string, number>;
72
+ /** Count and total duration of silences at each threshold */
73
+ silenceCounts: SilenceThresholdCount[];
74
+ /** Current total edited duration in ms */
75
+ currentDurationMs: number;
76
+ }
77
+ /** Modal for selecting filler words to remove from the edited transcript */
78
+ declare const FillerWordsModal: React.FC<FillerWordsModalProps>;
79
+
80
+ /**
81
+ * WordEditorModal — edit a word's text or split a silence into segments.
82
+ *
83
+ * Ported from pulseclip's TranscriptViewer for @mieweb/ui. For silences,
84
+ * space-separated durations (e.g. "1 1 4 1") split the silence; the
85
+ * remainder becomes the final segment.
86
+ */
87
+
88
+ interface WordEditorModalProps {
89
+ isOpen: boolean;
90
+ editableWord: EditableWord | null;
91
+ onClose: () => void;
92
+ /** Save a new text for the word */
93
+ onSave: (newText: string) => void;
94
+ /** Split a silence into segments with the given durations (seconds) */
95
+ onSplitSilence: (durations: number[]) => void;
96
+ /** Toggle the word's deleted state */
97
+ onDelete: () => void;
98
+ }
99
+ /**
100
+ * Modal for editing a word or splitting a silence.
101
+ * For silences, enter space-separated durations (e.g., "1 1 4 1") to split.
102
+ */
103
+ declare const WordEditorModal: React.FC<WordEditorModalProps>;
104
+
105
+ /**
106
+ * SilenceSettingsModal — configure silence detection thresholds.
107
+ *
108
+ * Ported from pulseclip's TranscriptViewer for @mieweb/ui. The paragraph
109
+ * break threshold is clamped to be >= the minimum silence duration.
110
+ */
111
+
112
+ interface SilenceSettingsModalProps {
113
+ isOpen: boolean;
114
+ onClose: () => void;
115
+ /** Current minimum silence duration (ms) */
116
+ minSilenceMs: number;
117
+ /** Current paragraph break threshold (ms) */
118
+ nlSilenceMs: number;
119
+ /** Apply new thresholds (both in ms) */
120
+ onApply: (minSilenceMs: number, nlSilenceMs: number) => void;
121
+ }
122
+ /** Modal for configuring silence detection settings */
123
+ declare const SilenceSettingsModal: React.FC<SilenceSettingsModalProps>;
124
+
125
+ /**
126
+ * SpeedMarkerMenu — context-menu popup for setting per-word speed markers.
127
+ *
128
+ * Ported from pulseclip's TranscriptViewer for @mieweb/ui. Hand-built (plain
129
+ * elements + tokens): a positioned context menu has no @mieweb/ui primitive.
130
+ */
131
+
132
+ interface SpeedMarkerMenuProps {
133
+ isOpen: boolean;
134
+ /** Viewport coordinates for the menu (already clamped by the caller) */
135
+ position: {
136
+ x: number;
137
+ y: number;
138
+ } | null;
139
+ /** The edited-word index the menu applies to */
140
+ wordIndex: number | null;
141
+ /** Existing marker at that word, if any */
142
+ currentMarker: SpeedMarker | undefined;
143
+ defaultSpeed: PlaybackSpeed;
144
+ onSetSpeed: (speed: PlaybackSpeed) => void;
145
+ onRemoveMarker: () => void;
146
+ onClose: () => void;
147
+ }
148
+ /** Popup menu for setting speed markers on a word */
149
+ declare const SpeedMarkerMenu: React.FC<SpeedMarkerMenuProps>;
150
+
151
+ export { FillerWordsModal, type FillerWordsModalProps, MediaEditor, type MediaEditorProps, SilenceSettingsModal, type SilenceSettingsModalProps, SpeedMarkerMenu, type SpeedMarkerMenuProps, WordEditorModal, type WordEditorModalProps };
@@ -0,0 +1,151 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { T as Transcript, E as EditableWord, S as SpeedMarker, P as PlaybackSpeed } from '../../transcript-oaWqY3yr.js';
5
+ import { MediaKind, MediaPlayerRef } from '../MediaPlayer/index.js';
6
+ import { S as SilenceThresholdCount } from '../../useTranscriptEdits-CWYnjbGP.js';
7
+
8
+ interface MediaEditorProps extends VariantProps<typeof mediaEditorVariants> {
9
+ /** Media URL */
10
+ src: string;
11
+ /** Force the media kind; inferred from the src extension when omitted */
12
+ kind?: MediaKind;
13
+ /** The source transcript (canonical, immutable) */
14
+ transcript: Transcript;
15
+ /** Initial edited words (from saved edits) */
16
+ initialEditedWords?: EditableWord[];
17
+ /** Initial undo stack (from saved edits) */
18
+ initialUndoStack?: EditableWord[][];
19
+ /** Fired after every edit mutation (for persistence) */
20
+ onEditorStateChange?: (editedWords: EditableWord[], undoStack: EditableWord[][]) => void;
21
+ /** Fired when the hasEdits flag changes */
22
+ onHasEditsChange?: (hasEdits: boolean) => void;
23
+ /** Fired when the cursor moves (start time of the cursor word in ms, or null) */
24
+ onCursorTimestampChange?: (timestampMs: number | null) => void;
25
+ /** Fired whenever the edited words change — lets the host build raw-data views */
26
+ onEditedWordsRender?: (editedWords: EditableWord[]) => void;
27
+ /** Optional ref to the internal MediaPlayer (host escape hatch, e.g. thumbnail capture) */
28
+ playerRef?: React.Ref<MediaPlayerRef>;
29
+ /** Additional class name */
30
+ className?: string;
31
+ /**
32
+ * 'horizontal' (default): media stacked above the transcript.
33
+ * 'vertical': media and transcript side by side.
34
+ */
35
+ splitLayout?: 'horizontal' | 'vertical';
36
+ }
37
+ declare const mediaEditorVariants: (props?: ({
38
+ splitLayout?: "horizontal" | "vertical" | null | undefined;
39
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
40
+ /**
41
+ * Media editor: MediaPlayer on top, an editable word-mode transcript below,
42
+ * and a toolbar with speed control, filler removal, and edit statistics.
43
+ *
44
+ * Interactions (ported from pulseclip's TranscriptViewer):
45
+ * - Click a word: seek and play just that word
46
+ * - Double-click: set a range anchor; click another word to select the range
47
+ * - Mouse-down + drag: select a range; long-press (500ms) opens the editor
48
+ * - Right-click: speed marker menu
49
+ * - Keyboard: arrows (+Shift to select), Home/End, Backspace/Delete toggle
50
+ * delete, Cmd/Ctrl+X/C/V cut/copy/paste, Cmd/Ctrl+Z undo, Space plays the
51
+ * edited timeline from the cursor, Enter opens the word editor
52
+ */
53
+ declare const MediaEditor: React.ForwardRefExoticComponent<MediaEditorProps & React.RefAttributes<HTMLDivElement>>;
54
+
55
+ /**
56
+ * FillerWordsModal — select filler words (and long silences) to mark deleted.
57
+ *
58
+ * Ported from pulseclip's TranscriptViewer for @mieweb/ui. Pure UI: match
59
+ * counts/durations come in via props (see useTranscriptEdits.fillerAnalysis);
60
+ * the selection is reported through onApply.
61
+ */
62
+
63
+ interface FillerWordsModalProps {
64
+ isOpen: boolean;
65
+ onClose: () => void;
66
+ /** Apply removal: selected filler words + optional silence threshold (seconds) */
67
+ onApply: (fillerWords: string[], removeSilenceAboveSec: number | null) => void;
68
+ /** Occurrence count per normalized word */
69
+ matchingCounts: Map<string, number>;
70
+ /** Total duration (ms) per filler word */
71
+ fillerDurations: Map<string, number>;
72
+ /** Count and total duration of silences at each threshold */
73
+ silenceCounts: SilenceThresholdCount[];
74
+ /** Current total edited duration in ms */
75
+ currentDurationMs: number;
76
+ }
77
+ /** Modal for selecting filler words to remove from the edited transcript */
78
+ declare const FillerWordsModal: React.FC<FillerWordsModalProps>;
79
+
80
+ /**
81
+ * WordEditorModal — edit a word's text or split a silence into segments.
82
+ *
83
+ * Ported from pulseclip's TranscriptViewer for @mieweb/ui. For silences,
84
+ * space-separated durations (e.g. "1 1 4 1") split the silence; the
85
+ * remainder becomes the final segment.
86
+ */
87
+
88
+ interface WordEditorModalProps {
89
+ isOpen: boolean;
90
+ editableWord: EditableWord | null;
91
+ onClose: () => void;
92
+ /** Save a new text for the word */
93
+ onSave: (newText: string) => void;
94
+ /** Split a silence into segments with the given durations (seconds) */
95
+ onSplitSilence: (durations: number[]) => void;
96
+ /** Toggle the word's deleted state */
97
+ onDelete: () => void;
98
+ }
99
+ /**
100
+ * Modal for editing a word or splitting a silence.
101
+ * For silences, enter space-separated durations (e.g., "1 1 4 1") to split.
102
+ */
103
+ declare const WordEditorModal: React.FC<WordEditorModalProps>;
104
+
105
+ /**
106
+ * SilenceSettingsModal — configure silence detection thresholds.
107
+ *
108
+ * Ported from pulseclip's TranscriptViewer for @mieweb/ui. The paragraph
109
+ * break threshold is clamped to be >= the minimum silence duration.
110
+ */
111
+
112
+ interface SilenceSettingsModalProps {
113
+ isOpen: boolean;
114
+ onClose: () => void;
115
+ /** Current minimum silence duration (ms) */
116
+ minSilenceMs: number;
117
+ /** Current paragraph break threshold (ms) */
118
+ nlSilenceMs: number;
119
+ /** Apply new thresholds (both in ms) */
120
+ onApply: (minSilenceMs: number, nlSilenceMs: number) => void;
121
+ }
122
+ /** Modal for configuring silence detection settings */
123
+ declare const SilenceSettingsModal: React.FC<SilenceSettingsModalProps>;
124
+
125
+ /**
126
+ * SpeedMarkerMenu — context-menu popup for setting per-word speed markers.
127
+ *
128
+ * Ported from pulseclip's TranscriptViewer for @mieweb/ui. Hand-built (plain
129
+ * elements + tokens): a positioned context menu has no @mieweb/ui primitive.
130
+ */
131
+
132
+ interface SpeedMarkerMenuProps {
133
+ isOpen: boolean;
134
+ /** Viewport coordinates for the menu (already clamped by the caller) */
135
+ position: {
136
+ x: number;
137
+ y: number;
138
+ } | null;
139
+ /** The edited-word index the menu applies to */
140
+ wordIndex: number | null;
141
+ /** Existing marker at that word, if any */
142
+ currentMarker: SpeedMarker | undefined;
143
+ defaultSpeed: PlaybackSpeed;
144
+ onSetSpeed: (speed: PlaybackSpeed) => void;
145
+ onRemoveMarker: () => void;
146
+ onClose: () => void;
147
+ }
148
+ /** Popup menu for setting speed markers on a word */
149
+ declare const SpeedMarkerMenu: React.FC<SpeedMarkerMenuProps>;
150
+
151
+ export { FillerWordsModal, type FillerWordsModalProps, MediaEditor, type MediaEditorProps, SilenceSettingsModal, type SilenceSettingsModalProps, SpeedMarkerMenu, type SpeedMarkerMenuProps, WordEditorModal, type WordEditorModalProps };
@@ -0,0 +1,19 @@
1
+ export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from '../../chunk-YVLP3ATI.js';
2
+ import '../../chunk-J7KWQJOB.js';
3
+ import '../../chunk-JBB25LFB.js';
4
+ import '../../chunk-S6Z3KDEM.js';
5
+ import '../../chunk-XCLQZ4FV.js';
6
+ import '../../chunk-J7Z7467B.js';
7
+ import '../../chunk-IUFDGB5O.js';
8
+ import '../../chunk-PVUDXJAI.js';
9
+ import '../../chunk-ZVSW2KS6.js';
10
+ import '../../chunk-NTYGCBCL.js';
11
+ import '../../chunk-SQHMGT4W.js';
12
+ import '../../chunk-4SMSH4OY.js';
13
+ import '../../chunk-T4ME7QCT.js';
14
+ import '../../chunk-62ZOA6PX.js';
15
+ import '../../chunk-QA6ZDHFP.js';
16
+ import '../../chunk-F3SOEIN2.js';
17
+ import '../../chunk-VSQF22GL.js';
18
+ //# sourceMappingURL=index.js.map
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ require('../../chunk-GLXTVCHN.cjs');
4
+ var chunk7QXG5BBB_cjs = require('../../chunk-7QXG5BBB.cjs');
5
+ require('../../chunk-A2QVQF54.cjs');
6
+ require('../../chunk-JYZW2PZS.cjs');
7
+ require('../../chunk-OR5DRJCW.cjs');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "MediaPlayer", {
12
+ enumerable: true,
13
+ get: function () { return chunk7QXG5BBB_cjs.MediaPlayer; }
14
+ });
15
+ Object.defineProperty(exports, "inferMediaKind", {
16
+ enumerable: true,
17
+ get: function () { return chunk7QXG5BBB_cjs.inferMediaKind; }
18
+ });
19
+ Object.defineProperty(exports, "mediaPlayerVariants", {
20
+ enumerable: true,
21
+ get: function () { return chunk7QXG5BBB_cjs.mediaPlayerVariants; }
22
+ });
23
+ //# sourceMappingURL=index.cjs.map
24
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,71 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ type MediaPlayerState = 'idle' | 'loading' | 'playing' | 'paused' | 'error';
6
+ type MediaKind = 'video' | 'audio';
7
+ /** Ref handle for controlling {@link MediaPlayer} programmatically. */
8
+ interface MediaPlayerRef {
9
+ /** Seek to a specific time in milliseconds. */
10
+ seekToMs: (timeMs: number) => void;
11
+ /** Start playback. */
12
+ play: () => void;
13
+ /** Pause playback. */
14
+ pause: () => void;
15
+ /** Get current playback time in milliseconds. */
16
+ getCurrentTimeMs: () => number;
17
+ /** Get total duration in milliseconds. */
18
+ getDurationMs: () => number;
19
+ /** Whether playback is currently paused. */
20
+ isPaused: () => boolean;
21
+ /** Set playback speed multiplier. */
22
+ setPlaybackRate: (rate: number) => void;
23
+ /**
24
+ * The underlying media element.
25
+ * Escape hatch for host integrations (e.g. thumbnail capture); prefer the
26
+ * typed methods above for playback control.
27
+ */
28
+ mediaElement: HTMLVideoElement | HTMLAudioElement | null;
29
+ }
30
+ interface MediaPlayerProps extends VariantProps<typeof mediaPlayerVariants> {
31
+ /** Media source URL. */
32
+ src: string;
33
+ /** Force the media kind; when omitted it is inferred from the src extension. */
34
+ kind?: MediaKind;
35
+ /** Whether to show native controls (default `true`). */
36
+ controls?: boolean;
37
+ /** Callback when playback state changes. */
38
+ onStateChange?: (state: MediaPlayerState) => void;
39
+ /** Callback when playback ends. */
40
+ onEnded?: () => void;
41
+ /** Callback when an error occurs. */
42
+ onError?: (error: Error) => void;
43
+ /** Callback on time updates (milliseconds). */
44
+ onTimeUpdate?: (currentTimeMs: number, durationMs: number) => void;
45
+ /** Additional class name. */
46
+ className?: string;
47
+ /** Accessible label for the media element. */
48
+ 'aria-label'?: string;
49
+ /**
50
+ * Transitional: exposes the raw media element to legacy consumers.
51
+ * Prefer {@link MediaPlayerRef} for playback control.
52
+ */
53
+ mediaElementRef?: React.RefObject<HTMLVideoElement | HTMLAudioElement | null>;
54
+ }
55
+ declare const mediaPlayerVariants: (props?: ({
56
+ variant?: "card" | "plain" | null | undefined;
57
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
58
+ /** Infer media kind from a URL's file extension; defaults to audio. */
59
+ declare function inferMediaKind(src: string): MediaKind;
60
+ /**
61
+ * Media playback surface for audio and video with a shared imperative handle.
62
+ *
63
+ * Renders a native `<video>` or `<audio>` element (kind inferred from the src
64
+ * extension unless forced) with themed error/retry handling. Playback state and
65
+ * controls come from the shared {@link useMediaTransport} hook and are exposed
66
+ * through {@link MediaPlayerRef} (all times in milliseconds) — consumers should
67
+ * not reach into the DOM element directly.
68
+ */
69
+ declare const MediaPlayer: React.ForwardRefExoticComponent<MediaPlayerProps & React.RefAttributes<MediaPlayerRef>>;
70
+
71
+ export { type MediaKind, MediaPlayer, type MediaPlayerProps, type MediaPlayerRef, type MediaPlayerState, inferMediaKind, mediaPlayerVariants };
@@ -0,0 +1,71 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ type MediaPlayerState = 'idle' | 'loading' | 'playing' | 'paused' | 'error';
6
+ type MediaKind = 'video' | 'audio';
7
+ /** Ref handle for controlling {@link MediaPlayer} programmatically. */
8
+ interface MediaPlayerRef {
9
+ /** Seek to a specific time in milliseconds. */
10
+ seekToMs: (timeMs: number) => void;
11
+ /** Start playback. */
12
+ play: () => void;
13
+ /** Pause playback. */
14
+ pause: () => void;
15
+ /** Get current playback time in milliseconds. */
16
+ getCurrentTimeMs: () => number;
17
+ /** Get total duration in milliseconds. */
18
+ getDurationMs: () => number;
19
+ /** Whether playback is currently paused. */
20
+ isPaused: () => boolean;
21
+ /** Set playback speed multiplier. */
22
+ setPlaybackRate: (rate: number) => void;
23
+ /**
24
+ * The underlying media element.
25
+ * Escape hatch for host integrations (e.g. thumbnail capture); prefer the
26
+ * typed methods above for playback control.
27
+ */
28
+ mediaElement: HTMLVideoElement | HTMLAudioElement | null;
29
+ }
30
+ interface MediaPlayerProps extends VariantProps<typeof mediaPlayerVariants> {
31
+ /** Media source URL. */
32
+ src: string;
33
+ /** Force the media kind; when omitted it is inferred from the src extension. */
34
+ kind?: MediaKind;
35
+ /** Whether to show native controls (default `true`). */
36
+ controls?: boolean;
37
+ /** Callback when playback state changes. */
38
+ onStateChange?: (state: MediaPlayerState) => void;
39
+ /** Callback when playback ends. */
40
+ onEnded?: () => void;
41
+ /** Callback when an error occurs. */
42
+ onError?: (error: Error) => void;
43
+ /** Callback on time updates (milliseconds). */
44
+ onTimeUpdate?: (currentTimeMs: number, durationMs: number) => void;
45
+ /** Additional class name. */
46
+ className?: string;
47
+ /** Accessible label for the media element. */
48
+ 'aria-label'?: string;
49
+ /**
50
+ * Transitional: exposes the raw media element to legacy consumers.
51
+ * Prefer {@link MediaPlayerRef} for playback control.
52
+ */
53
+ mediaElementRef?: React.RefObject<HTMLVideoElement | HTMLAudioElement | null>;
54
+ }
55
+ declare const mediaPlayerVariants: (props?: ({
56
+ variant?: "card" | "plain" | null | undefined;
57
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
58
+ /** Infer media kind from a URL's file extension; defaults to audio. */
59
+ declare function inferMediaKind(src: string): MediaKind;
60
+ /**
61
+ * Media playback surface for audio and video with a shared imperative handle.
62
+ *
63
+ * Renders a native `<video>` or `<audio>` element (kind inferred from the src
64
+ * extension unless forced) with themed error/retry handling. Playback state and
65
+ * controls come from the shared {@link useMediaTransport} hook and are exposed
66
+ * through {@link MediaPlayerRef} (all times in milliseconds) — consumers should
67
+ * not reach into the DOM element directly.
68
+ */
69
+ declare const MediaPlayer: React.ForwardRefExoticComponent<MediaPlayerProps & React.RefAttributes<MediaPlayerRef>>;
70
+
71
+ export { type MediaKind, MediaPlayer, type MediaPlayerProps, type MediaPlayerRef, type MediaPlayerState, inferMediaKind, mediaPlayerVariants };
@@ -0,0 +1,7 @@
1
+ import '../../chunk-RISZWWEQ.js';
2
+ export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from '../../chunk-S6Z3KDEM.js';
3
+ import '../../chunk-ZVSW2KS6.js';
4
+ import '../../chunk-SQHMGT4W.js';
5
+ import '../../chunk-F3SOEIN2.js';
6
+ //# sourceMappingURL=index.js.map
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunkK7IGBNZA_cjs = require('../../chunk-K7IGBNZA.cjs');
3
+ var chunkTR2OJKQ4_cjs = require('../../chunk-TR2OJKQ4.cjs');
4
4
  require('../../chunk-OR5DRJCW.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "RecordButton", {
9
9
  enumerable: true,
10
- get: function () { return chunkK7IGBNZA_cjs.RecordButton; }
10
+ get: function () { return chunkTR2OJKQ4_cjs.RecordButton; }
11
11
  });
12
12
  Object.defineProperty(exports, "formatDuration", {
13
13
  enumerable: true,
14
- get: function () { return chunkK7IGBNZA_cjs.formatDuration; }
14
+ get: function () { return chunkTR2OJKQ4_cjs.formatDuration; }
15
15
  });
16
16
  Object.defineProperty(exports, "recordButtonVariants", {
17
17
  enumerable: true,
18
- get: function () { return chunkK7IGBNZA_cjs.recordButtonVariants; }
18
+ get: function () { return chunkTR2OJKQ4_cjs.recordButtonVariants; }
19
19
  });
20
20
  //# sourceMappingURL=index.cjs.map
21
21
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- export { RecordButton, formatDuration, recordButtonVariants } from '../../chunk-QVJBUWJQ.js';
1
+ export { RecordButton, formatDuration, recordButtonVariants } from '../../chunk-STPK44AU.js';
2
2
  import '../../chunk-F3SOEIN2.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ var chunkBLPCYP4D_cjs = require('../../chunk-BLPCYP4D.cjs');
4
+ require('../../chunk-OXYFTCRW.cjs');
5
+ require('../../chunk-MZPF2QGM.cjs');
6
+ require('../../chunk-MSRU3XBH.cjs');
7
+ require('../../chunk-A2QVQF54.cjs');
8
+ require('../../chunk-FHY3K6PL.cjs');
9
+ require('../../chunk-FSGEDDF2.cjs');
10
+ require('../../chunk-ZDEYV373.cjs');
11
+ var chunkC7RVKV25_cjs = require('../../chunk-C7RVKV25.cjs');
12
+ require('../../chunk-OR5DRJCW.cjs');
13
+
14
+
15
+
16
+ Object.defineProperty(exports, "RichTextEditor", {
17
+ enumerable: true,
18
+ get: function () { return chunkBLPCYP4D_cjs.RichTextEditor; }
19
+ });
20
+ Object.defineProperty(exports, "convertAngleBracketsToMustache", {
21
+ enumerable: true,
22
+ get: function () { return chunkBLPCYP4D_cjs.convertAngleBracketsToMustache; }
23
+ });
24
+ Object.defineProperty(exports, "processDictation", {
25
+ enumerable: true,
26
+ get: function () { return chunkBLPCYP4D_cjs.processDictation; }
27
+ });
28
+ Object.defineProperty(exports, "isHtmlEmpty", {
29
+ enumerable: true,
30
+ get: function () { return chunkC7RVKV25_cjs.isHtmlEmpty; }
31
+ });
32
+ //# sourceMappingURL=index.cjs.map
33
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,62 @@
1
+ import * as React from 'react';
2
+ export { i as isHtmlEmpty } from '../../html-MdxqSzjD.cjs';
3
+
4
+ interface RichTextVariable {
5
+ /** Human-readable label shown in the variable menu. */
6
+ label: string;
7
+ /** The token displayed for the variable (e.g. `{{employee.name}}`). */
8
+ value: string;
9
+ /** Optional text inserted instead of `value` (e.g. an expanded group). */
10
+ insertValue?: string;
11
+ }
12
+ interface RichTextVariableGroup {
13
+ /** Group heading shown in the variable menu. */
14
+ label: string;
15
+ /** Variables belonging to the group. */
16
+ variables: RichTextVariable[];
17
+ }
18
+ interface RichTextEditorProps {
19
+ /** Current HTML value of the editor. */
20
+ value: string;
21
+ /** Called with the updated HTML whenever the content changes. */
22
+ onChange: (value: string) => void;
23
+ /** Placeholder shown when the editor is empty. */
24
+ placeholder?: string;
25
+ /** Additional class for the editor wrapper. */
26
+ className?: string;
27
+ /**
28
+ * Variable groups for the "Insert variable" menu. When omitted the variable
29
+ * menu and the `<< >>` → `{{ }}` convert button are hidden.
30
+ */
31
+ variableGroups?: RichTextVariableGroup[];
32
+ /** Enable the speech-to-text dictation button. Defaults to true. */
33
+ enableDictation?: boolean;
34
+ /** Called when dictation cannot start (replaces native alerts). */
35
+ onDictationError?: (message: string) => void;
36
+ /** Disable editing and toolbar actions. */
37
+ disabled?: boolean;
38
+ /** Accessible label for the editable region. */
39
+ 'aria-label'?: string;
40
+ }
41
+ /**
42
+ * A presentational rich-text editor with formatting, template-variable
43
+ * insertion and optional speech-to-text dictation. Content is supplied and
44
+ * surfaced via `value`/`onChange` so it can be wired to any store. The variable
45
+ * menu is data-agnostic — pass `variableGroups` to populate it.
46
+ */
47
+ declare const RichTextEditor: React.ForwardRefExoticComponent<RichTextEditorProps & React.RefAttributes<HTMLDivElement>>;
48
+
49
+ /**
50
+ * Converts spoken punctuation words (e.g. "period", "comma") into the
51
+ * corresponding characters, using lightweight context heuristics so that words
52
+ * like "time period" or "the colon" are left intact. Pure and side-effect free
53
+ * so it can be unit tested independently of the editor.
54
+ */
55
+ declare function processDictation(text: string): string;
56
+ /**
57
+ * Converts `<<field>>` (and the HTML-encoded `&lt;&lt;field&gt;&gt;`) syntax
58
+ * into mustache `{{field}}` syntax. Pure helper operating on an HTML string.
59
+ */
60
+ declare function convertAngleBracketsToMustache(html: string): string;
61
+
62
+ export { RichTextEditor, type RichTextEditorProps, type RichTextVariable, type RichTextVariableGroup, convertAngleBracketsToMustache, processDictation };