@memberjunction/ng-explorer-core 6.2.0-edge.1 → 6.2.0-edge.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/generated/lazy-feature-config.d.ts +1 -1
  2. package/dist/generated/lazy-feature-config.d.ts.map +1 -1
  3. package/dist/generated/lazy-feature-config.js +22 -2
  4. package/dist/generated/lazy-feature-config.js.map +1 -1
  5. package/dist/lib/resource-wrappers/artifact-resource.component.d.ts +7 -3
  6. package/dist/lib/resource-wrappers/artifact-resource.component.d.ts.map +1 -1
  7. package/dist/lib/resource-wrappers/artifact-resource.component.js +10 -5
  8. package/dist/lib/resource-wrappers/artifact-resource.component.js.map +1 -1
  9. package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +13 -2
  10. package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts.map +1 -1
  11. package/dist/lib/resource-wrappers/chat-conversations-resource.component.js +35 -6
  12. package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -1
  13. package/dist/lib/resource-wrappers/compose-email-fallback.d.ts +46 -0
  14. package/dist/lib/resource-wrappers/compose-email-fallback.d.ts.map +1 -0
  15. package/dist/lib/resource-wrappers/compose-email-fallback.js +62 -0
  16. package/dist/lib/resource-wrappers/compose-email-fallback.js.map +1 -0
  17. package/dist/lib/resource-wrappers/human-handoff-console-resource.component.d.ts +32 -0
  18. package/dist/lib/resource-wrappers/human-handoff-console-resource.component.d.ts.map +1 -0
  19. package/dist/lib/resource-wrappers/human-handoff-console-resource.component.js +114 -0
  20. package/dist/lib/resource-wrappers/human-handoff-console-resource.component.js.map +1 -0
  21. package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts +13 -0
  22. package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts.map +1 -1
  23. package/dist/lib/resource-wrappers/livekit-room-resource.component.js +210 -132
  24. package/dist/lib/resource-wrappers/livekit-room-resource.component.js.map +1 -1
  25. package/dist/lib/resource-wrappers/meetings-resource.component.d.ts +42 -0
  26. package/dist/lib/resource-wrappers/meetings-resource.component.d.ts.map +1 -0
  27. package/dist/lib/resource-wrappers/meetings-resource.component.js +225 -0
  28. package/dist/lib/resource-wrappers/meetings-resource.component.js.map +1 -0
  29. package/dist/lib/resource-wrappers/record-resource.component.d.ts +27 -2
  30. package/dist/lib/resource-wrappers/record-resource.component.d.ts.map +1 -1
  31. package/dist/lib/resource-wrappers/record-resource.component.js +58 -6
  32. package/dist/lib/resource-wrappers/record-resource.component.js.map +1 -1
  33. package/dist/lib/resource-wrappers/view-resource.component.d.ts +6 -1
  34. package/dist/lib/resource-wrappers/view-resource.component.d.ts.map +1 -1
  35. package/dist/lib/resource-wrappers/view-resource.component.js +37 -7
  36. package/dist/lib/resource-wrappers/view-resource.component.js.map +1 -1
  37. package/dist/lib/services/server-connectivity.service.d.ts +9 -4
  38. package/dist/lib/services/server-connectivity.service.d.ts.map +1 -1
  39. package/dist/lib/services/server-connectivity.service.js +56 -12
  40. package/dist/lib/services/server-connectivity.service.js.map +1 -1
  41. package/dist/lib/shell/components/tabs/component-cache-manager.d.ts.map +1 -1
  42. package/dist/lib/shell/components/tabs/component-cache-manager.js.map +1 -1
  43. package/dist/lib/shell/components/tabs/tab-container.component.d.ts +31 -0
  44. package/dist/lib/shell/components/tabs/tab-container.component.d.ts.map +1 -1
  45. package/dist/lib/shell/components/tabs/tab-container.component.js +57 -2
  46. package/dist/lib/shell/components/tabs/tab-container.component.js.map +1 -1
  47. package/dist/lib/shell/shell.component.d.ts +2 -0
  48. package/dist/lib/shell/shell.component.d.ts.map +1 -1
  49. package/dist/lib/shell/shell.component.js +19 -9
  50. package/dist/lib/shell/shell.component.js.map +1 -1
  51. package/dist/lib/single-record/single-record.component.d.ts +29 -3
  52. package/dist/lib/single-record/single-record.component.d.ts.map +1 -1
  53. package/dist/lib/single-record/single-record.component.js +44 -4
  54. package/dist/lib/single-record/single-record.component.js.map +1 -1
  55. package/dist/lib/user-notifications/user-notifications.component.d.ts +13 -0
  56. package/dist/lib/user-notifications/user-notifications.component.d.ts.map +1 -1
  57. package/dist/lib/user-notifications/user-notifications.component.js +67 -0
  58. package/dist/lib/user-notifications/user-notifications.component.js.map +1 -1
  59. package/dist/module.d.ts +36 -33
  60. package/dist/module.d.ts.map +1 -1
  61. package/dist/module.js +25 -4
  62. package/dist/module.js.map +1 -1
  63. package/dist/public-api.d.ts +1 -0
  64. package/dist/public-api.d.ts.map +1 -1
  65. package/dist/public-api.js +1 -0
  66. package/dist/public-api.js.map +1 -1
  67. package/package.json +53 -52
@@ -11,14 +11,16 @@ import { AIEngineBase } from '@memberjunction/ai-engine-base';
11
11
  import { RunView } from '@memberjunction/core';
12
12
  import { GraphQLLiveKitClient } from '@memberjunction/graphql-dataprovider';
13
13
  import { UserHoldsAuthorization, REALTIME_ADVANCED_SESSION_CONTROLS } from '@memberjunction/ng-conversations';
14
+ import { ParseTurnAddressing, ParseTurnMode, TURN_ADDRESSING_OPTIONS, TURN_MODE_OPTIONS, } from '@memberjunction/ng-mj-livekit-room';
14
15
  import * as i0 from "@angular/core";
15
16
  import * as i1 from "@angular/forms";
16
17
  import * as i2 from "@memberjunction/ng-ui-components";
17
18
  import * as i3 from "@memberjunction/ng-mj-livekit-room";
18
19
  const _forTrack0 = ($index, $item) => $item.ID;
