mediasfu-vue 1.5.1 → 1.6.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.0 — 2026-11-29
4
+
5
+ - Requires `mediasfu-shared` 1.6.0.
6
+ - **Breakout room timers.** Hosts can give breakout rooms a length when starting them (the classic and modern breakout modals: a timer choice before the start; while rooms run, the time left and **+5 min**). The server owns the deadline and ends the rooms itself. Participants see the time left next to their own room in the pagination, "Returning to the main room in 60 seconds" one minute before the end, and "Breakout rooms have ended: time is up" when the timer ends them. New exports: BreakoutTimerControls, BreakoutCountdown and useBreakoutCountdown.
7
+ - **Participants open their own breakout room.** When rooms start, or a participant is moved while they run, their view goes to their room's page instead of staying on the main room. When rooms end, it returns to the first page. A reconnecting host gets their current room back.
8
+ - **The display type survives breakouts.** It is kept when the host starts rooms and restored when they end.
9
+ - **Room plans are checked with the server's reasons**, for example "ann is in both Room 1 and Room 2" or "Room 1 has more than 2 participants". An edit of running rooms may leave a room empty.
10
+ - Video quality tiers are matched in any case, so a "qnhd" room gets the QnHD frame rate, capture size and bitrate.
11
+
3
12
  ## 1.5.0 — 2026-11-12
4
13
 
5
14
  - Requires `mediasfu-shared` 1.5.0 or later.
package/dist/index.cjs CHANGED
@@ -21094,6 +21094,81 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
21094
21094
  }
21095
21095
  });
21096
21096
  const EditRoomModal = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-88db172b"]]);
21097
+ function useBreakoutCountdown() {
21098
+ const remaining = vue.ref(mediasfuShared.breakoutRemainingMs());
21099
+ let unsubscribe = null;
21100
+ let interval = null;
21101
+ const tick = () => {
21102
+ remaining.value = mediasfuShared.breakoutRemainingMs();
21103
+ };
21104
+ vue.onMounted(() => {
21105
+ unsubscribe = mediasfuShared.subscribeBreakoutTimer(tick);
21106
+ interval = setInterval(tick, 1e3);
21107
+ tick();
21108
+ });
21109
+ vue.onBeforeUnmount(() => {
21110
+ unsubscribe?.();
21111
+ if (interval) clearInterval(interval);
21112
+ });
21113
+ return remaining;
21114
+ }
21115
+ const BreakoutCountdown = vue.defineComponent({
21116
+ name: "BreakoutCountdown",
21117
+ props: {
21118
+ prefix: { type: String, default: "" },
21119
+ style: { type: Object, default: void 0 }
21120
+ },
21121
+ setup(props) {
21122
+ const remaining = useBreakoutCountdown();
21123
+ return () => {
21124
+ if (remaining.value === null) return null;
21125
+ const warning = remaining.value <= mediasfuShared.BREAKOUT_WARNING_MS;
21126
+ return vue.h("span", {
21127
+ role: "timer",
21128
+ "aria-live": warning ? "polite" : "off",
21129
+ "data-warning": warning ? "true" : void 0,
21130
+ style: {
21131
+ fontVariantNumeric: "tabular-nums",
21132
+ fontWeight: warning ? 700 : void 0,
21133
+ color: warning ? "#d64545" : void 0,
21134
+ ...props.style || {}
21135
+ }
21136
+ }, `${props.prefix ? `${props.prefix} ` : ""}${mediasfuShared.formatBreakoutRemaining(remaining.value)}`);
21137
+ };
21138
+ }
21139
+ });
21140
+ const BreakoutTimerControls = vue.defineComponent({
21141
+ name: "BreakoutTimerControls",
21142
+ props: {
21143
+ /** Breakout rooms are running (time left and +5 min) or not yet (the timer length). */
21144
+ running: { type: Boolean, required: true },
21145
+ durationSeconds: { type: Number, required: true },
21146
+ selectClass: { type: String, default: "" },
21147
+ buttonClass: { type: String, default: "" },
21148
+ style: { type: Object, default: void 0 }
21149
+ },
21150
+ emits: {
21151
+ "update:durationSeconds": (seconds) => typeof seconds === "number",
21152
+ extend: (addSeconds) => typeof addSeconds === "number"
21153
+ },
21154
+ setup(props, { emit }) {
21155
+ const remaining = useBreakoutCountdown();
21156
+ return () => vue.h("div", {
21157
+ style: { display: "flex", alignItems: "center", gap: "8px", flexWrap: "wrap", margin: "8px 0", ...props.style || {} }
21158
+ }, !props.running ? [
21159
+ vue.h("label", { for: "breakoutDuration" }, "Timer:"),
21160
+ vue.h("select", {
21161
+ id: "breakoutDuration",
21162
+ class: props.selectClass || void 0,
21163
+ value: props.durationSeconds,
21164
+ onChange: (e) => emit("update:durationSeconds", Number(e.target.value))
21165
+ }, mediasfuShared.BREAKOUT_DURATION_CHOICES.map((c) => vue.h("option", { key: c.seconds, value: c.seconds, selected: c.seconds === props.durationSeconds }, c.label)))
21166
+ ] : [
21167
+ remaining.value === null ? vue.h("span", "No timer") : vue.h(BreakoutCountdown, { prefix: "Ends in" }),
21168
+ vue.h("button", { type: "button", class: props.buttonClass || void 0, onClick: () => emit("extend", 300) }, "+5 min")
21169
+ ]);
21170
+ }
21171
+ });
21097
21172
  const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
