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