@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
|
@@ -30,18 +30,26 @@ export class RtkNotification {
|
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
this.notificationChanged(this.notification);
|
|
32
32
|
}
|
|
33
|
+
pausedChanged(paused) {
|
|
34
|
+
if (paused) {
|
|
35
|
+
clearTimeout(this.timeout);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
this.notificationChanged(this.notification);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
33
41
|
notificationChanged(notification) {
|
|
34
|
-
if (notification != null && typeof notification.duration === 'number') {
|
|
35
|
-
setTimeout(() => {
|
|
42
|
+
if (notification != null && typeof notification.duration === 'number' && !this.paused) {
|
|
43
|
+
this.timeout = window.setTimeout(() => {
|
|
36
44
|
this.dismiss.emit(notification.id);
|
|
37
45
|
}, notification.duration);
|
|
38
46
|
}
|
|
39
47
|
}
|
|
40
48
|
render() {
|
|
41
49
|
var _a;
|
|
42
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'b6a7ede34064bcc25040589cd09b00a5e5a5cf8a' }, h("div", { key: '42608dc49ec59c0c54be513e59b81627f0ecb11c', class: "ctr" }, this.notification.icon != null && (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 &&
|
|
43
51
|
this.notification.icon == null &&
|
|
44
|
-
this.imageState !== 'errored' && (h("img", { key: '
|
|
52
|
+
this.imageState !== 'errored' && (h("img", { key: '0e8d7812bd8b58ce0efe3edff6ae7346cbcd0fd4', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: 'f28ec5ff1a3902817d5501ea2324371defc8995a', class: "message" }, h(TextMessageView, { key: '7f7b179a67d125585ed70112fcb2a1925c3bae52', message: this.notification.message })), h("div", { key: '2ba60b2b60ddbc43d207adc86e0a975f3c432f70', class: "right" }, this.notification.button != null && (h("rtk-button", { key: '2f4871b0ee2871cbccb016e4451e28c424fe14ce', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '1786dac10dbc2ca9aabad707354ce16fe1af9bc8', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: 'b11c47705af86c38bd6488ecb6998aad62099396', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
|
|
45
53
|
}
|
|
46
54
|
static get is() { return "rtk-notification"; }
|
|
47
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,6 +88,25 @@ export class RtkNotification {
|
|
|
80
88
|
"getter": false,
|
|
81
89
|
"setter": false
|
|
82
90
|
},
|
|
91
|
+
"paused": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"mutable": false,
|
|
94
|
+
"complexType": {
|
|
95
|
+
"original": "boolean",
|
|
96
|
+
"resolved": "boolean",
|
|
97
|
+
"references": {}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": false,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": "Stops timeout when true"
|
|
104
|
+
},
|
|
105
|
+
"getter": false,
|
|
106
|
+
"setter": false,
|
|
107
|
+
"attribute": "paused",
|
|
108
|
+
"reflect": false
|
|
109
|
+
},
|
|
83
110
|
"size": {
|
|
84
111
|
"type": "string",
|
|
85
112
|
"mutable": false,
|
|
@@ -180,6 +207,9 @@ export class RtkNotification {
|
|
|
180
207
|
}
|
|
181
208
|
static get watchers() {
|
|
182
209
|
return [{
|
|
210
|
+
"propName": "paused",
|
|
211
|
+
"methodName": "pausedChanged"
|
|
212
|
+
}, {
|
|
183
213
|
"propName": "notification",
|
|
184
214
|
"methodName": "notificationChanged"
|
|
185
215
|
}];
|
|
@@ -86,6 +86,7 @@ export class RtkNotifications {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
|
+
this.paused = false;
|
|
89
90
|
}
|
|
90
91
|
connectedCallback() {
|
|
91
92
|
if (typeof document !== 'undefined') {
|
|
@@ -522,7 +523,7 @@ export class RtkNotifications {
|
|
|
522
523
|
this.meeting.self.permissions.acceptWaitingRequests);
|
|
523
524
|
}
|
|
524
525
|
render() {
|
|
525
|
-
return (h(Host, { key: '
|
|
526
|
+
return (h(Host, { key: '906188de5f85fcdb91e7bbd9fc44c60f722ec231' }, h("div", { key: '971924ad071ffa9525984eac3f11e929d10ec8a2', onMouseEnter: () => (this.paused = true), onFocusin: () => (this.paused = true), onMouseLeave: () => (this.paused = false), onFocusout: () => (this.paused = false) }, this.notifications.map((notification) => (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 }))))));
|
|
526
527
|
}
|
|
527
528
|
static get is() { return "rtk-notifications"; }
|
|
528
529
|
static get encapsulation() { return "shadow"; }
|
|
@@ -685,7 +686,8 @@ export class RtkNotifications {
|
|
|
685
686
|
}
|
|
686
687
|
static get states() {
|
|
687
688
|
return {
|
|
688
|
-
"notifications": {}
|
|
689
|
+
"notifications": {},
|
|
690
|
+
"paused": {}
|
|
689
691
|
};
|
|
690
692
|
}
|
|
691
693
|
static get elementRef() { return "host"; }
|
|
@@ -30,7 +30,7 @@ export class RtkOverlayModal {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'e5bdb94d07093b7b6950c5d389b3cca3c5f0bc22' }, h("rtk-icon", { key: '04dcace07d18e31644bb11215c069eb63ea8dfe6', icon: this.states.activeOverlayModal.icon }), h("h2", { key: '5ca79bee28c169a489a83e53e0911e6187c731f2' }, this.states.activeOverlayModal.title), h("p", { key: 'd4d7e34a08e991709b1931ce22c899dcc624c692' }, this.states.activeOverlayModal.description)));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "rtk-overlay-modal"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,11 +83,11 @@ export class RtkParticipantSetup {
|
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
85
|
var _a, _b, _c, _d;
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '69573519e7127835dd9304dcfb507ebbb94e0de8' }, h("video", { key: '75c047e3029721e655016da9a40e2b94770a5234', ref: (el) => (this.videoEl = el), class: {
|
|
87
87
|
visible: (_a = this.videoState) === null || _a === void 0 ? void 0 : _a.videoEnabled,
|
|
88
88
|
mirror: this.isMirrored(),
|
|
89
89
|
[(_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,
|
|
90
|
-
}, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '
|
|
90
|
+
}, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '3bdccee7fb4e001425249fe832b4bdcb01751306' })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "rtk-participant-setup"; }
|
|
93
93
|
static get encapsulation() { return "shadow"; }
|
|
@@ -133,10 +133,10 @@ export class RtkParticipantTile {
|
|
|
133
133
|
iconPack: this.iconPack,
|
|
134
134
|
t: this.t,
|
|
135
135
|
};
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: '3e979a21a98a39b061612531ef9bd644d39a983e' }, h("video", { key: '3ba45f4944aafeb8673afc8daa1e15db82ec42b5', ref: (el) => this.onVideoRef(el), class: {
|
|
137
137
|
mirror: this.isMirrored(),
|
|
138
138
|
[(_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,
|
|
139
|
-
}, onPlaying: this.onPlaying, onPause: this.onPause, autoPlay: true, playsInline: true, muted: true, part: "video" }), this.isPinned && (h("rtk-icon", { key: '
|
|
139
|
+
}, onPlaying: this.onPlaying, onPause: this.onPause, autoPlay: true, playsInline: true, muted: true, part: "video" }), this.isPinned && (h("rtk-icon", { key: '02ca6b139670e6ac3ac16a24248329a4dc09976d', class: "pinned-icon", icon: this.iconPack.pin, "aria-label": this.t('pinned'), part: "pinned-icon" })), this.mediaConnectionError && (h("div", { key: '5bf2f0b14e7d077b3ebd9bec74291bf746fcf6c9', class: "network-container", part: "network-indicator" }, h("rtk-icon", { key: '32ee83f5d08430273ae0bce3424e2e1a3206419a', class: "network-icon", icon: this.iconPack.disconnected, "aria-label": this.t('pinned'), part: "pinned-icon" }))), h("slot", { key: '781a75e98ff649fb94672cb7ce4f176ef0c1c090' }, h(Render, { key: 'b756c2269429153fbab8dd3c79978d0a2d3a153d', element: "rtk-participant-tile", defaults: defaults, childProps: {
|
|
140
140
|
participant: this.participant,
|
|
141
141
|
}, deepProps: true, onlyChildren: true }))));
|
|
142
142
|
}
|
|
@@ -126,7 +126,7 @@ export class RtkParticipantsAudio {
|
|
|
126
126
|
await this.handleEvents(meeting);
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
|
-
return (h(Host, { key: '
|
|
129
|
+
return (h(Host, { key: '8f6ac797ceb5f3fa6c8633e72174e9ae91e7979a' }, this.showPlayDialog && (h("rtk-dialog", { key: 'd1f5723dec7d7e9e66625deb9cebce63e26520e1', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: 'cd0de80766e3f1c665666f463bf405f44ed8323d', class: "modal" }, h("h3", { key: '098d978b8c3aeba86328e23104fa7e73f12f2296' }, this.t('audio_playback.title')), h("p", { key: '74d242093687ab9734392a8d5357c7a2c5cce8b9' }, this.t('audio_playback.description')), h("rtk-button", { key: '6382f33f9b3907989c5559c49091f2173be708e3', kind: "wide", onClick: () => {
|
|
130
130
|
this.audio.play();
|
|
131
131
|
this.onRtkDialogClose();
|
|
132
132
|
}, title: this.t('audio_playback') }, this.t('audio_playback')))))));
|
package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js
CHANGED
|
@@ -105,7 +105,7 @@ export class RtkParticipants {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '54501f9cebd4dee4398cb0161341c72008a1bf22' }, h("div", { key: '9157670e4ed76beb38ad5c6e3405a1707ff8d262', class: "participants-container" }, !this.hideHeader && (h("div", { key: '71d44cb3842d749a19526068700f788727ff5c28', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: '8239db7509da6cc5334b8d860e9954527febacf2', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "rtk-participants-stage-list"; }
|
|
111
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -161,7 +161,7 @@ export class RtkPermissionsMessage {
|
|
|
161
161
|
this.stepsTimer = setTimeout(this.nextStep, 2500);
|
|
162
162
|
}
|
|
163
163
|
const showMacDeepLink = isDeniedBySystem && this.meeting.self.device.osName == 'macOS';
|
|
164
|
-
return (h(Host, { key: '
|
|
164
|
+
return (h(Host, { key: '37bc20fd76370a473d701b99f141057e3ef7b9ea' }, h("h2", { key: '5177028bd1d1f909cc5dacffaf7a63e9a90a6119' }, h("rtk-icon", { key: 'eef420ebb45cedbd63f6f4532954a5175535c07e', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (h("div", { key: '1f35d79d6e3b83341a26081fc72540863d395108', class: 'svg-container' }, this.svgSteps.map((e, index) => (h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), h("div", { key: '855ceb1e53e3006b85d32e0edd9eb0088f94ad75' }, this.getMessage()), !isDeniedBySystem && (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" }, h("rtk-icon", { key: '775423666928defb61670cd9a4c2e158fe6386e6', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), h("div", { key: '023b8da610c0afea0abb203ae9d09286b3368ccf', class: "actions" }, h("rtk-button", { key: 'a2b29cb77e0f32076dc8bf0a72e6b2f512684201', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), h("slot", { key: '2e7d6bcdb64f65de6e73742946a3a173905227a5' })));
|
|
165
165
|
}
|
|
166
166
|
static get is() { return "rtk-permissions-message"; }
|
|
167
167
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,7 +55,7 @@ export class RtkPlugins {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '74f2d9af55a0670b4ae5406f73b333187e8c3d92' }, h("ul", { key: '955e4e2a9d101b5027ef725175996c8e72a94b30', class: "scrollbar" }, this.plugins.map((plugin) => (h("li", { key: plugin.name, class: "plugin" }, h("div", { class: "metadata" }, h("img", { src: plugin.picture }), h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
59
59
|
plugin.activate();
|
|
60
60
|
this.close();
|
|
61
61
|
}, "aria-label": `${this.t('activate')} ${plugin.name}` }, h("rtk-icon", { icon: this.iconPack.rocket, tabIndex: -1, "aria-hidden": true })))), this.activatedPluginsId.includes(plugin.id) && this.canClosePlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
@@ -36,7 +36,7 @@ export class RtkPolls {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const hasVoted = this.poll.voted.includes(this.self);
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '3436a978185495090fcf81a59f40e3d0f9bac969' }, h("div", { key: '1349450369add7268b290b2b75ca07aa28820683', class: "ctr" }, h("p", { key: 'f36ddcb1f30368e5b311fe7f11cca87785c9570c', class: "poll-title" }, this.t('polls.by'), " ", shorten(formatName(this.poll.createdBy), 20)), h("div", { key: '6c5ac869b1c182d09d9e1490a312797c913d24b1', class: "poll" }, h("p", { key: '1c3ca8f47cf9a08f3ac7ef47e144330b922534fc', class: "poll-question" }, this.poll.question), h("div", { key: 'e5e60be4359714828d1d25bb24f5f143a1c6428f', class: "poll-answers" }, h("span", { key: '60eeb63b59d1f3d8c44a1cbd53c42e82877f22d1' }, this.t('polls.answers')), h("span", { key: '6c6a42a4e6b84ec18ad94bcd4015ed4047b7b0aa' }, this.poll.voted.length)), this.poll.options.map((item, index) => (h("div", { class: {
|
|
40
40
|
active: item.votes.some((x) => x.id === this.self),
|
|
41
41
|
'open-vote': this.permissions.polls.canVote && !hasVoted,
|
|
42
42
|
'poll-option': true,
|
|
@@ -65,10 +65,10 @@ export class RtkPoll {
|
|
|
65
65
|
this.onCreate.emit(pollObject);
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'a5d66ad4586b3e3bf360fc7f3330cbebfcc27d29' }, h("div", { key: 'ab293118b0a4e4f0839da8b1f28e8bb4c3075e00', class: "create-poll" }, h("p", { key: 'dd851c73436db148c85fa4ae605841acc4047114' }, this.t('polls.question')), h("textarea", { key: 'f2fc86324169b0eb23eccbf6f9a9425b2fa43cef', onInput: () => {
|
|
69
69
|
if (this.error && this.error.code === 0)
|
|
70
70
|
this.error = undefined;
|
|
71
|
-
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: '
|
|
71
|
+
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: 'd33f567bcd74edf4ace17cd3a0ca36daf69eeb8c', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), h("label", { key: '1ded9b5aeec6b5b5fec3cc2ec43c488b48a0568b' }, h("input", { key: '37047cb8a6ccb8c37fc56261fb2f32fa0ff19d92', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), h("label", { key: '50ac11b8af600d337cc2a1d8ec934e1abac7eaf6' }, 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')), h("rtk-button", { key: '36f2228ca82a29f9d72f768fa65028690230a26f', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && h("span", { key: 'fe7a37df641bcf672e8c85a87251df19d8d1fc91', class: "error-text" }, this.error.message))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "rtk-poll-form"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,14 +69,14 @@ export class RtkPolls {
|
|
|
69
69
|
smoothScrollToBottom(this.pollEl);
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'aac0c84486146fa17436746fb6def9cc4e539a2c' }, h("div", { key: '179c4496372623a2ea2f7c0b555b84ea1cae12ee', class: "ctr", part: "container" }, h("div", { key: '07b09fc28d75b1d40dec83eecae3661dfca1dbd2', class: "polls-view scrollbar", ref: (el) => (this.pollEl = el), part: "polls" }, this.polls.length == 0 && this.create !== true && (h("div", { key: '841f91b0da755e48498c520a8234cf6b926b058c', class: "empty-polls" }, this.t('polls.empty'))), this.polls.map((item) => {
|
|
73
73
|
var _a;
|
|
74
74
|
return (h("rtk-poll", { key: item.id, poll: item, onRtkVotePoll: (e) => {
|
|
75
75
|
this.onVote(e.detail.id, e.detail.index);
|
|
76
76
|
}, self: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId, iconPack: this.iconPack, t: this.t, permissions: this.permissions }));
|
|
77
|
-
}), this.create && (h("rtk-poll-form", { key: '
|
|
77
|
+
}), this.create && (h("rtk-poll-form", { key: 'c6545dffc24f5409417666404ab73bf546834a8b', part: "poll-form", onRtkCreatePoll: (e) => {
|
|
78
78
|
this.onCreate(e.detail);
|
|
79
|
-
}, iconPack: this.iconPack, t: this.t }))), this.permissions.polls.canCreate && (h("rtk-button", { key: '
|
|
79
|
+
}, iconPack: this.iconPack, t: this.t }))), this.permissions.polls.canCreate && (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'))))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "rtk-polls"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class RtkRecordingIndicator {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '3919ce20c5524d477536f62b9dd5abe8c1d49c37', "data-hidden": !this.isRecording }, this.isRecording && (h("div", { key: 'c482fdc00ff90f8ae2841f8d469f3b54704b6615', class: "indicator", "aria-label": this.t('recording.indicator'), part: "indicator" }, h("rtk-icon", { key: '75663e533fe47c5ad2e5d55db5d8a027fc12220c', icon: this.iconPack.recording, "aria-hidden": true, tabIndex: -1, part: "icon" }), h("span", { key: '99d4cc0c9ce7388808b643b0bcce27883d2b4643' }, this.t('recording.label'))))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "rtk-recording-indicator"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -106,7 +106,7 @@ export class RtkScreenshareView {
|
|
|
106
106
|
const icon = this.isFullScreen
|
|
107
107
|
? this.iconPack.full_screen_minimize
|
|
108
108
|
: this.iconPack.full_screen_maximize;
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: 'c5fe06d9c1bfd2856b2eb93bb55b7c636256052f', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: '5bdd1b7bd0e28ecb4b551b30f6e623c7a1ece49a', ref: (el) => (this.videoEl = el), class: {
|
|
110
110
|
visible: this.screenShareEnabled,
|
|
111
111
|
'fit-in-container': this.participant.supportsRemoteControl,
|
|
112
112
|
}, playsInline: true, onPlay: () => {
|
|
@@ -114,15 +114,15 @@ export class RtkScreenshareView {
|
|
|
114
114
|
screenshareParticipant: this.participant,
|
|
115
115
|
participant: this.meeting.self,
|
|
116
116
|
});
|
|
117
|
-
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: '
|
|
117
|
+
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: 'fdfd7c6b5468ef96bdb06d4f942a3e10cbee08cb', label: text }, h("rtk-button", { key: '99e0138257f6e0ec55ceee7f20318d78887f812b', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: '06e747a6af4a5b79445ffb63598afd2ac515d3a2', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: '1ad96435977e90e6f0eff64a54507d106a4091be' }, this.t('screenshare.shared')), h("div", { key: '02f1e2a734d3f56157ab76c1de55517995d8f98d', class: "actions" }, this.meeting != null && (h("rtk-button", { key: '4bc8344f8a829ff1a12552d9002d83032ec7277f', variant: "danger", onClick: () => {
|
|
118
118
|
this.meeting.self.disableScreenShare();
|
|
119
|
-
} }, h("rtk-icon", { key: '
|
|
119
|
+
} }, h("rtk-icon", { key: 'c2412bb995c605f980859481200033a447147b91', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), h("rtk-button", { key: '0d513e8b6efa96b542d6bd163db81a179073ed45', variant: "secondary", id: "expand-btn", onClick: () => {
|
|
120
120
|
this.videoExpanded = !this.videoExpanded;
|
|
121
|
-
} }, h("rtk-icon", { key: '
|
|
121
|
+
} }, h("rtk-icon", { key: 'bec9074447f55461239fc4c7c20b811dfe7db8bb', icon: this.videoExpanded
|
|
122
122
|
? this.iconPack.full_screen_minimize
|
|
123
123
|
: this.iconPack.full_screen_maximize, slot: "start" }), this.videoExpanded
|
|
124
124
|
? this.t('screenshare.min_preview')
|
|
125
|
-
: this.t('screenshare.max_preview'))))), h("slot", { key: '
|
|
125
|
+
: this.t('screenshare.max_preview'))))), h("slot", { key: '2858a3123887f964d6e8ea77fb871abddc4c6295' })));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "rtk-screenshare-view"; }
|
|
128
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,7 +37,7 @@ export class RtkSettingsToggle {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const text = this.t('settings');
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '11653f887305c7ba74c0e62197b0b8502f64bb22', title: text }, 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
|
static get is() { return "rtk-settings-toggle"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@ export class RtkSetupScreen {
|
|
|
81
81
|
iconPack: this.iconPack,
|
|
82
82
|
t: this.t,
|
|
83
83
|
};
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '4d337a1e3a71a0651fa082a149298129dd7b984a' }, h("div", { key: '24fda5fbca3b4dd0092031d54b90632a20ecc287', class: "container" }, h("div", { key: 'c1d947c44ba11b69f9679c03cd7423581e427a04', class: 'container-tile' }, h(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 }), h("div", { key: 'f0b35c6d5354c3416e72132d53bdda9fd770505b', class: 'media-selectors' }, h("rtk-microphone-selector", Object.assign({ key: 'daec71962a0d368e91fa7d410c09be0321d6e7e1' }, defaults, { variant: "inline" })), h("rtk-camera-selector", Object.assign({ key: 'b61f2afe68d92c48a199bcb22e1df124c392c22d' }, defaults, { variant: "inline" })), h("rtk-speaker-selector", Object.assign({ key: '8368f850725151e63ff390a2a721164e8923a762' }, defaults, { variant: "inline" })))), h("div", { key: 'd29f5f5e680e4614cf5ee378a1533c0e1235cf7c', class: "metadata" }, h("div", { key: 'c0b7e8ef018d34f447775f55e8244927314d70c3', class: "name" }, this.t('setup_screen.join_in_as')), h("div", { key: 'a45332643ef73dd286e48d2ba9b6bddd9625ab60', class: "label" }, h("div", { key: '71633d8d8987bafaa054edace2a18a9960d45f48', class: "name" }, !this.canEditName && shorten(this.displayName, 20))), this.canEditName && (h("input", { key: 'b7609fa43a59a637c14f32c7ad7cde8f67b04bc2', placeholder: this.t('setup_screen.your_name'), value: this.displayName, spellcheck: false, autoFocus: true, ref: (el) => {
|
|
85
85
|
this.inputEl = el;
|
|
86
86
|
}, onInput: (e) => {
|
|
87
87
|
this.displayName = e.target.value;
|
|
@@ -89,7 +89,7 @@ export class RtkSetupScreen {
|
|
|
89
89
|
if (e.key === 'Enter') {
|
|
90
90
|
this.join();
|
|
91
91
|
}
|
|
92
|
-
} })), h("rtk-button", { key: '
|
|
92
|
+
} })), h("rtk-button", { key: '16599f17361ab91cee7af782e18ac55a75de2f95', size: "lg", kind: "wide", onClick: this.join, disabled: disabled }, this.isJoining ? h("rtk-spinner", { iconPack: this.iconPack }) : this.t('join')), this.connectionState !== 'connected' && (h("div", { key: 'ce111c7cbcd7ce227bd5eda1d9498621f5de0286', class: "no-network-badge" }, h("rtk-icon", { key: '3de05287a1657febc620285394299557042e5218', size: "md", variant: "danger", icon: this.iconPack.disconnected }), this.connectionState === 'failed'
|
|
93
93
|
? this.t('network.lost_extended')
|
|
94
94
|
: this.t('network.lost')))))));
|
|
95
95
|
}
|
|
@@ -72,7 +72,7 @@ export class RtkSimpleGrid {
|
|
|
72
72
|
aspectRatio: this.aspectRatio,
|
|
73
73
|
gap: this.gap,
|
|
74
74
|
});
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '66b303c15b37e03ca647f8633c72f664f1e7256f' }, h("slot", { key: '14f45cb35f76b6456561df790ca4be4ff415f1e7' }, this.participants.map((participant, index) => {
|
|
76
76
|
const { top, left } = getPosition(index);
|
|
77
77
|
return (h(Render, { element: "rtk-participant-tile", defaults: defaults, props: {
|
|
78
78
|
participant,
|
|
@@ -22,7 +22,7 @@ export class RtkSpinner {
|
|
|
22
22
|
this.size = 'md';
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '40c9d7dd077b4ed5372afa510644528d392ff329' }, h("rtk-icon", { key: 'e74d17cc21859fc8581ad9e8735f65a98aa18300', class: "spinner", icon: this.iconPack.spinner })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "rtk-spinner"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -72,13 +72,13 @@ export class RtkSpotlightGrid {
|
|
|
72
72
|
t: this.t,
|
|
73
73
|
};
|
|
74
74
|
const nonPinnedParticipants = this.participants.filter((p) => this.pinnedParticipants.some((pt) => pt.id != p.id));
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '78a47e090097d8c758b7e78678c60c66231559e4' }, h("main", { key: '405ea4039c11b49abe9b7636f94b966b2a02388f', part: "main" }, h(Render, { key: 'bff026528181c24c2c761aa354678cb61aa01169', element: "rtk-simple-grid", defaults: defaults, props: {
|
|
76
76
|
part: 'main-grid',
|
|
77
77
|
participants: this.pinnedParticipants,
|
|
78
78
|
aspectRatio: this.aspectRatio,
|
|
79
79
|
gap: this.gap,
|
|
80
80
|
size: this.getAdaptiveSize(this.pinnedParticipants.length),
|
|
81
|
-
} })), nonPinnedParticipants.length > 0 && (h("aside", { key: '
|
|
81
|
+
} })), nonPinnedParticipants.length > 0 && (h("aside", { key: 'f2f77d8371fef0a83c5682d0dd7bf4d6c57ea69b', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: 'ba9e91c14b812c650275c4ae99bd602fb0f16aa0', element: "rtk-simple-grid", defaults: defaults, props: {
|
|
82
82
|
part: 'aside-grid',
|
|
83
83
|
participants: nonPinnedParticipants,
|
|
84
84
|
aspectRatio: this.aspectRatio,
|
|
@@ -26,7 +26,7 @@ export class RtkStage {
|
|
|
26
26
|
this.t = useLanguage();
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'c28c425c3619477e0e9234f42ec5711a49d27a43' }, h("slot", { key: '8a4210ce0af731affd16bdab0258135f71b6408f' })));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "rtk-stage"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,7 +52,7 @@ export class RtkSwitch {
|
|
|
52
52
|
this.onChange.emit(checked);
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'd52144d4eeaf1f93dc3f83971f014e4e31e80c0e', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: 'aa51da6304b98be4d6d7c109ff488c1a684f6bb3', class: "switch", part: "switch" })));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "rtk-switch"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,7 +69,7 @@ export class RtkTextComposerView {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h("div", { key: '
|
|
72
|
+
return (h("div", { key: 'ce055f9e92b79c5ae63448220ea3f1e5adfb39c1', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: 'd131418c66d521fb7b3012465f5774113ae902eb', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, 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 && (h("div", { key: 'f96301c878d5b3b607fcd5de6d2131e647a3477a', class: 'text-error breached' }, h("rtk-icon", { key: '9b2ecdbac46b0e6ab09e91280c9ca473c719a5a9', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), 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 })));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "rtk-text-composer-view"; }
|
|
75
75
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,10 +32,10 @@ export class RtkTextMessage {
|
|
|
32
32
|
this.showBubble = false;
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'c21acb6c8645f4397b468f9f3bd687049503eb50' }, !this.isContinued && (h(ChatHead, { key: 'b7fa598be7d197a761bbb77617d4c9d8a255c48d', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: 'dc13b5f61ff5ecdece68abc33444d5a4e6852d92', class: {
|
|
36
36
|
body: true,
|
|
37
37
|
bubble: this.showBubble,
|
|
38
|
-
}, part: "body" }, h("div", { key: '
|
|
38
|
+
}, part: "body" }, h("div", { key: 'a51406f8da3eda94b35b4ed878dffe4bd3f8d5a2', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '65b20790e134d5149c20815e47ab79c039afd437', message: this.message.message })))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "rtk-text-message"; }
|
|
41
41
|
static get properties() {
|
|
@@ -9,7 +9,7 @@ export class RtkTextMessageView {
|
|
|
9
9
|
this.isMarkdown = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("p", { key: '
|
|
12
|
+
return (h("p", { key: '43af19a40b404cf8de36db064a89e9eefd50af81', class: { text: true, emoji: hasOnlyEmojis(this.text) } }, this.isMarkdown ? h("rtk-markdown-view", { text: this.text }) : this.text));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "rtk-text-message-view"; }
|
|
15
15
|
static get originalStyleUrls() {
|
|
@@ -40,7 +40,7 @@ export class RtkTranscript {
|
|
|
40
40
|
}, 10000);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '40777059dc796ccc9772d79ce7507762bc8f9323' }, h("div", { key: 'b2c9181f66d7dcc024d7f1dedee09429139285a1', class: "ctr" }, h("p", { key: '261023413c7bad6207249d93dbd61222aafa0df8', class: "message" }, h("span", { key: '822c6ecc8dd33bc9395f21a5bec49183f207fd7b', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "rtk-transcript"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -141,7 +141,7 @@ export class RtkUiProvider {
|
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
|
-
return h(Host, { key: '
|
|
144
|
+
return h(Host, { key: '4c5b692de4bf1486e1c17ab6f9d61684705cfa95' }, this.noRenderUntilMeeting && !this.meeting ? null : h("slot", null));
|
|
145
145
|
}
|
|
146
146
|
static get is() { return "rtk-ui-provider"; }
|
|
147
147
|
static get originalStyleUrls() {
|
|
@@ -112,12 +112,12 @@ export class RtkVirtualizedParticipantList {
|
|
|
112
112
|
render() {
|
|
113
113
|
var _a;
|
|
114
114
|
const totalHeight = this.items.length * this.itemHeight; // Total height of the list
|
|
115
|
-
return (h("div", { key: '
|
|
115
|
+
return (h("div", { key: '1a35b2155ffba410d278513dbdfeb7fd238443d8', class: "virtual-list-container", style: {
|
|
116
116
|
position: 'relative',
|
|
117
117
|
height: '100%',
|
|
118
118
|
overflowX: 'hidden',
|
|
119
119
|
overflowY: 'auto',
|
|
120
|
-
} }, h("div", { key: '
|
|
120
|
+
} }, 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()), h("div", { key: 'b7acc66cc75273c722b5a9c78949c67d785d5725', style: { height: `${this.itemHeight}px` } })));
|
|
121
121
|
}
|
|
122
122
|
static get is() { return "rtk-virtualized-participant-list"; }
|
|
123
123
|
static get originalStyleUrls() {
|
|
@@ -23,7 +23,7 @@ export class RtkWaitingScreen {
|
|
|
23
23
|
this.t = useLanguage();
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'f2c47d3259b2df855467a20acb9c3cf9efba0656' }, h("slot", { key: 'f00f36e15ecf6279903d8512f3dee23057de734a' }, h("div", { key: '980543555369e3547a6ba36a4235e885ca65ee4b', class: "centered", part: "content" }, h("rtk-logo", { key: '9a82a757b90ceb5ec2d143cc2e4ba3a85e4b5ead', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: 'e9c2f4e21f075ee74e147249bd52e8947bdfa37d' }, this.t('waitlist.body_text'))))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "rtk-waiting-screen"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,14 +5,14 @@ import { a as gracefulStorage } from './p-a83ccdbd.js';
|
|
|
5
5
|
import { S as SyncWithStore } from './p-d5791958.js';
|
|
6
6
|
import { d as defineCustomElement$b } from './p-4cc0e9a5.js';
|
|
7
7
|
import { d as defineCustomElement$a } from './p-b12e5011.js';
|
|
8
|
-
import { d as defineCustomElement$9 } from './p-
|
|
8
|
+
import { d as defineCustomElement$9 } from './p-c27c353f.js';
|
|
9
9
|
import { d as defineCustomElement$8 } from './p-935b5e0f.js';
|
|
10
10
|
import { d as defineCustomElement$7 } from './p-4608147b.js';
|
|
11
11
|
import { d as defineCustomElement$6 } from './p-2f2fb96d.js';
|
|
12
12
|
import { d as defineCustomElement$5 } from './p-3358d7dc.js';
|
|
13
|
-
import { d as defineCustomElement$4 } from './p-
|
|
14
|
-
import { d as defineCustomElement$3 } from './p-
|
|
15
|
-
import { d as defineCustomElement$2 } from './p-
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-81f4e985.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-f0dfdfea.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-bcb91396.js';
|
|
16
16
|
import { d as defineCustomElement$1 } from './p-e3b59650.js';
|
|
17
17
|
|
|
18
18
|
const rtkChatComposerViewCss = ":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";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
|
|
2
2
|
import { a as defaultIconPack, c as useLanguage } from './p-e6d09c50.js';
|
|
3
3
|
import { S as SyncWithStore } from './p-d5791958.js';
|
|
4
|
-
import { d as defineCustomElement$d } from './p-
|
|
4
|
+
import { d as defineCustomElement$d } from './p-9c17c7ce.js';
|
|
5
5
|
import { d as defineCustomElement$c } from './p-4cc0e9a5.js';
|
|
6
6
|
import { d as defineCustomElement$b } from './p-b3537ccc.js';
|
|
7
7
|
import { d as defineCustomElement$a } from './p-2f2fb96d.js';
|
|
8
|
-
import { d as defineCustomElement$9 } from './p-
|
|
8
|
+
import { d as defineCustomElement$9 } from './p-4096426e.js';
|
|
9
9
|
import { d as defineCustomElement$8 } from './p-3358d7dc.js';
|
|
10
10
|
import { d as defineCustomElement$7 } from './p-4cedc9e8.js';
|
|
11
11
|
import { d as defineCustomElement$6 } from './p-10182034.js';
|
|
12
12
|
import { d as defineCustomElement$5 } from './p-c7dcb441.js';
|
|
13
|
-
import { d as defineCustomElement$4 } from './p-
|
|
14
|
-
import { d as defineCustomElement$3 } from './p-
|
|
15
|
-
import { d as defineCustomElement$2 } from './p-
|
|
16
|
-
import { d as defineCustomElement$1 } from './p-
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-c939f92d.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-9cfe5c7c.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-81f4e985.js';
|
|
16
|
+
import { d as defineCustomElement$1 } from './p-bcb91396.js';
|
|
17
17
|
|
|
18
18
|
const rtkChatMessagesUiPaginatedCss = ":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}";
|
|
19
19
|
const RtkChatMessagesUiPaginatedStyle0 = rtkChatMessagesUiPaginatedCss;
|