21098
21173
  __name: "BreakoutRoomsModal",
21099
21174
  props: {
@@ -21232,28 +21307,21 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
21232
21307
  }
21233
21308
  };
21234
21309
  const validateRooms = () => {
21235
- if (breakoutRoomsRef.value.length === 0) {
21236
- showAlert.value?.({ message: "There must be at least one room", type: "danger" });
21310
+ const result = mediasfuShared.validateBreakoutRooms({
21311
+ rooms: breakoutRoomsRef.value,
21312
+ itemPageLimit: itemPageLimit.value,
21313
+ allowEmptyRooms: breakOutRoomStarted.value && !breakOutRoomEnded.value
21314
+ });
21315
+ if (!result.ok) {
21316
+ showAlert.value?.({ message: result.reason || "Rooms validation failed", type: "danger" });
21237
21317
  return false;
21238
21318
  }
21239
- for (let room of breakoutRoomsRef.value) {
21240
- if (room.length === 0) {
21241
- showAlert.value?.({ message: "Rooms must not be empty", type: "danger" });
21242
- return false;
21243
- }
21244
- const participantNames = room.map((p) => p.name);
21245
- const uniqueNames = new Set(participantNames);
21246
- if (participantNames.length !== uniqueNames.size) {
21247
- showAlert.value?.({ message: "Duplicate participant names in a room", type: "danger" });
21248
- return false;
21249
- }
21250
- if (room.length > itemPageLimit.value) {
21251
- showAlert.value?.({ message: "A room exceeds the participant limit", type: "danger" });
21252
- return false;
21253
- }
21254
- }
21255
21319
  return true;
21256
21320
  };
21321
+ const breakoutDurationSeconds = vue.ref(0);
21322
+ const handleExtendTimer = (addSeconds) => {
21323
+ mediasfuShared.extendBreakoutTimer({ socket: socket.value, roomName: roomName.value, addSeconds, showAlert: showAlert.value });
21324
+ };
21257
21325
  const handleRandomAssign = () => {
21258
21326
  const numRoomsInt = parseInt(numRooms.value);
21259
21327
  if (isNaN(numRoomsInt) || numRoomsInt <= 0) {
@@ -21377,7 +21445,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
21377
21445
  updateBreakOutRoomEnded: updateBreakOutRoomEnded.value,
21378
21446
  onBreakoutRoomsClose: props.onBreakoutRoomsClose,
21379
21447
  meetingDisplayType: meetingDisplayType.value,
21380
- updateMeetingDisplayType: updateMeetingDisplayType.value
21448
+ updateMeetingDisplayType: updateMeetingDisplayType.value,
21449
+ updatePrevMeetingDisplayType: props.parameters.updatePrevMeetingDisplayType,
21450
+ durationSeconds: breakoutDurationSeconds.value
21381
21451
  });
21382
21452
  }
21383
21453
  };
@@ -21732,6 +21802,16 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
21732
21802
  dividerNode,