19
- const _forTrack1 = ($index, $item) => $item.ModelID;
20
- const _forTrack2 = ($index, $item) => $item.RoomName;
21
- const _forTrack3 = ($index, $item) => $item.ConversationID;
20
+ const _forTrack1 = ($index, $item) => $item.Value;
21
+ const _forTrack2 = ($index, $item) => $item.ModelID;
22
+ const _forTrack3 = ($index, $item) => $item.RoomName;
23
+ const _forTrack4 = ($index, $item) => $item.ConversationID;
22
24
  function LiveKitRoomResource_Case_0_Template(rf, ctx) { if (rf & 1) {
23
25
  const _r1 = i0.ɵɵgetCurrentView();
24
26
  i0.ɵɵelementStart(0, "mj-livekit-agent-room", 4);
@@ -26,7 +28,7 @@ function LiveKitRoomResource_Case_0_Template(rf, ctx) { if (rf & 1) {
26
28
  i0.ɵɵelementEnd();
27
29
  } if (rf & 2) {
28
30
  const ctx_r1 = i0.ɵɵnextContext();
29
- i0.ɵɵproperty("Mode", ctx_r1.roomMode)("RoomName", ctx_r1.joinRoomName)("AgentID", ctx_r1.agentId)("TargetAgentID", ctx_r1.targetAgentId)("AgentName", ctx_r1.targetAgentName)("AvailableAgents", ctx_r1.agents)("RealtimeModelID", ctx_r1.selectedModelId)("RealtimeVoice", ctx_r1.selectedVoice)("CanPickModelVoice", ctx_r1.canPickModelVoice)("AvailableModels", ctx_r1.realtimeModels)("Provider", ctx_r1.ProviderToUse)("ShowAgentState", true)("ShowWhiteboard", true)("EnableLayoutSwitcher", true)("EnablePinning", true);
31
+ i0.ɵɵproperty("Mode", ctx_r1.roomMode)("RoomName", ctx_r1.joinRoomName)("AgentID", ctx_r1.agentId)("TargetAgentID", ctx_r1.targetAgentId)("AgentName", ctx_r1.targetAgentName)("AvailableAgents", ctx_r1.agents)("RealtimeModelID", ctx_r1.selectedModelId)("RealtimeVoice", ctx_r1.selectedVoice)("CanPickModelVoice", ctx_r1.canPickModelVoice)("AvailableModels", ctx_r1.realtimeModels)("TurnMode", ctx_r1.SelectedTurnMode)("TurnAddressing", ctx_r1.SelectedTurnAddressing)("Provider", ctx_r1.ProviderToUse)("ShowAgentState", true)("ShowWhiteboard", true)("EnableLayoutSwitcher", true)("EnablePinning", true);
30
32
  } }
31
33
  function LiveKitRoomResource_Case_1_For_15_Template(rf, ctx) { if (rf & 1) {
32
34
  i0.ɵɵelementStart(0, "option", 14);
@@ -72,14 +74,14 @@ function LiveKitRoomResource_Case_1_Conditional_17_Conditional_9_For_8_Template(
72
74
  } }
73
75
  function LiveKitRoomResource_Case_1_Conditional_17_Conditional_9_Template(rf, ctx) { if (rf & 1) {
74
76
  const _r7 = i0.ɵɵgetCurrentView();
75
- i0.ɵɵelementStart(0, "label", 22);
77
+ i0.ɵɵelementStart(0, "label", 26);
76
78
  i0.ɵɵtext(1, "Voice ");
77
- i0.ɵɵelementStart(2, "span", 19);
79
+ i0.ɵɵelementStart(2, "span", 24);
78
80
  i0.ɵɵtext(3, "dev");
79
81
  i0.ɵɵelementEnd()();
80
- i0.ɵɵelementStart(4, "select", 23);
82
+ i0.ɵɵelementStart(4, "select", 27);
81
83
  i0.ɵɵlistener("change", function LiveKitRoomResource_Case_1_Conditional_17_Conditional_9_Template_select_change_4_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onVoiceChange($event)); });
82
- i0.ɵɵelementStart(5, "option", 21);
84
+ i0.ɵɵelementStart(5, "option", 18);
83
85
  i0.ɵɵtext(6, "Default voice");
84
86
  i0.ɵɵelementEnd();
85
87
  i0.ɵɵrepeaterCreate(7, LiveKitRoomResource_Case_1_Conditional_17_Conditional_9_For_8_Template, 2, 3, "option", 14, _forTrack0);
@@ -91,17 +93,17 @@ function LiveKitRoomResource_Case_1_Conditional_17_Conditional_9_Template(rf, ct
91
93
  } }
92
94
  function LiveKitRoomResource_Case_1_Conditional_17_Template(rf, ctx) { if (rf & 1) {
93
95
  const _r5 = i0.ɵɵgetCurrentView();
94
- i0.ɵɵelementStart(0, "label", 18);
96
+ i0.ɵɵelementStart(0, "label", 23);
95
97
  i0.ɵɵtext(1, "Model ");
96
- i0.ɵɵelementStart(2, "span", 19);
98
+ i0.ɵɵelementStart(2, "span", 24);
97
99
  i0.ɵɵtext(3, "dev");
98
100
  i0.ɵɵelementEnd()();
99
- i0.ɵɵelementStart(4, "select", 20);
101
+ i0.ɵɵelementStart(4, "select", 25);
100
102
  i0.ɵɵlistener("change", function LiveKitRoomResource_Case_1_Conditional_17_Template_select_change_4_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onModelChange($event)); });
101
- i0.ɵɵelementStart(5, "option", 21);
103
+ i0.ɵɵelementStart(5, "option", 18);
102
104
  i0.ɵɵtext(6, "Default model");
103
105
  i0.ɵɵelementEnd();
104
- i0.ɵɵrepeaterCreate(7, LiveKitRoomResource_Case_1_Conditional_17_For_8_Template, 2, 3, "option", 14, _forTrack1);
106
+ i0.ɵɵrepeaterCreate(7, LiveKitRoomResource_Case_1_Conditional_17_For_8_Template, 2, 3, "option", 14, _forTrack2);
105
107
  i0.ɵɵelementEnd();
106
108
  i0.ɵɵconditionalCreate(9, LiveKitRoomResource_Case_1_Conditional_17_Conditional_9_Template, 9, 0);
107
109
  } if (rf & 2) {
@@ -111,6 +113,28 @@ function LiveKitRoomResource_Case_1_Conditional_17_Template(rf, ctx) { if (rf &
111
113
  i0.ɵɵadvance(2);
112
114
  i0.ɵɵconditional(ctx_r1.selectedModelVoices.length ? 9 : -1);
113
115
  } }
116
+ function LiveKitRoomResource_Case_1_For_24_Template(rf, ctx) { if (rf & 1) {
117
+ i0.ɵɵelementStart(0, "option", 19);
118
+ i0.ɵɵtext(1);
119
+ i0.ɵɵelementEnd();
120
+ } if (rf & 2) {
121
+ const o_r9 = ctx.$implicit;
122
+ const ctx_r1 = i0.ɵɵnextContext(2);
123
+ i0.ɵɵproperty("value", o_r9.Value)("title", o_r9.Hint)("selected", o_r9.Value === ctx_r1.SelectedTurnMode);
124
+ i0.ɵɵadvance();
125
+ i0.ɵɵtextInterpolate(o_r9.Label);
126
+ } }
127
+ function LiveKitRoomResource_Case_1_For_29_Template(rf, ctx) { if (rf & 1) {
128
+ i0.ɵɵelementStart(0, "option", 19);
129
+ i0.ɵɵtext(1);
130
+ i0.ɵɵelementEnd();
131
+ } if (rf & 2) {
132
+ const o_r10 = ctx.$implicit;
133
+ const ctx_r1 = i0.ɵɵnextContext(2);
134
+ i0.ɵɵproperty("value", o_r10.Value)("title", o_r10.Hint)("selected", o_r10.Value === ctx_r1.SelectedTurnAddressing);
135
+ i0.ɵɵadvance();
136
+ i0.ɵɵtextInterpolate(o_r10.Label);
137
+ } }
114
138
  function LiveKitRoomResource_Case_1_Template(rf, ctx) { if (rf & 1) {
115
139
  const _r3 = i0.ɵɵgetCurrentView();
116
140
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 5)(2, "button", 6);
@@ -136,10 +160,27 @@ function LiveKitRoomResource_Case_1_Template(rf, ctx) { if (rf & 1) {
136
160
  i0.ɵɵelementEnd();
137
161
  i0.ɵɵconditionalCreate(16, LiveKitRoomResource_Case_1_Conditional_16_Template, 2, 1, "p", 15);
138
162
  i0.ɵɵconditionalCreate(17, LiveKitRoomResource_Case_1_Conditional_17_Template, 10, 1);
139
- i0.ɵɵelementStart(18, "button", 16);
140
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_1_Template_button_click_18_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.startCall()); });
141
- i0.ɵɵelement(19, "i", 17);
142
- i0.ɵɵtext(20, " Start call ");
163
+ i0.ɵɵelementStart(18, "label", 16);
164
+ i0.ɵɵtext(19, "Turn-taking");
165
+ i0.ɵɵelementEnd();
166
+ i0.ɵɵelementStart(20, "select", 17);
167
+ i0.ɵɵlistener("change", function LiveKitRoomResource_Case_1_Template_select_change_20_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTurnModeChange($event)); });
168
+ i0.ɵɵelementStart(21, "option", 18);
169
+ i0.ɵɵtext(22, "Default turn mode");
170
+ i0.ɵɵelementEnd();
171
+ i0.ɵɵrepeaterCreate(23, LiveKitRoomResource_Case_1_For_24_Template, 2, 4, "option", 19, _forTrack1);
172
+ i0.ɵɵelementEnd();
173
+ i0.ɵɵelementStart(25, "select", 20);
174
+ i0.ɵɵlistener("change", function LiveKitRoomResource_Case_1_Template_select_change_25_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTurnAddressingChange($event)); });
175
+ i0.ɵɵelementStart(26, "option", 18);
176
+ i0.ɵɵtext(27, "Default addressing");
177
+ i0.ɵɵelementEnd();
178
+ i0.ɵɵrepeaterCreate(28, LiveKitRoomResource_Case_1_For_29_Template, 2, 4, "option", 19, _forTrack1);
179
+ i0.ɵɵelementEnd();
180
+ i0.ɵɵelementStart(30, "button", 21);
181
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_1_Template_button_click_30_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.startCall()); });
182
+ i0.ɵɵelement(31, "i", 22);
183
+ i0.ɵɵtext(32, " Start call ");
143
184
  i0.ɵɵelementEnd()()();
144
185
  } if (rf & 2) {
145
186
  const ctx_r1 = i0.ɵɵnextContext();
@@ -149,12 +190,16 @@ function LiveKitRoomResource_Case_1_Template(rf, ctx) { if (rf & 1) {
149
190
  i0.ɵɵconditional(ctx_r1.selectedDescription ? 16 : -1);
150
191
  i0.ɵɵadvance();
151
192
  i0.ɵɵconditional(ctx_r1.canPickModelVoice && ctx_r1.realtimeModels.length ? 17 : -1);
152
- i0.ɵɵadvance();
193
+ i0.ɵɵadvance(6);
194
+ i0.ɵɵrepeater(ctx_r1.TurnModeOptions);
195
+ i0.ɵɵadvance(5);
196
+ i0.ɵɵrepeater(ctx_r1.TurnAddressingOptions);
197
+ i0.ɵɵadvance(2);
153
198
  i0.ɵɵproperty("disabled", !ctx_r1.selectedTargetId);
154
199
  } }
155
200
  function LiveKitRoomResource_Case_2_Template(rf, ctx) { if (rf & 1) {
156
- const _r9 = i0.ɵɵgetCurrentView();
157
- i0.ɵɵelementStart(0, "div", 1)(1, "div", 24)(2, "div", 8);
201
+ const _r11 = i0.ɵɵgetCurrentView();
202
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 28)(2, "div", 8);
158
203
  i0.ɵɵelement(3, "i", 9);
159
204
  i0.ɵɵelementEnd();
160
205
  i0.ɵɵelementStart(4, "h2", 10);
@@ -163,61 +208,61 @@ function LiveKitRoomResource_Case_2_Template(rf, ctx) { if (rf & 1) {
163
208
  i0.ɵɵelementStart(6, "p", 11);
164
209
  i0.ɵɵtext(7, "Start a live room with agents and people, join one that's in progress, or review a past meeting.");
165
210
  i0.ɵɵelementEnd();
166
- i0.ɵɵelementStart(8, "div", 25)(9, "button", 26);
167
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_2_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.startNewRoom()); });
168
- i0.ɵɵelement(10, "i", 27);
169
- i0.ɵɵelementStart(11, "span", 28);
211
+ i0.ɵɵelementStart(8, "div", 29)(9, "button", 30);
212
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_2_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.startNewRoom()); });
213
+ i0.ɵɵelement(10, "i", 31);
214
+ i0.ɵɵelementStart(11, "span", 32);
170
215
  i0.ɵɵtext(12, "New room");
