@floegence/floe-webapp-core 0.36.40 → 0.36.42
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/useFileBrowserMarqueeSelection.d.ts +2 -0
- package/dist/components/file-browser/useFileBrowserMarqueeSelection.js +74 -68
- package/dist/components/ui/FloatingWindow.d.ts +3 -0
- package/dist/components/ui/FloatingWindow.js +181 -181
- package/dist/components/ui/floatingWindowGeometry.d.ts +15 -0
- package/dist/components/ui/floatingWindowGeometry.js +80 -48
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/full.js +25 -23
- package/dist/ui.js +42 -40
- package/package.json +1 -1
|
@@ -5,6 +5,18 @@ export interface FloatingWindowRect {
|
|
|
5
5
|
width: number;
|
|
6
6
|
height: number;
|
|
7
7
|
}
|
|
8
|
+
export interface FloatingWindowViewportInsets {
|
|
9
|
+
top?: number;
|
|
10
|
+
right?: number;
|
|
11
|
+
bottom?: number;
|
|
12
|
+
left?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface FloatingWindowViewport {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
width: number;
|
|
18
|
+
height: number;
|
|
19
|
+
}
|
|
8
20
|
interface PointerPosition {
|
|
9
21
|
x: number;
|
|
10
22
|
y: number;
|
|
@@ -24,6 +36,7 @@ interface ResolveFloatingWindowRectOptions {
|
|
|
24
36
|
minSize: Size;
|
|
25
37
|
maxSize: Size;
|
|
26
38
|
viewport: Size;
|
|
39
|
+
viewportInsets?: FloatingWindowViewportInsets;
|
|
27
40
|
mobile: boolean;
|
|
28
41
|
mobilePadding: number;
|
|
29
42
|
}
|
|
@@ -32,10 +45,12 @@ interface NormalizeFloatingWindowRectOptions {
|
|
|
32
45
|
minSize: Size;
|
|
33
46
|
maxSize: Size;
|
|
34
47
|
viewport: Size;
|
|
48
|
+
viewportInsets?: FloatingWindowViewportInsets;
|
|
35
49
|
mobile: boolean;
|
|
36
50
|
mobilePadding: number;
|
|
37
51
|
center?: boolean;
|
|
38
52
|
}
|
|
53
|
+
export declare function resolveFloatingWindowViewport(viewport: Size, insets?: FloatingWindowViewportInsets): FloatingWindowViewport;
|
|
39
54
|
export declare function resolveFloatingWindowRect(options: ResolveFloatingWindowRectOptions): FloatingWindowRect;
|
|
40
55
|
export declare function normalizeFloatingWindowRect(options: NormalizeFloatingWindowRectOptions): FloatingWindowRect;
|
|
41
56
|
export {};
|
|
@@ -1,65 +1,97 @@
|
|
|
1
|
-
function
|
|
2
|
-
return Math.max(
|
|
1
|
+
function x(e, i, m) {
|
|
2
|
+
return Math.max(i, Math.min(m, e));
|
|
3
3
|
}
|
|
4
|
-
function
|
|
5
|
-
const
|
|
6
|
-
return { min:
|
|
4
|
+
function l(e, i, m) {
|
|
5
|
+
const s = Math.max(0, m), o = Math.min(e, s), c = Math.max(o, Math.min(i, s));
|
|
6
|
+
return { min: o, max: c };
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function z(e) {
|
|
9
|
+
const i = Number(e);
|
|
10
|
+
return Number.isFinite(i) && i > 0 ? i : 0;
|
|
11
|
+
}
|
|
12
|
+
function X(e, i = {}) {
|
|
13
|
+
const m = Math.max(0, e.width), s = Math.max(0, e.height), o = Math.min(z(i.left), m), c = Math.min(z(i.top), s), n = Math.min(z(i.right), Math.max(0, m - o)), d = Math.min(z(i.bottom), Math.max(0, s - c));
|
|
14
|
+
return {
|
|
15
|
+
x: o,
|
|
16
|
+
y: c,
|
|
17
|
+
width: Math.max(0, m - o - n),
|
|
18
|
+
height: Math.max(0, s - c - d)
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function Y(e) {
|
|
22
|
+
return e.x + e.width;
|
|
23
|
+
}
|
|
24
|
+
function H(e) {
|
|
25
|
+
return e.y + e.height;
|
|
26
|
+
}
|
|
27
|
+
function I(e) {
|
|
9
28
|
const {
|
|
10
|
-
mode:
|
|
11
|
-
pointer:
|
|
12
|
-
dragStartPos:
|
|
13
|
-
dragStartRect:
|
|
14
|
-
resizeStartPos:
|
|
15
|
-
resizeStartRect:
|
|
16
|
-
resizeHandle:
|
|
17
|
-
minSize:
|
|
18
|
-
maxSize:
|
|
19
|
-
viewport:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
29
|
+
mode: i,
|
|
30
|
+
pointer: m,
|
|
31
|
+
dragStartPos: s,
|
|
32
|
+
dragStartRect: o,
|
|
33
|
+
resizeStartPos: c,
|
|
34
|
+
resizeStartRect: n,
|
|
35
|
+
resizeHandle: d,
|
|
36
|
+
minSize: r,
|
|
37
|
+
maxSize: t,
|
|
38
|
+
viewport: R,
|
|
39
|
+
viewportInsets: S,
|
|
40
|
+
mobile: y,
|
|
41
|
+
mobilePadding: f
|
|
42
|
+
} = e, a = X(R, S), g = Y(a), w = H(a), u = m.x - (i === "drag" ? s.x : c.x), p = m.y - (i === "drag" ? s.y : c.y);
|
|
43
|
+
if (i === "drag") {
|
|
44
|
+
const h = Math.max(a.x, g - o.width), M = Math.max(a.y, w - o.height);
|
|
24
45
|
return {
|
|
25
|
-
...
|
|
26
|
-
x: x ?
|
|
27
|
-
y:
|
|
46
|
+
...o,
|
|
47
|
+
x: x(y ? a.x + f : o.x + u, a.x, h),
|
|
48
|
+
y: x(o.y + p, a.y, M)
|
|
28
49
|
};
|
|
29
|
-
let u = i.width, f = i.height, y = i.x, b = i.y;
|
|
30
|
-
if (!x && m.includes("e") && (u = Math.max(g.width, Math.min(d.width, i.width + r))), !x && m.includes("w")) {
|
|
31
|
-
const c = i.width - r;
|
|
32
|
-
c >= g.width && c <= d.width && (u = c, y = i.x + r);
|
|
33
50
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
51
|
+
let b = n.width, v = n.height, W = n.x, F = n.y;
|
|
52
|
+
if (!y && d.includes("e")) {
|
|
53
|
+
const h = l(r.width, t.width, g - n.x);
|
|
54
|
+
b = x(n.width + u, h.min, h.max);
|
|
55
|
+
}
|
|
56
|
+
if (!y && d.includes("w")) {
|
|
57
|
+
const h = n.x + n.width, M = l(r.width, t.width, h - a.x), B = h - M.max, P = Math.max(B, h - M.min);
|
|
58
|
+
W = x(n.x + u, B, P), b = Math.max(0, h - W);
|
|
59
|
+
}
|
|
60
|
+
if (d.includes("s")) {
|
|
61
|
+
const h = l(r.height, t.height, w - n.y);
|
|
62
|
+
v = x(n.height + p, h.min, h.max);
|
|
63
|
+
}
|
|
64
|
+
if (d.includes("n")) {
|
|
65
|
+
const h = n.y + n.height, M = l(r.height, t.height, h - a.y), B = h - M.max, P = Math.max(B, h - M.min);
|
|
66
|
+
F = x(n.y + p, B, P), v = Math.max(0, h - F);
|
|
37
67
|
}
|
|
38
68
|
return {
|
|
39
|
-
x:
|
|
40
|
-
y:
|
|
41
|
-
width:
|
|
42
|
-
height:
|
|
69
|
+
x: x(W, a.x, Math.max(a.x, g - b)),
|
|
70
|
+
y: x(F, a.y, Math.max(a.y, w - v)),
|
|
71
|
+
width: b,
|
|
72
|
+
height: v
|
|
43
73
|
};
|
|
44
74
|
}
|
|
45
|
-
function
|
|
75
|
+
function V(e) {
|
|
46
76
|
const {
|
|
47
|
-
rect:
|
|
48
|
-
minSize:
|
|
49
|
-
maxSize:
|
|
50
|
-
viewport:
|
|
77
|
+
rect: i,
|
|
78
|
+
minSize: m,
|
|
79
|
+
maxSize: s,
|
|
80
|
+
viewport: o,
|
|
81
|
+
viewportInsets: c,
|
|
51
82
|
mobile: n,
|
|
52
|
-
mobilePadding:
|
|
53
|
-
center:
|
|
54
|
-
} = o,
|
|
83
|
+
mobilePadding: d,
|
|
84
|
+
center: r = !1
|
|
85
|
+
} = e, t = X(o, c), R = Y(t), S = H(t), y = n ? Math.max(0, t.width - d * 2) : t.width, f = l(m.width, s.width, y), a = l(m.height, s.height, t.height), g = n ? f.max : x(i.width, f.min, f.max), w = x(i.height, a.min, a.max), u = Math.max(t.x, R - g), p = Math.max(t.y, S - w);
|
|
55
86
|
return {
|
|
56
|
-
x: n ?
|
|
57
|
-
y:
|
|
58
|
-
width:
|
|
59
|
-
height:
|
|
87
|
+
x: n ? x(t.x + d, t.x, u) : r ? Math.max(t.x, Math.round(t.x + (t.width - g) / 2)) : x(i.x, t.x, u),
|
|
88
|
+
y: r ? Math.max(t.y, Math.round(t.y + (t.height - w) / 2)) : x(i.y, t.y, p),
|
|
89
|
+
width: g,
|
|
90
|
+
height: w
|
|
60
91
|
};
|
|
61
92
|
}
|
|
62
93
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
94
|
+
V as normalizeFloatingWindowRect,
|
|
95
|
+
I as resolveFloatingWindowRect,
|
|
96
|
+
X as resolveFloatingWindowViewport
|
|
65
97
|
};
|
|
@@ -3,6 +3,7 @@ export { Tag, type TagProps, type TagVariant, type TagSize } from './Tag';
|
|
|
3
3
|
export { Input, Textarea, NumberInput, AffixInput, type InputProps, type InputSize, type TextareaProps, type NumberInputProps, type AffixInputProps, type AffixOption, } from './Input';
|
|
4
4
|
export { Dialog, ConfirmDialog, type DialogProps, type ConfirmDialogProps } from './Dialog';
|
|
5
5
|
export { FloatingWindow, type FloatingWindowProps } from './FloatingWindow';
|
|
6
|
+
export { resolveFloatingWindowViewport, type FloatingWindowRect, type FloatingWindowViewport, type FloatingWindowViewportInsets, } from './floatingWindowGeometry';
|
|
6
7
|
export { Dropdown, Select, type DropdownProps, type DropdownItem, type SelectProps, } from './Dropdown';
|
|
7
8
|
export { SurfaceFloatingLayer, type SurfaceFloatingLayerPosition, type SurfaceFloatingLayerProps, type SurfaceFloatingLayerSize, } from './SurfaceFloatingLayer';
|
|
8
9
|
export { Tooltip, type TooltipProps } from './Tooltip';
|
package/dist/full.js
CHANGED
|
@@ -145,17 +145,18 @@ import { formatKeybind as Hf, isMacLikePlatform as Uf, isPrimaryModKeyPressed as
|
|
|
145
145
|
import { isTypingElement as Xf, shouldIgnoreHotkeys as Zf } from "./utils/dom.js";
|
|
146
146
|
import { lockBodyStyle as Qf } from "./utils/bodyStyleLock.js";
|
|
147
147
|
import { registerCommandContributions as qf, useCommandContributions as Jf } from "./hooks/useCommandContributions.js";
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
148
|
+
import { resolveFloatingWindowViewport as ed } from "./components/ui/floatingWindowGeometry.js";
|
|
149
|
+
import { startPointerSession as rd } from "./components/ui/pointerSession.js";
|
|
150
|
+
import { useAttachments as nd } from "./components/chat/hooks/useAttachments.js";
|
|
151
|
+
import { useAutoScroll as ad } from "./components/chat/hooks/useAutoScroll.js";
|
|
152
|
+
import { useDebounce as md } from "./hooks/useDebounce.js";
|
|
153
|
+
import { useDeckDrag as sd } from "./hooks/useDeckDrag.js";
|
|
154
|
+
import { useFileBrowserDropTarget as fd, useFileBrowserItemDrag as dd } from "./hooks/useFileBrowserDrag.js";
|
|
155
|
+
import { useKeybind as Id } from "./hooks/useKeybind.js";
|
|
156
|
+
import { useMediaQuery as Cd } from "./hooks/useMediaQuery.js";
|
|
157
|
+
import { usePersisted as gd } from "./hooks/usePersisted.js";
|
|
158
|
+
import { useResizeObserver as hd } from "./hooks/useResizeObserver.js";
|
|
159
|
+
import { useVirtualList as Fd } from "./components/chat/hooks/useVirtualList.js";
|
|
159
160
|
export {
|
|
160
161
|
F as Activity,
|
|
161
162
|
Nt as ActivityAppsMain,
|
|
@@ -695,6 +696,7 @@ export {
|
|
|
695
696
|
pl as replaceSnapshotTopic,
|
|
696
697
|
fl as replaceSnapshotTrashItem,
|
|
697
698
|
Nn as resolveFileItemIcon,
|
|
699
|
+
ed as resolveFloatingWindowViewport,
|
|
698
700
|
Jn as resolveSurfaceInteractionTargetRole,
|
|
699
701
|
sa as resolveSurfacePortalBoundaryRect,
|
|
700
702
|
pa as resolveSurfacePortalHost,
|
|
@@ -722,7 +724,7 @@ export {
|
|
|
722
724
|
Pp as snapToGrid,
|
|
723
725
|
wf as springConfig,
|
|
724
726
|
$a as startHotInteraction,
|
|
725
|
-
|
|
727
|
+
rd as startPointerSession,
|
|
726
728
|
gt as submitTerminalSession,
|
|
727
729
|
s as syncThemeTokenOverrides,
|
|
728
730
|
yt as terminalCommandTokenSuggestionProvider,
|
|
@@ -734,8 +736,8 @@ export {
|
|
|
734
736
|
nf as terminateMarkdownWorker,
|
|
735
737
|
pf as terminateMermaidWorker,
|
|
736
738
|
Cf as terminateShikiWorker,
|
|
737
|
-
|
|
738
|
-
|
|
739
|
+
nd as useAttachments,
|
|
740
|
+
ad as useAutoScroll,
|
|
739
741
|
si as useChatContext,
|
|
740
742
|
Sf as useCodeHighlight,
|
|
741
743
|
yi as useCommand,
|
|
@@ -743,27 +745,27 @@ export {
|
|
|
743
745
|
Mi as useComponentContextFactory,
|
|
744
746
|
Ni as useComponentRegistry,
|
|
745
747
|
fp as useCurrentWidgetId,
|
|
746
|
-
|
|
748
|
+
md as useDebounce,
|
|
747
749
|
Fa as useDeck,
|
|
748
|
-
|
|
750
|
+
sd as useDeckDrag,
|
|
749
751
|
fc as useFileBrowser,
|
|
750
752
|
lc as useFileBrowserDrag,
|
|
751
|
-
|
|
752
|
-
|
|
753
|
+
fd as useFileBrowserDropTarget,
|
|
754
|
+
dd as useFileBrowserItemDrag,
|
|
753
755
|
ji as useFloeConfig,
|
|
754
756
|
Xc as useFormSubmitting,
|
|
755
|
-
|
|
757
|
+
Id as useKeybind,
|
|
756
758
|
Tm as useLayout,
|
|
757
|
-
|
|
759
|
+
Cd as useMediaQuery,
|
|
758
760
|
ff as useMermaid,
|
|
759
761
|
_l as useNotification,
|
|
760
762
|
wi as useOptionalComponentRegistry,
|
|
761
|
-
|
|
762
|
-
|
|
763
|
+
gd as usePersisted,
|
|
764
|
+
hd as useResizeObserver,
|
|
763
765
|
qi as useResolvedFloeConfig,
|
|
764
766
|
ws as useTheme,
|
|
765
767
|
qs as useViewActivation,
|
|
766
|
-
|
|
768
|
+
Fd as useVirtualList,
|
|
767
769
|
cp as useWidgetRegistry,
|
|
768
770
|
dp as useWidgetState,
|
|
769
771
|
Tp as useWidgetStateContext,
|
package/dist/ui.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
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
|
|
2
|
+
import { AnimatedBorderCard as T, Card as c, CardContent as C, CardDescription as l, CardFooter as p, CardHeader as E, CardTitle as m, Interactive3DCard as s, MorphCard as _, NeonCard as f } from "./components/ui/Card.js";
|
|
3
3
|
import { AreaChart as S, DataBarChart as R, DataPieChart as x, LineChart as d, MonitoringChart as L } from "./components/ui/Charts.js";
|
|
4
|
-
import { Button as
|
|
5
|
-
import { CANVAS_WHEEL_INTERACTIVE_ATTR as
|
|
4
|
+
import { Button as u } 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 D, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as N, LOCAL_INTERACTION_SURFACE_ATTR as h, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as v, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as B, WORKBENCH_WIDGET_SHELL_ATTR as k, isLocalInteractionSurfaceTarget as U, resolveSurfaceInteractionTargetRole as H, resolveSurfaceWheelRouting as b, resolveWorkbenchWidgetEventOwnership as w, resolveWorkbenchWidgetLocalTypingTarget as G, resolveWorkbenchWidgetTextSelectionTarget as V, 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 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 Tr, __resetSurfacePortalScopeForTests as cr, ensureSurfacePortalInteractionTracking as Cr, isSurfacePortalMode as lr, projectSurfacePortalPosition as
|
|
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 Tr, __resetSurfacePortalScopeForTests as cr, ensureSurfacePortalInteractionTracking as Cr, isSurfacePortalMode as lr, projectSurfacePortalPosition as pr, projectSurfacePortalRect as Er, resolveSurfacePortalBoundaryRect as mr, resolveSurfacePortalHost as sr, resolveSurfacePortalMount as _r, resolveSurfacePortalMountRect as fr } from "./components/ui/dialogSurfaceScope.js";
|
|
11
11
|
import { DirectoryInput as Sr } from "./components/ui/DirectoryInput.js";
|
|
12
12
|
import { DirectoryPicker as xr } from "./components/ui/DirectoryPicker.js";
|
|
13
|
-
import { Dropdown as Lr, Select as
|
|
14
|
-
import { ErrorBlock as
|
|
13
|
+
import { Dropdown as Lr, Select as Fr } from "./components/ui/Dropdown.js";
|
|
14
|
+
import { ErrorBlock as gr, HighlightBlock as Ir, InfoBlock as Or, NoteBlock as Wr, SuccessBlock as Pr, TipBlock as Dr, WarningBlock as Nr } from "./components/ui/HighlightBlock.js";
|
|
15
15
|
import { FileSavePicker as vr } from "./components/ui/FileSavePicker.js";
|
|
16
16
|
import { FloatingWindow as kr } from "./components/ui/FloatingWindow.js";
|
|
17
|
-
import { Form as Hr, FormActions as br, FormControl as
|
|
17
|
+
import { Form as Hr, FormActions as br, FormControl as wr, FormDescription as Gr, FormDivider as Vr, FormField as Kr, FormLabel as Mr, FormMessage as yr, FormRow as jr, FormSection as zr, useFormSubmitting as Xr } from "./components/ui/Form.js";
|
|
18
18
|
import { InfiniteCanvas as Qr } from "./components/ui/InfiniteCanvas.js";
|
|
19
19
|
import { MobileKeyboard as qr } from "./components/ui/MobileKeyboard.js";
|
|
20
20
|
import { Pagination as $r } from "./components/ui/Pagination.js";
|
|
@@ -22,25 +22,26 @@ import { ProcessingIndicator as oo } from "./components/ui/ProcessingIndicator.j
|
|
|
22
22
|
import { QuoteBlock as to } from "./components/ui/QuoteBlock.js";
|
|
23
23
|
import { RadioGroup as io, RadioList as no, RadioOption as To } from "./components/ui/Radio.js";
|
|
24
24
|
import { SegmentedControl as Co } from "./components/ui/SegmentedControl.js";
|
|
25
|
-
import { Stepper as
|
|
26
|
-
import { SurfaceFloatingLayer as
|
|
25
|
+
import { Stepper as po, Wizard as Eo, useWizard as mo } from "./components/ui/Stepper.js";
|
|
26
|
+
import { SurfaceFloatingLayer as _o } from "./components/ui/SurfaceFloatingLayer.js";
|
|
27
27
|
import { Switch as Ao } from "./components/ui/Switch.js";
|
|
28
28
|
import { TabPanel as Ro, Tabs as xo } from "./components/ui/Tabs.js";
|
|
29
|
-
import { Tag as
|
|
30
|
-
import { Tooltip as
|
|
29
|
+
import { Tag as Fo } from "./components/ui/Tag.js";
|
|
30
|
+
import { Tooltip as go } from "./components/ui/Tooltip.js";
|
|
31
31
|
import { clientToCanvasLocal as Oo, clientToCanvasWorld as Wo, createViewportFromZoomAnchor as Po, isPointInsideCanvasRect as Do, localToCanvasWorld as No } from "./components/ui/canvasGeometry.js";
|
|
32
|
-
import {
|
|
32
|
+
import { resolveFloatingWindowViewport as vo } from "./components/ui/floatingWindowGeometry.js";
|
|
33
|
+
import { startPointerSession as ko } from "./components/ui/pointerSession.js";
|
|
33
34
|
export {
|
|
34
35
|
e as AffixInput,
|
|
35
36
|
T as AnimatedBorderCard,
|
|
36
37
|
S as AreaChart,
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
u as Button,
|
|
39
|
+
I as CANVAS_WHEEL_INTERACTIVE_ATTR,
|
|
39
40
|
c as Card,
|
|
40
41
|
C as CardContent,
|
|
41
42
|
l as CardDescription,
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
p as CardFooter,
|
|
44
|
+
E as CardHeader,
|
|
44
45
|
m as CardTitle,
|
|
45
46
|
y as Checkbox,
|
|
46
47
|
j as CheckboxGroup,
|
|
@@ -61,30 +62,30 @@ export {
|
|
|
61
62
|
Sr as DirectoryInput,
|
|
62
63
|
xr as DirectoryPicker,
|
|
63
64
|
Lr as Dropdown,
|
|
64
|
-
|
|
65
|
+
gr as ErrorBlock,
|
|
65
66
|
vr as FileSavePicker,
|
|
66
67
|
kr as FloatingWindow,
|
|
67
68
|
Hr as Form,
|
|
68
69
|
br as FormActions,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
wr as FormControl,
|
|
71
|
+
Gr as FormDescription,
|
|
72
|
+
Vr as FormDivider,
|
|
73
|
+
Kr as FormField,
|
|
74
|
+
Mr as FormLabel,
|
|
74
75
|
yr as FormMessage,
|
|
75
76
|
jr as FormRow,
|
|
76
77
|
zr as FormSection,
|
|
77
|
-
|
|
78
|
+
Ir as HighlightBlock,
|
|
78
79
|
Qr as InfiniteCanvas,
|
|
79
80
|
Or as InfoBlock,
|
|
80
81
|
t as Input,
|
|
81
|
-
|
|
82
|
+
s as Interactive3DCard,
|
|
82
83
|
h as LOCAL_INTERACTION_SURFACE_ATTR,
|
|
83
84
|
d as LineChart,
|
|
84
85
|
Q as LinearProgress,
|
|
85
86
|
qr as MobileKeyboard,
|
|
86
87
|
L as MonitoringChart,
|
|
87
|
-
|
|
88
|
+
_ as MorphCard,
|
|
88
89
|
f as NeonCard,
|
|
89
90
|
Wr as NoteBlock,
|
|
90
91
|
a as NumberInput,
|
|
@@ -98,23 +99,23 @@ export {
|
|
|
98
99
|
Tr as SURFACE_PORTAL_LAYER_ATTR,
|
|
99
100
|
Co as SegmentedControl,
|
|
100
101
|
Z as SegmentedProgress,
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
Fr as Select,
|
|
103
|
+
po as Stepper,
|
|
103
104
|
q as StepsProgress,
|
|
104
105
|
Pr as SuccessBlock,
|
|
105
|
-
|
|
106
|
+
_o as SurfaceFloatingLayer,
|
|
106
107
|
Ao as Switch,
|
|
107
108
|
Ro as TabPanel,
|
|
108
109
|
xo as Tabs,
|
|
109
|
-
|
|
110
|
+
Fo as Tag,
|
|
110
111
|
i as Textarea,
|
|
111
112
|
Dr as TipBlock,
|
|
112
|
-
|
|
113
|
+
go as Tooltip,
|
|
113
114
|
v as WORKBENCH_TEXT_SELECTION_SURFACE_ATTR,
|
|
114
115
|
B as WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR,
|
|
115
116
|
k as WORKBENCH_WIDGET_SHELL_ATTR,
|
|
116
117
|
Nr as WarningBlock,
|
|
117
|
-
|
|
118
|
+
Eo as Wizard,
|
|
118
119
|
cr as __resetSurfacePortalScopeForTests,
|
|
119
120
|
Oo as clientToCanvasLocal,
|
|
120
121
|
Wo as clientToCanvasWorld,
|
|
@@ -124,19 +125,20 @@ export {
|
|
|
124
125
|
Do as isPointInsideCanvasRect,
|
|
125
126
|
lr as isSurfacePortalMode,
|
|
126
127
|
No as localToCanvasWorld,
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
pr as projectSurfacePortalPosition,
|
|
129
|
+
Er as projectSurfacePortalRect,
|
|
130
|
+
vo as resolveFloatingWindowViewport,
|
|
129
131
|
H as resolveSurfaceInteractionTargetRole,
|
|
130
132
|
mr as resolveSurfacePortalBoundaryRect,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
+
sr as resolveSurfacePortalHost,
|
|
134
|
+
_r as resolveSurfacePortalMount,
|
|
133
135
|
fr as resolveSurfacePortalMountRect,
|
|
134
136
|
b as resolveSurfaceWheelRouting,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
w as resolveWorkbenchWidgetEventOwnership,
|
|
138
|
+
G as resolveWorkbenchWidgetLocalTypingTarget,
|
|
139
|
+
V as resolveWorkbenchWidgetTextSelectionTarget,
|
|
140
|
+
K as shouldActivateWorkbenchWidgetLocalTarget,
|
|
141
|
+
ko as startPointerSession,
|
|
140
142
|
Xr as useFormSubmitting,
|
|
141
143
|
mo as useWizard
|
|
142
144
|
};
|