21733
21803
  controlsNode,
21734
21804
  roomListNode,
21805
+ vue.h(BreakoutTimerControls, {
21806
+ running: breakOutRoomStarted.value && !breakOutRoomEnded.value,
21807
+ durationSeconds: breakoutDurationSeconds.value,
21808
+ "onUpdate:durationSeconds": (seconds) => {
21809
+ breakoutDurationSeconds.value = seconds;
21810
+ },
21811
+ onExtend: handleExtendTimer,
21812
+ selectClass: "form-control",
21813
+ buttonClass: "btn btn-secondary"
21814
+ }),
21735
21815
  startButtonNode,
21736
21816
  stopButtonNode
21737
21817
  ].filter(Boolean));
@@ -21768,7 +21848,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
21768
21848
  };
21769
21849
  }
21770
21850
  });
21771
- const BreakoutRoomsModal = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f7509bce"]]);
21851
+ const BreakoutRoomsModal = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-ed30dc56"]]);
21772
21852
  const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
21773
21853
  __name: "ConfigureWhiteboardModal",
21774
21854
  props: {
@@ -25967,6 +26047,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
25967
26047
  `Room ${roomNumber} `,
25968
26048
  vue.h(vueFontawesome.FontAwesomeIcon, { icon: freeSolidSvgIcons.faLock, key: "lock-icon" })
25969
26049
  ];
26050
+ } else if (memberRoom.value + 1 === roomNumber) {
26051
+ displayItem = [`Room ${roomNumber} `, vue.h(BreakoutCountdown, { key: "breakout-countdown", style: { fontSize: "0.85em" } })];
25970
26052
  } else {
25971
26053
  displayItem = `Room ${roomNumber}`;
25972
26054
  }
@@ -26059,7 +26141,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
26059
26141
  };
26060
26142
  }
26061
26143
  });
26062
- const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-4f668494"]]);
26144
+ const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-5cb91a17"]]);
26063
26145
  const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
26064
26146
  __name: "FlexibleGrid",
26065
26147
  props: {
@@ -27176,27 +27258,21 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27176
27258
  markUnsaved();
27177
27259
  };
27178
27260
  const validateRooms = () => {
27179
- if (localRooms.value.length === 0) {
27180
- emitAlert("There must be at least one room", "danger");
27261
+ const result = mediasfuShared.validateBreakoutRooms({
27262
+ rooms: localRooms.value,
27263
+ itemPageLimit: props.parameters.itemPageLimit,
27264
+ allowEmptyRooms: isStarted.value
27265
+ });
27266
+ if (!result.ok) {
27267
+ emitAlert(result.reason || "Rooms validation failed", "danger");
27181
27268
  return false;
27182
27269
  }
27183
- for (const room of localRooms.value) {
27184
- if (room.length === 0) {
27185
- emitAlert("Rooms must not be empty", "danger");
27186
- return false;
27187
- }
27188
- const participantNames = room.map((participant) => participant.name);
27189
- if (participantNames.length !== new Set(participantNames).size) {
27190
- emitAlert("Duplicate participant names in a room", "danger");
27191
- return false;
27192
- }
27193
- if (room.length > props.parameters.itemPageLimit) {
27194
- emitAlert("A room exceeds the participant limit", "danger");
27195
- return false;
27196
- }
27197
- }
27198
27270
  return true;
27199
27271
  };
27272
+ const breakoutDurationSeconds = vue.ref(0);
27273
+ const handleExtendTimer = (addSeconds) => {
27274
+ mediasfuShared.extendBreakoutTimer({ socket: props.parameters.socket, roomName: props.parameters.roomName, addSeconds, showAlert: sharedBreakoutAlert });
27275
+ };
27200
27276
  const handleSave = () => {
27201
27277
  if (!validateRooms()) {
27202
27278
  return;
@@ -27227,7 +27303,9 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27227
27303
  updateBreakOutRoomEnded: props.parameters.updateBreakOutRoomEnded,
27228
27304
  onBreakoutRoomsClose: props.onBreakoutRoomsClose,
27229
27305
  meetingDisplayType: props.parameters.meetingDisplayType,
27230
- updateMeetingDisplayType: props.parameters.updateMeetingDisplayType
27306
+ updateMeetingDisplayType: props.parameters.updateMeetingDisplayType,
27307
+ updatePrevMeetingDisplayType: props.parameters.updatePrevMeetingDisplayType,
27308
+ durationSeconds: breakoutDurationSeconds.value
27231
27309
  });
27232
27310
  };
