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