171
216
  i0.ɵɵelementEnd();
172
- i0.ɵɵelementStart(13, "span", 29);
217
+ i0.ɵɵelementStart(13, "span", 33);
173
218
  i0.ɵɵtext(14, "Pick an agent and start a fresh call.");
174
219
  i0.ɵɵelementEnd()();
175
- i0.ɵɵelementStart(15, "button", 26);
176
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_2_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openExisting()); });
177
- i0.ɵɵelement(16, "i", 30);
178
- i0.ɵɵelementStart(17, "span", 28);
220
+ i0.ɵɵelementStart(15, "button", 30);
221
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_2_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openExisting()); });
222
+ i0.ɵɵelement(16, "i", 34);
223
+ i0.ɵɵelementStart(17, "span", 32);
179
224
  i0.ɵɵtext(18, "Join existing");
180
225
  i0.ɵɵelementEnd();
181
- i0.ɵɵelementStart(19, "span", 29);
226
+ i0.ɵɵelementStart(19, "span", 33);
182
227
  i0.ɵɵtext(20, "Hop into a room that's live right now.");
183
228
  i0.ɵɵelementEnd()();
184
- i0.ɵɵelementStart(21, "button", 26);
185
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_2_Template_button_click_21_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openHistory()); });
186
- i0.ɵɵelement(22, "i", 31);
187
- i0.ɵɵelementStart(23, "span", 28);
229
+ i0.ɵɵelementStart(21, "button", 30);
230
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_2_Template_button_click_21_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openHistory()); });
231
+ i0.ɵɵelement(22, "i", 35);
232
+ i0.ɵɵelementStart(23, "span", 32);
188
233
  i0.ɵɵtext(24, "History");
189
234
  i0.ɵɵelementEnd();
190
- i0.ɵɵelementStart(25, "span", 29);
235
+ i0.ɵɵelementStart(25, "span", 33);
191
236
  i0.ɵɵtext(26, "Read transcripts of past meetings.");
192
237
  i0.ɵɵelementEnd()()()()();
193
238
  } }
194
239
  function LiveKitRoomResource_Case_3_Conditional_7_Template(rf, ctx) { if (rf & 1) {
195
- i0.ɵɵelementStart(0, "div", 32);
196
- i0.ɵɵelement(1, "i", 38);
240
+ i0.ɵɵelementStart(0, "div", 36);
241
+ i0.ɵɵelement(1, "i", 42);
197
242
  i0.ɵɵtext(2, " Finding active rooms\u2026");
198
243
  i0.ɵɵelementEnd();
199
244
  } }
200
245
  function LiveKitRoomResource_Case_3_Conditional_8_For_2_Template(rf, ctx) { if (rf & 1) {
201
- const _r11 = i0.ɵɵgetCurrentView();
202
- i0.ɵɵelementStart(0, "button", 40);
203
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_3_Conditional_8_For_2_Template_button_click_0_listener() { const r_r12 = i0.ɵɵrestoreView(_r11).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.joinExistingRoom(r_r12.RoomName)); });
204
- i0.ɵɵelementStart(1, "span", 41);
205
- i0.ɵɵelement(2, "i", 42);
246
+ const _r13 = i0.ɵɵgetCurrentView();
247
+ i0.ɵɵelementStart(0, "button", 44);
248
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_3_Conditional_8_For_2_Template_button_click_0_listener() { const r_r14 = i0.ɵɵrestoreView(_r13).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.joinExistingRoom(r_r14.RoomName)); });
249
+ i0.ɵɵelementStart(1, "span", 45);
250
+ i0.ɵɵelement(2, "i", 46);
206
251
  i0.ɵɵtext(3);
207
252
  i0.ɵɵelementEnd();
208
- i0.ɵɵelementStart(4, "span", 43);
253
+ i0.ɵɵelementStart(4, "span", 47);
209
254
  i0.ɵɵtext(5);
210
255
  i0.ɵɵelementEnd()();
211
256
  } if (rf & 2) {
212
- const r_r12 = ctx.$implicit;
257
+ const r_r14 = ctx.$implicit;
213
258
  i0.ɵɵadvance(3);
214
- i0.ɵɵtextInterpolate1(" ", r_r12.Label);
259
+ i0.ɵɵtextInterpolate1(" ", r_r14.Label);
215
260
  i0.ɵɵadvance(2);
216
- i0.ɵɵtextInterpolate2("", r_r12.AgentCount, " agent", r_r12.AgentCount === 1 ? "" : "s", " \u00B7 Join");
261
+ i0.ɵɵtextInterpolate2("", r_r14.AgentCount, " agent", r_r14.AgentCount === 1 ? "" : "s", " \u00B7 Join");
217
262
  } }
218
263
  function LiveKitRoomResource_Case_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
219
- i0.ɵɵelementStart(0, "div", 33);
220
- i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Case_3_Conditional_8_For_2_Template, 6, 3, "button", 39, _forTrack2);
264
+ i0.ɵɵelementStart(0, "div", 37);
265
+ i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Case_3_Conditional_8_For_2_Template, 6, 3, "button", 43, _forTrack3);
221
266
  i0.ɵɵelementEnd();
222
267
  } if (rf & 2) {
223
268
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -230,24 +275,24 @@ function LiveKitRoomResource_Case_3_Conditional_9_Template(rf, ctx) { if (rf & 1
230
275
  i0.ɵɵelementEnd();
231
276
  } }
232
277
  function LiveKitRoomResource_Case_3_Template(rf, ctx) { if (rf & 1) {
233
- const _r10 = i0.ɵɵgetCurrentView();
234
- i0.ɵɵelementStart(0, "div", 1)(1, "div", 24)(2, "button", 6);
235
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_3_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.backToLanding()); });
278
+ const _r12 = i0.ɵɵgetCurrentView();
279
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 28)(2, "button", 6);
280
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_3_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.backToLanding()); });
236
281
  i0.ɵɵelement(3, "i", 7);
237
282
  i0.ɵɵtext(4, " Back");
238
283
  i0.ɵɵelementEnd();
239
284
  i0.ɵɵelementStart(5, "h2", 10);
240
285
  i0.ɵɵtext(6, "Join a room");
241
286
  i0.ɵɵelementEnd();
242
- i0.ɵɵconditionalCreate(7, LiveKitRoomResource_Case_3_Conditional_7_Template, 3, 0, "div", 32)(8, LiveKitRoomResource_Case_3_Conditional_8_Template, 3, 0, "div", 33)(9, LiveKitRoomResource_Case_3_Conditional_9_Template, 2, 0, "p", 15);
243
- i0.ɵɵelementStart(10, "label", 34);
287
+ i0.ɵɵconditionalCreate(7, LiveKitRoomResource_Case_3_Conditional_7_Template, 3, 0, "div", 36)(8, LiveKitRoomResource_Case_3_Conditional_8_Template, 3, 0, "div", 37)(9, LiveKitRoomResource_Case_3_Conditional_9_Template, 2, 0, "p", 15);
288
+ i0.ɵɵelementStart(10, "label", 38);
244
289
  i0.ɵɵtext(11, "Or join by name");
245
290
  i0.ɵɵelementEnd();
246
- i0.ɵɵelementStart(12, "div", 35)(13, "input", 36);
247
- i0.ɵɵlistener("input", function LiveKitRoomResource_Case_3_Template_input_input_13_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.manualRoomName = $event.target.value); })("keydown.enter", function LiveKitRoomResource_Case_3_Template_input_keydown_enter_13_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.joinExistingRoom(ctx_r1.manualRoomName)); });
291
+ i0.ɵɵelementStart(12, "div", 39)(13, "input", 40);
292
+ i0.ɵɵlistener("input", function LiveKitRoomResource_Case_3_Template_input_input_13_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.manualRoomName = $event.target.value); })("keydown.enter", function LiveKitRoomResource_Case_3_Template_input_keydown_enter_13_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.joinExistingRoom(ctx_r1.manualRoomName)); });
248
293
  i0.ɵɵelementEnd();
249
- i0.ɵɵelementStart(14, "button", 37);
250
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_3_Template_button_click_14_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.joinExistingRoom(ctx_r1.manualRoomName)); });
294
+ i0.ɵɵelementStart(14, "button", 41);
295
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_3_Template_button_click_14_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.joinExistingRoom(ctx_r1.manualRoomName)); });
251
296
  i0.ɵɵtext(15, "Join");
252
297
  i0.ɵɵelementEnd()()()();
253
298
  } if (rf & 2) {
@@ -260,33 +305,33 @@ function LiveKitRoomResource_Case_3_Template(rf, ctx) { if (rf & 1) {
260
305
  i0.ɵɵproperty("disabled", !ctx_r1.manualRoomName.trim());
261
306
  } }
262
307
  function LiveKitRoomResource_Case_4_Conditional_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
263
- i0.ɵɵelementStart(0, "div", 32);
264
- i0.ɵɵelement(1, "i", 38);
308
+ i0.ɵɵelementStart(0, "div", 36);
309
+ i0.ɵɵelement(1, "i", 42);
265
310
  i0.ɵɵtext(2, " Loading\u2026");
266
311
  i0.ɵɵelementEnd();
267
312
  } }
