@floegence/floe-webapp-core 0.86.49 → 0.86.51
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/chat/markdown/incremental.js +51 -55
- package/dist/components/ui/DirectoryPicker.js +25 -29
- package/dist/components/ui/FileOpenPicker.js +106 -98
- package/dist/components/ui/FileSavePicker.js +74 -66
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/picker/DirectoryFavorites.d.ts +29 -0
- package/dist/components/ui/picker/DirectoryFavorites.js +163 -0
- package/dist/components/ui/picker/PickerBase.d.ts +16 -5
- package/dist/components/ui/picker/PickerBase.js +366 -225
- package/dist/components/ui/picker/PickerNavigation.d.ts +7 -0
- package/dist/components/ui/picker/PickerNavigation.js +73 -66
- package/dist/full.js +465 -463
- package/dist/styles.css +1 -1
- package/dist/ui.js +128 -126
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,60 +1,61 @@
|
|
|
1
1
|
import { AffixInput as e, Input as t, NumberInput as a, Textarea as i } from "./components/ui/Input.js";
|
|
2
|
-
import { AnimatedBorderCard as c, Card as l, CardContent as
|
|
3
|
-
import { AreaChart as
|
|
2
|
+
import { AnimatedBorderCard as c, Card as l, CardContent as m, CardDescription as p, CardFooter as T, CardHeader as f, CardTitle as s, Interactive3DCard as S, MorphCard as C, NeonCard as E } from "./components/ui/Card.js";
|
|
3
|
+
import { AreaChart as _, DataBarChart as R, DataPieChart as A, LineChart as u, MonitoringChart as d } from "./components/ui/Charts.js";
|
|
4
4
|
import { Button as F } from "./components/ui/Button.js";
|
|
5
|
-
import { CANVAS_WHEEL_INTERACTIVE_ATTR as P, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as I, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as O, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as W, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as
|
|
5
|
+
import { CANVAS_WHEEL_INTERACTIVE_ATTR as P, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as I, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as O, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as W, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as v, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as D, LOCAL_INTERACTION_SURFACE_ATTR as N, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as h, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as k, WORKBENCH_WIDGET_SHELL_ATTR as B, isLocalInteractionSurfaceTarget as b, resolveSurfaceInteractionTargetRole as U, resolveSurfaceWheelRouting as H, resolveWorkbenchWidgetEventOwnership as M, resolveWorkbenchWidgetLocalTypingTarget as y, resolveWorkbenchWidgetTextSelectionTarget as w, shouldActivateWorkbenchWidgetLocalTarget as K } from "./components/ui/localInteractionSurface.js";
|
|
6
6
|
import { Checkbox as V, CheckboxGroup as z, CheckboxList as j } from "./components/ui/Checkbox.js";
|
|
7
7
|
import { CircularProgress as Y, LinearProgress as Q, SegmentedProgress as Z, StepsProgress as q } from "./components/ui/Progress.js";
|
|
8
8
|
import { CommandPalette as $ } from "./components/ui/CommandPalette.js";
|
|
9
9
|
import { ConfirmDialog as or, Dialog as er } from "./components/ui/Dialog.js";
|
|
10
|
-
import { DIALOG_SURFACE_BOUNDARY_ATTR as ar, DIALOG_SURFACE_HOST_ATTR as ir, SURFACE_PORTAL_HOST_ATTR as nr, SURFACE_PORTAL_LAYER_ATTR as cr, __resetSurfacePortalScopeForTests as lr, ensureSurfacePortalInteractionTracking as
|
|
11
|
-
import { DialogPlacementProvider as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
10
|
+
import { DIALOG_SURFACE_BOUNDARY_ATTR as ar, DIALOG_SURFACE_HOST_ATTR as ir, SURFACE_PORTAL_HOST_ATTR as nr, SURFACE_PORTAL_LAYER_ATTR as cr, __resetSurfacePortalScopeForTests as lr, ensureSurfacePortalInteractionTracking as mr, isSurfacePortalMode as pr, projectSurfacePortalPosition as Tr, projectSurfacePortalRect as fr, resolveSurfacePortalBoundaryRect as sr, resolveSurfacePortalHost as Sr, resolveSurfacePortalMount as Cr, resolveSurfacePortalMountRect as Er } from "./components/ui/dialogSurfaceScope.js";
|
|
11
|
+
import { DialogPlacementProvider as _r } from "./components/ui/DialogPlacementContext.js";
|
|
12
|
+
import { DirectoryFavoriteButton as Ar } from "./components/ui/picker/DirectoryFavorites.js";
|
|
13
|
+
import { DirectoryInput as dr } from "./components/ui/DirectoryInput.js";
|
|
14
|
+
import { DirectoryPicker as Fr } from "./components/ui/DirectoryPicker.js";
|
|
15
|
+
import { Dropdown as Pr, Select as Ir } from "./components/ui/Dropdown.js";
|
|
16
|
+
import { ErrorBlock as Wr, HighlightBlock as vr, InfoBlock as Dr, NoteBlock as Nr, SuccessBlock as hr, TipBlock as kr, WarningBlock as Br } from "./components/ui/HighlightBlock.js";
|
|
17
|
+
import { FeedbackIndicator as Ur } from "./components/ui/FeedbackIndicator.js";
|
|
18
|
+
import { FileOpenPicker as Mr, normalizeFileOpenSelection as yr, updateFileOpenSelection as wr } from "./components/ui/FileOpenPicker.js";
|
|
19
|
+
import { FileSavePicker as Gr } from "./components/ui/FileSavePicker.js";
|
|
20
|
+
import { FloatingWindow as zr } from "./components/ui/FloatingWindow.js";
|
|
21
|
+
import { Form as Xr, FormActions as Yr, FormControl as Qr, FormDescription as Zr, FormDivider as qr, FormField as Jr, FormLabel as $r, FormMessage as ro, FormRow as oo, FormSection as eo, useFormSubmitting as to } from "./components/ui/Form.js";
|
|
22
|
+
import { InfiniteCanvas as io } from "./components/ui/InfiniteCanvas.js";
|
|
23
|
+
import { KeyedFor as co } from "./components/ui/KeyedFor.js";
|
|
24
|
+
import { MENU_ITEM_SELECTOR as mo, focusMenuItem as po, getMenuItems as To, handleMenuKeyboardNavigation as fo, moveMenuFocus as so } from "./components/ui/menuUtils.js";
|
|
25
|
+
import { MobileKeyboard as Co } from "./components/ui/MobileKeyboard.js";
|
|
26
|
+
import { Pagination as xo } from "./components/ui/Pagination.js";
|
|
27
|
+
import { PersistentHorizontalScrollbar as Ro } from "./components/ui/PersistentHorizontalScrollbar.js";
|
|
28
|
+
import { PickerNavigationError as uo, createFilesystemPickerDataSource as go, formatPickerPath as Fo, parsePickerPath as Lo } from "./components/ui/picker/PickerNavigation.js";
|
|
29
|
+
import { ProcessingIndicator as Io } from "./components/ui/ProcessingIndicator.js";
|
|
30
|
+
import { QuoteBlock as Wo } from "./components/ui/QuoteBlock.js";
|
|
31
|
+
import { RadioGroup as Do, RadioList as No, RadioOption as ho } from "./components/ui/Radio.js";
|
|
32
|
+
import { SegmentedControl as Bo } from "./components/ui/SegmentedControl.js";
|
|
33
|
+
import { SettingRow as Uo, SettingsLayout as Ho, SettingsList as Mo, SettingsNavigation as yo, SettingsSection as wo } from "./components/ui/Settings.js";
|
|
34
|
+
import { StableText as Go } from "./components/ui/StableText.js";
|
|
35
|
+
import { StatusRegion as zo } from "./components/ui/StatusRegion.js";
|
|
36
|
+
import { Stepper as Xo, Wizard as Yo, useWizard as Qo } from "./components/ui/Stepper.js";
|
|
37
|
+
import { SurfaceAnchoredLayer as qo } from "./components/ui/SurfaceAnchoredLayer.js";
|
|
38
|
+
import { SurfaceFloatingLayer as $o } from "./components/ui/SurfaceFloatingLayer.js";
|
|
39
|
+
import { SurfaceFloatingPanel as oe } from "./components/ui/SurfaceFloatingPanel.js";
|
|
40
|
+
import { Switch as te } from "./components/ui/Switch.js";
|
|
41
|
+
import { TabPanel as ie, Tabs as ne } from "./components/ui/Tabs.js";
|
|
42
|
+
import { Tag as le } from "./components/ui/Tag.js";
|
|
43
|
+
import { Tooltip as pe } from "./components/ui/Tooltip.js";
|
|
44
|
+
import { clientToCanvasLocal as fe, clientToCanvasWorld as se, createViewportFromZoomAnchor as Se, isPointInsideCanvasRect as Ce, localToCanvasWorld as Ee } from "./components/ui/canvasGeometry.js";
|
|
45
|
+
import { createFloatingPresence as _e } from "./components/ui/floatingPresence.js";
|
|
46
|
+
import { intersectSurfaceRects as Ae } from "./components/ui/surfaceFloatingBoundary.js";
|
|
47
|
+
import { resolveFloatingWindowViewport as de } from "./components/ui/floatingWindowGeometry.js";
|
|
48
|
+
import { startPointerSession as Fe } from "./components/ui/pointerSession.js";
|
|
48
49
|
export {
|
|
49
50
|
e as AffixInput,
|
|
50
51
|
c as AnimatedBorderCard,
|
|
51
|
-
|
|
52
|
+
_ as AreaChart,
|
|
52
53
|
F as Button,
|
|
53
54
|
P as CANVAS_WHEEL_INTERACTIVE_ATTR,
|
|
54
55
|
l as Card,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
m as CardContent,
|
|
57
|
+
p as CardDescription,
|
|
58
|
+
T as CardFooter,
|
|
58
59
|
f as CardHeader,
|
|
59
60
|
s as CardTitle,
|
|
60
61
|
V as Checkbox,
|
|
@@ -66,108 +67,109 @@ export {
|
|
|
66
67
|
I as DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR,
|
|
67
68
|
O as DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR,
|
|
68
69
|
W as DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR,
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
v as DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR,
|
|
71
|
+
D as DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR,
|
|
71
72
|
ar as DIALOG_SURFACE_BOUNDARY_ATTR,
|
|
72
73
|
ir as DIALOG_SURFACE_HOST_ATTR,
|
|
73
74
|
R as DataBarChart,
|
|
74
75
|
A as DataPieChart,
|
|
75
76
|
er as Dialog,
|
|
76
|
-
|
|
77
|
-
Ar as
|
|
78
|
-
|
|
79
|
-
Fr as
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
Ur as
|
|
83
|
-
|
|
84
|
-
Gr as
|
|
85
|
-
zr as
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
77
|
+
_r as DialogPlacementProvider,
|
|
78
|
+
Ar as DirectoryFavoriteButton,
|
|
79
|
+
dr as DirectoryInput,
|
|
80
|
+
Fr as DirectoryPicker,
|
|
81
|
+
Pr as Dropdown,
|
|
82
|
+
Wr as ErrorBlock,
|
|
83
|
+
Ur as FeedbackIndicator,
|
|
84
|
+
Mr as FileOpenPicker,
|
|
85
|
+
Gr as FileSavePicker,
|
|
86
|
+
zr as FloatingWindow,
|
|
87
|
+
Xr as Form,
|
|
88
|
+
Yr as FormActions,
|
|
89
|
+
Qr as FormControl,
|
|
90
|
+
Zr as FormDescription,
|
|
91
|
+
qr as FormDivider,
|
|
92
|
+
Jr as FormField,
|
|
93
|
+
$r as FormLabel,
|
|
94
|
+
ro as FormMessage,
|
|
95
|
+
oo as FormRow,
|
|
96
|
+
eo as FormSection,
|
|
97
|
+
vr as HighlightBlock,
|
|
98
|
+
io as InfiniteCanvas,
|
|
99
|
+
Dr as InfoBlock,
|
|
98
100
|
t as Input,
|
|
99
101
|
S as Interactive3DCard,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
co as KeyedFor,
|
|
103
|
+
N as LOCAL_INTERACTION_SURFACE_ATTR,
|
|
104
|
+
u as LineChart,
|
|
103
105
|
Q as LinearProgress,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
mo as MENU_ITEM_SELECTOR,
|
|
107
|
+
Co as MobileKeyboard,
|
|
108
|
+
d as MonitoringChart,
|
|
107
109
|
C as MorphCard,
|
|
108
110
|
E as NeonCard,
|
|
109
111
|
Nr as NoteBlock,
|
|
110
112
|
a as NumberInput,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
xo as Pagination,
|
|
114
|
+
Ro as PersistentHorizontalScrollbar,
|
|
115
|
+
uo as PickerNavigationError,
|
|
116
|
+
Io as ProcessingIndicator,
|
|
117
|
+
Wo as QuoteBlock,
|
|
118
|
+
Do as RadioGroup,
|
|
117
119
|
No as RadioList,
|
|
118
|
-
|
|
120
|
+
ho as RadioOption,
|
|
119
121
|
nr as SURFACE_PORTAL_HOST_ATTR,
|
|
120
122
|
cr as SURFACE_PORTAL_LAYER_ATTR,
|
|
121
|
-
|
|
123
|
+
Bo as SegmentedControl,
|
|
122
124
|
Z as SegmentedProgress,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
125
|
+
Ir as Select,
|
|
126
|
+
Uo as SettingRow,
|
|
127
|
+
Ho as SettingsLayout,
|
|
128
|
+
Mo as SettingsList,
|
|
129
|
+
yo as SettingsNavigation,
|
|
130
|
+
wo as SettingsSection,
|
|
131
|
+
Go as StableText,
|
|
132
|
+
zo as StatusRegion,
|
|
133
|
+
Xo as Stepper,
|
|
132
134
|
q as StepsProgress,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
hr as SuccessBlock,
|
|
136
|
+
qo as SurfaceAnchoredLayer,
|
|
137
|
+
$o as SurfaceFloatingLayer,
|
|
138
|
+
oe as SurfaceFloatingPanel,
|
|
139
|
+
te as Switch,
|
|
140
|
+
ie as TabPanel,
|
|
141
|
+
ne as Tabs,
|
|
142
|
+
le as Tag,
|
|
141
143
|
i as Textarea,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
+
kr as TipBlock,
|
|
145
|
+
pe as Tooltip,
|
|
144
146
|
h as WORKBENCH_TEXT_SELECTION_SURFACE_ATTR,
|
|
145
147
|
k as WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR,
|
|
146
148
|
B as WORKBENCH_WIDGET_SHELL_ATTR,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
Br as WarningBlock,
|
|
150
|
+
Yo as Wizard,
|
|
149
151
|
lr as __resetSurfacePortalScopeForTests,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
fe as clientToCanvasLocal,
|
|
153
|
+
se as clientToCanvasWorld,
|
|
154
|
+
go as createFilesystemPickerDataSource,
|
|
155
|
+
_e as createFloatingPresence,
|
|
156
|
+
Se as createViewportFromZoomAnchor,
|
|
157
|
+
mr as ensureSurfacePortalInteractionTracking,
|
|
158
|
+
po as focusMenuItem,
|
|
159
|
+
Fo as formatPickerPath,
|
|
158
160
|
To as getMenuItems,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
fo as handleMenuKeyboardNavigation,
|
|
162
|
+
Ae as intersectSurfaceRects,
|
|
161
163
|
b as isLocalInteractionSurfaceTarget,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
164
|
+
Ce as isPointInsideCanvasRect,
|
|
165
|
+
pr as isSurfacePortalMode,
|
|
166
|
+
Ee as localToCanvasWorld,
|
|
167
|
+
so as moveMenuFocus,
|
|
168
|
+
yr as normalizeFileOpenSelection,
|
|
169
|
+
Lo as parsePickerPath,
|
|
170
|
+
Tr as projectSurfacePortalPosition,
|
|
169
171
|
fr as projectSurfacePortalRect,
|
|
170
|
-
|
|
172
|
+
de as resolveFloatingWindowViewport,
|
|
171
173
|
U as resolveSurfaceInteractionTargetRole,
|
|
172
174
|
sr as resolveSurfacePortalBoundaryRect,
|
|
173
175
|
Sr as resolveSurfacePortalHost,
|
|
@@ -178,8 +180,8 @@ export {
|
|
|
178
180
|
y as resolveWorkbenchWidgetLocalTypingTarget,
|
|
179
181
|
w as resolveWorkbenchWidgetTextSelectionTarget,
|
|
180
182
|
K as shouldActivateWorkbenchWidgetLocalTarget,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
Fe as startPointerSession,
|
|
184
|
+
wr as updateFileOpenSelection,
|
|
185
|
+
to as useFormSubmitting,
|
|
186
|
+
Qo as useWizard
|
|
185
187
|
};
|