@arbidocs/blocks 0.4.109 → 0.4.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{NativeDocxEditor-WODZAURG.cjs → NativeDocxEditor-AQKRZBIU.cjs} +7 -7
- package/dist/{NativeDocxEditor-WODZAURG.cjs.map → NativeDocxEditor-AQKRZBIU.cjs.map} +1 -1
- package/dist/{NativeDocxEditor-4PY4YZYC.js → NativeDocxEditor-IN2HEO5I.js} +3 -3
- package/dist/{NativeDocxEditor-4PY4YZYC.js.map → NativeDocxEditor-IN2HEO5I.js.map} +1 -1
- package/dist/agents/index.cjs +286 -286
- package/dist/agents/index.js +10 -10
- package/dist/agents/tasks/ConversationListView.d.ts +5 -1
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +5 -1
- package/dist/calendar/EventDetails.d.ts +1 -1
- package/dist/calendar/EventEditor.d.ts +1 -1
- package/dist/calendar/draft.d.ts +7 -1
- package/dist/calendar/index.cjs +71 -10
- package/dist/calendar/index.cjs.map +1 -1
- package/dist/calendar/index.d.ts +1 -1
- package/dist/calendar/index.js +69 -11
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/types.d.ts +23 -0
- package/dist/calls/CallSidePanel.d.ts +32 -0
- package/dist/calls/CallStage.d.ts +57 -0
- package/dist/calls/ControlBar.d.ts +113 -0
- package/dist/calls/ControlButton.d.ts +44 -0
- package/dist/calls/PreJoin.d.ts +35 -0
- package/dist/calls/cards.d.ts +58 -0
- package/dist/calls/hooks.d.ts +20 -0
- package/dist/calls/index.cjs +2884 -0
- package/dist/calls/index.cjs.map +1 -0
- package/dist/calls/index.d.ts +21 -0
- package/dist/calls/index.js +2753 -0
- package/dist/calls/index.js.map +1 -0
- package/dist/calls/join-choices.d.ts +11 -0
- package/dist/calls/layout.d.ts +106 -0
- package/dist/calls/panels.d.ts +66 -0
- package/dist/calls/status.d.ts +69 -0
- package/dist/calls/tiles.d.ts +59 -0
- package/dist/calls/webinar/ChatPermissionSetting.d.ts +18 -0
- package/dist/calls/webinar/OnStageCheck.d.ts +23 -0
- package/dist/calls/webinar/QAPanel.d.ts +56 -0
- package/dist/calls/webinar/RaiseHandButton.d.ts +14 -0
- package/dist/calls/webinar/WebinarAudiencePanel.d.ts +23 -0
- package/dist/calls/webinar/WebinarViewer.d.ts +39 -0
- package/dist/calls/webinar/WebinarWaiting.d.ts +19 -0
- package/dist/calls/webinar/hooks.d.ts +13 -0
- package/dist/calls/webinar/index.d.ts +14 -0
- package/dist/calls/webinar/live.d.ts +43 -0
- package/dist/calls/webinar/types.d.ts +49 -0
- package/dist/chat/Message.d.ts +17 -2
- package/dist/chat/TranscriptLine.d.ts +50 -0
- package/dist/chat/index.cjs +147 -126
- package/dist/chat/index.d.ts +3 -1
- package/dist/chat/index.js +5 -4
- package/dist/chat/transcript-runs.d.ts +6 -0
- package/dist/{chunk-GKDWQLVU.js → chunk-2C7TCVQZ.js} +172 -121
- package/dist/chunk-2C7TCVQZ.js.map +1 -0
- package/dist/{chunk-QKWQMOHN.cjs → chunk-2UAJVK3C.cjs} +4 -4
- package/dist/{chunk-QKWQMOHN.cjs.map → chunk-2UAJVK3C.cjs.map} +1 -1
- package/dist/{chunk-54WBIVHV.cjs → chunk-2WO5L7YT.cjs} +5 -5
- package/dist/{chunk-54WBIVHV.cjs.map → chunk-2WO5L7YT.cjs.map} +1 -1
- package/dist/{chunk-7C35WXYB.js → chunk-5HFPRI3W.js} +5 -5
- package/dist/chunk-5HFPRI3W.js.map +1 -0
- package/dist/{chunk-ZSV2NQQP.js → chunk-6RHHMBZ5.js} +158 -5
- package/dist/chunk-6RHHMBZ5.js.map +1 -0
- package/dist/{chunk-FQX6N5G6.js → chunk-6Z7DLJU2.js} +35 -18
- package/dist/chunk-6Z7DLJU2.js.map +1 -0
- package/dist/{chunk-PGDL26TQ.js → chunk-AY32GGKU.js} +10 -4
- package/dist/{chunk-PGDL26TQ.js.map → chunk-AY32GGKU.js.map} +1 -1
- package/dist/{chunk-S55VDTX3.js → chunk-CECWAIHL.js} +3 -3
- package/dist/{chunk-S55VDTX3.js.map → chunk-CECWAIHL.js.map} +1 -1
- package/dist/{chunk-UABPHZWZ.js → chunk-CXZ7FPTQ.js} +3 -3
- package/dist/{chunk-UABPHZWZ.js.map → chunk-CXZ7FPTQ.js.map} +1 -1
- package/dist/{chunk-C2HRZSAT.cjs → chunk-DJM7DLCT.cjs} +5 -5
- package/dist/chunk-DJM7DLCT.cjs.map +1 -0
- package/dist/{chunk-GBYY3PIC.cjs → chunk-FXUQZFAN.cjs} +79 -62
- package/dist/chunk-FXUQZFAN.cjs.map +1 -0
- package/dist/{chunk-W7NZRZ54.js → chunk-GFYGYME3.js} +3 -3
- package/dist/{chunk-W7NZRZ54.js.map → chunk-GFYGYME3.js.map} +1 -1
- package/dist/chunk-GICUGQNN.cjs +76 -0
- package/dist/chunk-GICUGQNN.cjs.map +1 -0
- package/dist/{chunk-I4XQCE6U.cjs → chunk-HBBJYRGI.cjs} +162 -5
- package/dist/{chunk-ZSV2NQQP.js.map → chunk-HBBJYRGI.cjs.map} +1 -1
- package/dist/chunk-JJLMCV3T.js +73 -0
- package/dist/chunk-JJLMCV3T.js.map +1 -0
- package/dist/chunk-MWDW5UBW.cjs +199 -0
- package/dist/chunk-MWDW5UBW.cjs.map +1 -0
- package/dist/{chunk-NUTLXVPX.js → chunk-NRUPUDWB.js} +16 -7
- package/dist/chunk-NRUPUDWB.js.map +1 -0
- package/dist/{chunk-5YXG342J.cjs → chunk-OR4CO743.cjs} +3 -3
- package/dist/{chunk-5YXG342J.cjs.map → chunk-OR4CO743.cjs.map} +1 -1
- package/dist/{chunk-DDF5GPIJ.js → chunk-P5ST47VY.js} +3 -3
- package/dist/{chunk-DDF5GPIJ.js.map → chunk-P5ST47VY.js.map} +1 -1
- package/dist/{chunk-PEHLUB52.js → chunk-Q6B77ZWZ.js} +3 -3
- package/dist/{chunk-PEHLUB52.js.map → chunk-Q6B77ZWZ.js.map} +1 -1
- package/dist/{chunk-ELDUWTRR.cjs → chunk-TF47ATYS.cjs} +4 -4
- package/dist/{chunk-ELDUWTRR.cjs.map → chunk-TF47ATYS.cjs.map} +1 -1
- package/dist/{chunk-PDRYGPZB.cjs → chunk-VP4KJ4LK.cjs} +16 -6
- package/dist/chunk-VP4KJ4LK.cjs.map +1 -0
- package/dist/{chunk-SKSE4OT6.cjs → chunk-WPVIOGDG.cjs} +5 -5
- package/dist/{chunk-SKSE4OT6.cjs.map → chunk-WPVIOGDG.cjs.map} +1 -1
- package/dist/{chunk-JB32KYAH.js → chunk-WTM65ZNG.js} +3 -3
- package/dist/{chunk-JB32KYAH.js.map → chunk-WTM65ZNG.js.map} +1 -1
- package/dist/{chunk-2NIL2ASF.cjs → chunk-XIGWUDOD.cjs} +170 -119
- package/dist/chunk-XIGWUDOD.cjs.map +1 -0
- package/dist/{chunk-3US5OIDQ.cjs → chunk-XSUOEJB3.cjs} +9 -3
- package/dist/chunk-XSUOEJB3.cjs.map +1 -0
- package/dist/chunk-Z3AZ7Q5X.js +177 -0
- package/dist/chunk-Z3AZ7Q5X.js.map +1 -0
- package/dist/{chunk-Z5VUZ6YD.cjs → chunk-ZV3BKLFY.cjs} +3 -3
- package/dist/{chunk-Z5VUZ6YD.cjs.map → chunk-ZV3BKLFY.cjs.map} +1 -1
- package/dist/collaboration/index.cjs +42 -42
- package/dist/collaboration/index.js +2 -2
- package/dist/connect/docx.cjs +6 -6
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +72 -72
- package/dist/connect/index.js +18 -18
- package/dist/docx/AgentUndo.d.ts +4 -0
- package/dist/docx/index.cjs +46 -46
- package/dist/docx/index.js +3 -3
- package/dist/facts/index.cjs +4 -4
- package/dist/facts/index.js +4 -4
- package/dist/files/index.cjs +6 -6
- package/dist/files/index.js +6 -6
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +958 -937
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -23
- package/dist/index.js.map +1 -1
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +50 -104
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +12 -72
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +12 -12
- package/dist/shell/index.js +4 -4
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +5 -5
- package/dist/studio/index.js +4 -4
- package/dist/workflow-canvas/index.cjs +53 -53
- package/dist/workflow-canvas/index.js +10 -10
- package/dist/workspaces/index.cjs +2 -2
- package/dist/workspaces/index.js +2 -2
- package/node_modules/@arbidocs/coedit/dist/commands.cjs +179 -9
- package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/commands.d.cts +81 -1
- package/node_modules/@arbidocs/coedit/dist/commands.d.ts +81 -1
- package/node_modules/@arbidocs/coedit/dist/commands.js +173 -11
- package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/server.cjs +58 -2
- package/node_modules/@arbidocs/coedit/dist/server.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/server.d.cts +29 -1
- package/node_modules/@arbidocs/coedit/dist/server.d.ts +29 -1
- package/node_modules/@arbidocs/coedit/dist/server.js +58 -3
- package/node_modules/@arbidocs/coedit/dist/server.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +15 -5
- package/src/calls/calls.css +157 -0
- package/dist/chunk-2NIL2ASF.cjs.map +0 -1
- package/dist/chunk-3US5OIDQ.cjs.map +0 -1
- package/dist/chunk-7C35WXYB.js.map +0 -1
- package/dist/chunk-C2HRZSAT.cjs.map +0 -1
- package/dist/chunk-FQX6N5G6.js.map +0 -1
- package/dist/chunk-GBYY3PIC.cjs.map +0 -1
- package/dist/chunk-GKDWQLVU.js.map +0 -1
- package/dist/chunk-I4XQCE6U.cjs.map +0 -1
- package/dist/chunk-NUTLXVPX.js.map +0 -1
- package/dist/chunk-PDRYGPZB.cjs.map +0 -1
package/dist/calendar/index.d.ts
CHANGED
|
@@ -25,6 +25,6 @@ export { RecurrenceEditor, type RecurrenceEditorProps } from './RecurrenceEditor
|
|
|
25
25
|
export { DEFAULT_RECURRENCE_EDITOR_LABELS, type RecurrenceEditorLabels } from './recurrence-labels';
|
|
26
26
|
export { buildRRule, parseRRule, describeRecurrence, defaultRecurrenceForm, setPosOf, weekdayOf, RRULE_WEEKDAYS, DEFAULT_RECURRENCE_DESCRIBE_LABELS, type RecurrenceForm, type RecurrenceFrequency, type RRuleWeekday, type SetPos, type BuildRRuleContext, type RecurrenceDescribeLabels, } from './recurrence';
|
|
27
27
|
export { formatReminder, splitReminderMinutes, reminderToMinutes, REMINDER_PRESETS, DEFAULT_REMINDER_FORMAT_LABELS, type ReminderUnit, type ReminderFormatLabels, } from './reminders';
|
|
28
|
-
export { isAllDayDraft, allDayInclusiveEnd, draftFromSlot, draftRangeUtc, setDraftAllDay, setDraftEnd, setDraftStart, specDate, specTime, validateDraft, type DraftError, } from './draft';
|
|
28
|
+
export { ARBI_WEBINAR_LABEL, attendeeKey, isWebinarConference, isAllDayDraft, allDayInclusiveEnd, draftFromSlot, draftRangeUtc, setDraftAllDay, setDraftEnd, setDraftStart, specDate, specTime, validateDraft, type DraftError, } from './draft';
|
|
29
29
|
export { addDays, addMonths, convertWall, detectTimeZone, diffDays, formatInZone, formatPlainDate, isValidTimeZone, listTimeZones, safeZone, startOfWeek, todayInZone, utcToDate, utcToTime, utcToWall, wallToUtc, zoneCity, zoneOffsetLabel, zoneOffsetMinutes, } from './zone';
|
|
30
30
|
export { CALENDAR_COLORS, contrastText } from './colors';
|
package/dist/calendar/index.js
CHANGED
|
@@ -58,6 +58,7 @@ var CALENDAR_DEFAULT_LABELS = {
|
|
|
58
58
|
startTime: "Start time",
|
|
59
59
|
endTime: "End time",
|
|
60
60
|
arbiCall: "ARBI call",
|
|
61
|
+
arbiWebinar: "ARBI webinar",
|
|
61
62
|
startTimeZone: "Start time zone",
|
|
62
63
|
endTimeZone: "End time zone",
|
|
63
64
|
separateTimeZones: "Time zones",
|
|
@@ -79,6 +80,14 @@ var CALENDAR_DEFAULT_LABELS = {
|
|
|
79
80
|
useDefaultReminders: "Use calendar default reminders",
|
|
80
81
|
conference: "Video call",
|
|
81
82
|
addArbiCall: "Add ARBI call",
|
|
83
|
+
addArbiWebinar: "Add ARBI webinar",
|
|
84
|
+
webinar: "Webinar",
|
|
85
|
+
webinarLinkOnSave: "The link is created when you save",
|
|
86
|
+
webinarRole: "Webinar role",
|
|
87
|
+
cohost: "Co-host",
|
|
88
|
+
panelist: "Panelist",
|
|
89
|
+
webinarAttendee: "Attendee",
|
|
90
|
+
joinWebinar: "Join webinar",
|
|
82
91
|
addMeetingLink: "Add meeting link",
|
|
83
92
|
meetingLinkPlaceholder: "https://\u2026",
|
|
84
93
|
removeConference: "Remove video call",
|
|
@@ -113,6 +122,7 @@ var CALENDAR_DEFAULT_LABELS = {
|
|
|
113
122
|
confirmed: "Confirmed",
|
|
114
123
|
cancelled: "Cancelled",
|
|
115
124
|
join: "Join",
|
|
125
|
+
openMeetingChat: "Open meeting chat",
|
|
116
126
|
accept: "Yes",
|
|
117
127
|
decline: "No",
|
|
118
128
|
maybe: "Maybe",
|
|
@@ -1535,6 +1545,9 @@ function validateDraft(d, defaultZone) {
|
|
|
1535
1545
|
if (!(endMs >= startMs)) return "invalidRange";
|
|
1536
1546
|
return null;
|
|
1537
1547
|
}
|
|
1548
|
+
var ARBI_WEBINAR_LABEL = "ARBI webinar";
|
|
1549
|
+
var isWebinarConference = (c) => c?.type === "arbi" && (c.kind === "webinar" || c.label === ARBI_WEBINAR_LABEL);
|
|
1550
|
+
var attendeeKey = (a) => a.email?.toLowerCase() || a.user_id || "";
|
|
1538
1551
|
var RRULE_WEEKDAYS = ["MO", "TU", "WE", "TH", "FR", "SA", "SU"];
|
|
1539
1552
|
function weekdayOf(date) {
|
|
1540
1553
|
return RRULE_WEEKDAYS[Temporal.PlainDate.from(date).dayOfWeek - 1];
|
|
@@ -2282,6 +2295,8 @@ function EventEditor({
|
|
|
2282
2295
|
mode,
|
|
2283
2296
|
canAddCall,
|
|
2284
2297
|
onAddCall,
|
|
2298
|
+
canAddWebinar,
|
|
2299
|
+
isWebinarAttendee,
|
|
2285
2300
|
defaultTimeZone,
|
|
2286
2301
|
schedulingSlot,
|
|
2287
2302
|
attendeeSuggestions,
|
|
@@ -2307,6 +2322,7 @@ function EventEditor({
|
|
|
2307
2322
|
const [attachUrl, setAttachUrl] = useState("");
|
|
2308
2323
|
const [attachTitle, setAttachTitle] = useState("");
|
|
2309
2324
|
const [addingCall, setAddingCall] = useState(false);
|
|
2325
|
+
const [webinar, setWebinar] = useState(false);
|
|
2310
2326
|
const [touched, setTouched] = useState(false);
|
|
2311
2327
|
const [focus, setFocus] = useState(() => !!value.auto_decline && value.show_as !== "oof");
|
|
2312
2328
|
const showDecline = value.show_as === "oof" || focus;
|
|
@@ -2360,6 +2376,12 @@ function EventEditor({
|
|
|
2360
2376
|
setAddingCall(false);
|
|
2361
2377
|
}
|
|
2362
2378
|
};
|
|
2379
|
+
const addArbiWebinar = () => set({
|
|
2380
|
+
conference: { type: "arbi", kind: "webinar", url: "", label: ARBI_WEBINAR_LABEL, roles: {} }
|
|
2381
|
+
});
|
|
2382
|
+
const isWebinar = isWebinarConference(value.conference);
|
|
2383
|
+
const roles = value.conference?.roles ?? {};
|
|
2384
|
+
const setRole = (a, role) => value.conference && set({ conference: { ...value.conference, roles: { ...roles, [attendeeKey(a)]: role } } });
|
|
2363
2385
|
const attachments = value.attachments ?? [];
|
|
2364
2386
|
const addAttachment = () => {
|
|
2365
2387
|
const url = attachUrl.trim();
|
|
@@ -2546,8 +2568,8 @@ function EventEditor({
|
|
|
2546
2568
|
className: "flex min-w-0 items-center gap-2 text-sm",
|
|
2547
2569
|
"data-testid": "calendar-editor-conference",
|
|
2548
2570
|
children: [
|
|
2549
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium", children: value.conference.label || (value.conference.type === "arbi" ? l.arbiCall : l.conference) }),
|
|
2550
|
-
/* @__PURE__ */ jsx(
|
|
2571
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium", children: isWebinar ? l.arbiWebinar : value.conference.label || (value.conference.type === "arbi" ? l.arbiCall : l.conference) }),
|
|
2572
|
+
value.conference.url ? /* @__PURE__ */ jsx(
|
|
2551
2573
|
"a",
|
|
2552
2574
|
{
|
|
2553
2575
|
href: value.conference.url,
|
|
@@ -2556,7 +2578,7 @@ function EventEditor({
|
|
|
2556
2578
|
className: "min-w-0 truncate text-xs text-primary underline-offset-2 hover:underline",
|
|
2557
2579
|
children: value.conference.url.replace(/#.*$/, "")
|
|
2558
2580
|
}
|
|
2559
|
-
),
|
|
2581
|
+
) : /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate text-xs text-muted-foreground", children: l.webinarLinkOnSave }),
|
|
2560
2582
|
/* @__PURE__ */ jsx(
|
|
2561
2583
|
"button",
|
|
2562
2584
|
{
|
|
@@ -2613,14 +2635,26 @@ function EventEditor({
|
|
|
2613
2635
|
size: "sm",
|
|
2614
2636
|
variant: "secondary",
|
|
2615
2637
|
disabled: addingCall,
|
|
2616
|
-
onClick: addArbiCall,
|
|
2638
|
+
onClick: webinar ? addArbiWebinar : addArbiCall,
|
|
2617
2639
|
"data-testid": "calendar-editor-add-call",
|
|
2618
2640
|
children: [
|
|
2619
2641
|
/* @__PURE__ */ jsx(Video, { className: "mr-1 h-4 w-4" }),
|
|
2620
|
-
l.addArbiCall
|
|
2642
|
+
webinar ? l.addArbiWebinar : l.addArbiCall
|
|
2621
2643
|
]
|
|
2622
2644
|
}
|
|
2623
2645
|
),
|
|
2646
|
+
canAddCall && onAddCall && canAddWebinar && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-sm", children: [
|
|
2647
|
+
/* @__PURE__ */ jsx(
|
|
2648
|
+
Switch,
|
|
2649
|
+
{
|
|
2650
|
+
checked: webinar,
|
|
2651
|
+
onCheckedChange: setWebinar,
|
|
2652
|
+
"aria-label": l.webinar,
|
|
2653
|
+
"data-testid": "calendar-editor-webinar"
|
|
2654
|
+
}
|
|
2655
|
+
),
|
|
2656
|
+
l.webinar
|
|
2657
|
+
] }),
|
|
2624
2658
|
/* @__PURE__ */ jsx(
|
|
2625
2659
|
Button,
|
|
2626
2660
|
{
|
|
@@ -2726,6 +2760,21 @@ function EventEditor({
|
|
|
2726
2760
|
]
|
|
2727
2761
|
}
|
|
2728
2762
|
),
|
|
2763
|
+
isWebinar && (isWebinarAttendee?.(a) ?? true) && /* @__PURE__ */ jsxs(
|
|
2764
|
+
NativeSelect,
|
|
2765
|
+
{
|
|
2766
|
+
"aria-label": `${a.email ?? ""} ${l.webinarRole}`,
|
|
2767
|
+
className: "h-7 text-xs",
|
|
2768
|
+
value: roles[attendeeKey(a)] ?? "attendee",
|
|
2769
|
+
onChange: (e) => setRole(a, e.target.value),
|
|
2770
|
+
"data-testid": "calendar-editor-webinar-role",
|
|
2771
|
+
children: [
|
|
2772
|
+
/* @__PURE__ */ jsx("option", { value: "cohost", children: l.cohost }),
|
|
2773
|
+
/* @__PURE__ */ jsx("option", { value: "panelist", children: l.panelist }),
|
|
2774
|
+
/* @__PURE__ */ jsx("option", { value: "attendee", children: l.webinarAttendee })
|
|
2775
|
+
]
|
|
2776
|
+
}
|
|
2777
|
+
),
|
|
2729
2778
|
/* @__PURE__ */ jsx(
|
|
2730
2779
|
"button",
|
|
2731
2780
|
{
|
|
@@ -3125,6 +3174,7 @@ function EventDetails({
|
|
|
3125
3174
|
onRespond,
|
|
3126
3175
|
onProposeTime,
|
|
3127
3176
|
onJoin,
|
|
3177
|
+
onOpenMeetingChat,
|
|
3128
3178
|
onClose,
|
|
3129
3179
|
canJoin = true,
|
|
3130
3180
|
labels: labelOverrides,
|
|
@@ -3238,7 +3288,7 @@ function EventDetails({
|
|
|
3238
3288
|
] }),
|
|
3239
3289
|
event.is_recurring && /* @__PURE__ */ jsx(Row, { icon: /* @__PURE__ */ jsx(Repeat, { className: "h-4 w-4" }), children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: l.recurring }) }),
|
|
3240
3290
|
conference?.url && /* @__PURE__ */ jsx(Row, { icon: /* @__PURE__ */ jsx(Video, { className: "h-4 w-4" }), children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
3241
|
-
/* @__PURE__ */
|
|
3291
|
+
/* @__PURE__ */ jsx(
|
|
3242
3292
|
Button,
|
|
3243
3293
|
{
|
|
3244
3294
|
type: "button",
|
|
@@ -3246,10 +3296,18 @@ function EventDetails({
|
|
|
3246
3296
|
disabled: !canJoin,
|
|
3247
3297
|
onClick: () => onJoin ? onJoin() : window.open(conference.url ?? "", "_blank", "noopener"),
|
|
3248
3298
|
"data-testid": "calendar-details-join",
|
|
3249
|
-
children:
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3299
|
+
children: isWebinarConference(conference) ? l.joinWebinar : `${l.join}${conference.type === "arbi" ? ` ${l.arbiCall}` : ""}`
|
|
3300
|
+
}
|
|
3301
|
+
),
|
|
3302
|
+
conference.type === "arbi" && onOpenMeetingChat && /* @__PURE__ */ jsx(
|
|
3303
|
+
Button,
|
|
3304
|
+
{
|
|
3305
|
+
type: "button",
|
|
3306
|
+
size: "sm",
|
|
3307
|
+
variant: "outline",
|
|
3308
|
+
onClick: onOpenMeetingChat,
|
|
3309
|
+
"data-testid": "calendar-details-meeting-chat",
|
|
3310
|
+
children: l.openMeetingChat
|
|
3253
3311
|
}
|
|
3254
3312
|
),
|
|
3255
3313
|
conference.type === "external" && /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate text-xs text-muted-foreground", children: conference.url })
|
|
@@ -4038,6 +4096,6 @@ function CalendarSettingsForm({
|
|
|
4038
4096
|
);
|
|
4039
4097
|
}
|
|
4040
4098
|
|
|
4041
|
-
export { CALENDAR_COLORS, CALENDAR_DEFAULT_LABELS, CALENDAR_NARROW_WIDTH, CalendarGrid, CalendarList, CalendarSettingsForm, DEFAULT_RECURRENCE_DESCRIBE_LABELS, DEFAULT_RECURRENCE_EDITOR_LABELS, DEFAULT_REMINDER_FORMAT_LABELS, EventDetails, EventEditor, MiniMonth, REMINDER_PRESETS, RRULE_WEEKDAYS, RecurrenceEditor, RoomFinder, SchedulingAssistant, ScopeDialog, TimeZonePicker, addDays, addMonths, allDayInclusiveEnd, buildRRule, contrastText, convertWall, dayWindow, defaultRecurrenceForm, describeRecurrence, detectTimeZone, diffDays, draftFromSlot, draftRangeUtc, effectiveCalendarView, eventStateClasses, formatEventWhen, formatInZone, formatPlainDate, formatReminder, formatZoneLabel, getTemporalTimeZonePlugin, hourTicks, isAllDayDraft, isValidTimeZone, listTimeZones, outsideIntervals, parseRRule, placeIntervals, reminderToMinutes, safeZone, setDraftAllDay, setDraftEnd, setDraftStart, setPosOf, specDate, specTime, splitReminderMinutes, startOfWeek, toBusinessHours, todayInZone, utcToDate, utcToTime, utcToWall, validateDraft, wallToUtc, weekdayOf, workWeekHiddenDays, zoneCity, zoneOffsetLabel, zoneOffsetMinutes };
|
|
4099
|
+
export { ARBI_WEBINAR_LABEL, CALENDAR_COLORS, CALENDAR_DEFAULT_LABELS, CALENDAR_NARROW_WIDTH, CalendarGrid, CalendarList, CalendarSettingsForm, DEFAULT_RECURRENCE_DESCRIBE_LABELS, DEFAULT_RECURRENCE_EDITOR_LABELS, DEFAULT_REMINDER_FORMAT_LABELS, EventDetails, EventEditor, MiniMonth, REMINDER_PRESETS, RRULE_WEEKDAYS, RecurrenceEditor, RoomFinder, SchedulingAssistant, ScopeDialog, TimeZonePicker, addDays, addMonths, allDayInclusiveEnd, attendeeKey, buildRRule, contrastText, convertWall, dayWindow, defaultRecurrenceForm, describeRecurrence, detectTimeZone, diffDays, draftFromSlot, draftRangeUtc, effectiveCalendarView, eventStateClasses, formatEventWhen, formatInZone, formatPlainDate, formatReminder, formatZoneLabel, getTemporalTimeZonePlugin, hourTicks, isAllDayDraft, isValidTimeZone, isWebinarConference, listTimeZones, outsideIntervals, parseRRule, placeIntervals, reminderToMinutes, safeZone, setDraftAllDay, setDraftEnd, setDraftStart, setPosOf, specDate, specTime, splitReminderMinutes, startOfWeek, toBusinessHours, todayInZone, utcToDate, utcToTime, utcToWall, validateDraft, wallToUtc, weekdayOf, workWeekHiddenDays, zoneCity, zoneOffsetLabel, zoneOffsetMinutes };
|
|
4042
4100
|
//# sourceMappingURL=index.js.map
|
|
4043
4101
|
//# sourceMappingURL=index.js.map
|