@arbidocs/blocks 0.4.143 → 0.4.144
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/agents/index.cjs +264 -264
- package/dist/agents/index.js +7 -7
- package/dist/{chunk-IJST4EBM.js → chunk-2FJMTZNJ.js} +8 -8
- package/dist/{chunk-IJST4EBM.js.map → chunk-2FJMTZNJ.js.map} +1 -1
- package/dist/{chunk-FJETR2AS.js → chunk-33ZOUJXA.js} +4 -4
- package/dist/{chunk-FJETR2AS.js.map → chunk-33ZOUJXA.js.map} +1 -1
- package/dist/{chunk-IXWJGOM2.js → chunk-3RJN2VTL.js} +3 -3
- package/dist/{chunk-IXWJGOM2.js.map → chunk-3RJN2VTL.js.map} +1 -1
- package/dist/{chunk-YKQ2DPIP.js → chunk-444XKG46.js} +3 -3
- package/dist/{chunk-YKQ2DPIP.js.map → chunk-444XKG46.js.map} +1 -1
- package/dist/{chunk-XVUOMWMD.cjs → chunk-5FTIHRZH.cjs} +4 -4
- package/dist/{chunk-XVUOMWMD.cjs.map → chunk-5FTIHRZH.cjs.map} +1 -1
- package/dist/{chunk-ECW2R2KF.cjs → chunk-65THHQVB.cjs} +27 -27
- package/dist/{chunk-ECW2R2KF.cjs.map → chunk-65THHQVB.cjs.map} +1 -1
- package/dist/{chunk-Y4ATWQGV.js → chunk-7NGAWGA3.js} +3 -3
- package/dist/{chunk-Y4ATWQGV.js.map → chunk-7NGAWGA3.js.map} +1 -1
- package/dist/{chunk-T5B7FM7S.js → chunk-A6J2IBUG.js} +4 -4
- package/dist/{chunk-T5B7FM7S.js.map → chunk-A6J2IBUG.js.map} +1 -1
- package/dist/{chunk-RB7GX2VT.cjs → chunk-ABUO6PIQ.cjs} +12 -12
- package/dist/{chunk-RB7GX2VT.cjs.map → chunk-ABUO6PIQ.cjs.map} +1 -1
- package/dist/{chunk-NRFAWUVD.js → chunk-BPBSSMRB.js} +3 -3
- package/dist/{chunk-NRFAWUVD.js.map → chunk-BPBSSMRB.js.map} +1 -1
- package/dist/{chunk-HAOKT4LC.cjs → chunk-BUWBXJ2N.cjs} +5 -5
- package/dist/{chunk-HAOKT4LC.cjs.map → chunk-BUWBXJ2N.cjs.map} +1 -1
- package/dist/{chunk-KPZZ5FHE.cjs → chunk-C4WSHRR6.cjs} +12 -32
- package/dist/chunk-C4WSHRR6.cjs.map +1 -0
- package/dist/{chunk-J5CWKFSC.js → chunk-CYNF5PZI.js} +3 -3
- package/dist/{chunk-J5CWKFSC.js.map → chunk-CYNF5PZI.js.map} +1 -1
- package/dist/{chunk-VTTZZ4FN.js → chunk-DLBUFHLY.js} +74 -4
- package/dist/chunk-DLBUFHLY.js.map +1 -0
- package/dist/{chunk-YSHIC4NJ.cjs → chunk-HEMU73OP.cjs} +4 -4
- package/dist/{chunk-YSHIC4NJ.cjs.map → chunk-HEMU73OP.cjs.map} +1 -1
- package/dist/{chunk-UTTTJSQU.cjs → chunk-HFGXA5CL.cjs} +4 -4
- package/dist/{chunk-UTTTJSQU.cjs.map → chunk-HFGXA5CL.cjs.map} +1 -1
- package/dist/{chunk-H4D7WKDY.js → chunk-I7WG3JRD.js} +3 -3
- package/dist/{chunk-H4D7WKDY.js.map → chunk-I7WG3JRD.js.map} +1 -1
- package/dist/{chunk-SZOFGU7W.js → chunk-LYUO3E6V.js} +3 -3
- package/dist/{chunk-SZOFGU7W.js.map → chunk-LYUO3E6V.js.map} +1 -1
- package/dist/{chunk-TC3RQNEX.cjs → chunk-MJCCBMM5.cjs} +80 -6
- package/dist/chunk-MJCCBMM5.cjs.map +1 -0
- package/dist/{chunk-LPYEUD2D.cjs → chunk-O2ODDTMA.cjs} +9 -9
- package/dist/{chunk-LPYEUD2D.cjs.map → chunk-O2ODDTMA.cjs.map} +1 -1
- package/dist/{chunk-5YHEHEJT.js → chunk-ON3TKY5Y.js} +4 -242
- package/dist/chunk-ON3TKY5Y.js.map +1 -0
- package/dist/{chunk-U73KPFYH.cjs → chunk-QIMVTGKS.cjs} +2 -255
- package/dist/chunk-QIMVTGKS.cjs.map +1 -0
- package/dist/{chunk-DTROMMDX.cjs → chunk-R26BK7YL.cjs} +4 -4
- package/dist/{chunk-DTROMMDX.cjs.map → chunk-R26BK7YL.cjs.map} +1 -1
- package/dist/{chunk-U6YVZDOV.cjs → chunk-RA3ZJ45L.cjs} +13 -13
- package/dist/{chunk-U6YVZDOV.cjs.map → chunk-RA3ZJ45L.cjs.map} +1 -1
- package/dist/{chunk-EF4ZLKRM.js → chunk-RI6DZA5X.js} +3 -3
- package/dist/{chunk-EF4ZLKRM.js.map → chunk-RI6DZA5X.js.map} +1 -1
- package/dist/{chunk-KMZWKSKO.cjs → chunk-TP6PLDNM.cjs} +8 -8
- package/dist/{chunk-KMZWKSKO.cjs.map → chunk-TP6PLDNM.cjs.map} +1 -1
- package/dist/{chunk-EYKISBDO.cjs → chunk-WS5EX7DN.cjs} +5 -5
- package/dist/{chunk-EYKISBDO.cjs.map → chunk-WS5EX7DN.cjs.map} +1 -1
- package/dist/{chunk-C44TDH54.js → chunk-X3TGXEFS.js} +6 -6
- package/dist/{chunk-C44TDH54.js.map → chunk-X3TGXEFS.js.map} +1 -1
- package/dist/{chunk-O2GW5IY6.cjs → chunk-XGZX22ET.cjs} +38 -38
- package/dist/{chunk-O2GW5IY6.cjs.map → chunk-XGZX22ET.cjs.map} +1 -1
- package/dist/{chunk-OVR3XMYL.js → chunk-Y3KA6X7B.js} +4 -4
- package/dist/{chunk-OVR3XMYL.js.map → chunk-Y3KA6X7B.js.map} +1 -1
- package/dist/{chunk-COCGRJLA.cjs → chunk-YFY3TQ6Q.cjs} +7 -7
- package/dist/{chunk-COCGRJLA.cjs.map → chunk-YFY3TQ6Q.cjs.map} +1 -1
- package/dist/{chunk-TBEVGWY3.js → chunk-YNIBUKV5.js} +14 -32
- package/dist/chunk-YNIBUKV5.js.map +1 -0
- package/dist/citations/index.cjs +12 -12
- package/dist/citations/index.js +3 -3
- package/dist/connect/docx.cjs +10 -10
- package/dist/connect/docx.js +7 -7
- package/dist/connect/index.cjs +322 -709
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +0 -1
- package/dist/connect/index.js +214 -588
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedSettings.d.ts +2 -3
- package/dist/facts/index.cjs +3 -3
- package/dist/facts/index.js +2 -2
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.js +2 -2
- package/dist/home/index.cjs +20 -20
- package/dist/home/index.js +4 -4
- package/dist/index.cjs +440 -449
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +16 -17
- package/dist/index.js.map +1 -1
- package/dist/provider/BlocksProvider.d.ts +1 -5
- package/dist/retrieval/index.cjs +4 -4
- package/dist/retrieval/index.js +2 -2
- package/dist/settings/ServerConnectionControls.d.ts +0 -16
- package/dist/settings/index.cjs +241 -178
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +1 -3
- package/dist/settings/index.js +198 -86
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +44 -44
- package/dist/shell/index.js +3 -3
- package/dist/site/index.cjs +73 -74
- package/dist/site/index.js +2 -3
- package/dist/studio/index.cjs +74 -75
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +5 -6
- package/dist/studio/index.js.map +1 -1
- package/dist/workflow-canvas/index.cjs +21 -21
- package/dist/workflow-canvas/index.js +7 -7
- package/dist/workspaces/index.cjs +3 -3
- package/dist/workspaces/index.js +2 -2
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-5YHEHEJT.js.map +0 -1
- package/dist/chunk-KPZZ5FHE.cjs.map +0 -1
- package/dist/chunk-NHZK64TQ.js +0 -75
- package/dist/chunk-NHZK64TQ.js.map +0 -1
- package/dist/chunk-NWNVWO6L.cjs +0 -80
- package/dist/chunk-NWNVWO6L.cjs.map +0 -1
- package/dist/chunk-TBEVGWY3.js.map +0 -1
- package/dist/chunk-TC3RQNEX.cjs.map +0 -1
- package/dist/chunk-U73KPFYH.cjs.map +0 -1
- package/dist/chunk-VTTZZ4FN.js.map +0 -1
- package/dist/connection/settings-page/ConnectedAccountSettings.d.ts +0 -35
- package/dist/connection/settings-page/ConnectedMailSettings.d.ts +0 -13
- package/dist/connection/settings-page/ConnectedPremiumModels.d.ts +0 -1
- package/dist/connection/settings-page/ConnectedPrivacySettings.d.ts +0 -12
- package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +0 -29
- package/dist/connection/settings-page/SessionStatusIcon.d.ts +0 -7
- package/dist/connection/settings-page/index.d.ts +0 -6
- package/dist/provider/settings-section.d.ts +0 -9
- package/dist/settings/AppearanceSettings.d.ts +0 -18
- package/dist/settings/SettingsPage.d.ts +0 -31
package/dist/connect/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { DraggableHeader, SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, PasswordChangeDialog, SettingsCard, SettingsActionRow, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews
|
|
2
|
+
import { DraggableHeader, SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, PasswordChangeDialog, SettingsCard, SettingsActionRow, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-ON3TKY5Y.js';
|
|
3
3
|
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-CSI2B2H5.js';
|
|
4
|
-
import { useConnectedWorkspaceRole, ConnectedNativeDocxEditor } from '../chunk-
|
|
5
|
-
export { ConnectedWorkflowDocumentsField, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, NativeDocxSupportProvider, toWorkflowFieldDocument, useConnectedAgentOptions, useConnectedWorkflowScopeSource, useConnectedWorkspaceRole, useNativeDocxSupport } from '../chunk-
|
|
4
|
+
import { useConnectedWorkspaceRole, ConnectedNativeDocxEditor } from '../chunk-33ZOUJXA.js';
|
|
5
|
+
export { ConnectedWorkflowDocumentsField, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, NativeDocxSupportProvider, toWorkflowFieldDocument, useConnectedAgentOptions, useConnectedWorkflowScopeSource, useConnectedWorkspaceRole, useNativeDocxSupport } from '../chunk-33ZOUJXA.js';
|
|
6
6
|
export { ConnectedWorkspaceDataProvider, useConnectedConversations, useConnectedDocuments, useConnectedTags } from '../chunk-45LRMW54.js';
|
|
7
7
|
import { ConnectionProvider, useConnection, useConnectedWorkspace } from '../chunk-US3S4DCB.js';
|
|
8
8
|
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnectedWorkspace, useConnection } from '../chunk-US3S4DCB.js';
|
|
@@ -11,21 +11,21 @@ import '../chunk-MTSKK3BN.js';
|
|
|
11
11
|
import '../chunk-2FL7QJKJ.js';
|
|
12
12
|
import '../chunk-HFZ45FD3.js';
|
|
13
13
|
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
14
|
-
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-
|
|
14
|
+
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-7NGAWGA3.js';
|
|
15
15
|
import { workspaceKindColor } from '../chunk-A3XPS2EU.js';
|
|
16
16
|
import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-6HCJ3ZEU.js';
|
|
17
17
|
import '../chunk-SV65E4QW.js';
|
|
18
18
|
import { DOCX_MIME_TYPE } from '../chunk-QXMR5YHC.js';
|
|
19
19
|
import '../chunk-AF6RDAJF.js';
|
|
20
|
-
import { buildLibrarySkills, filterLibrarySkills, SKILL_SOURCE_LABELS, SKILL_TYPE_LABELS, SkillViewToggle, SkillFilterChips, SkillTile, SkillGenerateForm, SkillLibraryDetail, parseSkillFrontmatter, SKILL_MAIN_FILENAME, SkillEditForm, DEFAULT_AGENT_CAPABILITIES, stripPersonaPreamble, AgentCreator, DEFAULT_AGENT_TYPES, DEFAULT_AGENT_TEMPLATES, AgentAvatarField, isValidAgentName, AgentConnectInstructions, TaskRunsDialog, TaskActivityDialog, WorkflowStepBar, composePersona, importSkillFile, importSkillFromUrl, WorkflowRunner, skillSlug, serializeSkill, fromPlanSteps, toPlanSteps, useWorkflowView, workflowToSkillMarkdown } from '../chunk-
|
|
20
|
+
import { buildLibrarySkills, filterLibrarySkills, SKILL_SOURCE_LABELS, SKILL_TYPE_LABELS, SkillViewToggle, SkillFilterChips, SkillTile, SkillGenerateForm, SkillLibraryDetail, parseSkillFrontmatter, SKILL_MAIN_FILENAME, SkillEditForm, DEFAULT_AGENT_CAPABILITIES, stripPersonaPreamble, AgentCreator, DEFAULT_AGENT_TYPES, DEFAULT_AGENT_TEMPLATES, AgentAvatarField, isValidAgentName, AgentConnectInstructions, TaskRunsDialog, TaskActivityDialog, WorkflowStepBar, composePersona, importSkillFile, importSkillFromUrl, WorkflowRunner, skillSlug, serializeSkill, fromPlanSteps, toPlanSteps, useWorkflowView, workflowToSkillMarkdown } from '../chunk-X3TGXEFS.js';
|
|
21
21
|
import { MultiSelect } from '../chunk-CQCC7LE7.js';
|
|
22
|
-
import { PersonPill } from '../chunk-
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-RLWIUUQ5.js';
|
|
22
|
+
import { PersonPill } from '../chunk-A6J2IBUG.js';
|
|
23
|
+
import '../chunk-3RJN2VTL.js';
|
|
25
24
|
import { TriStateFilterMenu } from '../chunk-KSHKTOY2.js';
|
|
25
|
+
import '../chunk-RLWIUUQ5.js';
|
|
26
26
|
import '../chunk-P6GHJSLR.js';
|
|
27
27
|
import '../chunk-EVUEIBNU.js';
|
|
28
|
-
import '../chunk-
|
|
28
|
+
import '../chunk-444XKG46.js';
|
|
29
29
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
30
30
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
31
31
|
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
@@ -45,18 +45,18 @@ import '../chunk-AUS3KBHJ.js';
|
|
|
45
45
|
import '../chunk-SLSBJRWW.js';
|
|
46
46
|
import '../chunk-NPLYHR2E.js';
|
|
47
47
|
import '../chunk-7F6CBP3Z.js';
|
|
48
|
-
import { useCopyText } from '../chunk-
|
|
49
|
-
import { useBlocksEnvironment
|
|
48
|
+
import { useCopyText } from '../chunk-CYNF5PZI.js';
|
|
49
|
+
import { useBlocksEnvironment } from '../chunk-YNIBUKV5.js';
|
|
50
50
|
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
51
51
|
import { fmtDate, initials } from '../chunk-OXF2IFXG.js';
|
|
52
52
|
import '../chunk-VUNV25KB.js';
|
|
53
53
|
import { lazy, useState, useMemo, useEffect, useCallback, useRef, Suspense, useSyncExternalStore, useLayoutEffect } from 'react';
|
|
54
54
|
import { QueryClient, QueryClientProvider, useQueryClient, useQuery } from '@tanstack/react-query';
|
|
55
|
-
import { ArbiProvider, useConversations, useRunConversation, useWorkspaceActivity, useWorkspaceUsers, isWorkspaceNotificationType, useArbi, useNotifications, useDeleteNotifications, useMarkNotificationsRead, useWorkspaces, useWorkspaceNotificationLevel, useFollowThread, useUploadSkillFiles, useSkills, useSetSkillVisibility, useDeleteSkill, useSkillSource, useAgentModels, useMcpTools, useAgentConfig, useAgentWorkspaces, useCreateAgent, useSaveAgentConfig, useGrantAgentAccess, useRevokeAgentAccess, useGenerateAgentAvatar, useWorkflowRuns, useConversationActivity, useAgents, ArtifactCanvas, useArbiChat, useDocuments, useTagKindSchema, useTags, useSetTagValues, useUpdateTagKindSchema, useInvalidateTagData, useShellWorkspaces,
|
|
55
|
+
import { ArbiProvider, useConversations, useRunConversation, useWorkspaceActivity, useWorkspaceUsers, isWorkspaceNotificationType, useArbi, useNotifications, useDeleteNotifications, useMarkNotificationsRead, useWorkspaces, useWorkspaceNotificationLevel, useFollowThread, useUploadSkillFiles, useSkills, useSetSkillVisibility, useDeleteSkill, useSkillSource, useAgentModels, useMcpTools, useAgentConfig, useAgentWorkspaces, useCreateAgent, useSaveAgentConfig, useGrantAgentAccess, useRevokeAgentAccess, useGenerateAgentAvatar, useWorkflowRuns, useConversationActivity, useAgents, ArtifactCanvas, useArbiChat, useDocuments, useTagKindSchema, useTags, useSetTagValues, useUpdateTagKindSchema, useInvalidateTagData, useShellWorkspaces, useProfile, useUpdateProfile, useRequestEmailChange, useConfirmEmailChange, useNameEditor, useAvatarCrop, useEmailChange, ImageCropModal, useIdentityVerification, usePasswordChange, usePasswordChangeForm, useNotificationPreferences, useSessions, useCurrentSessionId, useTerminateSession, useSignOut, useDeleteAccount, useDeleteAccountFlow, useArbiWebSocket, useWorkNotifications, mailDraftIdFromContent, useMailClient, defaultMailAlias, useClaimNativeAlias, useMailOnline, useConnectMailAccount, useDisconnectMailAccount, useMailPolicy, useMailAccounts, useMailUnlock, useMailFolders, useMailMessages, useMailDraftCompose, useMailMessage, useMailCache, MailOfflineUnavailableError, accountPath, useCalendarEvents, useCalendars, useFetchCalendarEvent, useCalendarSettings, useCalendarOverlays, useCalendarOutbox, useCalendarAccounts, useSyncAccountsOnOpen, useResumeCalendarAccountConnect, useCreateEvent, useUpdateEvent, useDeleteEvent, useMoveEvent, useRespondToEvent, useCreateCalendar, useUpdateCalendar, useDeleteCalendar, useImportCalendar, useSaveCalendarSettings, useRefreshCalendar, useCalendarEvent, useMailAttachmentText, useCalendarEventByUid, getPublicBookingPage, bookPublicSlot, PublicBookingError, useAgentSession, useStartAgentSession, useCloseAgentSession, isQueuedCalendarWrite, isAliasTakenError, nextAliasSuggestion, aliasTakenMessage, mailJson, ArbiWebSocketProvider, isDeploymentUserNotification, getWorkspaceActionText, getWorkspaceSentPhrase, describeServerNotification, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_TITLE, documentActivityPhrase, isSignatureNotificationType, inputRequestTitle, WORK_NOTIFICATION_LABELS, useArbiSessionState, documentDisplayName, getWorkspaceKind, formatRelativeTime, useCreateWork, useActOnStep, useConversationThreads, fileAttachment, useMailProjects, useSaveMailDraft, useSendMail, useMailDraftReplaced, useCalendarInvitations, useDecideCounter, useSearchContacts, usePublishCalendar, useCalendarShares, useShareCalendar, useUnshareCalendar, useSubscribeCalendar, useHolidayCountries, useAddHolidayCalendar, cancelPublicBooking, AiAnswer, signatureNotificationPhrase, signatureRequestMeta, getNotificationTypeMeta, useMailDraftEditor, useFreeBusy, useRooms, useFindTime, useCalendarSupport, useStartCalendarAccountOAuth, useConnectOAuthAccount, useAppPasswords, splitAppPasswords, useBookingPages, useDeleteBookingPage, useSyncCalendarAccount, useUpdateCalendarAccount, useDisconnectCalendarAccount, ACCOUNT_VENDOR, useCalDavProfiles, useConnectCalDavAccount, useCreateAppPassword, useCreateFeed, useSaveBookingPage, useCreateRoom, useRevokeAppPassword } from '@arbidocs/react';
|
|
56
56
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
57
|
-
import { Button, Label, Input, cn, Textarea, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription,
|
|
57
|
+
import { Button, Label, Input, cn, Textarea, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DocumentEntity, EntityPill, ShieldIcon, EntityIcon, Tooltip, TooltipTrigger, TooltipContent, Popover, PopoverTrigger, PopoverContent, Tabs, TabsList, TabsTrigger, TabsContent, DialogFooter, UserEntity, Switch } from '@arbidocs/react/ui';
|
|
58
58
|
import { useNotify } from '@arbidocs/react/shell';
|
|
59
|
-
import { Bell, Activity, Info, UserCheck, Trash2, Loader2, Upload, Link2, Search, Plus, ArrowLeft, ExternalLink,
|
|
59
|
+
import { Bell, Activity, Info, UserCheck, Trash2, Loader2, Upload, Link2, Search, Plus, ArrowLeft, ExternalLink, UserCircle, KeyRound, Radio, Mail, Settings, Video, Printer, CalendarDays, Clock, MapPin, Globe, X, Paperclip, Send, Inbox, CalendarX, CalendarCheck, MessageSquare, CalendarSearch, Pencil, DoorOpen, RefreshCw, CheckCircle2, AlertTriangle, Check, Copy } from 'lucide-react';
|
|
60
60
|
import { useIsOnline, downloadBlob, useOptionalDocumentTools, fetchDocumentPdf, DocumentToolsProvider } from '@arbidocs/react/document-tools';
|
|
61
61
|
import { useStreamedArtifact } from '@arbidocs/react/artifacts';
|
|
62
62
|
import { bytesToBase64 } from '@arbidocs/client';
|
|
@@ -2743,11 +2743,6 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
2743
2743
|
select: (workspace) => setWorkspace(workspace.id)
|
|
2744
2744
|
});
|
|
2745
2745
|
}
|
|
2746
|
-
function SessionStatusIcon({ status, className }) {
|
|
2747
|
-
if (status === "agent") return /* @__PURE__ */ jsx(ArbiBotHeadIcon, { className: className ?? "w-4 h-4" });
|
|
2748
|
-
return /* @__PURE__ */ jsx(Monitor, { className: className ?? "w-4 h-4 text-muted-foreground" });
|
|
2749
|
-
}
|
|
2750
|
-
var renderSessionStatusIcon = (status) => /* @__PURE__ */ jsx(SessionStatusIcon, { status });
|
|
2751
2746
|
function errorText2(error, fallback) {
|
|
2752
2747
|
const body = error?.apiError;
|
|
2753
2748
|
return typeof body?.detail === "string" ? body.detail : fallback;
|
|
@@ -2985,9 +2980,7 @@ function ConnectedNotificationPreferences({
|
|
|
2985
2980
|
}
|
|
2986
2981
|
) }) });
|
|
2987
2982
|
}
|
|
2988
|
-
function ConnectedSessionsRow({
|
|
2989
|
-
renderSessionIcon = renderSessionStatusIcon
|
|
2990
|
-
}) {
|
|
2983
|
+
function ConnectedSessionsRow({ renderSessionIcon }) {
|
|
2991
2984
|
const { notify, confirm } = useBlocksEnvironment();
|
|
2992
2985
|
const [open, setOpen] = useState(false);
|
|
2993
2986
|
const sessions = useSessions({ enabled: open });
|
|
@@ -3053,7 +3046,7 @@ function ConnectedLogoutDialog({
|
|
|
3053
3046
|
onClose,
|
|
3054
3047
|
canLogoutAll = true,
|
|
3055
3048
|
confirmSignOut,
|
|
3056
|
-
renderSessionIcon
|
|
3049
|
+
renderSessionIcon
|
|
3057
3050
|
}) {
|
|
3058
3051
|
const sessions = useSessions({ enabled: open });
|
|
3059
3052
|
const signOut = useSignOut();
|
|
@@ -3131,80 +3124,211 @@ function ConnectedDangerZone({ renderSubscriptionLink }) {
|
|
|
3131
3124
|
)
|
|
3132
3125
|
] });
|
|
3133
3126
|
}
|
|
3134
|
-
function
|
|
3135
|
-
const
|
|
3136
|
-
const
|
|
3137
|
-
const
|
|
3138
|
-
const
|
|
3139
|
-
|
|
3127
|
+
function useConnectedDocxNotifications(onOpen) {
|
|
3128
|
+
const arbi = useArbi();
|
|
3129
|
+
const { status, user, apiUrl } = useConnection();
|
|
3130
|
+
const { notify } = useBlocksEnvironment();
|
|
3131
|
+
const queries = useQueryClient();
|
|
3132
|
+
const source = `docx-mentions:${apiUrl}:${user?.externalId || ""}`;
|
|
3133
|
+
const queryKey = ["docx-mentions", apiUrl, user?.externalId];
|
|
3134
|
+
const { data = [] } = useQuery({
|
|
3135
|
+
queryKey,
|
|
3136
|
+
queryFn: () => arbi.notifications.list({ type: "docx_mention" }),
|
|
3137
|
+
enabled: status === "authenticated",
|
|
3138
|
+
refetchInterval: 3e4
|
|
3139
|
+
});
|
|
3140
|
+
useArbiWebSocket((message) => {
|
|
3141
|
+
if (message.type === "docx_mention") void queries.invalidateQueries({ queryKey });
|
|
3142
|
+
});
|
|
3143
|
+
useEffect(() => {
|
|
3144
|
+
const items = [];
|
|
3145
|
+
if (status === "authenticated")
|
|
3146
|
+
for (const note of data) {
|
|
3147
|
+
if (note.recipient.external_id !== user?.externalId || !note.workspace_ext_id) continue;
|
|
3148
|
+
try {
|
|
3149
|
+
const target = JSON.parse(note.content || "{}");
|
|
3150
|
+
if (!target.document_id?.startsWith("doc-") || !target.comment_id) continue;
|
|
3151
|
+
const documentId = target.document_id, commentId = target.comment_id, workspaceId = note.workspace_ext_id;
|
|
3152
|
+
items.push({
|
|
3153
|
+
id: `docx:${note.external_id}`,
|
|
3154
|
+
title: "Mentioned you in a document comment",
|
|
3155
|
+
description: [note.sender.given_name, note.sender.family_name].filter(Boolean).join(" "),
|
|
3156
|
+
variant: "info",
|
|
3157
|
+
ts: Date.parse(note.created_at),
|
|
3158
|
+
read: note.read,
|
|
3159
|
+
source,
|
|
3160
|
+
onSelect: () => {
|
|
3161
|
+
void Promise.resolve(onOpen({ documentId, commentId, workspaceId })).catch(
|
|
3162
|
+
(error) => notify(
|
|
3163
|
+
error instanceof Error ? error.message : "Could not open the document.",
|
|
3164
|
+
"error"
|
|
3165
|
+
)
|
|
3166
|
+
);
|
|
3167
|
+
}
|
|
3168
|
+
});
|
|
3169
|
+
} catch {
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
3172
|
+
useNotify.getState().syncSource(source, items);
|
|
3173
|
+
return () => useNotify.getState().syncSource(source, []);
|
|
3174
|
+
}, [data, status, user?.externalId, source, onOpen, notify]);
|
|
3175
|
+
const markRead = async (ids) => {
|
|
3140
3176
|
try {
|
|
3141
|
-
await
|
|
3142
|
-
|
|
3143
|
-
|
|
3177
|
+
await arbi.notifications.markRead(ids);
|
|
3178
|
+
await queries.invalidateQueries({ queryKey });
|
|
3179
|
+
} catch {
|
|
3180
|
+
notify("Could not mark document mentions read.", "error");
|
|
3144
3181
|
}
|
|
3145
3182
|
};
|
|
3146
|
-
return
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3183
|
+
return {
|
|
3184
|
+
onMarkRead: (id) => {
|
|
3185
|
+
if (id.startsWith("docx:")) void markRead([id.slice(5)]);
|
|
3186
|
+
},
|
|
3187
|
+
onMarkAllRead: () => {
|
|
3188
|
+
void markRead(
|
|
3189
|
+
data.filter((note) => !note.read && note.recipient.external_id === user?.externalId).map((note) => note.external_id)
|
|
3190
|
+
);
|
|
3153
3191
|
}
|
|
3154
|
-
|
|
3192
|
+
};
|
|
3155
3193
|
}
|
|
3156
|
-
function
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3194
|
+
function useConnectedWorkNotifications(onOpen) {
|
|
3195
|
+
const { status, user, apiUrl } = useConnection();
|
|
3196
|
+
const { notify } = useBlocksEnvironment();
|
|
3197
|
+
const source = `work-notifications:${apiUrl}:${user?.externalId || ""}`;
|
|
3198
|
+
const { data = [], markRead: persistRead } = useWorkNotifications({
|
|
3199
|
+
apiUrl,
|
|
3200
|
+
userId: user?.externalId,
|
|
3201
|
+
enabled: status === "authenticated"
|
|
3202
|
+
});
|
|
3203
|
+
useEffect(() => {
|
|
3204
|
+
const items = [];
|
|
3205
|
+
if (status === "authenticated")
|
|
3206
|
+
for (const note of data) {
|
|
3207
|
+
if (note.recipient.external_id !== user?.externalId) continue;
|
|
3208
|
+
const mapped = mapWorkNotification(note);
|
|
3209
|
+
if (!mapped) continue;
|
|
3210
|
+
items.push({
|
|
3211
|
+
id: `work:${note.external_id}`,
|
|
3212
|
+
title: mapped.title,
|
|
3213
|
+
variant: note.type === "workflow_failed" ? "error" : note.type === "conversation_done" ? "success" : "info",
|
|
3214
|
+
ts: Date.parse(note.created_at),
|
|
3215
|
+
read: note.read,
|
|
3216
|
+
source,
|
|
3217
|
+
onSelect: () => {
|
|
3218
|
+
void Promise.resolve().then(() => onOpen(mapped.target)).catch(
|
|
3219
|
+
(error) => notify(
|
|
3220
|
+
error instanceof Error ? error.message : "Could not open this notification.",
|
|
3221
|
+
"error"
|
|
3222
|
+
)
|
|
3223
|
+
);
|
|
3224
|
+
}
|
|
3225
|
+
});
|
|
3175
3226
|
}
|
|
3176
|
-
)
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3227
|
+
useNotify.getState().syncSource(source, items);
|
|
3228
|
+
return () => useNotify.getState().syncSource(source, []);
|
|
3229
|
+
}, [data, status, user?.externalId, source, onOpen, notify]);
|
|
3230
|
+
const markRead = async (ids) => {
|
|
3231
|
+
if (!ids.length) return;
|
|
3232
|
+
try {
|
|
3233
|
+
await persistRead(ids);
|
|
3234
|
+
} catch {
|
|
3235
|
+
notify("Could not mark work notifications read.", "error");
|
|
3236
|
+
}
|
|
3237
|
+
};
|
|
3238
|
+
return {
|
|
3239
|
+
onMarkRead: (id) => {
|
|
3240
|
+
if (data.some(
|
|
3241
|
+
(note) => `work:${note.external_id}` === id && note.recipient.external_id === user?.externalId && mapWorkNotification(note)
|
|
3242
|
+
))
|
|
3243
|
+
void markRead([id.slice(5)]);
|
|
3244
|
+
},
|
|
3245
|
+
onMarkAllRead: () => {
|
|
3246
|
+
void markRead(
|
|
3247
|
+
data.filter(
|
|
3248
|
+
(note) => !note.read && note.recipient.external_id === user?.externalId && mapWorkNotification(note)
|
|
3249
|
+
).map((note) => note.external_id)
|
|
3250
|
+
);
|
|
3251
|
+
}
|
|
3252
|
+
};
|
|
3253
|
+
}
|
|
3254
|
+
function mapWorkNotification(note) {
|
|
3255
|
+
const sender = [note.sender.given_name, note.sender.family_name].filter(Boolean).join(" ") || note.sender.email;
|
|
3256
|
+
if (note.type === "workflow_failed") {
|
|
3257
|
+
try {
|
|
3258
|
+
const payload = JSON.parse(note.content || "{}");
|
|
3259
|
+
if (!payload.workflow_ext_id?.match(/^wfl-[a-zA-Z0-9]+$/)) return null;
|
|
3260
|
+
if (note.workspace_ext_id?.match(/^wrk-[a-zA-Z0-9]+$/) && note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/)) {
|
|
3261
|
+
return {
|
|
3262
|
+
title: "A workflow failed to run",
|
|
3263
|
+
target: {
|
|
3264
|
+
kind: "conversation",
|
|
3265
|
+
workspaceId: note.workspace_ext_id,
|
|
3266
|
+
conversationId: note.conversation_ext_id
|
|
3267
|
+
}
|
|
3268
|
+
};
|
|
3269
|
+
}
|
|
3270
|
+
return {
|
|
3271
|
+
title: "A workflow failed to run",
|
|
3272
|
+
target: {
|
|
3273
|
+
kind: "workflow",
|
|
3274
|
+
workflowId: payload.workflow_ext_id,
|
|
3275
|
+
workspaceId: note.workspace_ext_id || void 0
|
|
3195
3276
|
}
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3277
|
+
};
|
|
3278
|
+
} catch {
|
|
3279
|
+
return null;
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
if (note.type === "mail_draft_ready") {
|
|
3283
|
+
const draftId = mailDraftIdFromContent(note.content);
|
|
3284
|
+
if (!draftId) return null;
|
|
3285
|
+
return {
|
|
3286
|
+
title: `${sender} left a draft email for you to review`,
|
|
3287
|
+
target: { kind: "mail_draft", draftId, mailbox: "native" }
|
|
3288
|
+
};
|
|
3289
|
+
}
|
|
3290
|
+
const titles = {
|
|
3291
|
+
mention: `${sender} mentioned you in a conversation`,
|
|
3292
|
+
workspace_access_request: `${sender} needs workspace access to run a thread`,
|
|
3293
|
+
conversation_ready: note.sender.external_id === note.recipient.external_id ? "Your thread is ready" : `${sender}\u2019s thread is ready`,
|
|
3294
|
+
conversation_done: `${sender} marked a thread done`
|
|
3295
|
+
};
|
|
3296
|
+
const title = titles[note.type];
|
|
3297
|
+
if (!title || !note.workspace_ext_id || !note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/))
|
|
3298
|
+
return null;
|
|
3299
|
+
return {
|
|
3300
|
+
title,
|
|
3301
|
+
target: {
|
|
3302
|
+
kind: "conversation",
|
|
3303
|
+
workspaceId: note.workspace_ext_id,
|
|
3304
|
+
conversationId: note.conversation_ext_id,
|
|
3305
|
+
...note.message_ext_id ? { messageId: note.message_ext_id } : {}
|
|
3306
|
+
}
|
|
3307
|
+
};
|
|
3308
|
+
}
|
|
3309
|
+
function attachmentPath(accountId, messageId, attachmentId) {
|
|
3310
|
+
return `${accountPath(accountId)}/messages/${encodeURIComponent(messageId)}/attachments/${encodeURIComponent(attachmentId)}`;
|
|
3311
|
+
}
|
|
3312
|
+
function saveFile(blob, name) {
|
|
3313
|
+
const url = URL.createObjectURL(blob);
|
|
3314
|
+
const link = document.createElement("a");
|
|
3315
|
+
link.href = url;
|
|
3316
|
+
link.download = name;
|
|
3317
|
+
link.click();
|
|
3318
|
+
setTimeout(() => URL.revokeObjectURL(url), 1e3);
|
|
3319
|
+
}
|
|
3320
|
+
function hydrateMailAttachments(client, account, messageId, attachments, { isOnline, offline }) {
|
|
3321
|
+
return Promise.all(
|
|
3322
|
+
attachments.map(async (a) => {
|
|
3323
|
+
if (a.content_base64 != null) return a;
|
|
3324
|
+
if (!isOnline) {
|
|
3325
|
+
const file = await offline?.loadAttachment(account.id, messageId, a);
|
|
3326
|
+
return file ? { ...a, content_base64: bytesToBase64(new Uint8Array(await file.arrayBuffer())) } : { ...a, content_base64: null };
|
|
3205
3327
|
}
|
|
3206
|
-
|
|
3207
|
-
|
|
3328
|
+
const response = await client.fetch(attachmentPath(account.id, messageId, a.id));
|
|
3329
|
+
return fileAttachment(new File([await response.blob()], a.name, { type: a.content_type }));
|
|
3330
|
+
})
|
|
3331
|
+
);
|
|
3208
3332
|
}
|
|
3209
3333
|
function ConnectedMailAccounts({
|
|
3210
3334
|
policy,
|
|
@@ -3429,504 +3553,6 @@ function ConnectedMailAccounts({
|
|
|
3429
3553
|
}
|
|
3430
3554
|
);
|
|
3431
3555
|
}
|
|
3432
|
-
var noop = () => {
|
|
3433
|
-
};
|
|
3434
|
-
function ConnectedMailSettings({ oauthReturnPath, settings }) {
|
|
3435
|
-
const { data: policy } = useMailPolicy();
|
|
3436
|
-
const accounts = useMailAccounts({ enabled: !!policy?.enabled });
|
|
3437
|
-
const { data: profile } = useProfile();
|
|
3438
|
-
if (accounts.isError) {
|
|
3439
|
-
return /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: accounts.error.message });
|
|
3440
|
-
}
|
|
3441
|
-
if (!policy || !accounts.isSuccess) return /* @__PURE__ */ jsx("p", { children: "Loading mail accounts\u2026" });
|
|
3442
|
-
return /* @__PURE__ */ jsx(
|
|
3443
|
-
ConnectedMailAccounts,
|
|
3444
|
-
{
|
|
3445
|
-
embedded: true,
|
|
3446
|
-
policy,
|
|
3447
|
-
accounts: accounts.data,
|
|
3448
|
-
user: profile && { given_name: profile.givenName, family_name: profile.familyName },
|
|
3449
|
-
oauthReturnPath,
|
|
3450
|
-
settings,
|
|
3451
|
-
onClose: noop
|
|
3452
|
-
},
|
|
3453
|
-
profile ? "named" : "unnamed"
|
|
3454
|
-
);
|
|
3455
|
-
}
|
|
3456
|
-
function ConnectedPrivacySettings({
|
|
3457
|
-
rows,
|
|
3458
|
-
showTipsReset = false
|
|
3459
|
-
}) {
|
|
3460
|
-
const { data: settings } = useUserSettings();
|
|
3461
|
-
const update = useUpdateUserSettings();
|
|
3462
|
-
const hideOnlineStatus = settings?.hide_online_status ?? false;
|
|
3463
|
-
const dismissedTips = settings?.dismissed_tips ?? [];
|
|
3464
|
-
return /* @__PURE__ */ jsxs(SettingsPanel, { className: "max-w-2xl", children: [
|
|
3465
|
-
/* @__PURE__ */ jsx(SettingsSection, { title: "Privacy and tips", children: /* @__PURE__ */ jsxs(SettingsCard, { children: [
|
|
3466
|
-
/* @__PURE__ */ jsx(
|
|
3467
|
-
SettingsRow,
|
|
3468
|
-
{
|
|
3469
|
-
label: "Show Online Status",
|
|
3470
|
-
labelFor: "showOnlineStatus",
|
|
3471
|
-
description: "When on, other users can see when you're online",
|
|
3472
|
-
children: /* @__PURE__ */ jsx(
|
|
3473
|
-
Switch,
|
|
3474
|
-
{
|
|
3475
|
-
id: "showOnlineStatus",
|
|
3476
|
-
checked: !hideOnlineStatus,
|
|
3477
|
-
onCheckedChange: (value) => update.mutate({ hide_online_status: !value }),
|
|
3478
|
-
"data-testid": "toggle-show-online-status"
|
|
3479
|
-
}
|
|
3480
|
-
)
|
|
3481
|
-
}
|
|
3482
|
-
),
|
|
3483
|
-
rows,
|
|
3484
|
-
showTipsReset && /* @__PURE__ */ jsx(
|
|
3485
|
-
SettingsRow,
|
|
3486
|
-
{
|
|
3487
|
-
label: "Hidden tips",
|
|
3488
|
-
description: "Restore any Smart Tips you\u2019ve hidden with \u201Cdon\u2019t show again\u201D.",
|
|
3489
|
-
children: /* @__PURE__ */ jsxs(
|
|
3490
|
-
Button,
|
|
3491
|
-
{
|
|
3492
|
-
type: "button",
|
|
3493
|
-
variant: "outline",
|
|
3494
|
-
size: "sm",
|
|
3495
|
-
onClick: () => update.mutate({ dismissed_tips: [] }),
|
|
3496
|
-
disabled: dismissedTips.length === 0,
|
|
3497
|
-
className: "gap-1.5",
|
|
3498
|
-
"data-testid": "reset-tips-button",
|
|
3499
|
-
children: [
|
|
3500
|
-
/* @__PURE__ */ jsx(RotateCcw, { className: "h-4 w-4" }),
|
|
3501
|
-
"Reset tips"
|
|
3502
|
-
]
|
|
3503
|
-
}
|
|
3504
|
-
)
|
|
3505
|
-
}
|
|
3506
|
-
)
|
|
3507
|
-
] }) }),
|
|
3508
|
-
/* @__PURE__ */ jsx(ConnectedNotificationPreferences, {})
|
|
3509
|
-
] });
|
|
3510
|
-
}
|
|
3511
|
-
var PROVIDER_NAMES = {
|
|
3512
|
-
openai: "OpenAI",
|
|
3513
|
-
fireworks_ai: "Fireworks AI",
|
|
3514
|
-
"vertex_ai-language-models": "Google",
|
|
3515
|
-
vertex_ai: "Google",
|
|
3516
|
-
gemini: "Google",
|
|
3517
|
-
anthropic: "Anthropic"
|
|
3518
|
-
};
|
|
3519
|
-
var isStandard = (model) => !!model?.tags?.includes("Standard");
|
|
3520
|
-
function PremiumCostHeader() {
|
|
3521
|
-
return /* @__PURE__ */ jsx("span", { className: "flex items-center gap-0.5", children: "\xA3/MT in-out" });
|
|
3522
|
-
}
|
|
3523
|
-
function cheapest(models) {
|
|
3524
|
-
return [...models].sort((a, b) => {
|
|
3525
|
-
const ao = a.output_cost_per_token;
|
|
3526
|
-
const bo = b.output_cost_per_token;
|
|
3527
|
-
if (ao == null && bo == null) return 0;
|
|
3528
|
-
if (ao == null) return 1;
|
|
3529
|
-
if (bo == null) return -1;
|
|
3530
|
-
return ao - bo;
|
|
3531
|
-
})[0];
|
|
3532
|
-
}
|
|
3533
|
-
var COLUMNS = [
|
|
3534
|
-
{
|
|
3535
|
-
colId: "model_name",
|
|
3536
|
-
headerName: "Model",
|
|
3537
|
-
field: "model_name",
|
|
3538
|
-
flex: 2,
|
|
3539
|
-
minWidth: 130,
|
|
3540
|
-
tooltipField: "model_name"
|
|
3541
|
-
},
|
|
3542
|
-
{
|
|
3543
|
-
colId: "provider",
|
|
3544
|
-
headerName: "Provider",
|
|
3545
|
-
field: "provider",
|
|
3546
|
-
flex: 1,
|
|
3547
|
-
minWidth: 120,
|
|
3548
|
-
cellRenderer: (params) => isStandard(params.data) ? /* @__PURE__ */ jsx(
|
|
3549
|
-
ModelProviderLabel,
|
|
3550
|
-
{
|
|
3551
|
-
logo: /* @__PURE__ */ jsx("img", { src: "/favicon.svg", alt: "ARBI", className: "size-3.5 flex-shrink-0 rounded-sm" }),
|
|
3552
|
-
children: "ARBI CITY"
|
|
3553
|
-
}
|
|
3554
|
-
) : /* @__PURE__ */ jsx(
|
|
3555
|
-
ModelProviderLabel,
|
|
3556
|
-
{
|
|
3557
|
-
logo: /* @__PURE__ */ jsx(ProviderIcon, { modelName: params.data?.model_name, provider: params.value, size: 14 }),
|
|
3558
|
-
children: PROVIDER_NAMES[params.value ?? ""] || params.value || "\u2014"
|
|
3559
|
-
}
|
|
3560
|
-
)
|
|
3561
|
-
},
|
|
3562
|
-
{
|
|
3563
|
-
// Input and output cost in one column so the table fits the panel; sorted by output cost.
|
|
3564
|
-
colId: "cost",
|
|
3565
|
-
headerName: "Cost / MTok",
|
|
3566
|
-
headerComponentParams: { innerHeaderComponent: PremiumCostHeader },
|
|
3567
|
-
headerTooltip: "\xA3 per million tokens \u2014 input then output",
|
|
3568
|
-
field: "output_cost_per_token",
|
|
3569
|
-
flex: 1,
|
|
3570
|
-
minWidth: 120,
|
|
3571
|
-
type: "rightAligned",
|
|
3572
|
-
cellRenderer: (params) => /* @__PURE__ */ jsxs("span", { className: "tabular-nums", children: [
|
|
3573
|
-
formatGbpPerMillionTokens(params.data?.input_cost_per_token) ?? "\xA30",
|
|
3574
|
-
"-",
|
|
3575
|
-
formatGbpPerMillionTokens(params.data?.output_cost_per_token) ?? "\xA30"
|
|
3576
|
-
] })
|
|
3577
|
-
}
|
|
3578
|
-
];
|
|
3579
|
-
function ConnectedPremiumModels() {
|
|
3580
|
-
const { notify } = useBlocksEnvironment();
|
|
3581
|
-
const { data: settings } = useUserSettings();
|
|
3582
|
-
const update = useUpdateUserSettings();
|
|
3583
|
-
const { data: available } = useAvailableModels();
|
|
3584
|
-
const isDeveloper = settings?.developer === true;
|
|
3585
|
-
const premiumModel = settings?.premium_model;
|
|
3586
|
-
const premiumModels = useMemo(
|
|
3587
|
-
() => (available?.models ?? []).filter(
|
|
3588
|
-
(m) => m.tags?.includes("Premium") && (isDeveloper || !m.model_name.includes("@"))
|
|
3589
|
-
),
|
|
3590
|
-
[available, isDeveloper]
|
|
3591
|
-
);
|
|
3592
|
-
const rows = useMemo(() => {
|
|
3593
|
-
const standards = (available?.models ?? []).filter(isStandard);
|
|
3594
|
-
if (standards.length === 0) return premiumModels;
|
|
3595
|
-
const reference = {
|
|
3596
|
-
...standards[0],
|
|
3597
|
-
model_name: `Standard (${standards.map((m) => m.model_name).join(", ")})`
|
|
3598
|
-
};
|
|
3599
|
-
return [reference, ...premiumModels];
|
|
3600
|
-
}, [available, premiumModels]);
|
|
3601
|
-
const current = premiumModel ?? available?.premium_default ?? "";
|
|
3602
|
-
const save = useCallback(
|
|
3603
|
-
(model) => update.mutate(
|
|
3604
|
-
{ premium_model: model },
|
|
3605
|
-
{
|
|
3606
|
-
onError: (err) => notify(`Failed to update Premium setting: ${String(err)}`, "error")
|
|
3607
|
-
}
|
|
3608
|
-
),
|
|
3609
|
-
[update, notify]
|
|
3610
|
-
);
|
|
3611
|
-
const currentRef = useRef(current);
|
|
3612
|
-
currentRef.current = current;
|
|
3613
|
-
const [selected, setSelected] = useState([]);
|
|
3614
|
-
useEffect(() => {
|
|
3615
|
-
const match = premiumModels.filter((m) => m.model_name === current);
|
|
3616
|
-
setSelected(
|
|
3617
|
-
(prev) => prev.length === match.length && prev[0]?.model_name === match[0]?.model_name ? prev : match
|
|
3618
|
-
);
|
|
3619
|
-
}, [current, premiumModels]);
|
|
3620
|
-
const onSelectionChange = useCallback(
|
|
3621
|
-
(items) => {
|
|
3622
|
-
const picked = items.filter((m) => !isStandard(m));
|
|
3623
|
-
const next = picked[0]?.model_name;
|
|
3624
|
-
if (!next || next === currentRef.current) return;
|
|
3625
|
-
setSelected(picked);
|
|
3626
|
-
save(next);
|
|
3627
|
-
},
|
|
3628
|
-
[save]
|
|
3629
|
-
);
|
|
3630
|
-
if (premiumModels.length === 0) return null;
|
|
3631
|
-
return /* @__PURE__ */ jsx(SettingsPanel, { className: "max-w-2xl space-y-4", children: /* @__PURE__ */ jsx(SettingsSection, { title: "Premium models", children: /* @__PURE__ */ jsx(SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsx(
|
|
3632
|
-
PremiumModelsFrame,
|
|
3633
|
-
{
|
|
3634
|
-
enabled: premiumModel !== "",
|
|
3635
|
-
onEnabledChange: (enabled) => {
|
|
3636
|
-
const target = enabled ? cheapest(premiumModels)?.model_name : "";
|
|
3637
|
-
if (target !== void 0) save(target);
|
|
3638
|
-
},
|
|
3639
|
-
children: /* @__PURE__ */ jsx(
|
|
3640
|
-
GridView,
|
|
3641
|
-
{
|
|
3642
|
-
items: rows,
|
|
3643
|
-
columnDefs: COLUMNS,
|
|
3644
|
-
getItemId: (m) => m.model_name,
|
|
3645
|
-
selection: { mode: "single", selected, onSelectionChange },
|
|
3646
|
-
gridOptions: {
|
|
3647
|
-
rowClassRules: { "opacity-60 italic": (p) => isStandard(p.data) }
|
|
3648
|
-
},
|
|
3649
|
-
height: Math.min(rows.length * 40 + 48, 320),
|
|
3650
|
-
testId: "premium-model-grid"
|
|
3651
|
-
}
|
|
3652
|
-
)
|
|
3653
|
-
}
|
|
3654
|
-
) }) }) });
|
|
3655
|
-
}
|
|
3656
|
-
var SETTINGS_SECTION_IDS = {
|
|
3657
|
-
account: "account",
|
|
3658
|
-
mail: "mail",
|
|
3659
|
-
privacy: "privacy",
|
|
3660
|
-
chat: "chat"
|
|
3661
|
-
};
|
|
3662
|
-
function accountSettingsSection(props) {
|
|
3663
|
-
return {
|
|
3664
|
-
id: SETTINGS_SECTION_IDS.account,
|
|
3665
|
-
label: "Account",
|
|
3666
|
-
icon: /* @__PURE__ */ jsx(User, { className: "w-6 h-6" }),
|
|
3667
|
-
render: () => /* @__PURE__ */ jsx(ConnectedAccountSettings, { ...props })
|
|
3668
|
-
};
|
|
3669
|
-
}
|
|
3670
|
-
function mailSettingsSection(props) {
|
|
3671
|
-
return {
|
|
3672
|
-
id: SETTINGS_SECTION_IDS.mail,
|
|
3673
|
-
label: "Mail",
|
|
3674
|
-
icon: /* @__PURE__ */ jsx(Mail, { className: "w-6 h-6" }),
|
|
3675
|
-
render: () => /* @__PURE__ */ jsx(ConnectedMailSettings, { ...props })
|
|
3676
|
-
};
|
|
3677
|
-
}
|
|
3678
|
-
function privacySettingsSection(props) {
|
|
3679
|
-
return {
|
|
3680
|
-
id: SETTINGS_SECTION_IDS.privacy,
|
|
3681
|
-
label: "Privacy",
|
|
3682
|
-
icon: /* @__PURE__ */ jsx(HatGlasses, { className: "w-6 h-6" }),
|
|
3683
|
-
render: () => /* @__PURE__ */ jsx(ConnectedPrivacySettings, { ...props })
|
|
3684
|
-
};
|
|
3685
|
-
}
|
|
3686
|
-
function chatSettingsSection() {
|
|
3687
|
-
return {
|
|
3688
|
-
id: SETTINGS_SECTION_IDS.chat,
|
|
3689
|
-
label: "Chat",
|
|
3690
|
-
icon: /* @__PURE__ */ jsx(MessageSquare, { className: "w-6 h-6" }),
|
|
3691
|
-
render: () => /* @__PURE__ */ jsx(ConnectedPremiumModels, {})
|
|
3692
|
-
};
|
|
3693
|
-
}
|
|
3694
|
-
var DEFAULT_SETTINGS_SECTIONS = [
|
|
3695
|
-
accountSettingsSection(),
|
|
3696
|
-
privacySettingsSection(),
|
|
3697
|
-
chatSettingsSection()
|
|
3698
|
-
];
|
|
3699
|
-
function ConnectedSettingsPage({
|
|
3700
|
-
sections = DEFAULT_SETTINGS_SECTIONS,
|
|
3701
|
-
section,
|
|
3702
|
-
onSectionChange,
|
|
3703
|
-
...page
|
|
3704
|
-
}) {
|
|
3705
|
-
const requested = useRequestedSettingsSection();
|
|
3706
|
-
const [local, setLocal] = useState(requested?.section);
|
|
3707
|
-
useEffect(() => {
|
|
3708
|
-
if (requested) setLocal(requested.section);
|
|
3709
|
-
}, [requested]);
|
|
3710
|
-
const controlled = section !== void 0;
|
|
3711
|
-
return /* @__PURE__ */ jsx(
|
|
3712
|
-
SettingsPage,
|
|
3713
|
-
{
|
|
3714
|
-
...page,
|
|
3715
|
-
sections,
|
|
3716
|
-
activeSectionId: controlled ? section : local,
|
|
3717
|
-
onSectionChange: (id) => {
|
|
3718
|
-
if (!controlled) setLocal(id);
|
|
3719
|
-
onSectionChange?.(id);
|
|
3720
|
-
}
|
|
3721
|
-
}
|
|
3722
|
-
);
|
|
3723
|
-
}
|
|
3724
|
-
function useConnectedDocxNotifications(onOpen) {
|
|
3725
|
-
const arbi = useArbi();
|
|
3726
|
-
const { status, user, apiUrl } = useConnection();
|
|
3727
|
-
const { notify } = useBlocksEnvironment();
|
|
3728
|
-
const queries = useQueryClient();
|
|
3729
|
-
const source = `docx-mentions:${apiUrl}:${user?.externalId || ""}`;
|
|
3730
|
-
const queryKey = ["docx-mentions", apiUrl, user?.externalId];
|
|
3731
|
-
const { data = [] } = useQuery({
|
|
3732
|
-
queryKey,
|
|
3733
|
-
queryFn: () => arbi.notifications.list({ type: "docx_mention" }),
|
|
3734
|
-
enabled: status === "authenticated",
|
|
3735
|
-
refetchInterval: 3e4
|
|
3736
|
-
});
|
|
3737
|
-
useArbiWebSocket((message) => {
|
|
3738
|
-
if (message.type === "docx_mention") void queries.invalidateQueries({ queryKey });
|
|
3739
|
-
});
|
|
3740
|
-
useEffect(() => {
|
|
3741
|
-
const items = [];
|
|
3742
|
-
if (status === "authenticated")
|
|
3743
|
-
for (const note of data) {
|
|
3744
|
-
if (note.recipient.external_id !== user?.externalId || !note.workspace_ext_id) continue;
|
|
3745
|
-
try {
|
|
3746
|
-
const target = JSON.parse(note.content || "{}");
|
|
3747
|
-
if (!target.document_id?.startsWith("doc-") || !target.comment_id) continue;
|
|
3748
|
-
const documentId = target.document_id, commentId = target.comment_id, workspaceId = note.workspace_ext_id;
|
|
3749
|
-
items.push({
|
|
3750
|
-
id: `docx:${note.external_id}`,
|
|
3751
|
-
title: "Mentioned you in a document comment",
|
|
3752
|
-
description: [note.sender.given_name, note.sender.family_name].filter(Boolean).join(" "),
|
|
3753
|
-
variant: "info",
|
|
3754
|
-
ts: Date.parse(note.created_at),
|
|
3755
|
-
read: note.read,
|
|
3756
|
-
source,
|
|
3757
|
-
onSelect: () => {
|
|
3758
|
-
void Promise.resolve(onOpen({ documentId, commentId, workspaceId })).catch(
|
|
3759
|
-
(error) => notify(
|
|
3760
|
-
error instanceof Error ? error.message : "Could not open the document.",
|
|
3761
|
-
"error"
|
|
3762
|
-
)
|
|
3763
|
-
);
|
|
3764
|
-
}
|
|
3765
|
-
});
|
|
3766
|
-
} catch {
|
|
3767
|
-
}
|
|
3768
|
-
}
|
|
3769
|
-
useNotify.getState().syncSource(source, items);
|
|
3770
|
-
return () => useNotify.getState().syncSource(source, []);
|
|
3771
|
-
}, [data, status, user?.externalId, source, onOpen, notify]);
|
|
3772
|
-
const markRead = async (ids) => {
|
|
3773
|
-
try {
|
|
3774
|
-
await arbi.notifications.markRead(ids);
|
|
3775
|
-
await queries.invalidateQueries({ queryKey });
|
|
3776
|
-
} catch {
|
|
3777
|
-
notify("Could not mark document mentions read.", "error");
|
|
3778
|
-
}
|
|
3779
|
-
};
|
|
3780
|
-
return {
|
|
3781
|
-
onMarkRead: (id) => {
|
|
3782
|
-
if (id.startsWith("docx:")) void markRead([id.slice(5)]);
|
|
3783
|
-
},
|
|
3784
|
-
onMarkAllRead: () => {
|
|
3785
|
-
void markRead(
|
|
3786
|
-
data.filter((note) => !note.read && note.recipient.external_id === user?.externalId).map((note) => note.external_id)
|
|
3787
|
-
);
|
|
3788
|
-
}
|
|
3789
|
-
};
|
|
3790
|
-
}
|
|
3791
|
-
function useConnectedWorkNotifications(onOpen) {
|
|
3792
|
-
const { status, user, apiUrl } = useConnection();
|
|
3793
|
-
const { notify } = useBlocksEnvironment();
|
|
3794
|
-
const source = `work-notifications:${apiUrl}:${user?.externalId || ""}`;
|
|
3795
|
-
const { data = [], markRead: persistRead } = useWorkNotifications({
|
|
3796
|
-
apiUrl,
|
|
3797
|
-
userId: user?.externalId,
|
|
3798
|
-
enabled: status === "authenticated"
|
|
3799
|
-
});
|
|
3800
|
-
useEffect(() => {
|
|
3801
|
-
const items = [];
|
|
3802
|
-
if (status === "authenticated")
|
|
3803
|
-
for (const note of data) {
|
|
3804
|
-
if (note.recipient.external_id !== user?.externalId) continue;
|
|
3805
|
-
const mapped = mapWorkNotification(note);
|
|
3806
|
-
if (!mapped) continue;
|
|
3807
|
-
items.push({
|
|
3808
|
-
id: `work:${note.external_id}`,
|
|
3809
|
-
title: mapped.title,
|
|
3810
|
-
variant: note.type === "workflow_failed" ? "error" : note.type === "conversation_done" ? "success" : "info",
|
|
3811
|
-
ts: Date.parse(note.created_at),
|
|
3812
|
-
read: note.read,
|
|
3813
|
-
source,
|
|
3814
|
-
onSelect: () => {
|
|
3815
|
-
void Promise.resolve().then(() => onOpen(mapped.target)).catch(
|
|
3816
|
-
(error) => notify(
|
|
3817
|
-
error instanceof Error ? error.message : "Could not open this notification.",
|
|
3818
|
-
"error"
|
|
3819
|
-
)
|
|
3820
|
-
);
|
|
3821
|
-
}
|
|
3822
|
-
});
|
|
3823
|
-
}
|
|
3824
|
-
useNotify.getState().syncSource(source, items);
|
|
3825
|
-
return () => useNotify.getState().syncSource(source, []);
|
|
3826
|
-
}, [data, status, user?.externalId, source, onOpen, notify]);
|
|
3827
|
-
const markRead = async (ids) => {
|
|
3828
|
-
if (!ids.length) return;
|
|
3829
|
-
try {
|
|
3830
|
-
await persistRead(ids);
|
|
3831
|
-
} catch {
|
|
3832
|
-
notify("Could not mark work notifications read.", "error");
|
|
3833
|
-
}
|
|
3834
|
-
};
|
|
3835
|
-
return {
|
|
3836
|
-
onMarkRead: (id) => {
|
|
3837
|
-
if (data.some(
|
|
3838
|
-
(note) => `work:${note.external_id}` === id && note.recipient.external_id === user?.externalId && mapWorkNotification(note)
|
|
3839
|
-
))
|
|
3840
|
-
void markRead([id.slice(5)]);
|
|
3841
|
-
},
|
|
3842
|
-
onMarkAllRead: () => {
|
|
3843
|
-
void markRead(
|
|
3844
|
-
data.filter(
|
|
3845
|
-
(note) => !note.read && note.recipient.external_id === user?.externalId && mapWorkNotification(note)
|
|
3846
|
-
).map((note) => note.external_id)
|
|
3847
|
-
);
|
|
3848
|
-
}
|
|
3849
|
-
};
|
|
3850
|
-
}
|
|
3851
|
-
function mapWorkNotification(note) {
|
|
3852
|
-
const sender = [note.sender.given_name, note.sender.family_name].filter(Boolean).join(" ") || note.sender.email;
|
|
3853
|
-
if (note.type === "workflow_failed") {
|
|
3854
|
-
try {
|
|
3855
|
-
const payload = JSON.parse(note.content || "{}");
|
|
3856
|
-
if (!payload.workflow_ext_id?.match(/^wfl-[a-zA-Z0-9]+$/)) return null;
|
|
3857
|
-
if (note.workspace_ext_id?.match(/^wrk-[a-zA-Z0-9]+$/) && note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/)) {
|
|
3858
|
-
return {
|
|
3859
|
-
title: "A workflow failed to run",
|
|
3860
|
-
target: {
|
|
3861
|
-
kind: "conversation",
|
|
3862
|
-
workspaceId: note.workspace_ext_id,
|
|
3863
|
-
conversationId: note.conversation_ext_id
|
|
3864
|
-
}
|
|
3865
|
-
};
|
|
3866
|
-
}
|
|
3867
|
-
return {
|
|
3868
|
-
title: "A workflow failed to run",
|
|
3869
|
-
target: {
|
|
3870
|
-
kind: "workflow",
|
|
3871
|
-
workflowId: payload.workflow_ext_id,
|
|
3872
|
-
workspaceId: note.workspace_ext_id || void 0
|
|
3873
|
-
}
|
|
3874
|
-
};
|
|
3875
|
-
} catch {
|
|
3876
|
-
return null;
|
|
3877
|
-
}
|
|
3878
|
-
}
|
|
3879
|
-
if (note.type === "mail_draft_ready") {
|
|
3880
|
-
const draftId = mailDraftIdFromContent(note.content);
|
|
3881
|
-
if (!draftId) return null;
|
|
3882
|
-
return {
|
|
3883
|
-
title: `${sender} left a draft email for you to review`,
|
|
3884
|
-
target: { kind: "mail_draft", draftId, mailbox: "native" }
|
|
3885
|
-
};
|
|
3886
|
-
}
|
|
3887
|
-
const titles = {
|
|
3888
|
-
mention: `${sender} mentioned you in a conversation`,
|
|
3889
|
-
workspace_access_request: `${sender} needs workspace access to run a thread`,
|
|
3890
|
-
conversation_ready: note.sender.external_id === note.recipient.external_id ? "Your thread is ready" : `${sender}\u2019s thread is ready`,
|
|
3891
|
-
conversation_done: `${sender} marked a thread done`
|
|
3892
|
-
};
|
|
3893
|
-
const title = titles[note.type];
|
|
3894
|
-
if (!title || !note.workspace_ext_id || !note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/))
|
|
3895
|
-
return null;
|
|
3896
|
-
return {
|
|
3897
|
-
title,
|
|
3898
|
-
target: {
|
|
3899
|
-
kind: "conversation",
|
|
3900
|
-
workspaceId: note.workspace_ext_id,
|
|
3901
|
-
conversationId: note.conversation_ext_id,
|
|
3902
|
-
...note.message_ext_id ? { messageId: note.message_ext_id } : {}
|
|
3903
|
-
}
|
|
3904
|
-
};
|
|
3905
|
-
}
|
|
3906
|
-
function attachmentPath(accountId, messageId, attachmentId) {
|
|
3907
|
-
return `${accountPath(accountId)}/messages/${encodeURIComponent(messageId)}/attachments/${encodeURIComponent(attachmentId)}`;
|
|
3908
|
-
}
|
|
3909
|
-
function saveFile(blob, name) {
|
|
3910
|
-
const url = URL.createObjectURL(blob);
|
|
3911
|
-
const link = document.createElement("a");
|
|
3912
|
-
link.href = url;
|
|
3913
|
-
link.download = name;
|
|
3914
|
-
link.click();
|
|
3915
|
-
setTimeout(() => URL.revokeObjectURL(url), 1e3);
|
|
3916
|
-
}
|
|
3917
|
-
function hydrateMailAttachments(client, account, messageId, attachments, { isOnline, offline }) {
|
|
3918
|
-
return Promise.all(
|
|
3919
|
-
attachments.map(async (a) => {
|
|
3920
|
-
if (a.content_base64 != null) return a;
|
|
3921
|
-
if (!isOnline) {
|
|
3922
|
-
const file = await offline?.loadAttachment(account.id, messageId, a);
|
|
3923
|
-
return file ? { ...a, content_base64: bytesToBase64(new Uint8Array(await file.arrayBuffer())) } : { ...a, content_base64: null };
|
|
3924
|
-
}
|
|
3925
|
-
const response = await client.fetch(attachmentPath(account.id, messageId, a.id));
|
|
3926
|
-
return fileAttachment(new File([await response.blob()], a.name, { type: a.content_type }));
|
|
3927
|
-
})
|
|
3928
|
-
);
|
|
3929
|
-
}
|
|
3930
3556
|
var sessionRooms = /* @__PURE__ */ new Map();
|
|
3931
3557
|
function useWordBody({
|
|
3932
3558
|
word,
|
|
@@ -9267,6 +8893,6 @@ function ConnectedAgentChatPanel({
|
|
|
9267
8893
|
] });
|
|
9268
8894
|
}
|
|
9269
8895
|
|
|
9270
|
-
export { ArbiAppProvider,
|
|
8896
|
+
export { ArbiAppProvider, ConnectedAgentChatPanel, ConnectedAgentCreator, ConnectedCalendar, ConnectedDangerZone, ConnectedIdentityVerification, ConnectedLogoutDialog, ConnectedMailAccounts, ConnectedMailComposer, ConnectedMailInviteCard, ConnectedMailMessage, ConnectedMailSetup, ConnectedMailbox, ConnectedNotificationCenter, ConnectedNotificationPreferences, ConnectedPasswordChangeDialog, ConnectedProfileCard, ConnectedPublicBooking, ConnectedRequireVerified, ConnectedSecuritySection, ConnectedSessionsRow, ConnectedSkillUpload, ConnectedSkillsLibrary, ConnectedTagTable, ConnectedTaskAccessRequest, ConnectedTaskActivityDialog, ConnectedThreadFollow, ConnectedUpcomingEvents, ConnectedWorkflowHistory, ConnectedWorkflowRunner, ConnectedWorkspaceActivity, ConnectedWorkspaceNotificationMenu, DEFAULT_CONNECTED_SKILL_UPLOAD_LABELS, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, NotificationCenter, NotificationEvent, StreamedArtifact, WorkflowRunThread, bookingCancelLink, buildNotificationCenterItems, countNotificationTypes, defaultUnmetPasswordRequirement, filterNotificationCenterItems, openMeetingLink, requestCalendarComposer, requestCalendarEvent, resolveMailbox, useCalendarViewStore, useConnectedDocxNotifications, useConnectedShellWorkspaces, useConnectedWorkNotifications, workflowRunView };
|
|
9271
8897
|
//# sourceMappingURL=index.js.map
|
|
9272
8898
|
//# sourceMappingURL=index.js.map
|