@floegence/floe-webapp-core 0.36.12 → 0.36.15
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/deck/DeckCell.js +46 -38
- package/dist/components/file-browser/FileContextMenu.js +265 -225
- package/dist/components/ui/Dialog.js +63 -53
- package/dist/components/ui/Dropdown.js +209 -169
- package/dist/components/ui/FloatingWindow.js +73 -69
- package/dist/components/ui/InfiniteCanvas.d.ts +1 -0
- package/dist/components/ui/InfiniteCanvas.js +123 -105
- package/dist/components/ui/canvasGeometry.d.ts +32 -0
- package/dist/components/ui/canvasGeometry.js +33 -0
- package/dist/components/ui/dialogSurfaceScope.d.ts +26 -1
- package/dist/components/ui/dialogSurfaceScope.js +132 -33
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/menuUtils.d.ts +21 -2
- package/dist/components/ui/menuUtils.js +73 -43
- package/dist/components/ui/surfacePortalScope.d.ts +1 -0
- package/dist/components/ui/surfacePortalTypes.d.ts +8 -0
- package/dist/components/workbench/WorkbenchCanvas.d.ts +1 -0
- package/dist/components/workbench/WorkbenchCanvas.js +11 -8
- package/dist/components/workbench/WorkbenchSurface.js +56 -55
- package/dist/components/workbench/useWorkbenchModel.d.ts +1 -0
- package/dist/components/workbench/useWorkbenchModel.js +67 -64
- package/dist/full.js +611 -591
- package/dist/styles.css +1 -1
- package/dist/ui.js +120 -100
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,111 +1,131 @@
|
|
|
1
1
|
import { AffixInput as e, Input as t, NumberInput as a, Textarea as i } from "./components/ui/Input.js";
|
|
2
|
-
import { AnimatedBorderCard as
|
|
3
|
-
import { AreaChart as
|
|
4
|
-
import { Button as
|
|
5
|
-
import { CANVAS_WHEEL_INTERACTIVE_ATTR as
|
|
6
|
-
import { Checkbox as H, CheckboxGroup as
|
|
7
|
-
import { CircularProgress as
|
|
8
|
-
import { CommandPalette as
|
|
9
|
-
import { ConfirmDialog as
|
|
10
|
-
import {
|
|
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 {
|
|
2
|
+
import { AnimatedBorderCard as c, Card as m, CardContent as p, CardDescription as l, CardFooter as C, CardHeader as T, CardTitle as f, Interactive3DCard as s, MorphCard as S, NeonCard as A } from "./components/ui/Card.js";
|
|
3
|
+
import { AreaChart as x, DataBarChart as _, DataPieChart as E, 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 P, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as g, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as D, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as O, LOCAL_INTERACTION_SURFACE_ATTR as h, WORKBENCH_WIDGET_SHELL_ATTR as v, isLocalInteractionSurfaceTarget as k, resolveSurfaceInteractionTargetRole as B, resolveSurfaceWheelRouting as W, resolveWorkbenchWidgetEventOwnership as N } from "./components/ui/localInteractionSurface.js";
|
|
6
|
+
import { Checkbox as H, CheckboxGroup as U, CheckboxList as M } from "./components/ui/Checkbox.js";
|
|
7
|
+
import { CircularProgress as G, LinearProgress as V, SegmentedProgress as y, StepsProgress as K } from "./components/ui/Progress.js";
|
|
8
|
+
import { CommandPalette as z } from "./components/ui/CommandPalette.js";
|
|
9
|
+
import { ConfirmDialog as Q, Dialog as Z } from "./components/ui/Dialog.js";
|
|
10
|
+
import { DIALOG_SURFACE_BOUNDARY_ATTR as J, DIALOG_SURFACE_HOST_ATTR as X, SURFACE_PORTAL_HOST_ATTR as $, SURFACE_PORTAL_LAYER_ATTR as rr, __resetSurfacePortalScopeForTests as or, ensureSurfacePortalInteractionTracking as er, isSurfacePortalMode as tr, projectSurfacePortalPosition as ar, projectSurfacePortalRect as ir, resolveSurfacePortalBoundaryRect as nr, resolveSurfacePortalHost as cr, resolveSurfacePortalMount as mr, resolveSurfacePortalMountRect as pr } from "./components/ui/dialogSurfaceScope.js";
|
|
11
|
+
import { DirectoryInput as Cr } from "./components/ui/DirectoryInput.js";
|
|
12
|
+
import { DirectoryPicker as fr } from "./components/ui/DirectoryPicker.js";
|
|
13
|
+
import { Dropdown as Sr, Select as Ar } from "./components/ui/Dropdown.js";
|
|
14
|
+
import { ErrorBlock as xr, HighlightBlock as _r, InfoBlock as Er, NoteBlock as dr, SuccessBlock as ur, TipBlock as Lr, WarningBlock as Fr } from "./components/ui/HighlightBlock.js";
|
|
15
|
+
import { FileSavePicker as Pr } from "./components/ui/FileSavePicker.js";
|
|
16
|
+
import { FloatingWindow as Dr } from "./components/ui/FloatingWindow.js";
|
|
17
|
+
import { Form as hr, FormActions as vr, FormControl as kr, FormDescription as Br, FormDivider as Wr, FormField as Nr, FormLabel as br, FormMessage as Hr, FormRow as Ur, FormSection as Mr, useFormSubmitting as wr } from "./components/ui/Form.js";
|
|
18
|
+
import { InfiniteCanvas as Vr } from "./components/ui/InfiniteCanvas.js";
|
|
19
|
+
import { MobileKeyboard as Kr } from "./components/ui/MobileKeyboard.js";
|
|
20
|
+
import { Pagination as zr } from "./components/ui/Pagination.js";
|
|
21
|
+
import { ProcessingIndicator as Qr } from "./components/ui/ProcessingIndicator.js";
|
|
22
|
+
import { QuoteBlock as qr } from "./components/ui/QuoteBlock.js";
|
|
23
|
+
import { RadioGroup as Xr, RadioList as $r, RadioOption as ro } from "./components/ui/Radio.js";
|
|
24
|
+
import { SegmentedControl as eo } from "./components/ui/SegmentedControl.js";
|
|
25
|
+
import { Stepper as ao, Wizard as io, useWizard as no } from "./components/ui/Stepper.js";
|
|
26
|
+
import { Switch as mo } from "./components/ui/Switch.js";
|
|
27
|
+
import { TabPanel as lo, Tabs as Co } from "./components/ui/Tabs.js";
|
|
28
|
+
import { Tag as fo } from "./components/ui/Tag.js";
|
|
29
|
+
import { Tooltip as So } from "./components/ui/Tooltip.js";
|
|
30
|
+
import { clientToCanvasLocal as Ro, clientToCanvasWorld as xo, createViewportFromZoomAnchor as _o, isPointInsideCanvasRect as Eo, localToCanvasWorld as uo } from "./components/ui/canvasGeometry.js";
|
|
29
31
|
export {
|
|
30
32
|
e as AffixInput,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
c as AnimatedBorderCard,
|
|
34
|
+
x as AreaChart,
|
|
35
|
+
F as Button,
|
|
36
|
+
P as CANVAS_WHEEL_INTERACTIVE_ATTR,
|
|
37
|
+
m as Card,
|
|
38
|
+
p as CardContent,
|
|
39
|
+
l as CardDescription,
|
|
40
|
+
C as CardFooter,
|
|
41
|
+
T as CardHeader,
|
|
42
|
+
f as CardTitle,
|
|
41
43
|
H as Checkbox,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
44
|
+
U as CheckboxGroup,
|
|
45
|
+
M as CheckboxList,
|
|
46
|
+
G as CircularProgress,
|
|
47
|
+
z as CommandPalette,
|
|
48
|
+
Q as ConfirmDialog,
|
|
49
|
+
g as DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR,
|
|
50
|
+
D as DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR,
|
|
51
|
+
O as DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR,
|
|
52
|
+
J as DIALOG_SURFACE_BOUNDARY_ATTR,
|
|
53
|
+
X as DIALOG_SURFACE_HOST_ATTR,
|
|
54
|
+
_ as DataBarChart,
|
|
55
|
+
E as DataPieChart,
|
|
56
|
+
Z as Dialog,
|
|
57
|
+
Cr as DirectoryInput,
|
|
58
|
+
fr as DirectoryPicker,
|
|
59
|
+
Sr as Dropdown,
|
|
60
|
+
xr as ErrorBlock,
|
|
61
|
+
Pr as FileSavePicker,
|
|
62
|
+
Dr as FloatingWindow,
|
|
63
|
+
hr as Form,
|
|
64
|
+
vr as FormActions,
|
|
65
|
+
kr as FormControl,
|
|
66
|
+
Br as FormDescription,
|
|
67
|
+
Wr as FormDivider,
|
|
68
|
+
Nr as FormField,
|
|
69
|
+
br as FormLabel,
|
|
70
|
+
Hr as FormMessage,
|
|
71
|
+
Ur as FormRow,
|
|
72
|
+
Mr as FormSection,
|
|
73
|
+
_r as HighlightBlock,
|
|
74
|
+
Vr as InfiniteCanvas,
|
|
75
|
+
Er as InfoBlock,
|
|
72
76
|
t as Input,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
77
|
+
s as Interactive3DCard,
|
|
78
|
+
h as LOCAL_INTERACTION_SURFACE_ATTR,
|
|
79
|
+
d as LineChart,
|
|
76
80
|
V as LinearProgress,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
Kr as MobileKeyboard,
|
|
82
|
+
u as MonitoringChart,
|
|
83
|
+
S as MorphCard,
|
|
84
|
+
A as NeonCard,
|
|
85
|
+
dr as NoteBlock,
|
|
82
86
|
a as NumberInput,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
zr as Pagination,
|
|
88
|
+
Qr as ProcessingIndicator,
|
|
89
|
+
qr as QuoteBlock,
|
|
90
|
+
Xr as RadioGroup,
|
|
91
|
+
$r as RadioList,
|
|
92
|
+
ro as RadioOption,
|
|
93
|
+
$ as SURFACE_PORTAL_HOST_ATTR,
|
|
94
|
+
rr as SURFACE_PORTAL_LAYER_ATTR,
|
|
95
|
+
eo as SegmentedControl,
|
|
90
96
|
y as SegmentedProgress,
|
|
91
|
-
|
|
92
|
-
|
|
97
|
+
Ar as Select,
|
|
98
|
+
ao as Stepper,
|
|
93
99
|
K as StepsProgress,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
ur as SuccessBlock,
|
|
101
|
+
mo as Switch,
|
|
102
|
+
lo as TabPanel,
|
|
103
|
+
Co as Tabs,
|
|
104
|
+
fo as Tag,
|
|
99
105
|
i as Textarea,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
Lr as TipBlock,
|
|
107
|
+
So as Tooltip,
|
|
108
|
+
v as WORKBENCH_WIDGET_SHELL_ATTR,
|
|
109
|
+
Fr as WarningBlock,
|
|
110
|
+
io as Wizard,
|
|
111
|
+
or as __resetSurfacePortalScopeForTests,
|
|
112
|
+
Ro as clientToCanvasLocal,
|
|
113
|
+
xo as clientToCanvasWorld,
|
|
114
|
+
_o as createViewportFromZoomAnchor,
|
|
115
|
+
er as ensureSurfacePortalInteractionTracking,
|
|
116
|
+
k as isLocalInteractionSurfaceTarget,
|
|
117
|
+
Eo as isPointInsideCanvasRect,
|
|
118
|
+
tr as isSurfacePortalMode,
|
|
119
|
+
uo as localToCanvasWorld,
|
|
120
|
+
ar as projectSurfacePortalPosition,
|
|
121
|
+
ir as projectSurfacePortalRect,
|
|
122
|
+
B as resolveSurfaceInteractionTargetRole,
|
|
123
|
+
nr as resolveSurfacePortalBoundaryRect,
|
|
124
|
+
cr as resolveSurfacePortalHost,
|
|
125
|
+
mr as resolveSurfacePortalMount,
|
|
126
|
+
pr as resolveSurfacePortalMountRect,
|
|
127
|
+
W as resolveSurfaceWheelRouting,
|
|
128
|
+
N as resolveWorkbenchWidgetEventOwnership,
|
|
129
|
+
wr as useFormSubmitting,
|
|
130
|
+
no as useWizard
|
|
111
131
|
};
|