27233
27311
  const handleEnd = () => {
@@ -27573,7 +27651,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27573
27651
  vue.createElementVNode("div", _hoisted_4$7, [
27574
27652
  vue.createElementVNode("div", _hoisted_5$7, [
27575
27653
  vue.createElementVNode("label", _hoisted_6$7, [
27576
- _cache[13] || (_cache[13] = vue.createElementVNode("span", { class: "ms-modern-breakout-sidebar__field-label" }, "Number of rooms", -1)),
27654
+ _cache[15] || (_cache[15] = vue.createElementVNode("span", { class: "ms-modern-breakout-sidebar__field-label" }, "Number of rooms", -1)),
27577
27655
  vue.withDirectives(vue.createElementVNode("input", {
27578
27656
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => numRoomsInput.value = $event),
27579
27657
  type: "number",
@@ -27587,12 +27665,12 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27587
27665
  ])
27588
27666
  ]),
27589
27667
  vue.createElementVNode("label", _hoisted_8$6, [
27590
- _cache[15] || (_cache[15] = vue.createElementVNode("span", { class: "ms-modern-breakout-sidebar__field-label" }, "New participant action", -1)),
27668
+ _cache[17] || (_cache[17] = vue.createElementVNode("span", { class: "ms-modern-breakout-sidebar__field-label" }, "New participant action", -1)),
27591
27669
  vue.withDirectives(vue.createElementVNode("select", {
27592
27670
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => newParticipantAction.value = $event),
27593
27671
  class: "ms-modern-breakout-sidebar__select",
27594
27672
  disabled: isStarted.value
27595
- }, [..._cache[14] || (_cache[14] = [
27673
+ }, [..._cache[16] || (_cache[16] = [
27596
27674
  vue.createElementVNode("option", { value: "autoAssignNewRoom" }, "Add to new room", -1),
27597
27675
  vue.createElementVNode("option", { value: "autoAssignAvailableRoom" }, "Add to open room", -1),
27598
27676
  vue.createElementVNode("option", { value: "manualAssign" }, "No action", -1)
@@ -27609,7 +27687,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27609
27687
  onClick: handleRandomAssign
27610
27688
  }, [
27611
27689
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faRandom) }, null, 8, ["icon"]),
27612
- _cache[16] || (_cache[16] = vue.createElementVNode("span", null, "Random", -1))
27690
+ _cache[18] || (_cache[18] = vue.createElementVNode("span", null, "Random", -1))
27613
27691
  ], 8, _hoisted_11$6),
27614
27692
  vue.createElementVNode("button", {
27615
27693
  type: "button",
@@ -27618,7 +27696,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27618
27696
  onClick: handleManualAssign
27619
27697
  }, [
27620
27698
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faHandPointer) }, null, 8, ["icon"]),
27621
- _cache[17] || (_cache[17] = vue.createElementVNode("span", null, "Create", -1))
27699
+ _cache[19] || (_cache[19] = vue.createElementVNode("span", null, "Create", -1))
27622
27700
  ], 8, _hoisted_12$6),
27623
27701
  vue.createElementVNode("button", {
27624
27702
  type: "button",
@@ -27627,7 +27705,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27627
27705
  onClick: handleAddRoom
27628
27706
  }, [
27629
27707
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faPlus) }, null, 8, ["icon"]),
27630
- _cache[18] || (_cache[18] = vue.createElementVNode("span", null, "Add room", -1))
27708
+ _cache[20] || (_cache[20] = vue.createElementVNode("span", null, "Add room", -1))
27631
27709
  ], 8, _hoisted_13$5)
27632
27710
  ])
27633
27711
  ]),
@@ -27679,7 +27757,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27679
27757
  ]),