268
313
  function LiveKitRoomResource_Case_4_Conditional_2_Conditional_6_For_2_Template(rf, ctx) { if (rf & 1) {
269
- const _r14 = i0.ɵɵgetCurrentView();
270
- i0.ɵɵelementStart(0, "button", 40);
271
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_4_Conditional_2_Conditional_6_For_2_Template_button_click_0_listener() { const h_r15 = i0.ɵɵrestoreView(_r14).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.openTranscript(h_r15)); });
272
- i0.ɵɵelementStart(1, "span", 41);
273
- i0.ɵɵelement(2, "i", 44);
314
+ const _r16 = i0.ɵɵgetCurrentView();
315
+ i0.ɵɵelementStart(0, "button", 44);
316
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_4_Conditional_2_Conditional_6_For_2_Template_button_click_0_listener() { const h_r17 = i0.ɵɵrestoreView(_r16).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.openTranscript(h_r17)); });
317
+ i0.ɵɵelementStart(1, "span", 45);
318
+ i0.ɵɵelement(2, "i", 48);
274
319
  i0.ɵɵtext(3);
275
320
  i0.ɵɵelementEnd();
276
- i0.ɵɵelementStart(4, "span", 43);
321
+ i0.ɵɵelementStart(4, "span", 47);
277
322
  i0.ɵɵtext(5);
278
323
  i0.ɵɵelementEnd()();
279
324
  } if (rf & 2) {
280
- const h_r15 = ctx.$implicit;
325
+ const h_r17 = ctx.$implicit;
281
326
  const ctx_r1 = i0.ɵɵnextContext(4);
282
327
  i0.ɵɵadvance(3);
283
- i0.ɵɵtextInterpolate1(" ", h_r15.Name);
328
+ i0.ɵɵtextInterpolate1(" ", h_r17.Name);
284
329
  i0.ɵɵadvance(2);
285
- i0.ɵɵtextInterpolate(ctx_r1.formatTime(h_r15.At));
330
+ i0.ɵɵtextInterpolate(ctx_r1.formatTime(h_r17.At));
286
331
  } }
287
332
  function LiveKitRoomResource_Case_4_Conditional_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
288
- i0.ɵɵelementStart(0, "div", 33);
289
- i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Case_4_Conditional_2_Conditional_6_For_2_Template, 6, 2, "button", 39, _forTrack3);
333
+ i0.ɵɵelementStart(0, "div", 37);
334
+ i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Case_4_Conditional_2_Conditional_6_For_2_Template, 6, 2, "button", 43, _forTrack4);
290
335
  i0.ɵɵelementEnd();
291
336
  } if (rf & 2) {
292
337
  const ctx_r1 = i0.ɵɵnextContext(3);
@@ -299,45 +344,45 @@ function LiveKitRoomResource_Case_4_Conditional_2_Conditional_7_Template(rf, ctx
299
344
  i0.ɵɵelementEnd();
300
345
  } }
301
346
  function LiveKitRoomResource_Case_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
302
- const _r13 = i0.ɵɵgetCurrentView();
347
+ const _r15 = i0.ɵɵgetCurrentView();
303
348
  i0.ɵɵelementStart(0, "button", 6);
304
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_4_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.backToLanding()); });
349
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_4_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.backToLanding()); });
305
350
  i0.ɵɵelement(1, "i", 7);
306
351
  i0.ɵɵtext(2, " Back");
307
352
  i0.ɵɵelementEnd();
308
353
  i0.ɵɵelementStart(3, "h2", 10);
309
354
  i0.ɵɵtext(4, "Past meetings");
310
355
  i0.ɵɵelementEnd();
311
- i0.ɵɵconditionalCreate(5, LiveKitRoomResource_Case_4_Conditional_2_Conditional_5_Template, 3, 0, "div", 32)(6, LiveKitRoomResource_Case_4_Conditional_2_Conditional_6_Template, 3, 0, "div", 33)(7, LiveKitRoomResource_Case_4_Conditional_2_Conditional_7_Template, 2, 0, "p", 15);
356
+ i0.ɵɵconditionalCreate(5, LiveKitRoomResource_Case_4_Conditional_2_Conditional_5_Template, 3, 0, "div", 36)(6, LiveKitRoomResource_Case_4_Conditional_2_Conditional_6_Template, 3, 0, "div", 37)(7, LiveKitRoomResource_Case_4_Conditional_2_Conditional_7_Template, 2, 0, "p", 15);
312
357
  } if (rf & 2) {
313
358
  const ctx_r1 = i0.ɵɵnextContext(2);
314
359
  i0.ɵɵadvance(5);
315
360
  i0.ɵɵconditional(ctx_r1.loadingHistory ? 5 : ctx_r1.historyRooms.length ? 6 : 7);
316
361
  } }
317
362
  function LiveKitRoomResource_Case_4_Conditional_3_Conditional_5_Template(rf, ctx) { if (rf & 1) {
318
- i0.ɵɵelementStart(0, "div", 32);
319
- i0.ɵɵelement(1, "i", 38);
363
+ i0.ɵɵelementStart(0, "div", 36);
364
+ i0.ɵɵelement(1, "i", 42);
320
365
  i0.ɵɵtext(2, " Loading transcript\u2026");
321
366
  i0.ɵɵelementEnd();
322
367
  } }
323
368
  function LiveKitRoomResource_Case_4_Conditional_3_Conditional_6_For_2_Template(rf, ctx) { if (rf & 1) {
324
- i0.ɵɵelementStart(0, "div", 47)(1, "span", 48);
369
+ i0.ɵɵelementStart(0, "div", 51)(1, "span", 52);
325
370
  i0.ɵɵtext(2);
326
371
  i0.ɵɵelementEnd();
327
- i0.ɵɵelementStart(3, "span", 49);
372
+ i0.ɵɵelementStart(3, "span", 53);
328
373
  i0.ɵɵtext(4);
329
374
  i0.ɵɵelementEnd()();
330
375
  } if (rf & 2) {
331
- const line_r17 = ctx.$implicit;
332
- i0.ɵɵclassProp("mj-lk-tline--agent", line_r17.Kind === "agent")("mj-lk-tline--error", line_r17.Kind === "error");
376
+ const line_r19 = ctx.$implicit;
377
+ i0.ɵɵclassProp("mj-lk-tline--agent", line_r19.Kind === "agent")("mj-lk-tline--error", line_r19.Kind === "error");
333
378
  i0.ɵɵadvance(2);
334
- i0.ɵɵtextInterpolate(line_r17.Speaker);
379
+ i0.ɵɵtextInterpolate(line_r19.Speaker);
335
380
  i0.ɵɵadvance(2);
336
- i0.ɵɵtextInterpolate(line_r17.Message);
381
+ i0.ɵɵtextInterpolate(line_r19.Message);
337
382
  } }
338
383
  function LiveKitRoomResource_Case_4_Conditional_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
339
- i0.ɵɵelementStart(0, "div", 45);
340
- i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Case_4_Conditional_3_Conditional_6_For_2_Template, 5, 6, "div", 46, i0.ɵɵrepeaterTrackByIndex);
384
+ i0.ɵɵelementStart(0, "div", 49);
385
+ i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Case_4_Conditional_3_Conditional_6_For_2_Template, 5, 6, "div", 50, i0.ɵɵrepeaterTrackByIndex);
341
386
  i0.ɵɵelementEnd();
342
387
  } if (rf & 2) {
343
388
  const ctx_r1 = i0.ɵɵnextContext(3);
@@ -350,16 +395,16 @@ function LiveKitRoomResource_Case_4_Conditional_3_Conditional_7_Template(rf, ctx
350
395
  i0.ɵɵelementEnd();
351
396
  } }
352
397
  function LiveKitRoomResource_Case_4_Conditional_3_Template(rf, ctx) { if (rf & 1) {
353
- const _r16 = i0.ɵɵgetCurrentView();
398
+ const _r18 = i0.ɵɵgetCurrentView();
354
399
  i0.ɵɵelementStart(0, "button", 6);
355
- i0.ɵɵlistener("click", function LiveKitRoomResource_Case_4_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeTranscript()); });
400
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Case_4_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeTranscript()); });
356
401
  i0.ɵɵelement(1, "i", 7);
357
402
  i0.ɵɵtext(2, " All meetings");
358
403
  i0.ɵɵelementEnd();
359
404
  i0.ɵɵelementStart(3, "h2", 10);
360
405
  i0.ɵɵtext(4);
361
406
  i0.ɵɵelementEnd();
