@mcp-b/react-components 0.63.0 → 0.64.1
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/{AgentActivity-DptCj8XQ.d.ts → AgentActivity-Cngwkalq.d.ts} +2 -9
- package/dist/{AgentChatQueue-DG2rGyCI.d.ts → AgentChatQueue-C1TDnVAn.d.ts} +1 -1
- package/dist/{AppTopBar-DwzydmXu.d.ts → AppTopBar-CM57rJID.d.ts} +7 -3
- package/dist/ChatGptSignInScreen-CmbBe09G.js +298 -0
- package/dist/{CodeBlock-BTkag9ms.d.ts → CodeBlock-BDupVceI.d.ts} +1 -1
- package/dist/CodeBlock-dt0L8md0.js +892 -0
- package/dist/{EmployeeChrome--PWdtg4B.d.ts → EmployeeChrome-kegSASjC.d.ts} +6 -5
- package/dist/{ExecutionBoard-DvPGdn4F.d.ts → ExecutionBoard-DBj1Aiva.d.ts} +8 -1
- package/dist/ExecutionResult-CXnGcmM4.js +671 -0
- package/dist/FileTree-CjfzpN6X.js +968 -0
- package/dist/{IconButton-FWsa9562.d.ts → IconButton-DXtGMkMI.d.ts} +7 -5
- package/dist/ManagerOffice-T79utm-P.js +2469 -0
- package/dist/{Menu-FA4P6KrA.d.ts → Menu-DajfQr3T.d.ts} +4 -2
- package/dist/{Message-BUedRDN1.d.ts → Message-BLyl6kWe.d.ts} +2 -2
- package/dist/{PromptInput-Dbe6WgWA.d.ts → PromptInput-DEwFMj6f.d.ts} +5 -8
- package/dist/{ResponsiveSidebarShell-DSAMNDdg.d.ts → ResponsiveSidebarShell-RwvmlMHS.d.ts} +23 -13
- package/dist/SetupChecklist-DwscX3Bw.js +230 -0
- package/dist/{Tabs-BYs-RgJ7.d.ts → Tabs-tyvVX3nc.d.ts} +29 -10
- package/dist/{ThinkChatActivity-zZaSsbC-.d.ts → ThinkChatActivity-C7xnO0Fx.d.ts} +1 -1
- package/dist/{ThinkChatActivitySummary-8MO1VjAJ.d.ts → ThinkChatActivitySummary-Dh4Av7x_.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-DJ2TFDmZ.d.ts → ThinkExecutionRun-QzZVWX75.d.ts} +11 -3
- package/dist/ThinkSchedule-D4Ulsa0-.d.ts +53 -0
- package/dist/{ThinkThreadPicker-BmIZmpae.d.ts → ThinkThreadPicker-O-i2KloZ.d.ts} +1 -1
- package/dist/{Workspace-42LA9Zrb.d.ts → Workspace-B9nuTfIi.d.ts} +1 -1
- package/dist/{WorkspaceAutomation-yDZorXla.d.ts → WorkspaceAutomation-C0fghGLi.d.ts} +3 -3
- package/dist/WorkspaceBrowser-oBJv-Dac.js +985 -0
- package/dist/{WorkspaceConcept-BjrgGE1w.d.ts → WorkspaceConcept-D46cYerS.d.ts} +1 -1
- package/dist/{WorkspaceFile-nK2n0i4S.d.ts → WorkspaceFile-BJC6vlp_.d.ts} +15 -4
- package/dist/WorkspaceFileCommands-SNIjRgtU.d.ts +145 -0
- package/dist/WorkspaceFileTransfer-BRD22nW-.d.ts +159 -0
- package/dist/WorkspaceLink-DDkj-Tq5.js +407 -0
- package/dist/{WorkspaceMessageResponse-BZ-_I18b.js → WorkspaceMessageResponse-CXGOQgpo.js} +111 -24
- package/dist/{agent-tool-runs-DsOp_X2y.js → agent-tool-runs-BXKdcxl8.js} +55 -28
- package/dist/app-bar-outlet-BEIGl9iF.js +35 -0
- package/{LICENSE → dist/assets/desktop/LICENSE.fluent.txt} +1 -1
- package/dist/assets/desktop/LICENSE.mac-icons.txt +7 -0
- package/dist/assets/desktop/README.md +43 -0
- package/dist/assets/desktop/automations.svg +19 -0
- package/dist/assets/desktop/document.svg +24 -0
- package/dist/assets/desktop/folder.png +0 -0
- package/dist/assets/desktop/mail.svg +31 -0
- package/dist/assets/desktop/settings.svg +9 -0
- package/dist/assets/desktop/trash-full.svg +23 -0
- package/dist/assets/desktop/trash.svg +19 -0
- package/dist/attachment-preview-DeRqFjdz.js +68 -0
- package/dist/attempt-CySQHJsF.js +21 -0
- package/dist/command-search-1fjmCBBo.js +34 -0
- package/dist/components/agents-sdk/AIProviderDialog.js +757 -224
- package/dist/components/agents-sdk/AgentActivity.d.ts +2 -2
- package/dist/components/agents-sdk/AgentActivity.js +78 -31
- package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
- package/dist/components/agents-sdk/AgentChat.js +1113 -386
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentChatQueue.js +290 -173
- package/dist/components/agents-sdk/AgentComputer.d.ts +270 -0
- package/dist/components/agents-sdk/AgentComputer.js +8045 -0
- package/dist/components/agents-sdk/AgentEvent.js +164 -21
- package/dist/components/agents-sdk/AgentScreenSwitcher.d.ts +46 -0
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +409 -0
- package/dist/components/agents-sdk/AgentToolRunsContext.js +139 -41
- package/dist/components/agents-sdk/BrowserLiveScreen.js +860 -551
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +244 -88
- package/dist/components/agents-sdk/BrowserReplay.js +298 -133
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +57 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +979 -129
- package/dist/components/agents-sdk/DiscordConnectionDialog.js +104 -57
- package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +108 -46
- package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +500 -99
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +1375 -557
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeSchedules.js +281 -64
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeStartScreen.js +185 -52
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +1661 -462
- package/dist/components/agents-sdk/ManagerAccountActions.js +142 -35
- package/dist/components/agents-sdk/ManagerOffice.d.ts +15 -8
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +551 -185
- package/dist/components/agents-sdk/McpConnectionRequest.js +332 -117
- package/dist/components/agents-sdk/McpConnectorForm.js +320 -100
- package/dist/components/agents-sdk/McpPluginCatalog.js +697 -249
- package/dist/components/agents-sdk/McpServerIcon.js +57 -14
- package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.js +542 -158
- package/dist/components/agents-sdk/ModelSelector.js +1151 -253
- package/dist/components/agents-sdk/PromptInputApproval.js +115 -27
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +33 -46
- package/dist/components/agents-sdk/SlackConnectionDialog.js +38 -14
- package/dist/components/agents-sdk/SubagentRunIndicator.js +118 -25
- package/dist/components/agents-sdk/SubagentRunLanes.js +291 -107
- package/dist/components/agents-sdk/SubagentRunPanel.js +357 -129
- package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
- package/dist/components/agents-sdk/ThinkChat.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkChat.js +321 -132
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +306 -100
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +15 -9
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +1386 -404
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +219 -45
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.js +19 -11
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +224 -37
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +8 -5
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +505 -124
- package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
- package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +71 -26
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkSchedule.js +124 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +3 -3
- package/dist/components/agents-sdk/ThinkScheduleActions.js +363 -132
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.js +249 -116
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +311 -90
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +1318 -475
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +434 -214
- package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +30 -13
- package/dist/components/agents-sdk/WorkbenchBack.js +66 -20
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +491 -166
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.js +1492 -415
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1316 -525
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +72 -2
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -94
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +619 -178
- package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +45 -0
- package/dist/components/agents-sdk/WorkspaceDesktop.js +240 -0
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +52 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +267 -85
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceFile.js +30 -9
- package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceFileCommands.js +890 -0
- package/dist/components/agents-sdk/WorkspaceFileDetails.d.ts +29 -0
- package/dist/components/agents-sdk/WorkspaceFileDetails.js +271 -0
- package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceFileTransfer.js +505 -0
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +18 -3
- package/dist/components/agents-sdk/WorkspaceFileView.js +866 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +71 -26
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -2
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceLive.js +126 -73
- package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +63 -0
- package/dist/components/agents-sdk/WorkspaceLocalFolder.js +455 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +118 -58
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +90 -54
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspacePerson.js +172 -41
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceProject.js +175 -41
- package/dist/components/ai-sdk/Activity.js +768 -192
- package/dist/components/ai-sdk/AgentAttention.js +286 -58
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +193 -68
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +368 -80
- package/dist/components/ai-sdk/AgentChatTurnError.js +75 -25
- package/dist/components/ai-sdk/AgentMessageParts.js +0 -1
- package/dist/components/ai-sdk/Approval.js +574 -172
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +535 -128
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +404 -80
- package/dist/components/ai-sdk/Checkpoint.js +229 -45
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +216 -48
- package/dist/components/ai-sdk/ConnectedAppCards.js +229 -52
- package/dist/components/ai-sdk/Context.js +737 -178
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +305 -68
- package/dist/components/ai-sdk/ExpansionState.js +74 -15
- package/dist/components/ai-sdk/Goal.js +435 -116
- package/dist/components/ai-sdk/InlineCitation.js +313 -76
- package/dist/components/ai-sdk/MediaPreviewCard.js +451 -135
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +1010 -195
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +264 -46
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +6 -6
- package/dist/components/ai-sdk/Plan.js +639 -128
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +2735 -794
- package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +1 -3
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +188 -83
- package/dist/components/ai-sdk/Queue.js +792 -154
- package/dist/components/ai-sdk/Reasoning.js +268 -69
- package/dist/components/ai-sdk/Sources.js +226 -63
- package/dist/components/ai-sdk/Task.js +294 -71
- package/dist/components/ai-sdk/ToolApproval.js +126 -26
- package/dist/components/ai-sdk/ToolInvocation.js +112 -22
- package/dist/components/extension/ChatGptSignInScreen.js +1 -82
- package/dist/components/extension/CodexModelSelector.d.ts +1 -1
- package/dist/components/extension/CodexModelSelector.js +467 -146
- package/dist/components/extension/ConversationTabPicker.d.ts +1 -1
- package/dist/components/extension/ConversationTabPicker.js +254 -76
- package/dist/components/extension/FirstRunSetup.d.ts +100 -36
- package/dist/components/extension/FirstRunSetup.js +3974 -1016
- package/dist/components/foundations/Accordion.js +186 -41
- package/dist/components/foundations/AlertDialog.js +425 -97
- package/dist/components/foundations/AppIcon.d.ts +13 -13
- package/dist/components/foundations/AppIcon.js +183 -34
- package/dist/components/foundations/Autocomplete.js +408 -89
- package/dist/components/foundations/Avatar.d.ts +100 -2
- package/dist/components/foundations/Avatar.js +204 -44
- package/dist/components/foundations/Button.js +64 -13
- package/dist/components/foundations/Card.js +357 -63
- package/dist/components/foundations/Checkbox.js +82 -17
- package/dist/components/foundations/CheckboxGroup.js +266 -58
- package/dist/components/foundations/Collapsible.d.ts +2 -1
- package/dist/components/foundations/Collapsible.js +129 -26
- package/dist/components/foundations/Combobox.js +408 -89
- package/dist/components/foundations/ContextMenu.d.ts +2 -2
- package/dist/components/foundations/ContextMenu.js +591 -117
- package/dist/components/foundations/DescriptionList.js +159 -28
- package/dist/components/foundations/Dialog.js +373 -89
- package/dist/components/foundations/EmptyState.js +86 -23
- package/dist/components/foundations/Favicon.d.ts +17 -0
- package/dist/components/foundations/Favicon.js +62 -0
- package/dist/components/foundations/Field.js +525 -108
- package/dist/components/foundations/Fieldset.js +115 -23
- package/dist/components/foundations/Form.js +38 -9
- package/dist/components/foundations/FormattedDate.d.ts +19 -5
- package/dist/components/foundations/FormattedDate.js +82 -12
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/IconButton.js +114 -17
- package/dist/components/foundations/Input.js +38 -9
- package/dist/components/foundations/Kbd.js +55 -10
- package/dist/components/foundations/Label.js +56 -12
- package/dist/components/foundations/LinkButton.js +67 -15
- package/dist/components/foundations/Marker.js +138 -29
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +634 -136
- package/dist/components/foundations/Menubar.d.ts +2 -2
- package/dist/components/foundations/Menubar.js +685 -130
- package/dist/components/foundations/Meter.js +186 -41
- package/dist/components/foundations/NavigationMenu.js +426 -95
- package/dist/components/foundations/NumberField.js +223 -49
- package/dist/components/foundations/Popover.js +398 -88
- package/dist/components/foundations/PreviewCard.js +234 -53
- package/dist/components/foundations/Progress.js +117 -25
- package/dist/components/foundations/RadioGroup.d.ts +13 -5
- package/dist/components/foundations/RadioGroup.js +132 -25
- package/dist/components/foundations/ScrollArea.js +230 -51
- package/dist/components/foundations/SearchField.d.ts +8 -3
- package/dist/components/foundations/SearchField.js +129 -28
- package/dist/components/foundations/Select.js +648 -145
- package/dist/components/foundations/Separator.js +61 -12
- package/dist/components/foundations/Slider.js +260 -57
- package/dist/components/foundations/Stepper.d.ts +1 -1
- package/dist/components/foundations/Stepper.js +561 -127
- package/dist/components/foundations/Switch.js +82 -18
- package/dist/components/foundations/Tabs.d.ts +2 -2
- package/dist/components/foundations/Tabs.js +282 -53
- package/dist/components/foundations/Textarea.js +43 -9
- package/dist/components/foundations/ThemeProvider.js +138 -52
- package/dist/components/foundations/Toast.d.ts +10 -2
- package/dist/components/foundations/Toast.js +322 -75
- package/dist/components/foundations/Toggle.d.ts +5 -2
- package/dist/components/foundations/Toggle.js +51 -10
- package/dist/components/foundations/ToggleGroup.d.ts +3 -3
- package/dist/components/foundations/ToggleGroup.js +215 -59
- package/dist/components/foundations/Toolbar.js +249 -61
- package/dist/components/foundations/Tooltip.d.ts +3 -3
- package/dist/components/foundations/Tooltip.js +311 -55
- package/dist/components/foundations/TransitionSurface.js +43 -9
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +99 -17
- package/dist/components/general-purpose/ActionGuide.js +290 -64
- package/dist/components/general-purpose/AppFrame.js +72 -14
- package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
- package/dist/components/general-purpose/AppTopBar.js +349 -60
- package/dist/components/general-purpose/BrandLoading.js +37 -9
- package/dist/components/general-purpose/CommandPalette.d.ts +47 -0
- package/dist/components/general-purpose/CommandPalette.js +271 -0
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +937 -167
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +600 -114
- package/dist/components/general-purpose/FileTree.d.ts +20 -7
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/ListDetail.d.ts +84 -0
- package/dist/components/general-purpose/ListDetail.js +423 -0
- package/dist/components/general-purpose/NotificationPrompt.js +20 -11
- package/dist/components/general-purpose/PricingBillingToggle.js +33 -6
- package/dist/components/general-purpose/PricingConfirmationDialog.js +126 -42
- package/dist/components/general-purpose/PricingFAQ.js +53 -12
- package/dist/components/general-purpose/PricingPage.js +376 -139
- package/dist/components/general-purpose/PricingPlanCard.js +209 -84
- package/dist/components/general-purpose/PricingUsageCalculator.js +231 -81
- package/dist/components/general-purpose/ResizableSidePanel.js +316 -117
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +840 -342
- package/dist/components/general-purpose/ScreenStack.d.ts +54 -0
- package/dist/components/general-purpose/ScreenStack.js +427 -0
- package/dist/components/general-purpose/SettingsFormDialog.js +235 -77
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/StatusScreen.js +82 -24
- package/dist/components/general-purpose/SwipeActions.d.ts +54 -0
- package/dist/components/general-purpose/SwipeActions.js +357 -0
- package/dist/components/general-purpose/Terminal.d.ts +22 -48
- package/dist/components/general-purpose/Terminal.js +320 -174
- package/dist/components/general-purpose/TestResults.js +975 -196
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -1
- package/dist/components/general-purpose/ThemeModeControl.js +66 -23
- package/dist/components/general-purpose/WallpaperPicker.d.ts +33 -0
- package/dist/components/general-purpose/WallpaperPicker.js +180 -0
- package/dist/components/general-purpose/WebPreview.d.ts +5 -7
- package/dist/components/general-purpose/WebPreview.js +770 -203
- package/dist/components/nanites/AgentConnection.js +323 -84
- package/dist/components/nanites/AgentToolDetail.js +233 -53
- package/dist/components/nanites/GithubMotionMark.js +37 -9
- package/dist/components/nanites/NaniteScene.js +535 -323
- package/dist/connected-app-drafts-Bocdg3Z-.js +637 -0
- package/dist/container-width-C43ccJ84.js +17 -0
- package/dist/context-Ddsp8HgD.js +43 -0
- package/dist/{copy-button-B09hHWd1.d.ts → copy-button-C2HRdomn.d.ts} +1 -1
- package/dist/copy-button-DWBVJR6D.js +118 -0
- package/dist/{format-CWaZEp5o.js → format-DL7f2rqp.js} +5 -1
- package/dist/{icons-CReP3qYl.d.ts → icons-B3n7zvU7.d.ts} +10 -2
- package/dist/icons-nLTnB9kd.js +470 -0
- package/dist/{merge-refs-DAh6reu8.js → merge-refs-DTX97mLp.js} +17 -1
- package/dist/motion-CGM3i6lX.js +319 -0
- package/dist/motion-preferences-6qsDIDvH.js +13 -0
- package/dist/{navigation-link-kqMa81v5.js → navigation-link-DMmtdqsM.js} +32 -8
- package/dist/progress-ring-BO649JA9.js +79 -0
- package/dist/provider-logos-Ceu7iYFx.js +362 -0
- package/dist/scheduled-table-source-gGpVJ1TN.js +92 -0
- package/dist/styles/accessibility.css +26 -0
- package/dist/styles/accordion.css +0 -2
- package/dist/styles/activity.css +20 -12
- package/dist/styles/agent-attention.css +31 -10
- package/dist/styles/agent-chat.css +7 -6
- package/dist/styles/agent-computer-motion-reduction.css +118 -0
- package/dist/styles/agent-computer-motion.css +127 -0
- package/dist/styles/agent-computer-phone.css +942 -0
- package/dist/styles/agent-computer.css +1764 -0
- package/dist/styles/agent-connection.css +5 -5
- package/dist/styles/agent-screen-switcher.css +313 -0
- package/dist/styles/app-icon.css +34 -30
- package/dist/styles/app-top-bar.css +33 -18
- package/dist/styles/approval.css +3 -3
- package/dist/styles/artifact.css +1 -1
- package/dist/styles/attachment-preview.css +2 -4
- package/dist/styles/avatar.css +12 -14
- package/dist/styles/base-ui-motion.css +84 -18
- package/dist/styles/base-ui-motion.test.tsx +305 -0
- package/dist/styles/base.css +16 -12
- package/dist/styles/brand.test.ts +7 -20
- package/dist/styles/browser-control-overlay.css +1 -1
- package/dist/styles/browser-live-screen.css +2 -2
- package/dist/styles/browser-live-view.css +1 -1
- package/dist/styles/browser-replay.css +0 -8
- package/dist/styles/browser-run-panel.css +275 -37
- package/dist/styles/button.css +52 -9
- package/dist/styles/card.css +6 -5
- package/dist/styles/chain-of-thought.css +0 -10
- package/dist/styles/checkpoint.css +2 -2
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/color-contrast.test.ts +18 -1
- package/dist/styles/command-palette.css +110 -0
- package/dist/styles/composer-link.css +11 -7
- package/dist/styles/composition-motion.css +3 -14
- package/dist/styles/context.css +2 -2
- package/dist/styles/conversation-tab-picker.css +7 -0
- package/dist/styles/conversation.css +8 -2
- package/dist/styles/dialog.css +2 -2
- package/dist/styles/employee-app.css +8 -2
- package/dist/styles/employee-chrome.css +4 -4
- package/dist/styles/execution-board.css +206 -114
- package/dist/styles/execution-result.css +2 -2
- package/dist/styles/field.css +187 -4
- package/dist/styles/file-tree.css +218 -40
- package/dist/styles/first-run-setup.css +914 -187
- package/dist/styles/github-motion-mark.css +0 -8
- package/dist/styles/index.css +145 -133
- package/dist/styles/inline-citation.css +5 -4
- package/dist/styles/list-detail.css +57 -0
- package/dist/styles/manager-office.css +6 -8
- package/dist/styles/manager-work.css +4 -2
- package/dist/styles/mcp-plugin-catalog.css +2 -2
- package/dist/styles/mcp-server-picker.css +3 -6
- package/dist/styles/media-preview-card.css +2 -2
- package/dist/styles/menu.css +0 -9
- package/dist/styles/menubar.css +18 -6
- package/dist/styles/message-scroller.css +47 -9
- package/dist/styles/message.css +3 -3
- package/dist/styles/model-selector.css +1 -1
- package/dist/styles/motion-reduction.css +39 -6
- package/dist/styles/pricing-page.css +1 -1
- package/dist/styles/prompt-input.css +29 -29
- package/dist/styles/queue.css +1 -1
- package/dist/styles/recipes.css +212 -28
- package/dist/styles/responsive-sidebar-shell-motion.test.ts +81 -1
- package/dist/styles/responsive-sidebar-shell.css +40 -43
- package/dist/styles/screen-stack.css +123 -0
- package/dist/styles/search-field.css +80 -3
- package/dist/styles/stepper.css +0 -10
- package/dist/styles/streamdown.css +2 -2
- package/dist/styles/subagent-run.css +9 -5
- package/dist/styles/swipe-actions.css +158 -0
- package/dist/styles/tabs.css +80 -23
- package/dist/styles/task.css +7 -1
- package/dist/styles/terminal.css +66 -78
- package/dist/styles/test-results.css +1 -19
- package/dist/styles/textarea.css +2 -1
- package/dist/styles/theme-mode-control.css +154 -26
- package/dist/styles/think-chat-tool-panels.css +1 -1
- package/dist/styles/think-execution-workbench.css +0 -9
- package/dist/styles/think-full-app.css +7 -1
- package/dist/styles/think-schedule.css +81 -54
- package/dist/styles/think-thread-picker.css +28 -37
- package/dist/styles/toast.css +11 -0
- package/dist/styles/toggle-group.css +0 -10
- package/dist/styles/toggle.css +13 -0
- package/dist/styles/tooltip.css +12 -0
- package/dist/styles/transition-surface.css +1 -0
- package/dist/styles/wallpaper-picker.css +224 -0
- package/dist/styles/web-preview.css +47 -18
- package/dist/styles/workspace-automation.css +116 -17
- package/dist/styles/workspace-concepts.css +1 -1
- package/dist/styles/workspace-desktop.css +124 -0
- package/dist/styles/workspace-entity-card.css +3 -1
- package/dist/styles/workspace-explorer.css +499 -5
- package/dist/utils/brand-marks.d.ts +13 -0
- package/dist/utils/brand-marks.js +14 -0
- package/dist/utils/desktop-artwork.d.ts +17 -0
- package/dist/utils/desktop-artwork.js +18 -0
- package/dist/utils/favicon.d.ts +6 -2
- package/dist/utils/favicon.js +16 -4
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/workspace-assets-DdtnBDU3.js +213 -0
- package/dist/{workspace-concept-panel-C_oYhPSx.d.ts → workspace-concept-panel-BDTBISNO.d.ts} +2 -2
- package/dist/workspace-concept-panel-VkjvFCY_.js +140 -0
- package/dist/workspace-delete-BOY6CMBf.js +183 -0
- package/dist/workspace-drag-B6hMXUNt.js +304 -0
- package/dist/workspace-entity-card-9YcsNiqU.js +178 -0
- package/dist/workspace-media-preview-B4iB5Tvi.js +1295 -0
- package/dist/{workspace-path-L_KmjRjq.js → workspace-path-TZggP-u4.js} +14 -1
- package/dist/{workspace-person-BVkYb3dv.js → workspace-person-ZwPqu5TX.js} +67 -21
- package/dist/workspace-quick-look-9V-UFpjj.js +1562 -0
- package/package.json +9 -3
- package/dist/Avatar-t1YRzdwB.d.ts +0 -101
- package/dist/CodeBlock-DYQdZUH6.js +0 -318
- package/dist/ExecutionResult-2fBkpIGN.js +0 -279
- package/dist/FileTree-CDLOD643.js +0 -323
- package/dist/ManagerOffice-CvVSHnOM.js +0 -1129
- package/dist/SetupChecklist-B-iEta9v.js +0 -78
- package/dist/ThinkSchedule-DPoOYWTQ.d.ts +0 -34
- package/dist/WorkspaceFileView-DwIkehSM.js +0 -783
- package/dist/WorkspaceLink-BeFAXpbI.js +0 -225
- package/dist/app-bar-outlet-CNfNzY4Y.js +0 -6
- package/dist/attachment-preview-1CXJvrmb.js +0 -25
- package/dist/chatgpt-sign-in-button-D8AT6x4c.js +0 -32
- package/dist/connected-app-drafts-DtA2fBK5.js +0 -283
- package/dist/copy-button-DbR932tF.js +0 -45
- package/dist/icons-GoybMAB2.js +0 -141
- package/dist/progress-ring-L2bbF0ji.js +0 -40
- package/dist/provider-logos-DWYY8wNz.js +0 -99
- package/dist/scheduled-table-source-NZR1vFc_.js +0 -38
- package/dist/workspace-assets-F3r6XltC.js +0 -107
- package/dist/workspace-concept-panel-D8oEvR0n.js +0 -66
- package/dist/workspace-delete-CQvv1eDE.js +0 -81
- package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as formatErrorMessage } from "../../format-
|
|
3
|
-
import { t as WorkspaceDeleteControl } from "../../workspace-delete-
|
|
4
|
-
import { a as MessageBody, i as FieldList, n as SlackDraftCard, r as ConnectedAppCardFrame, t as EmailDraftCard } from "../../connected-app-drafts-
|
|
1
|
+
import { O as FileIcon } from "../../icons-nLTnB9kd.js";
|
|
2
|
+
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
3
|
+
import { t as WorkspaceDeleteControl } from "../../workspace-delete-BOY6CMBf.js";
|
|
4
|
+
import { a as MessageBody, i as FieldList, n as SlackDraftCard, r as ConnectedAppCardFrame, t as EmailDraftCard } from "../../connected-app-drafts-Bocdg3Z-.js";
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
5
6
|
import * as React from "react";
|
|
6
7
|
import { createElement } from "react";
|
|
7
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -40,30 +41,81 @@ function displayKind(kind) {
|
|
|
40
41
|
return kind.trim().split(/[-_\s]+/u).filter(Boolean).map((word) => word[0].toUpperCase() + word.slice(1)).join(" ");
|
|
41
42
|
}
|
|
42
43
|
/** The fields and body of a kind without a richer card, edited as written. */
|
|
43
|
-
function CorrespondenceFields(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
function CorrespondenceFields(t0) {
|
|
45
|
+
const $ = c(20);
|
|
46
|
+
const { body, fields, onChange } = t0;
|
|
47
|
+
const t1 = onChange != null;
|
|
48
|
+
let t2;
|
|
49
|
+
if ($[0] !== fields) {
|
|
50
|
+
t2 = fields.map(_temp);
|
|
51
|
+
$[0] = fields;
|
|
52
|
+
$[1] = t2;
|
|
53
|
+
} else t2 = $[1];
|
|
54
|
+
let t3;
|
|
55
|
+
if ($[2] !== body || $[3] !== fields || $[4] !== onChange) {
|
|
56
|
+
t3 = (name, value) => onChange?.({
|
|
57
|
+
fields: fields.map((field_0) => field_0.name === name ? {
|
|
58
|
+
...field_0,
|
|
54
59
|
value
|
|
55
|
-
} :
|
|
60
|
+
} : field_0),
|
|
56
61
|
body
|
|
57
|
-
})
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
});
|
|
63
|
+
$[2] = body;
|
|
64
|
+
$[3] = fields;
|
|
65
|
+
$[4] = onChange;
|
|
66
|
+
$[5] = t3;
|
|
67
|
+
} else t3 = $[5];
|
|
68
|
+
let t4;
|
|
69
|
+
if ($[6] !== t1 || $[7] !== t2 || $[8] !== t3) {
|
|
70
|
+
t4 = /* @__PURE__ */ jsx(FieldList, {
|
|
71
|
+
editing: t1,
|
|
72
|
+
items: t2,
|
|
73
|
+
onFieldChange: t3
|
|
74
|
+
});
|
|
75
|
+
$[6] = t1;
|
|
76
|
+
$[7] = t2;
|
|
77
|
+
$[8] = t3;
|
|
78
|
+
$[9] = t4;
|
|
79
|
+
} else t4 = $[9];
|
|
80
|
+
const t5 = onChange != null;
|
|
81
|
+
let t6;
|
|
82
|
+
if ($[10] !== fields || $[11] !== onChange) {
|
|
83
|
+
t6 = (value_0) => onChange?.({
|
|
63
84
|
fields,
|
|
64
|
-
body:
|
|
65
|
-
})
|
|
66
|
-
|
|
85
|
+
body: value_0
|
|
86
|
+
});
|
|
87
|
+
$[10] = fields;
|
|
88
|
+
$[11] = onChange;
|
|
89
|
+
$[12] = t6;
|
|
90
|
+
} else t6 = $[12];
|
|
91
|
+
let t7;
|
|
92
|
+
if ($[13] !== body || $[14] !== t5 || $[15] !== t6) {
|
|
93
|
+
t7 = /* @__PURE__ */ jsx(MessageBody, {
|
|
94
|
+
editing: t5,
|
|
95
|
+
name: "body",
|
|
96
|
+
value: body,
|
|
97
|
+
onChange: t6
|
|
98
|
+
});
|
|
99
|
+
$[13] = body;
|
|
100
|
+
$[14] = t5;
|
|
101
|
+
$[15] = t6;
|
|
102
|
+
$[16] = t7;
|
|
103
|
+
} else t7 = $[16];
|
|
104
|
+
let t8;
|
|
105
|
+
if ($[17] !== t4 || $[18] !== t7) {
|
|
106
|
+
t8 = /* @__PURE__ */ jsxs(Fragment, { children: [t4, t7] });
|
|
107
|
+
$[17] = t4;
|
|
108
|
+
$[18] = t7;
|
|
109
|
+
$[19] = t8;
|
|
110
|
+
} else t8 = $[19];
|
|
111
|
+
return t8;
|
|
112
|
+
}
|
|
113
|
+
function _temp(field) {
|
|
114
|
+
return {
|
|
115
|
+
name: field.name,
|
|
116
|
+
term: field.label,
|
|
117
|
+
value: field.value
|
|
118
|
+
};
|
|
67
119
|
}
|
|
68
120
|
/**
|
|
69
121
|
* Reviewed workspace correspondence. The host passes one normalized file
|
|
@@ -71,71 +123,264 @@ function CorrespondenceFields({ body, fields, onChange }) {
|
|
|
71
123
|
* snapshot, and falls back to the generic card for kinds without a richer
|
|
72
124
|
* design-system surface.
|
|
73
125
|
*/
|
|
74
|
-
function WorkspaceCorrespondenceCard(
|
|
75
|
-
const
|
|
126
|
+
function WorkspaceCorrespondenceCard(t0) {
|
|
127
|
+
const $ = c(79);
|
|
128
|
+
let body;
|
|
129
|
+
let fields;
|
|
130
|
+
let icon;
|
|
131
|
+
let kind;
|
|
132
|
+
let onChange;
|
|
133
|
+
let onDelete;
|
|
134
|
+
let onOpen;
|
|
135
|
+
let onSend;
|
|
136
|
+
let people;
|
|
137
|
+
let props;
|
|
138
|
+
let saveState;
|
|
139
|
+
let t1;
|
|
140
|
+
if ($[0] !== t0) {
|
|
141
|
+
({body, fields, kind, icon, people, saveState, state: t1, onChange, onDelete, onOpen, onSend, ...props} = t0);
|
|
142
|
+
$[0] = t0;
|
|
143
|
+
$[1] = body;
|
|
144
|
+
$[2] = fields;
|
|
145
|
+
$[3] = icon;
|
|
146
|
+
$[4] = kind;
|
|
147
|
+
$[5] = onChange;
|
|
148
|
+
$[6] = onDelete;
|
|
149
|
+
$[7] = onOpen;
|
|
150
|
+
$[8] = onSend;
|
|
151
|
+
$[9] = people;
|
|
152
|
+
$[10] = props;
|
|
153
|
+
$[11] = saveState;
|
|
154
|
+
$[12] = t1;
|
|
155
|
+
} else {
|
|
156
|
+
body = $[1];
|
|
157
|
+
fields = $[2];
|
|
158
|
+
icon = $[3];
|
|
159
|
+
kind = $[4];
|
|
160
|
+
onChange = $[5];
|
|
161
|
+
onDelete = $[6];
|
|
162
|
+
onOpen = $[7];
|
|
163
|
+
onSend = $[8];
|
|
164
|
+
people = $[9];
|
|
165
|
+
props = $[10];
|
|
166
|
+
saveState = $[11];
|
|
167
|
+
t1 = $[12];
|
|
168
|
+
}
|
|
169
|
+
const settled = (t1 === void 0 ? "draft" : t1) === "sent";
|
|
76
170
|
const change = settled ? void 0 : onChange;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
171
|
+
let t2;
|
|
172
|
+
if ($[13] !== kind) {
|
|
173
|
+
t2 = kind.trim().toLowerCase();
|
|
174
|
+
$[13] = kind;
|
|
175
|
+
$[14] = t2;
|
|
176
|
+
} else t2 = $[14];
|
|
177
|
+
const channel = t2;
|
|
178
|
+
let t3;
|
|
179
|
+
if ($[15] !== channel || $[16] !== kind || $[17] !== onDelete) {
|
|
180
|
+
t3 = onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
|
|
81
181
|
name: `${channel === "email" ? "email" : displayKind(kind)} draft`,
|
|
82
182
|
onDelete
|
|
83
|
-
}) : void 0
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
};
|
|
183
|
+
}) : void 0;
|
|
184
|
+
$[15] = channel;
|
|
185
|
+
$[16] = kind;
|
|
186
|
+
$[17] = onDelete;
|
|
187
|
+
$[18] = t3;
|
|
188
|
+
} else t3 = $[18];
|
|
189
|
+
const t4 = settled ? "sent" : void 0;
|
|
190
|
+
const t5 = settled ? void 0 : saveState;
|
|
191
|
+
const t6 = settled ? void 0 : onSend;
|
|
192
|
+
let t7;
|
|
193
|
+
if ($[19] !== onOpen || $[20] !== props || $[21] !== t3 || $[22] !== t4 || $[23] !== t5 || $[24] !== t6) {
|
|
194
|
+
t7 = {
|
|
195
|
+
...props,
|
|
196
|
+
actions: t3,
|
|
197
|
+
state: t4,
|
|
198
|
+
saveState: t5,
|
|
199
|
+
onOpen,
|
|
200
|
+
onSend: t6
|
|
201
|
+
};
|
|
202
|
+
$[19] = onOpen;
|
|
203
|
+
$[20] = props;
|
|
204
|
+
$[21] = t3;
|
|
205
|
+
$[22] = t4;
|
|
206
|
+
$[23] = t5;
|
|
207
|
+
$[24] = t6;
|
|
208
|
+
$[25] = t7;
|
|
209
|
+
} else t7 = $[25];
|
|
210
|
+
const frame = t7;
|
|
89
211
|
switch (channel) {
|
|
90
|
-
case "email":
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
212
|
+
case "email": {
|
|
213
|
+
let t8;
|
|
214
|
+
if ($[26] !== fields) {
|
|
215
|
+
t8 = fieldValue(fields, "from");
|
|
216
|
+
$[26] = fields;
|
|
217
|
+
$[27] = t8;
|
|
218
|
+
} else t8 = $[27];
|
|
219
|
+
let t9;
|
|
220
|
+
if ($[28] !== fields) {
|
|
221
|
+
t9 = fieldValue(fields, "to");
|
|
222
|
+
$[28] = fields;
|
|
223
|
+
$[29] = t9;
|
|
224
|
+
} else t9 = $[29];
|
|
225
|
+
let t10;
|
|
226
|
+
if ($[30] !== fields) {
|
|
227
|
+
t10 = fieldValue(fields, "subject") ?? "";
|
|
228
|
+
$[30] = fields;
|
|
229
|
+
$[31] = t10;
|
|
230
|
+
} else t10 = $[31];
|
|
231
|
+
let t11;
|
|
232
|
+
if ($[32] !== body || $[33] !== t10 || $[34] !== t8 || $[35] !== t9) {
|
|
233
|
+
t11 = {
|
|
234
|
+
from: t8,
|
|
235
|
+
to: t9,
|
|
236
|
+
subject: t10,
|
|
237
|
+
body
|
|
238
|
+
};
|
|
239
|
+
$[32] = body;
|
|
240
|
+
$[33] = t10;
|
|
241
|
+
$[34] = t8;
|
|
242
|
+
$[35] = t9;
|
|
243
|
+
$[36] = t11;
|
|
244
|
+
} else t11 = $[36];
|
|
245
|
+
let t12;
|
|
246
|
+
if ($[37] !== change || $[38] !== fields) {
|
|
247
|
+
t12 = change ? (next_0) => change({
|
|
248
|
+
fields: replaceFields(fields, {
|
|
249
|
+
from: next_0.from,
|
|
250
|
+
to: next_0.to,
|
|
251
|
+
subject: next_0.subject
|
|
252
|
+
}),
|
|
253
|
+
body: next_0.body ?? ""
|
|
254
|
+
}) : void 0;
|
|
255
|
+
$[37] = change;
|
|
256
|
+
$[38] = fields;
|
|
257
|
+
$[39] = t12;
|
|
258
|
+
} else t12 = $[39];
|
|
259
|
+
let t13;
|
|
260
|
+
if ($[40] !== frame || $[41] !== icon || $[42] !== people || $[43] !== t11 || $[44] !== t12) {
|
|
261
|
+
t13 = /* @__PURE__ */ jsx(EmailDraftCard, {
|
|
262
|
+
...frame,
|
|
263
|
+
draft: t11,
|
|
264
|
+
icon,
|
|
265
|
+
people,
|
|
266
|
+
onChange: t12
|
|
267
|
+
});
|
|
268
|
+
$[40] = frame;
|
|
269
|
+
$[41] = icon;
|
|
270
|
+
$[42] = people;
|
|
271
|
+
$[43] = t11;
|
|
272
|
+
$[44] = t12;
|
|
273
|
+
$[45] = t13;
|
|
274
|
+
} else t13 = $[45];
|
|
275
|
+
return t13;
|
|
276
|
+
}
|
|
277
|
+
case "slack": {
|
|
278
|
+
let t8;
|
|
279
|
+
if ($[46] !== fields) {
|
|
280
|
+
t8 = fieldValue(fields, "workspace");
|
|
281
|
+
$[46] = fields;
|
|
282
|
+
$[47] = t8;
|
|
283
|
+
} else t8 = $[47];
|
|
284
|
+
let t9;
|
|
285
|
+
if ($[48] !== fields) {
|
|
286
|
+
t9 = fieldValue(fields, "to") ?? "";
|
|
287
|
+
$[48] = fields;
|
|
288
|
+
$[49] = t9;
|
|
289
|
+
} else t9 = $[49];
|
|
290
|
+
let t10;
|
|
291
|
+
if ($[50] !== fields) {
|
|
292
|
+
t10 = fieldValue(fields, "thread");
|
|
293
|
+
$[50] = fields;
|
|
294
|
+
$[51] = t10;
|
|
295
|
+
} else t10 = $[51];
|
|
296
|
+
let t11;
|
|
297
|
+
if ($[52] !== body || $[53] !== t10 || $[54] !== t8 || $[55] !== t9) {
|
|
298
|
+
t11 = {
|
|
299
|
+
workspace: t8,
|
|
300
|
+
to: t9,
|
|
301
|
+
thread: t10,
|
|
302
|
+
message: body
|
|
303
|
+
};
|
|
304
|
+
$[52] = body;
|
|
305
|
+
$[53] = t10;
|
|
306
|
+
$[54] = t8;
|
|
307
|
+
$[55] = t9;
|
|
308
|
+
$[56] = t11;
|
|
309
|
+
} else t11 = $[56];
|
|
310
|
+
let t12;
|
|
311
|
+
if ($[57] !== change || $[58] !== fields) {
|
|
312
|
+
t12 = change ? (next) => change({
|
|
313
|
+
fields: replaceFields(fields, {
|
|
314
|
+
workspace: next.workspace,
|
|
315
|
+
to: next.to,
|
|
316
|
+
thread: next.thread
|
|
317
|
+
}),
|
|
318
|
+
body: next.message
|
|
319
|
+
}) : void 0;
|
|
320
|
+
$[57] = change;
|
|
321
|
+
$[58] = fields;
|
|
322
|
+
$[59] = t12;
|
|
323
|
+
} else t12 = $[59];
|
|
324
|
+
let t13;
|
|
325
|
+
if ($[60] !== frame || $[61] !== icon || $[62] !== people || $[63] !== t11 || $[64] !== t12) {
|
|
326
|
+
t13 = /* @__PURE__ */ jsx(SlackDraftCard, {
|
|
327
|
+
...frame,
|
|
328
|
+
draft: t11,
|
|
329
|
+
icon,
|
|
330
|
+
people,
|
|
331
|
+
onChange: t12
|
|
332
|
+
});
|
|
333
|
+
$[60] = frame;
|
|
334
|
+
$[61] = icon;
|
|
335
|
+
$[62] = people;
|
|
336
|
+
$[63] = t11;
|
|
337
|
+
$[64] = t12;
|
|
338
|
+
$[65] = t13;
|
|
339
|
+
} else t13 = $[65];
|
|
340
|
+
return t13;
|
|
341
|
+
}
|
|
342
|
+
default: {
|
|
343
|
+
let t8;
|
|
344
|
+
if ($[66] !== icon) {
|
|
345
|
+
t8 = icon ?? /* @__PURE__ */ jsx(FileIcon, {});
|
|
346
|
+
$[66] = icon;
|
|
347
|
+
$[67] = t8;
|
|
348
|
+
} else t8 = $[67];
|
|
349
|
+
let t9;
|
|
350
|
+
if ($[68] !== kind) {
|
|
351
|
+
t9 = displayKind(kind);
|
|
352
|
+
$[68] = kind;
|
|
353
|
+
$[69] = t9;
|
|
354
|
+
} else t9 = $[69];
|
|
355
|
+
let t10;
|
|
356
|
+
if ($[70] !== body || $[71] !== change || $[72] !== fields) {
|
|
357
|
+
t10 = /* @__PURE__ */ jsx(CorrespondenceFields, {
|
|
358
|
+
body,
|
|
359
|
+
fields,
|
|
360
|
+
onChange: change
|
|
361
|
+
});
|
|
362
|
+
$[70] = body;
|
|
363
|
+
$[71] = change;
|
|
364
|
+
$[72] = fields;
|
|
365
|
+
$[73] = t10;
|
|
366
|
+
} else t10 = $[73];
|
|
367
|
+
let t11;
|
|
368
|
+
if ($[74] !== frame || $[75] !== t10 || $[76] !== t8 || $[77] !== t9) {
|
|
369
|
+
t11 = /* @__PURE__ */ jsx(ConnectedAppCardFrame, {
|
|
370
|
+
...frame,
|
|
371
|
+
"data-slot": "workspace-correspondence-card",
|
|
372
|
+
icon: t8,
|
|
373
|
+
name: t9,
|
|
374
|
+
children: t10
|
|
375
|
+
});
|
|
376
|
+
$[74] = frame;
|
|
377
|
+
$[75] = t10;
|
|
378
|
+
$[76] = t8;
|
|
379
|
+
$[77] = t9;
|
|
380
|
+
$[78] = t11;
|
|
381
|
+
} else t11 = $[78];
|
|
382
|
+
return t11;
|
|
383
|
+
}
|
|
139
384
|
}
|
|
140
385
|
}
|
|
141
386
|
/**
|
|
@@ -154,130 +399,326 @@ function WorkspaceCorrespondenceCard({ body, fields, kind, icon, people, saveSta
|
|
|
154
399
|
* next file.
|
|
155
400
|
*/
|
|
156
401
|
function WorkspaceCorrespondenceFile(props) {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
402
|
+
const $ = c(5);
|
|
403
|
+
let t0;
|
|
404
|
+
if ($[0] !== props.source.queryOptions.queryKey) {
|
|
405
|
+
t0 = hashKey(props.source.queryOptions.queryKey);
|
|
406
|
+
$[0] = props.source.queryOptions.queryKey;
|
|
407
|
+
$[1] = t0;
|
|
408
|
+
} else t0 = $[1];
|
|
409
|
+
let t1;
|
|
410
|
+
if ($[2] !== props || $[3] !== t0) {
|
|
411
|
+
t1 = /* @__PURE__ */ createElement(WorkspaceCorrespondenceFileSession, {
|
|
412
|
+
...props,
|
|
413
|
+
key: t0
|
|
414
|
+
});
|
|
415
|
+
$[2] = props;
|
|
416
|
+
$[3] = t0;
|
|
417
|
+
$[4] = t1;
|
|
418
|
+
} else t1 = $[4];
|
|
419
|
+
return t1;
|
|
161
420
|
}
|
|
162
|
-
function WorkspaceCorrespondenceFileSession(
|
|
421
|
+
function WorkspaceCorrespondenceFileSession(t0) {
|
|
422
|
+
const $ = c(83);
|
|
423
|
+
let props;
|
|
424
|
+
let source;
|
|
425
|
+
let t1;
|
|
426
|
+
if ($[0] !== t0) {
|
|
427
|
+
({fallback: t1, source, ...props} = t0);
|
|
428
|
+
$[0] = t0;
|
|
429
|
+
$[1] = props;
|
|
430
|
+
$[2] = source;
|
|
431
|
+
$[3] = t1;
|
|
432
|
+
} else {
|
|
433
|
+
props = $[1];
|
|
434
|
+
source = $[2];
|
|
435
|
+
t1 = $[3];
|
|
436
|
+
}
|
|
437
|
+
const fallback = t1 === void 0 ? null : t1;
|
|
163
438
|
const queryClient = useQueryClient();
|
|
164
439
|
const query = useQuery(source.queryOptions);
|
|
165
|
-
|
|
166
|
-
|
|
440
|
+
let t2;
|
|
441
|
+
if ($[4] !== source.people) {
|
|
442
|
+
t2 = source.people ? [source.people] : [];
|
|
443
|
+
$[4] = source.people;
|
|
444
|
+
$[5] = t2;
|
|
445
|
+
} else t2 = $[5];
|
|
446
|
+
const peopleQueries = t2;
|
|
447
|
+
let t3;
|
|
448
|
+
if ($[6] !== peopleQueries) {
|
|
449
|
+
t3 = { queries: peopleQueries };
|
|
450
|
+
$[6] = peopleQueries;
|
|
451
|
+
$[7] = t3;
|
|
452
|
+
} else t3 = $[7];
|
|
453
|
+
const [people] = useQueries(t3);
|
|
167
454
|
const persisted = query.data ?? null;
|
|
168
455
|
const path = persisted?.path;
|
|
169
456
|
const [draft, setDraft] = React.useState(null);
|
|
170
457
|
const [sessionSent, setSessionSent] = React.useState(false);
|
|
171
|
-
/** The last draft handed to a save attempt; blocks duplicate autosaves. */
|
|
172
458
|
const attemptedDraftRef = React.useRef(null);
|
|
173
|
-
/** The last draft the host confirmed written. */
|
|
174
459
|
const savedDraftRef = React.useRef(null);
|
|
175
|
-
/** Outcome of the in-flight save, for the Send gate. */
|
|
176
460
|
const savePromiseRef = React.useRef(null);
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
461
|
+
const [sentShown, setSentShown] = React.useState(null);
|
|
462
|
+
let t4;
|
|
463
|
+
if ($[8] !== path || $[9] !== source) {
|
|
464
|
+
t4 = async (next) => {
|
|
181
465
|
if (!source.onChange) throw new Error(SAVE_UNAVAILABLE_MESSAGE);
|
|
182
466
|
if (path === void 0) throw new Error(FILE_MISSING_MESSAGE);
|
|
183
467
|
await source.onChange(path, next);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
|
|
468
|
+
};
|
|
469
|
+
$[8] = path;
|
|
470
|
+
$[9] = source;
|
|
471
|
+
$[10] = t4;
|
|
472
|
+
} else t4 = $[10];
|
|
473
|
+
let t5;
|
|
474
|
+
if ($[11] !== queryClient || $[12] !== source.queryOptions) {
|
|
475
|
+
t5 = async (next_0) => {
|
|
476
|
+
attemptedDraftRef.current = next_0;
|
|
187
477
|
await queryClient.cancelQueries({
|
|
188
478
|
queryKey: source.queryOptions.queryKey,
|
|
189
479
|
exact: true
|
|
190
480
|
});
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
481
|
+
};
|
|
482
|
+
$[11] = queryClient;
|
|
483
|
+
$[12] = source.queryOptions;
|
|
484
|
+
$[13] = t5;
|
|
485
|
+
} else t5 = $[13];
|
|
486
|
+
let t6;
|
|
487
|
+
if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
488
|
+
t6 = (_data, next_1) => {
|
|
489
|
+
savedDraftRef.current = next_1;
|
|
490
|
+
};
|
|
491
|
+
$[14] = t6;
|
|
492
|
+
} else t6 = $[14];
|
|
493
|
+
let t7;
|
|
494
|
+
if ($[15] !== queryClient || $[16] !== source.queryOptions) {
|
|
495
|
+
t7 = async (_data_0, error, next_2) => {
|
|
196
496
|
await queryClient.invalidateQueries({
|
|
197
497
|
queryKey: source.queryOptions.queryKey,
|
|
198
498
|
exact: true
|
|
199
499
|
});
|
|
200
|
-
if (!error) setDraft((current) => current ===
|
|
201
|
-
}
|
|
202
|
-
|
|
500
|
+
if (!error) setDraft((current) => current === next_2 ? null : current);
|
|
501
|
+
};
|
|
502
|
+
$[15] = queryClient;
|
|
503
|
+
$[16] = source.queryOptions;
|
|
504
|
+
$[17] = t7;
|
|
505
|
+
} else t7 = $[17];
|
|
506
|
+
let t8;
|
|
507
|
+
if ($[18] !== t4 || $[19] !== t5 || $[20] !== t7) {
|
|
508
|
+
t8 = {
|
|
509
|
+
mutationFn: t4,
|
|
510
|
+
onMutate: t5,
|
|
511
|
+
onSuccess: t6,
|
|
512
|
+
onSettled: t7
|
|
513
|
+
};
|
|
514
|
+
$[18] = t4;
|
|
515
|
+
$[19] = t5;
|
|
516
|
+
$[20] = t7;
|
|
517
|
+
$[21] = t8;
|
|
518
|
+
} else t8 = $[21];
|
|
519
|
+
const saveMutation = useMutation(t8);
|
|
203
520
|
const { mutateAsync: mutateSaveAsync, isPending: savePending } = saveMutation;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
521
|
+
let t9;
|
|
522
|
+
if ($[22] !== mutateSaveAsync) {
|
|
523
|
+
t9 = (next_3) => {
|
|
524
|
+
const settled = mutateSaveAsync(next_3).then(_temp2, _temp3);
|
|
525
|
+
savePromiseRef.current = settled;
|
|
526
|
+
return settled;
|
|
527
|
+
};
|
|
528
|
+
$[22] = mutateSaveAsync;
|
|
529
|
+
$[23] = t9;
|
|
530
|
+
} else t9 = $[23];
|
|
531
|
+
const runSave = t9;
|
|
532
|
+
let t10;
|
|
533
|
+
if ($[24] !== path || $[25] !== source) {
|
|
534
|
+
t10 = async () => {
|
|
211
535
|
if (!source.onSend) throw new Error(SEND_UNAVAILABLE_MESSAGE);
|
|
212
536
|
if (path === void 0) throw new Error(FILE_MISSING_MESSAGE);
|
|
213
537
|
await source.onSend(path);
|
|
214
|
-
}
|
|
215
|
-
|
|
538
|
+
};
|
|
539
|
+
$[24] = path;
|
|
540
|
+
$[25] = source;
|
|
541
|
+
$[26] = t10;
|
|
542
|
+
} else t10 = $[26];
|
|
543
|
+
let t11;
|
|
544
|
+
if ($[27] !== queryClient || $[28] !== source.queryOptions) {
|
|
545
|
+
t11 = () => queryClient.invalidateQueries({
|
|
216
546
|
queryKey: source.queryOptions.queryKey,
|
|
217
547
|
exact: true
|
|
218
|
-
})
|
|
219
|
-
|
|
548
|
+
});
|
|
549
|
+
$[27] = queryClient;
|
|
550
|
+
$[28] = source.queryOptions;
|
|
551
|
+
$[29] = t11;
|
|
552
|
+
} else t11 = $[29];
|
|
553
|
+
let t12;
|
|
554
|
+
if ($[30] !== t10 || $[31] !== t11) {
|
|
555
|
+
t12 = {
|
|
556
|
+
mutationFn: t10,
|
|
557
|
+
onSuccess: t11
|
|
558
|
+
};
|
|
559
|
+
$[30] = t10;
|
|
560
|
+
$[31] = t11;
|
|
561
|
+
$[32] = t12;
|
|
562
|
+
} else t12 = $[32];
|
|
563
|
+
const { mutateAsync: mutateSendAsync } = useMutation(t12);
|
|
220
564
|
const canSave = source.onChange != null;
|
|
221
|
-
const shown = persisted ?? (sessionSent ?
|
|
565
|
+
const shown = persisted ?? (sessionSent ? sentShown : null);
|
|
222
566
|
const state = shown?.state ?? (sessionSent ? "sent" : "draft");
|
|
223
|
-
const
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
567
|
+
const settled_0 = state === "sent";
|
|
568
|
+
let t13;
|
|
569
|
+
if ($[33] !== canSave || $[34] !== draft || $[35] !== path || $[36] !== settled_0) {
|
|
570
|
+
t13 = () => !canSave || path === void 0 || settled_0 || draft === null || draft === savedDraftRef.current || draft === attemptedDraftRef.current ? null : draft;
|
|
571
|
+
$[33] = canSave;
|
|
572
|
+
$[34] = draft;
|
|
573
|
+
$[35] = path;
|
|
574
|
+
$[36] = settled_0;
|
|
575
|
+
$[37] = t13;
|
|
576
|
+
} else t13 = $[37];
|
|
577
|
+
const unsavedDraft = React.useEffectEvent(t13);
|
|
578
|
+
let t14;
|
|
579
|
+
if ($[38] !== runSave || $[39] !== unsavedDraft) {
|
|
580
|
+
t14 = () => {
|
|
581
|
+
const next_4 = unsavedDraft();
|
|
582
|
+
if (next_4 !== null) runSave(next_4);
|
|
583
|
+
};
|
|
584
|
+
$[38] = runSave;
|
|
585
|
+
$[39] = unsavedDraft;
|
|
586
|
+
$[40] = t14;
|
|
587
|
+
} else t14 = $[40];
|
|
588
|
+
const saveUnsaved = React.useEffectEvent(t14);
|
|
589
|
+
let t15;
|
|
590
|
+
if ($[41] !== savePending || $[42] !== saveUnsaved || $[43] !== unsavedDraft) {
|
|
591
|
+
t15 = () => {
|
|
592
|
+
if (savePending) return;
|
|
593
|
+
if (unsavedDraft() === null) return;
|
|
594
|
+
const timer = setTimeout(saveUnsaved, SAVE_DEBOUNCE_MS);
|
|
595
|
+
return () => clearTimeout(timer);
|
|
596
|
+
};
|
|
597
|
+
$[41] = savePending;
|
|
598
|
+
$[42] = saveUnsaved;
|
|
599
|
+
$[43] = unsavedDraft;
|
|
600
|
+
$[44] = t15;
|
|
601
|
+
} else t15 = $[44];
|
|
602
|
+
let t16;
|
|
603
|
+
if ($[45] !== canSave || $[46] !== draft || $[47] !== path || $[48] !== savePending || $[49] !== settled_0) {
|
|
604
|
+
t16 = [
|
|
605
|
+
canSave,
|
|
606
|
+
draft,
|
|
607
|
+
path,
|
|
608
|
+
savePending,
|
|
609
|
+
settled_0
|
|
610
|
+
];
|
|
611
|
+
$[45] = canSave;
|
|
612
|
+
$[46] = draft;
|
|
613
|
+
$[47] = path;
|
|
614
|
+
$[48] = savePending;
|
|
615
|
+
$[49] = settled_0;
|
|
616
|
+
$[50] = t16;
|
|
617
|
+
} else t16 = $[50];
|
|
618
|
+
React.useEffect(t15, t16);
|
|
619
|
+
let t17;
|
|
620
|
+
if ($[51] !== saveUnsaved) {
|
|
621
|
+
t17 = () => () => saveUnsaved();
|
|
622
|
+
$[51] = saveUnsaved;
|
|
623
|
+
$[52] = t17;
|
|
624
|
+
} else t17 = $[52];
|
|
625
|
+
let t18;
|
|
626
|
+
if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
|
|
627
|
+
t18 = [];
|
|
628
|
+
$[53] = t18;
|
|
629
|
+
} else t18 = $[53];
|
|
630
|
+
React.useEffect(t17, t18);
|
|
631
|
+
let t19;
|
|
632
|
+
if ($[54] !== draft || $[55] !== mutateSendAsync || $[56] !== persisted || $[57] !== runSave) {
|
|
633
|
+
t19 = async () => {
|
|
634
|
+
if (savePromiseRef.current !== null && !await savePromiseRef.current) throw new Error(SEND_BLOCKED_MESSAGE);
|
|
635
|
+
const outstanding = draft;
|
|
636
|
+
if (outstanding !== null && outstanding !== savedDraftRef.current) {
|
|
637
|
+
if (!await runSave(outstanding)) throw new Error(SEND_BLOCKED_MESSAGE);
|
|
638
|
+
}
|
|
639
|
+
await mutateSendAsync();
|
|
640
|
+
if (persisted) setSentShown(draft === null ? persisted : {
|
|
641
|
+
...persisted,
|
|
642
|
+
...draft
|
|
643
|
+
});
|
|
644
|
+
setSessionSent(true);
|
|
253
645
|
};
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
646
|
+
$[54] = draft;
|
|
647
|
+
$[55] = mutateSendAsync;
|
|
648
|
+
$[56] = persisted;
|
|
649
|
+
$[57] = runSave;
|
|
650
|
+
$[58] = t19;
|
|
651
|
+
} else t19 = $[58];
|
|
652
|
+
const send = t19;
|
|
261
653
|
if (!shown) return fallback;
|
|
262
654
|
const visible = draft ?? shown;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
655
|
+
let t20;
|
|
656
|
+
if ($[59] !== draft || $[60] !== runSave || $[61] !== saveMutation.error || $[62] !== saveMutation.isError || $[63] !== saveMutation.isPending) {
|
|
657
|
+
t20 = saveMutation.isPending ? { status: "saving" } : saveMutation.isError ? {
|
|
658
|
+
status: "error",
|
|
659
|
+
message: formatErrorMessage(saveMutation.error),
|
|
660
|
+
onRetry: draft === null ? void 0 : () => void runSave(draft)
|
|
661
|
+
} : void 0;
|
|
662
|
+
$[59] = draft;
|
|
663
|
+
$[60] = runSave;
|
|
664
|
+
$[61] = saveMutation.error;
|
|
665
|
+
$[62] = saveMutation.isError;
|
|
666
|
+
$[63] = saveMutation.isPending;
|
|
667
|
+
$[64] = t20;
|
|
668
|
+
} else t20 = $[64];
|
|
669
|
+
const saveState = t20;
|
|
670
|
+
const t21 = people?.data;
|
|
671
|
+
const t22 = source.onChange ? setDraft : void 0;
|
|
672
|
+
const t23 = source.onSend ? send : void 0;
|
|
673
|
+
let t24;
|
|
674
|
+
if ($[65] !== shown.path || $[66] !== source) {
|
|
675
|
+
t24 = source.onOpen ? () => source.onOpen?.(shown.path) : void 0;
|
|
676
|
+
$[65] = shown.path;
|
|
677
|
+
$[66] = source;
|
|
678
|
+
$[67] = t24;
|
|
679
|
+
} else t24 = $[67];
|
|
680
|
+
let t25;
|
|
681
|
+
if ($[68] !== shown.path || $[69] !== source) {
|
|
682
|
+
t25 = source.onDelete ? () => source.onDelete?.(shown.path) : void 0;
|
|
683
|
+
$[68] = shown.path;
|
|
684
|
+
$[69] = source;
|
|
685
|
+
$[70] = t25;
|
|
686
|
+
} else t25 = $[70];
|
|
687
|
+
let t26;
|
|
688
|
+
if ($[71] !== props || $[72] !== saveState || $[73] !== shown.kind || $[74] !== state || $[75] !== t21 || $[76] !== t22 || $[77] !== t23 || $[78] !== t24 || $[79] !== t25 || $[80] !== visible.body || $[81] !== visible.fields) {
|
|
689
|
+
t26 = /* @__PURE__ */ jsx(WorkspaceCorrespondenceCard, {
|
|
690
|
+
...props,
|
|
691
|
+
body: visible.body,
|
|
692
|
+
fields: visible.fields,
|
|
693
|
+
kind: shown.kind,
|
|
694
|
+
people: t21,
|
|
695
|
+
state,
|
|
696
|
+
saveState,
|
|
697
|
+
onChange: t22,
|
|
698
|
+
onSend: t23,
|
|
699
|
+
onOpen: t24,
|
|
700
|
+
onDelete: t25
|
|
701
|
+
});
|
|
702
|
+
$[71] = props;
|
|
703
|
+
$[72] = saveState;
|
|
704
|
+
$[73] = shown.kind;
|
|
705
|
+
$[74] = state;
|
|
706
|
+
$[75] = t21;
|
|
707
|
+
$[76] = t22;
|
|
708
|
+
$[77] = t23;
|
|
709
|
+
$[78] = t24;
|
|
710
|
+
$[79] = t25;
|
|
711
|
+
$[80] = visible.body;
|
|
712
|
+
$[81] = visible.fields;
|
|
713
|
+
$[82] = t26;
|
|
714
|
+
} else t26 = $[82];
|
|
715
|
+
return t26;
|
|
716
|
+
}
|
|
717
|
+
function _temp3() {
|
|
718
|
+
return false;
|
|
719
|
+
}
|
|
720
|
+
function _temp2() {
|
|
721
|
+
return true;
|
|
281
722
|
}
|
|
282
723
|
//#endregion
|
|
283
724
|
export { WorkspaceCorrespondenceCard, WorkspaceCorrespondenceFile };
|