27680
27758
  editingRoomIndex.value === roomIndex ? (vue.openBlock(), vue.createElementBlock("section", _hoisted_25$2, [
27681
27759
  vue.createElementVNode("div", _hoisted_26$2, [
27682
- _cache[19] || (_cache[19] = vue.createElementVNode("div", { class: "ms-modern-breakout-sidebar__editor-heading" }, " Assigned ", -1)),
27760
+ _cache[21] || (_cache[21] = vue.createElementVNode("div", { class: "ms-modern-breakout-sidebar__editor-heading" }, " Assigned ", -1)),
27683
27761
  vue.createElementVNode("div", _hoisted_27$2, [
27684
27762
  room.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_28$2, " No participants ")) : vue.createCommentVNode("", true),
27685
27763
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(room, (participant) => {
@@ -27700,7 +27778,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27700
27778
  ])
27701
27779
  ]),
27702
27780
  vue.createElementVNode("div", _hoisted_31$1, [
27703
- _cache[20] || (_cache[20] = vue.createElementVNode("div", { class: "ms-modern-breakout-sidebar__editor-heading" }, " Unassigned ", -1)),
27781
+ _cache[22] || (_cache[22] = vue.createElementVNode("div", { class: "ms-modern-breakout-sidebar__editor-heading" }, " Unassigned ", -1)),
27704
27782
  vue.createElementVNode("div", _hoisted_32$1, [
27705
27783
  unassignedParticipants.value.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_33$1, " None available ")) : vue.createCommentVNode("", true),
27706
27784
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(unassignedParticipants.value, (participant) => {
@@ -27724,6 +27802,13 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27724
27802
  ]);
27725
27803
  }), 128))
27726
27804
  ]),
27805
+ vue.createVNode(vue.unref(BreakoutTimerControls), {
27806
+ running: isStarted.value,
27807
+ "duration-seconds": breakoutDurationSeconds.value,
27808
+ "onUpdate:durationSeconds": _cache[3] || (_cache[3] = ($event) => breakoutDurationSeconds.value = $event),
27809
+ style: { padding: "0 16px" },
27810
+ onExtend: handleExtendTimer
27811
+ }, null, 8, ["running", "duration-seconds"]),
27727
27812
  vue.createElementVNode("div", _hoisted_36$1, [
27728
27813
  vue.createElementVNode("button", {
27729
27814
  type: "button",
@@ -27731,7 +27816,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27731
27816
  onClick: handleSave
27732
27817
  }, [
27733
27818
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faSave) }, null, 8, ["icon"]),
27734
- _cache[21] || (_cache[21] = vue.createElementVNode("span", null, "Save", -1))
27819
+ _cache[23] || (_cache[23] = vue.createElementVNode("span", null, "Save", -1))
27735
27820
  ]),
27736
27821
  !isStarted.value ? (vue.openBlock(), vue.createElementBlock("button", {
27737
27822
  key: 0,
@@ -27741,7 +27826,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27741
27826
  onClick: handleStart
27742
27827
  }, [
27743
27828
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faPlay) }, null, 8, ["icon"]),
27744
- _cache[22] || (_cache[22] = vue.createElementVNode("span", null, "Start", -1))
27829
+ _cache[24] || (_cache[24] = vue.createElementVNode("span", null, "Start", -1))
27745
27830
  ], 8, _hoisted_37$1)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
27746
27831
  vue.createElementVNode("button", {
27747
27832
  type: "button",
@@ -27749,7 +27834,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27749
27834
  onClick: handleStart
27750
27835
  }, [
27751
27836
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faSyncAlt) }, null, 8, ["icon"]),
27752
- _cache[23] || (_cache[23] = vue.createElementVNode("span", null, "Update", -1))
27837
+ _cache[25] || (_cache[25] = vue.createElementVNode("span", null, "Update", -1))
27753
27838
  ]),
27754
27839
  vue.createElementVNode("button", {
27755
27840
  type: "button",
@@ -27757,7 +27842,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27757
27842
  onClick: handleEnd
27758
27843
  }, [
27759
27844
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faStop) }, null, 8, ["icon"]),
27760
- _cache[24] || (_cache[24] = vue.createElementVNode("span", null, "End", -1))
27845
+ _cache[26] || (_cache[26] = vue.createElementVNode("span", null, "End", -1))
27761
27846
  ])
27762
27847
  ], 64))
27763
27848
  ])
@@ -27777,7 +27862,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27777
27862
  type: "button",