362
- i0.ɵɵconditionalCreate(5, LiveKitRoomResource_Case_4_Conditional_3_Conditional_5_Template, 3, 0, "div", 32)(6, LiveKitRoomResource_Case_4_Conditional_3_Conditional_6_Template, 3, 0, "div", 45)(7, LiveKitRoomResource_Case_4_Conditional_3_Conditional_7_Template, 2, 0, "p", 15);
407
+ i0.ɵɵconditionalCreate(5, LiveKitRoomResource_Case_4_Conditional_3_Conditional_5_Template, 3, 0, "div", 36)(6, LiveKitRoomResource_Case_4_Conditional_3_Conditional_6_Template, 3, 0, "div", 49)(7, LiveKitRoomResource_Case_4_Conditional_3_Conditional_7_Template, 2, 0, "p", 15);
363
408
  } if (rf & 2) {
364
409
  const ctx_r1 = i0.ɵɵnextContext(2);
365
410
  i0.ɵɵadvance(4);
@@ -368,7 +413,7 @@ function LiveKitRoomResource_Case_4_Conditional_3_Template(rf, ctx) { if (rf & 1
368
413
  i0.ɵɵconditional(ctx_r1.loadingTranscript ? 5 : ctx_r1.historyTranscript.length ? 6 : 7);
369
414
  } }
370
415
  function LiveKitRoomResource_Case_4_Template(rf, ctx) { if (rf & 1) {
371
- i0.ɵɵelementStart(0, "div", 1)(1, "div", 24);
416
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 28);
372
417
  i0.ɵɵconditionalCreate(2, LiveKitRoomResource_Case_4_Conditional_2_Template, 8, 1)(3, LiveKitRoomResource_Case_4_Conditional_3_Template, 8, 2);
373
418
  i0.ɵɵelementEnd()();
374
419
  } if (rf & 2) {
@@ -378,7 +423,7 @@ function LiveKitRoomResource_Case_4_Template(rf, ctx) { if (rf & 1) {
378
423
  } }
379
424
  function LiveKitRoomResource_Case_5_Template(rf, ctx) { if (rf & 1) {
380
425
  i0.ɵɵelementStart(0, "div", 2);
381
- i0.ɵɵelement(1, "i", 50);
426
+ i0.ɵɵelement(1, "i", 54);
382
427
  i0.ɵɵelementStart(2, "span");
383
428
  i0.ɵɵtext(3);
384
429
  i0.ɵɵelementEnd()();
@@ -393,21 +438,21 @@ function LiveKitRoomResource_Case_6_Template(rf, ctx) { if (rf & 1) {
393
438
  i0.ɵɵelementEnd();
394
439
  } }
395
440
  function LiveKitRoomResource_Conditional_7_Conditional_8_For_2_Template(rf, ctx) { if (rf & 1) {
396
- const _r19 = i0.ɵɵgetCurrentView();
397
- i0.ɵɵelementStart(0, "span", 65);
441
+ const _r21 = i0.ɵɵgetCurrentView();
442
+ i0.ɵɵelementStart(0, "span", 69);
398
443
  i0.ɵɵtext(1);
399
- i0.ɵɵelementStart(2, "button", 66);
400
- i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Conditional_8_For_2_Template_button_click_2_listener() { const u_r20 = i0.ɵɵrestoreView(_r19).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeInvitee(u_r20.ID)); });
401
- i0.ɵɵelement(3, "i", 67);
444
+ i0.ɵɵelementStart(2, "button", 70);
445
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Conditional_8_For_2_Template_button_click_2_listener() { const u_r22 = i0.ɵɵrestoreView(_r21).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeInvitee(u_r22.ID)); });
446
+ i0.ɵɵelement(3, "i", 71);
402
447
  i0.ɵɵelementEnd()();
403
448
  } if (rf & 2) {
404
- const u_r20 = ctx.$implicit;
449
+ const u_r22 = ctx.$implicit;
405
450
  i0.ɵɵadvance();
406
- i0.ɵɵtextInterpolate1(" ", u_r20.Name, " ");
451
+ i0.ɵɵtextInterpolate1(" ", u_r22.Name, " ");
407
452
  } }
408
453
  function LiveKitRoomResource_Conditional_7_Conditional_8_Template(rf, ctx) { if (rf & 1) {
409
- i0.ɵɵelementStart(0, "div", 58);
410
- i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Conditional_7_Conditional_8_For_2_Template, 4, 1, "span", 65, _forTrack0);
454
+ i0.ɵɵelementStart(0, "div", 62);
455
+ i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Conditional_7_Conditional_8_For_2_Template, 4, 1, "span", 69, _forTrack0);
411
456
  i0.ɵɵelementEnd();
412
457
  } if (rf & 2) {
413
458
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -415,33 +460,33 @@ function LiveKitRoomResource_Conditional_7_Conditional_8_Template(rf, ctx) { if
415
460
  i0.ɵɵrepeater(ctx_r1.selectedInvitees);
416
461
  } }
417
462
  function LiveKitRoomResource_Conditional_7_Conditional_9_For_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
418
- i0.ɵɵelementStart(0, "span", 71);
463
+ i0.ɵɵelementStart(0, "span", 75);
419
464
  i0.ɵɵtext(1);
420
465
  i0.ɵɵelementEnd();
421
466
  } if (rf & 2) {
422
- const u_r22 = i0.ɵɵnextContext().$implicit;
467
+ const u_r24 = i0.ɵɵnextContext().$implicit;
423
468
  i0.ɵɵadvance();
424
- i0.ɵɵtextInterpolate(u_r22.Email);
469
+ i0.ɵɵtextInterpolate(u_r24.Email);
425
470
  } }
426
471
  function LiveKitRoomResource_Conditional_7_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
427
- const _r21 = i0.ɵɵgetCurrentView();
428
- i0.ɵɵelementStart(0, "button", 69);
429
- i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Conditional_9_For_2_Template_button_click_0_listener() { const u_r22 = i0.ɵɵrestoreView(_r21).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.addInvitee(u_r22)); });
430
- i0.ɵɵelementStart(1, "span", 70);
472
+ const _r23 = i0.ɵɵgetCurrentView();
473
+ i0.ɵɵelementStart(0, "button", 73);
474
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Conditional_9_For_2_Template_button_click_0_listener() { const u_r24 = i0.ɵɵrestoreView(_r23).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.addInvitee(u_r24)); });
475
+ i0.ɵɵelementStart(1, "span", 74);
431
476
  i0.ɵɵtext(2);
432
477
  i0.ɵɵelementEnd();
433
- i0.ɵɵconditionalCreate(3, LiveKitRoomResource_Conditional_7_Conditional_9_For_2_Conditional_3_Template, 2, 1, "span", 71);
478
+ i0.ɵɵconditionalCreate(3, LiveKitRoomResource_Conditional_7_Conditional_9_For_2_Conditional_3_Template, 2, 1, "span", 75);
434
479
  i0.ɵɵelementEnd();
435
480
  } if (rf & 2) {
436
- const u_r22 = ctx.$implicit;
481
+ const u_r24 = ctx.$implicit;
437
482
  i0.ɵɵadvance(2);
438
- i0.ɵɵtextInterpolate(u_r22.Name);
483
+ i0.ɵɵtextInterpolate(u_r24.Name);
439
484
  i0.ɵɵadvance();
440
- i0.ɵɵconditional(u_r22.Email ? 3 : -1);
485
+ i0.ɵɵconditional(u_r24.Email ? 3 : -1);
441
486
  } }
442
487
  function LiveKitRoomResource_Conditional_7_Conditional_9_Template(rf, ctx) { if (rf & 1) {
443
- i0.ɵɵelementStart(0, "div", 59);
444
- i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Conditional_7_Conditional_9_For_2_Template, 4, 2, "button", 68, _forTrack0);
488
+ i0.ɵɵelementStart(0, "div", 63);
489
+ i0.ɵɵrepeaterCreate(1, LiveKitRoomResource_Conditional_7_Conditional_9_For_2_Template, 4, 2, "button", 72, _forTrack0);
445
490
  i0.ɵɵelementEnd();
446
491
  } if (rf & 2) {
447
492
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -449,12 +494,12 @@ function LiveKitRoomResource_Conditional_7_Conditional_9_Template(rf, ctx) { if
449
494
  i0.ɵɵrepeater(ctx_r1.userResults);
450
495
  } }
451
496
  function LiveKitRoomResource_Conditional_7_Conditional_10_Template(rf, ctx) { if (rf & 1) {
452
- i0.ɵɵelementStart(0, "div", 60);
497
+ i0.ɵɵelementStart(0, "div", 64);
453
498
  i0.ɵɵtext(1, "No matching people.");
454
499
  i0.ɵɵelementEnd();
455
500
  } }
456
501
  function LiveKitRoomResource_Conditional_7_Conditional_11_Template(rf, ctx) { if (rf & 1) {
457
- i0.ɵɵelementStart(0, "div", 61);
502
+ i0.ɵɵelementStart(0, "div", 65);
458
503
  i0.ɵɵtext(1);
459
504
  i0.ɵɵelementEnd();
460
505
  } if (rf & 2) {
@@ -463,29 +508,29 @@ function LiveKitRoomResource_Conditional_7_Conditional_11_Template(rf, ctx) { if
463
508
  i0.ɵɵtextInterpolate(ctx_r1.inviteMessage);
464
509
  } }
465
510
  function LiveKitRoomResource_Conditional_7_Template(rf, ctx) { if (rf & 1) {
466
- const _r18 = i0.ɵɵgetCurrentView();
467
- i0.ɵɵelementStart(0, "mj-dialog", 51);
468
- i0.ɵɵlistener("Close", function LiveKitRoomResource_Conditional_7_Template_mj_dialog_Close_0_listener() { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showInvite = false); });
469
- i0.ɵɵelementStart(1, "div", 52)(2, "p", 53);
511
+ const _r20 = i0.ɵɵgetCurrentView();
512
+ i0.ɵɵelementStart(0, "mj-dialog", 55);
513
+ i0.ɵɵlistener("Close", function LiveKitRoomResource_Conditional_7_Template_mj_dialog_Close_0_listener() { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showInvite = false); });
514
+ i0.ɵɵelementStart(1, "div", 56)(2, "p", 57);
470
515
  i0.ɵɵtext(3, "They'll get an in-app notification (and an email if Comms is set up) to join this room.");
471
516
  i0.ɵɵelementEnd();
472
- i0.ɵɵelementStart(4, "div", 54)(5, "input", 55);
473
- i0.ɵɵlistener("input", function LiveKitRoomResource_Conditional_7_Template_input_input_5_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.userSearch = $event.target.value); })("keydown.enter", function LiveKitRoomResource_Conditional_7_Template_input_keydown_enter_5_listener() { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.searchUsers()); });
517
+ i0.ɵɵelementStart(4, "div", 58)(5, "input", 59);
518
+ i0.ɵɵlistener("input", function LiveKitRoomResource_Conditional_7_Template_input_input_5_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.userSearch = $event.target.value); })("keydown.enter", function LiveKitRoomResource_Conditional_7_Template_input_keydown_enter_5_listener() { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.searchUsers()); });
474
519
  i0.ɵɵelementEnd();
