uapp-communication-sdk 1.0.0-dev.54
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/ChatHead-148558a8-Bipu8iXd.cjs +2 -0
- package/ChatHead-148558a8-D9wUKNkE.js +12 -0
- package/ResizeObserver.es-02979d4e-08-m4hFC.cjs +2 -0
- package/ResizeObserver.es-02979d4e-7ifz085B.js +278 -0
- package/TextMessage-2b375fe4-BUesjXSM.cjs +4 -0
- package/TextMessage-2b375fe4-C3WniBlc.js +25 -0
- package/browser-24d8ab3e-Dc1oiNSF.cjs +2 -0
- package/browser-24d8ab3e-NtKNY0W9.js +6 -0
- package/chat-98db6d32-BxDEnpgG.cjs +2 -0
- package/chat-98db6d32-D3jNjCkY.js +94 -0
- package/communication-sdk.cjs +56 -0
- package/communication-sdk.js +41205 -0
- package/communication-sdk.standalone.js +2098 -0
- package/config-73678ba3-BprVFseQ.cjs +2 -0
- package/config-73678ba3-Cj6e6Qdv.js +303 -0
- package/date-b1f78dea-CMBworrP.js +18 -0
- package/date-b1f78dea-DZ5M_dXV.cjs +2 -0
- package/debounce-0169a54d-BTbObJU4.js +105 -0
- package/debounce-0169a54d-D2rXxKxS.cjs +2 -0
- package/debounce-d193e708-Bk-G__sK.cjs +2 -0
- package/debounce-d193e708-DvRG74IY.js +78 -0
- package/file-6114f1a9-BqdWZ5p6.js +33 -0
- package/file-6114f1a9-tHgu1ZLQ.cjs +2 -0
- package/floating-ui.dom.esm-21c3d54e-BPpyJeSs.js +837 -0
- package/floating-ui.dom.esm-21c3d54e-BU9X0ai0.cjs +2 -0
- package/full-screen-d36ffc68-BdzItNrC.cjs +2 -0
- package/full-screen-d36ffc68-DTjfmPnC.js +10 -0
- package/grid-a3ca5a3e-Bb63kX0E.js +75 -0
- package/grid-a3ca5a3e-Be7O6bWJ.cjs +2 -0
- package/hark-6327d91e-BC3gpCxb.js +91 -0
- package/hark-6327d91e-Myicfflm.cjs +2 -0
- package/icon.jpg +0 -0
- package/index-3f51790f-Cnkj1veX.js +139 -0
- package/index-3f51790f-D4DlIx1n.cjs +2 -0
- package/index-8be19fcf-BppFp8rx.js +59 -0
- package/index-8be19fcf-CdLnDVXY.cjs +2 -0
- package/join-error-e87be64a-Bp5K1v67.cjs +2 -0
- package/join-error-e87be64a-Bxi3HnXN.js +22 -0
- package/jsx-runtime-DkX7fJRX.js +495 -0
- package/jsx-runtime-VQ627FC0.cjs +17 -0
- package/lead management v1.svg +40 -0
- package/merge-d1e6bb2e-BwBSuC-3.cjs +2 -0
- package/merge-d1e6bb2e-DU-Azq-P.js +302 -0
- package/notification-1ebf7700-CqNPBLRu.js +25 -0
- package/notification-1ebf7700-DJMhZ_5x.cjs +2 -0
- package/package.json +31 -0
- package/realtimekit-call-media-Bw4ob8QT.cjs +1029 -0
- package/realtimekit-call-media-DMA0v3F5.js +59998 -0
- package/rtk-ai-toggle.entry-BiKp-DM-.js +49 -0
- package/rtk-ai-toggle.entry-CIKHxtmx.cjs +2 -0
- package/rtk-ai-transcriptions.entry-Bo04HoD0.cjs +3 -0
- package/rtk-ai-transcriptions.entry-C7J2_ps1.js +103 -0
- package/rtk-ai_3.entry-DXWB1goI.js +170 -0
- package/rtk-ai_3.entry-JX0HtgE-.cjs +4 -0
- package/rtk-audio-grid.entry-B0_kLpCU.cjs +3 -0
- package/rtk-audio-grid.entry-CGwzwpn5.js +79 -0
- package/rtk-audio-tile.entry-BhaPrwEG.cjs +2 -0
- package/rtk-audio-tile.entry-D0E8he3n.js +70 -0
- package/rtk-audio-visualizer_4.entry-CBLhyoKj.js +274 -0
- package/rtk-audio-visualizer_4.entry-F-ix_WGT.cjs +2 -0
- package/rtk-avatar_26.entry-Bw8WR8R7.cjs +202 -0
- package/rtk-avatar_26.entry-CEksnaAj.js +1828 -0
- package/rtk-breakout-room-manager_3.entry-Dsx4RihG.js +357 -0
- package/rtk-breakout-room-manager_3.entry-l6aYkVq0.cjs +3 -0
- package/rtk-breakout-rooms-manager_9.entry-CGI8oj9L.cjs +4 -0
- package/rtk-breakout-rooms-manager_9.entry-CWTO3XcT.js +816 -0
- package/rtk-breakout-rooms-toggle.entry-CS80xvJx.js +51 -0
- package/rtk-breakout-rooms-toggle.entry-oj_V6-df.cjs +2 -0
- package/rtk-camera-selector_2.entry-BYnu8O_x.js +163 -0
- package/rtk-camera-selector_2.entry-IGwTt2o0.cjs +285 -0
- package/rtk-camera-toggle.entry-Dj_mu3l8.js +95 -0
- package/rtk-camera-toggle.entry-pYPRUD4q.cjs +2 -0
- package/rtk-caption-toggle.entry-CLpTeNRE.js +56 -0
- package/rtk-caption-toggle.entry-V9DeCT0L.cjs +2 -0
- package/rtk-chat-composer-ui.entry-Cw9ZoMkN.js +284 -0
- package/rtk-chat-composer-ui.entry-DIHdPqn2.cjs +4 -0
- package/rtk-chat-message.entry-Bk_Hku2z.js +130 -0
- package/rtk-chat-message.entry-BvZAUNi4.cjs +2 -0
- package/rtk-chat-messages-ui.entry-DJyj1qxr.cjs +3 -0
- package/rtk-chat-messages-ui.entry-GFBxji5m.js +172 -0
- package/rtk-chat-search-results.entry-C-CdKI8t.cjs +2 -0
- package/rtk-chat-search-results.entry-CGLkfTWA.js +36 -0
- package/rtk-chat-selector-ui.entry-CJz5Kg5s.js +67 -0
- package/rtk-chat-selector-ui.entry-CMHEuQv-.cjs +3 -0
- package/rtk-chat-toggle.entry-BHFfnIeU.js +80 -0
- package/rtk-chat-toggle.entry-Cy2hSDlp.cjs +2 -0
- package/rtk-clock.entry-8HGCSwID.cjs +2 -0
- package/rtk-clock.entry-DlxkFRkP.js +72 -0
- package/rtk-controlbar-button.entry-Coe2w0Cb.js +47 -0
- package/rtk-controlbar-button.entry-DP5y3QOx.cjs +5 -0
- package/rtk-controlbar.entry-B5rN4ncP.cjs +2 -0
- package/rtk-controlbar.entry-DIzG25Pn.js +35 -0
- package/rtk-debugger-audio_4.entry-DsN_WykF.js +332 -0
- package/rtk-debugger-audio_4.entry-XbVOe8gz.cjs +6 -0
- package/rtk-debugger-toggle.entry-B2c1ec2a.cjs +2 -0
- package/rtk-debugger-toggle.entry-CbNvmuqY.js +38 -0
- package/rtk-dialog-manager.entry-CYCChhaK.js +152 -0
- package/rtk-dialog-manager.entry-CxPwXIhZ.cjs +2 -0
- package/rtk-dialog.entry-JNwZs8NO.cjs +2 -0
- package/rtk-dialog.entry-wSmW2kWJ.js +54 -0
- package/rtk-ended-screen.entry-BzkOJZ0m.cjs +2 -0
- package/rtk-ended-screen.entry-V-8LFtyv.js +73 -0
- package/rtk-file-dropzone.entry-CHxkHIIj.js +39 -0
- package/rtk-file-dropzone.entry-CemvfQY9.cjs +2 -0
- package/rtk-file-message_3.entry-C0UIFHc2.cjs +2 -0
- package/rtk-file-message_3.entry-lqBz92Fc.js +190 -0
- package/rtk-fullscreen-toggle.entry-CvPfJfHz.cjs +2 -0
- package/rtk-fullscreen-toggle.entry-U_KhW-Wr.js +40 -0
- package/rtk-grid-pagination.entry-0uyn66Hp.js +93 -0
- package/rtk-grid-pagination.entry-COgTipNK.cjs +2 -0
- package/rtk-grid.entry-BjlUNw9j.js +190 -0
- package/rtk-grid.entry-ehD78Xkw.cjs +2 -0
- package/rtk-header.entry-BBOX-6HY.cjs +2 -0
- package/rtk-header.entry-Tu0tUY7L.js +35 -0
- package/rtk-idle-screen.entry-BIBIJGYT.cjs +2 -0
- package/rtk-idle-screen.entry-PA7HaBsC.js +75 -0
- package/rtk-image-viewer.entry-BPmj6vNm.js +68 -0
- package/rtk-image-viewer.entry-B_SW3YQy.cjs +3 -0
- package/rtk-information-tooltip.entry-D8V0vZRX.js +34 -0
- package/rtk-information-tooltip.entry-UPX-3HNE.cjs +2 -0
- package/rtk-leave-button.entry-Bc7t53rx.cjs +2 -0
- package/rtk-leave-button.entry-BqEVbdya.js +37 -0
- package/rtk-livestream-indicator_3.entry-BWfPZWUv.js +18768 -0
- package/rtk-livestream-indicator_3.entry-CJIhUk_p.cjs +47 -0
- package/rtk-livestream-toggle.entry-BB_FHgX5.js +87 -0
- package/rtk-livestream-toggle.entry-BpU7TCy1.cjs +2 -0
- package/rtk-logo.entry-DdsoiMxL.js +47 -0
- package/rtk-logo.entry-Dyk_ujMI.cjs +2 -0
- package/rtk-meeting-title.entry-CNKo9JbK.cjs +2 -0
- package/rtk-meeting-title.entry-hjlRTiCL.js +31 -0
- package/rtk-message-list-view.entry-BJMY-4ke.js +157 -0
- package/rtk-message-list-view.entry-ify6TI5Z.cjs +3 -0
- package/rtk-mic-toggle.entry-DChpdAKH.cjs +2 -0
- package/rtk-mic-toggle.entry-Uj09K2JO.js +95 -0
- package/rtk-mixed-grid.entry-DkH4vkGb.js +174 -0
- package/rtk-mixed-grid.entry-x9ICA4i3.cjs +2 -0
- package/rtk-more-toggle.entry-CvEKPzhX.cjs +2 -0
- package/rtk-more-toggle.entry-DaOr4Fmp.js +59 -0
- package/rtk-mute-all-button.entry-Bak6-AHW.cjs +2 -0
- package/rtk-mute-all-button.entry-Df5Ksm5N.js +52 -0
- package/rtk-name-tag.entry-GNggLJ9u.cjs +2 -0
- package/rtk-name-tag.entry-yjFcx7EV.js +44 -0
- package/rtk-network-indicator.entry-U9gudIfE.cjs +2 -0
- package/rtk-network-indicator.entry-ZwVMjwFs.js +51 -0
- package/rtk-notification.entry-CBCq7i7K.js +76 -0
- package/rtk-notification.entry-LlUyomBO.cjs +2 -0
- package/rtk-notifications.entry-9Dw5djbp.js +354 -0
- package/rtk-notifications.entry-gsfjfv2h.cjs +2 -0
- package/rtk-participant-count.entry-BUw-Cd3W.js +48 -0
- package/rtk-participant-count.entry-Dk8DWxig.cjs +2 -0
- package/rtk-participant-setup.entry-BohZTYS_.cjs +2 -0
- package/rtk-participant-setup.entry-_oJPV_A2.js +68 -0
- package/rtk-participant_2.entry-BQ8cRCla.js +322 -0
- package/rtk-participant_2.entry-CSJ1WKyk.cjs +2 -0
- package/rtk-participants-audio.entry-Bj2RQjHj.cjs +4 -0
- package/rtk-participants-audio.entry-CRRU4853.js +112 -0
- package/rtk-participants-stage-list_4.entry-C2bhezUX.cjs +2 -0
- package/rtk-participants-stage-list_4.entry-CfwKQNZo.js +331 -0
- package/rtk-participants-toggle.entry-BrE4gVkE.js +79 -0
- package/rtk-participants-toggle.entry-BvSc5CIe.cjs +2 -0
- package/rtk-participants.entry-CS1ES8Ma.cjs +3 -0
- package/rtk-participants.entry-XWFx4V-1.js +121 -0
- package/rtk-pip-toggle.entry-BHC7Eu5O.cjs +2 -0
- package/rtk-pip-toggle.entry-UwJL8vM2.js +47 -0
- package/rtk-plugin-main_2.entry-0SfO2q15.cjs +3 -0
- package/rtk-plugin-main_2.entry-Dj0vnXOQ.js +111 -0
- package/rtk-plugins-toggle.entry-C0H4S0H4.js +68 -0
- package/rtk-plugins-toggle.entry-CfpKGiL4.cjs +2 -0
- package/rtk-poll_2.entry-D9AYkvMm.cjs +4 -0
- package/rtk-poll_2.entry-Wmb8IAXg.js +148 -0
- package/rtk-polls-toggle.entry-CI2MWdyH.js +73 -0
- package/rtk-polls-toggle.entry-CY4eErra.cjs +2 -0
- package/rtk-recording-indicator.entry--LTYQvNR.js +52 -0
- package/rtk-recording-indicator.entry-CDZxzdOR.cjs +2 -0
- package/rtk-recording-toggle.entry-R0uQfZhd.js +103 -0
- package/rtk-recording-toggle.entry-Xtd4BknK.cjs +2 -0
- package/rtk-screen-share-toggle.entry-BQa9pzWF.js +119 -0
- package/rtk-screen-share-toggle.entry-gkCyPxbC.cjs +2 -0
- package/rtk-screenshare-view.entry-C0moq-vL.js +128 -0
- package/rtk-screenshare-view.entry-ecNh6fwW.cjs +296 -0
- package/rtk-settings-audio_2.entry-CO6UFXbq.cjs +2 -0
- package/rtk-settings-audio_2.entry-Dq55Sn1K.js +118 -0
- package/rtk-settings-toggle.entry-Ba2kGEpx.js +41 -0
- package/rtk-settings-toggle.entry-Cn--weVb.cjs +2 -0
- package/rtk-settings.entry-09H6AFnX.cjs +3 -0
- package/rtk-settings.entry-DmKkoEwh.js +82 -0
- package/rtk-setup-screen.entry-DdR4UZeg.cjs +2 -0
- package/rtk-setup-screen.entry-zxtOKp8J.js +114 -0
- package/rtk-sidebar-ui.entry-BPAlJbUB.cjs +137 -0
- package/rtk-sidebar-ui.entry-CGSGbuel.js +70 -0
- package/rtk-sidebar.entry-C4E4akdM.js +115 -0
- package/rtk-sidebar.entry-Dlm8FOU9.cjs +2 -0
- package/rtk-simple-grid.entry-Bkr6T1td.cjs +2 -0
- package/rtk-simple-grid.entry-CT3YTo27.js +85 -0
- package/rtk-spotlight-grid.entry-BXGT_8m1.js +63 -0
- package/rtk-spotlight-grid.entry-CIHutiNg.cjs +2 -0
- package/rtk-spotlight-indicator.entry-DfXSMTdr.cjs +2 -0
- package/rtk-spotlight-indicator.entry-g66mZBTd.js +59 -0
- package/rtk-stage-toggle.entry-BbL3yn2-.cjs +2 -0
- package/rtk-stage-toggle.entry-Dv3cFk4A.js +87 -0
- package/rtk-stage.entry-CMtItJ1r.cjs +2 -0
- package/rtk-stage.entry-D-tMk_dn.js +21 -0
- package/rtk-transcript.entry-ArCoqPaS.cjs +2 -0
- package/rtk-transcript.entry-Dz_e8JIg.js +46 -0
- package/rtk-transcripts.entry-JQWMj83U.js +101 -0
- package/rtk-transcripts.entry-ivGUjVLu.cjs +2 -0
- package/rtk-ui-provider.entry-Bk7jOcW-.js +118 -0
- package/rtk-ui-provider.entry-CnK08ozb.cjs +2 -0
- package/rtk-waiting-screen.entry-B28cMTUf.js +31 -0
- package/rtk-waiting-screen.entry-DNHFHwrE.cjs +2 -0
- package/scroll-2d8e810c-B3Y6cdqn.js +11 -0
- package/scroll-2d8e810c-lAwqeGvB.cjs +2 -0
- package/sidebar-6b71ecaa-BzGLot1H.cjs +2 -0
- package/sidebar-6b71ecaa-iR6OjeTU.js +24 -0
- package/string-068ce30a-B_DfAHxl.cjs +2 -0
- package/string-068ce30a-DsdGnSiw.js +9 -0
- package/sw.js +33 -0
- package/types/app/App.d.ts +7 -0
- package/types/app/App.d.ts.map +1 -0
- package/types/app/AppErrorBoundary.d.ts +23 -0
- package/types/app/AppErrorBoundary.d.ts.map +1 -0
- package/types/app/di/composition-root.d.ts +45 -0
- package/types/app/di/composition-root.d.ts.map +1 -0
- package/types/app/pages/ForbiddenPage.d.ts +3 -0
- package/types/app/pages/ForbiddenPage.d.ts.map +1 -0
- package/types/app/pages/NotFoundPage.d.ts +3 -0
- package/types/app/pages/NotFoundPage.d.ts.map +1 -0
- package/types/app/pages/ProfilePage.d.ts +3 -0
- package/types/app/pages/ProfilePage.d.ts.map +1 -0
- package/types/app/pages/profile-page.d.ts +2 -0
- package/types/app/pages/profile-page.d.ts.map +1 -0
- package/types/app/router/AppRouter.d.ts +7 -0
- package/types/app/router/AppRouter.d.ts.map +1 -0
- package/types/app/shell/AccountMenu.d.ts +7 -0
- package/types/app/shell/AccountMenu.d.ts.map +1 -0
- package/types/app/shell/AccountProfilePanel.d.ts +7 -0
- package/types/app/shell/AccountProfilePanel.d.ts.map +1 -0
- package/types/app/shell/AppLauncher.d.ts +4 -0
- package/types/app/shell/AppLauncher.d.ts.map +1 -0
- package/types/app/shell/AppPlaceholderPage.d.ts +4 -0
- package/types/app/shell/AppPlaceholderPage.d.ts.map +1 -0
- package/types/app/shell/AppShell.d.ts +8 -0
- package/types/app/shell/AppShell.d.ts.map +1 -0
- package/types/app/shell/HubSubNav.d.ts +9 -0
- package/types/app/shell/HubSubNav.d.ts.map +1 -0
- package/types/app/shell/NotificationsMenu.d.ts +4 -0
- package/types/app/shell/NotificationsMenu.d.ts.map +1 -0
- package/types/app/shell/PlaceholderPage.d.ts +14 -0
- package/types/app/shell/PlaceholderPage.d.ts.map +1 -0
- package/types/app/shell/TopBar.d.ts +10 -0
- package/types/app/shell/TopBar.d.ts.map +1 -0
- package/types/app/shell/account-actions.d.ts +8 -0
- package/types/app/shell/account-actions.d.ts.map +1 -0
- package/types/app/shell/badge-count.d.ts +3 -0
- package/types/app/shell/badge-count.d.ts.map +1 -0
- package/types/app/shell/notification-cards.d.ts +22 -0
- package/types/app/shell/notification-cards.d.ts.map +1 -0
- package/types/app/shell/notification-sections.d.ts +14 -0
- package/types/app/shell/notification-sections.d.ts.map +1 -0
- package/types/app/shell/shell-data.d.ts +54 -0
- package/types/app/shell/shell-data.d.ts.map +1 -0
- package/types/app/shell/shell-notifications.d.ts +39 -0
- package/types/app/shell/shell-notifications.d.ts.map +1 -0
- package/types/app/shell/store/use-notification-store.d.ts +10 -0
- package/types/app/shell/store/use-notification-store.d.ts.map +1 -0
- package/types/app/shell/use-account-profile.d.ts +12 -0
- package/types/app/shell/use-account-profile.d.ts.map +1 -0
- package/types/app/shell/use-notification-realtime.d.ts +2 -0
- package/types/app/shell/use-notification-realtime.d.ts.map +1 -0
- package/types/app/shell/use-theme.d.ts +11 -0
- package/types/app/shell/use-theme.d.ts.map +1 -0
- package/types/app/shell/user-display.d.ts +8 -0
- package/types/app/shell/user-display.d.ts.map +1 -0
- package/types/core/config/app-config.d.ts +34 -0
- package/types/core/config/app-config.d.ts.map +1 -0
- package/types/core/config/index.d.ts +2 -0
- package/types/core/config/index.d.ts.map +1 -0
- package/types/core/domain/errors/invalid-email-error.d.ts +13 -0
- package/types/core/domain/errors/invalid-email-error.d.ts.map +1 -0
- package/types/core/domain/errors/invalid-time-error.d.ts +14 -0
- package/types/core/domain/errors/invalid-time-error.d.ts.map +1 -0
- package/types/core/domain/index.d.ts +16 -0
- package/types/core/domain/index.d.ts.map +1 -0
- package/types/core/domain/value-objects/email.d.ts +18 -0
- package/types/core/domain/value-objects/email.d.ts.map +1 -0
- package/types/core/domain/value-objects/time-of-day.d.ts +24 -0
- package/types/core/domain/value-objects/time-of-day.d.ts.map +1 -0
- package/types/core/domain/value-objects/time-range.d.ts +22 -0
- package/types/core/domain/value-objects/time-range.d.ts.map +1 -0
- package/types/core/domain/value-objects/weekday.d.ts +16 -0
- package/types/core/domain/value-objects/weekday.d.ts.map +1 -0
- package/types/core/errors/app-error.d.ts +37 -0
- package/types/core/errors/app-error.d.ts.map +1 -0
- package/types/core/errors/index.d.ts +2 -0
- package/types/core/errors/index.d.ts.map +1 -0
- package/types/core/http/auth-refresh-http-client.d.ts +32 -0
- package/types/core/http/auth-refresh-http-client.d.ts.map +1 -0
- package/types/core/http/fetch-http-client.d.ts +40 -0
- package/types/core/http/fetch-http-client.d.ts.map +1 -0
- package/types/core/http/http-client.d.ts +62 -0
- package/types/core/http/http-client.d.ts.map +1 -0
- package/types/core/http/index.d.ts +6 -0
- package/types/core/http/index.d.ts.map +1 -0
- package/types/core/http/retry-http-client.d.ts +36 -0
- package/types/core/http/retry-http-client.d.ts.map +1 -0
- package/types/core/http/timeout-http-client.d.ts +27 -0
- package/types/core/http/timeout-http-client.d.ts.map +1 -0
- package/types/core/logger/index.d.ts +2 -0
- package/types/core/logger/index.d.ts.map +1 -0
- package/types/core/logger/logger.d.ts +29 -0
- package/types/core/logger/logger.d.ts.map +1 -0
- package/types/core/realtime/index.d.ts +4 -0
- package/types/core/realtime/index.d.ts.map +1 -0
- package/types/core/realtime/null-realtime-connection.d.ts +11 -0
- package/types/core/realtime/null-realtime-connection.d.ts.map +1 -0
- package/types/core/realtime/realtime-connection.d.ts +37 -0
- package/types/core/realtime/realtime-connection.d.ts.map +1 -0
- package/types/core/realtime/reconnect-policy.d.ts +23 -0
- package/types/core/realtime/reconnect-policy.d.ts.map +1 -0
- package/types/core/realtime/signalr-connection.d.ts +11 -0
- package/types/core/realtime/signalr-connection.d.ts.map +1 -0
- package/types/core/result/index.d.ts +2 -0
- package/types/core/result/index.d.ts.map +1 -0
- package/types/core/result/result.d.ts +35 -0
- package/types/core/result/result.d.ts.map +1 -0
- package/types/core/time/clock.d.ts +22 -0
- package/types/core/time/clock.d.ts.map +1 -0
- package/types/core/time/index.d.ts +4 -0
- package/types/core/time/index.d.ts.map +1 -0
- package/types/core/time/timezone.d.ts +46 -0
- package/types/core/time/timezone.d.ts.map +1 -0
- package/types/core/time/viewer-timezone.d.ts +26 -0
- package/types/core/time/viewer-timezone.d.ts.map +1 -0
- package/types/features/api-keys/api-keys-module.d.ts +19 -0
- package/types/features/api-keys/api-keys-module.d.ts.map +1 -0
- package/types/features/api-keys/application/index.d.ts +7 -0
- package/types/features/api-keys/application/index.d.ts.map +1 -0
- package/types/features/api-keys/application/queries/use-api-keys.d.ts +10 -0
- package/types/features/api-keys/application/queries/use-api-keys.d.ts.map +1 -0
- package/types/features/api-keys/application/use-cases/confirm-api-key-rotation.d.ts +18 -0
- package/types/features/api-keys/application/use-cases/confirm-api-key-rotation.d.ts.map +1 -0
- package/types/features/api-keys/application/use-cases/create-api-key.d.ts +14 -0
- package/types/features/api-keys/application/use-cases/create-api-key.d.ts.map +1 -0
- package/types/features/api-keys/application/use-cases/delete-api-key.d.ts +15 -0
- package/types/features/api-keys/application/use-cases/delete-api-key.d.ts.map +1 -0
- package/types/features/api-keys/application/use-cases/rotate-api-key.d.ts +14 -0
- package/types/features/api-keys/application/use-cases/rotate-api-key.d.ts.map +1 -0
- package/types/features/api-keys/application/use-cases/update-api-key.d.ts +14 -0
- package/types/features/api-keys/application/use-cases/update-api-key.d.ts.map +1 -0
- package/types/features/api-keys/domain/entities/api-key-credentials.d.ts +7 -0
- package/types/features/api-keys/domain/entities/api-key-credentials.d.ts.map +1 -0
- package/types/features/api-keys/domain/entities/api-key.d.ts +58 -0
- package/types/features/api-keys/domain/entities/api-key.d.ts.map +1 -0
- package/types/features/api-keys/domain/entities/index.d.ts +3 -0
- package/types/features/api-keys/domain/entities/index.d.ts.map +1 -0
- package/types/features/api-keys/domain/errors/api-key-errors.d.ts +20 -0
- package/types/features/api-keys/domain/errors/api-key-errors.d.ts.map +1 -0
- package/types/features/api-keys/domain/index.d.ts +6 -0
- package/types/features/api-keys/domain/index.d.ts.map +1 -0
- package/types/features/api-keys/domain/ports/api-key-gateway.d.ts +50 -0
- package/types/features/api-keys/domain/ports/api-key-gateway.d.ts.map +1 -0
- package/types/features/api-keys/domain/value-objects/api-key-display-name.d.ts +8 -0
- package/types/features/api-keys/domain/value-objects/api-key-display-name.d.ts.map +1 -0
- package/types/features/api-keys/domain/value-objects/api-key-origin.d.ts +28 -0
- package/types/features/api-keys/domain/value-objects/api-key-origin.d.ts.map +1 -0
- package/types/features/api-keys/domain/value-objects/index.d.ts +3 -0
- package/types/features/api-keys/domain/value-objects/index.d.ts.map +1 -0
- package/types/features/api-keys/index.d.ts +6 -0
- package/types/features/api-keys/index.d.ts.map +1 -0
- package/types/features/api-keys/infrastructure/api-key-dto.d.ts +245 -0
- package/types/features/api-keys/infrastructure/api-key-dto.d.ts.map +1 -0
- package/types/features/api-keys/infrastructure/http-api-key-gateway.d.ts +27 -0
- package/types/features/api-keys/infrastructure/http-api-key-gateway.d.ts.map +1 -0
- package/types/features/api-keys/infrastructure/index.d.ts +3 -0
- package/types/features/api-keys/infrastructure/index.d.ts.map +1 -0
- package/types/features/api-keys/presentation/ApiKeyCard.d.ts +12 -0
- package/types/features/api-keys/presentation/ApiKeyCard.d.ts.map +1 -0
- package/types/features/api-keys/presentation/ApiKeyCredentialsModal.d.ts +8 -0
- package/types/features/api-keys/presentation/ApiKeyCredentialsModal.d.ts.map +1 -0
- package/types/features/api-keys/presentation/ApiKeysModuleProvider.d.ts +12 -0
- package/types/features/api-keys/presentation/ApiKeysModuleProvider.d.ts.map +1 -0
- package/types/features/api-keys/presentation/ApiKeysPage.d.ts +3 -0
- package/types/features/api-keys/presentation/ApiKeysPage.d.ts.map +1 -0
- package/types/features/api-keys/presentation/CodeText.d.ts +12 -0
- package/types/features/api-keys/presentation/CodeText.d.ts.map +1 -0
- package/types/features/api-keys/presentation/CreateApiKeyFields.d.ts +21 -0
- package/types/features/api-keys/presentation/CreateApiKeyFields.d.ts.map +1 -0
- package/types/features/api-keys/presentation/CreateApiKeyModal.d.ts +9 -0
- package/types/features/api-keys/presentation/CreateApiKeyModal.d.ts.map +1 -0
- package/types/features/api-keys/presentation/EditApiKeyModal.d.ts +24 -0
- package/types/features/api-keys/presentation/EditApiKeyModal.d.ts.map +1 -0
- package/types/features/api-keys/presentation/EditOriginsField.d.ts +11 -0
- package/types/features/api-keys/presentation/EditOriginsField.d.ts.map +1 -0
- package/types/features/api-keys/presentation/IntegrationGuideDrawer.d.ts +19 -0
- package/types/features/api-keys/presentation/IntegrationGuideDrawer.d.ts.map +1 -0
- package/types/features/api-keys/presentation/WidgetEventsSection.d.ts +20 -0
- package/types/features/api-keys/presentation/WidgetEventsSection.d.ts.map +1 -0
- package/types/features/api-keys/presentation/api-base-url.d.ts +10 -0
- package/types/features/api-keys/presentation/api-base-url.d.ts.map +1 -0
- package/types/features/api-keys/presentation/api-key-confirmations.d.ts +12 -0
- package/types/features/api-keys/presentation/api-key-confirmations.d.ts.map +1 -0
- package/types/features/api-keys/presentation/api-key-modules.d.ts +18 -0
- package/types/features/api-keys/presentation/api-key-modules.d.ts.map +1 -0
- package/types/features/api-keys/presentation/api-keys-module-context.d.ts +4 -0
- package/types/features/api-keys/presentation/api-keys-module-context.d.ts.map +1 -0
- package/types/features/api-keys/presentation/guide-section.d.ts +14 -0
- package/types/features/api-keys/presentation/guide-section.d.ts.map +1 -0
- package/types/features/api-keys/presentation/index.d.ts +4 -0
- package/types/features/api-keys/presentation/index.d.ts.map +1 -0
- package/types/features/api-keys/presentation/integration-guide-sections.d.ts +35 -0
- package/types/features/api-keys/presentation/integration-guide-sections.d.ts.map +1 -0
- package/types/features/api-keys/presentation/integration-guide.d.ts +100 -0
- package/types/features/api-keys/presentation/integration-guide.d.ts.map +1 -0
- package/types/features/api-keys/presentation/sdk-script-url.d.ts +16 -0
- package/types/features/api-keys/presentation/sdk-script-url.d.ts.map +1 -0
- package/types/features/api-keys/presentation/use-api-keys-module.d.ts +4 -0
- package/types/features/api-keys/presentation/use-api-keys-module.d.ts.map +1 -0
- package/types/features/api-keys/presentation/use-api-keys-page-controller.d.ts +39 -0
- package/types/features/api-keys/presentation/use-api-keys-page-controller.d.ts.map +1 -0
- package/types/features/api-keys/presentation/use-create-api-key-form-state.d.ts +35 -0
- package/types/features/api-keys/presentation/use-create-api-key-form-state.d.ts.map +1 -0
- package/types/features/api-keys/presentation/use-edit-api-key-form-state.d.ts +41 -0
- package/types/features/api-keys/presentation/use-edit-api-key-form-state.d.ts.map +1 -0
- package/types/features/auth/application/index.d.ts +5 -0
- package/types/features/auth/application/index.d.ts.map +1 -0
- package/types/features/auth/application/use-cases/complete-sso-login.d.ts +23 -0
- package/types/features/auth/application/use-cases/complete-sso-login.d.ts.map +1 -0
- package/types/features/auth/application/use-cases/logout.d.ts +16 -0
- package/types/features/auth/application/use-cases/logout.d.ts.map +1 -0
- package/types/features/auth/application/use-cases/refresh-session.d.ts +21 -0
- package/types/features/auth/application/use-cases/refresh-session.d.ts.map +1 -0
- package/types/features/auth/application/use-cases/restore-session.d.ts +24 -0
- package/types/features/auth/application/use-cases/restore-session.d.ts.map +1 -0
- package/types/features/auth/auth-module.d.ts +24 -0
- package/types/features/auth/auth-module.d.ts.map +1 -0
- package/types/features/auth/domain/entities/auth-session.d.ts +44 -0
- package/types/features/auth/domain/entities/auth-session.d.ts.map +1 -0
- package/types/features/auth/domain/entities/authenticated-user.d.ts +24 -0
- package/types/features/auth/domain/entities/authenticated-user.d.ts.map +1 -0
- package/types/features/auth/domain/errors/auth-errors.d.ts +24 -0
- package/types/features/auth/domain/errors/auth-errors.d.ts.map +1 -0
- package/types/features/auth/domain/index.d.ts +6 -0
- package/types/features/auth/domain/index.d.ts.map +1 -0
- package/types/features/auth/domain/ports/auth-gateway.d.ts +21 -0
- package/types/features/auth/domain/ports/auth-gateway.d.ts.map +1 -0
- package/types/features/auth/domain/ports/session-store.d.ts +12 -0
- package/types/features/auth/domain/ports/session-store.d.ts.map +1 -0
- package/types/features/auth/index.d.ts +11 -0
- package/types/features/auth/index.d.ts.map +1 -0
- package/types/features/auth/infrastructure/dto/token-response.dto.d.ts +40 -0
- package/types/features/auth/infrastructure/dto/token-response.dto.d.ts.map +1 -0
- package/types/features/auth/infrastructure/index.d.ts +7 -0
- package/types/features/auth/infrastructure/index.d.ts.map +1 -0
- package/types/features/auth/infrastructure/jwt-claims.d.ts +37 -0
- package/types/features/auth/infrastructure/jwt-claims.d.ts.map +1 -0
- package/types/features/auth/infrastructure/local-session-store.d.ts +44 -0
- package/types/features/auth/infrastructure/local-session-store.d.ts.map +1 -0
- package/types/features/auth/infrastructure/sso-session-mapper.d.ts +14 -0
- package/types/features/auth/infrastructure/sso-session-mapper.d.ts.map +1 -0
- package/types/features/auth/infrastructure/uapp-sso-auth-gateway.d.ts +28 -0
- package/types/features/auth/infrastructure/uapp-sso-auth-gateway.d.ts.map +1 -0
- package/types/features/auth/infrastructure/uapp-sso-protocol.d.ts +59 -0
- package/types/features/auth/infrastructure/uapp-sso-protocol.d.ts.map +1 -0
- package/types/features/auth/presentation/AuthStoreProvider.d.ts +12 -0
- package/types/features/auth/presentation/AuthStoreProvider.d.ts.map +1 -0
- package/types/features/auth/presentation/LoginPage.d.ts +7 -0
- package/types/features/auth/presentation/LoginPage.d.ts.map +1 -0
- package/types/features/auth/presentation/ProtectedRoute.d.ts +13 -0
- package/types/features/auth/presentation/ProtectedRoute.d.ts.map +1 -0
- package/types/features/auth/presentation/SsoBootstrap.d.ts +15 -0
- package/types/features/auth/presentation/SsoBootstrap.d.ts.map +1 -0
- package/types/features/auth/presentation/SsoCallbackPage.d.ts +9 -0
- package/types/features/auth/presentation/SsoCallbackPage.d.ts.map +1 -0
- package/types/features/auth/presentation/auth-store-context.d.ts +4 -0
- package/types/features/auth/presentation/auth-store-context.d.ts.map +1 -0
- package/types/features/auth/presentation/index.d.ts +9 -0
- package/types/features/auth/presentation/index.d.ts.map +1 -0
- package/types/features/auth/presentation/sentry-user-bridge.d.ts +6 -0
- package/types/features/auth/presentation/sentry-user-bridge.d.ts.map +1 -0
- package/types/features/auth/presentation/use-auth.d.ts +22 -0
- package/types/features/auth/presentation/use-auth.d.ts.map +1 -0
- package/types/features/auth/presentation/use-proactive-token-refresh.d.ts +6 -0
- package/types/features/auth/presentation/use-proactive-token-refresh.d.ts.map +1 -0
- package/types/features/auth/store/auth-store.d.ts +40 -0
- package/types/features/auth/store/auth-store.d.ts.map +1 -0
- package/types/features/auth/store/index.d.ts +2 -0
- package/types/features/auth/store/index.d.ts.map +1 -0
- package/types/features/calls/application/index.d.ts +5 -0
- package/types/features/calls/application/index.d.ts.map +1 -0
- package/types/features/calls/application/use-cases/accept-call.d.ts +15 -0
- package/types/features/calls/application/use-cases/accept-call.d.ts.map +1 -0
- package/types/features/calls/application/use-cases/get-call-history.d.ts +15 -0
- package/types/features/calls/application/use-cases/get-call-history.d.ts.map +1 -0
- package/types/features/calls/application/use-cases/respond-call.d.ts +29 -0
- package/types/features/calls/application/use-cases/respond-call.d.ts.map +1 -0
- package/types/features/calls/application/use-cases/start-call.d.ts +15 -0
- package/types/features/calls/application/use-cases/start-call.d.ts.map +1 -0
- package/types/features/calls/calls-module.d.ts +29 -0
- package/types/features/calls/calls-module.d.ts.map +1 -0
- package/types/features/calls/domain/call.d.ts +49 -0
- package/types/features/calls/domain/call.d.ts.map +1 -0
- package/types/features/calls/domain/errors/call-errors.d.ts +10 -0
- package/types/features/calls/domain/errors/call-errors.d.ts.map +1 -0
- package/types/features/calls/domain/index.d.ts +4 -0
- package/types/features/calls/domain/index.d.ts.map +1 -0
- package/types/features/calls/domain/ports/call-gateway.d.ts +17 -0
- package/types/features/calls/domain/ports/call-gateway.d.ts.map +1 -0
- package/types/features/calls/index.d.ts +13 -0
- package/types/features/calls/index.d.ts.map +1 -0
- package/types/features/calls/infrastructure/call-mappers.d.ts +7 -0
- package/types/features/calls/infrastructure/call-mappers.d.ts.map +1 -0
- package/types/features/calls/infrastructure/calls-realtime-parsers.d.ts +6 -0
- package/types/features/calls/infrastructure/calls-realtime-parsers.d.ts.map +1 -0
- package/types/features/calls/infrastructure/calls-realtime-protocol.d.ts +55 -0
- package/types/features/calls/infrastructure/calls-realtime-protocol.d.ts.map +1 -0
- package/types/features/calls/infrastructure/dto/call-dtos.d.ts +263 -0
- package/types/features/calls/infrastructure/dto/call-dtos.d.ts.map +1 -0
- package/types/features/calls/infrastructure/http-call-gateway.d.ts +27 -0
- package/types/features/calls/infrastructure/http-call-gateway.d.ts.map +1 -0
- package/types/features/calls/infrastructure/http-call-routes.d.ts +10 -0
- package/types/features/calls/infrastructure/http-call-routes.d.ts.map +1 -0
- package/types/features/calls/infrastructure/index.d.ts +4 -0
- package/types/features/calls/infrastructure/index.d.ts.map +1 -0
- package/types/features/calls/presentation/CallButton.d.ts +15 -0
- package/types/features/calls/presentation/CallButton.d.ts.map +1 -0
- package/types/features/calls/presentation/CallCenter.d.ts +8 -0
- package/types/features/calls/presentation/CallCenter.d.ts.map +1 -0
- package/types/features/calls/presentation/CallOverlay.d.ts +7 -0
- package/types/features/calls/presentation/CallOverlay.d.ts.map +1 -0
- package/types/features/calls/presentation/CallsModuleProvider.d.ts +8 -0
- package/types/features/calls/presentation/CallsModuleProvider.d.ts.map +1 -0
- package/types/features/calls/presentation/CallsRealtimeProvider.d.ts +6 -0
- package/types/features/calls/presentation/CallsRealtimeProvider.d.ts.map +1 -0
- package/types/features/calls/presentation/calls-module-context.d.ts +4 -0
- package/types/features/calls/presentation/calls-module-context.d.ts.map +1 -0
- package/types/features/calls/presentation/calls-realtime-handlers.d.ts +12 -0
- package/types/features/calls/presentation/calls-realtime-handlers.d.ts.map +1 -0
- package/types/features/calls/presentation/index.d.ts +8 -0
- package/types/features/calls/presentation/index.d.ts.map +1 -0
- package/types/features/calls/presentation/media/call-media-props.d.ts +16 -0
- package/types/features/calls/presentation/media/call-media-props.d.ts.map +1 -0
- package/types/features/calls/presentation/media/call-media-stage.d.ts +11 -0
- package/types/features/calls/presentation/media/call-media-stage.d.ts.map +1 -0
- package/types/features/calls/presentation/media/realtimekit-call-media.d.ts +11 -0
- package/types/features/calls/presentation/media/realtimekit-call-media.d.ts.map +1 -0
- package/types/features/calls/presentation/ringtone.d.ts +18 -0
- package/types/features/calls/presentation/ringtone.d.ts.map +1 -0
- package/types/features/calls/presentation/use-call-actions.d.ts +19 -0
- package/types/features/calls/presentation/use-call-actions.d.ts.map +1 -0
- package/types/features/calls/presentation/use-calls-module.d.ts +6 -0
- package/types/features/calls/presentation/use-calls-module.d.ts.map +1 -0
- package/types/features/calls/presentation/use-calls-realtime-controller.d.ts +6 -0
- package/types/features/calls/presentation/use-calls-realtime-controller.d.ts.map +1 -0
- package/types/features/calls/presentation/use-start-call.d.ts +9 -0
- package/types/features/calls/presentation/use-start-call.d.ts.map +1 -0
- package/types/features/calls/store/call-store.d.ts +71 -0
- package/types/features/calls/store/call-store.d.ts.map +1 -0
- package/types/features/chat/application/index.d.ts +29 -0
- package/types/features/chat/application/index.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/create-group.d.ts +15 -0
- package/types/features/chat/application/use-cases/create-group.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/delete-conversation.d.ts +15 -0
- package/types/features/chat/application/use-cases/delete-conversation.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/delete-message-for-me.d.ts +15 -0
- package/types/features/chat/application/use-cases/delete-message-for-me.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/delete-message.d.ts +15 -0
- package/types/features/chat/application/use-cases/delete-message.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/download-chat-media.d.ts +18 -0
- package/types/features/chat/application/use-cases/download-chat-media.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/edit-message.d.ts +15 -0
- package/types/features/chat/application/use-cases/edit-message.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/get-conversation-counts.d.ts +15 -0
- package/types/features/chat/application/use-cases/get-conversation-counts.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/get-conversation.d.ts +15 -0
- package/types/features/chat/application/use-cases/get-conversation.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/get-group-member-pool.d.ts +18 -0
- package/types/features/chat/application/use-cases/get-group-member-pool.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/get-messages-before.d.ts +15 -0
- package/types/features/chat/application/use-cases/get-messages-before.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/get-messages-since.d.ts +15 -0
- package/types/features/chat/application/use-cases/get-messages-since.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/get-messages.d.ts +15 -0
- package/types/features/chat/application/use-cases/get-messages.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/get-viewer.d.ts +15 -0
- package/types/features/chat/application/use-cases/get-viewer.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/leave-conversation.d.ts +15 -0
- package/types/features/chat/application/use-cases/leave-conversation.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/list-conversations.d.ts +15 -0
- package/types/features/chat/application/use-cases/list-conversations.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/list-staff.d.ts +15 -0
- package/types/features/chat/application/use-cases/list-staff.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/mark-delivered.d.ts +15 -0
- package/types/features/chat/application/use-cases/mark-delivered.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/mark-read.d.ts +15 -0
- package/types/features/chat/application/use-cases/mark-read.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/react-to-message.d.ts +15 -0
- package/types/features/chat/application/use-cases/react-to-message.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/refresh-portal.d.ts +15 -0
- package/types/features/chat/application/use-cases/refresh-portal.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/save-members.d.ts +15 -0
- package/types/features/chat/application/use-cases/save-members.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/send-media-message.d.ts +15 -0
- package/types/features/chat/application/use-cases/send-media-message.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/send-message.d.ts +15 -0
- package/types/features/chat/application/use-cases/send-message.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/set-archived.d.ts +15 -0
- package/types/features/chat/application/use-cases/set-archived.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/set-favourite.d.ts +15 -0
- package/types/features/chat/application/use-cases/set-favourite.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/set-pinned.d.ts +15 -0
- package/types/features/chat/application/use-cases/set-pinned.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/start-direct.d.ts +15 -0
- package/types/features/chat/application/use-cases/start-direct.d.ts.map +1 -0
- package/types/features/chat/application/use-cases/subscribe-push.d.ts +15 -0
- package/types/features/chat/application/use-cases/subscribe-push.d.ts.map +1 -0
- package/types/features/chat/chat-module.d.ts +58 -0
- package/types/features/chat/chat-module.d.ts.map +1 -0
- package/types/features/chat/domain/chat-constants.d.ts +13 -0
- package/types/features/chat/domain/chat-constants.d.ts.map +1 -0
- package/types/features/chat/domain/entities/chat-message.d.ts +102 -0
- package/types/features/chat/domain/entities/chat-message.d.ts.map +1 -0
- package/types/features/chat/domain/entities/conversation.d.ts +102 -0
- package/types/features/chat/domain/entities/conversation.d.ts.map +1 -0
- package/types/features/chat/domain/errors/chat-errors.d.ts +35 -0
- package/types/features/chat/domain/errors/chat-errors.d.ts.map +1 -0
- package/types/features/chat/domain/index.d.ts +8 -0
- package/types/features/chat/domain/index.d.ts.map +1 -0
- package/types/features/chat/domain/ports/chat-gateway.d.ts +122 -0
- package/types/features/chat/domain/ports/chat-gateway.d.ts.map +1 -0
- package/types/features/chat/domain/ports/chat-outbox-store.d.ts +16 -0
- package/types/features/chat/domain/ports/chat-outbox-store.d.ts.map +1 -0
- package/types/features/chat/domain/server-instant.d.ts +10 -0
- package/types/features/chat/domain/server-instant.d.ts.map +1 -0
- package/types/features/chat/index.d.ts +8 -0
- package/types/features/chat/index.d.ts.map +1 -0
- package/types/features/chat/infrastructure/chat-gateway-errors.d.ts +17 -0
- package/types/features/chat/infrastructure/chat-gateway-errors.d.ts.map +1 -0
- package/types/features/chat/infrastructure/chat-mappers.d.ts +13 -0
- package/types/features/chat/infrastructure/chat-mappers.d.ts.map +1 -0
- package/types/features/chat/infrastructure/chat-outbox-store.d.ts +4 -0
- package/types/features/chat/infrastructure/chat-outbox-store.d.ts.map +1 -0
- package/types/features/chat/infrastructure/chat-realtime-parsers.d.ts +11 -0
- package/types/features/chat/infrastructure/chat-realtime-parsers.d.ts.map +1 -0
- package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts +121 -0
- package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts.map +1 -0
- package/types/features/chat/infrastructure/chat-seed.d.ts +68 -0
- package/types/features/chat/infrastructure/chat-seed.d.ts.map +1 -0
- package/types/features/chat/infrastructure/dto/chat-dtos.d.ts +935 -0
- package/types/features/chat/infrastructure/dto/chat-dtos.d.ts.map +1 -0
- package/types/features/chat/infrastructure/hidden-messages-storage.d.ts +8 -0
- package/types/features/chat/infrastructure/hidden-messages-storage.d.ts.map +1 -0
- package/types/features/chat/infrastructure/http-chat-conversation-actions.d.ts +20 -0
- package/types/features/chat/infrastructure/http-chat-conversation-actions.d.ts.map +1 -0
- package/types/features/chat/infrastructure/http-chat-gateway-helpers.d.ts +16 -0
- package/types/features/chat/infrastructure/http-chat-gateway-helpers.d.ts.map +1 -0
- package/types/features/chat/infrastructure/http-chat-gateway.d.ts +53 -0
- package/types/features/chat/infrastructure/http-chat-gateway.d.ts.map +1 -0
- package/types/features/chat/infrastructure/http-chat-message-actions.d.ts +16 -0
- package/types/features/chat/infrastructure/http-chat-message-actions.d.ts.map +1 -0
- package/types/features/chat/infrastructure/http-chat-paths.d.ts +24 -0
- package/types/features/chat/infrastructure/http-chat-paths.d.ts.map +1 -0
- package/types/features/chat/infrastructure/http-chat-query-actions.d.ts +30 -0
- package/types/features/chat/infrastructure/http-chat-query-actions.d.ts.map +1 -0
- package/types/features/chat/infrastructure/http-chat-routes.d.ts +34 -0
- package/types/features/chat/infrastructure/http-chat-routes.d.ts.map +1 -0
- package/types/features/chat/infrastructure/index.d.ts +9 -0
- package/types/features/chat/infrastructure/index.d.ts.map +1 -0
- package/types/features/chat/infrastructure/mock-chat-gateway.d.ts +52 -0
- package/types/features/chat/infrastructure/mock-chat-gateway.d.ts.map +1 -0
- package/types/features/chat/infrastructure/mock-chat-helpers.d.ts +39 -0
- package/types/features/chat/infrastructure/mock-chat-helpers.d.ts.map +1 -0
- package/types/features/chat/infrastructure/mock-chat-message-ops.d.ts +9 -0
- package/types/features/chat/infrastructure/mock-chat-message-ops.d.ts.map +1 -0
- package/types/features/chat/infrastructure/normalize-chat-media-path.d.ts +2 -0
- package/types/features/chat/infrastructure/normalize-chat-media-path.d.ts.map +1 -0
- package/types/features/chat/presentation/AddMemberPanel.d.ts +10 -0
- package/types/features/chat/presentation/AddMemberPanel.d.ts.map +1 -0
- package/types/features/chat/presentation/ChatConfirmDialogs.d.ts +13 -0
- package/types/features/chat/presentation/ChatConfirmDialogs.d.ts.map +1 -0
- package/types/features/chat/presentation/ChatMediaImage.d.ts +13 -0
- package/types/features/chat/presentation/ChatMediaImage.d.ts.map +1 -0
- package/types/features/chat/presentation/ChatModuleProvider.d.ts +12 -0
- package/types/features/chat/presentation/ChatModuleProvider.d.ts.map +1 -0
- package/types/features/chat/presentation/ChatPage.d.ts +9 -0
- package/types/features/chat/presentation/ChatPage.d.ts.map +1 -0
- package/types/features/chat/presentation/ChatRealtimeProvider.d.ts +11 -0
- package/types/features/chat/presentation/ChatRealtimeProvider.d.ts.map +1 -0
- package/types/features/chat/presentation/ChatSkeleton.d.ts +3 -0
- package/types/features/chat/presentation/ChatSkeleton.d.ts.map +1 -0
- package/types/features/chat/presentation/ChatTabs.d.ts +10 -0
- package/types/features/chat/presentation/ChatTabs.d.ts.map +1 -0
- package/types/features/chat/presentation/ConversationHeader.d.ts +21 -0
- package/types/features/chat/presentation/ConversationHeader.d.ts.map +1 -0
- package/types/features/chat/presentation/ConversationList.d.ts +30 -0
- package/types/features/chat/presentation/ConversationList.d.ts.map +1 -0
- package/types/features/chat/presentation/ConversationRow.d.ts +12 -0
- package/types/features/chat/presentation/ConversationRow.d.ts.map +1 -0
- package/types/features/chat/presentation/ConversationView.d.ts +14 -0
- package/types/features/chat/presentation/ConversationView.d.ts.map +1 -0
- package/types/features/chat/presentation/DeleteMessageDialog.d.ts +16 -0
- package/types/features/chat/presentation/DeleteMessageDialog.d.ts.map +1 -0
- package/types/features/chat/presentation/DmCallAction.d.ts +7 -0
- package/types/features/chat/presentation/DmCallAction.d.ts.map +1 -0
- package/types/features/chat/presentation/EmojiPicker.d.ts +5 -0
- package/types/features/chat/presentation/EmojiPicker.d.ts.map +1 -0
- package/types/features/chat/presentation/FileAttachmentCard.d.ts +14 -0
- package/types/features/chat/presentation/FileAttachmentCard.d.ts.map +1 -0
- package/types/features/chat/presentation/ManageMembersModal.d.ts +9 -0
- package/types/features/chat/presentation/ManageMembersModal.d.ts.map +1 -0
- package/types/features/chat/presentation/MediaViewer.d.ts +8 -0
- package/types/features/chat/presentation/MediaViewer.d.ts.map +1 -0
- package/types/features/chat/presentation/MemberRow.d.ts +17 -0
- package/types/features/chat/presentation/MemberRow.d.ts.map +1 -0
- package/types/features/chat/presentation/MessageAlbum.d.ts +22 -0
- package/types/features/chat/presentation/MessageAlbum.d.ts.map +1 -0
- package/types/features/chat/presentation/MessageBubble.d.ts +27 -0
- package/types/features/chat/presentation/MessageBubble.d.ts.map +1 -0
- package/types/features/chat/presentation/MessageComposer.d.ts +21 -0
- package/types/features/chat/presentation/MessageComposer.d.ts.map +1 -0
- package/types/features/chat/presentation/MessageList.d.ts +25 -0
- package/types/features/chat/presentation/MessageList.d.ts.map +1 -0
- package/types/features/chat/presentation/MessageSendState.d.ts +20 -0
- package/types/features/chat/presentation/MessageSendState.d.ts.map +1 -0
- package/types/features/chat/presentation/MessageThread.d.ts +17 -0
- package/types/features/chat/presentation/MessageThread.d.ts.map +1 -0
- package/types/features/chat/presentation/MessageTicks.d.ts +10 -0
- package/types/features/chat/presentation/MessageTicks.d.ts.map +1 -0
- package/types/features/chat/presentation/MobileSelectionHeader.d.ts +11 -0
- package/types/features/chat/presentation/MobileSelectionHeader.d.ts.map +1 -0
- package/types/features/chat/presentation/NewConversationButton.d.ts +12 -0
- package/types/features/chat/presentation/NewConversationButton.d.ts.map +1 -0
- package/types/features/chat/presentation/NewGroupModal.d.ts +11 -0
- package/types/features/chat/presentation/NewGroupModal.d.ts.map +1 -0
- package/types/features/chat/presentation/RowMenu.d.ts +11 -0
- package/types/features/chat/presentation/RowMenu.d.ts.map +1 -0
- package/types/features/chat/presentation/SharedPostCard.d.ts +13 -0
- package/types/features/chat/presentation/SharedPostCard.d.ts.map +1 -0
- package/types/features/chat/presentation/StartDirectPicker.d.ts +11 -0
- package/types/features/chat/presentation/StartDirectPicker.d.ts.map +1 -0
- package/types/features/chat/presentation/active-conversation-pane.d.ts +13 -0
- package/types/features/chat/presentation/active-conversation-pane.d.ts.map +1 -0
- package/types/features/chat/presentation/apply-reaction-toggle.d.ts +20 -0
- package/types/features/chat/presentation/apply-reaction-toggle.d.ts.map +1 -0
- package/types/features/chat/presentation/chat-emojis.d.ts +5 -0
- package/types/features/chat/presentation/chat-emojis.d.ts.map +1 -0
- package/types/features/chat/presentation/chat-module-context.d.ts +4 -0
- package/types/features/chat/presentation/chat-module-context.d.ts.map +1 -0
- package/types/features/chat/presentation/chat-realtime-handlers.d.ts +18 -0
- package/types/features/chat/presentation/chat-realtime-handlers.d.ts.map +1 -0
- package/types/features/chat/presentation/chat-realtime-ui.d.ts +16 -0
- package/types/features/chat/presentation/chat-realtime-ui.d.ts.map +1 -0
- package/types/features/chat/presentation/chat-tabs.d.ts +21 -0
- package/types/features/chat/presentation/chat-tabs.d.ts.map +1 -0
- package/types/features/chat/presentation/chat-url.d.ts +21 -0
- package/types/features/chat/presentation/chat-url.d.ts.map +1 -0
- package/types/features/chat/presentation/composer-actions.d.ts +15 -0
- package/types/features/chat/presentation/composer-actions.d.ts.map +1 -0
- package/types/features/chat/presentation/conversation-access.d.ts +10 -0
- package/types/features/chat/presentation/conversation-access.d.ts.map +1 -0
- package/types/features/chat/presentation/conversation-composer.d.ts +19 -0
- package/types/features/chat/presentation/conversation-composer.d.ts.map +1 -0
- package/types/features/chat/presentation/conversation-thread-pane.d.ts +17 -0
- package/types/features/chat/presentation/conversation-thread-pane.d.ts.map +1 -0
- package/types/features/chat/presentation/format-message-time.d.ts +8 -0
- package/types/features/chat/presentation/format-message-time.d.ts.map +1 -0
- package/types/features/chat/presentation/group-header.d.ts +21 -0
- package/types/features/chat/presentation/group-header.d.ts.map +1 -0
- package/types/features/chat/presentation/group-menu-items.d.ts +10 -0
- package/types/features/chat/presentation/group-menu-items.d.ts.map +1 -0
- package/types/features/chat/presentation/group-messages.d.ts +43 -0
- package/types/features/chat/presentation/group-messages.d.ts.map +1 -0
- package/types/features/chat/presentation/index.d.ts +7 -0
- package/types/features/chat/presentation/index.d.ts.map +1 -0
- package/types/features/chat/presentation/last-seen.d.ts +7 -0
- package/types/features/chat/presentation/last-seen.d.ts.map +1 -0
- package/types/features/chat/presentation/manage-members.d.ts +15 -0
- package/types/features/chat/presentation/manage-members.d.ts.map +1 -0
- package/types/features/chat/presentation/merge-incoming-message.d.ts +17 -0
- package/types/features/chat/presentation/merge-incoming-message.d.ts.map +1 -0
- package/types/features/chat/presentation/message-actions.d.ts +11 -0
- package/types/features/chat/presentation/message-actions.d.ts.map +1 -0
- package/types/features/chat/presentation/message-bubble-body.d.ts +27 -0
- package/types/features/chat/presentation/message-bubble-body.d.ts.map +1 -0
- package/types/features/chat/presentation/message-reactions.d.ts +14 -0
- package/types/features/chat/presentation/message-reactions.d.ts.map +1 -0
- package/types/features/chat/presentation/new-conversation.d.ts +10 -0
- package/types/features/chat/presentation/new-conversation.d.ts.map +1 -0
- package/types/features/chat/presentation/normalize-user-id.d.ts +4 -0
- package/types/features/chat/presentation/normalize-user-id.d.ts.map +1 -0
- package/types/features/chat/presentation/optimistic-send.d.ts +67 -0
- package/types/features/chat/presentation/optimistic-send.d.ts.map +1 -0
- package/types/features/chat/presentation/pick-attachable-files.d.ts +21 -0
- package/types/features/chat/presentation/pick-attachable-files.d.ts.map +1 -0
- package/types/features/chat/presentation/prepend-older-messages.d.ts +13 -0
- package/types/features/chat/presentation/prepend-older-messages.d.ts.map +1 -0
- package/types/features/chat/presentation/resolve-media-kind.d.ts +9 -0
- package/types/features/chat/presentation/resolve-media-kind.d.ts.map +1 -0
- package/types/features/chat/presentation/resolve-message-identity.d.ts +12 -0
- package/types/features/chat/presentation/resolve-message-identity.d.ts.map +1 -0
- package/types/features/chat/presentation/resolve-reply-preview.d.ts +22 -0
- package/types/features/chat/presentation/resolve-reply-preview.d.ts.map +1 -0
- package/types/features/chat/presentation/tick-state.d.ts +23 -0
- package/types/features/chat/presentation/tick-state.d.ts.map +1 -0
- package/types/features/chat/presentation/unread-chat-count.d.ts +14 -0
- package/types/features/chat/presentation/unread-chat-count.d.ts.map +1 -0
- package/types/features/chat/presentation/use-active-conversation.d.ts +32 -0
- package/types/features/chat/presentation/use-active-conversation.d.ts.map +1 -0
- package/types/features/chat/presentation/use-chat-actions.d.ts +17 -0
- package/types/features/chat/presentation/use-chat-actions.d.ts.map +1 -0
- package/types/features/chat/presentation/use-chat-media-src.d.ts +15 -0
- package/types/features/chat/presentation/use-chat-media-src.d.ts.map +1 -0
- package/types/features/chat/presentation/use-chat-module.d.ts +4 -0
- package/types/features/chat/presentation/use-chat-module.d.ts.map +1 -0
- package/types/features/chat/presentation/use-chat-page-state.d.ts +24 -0
- package/types/features/chat/presentation/use-chat-page-state.d.ts.map +1 -0
- package/types/features/chat/presentation/use-chat.d.ts +86 -0
- package/types/features/chat/presentation/use-chat.d.ts.map +1 -0
- package/types/features/chat/presentation/use-conversation-confirm.d.ts +19 -0
- package/types/features/chat/presentation/use-conversation-confirm.d.ts.map +1 -0
- package/types/features/chat/presentation/use-conversations.d.ts +69 -0
- package/types/features/chat/presentation/use-conversations.d.ts.map +1 -0
- package/types/features/chat/presentation/use-debounced-value.d.ts +6 -0
- package/types/features/chat/presentation/use-debounced-value.d.ts.map +1 -0
- package/types/features/chat/presentation/use-hidden-messages.d.ts +14 -0
- package/types/features/chat/presentation/use-hidden-messages.d.ts.map +1 -0
- package/types/features/chat/presentation/use-infinite-scroll.d.ts +19 -0
- package/types/features/chat/presentation/use-infinite-scroll.d.ts.map +1 -0
- package/types/features/chat/presentation/use-load-older-messages.d.ts +17 -0
- package/types/features/chat/presentation/use-load-older-messages.d.ts.map +1 -0
- package/types/features/chat/presentation/use-mark-read-on-view.d.ts +13 -0
- package/types/features/chat/presentation/use-mark-read-on-view.d.ts.map +1 -0
- package/types/features/chat/presentation/use-mark-read.d.ts +13 -0
- package/types/features/chat/presentation/use-mark-read.d.ts.map +1 -0
- package/types/features/chat/presentation/use-media-viewer.d.ts +20 -0
- package/types/features/chat/presentation/use-media-viewer.d.ts.map +1 -0
- package/types/features/chat/presentation/use-member-draft.d.ts +18 -0
- package/types/features/chat/presentation/use-member-draft.d.ts.map +1 -0
- package/types/features/chat/presentation/use-message-delete.d.ts +17 -0
- package/types/features/chat/presentation/use-message-delete.d.ts.map +1 -0
- package/types/features/chat/presentation/use-pending-attachments.d.ts +20 -0
- package/types/features/chat/presentation/use-pending-attachments.d.ts.map +1 -0
- package/types/features/chat/presentation/use-seed-receipts.d.ts +8 -0
- package/types/features/chat/presentation/use-seed-receipts.d.ts.map +1 -0
- package/types/features/chat/presentation/use-send-media.d.ts +11 -0
- package/types/features/chat/presentation/use-send-media.d.ts.map +1 -0
- package/types/features/chat/presentation/use-send-message.d.ts +14 -0
- package/types/features/chat/presentation/use-send-message.d.ts.map +1 -0
- package/types/features/chat/presentation/use-staff-search.d.ts +19 -0
- package/types/features/chat/presentation/use-staff-search.d.ts.map +1 -0
- package/types/features/chat/presentation/use-sync-on-reconnect.d.ts +6 -0
- package/types/features/chat/presentation/use-sync-on-reconnect.d.ts.map +1 -0
- package/types/features/chat/presentation/use-thread-scroll.d.ts +23 -0
- package/types/features/chat/presentation/use-thread-scroll.d.ts.map +1 -0
- package/types/features/chat/presentation/use-typing.d.ts +14 -0
- package/types/features/chat/presentation/use-typing.d.ts.map +1 -0
- package/types/features/chat/presentation/use-web-push.d.ts +6 -0
- package/types/features/chat/presentation/use-web-push.d.ts.map +1 -0
- package/types/features/chat/presentation/useChatRealtime.d.ts +11 -0
- package/types/features/chat/presentation/useChatRealtime.d.ts.map +1 -0
- package/types/features/chat/presentation/with-viewer-perspective.d.ts +12 -0
- package/types/features/chat/presentation/with-viewer-perspective.d.ts.map +1 -0
- package/types/features/chat/store/chat-realtime-context.d.ts +4 -0
- package/types/features/chat/store/chat-realtime-context.d.ts.map +1 -0
- package/types/features/chat/store/chat-realtime-store.d.ts +43 -0
- package/types/features/chat/store/chat-realtime-store.d.ts.map +1 -0
- package/types/features/chat/store/index.d.ts +5 -0
- package/types/features/chat/store/index.d.ts.map +1 -0
- package/types/features/chat/store/realtime-reducers.d.ts +83 -0
- package/types/features/chat/store/realtime-reducers.d.ts.map +1 -0
- package/types/features/chat/store/use-chat-realtime-store.d.ts +6 -0
- package/types/features/chat/store/use-chat-realtime-store.d.ts.map +1 -0
- package/types/features/feed/application/index.d.ts +18 -0
- package/types/features/feed/application/index.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/acknowledge-post.d.ts +15 -0
- package/types/features/feed/application/use-cases/acknowledge-post.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/add-comment.d.ts +19 -0
- package/types/features/feed/application/use-cases/add-comment.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/create-post.d.ts +15 -0
- package/types/features/feed/application/use-cases/create-post.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/detect-location.d.ts +11 -0
- package/types/features/feed/application/use-cases/detect-location.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/get-notifications.d.ts +12 -0
- package/types/features/feed/application/use-cases/get-notifications.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/list-feed-audiences.d.ts +11 -0
- package/types/features/feed/application/use-cases/list-feed-audiences.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/list-feed-categories.d.ts +11 -0
- package/types/features/feed/application/use-cases/list-feed-categories.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/list-feed-feelings.d.ts +11 -0
- package/types/features/feed/application/use-cases/list-feed-feelings.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/list-feed.d.ts +21 -0
- package/types/features/feed/application/use-cases/list-feed.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/mark-notification-read.d.ts +12 -0
- package/types/features/feed/application/use-cases/mark-notification-read.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/mark-seen.d.ts +15 -0
- package/types/features/feed/application/use-cases/mark-seen.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/react-to-post.d.ts +15 -0
- package/types/features/feed/application/use-cases/react-to-post.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/search-feed-users.d.ts +11 -0
- package/types/features/feed/application/use-cases/search-feed-users.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/set-post-pinned.d.ts +15 -0
- package/types/features/feed/application/use-cases/set-post-pinned.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/toggle-bookmark.d.ts +15 -0
- package/types/features/feed/application/use-cases/toggle-bookmark.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/update-post.d.ts +15 -0
- package/types/features/feed/application/use-cases/update-post.d.ts.map +1 -0
- package/types/features/feed/application/use-cases/upload-feed-image-use-case.d.ts +14 -0
- package/types/features/feed/application/use-cases/upload-feed-image-use-case.d.ts.map +1 -0
- package/types/features/feed/domain/errors/feed-errors.d.ts +15 -0
- package/types/features/feed/domain/errors/feed-errors.d.ts.map +1 -0
- package/types/features/feed/domain/feed-options.d.ts +27 -0
- package/types/features/feed/domain/feed-options.d.ts.map +1 -0
- package/types/features/feed/domain/feed-post.d.ts +82 -0
- package/types/features/feed/domain/feed-post.d.ts.map +1 -0
- package/types/features/feed/domain/index.d.ts +5 -0
- package/types/features/feed/domain/index.d.ts.map +1 -0
- package/types/features/feed/domain/ports/feed-gateway.d.ts +68 -0
- package/types/features/feed/domain/ports/feed-gateway.d.ts.map +1 -0
- package/types/features/feed/feed-module.d.ts +33 -0
- package/types/features/feed/feed-module.d.ts.map +1 -0
- package/types/features/feed/index.d.ts +9 -0
- package/types/features/feed/index.d.ts.map +1 -0
- package/types/features/feed/infrastructure/dto/feed-dtos.d.ts +1016 -0
- package/types/features/feed/infrastructure/dto/feed-dtos.d.ts.map +1 -0
- package/types/features/feed/infrastructure/dto/notification-dtos.d.ts +77 -0
- package/types/features/feed/infrastructure/dto/notification-dtos.d.ts.map +1 -0
- package/types/features/feed/infrastructure/feed-gateway-errors.d.ts +21 -0
- package/types/features/feed/infrastructure/feed-gateway-errors.d.ts.map +1 -0
- package/types/features/feed/infrastructure/feed-mappers.d.ts +8 -0
- package/types/features/feed/infrastructure/feed-mappers.d.ts.map +1 -0
- package/types/features/feed/infrastructure/feed-realtime-protocol.d.ts +38 -0
- package/types/features/feed/infrastructure/feed-realtime-protocol.d.ts.map +1 -0
- package/types/features/feed/infrastructure/geolocation-detector.d.ts +16 -0
- package/types/features/feed/infrastructure/geolocation-detector.d.ts.map +1 -0
- package/types/features/feed/infrastructure/http-feed-gateway.d.ts +34 -0
- package/types/features/feed/infrastructure/http-feed-gateway.d.ts.map +1 -0
- package/types/features/feed/infrastructure/index.d.ts +2 -0
- package/types/features/feed/infrastructure/index.d.ts.map +1 -0
- package/types/features/feed/presentation/EditPostForm.d.ts +9 -0
- package/types/features/feed/presentation/EditPostForm.d.ts.map +1 -0
- package/types/features/feed/presentation/EditPostImages.d.ts +10 -0
- package/types/features/feed/presentation/EditPostImages.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedComposer.d.ts +3 -0
- package/types/features/feed/presentation/FeedComposer.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedEmptyState.d.ts +3 -0
- package/types/features/feed/presentation/FeedEmptyState.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedImage.d.ts +13 -0
- package/types/features/feed/presentation/FeedImage.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedModuleProvider.d.ts +9 -0
- package/types/features/feed/presentation/FeedModuleProvider.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedPage.d.ts +3 -0
- package/types/features/feed/presentation/FeedPage.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedPostCard.d.ts +12 -0
- package/types/features/feed/presentation/FeedPostCard.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedPostCardSubcomponents.d.ts +20 -0
- package/types/features/feed/presentation/FeedPostCardSubcomponents.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedPostList.d.ts +7 -0
- package/types/features/feed/presentation/FeedPostList.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedPromotionsRail.d.ts +4 -0
- package/types/features/feed/presentation/FeedPromotionsRail.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedScopeTabs.d.ts +8 -0
- package/types/features/feed/presentation/FeedScopeTabs.d.ts.map +1 -0
- package/types/features/feed/presentation/FeedSkeleton.d.ts +6 -0
- package/types/features/feed/presentation/FeedSkeleton.d.ts.map +1 -0
- package/types/features/feed/presentation/Lightbox.d.ts +17 -0
- package/types/features/feed/presentation/Lightbox.d.ts.map +1 -0
- package/types/features/feed/presentation/PostCardContent.d.ts +18 -0
- package/types/features/feed/presentation/PostCardContent.d.ts.map +1 -0
- package/types/features/feed/presentation/PostComments.d.ts +9 -0
- package/types/features/feed/presentation/PostComments.d.ts.map +1 -0
- package/types/features/feed/presentation/PostHeader.d.ts +12 -0
- package/types/features/feed/presentation/PostHeader.d.ts.map +1 -0
- package/types/features/feed/presentation/PostImages.d.ts +7 -0
- package/types/features/feed/presentation/PostImages.d.ts.map +1 -0
- package/types/features/feed/presentation/PromotionsPanel.d.ts +12 -0
- package/types/features/feed/presentation/PromotionsPanel.d.ts.map +1 -0
- package/types/features/feed/presentation/SharePostModal.d.ts +9 -0
- package/types/features/feed/presentation/SharePostModal.d.ts.map +1 -0
- package/types/features/feed/presentation/SharedPostForm.d.ts +70 -0
- package/types/features/feed/presentation/SharedPostForm.d.ts.map +1 -0
- package/types/features/feed/presentation/WhatYouMissed.d.ts +7 -0
- package/types/features/feed/presentation/WhatYouMissed.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-audience.d.ts +11 -0
- package/types/features/feed/presentation/composer-audience.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-data.d.ts +22 -0
- package/types/features/feed/presentation/composer-data.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-extras.d.ts +37 -0
- package/types/features/feed/presentation/composer-extras.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-header.d.ts +18 -0
- package/types/features/feed/presentation/composer-header.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-item-template-sheets.d.ts +23 -0
- package/types/features/feed/presentation/composer-item-template-sheets.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-meta.d.ts +11 -0
- package/types/features/feed/presentation/composer-meta.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-photos.d.ts +11 -0
- package/types/features/feed/presentation/composer-photos.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-schedule.d.ts +19 -0
- package/types/features/feed/presentation/composer-schedule.d.ts.map +1 -0
- package/types/features/feed/presentation/composer-tag-sheet.d.ts +12 -0
- package/types/features/feed/presentation/composer-tag-sheet.d.ts.map +1 -0
- package/types/features/feed/presentation/feed-module-context.d.ts +4 -0
- package/types/features/feed/presentation/feed-module-context.d.ts.map +1 -0
- package/types/features/feed/presentation/feed-promos.d.ts +28 -0
- package/types/features/feed/presentation/feed-promos.d.ts.map +1 -0
- package/types/features/feed/presentation/feed-utils.d.ts +27 -0
- package/types/features/feed/presentation/feed-utils.d.ts.map +1 -0
- package/types/features/feed/presentation/index.d.ts +4 -0
- package/types/features/feed/presentation/index.d.ts.map +1 -0
- package/types/features/feed/presentation/share-rows.d.ts +39 -0
- package/types/features/feed/presentation/share-rows.d.ts.map +1 -0
- package/types/features/feed/presentation/use-composer-form-state.d.ts +45 -0
- package/types/features/feed/presentation/use-composer-form-state.d.ts.map +1 -0
- package/types/features/feed/presentation/use-edit-post-state.d.ts +56 -0
- package/types/features/feed/presentation/use-edit-post-state.d.ts.map +1 -0
- package/types/features/feed/presentation/use-feed-module.d.ts +4 -0
- package/types/features/feed/presentation/use-feed-module.d.ts.map +1 -0
- package/types/features/feed/presentation/use-feed-post-card-state.d.ts +42 -0
- package/types/features/feed/presentation/use-feed-post-card-state.d.ts.map +1 -0
- package/types/features/feed/presentation/use-feed.d.ts +35 -0
- package/types/features/feed/presentation/use-feed.d.ts.map +1 -0
- package/types/features/feed/presentation/use-scroll-to-post.d.ts +11 -0
- package/types/features/feed/presentation/use-scroll-to-post.d.ts.map +1 -0
- package/types/features/meeting-video/application/index.d.ts +3 -0
- package/types/features/meeting-video/application/index.d.ts.map +1 -0
- package/types/features/meeting-video/application/use-cases/join-meeting-video.d.ts +15 -0
- package/types/features/meeting-video/application/use-cases/join-meeting-video.d.ts.map +1 -0
- package/types/features/meeting-video/domain/errors/meeting-video-errors.d.ts +10 -0
- package/types/features/meeting-video/domain/errors/meeting-video-errors.d.ts.map +1 -0
- package/types/features/meeting-video/domain/index.d.ts +4 -0
- package/types/features/meeting-video/domain/index.d.ts.map +1 -0
- package/types/features/meeting-video/domain/meeting-join-ticket.d.ts +15 -0
- package/types/features/meeting-video/domain/meeting-join-ticket.d.ts.map +1 -0
- package/types/features/meeting-video/domain/ports/meeting-video-gateway.d.ts +8 -0
- package/types/features/meeting-video/domain/ports/meeting-video-gateway.d.ts.map +1 -0
- package/types/features/meeting-video/index.d.ts +5 -0
- package/types/features/meeting-video/index.d.ts.map +1 -0
- package/types/features/meeting-video/infrastructure/dto/meeting-video-dtos.d.ts +23 -0
- package/types/features/meeting-video/infrastructure/dto/meeting-video-dtos.d.ts.map +1 -0
- package/types/features/meeting-video/infrastructure/http-meeting-video-gateway.d.ts +20 -0
- package/types/features/meeting-video/infrastructure/http-meeting-video-gateway.d.ts.map +1 -0
- package/types/features/meeting-video/infrastructure/http-meeting-video-routes.d.ts +8 -0
- package/types/features/meeting-video/infrastructure/http-meeting-video-routes.d.ts.map +1 -0
- package/types/features/meeting-video/infrastructure/index.d.ts +4 -0
- package/types/features/meeting-video/infrastructure/index.d.ts.map +1 -0
- package/types/features/meeting-video/infrastructure/meeting-video-mappers.d.ts +5 -0
- package/types/features/meeting-video/infrastructure/meeting-video-mappers.d.ts.map +1 -0
- package/types/features/meeting-video/meeting-video-module.d.ts +13 -0
- package/types/features/meeting-video/meeting-video-module.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/FloatingMeetingWidget.d.ts +8 -0
- package/types/features/meeting-video/presentation/FloatingMeetingWidget.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/MeetingRoomTrigger.d.ts +14 -0
- package/types/features/meeting-video/presentation/MeetingRoomTrigger.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/MeetingVideoModuleProvider.d.ts +9 -0
- package/types/features/meeting-video/presentation/MeetingVideoModuleProvider.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/MeetingVideoRoom.d.ts +15 -0
- package/types/features/meeting-video/presentation/MeetingVideoRoom.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/experiences/CloudflareMeetingExperience.d.ts +8 -0
- package/types/features/meeting-video/presentation/experiences/CloudflareMeetingExperience.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/experiences/ExperienceError.d.ts +6 -0
- package/types/features/meeting-video/presentation/experiences/ExperienceError.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/experiences/ZoomMeetingExperience.d.ts +10 -0
- package/types/features/meeting-video/presentation/experiences/ZoomMeetingExperience.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/experiences/meeting-experience.d.ts +11 -0
- package/types/features/meeting-video/presentation/experiences/meeting-experience.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/index.d.ts +6 -0
- package/types/features/meeting-video/presentation/index.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/meeting-video-module-context.d.ts +4 -0
- package/types/features/meeting-video/presentation/meeting-video-module-context.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/use-active-meeting-store.d.ts +24 -0
- package/types/features/meeting-video/presentation/use-active-meeting-store.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/use-join-meeting-video.d.ts +10 -0
- package/types/features/meeting-video/presentation/use-join-meeting-video.d.ts.map +1 -0
- package/types/features/meeting-video/presentation/use-meeting-video-module.d.ts +4 -0
- package/types/features/meeting-video/presentation/use-meeting-video-module.d.ts.map +1 -0
- package/types/features/meetings/application/index.d.ts +8 -0
- package/types/features/meetings/application/index.d.ts.map +1 -0
- package/types/features/meetings/application/use-cases/book-meeting.d.ts +15 -0
- package/types/features/meetings/application/use-cases/book-meeting.d.ts.map +1 -0
- package/types/features/meetings/application/use-cases/cancel-meeting.d.ts +15 -0
- package/types/features/meetings/application/use-cases/cancel-meeting.d.ts.map +1 -0
- package/types/features/meetings/application/use-cases/list-attendee-availability.d.ts +15 -0
- package/types/features/meetings/application/use-cases/list-attendee-availability.d.ts.map +1 -0
- package/types/features/meetings/application/use-cases/list-available-slots.d.ts +15 -0
- package/types/features/meetings/application/use-cases/list-available-slots.d.ts.map +1 -0
- package/types/features/meetings/application/use-cases/list-contacts.d.ts +15 -0
- package/types/features/meetings/application/use-cases/list-contacts.d.ts.map +1 -0
- package/types/features/meetings/application/use-cases/list-meetings.d.ts +15 -0
- package/types/features/meetings/application/use-cases/list-meetings.d.ts.map +1 -0
- package/types/features/meetings/application/use-cases/respond-to-meeting.d.ts +15 -0
- package/types/features/meetings/application/use-cases/respond-to-meeting.d.ts.map +1 -0
- package/types/features/meetings/domain/errors/meeting-errors.d.ts +15 -0
- package/types/features/meetings/domain/errors/meeting-errors.d.ts.map +1 -0
- package/types/features/meetings/domain/index.d.ts +7 -0
- package/types/features/meetings/domain/index.d.ts.map +1 -0
- package/types/features/meetings/domain/meeting-timezones.d.ts +20 -0
- package/types/features/meetings/domain/meeting-timezones.d.ts.map +1 -0
- package/types/features/meetings/domain/meeting.d.ts +68 -0
- package/types/features/meetings/domain/meeting.d.ts.map +1 -0
- package/types/features/meetings/domain/ports/calendar-writer.d.ts +16 -0
- package/types/features/meetings/domain/ports/calendar-writer.d.ts.map +1 -0
- package/types/features/meetings/domain/ports/meeting-gateway.d.ts +51 -0
- package/types/features/meetings/domain/ports/meeting-gateway.d.ts.map +1 -0
- package/types/features/meetings/domain/slot-availability.d.ts +64 -0
- package/types/features/meetings/domain/slot-availability.d.ts.map +1 -0
- package/types/features/meetings/index.d.ts +7 -0
- package/types/features/meetings/index.d.ts.map +1 -0
- package/types/features/meetings/infrastructure/dto/meeting-dtos.d.ts +273 -0
- package/types/features/meetings/infrastructure/dto/meeting-dtos.d.ts.map +1 -0
- package/types/features/meetings/infrastructure/http-meeting-gateway.d.ts +30 -0
- package/types/features/meetings/infrastructure/http-meeting-gateway.d.ts.map +1 -0
- package/types/features/meetings/infrastructure/http-meeting-routes.d.ts +16 -0
- package/types/features/meetings/infrastructure/http-meeting-routes.d.ts.map +1 -0
- package/types/features/meetings/infrastructure/index.d.ts +4 -0
- package/types/features/meetings/infrastructure/index.d.ts.map +1 -0
- package/types/features/meetings/infrastructure/meeting-mappers.d.ts +25 -0
- package/types/features/meetings/infrastructure/meeting-mappers.d.ts.map +1 -0
- package/types/features/meetings/infrastructure/meeting-seed.d.ts +27 -0
- package/types/features/meetings/infrastructure/meeting-seed.d.ts.map +1 -0
- package/types/features/meetings/infrastructure/mock-meeting-gateway.d.ts +22 -0
- package/types/features/meetings/infrastructure/mock-meeting-gateway.d.ts.map +1 -0
- package/types/features/meetings/meetings-module.d.ts +19 -0
- package/types/features/meetings/meetings-module.d.ts.map +1 -0
- package/types/features/meetings/presentation/AttendeeSidebar.d.ts +16 -0
- package/types/features/meetings/presentation/AttendeeSidebar.d.ts.map +1 -0
- package/types/features/meetings/presentation/BookBar.d.ts +17 -0
- package/types/features/meetings/presentation/BookBar.d.ts.map +1 -0
- package/types/features/meetings/presentation/BookMeetingPanel.d.ts +6 -0
- package/types/features/meetings/presentation/BookMeetingPanel.d.ts.map +1 -0
- package/types/features/meetings/presentation/BookingCalendar.d.ts +11 -0
- package/types/features/meetings/presentation/BookingCalendar.d.ts.map +1 -0
- package/types/features/meetings/presentation/BookingConfirmModal.d.ts +16 -0
- package/types/features/meetings/presentation/BookingConfirmModal.d.ts.map +1 -0
- package/types/features/meetings/presentation/BookingSuccessScreen.d.ts +9 -0
- package/types/features/meetings/presentation/BookingSuccessScreen.d.ts.map +1 -0
- package/types/features/meetings/presentation/BookingsPage.d.ts +4 -0
- package/types/features/meetings/presentation/BookingsPage.d.ts.map +1 -0
- package/types/features/meetings/presentation/ContactColumn.d.ts +16 -0
- package/types/features/meetings/presentation/ContactColumn.d.ts.map +1 -0
- package/types/features/meetings/presentation/GroupMeetingWizard.d.ts +6 -0
- package/types/features/meetings/presentation/GroupMeetingWizard.d.ts.map +1 -0
- package/types/features/meetings/presentation/MeetingCard.d.ts +14 -0
- package/types/features/meetings/presentation/MeetingCard.d.ts.map +1 -0
- package/types/features/meetings/presentation/MeetingsModuleProvider.d.ts +9 -0
- package/types/features/meetings/presentation/MeetingsModuleProvider.d.ts.map +1 -0
- package/types/features/meetings/presentation/MeetingsSkeleton.d.ts +3 -0
- package/types/features/meetings/presentation/MeetingsSkeleton.d.ts.map +1 -0
- package/types/features/meetings/presentation/ScheduledMeetings.d.ts +3 -0
- package/types/features/meetings/presentation/ScheduledMeetings.d.ts.map +1 -0
- package/types/features/meetings/presentation/SlotsColumn.d.ts +15 -0
- package/types/features/meetings/presentation/SlotsColumn.d.ts.map +1 -0
- package/types/features/meetings/presentation/StepConfirm.d.ts +8 -0
- package/types/features/meetings/presentation/StepConfirm.d.ts.map +1 -0
- package/types/features/meetings/presentation/StepDetails.d.ts +8 -0
- package/types/features/meetings/presentation/StepDetails.d.ts.map +1 -0
- package/types/features/meetings/presentation/StepParticipants.d.ts +8 -0
- package/types/features/meetings/presentation/StepParticipants.d.ts.map +1 -0
- package/types/features/meetings/presentation/StepTime.d.ts +6 -0
- package/types/features/meetings/presentation/StepTime.d.ts.map +1 -0
- package/types/features/meetings/presentation/TimelineGrid.d.ts +24 -0
- package/types/features/meetings/presentation/TimelineGrid.d.ts.map +1 -0
- package/types/features/meetings/presentation/TimezoneSelect.d.ts +8 -0
- package/types/features/meetings/presentation/TimezoneSelect.d.ts.map +1 -0
- package/types/features/meetings/presentation/booking-date.d.ts +17 -0
- package/types/features/meetings/presentation/booking-date.d.ts.map +1 -0
- package/types/features/meetings/presentation/booking-draft-result.d.ts +115 -0
- package/types/features/meetings/presentation/booking-draft-result.d.ts.map +1 -0
- package/types/features/meetings/presentation/booking-helpers.d.ts +42 -0
- package/types/features/meetings/presentation/booking-helpers.d.ts.map +1 -0
- package/types/features/meetings/presentation/index.d.ts +4 -0
- package/types/features/meetings/presentation/index.d.ts.map +1 -0
- package/types/features/meetings/presentation/meetings-module-context.d.ts +4 -0
- package/types/features/meetings/presentation/meetings-module-context.d.ts.map +1 -0
- package/types/features/meetings/presentation/use-booking-draft.d.ts +4 -0
- package/types/features/meetings/presentation/use-booking-draft.d.ts.map +1 -0
- package/types/features/meetings/presentation/use-booking-viewer.d.ts +15 -0
- package/types/features/meetings/presentation/use-booking-viewer.d.ts.map +1 -0
- package/types/features/meetings/presentation/use-debounced-value.d.ts +6 -0
- package/types/features/meetings/presentation/use-debounced-value.d.ts.map +1 -0
- package/types/features/meetings/presentation/use-group-wizard-state.d.ts +14 -0
- package/types/features/meetings/presentation/use-group-wizard-state.d.ts.map +1 -0
- package/types/features/meetings/presentation/use-meetings-module.d.ts +4 -0
- package/types/features/meetings/presentation/use-meetings-module.d.ts.map +1 -0
- package/types/features/meetings/presentation/use-meetings.d.ts +32 -0
- package/types/features/meetings/presentation/use-meetings.d.ts.map +1 -0
- package/types/features/module-access/application/index.d.ts +2 -0
- package/types/features/module-access/application/index.d.ts.map +1 -0
- package/types/features/module-access/application/use-cases/get-module-access.d.ts +15 -0
- package/types/features/module-access/application/use-cases/get-module-access.d.ts.map +1 -0
- package/types/features/module-access/domain/index.d.ts +2 -0
- package/types/features/module-access/domain/index.d.ts.map +1 -0
- package/types/features/module-access/domain/module-access.d.ts +100 -0
- package/types/features/module-access/domain/module-access.d.ts.map +1 -0
- package/types/features/module-access/index.d.ts +9 -0
- package/types/features/module-access/index.d.ts.map +1 -0
- package/types/features/module-access/infrastructure/http-module-access-gateway.d.ts +20 -0
- package/types/features/module-access/infrastructure/http-module-access-gateway.d.ts.map +1 -0
- package/types/features/module-access/infrastructure/index.d.ts +2 -0
- package/types/features/module-access/infrastructure/index.d.ts.map +1 -0
- package/types/features/module-access/module-access-module.d.ts +16 -0
- package/types/features/module-access/module-access-module.d.ts.map +1 -0
- package/types/features/module-access/presentation/ModuleAccessModuleProvider.d.ts +9 -0
- package/types/features/module-access/presentation/ModuleAccessModuleProvider.d.ts.map +1 -0
- package/types/features/module-access/presentation/RequireModule.d.ts +13 -0
- package/types/features/module-access/presentation/RequireModule.d.ts.map +1 -0
- package/types/features/module-access/presentation/index.d.ts +5 -0
- package/types/features/module-access/presentation/index.d.ts.map +1 -0
- package/types/features/module-access/presentation/module-access-module-context.d.ts +4 -0
- package/types/features/module-access/presentation/module-access-module-context.d.ts.map +1 -0
- package/types/features/module-access/presentation/use-module-access-module.d.ts +4 -0
- package/types/features/module-access/presentation/use-module-access-module.d.ts.map +1 -0
- package/types/features/module-access/presentation/use-module-access.d.ts +33 -0
- package/types/features/module-access/presentation/use-module-access.d.ts.map +1 -0
- package/types/features/org/application/index.d.ts +26 -0
- package/types/features/org/application/index.d.ts.map +1 -0
- package/types/features/org/application/use-cases/assign-manager.d.ts +15 -0
- package/types/features/org/application/use-cases/assign-manager.d.ts.map +1 -0
- package/types/features/org/application/use-cases/assign-user-branch.d.ts +15 -0
- package/types/features/org/application/use-cases/assign-user-branch.d.ts.map +1 -0
- package/types/features/org/application/use-cases/assign-user-type.d.ts +15 -0
- package/types/features/org/application/use-cases/assign-user-type.d.ts.map +1 -0
- package/types/features/org/application/use-cases/delete-branch.d.ts +15 -0
- package/types/features/org/application/use-cases/delete-branch.d.ts.map +1 -0
- package/types/features/org/application/use-cases/delete-team.d.ts +15 -0
- package/types/features/org/application/use-cases/delete-team.d.ts.map +1 -0
- package/types/features/org/application/use-cases/delete-user-type.d.ts +15 -0
- package/types/features/org/application/use-cases/delete-user-type.d.ts.map +1 -0
- package/types/features/org/application/use-cases/get-assignable-roles.d.ts +15 -0
- package/types/features/org/application/use-cases/get-assignable-roles.d.ts.map +1 -0
- package/types/features/org/application/use-cases/get-hierarchy-plan.d.ts +15 -0
- package/types/features/org/application/use-cases/get-hierarchy-plan.d.ts.map +1 -0
- package/types/features/org/application/use-cases/get-my-user-types.d.ts +15 -0
- package/types/features/org/application/use-cases/get-my-user-types.d.ts.map +1 -0
- package/types/features/org/application/use-cases/get-user-branches.d.ts +15 -0
- package/types/features/org/application/use-cases/get-user-branches.d.ts.map +1 -0
- package/types/features/org/application/use-cases/get-user-types-for.d.ts +15 -0
- package/types/features/org/application/use-cases/get-user-types-for.d.ts.map +1 -0
- package/types/features/org/application/use-cases/group-membership-hierarchy.d.ts +22 -0
- package/types/features/org/application/use-cases/group-membership-hierarchy.d.ts.map +1 -0
- package/types/features/org/application/use-cases/list-branch-options.d.ts +15 -0
- package/types/features/org/application/use-cases/list-branch-options.d.ts.map +1 -0
- package/types/features/org/application/use-cases/list-branches.d.ts +15 -0
- package/types/features/org/application/use-cases/list-branches.d.ts.map +1 -0
- package/types/features/org/application/use-cases/list-hierarchy-edges.d.ts +15 -0
- package/types/features/org/application/use-cases/list-hierarchy-edges.d.ts.map +1 -0
- package/types/features/org/application/use-cases/list-teams.d.ts +15 -0
- package/types/features/org/application/use-cases/list-teams.d.ts.map +1 -0
- package/types/features/org/application/use-cases/list-user-types.d.ts +15 -0
- package/types/features/org/application/use-cases/list-user-types.d.ts.map +1 -0
- package/types/features/org/application/use-cases/remove-manager.d.ts +15 -0
- package/types/features/org/application/use-cases/remove-manager.d.ts.map +1 -0
- package/types/features/org/application/use-cases/remove-user-branch.d.ts +15 -0
- package/types/features/org/application/use-cases/remove-user-branch.d.ts.map +1 -0
- package/types/features/org/application/use-cases/remove-user-type.d.ts +15 -0
- package/types/features/org/application/use-cases/remove-user-type.d.ts.map +1 -0
- package/types/features/org/application/use-cases/save-branch.d.ts +18 -0
- package/types/features/org/application/use-cases/save-branch.d.ts.map +1 -0
- package/types/features/org/application/use-cases/save-team.d.ts +18 -0
- package/types/features/org/application/use-cases/save-team.d.ts.map +1 -0
- package/types/features/org/application/use-cases/save-user-type.d.ts +18 -0
- package/types/features/org/application/use-cases/save-user-type.d.ts.map +1 -0
- package/types/features/org/application/use-cases/set-default-branch.d.ts +15 -0
- package/types/features/org/application/use-cases/set-default-branch.d.ts.map +1 -0
- package/types/features/org/application/use-cases/switch-my-user-type.d.ts +15 -0
- package/types/features/org/application/use-cases/switch-my-user-type.d.ts.map +1 -0
- package/types/features/org/domain/branch.d.ts +43 -0
- package/types/features/org/domain/branch.d.ts.map +1 -0
- package/types/features/org/domain/data-access-scope.d.ts +12 -0
- package/types/features/org/domain/data-access-scope.d.ts.map +1 -0
- package/types/features/org/domain/errors/org-errors.d.ts +33 -0
- package/types/features/org/domain/errors/org-errors.d.ts.map +1 -0
- package/types/features/org/domain/hierarchy.d.ts +63 -0
- package/types/features/org/domain/hierarchy.d.ts.map +1 -0
- package/types/features/org/domain/index.d.ts +8 -0
- package/types/features/org/domain/index.d.ts.map +1 -0
- package/types/features/org/domain/ports/org-gateway.d.ts +59 -0
- package/types/features/org/domain/ports/org-gateway.d.ts.map +1 -0
- package/types/features/org/domain/team.d.ts +28 -0
- package/types/features/org/domain/team.d.ts.map +1 -0
- package/types/features/org/domain/user-type.d.ts +67 -0
- package/types/features/org/domain/user-type.d.ts.map +1 -0
- package/types/features/org/index.d.ts +8 -0
- package/types/features/org/index.d.ts.map +1 -0
- package/types/features/org/infrastructure/dto/org-dtos.d.ts +522 -0
- package/types/features/org/infrastructure/dto/org-dtos.d.ts.map +1 -0
- package/types/features/org/infrastructure/http-org-gateway.d.ts +59 -0
- package/types/features/org/infrastructure/http-org-gateway.d.ts.map +1 -0
- package/types/features/org/infrastructure/http-org-routes.d.ts +40 -0
- package/types/features/org/infrastructure/http-org-routes.d.ts.map +1 -0
- package/types/features/org/infrastructure/index.d.ts +6 -0
- package/types/features/org/infrastructure/index.d.ts.map +1 -0
- package/types/features/org/infrastructure/org-gateway-errors.d.ts +15 -0
- package/types/features/org/infrastructure/org-gateway-errors.d.ts.map +1 -0
- package/types/features/org/infrastructure/org-mappers.d.ts +24 -0
- package/types/features/org/infrastructure/org-mappers.d.ts.map +1 -0
- package/types/features/org/org-module.d.ts +38 -0
- package/types/features/org/org-module.d.ts.map +1 -0
- package/types/features/org/presentation/AccessControlPage.d.ts +9 -0
- package/types/features/org/presentation/AccessControlPage.d.ts.map +1 -0
- package/types/features/org/presentation/AssignManagerModal.d.ts +13 -0
- package/types/features/org/presentation/AssignManagerModal.d.ts.map +1 -0
- package/types/features/org/presentation/BranchFormModal.d.ts +16 -0
- package/types/features/org/presentation/BranchFormModal.d.ts.map +1 -0
- package/types/features/org/presentation/BranchTimezoneField.d.ts +6 -0
- package/types/features/org/presentation/BranchTimezoneField.d.ts.map +1 -0
- package/types/features/org/presentation/BranchesPanel.d.ts +11 -0
- package/types/features/org/presentation/BranchesPanel.d.ts.map +1 -0
- package/types/features/org/presentation/GroupMembershipSetting.d.ts +8 -0
- package/types/features/org/presentation/GroupMembershipSetting.d.ts.map +1 -0
- package/types/features/org/presentation/HierarchyInsertPicker.d.ts +18 -0
- package/types/features/org/presentation/HierarchyInsertPicker.d.ts.map +1 -0
- package/types/features/org/presentation/MemberAccessCard.d.ts +11 -0
- package/types/features/org/presentation/MemberAccessCard.d.ts.map +1 -0
- package/types/features/org/presentation/MemberAccessModal.d.ts +14 -0
- package/types/features/org/presentation/MemberAccessModal.d.ts.map +1 -0
- package/types/features/org/presentation/OrgChartPanel.d.ts +10 -0
- package/types/features/org/presentation/OrgChartPanel.d.ts.map +1 -0
- package/types/features/org/presentation/OrgChartTree.d.ts +17 -0
- package/types/features/org/presentation/OrgChartTree.d.ts.map +1 -0
- package/types/features/org/presentation/OrgModuleProvider.d.ts +9 -0
- package/types/features/org/presentation/OrgModuleProvider.d.ts.map +1 -0
- package/types/features/org/presentation/TeamFormModal.d.ts +16 -0
- package/types/features/org/presentation/TeamFormModal.d.ts.map +1 -0
- package/types/features/org/presentation/TeamsPanel.d.ts +11 -0
- package/types/features/org/presentation/TeamsPanel.d.ts.map +1 -0
- package/types/features/org/presentation/TypeSwitcher.d.ts +8 -0
- package/types/features/org/presentation/TypeSwitcher.d.ts.map +1 -0
- package/types/features/org/presentation/UserTypeFormFields.d.ts +21 -0
- package/types/features/org/presentation/UserTypeFormFields.d.ts.map +1 -0
- package/types/features/org/presentation/UserTypeFormView.d.ts +14 -0
- package/types/features/org/presentation/UserTypeFormView.d.ts.map +1 -0
- package/types/features/org/presentation/UserTypeLadder.d.ts +8 -0
- package/types/features/org/presentation/UserTypeLadder.d.ts.map +1 -0
- package/types/features/org/presentation/UserTypesPanel.d.ts +13 -0
- package/types/features/org/presentation/UserTypesPanel.d.ts.map +1 -0
- package/types/features/org/presentation/index.d.ts +6 -0
- package/types/features/org/presentation/index.d.ts.map +1 -0
- package/types/features/org/presentation/org-module-context.d.ts +4 -0
- package/types/features/org/presentation/org-module-context.d.ts.map +1 -0
- package/types/features/org/presentation/org-query-keys.d.ts +10 -0
- package/types/features/org/presentation/org-query-keys.d.ts.map +1 -0
- package/types/features/org/presentation/org-role-color.d.ts +4 -0
- package/types/features/org/presentation/org-role-color.d.ts.map +1 -0
- package/types/features/org/presentation/use-assign-manager-form.d.ts +29 -0
- package/types/features/org/presentation/use-assign-manager-form.d.ts.map +1 -0
- package/types/features/org/presentation/use-group-membership.d.ts +6 -0
- package/types/features/org/presentation/use-group-membership.d.ts.map +1 -0
- package/types/features/org/presentation/use-my-user-type.d.ts +12 -0
- package/types/features/org/presentation/use-my-user-type.d.ts.map +1 -0
- package/types/features/org/presentation/use-org-admin.d.ts +62 -0
- package/types/features/org/presentation/use-org-admin.d.ts.map +1 -0
- package/types/features/org/presentation/use-org-module.d.ts +4 -0
- package/types/features/org/presentation/use-org-module.d.ts.map +1 -0
- package/types/features/org/presentation/use-save-branch-handler.d.ts +7 -0
- package/types/features/org/presentation/use-save-branch-handler.d.ts.map +1 -0
- package/types/features/org/presentation/use-save-team-handler.d.ts +7 -0
- package/types/features/org/presentation/use-save-team-handler.d.ts.map +1 -0
- package/types/features/org/presentation/use-save-user-type-handler.d.ts +7 -0
- package/types/features/org/presentation/use-save-user-type-handler.d.ts.map +1 -0
- package/types/features/org/presentation/use-user-type-form.d.ts +25 -0
- package/types/features/org/presentation/use-user-type-form.d.ts.map +1 -0
- package/types/features/permissions/application/index.d.ts +4 -0
- package/types/features/permissions/application/index.d.ts.map +1 -0
- package/types/features/permissions/application/use-cases/delete-permission-set.d.ts +15 -0
- package/types/features/permissions/application/use-cases/delete-permission-set.d.ts.map +1 -0
- package/types/features/permissions/application/use-cases/get-permission-catalog.d.ts +15 -0
- package/types/features/permissions/application/use-cases/get-permission-catalog.d.ts.map +1 -0
- package/types/features/permissions/application/use-cases/save-permission-set.d.ts +15 -0
- package/types/features/permissions/application/use-cases/save-permission-set.d.ts.map +1 -0
- package/types/features/permissions/domain/errors/permission-errors.d.ts +18 -0
- package/types/features/permissions/domain/errors/permission-errors.d.ts.map +1 -0
- package/types/features/permissions/domain/index.d.ts +5 -0
- package/types/features/permissions/domain/index.d.ts.map +1 -0
- package/types/features/permissions/domain/permission-rules.d.ts +20 -0
- package/types/features/permissions/domain/permission-rules.d.ts.map +1 -0
- package/types/features/permissions/domain/permission.d.ts +42 -0
- package/types/features/permissions/domain/permission.d.ts.map +1 -0
- package/types/features/permissions/domain/ports/permission-gateway.d.ts +13 -0
- package/types/features/permissions/domain/ports/permission-gateway.d.ts.map +1 -0
- package/types/features/permissions/index.d.ts +7 -0
- package/types/features/permissions/index.d.ts.map +1 -0
- package/types/features/permissions/infrastructure/http-permission-gateway.d.ts +23 -0
- package/types/features/permissions/infrastructure/http-permission-gateway.d.ts.map +1 -0
- package/types/features/permissions/infrastructure/http-permission-routes.d.ts +15 -0
- package/types/features/permissions/infrastructure/http-permission-routes.d.ts.map +1 -0
- package/types/features/permissions/infrastructure/index.d.ts +2 -0
- package/types/features/permissions/infrastructure/index.d.ts.map +1 -0
- package/types/features/permissions/infrastructure/permission-dtos.d.ts +200 -0
- package/types/features/permissions/infrastructure/permission-dtos.d.ts.map +1 -0
- package/types/features/permissions/infrastructure/permission-gateway-errors.d.ts +10 -0
- package/types/features/permissions/infrastructure/permission-gateway-errors.d.ts.map +1 -0
- package/types/features/permissions/infrastructure/permission-mappers.d.ts +8 -0
- package/types/features/permissions/infrastructure/permission-mappers.d.ts.map +1 -0
- package/types/features/permissions/permissions-module.d.ts +15 -0
- package/types/features/permissions/permissions-module.d.ts.map +1 -0
- package/types/features/permissions/presentation/EditorLegend.d.ts +3 -0
- package/types/features/permissions/presentation/EditorLegend.d.ts.map +1 -0
- package/types/features/permissions/presentation/EditorModal.d.ts +18 -0
- package/types/features/permissions/presentation/EditorModal.d.ts.map +1 -0
- package/types/features/permissions/presentation/EditorSurface.d.ts +15 -0
- package/types/features/permissions/presentation/EditorSurface.d.ts.map +1 -0
- package/types/features/permissions/presentation/PermissionRow.d.ts +16 -0
- package/types/features/permissions/presentation/PermissionRow.d.ts.map +1 -0
- package/types/features/permissions/presentation/PermissionSetCard.d.ts +12 -0
- package/types/features/permissions/presentation/PermissionSetCard.d.ts.map +1 -0
- package/types/features/permissions/presentation/PermissionsEditor.d.ts +8 -0
- package/types/features/permissions/presentation/PermissionsEditor.d.ts.map +1 -0
- package/types/features/permissions/presentation/PermissionsModuleProvider.d.ts +9 -0
- package/types/features/permissions/presentation/PermissionsModuleProvider.d.ts.map +1 -0
- package/types/features/permissions/presentation/PermissionsPage.d.ts +8 -0
- package/types/features/permissions/presentation/PermissionsPage.d.ts.map +1 -0
- package/types/features/permissions/presentation/SetsGrid.d.ts +15 -0
- package/types/features/permissions/presentation/SetsGrid.d.ts.map +1 -0
- package/types/features/permissions/presentation/index.d.ts +4 -0
- package/types/features/permissions/presentation/index.d.ts.map +1 -0
- package/types/features/permissions/presentation/permissions-module-context.d.ts +4 -0
- package/types/features/permissions/presentation/permissions-module-context.d.ts.map +1 -0
- package/types/features/permissions/presentation/use-permission-catalog.d.ts +5 -0
- package/types/features/permissions/presentation/use-permission-catalog.d.ts.map +1 -0
- package/types/features/permissions/presentation/use-permission-mutations.d.ts +6 -0
- package/types/features/permissions/presentation/use-permission-mutations.d.ts.map +1 -0
- package/types/features/permissions/presentation/use-permission-set-actions.d.ts +27 -0
- package/types/features/permissions/presentation/use-permission-set-actions.d.ts.map +1 -0
- package/types/features/permissions/presentation/use-permissions-module.d.ts +4 -0
- package/types/features/permissions/presentation/use-permissions-module.d.ts.map +1 -0
- package/types/features/permissions/presentation/use-permissions-state.d.ts +35 -0
- package/types/features/permissions/presentation/use-permissions-state.d.ts.map +1 -0
- package/types/features/schedule/application/index.d.ts +10 -0
- package/types/features/schedule/application/index.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/create-block.d.ts +15 -0
- package/types/features/schedule/application/use-cases/create-block.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/delete-block.d.ts +15 -0
- package/types/features/schedule/application/use-cases/delete-block.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/get-availability.d.ts +15 -0
- package/types/features/schedule/application/use-cases/get-availability.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/get-effective-availability.d.ts +18 -0
- package/types/features/schedule/application/use-cases/get-effective-availability.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/get-preferences.d.ts +15 -0
- package/types/features/schedule/application/use-cases/get-preferences.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/index.d.ts +9 -0
- package/types/features/schedule/application/use-cases/index.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/list-schedule-blocks.d.ts +15 -0
- package/types/features/schedule/application/use-cases/list-schedule-blocks.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/save-availability.d.ts +15 -0
- package/types/features/schedule/application/use-cases/save-availability.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/save-preferences.d.ts +15 -0
- package/types/features/schedule/application/use-cases/save-preferences.d.ts.map +1 -0
- package/types/features/schedule/application/use-cases/update-block.d.ts +19 -0
- package/types/features/schedule/application/use-cases/update-block.d.ts.map +1 -0
- package/types/features/schedule/domain/datetime.d.ts +16 -0
- package/types/features/schedule/domain/datetime.d.ts.map +1 -0
- package/types/features/schedule/domain/day-availability.d.ts +9 -0
- package/types/features/schedule/domain/day-availability.d.ts.map +1 -0
- package/types/features/schedule/domain/effective-availability.d.ts +34 -0
- package/types/features/schedule/domain/effective-availability.d.ts.map +1 -0
- package/types/features/schedule/domain/errors/schedule-errors.d.ts +25 -0
- package/types/features/schedule/domain/errors/schedule-errors.d.ts.map +1 -0
- package/types/features/schedule/domain/index.d.ts +15 -0
- package/types/features/schedule/domain/index.d.ts.map +1 -0
- package/types/features/schedule/domain/ports/calendar-sink.d.ts +16 -0
- package/types/features/schedule/domain/ports/calendar-sink.d.ts.map +1 -0
- package/types/features/schedule/domain/ports/schedule-gateway.d.ts +20 -0
- package/types/features/schedule/domain/ports/schedule-gateway.d.ts.map +1 -0
- package/types/features/schedule/domain/recurrence-calc.d.ts +13 -0
- package/types/features/schedule/domain/recurrence-calc.d.ts.map +1 -0
- package/types/features/schedule/domain/recurrence.d.ts +65 -0
- package/types/features/schedule/domain/recurrence.d.ts.map +1 -0
- package/types/features/schedule/domain/schedule-block.d.ts +53 -0
- package/types/features/schedule/domain/schedule-block.d.ts.map +1 -0
- package/types/features/schedule/domain/schedule-preferences.d.ts +18 -0
- package/types/features/schedule/domain/schedule-preferences.d.ts.map +1 -0
- package/types/features/schedule/domain/schedule-status.d.ts +12 -0
- package/types/features/schedule/domain/schedule-status.d.ts.map +1 -0
- package/types/features/schedule/domain/schedule-summary.d.ts +13 -0
- package/types/features/schedule/domain/schedule-summary.d.ts.map +1 -0
- package/types/features/schedule/domain/schedule-week.d.ts +30 -0
- package/types/features/schedule/domain/schedule-week.d.ts.map +1 -0
- package/types/features/schedule/domain/time-range.d.ts +3 -0
- package/types/features/schedule/domain/time-range.d.ts.map +1 -0
- package/types/features/schedule/domain/weekday.d.ts +8 -0
- package/types/features/schedule/domain/weekday.d.ts.map +1 -0
- package/types/features/schedule/index.d.ts +8 -0
- package/types/features/schedule/index.d.ts.map +1 -0
- package/types/features/schedule/infrastructure/dto/schedule-dtos.d.ts +765 -0
- package/types/features/schedule/infrastructure/dto/schedule-dtos.d.ts.map +1 -0
- package/types/features/schedule/infrastructure/http-schedule-gateway.d.ts +37 -0
- package/types/features/schedule/infrastructure/http-schedule-gateway.d.ts.map +1 -0
- package/types/features/schedule/infrastructure/http-schedule-routes.d.ts +18 -0
- package/types/features/schedule/infrastructure/http-schedule-routes.d.ts.map +1 -0
- package/types/features/schedule/infrastructure/index.d.ts +4 -0
- package/types/features/schedule/infrastructure/index.d.ts.map +1 -0
- package/types/features/schedule/infrastructure/mock-schedule-gateway.d.ts +27 -0
- package/types/features/schedule/infrastructure/mock-schedule-gateway.d.ts.map +1 -0
- package/types/features/schedule/infrastructure/schedule-gateway-errors.d.ts +11 -0
- package/types/features/schedule/infrastructure/schedule-gateway-errors.d.ts.map +1 -0
- package/types/features/schedule/infrastructure/schedule-mappers.d.ts +23 -0
- package/types/features/schedule/infrastructure/schedule-mappers.d.ts.map +1 -0
- package/types/features/schedule/infrastructure/schedule-seed.d.ts +22 -0
- package/types/features/schedule/infrastructure/schedule-seed.d.ts.map +1 -0
- package/types/features/schedule/presentation/AgendaList.d.ts +9 -0
- package/types/features/schedule/presentation/AgendaList.d.ts.map +1 -0
- package/types/features/schedule/presentation/BlockEditor.d.ts +11 -0
- package/types/features/schedule/presentation/BlockEditor.d.ts.map +1 -0
- package/types/features/schedule/presentation/BlockFields.d.ts +9 -0
- package/types/features/schedule/presentation/BlockFields.d.ts.map +1 -0
- package/types/features/schedule/presentation/BookingPrefFields.d.ts +10 -0
- package/types/features/schedule/presentation/BookingPrefFields.d.ts.map +1 -0
- package/types/features/schedule/presentation/CalendarChips.d.ts +15 -0
- package/types/features/schedule/presentation/CalendarChips.d.ts.map +1 -0
- package/types/features/schedule/presentation/CalendarGridLayers.d.ts +23 -0
- package/types/features/schedule/presentation/CalendarGridLayers.d.ts.map +1 -0
- package/types/features/schedule/presentation/CustomTimesSection.d.ts +13 -0
- package/types/features/schedule/presentation/CustomTimesSection.d.ts.map +1 -0
- package/types/features/schedule/presentation/DayColumn.d.ts +24 -0
- package/types/features/schedule/presentation/DayColumn.d.ts.map +1 -0
- package/types/features/schedule/presentation/HoursForm.d.ts +10 -0
- package/types/features/schedule/presentation/HoursForm.d.ts.map +1 -0
- package/types/features/schedule/presentation/MonthCalendar.d.ts +12 -0
- package/types/features/schedule/presentation/MonthCalendar.d.ts.map +1 -0
- package/types/features/schedule/presentation/RecurrenceBuilder.d.ts +11 -0
- package/types/features/schedule/presentation/RecurrenceBuilder.d.ts.map +1 -0
- package/types/features/schedule/presentation/ScheduleBody.d.ts +31 -0
- package/types/features/schedule/presentation/ScheduleBody.d.ts.map +1 -0
- package/types/features/schedule/presentation/ScheduleModuleProvider.d.ts +9 -0
- package/types/features/schedule/presentation/ScheduleModuleProvider.d.ts.map +1 -0
- package/types/features/schedule/presentation/SchedulePage.d.ts +4 -0
- package/types/features/schedule/presentation/SchedulePage.d.ts.map +1 -0
- package/types/features/schedule/presentation/ScheduleSidebar.d.ts +14 -0
- package/types/features/schedule/presentation/ScheduleSidebar.d.ts.map +1 -0
- package/types/features/schedule/presentation/TimezoneCombobox.d.ts +10 -0
- package/types/features/schedule/presentation/TimezoneCombobox.d.ts.map +1 -0
- package/types/features/schedule/presentation/UpcomingOccurrences.d.ts +9 -0
- package/types/features/schedule/presentation/UpcomingOccurrences.d.ts.map +1 -0
- package/types/features/schedule/presentation/WeekCalendar.d.ts +24 -0
- package/types/features/schedule/presentation/WeekCalendar.d.ts.map +1 -0
- package/types/features/schedule/presentation/WorkingHoursEditor.d.ts +9 -0
- package/types/features/schedule/presentation/WorkingHoursEditor.d.ts.map +1 -0
- package/types/features/schedule/presentation/block-draft.d.ts +53 -0
- package/types/features/schedule/presentation/block-draft.d.ts.map +1 -0
- package/types/features/schedule/presentation/conflict-resolution.d.ts +44 -0
- package/types/features/schedule/presentation/conflict-resolution.d.ts.map +1 -0
- package/types/features/schedule/presentation/drag-slot.d.ts +16 -0
- package/types/features/schedule/presentation/drag-slot.d.ts.map +1 -0
- package/types/features/schedule/presentation/index.d.ts +5 -0
- package/types/features/schedule/presentation/index.d.ts.map +1 -0
- package/types/features/schedule/presentation/schedule-dates.d.ts +36 -0
- package/types/features/schedule/presentation/schedule-dates.d.ts.map +1 -0
- package/types/features/schedule/presentation/schedule-grid.d.ts +67 -0
- package/types/features/schedule/presentation/schedule-grid.d.ts.map +1 -0
- package/types/features/schedule/presentation/schedule-module-context.d.ts +4 -0
- package/types/features/schedule/presentation/schedule-module-context.d.ts.map +1 -0
- package/types/features/schedule/presentation/use-conflict-resolver.d.ts +13 -0
- package/types/features/schedule/presentation/use-conflict-resolver.d.ts.map +1 -0
- package/types/features/schedule/presentation/use-hours-form.d.ts +36 -0
- package/types/features/schedule/presentation/use-hours-form.d.ts.map +1 -0
- package/types/features/schedule/presentation/use-schedule-controller.d.ts +28 -0
- package/types/features/schedule/presentation/use-schedule-controller.d.ts.map +1 -0
- package/types/features/schedule/presentation/use-schedule-data.d.ts +24 -0
- package/types/features/schedule/presentation/use-schedule-data.d.ts.map +1 -0
- package/types/features/schedule/presentation/use-schedule-module.d.ts +4 -0
- package/types/features/schedule/presentation/use-schedule-module.d.ts.map +1 -0
- package/types/features/schedule/presentation/use-schedule.d.ts +18 -0
- package/types/features/schedule/presentation/use-schedule.d.ts.map +1 -0
- package/types/features/schedule/presentation/use-viewer-timezone.d.ts +10 -0
- package/types/features/schedule/presentation/use-viewer-timezone.d.ts.map +1 -0
- package/types/features/schedule/presentation/working-hours-tz.d.ts +17 -0
- package/types/features/schedule/presentation/working-hours-tz.d.ts.map +1 -0
- package/types/features/schedule/schedule-module.d.ts +28 -0
- package/types/features/schedule/schedule-module.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/delete-feed-category-item.d.ts +9 -0
- package/types/features/settings/application/feed-pref/delete-feed-category-item.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/delete-feed-template.d.ts +9 -0
- package/types/features/settings/application/feed-pref/delete-feed-template.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/get-content-prefs.d.ts +13 -0
- package/types/features/settings/application/feed-pref/get-content-prefs.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/list-external-feed-category-items.d.ts +9 -0
- package/types/features/settings/application/feed-pref/list-external-feed-category-items.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/list-feed-categories.d.ts +9 -0
- package/types/features/settings/application/feed-pref/list-feed-categories.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/list-feed-category-items.d.ts +9 -0
- package/types/features/settings/application/feed-pref/list-feed-category-items.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/list-feed-templates.d.ts +9 -0
- package/types/features/settings/application/feed-pref/list-feed-templates.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/save-content-prefs.d.ts +9 -0
- package/types/features/settings/application/feed-pref/save-content-prefs.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/save-feed-categories.d.ts +9 -0
- package/types/features/settings/application/feed-pref/save-feed-categories.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/save-feed-category-item.d.ts +9 -0
- package/types/features/settings/application/feed-pref/save-feed-category-item.d.ts.map +1 -0
- package/types/features/settings/application/feed-pref/save-feed-template.d.ts +9 -0
- package/types/features/settings/application/feed-pref/save-feed-template.d.ts.map +1 -0
- package/types/features/settings/application/group-category-use-cases.d.ts +23 -0
- package/types/features/settings/application/group-category-use-cases.d.ts.map +1 -0
- package/types/features/settings/application/index.d.ts +31 -0
- package/types/features/settings/application/index.d.ts.map +1 -0
- package/types/features/settings/application/org-settings-use-cases.d.ts +19 -0
- package/types/features/settings/application/org-settings-use-cases.d.ts.map +1 -0
- package/types/features/settings/application/promotions/delete-comm-template.d.ts +9 -0
- package/types/features/settings/application/promotions/delete-comm-template.d.ts.map +1 -0
- package/types/features/settings/application/promotions/delete-promotion.d.ts +9 -0
- package/types/features/settings/application/promotions/delete-promotion.d.ts.map +1 -0
- package/types/features/settings/application/promotions/list-comm-templates.d.ts +9 -0
- package/types/features/settings/application/promotions/list-comm-templates.d.ts.map +1 -0
- package/types/features/settings/application/promotions/list-promo-categories.d.ts +9 -0
- package/types/features/settings/application/promotions/list-promo-categories.d.ts.map +1 -0
- package/types/features/settings/application/promotions/list-promotions.d.ts +9 -0
- package/types/features/settings/application/promotions/list-promotions.d.ts.map +1 -0
- package/types/features/settings/application/promotions/promotions-use-case-deps.d.ts +7 -0
- package/types/features/settings/application/promotions/promotions-use-case-deps.d.ts.map +1 -0
- package/types/features/settings/application/promotions/save-comm-template.d.ts +9 -0
- package/types/features/settings/application/promotions/save-comm-template.d.ts.map +1 -0
- package/types/features/settings/application/promotions/save-promo-categories.d.ts +9 -0
- package/types/features/settings/application/promotions/save-promo-categories.d.ts.map +1 -0
- package/types/features/settings/application/promotions/save-promotion.d.ts +9 -0
- package/types/features/settings/application/promotions/save-promotion.d.ts.map +1 -0
- package/types/features/settings/application/provision-group.d.ts +14 -0
- package/types/features/settings/application/provision-group.d.ts.map +1 -0
- package/types/features/settings/application/usage-use-cases.d.ts +13 -0
- package/types/features/settings/application/usage-use-cases.d.ts.map +1 -0
- package/types/features/settings/application/webhook-registry/delete-webhook-endpoint.d.ts +9 -0
- package/types/features/settings/application/webhook-registry/delete-webhook-endpoint.d.ts.map +1 -0
- package/types/features/settings/application/webhook-registry/list-webhook-endpoints.d.ts +9 -0
- package/types/features/settings/application/webhook-registry/list-webhook-endpoints.d.ts.map +1 -0
- package/types/features/settings/application/webhook-registry/save-webhook-endpoint.d.ts +9 -0
- package/types/features/settings/application/webhook-registry/save-webhook-endpoint.d.ts.map +1 -0
- package/types/features/settings/application/webhook-registry/send-test-event.d.ts +9 -0
- package/types/features/settings/application/webhook-registry/send-test-event.d.ts.map +1 -0
- package/types/features/settings/application/webhook-registry/webhook-use-case-deps.d.ts +5 -0
- package/types/features/settings/application/webhook-registry/webhook-use-case-deps.d.ts.map +1 -0
- package/types/features/settings/application/webhook-use-cases.d.ts +25 -0
- package/types/features/settings/application/webhook-use-cases.d.ts.map +1 -0
- package/types/features/settings/domain/array-move.d.ts +5 -0
- package/types/features/settings/domain/array-move.d.ts.map +1 -0
- package/types/features/settings/domain/errors/settings-errors.d.ts +20 -0
- package/types/features/settings/domain/errors/settings-errors.d.ts.map +1 -0
- package/types/features/settings/domain/feed-category-item.d.ts +7 -0
- package/types/features/settings/domain/feed-category-item.d.ts.map +1 -0
- package/types/features/settings/domain/feed-pref.d.ts +60 -0
- package/types/features/settings/domain/feed-pref.d.ts.map +1 -0
- package/types/features/settings/domain/feed-template.d.ts +14 -0
- package/types/features/settings/domain/feed-template.d.ts.map +1 -0
- package/types/features/settings/domain/group-category.d.ts +39 -0
- package/types/features/settings/domain/group-category.d.ts.map +1 -0
- package/types/features/settings/domain/index.d.ts +23 -0
- package/types/features/settings/domain/index.d.ts.map +1 -0
- package/types/features/settings/domain/org-settings.d.ts +69 -0
- package/types/features/settings/domain/org-settings.d.ts.map +1 -0
- package/types/features/settings/domain/ports/feed-preferences-gateway.d.ts +19 -0
- package/types/features/settings/domain/ports/feed-preferences-gateway.d.ts.map +1 -0
- package/types/features/settings/domain/ports/group-categories-gateway.d.ts +10 -0
- package/types/features/settings/domain/ports/group-categories-gateway.d.ts.map +1 -0
- package/types/features/settings/domain/ports/group-provisioning-gateway.d.ts +34 -0
- package/types/features/settings/domain/ports/group-provisioning-gateway.d.ts.map +1 -0
- package/types/features/settings/domain/ports/org-settings-gateway.d.ts +13 -0
- package/types/features/settings/domain/ports/org-settings-gateway.d.ts.map +1 -0
- package/types/features/settings/domain/ports/promotions-gateway.d.ts +14 -0
- package/types/features/settings/domain/ports/promotions-gateway.d.ts.map +1 -0
- package/types/features/settings/domain/ports/settings-gateway.d.ts +14 -0
- package/types/features/settings/domain/ports/settings-gateway.d.ts.map +1 -0
- package/types/features/settings/domain/ports/usage-gateway.d.ts +9 -0
- package/types/features/settings/domain/ports/usage-gateway.d.ts.map +1 -0
- package/types/features/settings/domain/ports/webhook-gateway.d.ts +17 -0
- package/types/features/settings/domain/ports/webhook-gateway.d.ts.map +1 -0
- package/types/features/settings/domain/promo-fields.d.ts +65 -0
- package/types/features/settings/domain/promo-fields.d.ts.map +1 -0
- package/types/features/settings/domain/promo-samples.d.ts +4 -0
- package/types/features/settings/domain/promo-samples.d.ts.map +1 -0
- package/types/features/settings/domain/promotion.d.ts +73 -0
- package/types/features/settings/domain/promotion.d.ts.map +1 -0
- package/types/features/settings/domain/usage.d.ts +48 -0
- package/types/features/settings/domain/usage.d.ts.map +1 -0
- package/types/features/settings/domain/value-objects/setting-name.d.ts +17 -0
- package/types/features/settings/domain/value-objects/setting-name.d.ts.map +1 -0
- package/types/features/settings/domain/webhook-registry.d.ts +53 -0
- package/types/features/settings/domain/webhook-registry.d.ts.map +1 -0
- package/types/features/settings/domain/webhook.d.ts +59 -0
- package/types/features/settings/domain/webhook.d.ts.map +1 -0
- package/types/features/settings/index.d.ts +14 -0
- package/types/features/settings/index.d.ts.map +1 -0
- package/types/features/settings/infrastructure/dto/feed-pref/feed-category-item-dtos.d.ts +29 -0
- package/types/features/settings/infrastructure/dto/feed-pref/feed-category-item-dtos.d.ts.map +1 -0
- package/types/features/settings/infrastructure/dto/feed-pref/feed-pref-dtos.d.ts +64 -0
- package/types/features/settings/infrastructure/dto/feed-pref/feed-pref-dtos.d.ts.map +1 -0
- package/types/features/settings/infrastructure/dto/feed-pref/feed-template-dtos.d.ts +138 -0
- package/types/features/settings/infrastructure/dto/feed-pref/feed-template-dtos.d.ts.map +1 -0
- package/types/features/settings/infrastructure/dto/group-category-dtos.d.ts +278 -0
- package/types/features/settings/infrastructure/dto/group-category-dtos.d.ts.map +1 -0
- package/types/features/settings/infrastructure/dto/group-provisioning-dtos.d.ts +16 -0
- package/types/features/settings/infrastructure/dto/group-provisioning-dtos.d.ts.map +1 -0
- package/types/features/settings/infrastructure/dto/org-settings/org-settings-dtos.d.ts +747 -0
- package/types/features/settings/infrastructure/dto/org-settings/org-settings-dtos.d.ts.map +1 -0
- package/types/features/settings/infrastructure/dto/promotions/promotion-dtos.d.ts +347 -0
- package/types/features/settings/infrastructure/dto/promotions/promotion-dtos.d.ts.map +1 -0
- package/types/features/settings/infrastructure/dto/settings/settings-dtos.d.ts +805 -0
- package/types/features/settings/infrastructure/dto/settings/settings-dtos.d.ts.map +1 -0
- package/types/features/settings/infrastructure/http-feed-preferences-gateway.d.ts +31 -0
- package/types/features/settings/infrastructure/http-feed-preferences-gateway.d.ts.map +1 -0
- package/types/features/settings/infrastructure/http-group-categories-gateway.d.ts +18 -0
- package/types/features/settings/infrastructure/http-group-categories-gateway.d.ts.map +1 -0
- package/types/features/settings/infrastructure/http-group-provisioning-gateway.d.ts +16 -0
- package/types/features/settings/infrastructure/http-group-provisioning-gateway.d.ts.map +1 -0
- package/types/features/settings/infrastructure/http-org-settings-gateway.d.ts +24 -0
- package/types/features/settings/infrastructure/http-org-settings-gateway.d.ts.map +1 -0
- package/types/features/settings/infrastructure/http-promotions-gateway.d.ts +22 -0
- package/types/features/settings/infrastructure/http-promotions-gateway.d.ts.map +1 -0
- package/types/features/settings/infrastructure/http-usage-gateway.d.ts +23 -0
- package/types/features/settings/infrastructure/http-usage-gateway.d.ts.map +1 -0
- package/types/features/settings/infrastructure/http-webhook-gateway.d.ts +25 -0
- package/types/features/settings/infrastructure/http-webhook-gateway.d.ts.map +1 -0
- package/types/features/settings/infrastructure/index.d.ts +10 -0
- package/types/features/settings/infrastructure/index.d.ts.map +1 -0
- package/types/features/settings/infrastructure/mappers/feed-category-item-mappers.d.ts +4 -0
- package/types/features/settings/infrastructure/mappers/feed-category-item-mappers.d.ts.map +1 -0
- package/types/features/settings/infrastructure/mappers/feed-pref-mappers.d.ts +5 -0
- package/types/features/settings/infrastructure/mappers/feed-pref-mappers.d.ts.map +1 -0
- package/types/features/settings/infrastructure/mappers/feed-template-mappers.d.ts +4 -0
- package/types/features/settings/infrastructure/mappers/feed-template-mappers.d.ts.map +1 -0
- package/types/features/settings/infrastructure/mappers/group-category-mappers.d.ts +25 -0
- package/types/features/settings/infrastructure/mappers/group-category-mappers.d.ts.map +1 -0
- package/types/features/settings/infrastructure/mappers/org-settings-mappers.d.ts +15 -0
- package/types/features/settings/infrastructure/mappers/org-settings-mappers.d.ts.map +1 -0
- package/types/features/settings/infrastructure/mappers/promotion-mappers.d.ts +6 -0
- package/types/features/settings/infrastructure/mappers/promotion-mappers.d.ts.map +1 -0
- package/types/features/settings/infrastructure/mappers/settings-mappers.d.ts +15 -0
- package/types/features/settings/infrastructure/mappers/settings-mappers.d.ts.map +1 -0
- package/types/features/settings/infrastructure/mock-settings-gateway.d.ts +42 -0
- package/types/features/settings/infrastructure/mock-settings-gateway.d.ts.map +1 -0
- package/types/features/settings/infrastructure/settings-gateway-errors.d.ts +11 -0
- package/types/features/settings/infrastructure/settings-gateway-errors.d.ts.map +1 -0
- package/types/features/settings/infrastructure/settings-seed.d.ts +23 -0
- package/types/features/settings/infrastructure/settings-seed.d.ts.map +1 -0
- package/types/features/settings/presentation/AddTopicsModal.d.ts +16 -0
- package/types/features/settings/presentation/AddTopicsModal.d.ts.map +1 -0
- package/types/features/settings/presentation/CampaignRow.d.ts +10 -0
- package/types/features/settings/presentation/CampaignRow.d.ts.map +1 -0
- package/types/features/settings/presentation/CampaignsPanel.d.ts +15 -0
- package/types/features/settings/presentation/CampaignsPanel.d.ts.map +1 -0
- package/types/features/settings/presentation/CategoryCampaigns.d.ts +9 -0
- package/types/features/settings/presentation/CategoryCampaigns.d.ts.map +1 -0
- package/types/features/settings/presentation/CategoryEditor.d.ts +7 -0
- package/types/features/settings/presentation/CategoryEditor.d.ts.map +1 -0
- package/types/features/settings/presentation/CategoryFields.d.ts +15 -0
- package/types/features/settings/presentation/CategoryFields.d.ts.map +1 -0
- package/types/features/settings/presentation/ConnectedFeed.d.ts +26 -0
- package/types/features/settings/presentation/ConnectedFeed.d.ts.map +1 -0
- package/types/features/settings/presentation/DeptSections.d.ts +11 -0
- package/types/features/settings/presentation/DeptSections.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedCategoriesTab.d.ts +3 -0
- package/types/features/settings/presentation/FeedCategoriesTab.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedCategoryItems.d.ts +7 -0
- package/types/features/settings/presentation/FeedCategoryItems.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedItemModal.d.ts +10 -0
- package/types/features/settings/presentation/FeedItemModal.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedItemRow.d.ts +9 -0
- package/types/features/settings/presentation/FeedItemRow.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedItemsPanel.d.ts +14 -0
- package/types/features/settings/presentation/FeedItemsPanel.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedPrefsEditor.d.ts +12 -0
- package/types/features/settings/presentation/FeedPrefsEditor.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedPrefsFooter.d.ts +7 -0
- package/types/features/settings/presentation/FeedPrefsFooter.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedSettingsPage.d.ts +4 -0
- package/types/features/settings/presentation/FeedSettingsPage.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedTemplateEditorViews.d.ts +11 -0
- package/types/features/settings/presentation/FeedTemplateEditorViews.d.ts.map +1 -0
- package/types/features/settings/presentation/FeedTemplatesTab.d.ts +3 -0
- package/types/features/settings/presentation/FeedTemplatesTab.d.ts.map +1 -0
- package/types/features/settings/presentation/GroupCategoriesPage.d.ts +4 -0
- package/types/features/settings/presentation/GroupCategoriesPage.d.ts.map +1 -0
- package/types/features/settings/presentation/IntegrationGuide.d.ts +15 -0
- package/types/features/settings/presentation/IntegrationGuide.d.ts.map +1 -0
- package/types/features/settings/presentation/OrgCard.d.ts +12 -0
- package/types/features/settings/presentation/OrgCard.d.ts.map +1 -0
- package/types/features/settings/presentation/OrgDetailsCard.d.ts +9 -0
- package/types/features/settings/presentation/OrgDetailsCard.d.ts.map +1 -0
- package/types/features/settings/presentation/OutboundDynamicFields.d.ts +10 -0
- package/types/features/settings/presentation/OutboundDynamicFields.d.ts.map +1 -0
- package/types/features/settings/presentation/OutboundIntegrationGuide.d.ts +9 -0
- package/types/features/settings/presentation/OutboundIntegrationGuide.d.ts.map +1 -0
- package/types/features/settings/presentation/PreferencesTab.d.ts +3 -0
- package/types/features/settings/presentation/PreferencesTab.d.ts.map +1 -0
- package/types/features/settings/presentation/PromoCampaignModal.d.ts +14 -0
- package/types/features/settings/presentation/PromoCampaignModal.d.ts.map +1 -0
- package/types/features/settings/presentation/PromoCategoryCard.d.ts +16 -0
- package/types/features/settings/presentation/PromoCategoryCard.d.ts.map +1 -0
- package/types/features/settings/presentation/PromoCategoryModal.d.ts +9 -0
- package/types/features/settings/presentation/PromoCategoryModal.d.ts.map +1 -0
- package/types/features/settings/presentation/PromoCategoryRow.d.ts +31 -0
- package/types/features/settings/presentation/PromoCategoryRow.d.ts.map +1 -0
- package/types/features/settings/presentation/PromoTemplatesTab.d.ts +3 -0
- package/types/features/settings/presentation/PromoTemplatesTab.d.ts.map +1 -0
- package/types/features/settings/presentation/PromotionsPage.d.ts +4 -0
- package/types/features/settings/presentation/PromotionsPage.d.ts.map +1 -0
- package/types/features/settings/presentation/RegistryDetail.d.ts +7 -0
- package/types/features/settings/presentation/RegistryDetail.d.ts.map +1 -0
- package/types/features/settings/presentation/SettingsModuleProvider.d.ts +9 -0
- package/types/features/settings/presentation/SettingsModuleProvider.d.ts.map +1 -0
- package/types/features/settings/presentation/SettingsSkeleton.d.ts +3 -0
- package/types/features/settings/presentation/SettingsSkeleton.d.ts.map +1 -0
- package/types/features/settings/presentation/SimulateFeedModal.d.ts +12 -0
- package/types/features/settings/presentation/SimulateFeedModal.d.ts.map +1 -0
- package/types/features/settings/presentation/TeamSettingsPage.d.ts +4 -0
- package/types/features/settings/presentation/TeamSettingsPage.d.ts.map +1 -0
- package/types/features/settings/presentation/TemplateEditorViews.d.ts +11 -0
- package/types/features/settings/presentation/TemplateEditorViews.d.ts.map +1 -0
- package/types/features/settings/presentation/TemplateFormModal.d.ts +9 -0
- package/types/features/settings/presentation/TemplateFormModal.d.ts.map +1 -0
- package/types/features/settings/presentation/TopicSections.d.ts +11 -0
- package/types/features/settings/presentation/TopicSections.d.ts.map +1 -0
- package/types/features/settings/presentation/UsagePage.d.ts +4 -0
- package/types/features/settings/presentation/UsagePage.d.ts.map +1 -0
- package/types/features/settings/presentation/WebhookRegistry.d.ts +4 -0
- package/types/features/settings/presentation/WebhookRegistry.d.ts.map +1 -0
- package/types/features/settings/presentation/WebhookTabs.d.ts +20 -0
- package/types/features/settings/presentation/WebhookTabs.d.ts.map +1 -0
- package/types/features/settings/presentation/WebhooksPage.d.ts +4 -0
- package/types/features/settings/presentation/WebhooksPage.d.ts.map +1 -0
- package/types/features/settings/presentation/WorkHoursCard.d.ts +11 -0
- package/types/features/settings/presentation/WorkHoursCard.d.ts.map +1 -0
- package/types/features/settings/presentation/WorkHoursRow.d.ts +10 -0
- package/types/features/settings/presentation/WorkHoursRow.d.ts.map +1 -0
- package/types/features/settings/presentation/WorkHoursTabs.d.ts +11 -0
- package/types/features/settings/presentation/WorkHoursTabs.d.ts.map +1 -0
- package/types/features/settings/presentation/category-editor-parts.d.ts +12 -0
- package/types/features/settings/presentation/category-editor-parts.d.ts.map +1 -0
- package/types/features/settings/presentation/category-fields.d.ts +12 -0
- package/types/features/settings/presentation/category-fields.d.ts.map +1 -0
- package/types/features/settings/presentation/category-preview.d.ts +13 -0
- package/types/features/settings/presentation/category-preview.d.ts.map +1 -0
- package/types/features/settings/presentation/category-samples.d.ts +3 -0
- package/types/features/settings/presentation/category-samples.d.ts.map +1 -0
- package/types/features/settings/presentation/feed-category-utils.d.ts +3 -0
- package/types/features/settings/presentation/feed-category-utils.d.ts.map +1 -0
- package/types/features/settings/presentation/index.d.ts +5 -0
- package/types/features/settings/presentation/index.d.ts.map +1 -0
- package/types/features/settings/presentation/integration-guide.d.ts +24 -0
- package/types/features/settings/presentation/integration-guide.d.ts.map +1 -0
- package/types/features/settings/presentation/pref-chips.d.ts +9 -0
- package/types/features/settings/presentation/pref-chips.d.ts.map +1 -0
- package/types/features/settings/presentation/promo-field-palette.d.ts +12 -0
- package/types/features/settings/presentation/promo-field-palette.d.ts.map +1 -0
- package/types/features/settings/presentation/promo-token-line.d.ts +17 -0
- package/types/features/settings/presentation/promo-token-line.d.ts.map +1 -0
- package/types/features/settings/presentation/settings-module-context.d.ts +4 -0
- package/types/features/settings/presentation/settings-module-context.d.ts.map +1 -0
- package/types/features/settings/presentation/use-categories-editor.d.ts +19 -0
- package/types/features/settings/presentation/use-categories-editor.d.ts.map +1 -0
- package/types/features/settings/presentation/use-category-feed.d.ts +19 -0
- package/types/features/settings/presentation/use-category-feed.d.ts.map +1 -0
- package/types/features/settings/presentation/use-feed-prefs-editor.d.ts +19 -0
- package/types/features/settings/presentation/use-feed-prefs-editor.d.ts.map +1 -0
- package/types/features/settings/presentation/use-promo-category-feed.d.ts +17 -0
- package/types/features/settings/presentation/use-promo-category-feed.d.ts.map +1 -0
- package/types/features/settings/presentation/use-promotions-settings.d.ts +11 -0
- package/types/features/settings/presentation/use-promotions-settings.d.ts.map +1 -0
- package/types/features/settings/presentation/use-provision-group.d.ts +8 -0
- package/types/features/settings/presentation/use-provision-group.d.ts.map +1 -0
- package/types/features/settings/presentation/use-settings-module.d.ts +4 -0
- package/types/features/settings/presentation/use-settings-module.d.ts.map +1 -0
- package/types/features/settings/presentation/use-settings.d.ts +23 -0
- package/types/features/settings/presentation/use-settings.d.ts.map +1 -0
- package/types/features/settings/presentation/use-webhooks-settings.d.ts +11 -0
- package/types/features/settings/presentation/use-webhooks-settings.d.ts.map +1 -0
- package/types/features/settings/presentation/webhook-registry-parts.d.ts +24 -0
- package/types/features/settings/presentation/webhook-registry-parts.d.ts.map +1 -0
- package/types/features/settings/presentation/webhook-table.d.ts +14 -0
- package/types/features/settings/presentation/webhook-table.d.ts.map +1 -0
- package/types/features/settings/settings-module.d.ts +46 -0
- package/types/features/settings/settings-module.d.ts.map +1 -0
- package/types/features/user-access/application/index.d.ts +3 -0
- package/types/features/user-access/application/index.d.ts.map +1 -0
- package/types/features/user-access/application/use-cases/get-user-access.d.ts +15 -0
- package/types/features/user-access/application/use-cases/get-user-access.d.ts.map +1 -0
- package/types/features/user-access/application/use-cases/save-user-access.d.ts +15 -0
- package/types/features/user-access/application/use-cases/save-user-access.d.ts.map +1 -0
- package/types/features/user-access/domain/index.d.ts +3 -0
- package/types/features/user-access/domain/index.d.ts.map +1 -0
- package/types/features/user-access/domain/user-access-rules.d.ts +31 -0
- package/types/features/user-access/domain/user-access-rules.d.ts.map +1 -0
- package/types/features/user-access/domain/user-access.d.ts +62 -0
- package/types/features/user-access/domain/user-access.d.ts.map +1 -0
- package/types/features/user-access/index.d.ts +8 -0
- package/types/features/user-access/index.d.ts.map +1 -0
- package/types/features/user-access/infrastructure/http-user-access-gateway.d.ts +21 -0
- package/types/features/user-access/infrastructure/http-user-access-gateway.d.ts.map +1 -0
- package/types/features/user-access/infrastructure/index.d.ts +2 -0
- package/types/features/user-access/infrastructure/index.d.ts.map +1 -0
- package/types/features/user-access/presentation/ManageAccessModal.d.ts +13 -0
- package/types/features/user-access/presentation/ManageAccessModal.d.ts.map +1 -0
- package/types/features/user-access/presentation/UserAccessEditor.d.ts +17 -0
- package/types/features/user-access/presentation/UserAccessEditor.d.ts.map +1 -0
- package/types/features/user-access/presentation/UserAccessModuleProvider.d.ts +9 -0
- package/types/features/user-access/presentation/UserAccessModuleProvider.d.ts.map +1 -0
- package/types/features/user-access/presentation/UserAccessRow.d.ts +20 -0
- package/types/features/user-access/presentation/UserAccessRow.d.ts.map +1 -0
- package/types/features/user-access/presentation/index.d.ts +6 -0
- package/types/features/user-access/presentation/index.d.ts.map +1 -0
- package/types/features/user-access/presentation/use-save-user-access.d.ts +5 -0
- package/types/features/user-access/presentation/use-save-user-access.d.ts.map +1 -0
- package/types/features/user-access/presentation/use-user-access-module.d.ts +4 -0
- package/types/features/user-access/presentation/use-user-access-module.d.ts.map +1 -0
- package/types/features/user-access/presentation/use-user-access.d.ts +6 -0
- package/types/features/user-access/presentation/use-user-access.d.ts.map +1 -0
- package/types/features/user-access/presentation/user-access-module-context.d.ts +4 -0
- package/types/features/user-access/presentation/user-access-module-context.d.ts.map +1 -0
- package/types/features/user-access/user-access-module.d.ts +14 -0
- package/types/features/user-access/user-access-module.d.ts.map +1 -0
- package/types/features/users/application/index.d.ts +3 -0
- package/types/features/users/application/index.d.ts.map +1 -0
- package/types/features/users/application/use-cases/list-directory-facets.d.ts +21 -0
- package/types/features/users/application/use-cases/list-directory-facets.d.ts.map +1 -0
- package/types/features/users/application/use-cases/list-users.d.ts +15 -0
- package/types/features/users/application/use-cases/list-users.d.ts.map +1 -0
- package/types/features/users/domain/entities/user.d.ts +45 -0
- package/types/features/users/domain/entities/user.d.ts.map +1 -0
- package/types/features/users/domain/errors/user-errors.d.ts +10 -0
- package/types/features/users/domain/errors/user-errors.d.ts.map +1 -0
- package/types/features/users/domain/index.d.ts +4 -0
- package/types/features/users/domain/index.d.ts.map +1 -0
- package/types/features/users/domain/ports/user-gateway.d.ts +43 -0
- package/types/features/users/domain/ports/user-gateway.d.ts.map +1 -0
- package/types/features/users/index.d.ts +7 -0
- package/types/features/users/index.d.ts.map +1 -0
- package/types/features/users/infrastructure/dto/user-dtos.d.ts +139 -0
- package/types/features/users/infrastructure/dto/user-dtos.d.ts.map +1 -0
- package/types/features/users/infrastructure/http-user-gateway.d.ts +25 -0
- package/types/features/users/infrastructure/http-user-gateway.d.ts.map +1 -0
- package/types/features/users/infrastructure/http-user-routes.d.ts +22 -0
- package/types/features/users/infrastructure/http-user-routes.d.ts.map +1 -0
- package/types/features/users/infrastructure/index.d.ts +3 -0
- package/types/features/users/infrastructure/index.d.ts.map +1 -0
- package/types/features/users/infrastructure/mock-user-gateway.d.ts +15 -0
- package/types/features/users/infrastructure/mock-user-gateway.d.ts.map +1 -0
- package/types/features/users/infrastructure/user-gateway-errors.d.ts +8 -0
- package/types/features/users/infrastructure/user-gateway-errors.d.ts.map +1 -0
- package/types/features/users/infrastructure/user-mappers.d.ts +5 -0
- package/types/features/users/infrastructure/user-mappers.d.ts.map +1 -0
- package/types/features/users/presentation/PaginationControls.d.ts +11 -0
- package/types/features/users/presentation/PaginationControls.d.ts.map +1 -0
- package/types/features/users/presentation/UsersModuleProvider.d.ts +9 -0
- package/types/features/users/presentation/UsersModuleProvider.d.ts.map +1 -0
- package/types/features/users/presentation/UsersPage.d.ts +7 -0
- package/types/features/users/presentation/UsersPage.d.ts.map +1 -0
- package/types/features/users/presentation/UsersPageToolbar.d.ts +14 -0
- package/types/features/users/presentation/UsersPageToolbar.d.ts.map +1 -0
- package/types/features/users/presentation/filter-users.d.ts +18 -0
- package/types/features/users/presentation/filter-users.d.ts.map +1 -0
- package/types/features/users/presentation/index.d.ts +4 -0
- package/types/features/users/presentation/index.d.ts.map +1 -0
- package/types/features/users/presentation/use-debounced-value.d.ts +3 -0
- package/types/features/users/presentation/use-debounced-value.d.ts.map +1 -0
- package/types/features/users/presentation/use-users-module.d.ts +4 -0
- package/types/features/users/presentation/use-users-module.d.ts.map +1 -0
- package/types/features/users/presentation/use-users.d.ts +10 -0
- package/types/features/users/presentation/use-users.d.ts.map +1 -0
- package/types/features/users/presentation/users-module-context.d.ts +4 -0
- package/types/features/users/presentation/users-module-context.d.ts.map +1 -0
- package/types/features/users/users-module.d.ts +18 -0
- package/types/features/users/users-module.d.ts.map +1 -0
- package/types/main.d.ts +2 -0
- package/types/main.d.ts.map +1 -0
- package/types/sdk/CommsProvider.d.ts +14 -0
- package/types/sdk/CommsProvider.d.ts.map +1 -0
- package/types/sdk/SdkErrorBoundary.d.ts +28 -0
- package/types/sdk/SdkErrorBoundary.d.ts.map +1 -0
- package/types/sdk/SdkProviders.d.ts +21 -0
- package/types/sdk/SdkProviders.d.ts.map +1 -0
- package/types/sdk/elements/BaseUappElement.d.ts +11 -0
- package/types/sdk/elements/BaseUappElement.d.ts.map +1 -0
- package/types/sdk/elements/WidgetConfigNotice.d.ts +12 -0
- package/types/sdk/elements/WidgetConfigNotice.d.ts.map +1 -0
- package/types/sdk/elements/WidgetRoot.d.ts +18 -0
- package/types/sdk/elements/WidgetRoot.d.ts.map +1 -0
- package/types/sdk/elements/bookings-widget-routes.d.ts +13 -0
- package/types/sdk/elements/bookings-widget-routes.d.ts.map +1 -0
- package/types/sdk/elements/chat-widget-routes.d.ts +17 -0
- package/types/sdk/elements/chat-widget-routes.d.ts.map +1 -0
- package/types/sdk/elements/define-configured-widget.d.ts +8 -0
- package/types/sdk/elements/define-configured-widget.d.ts.map +1 -0
- package/types/sdk/elements/single-page-widget-routes.d.ts +17 -0
- package/types/sdk/elements/single-page-widget-routes.d.ts.map +1 -0
- package/types/sdk/elements/uapp-bookings.d.ts +3 -0
- package/types/sdk/elements/uapp-bookings.d.ts.map +1 -0
- package/types/sdk/elements/uapp-chat.d.ts +3 -0
- package/types/sdk/elements/uapp-chat.d.ts.map +1 -0
- package/types/sdk/elements/uapp-feed.d.ts +3 -0
- package/types/sdk/elements/uapp-feed.d.ts.map +1 -0
- package/types/sdk/elements/uapp-schedule.d.ts +3 -0
- package/types/sdk/elements/uapp-schedule.d.ts.map +1 -0
- package/types/sdk/elements/widget-config.d.ts +14 -0
- package/types/sdk/elements/widget-config.d.ts.map +1 -0
- package/types/sdk/index.d.ts +22 -0
- package/types/sdk/index.d.ts.map +1 -0
- package/types/sdk/runtime/auth/in-memory-key-value-storage.d.ts +18 -0
- package/types/sdk/runtime/auth/in-memory-key-value-storage.d.ts.map +1 -0
- package/types/sdk/runtime/auth/sdk-auth-module.d.ts +25 -0
- package/types/sdk/runtime/auth/sdk-auth-module.d.ts.map +1 -0
- package/types/sdk/runtime/auth/sdk-auth-protocol.d.ts +23 -0
- package/types/sdk/runtime/auth/sdk-auth-protocol.d.ts.map +1 -0
- package/types/sdk/runtime/auth/sdk-handshake-runner.d.ts +56 -0
- package/types/sdk/runtime/auth/sdk-handshake-runner.d.ts.map +1 -0
- package/types/sdk/runtime/auth/sdk-host-token-auth-gateway.d.ts +21 -0
- package/types/sdk/runtime/auth/sdk-host-token-auth-gateway.d.ts.map +1 -0
- package/types/sdk/runtime/auth/sdk-signed-auth-gateway.d.ts +44 -0
- package/types/sdk/runtime/auth/sdk-signed-auth-gateway.d.ts.map +1 -0
- package/types/sdk/runtime/auth/shared-handshake.d.ts +36 -0
- package/types/sdk/runtime/auth/shared-handshake.d.ts.map +1 -0
- package/types/sdk/runtime/module-scopes.d.ts +16 -0
- package/types/sdk/runtime/module-scopes.d.ts.map +1 -0
- package/types/sdk/runtime/sdk-composition-root.d.ts +44 -0
- package/types/sdk/runtime/sdk-composition-root.d.ts.map +1 -0
- package/types/sdk/runtime/sdk-module-access-gateway.d.ts +19 -0
- package/types/sdk/runtime/sdk-module-access-gateway.d.ts.map +1 -0
- package/types/sdk/runtime/sdk-module-access.d.ts +13 -0
- package/types/sdk/runtime/sdk-module-access.d.ts.map +1 -0
- package/types/sdk/runtime/sdk-runtime-registry.d.ts +64 -0
- package/types/sdk/runtime/sdk-runtime-registry.d.ts.map +1 -0
- package/types/sdk/runtime/styles.d.ts +26 -0
- package/types/sdk/runtime/styles.d.ts.map +1 -0
- package/types/sdk/runtime/theme.d.ts +14 -0
- package/types/sdk/runtime/theme.d.ts.map +1 -0
- package/types/sdk/runtime/timezone.d.ts +11 -0
- package/types/sdk/runtime/timezone.d.ts.map +1 -0
- package/types/sdk/runtime/use-sdk-composition.d.ts +38 -0
- package/types/sdk/runtime/use-sdk-composition.d.ts.map +1 -0
- package/types/sdk/runtime/use-sdk-handshake.d.ts +24 -0
- package/types/sdk/runtime/use-sdk-handshake.d.ts.map +1 -0
- package/types/sdk/runtime/use-sdk-theme.d.ts +9 -0
- package/types/sdk/runtime/use-sdk-theme.d.ts.map +1 -0
- package/types/sdk/types.d.ts +86 -0
- package/types/sdk/types.d.ts.map +1 -0
- package/types/shared/forms/domain-resolver.d.ts +27 -0
- package/types/shared/forms/domain-resolver.d.ts.map +1 -0
- package/types/shared/forms/index.d.ts +2 -0
- package/types/shared/forms/index.d.ts.map +1 -0
- package/types/shared/ui/Alert/Alert.d.ts +9 -0
- package/types/shared/ui/Alert/Alert.d.ts.map +1 -0
- package/types/shared/ui/Avatar/Avatar.d.ts +15 -0
- package/types/shared/ui/Avatar/Avatar.d.ts.map +1 -0
- package/types/shared/ui/Badge/Badge.d.ts +14 -0
- package/types/shared/ui/Badge/Badge.d.ts.map +1 -0
- package/types/shared/ui/Button/Button.d.ts +16 -0
- package/types/shared/ui/Button/Button.d.ts.map +1 -0
- package/types/shared/ui/Card/Card.d.ts +12 -0
- package/types/shared/ui/Card/Card.d.ts.map +1 -0
- package/types/shared/ui/CodeBlock/CodeBlock.d.ts +9 -0
- package/types/shared/ui/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/types/shared/ui/ConfirmDialog/ConfirmDialog.d.ts +14 -0
- package/types/shared/ui/ConfirmDialog/ConfirmDialog.d.ts.map +1 -0
- package/types/shared/ui/Drawer/Drawer.d.ts +28 -0
- package/types/shared/ui/Drawer/Drawer.d.ts.map +1 -0
- package/types/shared/ui/DropdownMenu/DropdownMenu.d.ts +23 -0
- package/types/shared/ui/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/types/shared/ui/EmptyState/EmptyState.d.ts +11 -0
- package/types/shared/ui/EmptyState/EmptyState.d.ts.map +1 -0
- package/types/shared/ui/IconButton/IconButton.d.ts +14 -0
- package/types/shared/ui/IconButton/IconButton.d.ts.map +1 -0
- package/types/shared/ui/Modal/Modal.d.ts +33 -0
- package/types/shared/ui/Modal/Modal.d.ts.map +1 -0
- package/types/shared/ui/SecretField/SecretField.d.ts +10 -0
- package/types/shared/ui/SecretField/SecretField.d.ts.map +1 -0
- package/types/shared/ui/SegmentedControl/SegmentedControl.d.ts +17 -0
- package/types/shared/ui/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/types/shared/ui/Select/Select.d.ts +8 -0
- package/types/shared/ui/Select/Select.d.ts.map +1 -0
- package/types/shared/ui/Skeleton/Skeleton.d.ts +11 -0
- package/types/shared/ui/Skeleton/Skeleton.d.ts.map +1 -0
- package/types/shared/ui/Spinner/Spinner.d.ts +7 -0
- package/types/shared/ui/Spinner/Spinner.d.ts.map +1 -0
- package/types/shared/ui/Stat/Stat.d.ts +13 -0
- package/types/shared/ui/Stat/Stat.d.ts.map +1 -0
- package/types/shared/ui/Tabs/Tabs.d.ts +24 -0
- package/types/shared/ui/Tabs/Tabs.d.ts.map +1 -0
- package/types/shared/ui/TextField/TextField.d.ts +11 -0
- package/types/shared/ui/TextField/TextField.d.ts.map +1 -0
- package/types/shared/ui/TimePicker/TimePicker.d.ts +16 -0
- package/types/shared/ui/TimePicker/TimePicker.d.ts.map +1 -0
- package/types/shared/ui/Toast/Toast.d.ts +3 -0
- package/types/shared/ui/Toast/Toast.d.ts.map +1 -0
- package/types/shared/ui/Toast/use-toast.d.ts +13 -0
- package/types/shared/ui/Toast/use-toast.d.ts.map +1 -0
- package/types/shared/ui/Tooltip/Tooltip.d.ts +19 -0
- package/types/shared/ui/Tooltip/Tooltip.d.ts.map +1 -0
- package/types/shared/ui/clipboard.d.ts +10 -0
- package/types/shared/ui/clipboard.d.ts.map +1 -0
- package/types/shared/ui/index.d.ts +36 -0
- package/types/shared/ui/index.d.ts.map +1 -0
- package/types/shared/ui/layout/Container.d.ts +15 -0
- package/types/shared/ui/layout/Container.d.ts.map +1 -0
- package/types/shared/ui/layout/Grid.d.ts +14 -0
- package/types/shared/ui/layout/Grid.d.ts.map +1 -0
- package/types/shared/ui/layout/Inline.d.ts +17 -0
- package/types/shared/ui/layout/Inline.d.ts.map +1 -0
- package/types/shared/ui/layout/PageHeader.d.ts +13 -0
- package/types/shared/ui/layout/PageHeader.d.ts.map +1 -0
- package/types/shared/ui/layout/Stack.d.ts +13 -0
- package/types/shared/ui/layout/Stack.d.ts.map +1 -0
- package/types/shared/ui/layout/space.d.ts +16 -0
- package/types/shared/ui/layout/space.d.ts.map +1 -0
- package/types/shared/ui/motion/index.d.ts +2 -0
- package/types/shared/ui/motion/index.d.ts.map +1 -0
- package/types/shared/ui/motion/presets.d.ts +10 -0
- package/types/shared/ui/motion/presets.d.ts.map +1 -0
- package/types/shared/ui/portal-container-context.d.ts +13 -0
- package/types/shared/ui/portal-container-context.d.ts.map +1 -0
- package/types/shared/ui/portal-container.d.ts +7 -0
- package/types/shared/ui/portal-container.d.ts.map +1 -0
- package/types/shared/ui/use-media-query.d.ts +6 -0
- package/types/shared/ui/use-media-query.d.ts.map +1 -0
- package/types/shared/ui/use-portal-container.d.ts +8 -0
- package/types/shared/ui/use-portal-container.d.ts.map +1 -0
- package/types/shared/utils/assert-never.d.ts +7 -0
- package/types/shared/utils/assert-never.d.ts.map +1 -0
- package/types/shared/utils/avatar.d.ts +7 -0
- package/types/shared/utils/avatar.d.ts.map +1 -0
- package/types/shared/utils/character-limit.d.ts +15 -0
- package/types/shared/utils/character-limit.d.ts.map +1 -0
- package/types/shared/utils/cn.d.ts +4 -0
- package/types/shared/utils/cn.d.ts.map +1 -0
- package/types/shared/utils/css-vars.d.ts +9 -0
- package/types/shared/utils/css-vars.d.ts.map +1 -0
- package/types/shared/utils/format-role-name.d.ts +2 -0
- package/types/shared/utils/format-role-name.d.ts.map +1 -0
- package/types/shared/utils/index.d.ts +7 -0
- package/types/shared/utils/index.d.ts.map +1 -0
- package/ui-store-4fbabb78-B6WDMKSM.js +3775 -0
- package/ui-store-4fbabb78-BZ6xmQIE.cjs +29 -0
|
@@ -0,0 +1,1828 @@
|
|
|
1
|
+
import { $ as e, G as t, J as n, Q as r, W as i, X as a, Y as o, Z as s, _ as c, g as l, h as ee, m as u, w as d } from "./ui-store-4fbabb78-B6WDMKSM.js";
|
|
2
|
+
import { t as f } from "./index-8be19fcf-BppFp8rx.js";
|
|
3
|
+
import { n as te, r as ne } from "./date-b1f78dea-CMBworrP.js";
|
|
4
|
+
import { i as p, n as re, r as ie, t as ae } from "./string-068ce30a-DsdGnSiw.js";
|
|
5
|
+
import { t as oe } from "./index-3f51790f-Cnkj1veX.js";
|
|
6
|
+
import { i as se, l as ce, n as le, o as ue, t as de } from "./chat-98db6d32-D3jNjCkY.js";
|
|
7
|
+
import { n as fe, r as pe, t as m } from "./file-6114f1a9-BqdWZ5p6.js";
|
|
8
|
+
import { r as h, t as g } from "./merge-d1e6bb2e-DU-Azq-P.js";
|
|
9
|
+
import { t as me } from "./config-73678ba3-Cj6e6Qdv.js";
|
|
10
|
+
import { t as he } from "./ResizeObserver.es-02979d4e-7ifz085B.js";
|
|
11
|
+
import { t as ge } from "./join-error-e87be64a-Bxi3HnXN.js";
|
|
12
|
+
import { i as _e, o as ve, r as _, s as v, t as ye } from "./floating-ui.dom.esm-21c3d54e-BPpyJeSs.js";
|
|
13
|
+
import { t as be } from "./debounce-d193e708-DvRG74IY.js";
|
|
14
|
+
//#region node_modules/@cloudflare/realtimekit-ui/dist/esm/rtk-avatar_26.entry.js
|
|
15
|
+
var xe = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:var(--rtk-space-32, 128px);width:var(--rtk-space-32, 128px);align-items:center;justify-content:center;font-size:28px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));overflow:clip;border-radius:9999px;-webkit-user-select:none;-moz-user-select:none;user-select:none}rtk-icon{height:50%;width:50%}.image-ctr{display:flex;height:100%;width:100%;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}img{height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);-o-object-fit:cover;object-fit:cover}img.loaded{height:100%;width:100%}.initials{display:flex;height:100%;width:100%;align-items:center;justify-content:center;text-transform:uppercase}.image{display:flex;height:100%;width:100%;align-items:center;justify-content:center}.image img{display:none;height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.image img.loaded{display:block}:host([variant='hexagon']){border-radius:var(--rtk-border-radius-none, 0);clip-path:polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%)}:host([variant='square']){border-radius:var(--rtk-border-radius-none, 0);clip-path:polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)}:host([size='sm']){height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);font-size:12px}:host([size='md']){height:var(--rtk-space-28, 112px);width:var(--rtk-space-28, 112px)}:host([size='lg']){height:var(--rtk-space-32, 128px);width:var(--rtk-space-32, 128px)}", Se = function(e, t, n, r) {
|
|
16
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
17
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
18
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
19
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
20
|
+
}, y = class {
|
|
21
|
+
constructor(e) {
|
|
22
|
+
r(this, e), this.variant = "circular", this.iconPack = l, this.t = t(), this.imageState = "loading", this.getAvatar = () => {
|
|
23
|
+
let e = ae(this.participant?.name || ""), t;
|
|
24
|
+
if (this.participant != null && "picture" in this.participant && (t = this.participant.picture), t && t.length > 0 && this.imageState !== "errored") return s("div", { class: "image-ctr" }, this.imageState === "loading" && s("rtk-spinner", { iconPack: this.iconPack }), s("img", {
|
|
25
|
+
src: t,
|
|
26
|
+
class: { loaded: this.imageState === "loaded" },
|
|
27
|
+
loading: "lazy",
|
|
28
|
+
title: e,
|
|
29
|
+
onLoad: () => this.imageState = "loaded",
|
|
30
|
+
onError: () => this.imageState = "errored",
|
|
31
|
+
part: "image"
|
|
32
|
+
}));
|
|
33
|
+
let n = re(e);
|
|
34
|
+
return s("div", {
|
|
35
|
+
class: "initials",
|
|
36
|
+
title: e,
|
|
37
|
+
part: "initials"
|
|
38
|
+
}, n);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
return s(n, { key: "d7d3a7b03a3807984dc6798b5e35cec4418e06e7" }, this.getAvatar(), s("slot", { key: "25aa9fe632a132c1e2f8ef88ac98043bb8ef085a" }));
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
Se([f()], y.prototype, "iconPack", void 0), Se([f()], y.prototype, "t", void 0), y.style = xe;
|
|
46
|
+
var Ce = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{--icon-size:var(--rtk-button-icon-size, var(--rtk-space-5, 20px));--transition-property:var(--rtk-transition-property, all);--transition-duration:100ms;display:inline-flex;height:var(--rtk-space-8, 32px);cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:14px;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-sm, 4px);transition-property:var(--transition-property);transition-duration:var(--transition-duration)}button{box-sizing:border-box;background-color:transparent;color:inherit;border:var(--rtk-border-width-sm, 1px) solid transparent;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);display:inline-flex;flex-grow:1;justify-content:center;vertical-align:baseline;gap:var(--rtk-space-1, 4px);transition-property:var(--transition-property);transition-duration:var(--transition-duration);outline:none;height:inherit;border-radius:inherit;fill:inherit;cursor:inherit;font-weight:inherit;font-family:inherit;font-size:inherit;line-height:inherit}.start,.content,.end{align-self:center}::slotted(rtk-icon),::slotted(rtk-spinner){height:var(--icon-size);width:var(--icon-size)}:host([variant='primary']){color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}:host(:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}button:focus-visible{border-color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host(:active){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity))}:host([disabled]:not([disabled='false'])){cursor:not-allowed;opacity:0.6}:host([variant='secondary']){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='secondary']:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([variant='secondary']:active){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}:host([variant='danger']){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity))}:host([variant='danger']:hover){background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.7)}:host([variant='danger']:active){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity))}:host([variant='ghost']){background-color:transparent;color:inherit}:host([variant='ghost'].active){--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}:host([variant='ghost']:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='ghost']:active){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([kind='icon']){--icon-size:var(--rtk-space-5, 20px);width:var(--rtk-space-8, 32px)}:host([kind='icon']) button{padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px)}:host([kind='wide']){width:100%}:host([size='lg']){--icon-size:var(--rtk-space-5, 20px);height:var(--rtk-space-10, 40px);font-size:16px}:host([size='lg'][kind='icon']){--icon-size:var(--rtk-space-6, 24px);height:var(--rtk-space-10, 40px);width:var(--rtk-space-10, 40px)}:host([size='sm']){--icon-size:var(--rtk-space-4, 16px);height:var(--rtk-space-6, 24px);font-size:12px}:host([size='sm'][kind='icon']){height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}", b = class {
|
|
47
|
+
constructor(e) {
|
|
48
|
+
r(this, e), this.variant = "primary", this.kind = "button", this.reverse = !1, this.disabled = !1, this.type = "button";
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
return s(n, { key: "0f96cef4ae77a2be8013fa5d62d39626734eeced" }, s("button", {
|
|
52
|
+
key: "8c06d5f5cc71779b8d56f31d2dd77b8d35e8b280",
|
|
53
|
+
part: "button",
|
|
54
|
+
type: this.type,
|
|
55
|
+
disabled: this.disabled
|
|
56
|
+
}, s("span", {
|
|
57
|
+
key: "ae741ddf8cc914f9493c26330b1f322541f64223",
|
|
58
|
+
class: "start"
|
|
59
|
+
}, s("slot", {
|
|
60
|
+
key: "18275dab42a4dd38b5a59463ffca227e4a6df3c8",
|
|
61
|
+
name: "start"
|
|
62
|
+
})), s("span", {
|
|
63
|
+
key: "c2b912515b6edc2966c4cdb282c89022aa05c13f",
|
|
64
|
+
class: "content",
|
|
65
|
+
part: "content"
|
|
66
|
+
}, s("slot", { key: "5d87993198e16a3b5f38e62979fa2ee5637a059d" })), s("span", {
|
|
67
|
+
key: "0bc907da23ea362f8ae0b3fdf88452b1c3881078",
|
|
68
|
+
class: "end"
|
|
69
|
+
}, s("slot", {
|
|
70
|
+
key: "0862eeefcfa5765ce605b99a04aab88222ed6e68",
|
|
71
|
+
name: "end"
|
|
72
|
+
}))));
|
|
73
|
+
}
|
|
74
|
+
static get delegatesFocus() {
|
|
75
|
+
return !0;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
b.style = Ce;
|
|
79
|
+
var we = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px;position:relative;box-sizing:border-box;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}h3{margin:var(--rtk-space-0, 0px);display:flex;height:var(--rtk-space-12, 48px);align-items:center;justify-content:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}#dropzone{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}rtk-chat-messages-ui,rtk-chat-messages-ui-paginated{flex:1 0 0}rtk-chat-composer-view{margin:var(--rtk-space-2, 8px)}.chat-container{display:flex;height:100%;width:100%;flex-direction:row;container-type:size;container-name:chatcontainer}.chat{box-sizing:border-box;display:flex;flex:1 1 0%;flex-direction:column}.banner{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.view-chats-btn{margin-top:var(--rtk-space-4, 16px)}.selector-container{z-index:50;width:100%;max-width:var(--rtk-space-80, 320px);border-right:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.selector-container.hide{display:none}.mobile-close-btn{display:none}.selector-container.mobile{height:100%;width:100%;max-width:100%;position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0.6);display:flex}.selector-container.mobile .mobile-close-btn{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);margin-left:var(--rtk-space-6, 24px);margin-right:var(--rtk-space-6, 24px);display:block}.pinned-messages{position:relative;display:flex;flex-direction:column}.pinned-messages-header{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-2, 8px);padding:var(--rtk-space-4, 16px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));font-size:14px;cursor:pointer}.pinned-messages-header div{display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px)}.pinned-messages-header rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}.pinned-messages-content{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));position:absolute;left:var(--rtk-space-0, 0px);top:100%;z-index:50;max-height:30vh;width:100%;overflow:auto}.pinned-message{display:flex;cursor:pointer;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px);--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));padding:var(--rtk-space-4, 16px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-right-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-top-width:var(--rtk-border-width-none, 0);border-style:solid}.pinned-message-avatar{height:var(--rtk-space-6, 24px) !important;width:var(--rtk-space-6, 24px) !important}@keyframes swipe-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}", x = function(e, t, n, r) {
|
|
80
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
81
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
82
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
83
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
84
|
+
}, S = class {
|
|
85
|
+
constructor(e) {
|
|
86
|
+
r(this, e), this.stateUpdate = o(this, "rtkStateUpdate", 7), this.chatPermissionUpdateListener = () => {
|
|
87
|
+
this.canSend = this.meeting.self.permissions.chatPublic.canSend, this.canSendTextMessage = this.meeting.self.permissions.chatPublic.text, this.canSendFiles = this.meeting.self.permissions.chatPublic.files;
|
|
88
|
+
}, this.config = u(), this.iconPack = l, this.t = t(), this.overrides = c, this.canPinMessages = !1, this.now = /* @__PURE__ */ new Date(), this.dropzoneActivated = !1, this.showLatestMessageButton = !1, this.canSend = !1, this.canSendTextMessage = !1, this.canSendFiles = !1, this.canPrivateMessage = !1, this.canSendPrivateTexts = !1, this.canSendPrivateFiles = !1, this.emojiPickerEnabled = !1, this.participants = [], this.editingMessage = null, this.replyMessage = null, this.searchQuery = "", this.selectorState = "hide", this.isSendingMessage = !1, this.showPinnedMessages = !1, this.onDragOver = (e) => {
|
|
89
|
+
e.preventDefault(), this.dropzoneActivated = !0;
|
|
90
|
+
}, this.onDragLeave = () => {
|
|
91
|
+
this.dropzoneActivated = !1;
|
|
92
|
+
}, this.onDrop = (e) => {
|
|
93
|
+
e.preventDefault(), this.dropzoneActivated = !1, se(e.dataTransfer.items, (e, t) => {
|
|
94
|
+
var n, r;
|
|
95
|
+
switch (e) {
|
|
96
|
+
case "image":
|
|
97
|
+
this.isFileMessagingAllowed() && ((n = this.meeting?.chat) == null || n.sendImageMessage(t, this.getRecipientPeerIds()));
|
|
98
|
+
break;
|
|
99
|
+
case "file":
|
|
100
|
+
this.isFileMessagingAllowed() && ((r = this.meeting?.chat) == null || r.sendFileMessage(t, this.getRecipientPeerIds()));
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}, this.disconnectMeeting = (e) => {
|
|
105
|
+
e.self.permissions.removeListener("*", this.chatPermissionUpdateListener);
|
|
106
|
+
}, this.isTextMessagingAllowed = () => this.selectedParticipant ? this.canPrivateMessage && this.canSendPrivateTexts : this.canSend && this.canSendTextMessage, this.isFileMessagingAllowed = () => this.selectedParticipant ? this.canPrivateMessage && this.canSendPrivateFiles : this.canSend && this.canSendFiles, this.onQuotedMessageDismiss = () => {
|
|
107
|
+
this.replyMessage = null;
|
|
108
|
+
}, this.onNewMessageHandler = async (e) => {
|
|
109
|
+
let t = e.detail;
|
|
110
|
+
this.isSendingMessage = !0;
|
|
111
|
+
try {
|
|
112
|
+
await this.meeting.chat.sendMessage(t, this.getRecipientPeerIds());
|
|
113
|
+
} finally {
|
|
114
|
+
this.isSendingMessage = !1;
|
|
115
|
+
}
|
|
116
|
+
}, this.onEditMessageHandler = async (e) => {
|
|
117
|
+
this.isSendingMessage = !0;
|
|
118
|
+
try {
|
|
119
|
+
await (this.meeting?.chat)?.editTextMessage(this.editingMessage.id, e.detail);
|
|
120
|
+
} finally {
|
|
121
|
+
this.isSendingMessage = !1, this.editingMessage = null;
|
|
122
|
+
}
|
|
123
|
+
}, this.onEditCancel = () => {
|
|
124
|
+
this.editingMessage = null;
|
|
125
|
+
}, this.onPinMessage = (e) => {
|
|
126
|
+
let t = e.detail;
|
|
127
|
+
t.pinned ? this.meeting.chat.unpin(t.id) : this.meeting.chat.pin(t.id);
|
|
128
|
+
}, this.onDeleteMessage = (e) => {
|
|
129
|
+
let t = e.detail;
|
|
130
|
+
this.editingMessage?.id === t.id && (this.editingMessage = null);
|
|
131
|
+
try {
|
|
132
|
+
if (typeof localStorage < "u") {
|
|
133
|
+
let e = [];
|
|
134
|
+
for (let n = 0; n < localStorage.length; n++) {
|
|
135
|
+
let r = localStorage.key(n);
|
|
136
|
+
r && r.startsWith("rtk-chat-edit-") && r.endsWith(`-${t.id}`) && e.push(r);
|
|
137
|
+
}
|
|
138
|
+
e.forEach((e) => localStorage.removeItem(e));
|
|
139
|
+
}
|
|
140
|
+
} catch {}
|
|
141
|
+
this.meeting.chat.deleteMessage(t.id);
|
|
142
|
+
}, this.onMessageEdit = (e) => {
|
|
143
|
+
let t = e.detail;
|
|
144
|
+
t.type === "text" && (this.replyMessage = null, this.editingMessage = t);
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
connectedCallback() {
|
|
148
|
+
this.meeting && (this.meetingChanged(this.meeting), !(this.meeting && !this.meeting.chat) && this.isFileMessagingAllowed() && (this.host.addEventListener("dragover", this.onDragOver), this.host.addEventListener("dragleave", this.onDragLeave), this.host.addEventListener("drop", this.onDrop)));
|
|
149
|
+
}
|
|
150
|
+
onEditMessageInit(e) {
|
|
151
|
+
e.detail.flags.isReply ? this.replyMessage = e.detail.payload : e.detail.flags.isEdit && (this.editingMessage = e.detail.payload);
|
|
152
|
+
}
|
|
153
|
+
onChatSelectorChange(e) {
|
|
154
|
+
let t = e.detail?.selectedUser;
|
|
155
|
+
if (!t) {
|
|
156
|
+
this.selectedParticipant = null;
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
this.selectedParticipant = t;
|
|
160
|
+
}
|
|
161
|
+
disconnectedCallback() {
|
|
162
|
+
var e;
|
|
163
|
+
(e = this.resizeObserver) == null || e.disconnect(), this.disconnectMeeting(this.meeting), this.host.removeEventListener("dragover", this.onDragOver), this.host.removeEventListener("dragleave", this.onDragLeave), this.host.removeEventListener("drop", this.onDrop);
|
|
164
|
+
}
|
|
165
|
+
meetingChanged(e, t) {
|
|
166
|
+
t != null && this.disconnectMeeting(t), !(e && !e.chat) && e != null && (this.canSend = e.self.permissions.chatPublic.canSend, this.canSendTextMessage = e.self.permissions.chatPublic.text, this.canSendFiles = e.self.permissions.chatPublic.files, this.canPrivateMessage = !!(e.self.permissions.chatPrivate?.canSend || e.self.permissions.chatPrivate?.canReceive), this.canSendPrivateTexts = !!e.self.permissions.chatPrivate?.text, this.canSendPrivateFiles = !!e.self.permissions.chatPrivate?.files, e.self.permissions.on("*", this.chatPermissionUpdateListener));
|
|
167
|
+
}
|
|
168
|
+
getRecipientPeerIds() {
|
|
169
|
+
return this.selectedParticipant ? [this.selectedParticipant.id] : [];
|
|
170
|
+
}
|
|
171
|
+
renderComposerUI() {
|
|
172
|
+
if (!this.selectedParticipant) {
|
|
173
|
+
if (!this.canSendTextMessage && !this.canSendFiles) return null;
|
|
174
|
+
} else if (!this.canSendPrivateTexts && !this.canSendPrivateFiles) return null;
|
|
175
|
+
let e = {
|
|
176
|
+
iconPack: this.iconPack,
|
|
177
|
+
t: this.t,
|
|
178
|
+
size: this.size
|
|
179
|
+
}, t = this.editingMessage ? this.editingMessage.message : "", n = this.replyMessage ? this.replyMessage.message : "", r = this.editingMessage ? `rtk-chat-edit-no-channel-${this.editingMessage.id}` : "rtk-chat-edit", i = this.editingMessage ? r : "rtk-chat-draft";
|
|
180
|
+
return s("rtk-chat-composer-view", Object.assign({
|
|
181
|
+
message: t,
|
|
182
|
+
storageKey: i,
|
|
183
|
+
quotedMessage: n,
|
|
184
|
+
isEditing: !!this.editingMessage,
|
|
185
|
+
isSending: this.isSendingMessage,
|
|
186
|
+
canSendTextMessage: this.isTextMessagingAllowed(),
|
|
187
|
+
canSendFiles: this.isFileMessagingAllowed(),
|
|
188
|
+
disableEmojiPicker: this.overrides.disableEmojiPicker,
|
|
189
|
+
maxLength: this.meeting.chat.maxTextLimit,
|
|
190
|
+
rateLimits: this.meeting.chat.rateLimits,
|
|
191
|
+
inputTextPlaceholder: this.t("chat.message_placeholder"),
|
|
192
|
+
onNewMessage: this.onNewMessageHandler,
|
|
193
|
+
onEditMessage: this.onEditMessageHandler,
|
|
194
|
+
onEditCancel: this.onEditCancel,
|
|
195
|
+
onQuotedMessageDismiss: this.onQuotedMessageDismiss
|
|
196
|
+
}, e), s("slot", {
|
|
197
|
+
name: "chat-addon",
|
|
198
|
+
slot: "chat-addon"
|
|
199
|
+
}));
|
|
200
|
+
}
|
|
201
|
+
render() {
|
|
202
|
+
return this.meeting ? s(n, null, s("div", { class: "chat-container" }, s("div", { class: "chat" }, this.isFileMessagingAllowed() && s("div", {
|
|
203
|
+
id: "dropzone",
|
|
204
|
+
class: { active: this.dropzoneActivated },
|
|
205
|
+
part: "dropzone"
|
|
206
|
+
}, s("rtk-icon", { icon: this.iconPack.attach }), s("p", null, this.t("chat.send_attachment"))), s("rtk-chat-header", null), s("rtk-chat-messages-ui-paginated", {
|
|
207
|
+
meeting: this.meeting,
|
|
208
|
+
privateChatRecipient: this.selectedParticipant,
|
|
209
|
+
onPinMessage: this.onPinMessage,
|
|
210
|
+
onEditMessage: this.onMessageEdit,
|
|
211
|
+
onDeleteMessage: this.onDeleteMessage,
|
|
212
|
+
size: this.size,
|
|
213
|
+
iconPack: this.iconPack,
|
|
214
|
+
t: this.t
|
|
215
|
+
}), this.renderComposerUI()))) : null;
|
|
216
|
+
}
|
|
217
|
+
get host() {
|
|
218
|
+
return a(this);
|
|
219
|
+
}
|
|
220
|
+
static get watchers() {
|
|
221
|
+
return { meeting: ["meetingChanged"] };
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
x([f()], S.prototype, "meeting", void 0), x([f()], S.prototype, "config", void 0), x([f()], S.prototype, "iconPack", void 0), x([f()], S.prototype, "t", void 0), x([f()], S.prototype, "overrides", void 0), S.style = we;
|
|
225
|
+
var Te = ":host {\n display: flex;\n flex-direction: column;\n font-family: var(--rtk-font-family, sans-serif);\n font-size: 14px;\n position: relative;\n}\n\n.quoted-message-container {\n margin-bottom: var(--rtk-space-2, 8px);\n display: flex;\n justify-content: space-between;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n border-radius: var(--rtk-border-radius-md, 8px);\n border: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.quoted-message-container .quoted-message {\n flex: 1 1 0%;\n padding: var(--rtk-space-2, 8px);\n border-radius: var(--rtk-border-radius-md, 8px);\n max-height: var(--rtk-space-24, 96px);\n overflow-y: auto;\n word-break: break-all;\n}\n\n.quoted-message-container .quoted-message blockquote {\n display: none;\n}\n\n.quoted-message-container rtk-icon.dismiss {\n margin-left: auto;\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n padding: var(--rtk-space-2, 8px);\n border-radius: var(--rtk-border-radius-md, 8px);\n color: rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));\n}\n\n.quoted-message-container rtk-icon.dismiss:hover {\n cursor: pointer;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.quoted-message-container rtk-icon.dismiss {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.composer-container {\n position: relative;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n border-radius: var(--rtk-border-radius-md, 8px);\n overflow: hidden;\n border: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.composer-container > .composers {\n min-height: 60px;\n }\n\n@container chatcontainer (height < 360px) {\n .composer-container > .composers {\n min-height: 30px;\n }\n}\n\n.chat-buttons {\n padding: var(--rtk-space-3, 12px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.chat-buttons .right {\n z-index: 10;\n}\n\n.chat-buttons .right .edit-buttons {\n display: flex;\n gap: var(--rtk-space-2, 8px);\n}\n\n.chat-buttons > div {\n display: flex;\n align-items: center;\n}\n\nrtk-emoji-picker {\n z-index: 20;\n position: absolute;\n top: calc(var(--rtk-space-72, 288px) * -1);\n border-top: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n animation: 0.3s slide-up ease;\n}\n\n@keyframes slide-up {\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0%);\n }\n}\n", C = function(e, t, n, r) {
|
|
226
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
227
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
228
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
229
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
230
|
+
}, w = {
|
|
231
|
+
messagesSent: 0,
|
|
232
|
+
startTime: 0
|
|
233
|
+
}, T = class {
|
|
234
|
+
constructor(e) {
|
|
235
|
+
r(this, e), this.onNewMessage = o(this, "newMessage", 7), this.onEditMessage = o(this, "editMessage", 7), this.onEditCancel = o(this, "editCancel", 7), this.onQuotedMessageDismiss = o(this, "quotedMessageDismiss", 7), this.canSendTextMessage = !0, this.isSending = !1, this.canSendFiles = !0, this.message = "", this.quotedMessage = "", this.storageKey = "rtk-text-message", this.inputTextPlaceholder = "Enter your message", this.isEditing = !1, this.iconPack = l, this.t = t(), this.disableEmojiPicker = !1, this.rateLimits = {
|
|
236
|
+
period: 60,
|
|
237
|
+
maxInvocations: 60
|
|
238
|
+
}, this.fileToUpload = null, this.isEmojiPickerOpen = !1, this.disableSendButton = !1, this.rateLimitsBreached = !1, this.textMessage = "", this.sendFile = () => {
|
|
239
|
+
this.canSendFiles && (this.fileToUpload.type === "image" ? this.onNewMessage.emit({
|
|
240
|
+
type: "image",
|
|
241
|
+
image: this.fileToUpload.file
|
|
242
|
+
}) : this.onNewMessage.emit({
|
|
243
|
+
type: "file",
|
|
244
|
+
file: this.fileToUpload.file
|
|
245
|
+
}), this.fileToUpload = null);
|
|
246
|
+
}, this.handleSendMessage = () => {
|
|
247
|
+
if (!this.canSendTextMessage || this.rateLimitsBreached) return;
|
|
248
|
+
if (this.fileToUpload !== null) {
|
|
249
|
+
this.sendFile();
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
let e = this.textMessage, t = Date.now();
|
|
253
|
+
t - w.startTime > this.rateLimits.period * 1e3 && (w.startTime = t, w.messagesSent = 0), w.messagesSent += 1, this.checkRateLimitBreached(t), e.length > 0 && (this.onNewMessage.emit({
|
|
254
|
+
type: "text",
|
|
255
|
+
message: e
|
|
256
|
+
}), this.cleanup());
|
|
257
|
+
}, this.handleEditMessage = () => {
|
|
258
|
+
this.onEditMessage.emit(this.textMessage), this.cleanup();
|
|
259
|
+
}, this.handleEditCancel = () => {
|
|
260
|
+
this.onEditCancel.emit(), this.cleanup();
|
|
261
|
+
}, this.onTextChangeHandler = (e) => {
|
|
262
|
+
this.textMessage = e.detail, this.textMessage.length >= (this.maxLength ?? 2e3) ? this.disableSendButton = !0 : this.disableSendButton &&= !1, d.setItem(this.storageKey, e.detail);
|
|
263
|
+
}, this.onKeyDownHandler = (e) => {
|
|
264
|
+
e.key === "Enter" && e.shiftKey || this.disableSendButton || e.key === "Enter" && (e.preventDefault(), this.isEditing ? this.handleEditMessage() : this.handleSendMessage());
|
|
265
|
+
}, this.onFileUploadHandler = (e, t) => {
|
|
266
|
+
this.fileToUpload = {
|
|
267
|
+
type: e,
|
|
268
|
+
file: t
|
|
269
|
+
};
|
|
270
|
+
}, this.onQuotedMessageDismissHandler = () => {
|
|
271
|
+
this.onQuotedMessageDismiss.emit();
|
|
272
|
+
}, this.cleanup = () => {
|
|
273
|
+
this.textMessage = "", this.fileToUpload = null, d.setItem(this.storageKey, ""), this.$textComposer.setText("", !0), this.isEmojiPickerOpen = !1;
|
|
274
|
+
}, this.onKeyDownHandler = this.onKeyDownHandler.bind(this);
|
|
275
|
+
}
|
|
276
|
+
connectedCallback() {
|
|
277
|
+
this.textMessage = this.message || d.getItem(this.storageKey) || "", this.checkRateLimitBreached(Date.now());
|
|
278
|
+
}
|
|
279
|
+
componentWillUpdate() {
|
|
280
|
+
this.textMessage = this.message || d.getItem(this.storageKey) || "";
|
|
281
|
+
}
|
|
282
|
+
componentDidLoad() {
|
|
283
|
+
this.message && e(() => this.$textComposer.setText(this.message, !0));
|
|
284
|
+
}
|
|
285
|
+
checkRateLimitBreached(e) {
|
|
286
|
+
if (w.messagesSent >= this.rateLimits.maxInvocations) {
|
|
287
|
+
this.disableSendButton = !0, this.rateLimitsBreached = !0;
|
|
288
|
+
let t = e - w.startTime + this.rateLimits.period * 1e3;
|
|
289
|
+
setTimeout(() => {
|
|
290
|
+
w.messagesSent = 0, w.startTime = Date.now(), this.disableSendButton = !1, this.rateLimitsBreached = !1;
|
|
291
|
+
}, t);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
render() {
|
|
295
|
+
let e = {
|
|
296
|
+
iconPack: this.iconPack,
|
|
297
|
+
t: this.t
|
|
298
|
+
};
|
|
299
|
+
return s(n, { key: "2df23422579c855ced1cb6d24bb95786a1326baf" }, this.canSendTextMessage && this.isEmojiPickerOpen && s("rtk-emoji-picker", Object.assign({
|
|
300
|
+
key: "a7ed280a636d0207f58f0ad13f79c1eaed52ab9c",
|
|
301
|
+
part: "emoji-picker",
|
|
302
|
+
onPickerClose: () => {
|
|
303
|
+
this.isEmojiPickerOpen = !1;
|
|
304
|
+
},
|
|
305
|
+
onRtkEmojiClicked: (e) => {
|
|
306
|
+
this.textMessage += e.detail, this.$textComposer.setText(this.textMessage, !0);
|
|
307
|
+
}
|
|
308
|
+
}, e)), s("slot", {
|
|
309
|
+
key: "759df2a2029fbba963cfc26cd871771881dd6c5e",
|
|
310
|
+
name: "chat-addon"
|
|
311
|
+
}), this.quotedMessage && this.quotedMessage.length !== 0 && s("div", {
|
|
312
|
+
key: "413be05a7374fc76f790ad3f6f5bef5a56a6ef97",
|
|
313
|
+
class: "quoted-message-container",
|
|
314
|
+
part: "quoted-message-container"
|
|
315
|
+
}, s("div", {
|
|
316
|
+
key: "7fb6b571103c675dca202b74bd07fd55062dab70",
|
|
317
|
+
class: "quoted-message scrollbar"
|
|
318
|
+
}, s("rtk-text-message-view", {
|
|
319
|
+
key: "3997aa719a746234c5641e976dd0c27e68b69dae",
|
|
320
|
+
text: this.quotedMessage,
|
|
321
|
+
isMarkdown: !0
|
|
322
|
+
})), s("div", { key: "f76ec54e3d67d6957d5d152b144b22d8cc122660" }, s("rtk-icon", {
|
|
323
|
+
key: "897b52fc41814d2cb8beeb461c36c9843cb2869e",
|
|
324
|
+
"aria-label": this.t("dismiss"),
|
|
325
|
+
class: "dismiss",
|
|
326
|
+
icon: this.iconPack.dismiss,
|
|
327
|
+
onClick: this.onQuotedMessageDismissHandler
|
|
328
|
+
}))), s("div", {
|
|
329
|
+
key: "35447eb1fffffd372c231bc76ce741e483e7f26a",
|
|
330
|
+
class: "composer-container"
|
|
331
|
+
}, s("div", {
|
|
332
|
+
key: "0f8f198df49fcc27f6c85b8d6909eb2a7c00e142",
|
|
333
|
+
class: "composers"
|
|
334
|
+
}, this.fileToUpload && s("rtk-draft-attachment-view", Object.assign({ key: "9d325d05fecb12ecb41f02e54561d2e1b59b2c2f" }, e, {
|
|
335
|
+
attachment: this.fileToUpload,
|
|
336
|
+
onDeleteAttachment: () => this.fileToUpload = null
|
|
337
|
+
})), !this.fileToUpload && s("rtk-text-composer-view", {
|
|
338
|
+
key: "fbc870bb9d9c2418e528e64273edb67846e23e17",
|
|
339
|
+
value: this.textMessage,
|
|
340
|
+
placeholder: this.inputTextPlaceholder,
|
|
341
|
+
onTextChange: this.onTextChangeHandler,
|
|
342
|
+
keyDownHandler: this.onKeyDownHandler,
|
|
343
|
+
maxLength: this.maxLength ?? 2e3,
|
|
344
|
+
rateLimitBreached: this.rateLimitsBreached,
|
|
345
|
+
t: this.t,
|
|
346
|
+
iconPack: this.iconPack,
|
|
347
|
+
ref: (e) => this.$textComposer = e
|
|
348
|
+
})), s("div", {
|
|
349
|
+
key: "20191403531eb87bca86d13387c7937153a4c99e",
|
|
350
|
+
class: "chat-buttons",
|
|
351
|
+
part: "chat-buttons"
|
|
352
|
+
}, s("div", {
|
|
353
|
+
key: "4914a61fea3f502dc14778a237e9ce35a97e3afc",
|
|
354
|
+
class: "left",
|
|
355
|
+
part: "chat-buttons-left"
|
|
356
|
+
}, !this.fileToUpload && !this.isEditing && s("div", { key: "76c843588f2f7d90f5e60a1e44955309026eda27" }, this.canSendFiles && [s("rtk-file-picker-button", Object.assign({ key: "cbb6f17b22f10b48ada27a4b4da3c1d5b2c7e320" }, e, { onFileChange: (e) => this.onFileUploadHandler("file", e.detail) })), s("rtk-file-picker-button", Object.assign({
|
|
357
|
+
key: "0868162a2da021dd4175e977adf47d72ca54044a",
|
|
358
|
+
filter: "image/*",
|
|
359
|
+
label: this.t("chat.send_img"),
|
|
360
|
+
icon: "image",
|
|
361
|
+
onFileChange: (e) => this.onFileUploadHandler("image", e.detail)
|
|
362
|
+
}, e))], this.canSendTextMessage && !this.disableEmojiPicker && s("rtk-emoji-picker-button", Object.assign({
|
|
363
|
+
key: "a73378b5495dc3bfcde7dba335f674292ee6a96c",
|
|
364
|
+
isActive: this.isEmojiPickerOpen,
|
|
365
|
+
onClick: () => {
|
|
366
|
+
this.isEmojiPickerOpen = !this.isEmojiPickerOpen;
|
|
367
|
+
}
|
|
368
|
+
}, e)), s("slot", {
|
|
369
|
+
key: "31208ad279dec430da4527d22730de8e418bc722",
|
|
370
|
+
name: "chat-buttons"
|
|
371
|
+
}))), s("div", {
|
|
372
|
+
key: "04fcdd3f690548cbf1e257ffb2982785e557726b",
|
|
373
|
+
class: "right",
|
|
374
|
+
part: "chat-buttons-right"
|
|
375
|
+
}, !this.isEditing && s("rtk-tooltip", {
|
|
376
|
+
key: "367bf710673a0a2276f46d52289409abb77fe27b",
|
|
377
|
+
variant: "primary",
|
|
378
|
+
label: this.t("chat.send_msg"),
|
|
379
|
+
delay: 2e3
|
|
380
|
+
}, s("rtk-button", {
|
|
381
|
+
key: "c677e3026636c375ed7eee411c596f6d2a802794",
|
|
382
|
+
kind: "icon",
|
|
383
|
+
disabled: this.disableSendButton || this.isSending,
|
|
384
|
+
onClick: () => this.handleSendMessage(),
|
|
385
|
+
title: this.t("chat.send_msg")
|
|
386
|
+
}, this.isSending ? s("rtk-spinner", { size: "sm" }) : s("rtk-icon", { icon: this.iconPack.send }))), this.isEditing && s("div", {
|
|
387
|
+
key: "1e09e8868e4ae048b36bc8198b8aa1de92209a00",
|
|
388
|
+
class: "edit-buttons"
|
|
389
|
+
}, s("rtk-tooltip", {
|
|
390
|
+
key: "29ff7a39bd168169fa7d104357b529a2c9efe0fd",
|
|
391
|
+
variant: "secondary",
|
|
392
|
+
label: this.t("cancel"),
|
|
393
|
+
delay: 2e3
|
|
394
|
+
}, s("rtk-button", {
|
|
395
|
+
key: "27cf5353d0e8c2620fd8d4213994a9dcc83f83f3",
|
|
396
|
+
kind: "icon",
|
|
397
|
+
variant: "secondary",
|
|
398
|
+
onClick: () => this.handleEditCancel(),
|
|
399
|
+
title: this.t("cancel")
|
|
400
|
+
}, s("rtk-icon", {
|
|
401
|
+
key: "aeb4c9df3993c6cebf952f64f6676eb8a3866bb0",
|
|
402
|
+
icon: this.iconPack.dismiss
|
|
403
|
+
}))), s("rtk-tooltip", {
|
|
404
|
+
key: "835195d0f51a1db81e66a1b2d9076a71f2aaee4e",
|
|
405
|
+
variant: "primary",
|
|
406
|
+
label: this.t("chat.update_msg"),
|
|
407
|
+
delay: 2e3
|
|
408
|
+
}, s("rtk-button", {
|
|
409
|
+
key: "d524f01ba5d7ca52224d39e23e7f963972ad80c9",
|
|
410
|
+
kind: "icon",
|
|
411
|
+
onClick: () => this.handleEditMessage(),
|
|
412
|
+
title: this.t("chat.send_msg")
|
|
413
|
+
}, this.isSending ? s("rtk-spinner", { size: "sm" }) : s("rtk-icon", { icon: this.iconPack.checkmark }))))))));
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
C([f()], T.prototype, "iconPack", void 0), C([f()], T.prototype, "t", void 0), T.style = Te;
|
|
417
|
+
var Ee = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;width:100%;flex-direction:column;gap:var(--rtk-space-2, 8px);font-size:14px;z-index:10;margin-bottom:var(--rtk-space-2, 8px);box-sizing:border-box;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.chat-header{position:relative;margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));border-radius:var(--rtk-border-radius-sm, 4px);overflow:hidden;border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));cursor:pointer}.chat-header-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}", De = class {
|
|
418
|
+
constructor(e) {
|
|
419
|
+
r(this, e), this.onPinnedToggle = async (e) => {
|
|
420
|
+
var t;
|
|
421
|
+
e.detail?.open && await ((t = this.$chatSelector)?.close)?.call(t);
|
|
422
|
+
}, this.onChatToggle = async (e) => {
|
|
423
|
+
var t;
|
|
424
|
+
e.detail?.open && await ((t = this.$pinnedSelector)?.close)?.call(t);
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
render() {
|
|
428
|
+
return s(n, { key: "af9956ff6e693f29fb63a6180ef773a0e64822e5" }, s("rtk-pinned-message-selector", {
|
|
429
|
+
key: "b0d9199d02d84453f8ee26c3a47e00c82047e4f6",
|
|
430
|
+
ref: (e) => this.$pinnedSelector = e,
|
|
431
|
+
onRtkDropdownToggle: this.onPinnedToggle
|
|
432
|
+
}), s("rtk-chat-selector", {
|
|
433
|
+
key: "4d019562a85ebfeaf4ceae2e99d1b9c8c282127a",
|
|
434
|
+
ref: (e) => this.$chatSelector = e,
|
|
435
|
+
onRtkDropdownToggle: this.onChatToggle
|
|
436
|
+
}));
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
De.style = Ee;
|
|
440
|
+
var Oe = ":host{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));flex:1 0 0px}", E = function(e, t, n, r) {
|
|
441
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
442
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
443
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
444
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
445
|
+
}, D = class {
|
|
446
|
+
constructor(e) {
|
|
447
|
+
r(this, e), this.editMessageInit = o(this, "editMessageInit", 7), this.onPinMessage = o(this, "pinMessage", 7), this.onEditMessage = o(this, "editMessage", 7), this.onDeleteMessage = o(this, "deleteMessage", 7), this.stateUpdate = o(this, "rtkStateUpdate", 7), this.iconPack = l, this.t = t(), this.permissionsChanged = !1, this.pageSize = 25, this.permissionsUpdateListener = () => {
|
|
448
|
+
this.permissionsChanged = !this.permissionsChanged;
|
|
449
|
+
}, this.getChatMessages = async (e, t, n) => {
|
|
450
|
+
if (this.privateChatRecipient) try {
|
|
451
|
+
return await this.meeting.chat.fetchPrivateMessages({
|
|
452
|
+
timestamp: e,
|
|
453
|
+
limit: t,
|
|
454
|
+
direction: n ? "before" : "after",
|
|
455
|
+
userId: this.privateChatRecipient.userId
|
|
456
|
+
});
|
|
457
|
+
} catch {
|
|
458
|
+
return [];
|
|
459
|
+
}
|
|
460
|
+
try {
|
|
461
|
+
return await this.meeting.chat.fetchPublicMessages({
|
|
462
|
+
timestamp: e,
|
|
463
|
+
limit: t,
|
|
464
|
+
direction: n ? "before" : "after"
|
|
465
|
+
});
|
|
466
|
+
} catch {
|
|
467
|
+
return [];
|
|
468
|
+
}
|
|
469
|
+
}, this.createChatNodes = (e) => e.map((t, n) => {
|
|
470
|
+
let r = t.userId === e[n - 1]?.userId;
|
|
471
|
+
if (!(!this.privateChatRecipient && t.targetUserIds?.length > 0)) return this.createChatNode(t, r);
|
|
472
|
+
}), this.disconnectMeeting = (e) => {
|
|
473
|
+
var t, n;
|
|
474
|
+
(t = e?.chat) == null || t.removeListener("chatUpdate", this.chatUpdateListener), (n = this.meeting) == null || n.self.permissions.removeListener("permissionsUpdate", this.permissionsUpdateListener);
|
|
475
|
+
}, this.getMessageActions = (e) => {
|
|
476
|
+
let t = [], n = e.userId === this.meeting.self.userId;
|
|
477
|
+
return e.targetUserIds?.length > 0 || t.push({
|
|
478
|
+
id: "pin_message",
|
|
479
|
+
label: e.pinned ? this.t("unpin") : this.t("pin"),
|
|
480
|
+
icon: this.iconPack.pin
|
|
481
|
+
}), n && (t.push({
|
|
482
|
+
id: "edit_message",
|
|
483
|
+
label: this.t("chat.edit_msg"),
|
|
484
|
+
icon: this.iconPack.edit
|
|
485
|
+
}), t.push({
|
|
486
|
+
id: "delete_message",
|
|
487
|
+
label: this.t("chat.delete_msg"),
|
|
488
|
+
icon: this.iconPack.delete
|
|
489
|
+
})), t;
|
|
490
|
+
}, this.onMessageActionHandler = (e, t) => {
|
|
491
|
+
switch (e) {
|
|
492
|
+
case "pin_message":
|
|
493
|
+
this.onPinMessage.emit(t);
|
|
494
|
+
break;
|
|
495
|
+
case "edit_message":
|
|
496
|
+
this.onEditMessage.emit(t);
|
|
497
|
+
break;
|
|
498
|
+
case "delete_message":
|
|
499
|
+
this.onDeleteMessage.emit(t);
|
|
500
|
+
break;
|
|
501
|
+
}
|
|
502
|
+
}, this.createChatNode = (e, t) => {
|
|
503
|
+
let n;
|
|
504
|
+
n = this.meeting.meta.viewType === "CHAT" ? this.meeting.participants.all.toArray().find((t) => t.userId === e.userId)?.picture : this.meeting.self.userId === e.userId ? this.meeting.self.picture : this.meeting.participants.joined.toArray().find((t) => t.userId === e.userId)?.picture ?? this.meeting.participants.waitlisted.toArray().find((t) => t.userId === e.userId)?.picture;
|
|
505
|
+
let r = e.userId === this.meeting.self.userId, i = r ? "outgoing" : "incoming";
|
|
506
|
+
return s("div", null, s("div", {
|
|
507
|
+
class: "message-wrapper",
|
|
508
|
+
id: e.id
|
|
509
|
+
}, s("rtk-message-view", {
|
|
510
|
+
messageType: e.type,
|
|
511
|
+
pinned: e.pinned,
|
|
512
|
+
isEdited: e.isEdited,
|
|
513
|
+
time: e.time,
|
|
514
|
+
actions: this.getMessageActions(e),
|
|
515
|
+
authorName: e.displayName,
|
|
516
|
+
isSelf: r,
|
|
517
|
+
avatarUrl: n,
|
|
518
|
+
hideAuthorName: t,
|
|
519
|
+
viewType: i,
|
|
520
|
+
variant: "bubble",
|
|
521
|
+
onAction: (t) => this.onMessageActionHandler(t.detail, e)
|
|
522
|
+
}, s("div", null, s("div", { class: "body" }, e.type === "text" && s("rtk-text-message-view", {
|
|
523
|
+
text: e.message,
|
|
524
|
+
isMarkdown: !0
|
|
525
|
+
}), e.type === "file" && s("rtk-file-message-view", {
|
|
526
|
+
name: e.name,
|
|
527
|
+
url: e.link,
|
|
528
|
+
size: e.size
|
|
529
|
+
}), e.type === "image" && s("rtk-image-message-view", {
|
|
530
|
+
url: e.link,
|
|
531
|
+
onPreview: () => {
|
|
532
|
+
this.stateUpdate.emit({ image: e });
|
|
533
|
+
}
|
|
534
|
+
}))))));
|
|
535
|
+
}, this.chatUpdateListener = (e) => {
|
|
536
|
+
e.message.targetUserIds?.length > 0 && !e.message.targetUserIds.includes(this.privateChatRecipient?.userId) || this.privateChatRecipient && e.message.targetUserIds?.length === 0 || (e.action === "add" ? this.$paginatedListRef.onNewNode(e.message) : e.action === "delete" ? this.$paginatedListRef.onNodeDelete(e.message.id) : e.action === "edit" && this.$paginatedListRef.onNodeUpdate(e.message.id, e.message));
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
componentDidLoad() {
|
|
540
|
+
let e = this.host.shadowRoot.querySelector("slot");
|
|
541
|
+
e && (this.children = e.assignedElements()[0]);
|
|
542
|
+
}
|
|
543
|
+
connectedCallback() {
|
|
544
|
+
this.meetingChanged(this.meeting);
|
|
545
|
+
}
|
|
546
|
+
async onPinnedMessageSelect(e) {
|
|
547
|
+
var t;
|
|
548
|
+
let n = e.detail;
|
|
549
|
+
n && await ((t = this.$paginatedListRef)?.reset)?.call(t, n.timeMs + 1);
|
|
550
|
+
}
|
|
551
|
+
disconnectedCallback() {
|
|
552
|
+
this.disconnectMeeting(this.meeting);
|
|
553
|
+
}
|
|
554
|
+
privateChatRecipientChanged() {
|
|
555
|
+
var e;
|
|
556
|
+
(e = this.$paginatedListRef) == null || e.reset();
|
|
557
|
+
}
|
|
558
|
+
meetingChanged(e, t) {
|
|
559
|
+
var n;
|
|
560
|
+
t != null && this.disconnectMeeting(t), !(e && !e.chat) && (e != null && ((n = e.chat) == null || n.addListener("chatUpdate", this.chatUpdateListener), e.self.permissions.addListener("permissionsUpdate", this.permissionsUpdateListener)), this.permissionsUpdateListener());
|
|
561
|
+
}
|
|
562
|
+
render() {
|
|
563
|
+
return s(n, { key: "8062f966f4bc489a4fdadb2da59bb88473e45194" }, s("rtk-paginated-list", {
|
|
564
|
+
key: "7f50458ee29cd7bd83bd123303e82db556230d67",
|
|
565
|
+
ref: (e) => this.$paginatedListRef = e,
|
|
566
|
+
pageSize: this.pageSize,
|
|
567
|
+
pagesAllowed: 3,
|
|
568
|
+
fetchData: this.getChatMessages,
|
|
569
|
+
createNodes: this.createChatNodes,
|
|
570
|
+
emptyListLabel: this.t("chat.empty_chat")
|
|
571
|
+
}, s("slot", { key: "69b0106558d9995b0bc24ed3d0d36f56febbf90f" })));
|
|
572
|
+
}
|
|
573
|
+
get host() {
|
|
574
|
+
return a(this);
|
|
575
|
+
}
|
|
576
|
+
static get watchers() {
|
|
577
|
+
return {
|
|
578
|
+
privateChatRecipient: ["privateChatRecipientChanged"],
|
|
579
|
+
meeting: ["meetingChanged"]
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
};
|
|
583
|
+
E([f()], D.prototype, "meeting", void 0), E([f()], D.prototype, "iconPack", void 0), E([f()], D.prototype, "t", void 0), D.style = Oe;
|
|
584
|
+
var ke = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;width:100%;flex-direction:column;font-size:14px;position:relative;box-sizing:border-box;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.chat-header{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px);border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.chat-header-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}.dropdown{position:absolute;top:100%;z-index:10;padding:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));opacity:0;pointer-events:none;border-bottom-right-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);left:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);max-width:calc(100vw - var(--rtk-space-4, 16px));box-sizing:border-box}.dropdown.open{opacity:1;pointer-events:auto;border-width:1px;border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity))}.dropdown rtk-paginated-list{box-sizing:border-box;display:flex;height:30vh;flex-direction:column}.public-chat-group-label{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-bottom-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}.public-chat-icon{display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-1, 4px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.public-chat-icon rtk-icon{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}", O = function(e, t, n, r) {
|
|
585
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
586
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
587
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
588
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
589
|
+
}, k = class {
|
|
590
|
+
constructor(e) {
|
|
591
|
+
r(this, e), this.dropdownToggle = o(this, "rtkDropdownToggle", 7), this.chatSelectorChange = o(this, "rtkChatSelectorChange", 7), this.config = u(), this.iconPack = l, this.t = t(), this.overrides = c, this.isOpen = !1, this.showPrivateChat = !1, this.selectedUser = void 0, this.pageSize = 1e5, this.pagesAllowed = 3, this.unreadMap = /* @__PURE__ */ new Map(), this.disconnectMeeting = (e) => {
|
|
592
|
+
var t, n, r, i;
|
|
593
|
+
let { self: a, participants: o } = e || {};
|
|
594
|
+
(t = e.chat) == null || t.off("chatUpdate", this.chatUpdateListener), (n = a?.permissions) == null || n.off("*", this.chatPermissionUpdateListener), (r = o?.joined) == null || r.off("participantJoined", this.participantJoinedListener), (i = o?.joined) == null || i.off("participantLeft", this.participantLeftListener);
|
|
595
|
+
}, this.toggle = (e) => {
|
|
596
|
+
e.preventDefault(), e.stopPropagation(), this.isOpen = !this.isOpen, this.dropdownToggle.emit({ open: this.isOpen });
|
|
597
|
+
}, this.selectUser = async (e) => {
|
|
598
|
+
e?.userId && (this.unreadMap.set(e.userId, !1), this.$paginatedListRef.rerenderList()), this.selectedUser = e, this.chatSelectorChange.emit({ selectedUser: e }), await this.close();
|
|
599
|
+
}, this.chatPermissionUpdateListener = () => {
|
|
600
|
+
this.showPrivateChat = !!(this.meeting.self.permissions.chatPrivate?.canSend || this.meeting.self.permissions.chatPrivate?.canReceive), this.showPrivateChat || (this.selectedUser = void 0, this.chatSelectorChange.emit({ selectedUser: void 0 }));
|
|
601
|
+
}, this.onParticipantUpdate = () => {
|
|
602
|
+
var e;
|
|
603
|
+
this.selectedUser && ((((e = this.meeting?.participants?.joined)?.toArray)?.call(e) || []).some((e) => e.id === this.selectedUser?.id) || (this.selectedUser = void 0, this.chatSelectorChange.emit({ selectedUser: void 0 })));
|
|
604
|
+
}, this.participantJoinedListener = (e) => {
|
|
605
|
+
this.$paginatedListRef.onNewNode(e);
|
|
606
|
+
}, this.participantLeftListener = (e) => {
|
|
607
|
+
this.$paginatedListRef.onNodeDelete(e.id), this.onParticipantUpdate();
|
|
608
|
+
}, this.getParticipants = async (e, t, n) => {
|
|
609
|
+
let r = this.meeting;
|
|
610
|
+
return !r || !e ? [] : r.participants.joined.toArray();
|
|
611
|
+
}, this.createPaticipantNodes = (e) => e.map((e) => s("div", {
|
|
612
|
+
class: "private-chat-label",
|
|
613
|
+
id: e.id,
|
|
614
|
+
onClick: () => this.selectUser(e)
|
|
615
|
+
}, s("rtk-avatar", {
|
|
616
|
+
size: "sm",
|
|
617
|
+
participant: e
|
|
618
|
+
}), s("span", null, e.name ?? this.t("participant")), this.unreadMap.get(e.userId) ? s("div", { class: "private-chat-unread-badge" }) : null)), this.chatUpdateListener = (e) => {
|
|
619
|
+
if (e.action !== "add" || !e.message.targetUserIds?.length) return;
|
|
620
|
+
let t = this.meeting.self.userId, n = e.message.targetUserIds.find((e) => e !== t);
|
|
621
|
+
n && (this.unreadMap.set(n, !0), this.$paginatedListRef.rerenderList());
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
async close() {
|
|
625
|
+
this.isOpen && (this.isOpen = !1, this.dropdownToggle.emit({ open: !1 }));
|
|
626
|
+
}
|
|
627
|
+
connectedCallback() {
|
|
628
|
+
this.meetingChanged(this.meeting), this.overridesChanged(this.overrides);
|
|
629
|
+
}
|
|
630
|
+
disconnectedCallback() {
|
|
631
|
+
var e, t, n;
|
|
632
|
+
if (!this.meeting) return;
|
|
633
|
+
let { self: r, participants: i } = this.meeting;
|
|
634
|
+
(e = r?.permissions) == null || e.off("*", this.chatPermissionUpdateListener), (t = i?.joined) == null || t.off("participantJoined", this.participantJoinedListener), (n = i?.joined) == null || n.off("participantLeft", this.participantLeftListener);
|
|
635
|
+
}
|
|
636
|
+
overridesChanged(e) {
|
|
637
|
+
!this.meeting || this.meeting.self || (this.showPrivateChat = !!(this.meeting.self.permissions.chatPrivate?.canSend || this.meeting.self.permissions.chatPrivate?.canReceive) && !e.disablePrivateChat);
|
|
638
|
+
}
|
|
639
|
+
meetingChanged(e, t) {
|
|
640
|
+
var n, r, i;
|
|
641
|
+
t && this.disconnectMeeting(t), !(!e || !e.chat) && (this.showPrivateChat = !!(e.self.permissions.chatPrivate?.canSend || e.self.permissions.chatPrivate?.canReceive) && !this.overrides.disablePrivateChat, this.onParticipantUpdate(), (n = e.chat) == null || n.on("chatUpdate", this.chatUpdateListener), e.self.permissions.on("*", this.chatPermissionUpdateListener), (r = e?.participants?.joined) == null || r.on("participantJoined", this.participantJoinedListener), (i = e?.participants?.joined) == null || i.on("participantLeft", this.participantLeftListener));
|
|
642
|
+
}
|
|
643
|
+
render() {
|
|
644
|
+
return this.showPrivateChat ? s(n, null, s("div", {
|
|
645
|
+
class: "chat-header",
|
|
646
|
+
onClick: this.toggle
|
|
647
|
+
}, s("div", { class: "chat-header-label" }, this.selectedUser ? s("rtk-icon", {
|
|
648
|
+
icon: this.iconPack.people,
|
|
649
|
+
size: "sm"
|
|
650
|
+
}) : s("rtk-icon", {
|
|
651
|
+
icon: this.iconPack.participants,
|
|
652
|
+
size: "sm"
|
|
653
|
+
}), this.selectedUser ? this.selectedUser.name : this.t("chat.everyone")), s("div", { class: "chevron" }, s("rtk-icon", {
|
|
654
|
+
icon: this.isOpen ? this.iconPack.chevron_up : this.iconPack.chevron_down,
|
|
655
|
+
size: "sm"
|
|
656
|
+
}))), s("div", { class: {
|
|
657
|
+
dropdown: !0,
|
|
658
|
+
open: this.isOpen,
|
|
659
|
+
scrollbar: !0
|
|
660
|
+
} }, s("div", {
|
|
661
|
+
class: "public-chat-group-label",
|
|
662
|
+
onClick: () => this.selectUser(void 0)
|
|
663
|
+
}, s("div", { class: "public-chat-icon" }, s("rtk-icon", {
|
|
664
|
+
icon: this.iconPack.participants,
|
|
665
|
+
size: "sm"
|
|
666
|
+
})), this.t("chat.everyone")), s("rtk-paginated-list", {
|
|
667
|
+
class: "chat-selector-paginated-list",
|
|
668
|
+
ref: (e) => this.$paginatedListRef = e,
|
|
669
|
+
pageSize: this.pageSize,
|
|
670
|
+
pagesAllowed: 3,
|
|
671
|
+
fetchData: this.getParticipants,
|
|
672
|
+
createNodes: this.createPaticipantNodes,
|
|
673
|
+
emptyListLabel: this.t("participants.empty_list")
|
|
674
|
+
}, s("slot", null)))) : null;
|
|
675
|
+
}
|
|
676
|
+
static get watchers() {
|
|
677
|
+
return {
|
|
678
|
+
overrides: ["overridesChanged"],
|
|
679
|
+
meeting: ["meetingChanged"]
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
};
|
|
683
|
+
O([f()], k.prototype, "meeting", void 0), O([f()], k.prototype, "states", void 0), O([f()], k.prototype, "config", void 0), O([f()], k.prototype, "iconPack", void 0), O([f()], k.prototype, "t", void 0), O([f()], k.prototype, "overrides", void 0), k.style = ke;
|
|
684
|
+
var Ae = ":host{display:flex;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));border-top-left-radius:var(--rtk-border-radius-md, 8px);border-top-right-radius:var(--rtk-border-radius-md, 8px)}.preview-overlay{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);background-color:inherit}.preview{position:absolute;top:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);max-width:-moz-fit-content;max-width:fit-content;max-height:var(--rtk-space-20, 80px)}.preview:hover rtk-tooltip{display:block}.preview rtk-tooltip{position:absolute;top:calc(var(--rtk-space-1, 4px) * -1);left:calc(var(--rtk-space-1, 4px) * -1);display:none;margin-left:calc(var(--rtk-space-1, 4px) * -1);margin-top:calc(var(--rtk-space-1, 4px) * -1)}.preview rtk-button{display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));border:1px solid rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview-image{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);-o-object-fit:cover;object-fit:cover;max-height:100%;max-width:100%;overflow:clip;border-radius:var(--rtk-border-radius-md, 8px)}.preview-file{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--rtk-border-radius-md, 8px);max-width:200px}", A = function(e, t, n, r) {
|
|
685
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
686
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
687
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
688
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
689
|
+
}, j = class {
|
|
690
|
+
constructor(e) {
|
|
691
|
+
r(this, e), this.onDeleteAttachment = o(this, "deleteAttachment", 7), this.iconPack = l, this.t = t(), this.attachment = null, this.filePreview = null, this.fileReader = new FileReader(), this.generatePreview = () => {
|
|
692
|
+
this.attachment.type === "image" ? this.fileReader.readAsDataURL(this.attachment.file) : this.attachment.type === "file" && (this.filePreview = this.attachment.file.name);
|
|
693
|
+
}, this.onDeleteClickHandler = () => {
|
|
694
|
+
this.filePreview = null, this.onDeleteAttachment.emit();
|
|
695
|
+
};
|
|
696
|
+
}
|
|
697
|
+
onAttachmentChange() {
|
|
698
|
+
this.generatePreview();
|
|
699
|
+
}
|
|
700
|
+
connectedCallback() {
|
|
701
|
+
this.fileReader.onload = (e) => {
|
|
702
|
+
typeof e.target.result == "string" && (this.filePreview = e.target.result);
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
componentWillLoad() {
|
|
706
|
+
this.onAttachmentChange();
|
|
707
|
+
}
|
|
708
|
+
render() {
|
|
709
|
+
return s(n, { key: "51ac9914a6c3626f3abd63d8101dd33d956f0cb0" }, s("div", {
|
|
710
|
+
key: "9520035fca81e905b7bcc3696ec9803ca127a370",
|
|
711
|
+
class: "preview-overlay"
|
|
712
|
+
}, s("div", {
|
|
713
|
+
key: "6c8139ece3ce95836f7853a160c0a01e298c2892",
|
|
714
|
+
class: "preview"
|
|
715
|
+
}, s("rtk-tooltip", {
|
|
716
|
+
key: "d3379d7a4a3b09c15d75ec4fce8bc7c2e89b1df4",
|
|
717
|
+
label: this.t("chat.cancel_upload")
|
|
718
|
+
}, s("rtk-button", {
|
|
719
|
+
key: "d5badd1b4a2fce0f2958d8923adde9353562eb8a",
|
|
720
|
+
variant: "secondary",
|
|
721
|
+
kind: "icon",
|
|
722
|
+
onClick: this.onDeleteClickHandler
|
|
723
|
+
}, s("rtk-icon", {
|
|
724
|
+
key: "4acde8f6352eab6e2277f6317ef226d22defe4e0",
|
|
725
|
+
icon: this.iconPack.dismiss
|
|
726
|
+
}))), this.attachment.type === "image" ? s("img", {
|
|
727
|
+
class: "preview-image",
|
|
728
|
+
src: this.filePreview
|
|
729
|
+
}) : s("div", { class: "preview-file" }, s("span", null, this.filePreview)))));
|
|
730
|
+
}
|
|
731
|
+
static get watchers() {
|
|
732
|
+
return { attachment: ["onAttachmentChange"] };
|
|
733
|
+
}
|
|
734
|
+
};
|
|
735
|
+
A([f()], j.prototype, "iconPack", void 0), A([f()], j.prototype, "t", void 0), j.style = Ae;
|
|
736
|
+
var je = "https://rtk-assets.realtime.cloudflare.com/assets/emojis-data.json", Me, Ne = async () => (Me ||= (await fetch(je)).json(), Me), Pe = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{width:100%}.emoji-parent{box-sizing:border-box;display:inline-flex;height:var(--rtk-space-64, 256px);width:100%;max-width:640px;flex-direction:column;padding:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-0, 0px);-webkit-user-select:none;-moz-user-select:none;user-select:none;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.close-parent{display:flex;flex:1 1 0%;justify-content:flex-end;padding:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#emoji-grid{margin-top:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;overflow-x:hidden;overflow-y:scroll;height:100%;grid-auto-rows:minmax(min-content, max-content)}#loader{display:flex;height:100%;width:100%;align-items:center;justify-content:center}input{display:block;height:var(--rtk-space-8, 32px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);font-size:14px;border-width:var(--rtk-border-width-none, 0);border-style:solid;border-style:none;border-color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}input::placeholder{color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}input{border-radius:var(--rtk-border-radius-sm, 4px);outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-ring-opacity));--tw-ring-opacity:0.3}.emoji{height:var(--rtk-space-10, 40px);width:var(--rtk-space-10, 40px);font-size:20px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}", Fe = function(e, t, n, r) {
|
|
737
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
738
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
739
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
740
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
741
|
+
}, M = class {
|
|
742
|
+
constructor(e) {
|
|
743
|
+
r(this, e), this.pickerClose = o(this, "pickerClose", 7), this.emojiClicked = o(this, "rtkEmojiClicked", 7), this.iconPack = l, this.t = t(), this.focusWhenOpened = !0, this.filterVal = "", this.filteredEmojis = [];
|
|
744
|
+
}
|
|
745
|
+
componentWillLoad() {
|
|
746
|
+
Ne().then((e) => {
|
|
747
|
+
this.emojiList = e, this.handleInputChange(this.inputElement);
|
|
748
|
+
});
|
|
749
|
+
}
|
|
750
|
+
componentDidLoad() {
|
|
751
|
+
this.focusWhenOpened && this.inputElement.focus();
|
|
752
|
+
}
|
|
753
|
+
handleInputChange(e) {
|
|
754
|
+
this.filterVal = e.value;
|
|
755
|
+
let t = RegExp(`([^,]*?${this.filterVal}[^,]*):(\\d+)`, "g");
|
|
756
|
+
this.filteredEmojis = Array.from(this.emojiList.search.matchAll(t)).map((e) => ({
|
|
757
|
+
name: e[1],
|
|
758
|
+
emoji: this.emojiList.emojis[e[2]]
|
|
759
|
+
}));
|
|
760
|
+
}
|
|
761
|
+
handleEmojiClick(e) {
|
|
762
|
+
this.emojiClicked.emit(e);
|
|
763
|
+
}
|
|
764
|
+
mapEmojiList() {
|
|
765
|
+
return this.emojiList?.length > 0 ? s("div", { id: "loader" }, s("rtk-spinner", { iconPack: this.iconPack })) : s("div", {
|
|
766
|
+
id: "emoji-grid",
|
|
767
|
+
class: "scrollbar max-w-40"
|
|
768
|
+
}, this.filteredEmojis.map((e) => s("rtk-button", {
|
|
769
|
+
key: `emoji-button-${e.name}`,
|
|
770
|
+
class: "emoji",
|
|
771
|
+
variant: "ghost",
|
|
772
|
+
kind: "icon",
|
|
773
|
+
title: e.name,
|
|
774
|
+
onClick: () => this.handleEmojiClick(e.emoji)
|
|
775
|
+
}, e.emoji)));
|
|
776
|
+
}
|
|
777
|
+
render() {
|
|
778
|
+
return s(n, { key: "db0bbe8c8af774ca199ac800fb2a0fba9ef7ab6d" }, s("div", {
|
|
779
|
+
key: "3e51dd2b14a87ebc0c65ee406ec67f92722296ab",
|
|
780
|
+
class: "close-parent"
|
|
781
|
+
}, s("rtk-button", {
|
|
782
|
+
key: "a8697bf95723f0598de3e2b6f88729562466ed81",
|
|
783
|
+
variant: "ghost",
|
|
784
|
+
kind: "icon",
|
|
785
|
+
class: "close",
|
|
786
|
+
onClick: () => this.pickerClose?.emit(),
|
|
787
|
+
"aria-label": this.t("close")
|
|
788
|
+
}, s("rtk-icon", {
|
|
789
|
+
key: "dc787e4ccf8a6f170ccd1f0954602a08a85b12ad",
|
|
790
|
+
icon: this.iconPack.dismiss
|
|
791
|
+
}))), s("div", {
|
|
792
|
+
key: "77f7377f40708c4f5fa3e531621660bf68f01b4b",
|
|
793
|
+
class: "emoji-parent"
|
|
794
|
+
}, s("input", {
|
|
795
|
+
key: "7db399dc58c0c6863db8ed1c80ac313417eab8c9",
|
|
796
|
+
value: this.filterVal,
|
|
797
|
+
onInput: (e) => this.handleInputChange(e.target),
|
|
798
|
+
placeholder: this.t("search"),
|
|
799
|
+
ref: (e) => this.inputElement = e
|
|
800
|
+
}), this.mapEmojiList()));
|
|
801
|
+
}
|
|
802
|
+
};
|
|
803
|
+
Fe([f()], M.prototype, "iconPack", void 0), Fe([f()], M.prototype, "t", void 0), M.style = Pe;
|
|
804
|
+
var Ie = ":host{}", Le = function(e, t, n, r) {
|
|
805
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
806
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
807
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
808
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
809
|
+
}, N = class {
|
|
810
|
+
constructor(e) {
|
|
811
|
+
r(this, e), this.iconPack = l, this.t = t();
|
|
812
|
+
}
|
|
813
|
+
render() {
|
|
814
|
+
return s("rtk-tooltip", {
|
|
815
|
+
key: "82c39530cddfd5cab8672cc5f7f590587749f9cc",
|
|
816
|
+
label: this.t("chat.send_emoji")
|
|
817
|
+
}, s("rtk-button", {
|
|
818
|
+
key: "8e7ee7dbe901b78482ad3f828bb28bda1fdc36b7",
|
|
819
|
+
variant: "ghost",
|
|
820
|
+
kind: "icon",
|
|
821
|
+
class: { active: this.isActive },
|
|
822
|
+
title: this.t("chat.send_emoji")
|
|
823
|
+
}, s("rtk-icon", {
|
|
824
|
+
key: "a83691903dae86b3cb7c8cf17fb488e4da13090b",
|
|
825
|
+
icon: this.iconPack.emoji_multiple
|
|
826
|
+
})));
|
|
827
|
+
}
|
|
828
|
+
};
|
|
829
|
+
Le([f()], N.prototype, "iconPack", void 0), Le([f()], N.prototype, "t", void 0), N.style = Ie;
|
|
830
|
+
var Re = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);min-width:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.file .file-data{margin-left:var(--rtk-space-1, 4px);flex:1 1 0%}.file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}", ze = function(e, t, n, r) {
|
|
831
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
832
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
833
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
834
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
835
|
+
}, P = class {
|
|
836
|
+
constructor(e) {
|
|
837
|
+
r(this, e), this.iconPack = l;
|
|
838
|
+
}
|
|
839
|
+
render() {
|
|
840
|
+
return s("div", {
|
|
841
|
+
key: "9fce348979b0354484f0deeddc6e55007ef70ae5",
|
|
842
|
+
class: "file"
|
|
843
|
+
}, s("rtk-button", {
|
|
844
|
+
key: "22bc5f6cdff07ec4f9cdb1b588b64e5e604d0029",
|
|
845
|
+
variant: "secondary",
|
|
846
|
+
kind: "icon",
|
|
847
|
+
onClick: () => m(p(this.url), {
|
|
848
|
+
name: this.name,
|
|
849
|
+
fallbackName: "file"
|
|
850
|
+
}),
|
|
851
|
+
part: "button"
|
|
852
|
+
}, s("rtk-icon", {
|
|
853
|
+
key: "3d46920c69604896bba651ae8205d3a761ffdeb7",
|
|
854
|
+
icon: this.iconPack.download
|
|
855
|
+
})), s("div", {
|
|
856
|
+
key: "c42a4c9bdd415d4d307efcb4f375f575220e473a",
|
|
857
|
+
class: "file-data"
|
|
858
|
+
}, s("div", {
|
|
859
|
+
key: "fe9bd86c88ce3184ed0b38dfe312bf7ac0207551",
|
|
860
|
+
class: "name"
|
|
861
|
+
}, this.name), s("div", {
|
|
862
|
+
key: "93aa6bf4c3933b292c59a1522b8398e96938aba3",
|
|
863
|
+
class: "file-data-split"
|
|
864
|
+
}, s("div", {
|
|
865
|
+
key: "2807cbf9844af17617ec76db10689fc6dcb80e0e",
|
|
866
|
+
class: "ext"
|
|
867
|
+
}, fe(this.name)), s("span", {
|
|
868
|
+
key: "fa0a03cf79b2f4dee34a11fb0a0bf82a608ca3c1",
|
|
869
|
+
class: "divider"
|
|
870
|
+
}), s("div", {
|
|
871
|
+
key: "0fd5d15e43aca15ffd3ae2fc6b176c0455ea5db3",
|
|
872
|
+
class: "size"
|
|
873
|
+
}, pe(this.size)))));
|
|
874
|
+
}
|
|
875
|
+
};
|
|
876
|
+
ze([f()], P.prototype, "iconPack", void 0), P.style = Re;
|
|
877
|
+
var Be = ":host{}", F = function(e, t, n, r) {
|
|
878
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
879
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
880
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
881
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
882
|
+
}, I = class {
|
|
883
|
+
constructor(e) {
|
|
884
|
+
r(this, e), this.onFileChange = o(this, "fileChange", 7), this.icon = "attach", this.iconPack = l, this.t = t(), this.uploadFile = () => {
|
|
885
|
+
let e = this.fileInputField;
|
|
886
|
+
e.type = "file", this.filter && (e.accept = this.filter), e.onchange = (e) => {
|
|
887
|
+
let { validity: t, files: [n] } = e.target;
|
|
888
|
+
t.valid && this.onFileChange.emit(n);
|
|
889
|
+
}, e.click();
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
connectedCallback() {
|
|
893
|
+
this.fileInputField = document.createElement("input");
|
|
894
|
+
}
|
|
895
|
+
disconnectedCallback() {
|
|
896
|
+
this.fileInputField = void 0;
|
|
897
|
+
}
|
|
898
|
+
render() {
|
|
899
|
+
let e = this.label || this.t("chat.send_file"), t = this.iconPack[this.icon];
|
|
900
|
+
return s("rtk-tooltip", {
|
|
901
|
+
key: "c97c7e1e106e14f2443dd405fd6657a14d9d315c",
|
|
902
|
+
label: e
|
|
903
|
+
}, s("rtk-button", {
|
|
904
|
+
key: "cffa7ef14cc7fe0285e642ca76b658b6c70d4b42",
|
|
905
|
+
variant: "ghost",
|
|
906
|
+
kind: "icon",
|
|
907
|
+
onClick: () => this.uploadFile(),
|
|
908
|
+
title: e
|
|
909
|
+
}, s("rtk-icon", {
|
|
910
|
+
key: "47133f919946ce2a63e4f2b64977f1127a4eae7c",
|
|
911
|
+
icon: t
|
|
912
|
+
})));
|
|
913
|
+
}
|
|
914
|
+
};
|
|
915
|
+
F([f()], I.prototype, "iconPack", void 0), F([f()], I.prototype, "t", void 0), I.style = Be;
|
|
916
|
+
var Ve = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block;height:var(--rtk-space-10, 40px);outline:2px solid transparent;outline-offset:2px}:host .icon-wrapper{display:flex;height:100%;width:100%;flex-direction:column;align-items:center}:host svg{height:100%;width:100%;outline:2px solid transparent;outline-offset:2px}:host([size='xl']){box-sizing:border-box;display:block;height:var(--rtk-space-16, 64px) !important;width:var(--rtk-space-16, 64px) !important;--rtk-spinner-color:currentColor}:host([size='md']){box-sizing:border-box;display:block;height:var(--rtk-space-6, 24px) !important;width:var(--rtk-space-6, 24px) !important;--rtk-spinner-color:currentColor}:host([size='sm']){box-sizing:border-box;display:block;height:var(--rtk-space-4, 16px) !important;width:var(--rtk-space-4, 16px) !important;--rtk-spinner-color:currentColor}:host([variant='secondary']) .icon-wrapper{--tw-text-opacity:1;color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-text-opacity))}:host([variant='danger']) .icon-wrapper{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}", He = (e) => {
|
|
917
|
+
try {
|
|
918
|
+
return JSON.parse(e);
|
|
919
|
+
} catch {
|
|
920
|
+
return e;
|
|
921
|
+
}
|
|
922
|
+
}, L = class {
|
|
923
|
+
constructor(e) {
|
|
924
|
+
r(this, e), this.variant = "primary", this.size = "lg";
|
|
925
|
+
}
|
|
926
|
+
render() {
|
|
927
|
+
return s(n, { key: "fdbe6fd9647bae7cfdf02ba6a250aa3c0c39ad85" }, s("div", {
|
|
928
|
+
key: "114baca2f9ce9376e69073b40170473cc359915f",
|
|
929
|
+
class: "icon-wrapper",
|
|
930
|
+
innerHTML: He(this.icon),
|
|
931
|
+
part: "wrapper"
|
|
932
|
+
}));
|
|
933
|
+
}
|
|
934
|
+
};
|
|
935
|
+
L.style = Ve;
|
|
936
|
+
var Ue = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.image-spinner{cursor:wait}.image-errored{cursor:not-allowed}.image{display:block;font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}", R = function(e, t, n, r) {
|
|
937
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
938
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
939
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
940
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
941
|
+
}, z = class {
|
|
942
|
+
constructor(e) {
|
|
943
|
+
r(this, e), this.onPreview = o(this, "preview", 7), this.iconPack = l, this.t = t(), this.status = "loading";
|
|
944
|
+
}
|
|
945
|
+
render() {
|
|
946
|
+
return s("div", {
|
|
947
|
+
key: "170c98345079edb4814c871ca72c64cade6a4add",
|
|
948
|
+
class: {
|
|
949
|
+
image: !0,
|
|
950
|
+
loaded: this.status === "loaded"
|
|
951
|
+
}
|
|
952
|
+
}, s("img", {
|
|
953
|
+
key: "88189cf42bab19881f2a95a4230f7d0ac66f4337",
|
|
954
|
+
src: p(this.url),
|
|
955
|
+
onLoad: () => {
|
|
956
|
+
this.status = "loaded";
|
|
957
|
+
},
|
|
958
|
+
onError: () => {
|
|
959
|
+
this.status = "errored";
|
|
960
|
+
},
|
|
961
|
+
onClick: () => {
|
|
962
|
+
this.status === "loaded" && this.onPreview.emit(this.url);
|
|
963
|
+
}
|
|
964
|
+
}), this.status === "loading" && s("div", {
|
|
965
|
+
key: "54068ed33b45ea3e5096a3d9f7ad4d0e43021a9d",
|
|
966
|
+
class: "image-spinner",
|
|
967
|
+
title: this.t("chat.img.loading"),
|
|
968
|
+
"aria-label": this.t("chat.img.loading")
|
|
969
|
+
}, s("rtk-spinner", {
|
|
970
|
+
key: "cd48be496f0dd93e570a968fabcd57396a74c3b5",
|
|
971
|
+
iconPack: this.iconPack
|
|
972
|
+
})), this.status === "errored" && s("div", {
|
|
973
|
+
key: "f978c01f72fec9fe777afa1b4c2be3aa90eeb2bf",
|
|
974
|
+
class: "image-errored",
|
|
975
|
+
title: this.t("chat.error.img_not_found"),
|
|
976
|
+
"aria-label": this.t("chat.error.img_not_found")
|
|
977
|
+
}, s("rtk-icon", {
|
|
978
|
+
key: "976ff4914e5d74b70aac86c1bdbacd0d6d685f73",
|
|
979
|
+
icon: this.iconPack.image_off
|
|
980
|
+
})), this.status === "loaded" && s("div", {
|
|
981
|
+
key: "94eb2ae1370cd8bd58f8e21238f860eff9a649cc",
|
|
982
|
+
class: "actions"
|
|
983
|
+
}, s("rtk-button", {
|
|
984
|
+
key: "ca64db76c200c2a902e35da82ff412e4d9324c23",
|
|
985
|
+
class: "action",
|
|
986
|
+
variant: "secondary",
|
|
987
|
+
kind: "icon",
|
|
988
|
+
onClick: () => {
|
|
989
|
+
this.onPreview.emit(this.url);
|
|
990
|
+
}
|
|
991
|
+
}, s("rtk-icon", {
|
|
992
|
+
key: "d764aa39aabb1ebf8e9a0e7c395d4b5383c9022e",
|
|
993
|
+
icon: this.iconPack.full_screen_maximize
|
|
994
|
+
})), s("rtk-button", {
|
|
995
|
+
key: "1aade465c956175dfd4d31b6d48236f304154ef8",
|
|
996
|
+
class: "action",
|
|
997
|
+
variant: "secondary",
|
|
998
|
+
kind: "icon",
|
|
999
|
+
onClick: () => m(this.url, { fallbackName: "image" })
|
|
1000
|
+
}, s("rtk-icon", {
|
|
1001
|
+
key: "dbcba831bcc1f66a3b20624945883d4ce9ca301b",
|
|
1002
|
+
icon: this.iconPack.download
|
|
1003
|
+
}))));
|
|
1004
|
+
}
|
|
1005
|
+
};
|
|
1006
|
+
R([f()], z.prototype, "iconPack", void 0), R([f()], z.prototype, "t", void 0), z.style = Ue;
|
|
1007
|
+
var We = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{overflow-wrap:break-word}a{color:currentColor}.block-quote,blockquote{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px);--tw-border-spacing-x:1px;--tw-border-spacing-y:1px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-md, 2px);border-right-width:var(--rtk-border-width-none, 0);border-style:solid;padding:var(--rtk-space-0\\.5, 2px);padding-left:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);border-top-left-radius:var(--rtk-border-radius-none, 0);border-bottom-left-radius:var(--rtk-border-radius-none, 0)}pre{white-space:pre-wrap;width:300px;margin-right:var(--rtk-space-2, 8px)}.markdown-message{box-sizing:border-box}", B = class {
|
|
1008
|
+
constructor(e) {
|
|
1009
|
+
r(this, e), this.maxLength = de, this.restoreEmpty = (e, t, n) => e.trim().length === 0 ? `${t}${e}${t}` : n(e), this.renderLink = (e) => s("a", {
|
|
1010
|
+
class: "link",
|
|
1011
|
+
href: e,
|
|
1012
|
+
target: "_blank",
|
|
1013
|
+
rel: "noopener noreferrer"
|
|
1014
|
+
}, e), this.renderBold = (e) => typeof e == "string" ? this.restoreEmpty(e, "*", (e) => s("b", null, e)) : s("b", null, this.renderTokens(e)), this.renderItalic = (e) => typeof e == "string" ? this.restoreEmpty(e, "_", (e) => s("i", null, e)) : s("i", null, this.renderTokens(e)), this.renderStrikethrough = (e) => typeof e == "string" ? this.restoreEmpty(e, "~", (e) => s("s", null, e)) : s("b", null, this.renderTokens(e)), this.renderPlainText = (e) => typeof e == "string" ? e : s("p", null, this.renderTokens(e)), this.renderTokens = (e) => e.map((e) => {
|
|
1015
|
+
switch (e.type) {
|
|
1016
|
+
case "a": if (typeof e.content == "string") return this.renderLink(e.content);
|
|
1017
|
+
case "b": return this.renderBold(e.content);
|
|
1018
|
+
case "i": return this.renderItalic(e.content);
|
|
1019
|
+
case "s": return this.renderStrikethrough(e.content);
|
|
1020
|
+
case "q": return s("span", { class: "block-quote" });
|
|
1021
|
+
default: return this.renderPlainText(e.content);
|
|
1022
|
+
}
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
renderMessage(e) {
|
|
1026
|
+
let t = e.split("\n"), n = !1;
|
|
1027
|
+
t[0] === "```" && t[t.length - 1] === "```" && (n = !0, t = t.slice(1, -1));
|
|
1028
|
+
let r = t.map((e) => {
|
|
1029
|
+
let t = ue(e);
|
|
1030
|
+
return s("p", null, this.renderTokens(t));
|
|
1031
|
+
});
|
|
1032
|
+
return n ? s("pre", { style: {
|
|
1033
|
+
whiteSpace: "pre",
|
|
1034
|
+
overflow: "scroll"
|
|
1035
|
+
} }, t.join("\n")) : r;
|
|
1036
|
+
}
|
|
1037
|
+
render() {
|
|
1038
|
+
let e = this.text.slice(0, this.maxLength), t = le(e, !0), n = ce(e);
|
|
1039
|
+
return s("p", {
|
|
1040
|
+
key: "b4114b74658b0311835f31ea387e47ef9323ef4f",
|
|
1041
|
+
class: "markdown-message"
|
|
1042
|
+
}, t.length !== 0 && s("blockquote", { key: "cc726294f8b71999f6fa48442b40419f17e3c049" }, this.renderMessage(t)), n.length !== 0 && this.renderMessage(n));
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
1045
|
+
B.style = We;
|
|
1046
|
+
var V = {
|
|
1047
|
+
sm: 640,
|
|
1048
|
+
md: 768,
|
|
1049
|
+
lg: 1080,
|
|
1050
|
+
xl: 2160
|
|
1051
|
+
}, Ge = (e) => e >= V.lg ? "lg" : e >= V.md ? "md" : "sm", Ke = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;position:fixed;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);height:100%;width:100%}:host([mode='fill']){position:relative}", H = class {
|
|
1052
|
+
constructor(e) {
|
|
1053
|
+
r(this, e), this.statesUpdate = o(this, "rtkStatesUpdate", 7), this.providerId = "provider-" + Math.floor(Math.random() * 100), this.roomJoinedListener = () => {
|
|
1054
|
+
this.updateStates({
|
|
1055
|
+
meeting: "joined",
|
|
1056
|
+
joinError: void 0,
|
|
1057
|
+
joinErrorCode: void 0
|
|
1058
|
+
});
|
|
1059
|
+
}, this.waitlistedListener = () => {
|
|
1060
|
+
this.updateStates({ meeting: "waiting" });
|
|
1061
|
+
}, this.roomLeftListener = ({ state: e }) => {
|
|
1062
|
+
e === "disconnected" || e === "failed" || this.updateStates({
|
|
1063
|
+
meeting: "ended",
|
|
1064
|
+
roomLeftState: e
|
|
1065
|
+
});
|
|
1066
|
+
}, this.mediaPermissionUpdateListener = ({ kind: e, message: t }) => {
|
|
1067
|
+
if (["audio", "video"].includes(e) && (t === "DENIED" || t === "SYSTEM_DENIED") && (this.peerStore || i).state.states.activeDebugger !== !0) {
|
|
1068
|
+
let t = {
|
|
1069
|
+
enabled: !0,
|
|
1070
|
+
kind: e
|
|
1071
|
+
};
|
|
1072
|
+
this.updateStates({ activePermissionsMessage: t });
|
|
1073
|
+
}
|
|
1074
|
+
}, this.socketConnectionUpdateListener = ({ state: e }) => {
|
|
1075
|
+
e === "failed" && setTimeout(() => {
|
|
1076
|
+
this.meeting.leave("disconnected");
|
|
1077
|
+
}, this.leaveRoomTimer);
|
|
1078
|
+
}, this.peerStore = null, this.loadConfigFromPreset = !1, this.applyDesignSystem = !1, this.mode = "fixed", this.leaveOnUnmount = !1, this.t = t(), this.config = u(), this.gridLayout = "row", this.iconPack = l, this.overrides = c, this.handleChangingMeeting = (e) => {
|
|
1079
|
+
let t = (this.peerStore || i).state.states;
|
|
1080
|
+
this.updateStates({ activeBreakoutRoomsManager: Object.assign(Object.assign({}, t.activeBreakoutRoomsManager), { destinationMeetingId: e }) });
|
|
1081
|
+
};
|
|
1082
|
+
}
|
|
1083
|
+
connectedCallback() {
|
|
1084
|
+
typeof window < "u" && (this.authErrorListener = (e) => {
|
|
1085
|
+
e.detail.message.includes("401") && this.updateStates({
|
|
1086
|
+
meeting: "ended",
|
|
1087
|
+
roomLeftState: "unauthorized"
|
|
1088
|
+
});
|
|
1089
|
+
}, window.addEventListener("rtkError", this.authErrorListener)), this.leaveRoomTimer = 1e4, this.loadConfigFromPreset = !0, this.applyDesignSystem = !0, this.setupStoreRequestListener(), this.setupStateUpdateListener(), this.meetingChanged(this.meeting), this.iconPackChanged(this.iconPack), this.tChanged(this.t), this.configChanged(this.config), this.overridesChanged(this.overrides), this.resizeObserver = new he(() => this.handleResize()), this.resizeObserver.observe(this.host), this.applyDesignSystem && this.config?.designTokens != null && typeof document < "u" && (this.peerStore || i).state.states.activeDebugger !== !0 && h(document.documentElement, this.config.designTokens);
|
|
1090
|
+
}
|
|
1091
|
+
disconnectedCallback() {
|
|
1092
|
+
var e;
|
|
1093
|
+
this.leaveOnUnmount && ((e = this.meeting) == null || e.leaveRoom()), this.resizeObserver.disconnect(), window.removeEventListener("rtkError", this.authErrorListener), this.storeRequestListener &&= (this.host.removeEventListener("rtkRequestStore", this.storeRequestListener), null), this.stateUpdateListener &&= (this.host.removeEventListener("rtkStateUpdate", this.stateUpdateListener), null), this.meeting && this.clearListeners(this.meeting);
|
|
1094
|
+
}
|
|
1095
|
+
setupStoreRequestListener() {
|
|
1096
|
+
this.storeRequestListener && this.host.removeEventListener("rtkRequestStore", this.storeRequestListener), this.storeRequestListener = (e) => {
|
|
1097
|
+
if (!this.peerStore) return;
|
|
1098
|
+
let t = this.peerStore, n = new CustomEvent("rtkProvideStore", { detail: {
|
|
1099
|
+
store: t,
|
|
1100
|
+
requestId: e.detail.requestId
|
|
1101
|
+
} });
|
|
1102
|
+
document.dispatchEvent(n), e.stopPropagation();
|
|
1103
|
+
}, this.host.addEventListener("rtkRequestStore", this.storeRequestListener);
|
|
1104
|
+
}
|
|
1105
|
+
setupStateUpdateListener() {
|
|
1106
|
+
this.stateUpdateListener && this.host.removeEventListener("rtkStateUpdate", this.stateUpdateListener), this.stateUpdateListener = (e) => {
|
|
1107
|
+
let t = e.target;
|
|
1108
|
+
this.host.contains(t) && this.updateStates(e.detail);
|
|
1109
|
+
}, this.host.addEventListener("rtkStateUpdate", this.stateUpdateListener);
|
|
1110
|
+
}
|
|
1111
|
+
clearListeners(e) {
|
|
1112
|
+
e && (e.self.removeListener("roomLeft", this.roomLeftListener), e.self.removeListener("roomJoined", this.roomJoinedListener), e.self.removeListener("waitlisted", this.waitlistedListener), e.self.removeListener("mediaPermissionUpdate", this.mediaPermissionUpdateListener), e.meta.removeListener("socketConnectionUpdate", this.socketConnectionUpdateListener));
|
|
1113
|
+
}
|
|
1114
|
+
meetingChanged(e, t) {
|
|
1115
|
+
if (!e) return;
|
|
1116
|
+
e ? (this.peerStore = ee({
|
|
1117
|
+
meeting: e,
|
|
1118
|
+
config: this.config,
|
|
1119
|
+
iconPack: this.iconPack,
|
|
1120
|
+
t: this.t,
|
|
1121
|
+
providerId: this.providerId,
|
|
1122
|
+
overrides: g(Object.assign({}, c), this.overrides)
|
|
1123
|
+
}), document.dispatchEvent(new CustomEvent("rtkPeerStoreReady", { detail: { peerId: e.self.id } }))) : this.peerStore = null;
|
|
1124
|
+
let n = this.peerStore || i, r = t ? !!n.state.states.activeCaptions : !!e.self.permissions.transcriptionEnabled;
|
|
1125
|
+
if (this.updateStates({
|
|
1126
|
+
viewType: e.meta.viewType,
|
|
1127
|
+
activeCaptions: r
|
|
1128
|
+
}), this.loadConfigFromPreset && e.self.config != null) {
|
|
1129
|
+
let t = e.self.config, { config: r, data: i } = me(t, e);
|
|
1130
|
+
this.config = r, this.showSetupScreen ??= i.showSetupScreen, e.connectedMeetings.supportsConnectedMeetings && n.state.states.activeBreakoutRoomsManager?.destinationMeetingId && (this.showSetupScreen = !1);
|
|
1131
|
+
}
|
|
1132
|
+
this.applyDesignSystem && this.config?.designTokens != null && typeof document < "u" && n.state.states.activeDebugger !== !0 && h(document.documentElement, this.config.designTokens), e.self.addListener("roomJoined", this.roomJoinedListener), e.self.addListener("waitlisted", this.waitlistedListener), e.self.addListener("roomLeft", this.roomLeftListener), e.self.addListener("mediaPermissionUpdate", this.mediaPermissionUpdateListener), e.meta.addListener("socketConnectionUpdate", this.socketConnectionUpdateListener), e.connectedMeetings.supportsConnectedMeetings && e.connectedMeetings.once("changingMeeting", this.handleChangingMeeting), e.self.roomJoined ? this.updateStates({ meeting: "joined" }) : this.showSetupScreen ? this.updateStates({ meeting: "setup" }) : e.joinRoom().then(() => {
|
|
1133
|
+
this.updateStates({
|
|
1134
|
+
joinError: void 0,
|
|
1135
|
+
joinErrorCode: void 0
|
|
1136
|
+
});
|
|
1137
|
+
}).catch((e) => {
|
|
1138
|
+
let { message: t, code: n } = ge(this.t, e);
|
|
1139
|
+
this.updateStates({
|
|
1140
|
+
joinError: t,
|
|
1141
|
+
joinErrorCode: n
|
|
1142
|
+
});
|
|
1143
|
+
}), window.removeEventListener("rtkError", this.authErrorListener);
|
|
1144
|
+
}
|
|
1145
|
+
iconPackChanged(e) {
|
|
1146
|
+
this.peerStore && (this.peerStore.state.iconPack = e);
|
|
1147
|
+
}
|
|
1148
|
+
tChanged(e) {
|
|
1149
|
+
this.peerStore && (this.peerStore.state.t = e);
|
|
1150
|
+
}
|
|
1151
|
+
configChanged(e) {
|
|
1152
|
+
this.peerStore && (this.peerStore.state.config = e), e?.designTokens && typeof document < "u" && (this.peerStore || i).state.states.activeDebugger !== !0 && h(document.documentElement, e.designTokens);
|
|
1153
|
+
}
|
|
1154
|
+
overridesChanged(e) {
|
|
1155
|
+
this.peerStore && (this.peerStore.state.overrides = g(Object.assign({}, c), e));
|
|
1156
|
+
}
|
|
1157
|
+
handleResize() {
|
|
1158
|
+
this.size = Ge(this.host.clientWidth);
|
|
1159
|
+
}
|
|
1160
|
+
updateStates(e) {
|
|
1161
|
+
let t = this.peerStore || i, n = Object.assign({}, t.state.states);
|
|
1162
|
+
t.state.states = g(n, e), this.statesUpdate.emit(t.state.states);
|
|
1163
|
+
let r = new CustomEvent("rtkStatesUpdate", {
|
|
1164
|
+
detail: t.state.states,
|
|
1165
|
+
bubbles: !0,
|
|
1166
|
+
composed: !0
|
|
1167
|
+
});
|
|
1168
|
+
this.host.dispatchEvent(r);
|
|
1169
|
+
}
|
|
1170
|
+
render() {
|
|
1171
|
+
let e = {
|
|
1172
|
+
meeting: this.meeting,
|
|
1173
|
+
size: this.size,
|
|
1174
|
+
states: (this.peerStore || i).state.states,
|
|
1175
|
+
config: this.config || u(),
|
|
1176
|
+
iconPack: this.iconPack,
|
|
1177
|
+
t: this.t
|
|
1178
|
+
};
|
|
1179
|
+
return (this.peerStore || i).state.states.viewType === "CHAT" ? s("rtk-chat", Object.assign({}, e)) : s(oe, {
|
|
1180
|
+
element: "rtk-meeting",
|
|
1181
|
+
defaults: e,
|
|
1182
|
+
asHost: !0,
|
|
1183
|
+
elementProps: { "rtk-grid": { layout: this.gridLayout } }
|
|
1184
|
+
});
|
|
1185
|
+
}
|
|
1186
|
+
get host() {
|
|
1187
|
+
return a(this);
|
|
1188
|
+
}
|
|
1189
|
+
static get watchers() {
|
|
1190
|
+
return {
|
|
1191
|
+
meeting: ["meetingChanged"],
|
|
1192
|
+
iconPack: ["iconPackChanged"],
|
|
1193
|
+
t: ["tChanged"],
|
|
1194
|
+
config: ["configChanged"],
|
|
1195
|
+
overrides: ["overridesChanged"]
|
|
1196
|
+
};
|
|
1197
|
+
}
|
|
1198
|
+
};
|
|
1199
|
+
H.style = Ke;
|
|
1200
|
+
var qe = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:inline-block;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#menu-list{position:absolute;z-index:20;display:none}", U = function(e, t, n, r) {
|
|
1201
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
1202
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
1203
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
1204
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
1205
|
+
}, W = class {
|
|
1206
|
+
constructor(e) {
|
|
1207
|
+
r(this, e), this.clickedThis = !1, this.placement = "bottom-end", this.offset = 10, this.iconPack = l, this.t = t(), this.handleOutsideClick = () => {
|
|
1208
|
+
this.clickedThis || (this.menuListEl.style.display = "none"), this.clickedThis = !1;
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
componentDidLoad() {
|
|
1212
|
+
document.addEventListener("click", this.handleOutsideClick), this.update();
|
|
1213
|
+
}
|
|
1214
|
+
disconnectedCallback() {
|
|
1215
|
+
document.removeEventListener("click", this.handleOutsideClick);
|
|
1216
|
+
}
|
|
1217
|
+
update() {
|
|
1218
|
+
_(this.triggerEl, this.menuListEl, {
|
|
1219
|
+
placement: this.placement,
|
|
1220
|
+
middleware: [
|
|
1221
|
+
ve(this.offset),
|
|
1222
|
+
_e(),
|
|
1223
|
+
v({ padding: 5 })
|
|
1224
|
+
]
|
|
1225
|
+
}).then(({ x: e, y: t }) => {
|
|
1226
|
+
Object.assign(this.menuListEl.style, {
|
|
1227
|
+
left: `${e}px`,
|
|
1228
|
+
top: `${t}px`
|
|
1229
|
+
});
|
|
1230
|
+
});
|
|
1231
|
+
}
|
|
1232
|
+
render() {
|
|
1233
|
+
return s(n, { key: "65dc1faca548d5222533251ff175db56e37d4251" }, s("span", {
|
|
1234
|
+
key: "68502e98e56a32200bfdea312cb137bcffc9df6b",
|
|
1235
|
+
id: "trigger",
|
|
1236
|
+
ref: (e) => this.triggerEl = e,
|
|
1237
|
+
onClick: () => {
|
|
1238
|
+
this.clickedThis = !0, this.menuListEl.style.display === "block" ? this.menuListEl.style.display = "none" : (this.menuListEl.style.display = "block", this.update());
|
|
1239
|
+
}
|
|
1240
|
+
}, s("slot", {
|
|
1241
|
+
key: "fa0deae3dcf9ed4b8c47ff9695c3ef39fefc014e",
|
|
1242
|
+
name: "trigger"
|
|
1243
|
+
})), s("span", {
|
|
1244
|
+
key: "9e618bf62212c2c04e59ff99bb0eec6cb9835707",
|
|
1245
|
+
part: "menu-list",
|
|
1246
|
+
id: "menu-list",
|
|
1247
|
+
ref: (e) => this.menuListEl = e
|
|
1248
|
+
}, s("slot", { key: "4836bb1ed6a82243264e428d2c4a5dc1228bada1" })));
|
|
1249
|
+
}
|
|
1250
|
+
};
|
|
1251
|
+
U([f()], W.prototype, "iconPack", void 0), U([f()], W.prototype, "t", void 0), W.style = qe;
|
|
1252
|
+
var Je = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:14px}::slotted([slot='start']){margin-right:var(--rtk-space-2, 8px)}::slotted([slot='end']){margin-left:var(--rtk-space-2, 8px)}:host(:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}:host(.primary:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-bg-opacity))}:host(.red){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}", G = function(e, t, n, r) {
|
|
1253
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
1254
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
1255
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
1256
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
1257
|
+
}, K = class {
|
|
1258
|
+
constructor(e) {
|
|
1259
|
+
r(this, e), this.menuVariant = "secondary", this.iconPack = l, this.t = t();
|
|
1260
|
+
}
|
|
1261
|
+
render() {
|
|
1262
|
+
return s(n, {
|
|
1263
|
+
key: "daeee3f1da3b66a803a149013b5973d48fd5c8b5",
|
|
1264
|
+
class: { [this.menuVariant]: !0 }
|
|
1265
|
+
}, s("slot", {
|
|
1266
|
+
key: "d71253130e5c910a3112260898049e00a1e4088e",
|
|
1267
|
+
name: "start"
|
|
1268
|
+
}), s("slot", { key: "8c93c1bd422d1fcb667438373199bff23bcc7a3a" }), s("slot", {
|
|
1269
|
+
key: "e41161c7d4b5fb2652ddc9bda01d57793f144096",
|
|
1270
|
+
name: "end"
|
|
1271
|
+
}));
|
|
1272
|
+
}
|
|
1273
|
+
};
|
|
1274
|
+
G([f()], K.prototype, "iconPack", void 0), G([f()], K.prototype, "t", void 0), K.style = Je;
|
|
1275
|
+
var Ye = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;width:-moz-max-content;width:max-content;flex-direction:column;padding:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));overflow:hidden;border-radius:var(--rtk-border-radius-sm, 4px);--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);backdrop-filter:blur(60px)}:host(.primary){--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity))}", Xe = function(e, t, n, r) {
|
|
1276
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
1277
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
1278
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
1279
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
1280
|
+
}, q = class {
|
|
1281
|
+
constructor(e) {
|
|
1282
|
+
r(this, e), this.iconPack = l, this.menuVariant = "secondary", this.t = t();
|
|
1283
|
+
}
|
|
1284
|
+
render() {
|
|
1285
|
+
return s(n, {
|
|
1286
|
+
key: "747bcb38ca155d89fd5ae2c5fa2e667ad1e96a2f",
|
|
1287
|
+
class: { [this.menuVariant]: !0 }
|
|
1288
|
+
}, s("slot", { key: "5e9137c067847c3c4ef2defdcc958c077b821621" }));
|
|
1289
|
+
}
|
|
1290
|
+
};
|
|
1291
|
+
Xe([f()], q.prototype, "iconPack", void 0), Xe([f()], q.prototype, "t", void 0), q.style = Ye;
|
|
1292
|
+
var Ze = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{max-width:var(--rtk-space-96, 384px)}.message-wrapper{display:flex;flex-direction:row-reverse;align-items:flex-start;gap:var(--rtk-space-2, 8px)}.message-wrapper.incoming{flex-direction:row}.message{display:flex;flex-direction:column;align-items:flex-end}.incoming .message{display:flex;flex-direction:column;align-items:flex-start}.header{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);align-self:flex-end;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));font-size:12px;font-weight:600}.incoming .header{align-self:flex-start}.body{display:flex;flex-direction:column;min-width:var(--rtk-space-24, 96px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));font-size:14px;line-height:1.375;position:relative}.bubble{max-width:90%;padding:var(--rtk-space-2, 8px);border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:var(--rtk-border-radius-md, 8px)}.incoming .bubble{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.metadata{margin-top:var(--rtk-space-2, 8px);display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-1, 4px);align-self:flex-end;font-size:11px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.incoming .metadata{margin-top:var(--rtk-space-2, 8px);display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-1, 4px);align-self:flex-end;font-size:11px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.metadata-content{display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-1, 4px)}.avatar{display:none}rtk-menu{position:absolute;right:var(--rtk-space-1, 4px);top:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-lg, 12px)}rtk-menu rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);cursor:pointer}.actions{display:flex;align-items:center;justify-content:center;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));padding:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none}.actions rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.incoming rtk-avatar{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.incoming .actions{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}@media (min-width: 400px){.avatar{display:flex;width:var(--rtk-space-6, 24px)}.avatar rtk-avatar{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);font-size:10px;overflow:clip;border-radius:9999px}}@media (hover: hover){rtk-menu{visibility:hidden}.body:hover rtk-menu{visibility:visible}}", Qe = function(e, t, n, r) {
|
|
1293
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
1294
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
1295
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
1296
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
1297
|
+
}, J = class {
|
|
1298
|
+
constructor(e) {
|
|
1299
|
+
r(this, e), this.onAction = o(this, "action", 7), this.actions = [], this.variant = "bubble", this.pinned = !1, this.viewType = "outgoing", this.hideAvatar = !1, this.isSelf = !1, this.hideAuthorName = !1, this.hideMetadata = !1, this.iconPack = l;
|
|
1300
|
+
}
|
|
1301
|
+
renderActions() {
|
|
1302
|
+
return s("rtk-menu", {
|
|
1303
|
+
placement: this.isSelf ? "bottom-start" : "bottom-end",
|
|
1304
|
+
offset: 1
|
|
1305
|
+
}, s("button", {
|
|
1306
|
+
slot: "trigger",
|
|
1307
|
+
class: "actions"
|
|
1308
|
+
}, s("rtk-icon", { icon: this.iconPack.chevron_down })), s("rtk-menu-list", { menuVariant: this.isSelf ? "primary" : "secondary" }, this.actions.map((e) => {
|
|
1309
|
+
if (!(e.id === "edit_message" && this.messageType !== "text")) return s("rtk-menu-item", {
|
|
1310
|
+
menuVariant: this.isSelf ? "primary" : "secondary",
|
|
1311
|
+
onClick: () => this.onAction.emit(e.id)
|
|
1312
|
+
}, e.icon && s("rtk-icon", {
|
|
1313
|
+
icon: e.icon,
|
|
1314
|
+
slot: "start"
|
|
1315
|
+
}), e.label);
|
|
1316
|
+
})));
|
|
1317
|
+
}
|
|
1318
|
+
render() {
|
|
1319
|
+
return s(n, { key: "3d53fc59bda6a82e4c4753e34f915c8f62611f6b" }, s("div", {
|
|
1320
|
+
key: "1f9cbd79c9e5526645fafd0c4436b91c6c612f08",
|
|
1321
|
+
class: {
|
|
1322
|
+
"message-wrapper": !0,
|
|
1323
|
+
[this.viewType]: !0
|
|
1324
|
+
}
|
|
1325
|
+
}, !this.hideAvatar && s("aside", {
|
|
1326
|
+
key: "23071b4dff9dd4ecc1385be9a1610ffbab98a9e9",
|
|
1327
|
+
class: "avatar",
|
|
1328
|
+
part: "avatar"
|
|
1329
|
+
}, s("rtk-avatar", {
|
|
1330
|
+
key: "9a4596ea3636188ef391e65f86d6a608b3aa02d5",
|
|
1331
|
+
participant: {
|
|
1332
|
+
name: this.authorName,
|
|
1333
|
+
picture: this.avatarUrl
|
|
1334
|
+
},
|
|
1335
|
+
size: "sm"
|
|
1336
|
+
})), s("div", {
|
|
1337
|
+
key: "eefe1bf5803e371266a0b8ee230dd2f42a193dc2",
|
|
1338
|
+
class: "message",
|
|
1339
|
+
part: "message"
|
|
1340
|
+
}, !this.hideAuthorName && s("div", {
|
|
1341
|
+
key: "45ba437f7a3ba2b253f22a1885d7e5be954a387e",
|
|
1342
|
+
class: "header"
|
|
1343
|
+
}, this.authorName, " ", this.isSelf ? " (You)" : ""), s("div", {
|
|
1344
|
+
key: "e9636fb45358423d5cc4e8144b6b47cf065117cc",
|
|
1345
|
+
class: {
|
|
1346
|
+
body: !0,
|
|
1347
|
+
bubble: this.variant === "bubble"
|
|
1348
|
+
}
|
|
1349
|
+
}, s("slot", { key: "1d6cd92eb8d4514b7ae4266fae8cd060a56ac1e3" }), !this.hideMetadata && !!this.time && s("div", {
|
|
1350
|
+
key: "77b29974a960e4b4809025305ce005aeab8edebc",
|
|
1351
|
+
class: "metadata",
|
|
1352
|
+
title: ne(this.time)
|
|
1353
|
+
}, this.pinned && s("span", {
|
|
1354
|
+
key: "e6b99085f2cbcbc9505c20e5407a98c382306614",
|
|
1355
|
+
class: "metadata-content"
|
|
1356
|
+
}, s("rtk-icon", {
|
|
1357
|
+
key: "45ad875ef38b1db0105c85659cf938cc9bd792d8",
|
|
1358
|
+
icon: this.iconPack.pin,
|
|
1359
|
+
size: "sm"
|
|
1360
|
+
}), " •"), this.isEdited && s("span", {
|
|
1361
|
+
key: "48d5ecd659fe2308d8c33e94a2216049a2bea5ef",
|
|
1362
|
+
class: "metadata-content"
|
|
1363
|
+
}, s("span", { key: "9203ff6d3f65b81b875f5bc17231fd2c65c1c2c2" }, "Edited"), " •"), te(this.time, new Date(Date.now()))), this.actions.length !== 0 && this.renderActions()))));
|
|
1364
|
+
}
|
|
1365
|
+
};
|
|
1366
|
+
Qe([f()], J.prototype, "iconPack", void 0), J.style = Ze;
|
|
1367
|
+
var $e = ".scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;flex:1}:host(.chat-selector-paginated-list) .container{box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}:host(.chat-selector-paginated-list) .private-chat-label{display:flex;width:100%;cursor:pointer;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px)}:host(.chat-selector-paginated-list) .private-chat-label rtk-avatar{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host(.chat-selector-paginated-list) .show-new-messages-ctr.active{display:none}.private-chat-unread-badge{height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host(.pinned-message-selector-paginated-list) .container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}:host(.pinned-message-selector-paginated-list) .page{position:relative;box-sizing:border-box}:host(.pinned-message-selector-paginated-list) .pinned-message{box-sizing:border-box;display:flex;width:100%;cursor:pointer;flex-direction:row;overflow:hidden;border-radius:var(--rtk-border-radius-sm, 4px)}:host(.pinned-message-selector-paginated-list) .pinned-message:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host(.pinned-message-selector-paginated-list) .pinned-message-container{display:flex;width:100%;flex-direction:row;align-items:flex-start;padding:var(--rtk-space-2, 8px)}:host(.pinned-message-selector-paginated-list) .pinned-message-content{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);display:flex;min-width:var(--rtk-space-0, 0px);flex:1 1 0%;flex-direction:column}:host(.pinned-message-selector-paginated-list) .pinned-message-time{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}:host(.pinned-message-selector-paginated-list) .pinned-message-preview{margin-bottom:var(--rtk-space-2, 8px);word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}:host(.pinned-message-selector-paginated-list) rtk-avatar{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}.file-picker{display:none}.chat *:first-child{margin-top:var(--rtk-space-0, 0px)}.chat .head{display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);overflow-wrap:break-word;font-size:14px;line-height:1.375}.chat .body .emoji{font-size:24px}p{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}rtk-text-message,rtk-image-message,rtk-file-message{margin-top:var(--rtk-space-4, 16px);display:block;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}*[is-continued]{margin-top:var(--rtk-space-3, 12px)}rtk-text-message[is-continued]{margin-top:var(--rtk-space-2, 8px)}.chat .image{position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.chat .image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.chat .image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.chat .image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat .image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.chat .image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}.chat .file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1\\.5, 6px);padding-bottom:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.chat .file .file-data{flex:1 1 0%}.chat .file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.chat .file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.chat .file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}.smallest-dom-element{width:1px}#top-scroll{transform:translateY(20vh);transform:translateY(20px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.show-new-messages-ctr{position:absolute;bottom:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);z-index:10;margin-top:calc(var(--rtk-space-14, 56px) * -1);--tw-translate-y:var(--rtk-space-28, 112px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages-ctr.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;opacity:1}.show-new-messages{pointer-events:auto;border-radius:9999px}.show-new-messages:hover{border-radius:9999px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}rtk-spinner,.empty-list{margin:auto}.page-wrapper{margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px);display:flex;flex-direction:column-reverse}.message-wrapper{margin-bottom:var(--rtk-space-2, 8px)}.pinned .message-wrapper{position:relative}.pinned .pin-icon{position:absolute;right:calc(var(--rtk-space-1, 4px) * -1);top:calc(var(--rtk-space-1, 4px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px)}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}.load-more-on-top-container{pointer-events:none;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-4, 16px);z-index:10}.load-more-icon{pointer-events:auto;border-radius:9999px}.load-more-icon:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}", et = function(e, t, n, r) {
|
|
1368
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
1369
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
1370
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
1371
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
1372
|
+
}, Y = class {
|
|
1373
|
+
constructor(e) {
|
|
1374
|
+
r(this, e), this.oldestPaginatedTimestamp = 0, this.latestPaginatedTimestamp = null, this.latestMessageTimestamp = null, this.pages = [], this.shouldScrollToBottom = !1, this.showNewMessagesCTR = !1, this.emptyListLabel = null, this.iconPack = l, this.t = t(), this.rerenderBoolean = !1, this.showEmptyListLabel = !1, this.isLoading = !1, this.isLoadingTop = !1, this.isLoadingBottom = !1, this.pendingScrollAnchor = null, this.isInView = (e) => {
|
|
1375
|
+
let t = e.getBoundingClientRect();
|
|
1376
|
+
return t.top >= 0 && t.bottom <= window.innerHeight;
|
|
1377
|
+
};
|
|
1378
|
+
}
|
|
1379
|
+
async rerenderList() {
|
|
1380
|
+
this.rerenderBoolean = !this.rerenderBoolean;
|
|
1381
|
+
}
|
|
1382
|
+
async onNewNode(e) {
|
|
1383
|
+
if (this.pages.length < 1) this.oldestPaginatedTimestamp = e.timeMs, this.pages.unshift([e]), this.latestPaginatedTimestamp = e.timeMs, this.latestMessageTimestamp = e.timeMs, this.rerender(), this.autoScroll && this.$bottomRef.scrollIntoView({ behavior: "smooth" });
|
|
1384
|
+
else if (this.latestMessageTimestamp === this.latestPaginatedTimestamp) {
|
|
1385
|
+
if (this.pages[0].length < this.pageSize) this.pages[0].unshift(e), this.latestPaginatedTimestamp = e.timeMs, this.latestMessageTimestamp = e.timeMs, this.rerender();
|
|
1386
|
+
else {
|
|
1387
|
+
this.pages.unshift([e]), this.latestPaginatedTimestamp = e.timeMs, this.latestMessageTimestamp = e.timeMs, this.pages.length > this.pagesAllowed && this.pages.pop();
|
|
1388
|
+
let t = this.pages[this.pages.length - 1];
|
|
1389
|
+
this.oldestPaginatedTimestamp = t[t.length - 1].timeMs, this.rerender();
|
|
1390
|
+
}
|
|
1391
|
+
this.autoScroll && this.$bottomRef.scrollIntoView({ behavior: "smooth" });
|
|
1392
|
+
} else this.autoScroll && this.scrollToBottom();
|
|
1393
|
+
this.pendingScrollAnchor = null;
|
|
1394
|
+
}
|
|
1395
|
+
async onNodeDelete(e) {
|
|
1396
|
+
for (let t = this.pages.length - 1; t >= 0; t--) {
|
|
1397
|
+
let n = this.pages[t].findIndex((t) => t.id === e);
|
|
1398
|
+
if (n === -1) continue;
|
|
1399
|
+
this.pages[t].splice(n, 1), this.pages[t].length === 0 && this.pages.splice(t, 1);
|
|
1400
|
+
let r = this.pages[0], i = this.pages[this.pages.length - 1];
|
|
1401
|
+
this.latestPaginatedTimestamp = r?.[0]?.timeMs, this.oldestPaginatedTimestamp = i?.[i.length - 1]?.timeMs, n === 0 && t === 0 && (this.latestMessageTimestamp = this.latestPaginatedTimestamp), this.rerender();
|
|
1402
|
+
break;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
async onNodeUpdate(e, t) {
|
|
1406
|
+
for (let n = this.pages.length - 1; n >= 0; n--) {
|
|
1407
|
+
let r = this.pages[n].findIndex((t) => t.id === e);
|
|
1408
|
+
if (r !== -1) {
|
|
1409
|
+
this.pages[n][r] = Object.assign(Object.assign({}, this.pages[n][r]), t), this.rerender();
|
|
1410
|
+
break;
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
async reset(e = 0) {
|
|
1415
|
+
this.oldestPaginatedTimestamp = e, this.latestPaginatedTimestamp = null, this.pages = [], this.shouldScrollToBottom = !1, this.showNewMessagesCTR = !1, this.pendingScrollAnchor = null, this.isLoading = !1, this.isLoadingTop = !1, this.isLoadingBottom = !1, e === 0 && (this.latestMessageTimestamp = null), this.rerender(), await this.loadPrevPage();
|
|
1416
|
+
}
|
|
1417
|
+
connectedCallback() {
|
|
1418
|
+
this.rerender = be(this.rerender.bind(this), 50, { maxWait: 200 });
|
|
1419
|
+
}
|
|
1420
|
+
componentDidLoad() {
|
|
1421
|
+
this.loadPrevPage(), this.$containerRef && (this.$containerRef.onscrollend = async () => {
|
|
1422
|
+
this.shouldScrollToBottom || (this.isInView(this.$bottomRef) && this.latestMessageTimestamp > this.latestPaginatedTimestamp ? await this.loadNextPage() : this.isInView(this.$topRef) && (this.showNewMessagesCTR = !0, await this.loadPrevPage()));
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
1425
|
+
componentDidRender() {
|
|
1426
|
+
if (!this.pendingScrollAnchor) return;
|
|
1427
|
+
let e = this.pendingScrollAnchor;
|
|
1428
|
+
this.pendingScrollAnchor = null, this.restoreScrollToAnchor(e);
|
|
1429
|
+
}
|
|
1430
|
+
async loadPrevPage() {
|
|
1431
|
+
if (this.isLoading) return;
|
|
1432
|
+
let e = this.getScrollAnchor("top");
|
|
1433
|
+
this.oldestPaginatedTimestamp === 0 && (this.oldestPaginatedTimestamp = (/* @__PURE__ */ new Date()).getTime()), this.isLoading = !0, this.isLoadingTop = !0;
|
|
1434
|
+
let t = await this.fetchData(this.oldestPaginatedTimestamp - 1, this.pageSize, !0);
|
|
1435
|
+
if (this.isLoading = !1, this.isLoadingTop = !1, !t.length) return;
|
|
1436
|
+
this.pages.push(t), this.pages.length > this.pagesAllowed && this.pages.shift();
|
|
1437
|
+
let n = this.pages[this.pages.length - 1];
|
|
1438
|
+
this.oldestPaginatedTimestamp = n[n.length - 1].timeMs, this.latestPaginatedTimestamp = this.pages[0][0].timeMs, this.latestMessageTimestamp ||= this.latestPaginatedTimestamp, this.rerender(), e && (this.pendingScrollAnchor = e);
|
|
1439
|
+
}
|
|
1440
|
+
async loadNextPage() {
|
|
1441
|
+
if (this.isLoading) return [];
|
|
1442
|
+
if (!this.latestPaginatedTimestamp) return this.showNewMessagesCTR = !1, [];
|
|
1443
|
+
this.isLoading = !0, this.isLoadingBottom = !0;
|
|
1444
|
+
let e = this.getScrollAnchor("bottom"), t = await this.fetchData(this.latestPaginatedTimestamp + 1, this.pageSize, !1);
|
|
1445
|
+
if (this.isLoading = !1, this.isLoadingBottom = !1, !t.length) return this.latestMessageTimestamp = this.latestPaginatedTimestamp, this.showNewMessagesCTR = !1, [];
|
|
1446
|
+
let n = [...t].reverse();
|
|
1447
|
+
this.pages.length === 0 && this.pages.unshift([]);
|
|
1448
|
+
let r = this.pages[0], i = this.pageSize - r.length;
|
|
1449
|
+
if (i > 0) {
|
|
1450
|
+
let e = n.splice(0, i);
|
|
1451
|
+
r.unshift(...e);
|
|
1452
|
+
}
|
|
1453
|
+
for (; n.length > 0;) this.pages.unshift(n.splice(0, this.pageSize));
|
|
1454
|
+
this.pages.length > this.pagesAllowed && this.pages.pop();
|
|
1455
|
+
let a = this.pages[this.pages.length - 1];
|
|
1456
|
+
return this.oldestPaginatedTimestamp = a[a.length - 1].timeMs, this.latestPaginatedTimestamp = this.pages[0][0].timeMs, this.rerender(), this.pendingScrollAnchor = e, t;
|
|
1457
|
+
}
|
|
1458
|
+
getScrollAnchor(e = "top") {
|
|
1459
|
+
if (!this.$containerRef) return null;
|
|
1460
|
+
let t = this.$containerRef.getBoundingClientRect(), n = Array.from(this.$containerRef.querySelectorAll("[id]")).filter((e) => e.id !== "top-scroll" && e.id !== "bottom-scroll"), r = null;
|
|
1461
|
+
for (let i of n) {
|
|
1462
|
+
let n = i.getBoundingClientRect();
|
|
1463
|
+
if (n.bottom > t.top && n.top < t.bottom) if (e === "top") {
|
|
1464
|
+
let e = n.top - t.top;
|
|
1465
|
+
(r == null || r.edge === "top" && e < r.offsetTop) && (r = {
|
|
1466
|
+
id: i.id,
|
|
1467
|
+
edge: "top",
|
|
1468
|
+
offsetTop: e
|
|
1469
|
+
});
|
|
1470
|
+
} else {
|
|
1471
|
+
let e = t.bottom - n.bottom;
|
|
1472
|
+
(r == null || r.edge === "bottom" && e < r.offsetBottom) && (r = {
|
|
1473
|
+
id: i.id,
|
|
1474
|
+
edge: "bottom",
|
|
1475
|
+
offsetBottom: e
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
return r;
|
|
1480
|
+
}
|
|
1481
|
+
restoreScrollToAnchor(e) {
|
|
1482
|
+
if (!this.$containerRef) return;
|
|
1483
|
+
let t = this.$containerRef.querySelector(`#${((e) => {
|
|
1484
|
+
let t = globalThis.CSS?.escape;
|
|
1485
|
+
return typeof t == "function" ? t(e) : e.replace(/[^a-zA-Z0-9_-]/g, "\\$&");
|
|
1486
|
+
})(e.id)}`);
|
|
1487
|
+
if (!t) return;
|
|
1488
|
+
let n = this.$containerRef.getBoundingClientRect(), r = t.getBoundingClientRect();
|
|
1489
|
+
if (e.edge === "top") {
|
|
1490
|
+
let t = r.top - n.top;
|
|
1491
|
+
this.$containerRef.scrollTop += t - e.offsetTop;
|
|
1492
|
+
} else {
|
|
1493
|
+
let t = n.bottom - r.bottom;
|
|
1494
|
+
this.$containerRef.scrollTop += e.offsetBottom - t;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
async scrollToBottom() {
|
|
1498
|
+
for (this.shouldScrollToBottom = !0; this.shouldScrollToBottom;) {
|
|
1499
|
+
let e = await this.loadNextPage();
|
|
1500
|
+
this.$bottomRef.scrollIntoView({ behavior: "smooth" }), e.length === 0 && (this.shouldScrollToBottom = !1);
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
rerender() {
|
|
1504
|
+
this.rerenderBoolean = !this.rerenderBoolean;
|
|
1505
|
+
}
|
|
1506
|
+
render() {
|
|
1507
|
+
return s(n, { key: "bff4fc91b737334c5764e690fbf2adafa1444408" }, s("div", {
|
|
1508
|
+
key: "f4efa98ef0bd178602ee03718d35fcb833487909",
|
|
1509
|
+
class: "scrollbar container",
|
|
1510
|
+
part: "container",
|
|
1511
|
+
ref: (e) => this.$containerRef = e
|
|
1512
|
+
}, s("div", {
|
|
1513
|
+
key: "37403f6462812a6662efa9577ae9ed43d27f63d6",
|
|
1514
|
+
class: {
|
|
1515
|
+
"show-new-messages-ctr": !0,
|
|
1516
|
+
active: this.showNewMessagesCTR
|
|
1517
|
+
}
|
|
1518
|
+
}, s("rtk-button", {
|
|
1519
|
+
key: "ee7e04e6281370dddb1b1e10b753e96dc602d42a",
|
|
1520
|
+
class: "show-new-messages",
|
|
1521
|
+
kind: "icon",
|
|
1522
|
+
variant: "secondary",
|
|
1523
|
+
part: "show-new-messages",
|
|
1524
|
+
onClick: () => {
|
|
1525
|
+
this.scrollToBottom();
|
|
1526
|
+
}
|
|
1527
|
+
}, this.shouldScrollToBottom ? s("rtk-spinner", { size: "sm" }) : s("rtk-icon", { icon: this.iconPack.chevron_down }))), s("div", {
|
|
1528
|
+
key: "91bcdadd2518313fa06306a172575f5acc786596",
|
|
1529
|
+
class: "smallest-dom-element",
|
|
1530
|
+
id: "bottom-scroll",
|
|
1531
|
+
ref: (e) => this.$bottomRef = e
|
|
1532
|
+
}), this.isLoadingBottom && this.pages.length > 0 && s("rtk-spinner", {
|
|
1533
|
+
key: "932af19af69c3ecd5af22dd3051a5eea5cb25e7a",
|
|
1534
|
+
size: "sm"
|
|
1535
|
+
}), this.isLoading && this.pages.length < 1 && s("rtk-spinner", {
|
|
1536
|
+
key: "9fa60fb784a09800a32a3accdc81d940476330d2",
|
|
1537
|
+
size: "lg"
|
|
1538
|
+
}), !this.isLoading && this.pages.flat().length === 0 ? s("div", { class: "empty-list" }, this.emptyListLabel ?? this.t("list.empty")) : s("div", { class: "page-wrapper" }, this.pages.map((e, t) => s("div", {
|
|
1539
|
+
class: "page",
|
|
1540
|
+
"data-page-index": t
|
|
1541
|
+
}, this.createNodes([...e].reverse())))), this.isLoadingTop && this.pages.length > 0 && s("rtk-spinner", {
|
|
1542
|
+
key: "73103f58338bdb89be69f9f6dc742e3cdd2c95d8",
|
|
1543
|
+
size: "sm"
|
|
1544
|
+
}), s("div", {
|
|
1545
|
+
key: "9c4c43ffb6442d58040448fe1b2d7332505fc81e",
|
|
1546
|
+
class: "smallest-dom-element",
|
|
1547
|
+
id: "top-scroll",
|
|
1548
|
+
ref: (e) => this.$topRef = e
|
|
1549
|
+
})));
|
|
1550
|
+
}
|
|
1551
|
+
};
|
|
1552
|
+
et([f()], Y.prototype, "iconPack", void 0), et([f()], Y.prototype, "t", void 0), Y.style = $e;
|
|
1553
|
+
var tt = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;width:100%;flex-direction:column;font-size:14px;position:relative;box-sizing:border-box;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.chat-header{position:relative;margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);cursor:pointer;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));border-radius:var(--rtk-border-radius-sm, 4px);border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.chat-header-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}.dropdown{position:absolute;top:100%;z-index:10;padding:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));opacity:0;pointer-events:none;border-bottom-right-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);left:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);max-width:calc(100vw - var(--rtk-space-4, 16px));box-sizing:border-box}.dropdown.open{opacity:1;pointer-events:auto;border-width:1px;border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity))}.dropdown rtk-paginated-list{box-sizing:border-box;display:flex;height:30vh;flex-direction:column}", X = function(e, t, n, r) {
|
|
1554
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
1555
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
1556
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
1557
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
1558
|
+
}, Z = class {
|
|
1559
|
+
constructor(e) {
|
|
1560
|
+
r(this, e), this.dropdownToggle = o(this, "rtkDropdownToggle", 7), this.pinnedMessageSelect = o(this, "rtkPinnedMessageSelect", 7), this.isOpen = !1, this.iconPack = l, this.t = t(), this.pageSize = 25, this.pagesAllowed = 3, this.showPinnedMessages = !0, this.toggle = (e) => {
|
|
1561
|
+
e.preventDefault(), e.stopPropagation(), this.isOpen = !this.isOpen, this.dropdownToggle.emit({ open: this.isOpen });
|
|
1562
|
+
}, this.getPinnedChatMessages = async (e, t, n) => {
|
|
1563
|
+
let r = this.meeting;
|
|
1564
|
+
if (!r) return [];
|
|
1565
|
+
try {
|
|
1566
|
+
return await r.chat.fetchPinnedMessages({
|
|
1567
|
+
timestamp: e,
|
|
1568
|
+
limit: t,
|
|
1569
|
+
direction: n ? "before" : "after"
|
|
1570
|
+
});
|
|
1571
|
+
} catch {
|
|
1572
|
+
return [];
|
|
1573
|
+
}
|
|
1574
|
+
}, this.createPinnedChatNodes = (e) => e.map((e) => {
|
|
1575
|
+
let t = e.type === "text" ? (e.message || "").replace(/\s+/g, " ").trim() : e.type === "file" ? "File Attachment" : e.type === "image" ? "Image Attachment" : "";
|
|
1576
|
+
return s("div", {
|
|
1577
|
+
class: "pinned-message",
|
|
1578
|
+
id: e.id,
|
|
1579
|
+
onClick: () => {
|
|
1580
|
+
this.pinnedMessageSelect.emit(e), this.close();
|
|
1581
|
+
}
|
|
1582
|
+
}, s("div", { class: "pinned-message-container" }, s("rtk-avatar", {
|
|
1583
|
+
size: "sm",
|
|
1584
|
+
participant: {
|
|
1585
|
+
name: e.displayName,
|
|
1586
|
+
picture: ""
|
|
1587
|
+
}
|
|
1588
|
+
}), s("div", { class: "pinned-message-content" }, s("div", {
|
|
1589
|
+
class: "pinned-message-preview",
|
|
1590
|
+
title: t
|
|
1591
|
+
}, t), s("div", { class: "pinned-message-meta" }, s("span", { class: "pinned-message-time" }, te(e.time, new Date(Date.now())))))));
|
|
1592
|
+
}), this.pinChatListener = (e) => {
|
|
1593
|
+
var t;
|
|
1594
|
+
e.message.targetUserIds?.length > 0 || (t = this.$paginatedListRef) == null || t.reset();
|
|
1595
|
+
}, this.unpinChatListener = async (e) => {
|
|
1596
|
+
var t;
|
|
1597
|
+
e.message.targetUserIds?.length > 0 || (t = this.$paginatedListRef) == null || t.onNodeDelete(e.message.id);
|
|
1598
|
+
}, this.chatUpdateListener = async (e) => {
|
|
1599
|
+
e.action === "delete" && this.unpinChatListener(e);
|
|
1600
|
+
};
|
|
1601
|
+
}
|
|
1602
|
+
connectedCallback() {
|
|
1603
|
+
this.meetingChanged(this.meeting);
|
|
1604
|
+
}
|
|
1605
|
+
disconnectedCallback() {
|
|
1606
|
+
this.disconnectMeeting(this.meeting);
|
|
1607
|
+
}
|
|
1608
|
+
disconnectMeeting(e) {
|
|
1609
|
+
var t, n, r;
|
|
1610
|
+
(t = e.chat) == null || t.removeListener("pinMessage", this.pinChatListener), (n = e.chat) == null || n.removeListener("unpinMessage", this.unpinChatListener), (r = e.chat) == null || r.removeListener("chatUpdate", this.chatUpdateListener);
|
|
1611
|
+
}
|
|
1612
|
+
meetingChanged(e, t) {
|
|
1613
|
+
var n, r, i, a;
|
|
1614
|
+
t && this.disconnectMeeting(t), e && ((n = this.$paginatedListRef) == null || n.reset(), (r = e.chat) == null || r.addListener("pinMessage", this.pinChatListener), (i = e.chat) == null || i.addListener("unpinMessage", this.unpinChatListener), (a = e.chat) == null || a.addListener("chatUpdate", this.chatUpdateListener));
|
|
1615
|
+
}
|
|
1616
|
+
async close() {
|
|
1617
|
+
this.isOpen && (this.isOpen = !1, this.dropdownToggle.emit({ open: !1 }));
|
|
1618
|
+
}
|
|
1619
|
+
async onChatSelectorChange(e) {
|
|
1620
|
+
e.detail?.selectedUser ? this.showPinnedMessages = !1 : this.showPinnedMessages = !0;
|
|
1621
|
+
}
|
|
1622
|
+
render() {
|
|
1623
|
+
return this.showPinnedMessages ? s(n, null, s("div", {
|
|
1624
|
+
class: "chat-header",
|
|
1625
|
+
onClick: this.toggle
|
|
1626
|
+
}, s("div", { class: "chat-header-label" }, s("rtk-icon", {
|
|
1627
|
+
icon: this.iconPack.pin,
|
|
1628
|
+
size: "sm"
|
|
1629
|
+
}), this.t("chat.pinned_msgs")), s("div", { class: "chevron" }, s("rtk-icon", {
|
|
1630
|
+
icon: this.isOpen ? this.iconPack.chevron_up : this.iconPack.chevron_down,
|
|
1631
|
+
size: "sm"
|
|
1632
|
+
}))), s("div", { class: {
|
|
1633
|
+
dropdown: !0,
|
|
1634
|
+
open: this.isOpen,
|
|
1635
|
+
scrollbar: !0
|
|
1636
|
+
} }, s("rtk-paginated-list", {
|
|
1637
|
+
class: "pinned-message-selector-paginated-list",
|
|
1638
|
+
ref: (e) => this.$paginatedListRef = e,
|
|
1639
|
+
pageSize: this.pageSize,
|
|
1640
|
+
pagesAllowed: 3,
|
|
1641
|
+
fetchData: this.getPinnedChatMessages,
|
|
1642
|
+
createNodes: this.createPinnedChatNodes,
|
|
1643
|
+
emptyListLabel: this.t("chat.empty_search")
|
|
1644
|
+
}, s("slot", null)))) : null;
|
|
1645
|
+
}
|
|
1646
|
+
static get watchers() {
|
|
1647
|
+
return { meeting: ["meetingChanged"] };
|
|
1648
|
+
}
|
|
1649
|
+
};
|
|
1650
|
+
X([f()], Z.prototype, "meeting", void 0), X([f()], Z.prototype, "iconPack", void 0), X([f()], Z.prototype, "t", void 0), Z.style = tt;
|
|
1651
|
+
var nt = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:block;height:var(--rtk-space-10, 40px);width:var(--rtk-space-10, 40px);--rtk-spinner-color:currentColor}.spinner{height:100%;width:100%}@keyframes spin{to{transform:rotate(360deg)}}.spinner{animation:spin 1s linear infinite;border-radius:9999px;background-color:transparent;animation-duration:1.3s}:host([size='md']){height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}", rt = function(e, t, n, r) {
|
|
1652
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
1653
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
1654
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
1655
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
1656
|
+
}, Q = class {
|
|
1657
|
+
constructor(e) {
|
|
1658
|
+
r(this, e), this.iconPack = l, this.size = "md";
|
|
1659
|
+
}
|
|
1660
|
+
render() {
|
|
1661
|
+
return s(n, { key: "5e435f3b94bf3a2b9d242d78407390996a76be15" }, s("rtk-icon", {
|
|
1662
|
+
key: "9e9e4200e0dc295bfe9048e57beb6cd809bf53a2",
|
|
1663
|
+
class: "spinner",
|
|
1664
|
+
icon: this.iconPack.spinner
|
|
1665
|
+
}));
|
|
1666
|
+
}
|
|
1667
|
+
};
|
|
1668
|
+
rt([f()], Q.prototype, "iconPack", void 0), Q.style = nt;
|
|
1669
|
+
var it = ".chat-input {\n position: relative;\n z-index: 10;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n border-top-left-radius: var(--rtk-border-radius-md, 8px);\n border-top-right-radius: var(--rtk-border-radius-md, 8px)\n}\n\n .chat-input textarea {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n box-sizing: border-box;\n padding: var(--rtk-space-3, 12px);\n color: rgb(var(--rtk-colors-text-1000, 255 255 255))\n}\n\n .chat-input textarea::-moz-placeholder {\n color: rgb(var(--rtk-colors-text-1000, 255 255 255))\n}\n\n .chat-input textarea::placeholder {\n color: rgb(var(--rtk-colors-text-1000, 255 255 255))\n}\n\n .chat-input textarea {\n font-family: var(--rtk-font-family, sans-serif);\n outline: 2px solid transparent;\n outline-offset: 2px;\n resize: none;\n overflow-y: auto;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n min-height: 60px;\n font-size: 14px\n}\n\n@container chatcontainer (height < 360px) {\n textarea {\n height: 30px !important;\n min-height: 30px !important\n }\n}\n\n.text-error {\n left: var(--rtk-space-0, 0px);\n z-index: 10;\n margin-top: var(--rtk-space-1, 4px);\n margin-left: var(--rtk-space-1, 4px);\n display: flex;\n width: -moz-fit-content;\n width: fit-content;\n align-items: center;\n justify-content: flex-start;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-2, 8px);\n font-size: 12px;\n font-weight: 600;\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity));\n border: 1px solid\n}\n\n#warning-indicator {\n margin-right: var(--rtk-space-1, 4px);\n height: var(--rtk-space-3, 12px);\n width: var(--rtk-space-3, 12px)\n}\n\n.text-error.breached {\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-border-opacity));\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))\n}", at = function(e, t, n, r) {
|
|
1670
|
+
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
1671
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
1672
|
+
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
1673
|
+
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
1674
|
+
}, $ = class {
|
|
1675
|
+
constructor(e) {
|
|
1676
|
+
r(this, e), this.onTextChange = o(this, "textChange", 7), this.disabled = !1, this.rateLimitBreached = !1, this.keyDownHandler = () => {}, this.iconPack = l, this.t = t(), this.maxLengthBreached = 0, this.onInputHandler = () => {
|
|
1677
|
+
let e = this.$textArea.value.trim();
|
|
1678
|
+
this.maybeResize(e), this.checkLength(e), this.onTextChange.emit(e);
|
|
1679
|
+
}, this.maybeResize = (e) => {
|
|
1680
|
+
let t = [...e.matchAll(/\n/g)].length;
|
|
1681
|
+
this.$textArea.style.height = `${Math.min(200, 60 + 20 * t)}px`;
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
componentDidLoad() {
|
|
1685
|
+
this.maxLength && (this.$textArea.maxLength = this.maxLength);
|
|
1686
|
+
let e = this.$textArea.value.trim();
|
|
1687
|
+
e !== "" && this.maybeResize(e), this.$textArea.focus();
|
|
1688
|
+
}
|
|
1689
|
+
async setText(e, t = !1) {
|
|
1690
|
+
this.$textArea.value = e, this.maybeResize(e), t && this.$textArea.focus(), this.checkLength(e), this.onTextChange.emit(e);
|
|
1691
|
+
}
|
|
1692
|
+
checkLength(e) {
|
|
1693
|
+
let t = e.length;
|
|
1694
|
+
t + 10 >= this.maxLength ? this.maxLengthBreached = e.length : t + 10 < this.maxLength && this.maxLengthBreached > 0 && (this.maxLengthBreached = 0);
|
|
1695
|
+
}
|
|
1696
|
+
render() {
|
|
1697
|
+
return s("div", {
|
|
1698
|
+
key: "900c8fc082af9cffe94011fb0d682802cc450851",
|
|
1699
|
+
class: "chat-input",
|
|
1700
|
+
part: "chat-input-container"
|
|
1701
|
+
}, this.maxLengthBreached > 0 && s("div", {
|
|
1702
|
+
key: "fa2362fa593952c3680ae3408c8041c2567342dc",
|
|
1703
|
+
class: "text-error " + (this.maxLengthBreached === this.maxLength ? "breached" : "")
|
|
1704
|
+
}, s("rtk-icon", {
|
|
1705
|
+
key: "0bfa55917acfbe23250bb2b3d487cf27c1eddc58",
|
|
1706
|
+
id: "warning-indicator",
|
|
1707
|
+
icon: this.iconPack.warning,
|
|
1708
|
+
part: "warning-indicator"
|
|
1709
|
+
}), " ", this.maxLengthBreached, " / ", this.maxLength, " ", this.t("chat.max_limit_warning")), this.rateLimitBreached && s("div", {
|
|
1710
|
+
key: "b4dc7987ec892e6dd8746d21efddeb0a3b765a4c",
|
|
1711
|
+
class: "text-error breached"
|
|
1712
|
+
}, s("rtk-icon", {
|
|
1713
|
+
key: "e74b331f6674c5a5a7596d848c7b4846d28a4700",
|
|
1714
|
+
id: "warning-indicator",
|
|
1715
|
+
icon: this.iconPack.warning,
|
|
1716
|
+
part: "warning-indicator"
|
|
1717
|
+
}), " ", this.t("chat.rate_limit_error")), s("textarea", {
|
|
1718
|
+
key: "16dfc924b0d935a2e6b4d9fd22418331a9cd1044",
|
|
1719
|
+
ref: (e) => this.$textArea = e,
|
|
1720
|
+
placeholder: this.placeholder,
|
|
1721
|
+
disabled: this.disabled,
|
|
1722
|
+
onInput: this.onInputHandler,
|
|
1723
|
+
onKeyDown: this.keyDownHandler,
|
|
1724
|
+
part: "chat-input",
|
|
1725
|
+
value: this.value
|
|
1726
|
+
}));
|
|
1727
|
+
}
|
|
1728
|
+
};
|
|
1729
|
+
at([f()], $.prototype, "iconPack", void 0), at([f()], $.prototype, "t", void 0), $.style = it;
|
|
1730
|
+
var ot = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.text{word-break:break-word;display:block;overflow-wrap:break-word;line-height:1.375}.text.emoji{font-size:24px}", st = class {
|
|
1731
|
+
constructor(e) {
|
|
1732
|
+
r(this, e), this.isMarkdown = !1;
|
|
1733
|
+
}
|
|
1734
|
+
render() {
|
|
1735
|
+
return s("p", {
|
|
1736
|
+
key: "45d7cc7d147e74609251f6ab3c2918d42ec6aaea",
|
|
1737
|
+
class: {
|
|
1738
|
+
text: !0,
|
|
1739
|
+
emoji: ie(this.text)
|
|
1740
|
+
}
|
|
1741
|
+
}, this.isMarkdown ? s("rtk-markdown-view", { text: this.text }) : this.text);
|
|
1742
|
+
}
|
|
1743
|
+
};
|
|
1744
|
+
st.style = ot;
|
|
1745
|
+
var ct = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{--background-color:var(--rtk-tooltip-background-color, rgb(var(--rtk-colors-background-600, 60 60 60)));--color:var(--rtk-tooltip-color, rgb(var(--rtk-colors-text-1000, 255 255 255)));display:inline-flex}#trigger{display:block;width:100%;flex:1 1 0%}.tooltip{max-width:var(--rtk-space-64, 256px);position:fixed;z-index:20;display:none;width:-moz-max-content;width:max-content;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);font-size:12px}.tooltip,#arrow{position:absolute;background-color:var(--background-color);color:var(--color)}#arrow{position:absolute;height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);transform:rotate(45deg)}:host([variant='primary']){--background-color:rgb(var(--rtk-colors-brand-500, 33 96 253));--color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}:host([kind='block']){display:block}", lt = class {
|
|
1746
|
+
constructor(e) {
|
|
1747
|
+
r(this, e), this.openChange = o(this, "rtkOpenChange", 7), this.label = "", this.variant = "secondary", this.disabled = !1, this.open = !1, this.kind = "inline", this.placement = "top", this.delay = 0, this.isInFocus = !1, this.showMenu = () => {
|
|
1748
|
+
this.disabled || (this.isInFocus = !0, setTimeout(() => {
|
|
1749
|
+
this.isInFocus && (this.tooltipEl.style.display = "block", this.update(), this.openChange.emit(!0), this.size === "sm" && setTimeout(() => {
|
|
1750
|
+
this.isInFocus && this.hideMenu();
|
|
1751
|
+
}, 1e3));
|
|
1752
|
+
}, this.delay));
|
|
1753
|
+
}, this.hideMenu = () => {
|
|
1754
|
+
this.open || this.disabled || (this.isInFocus = !1, this.tooltipEl.style.display = "none", this.openChange.emit(!1));
|
|
1755
|
+
};
|
|
1756
|
+
}
|
|
1757
|
+
componentDidLoad() {
|
|
1758
|
+
this.triggerEl.addEventListener("focusin", this.showMenu), this.triggerEl.addEventListener("mouseenter", this.showMenu), this.triggerEl.addEventListener("focusout", this.hideMenu), this.triggerEl.addEventListener("mouseleave", this.hideMenu), e(() => {
|
|
1759
|
+
this.openChanged(this.open);
|
|
1760
|
+
});
|
|
1761
|
+
}
|
|
1762
|
+
disconnectedCallback() {
|
|
1763
|
+
this.triggerEl &&= (this.triggerEl.removeEventListener("focusin", this.showMenu), this.triggerEl.removeEventListener("mouseenter", this.showMenu), this.triggerEl.removeEventListener("focusout", this.hideMenu), this.triggerEl.removeEventListener("mouseleave", this.hideMenu), void 0);
|
|
1764
|
+
}
|
|
1765
|
+
openChanged(e) {
|
|
1766
|
+
e ? this.showMenu() : this.hideMenu();
|
|
1767
|
+
}
|
|
1768
|
+
update() {
|
|
1769
|
+
_(this.triggerEl, this.tooltipEl, {
|
|
1770
|
+
placement: this.placement,
|
|
1771
|
+
middleware: [
|
|
1772
|
+
ve(8),
|
|
1773
|
+
_e(),
|
|
1774
|
+
v({ padding: 5 }),
|
|
1775
|
+
ye({ element: this.arrowEl })
|
|
1776
|
+
]
|
|
1777
|
+
}).then(({ x: e, y: t, placement: n, middlewareData: r }) => {
|
|
1778
|
+
Object.assign(this.tooltipEl.style, {
|
|
1779
|
+
left: `${e}px`,
|
|
1780
|
+
top: `${t}px`
|
|
1781
|
+
});
|
|
1782
|
+
let { x: i, y: a } = r.arrow, o = {
|
|
1783
|
+
top: "bottom",
|
|
1784
|
+
right: "left",
|
|
1785
|
+
bottom: "top",
|
|
1786
|
+
left: "right"
|
|
1787
|
+
}[n.split("-")[0]];
|
|
1788
|
+
Object.assign(this.arrowEl.style, {
|
|
1789
|
+
left: i == null ? "" : `${i}px`,
|
|
1790
|
+
top: a == null ? "" : `${a}px`,
|
|
1791
|
+
right: "",
|
|
1792
|
+
bottom: "",
|
|
1793
|
+
[o]: "-4px"
|
|
1794
|
+
});
|
|
1795
|
+
});
|
|
1796
|
+
}
|
|
1797
|
+
render() {
|
|
1798
|
+
return s(n, { key: "ce9cb2211743e50c83b7f572b2e9dc5b02fa3ac8" }, s("span", {
|
|
1799
|
+
key: "74f73894f5a62519b3bf8c03a83e7102092ccd5c",
|
|
1800
|
+
part: "trigger",
|
|
1801
|
+
id: "trigger",
|
|
1802
|
+
ref: (e) => this.triggerEl = e
|
|
1803
|
+
}, s("slot", { key: "4551b2a438b1c57ca68e4a2973529186063a13c2" })), s("div", {
|
|
1804
|
+
key: "e3dd196c6ee225cb363bcf54d35836ff17ed5969",
|
|
1805
|
+
part: "tooltip",
|
|
1806
|
+
class: "tooltip",
|
|
1807
|
+
id: "tooltip",
|
|
1808
|
+
role: "tooltip",
|
|
1809
|
+
ref: (e) => this.tooltipEl = e
|
|
1810
|
+
}, s("div", {
|
|
1811
|
+
key: "4eb8bb3af588160018ef9d8899afc09edf4b195d",
|
|
1812
|
+
id: "arrow",
|
|
1813
|
+
ref: (e) => this.arrowEl = e,
|
|
1814
|
+
part: "arrow"
|
|
1815
|
+
}), this.label, s("slot", {
|
|
1816
|
+
key: "c427ef3ef9953b764f9b1adcb4a8b7eee1fe91cd",
|
|
1817
|
+
name: "tooltip"
|
|
1818
|
+
})));
|
|
1819
|
+
}
|
|
1820
|
+
static get watchers() {
|
|
1821
|
+
return { open: ["openChanged"] };
|
|
1822
|
+
}
|
|
1823
|
+
};
|
|
1824
|
+
lt.style = ct;
|
|
1825
|
+
//#endregion
|
|
1826
|
+
export { y as rtk_avatar, b as rtk_button, S as rtk_chat, T as rtk_chat_composer_view, De as rtk_chat_header, D as rtk_chat_messages_ui_paginated, k as rtk_chat_selector, j as rtk_draft_attachment_view, M as rtk_emoji_picker, N as rtk_emoji_picker_button, P as rtk_file_message_view, I as rtk_file_picker_button, L as rtk_icon, z as rtk_image_message_view, B as rtk_markdown_view, H as rtk_meeting, W as rtk_menu, K as rtk_menu_item, q as rtk_menu_list, J as rtk_message_view, Y as rtk_paginated_list, Z as rtk_pinned_message_selector, Q as rtk_spinner, $ as rtk_text_composer_view, st as rtk_text_message_view, lt as rtk_tooltip };
|
|
1827
|
+
|
|
1828
|
+
//# sourceMappingURL=rtk-avatar_26.entry-CEksnaAj.js.map
|