@ai-matrx/meet 0.11.40 → 0.11.42
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 +12 -0
- package/dist/{collab-XY6Xj1dG.d.cts → collab-Bf5evcLO.d.cts} +1 -1
- package/dist/{collab-XY6Xj1dG.d.ts → collab-Bf5evcLO.d.ts} +1 -1
- package/dist/{components-Cwep2NYU.d.ts → components-Frpvls4N.d.ts} +1 -1
- package/dist/{components-4f9Mf8fz.d.cts → components-roCEgyFH.d.cts} +1 -1
- package/dist/core.cjs +8 -11
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +5 -8
- package/dist/core.d.ts +5 -8
- package/dist/core.js +8 -11
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +8 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -11
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +13 -12
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +13 -12
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs +5 -1
- package/dist/skins/meet.cjs.map +1 -1
- package/dist/skins/meet.d.cts +2 -2
- package/dist/skins/meet.d.ts +2 -2
- package/dist/skins/meet.js +5 -1
- package/dist/skins/meet.js.map +1 -1
- package/dist/styles.css +12 -0
- package/package.json +3 -3
package/dist/react.cjs
CHANGED
|
@@ -5360,8 +5360,7 @@ var ROOM_EVENTS = {
|
|
|
5360
5360
|
/**
|
|
5361
5361
|
* A host or co-host acted (Meet wave 2). Payload `{ meeting_id, kind, … }`:
|
|
5362
5362
|
* `muted {source, by}` · `ask-unmute {by}` · `removed {by}` — addressed to the
|
|
5363
|
-
* person concerned; `
|
|
5364
|
-
* role}` — to everyone.
|
|
5363
|
+
* person concerned; `role {identity, role}` — to everyone.
|
|
5365
5364
|
*/
|
|
5366
5365
|
moderation: "matrx.meet.moderation",
|
|
5367
5366
|
/**
|
|
@@ -6600,7 +6599,7 @@ var MODERATION_ACTIONS = [
|
|
|
6600
6599
|
"ask_unmute",
|
|
6601
6600
|
"ask_all_unmute",
|
|
6602
6601
|
"spotlight",
|
|
6603
|
-
"
|
|
6602
|
+
"sync_presenter",
|
|
6604
6603
|
"raise_hand",
|
|
6605
6604
|
"lower_hand",
|
|
6606
6605
|
"lower_all_hands",
|
|
@@ -6632,18 +6631,17 @@ function createInRoomClient(options) {
|
|
|
6632
6631
|
function refusal2(response, operation, remedy) {
|
|
6633
6632
|
return refusalFromResponse(response, operation, remedy);
|
|
6634
6633
|
}
|
|
6635
|
-
let
|
|
6634
|
+
let toldSharing = false;
|
|
6636
6635
|
let tellChain = Promise.resolve();
|
|
6637
6636
|
store.subscribe(() => {
|
|
6638
6637
|
const local = store.snapshot().participants.find((p) => p.isLocal);
|
|
6639
6638
|
const sharing = local?.screenSharing === true;
|
|
6640
|
-
if (sharing ===
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
tellChain = tellChain.then(() => client.moderate({ action: "present", on })).then(
|
|
6639
|
+
if (sharing === toldSharing || local === void 0) return;
|
|
6640
|
+
toldSharing = sharing;
|
|
6641
|
+
tellChain = tellChain.then(() => client.moderate({ action: "sync_presenter" })).then(
|
|
6644
6642
|
() => void 0,
|
|
6645
6643
|
(error) => {
|
|
6646
|
-
console.warn(`[meet] the server did not take
|
|
6644
|
+
console.warn(`[meet] the server did not take the screen-share change: ${String(error)}`);
|
|
6647
6645
|
}
|
|
6648
6646
|
);
|
|
6649
6647
|
});
|
|
@@ -6660,8 +6658,7 @@ function createInRoomClient(options) {
|
|
|
6660
6658
|
action: request.action,
|
|
6661
6659
|
...request.identity != null ? { identity: request.identity } : {},
|
|
6662
6660
|
...request.name !== void 0 ? { name: request.name } : {},
|
|
6663
|
-
...request.reason !== void 0 ? { reason: request.reason } : {}
|
|
6664
|
-
...request.on !== void 0 ? { on: request.on } : {}
|
|
6661
|
+
...request.reason !== void 0 ? { reason: request.reason } : {}
|
|
6665
6662
|
},
|
|
6666
6663
|
...hdrs !== void 0 ? { headers: hdrs } : {}
|
|
6667
6664
|
});
|
|
@@ -11285,6 +11282,7 @@ function ParticipantTile({
|
|
|
11285
11282
|
const showVideo = participant.cameraEnabled || participant.screenSharing;
|
|
11286
11283
|
const pinnedHere = snapshot?.pinned === participant.identity;
|
|
11287
11284
|
const spotlit = snapshot?.spotlight === participant.identity;
|
|
11285
|
+
const presenting = snapshot?.presenter === participant.identity;
|
|
11288
11286
|
const handPosition = participant.handRaised ? queue.findIndex((entry) => entry.identity === participant.identity) + 1 : 0;
|
|
11289
11287
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
11290
11288
|
"div",
|
|
@@ -11296,6 +11294,7 @@ function ParticipantTile({
|
|
|
11296
11294
|
].filter(Boolean).join(" "),
|
|
11297
11295
|
"data-identity": participant.identity,
|
|
11298
11296
|
...participantAttributes(participant),
|
|
11297
|
+
...presenting ? { "data-meet-participant-presenting": "true" } : {},
|
|
11299
11298
|
children: [
|
|
11300
11299
|
showVideo ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
11301
11300
|
"video",
|
|
@@ -11307,6 +11306,7 @@ function ParticipantTile({
|
|
|
11307
11306
|
muted: participant.isLocal
|
|
11308
11307
|
}
|
|
11309
11308
|
) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "mx-meet__tile-placeholder", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Avatar, { name: participant.displayName, url: participant.avatarUrl, size: featured ? 96 : 56 }) }),
|
|
11309
|
+
presenting ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "mx-meet__tile-presenting", role: "status", children: participant.isLocal ? "You are presenting" : `${participant.displayName} is presenting` }) : null,
|
|
11310
11310
|
participant.handRaised ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "mx-meet__tile-hand", title: `Hand raised \xB7 ${ordinal(handPosition)} in line`, children: [
|
|
11311
11311
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(HandIcon, { width: 14, height: 14 }),
|
|
11312
11312
|
handPosition > 0 ? handPosition : null
|
|
@@ -12238,7 +12238,8 @@ function PeoplePanel({
|
|
|
12238
12238
|
}
|
|
12239
12239
|
),
|
|
12240
12240
|
isNoteTaker(participant) ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "mx-meet__badge", children: "Meeting assistant" }) : null,
|
|
12241
|
-
snapshot?.spotlight === participant.identity ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "mx-meet__badge", children: "Spotlight" }) : null
|
|
12241
|
+
snapshot?.spotlight === participant.identity ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "mx-meet__badge", children: "Spotlight" }) : null,
|
|
12242
|
+
snapshot?.presenter === participant.identity ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "mx-meet__badge", "data-meet-presenting": "true", children: "Presenting" }) : null
|
|
12242
12243
|
] }),
|
|
12243
12244
|
participant.handRaised ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(HandIcon, { width: 14, height: 14 }) : null,
|
|
12244
12245
|
!participant.micEnabled && !isNoteTaker(participant) ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MicOffIcon, { width: 14, height: 14 }) : null,
|