@cloudflare/realtimekit-ui 1.0.0-staging.8 → 1.0.0-staging.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +1 -1
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +23 -13
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +1 -1
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
- package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +1 -1
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
- package/dist/collection/components/rtk-notification/rtk-notification.css +26 -18
- package/dist/collection/components/rtk-notification/rtk-notification.js +34 -4
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +4 -2
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +2 -2
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
- package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +2 -2
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
- package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
- package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
- package/dist/components/{p-8ca1fe4c.js → p-0c4a1808.js} +4 -4
- package/dist/components/{p-54c8b684.js → p-0c94b402.js} +6 -6
- package/dist/components/{p-caf8596c.js → p-1a546cf4.js} +5 -3
- package/dist/components/{p-78444f97.js → p-24e9b37b.js} +2 -2
- package/dist/components/{p-e99f574d.js → p-25770e4e.js} +8 -8
- package/dist/components/{p-0c81aa9c.js → p-28f65402.js} +3 -3
- package/dist/components/{p-664f872d.js → p-2ecf028f.js} +2 -2
- package/dist/components/{p-2973e211.js → p-31a1dc4d.js} +2 -2
- package/dist/components/{p-cd66e89b.js → p-406292be.js} +2 -2
- package/dist/components/{p-594ed925.js → p-4096426e.js} +1 -1
- package/dist/components/{p-00b13124.js → p-4880c342.js} +6 -6
- package/dist/components/{p-a478e070.js → p-4e3d7f9d.js} +1 -1
- package/dist/components/{p-8227dcd2.js → p-55598b38.js} +1 -1
- package/dist/components/{p-db1e56e8.js → p-563bc723.js} +5 -5
- package/dist/components/{p-0e13b6ee.js → p-59fb6900.js} +2 -2
- package/dist/components/{p-8ca0d44f.js → p-606ca241.js} +2 -2
- package/dist/components/{p-d3ca55ba.js → p-68b6f23b.js} +1 -1
- package/dist/components/{p-dc23e204.js → p-6acaa07e.js} +1 -1
- package/dist/components/{p-0f937441.js → p-71e0f6f2.js} +1 -1
- package/dist/components/{p-91cb38a3.js → p-734a10e4.js} +1 -1
- package/dist/components/{p-13bf25de.js → p-7a7d1710.js} +2 -2
- package/dist/components/{p-eeea40dd.js → p-80bef3b5.js} +2 -2
- package/dist/components/{p-1947c106.js → p-81f4e985.js} +1 -1
- package/dist/components/{p-4ba64e96.js → p-898da6ae.js} +5 -5
- package/dist/components/{p-14aafb1d.js → p-922f201f.js} +1 -1
- package/dist/components/{p-7373cc7e.js → p-9c17c7ce.js} +1 -1
- package/dist/components/{p-87f1e5db.js → p-9cace38c.js} +3 -3
- package/dist/components/{p-7d26c3e0.js → p-9cfe5c7c.js} +1 -1
- package/dist/components/{p-619a7896.js → p-9da5b9d0.js} +2 -2
- package/dist/components/{p-c00de10a.js → p-aa9ee9a5.js} +2 -2
- package/dist/components/{p-99b862b5.js → p-ab87c5be.js} +2 -2
- package/dist/components/{p-d262b31f.js → p-b373da43.js} +2 -2
- package/dist/components/{p-168b17a0.js → p-bcb91396.js} +1 -1
- package/dist/components/{p-f682505d.js → p-c2723ebb.js} +4 -4
- package/dist/components/{p-66ff4a1a.js → p-c27c353f.js} +1 -1
- package/dist/components/{p-00649ab8.js → p-c939f92d.js} +2 -2
- package/dist/components/{p-4c4025de.js → p-ddf6148a.js} +1 -1
- package/dist/components/{p-3dbc09e4.js → p-e3ffbf6c.js} +1 -1
- package/dist/components/{p-2ce92a24.js → p-e4241aa9.js} +3 -3
- package/dist/components/{p-4221b28d.js → p-e542eda6.js} +2 -2
- package/dist/components/{p-1bf54ab3.js → p-eb10c563.js} +4 -4
- package/dist/components/{p-2f7c0530.js → p-eca2ab2e.js} +27 -27
- package/dist/components/{p-20354866.js → p-ece96324.js} +16 -5
- package/dist/components/{p-8ceedb7f.js → p-f0dfdfea.js} +1 -1
- package/dist/components/{p-56586bc8.js → p-f33bb583.js} +4 -4
- package/dist/components/{p-d71db36f.js → p-f6046472.js} +2 -2
- package/dist/components/rtk-ai-toggle.js +2 -2
- package/dist/components/rtk-audio-tile.js +2 -2
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +2 -2
- package/dist/components/rtk-camera-toggle.js +2 -2
- package/dist/components/rtk-caption-toggle.js +2 -2
- package/dist/components/rtk-channel-creator.js +1 -1
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +1 -1
- package/dist/components/rtk-channel-selector-ui.js +2 -2
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +3 -3
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-toggle.js +2 -2
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +2 -2
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid.js +4 -4
- package/dist/components/rtk-idle-screen.js +1 -1
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-leave-button.js +2 -2
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +2 -2
- package/dist/components/rtk-meeting.js +28 -28
- package/dist/components/rtk-message-list-view.js +1 -1
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +2 -2
- package/dist/components/rtk-more-toggle.js +2 -2
- package/dist/components/rtk-mute-all-button.js +2 -2
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-setup.js +2 -2
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +1 -1
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +2 -2
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +8 -8
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +2 -2
- package/dist/components/rtk-plugins-toggle.js +2 -2
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +2 -2
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +1 -1
- package/dist/components/rtk-recording-toggle.js +2 -2
- package/dist/components/rtk-screen-share-toggle.js +2 -2
- package/dist/components/rtk-screenshare-view.js +5 -5
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +3 -3
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +4 -4
- package/dist/components/rtk-setup-screen.js +3 -3
- package/dist/components/rtk-sidebar.js +4 -4
- package/dist/components/rtk-simple-grid.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +2 -2
- package/dist/components/rtk-stage-toggle.js +2 -2
- package/dist/components/rtk-stage.js +1 -1
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +1 -1
- package/dist/components/rtk-ui-provider.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +1 -1
- package/dist/docs/docs-components.json +24 -1
- package/dist/docs/docs-vscode.json +4 -0
- package/dist/esm/loader.js +56 -46
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-audio-visualizer_4.entry.js +1 -1
- package/dist/esm/rtk-avatar_54.entry.js +23 -13
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +2 -2
- package/dist/esm/rtk-participants-audio.entry.js +1 -1
- package/dist/esm/rtk-participants-stage-list_4.entry.js +1 -1
- package/dist/esm/rtk-plugins_2.entry.js +4 -4
- package/dist/esm/rtk-poll_2.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +1 -1
- package/dist/esm/rtk-screenshare-view.entry.js +5 -5
- package/dist/esm/rtk-settings-toggle.entry.js +1 -1
- package/dist/esm/rtk-setup-screen.entry.js +2 -2
- package/dist/esm/rtk-simple-grid.entry.js +1 -1
- package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +1 -1
- package/dist/esm/rtk-transcript.entry.js +1 -1
- package/dist/esm/rtk-ui-provider.entry.js +1 -1
- package/dist/esm/rtk-waiting-screen.entry.js +1 -1
- package/dist/realtimekit-ui/{p-0d071b0c.entry.js → p-0e777b3f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-25c7522f.entry.js → p-18fdb6bb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9ca13287.entry.js → p-235b7aa8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5584d146.entry.js → p-2bfa32da.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dd9b1b30.entry.js → p-4f2ec64b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4dc84daa.entry.js → p-5325b5e5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-050469f0.entry.js → p-55040827.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3d312beb.entry.js → p-61c38e05.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7af0573f.entry.js → p-621a7265.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3611c234.entry.js → p-73bc3abd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-80a02bba.entry.js → p-7c1a2584.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fc704ef3.entry.js → p-950454b7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fb67b669.entry.js → p-ac91f9f9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-373ea59c.entry.js → p-b80f1bed.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f5ad8c8f.entry.js → p-c6f7cd03.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e1091812.entry.js → p-c8f8b690.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d9e81b11.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d1e6d6c4.entry.js → p-e80cf367.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4211ad5e.entry.js → p-f7c6931d.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-notification/rtk-notification.d.ts +4 -0
- package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +1 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-c7f14fd0.entry.js +0 -1
|
@@ -4863,7 +4863,7 @@ __decorate$9([
|
|
|
4863
4863
|
], RtkMuteAllConfirmation.prototype, "t", void 0);
|
|
4864
4864
|
RtkMuteAllConfirmation.style = RtkMuteAllConfirmationStyle0;
|
|
4865
4865
|
|
|
4866
|
-
const rtkNotificationCss = ":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{pointer-events:none;display:block;height:var(--rtk-space-10, 40px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));animation:show 0.4s ease;transition:0.4s;z-index:100}.ctr{box-sizing:border-box;display:inline-flex;height:100%;min-width:var(--rtk-space-40, 160px);align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-
|
|
4866
|
+
const rtkNotificationCss = ":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{pointer-events:none;display:block;height:var(--rtk-space-10, 40px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));animation:show 0.4s ease;transition:0.4s;z-index:100}.ctr{box-sizing:border-box;display:inline-flex;height:100%;min-width:var(--rtk-space-40, 160px);align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-2, 8px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-shadow:var(--tw-shadow-colored);pointer-events:auto}img{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);border-radius:9999px}img.loaded{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.message{margin-right:var(--rtk-space-3, 12px);max-width:var(--rtk-space-72, 288px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message p{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-1, 4px);display:inline-block}.message blockquote{display:none}rtk-icon.icon{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}button.dismiss{display:flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);align-items:center;justify-content:center;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));outline-width:1px;outline-color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:hover{cursor:pointer;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:focus-visible{outline-style:solid}button.dismiss{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}.dismiss rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}rtk-button{border-radius:var(--rtk-border-radius-sm, 4px)}.right{margin-left:auto;display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateX(-120px)}100%{opacity:1;transform:translateX(0px)}}@keyframes exit{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-120px)}}:host([size='sm']){font-size:14px}";
|
|
4867
4867
|
const RtkNotificationStyle0 = rtkNotificationCss;
|
|
4868
4868
|
|
|
4869
4869
|
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -4889,20 +4889,29 @@ const RtkNotification = class {
|
|
|
4889
4889
|
connectedCallback() {
|
|
4890
4890
|
this.notificationChanged(this.notification);
|
|
4891
4891
|
}
|
|
4892
|
+
pausedChanged(paused) {
|
|
4893
|
+
if (paused) {
|
|
4894
|
+
clearTimeout(this.timeout);
|
|
4895
|
+
}
|
|
4896
|
+
else {
|
|
4897
|
+
this.notificationChanged(this.notification);
|
|
4898
|
+
}
|
|
4899
|
+
}
|
|
4892
4900
|
notificationChanged(notification) {
|
|
4893
|
-
if (notification != null && typeof notification.duration === 'number') {
|
|
4894
|
-
setTimeout(() => {
|
|
4901
|
+
if (notification != null && typeof notification.duration === 'number' && !this.paused) {
|
|
4902
|
+
this.timeout = window.setTimeout(() => {
|
|
4895
4903
|
this.dismiss.emit(notification.id);
|
|
4896
4904
|
}, notification.duration);
|
|
4897
4905
|
}
|
|
4898
4906
|
}
|
|
4899
4907
|
render() {
|
|
4900
4908
|
var _a;
|
|
4901
|
-
return (index$1.h(index$1.Host, { key: '
|
|
4909
|
+
return (index$1.h(index$1.Host, { key: 'b6a7ede34064bcc25040589cd09b00a5e5a5cf8a' }, index$1.h("div", { key: '42608dc49ec59c0c54be513e59b81627f0ecb11c', class: "ctr" }, this.notification.icon != null && (index$1.h("rtk-icon", { key: '263c38129622549c8df1900d8905f52ee29cff8a', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
|
|
4902
4910
|
this.notification.icon == null &&
|
|
4903
|
-
this.imageState !== 'errored' && (index$1.h("img", { key: '
|
|
4911
|
+
this.imageState !== 'errored' && (index$1.h("img", { key: '0e8d7812bd8b58ce0efe3edff6ae7346cbcd0fd4', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), index$1.h("p", { key: 'f28ec5ff1a3902817d5501ea2324371defc8995a', class: "message" }, index$1.h(TextMessage.TextMessageView, { key: '7f7b179a67d125585ed70112fcb2a1925c3bae52', message: this.notification.message })), index$1.h("div", { key: '2ba60b2b60ddbc43d207adc86e0a975f3c432f70', class: "right" }, this.notification.button != null && (index$1.h("rtk-button", { key: '2f4871b0ee2871cbccb016e4451e28c424fe14ce', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), index$1.h("button", { key: '1786dac10dbc2ca9aabad707354ce16fe1af9bc8', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, index$1.h("rtk-icon", { key: 'b11c47705af86c38bd6488ecb6998aad62099396', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
|
|
4904
4912
|
}
|
|
4905
4913
|
static get watchers() { return {
|
|
4914
|
+
"paused": ["pausedChanged"],
|
|
4906
4915
|
"notification": ["notificationChanged"]
|
|
4907
4916
|
}; }
|
|
4908
4917
|
};
|
|
@@ -5029,6 +5038,7 @@ const RtkNotifications = class {
|
|
|
5029
5038
|
});
|
|
5030
5039
|
}
|
|
5031
5040
|
};
|
|
5041
|
+
this.paused = false;
|
|
5032
5042
|
}
|
|
5033
5043
|
connectedCallback() {
|
|
5034
5044
|
if (typeof document !== 'undefined') {
|
|
@@ -5463,7 +5473,7 @@ const RtkNotifications = class {
|
|
|
5463
5473
|
this.meeting.self.permissions.acceptWaitingRequests);
|
|
5464
5474
|
}
|
|
5465
5475
|
render() {
|
|
5466
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5476
|
+
return (index$1.h(index$1.Host, { key: '906188de5f85fcdb91e7bbd9fc44c60f722ec231' }, index$1.h("div", { key: '971924ad071ffa9525984eac3f11e929d10ec8a2', onMouseEnter: () => (this.paused = true), onFocusin: () => (this.paused = true), onMouseLeave: () => (this.paused = false), onFocusout: () => (this.paused = false) }, this.notifications.map((notification) => (index$1.h("rtk-notification", { size: this.size, key: notification.id, "data-id": notification.id, notification: notification, onRtkNotificationDismiss: (e) => this.handleDismiss(e), iconPack: this.iconPack, paused: this.paused, t: this.t }))))));
|
|
5467
5477
|
}
|
|
5468
5478
|
get host() { return index$1.getElement(this); }
|
|
5469
5479
|
static get watchers() { return {
|
|
@@ -5519,7 +5529,7 @@ const RtkOverlayModal = class {
|
|
|
5519
5529
|
}
|
|
5520
5530
|
}
|
|
5521
5531
|
render() {
|
|
5522
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5532
|
+
return (index$1.h(index$1.Host, { key: 'e5bdb94d07093b7b6950c5d389b3cca3c5f0bc22' }, index$1.h("rtk-icon", { key: '04dcace07d18e31644bb11215c069eb63ea8dfe6', icon: this.states.activeOverlayModal.icon }), index$1.h("h2", { key: '5ca79bee28c169a489a83e53e0911e6187c731f2' }, this.states.activeOverlayModal.title), index$1.h("p", { key: 'd4d7e34a08e991709b1931ce22c899dcc624c692' }, this.states.activeOverlayModal.description)));
|
|
5523
5533
|
}
|
|
5524
5534
|
};
|
|
5525
5535
|
__decorate$6([
|
|
@@ -5988,7 +5998,7 @@ const RtkPermissionsMessage = class {
|
|
|
5988
5998
|
this.stepsTimer = setTimeout(this.nextStep, 2500);
|
|
5989
5999
|
}
|
|
5990
6000
|
const showMacDeepLink = isDeniedBySystem && this.meeting.self.device.osName == 'macOS';
|
|
5991
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6001
|
+
return (index$1.h(index$1.Host, { key: '37bc20fd76370a473d701b99f141057e3ef7b9ea' }, index$1.h("h2", { key: '5177028bd1d1f909cc5dacffaf7a63e9a90a6119' }, index$1.h("rtk-icon", { key: 'eef420ebb45cedbd63f6f4532954a5175535c07e', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (index$1.h("div", { key: '1f35d79d6e3b83341a26081fc72540863d395108', class: 'svg-container' }, this.svgSteps.map((e, index) => (index$1.h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), index$1.h("div", { key: '855ceb1e53e3006b85d32e0edd9eb0088f94ad75' }, this.getMessage()), !isDeniedBySystem && (index$1.h("a", { key: 'c02d929f912ed50e47edaf853650e9569c700524', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, index$1.h("rtk-icon", { key: '775423666928defb61670cd9a4c2e158fe6386e6', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), index$1.h("div", { key: '023b8da610c0afea0abb203ae9d09286b3368ccf', class: "actions" }, index$1.h("rtk-button", { key: 'a2b29cb77e0f32076dc8bf0a72e6b2f512684201', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (index$1.h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (index$1.h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), index$1.h("slot", { key: '2e7d6bcdb64f65de6e73742946a3a173905227a5' })));
|
|
5992
6002
|
}
|
|
5993
6003
|
static get watchers() { return {
|
|
5994
6004
|
"meeting": ["meetingChanged"]
|
|
@@ -6030,7 +6040,7 @@ const RtkSpinner = class {
|
|
|
6030
6040
|
this.size = 'md';
|
|
6031
6041
|
}
|
|
6032
6042
|
render() {
|
|
6033
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6043
|
+
return (index$1.h(index$1.Host, { key: '40c9d7dd077b4ed5372afa510644528d392ff329' }, index$1.h("rtk-icon", { key: 'e74d17cc21859fc8581ad9e8735f65a98aa18300', class: "spinner", icon: this.iconPack.spinner })));
|
|
6034
6044
|
}
|
|
6035
6045
|
};
|
|
6036
6046
|
__decorate$3([
|
|
@@ -6111,7 +6121,7 @@ const RtkTextComposerView = class {
|
|
|
6111
6121
|
}
|
|
6112
6122
|
}
|
|
6113
6123
|
render() {
|
|
6114
|
-
return (index$1.h("div", { key: '
|
|
6124
|
+
return (index$1.h("div", { key: 'ce055f9e92b79c5ae63448220ea3f1e5adfb39c1', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (index$1.h("div", { key: 'd131418c66d521fb7b3012465f5774113ae902eb', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, index$1.h("rtk-icon", { key: '01c5f7756fb5a76cf3319122c9d808f2b0f6bbf8', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.maxLengthBreached, " / ", this.maxLength, " ", this.t('chat.max_limit_warning'))), this.rateLimitBreached && (index$1.h("div", { key: 'f96301c878d5b3b607fcd5de6d2131e647a3477a', class: 'text-error breached' }, index$1.h("rtk-icon", { key: '9b2ecdbac46b0e6ab09e91280c9ca473c719a5a9', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), index$1.h("textarea", { key: 'fc08e05d8d917e72ec1218d0a2d2bc1db618c4cc', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
|
|
6115
6125
|
}
|
|
6116
6126
|
};
|
|
6117
6127
|
__decorate$2([
|
|
@@ -6147,10 +6157,10 @@ const RtkTextMessage = class {
|
|
|
6147
6157
|
this.showBubble = false;
|
|
6148
6158
|
}
|
|
6149
6159
|
render() {
|
|
6150
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6160
|
+
return (index$1.h(index$1.Host, { key: 'c21acb6c8645f4397b468f9f3bd687049503eb50' }, !this.isContinued && (index$1.h(ChatHead.ChatHead, { key: 'b7fa598be7d197a761bbb77617d4c9d8a255c48d', name: this.message.displayName, time: this.message.time, now: this.now })), index$1.h("div", { key: 'dc13b5f61ff5ecdece68abc33444d5a4e6852d92', class: {
|
|
6151
6161
|
body: true,
|
|
6152
6162
|
bubble: this.showBubble,
|
|
6153
|
-
}, part: "body" }, index$1.h("div", { key: '
|
|
6163
|
+
}, part: "body" }, index$1.h("div", { key: 'a51406f8da3eda94b35b4ed878dffe4bd3f8d5a2', class: { text: true, emoji: string.hasOnlyEmojis(this.message.message) } }, index$1.h(TextMessage.TextMessageView, { key: '65b20790e134d5149c20815e47ab79c039afd437', message: this.message.message })))));
|
|
6154
6164
|
}
|
|
6155
6165
|
};
|
|
6156
6166
|
__decorate$1([
|
|
@@ -6170,7 +6180,7 @@ const RtkTextMessageView = class {
|
|
|
6170
6180
|
this.isMarkdown = false;
|
|
6171
6181
|
}
|
|
6172
6182
|
render() {
|
|
6173
|
-
return (index$1.h("p", { key: '
|
|
6183
|
+
return (index$1.h("p", { key: '43af19a40b404cf8de36db064a89e9eefd50af81', class: { text: true, emoji: string.hasOnlyEmojis(this.text) } }, this.isMarkdown ? index$1.h("rtk-markdown-view", { text: this.text }) : this.text));
|
|
6174
6184
|
}
|
|
6175
6185
|
};
|
|
6176
6186
|
RtkTextMessageView.style = RtkTextMessageViewStyle0;
|
|
@@ -248,10 +248,10 @@ const RtkParticipantTile = class {
|
|
|
248
248
|
iconPack: this.iconPack,
|
|
249
249
|
t: this.t,
|
|
250
250
|
};
|
|
251
|
-
return (index$1.h(index$1.Host, { key: '
|
|
251
|
+
return (index$1.h(index$1.Host, { key: '3e979a21a98a39b061612531ef9bd644d39a983e' }, index$1.h("video", { key: '3ba45f4944aafeb8673afc8daa1e15db82ec42b5', ref: (el) => this.onVideoRef(el), class: {
|
|
252
252
|
mirror: this.isMirrored(),
|
|
253
253
|
[(_c = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.videoFit) !== null && _c !== void 0 ? _c : 'cover']: true,
|
|
254
|
-
}, onPlaying: this.onPlaying, onPause: this.onPause, autoPlay: true, playsInline: true, muted: true, part: "video" }), this.isPinned && (index$1.h("rtk-icon", { key: '
|
|
254
|
+
}, onPlaying: this.onPlaying, onPause: this.onPause, autoPlay: true, playsInline: true, muted: true, part: "video" }), this.isPinned && (index$1.h("rtk-icon", { key: '02ca6b139670e6ac3ac16a24248329a4dc09976d', class: "pinned-icon", icon: this.iconPack.pin, "aria-label": this.t('pinned'), part: "pinned-icon" })), this.mediaConnectionError && (index$1.h("div", { key: '5bf2f0b14e7d077b3ebd9bec74291bf746fcf6c9', class: "network-container", part: "network-indicator" }, index$1.h("rtk-icon", { key: '32ee83f5d08430273ae0bce3424e2e1a3206419a', class: "network-icon", icon: this.iconPack.disconnected, "aria-label": this.t('pinned'), part: "pinned-icon" }))), index$1.h("slot", { key: '781a75e98ff649fb94672cb7ce4f176ef0c1c090' }, index$1.h(index$2.Render, { key: 'b756c2269429153fbab8dd3c79978d0a2d3a153d', element: "rtk-participant-tile", defaults: defaults, childProps: {
|
|
255
255
|
participant: this.participant,
|
|
256
256
|
}, deepProps: true, onlyChildren: true }))));
|
|
257
257
|
}
|
|
@@ -90,11 +90,11 @@ const RtkParticipantSetup = class {
|
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
92
|
var _a, _b, _c, _d;
|
|
93
|
-
return (index$1.h(index$1.Host, { key: '
|
|
93
|
+
return (index$1.h(index$1.Host, { key: '69573519e7127835dd9304dcfb507ebbb94e0de8' }, index$1.h("video", { key: '75c047e3029721e655016da9a40e2b94770a5234', ref: (el) => (this.videoEl = el), class: {
|
|
94
94
|
visible: (_a = this.videoState) === null || _a === void 0 ? void 0 : _a.videoEnabled,
|
|
95
95
|
mirror: this.isMirrored(),
|
|
96
96
|
[(_d = (_c = (_b = this.config) === null || _b === void 0 ? void 0 : _b.config) === null || _c === void 0 ? void 0 : _c.videoFit) !== null && _d !== void 0 ? _d : 'cover']: true,
|
|
97
|
-
}, autoPlay: true, playsInline: true, muted: true }), index$1.h("slot", { key: '
|
|
97
|
+
}, autoPlay: true, playsInline: true, muted: true }), index$1.h("slot", { key: '3bdccee7fb4e001425249fe832b4bdcb01751306' })));
|
|
98
98
|
}
|
|
99
99
|
static get watchers() { return {
|
|
100
100
|
"participant": ["participantsChanged"],
|
|
@@ -401,12 +401,12 @@ const RtkVirtualizedParticipantList = class {
|
|
|
401
401
|
render() {
|
|
402
402
|
var _a;
|
|
403
403
|
const totalHeight = this.items.length * this.itemHeight; // Total height of the list
|
|
404
|
-
return (index$1.h("div", { key: '
|
|
404
|
+
return (index$1.h("div", { key: '1a35b2155ffba410d278513dbdfeb7fd238443d8', class: "virtual-list-container", style: {
|
|
405
405
|
position: 'relative',
|
|
406
406
|
height: '100%',
|
|
407
407
|
overflowX: 'hidden',
|
|
408
408
|
overflowY: 'auto',
|
|
409
|
-
} }, index$1.h("div", { key: '
|
|
409
|
+
} }, index$1.h("div", { key: '90f445de9af8464c23dbd931f46600e015839d4f', style: { height: `${totalHeight}px`, position: 'relative' } }, !((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) ? this.emptyListElement : this.renderItems()), index$1.h("div", { key: 'b7acc66cc75273c722b5a9c78949c67d785d5725', style: { height: `${this.itemHeight}px` } })));
|
|
410
410
|
}
|
|
411
411
|
get el() { return index$1.getElement(this); }
|
|
412
412
|
static get watchers() { return {
|
|
@@ -184,7 +184,7 @@ const RtkParticipantsAudio = class {
|
|
|
184
184
|
await this.handleEvents(meeting);
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return (index$1.h(index$1.Host, { key: '
|
|
187
|
+
return (index$1.h(index$1.Host, { key: '8f6ac797ceb5f3fa6c8633e72174e9ae91e7979a' }, this.showPlayDialog && (index$1.h("rtk-dialog", { key: 'd1f5723dec7d7e9e66625deb9cebce63e26520e1', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, index$1.h("div", { key: 'cd0de80766e3f1c665666f463bf405f44ed8323d', class: "modal" }, index$1.h("h3", { key: '098d978b8c3aeba86328e23104fa7e73f12f2296' }, this.t('audio_playback.title')), index$1.h("p", { key: '74d242093687ab9734392a8d5357c7a2c5cce8b9' }, this.t('audio_playback.description')), index$1.h("rtk-button", { key: '6382f33f9b3907989c5559c49091f2173be708e3', kind: "wide", onClick: () => {
|
|
188
188
|
this.audio.play();
|
|
189
189
|
this.onRtkDialogClose();
|
|
190
190
|
}, title: this.t('audio_playback') }, this.t('audio_playback')))))));
|
|
@@ -108,7 +108,7 @@ const RtkParticipants = class {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (index$1.h(index$1.Host, { key: '
|
|
111
|
+
return (index$1.h(index$1.Host, { key: '54501f9cebd4dee4398cb0161341c72008a1bf22' }, index$1.h("div", { key: '9157670e4ed76beb38ad5c6e3405a1707ff8d262', class: "participants-container" }, !this.hideHeader && (index$1.h("div", { key: '71d44cb3842d749a19526068700f788727ff5c28', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), index$1.h("rtk-virtualized-participant-list", { key: '8239db7509da6cc5334b8d860e9954527febacf2', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: index$1.h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
|
|
112
112
|
}
|
|
113
113
|
static get watchers() { return {
|
|
114
114
|
"meeting": ["meetingChanged"],
|
|
@@ -60,7 +60,7 @@ const RtkPlugins = class {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (index$1.h(index$1.Host, { key: '
|
|
63
|
+
return (index$1.h(index$1.Host, { key: '74f2d9af55a0670b4ae5406f73b333187e8c3d92' }, index$1.h("ul", { key: '955e4e2a9d101b5027ef725175996c8e72a94b30', class: "scrollbar" }, this.plugins.map((plugin) => (index$1.h("li", { key: plugin.name, class: "plugin" }, index$1.h("div", { class: "metadata" }, index$1.h("img", { src: plugin.picture }), index$1.h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (index$1.h("div", { class: "buttons" }, index$1.h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
64
64
|
plugin.activate();
|
|
65
65
|
this.close();
|
|
66
66
|
}, "aria-label": `${this.t('activate')} ${plugin.name}` }, index$1.h("rtk-icon", { icon: this.iconPack.rocket, tabIndex: -1, "aria-hidden": true })))), this.activatedPluginsId.includes(plugin.id) && this.canClosePlugins && (index$1.h("div", { class: "buttons" }, index$1.h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
@@ -150,14 +150,14 @@ const RtkPolls = class {
|
|
|
150
150
|
scroll.smoothScrollToBottom(this.pollEl);
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
|
-
return (index$1.h(index$1.Host, { key: '
|
|
153
|
+
return (index$1.h(index$1.Host, { key: 'aac0c84486146fa17436746fb6def9cc4e539a2c' }, index$1.h("div", { key: '179c4496372623a2ea2f7c0b555b84ea1cae12ee', class: "ctr", part: "container" }, index$1.h("div", { key: '07b09fc28d75b1d40dec83eecae3661dfca1dbd2', class: "polls-view scrollbar", ref: (el) => (this.pollEl = el), part: "polls" }, this.polls.length == 0 && this.create !== true && (index$1.h("div", { key: '841f91b0da755e48498c520a8234cf6b926b058c', class: "empty-polls" }, this.t('polls.empty'))), this.polls.map((item) => {
|
|
154
154
|
var _a;
|
|
155
155
|
return (index$1.h("rtk-poll", { key: item.id, poll: item, onRtkVotePoll: (e) => {
|
|
156
156
|
this.onVote(e.detail.id, e.detail.index);
|
|
157
157
|
}, self: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId, iconPack: this.iconPack, t: this.t, permissions: this.permissions }));
|
|
158
|
-
}), this.create && (index$1.h("rtk-poll-form", { key: '
|
|
158
|
+
}), this.create && (index$1.h("rtk-poll-form", { key: 'c6545dffc24f5409417666404ab73bf546834a8b', part: "poll-form", onRtkCreatePoll: (e) => {
|
|
159
159
|
this.onCreate(e.detail);
|
|
160
|
-
}, iconPack: this.iconPack, t: this.t }))), this.permissions.polls.canCreate && (index$1.h("rtk-button", { key: '
|
|
160
|
+
}, iconPack: this.iconPack, t: this.t }))), this.permissions.polls.canCreate && (index$1.h("rtk-button", { key: '69651546ee9a00f9b9c467e0f2307f5ce2dc1383', kind: "wide", onClick: () => this.toggleCreateState(), variant: this.create ? 'secondary' : 'primary', part: "button" }, this.create ? this.t('polls.cancel') : this.t('polls.create'))))));
|
|
161
161
|
}
|
|
162
162
|
static get watchers() { return {
|
|
163
163
|
"meeting": ["meetingChanged"]
|
|
@@ -40,7 +40,7 @@ const RtkPolls = class {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
const hasVoted = this.poll.voted.includes(this.self);
|
|
43
|
-
return (index$1.h(index$1.Host, { key: '
|
|
43
|
+
return (index$1.h(index$1.Host, { key: '3436a978185495090fcf81a59f40e3d0f9bac969' }, index$1.h("div", { key: '1349450369add7268b290b2b75ca07aa28820683', class: "ctr" }, index$1.h("p", { key: 'f36ddcb1f30368e5b311fe7f11cca87785c9570c', class: "poll-title" }, this.t('polls.by'), " ", string.shorten(string.formatName(this.poll.createdBy), 20)), index$1.h("div", { key: '6c5ac869b1c182d09d9e1490a312797c913d24b1', class: "poll" }, index$1.h("p", { key: '1c3ca8f47cf9a08f3ac7ef47e144330b922534fc', class: "poll-question" }, this.poll.question), index$1.h("div", { key: 'e5e60be4359714828d1d25bb24f5f143a1c6428f', class: "poll-answers" }, index$1.h("span", { key: '60eeb63b59d1f3d8c44a1cbd53c42e82877f22d1' }, this.t('polls.answers')), index$1.h("span", { key: '6c6a42a4e6b84ec18ad94bcd4015ed4047b7b0aa' }, this.poll.voted.length)), this.poll.options.map((item, index) => (index$1.h("div", { class: {
|
|
44
44
|
active: item.votes.some((x) => x.id === this.self),
|
|
45
45
|
'open-vote': this.permissions.polls.canVote && !hasVoted,
|
|
46
46
|
'poll-option': true,
|
|
@@ -124,10 +124,10 @@ const RtkPoll = class {
|
|
|
124
124
|
this.onCreate.emit(pollObject);
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
|
-
return (index$1.h(index$1.Host, { key: '
|
|
127
|
+
return (index$1.h(index$1.Host, { key: 'a5d66ad4586b3e3bf360fc7f3330cbebfcc27d29' }, index$1.h("div", { key: 'ab293118b0a4e4f0839da8b1f28e8bb4c3075e00', class: "create-poll" }, index$1.h("p", { key: 'dd851c73436db148c85fa4ae605841acc4047114' }, this.t('polls.question')), index$1.h("textarea", { key: 'f2fc86324169b0eb23eccbf6f9a9425b2fa43cef', onInput: () => {
|
|
128
128
|
if (this.error && this.error.code === 0)
|
|
129
129
|
this.error = undefined;
|
|
130
|
-
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (index$1.h("div", { class: "option" }, index$1.h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (index$1.h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, index$1.h("rtk-icon", { icon: this.iconPack.subtract })))))), index$1.h("rtk-button", { key: '
|
|
130
|
+
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (index$1.h("div", { class: "option" }, index$1.h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (index$1.h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, index$1.h("rtk-icon", { icon: this.iconPack.subtract })))))), index$1.h("rtk-button", { key: 'd33f567bcd74edf4ace17cd3a0ca36daf69eeb8c', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), index$1.h("label", { key: '1ded9b5aeec6b5b5fec3cc2ec43c488b48a0568b' }, index$1.h("input", { key: '37047cb8a6ccb8c37fc56261fb2f32fa0ff19d92', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), index$1.h("label", { key: '50ac11b8af600d337cc2a1d8ec934e1abac7eaf6' }, index$1.h("input", { key: '6d3df46887a4285d923cc2f8b82abf396a2df8fa', id: "hideVotes", type: "checkbox", disabled: this.anonymous, checked: this.anonymous ? true : this.hideVotes, onChange: (e) => (this.hideVotes = e.target.checked) }), this.t('polls.results.hide')), index$1.h("rtk-button", { key: '36f2228ca82a29f9d72f768fa65028690230a26f', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && index$1.h("span", { key: 'fe7a37df641bcf672e8c85a87251df19d8d1fc91', class: "error-text" }, this.error.message))));
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
__decorate([
|
|
@@ -47,7 +47,7 @@ const RtkRecordingIndicator = class {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (index$1.h(index$1.Host, { key: '
|
|
50
|
+
return (index$1.h(index$1.Host, { key: '3919ce20c5524d477536f62b9dd5abe8c1d49c37', "data-hidden": !this.isRecording }, this.isRecording && (index$1.h("div", { key: 'c482fdc00ff90f8ae2841f8d469f3b54704b6615', class: "indicator", "aria-label": this.t('recording.indicator'), part: "indicator" }, index$1.h("rtk-icon", { key: '75663e533fe47c5ad2e5d55db5d8a027fc12220c', icon: this.iconPack.recording, "aria-hidden": true, tabIndex: -1, part: "icon" }), index$1.h("span", { key: '99d4cc0c9ce7388808b643b0bcce27883d2b4643' }, this.t('recording.label'))))));
|
|
51
51
|
}
|
|
52
52
|
static get watchers() { return {
|
|
53
53
|
"meeting": ["meetingChanged"]
|
|
@@ -109,7 +109,7 @@ const RtkScreenshareView = class {
|
|
|
109
109
|
const icon = this.isFullScreen
|
|
110
110
|
? this.iconPack.full_screen_minimize
|
|
111
111
|
: this.iconPack.full_screen_maximize;
|
|
112
|
-
return (index$1.h(index$1.Host, { key: '
|
|
112
|
+
return (index$1.h(index$1.Host, { key: 'c5fe06d9c1bfd2856b2eb93bb55b7c636256052f', class: { isSelf } }, index$1.h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, index$1.h("video", { key: '5bdd1b7bd0e28ecb4b551b30f6e623c7a1ece49a', ref: (el) => (this.videoEl = el), class: {
|
|
113
113
|
visible: this.screenShareEnabled,
|
|
114
114
|
'fit-in-container': this.participant.supportsRemoteControl,
|
|
115
115
|
}, playsInline: true, onPlay: () => {
|
|
@@ -117,15 +117,15 @@ const RtkScreenshareView = class {
|
|
|
117
117
|
screenshareParticipant: this.participant,
|
|
118
118
|
participant: this.meeting.self,
|
|
119
119
|
});
|
|
120
|
-
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), index$1.h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && fullScreen.isFullScreenSupported() && (index$1.h("rtk-tooltip", { key: '
|
|
120
|
+
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), index$1.h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && fullScreen.isFullScreenSupported() && (index$1.h("rtk-tooltip", { key: 'fdfd7c6b5468ef96bdb06d4f942a3e10cbee08cb', label: text }, index$1.h("rtk-button", { key: '99e0138257f6e0ec55ceee7f20318d78887f812b', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, index$1.h("rtk-icon", { key: '06e747a6af4a5b79445ffb63598afd2ac515d3a2', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (index$1.h("div", { id: "self-message", key: "self-message" }, index$1.h("h3", { key: '1ad96435977e90e6f0eff64a54507d106a4091be' }, this.t('screenshare.shared')), index$1.h("div", { key: '02f1e2a734d3f56157ab76c1de55517995d8f98d', class: "actions" }, this.meeting != null && (index$1.h("rtk-button", { key: '4bc8344f8a829ff1a12552d9002d83032ec7277f', variant: "danger", onClick: () => {
|
|
121
121
|
this.meeting.self.disableScreenShare();
|
|
122
|
-
} }, index$1.h("rtk-icon", { key: '
|
|
122
|
+
} }, index$1.h("rtk-icon", { key: 'c2412bb995c605f980859481200033a447147b91', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), index$1.h("rtk-button", { key: '0d513e8b6efa96b542d6bd163db81a179073ed45', variant: "secondary", id: "expand-btn", onClick: () => {
|
|
123
123
|
this.videoExpanded = !this.videoExpanded;
|
|
124
|
-
} }, index$1.h("rtk-icon", { key: '
|
|
124
|
+
} }, index$1.h("rtk-icon", { key: 'bec9074447f55461239fc4c7c20b811dfe7db8bb', icon: this.videoExpanded
|
|
125
125
|
? this.iconPack.full_screen_minimize
|
|
126
126
|
: this.iconPack.full_screen_maximize, slot: "start" }), this.videoExpanded
|
|
127
127
|
? this.t('screenshare.min_preview')
|
|
128
|
-
: this.t('screenshare.max_preview'))))), index$1.h("slot", { key: '
|
|
128
|
+
: this.t('screenshare.max_preview'))))), index$1.h("slot", { key: '2858a3123887f964d6e8ea77fb871abddc4c6295' })));
|
|
129
129
|
}
|
|
130
130
|
get host() { return index$1.getElement(this); }
|
|
131
131
|
static get watchers() { return {
|
|
@@ -37,7 +37,7 @@ const RtkSettingsToggle = class {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const text = this.t('settings');
|
|
40
|
-
return (index$1.h(index$1.Host, { key: '
|
|
40
|
+
return (index$1.h(index$1.Host, { key: '11653f887305c7ba74c0e62197b0b8502f64bb22', title: text }, index$1.h("rtk-controlbar-button", { key: '4e4985182d0c63d2f9f8f2fc8173f2cd10edf91d', part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: () => this.toggleSettings(), icon: this.iconPack.settings, label: text, variant: this.variant })));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
__decorate([
|
|
@@ -84,7 +84,7 @@ const RtkSetupScreen = class {
|
|
|
84
84
|
iconPack: this.iconPack,
|
|
85
85
|
t: this.t,
|
|
86
86
|
};
|
|
87
|
-
return (index$1.h(index$1.Host, { key: '
|
|
87
|
+
return (index$1.h(index$1.Host, { key: '4d337a1e3a71a0651fa082a149298129dd7b984a' }, index$1.h("div", { key: '24fda5fbca3b4dd0092031d54b90632a20ecc287', class: "container" }, index$1.h("div", { key: 'c1d947c44ba11b69f9679c03cd7423581e427a04', class: 'container-tile' }, index$1.h(index$2.Render, { key: '5fe4a9507ed599f08f808f0cf295c1504ac43799', element: "rtk-participant-tile", defaults: defaults, props: { participant: (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self, size: 'md', isPreview: true }, childProps: { participant: (_c = this.meeting) === null || _c === void 0 ? void 0 : _c.self, size: 'md' }, deepProps: true }), index$1.h("div", { key: 'f0b35c6d5354c3416e72132d53bdda9fd770505b', class: 'media-selectors' }, index$1.h("rtk-microphone-selector", Object.assign({ key: 'daec71962a0d368e91fa7d410c09be0321d6e7e1' }, defaults, { variant: "inline" })), index$1.h("rtk-camera-selector", Object.assign({ key: 'b61f2afe68d92c48a199bcb22e1df124c392c22d' }, defaults, { variant: "inline" })), index$1.h("rtk-speaker-selector", Object.assign({ key: '8368f850725151e63ff390a2a721164e8923a762' }, defaults, { variant: "inline" })))), index$1.h("div", { key: 'd29f5f5e680e4614cf5ee378a1533c0e1235cf7c', class: "metadata" }, index$1.h("div", { key: 'c0b7e8ef018d34f447775f55e8244927314d70c3', class: "name" }, this.t('setup_screen.join_in_as')), index$1.h("div", { key: 'a45332643ef73dd286e48d2ba9b6bddd9625ab60', class: "label" }, index$1.h("div", { key: '71633d8d8987bafaa054edace2a18a9960d45f48', class: "name" }, !this.canEditName && string.shorten(this.displayName, 20))), this.canEditName && (index$1.h("input", { key: 'b7609fa43a59a637c14f32c7ad7cde8f67b04bc2', placeholder: this.t('setup_screen.your_name'), value: this.displayName, spellcheck: false, autoFocus: true, ref: (el) => {
|
|
88
88
|
this.inputEl = el;
|
|
89
89
|
}, onInput: (e) => {
|
|
90
90
|
this.displayName = e.target.value;
|
|
@@ -92,7 +92,7 @@ const RtkSetupScreen = class {
|
|
|
92
92
|
if (e.key === 'Enter') {
|
|
93
93
|
this.join();
|
|
94
94
|
}
|
|
95
|
-
} })), index$1.h("rtk-button", { key: '
|
|
95
|
+
} })), index$1.h("rtk-button", { key: '16599f17361ab91cee7af782e18ac55a75de2f95', size: "lg", kind: "wide", onClick: this.join, disabled: disabled }, this.isJoining ? index$1.h("rtk-spinner", { iconPack: this.iconPack }) : this.t('join')), this.connectionState !== 'connected' && (index$1.h("div", { key: 'ce111c7cbcd7ce227bd5eda1d9498621f5de0286', class: "no-network-badge" }, index$1.h("rtk-icon", { key: '3de05287a1657febc620285394299557042e5218', size: "md", variant: "danger", icon: this.iconPack.disconnected }), this.connectionState === 'failed'
|
|
96
96
|
? this.t('network.lost_extended')
|
|
97
97
|
: this.t('network.lost')))))));
|
|
98
98
|
}
|
|
@@ -76,7 +76,7 @@ const RtkSimpleGrid = class {
|
|
|
76
76
|
aspectRatio: this.aspectRatio,
|
|
77
77
|
gap: this.gap,
|
|
78
78
|
});
|
|
79
|
-
return (index$1.h(index$1.Host, { key: '
|
|
79
|
+
return (index$1.h(index$1.Host, { key: '66b303c15b37e03ca647f8633c72f664f1e7256f' }, index$1.h("slot", { key: '14f45cb35f76b6456561df790ca4be4ff415f1e7' }, this.participants.map((participant, index) => {
|
|
80
80
|
const { top, left } = getPosition(index);
|
|
81
81
|
return (index$1.h(index$2.Render, { element: "rtk-participant-tile", defaults: defaults, props: {
|
|
82
82
|
participant,
|
|
@@ -71,13 +71,13 @@ const RtkSpotlightGrid = class {
|
|
|
71
71
|
t: this.t,
|
|
72
72
|
};
|
|
73
73
|
const nonPinnedParticipants = this.participants.filter((p) => this.pinnedParticipants.some((pt) => pt.id != p.id));
|
|
74
|
-
return (index$1.h(index$1.Host, { key: '
|
|
74
|
+
return (index$1.h(index$1.Host, { key: '78a47e090097d8c758b7e78678c60c66231559e4' }, index$1.h("main", { key: '405ea4039c11b49abe9b7636f94b966b2a02388f', part: "main" }, index$1.h(index$2.Render, { key: 'bff026528181c24c2c761aa354678cb61aa01169', element: "rtk-simple-grid", defaults: defaults, props: {
|
|
75
75
|
part: 'main-grid',
|
|
76
76
|
participants: this.pinnedParticipants,
|
|
77
77
|
aspectRatio: this.aspectRatio,
|
|
78
78
|
gap: this.gap,
|
|
79
79
|
size: this.getAdaptiveSize(this.pinnedParticipants.length),
|
|
80
|
-
} })), nonPinnedParticipants.length > 0 && (index$1.h("aside", { key: '
|
|
80
|
+
} })), nonPinnedParticipants.length > 0 && (index$1.h("aside", { key: 'f2f77d8371fef0a83c5682d0dd7bf4d6c57ea69b', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, index$1.h(index$2.Render, { key: 'ba9e91c14b812c650275c4ae99bd602fb0f16aa0', element: "rtk-simple-grid", defaults: defaults, props: {
|
|
81
81
|
part: 'aside-grid',
|
|
82
82
|
participants: nonPinnedParticipants,
|
|
83
83
|
aspectRatio: this.aspectRatio,
|
|
@@ -29,7 +29,7 @@ const RtkStage = class {
|
|
|
29
29
|
this.t = uiStore.useLanguage();
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (index$1.h(index$1.Host, { key: '
|
|
32
|
+
return (index$1.h(index$1.Host, { key: 'c28c425c3619477e0e9234f42ec5711a49d27a43' }, index$1.h("slot", { key: '8a4210ce0af731affd16bdab0258135f71b6408f' })));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
__decorate([
|
|
@@ -44,7 +44,7 @@ const RtkTranscript = class {
|
|
|
44
44
|
}, 10000);
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (index$1.h(index$1.Host, { key: '
|
|
47
|
+
return (index$1.h(index$1.Host, { key: '40777059dc796ccc9772d79ce7507762bc8f9323' }, index$1.h("div", { key: 'b2c9181f66d7dcc024d7f1dedee09429139285a1', class: "ctr" }, index$1.h("p", { key: '261023413c7bad6207249d93dbd61222aafa0df8', class: "message" }, index$1.h("span", { key: '822c6ecc8dd33bc9395f21a5bec49183f207fd7b', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
|
|
48
48
|
}
|
|
49
49
|
static get watchers() { return {
|
|
50
50
|
"transcript": ["transcriptChanged"]
|
|
@@ -152,7 +152,7 @@ const RtkUiProvider = class {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
render() {
|
|
155
|
-
return index.h(index.Host, { key: '
|
|
155
|
+
return index.h(index.Host, { key: '4c5b692de4bf1486e1c17ab6f9d61684705cfa95' }, this.noRenderUntilMeeting && !this.meeting ? null : index.h("slot", null));
|
|
156
156
|
}
|
|
157
157
|
get host() { return index.getElement(this); }
|
|
158
158
|
static get watchers() { return {
|
|
@@ -30,7 +30,7 @@ const RtkWaitingScreen = class {
|
|
|
30
30
|
this.t = uiStore.useLanguage();
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (index$1.h(index$1.Host, { key: '
|
|
33
|
+
return (index$1.h(index$1.Host, { key: 'f2c47d3259b2df855467a20acb9c3cf9efba0656' }, index$1.h("slot", { key: 'f00f36e15ecf6279903d8512f3dee23057de734a' }, index$1.h("div", { key: '980543555369e3547a6ba36a4235e885ca65ee4b', class: "centered", part: "content" }, index$1.h("rtk-logo", { key: '9a82a757b90ceb5ec2d143cc2e4ba3a85e4b5ead', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), index$1.h("p", { key: 'e9c2f4e21f075ee74e147249bd52e8947bdfa37d' }, this.t('waitlist.body_text'))))));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
__decorate([
|
|
@@ -29,7 +29,7 @@ p {
|
|
|
29
29
|
min-width: var(--rtk-space-40, 160px);
|
|
30
30
|
align-items: center;
|
|
31
31
|
padding-left: var(--rtk-space-3, 12px);
|
|
32
|
-
padding-right: var(--rtk-space-
|
|
32
|
+
padding-right: var(--rtk-space-2, 8px);
|
|
33
33
|
-webkit-user-select: none;
|
|
34
34
|
-moz-user-select: none;
|
|
35
35
|
user-select: none;
|
|
@@ -81,28 +81,43 @@ rtk-icon.icon {
|
|
|
81
81
|
color: rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
height: var(--rtk-space-
|
|
87
|
-
width: var(--rtk-space-
|
|
88
|
-
|
|
84
|
+
button.dismiss {
|
|
85
|
+
display: flex;
|
|
86
|
+
height: var(--rtk-space-6, 24px);
|
|
87
|
+
width: var(--rtk-space-6, 24px);
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
border-width: var(--rtk-border-width-none, 0);
|
|
91
|
+
border-style: none;
|
|
92
|
+
padding: var(--rtk-space-0, 0px);
|
|
93
|
+
border-radius: var(--rtk-border-radius-sm, 4px);
|
|
94
|
+
background-color: transparent;
|
|
89
95
|
color: rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));
|
|
96
|
+
outline-width: 1px;
|
|
97
|
+
outline-color: rgb(var(--rtk-colors-text-1000, 255 255 255));
|
|
90
98
|
}
|
|
91
99
|
|
|
92
|
-
|
|
100
|
+
button.dismiss:hover {
|
|
93
101
|
cursor: pointer;
|
|
94
102
|
color: rgb(var(--rtk-colors-text-1000, 255 255 255));
|
|
95
103
|
}
|
|
96
104
|
|
|
97
|
-
|
|
105
|
+
button.dismiss:focus-visible {
|
|
106
|
+
outline-style: solid;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
button.dismiss {
|
|
98
110
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
99
111
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
100
112
|
transition-duration: 150ms;
|
|
101
113
|
}
|
|
102
114
|
|
|
115
|
+
.dismiss rtk-icon {
|
|
116
|
+
height: var(--rtk-space-5, 20px);
|
|
117
|
+
width: var(--rtk-space-5, 20px);
|
|
118
|
+
}
|
|
119
|
+
|
|
103
120
|
rtk-button {
|
|
104
|
-
margin-left: var(--rtk-space-4, 16px);
|
|
105
|
-
margin-right: var(--rtk-space-2, 8px);
|
|
106
121
|
border-radius: var(--rtk-border-radius-sm, 4px);
|
|
107
122
|
}
|
|
108
123
|
|
|
@@ -110,14 +125,7 @@ rtk-button {
|
|
|
110
125
|
margin-left: auto;
|
|
111
126
|
display: flex;
|
|
112
127
|
align-items: center;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
.right > * {
|
|
116
|
-
margin-left: var(--rtk-space-2, 8px);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.right > *:first-child {
|
|
120
|
-
margin-left: var(--rtk-space-0, 0px);
|
|
128
|
+
gap: var(--rtk-space-2, 8px);
|
|
121
129
|
}
|
|
122
130
|
|
|
123
131
|
:host(.exit) {
|