475
- i0.ɵɵelementStart(6, "button", 56);
476
- i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.searchUsers()); });
477
- i0.ɵɵelement(7, "i", 57);
520
+ i0.ɵɵelementStart(6, "button", 60);
521
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.searchUsers()); });
522
+ i0.ɵɵelement(7, "i", 61);
478
523
  i0.ɵɵelementEnd()();
479
- i0.ɵɵconditionalCreate(8, LiveKitRoomResource_Conditional_7_Conditional_8_Template, 3, 0, "div", 58);
480
- i0.ɵɵconditionalCreate(9, LiveKitRoomResource_Conditional_7_Conditional_9_Template, 3, 0, "div", 59)(10, LiveKitRoomResource_Conditional_7_Conditional_10_Template, 2, 0, "div", 60);
481
- i0.ɵɵconditionalCreate(11, LiveKitRoomResource_Conditional_7_Conditional_11_Template, 2, 1, "div", 61);
482
- i0.ɵɵelementStart(12, "div", 62)(13, "button", 63);
483
- i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Template_button_click_13_listener() { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.sendInvites()); });
484
- i0.ɵɵelement(14, "i", 57);
524
+ i0.ɵɵconditionalCreate(8, LiveKitRoomResource_Conditional_7_Conditional_8_Template, 3, 0, "div", 62);
525
+ i0.ɵɵconditionalCreate(9, LiveKitRoomResource_Conditional_7_Conditional_9_Template, 3, 0, "div", 63)(10, LiveKitRoomResource_Conditional_7_Conditional_10_Template, 2, 0, "div", 64);
526
+ i0.ɵɵconditionalCreate(11, LiveKitRoomResource_Conditional_7_Conditional_11_Template, 2, 1, "div", 65);
527
+ i0.ɵɵelementStart(12, "div", 66)(13, "button", 67);
528
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Template_button_click_13_listener() { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.sendInvites()); });
529
+ i0.ɵɵelement(14, "i", 61);
485
530
  i0.ɵɵtext(15);
486
531
  i0.ɵɵelementEnd();
487
- i0.ɵɵelementStart(16, "button", 64);
488
- i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showInvite = false); });
532
+ i0.ɵɵelementStart(16, "button", 68);
533
+ i0.ɵɵlistener("click", function LiveKitRoomResource_Conditional_7_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showInvite = false); });
489
534
  i0.ɵɵtext(17, "Cancel");
490
535
  i0.ɵɵelementEnd()()()();
491
536
  } if (rf & 2) {
@@ -750,6 +795,23 @@ let LiveKitRoomResource = class LiveKitRoomResource extends BaseResourceComponen
750
795
  onVoiceChange(event) {
751
796
  return this.OnVoiceChange(event);
752
797
  }
798
+ // ── Turn-taking choices for the FIRST agent (agents added in-room pick their own) ─────────────────────
799
+ /** The turn-mode choices. */
800
+ TurnModeOptions = TURN_MODE_OPTIONS;
801
+ /** The addressing choices. */
802
+ TurnAddressingOptions = TURN_ADDRESSING_OPTIONS;
803
+ /** The turn mode chosen for the first agent (null = the room's default). */
804
+ SelectedTurnMode = null;
805
+ /** The addressing mode chosen for the first agent (null = Auto). */
806
+ SelectedTurnAddressing = null;
807
+ /** Records the pre-join turn-mode choice. */
808
+ OnTurnModeChange(event) {
809
+ this.SelectedTurnMode = ParseTurnMode(event.target.value);
810
+ }
811
+ /** Records the pre-join addressing choice. */
812
+ OnTurnAddressingChange(event) {
813
+ this.SelectedTurnAddressing = ParseTurnAddressing(event.target.value);
814
+ }
753
815
  /** Exposed for template use — platform-safe UUID equality (SQL upper vs PG lower). */
754
816
  UUIDsEqual = UUIDsEqual;
755
817
  /** Set when no co-agent could be resolved — shown instead of the room. */
@@ -1270,8 +1332,8 @@ let LiveKitRoomResource = class LiveKitRoomResource extends BaseResourceComponen
1270
1332
  return 'fa-solid fa-video';
1271
1333
  }
1272
1334
  static ɵfac = /*@__PURE__*/ (() => { let ɵLiveKitRoomResource_BaseFactory; return function LiveKitRoomResource_Factory(__ngFactoryType__) { return (ɵLiveKitRoomResource_BaseFactory || (ɵLiveKitRoomResource_BaseFactory = i0.ɵɵgetInheritedFactory(LiveKitRoomResource)))(__ngFactoryType__ || LiveKitRoomResource); }; })();