27778
27863
  class: "ms-modern-breakout-sidebar__icon-button"
27779
27864
  }, buttonAttrs(mergedProps.value.closeButtonProps), {
27780
- onClick: _cache[3] || (_cache[3] = ($event) => invokeButtonHandler(mergedProps.value.closeButtonProps?.onClick, $event, props.onBreakoutRoomsClose))
27865
+ onClick: _cache[4] || (_cache[4] = ($event) => invokeButtonHandler(mergedProps.value.closeButtonProps?.onClick, $event, props.onBreakoutRoomsClose))
27781
27866
  }), [
27782
27867
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faTimes) }, null, 8, ["icon"])
27783
27868
  ], 16)
@@ -27789,7 +27874,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27789
27874
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedNumRoomsLabelNode.value }, null, 8, ["node"])
27790
27875
  ], 16),
27791
27876
  vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
27792
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => numRoomsInput.value = $event),
27877
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => numRoomsInput.value = $event),
27793
27878
  type: "number",
27794
27879
  min: "1",
27795
27880
  max: "20",
@@ -27804,10 +27889,10 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27804
27889
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedNewParticipantActionLabelNode.value }, null, 8, ["node"])
27805
27890
  ], 16),
27806
27891
  vue.withDirectives(vue.createElementVNode("select", vue.mergeProps({
27807
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => newParticipantAction.value = $event),
27892
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => newParticipantAction.value = $event),
27808
27893
  class: "ms-modern-breakout-sidebar__select",
27809
27894
  disabled: isStarted.value
27810
- }, mergedProps.value.newParticipantSelectProps), [..._cache[25] || (_cache[25] = [
27895
+ }, mergedProps.value.newParticipantSelectProps), [..._cache[27] || (_cache[27] = [
27811
27896
  vue.createElementVNode("option", { value: "autoAssignNewRoom" }, "Add to new room", -1),
27812
27897
  vue.createElementVNode("option", { value: "autoAssignAvailableRoom" }, "Add to open room", -1),
27813
27898
  vue.createElementVNode("option", { value: "manualAssign" }, "No action", -1)
@@ -27822,7 +27907,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27822
27907
  class: "ms-modern-breakout-sidebar__pill-button ms-modern-breakout-sidebar__pill-button--secondary",
27823
27908
  disabled: isStarted.value
27824
27909
  }, buttonAttrs(mergedProps.value.randomAssignButtonProps), {
27825
- onClick: _cache[6] || (_cache[6] = ($event) => invokeButtonHandler(mergedProps.value.randomAssignButtonProps?.onClick, $event, handleRandomAssign))
27910
+ onClick: _cache[7] || (_cache[7] = ($event) => invokeButtonHandler(mergedProps.value.randomAssignButtonProps?.onClick, $event, handleRandomAssign))
27826
27911
  }), [
27827
27912
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faRandom) }, null, 8, ["icon"]),
27828
27913
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedRandomAssignButtonLabelNode.value }, null, 8, ["node"])
@@ -27832,7 +27917,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27832
27917
  class: "ms-modern-breakout-sidebar__pill-button ms-modern-breakout-sidebar__pill-button--secondary",
27833
27918
  disabled: isStarted.value
27834
27919
  }, buttonAttrs(mergedProps.value.manualAssignButtonProps), {
27835
- onClick: _cache[7] || (_cache[7] = ($event) => invokeButtonHandler(mergedProps.value.manualAssignButtonProps?.onClick, $event, handleManualAssign))
27920
+ onClick: _cache[8] || (_cache[8] = ($event) => invokeButtonHandler(mergedProps.value.manualAssignButtonProps?.onClick, $event, handleManualAssign))
27836
27921
  }), [
27837
27922
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faHandPointer) }, null, 8, ["icon"]),
27838
27923
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedManualAssignButtonLabelNode.value }, null, 8, ["node"])
@@ -27842,7 +27927,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27842
27927
  class: "ms-modern-breakout-sidebar__pill-button ms-modern-breakout-sidebar__pill-button--secondary",
27843
27928
  disabled: isStarted.value
