@apple-pie/slice 0.1.33 → 0.1.35
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.
- package/dist/cjs/chunks/{AudioBubble-_eYM1QMu.js → AudioBubble-CSybA_ET.js} +4 -4
- package/dist/cjs/chunks/{Avatar-DTro_MXZ.js → Avatar-vhbPRhli.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-OPJJ_Te5.js → AvatarGroup-BQ8evyuD.js} +1 -1
- package/dist/cjs/chunks/{Badge-DWUeXxm2.js → Badge-C6Yv-vZ7.js} +1 -1
- package/dist/cjs/chunks/{Button-CuGvPAkH.js → Button-DSFVBBSz.js} +5 -4
- package/dist/cjs/chunks/{ButtonBar-CbXToyfD.js → ButtonBar-BV57H5tK.js} +1 -1
- package/dist/cjs/chunks/{Camera-DjENiyud.js → Camera-UCBkxmIi.js} +5 -5
- package/dist/cjs/chunks/{CheckBox-DiJpbdy5.js → CheckBox-DEJCxMel.js} +1 -1
- package/dist/cjs/chunks/Chip-Co9UJPhs.js +77 -0
- package/dist/cjs/chunks/{DivInput-B917fKB9.js → DivInput-DXYuLZTP.js} +1 -1
- package/dist/cjs/chunks/{Dot-DaRF2JyO.js → Dot-ByyRFxJf.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-CJTEmYW6.js → DrggablePanel-EDw3OZa4.js} +9 -8
- package/dist/cjs/chunks/{DropDown-DRSQvXCC.js → DropDown-BpvddY0X.js} +1 -1
- package/dist/cjs/chunks/{ErrorSummary-ltiIsgJ6.js → ErrorSummary-Chas_lIG.js} +4 -4
- package/dist/cjs/chunks/{FileIcon-WIVOTJLa.js → FileIcon-vvwv1ZWh.js} +4 -4
- package/dist/cjs/chunks/{FileList-CzQZZErI.js → FileList-CY_ZUI5o.js} +1 -1
- package/dist/cjs/chunks/{FlexDiv-CBENyLT4.js → FlexDiv-CXas-gXx.js} +1 -1
- package/dist/cjs/chunks/{Grouper-Cd3AJEFv.js → Grouper-DoDqtlXQ.js} +4 -4
- package/dist/cjs/chunks/{Icon-DjvProjz.js → Icon-DR7d5wbQ.js} +17 -5
- package/dist/cjs/chunks/IconButton-C2pgDGer.js +182 -0
- package/dist/cjs/chunks/{IndexedDB-Ddhq6Gjd.js → IndexedDB-B3huw-IF.js} +1 -1
- package/dist/cjs/chunks/{Label-d32ENzwL.js → Label-Bz1y0MlN.js} +1 -1
- package/dist/cjs/chunks/{Level-B8eT8XyV.js → Level-CGC1rIjD.js} +1 -1
- package/dist/cjs/chunks/{Modal-CUAj4e6x.js → Modal-C9p4TjIF.js} +1 -1
- package/dist/cjs/chunks/{ModalController-BwFAVI5G.js → ModalController-B1l70sB5.js} +3 -3
- package/dist/cjs/chunks/{Overlay-CaAA3ey5.js → Overlay-77krece8.js} +1 -1
- package/dist/cjs/chunks/{Pager-uExZ5E3x.js → Pager-B0FSZmAn.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-DwqslY4o.js → ProgressIndicator-CK7dKk8W.js} +4 -4
- package/dist/cjs/chunks/{PromptInput-Dl8l8cZv.js → PromptInput-BFjWPvXi.js} +16 -14
- package/dist/cjs/chunks/{RadioButton-DPpAOFQt.js → RadioButton-qoMg2eXZ.js} +1 -1
- package/dist/cjs/chunks/{RadioButtonList-IbPA6A3y.js → RadioButtonList-BKKQcFSI.js} +1 -1
- package/dist/cjs/chunks/{Slider-D5oa7NGy.js → Slider-D7r0G9UI.js} +10 -1
- package/dist/cjs/chunks/{Spacer-DtUh2VLv.js → Spacer-DHvuvgy8.js} +1 -1
- package/dist/cjs/chunks/{Switch-Bs0r5va5.js → Switch-D0WIz66o.js} +1 -1
- package/dist/cjs/chunks/{TabBar-BCSTg_Uc.js → TabBar-OZ8cC1Wh.js} +38 -18
- package/dist/cjs/chunks/{TextArea-Dj7jsvVr.js → TextArea-BnWOSrib.js} +3 -2
- package/dist/cjs/chunks/{TextField-DNP0wJla.js → TextField-zAs-JMXf.js} +5 -5
- package/dist/cjs/chunks/{Tip-awq6PDZa.js → Tip-DeP8_frS.js} +1 -1
- package/dist/cjs/chunks/{Toast-xS1TC3Ba.js → Toast-D-pkBwRK.js} +5 -5
- package/dist/cjs/chunks/{ToggleButton-CqD5c6JA.js → ToggleButton-cNIO7RUS.js} +6 -4
- package/dist/cjs/chunks/{UploadArea-CvWqk8YK.js → UploadArea-6sLdjTc4.js} +1 -1
- package/dist/cjs/chunks/{WSConnection-BACWw4TS.js → WSConnection-BwJzXOF0.js} +1 -1
- package/dist/cjs/chunks/{WebRTCConnection-DBeyg4j9.js → WebRTCConnection-Bv-nWtU7.js} +1 -1
- package/dist/cjs/chunks/{_types-BTdDWVYI.js → _types-BTZx360t.js} +3 -1
- package/dist/cjs/chunks/{localDBStore-wgCc1SmV.js → localDBStore-DDw1HB7W.js} +1 -1
- package/dist/cjs/chunks/{microphoneStore-Dy5TwE2I.js → microphoneStore-BWE0f5k5.js} +1 -1
- package/dist/cjs/chunks/{misc-BwQIEIuF.js → misc-Xy8NlSfu.js} +1 -1
- package/dist/cjs/chunks/{sseStore-CFFaYonG.js → sseStore-cP_aDXa1.js} +2 -2
- package/dist/cjs/chunks/{uploads-worker-DWvOe9F8.js → uploads-worker-Ey3k_A8W.js} +1 -1
- package/dist/cjs/chunks/{uploadsStore-BCmts7Ie.js → uploadsStore-CysEm3Jm.js} +2 -2
- package/dist/cjs/chunks/{volumeStore-BXFAQhvS.js → volumeStore-TOX_FL_t.js} +4 -5
- package/dist/cjs/chunks/{webRTCStore-DRjvbnve.js → webRTCStore-B1cS14MD.js} +1 -1
- package/dist/cjs/chunks/{windowStore-C4Bg6I9i.js → windowStore-DCcNnrCO.js} +1 -1
- package/dist/cjs/components/AudioBubble/index.js +6 -6
- package/dist/cjs/components/Avatar/index.js +3 -3
- package/dist/cjs/components/AvatarGroup/index.js +3 -3
- package/dist/cjs/components/Badge/index.js +2 -2
- package/dist/cjs/components/Button/index.js +9 -9
- package/dist/cjs/components/ButtonBar/index.js +6 -6
- package/dist/cjs/components/Camera/index.js +7 -7
- package/dist/cjs/components/CheckBox/index.js +6 -6
- package/dist/cjs/components/Chip/index.js +7 -7
- package/dist/cjs/components/DivInput/index.js +3 -3
- package/dist/cjs/components/Dot/index.js +2 -2
- package/dist/cjs/components/DraggablePanel/index.js +5 -5
- package/dist/cjs/components/DropDown/index.js +6 -6
- package/dist/cjs/components/ErrorSummary/index.js +5 -5
- package/dist/cjs/components/FileIcon/index.js +5 -5
- package/dist/cjs/components/FileList/index.js +7 -7
- package/dist/cjs/components/FlexDiv/index.js +2 -2
- package/dist/cjs/components/Grouper/index.js +7 -7
- package/dist/cjs/components/Icon/index.js +5 -5
- package/dist/cjs/components/IconButton/index.js +19 -9
- package/dist/cjs/components/Label/index.js +3 -3
- package/dist/cjs/components/Level/index.js +3 -3
- package/dist/cjs/components/Modal/index.js +10 -10
- package/dist/cjs/components/ModalController/index.js +5 -5
- package/dist/cjs/components/Overlay/index.js +2 -2
- package/dist/cjs/components/Pager/index.js +3 -3
- package/dist/cjs/components/Progress/index.js +5 -5
- package/dist/cjs/components/PromptInput/index.js +9 -9
- package/dist/cjs/components/RadioButton/index.js +6 -6
- package/dist/cjs/components/RadioButtonList/index.js +7 -7
- package/dist/cjs/components/Slider/index.js +7 -4
- package/dist/cjs/components/Spacer/index.js +2 -2
- package/dist/cjs/components/Switch/index.js +2 -2
- package/dist/cjs/components/TabBar/index.js +8 -8
- package/dist/cjs/components/TextArea/index.js +9 -9
- package/dist/cjs/components/Textfield/index.js +9 -9
- package/dist/cjs/components/Tip/index.js +3 -3
- package/dist/cjs/components/Toast/index.js +6 -6
- package/dist/cjs/components/ToggleButton/index.js +9 -9
- package/dist/cjs/components/UploadArea/index.js +12 -11
- package/dist/cjs/hooks/useAudioRecorder.js +1 -1
- package/dist/cjs/hooks/useBindWebRTC.js +2 -2
- package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
- package/dist/cjs/hooks/useMicrophone.js +32 -28
- package/dist/cjs/hooks/useTrackRenders.js +2 -2
- package/dist/cjs/hooks.js +3 -3
- package/dist/cjs/index.js +19 -9
- package/dist/cjs/stores/LocalDB.js +3 -3
- package/dist/cjs/stores/SSE.js +2 -2
- package/dist/cjs/stores/WS.js +2 -2
- package/dist/cjs/stores/WebRTC.js +2 -2
- package/dist/cjs/stores/microphone.js +2 -2
- package/dist/cjs/stores/modal.js +1 -1
- package/dist/cjs/stores/tip.js +1 -1
- package/dist/cjs/stores/toast.js +1 -1
- package/dist/cjs/stores/uploads.js +2 -2
- package/dist/cjs/stores/volume.js +2 -2
- package/dist/cjs/stores/window.js +2 -2
- package/dist/cjs/stores.js +4 -4
- package/dist/cjs/theme/colors.js +4 -0
- package/dist/cjs/utils/index.js +2 -2
- package/dist/cjs/utils/objects/index.js +2 -2
- package/dist/cjs/workers/uploads/uploads.js +2 -2
- package/dist/esm/chunks/{AudioBubble-SB1LCBlJ.mjs → AudioBubble-_YhANdyd.mjs} +6 -6
- package/dist/esm/chunks/{Avatar-B6PcVOmT.mjs → Avatar-C7U2ianJ.mjs} +2 -2
- package/dist/esm/chunks/{AvatarGroup-DEb3j2IZ.mjs → AvatarGroup-VAbyMrus.mjs} +2 -2
- package/dist/esm/chunks/{Badge-bh5UVUnt.mjs → Badge-BKZj-pNA.mjs} +1 -1
- package/dist/esm/chunks/{Button-CWKs3uAV.mjs → Button-C6jYGagD.mjs} +10 -9
- package/dist/esm/chunks/{ButtonBar-CWeMhkSb.mjs → ButtonBar-CHKHuVy1.mjs} +3 -3
- package/dist/esm/chunks/{Camera-BmuMA9xY.mjs → Camera-DPATxQwH.mjs} +8 -8
- package/dist/esm/chunks/{CheckBox-BR6a2n0j.mjs → CheckBox-8oY2dwYh.mjs} +3 -3
- package/dist/esm/chunks/Chip-c3piVzsJ.mjs +87 -0
- package/dist/esm/chunks/{DivInput-BWO1EJXA.mjs → DivInput-g28YpiQp.mjs} +2 -2
- package/dist/esm/chunks/{Dot-DMst-5Q2.mjs → Dot-DnfM38Qp.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-qxrCS7Ot.mjs → DrggablePanel-CjgYDhDq.mjs} +10 -9
- package/dist/esm/chunks/{DropDown-DlO2J4QP.mjs → DropDown-CWHPCDQS.mjs} +3 -3
- package/dist/esm/chunks/{ErrorSummary-BplQFunJ.mjs → ErrorSummary-D1PqqK3r.mjs} +5 -5
- package/dist/esm/chunks/{FileIcon-iFmAF7_a.mjs → FileIcon-CudRs_lw.mjs} +5 -5
- package/dist/esm/chunks/{FileList-CztHFCJe.mjs → FileList-Cj_k6oel.mjs} +5 -5
- package/dist/esm/chunks/{FlexDiv-DGmDZL7M.mjs → FlexDiv-pSlVGfpp.mjs} +1 -1
- package/dist/esm/chunks/{Grouper-DxOISLzH.mjs → Grouper-BQxdCQKy.mjs} +6 -6
- package/dist/esm/chunks/{Icon-L8B35JN1.mjs → Icon-CKS12m2e.mjs} +19 -7
- package/dist/esm/chunks/IconButton-Cka059ZT.mjs +193 -0
- package/dist/esm/chunks/{IndexedDB-DA5oZXju.mjs → IndexedDB-C1lcbDjn.mjs} +1 -1
- package/dist/esm/chunks/{Label-wDPtyK4h.mjs → Label-B7SDZHF3.mjs} +2 -2
- package/dist/esm/chunks/{Level-B9JayinM.mjs → Level-CjR-2ZHs.mjs} +3 -3
- package/dist/esm/chunks/{Modal-C-Q2A_RY.mjs → Modal-BLqTi3R2.mjs} +5 -5
- package/dist/esm/chunks/{ModalController-ClAjHLPb.mjs → ModalController-BGCz54A8.mjs} +5 -5
- package/dist/esm/chunks/{Overlay-Dr9YYxJ6.mjs → Overlay-Dp2GOGjC.mjs} +1 -1
- package/dist/esm/chunks/{Pager-DPbTCMNe.mjs → Pager-DRkFuZTV.mjs} +2 -2
- package/dist/esm/chunks/{ProgressIndicator-HaJJDZ-m.mjs → ProgressIndicator-C2EWIn7Z.mjs} +5 -5
- package/dist/esm/chunks/{PromptInput-wGhpXw-h.mjs → PromptInput-mkEHu-_v.mjs} +18 -16
- package/dist/esm/chunks/{RadioButton-oOGgTDhg.mjs → RadioButton-Bd23SEL0.mjs} +3 -3
- package/dist/esm/chunks/{RadioButtonList-CDWKVvyL.mjs → RadioButtonList-ho29Z9aG.mjs} +3 -3
- package/dist/esm/chunks/{Slider-ioPGftDY.mjs → Slider-9hcuVdaH.mjs} +14 -4
- package/dist/esm/chunks/{Spacer-VJBjxVlr.mjs → Spacer-D3_8SzUs.mjs} +1 -1
- package/dist/esm/chunks/{Switch-BCk2sTh3.mjs → Switch-CV_2ygFC.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-C1DYnCRx.mjs → TabBar-BOUnKetI.mjs} +39 -21
- package/dist/esm/chunks/{TextArea-CF3r5m2G.mjs → TextArea-FQVQo3LR.mjs} +4 -3
- package/dist/esm/chunks/{TextField-BNfTj9v2.mjs → TextField-D7ZiWK9I.mjs} +8 -8
- package/dist/esm/chunks/{Tip-DIKQvxxO.mjs → Tip-5OhdfJW7.mjs} +2 -2
- package/dist/esm/chunks/{Toast-CkXPrDpp.mjs → Toast-BlDzsT1J.mjs} +7 -7
- package/dist/esm/chunks/{ToggleButton-Dvy8fc4t.mjs → ToggleButton-BIIm75PN.mjs} +7 -5
- package/dist/esm/chunks/{UploadArea-D_xGzR2e.mjs → UploadArea-AjFofefa.mjs} +4 -4
- package/dist/esm/chunks/{WSConnection-TiYLENWB.mjs → WSConnection-CjwR_k97.mjs} +1 -1
- package/dist/esm/chunks/{WebRTCConnection-d0Yvd66q.mjs → WebRTCConnection-rKAgZEbe.mjs} +1 -1
- package/dist/esm/chunks/{_types-9ekyeJYl.mjs → _types-Fewdpo-O.mjs} +3 -1
- package/dist/esm/chunks/{localDBStore-C-5y16uv.mjs → localDBStore-Bxvk_IzQ.mjs} +2 -2
- package/dist/esm/chunks/{microphoneStore-Cbx9nV4R.mjs → microphoneStore-Do0a5LZ9.mjs} +1 -1
- package/dist/esm/chunks/{misc-zecH7-IH.mjs → misc-C5cfUKzm.mjs} +1 -1
- package/dist/esm/chunks/{sseStore-DIquUNpm.mjs → sseStore-oSknLkEF.mjs} +2 -2
- package/dist/esm/chunks/{uploads-worker-CUggKU9b.mjs → uploads-worker-Cyum1zTV.mjs} +1 -1
- package/dist/esm/chunks/{uploadsStore-9QngohOe.mjs → uploadsStore-BxpUKpcf.mjs} +1 -1
- package/dist/esm/chunks/{volumeStore-BrgZCRKF.mjs → volumeStore-D5i1CeFf.mjs} +4 -5
- package/dist/esm/chunks/{webRTCStore-DhFE9-bb.mjs → webRTCStore-BLGNTnV3.mjs} +2 -2
- package/dist/esm/chunks/{windowStore-BKW7HyoD.mjs → windowStore-BqOOGKQ6.mjs} +1 -1
- package/dist/esm/components/AudioBubble/index.mjs +8 -8
- package/dist/esm/components/Avatar/index.mjs +3 -3
- package/dist/esm/components/AvatarGroup/index.mjs +4 -4
- package/dist/esm/components/Badge/index.mjs +2 -2
- package/dist/esm/components/Button/index.mjs +12 -12
- package/dist/esm/components/ButtonBar/index.mjs +8 -8
- package/dist/esm/components/Camera/index.mjs +10 -10
- package/dist/esm/components/CheckBox/index.mjs +8 -8
- package/dist/esm/components/Chip/index.mjs +9 -9
- package/dist/esm/components/DivInput/index.mjs +3 -3
- package/dist/esm/components/Dot/index.mjs +2 -2
- package/dist/esm/components/DraggablePanel/index.mjs +7 -7
- package/dist/esm/components/DropDown/index.mjs +8 -8
- package/dist/esm/components/ErrorSummary/index.mjs +7 -7
- package/dist/esm/components/FileIcon/index.mjs +7 -7
- package/dist/esm/components/FileList/index.mjs +10 -10
- package/dist/esm/components/FlexDiv/index.mjs +2 -2
- package/dist/esm/components/Grouper/index.mjs +9 -9
- package/dist/esm/components/Icon/index.mjs +8 -8
- package/dist/esm/components/IconButton/index.mjs +11 -11
- package/dist/esm/components/Label/index.mjs +3 -3
- package/dist/esm/components/Level/index.mjs +4 -4
- package/dist/esm/components/Modal/index.mjs +14 -14
- package/dist/esm/components/ModalController/index.mjs +8 -8
- package/dist/esm/components/Overlay/index.mjs +2 -2
- package/dist/esm/components/Pager/index.mjs +3 -3
- package/dist/esm/components/Progress/index.mjs +8 -8
- package/dist/esm/components/PromptInput/index.mjs +15 -15
- package/dist/esm/components/RadioButton/index.mjs +8 -8
- package/dist/esm/components/RadioButtonList/index.mjs +9 -9
- package/dist/esm/components/Slider/index.mjs +19 -5
- package/dist/esm/components/Spacer/index.mjs +2 -2
- package/dist/esm/components/Switch/index.mjs +2 -2
- package/dist/esm/components/TabBar/index.mjs +13 -13
- package/dist/esm/components/TextArea/index.mjs +13 -13
- package/dist/esm/components/Textfield/index.mjs +14 -14
- package/dist/esm/components/Tip/index.mjs +3 -3
- package/dist/esm/components/Toast/index.mjs +9 -9
- package/dist/esm/components/ToggleButton/index.mjs +13 -13
- package/dist/esm/components/UploadArea/index.mjs +13 -13
- package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
- package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
- package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
- package/dist/esm/hooks/useMicrophone.mjs +32 -28
- package/dist/esm/hooks/useTrackRenders.mjs +2 -2
- package/dist/esm/hooks.mjs +6 -6
- package/dist/esm/index.mjs +53 -53
- package/dist/esm/stores/LocalDB.mjs +3 -3
- package/dist/esm/stores/SSE.mjs +3 -3
- package/dist/esm/stores/WS.mjs +2 -2
- package/dist/esm/stores/WebRTC.mjs +3 -3
- package/dist/esm/stores/microphone.mjs +2 -2
- package/dist/esm/stores/modal.mjs +1 -1
- package/dist/esm/stores/tip.mjs +1 -1
- package/dist/esm/stores/toast.mjs +1 -1
- package/dist/esm/stores/uploads.mjs +3 -3
- package/dist/esm/stores/volume.mjs +2 -2
- package/dist/esm/stores/window.mjs +2 -2
- package/dist/esm/stores.mjs +15 -15
- package/dist/esm/theme/colors.mjs +4 -0
- package/dist/esm/utils/index.mjs +10 -10
- package/dist/esm/utils/objects/index.mjs +7 -7
- package/dist/esm/workers/uploads/uploads.mjs +2 -2
- package/dist/styles.css +27 -2
- package/dist/types/components/Button/Button.d.ts +4 -0
- package/dist/types/components/Button/_types.d.ts +2 -0
- package/dist/types/components/Chip/_types.d.ts +1 -0
- package/dist/types/components/Icon/_types.d.ts +2 -0
- package/dist/types/components/IconButton/_animation.d.ts +18 -0
- package/dist/types/components/IconButton/_types.d.ts +46 -0
- package/dist/types/components/IconButton/index.d.ts +2 -1
- package/dist/types/components/TabBar/_types.d.ts +5 -0
- package/dist/types/components/TextArea/_types.d.ts +1 -0
- package/dist/types/components/ToggleButton/_types.d.ts +5 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/stores/volume/_types.d.ts +1 -1
- package/dist/types/stores/volume/volumeStore.d.ts +2 -2
- package/dist/types/theme/colors/types.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/chunks/Chip-kzOvEo0P.js +0 -77
- package/dist/cjs/chunks/IconButton-BuwQLUuj.js +0 -82
- package/dist/esm/chunks/Chip-DXW0jxKf.mjs +0 -87
- package/dist/esm/chunks/IconButton-DxwJemEK.mjs +0 -96
- /package/dist/cjs/chunks/{MdStreamBuffer-Chwibu07.js → MdStreamBuffer-tvK8qsjv.js} +0 -0
- /package/dist/cjs/chunks/{SSEConnection-CF5WZG9b.js → SSEConnection-C6fFzIM7.js} +0 -0
- /package/dist/cjs/chunks/{audioVisualizer-C7fMG0WH.js → audioVisualizer-DFVbG1U3.js} +0 -0
- /package/dist/cjs/chunks/{colors-CmOkcjB3.js → colors-D1ls4xuy.js} +0 -0
- /package/dist/cjs/chunks/{debounce-BtCCTkbG.js → debounce-Dt7br1wm.js} +0 -0
- /package/dist/cjs/chunks/{modalStore-CaQkdY5_.js → modalStore-C2TNegI3.js} +0 -0
- /package/dist/cjs/chunks/{sharedTypes-BOieqpQy.js → sharedTypes-DC-9YrKq.js} +0 -0
- /package/dist/cjs/chunks/{tipStore-4Bs9v2sg.js → tipStore-CcUHlLfK.js} +0 -0
- /package/dist/cjs/chunks/{toastStore-CyCE9-lr.js → toastStore-CzsUlpG7.js} +0 -0
- /package/dist/cjs/chunks/{tslib.es6-DqjaJVC3.js → tslib.es6-CZ8Is2ry.js} +0 -0
- /package/dist/esm/chunks/{MdStreamBuffer-Cyon3ytf.mjs → MdStreamBuffer-CvU2-p0i.mjs} +0 -0
- /package/dist/esm/chunks/{SSEConnection-g0GBGAqe.mjs → SSEConnection-CnZ9v2PI.mjs} +0 -0
- /package/dist/esm/chunks/{audioVisualizer-nMo67yOW.mjs → audioVisualizer-Cw40IeKn.mjs} +0 -0
- /package/dist/esm/chunks/{colors-v5b8_oYV.mjs → colors-7VDET9eL.mjs} +0 -0
- /package/dist/esm/chunks/{debounce-DFxAyrPi.mjs → debounce-zgRcExLD.mjs} +0 -0
- /package/dist/esm/chunks/{modalStore-D6_oc47l.mjs → modalStore-OVzsFkde.mjs} +0 -0
- /package/dist/esm/chunks/{sharedTypes-CdmzhKXN.mjs → sharedTypes-7jlhdP2f.mjs} +0 -0
- /package/dist/esm/chunks/{tipStore-C2M6zBzd.mjs → tipStore-o8uQjfPm.mjs} +0 -0
- /package/dist/esm/chunks/{toastStore-B-6kdNHw.mjs → toastStore-Cnivb4IM.mjs} +0 -0
- /package/dist/esm/chunks/{tslib.es6-CVvvNSPr.mjs → tslib.es6-CDAuOlZ8.mjs} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var tslib_es6 = require("../chunks/tslib.es6-
|
|
4
|
+
var tslib_es6 = require("../chunks/tslib.es6-CZ8Is2ry.js"), React = require("react");
|
|
5
5
|
|
|
6
6
|
exports.useMicrophone = function(startMuted = !0, microphoneDeviceId, autoRequest = !0) {
|
|
7
7
|
const micStream = React.useRef(null), processedMicStream = React.useRef(null), micTrack = React.useRef(null), audioContextRef = React.useRef(null), sourceNodeRef = React.useRef(null), gainNodeRef = React.useRef(null), destinationNodeRef = React.useRef(null), inputVolumeRef = React.useRef(1), mutedRef = React.useRef(startMuted), mountedRef = React.useRef(!0), initializedRef = React.useRef(!1), [microphones, setMicrophones] = React.useState([]), [micOptions, setMicOptions] = React.useState([]), [currentDeviceId, setCurrentDeviceId] = React.useState(null), [isActive, setIsActive] = React.useState(!1), [inputVolume, setInputVolumeState] = React.useState(1), [muted, setMuted] = React.useState(startMuted), [isRequesting, setIsRequesting] = React.useState(!1), [error, setError] = React.useState(null), normalizeInputVolume = React.useCallback(volume => Number.isFinite(volume) ? Math.min(1, Math.max(0, volume)) : 1, []), resetAudioProcessing = React.useCallback(() => {
|
|
@@ -71,32 +71,14 @@ exports.useMicrophone = function(startMuted = !0, microphoneDeviceId, autoReques
|
|
|
71
71
|
setupAudioProcessing(micStream.current), micTrack.current = getMicTrack(), setCurrentDeviceId(null !== (_a = micTrack.current.getSettings().deviceId) && void 0 !== _a ? _a : null),
|
|
72
72
|
micTrack.current.enabled = !mutedRef.current, mutedRef.current || (yield waitForTrackToBecomeActive(micTrack.current)),
|
|
73
73
|
setIsActive(Boolean("live" === micTrack.current.readyState)), micStream.current;
|
|
74
|
-
}), [ constraints, getMicTrack, setupAudioProcessing, waitForTrackToBecomeActive ]),
|
|
75
|
-
if (hasActiveStream()) return setIsActive(!0), setError(null), micStream.current;
|
|
76
|
-
if (setIsRequesting(!0), yield waitForPaint(), !hasMediaSupport) {
|
|
77
|
-
const nextError = new Error("Microphone access isn't supported");
|
|
78
|
-
return setError(nextError), setCurrentDeviceId(null), setIsActive(!1), mountedRef.current && setIsRequesting(!1),
|
|
79
|
-
null;
|
|
80
|
-
}
|
|
81
|
-
setError(null), stopMicStream();
|
|
82
|
-
try {
|
|
83
|
-
return yield requestStream();
|
|
84
|
-
} catch (error) {
|
|
85
|
-
if (!(error instanceof DOMException && "OverconstrainedError" === error.name || error instanceof DOMException && "NotFoundError" === error.name)) {
|
|
86
|
-
let nextError = new Error("Failed to access microphone");
|
|
87
|
-
throw error instanceof Error && (error.message.toLowerCase().includes("denied permission") || "NotAllowedError" === error.name) && (nextError = new Error("Permission to access the microphone was denied")),
|
|
88
|
-
setError(nextError), setCurrentDeviceId(null), setIsActive(!1), nextError;
|
|
89
|
-
}
|
|
90
|
-
return yield requestStream(void 0, !1);
|
|
91
|
-
} finally {
|
|
92
|
-
setIsRequesting(!1);
|
|
93
|
-
}
|
|
94
|
-
}), [ hasActiveStream, hasMediaSupport, requestStream, stopMicStream, waitForPaint ]), refreshMicrophones = React.useCallback(() => tslib_es6.__awaiter(this, void 0, void 0, function*() {
|
|
74
|
+
}), [ constraints, getMicTrack, setupAudioProcessing, waitForTrackToBecomeActive ]), refreshMicrophones = React.useCallback(() => tslib_es6.__awaiter(this, void 0, void 0, function*() {
|
|
95
75
|
var _a;
|
|
96
76
|
if (!hasMediaSupport) return [];
|
|
97
77
|
try {
|
|
98
|
-
const devices = yield navigator.mediaDevices.enumerateDevices(), currentDeviceId = null === (_a = micTrack.current) || void 0 === _a ? void 0 : _a.getSettings().deviceId,
|
|
99
|
-
|
|
78
|
+
const devices = yield navigator.mediaDevices.enumerateDevices(), currentDeviceId = null === (_a = micTrack.current) || void 0 === _a ? void 0 : _a.getSettings().deviceId, availableInputs = devices.filter(device => "audioinput" === device.kind && "" !== device.deviceId), shouldExposeOptions = function(devices) {
|
|
79
|
+
return devices.some(device => "" !== device.label.trim());
|
|
80
|
+
}(availableInputs) || Boolean(currentDeviceId) || hasActiveStream(), mics = shouldExposeOptions ? function(devices, activeDeviceId) {
|
|
81
|
+
const microphones = devices.filter(device => "" !== device.deviceId), defaultIndex = microphones.findIndex(device => "default" === device.deviceId);
|
|
100
82
|
if (defaultIndex > 0) {
|
|
101
83
|
const [defaultDevice] = microphones.splice(defaultIndex, 1);
|
|
102
84
|
return microphones.unshift(defaultDevice), microphones;
|
|
@@ -109,7 +91,7 @@ exports.useMicrophone = function(startMuted = !0, microphoneDeviceId, autoReques
|
|
|
109
91
|
microphones.unshift(activeDevice);
|
|
110
92
|
}
|
|
111
93
|
return microphones;
|
|
112
|
-
}(
|
|
94
|
+
}(availableInputs, currentDeviceId) : [], options = mics.map(mic => ({
|
|
113
95
|
value: {
|
|
114
96
|
id: mic.deviceId
|
|
115
97
|
},
|
|
@@ -119,18 +101,40 @@ exports.useMicrophone = function(startMuted = !0, microphoneDeviceId, autoReques
|
|
|
119
101
|
} catch (_b) {
|
|
120
102
|
return setMicrophones([]), setMicOptions([]), [];
|
|
121
103
|
}
|
|
122
|
-
}), [ hasMediaSupport ]),
|
|
104
|
+
}), [ hasActiveStream, hasMediaSupport ]), requestMicrophone = React.useCallback(() => tslib_es6.__awaiter(this, void 0, void 0, function*() {
|
|
105
|
+
if (hasActiveStream()) return setIsActive(!0), setError(null), micStream.current;
|
|
106
|
+
if (setIsRequesting(!0), yield waitForPaint(), !hasMediaSupport) {
|
|
107
|
+
const nextError = new Error("Microphone access isn't supported");
|
|
108
|
+
return setError(nextError), setCurrentDeviceId(null), setIsActive(!1), mountedRef.current && setIsRequesting(!1),
|
|
109
|
+
null;
|
|
110
|
+
}
|
|
111
|
+
setError(null), stopMicStream();
|
|
112
|
+
try {
|
|
113
|
+
const stream = yield requestStream();
|
|
114
|
+
return yield refreshMicrophones(), stream;
|
|
115
|
+
} catch (error) {
|
|
116
|
+
if (!(error instanceof DOMException && "OverconstrainedError" === error.name || error instanceof DOMException && "NotFoundError" === error.name)) {
|
|
117
|
+
let nextError = new Error("Failed to access microphone");
|
|
118
|
+
throw error instanceof Error && (error.message.toLowerCase().includes("denied permission") || "NotAllowedError" === error.name) && (nextError = new Error("Permission to access the microphone was denied")),
|
|
119
|
+
setError(nextError), setCurrentDeviceId(null), setIsActive(!1), nextError;
|
|
120
|
+
}
|
|
121
|
+
const stream = yield requestStream(void 0, !1);
|
|
122
|
+
return yield refreshMicrophones(), stream;
|
|
123
|
+
} finally {
|
|
124
|
+
setIsRequesting(!1);
|
|
125
|
+
}
|
|
126
|
+
}), [ hasActiveStream, hasMediaSupport, refreshMicrophones, requestStream, stopMicStream, waitForPaint ]), setMicrophone = React.useCallback(deviceId => tslib_es6.__awaiter(this, void 0, void 0, function*() {
|
|
123
127
|
var _a;
|
|
124
128
|
setIsRequesting(!0), yield waitForPaint();
|
|
125
129
|
const id = "string" == typeof deviceId ? deviceId : null === (_a = deviceId.value) || void 0 === _a ? void 0 : _a.id;
|
|
126
130
|
try {
|
|
127
|
-
setError(null), stopMicStream(), yield requestStream(id, !1);
|
|
131
|
+
setError(null), stopMicStream(), yield requestStream(id, !1), yield refreshMicrophones();
|
|
128
132
|
} catch (err) {
|
|
129
133
|
setCurrentDeviceId(null), setIsActive(!1), setError(err instanceof Error ? err : new Error("Error switching microphone"));
|
|
130
134
|
} finally {
|
|
131
135
|
setIsRequesting(!1);
|
|
132
136
|
}
|
|
133
|
-
}), [ requestStream, stopMicStream, waitForPaint ]), toggleMute = React.useCallback(() => {
|
|
137
|
+
}), [ refreshMicrophones, requestStream, stopMicStream, waitForPaint ]), toggleMute = React.useCallback(() => {
|
|
134
138
|
try {
|
|
135
139
|
muted ? unmuteMic() : muteMic();
|
|
136
140
|
} catch (_a) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var React = require("react"), misc = require("../chunks/misc-
|
|
4
|
+
var React = require("react"), misc = require("../chunks/misc-Xy8NlSfu.js");
|
|
5
5
|
|
|
6
|
-
require("../chunks/tslib.es6-
|
|
6
|
+
require("../chunks/tslib.es6-CZ8Is2ry.js"), exports.useTrackRenders =
|
|
7
7
|
/**
|
|
8
8
|
* Hook to log component renders, mounts, and unmounts
|
|
9
9
|
* Note: wrap in comments with START.DEBUG ... {hook} ... END.DEBUG to remove from build
|
package/dist/cjs/hooks.js
CHANGED
|
@@ -5,9 +5,9 @@ var hooks_useTheme = require("./hooks/useTheme.js"), hooks_useObserveTheme = req
|
|
|
5
5
|
require("react"), require("./providers/ThemeProvider.js"), require("react/jsx-runtime"),
|
|
6
6
|
require("./theme/themes.js"), require("./theme/colors.js"), require("./theme/corners.js"),
|
|
7
7
|
require("./theme/elevations.js"), require("./theme/motion.js"), require("./theme/type.js"),
|
|
8
|
-
require("./chunks/tslib.es6-
|
|
9
|
-
require("./chunks/webRTCStore-
|
|
10
|
-
require("./chunks/microphoneStore-
|
|
8
|
+
require("./chunks/tslib.es6-CZ8Is2ry.js"), require("./chunks/MdStreamBuffer-tvK8qsjv.js"),
|
|
9
|
+
require("./chunks/webRTCStore-B1cS14MD.js"), require("zustand"), require("./chunks/WebRTCConnection-Bv-nWtU7.js"),
|
|
10
|
+
require("./chunks/microphoneStore-BWE0f5k5.js"), require("./chunks/volumeStore-TOX_FL_t.js"),
|
|
11
11
|
exports.useTheme = hooks_useTheme.useTheme, exports.useObserveTheme = hooks_useObserveTheme.useObserveTheme,
|
|
12
12
|
exports.useDoubleClick = hooks_useDoubleClick.useDoubleClick, exports.useToolTip = hooks_useToolTip.useToolTip,
|
|
13
13
|
exports.useKeyboardShortcuts = hooks_useKeyboardShortcuts.useKeyboardShortcuts,
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var sharedTypes = require("./chunks/sharedTypes-
|
|
3
|
+
var sharedTypes = require("./chunks/sharedTypes-DC-9YrKq.js"), theme_themes = require("./theme/themes.js"), theme_colors = require("./theme/colors.js"), theme_elevations = require("./theme/elevations.js"), theme_motion = require("./theme/motion.js"), hooks_useTheme = require("./hooks/useTheme.js"), hooks_useObserveTheme = require("./hooks/useObserveTheme.js"), hooks_useDoubleClick = require("./hooks/useDoubleClick.js"), hooks_useToolTip = require("./hooks/useToolTip.js"), hooks_useKeyboardShortcuts = require("./hooks/useKeyboardShortcuts.js"), hooks_useLastUpdated = require("./hooks/useLastUpdated.js"), hooks_useLocalStore = require("./hooks/useLocalStore.js"), hooks_useMdStreamBuffer = require("./hooks/useMdStreamBuffer.js"), hooks_useBindWebRTC = require("./hooks/useBindWebRTC.js"), hooks_useMicrophone = require("./hooks/useMicrophone.js"), hooks_useAudioRecorder = require("./hooks/useAudioRecorder.js"), hooks_useWindow = require("./hooks/useWindow.js"), hooks_useObserveResize = require("./hooks/useObserveResize.js"), AudioBubble = require("./chunks/AudioBubble-CSybA_ET.js"), Avatar = require("./chunks/Avatar-vhbPRhli.js"), AvatarGroup = require("./chunks/AvatarGroup-BQ8evyuD.js"), Badge = require("./chunks/Badge-C6Yv-vZ7.js"), IconButton = require("./chunks/IconButton-C2pgDGer.js"), Camera = require("./chunks/Camera-UCBkxmIi.js"), CheckBox = require("./chunks/CheckBox-DEJCxMel.js"), DivInput = require("./chunks/DivInput-DXYuLZTP.js"), Dot = require("./chunks/Dot-ByyRFxJf.js"), DrggablePanel = require("./chunks/DrggablePanel-EDw3OZa4.js"), DropDown = require("./chunks/DropDown-BpvddY0X.js"), ErrorSummary = require("./chunks/ErrorSummary-Chas_lIG.js"), Grouper = require("./chunks/Grouper-DoDqtlXQ.js"), Overlay = require("./chunks/Overlay-77krece8.js"), Modal = require("./chunks/Modal-C9p4TjIF.js"), ModalController = require("./chunks/ModalController-B1l70sB5.js"), FlexDiv = require("./chunks/FlexDiv-CXas-gXx.js"), Pager = require("./chunks/Pager-B0FSZmAn.js"), PromptInput = require("./chunks/PromptInput-BFjWPvXi.js"), ProgressIndicator = require("./chunks/ProgressIndicator-CK7dKk8W.js"), RadioButton = require("./chunks/RadioButton-qoMg2eXZ.js"), RadioButtonList = require("./chunks/RadioButtonList-BKKQcFSI.js"), Slider = require("./chunks/Slider-D7r0G9UI.js"), Spacer = require("./chunks/Spacer-DHvuvgy8.js"), Switch = require("./chunks/Switch-D0WIz66o.js"), ToggleButton = require("./chunks/ToggleButton-cNIO7RUS.js"), TabBar = require("./chunks/TabBar-OZ8cC1Wh.js"), TextArea = require("./chunks/TextArea-BnWOSrib.js"), TextField = require("./chunks/TextField-zAs-JMXf.js"), providers_ThemeProvider = require("./providers/ThemeProvider.js"), Tip = require("./chunks/Tip-DeP8_frS.js"), Toast = require("./chunks/Toast-D-pkBwRK.js"), Button = require("./chunks/Button-DSFVBBSz.js"), Chip = require("./chunks/Chip-Co9UJPhs.js"), FileIcon = require("./chunks/FileIcon-vvwv1ZWh.js"), Icon = require("./chunks/Icon-DR7d5wbQ.js"), _types = require("./chunks/_types-BTZx360t.js"), ButtonBar = require("./chunks/ButtonBar-BV57H5tK.js"), Label = require("./chunks/Label-Bz1y0MlN.js"), Level = require("./chunks/Level-CGC1rIjD.js"), UploadArea = require("./chunks/UploadArea-6sLdjTc4.js");
|
|
4
4
|
|
|
5
|
-
require("./theme/corners.js"), require("./theme/type.js"), require("react"), require("./chunks/tslib.es6-
|
|
6
|
-
require("./chunks/MdStreamBuffer-
|
|
7
|
-
require("zustand"), require("./chunks/WebRTCConnection-
|
|
8
|
-
require("./chunks/volumeStore-
|
|
9
|
-
require("./chunks/audioVisualizer-
|
|
10
|
-
require("motion/react"), require("./chunks/modalStore-
|
|
11
|
-
require("./chunks/debounce-
|
|
5
|
+
require("./theme/corners.js"), require("./theme/type.js"), require("react"), require("./chunks/tslib.es6-CZ8Is2ry.js"),
|
|
6
|
+
require("./chunks/MdStreamBuffer-tvK8qsjv.js"), require("./chunks/webRTCStore-B1cS14MD.js"),
|
|
7
|
+
require("zustand"), require("./chunks/WebRTCConnection-Bv-nWtU7.js"), require("./chunks/microphoneStore-BWE0f5k5.js"),
|
|
8
|
+
require("./chunks/volumeStore-TOX_FL_t.js"), require("react/jsx-runtime"), require("./chunks/colors-D1ls4xuy.js"),
|
|
9
|
+
require("./chunks/audioVisualizer-DFVbG1U3.js"), require("./chunks/misc-Xy8NlSfu.js"),
|
|
10
|
+
require("motion/react"), require("./chunks/modalStore-C2TNegI3.js"), require("./chunks/FileList-CY_ZUI5o.js"),
|
|
11
|
+
require("./chunks/debounce-Dt7br1wm.js"), Object.defineProperty(exports, "ToolTipType", {
|
|
12
12
|
enumerable: !0,
|
|
13
13
|
get: function() {
|
|
14
14
|
return sharedTypes.ToolTipType;
|
|
@@ -24,7 +24,17 @@ exports.useMDStreamBuffer = hooks_useMdStreamBuffer.useMDStreamBuffer, exports.u
|
|
|
24
24
|
exports.useMicrophone = hooks_useMicrophone.useMicrophone, exports.useAudioRecorder = hooks_useAudioRecorder.useAudioRecorder,
|
|
25
25
|
exports.useWindow = hooks_useWindow.useWindow, exports.useObserveResize = hooks_useObserveResize.useObserveResize,
|
|
26
26
|
exports.AudioBubble = AudioBubble.AudioBubble, exports.Avatar = Avatar.Avatar, exports.AvatarGroup = AvatarGroup.AvatarGroup,
|
|
27
|
-
exports.Badge = Badge.Badge, exports
|
|
27
|
+
exports.Badge = Badge.Badge, Object.defineProperty(exports, "AnimationPreset", {
|
|
28
|
+
enumerable: !0,
|
|
29
|
+
get: function() {
|
|
30
|
+
return IconButton.AnimationPreset;
|
|
31
|
+
}
|
|
32
|
+
}), Object.defineProperty(exports, "AnimationType", {
|
|
33
|
+
enumerable: !0,
|
|
34
|
+
get: function() {
|
|
35
|
+
return IconButton.AnimationType;
|
|
36
|
+
}
|
|
37
|
+
}), exports.IconButton = IconButton.IconButton, exports.Camera = Camera.Camera,
|
|
28
38
|
exports.CheckBox = CheckBox.CheckBox, exports.DivInput = DivInput.DivInput, exports.Dot = Dot.Dot,
|
|
29
39
|
exports.DraggablePanel = DrggablePanel.DraggablePanel, exports.DropDown = DropDown.DropDown,
|
|
30
40
|
exports.ErrorSummary = ErrorSummary.ErrorSummary, exports.Grouper = Grouper.Grouper,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var localDBStore = require("../chunks/localDBStore-
|
|
3
|
+
var localDBStore = require("../chunks/localDBStore-DDw1HB7W.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
6
|
-
require("zustand/react/shallow"), require("../chunks/IndexedDB-
|
|
5
|
+
require("../chunks/tslib.es6-CZ8Is2ry.js"), require("react"), require("zustand"),
|
|
6
|
+
require("zustand/react/shallow"), require("../chunks/IndexedDB-B3huw-IF.js"), exports.localDBActions = localDBStore.localDBActions,
|
|
7
7
|
exports.useLocalDB = localDBStore.useLocalDB, exports.useLocalDBError = localDBStore.useLocalDBError,
|
|
8
8
|
exports.useLocalDBStore = localDBStore.useLocalDBStore, exports.useLocalDBValues = localDBStore.useLocalDBValues,
|
|
9
9
|
exports.useManageLocalDB = localDBStore.useManageLocalDB;
|
package/dist/cjs/stores/SSE.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var sseStore = require("../chunks/sseStore-
|
|
3
|
+
var sseStore = require("../chunks/sseStore-cP_aDXa1.js");
|
|
4
4
|
|
|
5
|
-
require("zustand"), require("../chunks/tslib.es6-
|
|
5
|
+
require("zustand"), require("../chunks/tslib.es6-CZ8Is2ry.js"), require("../chunks/SSEConnection-C6fFzIM7.js"),
|
|
6
6
|
exports.useConnectionClose = sseStore.useConnectionClose, exports.useConnectionMessage = sseStore.useConnectionMessage,
|
|
7
7
|
exports.useIsConnected = sseStore.useIsConnected, exports.useLastSSEMessage = sseStore.useLastSSEMessage,
|
|
8
8
|
exports.useMessage = sseStore.useMessage, exports.useSSE = sseStore.useSSE, exports.useSSEActions = sseStore.useSSEActions,
|
package/dist/cjs/stores/WS.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var zustand = require("zustand");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CZ8Is2ry.js");
|
|
6
6
|
|
|
7
|
-
var WSConnection = require("../chunks/WSConnection-
|
|
7
|
+
var WSConnection = require("../chunks/WSConnection-BwJzXOF0.js");
|
|
8
8
|
|
|
9
9
|
const useWSStore = zustand.create((set, get) => ({
|
|
10
10
|
connections: [],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var webRTCStore = require("../chunks/webRTCStore-
|
|
3
|
+
var webRTCStore = require("../chunks/webRTCStore-B1cS14MD.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CZ8Is2ry.js"), require("zustand"), require("../chunks/WebRTCConnection-Bv-nWtU7.js"),
|
|
6
6
|
exports.getWebRTCConnections = webRTCStore.getWebRTCConnections, exports.useWebRTC = webRTCStore.useWebRTC,
|
|
7
7
|
exports.useWebRTCActions = webRTCStore.useWebRTCActions, exports.useWebRTCConnected = webRTCStore.useWebRTCConnected,
|
|
8
8
|
exports.useWebRTCConnection = webRTCStore.useWebRTCConnection, exports.useWebRTCConnections = webRTCStore.useWebRTCConnections,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var microphoneStore = require("../chunks/microphoneStore-
|
|
3
|
+
var microphoneStore = require("../chunks/microphoneStore-BWE0f5k5.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CZ8Is2ry.js"), require("react"), require("zustand"),
|
|
6
6
|
exports.getCurrentMicDeviceLabel = microphoneStore.getCurrentMicDeviceLabel, exports.getMicrophoneState = microphoneStore.getMicrophoneState,
|
|
7
7
|
exports.microphoneActions = microphoneStore.microphoneActions, exports.useCurrentMicDeviceId = microphoneStore.useCurrentMicDeviceId,
|
|
8
8
|
exports.useCurrentMicDeviceLabel = microphoneStore.useCurrentMicDeviceLabel, exports.useMicActive = microphoneStore.useMicActive,
|
package/dist/cjs/stores/modal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var modalStore = require("../chunks/modalStore-
|
|
3
|
+
var modalStore = require("../chunks/modalStore-C2TNegI3.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getModal = modalStore.getModal, exports.modalActions = modalStore.modalActions,
|
|
6
6
|
exports.useModal = modalStore.useModal, exports.useModalActions = modalStore.useModalActions,
|
package/dist/cjs/stores/tip.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var tipStore = require("../chunks/tipStore-
|
|
3
|
+
var tipStore = require("../chunks/tipStore-CcUHlLfK.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getTip = tipStore.getTip, exports.tipActions = tipStore.tipActions,
|
|
6
6
|
exports.useTip = tipStore.useTip, exports.useTipActions = tipStore.useTipActions,
|
package/dist/cjs/stores/toast.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var toastStore = require("../chunks/toastStore-
|
|
3
|
+
var toastStore = require("../chunks/toastStore-CzsUlpG7.js");
|
|
4
4
|
|
|
5
5
|
require("zustand"), exports.getToast = toastStore.getToast, exports.toastActions = toastStore.toastActions,
|
|
6
6
|
exports.useToast = toastStore.useToast, exports.useToastActions = toastStore.useToastActions,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var uploadsStore = require("../chunks/uploadsStore-
|
|
3
|
+
var uploadsStore = require("../chunks/uploadsStore-CysEm3Jm.js");
|
|
4
4
|
|
|
5
|
-
require("zustand"), require("../chunks/uploads-worker-
|
|
5
|
+
require("zustand"), require("../chunks/uploads-worker-Ey3k_A8W.js"), require("../chunks/tslib.es6-CZ8Is2ry.js"),
|
|
6
6
|
exports.createUploadsWorker = uploadsStore.createUploadsWorker, exports.getUploads = uploadsStore.getUploads,
|
|
7
7
|
exports.getUploadsError = uploadsStore.getUploadsError, exports.getUploadsWorkerStatus = uploadsStore.getUploadsWorkerStatus,
|
|
8
8
|
exports.uploadsActions = uploadsStore.uploadsActions, exports.uploadsInitialized = uploadsStore.uploadsInitialized,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var volumeStore = require("../chunks/volumeStore-
|
|
3
|
+
var volumeStore = require("../chunks/volumeStore-TOX_FL_t.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CZ8Is2ry.js"), require("zustand"), exports.getAttachedMedia = volumeStore.getAttachedMedia,
|
|
6
6
|
exports.getMuted = volumeStore.getMuted, exports.getStoredVolume = volumeStore.getStoredVolume,
|
|
7
7
|
exports.getVolume = volumeStore.getVolume, exports.useAttachedMedia = volumeStore.useAttachedMedia,
|
|
8
8
|
exports.useMuted = volumeStore.useMuted, exports.useStoredVolume = volumeStore.useStoredVolume,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var windowStore = require("../chunks/windowStore-
|
|
3
|
+
var windowStore = require("../chunks/windowStore-DCcNnrCO.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CZ8Is2ry.js"), require("zustand"), Object.defineProperty(exports, "FormFactor", {
|
|
6
6
|
enumerable: !0,
|
|
7
7
|
get: function() {
|
|
8
8
|
return windowStore.FormFactor;
|
package/dist/cjs/stores.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var microphoneStore = require("./chunks/microphoneStore-
|
|
3
|
+
var microphoneStore = require("./chunks/microphoneStore-BWE0f5k5.js"), volumeStore = require("./chunks/volumeStore-TOX_FL_t.js"), webRTCStore = require("./chunks/webRTCStore-B1cS14MD.js"), windowStore = require("./chunks/windowStore-DCcNnrCO.js"), uploadsStore = require("./chunks/uploadsStore-CysEm3Jm.js"), modalStore = require("./chunks/modalStore-C2TNegI3.js"), tipStore = require("./chunks/tipStore-CcUHlLfK.js"), toastStore = require("./chunks/toastStore-CzsUlpG7.js"), localDBStore = require("./chunks/localDBStore-DDw1HB7W.js"), sseStore = require("./chunks/sseStore-cP_aDXa1.js");
|
|
4
4
|
|
|
5
|
-
require("./chunks/tslib.es6-
|
|
6
|
-
require("./chunks/WebRTCConnection-
|
|
7
|
-
require("zustand/react/shallow"), require("./chunks/IndexedDB-
|
|
5
|
+
require("./chunks/tslib.es6-CZ8Is2ry.js"), require("react"), require("zustand"),
|
|
6
|
+
require("./chunks/WebRTCConnection-Bv-nWtU7.js"), require("./chunks/uploads-worker-Ey3k_A8W.js"),
|
|
7
|
+
require("zustand/react/shallow"), require("./chunks/IndexedDB-B3huw-IF.js"), require("./chunks/SSEConnection-C6fFzIM7.js"),
|
|
8
8
|
exports.getCurrentMicDeviceLabel = microphoneStore.getCurrentMicDeviceLabel, exports.getMicrophoneState = microphoneStore.getMicrophoneState,
|
|
9
9
|
exports.microphoneActions = microphoneStore.microphoneActions, exports.useCurrentMicDeviceId = microphoneStore.useCurrentMicDeviceId,
|
|
10
10
|
exports.useCurrentMicDeviceLabel = microphoneStore.useCurrentMicDeviceLabel, exports.useMicActive = microphoneStore.useMicActive,
|
package/dist/cjs/theme/colors.js
CHANGED
|
@@ -155,6 +155,7 @@ const coreColors = {
|
|
|
155
155
|
"core-text-secondary": coreColors["brand-grey-700"],
|
|
156
156
|
"core-text-tertiary": coreColors["brand-grey-600"],
|
|
157
157
|
"core-text-special": coreColors["brand-sea-500"],
|
|
158
|
+
"core-text-accent": coreColors["brand-sky-500"],
|
|
158
159
|
"core-link-primary": coreColors["brand-sea-500"],
|
|
159
160
|
"eor-tag-employee": coreColors["brand-sky-700"],
|
|
160
161
|
"eor-tag-overdue": coreColors["product-red-500"],
|
|
@@ -222,6 +223,7 @@ const coreColors = {
|
|
|
222
223
|
"core-text-secondary": coreColors["brand-grey-200"],
|
|
223
224
|
"core-text-tertiary": coreColors["brand-grey-400"],
|
|
224
225
|
"core-text-special": coreColors["brand-sky-300"],
|
|
226
|
+
"core-text-accent": coreColors["brand-sky-300"],
|
|
225
227
|
"core-link-primary": coreColors["brand-sky-300"],
|
|
226
228
|
"eor-tag-employee": coreColors["brand-sky-700"],
|
|
227
229
|
"eor-tag-overdue": coreColors["product-red-400"],
|
|
@@ -290,6 +292,7 @@ exports.colorClass = {
|
|
|
290
292
|
"core-text-primary": "core-text-primary",
|
|
291
293
|
"core-text-secondary": "core-text-secondary",
|
|
292
294
|
"core-text-special": "core-text-special",
|
|
295
|
+
"core-text-accent": "core-text-accent",
|
|
293
296
|
"core-text-tertiary": "core-text-tertiary",
|
|
294
297
|
"core-link-primary": "core-link-primary",
|
|
295
298
|
"eor-tag-employee": "eor-tag-employee",
|
|
@@ -357,6 +360,7 @@ exports.colorClass = {
|
|
|
357
360
|
"core-text-primary": "var(--core-text-primary)",
|
|
358
361
|
"core-text-secondary": "var(--core-text-secondary)",
|
|
359
362
|
"core-text-special": "var(--core-text-special)",
|
|
363
|
+
"core-text-accent": "var(--core-text-accent)",
|
|
360
364
|
"core-text-tertiary": "var(--core-text-tertiary)",
|
|
361
365
|
"core-link-primary": "var(--core-link-primary)",
|
|
362
366
|
"eor-tag-employee": "var(--eor-tag-employee)",
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var misc = require("../chunks/misc-
|
|
3
|
+
var misc = require("../chunks/misc-Xy8NlSfu.js"), debounce = require("../chunks/debounce-Dt7br1wm.js"), colors = require("../chunks/colors-D1ls4xuy.js"), IndexedDB = require("../chunks/IndexedDB-B3huw-IF.js"), audioVisualizer = require("../chunks/audioVisualizer-DFVbG1U3.js"), MdStreamBuffer = require("../chunks/MdStreamBuffer-tvK8qsjv.js"), SSEConnection = require("../chunks/SSEConnection-C6fFzIM7.js"), WSConnection = require("../chunks/WSConnection-BwJzXOF0.js"), WebRTCConnection = require("../chunks/WebRTCConnection-Bv-nWtU7.js");
|
|
4
4
|
|
|
5
|
-
require("../chunks/tslib.es6-
|
|
5
|
+
require("../chunks/tslib.es6-CZ8Is2ry.js"), exports.copyToClipboard = misc.copyToClipboard,
|
|
6
6
|
exports.hexToRgb = misc.hexToRgb, exports.debounce = debounce.debounce, exports.addOpacity = colors.addOpacity,
|
|
7
7
|
exports.tintFromColor = colors.tintFromColor, exports.IndexedDB = IndexedDB.IndexedDB,
|
|
8
8
|
exports.AudioVisualizer = audioVisualizer.AudioVisualizer, exports.MdBuffer = MdStreamBuffer.MdBuffer,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var IndexedDB = require("../../chunks/IndexedDB-
|
|
3
|
+
var IndexedDB = require("../../chunks/IndexedDB-B3huw-IF.js"), audioVisualizer = require("../../chunks/audioVisualizer-DFVbG1U3.js"), MdStreamBuffer = require("../../chunks/MdStreamBuffer-tvK8qsjv.js"), SSEConnection = require("../../chunks/SSEConnection-C6fFzIM7.js"), WSConnection = require("../../chunks/WSConnection-BwJzXOF0.js"), WebRTCConnection = require("../../chunks/WebRTCConnection-Bv-nWtU7.js");
|
|
4
4
|
|
|
5
|
-
require("../../chunks/tslib.es6-
|
|
5
|
+
require("../../chunks/tslib.es6-CZ8Is2ry.js"), exports.IndexedDB = IndexedDB.IndexedDB,
|
|
6
6
|
exports.AudioVisualizer = audioVisualizer.AudioVisualizer, exports.MdBuffer = MdStreamBuffer.MdBuffer,
|
|
7
7
|
exports.SSEConnection = SSEConnection.SSEConnection, exports.WSConnection = WSConnection.WSConnection,
|
|
8
8
|
exports.WebRTCConnection = WebRTCConnection.WebRTCConnection;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var uploadsWorker = require("../../chunks/uploads-worker-
|
|
3
|
+
var uploadsWorker = require("../../chunks/uploads-worker-Ey3k_A8W.js");
|
|
4
4
|
|
|
5
|
-
require("../../chunks/tslib.es6-
|
|
5
|
+
require("../../chunks/tslib.es6-CZ8Is2ry.js"), uploadsWorker.registerUploadsWorker();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,15 +9,15 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import { a as addOpacity } from "./colors-
|
|
12
|
+
import { a as addOpacity } from "./colors-7VDET9eL.mjs";
|
|
13
13
|
|
|
14
|
-
import { A as AudioVisualizer } from "./audioVisualizer-
|
|
14
|
+
import { A as AudioVisualizer } from "./audioVisualizer-Cw40IeKn.mjs";
|
|
15
15
|
|
|
16
|
-
import "./webRTCStore-
|
|
16
|
+
import "./webRTCStore-BLGNTnV3.mjs";
|
|
17
17
|
|
|
18
|
-
import "./microphoneStore-
|
|
18
|
+
import "./microphoneStore-Do0a5LZ9.mjs";
|
|
19
19
|
|
|
20
|
-
import "./volumeStore-
|
|
20
|
+
import "./volumeStore-D5i1CeFf.mjs";
|
|
21
21
|
|
|
22
22
|
import "../hooks/useWindow.mjs";
|
|
23
23
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useRef, useState, useMemo, useEffect, useCallback } from "react";
|
|
7
7
|
|
|
8
|
-
import { n as normalizedPercent, a as accessibleKeyDown, s as setStyle } from "./misc-
|
|
8
|
+
import { n as normalizedPercent, a as accessibleKeyDown, s as setStyle } from "./misc-C5cfUKzm.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "Avatar-module_wrapper__ab1D7 flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_user = "Avatar-module_user__ZQv0Q flexBox-module_row__z24tF type-module_body-m-regular__LuQBA";
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useMemo } from "react";
|
|
7
7
|
|
|
8
|
-
import { A as Avatar } from "./Avatar-
|
|
8
|
+
import { A as Avatar } from "./Avatar-C7U2ianJ.mjs";
|
|
9
9
|
|
|
10
10
|
var css_wrapper = "AvatarGroup-module_wrapper__MtOyq flexBox-module_rowStart__4tcxS", css_avatar = "AvatarGroup-module_avatar__5NVpW";
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,15 +7,15 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { forwardRef, useState, useRef, useCallback, useEffect, useImperativeHandle, useMemo } from "react";
|
|
9
9
|
|
|
10
|
-
import { B as Badge } from "./Badge-
|
|
10
|
+
import { B as Badge } from "./Badge-BKZj-pNA.mjs";
|
|
11
11
|
|
|
12
|
-
import { D as Dot } from "./Dot-
|
|
12
|
+
import { D as Dot } from "./Dot-DnfM38Qp.mjs";
|
|
13
13
|
|
|
14
|
-
import { I as Icon } from "./Icon-
|
|
14
|
+
import { I as Icon } from "./Icon-CKS12m2e.mjs";
|
|
15
15
|
|
|
16
|
-
import { P as ProgressIndicator } from "./ProgressIndicator-
|
|
16
|
+
import { P as ProgressIndicator } from "./ProgressIndicator-C2EWIn7Z.mjs";
|
|
17
17
|
|
|
18
|
-
import { T as ToolTipType } from "./sharedTypes-
|
|
18
|
+
import { T as ToolTipType } from "./sharedTypes-7jlhdP2f.mjs";
|
|
19
19
|
|
|
20
20
|
var css = {
|
|
21
21
|
button: "Button-module_button__2ZuB7 flexBox-module_row__z24tF",
|
|
@@ -29,12 +29,13 @@ var css = {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const ButtonComponent = forwardRef((props, buttonRef) => {
|
|
32
|
-
const {children: children, size: size = "medium", variant: variant = "outline", label: label, labelSize: labelSize = "m", iconRight: iconRight, iconLeft: iconLeft, iconFill: iconFill = !1, count: count = (void 0 === props.count ? void 0 : Number(props.count)), showDot: showDot, tooltip: tooltip, round: round = !1, state: state = "normal", fill: fill = !1, iconSize: iconSize = (void 0 === props.iconSize ? 20 : Number(props.iconSize)), width: width = "min-content", underline: underline = !1, borderRadius: borderRadius, iconColor: iconColor, backgroundColor: backgroundColor, backgroundColorDisabled: backgroundColorDisabled, bgColor: bgColor, bgColorDisabled: bgColorDisabled, labelColor: labelColor, transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, paddingRight: paddingRight, paddingLeft: paddingLeft, progress: progress = !1, working: working = !1, duration: duration, trigger: trigger = !1, destructive: destructive = !1, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "children", "size", "variant", "label", "labelSize", "iconRight", "iconLeft", "iconFill", "count", "showDot", "tooltip", "round", "state", "fill", "iconSize", "width", "underline", "borderRadius", "iconColor", "backgroundColor", "backgroundColorDisabled", "bgColor", "bgColorDisabled", "labelColor", "transition", "variants", "initial", "animate", "exit", "paddingRight", "paddingLeft", "progress", "working", "duration", "trigger", "destructive", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorDisabled = null != backgroundColorDisabled ? backgroundColorDisabled : bgColorDisabled, [btnState, setBtnState] = useState(state), [lockedWidth, setLockedWidth] = useState(void 0), [playing, setPlaying] = useState(working), ref = useRef(null), lockCurrentWidth = useCallback(() => {
|
|
32
|
+
const {children: children, size: size = "medium", variant: variant = "outline", label: label, labelSize: labelSize = "m", iconRight: iconRight, iconLeft: iconLeft, iconFill: iconFill = !1, count: count = (void 0 === props.count ? void 0 : Number(props.count)), showDot: showDot, tooltip: tooltip, round: round = !1, state: state = "normal", fill: fill = !1, iconSize: iconSize = (void 0 === props.iconSize ? 20 : Number(props.iconSize)), width: width = "min-content", underline: underline = !1, borderRadius: borderRadius, iconColor: iconColor, backgroundColor: backgroundColor, backgroundColorDisabled: backgroundColorDisabled, bgColor: bgColor, bgColorDisabled: bgColorDisabled, labelColor: labelColor, transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, paddingRight: paddingRight, paddingLeft: paddingLeft, progress: progress = !1, working: working = !1, duration: duration, trigger: trigger = !1, destructive: destructive = !1, link: link, target: target = "_self", onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = __rest(props, [ "children", "size", "variant", "label", "labelSize", "iconRight", "iconLeft", "iconFill", "count", "showDot", "tooltip", "round", "state", "fill", "iconSize", "width", "underline", "borderRadius", "iconColor", "backgroundColor", "backgroundColorDisabled", "bgColor", "bgColorDisabled", "labelColor", "transition", "variants", "initial", "animate", "exit", "paddingRight", "paddingLeft", "progress", "working", "duration", "trigger", "destructive", "link", "target", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBackgroundColorDisabled = null != backgroundColorDisabled ? backgroundColorDisabled : bgColorDisabled, [btnState, setBtnState] = useState(state), [lockedWidth, setLockedWidth] = useState(void 0), [playing, setPlaying] = useState(working), ref = useRef(null), lockCurrentWidth = useCallback(() => {
|
|
33
33
|
ref.current && setLockedWidth(ref.current.offsetWidth);
|
|
34
34
|
}, []), handleClick = useCallback(e => {
|
|
35
35
|
onToolTip(null), "disabled" !== btnState && (progress && duration ? (lockCurrentWidth(),
|
|
36
|
-
setPlaying(!0)) :
|
|
37
|
-
|
|
36
|
+
setPlaying(!0)) : (link && void 0 !== globalThis.window && globalThis.window.open(link, target),
|
|
37
|
+
onClick(e)));
|
|
38
|
+
}, [ onToolTip, btnState, progress, duration, lockCurrentWidth, onClick, link, target ]);
|
|
38
39
|
useEffect(() => setBtnState(state), [ state ]), useEffect(() => {
|
|
39
40
|
working ? lockCurrentWidth() : setLockedWidth(void 0), setPlaying(working);
|
|
40
41
|
}, [ working, lockCurrentWidth ]), useImperativeHandle(buttonRef, () => ({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
import React, { useState, useEffect, useCallback, useMemo, useRef } from "react";
|
|
7
7
|
|
|
8
|
-
import { s as setStyle } from "./misc-
|
|
8
|
+
import { s as setStyle } from "./misc-C5cfUKzm.mjs";
|
|
9
9
|
|
|
10
|
-
import { I as Icon } from "./Icon-
|
|
10
|
+
import { I as Icon } from "./Icon-CKS12m2e.mjs";
|
|
11
11
|
|
|
12
12
|
var css_wrapper = "ButtonBar-module_wrapper__FYZ3s flexBox-module_rowStart__4tcxS", css_button = "ButtonBar-module_button__bMR3h flexBox-module_row__z24tF", css_selected = "ButtonBar-module_selected__wKvmi";
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { a as __awaiter } from "./tslib.es6-
|
|
2
|
+
import { a as __awaiter } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -9,21 +9,21 @@ import { useTheme } from "../hooks/useTheme.mjs";
|
|
|
9
9
|
|
|
10
10
|
import "../theme/colors.mjs";
|
|
11
11
|
|
|
12
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
12
|
+
import { a as accessibleKeyDown } from "./misc-C5cfUKzm.mjs";
|
|
13
13
|
|
|
14
|
-
import { a as addOpacity } from "./colors-
|
|
14
|
+
import { a as addOpacity } from "./colors-7VDET9eL.mjs";
|
|
15
15
|
|
|
16
|
-
import "./webRTCStore-
|
|
16
|
+
import "./webRTCStore-BLGNTnV3.mjs";
|
|
17
17
|
|
|
18
|
-
import "./microphoneStore-
|
|
18
|
+
import "./microphoneStore-Do0a5LZ9.mjs";
|
|
19
19
|
|
|
20
|
-
import "./volumeStore-
|
|
20
|
+
import "./volumeStore-D5i1CeFf.mjs";
|
|
21
21
|
|
|
22
22
|
import "../hooks/useWindow.mjs";
|
|
23
23
|
|
|
24
|
-
import { A as Avatar } from "./Avatar-
|
|
24
|
+
import { A as Avatar } from "./Avatar-C7U2ianJ.mjs";
|
|
25
25
|
|
|
26
|
-
import { I as Icon } from "./Icon-
|
|
26
|
+
import { I as Icon } from "./Icon-CKS12m2e.mjs";
|
|
27
27
|
|
|
28
28
|
var css_wrapper = "Camera-module_wrapper__GOsKp flexBox-module_column__ezvMq", css_video = "Camera-module_video__Q2r9B", css_controls = "Camera-module_controls__qXYoL flexBox-module_rowBetween__5FEvi", css_controlsRight = "Camera-module_controlsRight__VcIz7 flexBox-module_rowEnd__rVdVm", css_controlsCenter = "Camera-module_controlsCenter__e-erq flexBox-module_row__z24tF", css_controlsLeft = "Camera-module_controlsLeft__bR4TN flexBox-module_rowStart__4tcxS", css_error = "Camera-module_error__t0w-d flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_poster = "Camera-module_poster__Gun-v flexBox-module_row__z24tF type-module_body-m-regular__LuQBA", css_snapshotFrame = "Camera-module_snapshotFrame__YM6Eu flexBox-module_row__z24tF", css_clear = "Camera-module_clear__aaCfT", css_snapshot = "Camera-module_snapshot__odQH0", css_toolbarButton = "Camera-module_toolbarButton__mnmoF flexBox-module_columnStartCenter__PKcrG", css_buttonIcon = "Camera-module_buttonIcon__a-VBR flexBox-module_row__z24tF", css_buttonLabel = "Camera-module_buttonLabel__6BEs1 flexBox-module_row__z24tF type-module_body-xs-regular__ZAFft";
|
|
29
29
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest } from "./tslib.es6-
|
|
2
|
+
import { _ as __rest } from "./tslib.es6-CDAuOlZ8.mjs";
|
|
3
3
|
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -7,9 +7,9 @@ import { motion } from "motion/react";
|
|
|
7
7
|
|
|
8
8
|
import React, { useState, useEffect, useMemo, useCallback } from "react";
|
|
9
9
|
|
|
10
|
-
import { a as accessibleKeyDown } from "./misc-
|
|
10
|
+
import { a as accessibleKeyDown } from "./misc-C5cfUKzm.mjs";
|
|
11
11
|
|
|
12
|
-
import { I as Icon } from "./Icon-
|
|
12
|
+
import { I as Icon } from "./Icon-CKS12m2e.mjs";
|
|
13
13
|
|
|
14
14
|
var css_wrapper = "CheckBox-module_wrapper__uRsjI flexBox-module_row__z24tF", css_icon = "CheckBox-module_icon__FoDJN flexBox-module_row__z24tF", css_label = "CheckBox-module_label__0AiBp type-module_body-m-regular__LuQBA";
|
|
15
15
|
|