@floegence/floe-webapp-core 0.86.63 → 0.86.65
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/components/ui/Dialog.js +101 -95
- package/dist/components/ui/dialogHeightMotion.d.ts +9 -0
- package/dist/components/ui/dialogHeightMotion.js +49 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/full.js +75 -73
- package/dist/progress-shimmer.css +10 -0
- package/dist/styles.css +1 -1
- package/dist/ui.js +33 -31
- package/package.json +1 -1
package/dist/full.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FloeProvider as r } from "./app/FloeProvider.js";
|
|
2
2
|
import { applyShellThemeAttribute as i, applySurfaceStyleAttribute as n, applyTheme as a, builtInThemes as l, getSystemTheme as c, isFloeSurfaceStyle as m, isThemeType as s, mergeThemeTokenMaps as p, resolveThemeTokenOverrides as f, resolveThemeTokens as d, syncThemeTokenOverrides as x } from "./styles/themes/index.js";
|
|
3
3
|
import { floeColorTokenCategories as T, floeDesignTokens as I, floeFontFamilyTokens as u, floeMotionTokens as g, floeRadiusTokens as C, floeSharedCssVariables as h, floeSpacingTokens as k, floeSurfaceTokens as F, floeThemeColorVariables as E, floeTypographyTokens as P, getFloeColorTokenValue as R } from "./styles/tokens.js";
|
|
4
|
-
import { Activity as L, ActivityIcon as y, AlertCircle as D, AlertTriangle as
|
|
4
|
+
import { Activity as L, ActivityIcon as y, AlertCircle as D, AlertTriangle as v, ArchiveIcon as _, ArrowDown as M, ArrowLeft as B, ArrowRight as O, ArrowRightLeft as W, ArrowUp as b, AtSign as w, AwardIcon as N, BarChart as H, BatteryIcon as U, Bell as G, BellIcon as V, Bookmark as K, BookmarkIcon as z, Bot as X, BotIcon as Z, BugIcon as Q, Calendar as Y, CalendarIcon as q, Camera as j, CameraIcon as J, ChartIcon as $, Check as ee, CheckCircle as oe, CheckIcon as re, ChevronDown as te, ChevronLeft as ie, ChevronRight as ne, ChevronUp as ae, ChevronsUpDown as le, CircleStop as ce, Clock as me, ClockIcon as se, CloseIcon as pe, Cloud as fe, CloudIcon as de, Code as xe, CodeIcon as Se, CompassIcon as Te, Copy as Ie, CopyCheck as ue, CopyCheckIcon as ge, CopyIcon as Ce, Cpu as he, CreditCardIcon as ke, Database as Fe, DatabaseIcon as Ee, DollarIcon as Pe, Download as Re, DownloadIcon as Ae, EditIcon as Le, ErrorIcon as ye, ExternalLink as De, Eye as ve, EyeIcon as _e, EyeOff as Me, FileCode as Be, FilePlus as Oe, FilePlusIcon as We, FileText as be, Files as we, Filter as Ne, FilterIcon as He, FireIcon as Ue, Folder as Ge, FolderOpen as Ve, FolderPlus as Ke, FolderPlusIcon as ze, GiftIcon as Xe, GitBranch as Ze, GitBranchIcon as Qe, Globe as Ye, GlobeIcon as qe, Grid as je, Grid3x3 as Je, GripVertical as $e, Hash as eo, HeadphonesIcon as oo, Heart as ro, HeartIcon as to, HelpIcon as io, Highlighter as no, History as ao, Home as lo, HomeIcon as co, Image as mo, ImageIcon as so, Info as po, InfoIcon as fo, Key as xo, KeyIcon as So, Layers as To, LayersIcon as Io, LayoutDashboard as uo, Link as go, LinkIcon as Co, Loader2 as ho, LoadingIcon as ko, Lock as Fo, LockIcon as Eo, MagicIcon as Po, Mail as Ro, MailIcon as Ao, MapPinIcon as Lo, Maximize as yo, Menu as Do, MessageIcon as vo, MessageSquare as _o, Mic as Mo, MicIcon as Bo, MicOff as Oo, Minus as Wo, MinusIcon as bo, MonitorPointer as wo, Moon as No, MoonIcon as Ho, MoreHorizontal as Uo, MoreVertical as Go, MuteIcon as Vo, Package as Ko, PackageIcon as zo, Paperclip as Xo, Paste as Zo, PasteIcon as Qo, Pause as Yo, PauseIcon as qo, Pencil as jo, Phone as Jo, PieChart as $o, Pin as er, PinIcon as or, Play as rr, PlayIcon as tr, Plus as ir, PlusIcon as nr, PowerIcon as ar, PrinterIcon as lr, Quote as cr, Refresh as mr, RefreshIcon as sr, Region as pr, Restore as fr, RocketIcon as dr, Save as xr, SaveIcon as Sr, Search as Tr, SearchIcon as Ir, Send as ur, SendIcon as gr, Settings as Cr, SettingsIcon as hr, ShareIcon as kr, Shield as Fr, ShieldCheck as Er, ShieldIcon as Pr, SparkleIcon as Rr, Sparkles as Ar, Star as Lr, StarIcon as yr, Stop as Dr, StopFilled as vr, SuccessIcon as _r, Sun as Mr, SunIcon as Br, TagIcon as Or, TargetIcon as Wr, Terminal as br, TerminalIcon as wr, TextTool as Nr, ThumbsDownIcon as Hr, ThumbsUpIcon as Ur, Timer as Gr, Trash as Vr, TrashIcon as Kr, TrendingDown as zr, TrendingUp as Xr, Unlock as Zr, Upload as Qr, UploadIcon as Yr, User as qr, UserIcon as jr, Video as Jr, VideoIcon as $r, Volume as et, VolumeIcon as ot, VolumeOff as rt, Wand as tt, WarningIcon as it, WifiIcon as nt, WifiOffIcon as at, Workflow as lt, X as ct, XCircle as mt, Zap as st, ZapIcon as pt } from "./components/icons/index.js";
|
|
5
5
|
import { DEFAULT_TERMINAL_WORKSPACE_PROFILE as dt, normalizeTerminalWorkspaceProfile as xt } from "./terminal/workspaceProfile.js";
|
|
6
6
|
import { clampTerminalCursor as Tt, createTerminalEditorState as It, deleteTerminalTextBackward as ut, insertTerminalText as gt, moveTerminalCursor as Ct, navigateTerminalHistory as ht } from "./terminal/editorModel.js";
|
|
7
7
|
import { applyTerminalSessionSuggestion as Ft, createTerminalSessionState as Et, dispatchTerminalSessionKey as Pt, getTerminalPromptPreview as Rt, getTerminalSessionSuggestions as At, setTerminalSessionInputValue as Lt, submitTerminalSession as yt } from "./terminal/sessionModel.js";
|
|
8
|
-
import { runTerminalMockCommand as
|
|
8
|
+
import { runTerminalMockCommand as vt } from "./terminal/mockRuntime.js";
|
|
9
9
|
import { DEFAULT_TERMINAL_SUGGESTION_PROVIDERS as Mt, applyTerminalSuggestion as Bt, autocompleteTerminalInput as Ot, createTerminalFullLineSuggestion as Wt, createTerminalTokenSuggestion as bt, getTerminalSuggestions as wt, matchesTerminalSuggestionPrefix as Nt, parseTerminalSuggestionContext as Ht, terminalCommandTokenSuggestionProvider as Ut, terminalHistorySuggestionProvider as Gt, terminalPathSuggestionProvider as Vt, terminalRootSuggestionProvider as Kt, terminalSnippetSuggestionProvider as zt } from "./terminal/suggestionEngine.js";
|
|
10
10
|
import { ActivityAppsMain as Zt } from "./app/ActivityAppsMain.js";
|
|
11
11
|
import { ActivityBar as Yt } from "./components/layout/ActivityBar.js";
|
|
@@ -13,7 +13,7 @@ import { ActivityRailIcons as jt, RailChat as Jt, RailDesignTokens as $t, RailFi
|
|
|
13
13
|
import { ActualSize as li, Clipboard as ci, ExitFullscreen as mi, Fullscreen as si, Keyboard as pi, Monitor as fi, Scan as di, SlidersHorizontal as xi, Unplug as Si } from "./components/icons/RemoteControlIcons.js";
|
|
14
14
|
import { AffixInput as Ii, Input as ui, NumberInput as gi, Textarea as Ci } from "./components/ui/Input.js";
|
|
15
15
|
import { AppViewport as ki } from "./components/layout/AppViewport.js";
|
|
16
|
-
import { ArchiveFileIcon as Ei, AudioFileIcon as Pi, BrokenSymlinkIcon as Ri, CodeFileIcon as Ai, ConfigFileIcon as Li, DocumentFileIcon as yi, FileIcon as Di, FileItemIcon as
|
|
16
|
+
import { ArchiveFileIcon as Ei, AudioFileIcon as Pi, BrokenSymlinkIcon as Ri, CodeFileIcon as Ai, ConfigFileIcon as Li, DocumentFileIcon as yi, FileIcon as Di, FileItemIcon as vi, FolderIcon as _i, FolderOpenIcon as Mi, ImageFileIcon as Bi, JavaScriptFileIcon as Oi, ShellScriptFileIcon as Wi, StyleFileIcon as bi, SymlinkFileIcon as wi, SymlinkFolderIcon as Ni, SymlinkFolderOpenIcon as Hi, TypeScriptFileIcon as Ui, VideoFileIcon as Gi, getFileIcon as Vi, resolveFileItemIcon as Ki } from "./components/file-browser/FileIcons.js";
|
|
17
17
|
import { AreaChart as Xi, DataBarChart as Zi, DataPieChart as Qi, LineChart as Yi, MonitoringChart as qi } from "./components/ui/Charts.js";
|
|
18
18
|
import { AttachmentPreview as Ji } from "./components/chat/input/AttachmentPreview.js";
|
|
19
19
|
import { BUILT_IN_SHELL_THEME_DEFAULTS as en, REQUIRED_SHELL_THEME_TOKENS as on, assertUniqueThemePresetNames as rn, builtInShellThemePresets as tn, createShellThemePreset as nn, getShellThemePresetsForMode as an, normalizeShellThemeSelection as ln, presetSupportsMode as cn, resolveShellThemePresetName as mn } from "./styles/themes/presets.js";
|
|
@@ -21,7 +21,7 @@ import { BlockRenderer as pn } from "./components/chat/blocks/BlockRenderer.js";
|
|
|
21
21
|
import { BottomBarCompanion as dn } from "./components/layout/BottomBarCompanion.js";
|
|
22
22
|
import { Breadcrumb as Sn } from "./components/file-browser/Breadcrumb.js";
|
|
23
23
|
import { Button as In } from "./components/ui/Button.js";
|
|
24
|
-
import { CANVAS_WHEEL_INTERACTIVE_ATTR as gn, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as Cn, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as hn, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as kn, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as Fn, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as En, LOCAL_INTERACTION_SURFACE_ATTR as Pn, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as Rn, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as An, WORKBENCH_WIDGET_SHELL_ATTR as Ln, isLocalInteractionSurfaceTarget as yn, resolveSurfaceInteractionTargetRole as Dn, resolveSurfaceWheelRouting as
|
|
24
|
+
import { CANVAS_WHEEL_INTERACTIVE_ATTR as gn, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as Cn, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as hn, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as kn, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as Fn, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as En, LOCAL_INTERACTION_SURFACE_ATTR as Pn, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as Rn, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as An, WORKBENCH_WIDGET_SHELL_ATTR as Ln, isLocalInteractionSurfaceTarget as yn, resolveSurfaceInteractionTargetRole as Dn, resolveSurfaceWheelRouting as vn, resolveWorkbenchWidgetEventOwnership as _n, resolveWorkbenchWidgetLocalTypingTarget as Mn, resolveWorkbenchWidgetTextSelectionTarget as Bn, shouldActivateWorkbenchWidgetLocalTarget as On } from "./components/ui/localInteractionSurface.js";
|
|
25
25
|
import { Card as bn, CardContent as wn, CardDescription as Nn, CardFooter as Hn, CardHeader as Un, CardTitle as Gn } from "./components/ui/Card.js";
|
|
26
26
|
import { ChatContainer as Kn } from "./components/chat/ChatContainer.js";
|
|
27
27
|
import { ChatInput as Xn } from "./components/chat/input/ChatInput.js";
|
|
@@ -36,7 +36,7 @@ import { CommandProvider as xa, createCommandService as Sa, useCommand as Ta } f
|
|
|
36
36
|
import { ComponentRegistryProvider as ua, createComponentRegistry as ga, hasComponentRegistryContext as Ca, useComponentContextFactory as ha, useComponentRegistry as ka, useOptionalComponentRegistry as Fa } from "./context/ComponentRegistry.js";
|
|
37
37
|
import { ConfirmDialog as Pa, Dialog as Ra } from "./components/ui/Dialog.js";
|
|
38
38
|
import { ConnectionStatus as La } from "./components/chat/status/ConnectionStatus.js";
|
|
39
|
-
import { DECK_GRID_CONFIG as Da, getGridConfigFromElement as
|
|
39
|
+
import { DECK_GRID_CONFIG as Da, getGridConfigFromElement as va } from "./components/deck/deckGridMetrics.js";
|
|
40
40
|
import { DEFAULT_FLOE_CONFIG as Ma, FloeConfigProvider as Ba, useFloeConfig as Oa, useResolvedFloeConfig as Wa } from "./context/FloeConfigContext.js";
|
|
41
41
|
import { DEFAULT_VIRTUAL_LIST_CONFIG as wa } from "./components/chat/types.js";
|
|
42
42
|
import { DIALOG_SURFACE_BOUNDARY_ATTR as Ha, DIALOG_SURFACE_HOST_ATTR as Ua, SURFACE_PORTAL_HOST_ATTR as Ga, SURFACE_PORTAL_LAYER_ATTR as Va, __resetSurfacePortalScopeForTests as Ka, ensureSurfacePortalInteractionTracking as za, isSurfacePortalMode as Xa, projectSurfacePortalPosition as Za, projectSurfacePortalRect as Qa, resolveSurfacePortalBoundaryRect as Ya, resolveSurfacePortalHost as qa, resolveSurfacePortalMount as ja, resolveSurfacePortalMountRect as Ja } from "./components/ui/dialogSurfaceScope.js";
|
|
@@ -52,7 +52,7 @@ import { DirectoryPicker as ul } from "./components/ui/DirectoryPicker.js";
|
|
|
52
52
|
import { DirectoryTree as Cl } from "./components/file-browser/DirectoryTree.js";
|
|
53
53
|
import { DisplayModePageShell as kl } from "./components/layout/DisplayModePageShell.js";
|
|
54
54
|
import { DisplayModeSwitcher as El, sanitizeDisplayMode as Pl } from "./components/layout/DisplayModeSwitcher.js";
|
|
55
|
-
import { DockActivity as Al, DockBot as Ll, DockCode as yl, DockCpu as Dl, DockFileCode as
|
|
55
|
+
import { DockActivity as Al, DockBot as Ll, DockCode as yl, DockCpu as Dl, DockFileCode as vl, DockFolder as _l, DockGlobe as Ml, DockLayers as Bl, DockLayoutDashboard as Ol, DockMessageSquare as Wl, DockRegion as bl, DockSearch as wl, DockSparkles as Nl, DockTerminal as Hl, DockText as Ul } from "./components/icons/DockIcons.js";
|
|
56
56
|
import { DropZonePreview as Vl } from "./components/deck/DropZonePreview.js";
|
|
57
57
|
import { Dropdown as zl, Select as Xl } from "./components/ui/Dropdown.js";
|
|
58
58
|
import { ErrorBlock as Ql, HighlightBlock as Yl, InfoBlock as ql, NoteBlock as jl, SuccessBlock as Jl, TipBlock as $l, WarningBlock as ec } from "./components/ui/HighlightBlock.js";
|
|
@@ -68,7 +68,7 @@ import { FileBrowserToolbar as Fc } from "./components/file-browser/FileBrowserT
|
|
|
68
68
|
import { FileContextMenu as Pc } from "./components/file-browser/FileContextMenu.js";
|
|
69
69
|
import { FileGridView as Ac } from "./components/file-browser/FileGridView.js";
|
|
70
70
|
import { FileListView as yc } from "./components/file-browser/FileListView.js";
|
|
71
|
-
import { FileOpenPicker as
|
|
71
|
+
import { FileOpenPicker as vc, normalizeFileOpenSelection as _c, updateFileOpenSelection as Mc } from "./components/ui/FileOpenPicker.js";
|
|
72
72
|
import { FileSavePicker as Oc } from "./components/ui/FileSavePicker.js";
|
|
73
73
|
import { FilesSidebarWidget as bc, SearchSidebarWidget as wc, SettingsSidebarWidget as Nc, ShowcaseSidebarWidget as Hc, SidebarWidget as Uc } from "./widgets/SidebarWidget.js";
|
|
74
74
|
import { FloatingWindow as Vc } from "./components/ui/FloatingWindow.js";
|
|
@@ -86,7 +86,7 @@ import { LaunchpadItem as hm } from "./components/launchpad/LaunchpadItem.js";
|
|
|
86
86
|
import { LaunchpadModal as Fm } from "./components/launchpad/LaunchpadModal.js";
|
|
87
87
|
import { LaunchpadPagination as Pm } from "./components/launchpad/LaunchpadPagination.js";
|
|
88
88
|
import { LaunchpadSearch as Am } from "./components/launchpad/LaunchpadSearch.js";
|
|
89
|
-
import { LayoutProvider as ym, createLayoutService as Dm, useLayout as
|
|
89
|
+
import { LayoutProvider as ym, createLayoutService as Dm, useLayout as vm, useMobileLayout as _m } from "./context/LayoutContext.js";
|
|
90
90
|
import { LayoutSelector as Bm } from "./components/deck/LayoutSelector.js";
|
|
91
91
|
import { LoadingOverlay as Wm } from "./components/loading/LoadingOverlay.js";
|
|
92
92
|
import { MENU_ITEM_SELECTOR as wm, focusMenuItem as Nm, getMenuItems as Hm, handleMenuKeyboardNavigation as Um, moveMenuFocus as Gm } from "./components/ui/menuUtils.js";
|
|
@@ -102,7 +102,7 @@ import { MetricsWidget as as } from "./widgets/MetricsWidget.js";
|
|
|
102
102
|
import { MobileKeyboard as cs } from "./components/ui/MobileKeyboard.js";
|
|
103
103
|
import { MobileTabBar as ss } from "./components/layout/MobileTabBar.js";
|
|
104
104
|
import { NOTES_CONTEXT_MENU_WIDTH_PX as fs, NotesContextMenu as ds, estimateNotesContextMenuHeight as xs } from "./components/notes/NotesContextMenu.js";
|
|
105
|
-
import { NOTES_SCALE_MAX as Ts, NOTES_SCALE_MIN as Is, NOTE_BUCKET_METRICS as us, NOTE_COLOR_TOKENS as gs, TOPIC_ACCENT_TOKENS as Cs, TOPIC_ICON_KEYS as hs, applyNotesEvent as ks, centerViewportOnWorldPoint as Fs, clampScale as Es, computeBoardBounds as Ps, createDefaultNotesSnapshot as Rs, groupTrashItems as As, mergeBoardBounds as Ls, nextLocalZIndex as ys, normalizeNotesSnapshot as Ds, noteBucketMetrics as
|
|
105
|
+
import { NOTES_SCALE_MAX as Ts, NOTES_SCALE_MIN as Is, NOTE_BUCKET_METRICS as us, NOTE_COLOR_TOKENS as gs, TOPIC_ACCENT_TOKENS as Cs, TOPIC_ICON_KEYS as hs, applyNotesEvent as ks, centerViewportOnWorldPoint as Fs, clampScale as Es, computeBoardBounds as Ps, createDefaultNotesSnapshot as Rs, groupTrashItems as As, mergeBoardBounds as Ls, nextLocalZIndex as ys, normalizeNotesSnapshot as Ds, noteBucketMetrics as vs, promoteLocalItem as _s, removeSnapshotItem as Ms, removeSnapshotTopic as Bs, removeSnapshotTrashItem as Os, replaceSnapshotItem as Ws, replaceSnapshotTopic as bs, replaceSnapshotTrashItem as ws, screenToWorld as Ns, visibleWorldRect as Hs, worldToScreen as Us, zoomViewportAtPoint as Gs } from "./components/notes/types.js";
|
|
106
106
|
import { NOTE_COLOR_LABELS as Ks, NotesAnimalIcon as zs, NotesOverlayIcon as Xs, NotesTrashCanIcon as Zs, TOPIC_ACCENT_LABELS as Qs } from "./components/notes/notesAppearance.js";
|
|
107
107
|
import { NotesOverlay as qs } from "./components/notes/NotesOverlay.js";
|
|
108
108
|
import { NotificationContainer as Js, NotificationProvider as $s, createNotificationService as ep, useNotification as op } from "./context/NotificationContext.js";
|
|
@@ -116,7 +116,7 @@ import { QuoteBlock as Cp } from "./components/ui/QuoteBlock.js";
|
|
|
116
116
|
import { RadioGroup as kp, RadioList as Fp, RadioOption as Ep } from "./components/ui/Radio.js";
|
|
117
117
|
import { ResizeHandle as Rp } from "./components/layout/ResizeHandle.js";
|
|
118
118
|
import { SegmentedControl as Lp } from "./components/ui/SegmentedControl.js";
|
|
119
|
-
import { SettingRow as Dp, SettingsLayout as
|
|
119
|
+
import { SettingRow as Dp, SettingsLayout as vp, SettingsList as _p, SettingsNavigation as Mp, SettingsSection as Bp } from "./components/ui/Settings.js";
|
|
120
120
|
import { Shell as Wp } from "./components/layout/Shell.js";
|
|
121
121
|
import { ShellBlock as wp } from "./components/chat/blocks/ShellBlock.js";
|
|
122
122
|
import { Sidebar as Hp, SidebarContent as Up, SidebarItem as Gp, SidebarItemList as Vp, SidebarSection as Kp } from "./components/layout/Sidebar.js";
|
|
@@ -136,7 +136,7 @@ import { TabPanel as kf, Tabs as Ff } from "./components/ui/Tabs.js";
|
|
|
136
136
|
import { Tag as Pf } from "./components/ui/Tag.js";
|
|
137
137
|
import { TerminalWidget as Af, createTerminalWidget as Lf } from "./widgets/TerminalWidget.js";
|
|
138
138
|
import { TextBlock as Df } from "./components/chat/blocks/TextBlock.js";
|
|
139
|
-
import { ThemeProvider as
|
|
139
|
+
import { ThemeProvider as _f, createThemeService as Mf, useTheme as Bf } from "./context/ThemeContext.js";
|
|
140
140
|
import { ThemeToggle as Wf } from "./components/layout/ThemeToggle.js";
|
|
141
141
|
import { ThinkingBlock as wf } from "./components/chat/blocks/ThinkingBlock.js";
|
|
142
142
|
import { ToolCallBlock as Hf } from "./components/chat/blocks/ToolCallBlock.js";
|
|
@@ -155,7 +155,7 @@ import { WorkingIndicator as Td } from "./components/chat/status/WorkingIndicato
|
|
|
155
155
|
import { applyDragDelta as ud, applyResizeDelta as gd, getGridCellSize as Cd, pixelDeltaToGridDelta as hd, positionToGridArea as kd, snapToGrid as Fd } from "./utils/gridLayout.js";
|
|
156
156
|
import { buildAssistantNoticeEvents as Pd, createStreamEventBuilder as Rd, isStreamEvent as Ad } from "./components/chat/streamEvents.js";
|
|
157
157
|
import { calculateFitScale as yd } from "./utils/fitScale.js";
|
|
158
|
-
import { checkCollision as
|
|
158
|
+
import { checkCollision as vd, constrainPosition as _d, findFreePosition as Md, hasCollision as Bd, sameGridPosition as Od } from "./utils/gridCollision.js";
|
|
159
159
|
import { classifyArchiveFileName as bd } from "./components/file-browser/archiveFiles.js";
|
|
160
160
|
import { clientToCanvasLocal as Nd, clientToCanvasWorld as Hd, createViewportFromZoomAnchor as Ud, isPointInsideCanvasRect as Gd, localToCanvasWorld as Vd } from "./components/ui/canvasGeometry.js";
|
|
161
161
|
import { cn as zd } from "./utils/cn.js";
|
|
@@ -168,7 +168,7 @@ import { createDocumentAssetRecovery as Fx } from "./app/createDocumentAssetReco
|
|
|
168
168
|
import { createFloatingPresence as Px } from "./components/ui/floatingPresence.js";
|
|
169
169
|
import { createInputHistoryController as Ax } from "./components/chat/input/createInputHistoryController.js";
|
|
170
170
|
import { createLongPressContextMenuHandlers as yx } from "./components/file-browser/longPressContextMenu.js";
|
|
171
|
-
import { createRetainedContent as
|
|
171
|
+
import { createRetainedContent as vx } from "./hooks/createRetainedContent.js";
|
|
172
172
|
import { createSimpleContext as Mx } from "./context/createSimpleContext.js";
|
|
173
173
|
import { createUIFirstSelection as Ox } from "./utils/uiFirstSelection.js";
|
|
174
174
|
import { createVirtualListLayout as bx } from "./components/chat/hooks/virtualListLayout.js";
|
|
@@ -179,21 +179,22 @@ import { intersectSurfaceRects as mS } from "./components/ui/surfaceFloatingBoun
|
|
|
179
179
|
import { isTypingElement as pS, shouldIgnoreHotkeys as fS } from "./utils/dom.js";
|
|
180
180
|
import { lockBodyStyle as xS } from "./utils/bodyStyleLock.js";
|
|
181
181
|
import { markdownMediaKind as TS, markdownMediaPlaceholder as IS, readMarkdownMediaPlaceholder as uS, safeMarkdownMediaURL as gS, sandboxedMarkdownHtml as CS } from "./components/chat/markdown/media.js";
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
182
|
+
import { observeDialogHeight as kS } from "./components/ui/dialogHeightMotion.js";
|
|
183
|
+
import { registerCommandContributions as ES, useCommandContributions as PS } from "./hooks/useCommandContributions.js";
|
|
184
|
+
import { resolveFloatingWindowViewport as AS } from "./components/ui/floatingWindowGeometry.js";
|
|
185
|
+
import { secureRandomUUID as yS } from "./utils/secureRandom.js";
|
|
186
|
+
import { startPointerSession as vS } from "./components/ui/pointerSession.js";
|
|
187
|
+
import { useAttachments as MS } from "./components/chat/hooks/useAttachments.js";
|
|
188
|
+
import { useAutoScroll as OS } from "./components/chat/hooks/useAutoScroll.js";
|
|
189
|
+
import { useDebounce as bS } from "./hooks/useDebounce.js";
|
|
190
|
+
import { useDeckDrag as NS } from "./hooks/useDeckDrag.js";
|
|
191
|
+
import { useFileBrowserDropTarget as US, useFileBrowserItemDrag as GS } from "./hooks/useFileBrowserDrag.js";
|
|
192
|
+
import { useKeybind as KS } from "./hooks/useKeybind.js";
|
|
193
|
+
import { useMediaQuery as XS } from "./hooks/useMediaQuery.js";
|
|
194
|
+
import { useOverlayMask as QS } from "./hooks/useOverlayMask.js";
|
|
195
|
+
import { usePersisted as qS } from "./hooks/usePersisted.js";
|
|
196
|
+
import { useResizeObserver as JS } from "./hooks/useResizeObserver.js";
|
|
197
|
+
import { useVirtualList as eT } from "./components/chat/hooks/useVirtualList.js";
|
|
197
198
|
export {
|
|
198
199
|
L as Activity,
|
|
199
200
|
Zt as ActivityAppsMain,
|
|
@@ -203,10 +204,10 @@ export {
|
|
|
203
204
|
li as ActualSize,
|
|
204
205
|
Ii as AffixInput,
|
|
205
206
|
D as AlertCircle,
|
|
206
|
-
|
|
207
|
+
v as AlertTriangle,
|
|
207
208
|
ki as AppViewport,
|
|
208
209
|
Ei as ArchiveFileIcon,
|
|
209
|
-
|
|
210
|
+
_ as ArchiveIcon,
|
|
210
211
|
Xi as AreaChart,
|
|
211
212
|
M as ArrowDown,
|
|
212
213
|
B as ArrowLeft,
|
|
@@ -318,8 +319,8 @@ export {
|
|
|
318
319
|
Ll as DockBot,
|
|
319
320
|
yl as DockCode,
|
|
320
321
|
Dl as DockCpu,
|
|
321
|
-
|
|
322
|
-
|
|
322
|
+
vl as DockFileCode,
|
|
323
|
+
_l as DockFolder,
|
|
323
324
|
Ml as DockGlobe,
|
|
324
325
|
Bl as DockLayers,
|
|
325
326
|
Ol as DockLayoutDashboard,
|
|
@@ -340,8 +341,8 @@ export {
|
|
|
340
341
|
ye as ErrorIcon,
|
|
341
342
|
mi as ExitFullscreen,
|
|
342
343
|
De as ExternalLink,
|
|
343
|
-
|
|
344
|
-
|
|
344
|
+
ve as Eye,
|
|
345
|
+
_e as EyeIcon,
|
|
345
346
|
Me as EyeOff,
|
|
346
347
|
rc as FLOE_GEOMETRY_SURFACE_ATTR,
|
|
347
348
|
tc as FLOE_HOT_INTERACTION_ATTR,
|
|
@@ -357,9 +358,9 @@ export {
|
|
|
357
358
|
Pc as FileContextMenu,
|
|
358
359
|
Ac as FileGridView,
|
|
359
360
|
Di as FileIcon,
|
|
360
|
-
|
|
361
|
+
vi as FileItemIcon,
|
|
361
362
|
yc as FileListView,
|
|
362
|
-
|
|
363
|
+
vc as FileOpenPicker,
|
|
363
364
|
Oe as FilePlus,
|
|
364
365
|
We as FilePlusIcon,
|
|
365
366
|
Oc as FileSavePicker,
|
|
@@ -376,7 +377,7 @@ export {
|
|
|
376
377
|
Zc as FloeRegistryContributions,
|
|
377
378
|
Yc as FloeRegistryRuntime,
|
|
378
379
|
Ge as Folder,
|
|
379
|
-
|
|
380
|
+
_i as FolderIcon,
|
|
380
381
|
Ve as FolderOpen,
|
|
381
382
|
Mi as FolderOpenIcon,
|
|
382
383
|
Ke as FolderPlus,
|
|
@@ -459,10 +460,10 @@ export {
|
|
|
459
460
|
qm as MessageActions,
|
|
460
461
|
Jm as MessageAvatar,
|
|
461
462
|
es as MessageBubble,
|
|
462
|
-
|
|
463
|
+
vo as MessageIcon,
|
|
463
464
|
rs as MessageItem,
|
|
464
465
|
is as MessageMeta,
|
|
465
|
-
|
|
466
|
+
_o as MessageSquare,
|
|
466
467
|
as as MetricsWidget,
|
|
467
468
|
Mo as Mic,
|
|
468
469
|
Bo as MicIcon,
|
|
@@ -556,8 +557,8 @@ export {
|
|
|
556
557
|
Dp as SettingRow,
|
|
557
558
|
Cr as Settings,
|
|
558
559
|
hr as SettingsIcon,
|
|
559
|
-
|
|
560
|
-
|
|
560
|
+
vp as SettingsLayout,
|
|
561
|
+
_p as SettingsList,
|
|
561
562
|
Mp as SettingsNavigation,
|
|
562
563
|
Bp as SettingsSection,
|
|
563
564
|
Nc as SettingsSidebarWidget,
|
|
@@ -591,11 +592,11 @@ export {
|
|
|
591
592
|
af as Stepper,
|
|
592
593
|
aa as StepsProgress,
|
|
593
594
|
Dr as Stop,
|
|
594
|
-
|
|
595
|
+
vr as StopFilled,
|
|
595
596
|
sf as StreamingCursor,
|
|
596
597
|
bi as StyleFileIcon,
|
|
597
598
|
Jl as SuccessBlock,
|
|
598
|
-
|
|
599
|
+
_r as SuccessIcon,
|
|
599
600
|
Mr as Sun,
|
|
600
601
|
Br as SunIcon,
|
|
601
602
|
ff as SurfaceAnchoredLayer,
|
|
@@ -620,7 +621,7 @@ export {
|
|
|
620
621
|
Df as TextBlock,
|
|
621
622
|
Nr as TextTool,
|
|
622
623
|
Ci as Textarea,
|
|
623
|
-
|
|
624
|
+
_f as ThemeProvider,
|
|
624
625
|
Wf as ThemeToggle,
|
|
625
626
|
wf as ThinkingBlock,
|
|
626
627
|
Hr as ThumbsDownIcon,
|
|
@@ -687,7 +688,7 @@ export {
|
|
|
687
688
|
l as builtInThemes,
|
|
688
689
|
yd as calculateFitScale,
|
|
689
690
|
Fs as centerViewportOnWorldPoint,
|
|
690
|
-
|
|
691
|
+
vd as checkCollision,
|
|
691
692
|
Es as clampScale,
|
|
692
693
|
Tt as clampTerminalCursor,
|
|
693
694
|
bd as classifyArchiveFileName,
|
|
@@ -703,7 +704,7 @@ export {
|
|
|
703
704
|
Sx as configureShikiWorker,
|
|
704
705
|
Tx as configureSyncHighlighter,
|
|
705
706
|
sx as configureSyncMermaid,
|
|
706
|
-
|
|
707
|
+
_d as constrainPosition,
|
|
707
708
|
hx as createAdaptiveSidebar,
|
|
708
709
|
Sa as createCommandService,
|
|
709
710
|
ga as createComponentRegistry,
|
|
@@ -718,7 +719,7 @@ export {
|
|
|
718
719
|
yx as createLongPressContextMenuHandlers,
|
|
719
720
|
rx as createMarkdownWorker,
|
|
720
721
|
ep as createNotificationService,
|
|
721
|
-
|
|
722
|
+
vx as createRetainedContent,
|
|
722
723
|
nn as createShellThemePreset,
|
|
723
724
|
Mx as createSimpleContext,
|
|
724
725
|
Rd as createStreamEventBuilder,
|
|
@@ -758,7 +759,7 @@ export {
|
|
|
758
759
|
Vi as getFileIcon,
|
|
759
760
|
R as getFloeColorTokenValue,
|
|
760
761
|
Cd as getGridCellSize,
|
|
761
|
-
|
|
762
|
+
va as getGridConfigFromElement,
|
|
762
763
|
Hm as getMenuItems,
|
|
763
764
|
an as getShellThemePresetsForMode,
|
|
764
765
|
c as getSystemTheme,
|
|
@@ -798,11 +799,12 @@ export {
|
|
|
798
799
|
Ct as moveTerminalCursor,
|
|
799
800
|
ht as navigateTerminalHistory,
|
|
800
801
|
ys as nextLocalZIndex,
|
|
801
|
-
|
|
802
|
+
_c as normalizeFileOpenSelection,
|
|
802
803
|
Ds as normalizeNotesSnapshot,
|
|
803
804
|
ln as normalizeShellThemeSelection,
|
|
804
805
|
xt as normalizeTerminalWorkspaceProfile,
|
|
805
|
-
|
|
806
|
+
vs as noteBucketMetrics,
|
|
807
|
+
kS as observeDialogHeight,
|
|
806
808
|
Zx as panelResize,
|
|
807
809
|
lS as parseKeybind,
|
|
808
810
|
xp as parsePickerPath,
|
|
@@ -813,9 +815,9 @@ export {
|
|
|
813
815
|
cn as presetSupportsMode,
|
|
814
816
|
Za as projectSurfacePortalPosition,
|
|
815
817
|
Qa as projectSurfacePortalRect,
|
|
816
|
-
|
|
818
|
+
_s as promoteLocalItem,
|
|
817
819
|
uS as readMarkdownMediaPlaceholder,
|
|
818
|
-
|
|
820
|
+
ES as registerCommandContributions,
|
|
819
821
|
Ms as removeSnapshotItem,
|
|
820
822
|
Bs as removeSnapshotTopic,
|
|
821
823
|
Os as removeSnapshotTrashItem,
|
|
@@ -826,27 +828,27 @@ export {
|
|
|
826
828
|
bs as replaceSnapshotTopic,
|
|
827
829
|
ws as replaceSnapshotTrashItem,
|
|
828
830
|
Ki as resolveFileItemIcon,
|
|
829
|
-
|
|
831
|
+
AS as resolveFloatingWindowViewport,
|
|
830
832
|
mn as resolveShellThemePresetName,
|
|
831
833
|
Dn as resolveSurfaceInteractionTargetRole,
|
|
832
834
|
Ya as resolveSurfacePortalBoundaryRect,
|
|
833
835
|
qa as resolveSurfacePortalHost,
|
|
834
836
|
ja as resolveSurfacePortalMount,
|
|
835
837
|
Ja as resolveSurfacePortalMountRect,
|
|
836
|
-
|
|
838
|
+
vn as resolveSurfaceWheelRouting,
|
|
837
839
|
f as resolveThemeTokenOverrides,
|
|
838
840
|
d as resolveThemeTokens,
|
|
839
|
-
|
|
841
|
+
_n as resolveWorkbenchWidgetEventOwnership,
|
|
840
842
|
Mn as resolveWorkbenchWidgetLocalTypingTarget,
|
|
841
843
|
Bn as resolveWorkbenchWidgetTextSelectionTarget,
|
|
842
|
-
|
|
844
|
+
vt as runTerminalMockCommand,
|
|
843
845
|
gS as safeMarkdownMediaURL,
|
|
844
846
|
Od as sameGridPosition,
|
|
845
847
|
CS as sandboxedMarkdownHtml,
|
|
846
848
|
Pl as sanitizeDisplayMode,
|
|
847
849
|
Yx as scaleIn,
|
|
848
850
|
Ns as screenToWorld,
|
|
849
|
-
|
|
851
|
+
yS as secureRandomUUID,
|
|
850
852
|
Lt as setTerminalSessionInputValue,
|
|
851
853
|
On as shouldActivateWorkbenchWidgetLocalTarget,
|
|
852
854
|
fS as shouldIgnoreHotkeys,
|
|
@@ -858,7 +860,7 @@ export {
|
|
|
858
860
|
Fd as snapToGrid,
|
|
859
861
|
oS as springConfig,
|
|
860
862
|
ic as startHotInteraction,
|
|
861
|
-
|
|
863
|
+
vS as startPointerSession,
|
|
862
864
|
yt as submitTerminalSession,
|
|
863
865
|
x as syncThemeTokenOverrides,
|
|
864
866
|
Ut as terminalCommandTokenSuggestionProvider,
|
|
@@ -871,38 +873,38 @@ export {
|
|
|
871
873
|
fx as terminateMermaidWorker,
|
|
872
874
|
ux as terminateShikiWorker,
|
|
873
875
|
Mc as updateFileOpenSelection,
|
|
874
|
-
|
|
875
|
-
|
|
876
|
+
MS as useAttachments,
|
|
877
|
+
OS as useAutoScroll,
|
|
876
878
|
Yn as useChatContext,
|
|
877
879
|
gx as useCodeHighlight,
|
|
878
880
|
Ta as useCommand,
|
|
879
|
-
|
|
881
|
+
PS as useCommandContributions,
|
|
880
882
|
ha as useComponentContextFactory,
|
|
881
883
|
ka as useComponentRegistry,
|
|
882
884
|
sd as useCurrentWidgetId,
|
|
883
|
-
|
|
885
|
+
bS as useDebounce,
|
|
884
886
|
cl as useDeck,
|
|
885
|
-
|
|
887
|
+
NS as useDeckDrag,
|
|
886
888
|
gc as useFileBrowser,
|
|
887
889
|
Tc as useFileBrowserDrag,
|
|
888
|
-
|
|
889
|
-
|
|
890
|
+
US as useFileBrowserDropTarget,
|
|
891
|
+
GS as useFileBrowserItemDrag,
|
|
890
892
|
Oa as useFloeConfig,
|
|
891
893
|
lm as useFormSubmitting,
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
894
|
+
KS as useKeybind,
|
|
895
|
+
vm as useLayout,
|
|
896
|
+
XS as useMediaQuery,
|
|
895
897
|
dx as useMermaid,
|
|
896
|
-
|
|
898
|
+
_m as useMobileLayout,
|
|
897
899
|
op as useNotification,
|
|
898
900
|
Fa as useOptionalComponentRegistry,
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
901
|
+
QS as useOverlayMask,
|
|
902
|
+
qS as usePersisted,
|
|
903
|
+
JS as useResizeObserver,
|
|
902
904
|
Wa as useResolvedFloeConfig,
|
|
903
905
|
Bf as useTheme,
|
|
904
906
|
Yf as useViewActivation,
|
|
905
|
-
|
|
907
|
+
eT as useVirtualList,
|
|
906
908
|
nd as useWidgetRegistry,
|
|
907
909
|
pd as useWidgetState,
|
|
908
910
|
fd as useWidgetStateContext,
|
|
@@ -75,6 +75,16 @@
|
|
|
75
75
|
animation: floe-progress-shimmer 2.4s linear infinite;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
/* Continuous paint can add compositor deadlines to direct manipulation.
|
|
79
|
+
* Hold the existing highlight phase while the shared interaction owner is
|
|
80
|
+
* active; text, operation state and layout continue updating normally. */
|
|
81
|
+
:is([data-floe-hot-interaction~='drag'], [data-floe-hot-interaction~='resize'])
|
|
82
|
+
:is([data-floe-progress-shimmer='text'], .processing-text-shimmer),
|
|
83
|
+
:is([data-floe-hot-interaction~='drag'], [data-floe-hot-interaction~='resize'])
|
|
84
|
+
[data-floe-progress-shimmer='surface']::before {
|
|
85
|
+
animation-play-state: paused;
|
|
86
|
+
}
|
|
87
|
+
|
|
78
88
|
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
|
|
79
89
|
:is([data-floe-progress-shimmer='text'], .processing-text-shimmer) {
|
|
80
90
|
animation: none;
|