@floegence/floe-webapp-core 0.93.0 → 0.94.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/components/ui/PromptCard.d.ts +2 -0
- package/dist/components/ui/PromptCard.js +38 -38
- package/dist/components/ui/contextSource.d.ts +25 -0
- package/dist/components/ui/contextSource.js +53 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/floe.css +9 -2
- package/dist/full.js +145 -143
- package/dist/styles.css +1 -1
- package/dist/ui.js +135 -133
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Accordion as
|
|
1
|
+
import { Accordion as o } from "./components/ui/Accordion.js";
|
|
2
2
|
import { AffixInput as a, Input as i, NumberInput as n, Textarea as l } from "./components/ui/Input.js";
|
|
3
3
|
import { AreaChart as m, DataBarChart as p, DataPieChart as f, LineChart as T, MonitoringChart as s } from "./components/ui/Charts.js";
|
|
4
4
|
import { Breadcrumb as C } from "./components/ui/Breadcrumb.js";
|
|
5
5
|
import { Button as d } from "./components/ui/Button.js";
|
|
6
|
-
import { CANVAS_WHEEL_INTERACTIVE_ATTR as
|
|
6
|
+
import { CANVAS_WHEEL_INTERACTIVE_ATTR as R, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as _, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as u, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as A, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as g, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as F, LOCAL_INTERACTION_SURFACE_ATTR as P, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as L, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as I, WORKBENCH_WIDGET_SHELL_ATTR as b, isLocalInteractionSurfaceTarget as D, resolveSurfaceInteractionTargetRole as O, resolveSurfaceWheelRouting as W, resolveWorkbenchWidgetEventOwnership as v, resolveWorkbenchWidgetLocalTypingTarget as h, resolveWorkbenchWidgetTextSelectionTarget as k, shouldActivateWorkbenchWidgetLocalTarget as N } from "./components/ui/localInteractionSurface.js";
|
|
7
7
|
import { Calendar as H } from "./components/ui/Calendar.js";
|
|
8
8
|
import { Card as y, CardContent as M, CardDescription as w, CardFooter as K, CardHeader as V, CardTitle as G } from "./components/ui/Card.js";
|
|
9
9
|
import { Checkbox as j, CheckboxGroup as X, CheckboxList as Y } from "./components/ui/Checkbox.js";
|
|
10
10
|
import { CircularProgress as Z, LinearProgress as q, SegmentedProgress as J, StepsProgress as $ } from "./components/ui/Progress.js";
|
|
11
|
-
import { Combobox as
|
|
11
|
+
import { Combobox as er, MultiSelect as or, Select as tr } from "./components/ui/Select.js";
|
|
12
12
|
import { CommandPalette as ir } from "./components/ui/CommandPalette.js";
|
|
13
13
|
import { ConfirmDialog as lr, Dialog as cr } from "./components/ui/Dialog.js";
|
|
14
|
-
import { DIALOG_SURFACE_BOUNDARY_ATTR as pr, DIALOG_SURFACE_HOST_ATTR as fr, SURFACE_PORTAL_HOST_ATTR as Tr, SURFACE_PORTAL_LAYER_ATTR as sr, __resetSurfacePortalScopeForTests as xr, ensureSurfacePortalInteractionTracking as Cr, isSurfacePortalMode as Sr, projectSurfacePortalPosition as dr, projectSurfacePortalRect as Er, resolveSurfacePortalBoundaryRect as
|
|
14
|
+
import { DIALOG_SURFACE_BOUNDARY_ATTR as pr, DIALOG_SURFACE_HOST_ATTR as fr, SURFACE_PORTAL_HOST_ATTR as Tr, SURFACE_PORTAL_LAYER_ATTR as sr, __resetSurfacePortalScopeForTests as xr, ensureSurfacePortalInteractionTracking as Cr, isSurfacePortalMode as Sr, projectSurfacePortalPosition as dr, projectSurfacePortalRect as Er, resolveSurfacePortalBoundaryRect as Rr, resolveSurfacePortalHost as _r, resolveSurfacePortalMount as ur, resolveSurfacePortalMountRect as Ar } from "./components/ui/dialogSurfaceScope.js";
|
|
15
15
|
import { DataTable as Fr } from "./components/ui/DataTable.js";
|
|
16
16
|
import { DatePicker as Lr, DateRangePicker as Ir } from "./components/ui/DatePicker.js";
|
|
17
17
|
import { DialogPlacementProvider as Dr } from "./components/ui/DialogPlacementContext.js";
|
|
@@ -23,52 +23,53 @@ import { ErrorBlock as yr, HighlightBlock as Mr, InfoBlock as wr, NoteBlock as K
|
|
|
23
23
|
import { FeedbackIndicator as Xr } from "./components/ui/FeedbackIndicator.js";
|
|
24
24
|
import { FileOpenPicker as Qr, normalizeFileOpenSelection as Zr, updateFileOpenSelection as qr } from "./components/ui/FileOpenPicker.js";
|
|
25
25
|
import { FileSavePicker as $r } from "./components/ui/FileSavePicker.js";
|
|
26
|
-
import { FloatingWindow as
|
|
27
|
-
import { Form as
|
|
28
|
-
import { InfiniteCanvas as
|
|
29
|
-
import { KeyedFor as
|
|
30
|
-
import { MENU_ITEM_SELECTOR as
|
|
31
|
-
import { MobileKeyboard as
|
|
32
|
-
import { Pagination as
|
|
33
|
-
import { PersistentHorizontalScrollbar as
|
|
34
|
-
import { PickerNavigationError as
|
|
35
|
-
import { Popover as
|
|
36
|
-
import { ProcessingIndicator as
|
|
37
|
-
import { PromptCard as
|
|
38
|
-
import { QuoteBlock as
|
|
39
|
-
import { RadioGroup as
|
|
40
|
-
import { SegmentedControl as
|
|
41
|
-
import { SettingRow as
|
|
42
|
-
import { Slider as
|
|
43
|
-
import { StableText as
|
|
44
|
-
import { StatusRegion as
|
|
45
|
-
import { Stepper as
|
|
46
|
-
import { SurfaceAnchoredLayer as
|
|
47
|
-
import { SurfaceFloatingLayer as
|
|
48
|
-
import { SurfaceFloatingPanel as
|
|
49
|
-
import { Switch as
|
|
50
|
-
import { TabPanel as
|
|
51
|
-
import { Table as
|
|
52
|
-
import { Tag as
|
|
53
|
-
import { Tooltip as
|
|
54
|
-
import { WindowTabs as
|
|
55
|
-
import { addCalendarDays as
|
|
56
|
-
import { clientToCanvasLocal as
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
26
|
+
import { FloatingWindow as ee } from "./components/ui/FloatingWindow.js";
|
|
27
|
+
import { Form as te, FormActions as ae, FormControl as ie, FormDescription as ne, FormDivider as le, FormField as ce, FormLabel as me, FormMessage as pe, FormRow as fe, FormSection as Te, useFormSubmitting as se } from "./components/ui/Form.js";
|
|
28
|
+
import { InfiniteCanvas as Ce } from "./components/ui/InfiniteCanvas.js";
|
|
29
|
+
import { KeyedFor as de } from "./components/ui/KeyedFor.js";
|
|
30
|
+
import { MENU_ITEM_SELECTOR as Re, focusMenuItem as _e, getMenuItems as ue, handleMenuKeyboardNavigation as Ae, moveMenuFocus as ge } from "./components/ui/menuUtils.js";
|
|
31
|
+
import { MobileKeyboard as Pe } from "./components/ui/MobileKeyboard.js";
|
|
32
|
+
import { Pagination as Ie } from "./components/ui/Pagination.js";
|
|
33
|
+
import { PersistentHorizontalScrollbar as De } from "./components/ui/PersistentHorizontalScrollbar.js";
|
|
34
|
+
import { PickerNavigationError as We, createFilesystemPickerDataSource as ve, formatPickerPath as he, parsePickerPath as ke } from "./components/ui/picker/PickerNavigation.js";
|
|
35
|
+
import { Popover as Be } from "./components/ui/Popover.js";
|
|
36
|
+
import { ProcessingIndicator as Ue } from "./components/ui/ProcessingIndicator.js";
|
|
37
|
+
import { PromptCard as Me, capturePromptCardAnchor as we } from "./components/ui/PromptCard.js";
|
|
38
|
+
import { QuoteBlock as Ve } from "./components/ui/QuoteBlock.js";
|
|
39
|
+
import { RadioGroup as ze, RadioList as je, RadioOption as Xe } from "./components/ui/Radio.js";
|
|
40
|
+
import { SegmentedControl as Qe } from "./components/ui/SegmentedControl.js";
|
|
41
|
+
import { SettingRow as qe, SettingsLayout as Je, SettingsList as $e, SettingsNavigation as ro, SettingsSection as eo } from "./components/ui/Settings.js";
|
|
42
|
+
import { Slider as to } from "./components/ui/Slider.js";
|
|
43
|
+
import { StableText as io } from "./components/ui/StableText.js";
|
|
44
|
+
import { StatusRegion as lo } from "./components/ui/StatusRegion.js";
|
|
45
|
+
import { Stepper as mo, Wizard as po, useWizard as fo } from "./components/ui/Stepper.js";
|
|
46
|
+
import { SurfaceAnchoredLayer as so } from "./components/ui/SurfaceAnchoredLayer.js";
|
|
47
|
+
import { SurfaceFloatingLayer as Co } from "./components/ui/SurfaceFloatingLayer.js";
|
|
48
|
+
import { SurfaceFloatingPanel as Eo } from "./components/ui/SurfaceFloatingPanel.js";
|
|
49
|
+
import { Switch as _o } from "./components/ui/Switch.js";
|
|
50
|
+
import { TabPanel as Ao, Tabs as go } from "./components/ui/Tabs.js";
|
|
51
|
+
import { Table as Po, TableBody as Lo, TableCaption as Io, TableCell as bo, TableFooter as Do, TableHead as Oo, TableHeader as Wo, TableRow as vo } from "./components/ui/Table.js";
|
|
52
|
+
import { Tag as ko } from "./components/ui/Tag.js";
|
|
53
|
+
import { Tooltip as Bo } from "./components/ui/Tooltip.js";
|
|
54
|
+
import { WindowTabs as Uo } from "./components/ui/WindowTabs.js";
|
|
55
|
+
import { addCalendarDays as Mo, addCalendarMonths as wo, calendarDays as Ko, formatCalendarDate as Vo, parseCalendarDate as Go } from "./components/ui/calendarModel.js";
|
|
56
|
+
import { clientToCanvasLocal as jo, clientToCanvasWorld as Xo, createViewportFromZoomAnchor as Yo, isPointInsideCanvasRect as Qo, localToCanvasWorld as Zo } from "./components/ui/canvasGeometry.js";
|
|
57
|
+
import { createContextSourceRegistry as Jo } from "./components/ui/contextSource.js";
|
|
58
|
+
import { createControllableValue as rt } from "./components/ui/controllable.js";
|
|
59
|
+
import { createFloatingPresence as ot } from "./components/ui/floatingPresence.js";
|
|
60
|
+
import { createTableModel as at } from "./components/ui/dataTableModel.js";
|
|
61
|
+
import { intersectSurfaceRects as nt } from "./components/ui/surfaceFloatingBoundary.js";
|
|
62
|
+
import { joinAriaIds as ct, useFormControl as mt, useFormField as pt } from "./components/ui/formFieldContext.js";
|
|
63
|
+
import { observeDialogHeight as Tt } from "./components/ui/dialogHeightMotion.js";
|
|
64
|
+
import { resolveFloatingWindowViewport as xt } from "./components/ui/floatingWindowGeometry.js";
|
|
65
|
+
import { startPointerSession as St } from "./components/ui/pointerSession.js";
|
|
65
66
|
export {
|
|
66
|
-
|
|
67
|
+
o as Accordion,
|
|
67
68
|
a as AffixInput,
|
|
68
69
|
m as AreaChart,
|
|
69
70
|
C as Breadcrumb,
|
|
70
71
|
d as Button,
|
|
71
|
-
|
|
72
|
+
R as CANVAS_WHEEL_INTERACTIVE_ATTR,
|
|
72
73
|
H as Calendar,
|
|
73
74
|
y as Card,
|
|
74
75
|
M as CardContent,
|
|
@@ -80,10 +81,10 @@ export {
|
|
|
80
81
|
X as CheckboxGroup,
|
|
81
82
|
Y as CheckboxList,
|
|
82
83
|
Z as CircularProgress,
|
|
83
|
-
|
|
84
|
+
er as Combobox,
|
|
84
85
|
ir as CommandPalette,
|
|
85
86
|
lr as ConfirmDialog,
|
|
86
|
-
|
|
87
|
+
_ as DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR,
|
|
87
88
|
u as DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR,
|
|
88
89
|
A as DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR,
|
|
89
90
|
g as DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR,
|
|
@@ -105,116 +106,117 @@ export {
|
|
|
105
106
|
Xr as FeedbackIndicator,
|
|
106
107
|
Qr as FileOpenPicker,
|
|
107
108
|
$r as FileSavePicker,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
109
|
+
ee as FloatingWindow,
|
|
110
|
+
te as Form,
|
|
111
|
+
ae as FormActions,
|
|
112
|
+
ie as FormControl,
|
|
113
|
+
ne as FormDescription,
|
|
114
|
+
le as FormDivider,
|
|
115
|
+
ce as FormField,
|
|
116
|
+
me as FormLabel,
|
|
117
|
+
pe as FormMessage,
|
|
118
|
+
fe as FormRow,
|
|
119
|
+
Te as FormSection,
|
|
119
120
|
Mr as HighlightBlock,
|
|
120
|
-
|
|
121
|
+
Ce as InfiniteCanvas,
|
|
121
122
|
wr as InfoBlock,
|
|
122
123
|
i as Input,
|
|
123
|
-
|
|
124
|
+
de as KeyedFor,
|
|
124
125
|
P as LOCAL_INTERACTION_SURFACE_ATTR,
|
|
125
126
|
T as LineChart,
|
|
126
127
|
q as LinearProgress,
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
Re as MENU_ITEM_SELECTOR,
|
|
129
|
+
Pe as MobileKeyboard,
|
|
129
130
|
s as MonitoringChart,
|
|
130
|
-
|
|
131
|
+
or as MultiSelect,
|
|
131
132
|
Kr as NoteBlock,
|
|
132
133
|
n as NumberInput,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
134
|
+
Ie as Pagination,
|
|
135
|
+
De as PersistentHorizontalScrollbar,
|
|
136
|
+
We as PickerNavigationError,
|
|
137
|
+
Be as Popover,
|
|
138
|
+
Ue as ProcessingIndicator,
|
|
139
|
+
Me as PromptCard,
|
|
140
|
+
Ve as QuoteBlock,
|
|
141
|
+
ze as RadioGroup,
|
|
142
|
+
je as RadioList,
|
|
143
|
+
Xe as RadioOption,
|
|
143
144
|
Tr as SURFACE_PORTAL_HOST_ATTR,
|
|
144
145
|
sr as SURFACE_PORTAL_LAYER_ATTR,
|
|
145
|
-
|
|
146
|
+
Qe as SegmentedControl,
|
|
146
147
|
J as SegmentedProgress,
|
|
147
148
|
tr as Select,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
149
|
+
qe as SettingRow,
|
|
150
|
+
Je as SettingsLayout,
|
|
151
|
+
$e as SettingsList,
|
|
152
|
+
ro as SettingsNavigation,
|
|
153
|
+
eo as SettingsSection,
|
|
154
|
+
to as Slider,
|
|
155
|
+
io as StableText,
|
|
156
|
+
lo as StatusRegion,
|
|
157
|
+
mo as Stepper,
|
|
157
158
|
$ as StepsProgress,
|
|
158
159
|
Vr as SuccessBlock,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
160
|
+
so as SurfaceAnchoredLayer,
|
|
161
|
+
Co as SurfaceFloatingLayer,
|
|
162
|
+
Eo as SurfaceFloatingPanel,
|
|
163
|
+
_o as Switch,
|
|
164
|
+
Ao as TabPanel,
|
|
165
|
+
Po as Table,
|
|
166
|
+
Lo as TableBody,
|
|
167
|
+
Io as TableCaption,
|
|
168
|
+
bo as TableCell,
|
|
169
|
+
Do as TableFooter,
|
|
170
|
+
Oo as TableHead,
|
|
171
|
+
Wo as TableHeader,
|
|
172
|
+
vo as TableRow,
|
|
173
|
+
go as Tabs,
|
|
174
|
+
ko as Tag,
|
|
174
175
|
l as Textarea,
|
|
175
176
|
Gr as TipBlock,
|
|
176
|
-
|
|
177
|
+
Bo as Tooltip,
|
|
177
178
|
L as WORKBENCH_TEXT_SELECTION_SURFACE_ATTR,
|
|
178
179
|
I as WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR,
|
|
179
180
|
b as WORKBENCH_WIDGET_SHELL_ATTR,
|
|
180
181
|
zr as WarningBlock,
|
|
181
|
-
|
|
182
|
-
|
|
182
|
+
Uo as WindowTabs,
|
|
183
|
+
po as Wizard,
|
|
183
184
|
xr as __resetSurfacePortalScopeForTests,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
185
|
+
Mo as addCalendarDays,
|
|
186
|
+
wo as addCalendarMonths,
|
|
187
|
+
Ko as calendarDays,
|
|
188
|
+
we as capturePromptCardAnchor,
|
|
189
|
+
jo as clientToCanvasLocal,
|
|
190
|
+
Xo as clientToCanvasWorld,
|
|
191
|
+
Jo as createContextSourceRegistry,
|
|
192
|
+
rt as createControllableValue,
|
|
193
|
+
ve as createFilesystemPickerDataSource,
|
|
194
|
+
ot as createFloatingPresence,
|
|
195
|
+
at as createTableModel,
|
|
196
|
+
Yo as createViewportFromZoomAnchor,
|
|
195
197
|
Cr as ensureSurfacePortalInteractionTracking,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
_e as focusMenuItem,
|
|
199
|
+
Vo as formatCalendarDate,
|
|
200
|
+
he as formatPickerPath,
|
|
201
|
+
ue as getMenuItems,
|
|
202
|
+
Ae as handleMenuKeyboardNavigation,
|
|
203
|
+
nt as intersectSurfaceRects,
|
|
202
204
|
D as isLocalInteractionSurfaceTarget,
|
|
203
|
-
|
|
205
|
+
Qo as isPointInsideCanvasRect,
|
|
204
206
|
Sr as isSurfacePortalMode,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
207
|
+
ct as joinAriaIds,
|
|
208
|
+
Zo as localToCanvasWorld,
|
|
209
|
+
ge as moveMenuFocus,
|
|
208
210
|
Zr as normalizeFileOpenSelection,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
Tt as observeDialogHeight,
|
|
212
|
+
Go as parseCalendarDate,
|
|
213
|
+
ke as parsePickerPath,
|
|
212
214
|
dr as projectSurfacePortalPosition,
|
|
213
215
|
Er as projectSurfacePortalRect,
|
|
214
|
-
|
|
216
|
+
xt as resolveFloatingWindowViewport,
|
|
215
217
|
O as resolveSurfaceInteractionTargetRole,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
+
Rr as resolveSurfacePortalBoundaryRect,
|
|
219
|
+
_r as resolveSurfacePortalHost,
|
|
218
220
|
ur as resolveSurfacePortalMount,
|
|
219
221
|
Ar as resolveSurfacePortalMountRect,
|
|
220
222
|
W as resolveSurfaceWheelRouting,
|
|
@@ -222,10 +224,10 @@ export {
|
|
|
222
224
|
h as resolveWorkbenchWidgetLocalTypingTarget,
|
|
223
225
|
k as resolveWorkbenchWidgetTextSelectionTarget,
|
|
224
226
|
N as shouldActivateWorkbenchWidgetLocalTarget,
|
|
225
|
-
|
|
227
|
+
St as startPointerSession,
|
|
226
228
|
qr as updateFileOpenSelection,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
mt as useFormControl,
|
|
230
|
+
pt as useFormField,
|
|
231
|
+
se as useFormSubmitting,
|
|
232
|
+
fo as useWizard
|
|
231
233
|
};
|