27844
27929
  }, buttonAttrs(mergedProps.value.addRoomButtonProps), {
27845
- onClick: _cache[8] || (_cache[8] = ($event) => invokeButtonHandler(mergedProps.value.addRoomButtonProps?.onClick, $event, handleAddRoom))
27930
+ onClick: _cache[9] || (_cache[9] = ($event) => invokeButtonHandler(mergedProps.value.addRoomButtonProps?.onClick, $event, handleAddRoom))
27846
27931
  }), [
27847
27932
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faPlus) }, null, 8, ["icon"]),
27848
27933
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedAddRoomButtonLabelNode.value }, null, 8, ["node"])
@@ -27898,7 +27983,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27898
27983
  ]),
27899
27984
  editingRoomIndex.value === roomIndex ? (vue.openBlock(), vue.createElementBlock("section", _hoisted_55$1, [
27900
27985
  vue.createElementVNode("div", _hoisted_56$1, [
27901
- _cache[26] || (_cache[26] = vue.createElementVNode("div", { class: "ms-modern-breakout-sidebar__editor-heading" }, " Assigned ", -1)),
27986
+ _cache[28] || (_cache[28] = vue.createElementVNode("div", { class: "ms-modern-breakout-sidebar__editor-heading" }, " Assigned ", -1)),
27902
27987
  vue.createElementVNode("div", _hoisted_57$1, [
27903
27988
  room.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_58$1, " No participants ")) : vue.createCommentVNode("", true),
27904
27989
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(room, (participant) => {
@@ -27919,7 +28004,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27919
28004
  ])
27920
28005
  ]),
27921
28006
  vue.createElementVNode("div", _hoisted_61$1, [
27922
- _cache[27] || (_cache[27] = vue.createElementVNode("div", { class: "ms-modern-breakout-sidebar__editor-heading" }, " Unassigned ", -1)),
28007
+ _cache[29] || (_cache[29] = vue.createElementVNode("div", { class: "ms-modern-breakout-sidebar__editor-heading" }, " Unassigned ", -1)),
27923
28008
  vue.createElementVNode("div", _hoisted_62$1, [
27924
28009
  unassignedParticipants.value.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_63$1, " None available ")) : vue.createCommentVNode("", true),
27925
28010
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(unassignedParticipants.value, (participant) => {
@@ -27944,12 +28029,19 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27944
28029
  }), 128))
27945
28030
  ], 16)
27946
28031
  ], 16),
28032
+ vue.createVNode(vue.unref(BreakoutTimerControls), {
28033
+ running: isStarted.value,
28034
+ "duration-seconds": breakoutDurationSeconds.value,
28035
+ "onUpdate:durationSeconds": _cache[10] || (_cache[10] = ($event) => breakoutDurationSeconds.value = $event),
28036
+ style: { padding: "0 16px" },
28037
+ onExtend: handleExtendTimer
28038
+ }, null, 8, ["running", "duration-seconds"]),
27947
28039
  vue.createElementVNode("div", _hoisted_66$1, [
27948
28040
  vue.createElementVNode("button", vue.mergeProps({
27949
28041
  type: "button",
27950
28042
  class: "ms-modern-breakout-sidebar__pill-button ms-modern-breakout-sidebar__pill-button--secondary ms-modern-breakout-sidebar__pill-button--grow"
27951
28043
  }, buttonAttrs(mergedProps.value.saveRoomsButtonProps), {
27952
- onClick: _cache[9] || (_cache[9] = ($event) => invokeButtonHandler(mergedProps.value.saveRoomsButtonProps?.onClick, $event, handleSave))
28044
+ onClick: _cache[11] || (_cache[11] = ($event) => invokeButtonHandler(mergedProps.value.saveRoomsButtonProps?.onClick, $event, handleSave))
27953
28045
  }), [
27954
28046
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faSave) }, null, 8, ["icon"]),
27955
28047
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedSaveRoomsButtonLabelNode.value }, null, 8, ["node"])
@@ -27960,7 +28052,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27960
28052
  class: "ms-modern-breakout-sidebar__pill-button ms-modern-breakout-sidebar__pill-button--primary ms-modern-breakout-sidebar__pill-button--grow",
27961
28053
  disabled: !canStartFromLocalRooms.value
