@mcp-b/react-components 0.71.1 → 0.72.0
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/{AgentComputer-CpS9R2KG.d.ts → AgentComputer-BI8RsGzq.d.ts} +11 -1
- package/dist/{AgentComputer-CsWDnHwj.js → AgentComputer-KhPwXwh8.js} +256 -247
- package/dist/{ChatGptSignInScreen-CmbBe09G.js → ChatGptSignInScreen-CLq5cetL.js} +1 -1
- package/dist/{CodeBlock-dt0L8md0.js → CodeBlock-ZG47S5e4.js} +1 -1
- package/dist/{ComputerCalendar-Z6k_DVJF.js → ComputerCalendar-B3xdMl90.js} +565 -478
- package/dist/{ComputerPresentation-BEQKYAjc.js → ComputerPresentation-rzx6n36S.js} +26 -4
- package/dist/{ExecutionResult-CXnGcmM4.js → ExecutionResult-BojdvFEY.js} +2 -2
- package/dist/{FileTree-CjfzpN6X.js → FileTree-C7fh3_H5.js} +1 -1
- package/dist/{ManagerOffice-BJ2vs-Lr.js → ManagerOffice-80ZkVjSt.js} +1 -1
- package/dist/{SetupChecklist-DwscX3Bw.js → SetupChecklist-BKCMkUuh.js} +1 -1
- package/dist/{ThinkSchedule-9nzxIoX1.d.ts → ThinkSchedule-C9vErgZQ.d.ts} +2 -3
- package/dist/{WorkspaceBrowser-mRScUczT.js → WorkspaceBrowser-BFdnZrm7.js} +2 -2
- package/dist/components/agents-sdk/AIProviderDialog.js +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.js +1 -1
- package/dist/components/agents-sdk/AgentComputer.d.ts +1 -1
- package/dist/components/agents-sdk/AgentComputer.js +1 -1
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/ComputerAutomations.d.ts +8 -3
- package/dist/components/agents-sdk/ComputerAutomations.js +7 -7
- package/dist/components/agents-sdk/ComputerCalendar.d.ts +22 -2
- package/dist/components/agents-sdk/ComputerCalendar.js +1 -1
- package/dist/components/agents-sdk/ComputerChannels.d.ts +51 -0
- package/dist/components/agents-sdk/ComputerChannels.js +311 -0
- package/dist/components/agents-sdk/ComputerFiles.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerFiles.js +4 -4
- package/dist/components/agents-sdk/ComputerHome.js +1 -1
- package/dist/components/agents-sdk/ComputerLayout.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerNotifications.js +1 -1
- package/dist/components/agents-sdk/ComputerPresentation.d.ts +2 -2
- package/dist/components/agents-sdk/ComputerPresentation.js +2 -2
- package/dist/components/agents-sdk/ComputerScreen.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerScreen.js +3 -3
- package/dist/components/agents-sdk/ComputerSettings.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerSettings.js +4 -4
- package/dist/components/agents-sdk/ComputerSpotlight.js +1 -1
- package/dist/components/agents-sdk/ComputerViewer.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +2 -2
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeSchedules.js +1 -1
- package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
- package/dist/components/agents-sdk/ExecutionBoard.js +3 -3
- package/dist/components/agents-sdk/ManagerAccountActions.js +1 -1
- package/dist/components/agents-sdk/ManagerOffice.d.ts +2 -2
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
- package/dist/components/agents-sdk/McpConnectionRequest.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
- package/dist/components/agents-sdk/McpServerPicker.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
- package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.js +2 -2
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.js +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.js +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +4 -4
- package/dist/components/agents-sdk/ThinkThreadPicker.js +1 -1
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.js +5 -5
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +4 -4
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +3 -3
- package/dist/components/agents-sdk/WorkspaceDesktop.js +326 -162
- package/dist/components/agents-sdk/WorkspaceExplorer.js +2 -2
- package/dist/components/agents-sdk/WorkspaceFileDetails.js +2 -2
- package/dist/components/agents-sdk/WorkspaceFileView.js +5 -5
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.js +3 -3
- package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +1 -1
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.js +2 -2
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.js +2 -2
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.js +1 -1
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.js +1 -1
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- package/dist/components/extension/FirstRunSetup.d.ts +1 -1
- package/dist/components/extension/FirstRunSetup.js +1 -1
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/Favicon.js +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/CommandPalette.js +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WallpaperPicker.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +1 -1
- package/dist/{connected-app-drafts-C49343p9.js → connected-app-drafts-D2ijldOR.js} +2 -2
- package/dist/{copy-button-DWBVJR6D.js → copy-button-UNBY7oXF.js} +1 -1
- package/dist/{icons-B3n7zvU7.d.ts → icons-CMPZtOxO.d.ts} +2 -1
- package/dist/{icons-nLTnB9kd.js → icons-CNwk7DEu.js} +3 -2
- package/dist/{parts-BFK5iocu.js → parts-Bb1aZP2y.js} +1 -1
- package/dist/{scheduled-table-source-gGpVJ1TN.js → scheduled-table-source-6YdnC3Sh.js} +1 -1
- package/dist/styles/app-top-bar.css +1 -1
- package/dist/styles/computer-calendar.css +12 -0
- package/dist/styles/computer-channels.css +87 -0
- package/dist/styles/index.css +1 -0
- package/dist/styles/list-detail.css +1 -2
- package/dist/styles/recipes.css +2 -2
- package/dist/styles/search-field.css +1 -1
- package/dist/styles/workspace-desktop.css +11 -7
- package/dist/{workspace-assets-DdtnBDU3.js → workspace-assets-CadpUKoz.js} +1 -1
- package/dist/{workspace-concept-panel-VkjvFCY_.js → workspace-concept-panel-CzxPyGpN.js} +1 -1
- package/dist/{workspace-delete-BOY6CMBf.js → workspace-delete-D9ZesEdu.js} +1 -1
- package/dist/{workspace-media-preview-B4iB5Tvi.js → workspace-media-preview-kXaEY4AN.js} +1 -1
- package/dist/{workspace-quick-look-8cbGu1Xf.js → workspace-quick-look-BDD-jXn3.js} +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { desktopArtwork } from "./utils/desktop-artwork.js";
|
|
2
2
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
3
|
-
import { N as KeyboardIcon,
|
|
3
|
+
import { G as MonitorIcon, N as KeyboardIcon, W as MinusIcon, _t as XIcon, c as BellIcon, g as ChevronRightIcon, gt as WrenchIcon, h as ChevronLeftIcon, ht as WarningIcon, nt as SearchIcon, p as CheckIcon, z as MaximizeIcon } from "./icons-CNwk7DEu.js";
|
|
4
4
|
import { a as formatErrorMessage, n as clamp } from "./format-DL7f2rqp.js";
|
|
5
5
|
import { Button } from "./components/foundations/Button.js";
|
|
6
6
|
import { Tooltip } from "./components/foundations/Tooltip.js";
|
|
@@ -16,7 +16,7 @@ import { n as rootRem } from "./container-width-C43ccJ84.js";
|
|
|
16
16
|
import { a as HandlersContext, c as PortalContext, d as WindowContext, g as usePresentation, h as useComputerSlice, i as ComputerContext, l as PresentationContext, n as AppHostsContext, o as HostContext, p as useComputer, r as AppearanceContext, t as ActionsContext, u as WindowActiveContext } from "./context-BWJpR084.js";
|
|
17
17
|
import { n as useComputerWallpaper } from "./ComputerCustomWallpaper-CnGQYHp0.js";
|
|
18
18
|
import { COMPUTER_APP_IDS } from "./components/agents-sdk/ComputerAppIds.js";
|
|
19
|
-
import {
|
|
19
|
+
import { t as DEFAULT_COMPUTER_PRESENTATION, u as arrangeDock } from "./ComputerPresentation-rzx6n36S.js";
|
|
20
20
|
import { Popover } from "./components/foundations/Popover.js";
|
|
21
21
|
import { Toast } from "./components/foundations/Toast.js";
|
|
22
22
|
import { ThemeContext } from "./components/foundations/ThemeProvider.js";
|
|
@@ -3621,7 +3621,7 @@ function changes(last, next) {
|
|
|
3621
3621
|
/**
|
|
3622
3622
|
* The computer's presentation, owned here and reported whole to the host on
|
|
3623
3623
|
* every change: the controller reports the layout, Settings the wallpaper and
|
|
3624
|
-
* Dock, and Files each folder's view.
|
|
3624
|
+
* Dock, and Files each folder's view and the desktop's icon positions.
|
|
3625
3625
|
*/
|
|
3626
3626
|
var PresentationStore = class {
|
|
3627
3627
|
presentation;
|
|
@@ -3650,6 +3650,7 @@ var PresentationStore = class {
|
|
|
3650
3650
|
this.onChange?.(this.presentation);
|
|
3651
3651
|
}
|
|
3652
3652
|
setLayout = (layout) => this.update({ layout });
|
|
3653
|
+
setDesktopIcons = (desktop) => this.update({ desktop });
|
|
3653
3654
|
/** Records one folder's view, keeping the most recently arranged {@link MAX_FOLDER_VIEWS}. */
|
|
3654
3655
|
setFolderView(path, view) {
|
|
3655
3656
|
const { [path]: _replaced, ...rest } = this.presentation.folders;
|
|
@@ -9079,7 +9080,7 @@ const NO_APPS = [];
|
|
|
9079
9080
|
* Use a key when changing employee identity to reset their presentation state.
|
|
9080
9081
|
*/
|
|
9081
9082
|
function AgentComputer(t0) {
|
|
9082
|
-
const $ = c(
|
|
9083
|
+
const $ = c(121);
|
|
9083
9084
|
let actionsRef;
|
|
9084
9085
|
let connection;
|
|
9085
9086
|
let extraResults;
|
|
@@ -9147,67 +9148,75 @@ function AgentComputer(t0) {
|
|
|
9147
9148
|
$[19] = t4;
|
|
9148
9149
|
} else t4 = $[19];
|
|
9149
9150
|
let t5;
|
|
9150
|
-
if ($[20] !== hosts.
|
|
9151
|
-
t5 = hosts.
|
|
9152
|
-
$[20] = hosts.
|
|
9151
|
+
if ($[20] !== hosts.channels) {
|
|
9152
|
+
t5 = hosts.channels ?? [];
|
|
9153
|
+
$[20] = hosts.channels;
|
|
9153
9154
|
$[21] = t5;
|
|
9154
9155
|
} else t5 = $[21];
|
|
9155
9156
|
let t6;
|
|
9156
|
-
if ($[22] !==
|
|
9157
|
-
t6 = [
|
|
9157
|
+
if ($[22] !== hosts.settings) {
|
|
9158
|
+
t6 = hosts.settings ? [hosts.settings.app] : [];
|
|
9159
|
+
$[22] = hosts.settings;
|
|
9160
|
+
$[23] = t6;
|
|
9161
|
+
} else t6 = $[23];
|
|
9162
|
+
let t7;
|
|
9163
|
+
if ($[24] !== hostApps || $[25] !== t2 || $[26] !== t3 || $[27] !== t4 || $[28] !== t5 || $[29] !== t6) {
|
|
9164
|
+
t7 = [
|
|
9158
9165
|
...t2,
|
|
9159
9166
|
...t3,
|
|
9160
9167
|
...t4,
|
|
9161
9168
|
...t5,
|
|
9169
|
+
...t6,
|
|
9162
9170
|
...hostApps
|
|
9163
9171
|
];
|
|
9164
|
-
$[
|
|
9165
|
-
$[
|
|
9166
|
-
$[
|
|
9167
|
-
$[
|
|
9168
|
-
$[
|
|
9169
|
-
$[
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
const
|
|
9173
|
-
|
|
9174
|
-
if ($[28] !== t7) {
|
|
9175
|
-
let t9;
|
|
9176
|
-
if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9177
|
-
t9 = /[^a-z0-9]/gi;
|
|
9178
|
-
$[30] = t9;
|
|
9179
|
-
} else t9 = $[30];
|
|
9180
|
-
t8 = t7.replaceAll(t9, "");
|
|
9181
|
-
$[28] = t7;
|
|
9182
|
-
$[29] = t8;
|
|
9183
|
-
} else t8 = $[29];
|
|
9184
|
-
const anchorPrefix = `--computer-miniature-${t8}`;
|
|
9172
|
+
$[24] = hostApps;
|
|
9173
|
+
$[25] = t2;
|
|
9174
|
+
$[26] = t3;
|
|
9175
|
+
$[27] = t4;
|
|
9176
|
+
$[28] = t5;
|
|
9177
|
+
$[29] = t6;
|
|
9178
|
+
$[30] = t7;
|
|
9179
|
+
} else t7 = $[30];
|
|
9180
|
+
const apps = t7;
|
|
9181
|
+
const t8 = React.useId();
|
|
9185
9182
|
let t9;
|
|
9186
|
-
if ($[31] !==
|
|
9187
|
-
|
|
9188
|
-
$[
|
|
9183
|
+
if ($[31] !== t8) {
|
|
9184
|
+
let t10;
|
|
9185
|
+
if ($[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9186
|
+
t10 = /[^a-z0-9]/gi;
|
|
9187
|
+
$[33] = t10;
|
|
9188
|
+
} else t10 = $[33];
|
|
9189
|
+
t9 = t8.replaceAll(t10, "");
|
|
9190
|
+
$[31] = t8;
|
|
9189
9191
|
$[32] = t9;
|
|
9190
9192
|
} else t9 = $[32];
|
|
9191
|
-
const
|
|
9193
|
+
const anchorPrefix = `--computer-miniature-${t9}`;
|
|
9192
9194
|
let t10;
|
|
9193
|
-
if ($[
|
|
9194
|
-
t10 = () => new
|
|
9195
|
+
if ($[34] !== savedPresentation) {
|
|
9196
|
+
t10 = () => new PresentationStore(savedPresentation ?? DEFAULT_COMPUTER_PRESENTATION);
|
|
9197
|
+
$[34] = savedPresentation;
|
|
9198
|
+
$[35] = t10;
|
|
9199
|
+
} else t10 = $[35];
|
|
9200
|
+
const [presentation] = React.useState(t10);
|
|
9201
|
+
let t11;
|
|
9202
|
+
if ($[36] !== anchorPrefix || $[37] !== apps || $[38] !== onActiveAppChange || $[39] !== presentation || $[40] !== selected) {
|
|
9203
|
+
t11 = () => new ComputerController({
|
|
9195
9204
|
apps,
|
|
9196
9205
|
selected,
|
|
9197
9206
|
onActiveAppChange,
|
|
9198
9207
|
onLayoutChange: presentation.setLayout
|
|
9199
9208
|
}, presentation.get().layout ?? void 0, anchorPrefix);
|
|
9200
|
-
$[
|
|
9201
|
-
$[
|
|
9202
|
-
$[
|
|
9203
|
-
$[
|
|
9204
|
-
$[
|
|
9205
|
-
$[
|
|
9206
|
-
} else
|
|
9207
|
-
const [computer] = React.useState(
|
|
9208
|
-
let
|
|
9209
|
-
if ($[
|
|
9210
|
-
|
|
9209
|
+
$[36] = anchorPrefix;
|
|
9210
|
+
$[37] = apps;
|
|
9211
|
+
$[38] = onActiveAppChange;
|
|
9212
|
+
$[39] = presentation;
|
|
9213
|
+
$[40] = selected;
|
|
9214
|
+
$[41] = t11;
|
|
9215
|
+
} else t11 = $[41];
|
|
9216
|
+
const [computer] = React.useState(t11);
|
|
9217
|
+
let t12;
|
|
9218
|
+
if ($[42] !== apps || $[43] !== computer || $[44] !== onActiveAppChange || $[45] !== onPresentationChange || $[46] !== presentation || $[47] !== selected) {
|
|
9219
|
+
t12 = () => {
|
|
9211
9220
|
presentation.receive(onPresentationChange);
|
|
9212
9221
|
computer.receive({
|
|
9213
9222
|
apps,
|
|
@@ -9216,288 +9225,288 @@ function AgentComputer(t0) {
|
|
|
9216
9225
|
onLayoutChange: presentation.setLayout
|
|
9217
9226
|
});
|
|
9218
9227
|
};
|
|
9219
|
-
$[
|
|
9220
|
-
$[
|
|
9221
|
-
$[
|
|
9222
|
-
$[
|
|
9223
|
-
$[
|
|
9224
|
-
$[
|
|
9225
|
-
$[
|
|
9226
|
-
} else
|
|
9227
|
-
React.useLayoutEffect(
|
|
9228
|
-
let t12;
|
|
9228
|
+
$[42] = apps;
|
|
9229
|
+
$[43] = computer;
|
|
9230
|
+
$[44] = onActiveAppChange;
|
|
9231
|
+
$[45] = onPresentationChange;
|
|
9232
|
+
$[46] = presentation;
|
|
9233
|
+
$[47] = selected;
|
|
9234
|
+
$[48] = t12;
|
|
9235
|
+
} else t12 = $[48];
|
|
9236
|
+
React.useLayoutEffect(t12);
|
|
9229
9237
|
let t13;
|
|
9230
|
-
if ($[46] !== computer) {
|
|
9231
|
-
t12 = () => () => computer.dispose();
|
|
9232
|
-
t13 = [computer];
|
|
9233
|
-
$[46] = computer;
|
|
9234
|
-
$[47] = t12;
|
|
9235
|
-
$[48] = t13;
|
|
9236
|
-
} else {
|
|
9237
|
-
t12 = $[47];
|
|
9238
|
-
t13 = $[48];
|
|
9239
|
-
}
|
|
9240
|
-
React.useEffect(t12, t13);
|
|
9241
|
-
const mounted = host?.computer;
|
|
9242
9238
|
let t14;
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
t14 =
|
|
9246
|
-
t15 = [mounted, computer];
|
|
9239
|
+
if ($[49] !== computer) {
|
|
9240
|
+
t13 = () => () => computer.dispose();
|
|
9241
|
+
t14 = [computer];
|
|
9247
9242
|
$[49] = computer;
|
|
9248
|
-
$[50] =
|
|
9243
|
+
$[50] = t13;
|
|
9249
9244
|
$[51] = t14;
|
|
9250
|
-
$[52] = t15;
|
|
9251
9245
|
} else {
|
|
9246
|
+
t13 = $[50];
|
|
9252
9247
|
t14 = $[51];
|
|
9253
|
-
t15 = $[52];
|
|
9254
9248
|
}
|
|
9255
|
-
React.
|
|
9249
|
+
React.useEffect(t13, t14);
|
|
9250
|
+
const mounted = host?.computer;
|
|
9251
|
+
let t15;
|
|
9256
9252
|
let t16;
|
|
9257
|
-
if ($[53] !==
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
$[
|
|
9261
|
-
|
|
9253
|
+
if ($[52] !== computer || $[53] !== mounted) {
|
|
9254
|
+
t15 = () => mounted?.attach(computer);
|
|
9255
|
+
t16 = [mounted, computer];
|
|
9256
|
+
$[52] = computer;
|
|
9257
|
+
$[53] = mounted;
|
|
9258
|
+
$[54] = t15;
|
|
9259
|
+
$[55] = t16;
|
|
9260
|
+
} else {
|
|
9261
|
+
t15 = $[54];
|
|
9262
|
+
t16 = $[55];
|
|
9263
|
+
}
|
|
9264
|
+
React.useLayoutEffect(t15, t16);
|
|
9262
9265
|
let t17;
|
|
9263
|
-
if ($[
|
|
9264
|
-
t17 =
|
|
9265
|
-
$[
|
|
9266
|
-
$[
|
|
9267
|
-
} else t17 = $[
|
|
9268
|
-
React.useImperativeHandle(actionsRef, t16, t17);
|
|
9269
|
-
const [portal, setPortal] = React.useState(null);
|
|
9266
|
+
if ($[56] !== computer.actions) {
|
|
9267
|
+
t17 = () => computer.actions;
|
|
9268
|
+
$[56] = computer.actions;
|
|
9269
|
+
$[57] = t17;
|
|
9270
|
+
} else t17 = $[57];
|
|
9270
9271
|
let t18;
|
|
9271
|
-
if ($[
|
|
9272
|
-
t18 =
|
|
9273
|
-
$[
|
|
9274
|
-
$[
|
|
9275
|
-
} else t18 = $[
|
|
9276
|
-
|
|
9272
|
+
if ($[58] !== computer) {
|
|
9273
|
+
t18 = [computer];
|
|
9274
|
+
$[58] = computer;
|
|
9275
|
+
$[59] = t18;
|
|
9276
|
+
} else t18 = $[59];
|
|
9277
|
+
React.useImperativeHandle(actionsRef, t17, t18);
|
|
9278
|
+
const [portal, setPortal] = React.useState(null);
|
|
9277
9279
|
let t19;
|
|
9278
|
-
if ($[
|
|
9279
|
-
t19 = (
|
|
9280
|
-
$[
|
|
9281
|
-
$[
|
|
9282
|
-
} else t19 = $[
|
|
9283
|
-
const
|
|
9280
|
+
if ($[60] !== presentation) {
|
|
9281
|
+
t19 = () => presentation.get().wallpaper;
|
|
9282
|
+
$[60] = presentation;
|
|
9283
|
+
$[61] = t19;
|
|
9284
|
+
} else t19 = $[61];
|
|
9285
|
+
const savedWallpaper = React.useSyncExternalStore(presentation.subscribe, t19);
|
|
9286
|
+
let t20;
|
|
9287
|
+
if ($[62] !== presentation) {
|
|
9288
|
+
t20 = (wallpaper) => presentation.update({ wallpaper });
|
|
9289
|
+
$[62] = presentation;
|
|
9290
|
+
$[63] = t20;
|
|
9291
|
+
} else t20 = $[63];
|
|
9292
|
+
const appearance = useComputerWallpaper(savedWallpaper, t20);
|
|
9284
9293
|
const wallpaper_0 = appearance.selected;
|
|
9285
9294
|
const desktop = hosts.files?.desktop;
|
|
9286
|
-
const
|
|
9287
|
-
const
|
|
9288
|
-
const
|
|
9289
|
-
let t23;
|
|
9290
|
-
if ($[61] !== wallpaper_0.darkBackground) {
|
|
9291
|
-
t23 = wallpaper_0.darkBackground && { "--sigvelo-recipe-computer-wallpaper-dark": `${VEIL}, ${wallpaper_0.darkBackground}` };
|
|
9292
|
-
$[61] = wallpaper_0.darkBackground;
|
|
9293
|
-
$[62] = t23;
|
|
9294
|
-
} else t23 = $[62];
|
|
9295
|
+
const t21 = computer.actions;
|
|
9296
|
+
const t22 = computer.handlers;
|
|
9297
|
+
const t23 = `${VEIL}, ${wallpaper_0.background}`;
|
|
9295
9298
|
let t24;
|
|
9296
|
-
if ($[
|
|
9297
|
-
t24 = {
|
|
9298
|
-
|
|
9299
|
-
|
|
9299
|
+
if ($[64] !== wallpaper_0.darkBackground) {
|
|
9300
|
+
t24 = wallpaper_0.darkBackground && { "--sigvelo-recipe-computer-wallpaper-dark": `${VEIL}, ${wallpaper_0.darkBackground}` };
|
|
9301
|
+
$[64] = wallpaper_0.darkBackground;
|
|
9302
|
+
$[65] = t24;
|
|
9303
|
+
} else t24 = $[65];
|
|
9304
|
+
let t25;
|
|
9305
|
+
if ($[66] !== style || $[67] !== t23 || $[68] !== t24) {
|
|
9306
|
+
t25 = {
|
|
9307
|
+
"--sigvelo-recipe-computer-wallpaper": t23,
|
|
9308
|
+
...t24,
|
|
9300
9309
|
...style
|
|
9301
9310
|
};
|
|
9302
|
-
$[
|
|
9303
|
-
$[
|
|
9304
|
-
$[
|
|
9305
|
-
$[
|
|
9306
|
-
} else
|
|
9307
|
-
const
|
|
9308
|
-
const
|
|
9309
|
-
const
|
|
9310
|
-
const
|
|
9311
|
-
let
|
|
9312
|
-
if ($[
|
|
9313
|
-
|
|
9311
|
+
$[66] = style;
|
|
9312
|
+
$[67] = t23;
|
|
9313
|
+
$[68] = t24;
|
|
9314
|
+
$[69] = t25;
|
|
9315
|
+
} else t25 = $[69];
|
|
9316
|
+
const t26 = t25;
|
|
9317
|
+
const t27 = Boolean(homeWidget);
|
|
9318
|
+
const t28 = desktop !== void 0;
|
|
9319
|
+
const t29 = host?.employee.name ?? "";
|
|
9320
|
+
let t30;
|
|
9321
|
+
if ($[70] !== connection || $[71] !== extraResults || $[72] !== extras || $[73] !== notifications) {
|
|
9322
|
+
t30 = /* @__PURE__ */ jsx(ComputerMenuExtras, {
|
|
9314
9323
|
notifications,
|
|
9315
9324
|
connection,
|
|
9316
9325
|
extraResults,
|
|
9317
9326
|
extras
|
|
9318
9327
|
});
|
|
9319
|
-
$[
|
|
9320
|
-
$[
|
|
9321
|
-
$[
|
|
9322
|
-
$[
|
|
9323
|
-
$[
|
|
9324
|
-
} else
|
|
9325
|
-
let
|
|
9326
|
-
if ($[
|
|
9327
|
-
|
|
9328
|
-
name:
|
|
9328
|
+
$[70] = connection;
|
|
9329
|
+
$[71] = extraResults;
|
|
9330
|
+
$[72] = extras;
|
|
9331
|
+
$[73] = notifications;
|
|
9332
|
+
$[74] = t30;
|
|
9333
|
+
} else t30 = $[74];
|
|
9334
|
+
let t31;
|
|
9335
|
+
if ($[75] !== homeWidget || $[76] !== t29 || $[77] !== t30) {
|
|
9336
|
+
t31 = /* @__PURE__ */ jsx(ShellBar, {
|
|
9337
|
+
name: t29,
|
|
9329
9338
|
homeWidget,
|
|
9330
|
-
status:
|
|
9339
|
+
status: t30
|
|
9331
9340
|
});
|
|
9332
|
-
$[
|
|
9333
|
-
$[
|
|
9334
|
-
$[
|
|
9335
|
-
$[
|
|
9336
|
-
} else
|
|
9337
|
-
let t31;
|
|
9338
|
-
if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9339
|
-
t31 = /* @__PURE__ */ jsx(ComputerHome, {});
|
|
9340
|
-
$[76] = t31;
|
|
9341
|
-
} else t31 = $[76];
|
|
9341
|
+
$[75] = homeWidget;
|
|
9342
|
+
$[76] = t29;
|
|
9343
|
+
$[77] = t30;
|
|
9344
|
+
$[78] = t31;
|
|
9345
|
+
} else t31 = $[78];
|
|
9342
9346
|
let t32;
|
|
9343
|
-
if ($[
|
|
9344
|
-
t32 = /* @__PURE__ */ jsx(
|
|
9345
|
-
home: t31,
|
|
9346
|
-
desktop,
|
|
9347
|
-
apps
|
|
9348
|
-
});
|
|
9349
|
-
$[77] = apps;
|
|
9350
|
-
$[78] = desktop;
|
|
9347
|
+
if ($[79] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9348
|
+
t32 = /* @__PURE__ */ jsx(ComputerHome, {});
|
|
9351
9349
|
$[79] = t32;
|
|
9352
9350
|
} else t32 = $[79];
|
|
9353
9351
|
let t33;
|
|
9354
|
-
if ($[80]
|
|
9355
|
-
t33 = /* @__PURE__ */ jsx(
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
$[
|
|
9368
|
-
|
|
9369
|
-
|
|
9352
|
+
if ($[80] !== apps || $[81] !== desktop) {
|
|
9353
|
+
t33 = /* @__PURE__ */ jsx(ShellStage, {
|
|
9354
|
+
home: t32,
|
|
9355
|
+
desktop,
|
|
9356
|
+
apps
|
|
9357
|
+
});
|
|
9358
|
+
$[80] = apps;
|
|
9359
|
+
$[81] = desktop;
|
|
9360
|
+
$[82] = t33;
|
|
9361
|
+
} else t33 = $[82];
|
|
9362
|
+
let t34;
|
|
9363
|
+
if ($[83] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9364
|
+
t34 = /* @__PURE__ */ jsx(ShellExpose, {});
|
|
9365
|
+
$[83] = t34;
|
|
9366
|
+
} else t34 = $[83];
|
|
9367
|
+
const t35 = hosts.files?.trash;
|
|
9368
|
+
const t36 = host?.employee.name ?? "";
|
|
9370
9369
|
let t37;
|
|
9371
|
-
if ($[84]
|
|
9372
|
-
t37 = /* @__PURE__ */ jsx(
|
|
9373
|
-
|
|
9374
|
-
|
|
9370
|
+
if ($[84] !== t35 || $[85] !== t36) {
|
|
9371
|
+
t37 = /* @__PURE__ */ jsx(ComputerDock, {
|
|
9372
|
+
trash: t35,
|
|
9373
|
+
name: t36
|
|
9374
|
+
});
|
|
9375
|
+
$[84] = t35;
|
|
9376
|
+
$[85] = t36;
|
|
9377
|
+
$[86] = t37;
|
|
9378
|
+
} else t37 = $[86];
|
|
9375
9379
|
let t38;
|
|
9376
|
-
if ($[
|
|
9377
|
-
t38 = /* @__PURE__ */
|
|
9380
|
+
if ($[87] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9381
|
+
t38 = /* @__PURE__ */ jsx(ShellAnnouncer, {});
|
|
9382
|
+
$[87] = t38;
|
|
9383
|
+
} else t38 = $[87];
|
|
9384
|
+
let t39;
|
|
9385
|
+
if ($[88] !== t33 || $[89] !== t37) {
|
|
9386
|
+
t39 = /* @__PURE__ */ jsxs(AppFrame.Body, {
|
|
9378
9387
|
className: "agent-computer__body",
|
|
9379
9388
|
children: [
|
|
9380
|
-
t32,
|
|
9381
9389
|
t33,
|
|
9382
|
-
|
|
9383
|
-
t37
|
|
9390
|
+
t34,
|
|
9391
|
+
t37,
|
|
9392
|
+
t38
|
|
9384
9393
|
]
|
|
9385
9394
|
});
|
|
9386
|
-
$[
|
|
9387
|
-
$[
|
|
9388
|
-
$[
|
|
9389
|
-
} else
|
|
9390
|
-
let t39;
|
|
9395
|
+
$[88] = t33;
|
|
9396
|
+
$[89] = t37;
|
|
9397
|
+
$[90] = t39;
|
|
9398
|
+
} else t39 = $[90];
|
|
9391
9399
|
let t40;
|
|
9392
9400
|
let t41;
|
|
9393
|
-
|
|
9394
|
-
|
|
9395
|
-
t40 = /* @__PURE__ */ jsx(
|
|
9396
|
-
t41 = /* @__PURE__ */ jsx(
|
|
9401
|
+
let t42;
|
|
9402
|
+
if ($[91] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9403
|
+
t40 = /* @__PURE__ */ jsx(ShellRevealEdges, {});
|
|
9404
|
+
t41 = /* @__PURE__ */ jsx(ShellAppSwitch, {});
|
|
9405
|
+
t42 = /* @__PURE__ */ jsx("div", {
|
|
9397
9406
|
ref: setPortal,
|
|
9398
9407
|
className: "agent-computer__portal"
|
|
9399
9408
|
});
|
|
9400
|
-
$[
|
|
9401
|
-
$[
|
|
9402
|
-
$[
|
|
9409
|
+
$[91] = t40;
|
|
9410
|
+
$[92] = t41;
|
|
9411
|
+
$[93] = t42;
|
|
9403
9412
|
} else {
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9413
|
+
t40 = $[91];
|
|
9414
|
+
t41 = $[92];
|
|
9415
|
+
t42 = $[93];
|
|
9407
9416
|
}
|
|
9408
|
-
const
|
|
9409
|
-
let t43;
|
|
9410
|
-
if ($[91] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9411
|
-
t43 = /* @__PURE__ */ jsx(ShellEffects, {});
|
|
9412
|
-
$[91] = t43;
|
|
9413
|
-
} else t43 = $[91];
|
|
9417
|
+
const t43 = hosts.files?.dialogs;
|
|
9414
9418
|
let t44;
|
|
9415
|
-
if ($[
|
|
9416
|
-
t44 = /* @__PURE__ */
|
|
9419
|
+
if ($[94] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9420
|
+
t44 = /* @__PURE__ */ jsx(ShellEffects, {});
|
|
9421
|
+
$[94] = t44;
|
|
9422
|
+
} else t44 = $[94];
|
|
9423
|
+
let t45;
|
|
9424
|
+
if ($[95] !== props || $[96] !== t26 || $[97] !== t27 || $[98] !== t28 || $[99] !== t31 || $[100] !== t39 || $[101] !== t43) {
|
|
9425
|
+
t45 = /* @__PURE__ */ jsxs(ShellRoot, {
|
|
9417
9426
|
...props,
|
|
9418
|
-
style:
|
|
9419
|
-
homeWidget:
|
|
9420
|
-
desktop:
|
|
9427
|
+
style: t26,
|
|
9428
|
+
homeWidget: t27,
|
|
9429
|
+
desktop: t28,
|
|
9421
9430
|
children: [
|
|
9422
|
-
|
|
9423
|
-
t38,
|
|
9431
|
+
t31,
|
|
9424
9432
|
t39,
|
|
9425
9433
|
t40,
|
|
9426
9434
|
t41,
|
|
9427
9435
|
t42,
|
|
9428
|
-
t43
|
|
9436
|
+
t43,
|
|
9437
|
+
t44
|
|
9429
9438
|
]
|
|
9430
9439
|
});
|
|
9431
|
-
$[
|
|
9432
|
-
$[
|
|
9433
|
-
$[
|
|
9434
|
-
$[
|
|
9435
|
-
$[
|
|
9436
|
-
$[
|
|
9437
|
-
$[
|
|
9438
|
-
$[99] = t44;
|
|
9439
|
-
} else t44 = $[99];
|
|
9440
|
-
let t45;
|
|
9441
|
-
if ($[100] !== appearance || $[101] !== t44) {
|
|
9442
|
-
t45 = /* @__PURE__ */ jsx(AppearanceContext, {
|
|
9443
|
-
value: appearance,
|
|
9444
|
-
children: t44
|
|
9445
|
-
});
|
|
9446
|
-
$[100] = appearance;
|
|
9447
|
-
$[101] = t44;
|
|
9440
|
+
$[95] = props;
|
|
9441
|
+
$[96] = t26;
|
|
9442
|
+
$[97] = t27;
|
|
9443
|
+
$[98] = t28;
|
|
9444
|
+
$[99] = t31;
|
|
9445
|
+
$[100] = t39;
|
|
9446
|
+
$[101] = t43;
|
|
9448
9447
|
$[102] = t45;
|
|
9449
9448
|
} else t45 = $[102];
|
|
9450
9449
|
let t46;
|
|
9451
|
-
if ($[103] !==
|
|
9452
|
-
t46 = /* @__PURE__ */ jsx(
|
|
9453
|
-
value:
|
|
9450
|
+
if ($[103] !== appearance || $[104] !== t45) {
|
|
9451
|
+
t46 = /* @__PURE__ */ jsx(AppearanceContext, {
|
|
9452
|
+
value: appearance,
|
|
9454
9453
|
children: t45
|
|
9455
9454
|
});
|
|
9456
|
-
$[103] =
|
|
9455
|
+
$[103] = appearance;
|
|
9457
9456
|
$[104] = t45;
|
|
9458
9457
|
$[105] = t46;
|
|
9459
9458
|
} else t46 = $[105];
|
|
9460
9459
|
let t47;
|
|
9461
|
-
if ($[106] !==
|
|
9462
|
-
t47 = /* @__PURE__ */ jsx(
|
|
9463
|
-
value:
|
|
9460
|
+
if ($[106] !== presentation || $[107] !== t46) {
|
|
9461
|
+
t47 = /* @__PURE__ */ jsx(PresentationContext, {
|
|
9462
|
+
value: presentation,
|
|
9464
9463
|
children: t46
|
|
9465
9464
|
});
|
|
9466
|
-
$[106] =
|
|
9465
|
+
$[106] = presentation;
|
|
9467
9466
|
$[107] = t46;
|
|
9468
9467
|
$[108] = t47;
|
|
9469
9468
|
} else t47 = $[108];
|
|
9470
9469
|
let t48;
|
|
9471
|
-
if ($[109] !==
|
|
9472
|
-
t48 = /* @__PURE__ */ jsx(
|
|
9473
|
-
value:
|
|
9470
|
+
if ($[109] !== portal || $[110] !== t47) {
|
|
9471
|
+
t48 = /* @__PURE__ */ jsx(PortalContext, {
|
|
9472
|
+
value: portal,
|
|
9474
9473
|
children: t47
|
|
9475
9474
|
});
|
|
9476
|
-
$[109] =
|
|
9475
|
+
$[109] = portal;
|
|
9477
9476
|
$[110] = t47;
|
|
9478
9477
|
$[111] = t48;
|
|
9479
9478
|
} else t48 = $[111];
|
|
9480
9479
|
let t49;
|
|
9481
|
-
if ($[112] !== computer.
|
|
9482
|
-
t49 = /* @__PURE__ */ jsx(
|
|
9483
|
-
value:
|
|
9480
|
+
if ($[112] !== computer.handlers || $[113] !== t48) {
|
|
9481
|
+
t49 = /* @__PURE__ */ jsx(HandlersContext, {
|
|
9482
|
+
value: t22,
|
|
9484
9483
|
children: t48
|
|
9485
9484
|
});
|
|
9486
|
-
$[112] = computer.
|
|
9485
|
+
$[112] = computer.handlers;
|
|
9487
9486
|
$[113] = t48;
|
|
9488
9487
|
$[114] = t49;
|
|
9489
9488
|
} else t49 = $[114];
|
|
9490
9489
|
let t50;
|
|
9491
|
-
if ($[115] !== computer || $[116] !== t49) {
|
|
9492
|
-
t50 = /* @__PURE__ */ jsx(
|
|
9493
|
-
value:
|
|
9490
|
+
if ($[115] !== computer.actions || $[116] !== t49) {
|
|
9491
|
+
t50 = /* @__PURE__ */ jsx(ActionsContext, {
|
|
9492
|
+
value: t21,
|
|
9494
9493
|
children: t49
|
|
9495
9494
|
});
|
|
9496
|
-
$[115] = computer;
|
|
9495
|
+
$[115] = computer.actions;
|
|
9497
9496
|
$[116] = t49;
|
|
9498
9497
|
$[117] = t50;
|
|
9499
9498
|
} else t50 = $[117];
|
|
9500
|
-
|
|
9499
|
+
let t51;
|
|
9500
|
+
if ($[118] !== computer || $[119] !== t50) {
|
|
9501
|
+
t51 = /* @__PURE__ */ jsx(ComputerContext, {
|
|
9502
|
+
value: computer,
|
|
9503
|
+
children: t50
|
|
9504
|
+
});
|
|
9505
|
+
$[118] = computer;
|
|
9506
|
+
$[119] = t50;
|
|
9507
|
+
$[120] = t51;
|
|
9508
|
+
} else t51 = $[120];
|
|
9509
|
+
return t51;
|
|
9501
9510
|
}
|
|
9502
9511
|
//#endregion
|
|
9503
9512
|
export { useAgentComputerWindow as a, COMPUTER_SPOTLIGHT_SHORTCUT as c, ComputerClock as d, ComputerNotifications as f, useAgentComputerPortalContainer as i, ComputerSpotlight as l, chordLabel as m, useAgentComputerActions as n, useAgentComputerWindowActive as o, useMinuteClock as p, useAgentComputerAppHandlers as r, ComputerHome as s, AgentComputer as t, ComputerAppearanceMenu as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SIGVELO_LOGO } from "./utils/brand-marks.js";
|
|
2
2
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
3
|
-
import {
|
|
3
|
+
import { at as SpinnerIcon, p as CheckIcon } from "./icons-CNwk7DEu.js";
|
|
4
4
|
import { Button } from "./components/foundations/Button.js";
|
|
5
5
|
import { t as ProviderLogo } from "./provider-logos-Ceu7iYFx.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
2
|
import { Select } from "./components/foundations/Select.js";
|
|
3
|
-
import { t as CopyButton } from "./copy-button-
|
|
3
|
+
import { t as CopyButton } from "./copy-button-UNBY7oXF.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|