@floegence/floe-webapp-core 0.48.5 → 0.49.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/DirectoryInput.d.ts +6 -27
- package/dist/components/ui/DirectoryInput.js +41 -115
- package/dist/components/ui/DirectoryPicker.d.ts +1 -5
- package/dist/components/ui/DirectoryPicker.js +27 -116
- package/dist/components/ui/FileOpenPicker.js +95 -167
- package/dist/components/ui/FileSavePicker.js +73 -160
- package/dist/components/ui/index.d.ts +2 -1
- package/dist/components/ui/localInteractionSurface.js +8 -8
- package/dist/components/ui/picker/PickerBase.d.ts +58 -176
- package/dist/components/ui/picker/PickerBase.js +273 -490
- package/dist/components/ui/picker/PickerNavigation.d.ts +91 -0
- package/dist/components/ui/picker/PickerNavigation.js +160 -0
- package/dist/components/workbench/WorkbenchWidget.js +2 -2
- package/dist/components/workbench/types.d.ts +4 -1
- package/dist/full.js +346 -341
- package/dist/styles.css +1 -1
- package/dist/ui.js +120 -115
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,158 +1,163 @@
|
|
|
1
1
|
import { AffixInput as e, Input as t, NumberInput as a, Textarea as i } from "./components/ui/Input.js";
|
|
2
|
-
import { AnimatedBorderCard as
|
|
2
|
+
import { AnimatedBorderCard as c, Card as T, CardContent as l, CardDescription as m, CardFooter as p, CardHeader as C, CardTitle as E, Interactive3DCard as s, MorphCard as f, NeonCard as _ } from "./components/ui/Card.js";
|
|
3
3
|
import { AreaChart as A, DataBarChart as R, DataPieChart as x, LineChart as d, MonitoringChart as u } from "./components/ui/Charts.js";
|
|
4
4
|
import { Button as L } from "./components/ui/Button.js";
|
|
5
|
-
import { CANVAS_WHEEL_INTERACTIVE_ATTR as I, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as
|
|
6
|
-
import { Checkbox as
|
|
5
|
+
import { CANVAS_WHEEL_INTERACTIVE_ATTR as I, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as P, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as O, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as W, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as D, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as N, LOCAL_INTERACTION_SURFACE_ATTR as v, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as h, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as k, WORKBENCH_WIDGET_SHELL_ATTR as B, isLocalInteractionSurfaceTarget as U, resolveSurfaceInteractionTargetRole as b, resolveSurfaceWheelRouting as H, resolveWorkbenchWidgetEventOwnership as M, resolveWorkbenchWidgetLocalTypingTarget as w, resolveWorkbenchWidgetTextSelectionTarget as y, shouldActivateWorkbenchWidgetLocalTarget as G } from "./components/ui/localInteractionSurface.js";
|
|
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
|
-
import { ConfirmDialog as
|
|
10
|
-
import { DIALOG_SURFACE_BOUNDARY_ATTR as
|
|
11
|
-
import { DialogPlacementProvider as
|
|
12
|
-
import { DirectoryInput as
|
|
13
|
-
import { DirectoryPicker as
|
|
14
|
-
import { Dropdown as
|
|
15
|
-
import { ErrorBlock as
|
|
16
|
-
import { FileOpenPicker as
|
|
17
|
-
import { FileSavePicker as
|
|
18
|
-
import { FloatingWindow as
|
|
19
|
-
import { Form as
|
|
20
|
-
import { InfiniteCanvas as
|
|
21
|
-
import { MENU_ITEM_SELECTOR as
|
|
22
|
-
import { MobileKeyboard as
|
|
23
|
-
import { Pagination as
|
|
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 {
|
|
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 Tr, ensureSurfacePortalInteractionTracking as lr, isSurfacePortalMode as mr, projectSurfacePortalPosition as pr, projectSurfacePortalRect as Cr, resolveSurfacePortalBoundaryRect as Er, resolveSurfacePortalHost as sr, resolveSurfacePortalMount as fr, resolveSurfacePortalMountRect as _r } from "./components/ui/dialogSurfaceScope.js";
|
|
11
|
+
import { DialogPlacementProvider as Ar } from "./components/ui/DialogPlacementContext.js";
|
|
12
|
+
import { DirectoryInput as xr } from "./components/ui/DirectoryInput.js";
|
|
13
|
+
import { DirectoryPicker as ur } from "./components/ui/DirectoryPicker.js";
|
|
14
|
+
import { Dropdown as Lr, Select as gr } from "./components/ui/Dropdown.js";
|
|
15
|
+
import { ErrorBlock as Pr, HighlightBlock as Or, InfoBlock as Wr, NoteBlock as Dr, SuccessBlock as Nr, TipBlock as vr, WarningBlock as hr } from "./components/ui/HighlightBlock.js";
|
|
16
|
+
import { FileOpenPicker as Br, normalizeFileOpenSelection as Ur, updateFileOpenSelection as br } from "./components/ui/FileOpenPicker.js";
|
|
17
|
+
import { FileSavePicker as Mr } from "./components/ui/FileSavePicker.js";
|
|
18
|
+
import { FloatingWindow as yr } from "./components/ui/FloatingWindow.js";
|
|
19
|
+
import { Form as Kr, FormActions as Vr, FormControl as zr, FormDescription as jr, FormDivider as Xr, FormField as Yr, FormLabel as Qr, FormMessage as Zr, FormRow as qr, FormSection as Jr, useFormSubmitting as $r } from "./components/ui/Form.js";
|
|
20
|
+
import { InfiniteCanvas as oo } from "./components/ui/InfiniteCanvas.js";
|
|
21
|
+
import { MENU_ITEM_SELECTOR as to, focusMenuItem as ao, getMenuItems as io, handleMenuKeyboardNavigation as no, moveMenuFocus as co } from "./components/ui/menuUtils.js";
|
|
22
|
+
import { MobileKeyboard as lo } from "./components/ui/MobileKeyboard.js";
|
|
23
|
+
import { Pagination as po } from "./components/ui/Pagination.js";
|
|
24
|
+
import { PickerNavigationError as Eo, createFilesystemPickerDataSource as so, formatPickerPath as fo, parsePickerPath as _o } from "./components/ui/picker/PickerNavigation.js";
|
|
25
|
+
import { ProcessingIndicator as Ao } from "./components/ui/ProcessingIndicator.js";
|
|
26
|
+
import { QuoteBlock as xo } from "./components/ui/QuoteBlock.js";
|
|
27
|
+
import { RadioGroup as Fo, RadioList as Lo, RadioOption as go } from "./components/ui/Radio.js";
|
|
28
|
+
import { SegmentedControl as Po } from "./components/ui/SegmentedControl.js";
|
|
29
|
+
import { Stepper as Wo, Wizard as Do, useWizard as No } from "./components/ui/Stepper.js";
|
|
30
|
+
import { SurfaceFloatingLayer as ho } from "./components/ui/SurfaceFloatingLayer.js";
|
|
31
|
+
import { Switch as Bo } from "./components/ui/Switch.js";
|
|
32
|
+
import { TabPanel as bo, Tabs as Ho } from "./components/ui/Tabs.js";
|
|
33
|
+
import { Tag as wo } from "./components/ui/Tag.js";
|
|
34
|
+
import { Tooltip as Go } from "./components/ui/Tooltip.js";
|
|
35
|
+
import { clientToCanvasLocal as Vo, clientToCanvasWorld as zo, createViewportFromZoomAnchor as jo, isPointInsideCanvasRect as Xo, localToCanvasWorld as Yo } from "./components/ui/canvasGeometry.js";
|
|
36
|
+
import { createFloatingPresence as Zo } from "./components/ui/floatingPresence.js";
|
|
37
|
+
import { resolveFloatingWindowViewport as Jo } from "./components/ui/floatingWindowGeometry.js";
|
|
38
|
+
import { startPointerSession as re } from "./components/ui/pointerSession.js";
|
|
38
39
|
export {
|
|
39
40
|
e as AffixInput,
|
|
40
|
-
|
|
41
|
+
c as AnimatedBorderCard,
|
|
41
42
|
A as AreaChart,
|
|
42
43
|
L as Button,
|
|
43
44
|
I as CANVAS_WHEEL_INTERACTIVE_ATTR,
|
|
44
|
-
|
|
45
|
+
T as Card,
|
|
45
46
|
l as CardContent,
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
m as CardDescription,
|
|
48
|
+
p as CardFooter,
|
|
48
49
|
C as CardHeader,
|
|
49
50
|
E as CardTitle,
|
|
50
|
-
|
|
51
|
+
V as Checkbox,
|
|
51
52
|
z as CheckboxGroup,
|
|
52
53
|
j as CheckboxList,
|
|
53
54
|
Y as CircularProgress,
|
|
54
55
|
$ as CommandPalette,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
or as ConfirmDialog,
|
|
57
|
+
P as DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR,
|
|
58
|
+
O as DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR,
|
|
58
59
|
W as DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR,
|
|
59
60
|
D as DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR,
|
|
60
61
|
N as DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR,
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
ar as DIALOG_SURFACE_BOUNDARY_ATTR,
|
|
63
|
+
ir as DIALOG_SURFACE_HOST_ATTR,
|
|
63
64
|
R as DataBarChart,
|
|
64
65
|
x as DataPieChart,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
66
|
+
er as Dialog,
|
|
67
|
+
Ar as DialogPlacementProvider,
|
|
68
|
+
xr as DirectoryInput,
|
|
69
|
+
ur as DirectoryPicker,
|
|
70
|
+
Lr as Dropdown,
|
|
71
|
+
Pr as ErrorBlock,
|
|
72
|
+
Br as FileOpenPicker,
|
|
73
|
+
Mr as FileSavePicker,
|
|
74
|
+
yr as FloatingWindow,
|
|
75
|
+
Kr as Form,
|
|
76
|
+
Vr as FormActions,
|
|
77
|
+
zr as FormControl,
|
|
78
|
+
jr as FormDescription,
|
|
79
|
+
Xr as FormDivider,
|
|
80
|
+
Yr as FormField,
|
|
81
|
+
Qr as FormLabel,
|
|
82
|
+
Zr as FormMessage,
|
|
83
|
+
qr as FormRow,
|
|
84
|
+
Jr as FormSection,
|
|
85
|
+
Or as HighlightBlock,
|
|
86
|
+
oo as InfiniteCanvas,
|
|
87
|
+
Wr as InfoBlock,
|
|
87
88
|
t as Input,
|
|
88
89
|
s as Interactive3DCard,
|
|
89
90
|
v as LOCAL_INTERACTION_SURFACE_ATTR,
|
|
90
91
|
d as LineChart,
|
|
91
92
|
Q as LinearProgress,
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
to as MENU_ITEM_SELECTOR,
|
|
94
|
+
lo as MobileKeyboard,
|
|
94
95
|
u as MonitoringChart,
|
|
95
96
|
f as MorphCard,
|
|
96
97
|
_ as NeonCard,
|
|
97
|
-
|
|
98
|
+
Dr as NoteBlock,
|
|
98
99
|
a as NumberInput,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
po as Pagination,
|
|
101
|
+
Eo as PickerNavigationError,
|
|
102
|
+
Ao as ProcessingIndicator,
|
|
103
|
+
xo as QuoteBlock,
|
|
104
|
+
Fo as RadioGroup,
|
|
105
|
+
Lo as RadioList,
|
|
106
|
+
go as RadioOption,
|
|
107
|
+
nr as SURFACE_PORTAL_HOST_ATTR,
|
|
108
|
+
cr as SURFACE_PORTAL_LAYER_ATTR,
|
|
109
|
+
Po as SegmentedControl,
|
|
108
110
|
Z as SegmentedProgress,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
+
gr as Select,
|
|
112
|
+
Wo as Stepper,
|
|
111
113
|
q as StepsProgress,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
Nr as SuccessBlock,
|
|
115
|
+
ho as SurfaceFloatingLayer,
|
|
116
|
+
Bo as Switch,
|
|
117
|
+
bo as TabPanel,
|
|
118
|
+
Ho as Tabs,
|
|
119
|
+
wo as Tag,
|
|
118
120
|
i as Textarea,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
+
vr as TipBlock,
|
|
122
|
+
Go as Tooltip,
|
|
121
123
|
h as WORKBENCH_TEXT_SELECTION_SURFACE_ATTR,
|
|
122
124
|
k as WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR,
|
|
123
125
|
B as WORKBENCH_WIDGET_SHELL_ATTR,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
126
|
+
hr as WarningBlock,
|
|
127
|
+
Do as Wizard,
|
|
128
|
+
Tr as __resetSurfacePortalScopeForTests,
|
|
129
|
+
Vo as clientToCanvasLocal,
|
|
130
|
+
zo as clientToCanvasWorld,
|
|
131
|
+
so as createFilesystemPickerDataSource,
|
|
132
|
+
Zo as createFloatingPresence,
|
|
133
|
+
jo as createViewportFromZoomAnchor,
|
|
134
|
+
lr as ensureSurfacePortalInteractionTracking,
|
|
135
|
+
ao as focusMenuItem,
|
|
136
|
+
fo as formatPickerPath,
|
|
137
|
+
io as getMenuItems,
|
|
138
|
+
no as handleMenuKeyboardNavigation,
|
|
135
139
|
U as isLocalInteractionSurfaceTarget,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
140
|
+
Xo as isPointInsideCanvasRect,
|
|
141
|
+
mr as isSurfacePortalMode,
|
|
142
|
+
Yo as localToCanvasWorld,
|
|
143
|
+
co as moveMenuFocus,
|
|
144
|
+
Ur as normalizeFileOpenSelection,
|
|
145
|
+
_o as parsePickerPath,
|
|
146
|
+
pr as projectSurfacePortalPosition,
|
|
147
|
+
Cr as projectSurfacePortalRect,
|
|
148
|
+
Jo as resolveFloatingWindowViewport,
|
|
144
149
|
b as resolveSurfaceInteractionTargetRole,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
150
|
+
Er as resolveSurfacePortalBoundaryRect,
|
|
151
|
+
sr as resolveSurfacePortalHost,
|
|
152
|
+
fr as resolveSurfacePortalMount,
|
|
153
|
+
_r as resolveSurfacePortalMountRect,
|
|
149
154
|
H as resolveSurfaceWheelRouting,
|
|
150
155
|
M as resolveWorkbenchWidgetEventOwnership,
|
|
151
156
|
w as resolveWorkbenchWidgetLocalTypingTarget,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
y as resolveWorkbenchWidgetTextSelectionTarget,
|
|
158
|
+
G as shouldActivateWorkbenchWidgetLocalTarget,
|
|
159
|
+
re as startPointerSession,
|
|
160
|
+
br as updateFileOpenSelection,
|
|
161
|
+
$r as useFormSubmitting,
|
|
162
|
+
No as useWizard
|
|
158
163
|
};
|