1273
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LiveKitRoomResource, selectors: [["mj-livekit-room-resource"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 2, consts: [[1, "mj-livekit-room-resource", 3, "Mode", "RoomName", "AgentID", "TargetAgentID", "AgentName", "AvailableAgents", "RealtimeModelID", "RealtimeVoice", "CanPickModelVoice", "AvailableModels", "Provider", "ShowAgentState", "ShowWhiteboard", "EnableLayoutSwitcher", "EnablePinning"], [1, "mj-lk-prejoin"], [1, "mj-livekit-room-resource__message"], ["Title", "Invite people", "Size", "auto", 3, "Visible", "Width"], [1, "mj-livekit-room-resource", 3, "Connected", "Disconnected", "ErrorOccurred", "InvitePeopleRequested", "Mode", "RoomName", "AgentID", "TargetAgentID", "AgentName", "AvailableAgents", "RealtimeModelID", "RealtimeVoice", "CanPickModelVoice", "AvailableModels", "Provider", "ShowAgentState", "ShowWhiteboard", "EnableLayoutSwitcher", "EnablePinning"], [1, "mj-lk-prejoin__card"], ["type", "button", 1, "mj-lk-back", 3, "click"], [1, "fa-solid", "fa-arrow-left"], [1, "mj-lk-prejoin__icon"], [1, "fa-solid", "fa-video"], [1, "mj-lk-prejoin__title"], [1, "mj-lk-prejoin__subtitle"], ["for", "mj-lk-target", 1, "mj-lk-prejoin__label"], ["id", "mj-lk-target", 1, "mj-input", "mj-lk-prejoin__select", 3, "change"], [3, "value", "selected"], [1, "mj-lk-prejoin__desc"], ["type", "button", 1, "mj-lk-prejoin__start", 3, "click", "disabled"], [1, "fa-solid", "fa-phone"], ["for", "mj-lk-model", 1, "mj-lk-prejoin__label"], [1, "mj-lk-prejoin__dev"], ["id", "mj-lk-model", 1, "mj-input", "mj-lk-prejoin__select", 3, "change"], ["value", ""], ["for", "mj-lk-voice", 1, "mj-lk-prejoin__label"], ["id", "mj-lk-voice", 1, "mj-input", "mj-lk-prejoin__select", 3, "change"], [1, "mj-lk-prejoin__card", "mj-lk-prejoin__card--wide"], [1, "mj-lk-cards"], ["type", "button", 1, "mj-lk-card", 3, "click"], [1, "fa-solid", "fa-circle-plus"], [1, "mj-lk-card__t"], [1, "mj-lk-card__d"], [1, "fa-solid", "fa-door-open"], [1, "fa-solid", "fa-clock-rotate-left"], [1, "mj-lk-listmsg"], [1, "mj-lk-list"], ["for", "mj-lk-room", 1, "mj-lk-prejoin__label"], [1, "mj-lk-joinrow"], ["id", "mj-lk-room", "type", "text", "placeholder", "Room name\u2026", 1, "mj-input", "mj-lk-joinrow__input", 3, "input", "keydown.enter", "value"], ["type", "button", 1, "mj-lk-prejoin__start", "mj-lk-joinrow__btn", 3, "click", "disabled"], [1, "fa-solid", "fa-spinner", "fa-spin"], ["type", "button", 1, "mj-lk-list__row"], ["type", "button", 1, "mj-lk-list__row", 3, "click"], [1, "mj-lk-list__name"], [1, "fa-solid", "fa-circle", "mj-lk-livedot"], [1, "mj-lk-list__meta"], [1, "fa-solid", "fa-comments"], [1, "mj-lk-transcript"], [1, "mj-lk-tline", 3, "mj-lk-tline--agent", "mj-lk-tline--error"], [1, "mj-lk-tline"], [1, "mj-lk-tline__who"], [1, "mj-lk-tline__msg"], [1, "fa-solid", "fa-circle-exclamation"], ["Title", "Invite people", "Size", "auto", 3, "Close", "Visible", "Width"], [1, "mj-lk-invite"], [1, "mj-lk-invite__hint"], [1, "mj-lk-invite__search"], ["type", "text", "placeholder", "Search people by name or email\u2026", 1, "mj-input", 3, "input", "keydown.enter", "value"], ["type", "button", 1, "mj-lk-invite__searchbtn", 3, "click", "disabled"], [1, "fa-solid"], [1, "mj-lk-invite__chips"], [1, "mj-lk-invite__results"], [1, "mj-lk-invite__empty"], [1, "mj-lk-invite__msg"], [1, "mj-lk-invite__actions"], ["type", "button", 1, "mj-lk-invite__send", 3, "click", "disabled"], ["type", "button", 1, "mj-lk-invite__cancel", 3, "click"], [1, "mj-lk-invite__chip"], ["type", "button", 1, "mj-lk-invite__chipx", 3, "click"], [1, "fa-solid", "fa-xmark"], ["type", "button", 1, "mj-lk-invite__result"], ["type", "button", 1, "mj-lk-invite__result", 3, "click"], [1, "mj-lk-invite__rname"], [1, "mj-lk-invite__remail"]], template: function LiveKitRoomResource_Template(rf, ctx) { if (rf & 1) {
1274
- i0.ɵɵconditionalCreate(0, LiveKitRoomResource_Case_0_Template, 1, 15, "mj-livekit-agent-room", 0)(1, LiveKitRoomResource_Case_1_Template, 21, 3, "div", 1)(2, LiveKitRoomResource_Case_2_Template, 27, 0, "div", 1)(3, LiveKitRoomResource_Case_3_Template, 16, 3, "div", 1)(4, LiveKitRoomResource_Case_4_Template, 4, 1, "div", 1)(5, LiveKitRoomResource_Case_5_Template, 4, 1, "div", 2)(6, LiveKitRoomResource_Case_6_Template, 2, 0, "div", 2);
1335
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LiveKitRoomResource, selectors: [["mj-livekit-room-resource"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 2, consts: [[1, "mj-livekit-room-resource", 3, "Mode", "RoomName", "AgentID", "TargetAgentID", "AgentName", "AvailableAgents", "RealtimeModelID", "RealtimeVoice", "CanPickModelVoice", "AvailableModels", "TurnMode", "TurnAddressing", "Provider", "ShowAgentState", "ShowWhiteboard", "EnableLayoutSwitcher", "EnablePinning"], [1, "mj-lk-prejoin"], [1, "mj-livekit-room-resource__message"], ["Title", "Invite people", "Size", "auto", 3, "Visible", "Width"], [1, "mj-livekit-room-resource", 3, "Connected", "Disconnected", "ErrorOccurred", "InvitePeopleRequested", "Mode", "RoomName", "AgentID", "TargetAgentID", "AgentName", "AvailableAgents", "RealtimeModelID", "RealtimeVoice", "CanPickModelVoice", "AvailableModels", "TurnMode", "TurnAddressing", "Provider", "ShowAgentState", "ShowWhiteboard", "EnableLayoutSwitcher", "EnablePinning"], [1, "mj-lk-prejoin__card"], ["type", "button", 1, "mj-lk-back", 3, "click"], [1, "fa-solid", "fa-arrow-left"], [1, "mj-lk-prejoin__icon"], [1, "fa-solid", "fa-video"], [1, "mj-lk-prejoin__title"], [1, "mj-lk-prejoin__subtitle"], ["for", "mj-lk-target", 1, "mj-lk-prejoin__label"], ["id", "mj-lk-target", 1, "mj-input", "mj-lk-prejoin__select", 3, "change"], [3, "value", "selected"], [1, "mj-lk-prejoin__desc"], ["for", "mj-lk-turn-mode", 1, "mj-lk-prejoin__label"], ["id", "mj-lk-turn-mode", 1, "mj-input", "mj-lk-prejoin__select", 3, "change"], ["value", ""], [3, "value", "title", "selected"], ["id", "mj-lk-turn-addressing", "aria-label", "How the agent decides it was addressed", 1, "mj-input", "mj-lk-prejoin__select", 3, "change"], ["type", "button", 1, "mj-lk-prejoin__start", 3, "click", "disabled"], [1, "fa-solid", "fa-phone"], ["for", "mj-lk-model", 1, "mj-lk-prejoin__label"], [1, "mj-lk-prejoin__dev"], ["id", "mj-lk-model", 1, "mj-input", "mj-lk-prejoin__select", 3, "change"], ["for", "mj-lk-voice", 1, "mj-lk-prejoin__label"], ["id", "mj-lk-voice", 1, "mj-input", "mj-lk-prejoin__select", 3, "change"], [1, "mj-lk-prejoin__card", "mj-lk-prejoin__card--wide"], [1, "mj-lk-cards"], ["type", "button", 1, "mj-lk-card", 3, "click"], [1, "fa-solid", "fa-circle-plus"], [1, "mj-lk-card__t"], [1, "mj-lk-card__d"], [1, "fa-solid", "fa-door-open"], [1, "fa-solid", "fa-clock-rotate-left"], [1, "mj-lk-listmsg"], [1, "mj-lk-list"], ["for", "mj-lk-room", 1, "mj-lk-prejoin__label"], [1, "mj-lk-joinrow"], ["id", "mj-lk-room", "type", "text", "placeholder", "Room name\u2026", 1, "mj-input", "mj-lk-joinrow__input", 3, "input", "keydown.enter", "value"], ["type", "button", 1, "mj-lk-prejoin__start", "mj-lk-joinrow__btn", 3, "click", "disabled"], [1, "fa-solid", "fa-spinner", "fa-spin"], ["type", "button", 1, "mj-lk-list__row"], ["type", "button", 1, "mj-lk-list__row", 3, "click"], [1, "mj-lk-list__name"], [1, "fa-solid", "fa-circle", "mj-lk-livedot"], [1, "mj-lk-list__meta"], [1, "fa-solid", "fa-comments"], [1, "mj-lk-transcript"], [1, "mj-lk-tline", 3, "mj-lk-tline--agent", "mj-lk-tline--error"], [1, "mj-lk-tline"], [1, "mj-lk-tline__who"], [1, "mj-lk-tline__msg"], [1, "fa-solid", "fa-circle-exclamation"], ["Title", "Invite people", "Size", "auto", 3, "Close", "Visible", "Width"], [1, "mj-lk-invite"], [1, "mj-lk-invite__hint"], [1, "mj-lk-invite__search"], ["type", "text", "placeholder", "Search people by name or email\u2026", 1, "mj-input", 3, "input", "keydown.enter", "value"], ["type", "button", 1, "mj-lk-invite__searchbtn", 3, "click", "disabled"], [1, "fa-solid"], [1, "mj-lk-invite__chips"], [1, "mj-lk-invite__results"], [1, "mj-lk-invite__empty"], [1, "mj-lk-invite__msg"], [1, "mj-lk-invite__actions"], ["type", "button", 1, "mj-lk-invite__send", 3, "click", "disabled"], ["type", "button", 1, "mj-lk-invite__cancel", 3, "click"], [1, "mj-lk-invite__chip"], ["type", "button", 1, "mj-lk-invite__chipx", 3, "click"], [1, "fa-solid", "fa-xmark"], ["type", "button", 1, "mj-lk-invite__result"], ["type", "button", 1, "mj-lk-invite__result", 3, "click"], [1, "mj-lk-invite__rname"], [1, "mj-lk-invite__remail"]], template: function LiveKitRoomResource_Template(rf, ctx) { if (rf & 1) {
1336
+ i0.ɵɵconditionalCreate(0, LiveKitRoomResource_Case_0_Template, 1, 17, "mj-livekit-agent-room", 0)(1, LiveKitRoomResource_Case_1_Template, 33, 3, "div", 1)(2, LiveKitRoomResource_Case_2_Template, 27, 0, "div", 1)(3, LiveKitRoomResource_Case_3_Template, 16, 3, "div", 1)(4, LiveKitRoomResource_Case_4_Template, 4, 1, "div", 1)(5, LiveKitRoomResource_Case_5_Template, 4, 1, "div", 2)(6, LiveKitRoomResource_Case_6_Template, 2, 0, "div", 2);
1275
1337
  i0.ɵɵconditionalCreate(7, LiveKitRoomResource_Conditional_7_Template, 18, 21, "mj-dialog", 3);
1276
1338
  } if (rf & 2) {
1277
1339
  let tmp_0_0;
@@ -1301,6 +1363,8 @@ export { LiveKitRoomResource };
1301
1363
  [RealtimeVoice]="selectedVoice"
1302
1364
  [CanPickModelVoice]="canPickModelVoice"
1303
1365
  [AvailableModels]="realtimeModels"
1366
+ [TurnMode]="SelectedTurnMode"
1367
+ [TurnAddressing]="SelectedTurnAddressing"
1304
1368
  [Provider]="ProviderToUse"
1305
1369
  [ShowAgentState]="true"
1306
1370
  [ShowWhiteboard]="true"
@@ -1349,6 +1413,20 @@ export { LiveKitRoomResource };
1349
1413
  </select>
1350
1414
  }
1351
1415
  }
1416
+ <label class="mj-lk-prejoin__label" for="mj-lk-turn-mode">Turn-taking</label>
1417
+ <select id="mj-lk-turn-mode" class="mj-input mj-lk-prejoin__select" (change)="OnTurnModeChange($event)">
1418
+ <option value="">Default turn mode</option>
1419
+ @for (o of TurnModeOptions; track o.Value) {
1420
+ <option [value]="o.Value" [title]="o.Hint" [selected]="o.Value === SelectedTurnMode">{{ o.Label }}</option>
1421
+ }
1422
+ </select>
1423
+ <select id="mj-lk-turn-addressing" class="mj-input mj-lk-prejoin__select" aria-label="How the agent decides it was addressed"
1424
+ (change)="OnTurnAddressingChange($event)">
1425
+ <option value="">Default addressing</option>
1426
+ @for (o of TurnAddressingOptions; track o.Value) {
1427
+ <option [value]="o.Value" [title]="o.Hint" [selected]="o.Value === SelectedTurnAddressing">{{ o.Label }}</option>
1428
+ }
1429
+ </select>
1352
1430
  <button type="button" class="mj-lk-prejoin__start" [disabled]="!selectedTargetId" (click)="startCall()">
1353
1431
  <i class="fa-solid fa-phone"></i> Start call
1354
1432
  </button>
@@ -1513,5 +1591,5 @@ export { LiveKitRoomResource };
1513
1591
  }
1514
1592
  `, styles: ["\n :host {\n display: block;\n height: 100%;\n }\n .mj-livekit-room-resource {\n display: block;\n height: 100%;\n }\n .mj-livekit-room-resource__message {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n height: 100%;\n padding: 1.5rem;\n text-align: center;\n color: var(--mj-text-secondary);\n }\n .mj-livekit-room-resource__message i {\n color: var(--mj-status-warning);\n }\n .mj-lk-prejoin {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 1.5rem;\n background: var(--mj-bg-page);\n }\n .mj-lk-prejoin__card {\n width: 100%;\n max-width: 440px;\n padding: 2rem;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-lg, 12px);\n background: var(--mj-bg-surface);\n box-shadow: var(--mj-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.12));\n text-align: center;\n }\n .mj-lk-prejoin__icon {\n font-size: 1.75rem;\n color: var(--mj-brand-primary);\n margin-bottom: 0.75rem;\n }\n .mj-lk-prejoin__title {\n margin: 0 0 0.5rem;\n color: var(--mj-text-primary);\n font-size: 1.25rem;\n }\n .mj-lk-prejoin__subtitle {\n margin: 0 0 1.5rem;\n color: var(--mj-text-secondary);\n font-size: 0.875rem;\n line-height: 1.4;\n }\n .mj-lk-prejoin__label {\n display: block;\n text-align: left;\n margin-bottom: 0.35rem;\n color: var(--mj-text-secondary);\n font-size: 0.8125rem;\n font-weight: 600;\n }\n .mj-lk-prejoin__dev {\n margin-left: 0.35rem;\n padding: 0 0.35rem;\n border-radius: 999px;\n font-size: 0.625rem;\n font-weight: 700;\n text-transform: uppercase;\n color: var(--mj-text-inverse);\n background: var(--mj-brand-primary);\n vertical-align: middle;\n }\n .mj-lk-prejoin__select {\n width: 100%;\n margin-bottom: 0.75rem;\n }\n .mj-lk-prejoin__desc {\n text-align: left;\n margin: 0 0 1.25rem;\n color: var(--mj-text-muted);\n font-size: 0.8125rem;\n line-height: 1.4;\n }\n .mj-lk-prejoin__start {\n width: 100%;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n padding: 0.625rem 1rem;\n border: none;\n border-radius: var(--mj-radius-md, 8px);\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n font-size: 0.9375rem;\n font-weight: 600;\n cursor: pointer;\n }\n .mj-lk-prejoin__start:hover:not(:disabled) {\n background: var(--mj-brand-primary-hover);\n }\n .mj-lk-prejoin__start:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .mj-lk-prejoin__card--wide {\n max-width: 560px;\n text-align: left;\n }\n .mj-lk-back {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-bottom: 0.75rem;\n padding: 4px 8px;\n border: none;\n background: none;\n cursor: pointer;\n color: var(--mj-text-secondary);\n font-size: 0.8125rem;\n }\n .mj-lk-back:hover { color: var(--mj-text-primary); }\n .mj-lk-cards {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 0.75rem;\n margin-top: 1.25rem;\n }\n .mj-lk-card {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 6px;\n padding: 1.25rem 0.75rem;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-lg, 12px);\n background: var(--mj-bg-surface-card);\n cursor: pointer;\n text-align: center;\n }\n .mj-lk-card:hover {\n border-color: var(--mj-brand-primary);\n background: var(--mj-bg-surface-hover, var(--mj-bg-surface-card));\n }\n .mj-lk-card > i { font-size: 1.4rem; color: var(--mj-brand-primary); }\n .mj-lk-card__t { font-weight: 600; color: var(--mj-text-primary); font-size: 0.9rem; }\n .mj-lk-card__d { color: var(--mj-text-muted); font-size: 0.78rem; line-height: 1.3; }\n .mj-lk-list {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin: 0.5rem 0 1rem;\n max-height: 320px;\n overflow-y: auto;\n }\n .mj-lk-list__row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 0.75rem;\n padding: 10px 12px;\n border: 1px solid var(--mj-border-default);\n border-radius: 10px;\n background: var(--mj-bg-surface-card);\n cursor: pointer;\n text-align: left;\n }\n .mj-lk-list__row:hover { border-color: var(--mj-brand-primary); background: var(--mj-bg-surface-hover, var(--mj-bg-surface-card)); }\n .mj-lk-list__name { color: var(--mj-text-primary); font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px; }\n .mj-lk-list__meta { color: var(--mj-text-muted); font-size: 0.78rem; white-space: nowrap; }\n .mj-lk-livedot { color: var(--mj-status-success); font-size: 0.5rem; }\n .mj-lk-listmsg { padding: 1rem; color: var(--mj-text-secondary); text-align: center; }\n .mj-lk-joinrow { display: flex; gap: 8px; }\n .mj-lk-joinrow__input { flex: 1; }\n .mj-lk-joinrow__btn { white-space: nowrap; }\n .mj-lk-transcript {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 0.5rem;\n max-height: 60vh;\n overflow-y: auto;\n }\n .mj-lk-tline {\n display: flex;\n flex-direction: column;\n gap: 2px;\n padding: 8px 10px;\n border-radius: 8px;\n background: var(--mj-bg-surface-card);\n }\n .mj-lk-tline--agent { background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface)); }\n .mj-lk-tline--error { background: var(--mj-status-error-bg, color-mix(in srgb, var(--mj-status-error) 8%, var(--mj-bg-surface))); }\n .mj-lk-tline__who { font-size: 0.72rem; font-weight: 600; color: var(--mj-text-secondary); }\n .mj-lk-tline__msg { font-size: 0.875rem; color: var(--mj-text-primary); }\n .mj-lk-invite {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n min-width: 360px;\n padding: 0.25rem;\n }\n .mj-lk-invite__hint {\n margin: 0;\n color: var(--mj-text-muted);\n font-size: 0.8125rem;\n }\n .mj-lk-invite__search {\n display: flex;\n gap: 0.5rem;\n }\n .mj-lk-invite__search .mj-input {\n flex: 1;\n }\n .mj-lk-invite__searchbtn,\n .mj-lk-invite__send,\n .mj-lk-invite__cancel {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.4rem;\n padding: 0.5rem 0.85rem;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n cursor: pointer;\n font-size: 0.875rem;\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n }\n .mj-lk-invite__send {\n border: none;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n }\n .mj-lk-invite__send:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .mj-lk-invite__chips {\n display: flex;\n flex-wrap: wrap;\n gap: 0.4rem;\n }\n .mj-lk-invite__chip {\n display: inline-flex;\n align-items: center;\n gap: 0.35rem;\n padding: 0.2rem 0.5rem;\n border-radius: 999px;\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n }\n .mj-lk-invite__chipx {\n border: none;\n background: transparent;\n cursor: pointer;\n color: var(--mj-text-muted);\n padding: 0;\n }\n .mj-lk-invite__results {\n max-height: 220px;\n overflow-y: auto;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n }\n .mj-lk-invite__result {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 0.1rem;\n width: 100%;\n padding: 0.5rem 0.75rem;\n border: none;\n border-bottom: 1px solid var(--mj-border-subtle, var(--mj-border-default));\n background: transparent;\n cursor: pointer;\n text-align: left;\n }\n .mj-lk-invite__result:hover {\n background: var(--mj-bg-surface-hover);\n }\n .mj-lk-invite__rname {\n color: var(--mj-text-primary);\n font-size: 0.875rem;\n }\n .mj-lk-invite__remail {\n color: var(--mj-text-muted);\n font-size: 0.75rem;\n }\n .mj-lk-invite__empty {\n color: var(--mj-text-muted);\n font-size: 0.8125rem;\n padding: 0.25rem;\n }\n .mj-lk-invite__msg {\n color: var(--mj-text-secondary);\n font-size: 0.8125rem;\n }\n .mj-lk-invite__actions {\n display: flex;\n gap: 0.5rem;\n margin-top: 0.25rem;\n }\n "] }]
1515
1593
  }], null, null); })();
1516
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LiveKitRoomResource, { className: "LiveKitRoomResource", filePath: "src/lib/resource-wrappers/livekit-room-resource.component.ts", lineNumber: 577 }); })();
1594
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LiveKitRoomResource, { className: "LiveKitRoomResource", filePath: "src/lib/resource-wrappers/livekit-room-resource.component.ts", lineNumber: 601 }); })();
1517
1595
  //# sourceMappingURL=livekit-room-resource.component.js.map