@arbidocs/blocks 0.5.99 → 0.5.100
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/ConnectedCallDock-OJ4UR5PR.js +1 -1
- package/dist/ConnectedCallDock-OKH3FT2U.cjs +1 -1
- package/dist/ConnectedCallRoom-NB7I6RLQ.cjs +1 -1
- package/dist/ConnectedCallRoom-OX7ZIF76.js +1 -1
- package/dist/{ConnectedNativeDocxComparison-F4XKHVTI.cjs → ConnectedNativeDocxComparison-3UJZR52S.cjs} +7 -7
- package/dist/{ConnectedNativeDocxComparison-F4XKHVTI.cjs.map → ConnectedNativeDocxComparison-3UJZR52S.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-TDWHGYQX.js → ConnectedNativeDocxComparison-VGJLNVM4.js} +6 -6
- package/dist/{ConnectedStreamedWordArtifact-ZPFR5HFS.js.map → ConnectedNativeDocxComparison-VGJLNVM4.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-J3E3QDFA.cjs → ConnectedNativeDocxEditor-A6PGFR35.cjs} +7 -7
- package/dist/{ConnectedNativeDocxEditor-J3E3QDFA.cjs.map → ConnectedNativeDocxEditor-A6PGFR35.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-O7QB6DVI.js → ConnectedNativeDocxEditor-O7QEWYGG.js} +5 -5
- package/dist/{ConnectedNativeDocxEditor-O7QB6DVI.js.map → ConnectedNativeDocxEditor-O7QEWYGG.js.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-34NEZNEQ.js → ConnectedProductionSetDialog-34UV5VH2.js} +3 -3
- package/dist/{ConnectedProductionSetDialog-34NEZNEQ.js.map → ConnectedProductionSetDialog-34UV5VH2.js.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-NFASXSLG.cjs → ConnectedProductionSetDialog-XH725VSO.cjs} +3 -3
- package/dist/{ConnectedProductionSetDialog-NFASXSLG.cjs.map → ConnectedProductionSetDialog-XH725VSO.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-ZPFR5HFS.js → ConnectedStreamedWordArtifact-MJAVZ3NR.js} +6 -6
- package/dist/{ConnectedNativeDocxComparison-TDWHGYQX.js.map → ConnectedStreamedWordArtifact-MJAVZ3NR.js.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-UR4LM4RB.cjs → ConnectedStreamedWordArtifact-Q7TWGK4B.cjs} +7 -7
- package/dist/ConnectedStreamedWordArtifact-Q7TWGK4B.cjs.map +1 -0
- package/dist/DocumentReviewCard-5NZM6FOB.js +1 -1
- package/dist/DocumentReviewCard-7VJ3MMYG.cjs +1 -1
- package/dist/{FilesViewerDialog-EQ4UT6LW.js → FilesViewerDialog-5VML4F5E.js} +8 -8
- package/dist/{FilesViewerDialog-EQ4UT6LW.js.map → FilesViewerDialog-5VML4F5E.js.map} +1 -1
- package/dist/{FilesViewerDialog-XIJAGQAU.cjs → FilesViewerDialog-IQ5UDAZX.cjs} +9 -9
- package/dist/{FilesViewerDialog-XIJAGQAU.cjs.map → FilesViewerDialog-IQ5UDAZX.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-YGLOQ6JA.js → WorkspaceTableView-DYABS53K.js} +3 -3
- package/dist/{WorkspaceTableView-YGLOQ6JA.js.map → WorkspaceTableView-DYABS53K.js.map} +1 -1
- package/dist/{WorkspaceTableView-6MLEC6I6.cjs → WorkspaceTableView-ZIQ7JWT5.cjs} +3 -3
- package/dist/{WorkspaceTableView-6MLEC6I6.cjs.map → WorkspaceTableView-ZIQ7JWT5.cjs.map} +1 -1
- package/dist/agents/index.cjs +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/ai-5JTBFZAO.js +1 -1
- package/dist/ai-ZLZNDUUS.cjs +1 -1
- package/dist/calls/index.cjs +1 -1
- package/dist/calls/index.js +1 -1
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/{chunk-POEWHRQV.js → chunk-22EZJLGW.js} +4 -4
- package/dist/{chunk-POEWHRQV.js.map → chunk-22EZJLGW.js.map} +1 -1
- package/dist/{chunk-6KKVJ2V6.js → chunk-3PV25ICC.js} +3 -3
- package/dist/{chunk-6KKVJ2V6.js.map → chunk-3PV25ICC.js.map} +1 -1
- package/dist/{chunk-YHNTGQSW.cjs → chunk-4VSRSF4Q.cjs} +3 -3
- package/dist/{chunk-YHNTGQSW.cjs.map → chunk-4VSRSF4Q.cjs.map} +1 -1
- package/dist/{chunk-WYLY5UQ4.js → chunk-5ZUA3JRB.js} +3 -3
- package/dist/{chunk-WYLY5UQ4.js.map → chunk-5ZUA3JRB.js.map} +1 -1
- package/dist/{chunk-UOGXKHTJ.cjs → chunk-6KQVTMRL.cjs} +3 -3
- package/dist/{chunk-UOGXKHTJ.cjs.map → chunk-6KQVTMRL.cjs.map} +1 -1
- package/dist/{chunk-X426D2LX.cjs → chunk-7GPQBAIL.cjs} +4 -4
- package/dist/{chunk-X426D2LX.cjs.map → chunk-7GPQBAIL.cjs.map} +1 -1
- package/dist/{chunk-3CV4M6MB.js → chunk-FADUFGZD.js} +3 -3
- package/dist/{chunk-3CV4M6MB.js.map → chunk-FADUFGZD.js.map} +1 -1
- package/dist/{chunk-EMTRPNYB.js → chunk-JLTPQDQB.js} +3 -3
- package/dist/{chunk-EMTRPNYB.js.map → chunk-JLTPQDQB.js.map} +1 -1
- package/dist/{chunk-LT2RPGKW.cjs → chunk-MM5Q7AJL.cjs} +10 -10
- package/dist/{chunk-LT2RPGKW.cjs.map → chunk-MM5Q7AJL.cjs.map} +1 -1
- package/dist/{chunk-ZXEGVXEV.cjs → chunk-R4JGE2XT.cjs} +4 -4
- package/dist/{chunk-ZXEGVXEV.cjs.map → chunk-R4JGE2XT.cjs.map} +1 -1
- package/dist/{chunk-3VKULQEG.js → chunk-UNQE3JWX.js} +4 -4
- package/dist/{chunk-3VKULQEG.js.map → chunk-UNQE3JWX.js.map} +1 -1
- package/dist/{chunk-JL6MDUV7.cjs → chunk-USIRUI2M.cjs} +6 -6
- package/dist/{chunk-JL6MDUV7.cjs.map → chunk-USIRUI2M.cjs.map} +1 -1
- package/dist/{chunk-I44X7O6X.js → chunk-VW6MFQFW.js} +3 -3
- package/dist/{chunk-I44X7O6X.js.map → chunk-VW6MFQFW.js.map} +1 -1
- package/dist/{chunk-CS4KQSLY.cjs → chunk-WGAGIF4F.cjs} +3 -3
- package/dist/{chunk-CS4KQSLY.cjs.map → chunk-WGAGIF4F.cjs.map} +1 -1
- package/dist/{chunk-OC5K2J6V.cjs → chunk-YMNKMIFG.cjs} +3 -3
- package/dist/{chunk-OC5K2J6V.cjs.map → chunk-YMNKMIFG.cjs.map} +1 -1
- package/dist/{chunk-4WW34DPM.js → chunk-Z4VWLWFX.js} +3 -3
- package/dist/{chunk-4WW34DPM.js.map → chunk-Z4VWLWFX.js.map} +1 -1
- package/dist/{chunk-ZARYAYQO.js → chunk-Z7XKBKQN.js} +9 -9
- package/dist/{chunk-ZARYAYQO.js.map → chunk-Z7XKBKQN.js.map} +1 -1
- package/dist/{chunk-3BCKTFOP.cjs → chunk-ZAKDIJBP.cjs} +10 -10
- package/dist/{chunk-3BCKTFOP.cjs.map → chunk-ZAKDIJBP.cjs.map} +1 -1
- package/dist/connect/docx.cjs +10 -10
- package/dist/connect/docx.js +6 -6
- package/dist/connect/index.cjs +367 -340
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +193 -166
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +7 -7
- package/dist/connect/viewer.js +6 -6
- package/dist/connection/files/grid/documentCellRenderers.d.ts +57 -0
- package/dist/connection/files/grid/documentColumns.d.ts +2 -2
- package/dist/embed/index.cjs +12 -12
- package/dist/embed/index.js +6 -6
- package/dist/facts/index.cjs +43 -43
- package/dist/facts/index.js +2 -2
- package/dist/index.cjs +98 -98
- package/dist/index.js +7 -7
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/workflow-canvas/index.cjs +11 -11
- package/dist/workflow-canvas/index.js +5 -5
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-UR4LM4RB.cjs.map +0 -1
package/dist/connect/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { useMemberLookup, ConnectedTagEntity } from '../chunk-UBI4HXT6.js';
|
|
3
3
|
export { ConnectedTagEntity, documentFieldContent, useMemberLookup } from '../chunk-UBI4HXT6.js';
|
|
4
4
|
import { useSlashField, DEFAULT_DOCUMENT_VIEWER_TABS } from '../chunk-WN7MN5DK.js';
|
|
5
5
|
export { DEFAULT_ASK_SUGGESTIONS, DEFAULT_DOCUMENT_VIEWER_LABELS, DEFAULT_DOCUMENT_VIEWER_TABS } from '../chunk-WN7MN5DK.js';
|
|
@@ -8,13 +8,13 @@ export { CAP_REACHED_MESSAGE, ZERO_BUDGET_MESSAGE, aiUsageResetTimestamp, format
|
|
|
8
8
|
export { ConnectedMailInviteCard } from '../chunk-BT2DDHMM.js';
|
|
9
9
|
import { SharedFileView, SharedFilesInbox } from '../chunk-4ML5AMMO.js';
|
|
10
10
|
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-MJJQ6FW4.js';
|
|
11
|
+
import { ConnectedTaskComposer, useProjectSummaries, useProjectSummary, primaryProjectWorkspace, ConnectedThreadTaskBar, useTaskPeople, ConnectedTaskActivityDialog } from '../chunk-22EZJLGW.js';
|
|
12
|
+
export { ConnectedTaskActivityDialog, ConnectedTaskComposer, ConnectedThreadTaskBar, ConnectedWorkflowHistory, ConnectedWorkflowRunPage, ConnectedWorkflowRunner, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_RUN_PAGE_LABELS, WorkflowRunThread, WorkflowRunWorkspaceChangedError, buildProjectSummaries, primaryProjectWorkspace, useEnsureRequiredLabels, useProjectSummaries, useProjectSummary, useRenderTaskPerson, useRequiredLabels, useTaskPeople, useWorkflowsPageState, workflowRunView } from '../chunk-22EZJLGW.js';
|
|
11
13
|
import { getRoleBadgeClass, formatRole, WorkspaceTypeBadge, getRoleDescription, PageLoading, WorkspacePageFrame, WorkspaceIdentityPanel, WorkspaceProjectSlot, WorkspaceAudienceLine, CommonWorkspaceToggle, ExpandableSection, LeaveFooter, ItalicNone, WorkspaceList, WorkspaceGroup, WorkspaceCard } from '../chunk-TOT4HHHN.js';
|
|
12
|
-
import { ConnectedTaskComposer, useProjectSummaries, useProjectSummary, primaryProjectWorkspace, ConnectedThreadTaskBar, useTaskPeople, ConnectedTaskActivityDialog } from '../chunk-POEWHRQV.js';
|
|
13
|
-
export { ConnectedTaskActivityDialog, ConnectedTaskComposer, ConnectedThreadTaskBar, ConnectedWorkflowHistory, ConnectedWorkflowRunPage, ConnectedWorkflowRunner, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_RUN_PAGE_LABELS, WorkflowRunThread, WorkflowRunWorkspaceChangedError, buildProjectSummaries, primaryProjectWorkspace, useEnsureRequiredLabels, useProjectSummaries, useProjectSummary, useRenderTaskPerson, useRequiredLabels, useTaskPeople, useWorkflowsPageState, workflowRunView } from '../chunk-POEWHRQV.js';
|
|
14
14
|
import { ProjectPicker, ProjectOptionRow, WorkspaceFormModal, ModalActionRow, FormErrorBanner, WorkspaceFieldsView, FormActions } from '../chunk-SEBNGA3F.js';
|
|
15
15
|
import { isAgentAccount, workspaceConversationCount, workspaceDocumentCount, isListedWorkspace, WORKSPACE_CATEGORY_FILTERS, projectFilterId, workspaceFilterAttributes, groupWorkspacesByProject, byRecentUpdate } from '../chunk-57CG33XJ.js';
|
|
16
|
-
import { ConnectedProfileCard, ConnectedSecuritySection, ConnectedIdentityVerification, ConnectedSessionsRow, ConnectedDangerZone, ConnectedLogoutDialog, ConnectedNotificationPreferences, useSsoSignIn, ConnectedModelSelector, useAuthPages, ConversationComposer, AgentSteps, MessageLiveSeconds, resolveSsoName, completeSsoSignIn, ConnectedForgotPassword, ConnectedPasswordChangeDialog, useContextualHints, ssoAccountStatus, AskAgainContext, ConnectedMessageArea } from '../chunk-
|
|
17
|
-
export { AgentSteps, AnswerTable, ArbiChat, AskAgainContext, ConnectedBranchControls, ConnectedCitationRenderer, ConnectedCompactConversation, ConnectedCompactLogin, ConnectedConversationDocumentPicker, ConnectedDangerZone, ConnectedEmbeddedChat, ConnectedForgotPassword, ConnectedIdentityVerification, ConnectedLoginPage, ConnectedLogoutDialog, ConnectedMessage, ConnectedMessageArea, ConnectedMessageList, ConnectedModelSelector, ConnectedNotificationPreferences, ConnectedPasswordChangeDialog, ConnectedProfileCard, ConnectedSecuritySection, ConnectedSessionsRow, ConnectedThreadsPreview, ConversationComposer, EmbeddedChatPanel, MessageDetailsModal, MessageLiveSeconds, PENDING_RECOVERY_KEY, PREMIUM_TIER_TAG, RunningSubagents, STANDARD_TIER_TAG, WorkflowStepMessage, backUpOnSignup, defaultHost, renderConnectedUser, renderSessionStatusIcon, resolveSsoName, useAuthPages, useContextualHints, useModelPicker, useOpenChunk, useOpenWorkspaceIcon, useSsoSignIn, useWorkspaceDocTitles } from '../chunk-
|
|
16
|
+
import { ConnectedProfileCard, ConnectedSecuritySection, ConnectedIdentityVerification, ConnectedSessionsRow, ConnectedDangerZone, ConnectedLogoutDialog, ConnectedNotificationPreferences, useSsoSignIn, ConnectedModelSelector, useAuthPages, ConversationComposer, AgentSteps, MessageLiveSeconds, resolveSsoName, completeSsoSignIn, ConnectedForgotPassword, ConnectedPasswordChangeDialog, useContextualHints, ssoAccountStatus, AskAgainContext, ConnectedMessageArea } from '../chunk-UNQE3JWX.js';
|
|
17
|
+
export { AgentSteps, AnswerTable, ArbiChat, AskAgainContext, ConnectedBranchControls, ConnectedCitationRenderer, ConnectedCompactConversation, ConnectedCompactLogin, ConnectedConversationDocumentPicker, ConnectedDangerZone, ConnectedEmbeddedChat, ConnectedForgotPassword, ConnectedIdentityVerification, ConnectedLoginPage, ConnectedLogoutDialog, ConnectedMessage, ConnectedMessageArea, ConnectedMessageList, ConnectedModelSelector, ConnectedNotificationPreferences, ConnectedPasswordChangeDialog, ConnectedProfileCard, ConnectedSecuritySection, ConnectedSessionsRow, ConnectedThreadsPreview, ConversationComposer, EmbeddedChatPanel, MessageDetailsModal, MessageLiveSeconds, PENDING_RECOVERY_KEY, PREMIUM_TIER_TAG, RunningSubagents, STANDARD_TIER_TAG, WorkflowStepMessage, backUpOnSignup, defaultHost, renderConnectedUser, renderSessionStatusIcon, resolveSsoName, useAuthPages, useContextualHints, useModelPicker, useOpenChunk, useOpenWorkspaceIcon, useSsoSignIn, useWorkspaceDocTitles } from '../chunk-UNQE3JWX.js';
|
|
18
18
|
import { useSlashSkillWorkflows, ConnectedWorkflowStart, useLaunchWorkflow } from '../chunk-WGPJUGQ4.js';
|
|
19
19
|
export { ConnectedWorkflowStart, PROMPT_BINDINGS, parseTypedSkill, useLaunchWorkflow, useSlashItems, useSlashMenuItems, useSlashSkillWorkflows } from '../chunk-WGPJUGQ4.js';
|
|
20
20
|
import { useSelectWorkspace } from '../chunk-YG4S7OCD.js';
|
|
@@ -23,7 +23,7 @@ import { DocumentUser } from '../chunk-KYR3TXHS.js';
|
|
|
23
23
|
export { DocumentUser } from '../chunk-KYR3TXHS.js';
|
|
24
24
|
import { useIsExternalAccount, withoutMarketplace, isExternalAccount, useWorkflowDefinitions, useCanBrowseSkills, useWorkflowTasks } from '../chunk-SX4MHN4P.js';
|
|
25
25
|
export { useCanBrowseSkills, useIsExternalAccount, useSkillsEnabled, useWorkflowDefinitions, useWorkflowTasks } from '../chunk-SX4MHN4P.js';
|
|
26
|
-
import { FactSearchBar, FactSearchTotals, FactSearchPending, FactSearchNoMatches, FactSearchResult, FactsToolbar, FactsFieldsButton, FactComposer, FactDateInput, FactSourcesRow, FactsLoading, FactsLoadError, FactsEmptyState, FactsCalendar, FactsGanttPane, FactsBulkBar, FactFieldRow, FactLabelsCell, enableFactTableColumnResize, createFactColumns, FactRowActions, FactSourceGroup, sourceDocCount, DEFAULT_FACT_COLUMN_LABELS } from '../chunk-
|
|
26
|
+
import { FactSearchBar, FactSearchTotals, FactSearchPending, FactSearchNoMatches, FactSearchResult, FactsToolbar, FactsFieldsButton, FactComposer, FactDateInput, FactSourcesRow, FactsLoading, FactsLoadError, FactsEmptyState, FactsCalendar, FactsGanttPane, FactsBulkBar, FactFieldRow, FactLabelsCell, enableFactTableColumnResize, createFactColumns, FactRowActions, FactSourceGroup, sourceDocCount, DEFAULT_FACT_COLUMN_LABELS } from '../chunk-5ZUA3JRB.js';
|
|
27
27
|
import { docIdsOf, toFactCitations, EMPTY_FACT_DATE_FIELDS, withoutChunk, factDateSpanToFields, withChunk, factDateFieldsToSpan, withoutDoc, withDoc, citedVersionRef } from '../chunk-CDDOLWSF.js';
|
|
28
28
|
import { HomeLoadError, HomeFrame, HomeMain, HomeCenteredScroll, HomeCenteredColumn, DashboardRoot, DashboardBand, DashboardColumns, RecentList, DASHBOARD_QUIET_ACTION_CLASS, DashboardAction, FactsStrip, ActionMenuDialog, GettingStartedStrip, FactMark, CreateTile } from '../chunk-VY3HTT37.js';
|
|
29
29
|
import { ProjectBandTitle, PlainBandTitle } from '../chunk-DEJ3EWPK.js';
|
|
@@ -31,10 +31,8 @@ import '../chunk-CPLZ6XGT.js';
|
|
|
31
31
|
import '../chunk-5PAQWN5U.js';
|
|
32
32
|
export { EMBEDDED_SELECTED_DOCS_KEY, SELECTED_WORKSPACE_KEY } from '../chunk-PTCHPYWX.js';
|
|
33
33
|
import '../chunk-AZDPAV7E.js';
|
|
34
|
-
import {
|
|
35
|
-
|
|
36
|
-
import { useConnectedWorkspaceRole, ConnectedWorkflowsTable } from '../chunk-4WW34DPM.js';
|
|
37
|
-
export { ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, useConnectedWorkspaceRole, useDocxCommentTarget, useNativeDocxSupport } from '../chunk-4WW34DPM.js';
|
|
34
|
+
import { useConnectedWorkspaceRole, ConnectedWorkflowsTable } from '../chunk-Z4VWLWFX.js';
|
|
35
|
+
export { ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, useConnectedWorkspaceRole, useDocxCommentTarget, useNativeDocxSupport } from '../chunk-Z4VWLWFX.js';
|
|
38
36
|
import { groupCandidates } from '../chunk-MTSKK3BN.js';
|
|
39
37
|
import { BUILTIN_TEMPLATE_NAME, builtinHouseTemplate } from '../chunk-Y7UIFRWC.js';
|
|
40
38
|
import { useOpenWorkflow } from '../chunk-AYIPCUPG.js';
|
|
@@ -48,12 +46,12 @@ import { ConnectedDocumentToolsProvider } from '../chunk-GNBYRV46.js';
|
|
|
48
46
|
export { ConnectedDocumentToolsProvider } from '../chunk-GNBYRV46.js';
|
|
49
47
|
import { usePendingFolders, useFilesStore, useAiReviewStore, useFilesPrefs, filesViewMode, useFilesGridStates, FILES_PREFS_KEY, useFilesDialogs } from '../chunk-OYSTBNNA.js';
|
|
50
48
|
export { FILES_PREFS_KEY, filesViewMode, useAiReviewStore, useFilesDialogs, useFilesGridStates, useFilesPrefs, useFilesStore, usePendingFolders } from '../chunk-OYSTBNNA.js';
|
|
51
|
-
import { DocumentWorkspaceContext, useDocumentWorkspace, ConnectedMarkdown, WorkspaceDocumentReference } from '../chunk-
|
|
52
|
-
export { ConnectedMarkdown, DocumentWorkspaceContext, ExternalLink, InternalDocLink, MermaidDiagram, WorkspaceDocumentReference, useDocumentWorkspace } from '../chunk-
|
|
53
|
-
import { FolderTile, FileTile, openPendingSyncDialog, UserAvatar, useDocumentFolders, DocumentNameCell,
|
|
49
|
+
import { DocumentWorkspaceContext, useDocumentWorkspace, ConnectedMarkdown, WorkspaceDocumentReference } from '../chunk-3PV25ICC.js';
|
|
50
|
+
export { ConnectedMarkdown, DocumentWorkspaceContext, ExternalLink, InternalDocLink, MermaidDiagram, WorkspaceDocumentReference, useDocumentWorkspace } from '../chunk-3PV25ICC.js';
|
|
51
|
+
import { FolderTile, FileTile, openPendingSyncDialog, UserAvatar, useDocumentFolders, DocumentNameCell, DocumentFolderCell, RelatedDocumentsCell, DocumentSharedCell, DocumentLabelsCell, StatusCell } from '../chunk-TVJAVK2G.js';
|
|
54
52
|
export { ConnectedPendingSyncDialog, DocumentFolderCell, DocumentLabelsCell, DocumentNameCell, DocumentSharedCell, DocumentStatusGlyph, DocumentSyncGlyph, FileTooltipContent, RelatedDocumentsCell, StatusCell, UserAvatar, isActiveDocumentStatus, openPendingSyncDialog, parseQuotaError, startMenuItem, useDocumentFolders } from '../chunk-TVJAVK2G.js';
|
|
55
53
|
import { DraggableHeader, PremiumModelsFrame, ConnectionsLoading, ConnectionsError, ConnectionsEmpty, UsageToggle, SettingsPage, UsageSummary, AppearanceSettings, SettingsSwitchRow, SettingsSwitchGroup, callsSwitchState, WorkOfflineToggle, UsageLineChart, PlanStack, PlanNotice, PlanPickerCard, PlanPickerHeader, PricingToggle, PromoCodeInput, PlanActionButton, formatSessionTtl, EmailWorkspaceDialogView, SyncDialogBody, SyncField, SyncSelect, SyncSmallNote, SyncLoading, SyncReconnectNotice, SyncNote, SyncTreeFrame, SyncLinkRow, SyncLinkButton, SyncOptions, SyncOptionToggle, SyncDialogFooter, InvoicesDialog, PlanDialogFrame, ProjectList, RenameDialog, SharedProjectsSection, SharedProjectRow, MoreInfo, MoreInfoList, UsagePanel, UsageQuotaHint, UsageSection, UsageLegend, UsageProportionBar, UsageActionButton, ProjectDetailHeader, PlanBadge, ProjectDetailSection, QuotaExceededDialogView, InviteContactsDialog, WelcomeDialog, applyTriStateFilters, PanelFrame, PanelAddButton, PanelFrameBody, PanelScroll, PanelActionsRow, applyInvertedIndexFilter, ConfigSwitcherBar, PanelNote, ConversationTitleSection, ModelSelectionSection, FloatingPanel, ProjectRow, QuotaMeter, FilterChip, buildInvertedIndex, serverConnectionView, ServerConnectionButton, ModelProviderLabel, PlanInfoPopover, PlanCardGrid, ReferralRewardSummary, CheckoutDialogFrame, SyncFolderRow, SyncFolderStatus, PlanTierOption, PlanActionRow, SubscriptionStatusView, DailyCapField, ConnectionCard, ReferralRewardNote } from '../chunk-N77UYRV7.js';
|
|
56
|
-
import { FilterButton, searchExplorerDocuments, buildExplorerEntries, collectFolderDocs, joinFolderPath, getExplorerDisplayName, RECENTLY_DELETED_HINT, RECENTLY_DELETED_HINT_PLURAL, canDeleteDocument, ExplorerFrame, ExplorerStage, ExplorerScroller, ExplorerLoadingTiles, ExplorerEmpty, ExplorerMarquee, ExplorerDropOverlay, ExplorerDragPreview,
|
|
54
|
+
import { FilterButton, searchExplorerDocuments, buildExplorerEntries, collectFolderDocs, joinFolderPath, getExplorerDisplayName, RECENTLY_DELETED_HINT, RECENTLY_DELETED_HINT_PLURAL, canDeleteDocument, ExplorerFrame, ExplorerStage, ExplorerScroller, ExplorerLoadingTiles, ExplorerEmpty, ExplorerMarquee, ExplorerDropOverlay, ExplorerDragPreview, AiReviewDialogView, TagFormRoot, TagFormNameField, TagFormSelectField, TagFormNote, TagFormOptionsEditor, TagFormInstructionField, TagFormMeta, TagFormFooter, TagFormSharedToggle, FilesViewCenter, FilesFilterBar, TransferProgressView, TransferResumeBanner, ExportResultsReport, TransferScopeChooser, TransferKindsPicker, TransferReferencesChooser, ExportMethodChooser, ExportWorkspacePicker, TransferConflictChooser, TransferPlanSummary, ExportFooter, ExportModalTitle, sortFields, filterFieldsByName, fieldsApplyBarCopy, FieldsEditorRoot, FieldsEditorToolbar, FieldsEditorList, FieldRow, FieldsEmptyState, fieldsEmptyText, FieldsApplyBar, FieldsManagerDefinition, FieldsManagerBody, FieldsManagerTitle, ROW_MIN, rowHeightForLines, linesForRowHeight, RowDensityControl, VendorLogo, FilesAddMenu, UploadFrame, PrivacyExplainerModal, parseFolderSegments, FolderFilterButton, FolderPickerRow, UploadContainer, SelectedFilesList, RejectedFilesList, UploadErrorMessage, UploadProgress, MultiSelectCellEditor, DOCUMENT_TYPE_OPTIONS, DEFAULT_DOCUMENT_COLUMNS, shareStateOf, BulkActionsBar, shareTooltipFor, MoveToFolderDialog, FolderCommandList, BulkTagEditorDialog, BulkReplaceDialog, DOCUMENTS_ROW_HEIGHT_INITIAL, EMAIL_VIEW_COLUMNS, useGridViews, ViewSelectorMenu, applyColumnLayout, applyViewColumns, sortExplorerFiles, FilesPage, UrlInputDialog, FilesPageHeader, FilesToolbar, ExplorerFileNavigator, NavigatorPickerBar, FilesPageMain, DocumentGrid, resolveDocumentGridLayout, FilesModalFooter, BulkLabelSelectView, LabelMultiSelectView, DocStatusIcon, confirmHideFromMembers, DocumentsFolderButton, FilesTagsButton, UploadSourceSection, UploadSourcePicker, UploadBrowseButtons, canChangeVisibility, canEditDocumentFields, FieldLabelsSelect, UploadFooterBar, ShareToggle, ImportPanel, ImportFamilySection, ImportList, ImportRow, TagColumnHeader, CheckboxCell, TaskSection, UploadDropArea, ImportSummary, ImportAside, FolderSummary, ImportProgress, ImportRunActions, ImportHint, ImportActionButton, UploadUrlButton } from '../chunk-OOYT5A7W.js';
|
|
57
55
|
import { ModalBreadcrumbHeader, ModalCrumbs } from '../chunk-RC6VTY2H.js';
|
|
58
56
|
import { ViewToggle, DocumentViewToggle } from '../chunk-OHRWYRTH.js';
|
|
59
57
|
import { formatBytes, reducedRateNote, RECENTLY_DELETED_NOTE, kindRows, usedPct, usedOfLimit, MAIL_FOLDER_LABELS, itemTitle, ITEM_LABELS, KIND_LABELS } from '../chunk-653XMGF4.js';
|
|
@@ -63,11 +61,11 @@ import '../chunk-2YOVK524.js';
|
|
|
63
61
|
import { SettingsPanel, SettingsDisclosure, SettingsSection, SettingsCard, SettingsRow, SettingsActionRow } from '../chunk-PBQNZWSX.js';
|
|
64
62
|
import '../chunk-UIHNCQAA.js';
|
|
65
63
|
import '../chunk-IA5BYEO7.js';
|
|
66
|
-
import { WorkspaceActivityList, TagTable, tagsPageNouns, entitiesPhrase, ExtractEntitiesDialog, GridRowNavigator, LoadingIndicator, EntityIdentityBar, IDENTITY_NAME_MAX_LENGTH, Toolbar, documentCount, useTipsPlacement, tagTableDocx, tagTableLabels, TagDetail, tagDetailLabels, tagKindDescription, glossaryEntries, glossaryDocx, glossaryMarkdown, glossaryFileName } from '../chunk-
|
|
64
|
+
import { WorkspaceActivityList, TagTable, tagsPageNouns, entitiesPhrase, ExtractEntitiesDialog, GridRowNavigator, LoadingIndicator, EntityIdentityBar, IDENTITY_NAME_MAX_LENGTH, Toolbar, documentCount, useTipsPlacement, tagTableDocx, tagTableLabels, TagDetail, tagDetailLabels, tagKindDescription, glossaryEntries, glossaryDocx, glossaryMarkdown, glossaryFileName } from '../chunk-VW6MFQFW.js';
|
|
67
65
|
import { ThemeEditor } from '../chunk-4FV5DO3V.js';
|
|
68
66
|
import '../chunk-J77BACGX.js';
|
|
69
|
-
import { MemberAvatarStack } from '../chunk-VGHPCF7Q.js';
|
|
70
67
|
import { WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton } from '../chunk-66NMPTOH.js';
|
|
68
|
+
import { MemberAvatarStack } from '../chunk-VGHPCF7Q.js';
|
|
71
69
|
import { WELCOME_REPLAY_VIEW, startWelcomeReplay } from '../chunk-SK3GBHPJ.js';
|
|
72
70
|
import { TimelineZoomControl } from '../chunk-QCK3YKT4.js';
|
|
73
71
|
import '../chunk-UJE32SST.js';
|
|
@@ -85,6 +83,8 @@ import '../chunk-3SBEWWKT.js';
|
|
|
85
83
|
import { UsageMeter } from '../chunk-MHFWGIF4.js';
|
|
86
84
|
import '../chunk-NHZK64TQ.js';
|
|
87
85
|
import '../chunk-ELA7Y5YW.js';
|
|
86
|
+
import { PassagePill } from '../chunk-3IT5LPLF.js';
|
|
87
|
+
import { useCopyText } from '../chunk-FACZSNRJ.js';
|
|
88
88
|
import '../chunk-K4BGOPGG.js';
|
|
89
89
|
import { DataTable, MetricCard } from '../chunk-I46XTM3W.js';
|
|
90
90
|
import { tid } from '../chunk-AMTWY22T.js';
|
|
@@ -107,13 +107,15 @@ import { TriStateFilterMenu } from '../chunk-ZQ5YTC3P.js';
|
|
|
107
107
|
import '../chunk-RLWIUUQ5.js';
|
|
108
108
|
import { SelectionBar, SelectionBarAction } from '../chunk-L3BEWZWT.js';
|
|
109
109
|
import { FilterInput } from '../chunk-P4CH2ATT.js';
|
|
110
|
-
import { DocumentPicker } from '../chunk-WNDIVNPT.js';
|
|
111
110
|
import { ActionLink } from '../chunk-U53SIJES.js';
|
|
112
111
|
import { GridView } from '../chunk-7F5Z4K5W.js';
|
|
113
112
|
import { StreamedArtifactFrame } from '../chunk-Z42EEBON.js';
|
|
114
113
|
import { isDeepLinkPath, parseHref, hrefFor } from '../chunk-N7X5O7B5.js';
|
|
115
114
|
import { RecoveryKeyDialog, AuthLayout, AuthField, AuthLink, AuthAlert, AuthConsent } from '../chunk-FVZ2CN4A.js';
|
|
116
115
|
import { PasswordStrengthInput } from '../chunk-I6F6RBKV.js';
|
|
116
|
+
import { attendeeKey, upcomingOf, conferenceUrl, isWebinarConference, canJoinEvent, calendarToListItem, buildGridEvents, pendingCreateToGrid, newEventDraft, MiniMonth, CalendarList, CalendarGrid, printCalendar, EventDetails, ScopeDialog, CalendarFormDialog, ProposeTimeDialog, groupSlotsByDay, publicBookingMessage, formatSlotRange, zoneOptions, buildTimeChangeRequest, eventToDraft, needsScope, validateDraft, CALENDAR_DEFAULT_LABELS, buildCreateBody, buildDeleteTarget, EventEditor, toSettingsValue, CalendarSettingsForm, describeCalendarError, normalizeFeedUrl, parseOverlayLink, formatEventWhen, isAllDayDraft, draftRangeUtc, freeBusyToRows, SchedulingAssistant, applySuggestion, toSuggestionViews, bookingLink, defaultRoomWindow, bookingToForm, emptyBookingForm, slugify, WeeklyHoursEditor, validateBookingForm, formToBookingBody, WEEKDAY_NAMES, formatBusy, buildEditRequest } from '../chunk-LTRFQ2IC.js';
|
|
117
|
+
import { detectTimeZone, utcToDate, formatPlainDate, formatInZone, safeZone, todayInZone, addDays, wallToUtc } from '../chunk-OJIX5NBN.js';
|
|
118
|
+
import { DocumentPicker } from '../chunk-WNDIVNPT.js';
|
|
117
119
|
import { DmCallButton, ScheduleCallButton, ConnectedConversationCallActions, NewCallChip, GroupCallButton, useMeetingThreadMessages, useProvisionalSpeakers, ProvisionalSpeakers, CallConversationEmpty, ConnectedCallChatHistory } from '../chunk-UMBXCCZA.js';
|
|
118
120
|
export { useMeetingThreadMessages } from '../chunk-UMBXCCZA.js';
|
|
119
121
|
import '../chunk-CHQMVIHR.js';
|
|
@@ -154,16 +156,14 @@ import { fmtDate } from '../chunk-X5YMI6A7.js';
|
|
|
154
156
|
import { useIsPhone, useMediaQuery } from '../chunk-SLSBJRWW.js';
|
|
155
157
|
import { ConversationFilter } from '../chunk-H773F7OR.js';
|
|
156
158
|
import '../chunk-NPLYHR2E.js';
|
|
157
|
-
import { buildDeepLinkUrl } from '../chunk-SV65E4QW.js';
|
|
158
|
-
import { PassagePill } from '../chunk-3IT5LPLF.js';
|
|
159
|
-
import { useCopyText } from '../chunk-FACZSNRJ.js';
|
|
160
159
|
import { useBlocksEnvironment, useRequestedSettingsSection, useIntentRequest, mailComposeRequest, mailFolderRequest, mailDraftRequest, mailMessageRequest, useCalendarViewStore, conversationStartRequest } from '../chunk-YUHSDOPW.js';
|
|
161
160
|
export { requestCalendarComposer, requestCalendarEvent, useCalendarViewStore } from '../chunk-YUHSDOPW.js';
|
|
162
161
|
import { openDialog, closeDialog, useDialogProps, ConfirmDialog } from '../chunk-WTTPZMZ7.js';
|
|
163
162
|
import { ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
|
|
163
|
+
import { buildDeepLinkUrl } from '../chunk-SV65E4QW.js';
|
|
164
164
|
import '../chunk-UP3GCNPM.js';
|
|
165
165
|
import '../chunk-VUNV25KB.js';
|
|
166
|
-
import { useDocument, usePeople, useArbiSession, useArbiSessionState, isPanelOpen, DOCUMENT_VIEWER_PANEL, useArbiSessionStore, useUpdateDocuments, useDeleteDocuments, useRenameFolder, useDownloadDocuments, useTags, useDocumentHostActions, useDocumentThumbnails, HtmlIcon, defaultLayoutState, selectDraft, useAssistantName, assistantLabels, useArbi, useAudioRecorder, MicRecordingOverlay, useWorkspaces, isNetworkFailure, hasPendingMailChange, OUTBOX_FOLDER, useOfflineMailActive, useConversations, useRunConversation, useWorkspaceActivity, useWorkspaceUsers, getWorkspaceKind, callLink, openCall, startDmCall, calendarQueryKeys, mailQueryKeys, arbiQueryKeys, invalidateConversationLists, isWorkspaceNotificationType, describeCalendarNotification, notificationUserName, describeServerNotification, isSignatureNotificationType, useNotifications, useDeleteNotifications, useMarkNotificationsRead, useTransientView, useCallsEnabled, useDocuments, serverNotificationBellEntry, documentDisplayName, useArbiWebSocket, isNotificationRow, useReconnect, usePendingSyncCounts, useArbiHost, useOutbox, usePendingMailChanges, useWorkspaceNotificationLevel, useFollowThread, useUploadSkillFiles, useSkills, useSaveSkill, useSetSkillVisibility, useDeleteSkill, useSkillSource, useInstallSkillPack, useAgentModels, useMcpTools, useAgentConfig, useAgentWorkspaces, useCreateAgent, useSaveAgentConfig, useGrantAgentAccess, useRevokeAgentAccess, useGenerateAgentAvatar, useAgents, useDeleteAgents, useAgentSession, useAgentChats, useStartAgentSession, useCloseAgentSession, useSwitchWorkspace, useWorkItems, ArtifactCanvas, useTagKindSchema, useCreateTag, useSetTagValues, useUpdateTagKindSchema, useUpdateTag, useGenerateDocTags, useFacts, useDeleteTag, useExtractEntities, useEntityExtractionDocIds, useStartWorkspaceTransfer, useResumeWorkspaceTransfer, useCancelWorkspaceTransfer, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceExportDownload, usePlanWorkspaceTransfer, isTransferResumable, isTransferFinished, useFactsSearch, useShellWorkspaces, useMailClient, defaultMailAlias, useClaimNativeAlias, useMailOnline, useConnectMailAccount, useDisconnectMailAccount, useMailPolicy, useMailAccounts, useProfile, useUserSettings, useUpdateUserSettings, useDismissedTips, useAvailableModels, useModelConnections, useDirectModelUsage, useSaveModelConnection, useRemoveModelConnection, useUnlockModelConnections, useConnectorVendorVisibility, useConnectorCatalog, useMyConnectors, useDisconnectConnector, useSlackConnection, useDisconnectSlack, isMailboxSyncVendor, isSharePointVendor, useWorkspaceTrash, useInvalidateStorage, useStorageActions, useStorageItems, useStorageItemNames, useStorageProjects, useUserUsageToday, formatGbp, useFeatureSwitch, useCallsConfig, useCurrentUser, useSyncOfflineMailbox, useOfflineMailSettings, useOfflineMailStatus, useArbiWsStatus, useWorkOffline, useFeature, useIsEntitled, useStorageSnapshots, useUpdateWorkspace, useAddWorkspaceMembers, useRemoveWorkspaceMembers, useContacts, useInviteContacts, useDeleteContact, useSetWorkspaceMemberRoles, usePeopleSearch, useIsSlow, useProducts, useCreateProject, useDeleteProject, toShellWorkspace, useUploadDocuments, useSetWorkspaceHouseTemplate, useSetDeploymentHouseTemplate, supportsHouseTemplates, workspaceHouseTemplateId, isDeploymentAdmin, useHouseTemplateCandidates, useWorkspaceArchive, useArchiveWorkspace, useSessions, useAuthorizeLimits, useTerminateSession, useUnarchiveWorkspace, isArchiveMoving, useCanCreateProjects, PROJECT_CREATION_DENIED_REASON, useEnableMailboxSync, useMailboxFolders, useEnableDriveSync, useDriveFolderChildren, connectorErrorStatus, useProjectInvoices, useProjects, useUpdateProjectFields, useChargeWatch, useAddonQuote, STILL_WORKING, useProjectBillingPortal, useProjectUsage, MODEL_GROUP_LABELS, useRefreshProject, useBoxRole, cachedQuotaUsedUp, useDeleteWorkspaces, useArchiveProgressPolling, useCreateContact, useUpdateContact, useLinkContact, useEntitlements, useImportContacts, entitlementRefusal, myChatId, useChatThread, useChatPost, useDeleteChatMessage, useMarkChatRead, setOpenChat, useAgentDmStatus, annotateThread, userDisplayName, DmComposer, TypingIndicator, useRenameChat, useAddChatMembers, useRemoveChatMember, useChats, useChatSummaries, useRequestWorkspaceAccess, ConversationList, dmTabId, useUnreadByPeer, useConfigSchema, useSaveConfig, ArbiBotHeadIcon, TaskThreadPendingError, useStartTaskQuery, useCreateWork, useCalendarEvents, useCalendars, useUploadFromUrls, useCurrentWorkspace, useFeatureCheck, useDocumentsSupport, isZipFile, prepareUploadFiles, UPLOAD_MAX_FILE_SIZE, filesFromDrop, UPLOAD_ACCEPT, useOfflineDocumentIds, MAX_RETRIEVE_DOC_IDS, useSemanticSearch, useAssignDocTags, useLocalDrafts, queueMailChange, enqueueOutbox, deleteLocalDraft, saveLocalDraft, loadOfflineMailAttachment, useMailUnlock, useMailFolders, useMailMessages, useMailDraftCompose, useMailMessage, useMailCache, useMailConversations, toMailConversation, groupMailConversations, useNativeThreadKeys, mailConversationKey, MailOfflineUnavailableError, accountPath, useClaimSecureMail, useCanHostCalls, useOpenCallMeetingChat, useFetchCalendarEvent, useCalendarSettings, useCalendarOverlays, useCalendarOutbox, useCalendarAccounts, useSyncAccountsOnOpen, useResumeCalendarAccountConnect, useCreateEvent, useUpdateEvent, useDeleteEvent, useMoveEvent, useRespondToEvent, useCreateCalendar, useUpdateCalendar, useDeleteCalendar, useImportCalendar, useSaveCalendarSettings, useRefreshCalendar, useCalendarEvent, getPublicBookingPage, bookPublicSlot, PublicBookingError, useActiveConfigId, useUploadFiles, useUpdateDocTag, useRemoveDocTags, useKeepDocumentsOffline, useRemoveDocumentsOffline, useOpenViewerDocumentId, subscribeDocumentRows, useRefreshDocuments, useArbiWsStore, isTableViewOf, viewsOfTable, useDocumentsLoading, selectViewingDocumentId, useWorkspaceProcessing, DISMISSED_TASK_TTL_MS, useDatabases, useCreateDatabase, useImportDatabase, useChatArrivals, useConversationPendingAuth, openAccessRequest, useSignOut, confirmLosingOfflineMail, useSupportTickets, useSupportTicket, useRateSupportTicket, ImageCropper, useConversationSettings, useConversationActivity, useConversationItems, threadTabId, useUpdateConversation, useAgentRunControl, useDeleteConversation, useCanEditShared, useIsWorkspaceOwner, useWorkflows, useWorkspaceRole, useConversationDocuments, readWorkspaceLastOpened, isQueuedCalendarWrite, DateSeparator, ChatBubble, isAliasTakenError, nextAliasSuggestion, aliasTakenMessage, requestPersistentStorage, wipeOfflineMail, mailJson, connectorReturnTo, GitHubIcon, AppleIcon, GoogleIcon, LinkedInIcon, downloadRecoveryFile, cropImage, setWorkOfflineIn,
|
|
166
|
+
import { useDocument, usePeople, useArbiSession, useArbiSessionState, isPanelOpen, DOCUMENT_VIEWER_PANEL, useArbiSessionStore, useUpdateDocuments, useDeleteDocuments, useRenameFolder, useDownloadDocuments, useTags, useDocumentHostActions, useDocumentThumbnails, HtmlIcon, defaultLayoutState, selectDraft, useAssistantName, assistantLabels, useArbi, useAudioRecorder, MicRecordingOverlay, useWorkspaces, isNetworkFailure, hasPendingMailChange, OUTBOX_FOLDER, useOfflineMailActive, useConversations, useRunConversation, useWorkspaceActivity, useWorkspaceUsers, getWorkspaceKind, callLink, openCall, startDmCall, calendarQueryKeys, mailQueryKeys, arbiQueryKeys, invalidateConversationLists, isWorkspaceNotificationType, describeCalendarNotification, notificationUserName, describeServerNotification, isSignatureNotificationType, useNotifications, useDeleteNotifications, useMarkNotificationsRead, useTransientView, useCallsEnabled, useDocuments, serverNotificationBellEntry, documentDisplayName, useArbiWebSocket, isNotificationRow, useReconnect, usePendingSyncCounts, useArbiHost, useOutbox, usePendingMailChanges, useWorkspaceNotificationLevel, useFollowThread, useUploadSkillFiles, useSkills, useSaveSkill, useSetSkillVisibility, useDeleteSkill, useSkillSource, useInstallSkillPack, useAgentModels, useMcpTools, useAgentConfig, useAgentWorkspaces, useCreateAgent, useSaveAgentConfig, useGrantAgentAccess, useRevokeAgentAccess, useGenerateAgentAvatar, useAgents, useDeleteAgents, useAgentSession, useAgentChats, useStartAgentSession, useCloseAgentSession, useSwitchWorkspace, useWorkItems, ArtifactCanvas, useTagKindSchema, useCreateTag, useSetTagValues, useUpdateTagKindSchema, useUpdateTag, useGenerateDocTags, useFacts, useDeleteTag, useExtractEntities, useEntityExtractionDocIds, useStartWorkspaceTransfer, useResumeWorkspaceTransfer, useCancelWorkspaceTransfer, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceExportDownload, usePlanWorkspaceTransfer, isTransferResumable, isTransferFinished, useFactsSearch, useShellWorkspaces, useMailClient, defaultMailAlias, useClaimNativeAlias, useMailOnline, useConnectMailAccount, useDisconnectMailAccount, useMailPolicy, useMailAccounts, useProfile, useUserSettings, useUpdateUserSettings, useDismissedTips, useAvailableModels, useModelConnections, useDirectModelUsage, useSaveModelConnection, useRemoveModelConnection, useUnlockModelConnections, useConnectorVendorVisibility, useConnectorCatalog, useMyConnectors, useDisconnectConnector, useSlackConnection, useDisconnectSlack, isMailboxSyncVendor, isSharePointVendor, useWorkspaceTrash, useInvalidateStorage, useStorageActions, useStorageItems, useStorageItemNames, useStorageProjects, useUserUsageToday, formatGbp, useFeatureSwitch, useCallsConfig, useCurrentUser, useSyncOfflineMailbox, useOfflineMailSettings, useOfflineMailStatus, useArbiWsStatus, useWorkOffline, useFeature, useIsEntitled, useStorageSnapshots, useUpdateWorkspace, useAddWorkspaceMembers, useRemoveWorkspaceMembers, useContacts, useInviteContacts, useDeleteContact, useSetWorkspaceMemberRoles, usePeopleSearch, useIsSlow, useProducts, useCreateProject, useDeleteProject, toShellWorkspace, useUploadDocuments, useSetWorkspaceHouseTemplate, useSetDeploymentHouseTemplate, supportsHouseTemplates, workspaceHouseTemplateId, isDeploymentAdmin, useHouseTemplateCandidates, useWorkspaceArchive, useArchiveWorkspace, useSessions, useAuthorizeLimits, useTerminateSession, useUnarchiveWorkspace, isArchiveMoving, useCanCreateProjects, PROJECT_CREATION_DENIED_REASON, useEnableMailboxSync, useMailboxFolders, useEnableDriveSync, useDriveFolderChildren, connectorErrorStatus, useProjectInvoices, useProjects, useUpdateProjectFields, useChargeWatch, useAddonQuote, STILL_WORKING, useProjectBillingPortal, useProjectUsage, MODEL_GROUP_LABELS, useRefreshProject, useBoxRole, cachedQuotaUsedUp, useDeleteWorkspaces, useArchiveProgressPolling, useCreateContact, useUpdateContact, useLinkContact, useEntitlements, useImportContacts, entitlementRefusal, myChatId, useChatThread, useChatPost, useDeleteChatMessage, useMarkChatRead, setOpenChat, useAgentDmStatus, annotateThread, userDisplayName, DmComposer, TypingIndicator, useRenameChat, useAddChatMembers, useRemoveChatMember, useChats, useChatSummaries, useRequestWorkspaceAccess, ConversationList, dmTabId, useUnreadByPeer, useConfigSchema, useSaveConfig, ArbiBotHeadIcon, TaskThreadPendingError, useStartTaskQuery, useCreateWork, useCalendarEvents, useCalendars, useUploadFromUrls, useCurrentWorkspace, useFeatureCheck, useDocumentsSupport, isZipFile, prepareUploadFiles, UPLOAD_MAX_FILE_SIZE, filesFromDrop, UPLOAD_ACCEPT, useOfflineDocumentIds, MAX_RETRIEVE_DOC_IDS, useSemanticSearch, useAssignDocTags, useLocalDrafts, queueMailChange, enqueueOutbox, deleteLocalDraft, saveLocalDraft, loadOfflineMailAttachment, useMailUnlock, useMailFolders, useMailMessages, useMailDraftCompose, useMailMessage, useMailCache, useMailConversations, toMailConversation, groupMailConversations, useNativeThreadKeys, mailConversationKey, MailOfflineUnavailableError, accountPath, useClaimSecureMail, useCanHostCalls, useOpenCallMeetingChat, useFetchCalendarEvent, useCalendarSettings, useCalendarOverlays, useCalendarOutbox, useCalendarAccounts, useSyncAccountsOnOpen, useResumeCalendarAccountConnect, useCreateEvent, useUpdateEvent, useDeleteEvent, useMoveEvent, useRespondToEvent, useCreateCalendar, useUpdateCalendar, useDeleteCalendar, useImportCalendar, useSaveCalendarSettings, useRefreshCalendar, useCalendarEvent, getPublicBookingPage, bookPublicSlot, PublicBookingError, useActiveConfigId, useUploadFiles, useUpdateDocTag, useRemoveDocTags, useKeepDocumentsOffline, useRemoveDocumentsOffline, useOpenViewerDocumentId, subscribeDocumentRows, useRefreshDocuments, useArbiWsStore, isTableViewOf, viewsOfTable, useDocumentsLoading, selectViewingDocumentId, useWorkspaceProcessing, DISMISSED_TASK_TTL_MS, useDatabases, useCreateDatabase, useImportDatabase, useChatArrivals, useConversationPendingAuth, openAccessRequest, useSignOut, confirmLosingOfflineMail, useSupportTickets, useSupportTicket, useRateSupportTicket, ImageCropper, useConversationSettings, useConversationActivity, useConversationItems, threadTabId, useUpdateConversation, useAgentRunControl, useDeleteConversation, useCanEditShared, useIsWorkspaceOwner, useWorkflows, useWorkspaceRole, useConversationDocuments, readWorkspaceLastOpened, isQueuedCalendarWrite, DateSeparator, ChatBubble, isAliasTakenError, nextAliasSuggestion, aliasTakenMessage, requestPersistentStorage, wipeOfflineMail, mailJson, connectorReturnTo, GitHubIcon, AppleIcon, GoogleIcon, LinkedInIcon, downloadRecoveryFile, cropImage, setWorkOfflineIn, isDeploymentUserNotification, getWorkspaceActionText, getWorkspaceSentPhrase, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_TITLE, documentActivityPhrase, inputRequestTitle, WORK_NOTIFICATION_LABELS, ConversationScope, useSessionView, useUpdateFact, useDeleteFact, useCreateFact, usePassageQuotes, useAccountClient, formatGbpPerMillionTokens, usePlanQuote, useCreateProjectCheckout, useInvalidateProjects, useInvalidateEntitlements, useMoveWorkspaceToProject, useCreateWorkspace, useDriveFolderDocCount, useChangeProjectPlan, useCancelProjectSubscription, usePreviewProjectPlanChange, useAddProjectAddonBlock, useCreateGroupChat, useFlushOutbox, retryOutboxItem, fileAttachment, useMailProjects, useSaveMailDraft, useSendMail, useMailDraftReplaced, documentMailAttachment, useReadMailMessage, useMailThread, useCalendarInvitations, useDecideCounter, useSearchContacts, usePublishCalendar, useCalendarShares, useShareCalendar, useUnshareCalendar, useSubscribeCalendar, useHolidayCountries, useAddHolidayCalendar, cancelPublicBooking, useConfig, useSaveConfigField, SHAREPOINT_VENDORS, isDriveSyncVendor, getRelatedTotal, useRelatedDocuments, useDatabase, useDatabaseRows, useUpdateDatabase, useDeleteDatabase, useAddDatabaseRows, useUpdateDatabaseRow, useDeleteDatabaseRows, useImportDatabaseRows, useExportDatabase, DATABASE_ROWS_PAGE, useInvalidateAfterTransfer, useConfigs, useDeleteConfig, isFullConfig, resolveConfigModel, useChatUnreadTotal, useMarkDocumentShared, useConversationData, useConnectRunStream, useAnswerAgentQuestion, useConversationIsShared, buildPendingFirstTurn, useConversationTurn, useAskAgain, transcriptSegmentOf, getOrphanedLastMessage, refuseChatWhenOffline, useThreadDocument, useDocumentAutoAdd, useAutoSendDraft, READ_ONLY_MEETING_TEXT, useConversationSearch, useProjectConversationUsage, signatureNotificationPhrase, signatureRequestMeta, getNotificationTypeMeta, useConversation, deleteOutboxItem, useMailDraftEditor, useFreeBusy, useFindTime, useCalendarSupport, useStartCalendarAccountOAuth, useConnectOAuthAccount, useBookingPages, useDeleteBookingPage, useRooms, useCancelMailboxSync, useMailboxSyncProgress, useRefreshConnectorsOnRunEnd, useCancelDriveSync, useDriveFolders, useDriveSyncProgress, useDriveSyncEstimate, useSearchDatabaseRows, callSession, isReplayableArbiMutation, useConnectorAutoSync, workflowRunTitle, useUpdateProjectNextPeriodAddons, useUpdateProjectAddonSettings, useSyncCalendarAccount, useUpdateCalendarAccount, useDisconnectCalendarAccount, ACCOUNT_VENDOR, useCalDavProfiles, useConnectCalDavAccount, useSaveBookingPage, useCreateRoom, useTriggerMailboxSync, useTriggerDriveSync } from '@arbidocs/react';
|
|
167
167
|
export { viewsOfTable } from '@arbidocs/react';
|
|
168
168
|
import { getDocumentTitle, getFileTypeIcon, HoverCard, HoverCardTrigger, HoverCardContent, formatFriendlyDate, getEntityLabel, EntityPill, Badge, ThreadVisibilityIcon, Button, ShieldIcon, EntityIcon, Tooltip, TooltipTrigger, TooltipContent, getUserDisplayName, createUserAvatarIcon, Label, Input, cn, Textarea, Dialog, DialogContent, DialogTitle, DialogDescription, DialogHeader, tagKindNouns, tagKindTitle, getTagTypeLabel, VisibilityToggle, getEntityColor, isImageDocument, IconToggle, Switch, Checkbox, entityNoun, Popover, PopoverTrigger, PopoverContent, formatRelativeTime, getUserAvatarColor, DialogTrigger, CommandGroup, CommandItem, ProjectEntity, DialogFooter, Tabs, TabsList, TabsTrigger, TabsContent, isAgent, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, AgentBadge, PresenceLabel, getDocIcon, Command, CommandInput, CommandList, CommandEmpty, canonicalFolderPath, formatFolderLabel, TagEntity, getDocumentNature, getDocumentAuthor, markdownToPlainText, getDocumentSubject, formatDocDate, getDocumentDate, friendlyFileType, Slider, UserMenu, PopoverAnchor, isDocumentAddableToConversation, DocumentEntity, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, formatCompactLastSeen, ArbiIcon, UserEntity, agentAvatarColors, getUserInitials, ProviderIcon, Card, CardHeader, CardTitle, CardContent, VerifiedToggle, Avatar, AvatarImage, AvatarFallback, Progress } from '@arbidocs/react/ui';
|
|
169
169
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -17277,7 +17277,7 @@ function useConnectedWorkspaceList({
|
|
|
17277
17277
|
};
|
|
17278
17278
|
}
|
|
17279
17279
|
var WorkspaceTableView = lazy(
|
|
17280
|
-
() => import('../WorkspaceTableView-
|
|
17280
|
+
() => import('../WorkspaceTableView-DYABS53K.js').then((m) => ({ default: m.WorkspaceTableView }))
|
|
17281
17281
|
);
|
|
17282
17282
|
var WORKSPACES_TAB_ID = "workspaces";
|
|
17283
17283
|
var renderMember = (user, size) => /* @__PURE__ */ jsx(ConnectedUserEntity, { user, size, variant: "icon" });
|
|
@@ -31144,13 +31144,126 @@ function ConnectedBulkTagCrumbs() {
|
|
|
31144
31144
|
}
|
|
31145
31145
|
);
|
|
31146
31146
|
}
|
|
31147
|
-
var
|
|
31148
|
-
|
|
31149
|
-
|
|
31150
|
-
|
|
31151
|
-
|
|
31152
|
-
|
|
31153
|
-
|
|
31147
|
+
var NO_USERS = [];
|
|
31148
|
+
var NO_DOCUMENTS2 = [];
|
|
31149
|
+
var NO_FOLDER_UPDATE = () => {
|
|
31150
|
+
};
|
|
31151
|
+
function DocumentNameCellRenderer(params) {
|
|
31152
|
+
const {
|
|
31153
|
+
data: doc,
|
|
31154
|
+
canEdit,
|
|
31155
|
+
onOpenDocument,
|
|
31156
|
+
onReviewDocument,
|
|
31157
|
+
onDocumentChat,
|
|
31158
|
+
onDownloadDocument,
|
|
31159
|
+
onMoveDocument,
|
|
31160
|
+
onDeleteDocument
|
|
31161
|
+
} = params;
|
|
31162
|
+
if (!doc) return null;
|
|
31163
|
+
const context = params.context;
|
|
31164
|
+
return /* @__PURE__ */ jsx(
|
|
31165
|
+
DocumentNameCell,
|
|
31166
|
+
{
|
|
31167
|
+
doc,
|
|
31168
|
+
canEdit: canEdit(params),
|
|
31169
|
+
users: context?.getWorkspaceUsers?.() ?? NO_USERS,
|
|
31170
|
+
onOpen: () => onOpenDocument(doc.external_id),
|
|
31171
|
+
onReview: onReviewDocument && (() => onReviewDocument(doc.external_id)),
|
|
31172
|
+
onDocumentChat: onDocumentChat && (() => onDocumentChat(doc.external_id)),
|
|
31173
|
+
onRename: () => params.api.startEditingCell({ rowIndex: params.node.rowIndex ?? 0, colKey: "title" }),
|
|
31174
|
+
onDownload: () => onDownloadDocument?.(doc),
|
|
31175
|
+
onMove: () => onMoveDocument?.(doc.external_id),
|
|
31176
|
+
onDelete: () => onDeleteDocument?.(doc.external_id)
|
|
31177
|
+
}
|
|
31178
|
+
);
|
|
31179
|
+
}
|
|
31180
|
+
function SharedCellRenderer(params) {
|
|
31181
|
+
if (!params.data) return null;
|
|
31182
|
+
return /* @__PURE__ */ jsx(
|
|
31183
|
+
DocumentSharedCell,
|
|
31184
|
+
{
|
|
31185
|
+
document: params.data,
|
|
31186
|
+
disabled: !params.canToggle(params),
|
|
31187
|
+
disabledTooltip: "Only the owner can change visibility",
|
|
31188
|
+
onToggle: params.onToggleShared
|
|
31189
|
+
}
|
|
31190
|
+
);
|
|
31191
|
+
}
|
|
31192
|
+
function StatusCellRenderer(params) {
|
|
31193
|
+
if (!params.data) return null;
|
|
31194
|
+
const context = params.context;
|
|
31195
|
+
return /* @__PURE__ */ jsx(
|
|
31196
|
+
StatusCell,
|
|
31197
|
+
{
|
|
31198
|
+
doc: params.data,
|
|
31199
|
+
onStatusClick: params.onStatusClick,
|
|
31200
|
+
actions: context?.getHostActions?.()
|
|
31201
|
+
}
|
|
31202
|
+
);
|
|
31203
|
+
}
|
|
31204
|
+
function LabelsCellRenderer(params) {
|
|
31205
|
+
if (!params.data) return null;
|
|
31206
|
+
const context = params.context;
|
|
31207
|
+
return /* @__PURE__ */ jsx(
|
|
31208
|
+
DocumentLabelsCell,
|
|
31209
|
+
{
|
|
31210
|
+
doc: params.data,
|
|
31211
|
+
labels: params.labels,
|
|
31212
|
+
createDocTag: params.createDocTag,
|
|
31213
|
+
deleteDocTag: params.deleteDocTag,
|
|
31214
|
+
createTag: params.createTag,
|
|
31215
|
+
isMember: params.isMember,
|
|
31216
|
+
rowHeight: params.node.rowHeight ?? 52,
|
|
31217
|
+
actions: context?.getHostActions?.()
|
|
31218
|
+
}
|
|
31219
|
+
);
|
|
31220
|
+
}
|
|
31221
|
+
function RelatedDocsCellRenderer(params) {
|
|
31222
|
+
if (!params.data) return null;
|
|
31223
|
+
const context = params.context;
|
|
31224
|
+
const related = context?.getRelatedDocs?.().get(params.data.external_id);
|
|
31225
|
+
if (!related || getRelatedTotal(related) === 0) return null;
|
|
31226
|
+
const { onOpenDocument, onDeleteDocument } = params;
|
|
31227
|
+
return /* @__PURE__ */ jsx(
|
|
31228
|
+
RelatedDocumentsCell,
|
|
31229
|
+
{
|
|
31230
|
+
currentDoc: params.data,
|
|
31231
|
+
related,
|
|
31232
|
+
viewingDocumentId: context?.getViewingDocumentId?.() ?? null,
|
|
31233
|
+
onDocumentClick: onOpenDocument,
|
|
31234
|
+
onDelete: (doc) => onDeleteDocument?.(doc.external_id),
|
|
31235
|
+
onCompare: context?.getHostActions?.().compareDocuments
|
|
31236
|
+
}
|
|
31237
|
+
);
|
|
31238
|
+
}
|
|
31239
|
+
function FolderCellRenderer(params) {
|
|
31240
|
+
if (!params.data) return null;
|
|
31241
|
+
const context = params.context;
|
|
31242
|
+
return /* @__PURE__ */ jsx(
|
|
31243
|
+
DocumentFolderCell,
|
|
31244
|
+
{
|
|
31245
|
+
document: params.data,
|
|
31246
|
+
isEditable: params.canEdit(params),
|
|
31247
|
+
allDocuments: context?.getDocuments?.() ?? NO_DOCUMENTS2,
|
|
31248
|
+
onUpdateFolder: context?.updateFolder ?? NO_FOLDER_UPDATE
|
|
31249
|
+
}
|
|
31250
|
+
);
|
|
31251
|
+
}
|
|
31252
|
+
function CreatedByCellRenderer(params) {
|
|
31253
|
+
if (!params.data) return null;
|
|
31254
|
+
const context = params.context;
|
|
31255
|
+
const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
|
|
31256
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsx(
|
|
31257
|
+
UserAvatar,
|
|
31258
|
+
{
|
|
31259
|
+
user: creator,
|
|
31260
|
+
isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
|
|
31261
|
+
onOpen: context?.getHostActions?.().openUser
|
|
31262
|
+
}
|
|
31263
|
+
) });
|
|
31264
|
+
}
|
|
31265
|
+
function CheckboxCellRenderer(params) {
|
|
31266
|
+
const { tagId, tagName, tagColor, isMember } = params;
|
|
31154
31267
|
if (!params.data) return null;
|
|
31155
31268
|
const isChecked = params.value === true;
|
|
31156
31269
|
return /* @__PURE__ */ jsx(
|
|
@@ -31163,12 +31276,9 @@ var CheckboxCellRenderer = memo(function CheckboxCellRenderer2({
|
|
|
31163
31276
|
onToggle: () => params.node.setDataValue(tagId, !isChecked)
|
|
31164
31277
|
}
|
|
31165
31278
|
);
|
|
31166
|
-
}
|
|
31167
|
-
|
|
31168
|
-
params
|
|
31169
|
-
tag,
|
|
31170
|
-
isCheckbox
|
|
31171
|
-
}) {
|
|
31279
|
+
}
|
|
31280
|
+
function TagHeaderComponent(params) {
|
|
31281
|
+
const { tag, isCheckbox } = params;
|
|
31172
31282
|
const [sort, setSort] = useState(params.column.getSort());
|
|
31173
31283
|
useEffect(() => {
|
|
31174
31284
|
const updateSort = () => setSort(params.column.getSort());
|
|
@@ -31186,7 +31296,7 @@ var TagHeaderComponent = memo(function TagHeaderComponent2({
|
|
|
31186
31296
|
label: /* @__PURE__ */ jsx(ConnectedTagEntity, { tag, size: "sm" })
|
|
31187
31297
|
}
|
|
31188
31298
|
);
|
|
31189
|
-
}
|
|
31299
|
+
}
|
|
31190
31300
|
var TAG_FILTER_PARAMS = {
|
|
31191
31301
|
buttons: ["reset", "apply"],
|
|
31192
31302
|
closeOnApply: true
|
|
@@ -31260,23 +31370,21 @@ function createTagColumn({
|
|
|
31260
31370
|
headerClass: isCheckbox ? "ag-header-cell-center" : void 0,
|
|
31261
31371
|
// Custom comparator for sorting - use factory to create stable function
|
|
31262
31372
|
comparator: createTagComparator(tag.tag_type.type),
|
|
31263
|
-
|
|
31264
|
-
|
|
31265
|
-
|
|
31266
|
-
|
|
31267
|
-
|
|
31268
|
-
|
|
31269
|
-
|
|
31270
|
-
|
|
31271
|
-
}
|
|
31272
|
-
) : void 0,
|
|
31273
|
-
// Use default rendering for text/number/select - shows value with truncation
|
|
31373
|
+
// Text/number/select use the default rendering (the value, truncated).
|
|
31374
|
+
cellRenderer: isCheckbox ? CheckboxCellRenderer : void 0,
|
|
31375
|
+
cellRendererParams: isCheckbox ? {
|
|
31376
|
+
tagId: tag.external_id,
|
|
31377
|
+
tagName: tag.name,
|
|
31378
|
+
tagColor,
|
|
31379
|
+
isMember
|
|
31380
|
+
} : void 0,
|
|
31274
31381
|
cellEditor: isSelect ? MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
|
|
31275
31382
|
cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
|
|
31276
31383
|
cellEditorPopup: isText || isSelect,
|
|
31277
31384
|
// Text and Select tags use popup editor for better UX
|
|
31278
31385
|
// Header with icon and title, filter button on left
|
|
31279
|
-
headerComponent:
|
|
31386
|
+
headerComponent: TagHeaderComponent,
|
|
31387
|
+
headerComponentParams: { tag, isCheckbox },
|
|
31280
31388
|
// Value getter
|
|
31281
31389
|
valueGetter: (params) => {
|
|
31282
31390
|
if (!params.data) return isCheckbox ? false : "";
|
|
@@ -31365,6 +31473,8 @@ function createTagColumn({
|
|
|
31365
31473
|
}
|
|
31366
31474
|
};
|
|
31367
31475
|
}
|
|
31476
|
+
|
|
31477
|
+
// src/connection/files/grid/documentColumns.tsx
|
|
31368
31478
|
var FILTER_PARAMS = {
|
|
31369
31479
|
buttons: ["reset", "apply"],
|
|
31370
31480
|
closeOnApply: true
|
|
@@ -31390,99 +31500,7 @@ function createDocumentColumns({
|
|
|
31390
31500
|
}) {
|
|
31391
31501
|
const isRowEditableByOwner = (params) => canChangeVisibility(params.data, currentUserExtId);
|
|
31392
31502
|
const isRowEditableByMember = (params) => canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
|
|
31393
|
-
const documentNameCellRenderer = (params) => {
|
|
31394
|
-
const doc = params.data;
|
|
31395
|
-
if (!doc) return null;
|
|
31396
|
-
const context = params.context;
|
|
31397
|
-
return /* @__PURE__ */ jsx(
|
|
31398
|
-
DocumentNameCell,
|
|
31399
|
-
{
|
|
31400
|
-
doc,
|
|
31401
|
-
canEdit: isRowEditableByMember(params),
|
|
31402
|
-
users: context?.getWorkspaceUsers?.() ?? NO_USERS,
|
|
31403
|
-
onOpen: () => handleToggleDocumentViewer(doc.external_id),
|
|
31404
|
-
onReview: onReviewDocument && (() => onReviewDocument(doc.external_id)),
|
|
31405
|
-
onDocumentChat: onDocumentChat && (() => onDocumentChat(doc.external_id)),
|
|
31406
|
-
onRename: () => params.api.startEditingCell({ rowIndex: params.node.rowIndex ?? 0, colKey: "title" }),
|
|
31407
|
-
onDownload: () => onDownloadDocument?.(doc),
|
|
31408
|
-
onMove: () => onMoveDocument?.(doc.external_id),
|
|
31409
|
-
onDelete: () => onDeleteDocument?.(doc.external_id)
|
|
31410
|
-
}
|
|
31411
|
-
);
|
|
31412
|
-
};
|
|
31413
|
-
const sharedCellRenderer = (params) => {
|
|
31414
|
-
if (!params.data) return null;
|
|
31415
|
-
const isOwner = isRowEditableByOwner(params);
|
|
31416
|
-
return /* @__PURE__ */ jsx(
|
|
31417
|
-
DocumentSharedCell,
|
|
31418
|
-
{
|
|
31419
|
-
document: params.data,
|
|
31420
|
-
disabled: !isOwner,
|
|
31421
|
-
disabledTooltip: "Only the owner can change visibility",
|
|
31422
|
-
onToggle: onToggleShared
|
|
31423
|
-
}
|
|
31424
|
-
);
|
|
31425
|
-
};
|
|
31426
|
-
const statusCellRenderer = (params) => {
|
|
31427
|
-
if (!params.data) return null;
|
|
31428
|
-
const context = params.context;
|
|
31429
|
-
return /* @__PURE__ */ jsx(
|
|
31430
|
-
StatusCell,
|
|
31431
|
-
{
|
|
31432
|
-
doc: params.data,
|
|
31433
|
-
onStatusClick,
|
|
31434
|
-
actions: context?.getHostActions?.()
|
|
31435
|
-
}
|
|
31436
|
-
);
|
|
31437
|
-
};
|
|
31438
31503
|
const checkboxTags = availableTags.filter(isLabelTag);
|
|
31439
|
-
const tagsCellRenderer = (params) => {
|
|
31440
|
-
if (!params.data) return null;
|
|
31441
|
-
const context = params.context;
|
|
31442
|
-
return /* @__PURE__ */ jsx(
|
|
31443
|
-
DocumentLabelsCell,
|
|
31444
|
-
{
|
|
31445
|
-
doc: params.data,
|
|
31446
|
-
labels: checkboxTags,
|
|
31447
|
-
createDocTag,
|
|
31448
|
-
deleteDocTag,
|
|
31449
|
-
createTag,
|
|
31450
|
-
isMember,
|
|
31451
|
-
rowHeight: params.node.rowHeight ?? 52,
|
|
31452
|
-
actions: context?.getHostActions?.()
|
|
31453
|
-
}
|
|
31454
|
-
);
|
|
31455
|
-
};
|
|
31456
|
-
const relatedDocsCellRenderer = (params) => {
|
|
31457
|
-
if (!params.data) return null;
|
|
31458
|
-
const context = params.context;
|
|
31459
|
-
const related = context?.getRelatedDocs?.().get(params.data.external_id);
|
|
31460
|
-
if (!related || getRelatedTotal(related) === 0) return null;
|
|
31461
|
-
return /* @__PURE__ */ jsx(
|
|
31462
|
-
RelatedDocumentsCell,
|
|
31463
|
-
{
|
|
31464
|
-
currentDoc: params.data,
|
|
31465
|
-
related,
|
|
31466
|
-
viewingDocumentId: context?.getViewingDocumentId?.() ?? null,
|
|
31467
|
-
onDocumentClick: handleToggleDocumentViewer,
|
|
31468
|
-
onDelete: (doc) => onDeleteDocument?.(doc.external_id),
|
|
31469
|
-
onCompare: context?.getHostActions?.().compareDocuments
|
|
31470
|
-
}
|
|
31471
|
-
);
|
|
31472
|
-
};
|
|
31473
|
-
const folderCellRenderer = (params) => {
|
|
31474
|
-
if (!params.data) return null;
|
|
31475
|
-
const context = params.context;
|
|
31476
|
-
return /* @__PURE__ */ jsx(
|
|
31477
|
-
DocumentFolderCell,
|
|
31478
|
-
{
|
|
31479
|
-
document: params.data,
|
|
31480
|
-
isEditable: isRowEditableByMember(params),
|
|
31481
|
-
allDocuments: context?.getDocuments?.() ?? NO_DOCUMENTS2,
|
|
31482
|
-
onUpdateFolder: context?.updateFolder ?? NO_FOLDER_UPDATE
|
|
31483
|
-
}
|
|
31484
|
-
);
|
|
31485
|
-
};
|
|
31486
31504
|
const allColumns = [];
|
|
31487
31505
|
allColumns.push({
|
|
31488
31506
|
colId: "status",
|
|
@@ -31533,7 +31551,8 @@ function createDocumentColumns({
|
|
|
31533
31551
|
}
|
|
31534
31552
|
return 0;
|
|
31535
31553
|
},
|
|
31536
|
-
cellRenderer:
|
|
31554
|
+
cellRenderer: StatusCellRenderer,
|
|
31555
|
+
cellRendererParams: { onStatusClick },
|
|
31537
31556
|
// Status is a single icon — center it horizontally (header + cell) rather
|
|
31538
31557
|
// than left-aligning a lone glyph against the column edge. `cell-status`
|
|
31539
31558
|
// trims the cell's vertical padding so the progress bar + label fit (and sit
|
|
@@ -31569,7 +31588,16 @@ function createDocumentColumns({
|
|
|
31569
31588
|
cellEditorPopup: true,
|
|
31570
31589
|
cellEditorParams: { rows: 5, cols: 50 },
|
|
31571
31590
|
context: { icon: FileText },
|
|
31572
|
-
cellRenderer:
|
|
31591
|
+
cellRenderer: DocumentNameCellRenderer,
|
|
31592
|
+
cellRendererParams: {
|
|
31593
|
+
canEdit: isRowEditableByMember,
|
|
31594
|
+
onOpenDocument: handleToggleDocumentViewer,
|
|
31595
|
+
onReviewDocument,
|
|
31596
|
+
onDocumentChat,
|
|
31597
|
+
onDownloadDocument,
|
|
31598
|
+
onMoveDocument,
|
|
31599
|
+
onDeleteDocument
|
|
31600
|
+
},
|
|
31573
31601
|
valueGetter: (params) => getDocumentTitle(params.data, "Untitled"),
|
|
31574
31602
|
valueSetter: (params) => {
|
|
31575
31603
|
if (!params.data) return false;
|
|
@@ -31815,7 +31843,8 @@ function createDocumentColumns({
|
|
|
31815
31843
|
filterParams: FILTER_PARAMS,
|
|
31816
31844
|
context: { icon: FolderOpen },
|
|
31817
31845
|
valueFormatter: (params) => formatFolderLabel(params.value),
|
|
31818
|
-
cellRenderer:
|
|
31846
|
+
cellRenderer: FolderCellRenderer,
|
|
31847
|
+
cellRendererParams: { canEdit: isRowEditableByMember },
|
|
31819
31848
|
cellClass: (params) => isRowEditableByMember(params) ? "cell-editable-member relative" : "cell-editable-readonly relative"
|
|
31820
31849
|
});
|
|
31821
31850
|
allColumns.push({
|
|
@@ -31880,7 +31909,11 @@ function createDocumentColumns({
|
|
|
31880
31909
|
const paddedCount = String(meta.count).padStart(6, "0");
|
|
31881
31910
|
return `${meta.tier}|${paddedCount}|${groupId}|${rank}|${doc.external_id}`;
|
|
31882
31911
|
},
|
|
31883
|
-
cellRenderer:
|
|
31912
|
+
cellRenderer: RelatedDocsCellRenderer,
|
|
31913
|
+
cellRendererParams: {
|
|
31914
|
+
onOpenDocument: handleToggleDocumentViewer,
|
|
31915
|
+
onDeleteDocument
|
|
31916
|
+
}
|
|
31884
31917
|
});
|
|
31885
31918
|
allColumns.push({
|
|
31886
31919
|
colId: "shared",
|
|
@@ -31893,21 +31926,12 @@ function createDocumentColumns({
|
|
|
31893
31926
|
valueGetter: (params) => {
|
|
31894
31927
|
return params.data?.shared ?? false;
|
|
31895
31928
|
},
|
|
31896
|
-
cellRenderer:
|
|
31929
|
+
cellRenderer: SharedCellRenderer,
|
|
31930
|
+
cellRendererParams: {
|
|
31931
|
+
canToggle: isRowEditableByOwner,
|
|
31932
|
+
onToggleShared
|
|
31933
|
+
}
|
|
31897
31934
|
});
|
|
31898
|
-
const createdByCellRenderer = (params) => {
|
|
31899
|
-
if (!params.data) return null;
|
|
31900
|
-
const context = params.context;
|
|
31901
|
-
const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
|
|
31902
|
-
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsx(
|
|
31903
|
-
UserAvatar,
|
|
31904
|
-
{
|
|
31905
|
-
user: creator,
|
|
31906
|
-
isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
|
|
31907
|
-
onOpen: context?.getHostActions?.().openUser
|
|
31908
|
-
}
|
|
31909
|
-
) });
|
|
31910
|
-
};
|
|
31911
31935
|
allColumns.push({
|
|
31912
31936
|
colId: "created_by",
|
|
31913
31937
|
headerName: "By",
|
|
@@ -31922,7 +31946,7 @@ function createDocumentColumns({
|
|
|
31922
31946
|
const fullName = [creator.given_name, creator.family_name].filter(Boolean).join(" ");
|
|
31923
31947
|
return fullName || creator.email || "";
|
|
31924
31948
|
},
|
|
31925
|
-
cellRenderer:
|
|
31949
|
+
cellRenderer: CreatedByCellRenderer
|
|
31926
31950
|
});
|
|
31927
31951
|
allColumns.push({
|
|
31928
31952
|
colId: "all_tags",
|
|
@@ -31944,7 +31968,14 @@ function createDocumentColumns({
|
|
|
31944
31968
|
}).filter(Boolean);
|
|
31945
31969
|
return tagNames.join(" ");
|
|
31946
31970
|
},
|
|
31947
|
-
cellRenderer:
|
|
31971
|
+
cellRenderer: LabelsCellRenderer,
|
|
31972
|
+
cellRendererParams: {
|
|
31973
|
+
labels: checkboxTags,
|
|
31974
|
+
createDocTag,
|
|
31975
|
+
deleteDocTag,
|
|
31976
|
+
createTag,
|
|
31977
|
+
isMember
|
|
31978
|
+
},
|
|
31948
31979
|
// Add CSS class for hover icon (matches title field)
|
|
31949
31980
|
cellClass: isMember ? "cell-editable-member relative !pr-0" : "cell-editable-readonly relative"
|
|
31950
31981
|
});
|
|
@@ -31973,10 +32004,6 @@ function createDocumentColumns({
|
|
|
31973
32004
|
);
|
|
31974
32005
|
return [...allColumns.map(withEmptyDash), ...tagColumns];
|
|
31975
32006
|
}
|
|
31976
|
-
var NO_USERS = [];
|
|
31977
|
-
var NO_DOCUMENTS2 = [];
|
|
31978
|
-
var NO_FOLDER_UPDATE = () => {
|
|
31979
|
-
};
|
|
31980
32007
|
function isPhoneViewport() {
|
|
31981
32008
|
return typeof window !== "undefined" && window.matchMedia?.("(max-width: 480px)")?.matches === true;
|
|
31982
32009
|
}
|
|
@@ -33591,7 +33618,7 @@ var DocumentReviewCard = lazy(
|
|
|
33591
33618
|
() => import('../DocumentReviewCard-5NZM6FOB.js').then((module) => ({ default: module.DocumentReviewCard }))
|
|
33592
33619
|
);
|
|
33593
33620
|
var FilesViewerDialog = lazy(
|
|
33594
|
-
() => import('../FilesViewerDialog-
|
|
33621
|
+
() => import('../FilesViewerDialog-5VML4F5E.js').then((module) => ({ default: module.FilesViewerDialog }))
|
|
33595
33622
|
);
|
|
33596
33623
|
function defaultReviewCard(props) {
|
|
33597
33624
|
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
@@ -38006,7 +38033,7 @@ function ConnectedConversationSettingsDialog({
|
|
|
38006
38033
|
}
|
|
38007
38034
|
) });
|
|
38008
38035
|
}
|
|
38009
|
-
var ConnectedProductionSetDialog = lazy(() => import('../ConnectedProductionSetDialog-
|
|
38036
|
+
var ConnectedProductionSetDialog = lazy(() => import('../ConnectedProductionSetDialog-34UV5VH2.js'));
|
|
38010
38037
|
var BUILTIN_GLOBAL_DIALOGS = {
|
|
38011
38038
|
support: ({ props, onClose }) => /* @__PURE__ */ jsx(
|
|
38012
38039
|
ConnectedSupportTicketsDialog,
|