27962
28054
  }, buttonAttrs(mergedProps.value.startButtonProps), {
27963
- onClick: _cache[10] || (_cache[10] = ($event) => invokeButtonHandler(mergedProps.value.startButtonProps?.onClick, $event, handleStart))
28055
+ onClick: _cache[12] || (_cache[12] = ($event) => invokeButtonHandler(mergedProps.value.startButtonProps?.onClick, $event, handleStart))
27964
28056
  }), [
27965
28057
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faPlay) }, null, 8, ["icon"]),
27966
28058
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedStartBreakoutButtonLabelNode.value }, null, 8, ["node"])
@@ -27969,7 +28061,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27969
28061
  type: "button",
27970
28062
  class: "ms-modern-breakout-sidebar__pill-button ms-modern-breakout-sidebar__pill-button--primary ms-modern-breakout-sidebar__pill-button--grow"
27971
28063
  }, buttonAttrs(mergedProps.value.startButtonProps), {
27972
- onClick: _cache[11] || (_cache[11] = ($event) => invokeButtonHandler(mergedProps.value.startButtonProps?.onClick, $event, handleStart))
28064
+ onClick: _cache[13] || (_cache[13] = ($event) => invokeButtonHandler(mergedProps.value.startButtonProps?.onClick, $event, handleStart))
27973
28065
  }), [
27974
28066
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faSyncAlt) }, null, 8, ["icon"]),
27975
28067
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedUpdateBreakoutButtonLabelNode.value }, null, 8, ["node"])
@@ -27978,7 +28070,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27978
28070
  type: "button",
27979
28071
  class: "ms-modern-breakout-sidebar__pill-button ms-modern-breakout-sidebar__pill-button--danger ms-modern-breakout-sidebar__pill-button--grow"
27980
28072
  }, buttonAttrs(mergedProps.value.stopButtonProps), {
27981
- onClick: _cache[12] || (_cache[12] = ($event) => invokeButtonHandler(mergedProps.value.stopButtonProps?.onClick, $event, handleEnd))
28073
+ onClick: _cache[14] || (_cache[14] = ($event) => invokeButtonHandler(mergedProps.value.stopButtonProps?.onClick, $event, handleEnd))
27982
28074
  }), [
27983
28075
  vue.createVNode(vue.unref(vueFontawesome.FontAwesomeIcon), { icon: vue.unref(freeSolidSvgIcons.faStop) }, null, 8, ["icon"]),
27984
28076
  vue.createVNode(vue.unref(RenderVNode), { node: resolvedStopBreakoutButtonLabelNode.value }, null, 8, ["node"])
@@ -27993,7 +28085,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
27993
28085
  };
27994
28086
  }
27995
28087
  });
27996
- const ModernBreakoutRoomsModal = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-20a79286"]]);
28088
+ const ModernBreakoutRoomsModal = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-ea801d1d"]]);
27997
28089
  const _hoisted_1$9 = {
27998
28090
  key: 0,
27999
28091
  class: "ms-modern-cohost-panel"
@@ -50745,7 +50837,9 @@ exports.AlertComponent = ClassicAlertComponent;
50745
50837
  exports.AudioCard = _sfc_main$1O;
50746
50838
  exports.AudioGrid = _sfc_main$O;
50747
50839
  exports.BackgroundModal = BackgroundModal;
50840
+ exports.BreakoutCountdown = BreakoutCountdown;
50748
50841
  exports.BreakoutRoomsModal = BreakoutRoomsModal;
50842
+ exports.BreakoutTimerControls = BreakoutTimerControls;
50749
50843
  exports.COMMON_LANGUAGE_CODES = COMMON_LANGUAGE_CODES;
50750
50844
  exports.CardVideoDisplay = _sfc_main$1R;
50751
50845
  exports.CoHostModal = CoHostModal;
@@ -50834,6 +50928,7 @@ exports.promptScreenAudioChoice = promptScreenAudioChoice;
50834
50928
  exports.speakerListing = speakerListing;
50835
50929
  exports.supportsAutoDetect = supportsAutoDetect;
50836
50930
  exports.useBackgroundModal = useBackgroundModal;
50931
+ exports.useBreakoutCountdown = useBreakoutCountdown;
50837
50932
  exports.useMediasfu = useMediasfu;
50838
50933
  exports.useMediasfuDemo = useMediasfuDemo;
50839
50934
  exports.useMediasfuHeadless = useMediasfuHeadless;