@apple-pie/slice 0.1.42 → 0.1.43

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 (271) hide show
  1. package/dist/cjs/chunks/{AudioBubble-Cm9yHsXy.js → AudioBubble-DVv8x7ei.js} +4 -4
  2. package/dist/cjs/chunks/{Avatar-CX75jtaK.js → Avatar-C_RcdMan.js} +1 -1
  3. package/dist/cjs/chunks/{AvatarGroup-BREnvrjE.js → AvatarGroup-BJ5FA1xz.js} +1 -1
  4. package/dist/cjs/chunks/{Badge-96jvuXhS.js → Badge-CcJjIIq3.js} +1 -1
  5. package/dist/cjs/chunks/{Button-Ddtf_TCs.js → Button-C8_--WPm.js} +1 -1
  6. package/dist/cjs/chunks/{ButtonBar-DONvMqvY.js → ButtonBar-DrF6u8kP.js} +1 -1
  7. package/dist/cjs/chunks/{Camera-DnCDsNTQ.js → Camera-DLDdaks3.js} +5 -5
  8. package/dist/cjs/chunks/{CheckBox-Cs1kMs8S.js → CheckBox-cBC2ogLO.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-DykMwI0k.js → Chip-NEJWWZe1.js} +1 -1
  10. package/dist/cjs/chunks/{DivInput-BvsEXIa2.js → DivInput-CoCYWefH.js} +1 -1
  11. package/dist/cjs/chunks/{Dot-DhkLAHrQ.js → Dot-PUjIvbKa.js} +1 -1
  12. package/dist/cjs/chunks/{DrggablePanel-CPtsIiK8.js → DrggablePanel-Vq4bAKu1.js} +4 -4
  13. package/dist/cjs/chunks/{DropDown-DPfxtssW.js → DropDown-JInjqB5Y.js} +1 -1
  14. package/dist/cjs/chunks/{ErrorSummary-Dv6XJnlI.js → ErrorSummary-AVYbEF_g.js} +4 -4
  15. package/dist/cjs/chunks/{FileIcon-B0duhy3c.js → FileIcon-BPAzaXAt.js} +4 -4
  16. package/dist/cjs/chunks/{FileList--dYOsoCc.js → FileList-CQhbZHbY.js} +1 -1
  17. package/dist/cjs/chunks/{FlexDiv-BNtiPqhw.js → FlexDiv-Dql7iTFb.js} +1 -1
  18. package/dist/cjs/chunks/{Grouper-DZjzGTWU.js → Grouper-DnWExqjo.js} +4 -4
  19. package/dist/cjs/chunks/{Icon--hX3u4Xq.js → Icon-8QuM6PRf.js} +4 -4
  20. package/dist/cjs/chunks/{IconButton-DQy0khcT.js → IconButton-BfvKRPF0.js} +1 -1
  21. package/dist/cjs/chunks/{IndexedDB-D33QVHZz.js → IndexedDB-Bje9-zII.js} +1 -1
  22. package/dist/cjs/chunks/{Label-DVsWGQ5e.js → Label-Cj7pPrQE.js} +1 -1
  23. package/dist/cjs/chunks/{Level-CAskubaS.js → Level-BQroVfP-.js} +1 -1
  24. package/dist/cjs/chunks/{Modal-DTmIHqut.js → Modal-B1zBYZNA.js} +1 -1
  25. package/dist/cjs/chunks/{ModalController-Bymhb0p4.js → ModalController-QKGEcYWI.js} +3 -3
  26. package/dist/cjs/chunks/{Overlay-CcGtZR5b.js → Overlay-CWb4rAdA.js} +1 -1
  27. package/dist/cjs/chunks/{Pager-DJ364W05.js → Pager-zWKzABAT.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-CzTIgSaR.js → ProgressIndicator-C9bvLrck.js} +4 -4
  29. package/dist/cjs/chunks/{PromptInput-D8y5Kqdw.js → PromptInput-C93NLI6t.js} +5 -5
  30. package/dist/cjs/chunks/{RadioButton-DGrFQ0HH.js → RadioButton-68n0J1td.js} +1 -1
  31. package/dist/cjs/chunks/{RadioButtonList-Bbr2brXz.js → RadioButtonList-BhikIgcw.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-7mX9CMLj.js → Slider-UDlSHjiR.js} +4 -4
  33. package/dist/cjs/chunks/{Spacer-ClDOx3_n.js → Spacer-C-jTTNMg.js} +1 -1
  34. package/dist/cjs/chunks/{Switch-g0QOgH1C.js → Switch-BGr505Fu.js} +1 -1
  35. package/dist/cjs/chunks/{TabBar-BLhdRUIr.js → TabBar-BfxEzaa4.js} +5 -5
  36. package/dist/cjs/chunks/{TextArea-CeCD7dvE.js → TextArea-BX5K4g86.js} +1 -1
  37. package/dist/cjs/chunks/{TextField-B5oNh53h.js → TextField-CcQD_y3l.js} +5 -5
  38. package/dist/cjs/chunks/{Tip-CUlSqr0w.js → Tip-CgCUNWWg.js} +1 -1
  39. package/dist/cjs/chunks/{Toast-B21mzlsK.js → Toast-5l4r8cdV.js} +5 -5
  40. package/dist/cjs/chunks/{ToggleButton-n_9ddA24.js → ToggleButton-C0ZYea67.js} +1 -1
  41. package/dist/cjs/chunks/{UploadArea-DjPjWWyj.js → UploadArea-DrsgfDME.js} +1 -1
  42. package/dist/cjs/chunks/{Video-X8Hhs72_.js → Video-_nIf0Wt-.js} +1 -1
  43. package/dist/cjs/chunks/{VideoController-ConanUTi.js → VideoController-CV2tnTh0.js} +4 -4
  44. package/dist/cjs/chunks/{WSConnection-rQmPln_G.js → WSConnection-EjlOlufP.js} +1 -1
  45. package/dist/cjs/chunks/{WebRTCConnection-XKeWuX3F.js → WebRTCConnection-72YFnMm3.js} +1 -1
  46. package/dist/cjs/chunks/{localDBStore-CjkEiNmM.js → localDBStore-BHHiMyZH.js} +1 -1
  47. package/dist/cjs/chunks/{microphoneStore-_Welo21Y.js → microphoneStore-BdACzgmA.js} +1 -1
  48. package/dist/cjs/chunks/{misc-V6GDR-Ld.js → misc-BD1HRncd.js} +1 -1
  49. package/dist/cjs/chunks/{sseStore-B_znAGnz.js → sseStore-m-W_RKIO.js} +2 -2
  50. package/dist/cjs/chunks/{uploads-worker-BcqbJ2XT.js → uploads-worker-CS_q2jkr.js} +1 -1
  51. package/dist/cjs/chunks/{uploadsStore-DmnLR5KV.js → uploadsStore-B9vUKZH5.js} +2 -2
  52. package/dist/cjs/chunks/{viewState-B08gdwcK.js → viewState-DmgjHoOp.js} +113 -13
  53. package/dist/cjs/chunks/{volumeStore-BF1kyqiz.js → volumeStore-uuVL43b7.js} +1 -1
  54. package/dist/cjs/chunks/{webRTCStore-LftkLLjP.js → webRTCStore-B-E2J01f.js} +1 -1
  55. package/dist/cjs/chunks/{windowStore-BQUT0Esh.js → windowStore-CQhMrEf5.js} +1 -1
  56. package/dist/cjs/components/AudioBubble/index.js +6 -6
  57. package/dist/cjs/components/Avatar/index.js +3 -3
  58. package/dist/cjs/components/AvatarGroup/index.js +3 -3
  59. package/dist/cjs/components/Badge/index.js +2 -2
  60. package/dist/cjs/components/Button/index.js +9 -9
  61. package/dist/cjs/components/ButtonBar/index.js +6 -6
  62. package/dist/cjs/components/Camera/index.js +7 -7
  63. package/dist/cjs/components/CheckBox/index.js +6 -6
  64. package/dist/cjs/components/Chip/index.js +7 -7
  65. package/dist/cjs/components/DataTable/index.js +6 -6
  66. package/dist/cjs/components/DivInput/index.js +3 -3
  67. package/dist/cjs/components/Dot/index.js +2 -2
  68. package/dist/cjs/components/DraggablePanel/index.js +5 -5
  69. package/dist/cjs/components/DropDown/index.js +6 -6
  70. package/dist/cjs/components/ErrorSummary/index.js +5 -5
  71. package/dist/cjs/components/FileIcon/index.js +5 -5
  72. package/dist/cjs/components/FileList/index.js +7 -7
  73. package/dist/cjs/components/FlexDiv/index.js +2 -2
  74. package/dist/cjs/components/Grouper/index.js +7 -7
  75. package/dist/cjs/components/Icon/index.js +5 -5
  76. package/dist/cjs/components/IconButton/index.js +8 -8
  77. package/dist/cjs/components/Label/index.js +3 -3
  78. package/dist/cjs/components/Level/index.js +3 -3
  79. package/dist/cjs/components/Modal/index.js +10 -10
  80. package/dist/cjs/components/ModalController/index.js +5 -5
  81. package/dist/cjs/components/Overlay/index.js +2 -2
  82. package/dist/cjs/components/Pager/index.js +3 -3
  83. package/dist/cjs/components/Progress/index.js +5 -5
  84. package/dist/cjs/components/PromptInput/index.js +9 -9
  85. package/dist/cjs/components/RadioButton/index.js +6 -6
  86. package/dist/cjs/components/RadioButtonList/index.js +7 -7
  87. package/dist/cjs/components/Slider/index.js +5 -5
  88. package/dist/cjs/components/Spacer/index.js +2 -2
  89. package/dist/cjs/components/Switch/index.js +2 -2
  90. package/dist/cjs/components/TabBar/index.js +8 -8
  91. package/dist/cjs/components/TextArea/index.js +9 -9
  92. package/dist/cjs/components/Textfield/index.js +9 -9
  93. package/dist/cjs/components/Tip/index.js +3 -3
  94. package/dist/cjs/components/Toast/index.js +6 -6
  95. package/dist/cjs/components/ToggleButton/index.js +9 -9
  96. package/dist/cjs/components/UploadArea/index.js +11 -12
  97. package/dist/cjs/components/Video/index.js +11 -11
  98. package/dist/cjs/components/VideoController/index.js +9 -9
  99. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  100. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  101. package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
  102. package/dist/cjs/hooks/useMicrophone.js +1 -1
  103. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  104. package/dist/cjs/hooks.js +3 -3
  105. package/dist/cjs/index.js +9 -9
  106. package/dist/cjs/stores/LocalDB.js +3 -3
  107. package/dist/cjs/stores/SSE.js +2 -2
  108. package/dist/cjs/stores/WS.js +2 -2
  109. package/dist/cjs/stores/WebRTC.js +2 -2
  110. package/dist/cjs/stores/microphone.js +2 -2
  111. package/dist/cjs/stores/modal.js +1 -1
  112. package/dist/cjs/stores/tip.js +1 -1
  113. package/dist/cjs/stores/toast.js +1 -1
  114. package/dist/cjs/stores/uploads.js +2 -2
  115. package/dist/cjs/stores/video.js +1 -1
  116. package/dist/cjs/stores/volume.js +2 -2
  117. package/dist/cjs/stores/window.js +2 -2
  118. package/dist/cjs/stores.js +4 -4
  119. package/dist/cjs/utils/index.js +2 -2
  120. package/dist/cjs/utils/objects/index.js +2 -2
  121. package/dist/cjs/workers/uploads/uploads.js +2 -2
  122. package/dist/esm/chunks/{AudioBubble-RmRIS-7d.mjs → AudioBubble-BRFQseqk.mjs} +6 -6
  123. package/dist/esm/chunks/{Avatar-BFo6BjmH.mjs → Avatar-Dt-n9rrn.mjs} +2 -2
  124. package/dist/esm/chunks/{AvatarGroup-E3J2SSMv.mjs → AvatarGroup-JrdUh_a7.mjs} +2 -2
  125. package/dist/esm/chunks/{Badge-BNoFISPQ.mjs → Badge-BW2WxvHN.mjs} +1 -1
  126. package/dist/esm/chunks/{Button-CZb74NLO.mjs → Button-BZytiaR4.mjs} +6 -6
  127. package/dist/esm/chunks/{ButtonBar-CXmffNHp.mjs → ButtonBar-CEzCaqZt.mjs} +3 -3
  128. package/dist/esm/chunks/{Camera-DHgbAEUm.mjs → Camera-BN_0XAyY.mjs} +8 -8
  129. package/dist/esm/chunks/{CheckBox-BE4hgI7F.mjs → CheckBox-BOdyteu-.mjs} +3 -3
  130. package/dist/esm/chunks/{Chip-DYKWamdy.mjs → Chip-DWeMn4tL.mjs} +4 -4
  131. package/dist/esm/chunks/{DivInput-Bc30Exwu.mjs → DivInput-6L3RHNX_.mjs} +2 -2
  132. package/dist/esm/chunks/{Dot-DuRIiyRz.mjs → Dot-fbFT4OcE.mjs} +1 -1
  133. package/dist/esm/chunks/{DrggablePanel-DqV1YwCg.mjs → DrggablePanel-D19CBxPI.mjs} +5 -5
  134. package/dist/esm/chunks/{DropDown-BbJqhsYM.mjs → DropDown-Brh1fgQU.mjs} +3 -3
  135. package/dist/esm/chunks/{ErrorSummary-Cn4MRJmj.mjs → ErrorSummary-MdyM8CA2.mjs} +5 -5
  136. package/dist/esm/chunks/{FileIcon-B4_BQFip.mjs → FileIcon-BfFmvS11.mjs} +5 -5
  137. package/dist/esm/chunks/{FileList-Cj2CYY_9.mjs → FileList-e8S9kUTk.mjs} +5 -5
  138. package/dist/esm/chunks/{FlexDiv-CbjmWBcR.mjs → FlexDiv-CE6OmTvi.mjs} +1 -1
  139. package/dist/esm/chunks/{Grouper-BKaJR-UM.mjs → Grouper-HI6jgRE5.mjs} +6 -6
  140. package/dist/esm/chunks/{Icon-CpLHegV5.mjs → Icon-qVUjH6UY.mjs} +5 -5
  141. package/dist/esm/chunks/{IconButton-h7T_ekPP.mjs → IconButton-Ryf6VCg4.mjs} +5 -5
  142. package/dist/esm/chunks/{IndexedDB-45_U7IIq.mjs → IndexedDB-Vmrc6oKn.mjs} +1 -1
  143. package/dist/esm/chunks/{Label-lWzgZCMd.mjs → Label-CZZymU3Q.mjs} +2 -2
  144. package/dist/esm/chunks/{Level-Bc9N_cNk.mjs → Level-BP2OOuaF.mjs} +3 -3
  145. package/dist/esm/chunks/{Modal-CUknCThX.mjs → Modal-BrzyEfxf.mjs} +5 -5
  146. package/dist/esm/chunks/{ModalController-BmnFYsKG.mjs → ModalController-aDZJe3BJ.mjs} +5 -5
  147. package/dist/esm/chunks/{Overlay-DQrbl0BZ.mjs → Overlay-Dc6fkzIf.mjs} +1 -1
  148. package/dist/esm/chunks/{Pager-DKKSC9CS.mjs → Pager-DosqPH_L.mjs} +2 -2
  149. package/dist/esm/chunks/{ProgressIndicator-hbzhNcoD.mjs → ProgressIndicator-BxIb1MFB.mjs} +5 -5
  150. package/dist/esm/chunks/{PromptInput-BKehxzSs.mjs → PromptInput-d8Lvl_Ba.mjs} +7 -7
  151. package/dist/esm/chunks/{RadioButton-0t4fTzy4.mjs → RadioButton-DFMeH18g.mjs} +3 -3
  152. package/dist/esm/chunks/{RadioButtonList-BS7eBkX2.mjs → RadioButtonList-BiAwI9SI.mjs} +3 -3
  153. package/dist/esm/chunks/{Slider-CO6SEixo.mjs → Slider-BrTR3O9N.mjs} +6 -6
  154. package/dist/esm/chunks/{Spacer-C6096P2f.mjs → Spacer-DrahdD7A.mjs} +1 -1
  155. package/dist/esm/chunks/{Switch-BOGvlWkI.mjs → Switch-Nwc1qX9C.mjs} +1 -1
  156. package/dist/esm/chunks/{TabBar-N9T4hzSr.mjs → TabBar-BxgRxUnA.mjs} +9 -9
  157. package/dist/esm/chunks/{TextArea-ksbDlj56.mjs → TextArea-By89U19b.mjs} +2 -2
  158. package/dist/esm/chunks/{TextField-35ptM83Q.mjs → TextField-Bgi7vOIQ.mjs} +8 -8
  159. package/dist/esm/chunks/{Tip-CqfBwJCT.mjs → Tip-B_EP7Vmk.mjs} +2 -2
  160. package/dist/esm/chunks/{Toast-B3IqrBpg.mjs → Toast-kgJ0O4Oy.mjs} +7 -7
  161. package/dist/esm/chunks/{ToggleButton-CEDmO_Bq.mjs → ToggleButton-fGSG0TE1.mjs} +2 -2
  162. package/dist/esm/chunks/{UploadArea-CLSF8l5e.mjs → UploadArea-CiB2qjtR.mjs} +4 -4
  163. package/dist/esm/chunks/{Video-BZFEreEg.mjs → Video-D-Idnpcz.mjs} +5 -5
  164. package/dist/esm/chunks/{VideoController-BabbcQji.mjs → VideoController-BKW28ojb.mjs} +8 -8
  165. package/dist/esm/chunks/{WSConnection-CCW9XDFQ.mjs → WSConnection-zS21YO-b.mjs} +1 -1
  166. package/dist/esm/chunks/{WebRTCConnection-Bj2D6Sa_.mjs → WebRTCConnection-YLZJFmHZ.mjs} +1 -1
  167. package/dist/esm/chunks/{localDBStore-Cze9_elI.mjs → localDBStore-BCBsWmHs.mjs} +2 -2
  168. package/dist/esm/chunks/{microphoneStore-CO8-b4gt.mjs → microphoneStore-B1Dtf36s.mjs} +1 -1
  169. package/dist/esm/chunks/{misc-DBWrv8Kl.mjs → misc--ZyHIQmL.mjs} +1 -1
  170. package/dist/esm/chunks/{sseStore-BNjdKHmN.mjs → sseStore-BZTuP42L.mjs} +2 -2
  171. package/dist/esm/chunks/{uploads-worker-BJooptoF.mjs → uploads-worker-BYZjIzhr.mjs} +1 -1
  172. package/dist/esm/chunks/{uploadsStore-Cp9U91kx.mjs → uploadsStore-C-G39tsH.mjs} +1 -1
  173. package/dist/esm/chunks/{viewState-B7gxzYQl.mjs → viewState-94AhBeDg.mjs} +115 -15
  174. package/dist/esm/chunks/{volumeStore-DHoAeahx.mjs → volumeStore-B5cIgXFy.mjs} +1 -1
  175. package/dist/esm/chunks/{webRTCStore-FL1z4Odf.mjs → webRTCStore-Dms1MoDQ.mjs} +2 -2
  176. package/dist/esm/chunks/{windowStore-DdQixhs7.mjs → windowStore-DYGMzncy.mjs} +1 -1
  177. package/dist/esm/components/AudioBubble/index.mjs +8 -8
  178. package/dist/esm/components/Avatar/index.mjs +3 -3
  179. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  180. package/dist/esm/components/Badge/index.mjs +2 -2
  181. package/dist/esm/components/Button/index.mjs +12 -12
  182. package/dist/esm/components/ButtonBar/index.mjs +8 -8
  183. package/dist/esm/components/Camera/index.mjs +10 -10
  184. package/dist/esm/components/CheckBox/index.mjs +8 -8
  185. package/dist/esm/components/Chip/index.mjs +9 -9
  186. package/dist/esm/components/DataTable/index.mjs +8 -8
  187. package/dist/esm/components/DivInput/index.mjs +3 -3
  188. package/dist/esm/components/Dot/index.mjs +2 -2
  189. package/dist/esm/components/DraggablePanel/index.mjs +7 -7
  190. package/dist/esm/components/DropDown/index.mjs +8 -8
  191. package/dist/esm/components/ErrorSummary/index.mjs +7 -7
  192. package/dist/esm/components/FileIcon/index.mjs +7 -7
  193. package/dist/esm/components/FileList/index.mjs +10 -10
  194. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  195. package/dist/esm/components/Grouper/index.mjs +9 -9
  196. package/dist/esm/components/Icon/index.mjs +8 -8
  197. package/dist/esm/components/IconButton/index.mjs +11 -11
  198. package/dist/esm/components/Label/index.mjs +3 -3
  199. package/dist/esm/components/Level/index.mjs +4 -4
  200. package/dist/esm/components/Modal/index.mjs +14 -14
  201. package/dist/esm/components/ModalController/index.mjs +8 -8
  202. package/dist/esm/components/Overlay/index.mjs +2 -2
  203. package/dist/esm/components/Pager/index.mjs +3 -3
  204. package/dist/esm/components/Progress/index.mjs +8 -8
  205. package/dist/esm/components/PromptInput/index.mjs +15 -15
  206. package/dist/esm/components/RadioButton/index.mjs +8 -8
  207. package/dist/esm/components/RadioButtonList/index.mjs +9 -9
  208. package/dist/esm/components/Slider/index.mjs +8 -8
  209. package/dist/esm/components/Spacer/index.mjs +2 -2
  210. package/dist/esm/components/Switch/index.mjs +2 -2
  211. package/dist/esm/components/TabBar/index.mjs +12 -12
  212. package/dist/esm/components/TextArea/index.mjs +13 -13
  213. package/dist/esm/components/Textfield/index.mjs +14 -14
  214. package/dist/esm/components/Tip/index.mjs +3 -3
  215. package/dist/esm/components/Toast/index.mjs +9 -9
  216. package/dist/esm/components/ToggleButton/index.mjs +13 -13
  217. package/dist/esm/components/UploadArea/index.mjs +13 -13
  218. package/dist/esm/components/Video/index.mjs +16 -16
  219. package/dist/esm/components/VideoController/index.mjs +14 -14
  220. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  221. package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
  222. package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
  223. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  224. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  225. package/dist/esm/hooks.mjs +6 -6
  226. package/dist/esm/index.mjs +57 -57
  227. package/dist/esm/stores/LocalDB.mjs +3 -3
  228. package/dist/esm/stores/SSE.mjs +3 -3
  229. package/dist/esm/stores/WS.mjs +2 -2
  230. package/dist/esm/stores/WebRTC.mjs +3 -3
  231. package/dist/esm/stores/microphone.mjs +2 -2
  232. package/dist/esm/stores/modal.mjs +1 -1
  233. package/dist/esm/stores/tip.mjs +1 -1
  234. package/dist/esm/stores/toast.mjs +1 -1
  235. package/dist/esm/stores/uploads.mjs +3 -3
  236. package/dist/esm/stores/video.mjs +1 -1
  237. package/dist/esm/stores/volume.mjs +2 -2
  238. package/dist/esm/stores/window.mjs +2 -2
  239. package/dist/esm/stores.mjs +16 -16
  240. package/dist/esm/utils/index.mjs +10 -10
  241. package/dist/esm/utils/objects/index.mjs +7 -7
  242. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  243. package/dist/styles.css +32 -6
  244. package/dist/types/components/DataTable/_types.d.ts +3 -0
  245. package/dist/types/components/DataTable/_useDragColumn.d.ts +14 -0
  246. package/dist/types/components/DataTable/columnHelper.d.ts +5 -0
  247. package/package.json +1 -1
  248. /package/dist/cjs/chunks/{MdStreamBuffer-DctKEHC2.js → MdStreamBuffer-lmh4kxgB.js} +0 -0
  249. /package/dist/cjs/chunks/{SSEConnection-DVbJx6fs.js → SSEConnection-CV7OvpUR.js} +0 -0
  250. /package/dist/cjs/chunks/{_types-DSsFQI29.js → _types-BYTz9zqz.js} +0 -0
  251. /package/dist/cjs/chunks/{audioVisualizer-CBL-tQio.js → audioVisualizer-D8KXW3Vw.js} +0 -0
  252. /package/dist/cjs/chunks/{colors-DBqXFbm2.js → colors-CZopyRJo.js} +0 -0
  253. /package/dist/cjs/chunks/{debounce-Dh4YSsmR.js → debounce-BzxHYGvJ.js} +0 -0
  254. /package/dist/cjs/chunks/{modalStore-Dldchkjx.js → modalStore-BYGXd9_f.js} +0 -0
  255. /package/dist/cjs/chunks/{sharedTypes-dZCB5xs7.js → sharedTypes-DNjkrmLh.js} +0 -0
  256. /package/dist/cjs/chunks/{tipStore-DaRl8GmW.js → tipStore-BRQZT8Pj.js} +0 -0
  257. /package/dist/cjs/chunks/{toastStore-X9cAuAVw.js → toastStore-GXggV-O_.js} +0 -0
  258. /package/dist/cjs/chunks/{tslib.es6-YdeGB_Pn.js → tslib.es6-CY7UXVzV.js} +0 -0
  259. /package/dist/cjs/chunks/{videoStore-Dl_OJzZ8.js → videoStore-B43SSkDF.js} +0 -0
  260. /package/dist/esm/chunks/{MdStreamBuffer-HPGHLqiC.mjs → MdStreamBuffer-C3z6-LpW.mjs} +0 -0
  261. /package/dist/esm/chunks/{SSEConnection-kEyZEEEm.mjs → SSEConnection-BtDJoiup.mjs} +0 -0
  262. /package/dist/esm/chunks/{_types-jQin_oWP.mjs → _types-CBHVqX6q.mjs} +0 -0
  263. /package/dist/esm/chunks/{audioVisualizer-DqfUbZLW.mjs → audioVisualizer-CXLuOPl4.mjs} +0 -0
  264. /package/dist/esm/chunks/{colors-oLvyNYnR.mjs → colors-70dW0TWM.mjs} +0 -0
  265. /package/dist/esm/chunks/{debounce-CaR2ZNWB.mjs → debounce-Dr96LW_R.mjs} +0 -0
  266. /package/dist/esm/chunks/{modalStore-XVfmmvlZ.mjs → modalStore-llQRAaUx.mjs} +0 -0
  267. /package/dist/esm/chunks/{sharedTypes-B6V0j136.mjs → sharedTypes-C_JoMrsd.mjs} +0 -0
  268. /package/dist/esm/chunks/{tipStore-DQ2VwYLy.mjs → tipStore-BUNXJpGv.mjs} +0 -0
  269. /package/dist/esm/chunks/{toastStore-B-zw2Ba2.mjs → toastStore-CHi4PnhN.mjs} +0 -0
  270. /package/dist/esm/chunks/{tslib.es6-l-UorzsO.mjs → tslib.es6-BdBaT9_q.mjs} +0 -0
  271. /package/dist/esm/chunks/{videoStore-DpIm3vjz.mjs → videoStore-BHPpyl3e.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-l-UorzsO.mjs";
2
+ import { _ as __rest } from "./tslib.es6-BdBaT9_q.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
@@ -11,21 +11,21 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import { s as setStyle } from "./misc-DBWrv8Kl.mjs";
14
+ import { s as setStyle } from "./misc--ZyHIQmL.mjs";
15
15
 
16
- import "./webRTCStore-FL1z4Odf.mjs";
16
+ import "./webRTCStore-Dms1MoDQ.mjs";
17
17
 
18
- import "./microphoneStore-CO8-b4gt.mjs";
18
+ import "./microphoneStore-B1Dtf36s.mjs";
19
19
 
20
- import "./volumeStore-DHoAeahx.mjs";
20
+ import "./volumeStore-B5cIgXFy.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { B as Button } from "./Button-CZb74NLO.mjs";
24
+ import { B as Button } from "./Button-BZytiaR4.mjs";
25
25
 
26
- import { I as Icon } from "./Icon-CpLHegV5.mjs";
26
+ import { I as Icon } from "./Icon-qVUjH6UY.mjs";
27
27
 
28
- import { I as IconButton } from "./IconButton-h7T_ekPP.mjs";
28
+ import { I as IconButton } from "./IconButton-Ryf6VCg4.mjs";
29
29
 
30
30
  var css = {
31
31
  wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-l-UorzsO.mjs";
2
+ import { _ as __rest } from "./tslib.es6-BdBaT9_q.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -7,7 +7,7 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useState, useRef, useEffect, useMemo } from "react";
9
9
 
10
- import { f as filterClasses } from "./misc-DBWrv8Kl.mjs";
10
+ import { f as filterClasses } from "./misc--ZyHIQmL.mjs";
11
11
 
12
12
  var css = {
13
13
  wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-l-UorzsO.mjs";
2
+ import { _ as __rest } from "./tslib.es6-BdBaT9_q.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -11,19 +11,19 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-DBWrv8Kl.mjs";
14
+ import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc--ZyHIQmL.mjs";
15
15
 
16
- import "./webRTCStore-FL1z4Odf.mjs";
16
+ import "./webRTCStore-Dms1MoDQ.mjs";
17
17
 
18
- import "./microphoneStore-CO8-b4gt.mjs";
18
+ import "./microphoneStore-B1Dtf36s.mjs";
19
19
 
20
- import "./volumeStore-DHoAeahx.mjs";
20
+ import "./volumeStore-B5cIgXFy.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-CpLHegV5.mjs";
24
+ import { I as Icon } from "./Icon-qVUjH6UY.mjs";
25
25
 
26
- import { P as ProgressIndicator } from "./ProgressIndicator-hbzhNcoD.mjs";
26
+ import { P as ProgressIndicator } from "./ProgressIndicator-BxIb1MFB.mjs";
27
27
 
28
28
  var ToastType, css = {
29
29
  wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
@@ -3,9 +3,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
 
4
4
  import { useMemo } from "react";
5
5
 
6
- import { I as IconButton } from "./IconButton-h7T_ekPP.mjs";
6
+ import { I as IconButton } from "./IconButton-Ryf6VCg4.mjs";
7
7
 
8
- import { L as Label } from "./Label-lWzgZCMd.mjs";
8
+ import { L as Label } from "./Label-CZZymU3Q.mjs";
9
9
 
10
10
  var css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
11
11
 
@@ -3,13 +3,13 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
 
4
4
  import React, { useState, useRef, useId, useCallback, useMemo } from "react";
5
5
 
6
- import { s as setStyle, a as accessibleKeyDown } from "./misc-DBWrv8Kl.mjs";
6
+ import { s as setStyle, a as accessibleKeyDown } from "./misc--ZyHIQmL.mjs";
7
7
 
8
- import { I as Icon } from "./Icon-CpLHegV5.mjs";
8
+ import { F as FileList } from "./FileList-e8S9kUTk.mjs";
9
9
 
10
- import { P as ProgressIndicator } from "./ProgressIndicator-hbzhNcoD.mjs";
10
+ import { I as Icon } from "./Icon-qVUjH6UY.mjs";
11
11
 
12
- import { F as FileList } from "./FileList-Cj2CYY_9.mjs";
12
+ import { P as ProgressIndicator } from "./ProgressIndicator-BxIb1MFB.mjs";
13
13
 
14
14
  var css = {
15
15
  wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
@@ -1,17 +1,17 @@
1
1
  'use client';
2
- import { _ as __rest, a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
2
+ import { _ as __rest, a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useRef, useState, useCallback, useMemo, useEffect } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-DBWrv8Kl.mjs";
8
+ import { s as setStyle } from "./misc--ZyHIQmL.mjs";
9
9
 
10
- import { I as IconButton } from "./IconButton-h7T_ekPP.mjs";
10
+ import { I as IconButton } from "./IconButton-Ryf6VCg4.mjs";
11
11
 
12
- import { S as Slider } from "./Slider-CO6SEixo.mjs";
12
+ import { S as Slider } from "./Slider-BrTR3O9N.mjs";
13
13
 
14
- import { T as ToggleButton } from "./ToggleButton-CEDmO_Bq.mjs";
14
+ import { T as ToggleButton } from "./ToggleButton-fGSG0TE1.mjs";
15
15
 
16
16
  var PlayState, css_wrapper = "Video-module_wrapper__a9iH8", css_video = "Video-module_video__hxKME", css_controls = "Video-module_controls__X4yt6", css_controlsHeader = "Video-module_controlsHeader__dD64-", css_controlsFooter = "Video-module_controlsFooter__qJNTa", css_controlsBody = "Video-module_controlsBody__2GbQz", css_right = "Video-module_right__UMhfW", css_left = "Video-module_left__XC33m", css_progress = "Video-module_progress__UTWtq";
17
17
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-l-UorzsO.mjs";
2
+ import { _ as __rest } from "./tslib.es6-BdBaT9_q.mjs";
3
3
 
4
4
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
5
5
 
@@ -7,19 +7,19 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
7
7
 
8
8
  import { useRef, useState, useEffect, useMemo } from "react";
9
9
 
10
- import "./microphoneStore-CO8-b4gt.mjs";
10
+ import "./microphoneStore-B1Dtf36s.mjs";
11
11
 
12
- import "./volumeStore-DHoAeahx.mjs";
12
+ import "./volumeStore-B5cIgXFy.mjs";
13
13
 
14
- import "./webRTCStore-FL1z4Odf.mjs";
14
+ import "./webRTCStore-Dms1MoDQ.mjs";
15
15
 
16
- import { s as setStyle } from "./misc-DBWrv8Kl.mjs";
16
+ import { s as setStyle } from "./misc--ZyHIQmL.mjs";
17
17
 
18
- import { I as IconButton } from "./IconButton-h7T_ekPP.mjs";
18
+ import { I as IconButton } from "./IconButton-Ryf6VCg4.mjs";
19
19
 
20
- import { O as Overlay } from "./Overlay-DQrbl0BZ.mjs";
20
+ import { O as Overlay } from "./Overlay-Dc6fkzIf.mjs";
21
21
 
22
- import { u as useVideo, a as useVideoActions } from "./videoStore-DpIm3vjz.mjs";
22
+ import { u as useVideo, a as useVideoActions } from "./videoStore-BHPpyl3e.mjs";
23
23
 
24
24
  var css_container = "VideoController-module_container__wNiGy", css_box = "VideoController-module_box__a0PRD", css_wrapper = "VideoController-module_wrapper__RhpUo", css_video = "VideoController-module_video__9bS2L";
25
25
 
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
2
2
 
3
3
  /**
4
4
  * Manage a WebSocket connection with optional unified events, retries, and keep-alive pings.
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
2
2
 
3
3
  class WebRTCConnection {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { a as __awaiter, _ as __rest } from "./tslib.es6-l-UorzsO.mjs";
1
+ import { a as __awaiter, _ as __rest } from "./tslib.es6-BdBaT9_q.mjs";
2
2
 
3
3
  import { useMemo } from "react";
4
4
 
@@ -6,7 +6,7 @@ import { create } from "zustand";
6
6
 
7
7
  import { useShallow } from "zustand/react/shallow";
8
8
 
9
- import { I as IndexedDB } from "./IndexedDB-45_U7IIq.mjs";
9
+ import { I as IndexedDB } from "./IndexedDB-Vmrc6oKn.mjs";
10
10
 
11
11
  function isValidIDBKey(key) {
12
12
  return "string" == typeof key || "number" == typeof key || key instanceof Date || key instanceof ArrayBuffer || (Array.isArray(key) ? key.every(entry => isValidIDBKey(entry)) : ArrayBuffer.isView(key));
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
2
+ import { a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
3
3
 
4
4
  import { useEffect } from "react";
5
5
 
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
2
2
 
3
3
  /**
4
4
  * Remove scripts, invisible characters, and optional HTML tags from a string.
@@ -1,8 +1,8 @@
1
1
  import { create } from "zustand";
2
2
 
3
- import "./tslib.es6-l-UorzsO.mjs";
3
+ import "./tslib.es6-BdBaT9_q.mjs";
4
4
 
5
- import { S as SSEConnection } from "./SSEConnection-kEyZEEEm.mjs";
5
+ import { S as SSEConnection } from "./SSEConnection-BtDJoiup.mjs";
6
6
 
7
7
  const useSSEStore = create((set, get) => ({
8
8
  connections: [],
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
2
2
 
3
3
  var FileUploadStatus, UploadError, WorkerStatus;
4
4
 
@@ -1,6 +1,6 @@
1
1
  import { create } from "zustand";
2
2
 
3
- import { W as WorkerStatus } from "./uploads-worker-BJooptoF.mjs";
3
+ import { W as WorkerStatus } from "./uploads-worker-BYZjIzhr.mjs";
4
4
 
5
5
  let uploadsWorker = null;
6
6
 
@@ -1,17 +1,19 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
 
3
- import React, { useState, useMemo, useCallback, useEffect } from "react";
3
+ import React, { useState, useRef, useCallback, useEffect, useMemo } from "react";
4
4
 
5
- import { s as setStyle, a as accessibleKeyDown } from "./misc-DBWrv8Kl.mjs";
5
+ import { s as setStyle, a as accessibleKeyDown } from "./misc--ZyHIQmL.mjs";
6
6
 
7
- import { I as Icon } from "./Icon-CpLHegV5.mjs";
7
+ import { I as Icon } from "./Icon-qVUjH6UY.mjs";
8
8
 
9
9
  var styles = {
10
10
  tableWrapper: "DataTable-module_tableWrapper__BzoJE",
11
+ resizeBar: "DataTable-module_resizeBar__LmzEF",
11
12
  table: "DataTable-module_table__oL4Dz",
12
13
  baseCell: "DataTable-module_baseCell__DQl-z",
13
14
  baseCellWrapper: "DataTable-module_baseCellWrapper__WMgNm",
14
15
  headerCellWrapper: "DataTable-module_headerCellWrapper__ytVYY",
16
+ colResizeHandle: "DataTable-module_colResizeHandle__dF5Es",
15
17
  m: "DataTable-module_m__G9QOp type-module_body-m-regular__LuQBA",
16
18
  scroll: "DataTable-module_scroll__grEU0 scrollBars-module_scrollbars__c-ZPl"
17
19
  };
@@ -36,10 +38,67 @@ const resolveAlignValue = value => {
36
38
  case "end":
37
39
  return "flex-end";
38
40
  }
41
+ }, resolveDragHandleXPos = elements => {
42
+ const {cell: cell, handle: handle, parent: parent} = null != elements ? elements : {};
43
+ if (!cell || !parent || !handle) return;
44
+ const {left: left, width: width} = cell.getBoundingClientRect(), x = left - parent.getBoundingClientRect().left - parent.clientLeft + parent.scrollLeft;
45
+ handle.style.left = `${x + width}px`;
39
46
  };
40
47
 
41
48
  function DataTable(props) {
42
- const {backgroundColor: backgroundColor = "var(--core-surface-primary)", headerBackgroundColor: headerBackgroundColor = "var(--core-surface-secondary)", candyStripeBackgroundColor: candyStripeBackgroundColor = "var(--core-surface-primary-tint)", backgroundColorHoverRow: backgroundColorHoverRow = "var(--core-surface-primary-tint)", freezeColumn: freezeColumn = !1, headerSticky: headerSticky = !0, height: height = "auto", width: width = "100%", borderColor: borderColor = "var(--core-outline-primary)", borderStyle: borderStyle = "box", columnDefinitions: columnDefinitions = [], tableData: tableData = [], getRowId: getRowId, filter: filter, caption: caption = "Data Table", onDoubleClick: onDoubleClick, onClick: onClick, onMouseOut: onMouseOut, onMouseOver: onMouseOver, sort: sort, onSortChange: onSortChange} = props, [hScroll, setHScroll] = useState(!1), [vScroll, setVScroll] = useState(!1), [hoveredRow, setHoveredRow] = useState(null), [sortKey, setSortKey] = useState(sort), wrapperRef = React.useRef(null), cornerBoxShadow = useMemo(() => {
49
+ const {backgroundColor: backgroundColor = "var(--core-surface-primary)", headerBackgroundColor: headerBackgroundColor = "var(--core-surface-secondary)", candyStripeBackgroundColor: candyStripeBackgroundColor = "var(--core-surface-primary-tint)", backgroundColorHoverRow: backgroundColorHoverRow = "var(--core-surface-primary-tint)", handleHoverColor: handleHoverColor = "var(--core-outline-special)", freezeColumn: freezeColumn = !1, headerSticky: headerSticky = !0, height: height = "auto", width: width = "100%", colResize: colResize = !0, borderColor: borderColor = "var(--core-outline-primary)", borderStyle: borderStyle = "box", columnDefinitions: columnDefinitions = [], tableData: tableData = [], getRowId: getRowId, filter: filter, caption: caption = "Data Table", onDoubleClick: onDoubleClick, onClick: onClick, onMouseOut: onMouseOut, onMouseOver: onMouseOver, sort: sort, onSortChange: onSortChange, onColumnResize: onColumnResize} = props, [hScroll, setHScroll] = useState(!1), [vScroll, setVScroll] = useState(!1), [hoveredRow, setHoveredRow] = useState(null), [sortKey, setSortKey] = useState(sort), [draggingCol, setDraggingCol] = useState(null), [columnWidths, setColumnWidths] = useState({}), wrapperRef = React.useRef(null), resizeBarRef = React.useRef(null), colRefs = React.useRef({}), handleResizeEnd = useCallback((id, width) => {
50
+ setColumnWidths(prev => Object.assign(Object.assign({}, prev), {
51
+ [id]: width
52
+ })), setDraggingCol(null), null == onColumnResize || onColumnResize(id, width);
53
+ }, [ onColumnResize ]);
54
+ !function(element, onResizeEnd) {
55
+ const [client, setClient] = useState(null), [dragging, setDragging] = useState(!1), didSetListenersRef = useRef(!1), colStartX = useRef(0), lastWidthRef = useRef(0), hasMovedRef = useRef(!1), resolveStartingXPos = useCallback(() => (null == element ? void 0 : element.cell) ? element.cell.getBoundingClientRect().left : 0, [ element ]), applyHandlePos = useCallback(show => {
56
+ const {cell: cell, handle: handle, parent: parent} = null != element ? element : {};
57
+ !show && handle ? handle.style.left = "-500px" : resolveDragHandleXPos({
58
+ cell: cell,
59
+ handle: handle,
60
+ parent: parent
61
+ });
62
+ }, [ element ]), applyWidth = useCallback(clientX => {
63
+ if (!(null == element ? void 0 : element.col)) return;
64
+ const newWidth = Math.max(0, clientX - colStartX.current);
65
+ element.col.style.width = `${newWidth}px`, lastWidthRef.current = newWidth, hasMovedRef.current = !0;
66
+ }, [ element ]), handleMouseMove = useCallback(e => {
67
+ e.stopPropagation(), e.preventDefault(), setDragging(!0);
68
+ const nextClientPos = (e => {
69
+ if (e.type.startsWith("touch")) {
70
+ const touchEvent = e;
71
+ return {
72
+ x: touchEvent.touches[0].clientX,
73
+ y: touchEvent.touches[0].clientY
74
+ };
75
+ }
76
+ const mouseEvent = e;
77
+ return {
78
+ x: mouseEvent.clientX,
79
+ y: mouseEvent.clientY
80
+ };
81
+ })(e);
82
+ setClient(nextClientPos), applyWidth(nextClientPos.x), applyHandlePos(!0);
83
+ }, [ applyWidth, applyHandlePos ]), handleMouseUp = useCallback(e => {
84
+ e.stopPropagation(), e.preventDefault(), setDragging(!1), setClient(null), element && hasMovedRef.current && (null == onResizeEnd || onResizeEnd(element.id, lastWidthRef.current)),
85
+ applyHandlePos(!1), clearListeners();
86
+ }, [ element, onResizeEnd, applyHandlePos ]), initListeners = useCallback(() => {
87
+ didSetListenersRef.current || (document.documentElement.addEventListener("mousemove", handleMouseMove, !1),
88
+ document.documentElement.addEventListener("mouseup", handleMouseUp, !1), document.documentElement.addEventListener("touchmove", handleMouseMove, !1),
89
+ document.documentElement.addEventListener("touchend", handleMouseUp, !1), document.documentElement.style.userSelect = "none",
90
+ document.documentElement.style.webkitUserSelect = "none", document.documentElement.style.cursor = "col-resize",
91
+ colStartX.current = resolveStartingXPos(), didSetListenersRef.current = !0);
92
+ }, [ handleMouseMove, handleMouseUp, resolveStartingXPos ]), clearListeners = useCallback(() => {
93
+ didSetListenersRef.current && (document.documentElement.removeEventListener("mousemove", handleMouseMove),
94
+ document.documentElement.removeEventListener("mouseup", handleMouseUp), document.documentElement.removeEventListener("touchmove", handleMouseMove, !1),
95
+ document.documentElement.removeEventListener("touchend", handleMouseUp, !1), document.documentElement.style.userSelect = "auto",
96
+ document.documentElement.style.webkitUserSelect = "auto", document.documentElement.style.cursor = "default",
97
+ colStartX.current = 0, lastWidthRef.current = 0, hasMovedRef.current = !1, didSetListenersRef.current = !1);
98
+ }, [ handleMouseMove, handleMouseUp ]);
99
+ useEffect(() => (element ? initListeners() : clearListeners(), () => clearListeners()), [ element, initListeners, clearListeners ]);
100
+ }(draggingCol, handleResizeEnd);
101
+ const cornerBoxShadow = useMemo(() => {
43
102
  const shadows = [];
44
103
  return hScroll && freezeColumn && shadows.push("1px 0 0 var(--core-outline-primary)", "5px 0 0 rgba(0,0,0,0.1)"),
45
104
  vScroll && headerSticky && shadows.push("0 1px 0 var(--core-outline-primary)"),
@@ -68,8 +127,9 @@ function DataTable(props) {
68
127
  "--table-corner-position": freezeColumn || headerSticky ? "sticky" : "relative",
69
128
  "--table-corner-left": freezeColumn ? "0px" : "unset",
70
129
  "--table-border-width": "none" === borderStyle ? "0" : "1px",
71
- "--table-border-sides": "box" === borderStyle ? "1px" : "0"
72
- }), [ backgroundColor, headerBackgroundColor, candyStripeBackgroundColor, cornerBoxShadow, columnBoxShadow, headerBoxShadow, freezeColumn, headerSticky, width, height, borderColor, borderStyle ]), handleScroll = useCallback(() => {
130
+ "--table-border-sides": "box" === borderStyle ? "1px" : "0",
131
+ "--table-handle-hover-color": handleHoverColor
132
+ }), [ backgroundColor, headerBackgroundColor, candyStripeBackgroundColor, cornerBoxShadow, columnBoxShadow, headerBoxShadow, freezeColumn, headerSticky, width, height, borderColor, borderStyle, handleHoverColor ]), handleScroll = useCallback(() => {
73
133
  var _a, _b, _c, _d;
74
134
  const hScrollAmount = null !== (_b = null === (_a = wrapperRef.current) || void 0 === _a ? void 0 : _a.scrollLeft) && void 0 !== _b ? _b : 0, vScrollAmount = null !== (_d = null === (_c = wrapperRef.current) || void 0 === _c ? void 0 : _c.scrollTop) && void 0 !== _d ? _d : 0;
75
135
  setHScroll(hScrollAmount > 0), setVScroll(vScrollAmount > 0);
@@ -104,18 +164,51 @@ function DataTable(props) {
104
164
  }), []), resolveAriaSort = useCallback(column => {
105
165
  const sortable = void 0 !== column.sort, isSortedColumn = sortable && (null == sortKey ? void 0 : sortKey.key) === column.sort;
106
166
  if (sortable) return isSortedColumn ? "asc" === (null == sortKey ? void 0 : sortKey.dir) ? "ascending" : "descending" : void 0;
107
- }, [ sortKey ]);
167
+ }, [ sortKey ]), handleStartDrag = useCallback((id, e) => {
168
+ if (!colResize) return;
169
+ const cell = e.currentTarget.parentElement, col = colRefs.current[id], handle = resizeBarRef.current, parent = wrapperRef.current;
170
+ cell && col && parent && setDraggingCol({
171
+ id: id,
172
+ cell: cell,
173
+ col: col,
174
+ handle: handle,
175
+ parent: parent
176
+ });
177
+ }, [ colResize ]), handleHoverDragHandle = useCallback((show, e) => {
178
+ if (!colResize || draggingCol) return;
179
+ const cell = e.currentTarget.parentElement, handle = resizeBarRef.current, parent = wrapperRef.current;
180
+ !show && handle ? handle.style.left = "-500px" : resolveDragHandleXPos({
181
+ cell: cell,
182
+ handle: handle,
183
+ parent: parent
184
+ });
185
+ }, [ draggingCol, colResize ]), handleCreateRefs = useCallback((el, id) => {
186
+ colRefs.current[id] = el;
187
+ }, []);
108
188
  return useEffect(() => {
109
189
  setSortKey(prev => (null == prev ? void 0 : prev.key) === (null == sort ? void 0 : sort.key) && (null == prev ? void 0 : prev.dir) === (null == sort ? void 0 : sort.dir) ? prev : sort);
110
- }, [ sort ]), jsx("div", {
190
+ }, [ sort ]), jsxs("div", {
111
191
  ref: wrapperRef,
112
192
  className: `${styles.tableWrapper} ${styles.scroll}`,
113
193
  style: cssVars,
114
194
  onScroll: handleScroll,
115
- children: jsxs("table", {
195
+ children: [ jsx("div", {
196
+ className: styles.resizeBar,
197
+ ref: resizeBarRef
198
+ }), jsxs("table", {
116
199
  className: styles.table,
117
200
  children: [ jsx("caption", {
118
201
  children: caption
202
+ }), jsx("colgroup", {
203
+ children: columnDefinitions.map(column => {
204
+ var _a;
205
+ return jsx("col", {
206
+ ref: el => handleCreateRefs(el, column.id),
207
+ style: {
208
+ width: setStyle(null !== (_a = columnWidths[column.id]) && void 0 !== _a ? _a : column.width)
209
+ }
210
+ }, column.id);
211
+ })
119
212
  }), jsx("thead", {
120
213
  children: jsx("tr", {
121
214
  children: columnDefinitions.map(column => {
@@ -145,9 +238,9 @@ function DataTable(props) {
145
238
  children: rows.map((row, rowIndex) => jsx("tr", {
146
239
  children: columnDefinitions.map((col, colIndex) => {
147
240
  var _a;
148
- const value = col.accessor(row), justifyContent = resolveAlignValue(col.justify), alignItems = resolveAlignValue(col.align), padding = setStyle(col.padding, 16), whiteSpace = col.nowrap ? "nowrap" : "", background = resolveCellBG(rowIndex);
149
- return jsx("td", {
150
- "data-column-id": `${col.id}.${rowIndex}`,
241
+ const value = col.accessor(row), justifyContent = resolveAlignValue(col.justify), alignItems = resolveAlignValue(col.align), padding = setStyle(col.padding, 16), whiteSpace = col.nowrap ? "nowrap" : "", background = resolveCellBG(rowIndex), notLast = colIndex !== columnDefinitions.length - 1;
242
+ return jsxs("td", {
243
+ "data-column-id": `${colIndex}.${rowIndex}`,
151
244
  className: `${styles.baseCell} ${styles.m}`,
152
245
  onClick: () => handleClick(col, colIndex, row, rowIndex, !1),
153
246
  onDoubleClick: () => handleClick(col, colIndex, row, rowIndex, !0),
@@ -159,7 +252,14 @@ function DataTable(props) {
159
252
  style: {
160
253
  background: background
161
254
  },
162
- children: jsx("div", {
255
+ children: [ notLast && colResize && jsx("div", {
256
+ className: styles.colResizeHandle,
257
+ onMouseDown: e => handleStartDrag(col.id, e),
258
+ onMouseOver: e => handleHoverDragHandle(!0, e),
259
+ onFocus: e => handleHoverDragHandle(!0, e),
260
+ onMouseOut: e => handleHoverDragHandle(!1, e),
261
+ onBlur: e => handleHoverDragHandle(!1, e)
262
+ }), jsx("div", {
163
263
  className: styles.baseCellWrapper,
164
264
  style: {
165
265
  justifyContent: justifyContent,
@@ -172,12 +272,12 @@ function DataTable(props) {
172
272
  value: value,
173
273
  rowIndex: rowIndex
174
274
  }) : null !== (_a = null == value ? void 0 : value.toString()) && void 0 !== _a ? _a : ""
175
- })
275
+ }) ]
176
276
  }, col.id);
177
277
  })
178
278
  }, getRowId ? getRowId(row, rowIndex) : rowIndex))
179
279
  }) ]
180
- })
280
+ }) ]
181
281
  });
182
282
  }
183
283
 
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
2
2
 
3
3
  import { create } from "zustand";
4
4
 
@@ -1,8 +1,8 @@
1
- import { a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
2
2
 
3
3
  import { create } from "zustand";
4
4
 
5
- import { W as WebRTCConnection } from "./WebRTCConnection-Bj2D6Sa_.mjs";
5
+ import { W as WebRTCConnection } from "./WebRTCConnection-YLZJFmHZ.mjs";
6
6
 
7
7
  const useWebRTCStore = create((set, get) => ({
8
8
  connections: [],
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-l-UorzsO.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-BdBaT9_q.mjs";
2
2
 
3
3
  import { create } from "zustand";
4
4
 
@@ -1,6 +1,6 @@
1
- export { A as AudioBubble } from "../../chunks/AudioBubble-RmRIS-7d.mjs";
1
+ export { A as AudioBubble } from "../../chunks/AudioBubble-BRFQseqk.mjs";
2
2
 
3
- import "../../chunks/tslib.es6-l-UorzsO.mjs";
3
+ import "../../chunks/tslib.es6-BdBaT9_q.mjs";
4
4
 
5
5
  import "react/jsx-runtime";
6
6
 
@@ -24,18 +24,18 @@ import "../../theme/type.mjs";
24
24
 
25
25
  import "../../hooks/useObserveTheme.mjs";
26
26
 
27
- import "../../chunks/colors-oLvyNYnR.mjs";
27
+ import "../../chunks/colors-70dW0TWM.mjs";
28
28
 
29
- import "../../chunks/audioVisualizer-DqfUbZLW.mjs";
29
+ import "../../chunks/audioVisualizer-CXLuOPl4.mjs";
30
30
 
31
- import "../../chunks/webRTCStore-FL1z4Odf.mjs";
31
+ import "../../chunks/webRTCStore-Dms1MoDQ.mjs";
32
32
 
33
33
  import "zustand";
34
34
 
35
- import "../../chunks/WebRTCConnection-Bj2D6Sa_.mjs";
35
+ import "../../chunks/WebRTCConnection-YLZJFmHZ.mjs";
36
36
 
37
- import "../../chunks/microphoneStore-CO8-b4gt.mjs";
37
+ import "../../chunks/microphoneStore-B1Dtf36s.mjs";
38
38
 
39
- import "../../chunks/volumeStore-DHoAeahx.mjs";
39
+ import "../../chunks/volumeStore-B5cIgXFy.mjs";
40
40
 
41
41
  import "../../hooks/useWindow.mjs";
@@ -1,9 +1,9 @@
1
- export { A as Avatar } from "../../chunks/Avatar-BFo6BjmH.mjs";
1
+ export { A as Avatar } from "../../chunks/Avatar-Dt-n9rrn.mjs";
2
2
 
3
- import "../../chunks/tslib.es6-l-UorzsO.mjs";
3
+ import "../../chunks/tslib.es6-BdBaT9_q.mjs";
4
4
 
5
5
  import "react/jsx-runtime";
6
6
 
7
7
  import "react";
8
8
 
9
- import "../../chunks/misc-DBWrv8Kl.mjs";
9
+ import "../../chunks/misc--ZyHIQmL.mjs";
@@ -1,11 +1,11 @@
1
- export { A as AvatarGroup } from "../../chunks/AvatarGroup-E3J2SSMv.mjs";
1
+ export { A as AvatarGroup } from "../../chunks/AvatarGroup-JrdUh_a7.mjs";
2
2
 
3
- import "../../chunks/tslib.es6-l-UorzsO.mjs";
3
+ import "../../chunks/tslib.es6-BdBaT9_q.mjs";
4
4
 
5
5
  import "react/jsx-runtime";
6
6
 
7
7
  import "react";
8
8
 
9
- import "../../chunks/Avatar-BFo6BjmH.mjs";
9
+ import "../../chunks/Avatar-Dt-n9rrn.mjs";
10
10
 
11
- import "../../chunks/misc-DBWrv8Kl.mjs";
11
+ import "../../chunks/misc--ZyHIQmL.mjs";
@@ -1,6 +1,6 @@
1
- export { B as Badge } from "../../chunks/Badge-BNoFISPQ.mjs";
1
+ export { B as Badge } from "../../chunks/Badge-BW2WxvHN.mjs";
2
2
 
3
- import "../../chunks/tslib.es6-l-UorzsO.mjs";
3
+ import "../../chunks/tslib.es6-BdBaT9_q.mjs";
4
4
 
5
5
  import "react/jsx-runtime";
6
6
 
@@ -1,6 +1,6 @@
1
- export { B as Button } from "../../chunks/Button-CZb74NLO.mjs";
1
+ export { B as Button } from "../../chunks/Button-BZytiaR4.mjs";
2
2
 
3
- import "../../chunks/tslib.es6-l-UorzsO.mjs";
3
+ import "../../chunks/tslib.es6-BdBaT9_q.mjs";
4
4
 
5
5
  import "react/jsx-runtime";
6
6
 
@@ -8,11 +8,11 @@ import "motion/react";
8
8
 
9
9
  import "react";
10
10
 
11
- import "../../chunks/Badge-BNoFISPQ.mjs";
11
+ import "../../chunks/Badge-BW2WxvHN.mjs";
12
12
 
13
- import "../../chunks/Dot-DuRIiyRz.mjs";
13
+ import "../../chunks/Dot-fbFT4OcE.mjs";
14
14
 
15
- import "../../chunks/Icon-CpLHegV5.mjs";
15
+ import "../../chunks/Icon-qVUjH6UY.mjs";
16
16
 
17
17
  import "../../hooks/useTheme.mjs";
18
18
 
@@ -32,20 +32,20 @@ import "../../theme/type.mjs";
32
32
 
33
33
  import "../../hooks/useObserveTheme.mjs";
34
34
 
35
- import "../../chunks/misc-DBWrv8Kl.mjs";
35
+ import "../../chunks/misc--ZyHIQmL.mjs";
36
36
 
37
- import "../../chunks/webRTCStore-FL1z4Odf.mjs";
37
+ import "../../chunks/webRTCStore-Dms1MoDQ.mjs";
38
38
 
39
39
  import "zustand";
40
40
 
41
- import "../../chunks/WebRTCConnection-Bj2D6Sa_.mjs";
41
+ import "../../chunks/WebRTCConnection-YLZJFmHZ.mjs";
42
42
 
43
- import "../../chunks/microphoneStore-CO8-b4gt.mjs";
43
+ import "../../chunks/microphoneStore-B1Dtf36s.mjs";
44
44
 
45
- import "../../chunks/volumeStore-DHoAeahx.mjs";
45
+ import "../../chunks/volumeStore-B5cIgXFy.mjs";
46
46
 
47
47
  import "../../hooks/useWindow.mjs";
48
48
 
49
- import "../../chunks/ProgressIndicator-hbzhNcoD.mjs";
49
+ import "../../chunks/ProgressIndicator-BxIb1MFB.mjs";
50
50
 
51
- import "../../chunks/sharedTypes-B6V0j136.mjs";
51
+ import "../../chunks/sharedTypes-C_JoMrsd.mjs";