@dxos/plugin-deck 0.7.5-main.9d2a38b → 0.7.5-main.e94eead
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/lib/browser/{app-graph-builder-67VRUD5K.mjs → app-graph-builder-IYHAGFA3.mjs} +61 -31
- package/dist/lib/browser/app-graph-builder-IYHAGFA3.mjs.map +7 -0
- package/dist/lib/browser/{check-app-scheme-GEX6W2R5.mjs → check-app-scheme-S3EYUPMF.mjs} +3 -3
- package/dist/lib/browser/{check-app-scheme-GEX6W2R5.mjs.map → check-app-scheme-S3EYUPMF.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-5VFDMW5M.mjs → chunk-22AQ5IVX.mjs} +2 -2
- package/dist/lib/browser/chunk-22AQ5IVX.mjs.map +7 -0
- package/dist/lib/browser/chunk-FT33W5CI.mjs +128 -0
- package/dist/lib/browser/chunk-FT33W5CI.mjs.map +7 -0
- package/dist/lib/browser/chunk-G2X3ZDCE.mjs +24 -0
- package/dist/lib/browser/chunk-G2X3ZDCE.mjs.map +7 -0
- package/dist/lib/browser/chunk-KANJBSIX.mjs +97 -0
- package/dist/lib/browser/chunk-KANJBSIX.mjs.map +7 -0
- package/dist/lib/browser/{chunk-JQJ5UWVB.mjs → chunk-N7TEPFVR.mjs} +3 -2
- package/dist/lib/browser/{chunk-JQJ5UWVB.mjs.map → chunk-N7TEPFVR.mjs.map} +3 -3
- package/dist/lib/browser/chunk-O4RFYYQ6.mjs +1114 -0
- package/dist/lib/browser/chunk-O4RFYYQ6.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +45 -78
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intent-resolver-ZD67BRUI.mjs +488 -0
- package/dist/lib/browser/intent-resolver-ZD67BRUI.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-UL7ZDRVZ.mjs → react-root-6ILKHD5J.mjs} +12 -17
- package/dist/lib/browser/react-root-6ILKHD5J.mjs.map +7 -0
- package/dist/lib/browser/react-surface-O75FKXAI.mjs +39 -0
- package/dist/lib/browser/react-surface-O75FKXAI.mjs.map +7 -0
- package/dist/lib/browser/{settings-FNWW6WIJ.mjs → settings-H35U6NHE.mjs} +6 -7
- package/dist/lib/browser/settings-H35U6NHE.mjs.map +7 -0
- package/dist/lib/browser/state-U4SHOPJW.mjs +129 -0
- package/dist/lib/browser/state-U4SHOPJW.mjs.map +7 -0
- package/dist/lib/browser/tools-64LXGLYR.mjs +59 -0
- package/dist/lib/browser/tools-64LXGLYR.mjs.map +7 -0
- package/dist/lib/browser/types.mjs +16 -4
- package/dist/lib/browser/url-handler-MVHTKUYA.mjs +72 -0
- package/dist/lib/browser/url-handler-MVHTKUYA.mjs.map +7 -0
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +181 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/capabilities.d.ts +137 -8
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/check-app-scheme.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +188 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/state.d.ts +79 -0
- package/dist/types/src/capabilities/state.d.ts.map +1 -0
- package/dist/types/src/capabilities/tools.d.ts +10 -0
- package/dist/types/src/capabilities/tools.d.ts.map +1 -0
- package/dist/types/src/capabilities/url-handler.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/ActiveNode.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/ActiveNode.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Banner.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/ComplementarySidebar.d.ts +1 -4
- package/dist/types/src/components/DeckLayout/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -7
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Fallback.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Fallback.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Fullscreen.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Fullscreen.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/NodePlankHeading.d.ts +3 -3
- package/dist/types/src/components/DeckLayout/NodePlankHeading.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Plank.d.ts +8 -6
- package/dist/types/src/components/DeckLayout/Plank.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/PlankControls.d.ts +2 -2
- package/dist/types/src/components/DeckLayout/PlankControls.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/PlankError.d.ts +6 -6
- package/dist/types/src/components/DeckLayout/PlankError.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/PlankLoading.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/PlankLoading.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Sidebar.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Sidebar.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/SidebarButton.d.ts +6 -5
- package/dist/types/src/components/DeckLayout/SidebarButton.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/StatusBar.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/StatusBar.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Toast.d.ts +2 -3
- package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Topbar.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Topbar.d.ts.map +1 -1
- package/dist/types/src/components/LayoutSettings.d.ts +1 -2
- package/dist/types/src/components/LayoutSettings.d.ts.map +1 -1
- package/dist/types/src/components/fragments.d.ts +2 -0
- package/dist/types/src/components/fragments.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +0 -2
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +1 -0
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/hooks/useMainSize.d.ts +2 -2
- package/dist/types/src/hooks/useNode.d.ts.map +1 -1
- package/dist/types/src/layout.d.ts +5 -19
- package/dist/types/src/layout.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +1 -0
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +3 -3
- package/dist/types/src/types.d.ts +117 -2
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/src/util/index.d.ts +3 -1
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/src/util/layoutAppliesTopbar.d.ts +2 -0
- package/dist/types/src/util/layoutAppliesTopbar.d.ts.map +1 -0
- package/dist/types/src/util/set-active.d.ts +9 -0
- package/dist/types/src/util/set-active.d.ts.map +1 -0
- package/dist/types/src/util/useHoistStatusbar.d.ts.map +1 -1
- package/package.json +32 -31
- package/src/DeckPlugin.ts +23 -59
- package/src/capabilities/{layout/app-graph-builder.ts → app-graph-builder.ts} +40 -28
- package/src/capabilities/capabilities.ts +5 -7
- package/src/capabilities/{navigation/check-app-scheme.ts → check-app-scheme.ts} +2 -2
- package/src/capabilities/index.ts +12 -3
- package/src/capabilities/intent-resolver.ts +368 -0
- package/src/capabilities/{layout/react-root.tsx → react-root.tsx} +8 -14
- package/src/capabilities/react-surface.tsx +31 -0
- package/src/capabilities/{settings/settings.ts → settings.ts} +4 -5
- package/src/capabilities/state.ts +108 -0
- package/src/capabilities/tools.ts +66 -0
- package/src/capabilities/url-handler.ts +65 -0
- package/src/components/DeckLayout/ActiveNode.tsx +2 -3
- package/src/components/DeckLayout/ComplementarySidebar.tsx +185 -77
- package/src/components/DeckLayout/ContentEmpty.tsx +7 -10
- package/src/components/DeckLayout/DeckLayout.tsx +141 -84
- package/src/components/DeckLayout/Fullscreen.tsx +2 -3
- package/src/components/DeckLayout/NodePlankHeading.tsx +57 -65
- package/src/components/DeckLayout/Plank.tsx +33 -41
- package/src/components/DeckLayout/PlankControls.tsx +12 -11
- package/src/components/DeckLayout/PlankError.tsx +6 -5
- package/src/components/DeckLayout/Sidebar.tsx +17 -20
- package/src/components/DeckLayout/SidebarButton.tsx +25 -31
- package/src/components/DeckLayout/StatusBar.tsx +5 -11
- package/src/components/DeckLayout/Toast.tsx +2 -2
- package/src/components/LayoutSettings.tsx +8 -8
- package/src/components/fragments.ts +8 -0
- package/src/components/index.ts +0 -2
- package/src/events.ts +1 -0
- package/src/hooks/useMainSize.ts +3 -3
- package/src/hooks/useNode.ts +3 -1
- package/src/layout.ts +43 -212
- package/src/meta.ts +1 -0
- package/src/translations.ts +8 -8
- package/src/types.ts +103 -4
- package/src/util/index.ts +3 -1
- package/src/util/layoutAppliesTopbar.ts +7 -0
- package/src/util/set-active.ts +47 -0
- package/src/util/useHoistStatusbar.ts +13 -8
- package/dist/lib/browser/app-graph-builder-67VRUD5K.mjs.map +0 -7
- package/dist/lib/browser/chunk-2M4PXYNB.mjs +0 -1052
- package/dist/lib/browser/chunk-2M4PXYNB.mjs.map +0 -7
- package/dist/lib/browser/chunk-2PJNBVCY.mjs +0 -39
- package/dist/lib/browser/chunk-2PJNBVCY.mjs.map +0 -7
- package/dist/lib/browser/chunk-4C2AFTET.mjs +0 -186
- package/dist/lib/browser/chunk-4C2AFTET.mjs.map +0 -7
- package/dist/lib/browser/chunk-5VFDMW5M.mjs.map +0 -7
- package/dist/lib/browser/chunk-KY5WXIXY.mjs +0 -44
- package/dist/lib/browser/chunk-KY5WXIXY.mjs.map +0 -7
- package/dist/lib/browser/deck-PLCSKPGL.mjs +0 -26
- package/dist/lib/browser/deck-PLCSKPGL.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-FVOQSTBX.mjs +0 -152
- package/dist/lib/browser/intent-resolver-FVOQSTBX.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-K7GW4A2I.mjs +0 -249
- package/dist/lib/browser/intent-resolver-K7GW4A2I.mjs.map +0 -7
- package/dist/lib/browser/location-QHRBQBQN.mjs +0 -35
- package/dist/lib/browser/location-QHRBQBQN.mjs.map +0 -7
- package/dist/lib/browser/react-context-3BDW7W2N.mjs +0 -32
- package/dist/lib/browser/react-context-3BDW7W2N.mjs.map +0 -7
- package/dist/lib/browser/react-root-UL7ZDRVZ.mjs.map +0 -7
- package/dist/lib/browser/react-surface-VPNOGGNN.mjs +0 -28
- package/dist/lib/browser/react-surface-VPNOGGNN.mjs.map +0 -7
- package/dist/lib/browser/settings-FNWW6WIJ.mjs.map +0 -7
- package/dist/lib/browser/state-7I5BD7SE.mjs +0 -34
- package/dist/lib/browser/state-7I5BD7SE.mjs.map +0 -7
- package/dist/lib/browser/url-handler-Z5B7LD3N.mjs +0 -76
- package/dist/lib/browser/url-handler-Z5B7LD3N.mjs.map +0 -7
- package/dist/types/src/capabilities/layout/app-graph-builder.d.ts +0 -181
- package/dist/types/src/capabilities/layout/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/layout/deck.d.ts +0 -4
- package/dist/types/src/capabilities/layout/deck.d.ts.map +0 -1
- package/dist/types/src/capabilities/layout/index.d.ts +0 -229
- package/dist/types/src/capabilities/layout/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/layout/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/layout/react-context.d.ts +0 -8
- package/dist/types/src/capabilities/layout/react-context.d.ts.map +0 -1
- package/dist/types/src/capabilities/layout/react-root.d.ts.map +0 -1
- package/dist/types/src/capabilities/layout/state.d.ts +0 -42
- package/dist/types/src/capabilities/layout/state.d.ts.map +0 -1
- package/dist/types/src/capabilities/navigation/check-app-scheme.d.ts.map +0 -1
- package/dist/types/src/capabilities/navigation/index.d.ts +0 -5
- package/dist/types/src/capabilities/navigation/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/navigation/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/navigation/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/navigation/location.d.ts +0 -4
- package/dist/types/src/capabilities/navigation/location.d.ts.map +0 -1
- package/dist/types/src/capabilities/navigation/set-location.d.ts +0 -10
- package/dist/types/src/capabilities/navigation/set-location.d.ts.map +0 -1
- package/dist/types/src/capabilities/navigation/url-handler.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings/index.d.ts +0 -3
- package/dist/types/src/capabilities/settings/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings/settings.d.ts.map +0 -1
- package/dist/types/src/components/DeckContext.d.ts +0 -11
- package/dist/types/src/components/DeckContext.d.ts.map +0 -1
- package/dist/types/src/components/LayoutContext.d.ts +0 -5
- package/dist/types/src/components/LayoutContext.d.ts.map +0 -1
- package/dist/types/src/layout.test.d.ts +0 -2
- package/dist/types/src/layout.test.d.ts.map +0 -1
- package/dist/types/src/util/layout-parts.d.ts +0 -7
- package/dist/types/src/util/layout-parts.d.ts.map +0 -1
- package/src/capabilities/layout/deck.ts +0 -25
- package/src/capabilities/layout/index.ts +0 -12
- package/src/capabilities/layout/intent-resolver.ts +0 -128
- package/src/capabilities/layout/react-context.tsx +0 -26
- package/src/capabilities/layout/state.ts +0 -32
- package/src/capabilities/navigation/index.ts +0 -10
- package/src/capabilities/navigation/intent-resolver.ts +0 -216
- package/src/capabilities/navigation/location.ts +0 -28
- package/src/capabilities/navigation/set-location.ts +0 -38
- package/src/capabilities/navigation/url-handler.ts +0 -67
- package/src/capabilities/settings/index.ts +0 -8
- package/src/capabilities/settings/react-surface.tsx +0 -23
- package/src/components/DeckContext.ts +0 -19
- package/src/components/LayoutContext.ts +0 -12
- package/src/layout.test.ts +0 -380
- package/src/util/layout-parts.ts +0 -12
- /package/dist/types/src/capabilities/{navigation/check-app-scheme.d.ts → check-app-scheme.d.ts} +0 -0
- /package/dist/types/src/capabilities/{layout/intent-resolver.d.ts → intent-resolver.d.ts} +0 -0
- /package/dist/types/src/capabilities/{layout/react-root.d.ts → react-root.d.ts} +0 -0
- /package/dist/types/src/capabilities/{settings/react-surface.d.ts → react-surface.d.ts} +0 -0
- /package/dist/types/src/capabilities/{settings/settings.d.ts → settings.d.ts} +0 -0
- /package/dist/types/src/capabilities/{navigation/url-handler.d.ts → url-handler.d.ts} +0 -0
|
@@ -1,13 +1,142 @@
|
|
|
1
|
-
import { type Label } from '@dxos/app-framework';
|
|
2
1
|
import { type DeepReadonly } from '@dxos/util';
|
|
3
|
-
import { type
|
|
2
|
+
import { type Panel } from '../types';
|
|
4
3
|
export declare namespace DeckCapabilities {
|
|
5
|
-
const DeckState: import("@dxos/app-framework").InterfaceDef<DeepReadonly<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
const DeckState: import("@dxos/app-framework").InterfaceDef<DeepReadonly<{
|
|
5
|
+
deck: {
|
|
6
|
+
solo?: string | undefined;
|
|
7
|
+
fullscreen: boolean;
|
|
8
|
+
initialized: boolean;
|
|
9
|
+
active: string[];
|
|
10
|
+
inactive: string[];
|
|
11
|
+
plankSizing: {
|
|
12
|
+
[x: string]: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
sidebarState: "closed" | "collapsed" | "expanded";
|
|
16
|
+
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
17
|
+
complementarySidebarPanel?: string | undefined;
|
|
18
|
+
dialogOpen: boolean;
|
|
19
|
+
dialogContent?: any;
|
|
20
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
21
|
+
dialogType?: "default" | "alert" | undefined;
|
|
22
|
+
popoverOpen: boolean;
|
|
23
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
24
|
+
popoverContent?: any;
|
|
25
|
+
popoverAnchorId?: string | undefined;
|
|
26
|
+
toasts: {
|
|
27
|
+
readonly description?: string | [string, {
|
|
28
|
+
ns: string;
|
|
29
|
+
count?: number | undefined;
|
|
30
|
+
}] | undefined;
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly title?: string | [string, {
|
|
33
|
+
ns: string;
|
|
34
|
+
count?: number | undefined;
|
|
35
|
+
}] | undefined;
|
|
36
|
+
readonly icon?: string | undefined;
|
|
37
|
+
readonly duration?: number | undefined;
|
|
38
|
+
readonly closeLabel?: string | [string, {
|
|
39
|
+
ns: string;
|
|
40
|
+
count?: number | undefined;
|
|
41
|
+
}] | undefined;
|
|
42
|
+
readonly actionLabel?: string | [string, {
|
|
43
|
+
ns: string;
|
|
44
|
+
count?: number | undefined;
|
|
45
|
+
}] | undefined;
|
|
46
|
+
readonly actionAlt?: string | [string, {
|
|
47
|
+
ns: string;
|
|
48
|
+
count?: number | undefined;
|
|
49
|
+
}] | undefined;
|
|
50
|
+
readonly onAction?: any;
|
|
51
|
+
}[];
|
|
52
|
+
currentUndoId?: string | undefined;
|
|
53
|
+
activeDeck: string;
|
|
54
|
+
previousDeck: string;
|
|
55
|
+
decks: {
|
|
56
|
+
[x: string]: {
|
|
57
|
+
solo?: string | undefined;
|
|
58
|
+
fullscreen: boolean;
|
|
59
|
+
initialized: boolean;
|
|
60
|
+
active: string[];
|
|
61
|
+
inactive: string[];
|
|
62
|
+
plankSizing: {
|
|
63
|
+
[x: string]: number;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
previousMode: {
|
|
68
|
+
[x: string]: "deck" | "solo" | "fullscreen";
|
|
69
|
+
};
|
|
70
|
+
scrollIntoView?: string | undefined;
|
|
71
|
+
}>>;
|
|
72
|
+
const MutableDeckState: import("@dxos/app-framework").InterfaceDef<{
|
|
73
|
+
deck: {
|
|
74
|
+
solo?: string | undefined;
|
|
75
|
+
fullscreen: boolean;
|
|
76
|
+
initialized: boolean;
|
|
77
|
+
active: string[];
|
|
78
|
+
inactive: string[];
|
|
79
|
+
plankSizing: {
|
|
80
|
+
[x: string]: number;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
sidebarState: "closed" | "collapsed" | "expanded";
|
|
84
|
+
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
85
|
+
complementarySidebarPanel?: string | undefined;
|
|
86
|
+
dialogOpen: boolean;
|
|
87
|
+
dialogContent?: any;
|
|
88
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
89
|
+
dialogType?: "default" | "alert" | undefined;
|
|
90
|
+
popoverOpen: boolean;
|
|
91
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
92
|
+
popoverContent?: any;
|
|
93
|
+
popoverAnchorId?: string | undefined;
|
|
94
|
+
toasts: {
|
|
95
|
+
readonly description?: string | [string, {
|
|
96
|
+
ns: string;
|
|
97
|
+
count?: number | undefined;
|
|
98
|
+
}] | undefined;
|
|
99
|
+
readonly id: string;
|
|
100
|
+
readonly title?: string | [string, {
|
|
101
|
+
ns: string;
|
|
102
|
+
count?: number | undefined;
|
|
103
|
+
}] | undefined;
|
|
104
|
+
readonly icon?: string | undefined;
|
|
105
|
+
readonly duration?: number | undefined;
|
|
106
|
+
readonly closeLabel?: string | [string, {
|
|
107
|
+
ns: string;
|
|
108
|
+
count?: number | undefined;
|
|
109
|
+
}] | undefined;
|
|
110
|
+
readonly actionLabel?: string | [string, {
|
|
111
|
+
ns: string;
|
|
112
|
+
count?: number | undefined;
|
|
113
|
+
}] | undefined;
|
|
114
|
+
readonly actionAlt?: string | [string, {
|
|
115
|
+
ns: string;
|
|
116
|
+
count?: number | undefined;
|
|
117
|
+
}] | undefined;
|
|
118
|
+
readonly onAction?: any;
|
|
119
|
+
}[];
|
|
120
|
+
currentUndoId?: string | undefined;
|
|
121
|
+
activeDeck: string;
|
|
122
|
+
previousDeck: string;
|
|
123
|
+
decks: {
|
|
124
|
+
[x: string]: {
|
|
125
|
+
solo?: string | undefined;
|
|
126
|
+
fullscreen: boolean;
|
|
127
|
+
initialized: boolean;
|
|
128
|
+
active: string[];
|
|
129
|
+
inactive: string[];
|
|
130
|
+
plankSizing: {
|
|
131
|
+
[x: string]: number;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
previousMode: {
|
|
136
|
+
[x: string]: "deck" | "solo" | "fullscreen";
|
|
137
|
+
};
|
|
138
|
+
scrollIntoView?: string | undefined;
|
|
11
139
|
}>;
|
|
140
|
+
const ComplementaryPanel: import("@dxos/app-framework").InterfaceDef<Panel>;
|
|
12
141
|
}
|
|
13
142
|
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAkB,KAAK,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtD,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA+E,CAAC;IAC/F,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAiE,CAAC;IACxF,MAAM,kBAAkB,mDAA2E,CAAC;CAC5G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-app-scheme.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/check-app-scheme.ts"],"names":[],"mappings":"AAOA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCA4BtD,cAAc;AAA7C,wBAQE"}
|
|
@@ -1,5 +1,190 @@
|
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
2
|
+
id: string;
|
|
3
|
+
position: import("@dxos/util").Position;
|
|
4
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
5
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
6
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
7
|
+
type?: string;
|
|
8
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
id: string;
|
|
11
|
+
position: import("@dxos/util").Position;
|
|
12
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
13
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
14
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
15
|
+
type?: string;
|
|
16
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
17
|
+
}>[] | (Readonly<{
|
|
18
|
+
id: string;
|
|
19
|
+
position: import("@dxos/util").Position;
|
|
20
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
21
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
22
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
23
|
+
type?: string;
|
|
24
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
25
|
+
}> | Readonly<{
|
|
26
|
+
id: string;
|
|
27
|
+
position: import("@dxos/util").Position;
|
|
28
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
29
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
30
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
31
|
+
type?: string;
|
|
32
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
33
|
+
}>[] | (Readonly<{
|
|
34
|
+
id: string;
|
|
35
|
+
position: import("@dxos/util").Position;
|
|
36
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
37
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
38
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
39
|
+
type?: string;
|
|
40
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
41
|
+
}> | Readonly<{
|
|
42
|
+
id: string;
|
|
43
|
+
position: import("@dxos/util").Position;
|
|
44
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
45
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
46
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
47
|
+
type?: string;
|
|
48
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
49
|
+
}>[] | (Readonly<{
|
|
50
|
+
id: string;
|
|
51
|
+
position: import("@dxos/util").Position;
|
|
52
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
53
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
54
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
55
|
+
type?: string;
|
|
56
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
57
|
+
}> | Readonly<{
|
|
58
|
+
id: string;
|
|
59
|
+
position: import("@dxos/util").Position;
|
|
60
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
61
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
62
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
63
|
+
type?: string;
|
|
64
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
65
|
+
}>[] | (Readonly<{
|
|
66
|
+
id: string;
|
|
67
|
+
position: import("@dxos/util").Position;
|
|
68
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
69
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
70
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
71
|
+
type?: string;
|
|
72
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
73
|
+
}> | Readonly<{
|
|
74
|
+
id: string;
|
|
75
|
+
position: import("@dxos/util").Position;
|
|
76
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
77
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
78
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
79
|
+
type?: string;
|
|
80
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
81
|
+
}>[] | (Readonly<{
|
|
82
|
+
id: string;
|
|
83
|
+
position: import("@dxos/util").Position;
|
|
84
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
85
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
86
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
87
|
+
type?: string;
|
|
88
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
89
|
+
}> | Readonly<{
|
|
90
|
+
id: string;
|
|
91
|
+
position: import("@dxos/util").Position;
|
|
92
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
93
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
94
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
95
|
+
type?: string;
|
|
96
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
97
|
+
}>[] | (Readonly<{
|
|
98
|
+
id: string;
|
|
99
|
+
position: import("@dxos/util").Position;
|
|
100
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
101
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
102
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
103
|
+
type?: string;
|
|
104
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
105
|
+
}> | Readonly<{
|
|
106
|
+
id: string;
|
|
107
|
+
position: import("@dxos/util").Position;
|
|
108
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
109
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
110
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
111
|
+
type?: string;
|
|
112
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
113
|
+
}>[] | (Readonly<{
|
|
114
|
+
id: string;
|
|
115
|
+
position: import("@dxos/util").Position;
|
|
116
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
117
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
118
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
119
|
+
type?: string;
|
|
120
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
121
|
+
}> | Readonly<{
|
|
122
|
+
id: string;
|
|
123
|
+
position: import("@dxos/util").Position;
|
|
124
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
125
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
126
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
127
|
+
type?: string;
|
|
128
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
129
|
+
}>[] | (Readonly<{
|
|
130
|
+
id: string;
|
|
131
|
+
position: import("@dxos/util").Position;
|
|
132
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
133
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
134
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
135
|
+
type?: string;
|
|
136
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
137
|
+
}> | Readonly<{
|
|
138
|
+
id: string;
|
|
139
|
+
position: import("@dxos/util").Position;
|
|
140
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
141
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
142
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
143
|
+
type?: string;
|
|
144
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
145
|
+
}>[] | (Readonly<{
|
|
146
|
+
id: string;
|
|
147
|
+
position: import("@dxos/util").Position;
|
|
148
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
149
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
150
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
151
|
+
type?: string;
|
|
152
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
153
|
+
}> | Readonly<{
|
|
154
|
+
id: string;
|
|
155
|
+
position: import("@dxos/util").Position;
|
|
156
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
157
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
158
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
159
|
+
type?: string;
|
|
160
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
161
|
+
}>[] | (any[] | Readonly<{
|
|
162
|
+
id: string;
|
|
163
|
+
position: import("@dxos/util").Position;
|
|
164
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
165
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
166
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
167
|
+
type?: string;
|
|
168
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
169
|
+
}> | Readonly<{
|
|
170
|
+
id: string;
|
|
171
|
+
position: import("@dxos/util").Position;
|
|
172
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
173
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
174
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
175
|
+
type?: string;
|
|
176
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
177
|
+
}>[])[])[])[])[])[])[])[])[])[])[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
178
|
+
export declare const CheckAppScheme: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
179
|
+
export declare const LayoutIntentResolver: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
180
|
+
export declare const ReactRoot: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
181
|
+
id: string;
|
|
182
|
+
root: import("react").FC<import("react").PropsWithChildren>;
|
|
183
|
+
}>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
184
|
+
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
185
|
+
export declare const DeckSettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.Settings> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
186
|
+
export declare const DeckState: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").AnyCapability[] | import("@dxos/app-framework").Capability<unknown>>>;
|
|
187
|
+
export declare const Tools: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/artifact").Tool[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
188
|
+
export declare const UrlHandler: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
1
189
|
export * from './capabilities';
|
|
2
|
-
export * from './layout';
|
|
3
|
-
export * from './navigation';
|
|
4
|
-
export * from './settings';
|
|
5
190
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;qBAWqsF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;qFAXh8U,CAAC;AACzE,eAAO,MAAM,cAAc,8LAA2C,CAAC;AACvE,eAAO,MAAM,oBAAoB,mPAA0C,CAAC;AAC5E,eAAO,MAAM,SAAS;;;qDAAqC,CAAC;AAC5D,eAAO,MAAM,YAAY,gMAAwC,CAAC;AAClE,eAAO,MAAM,YAAY,4LAAmC,CAAC;AAC7D,eAAO,MAAM,SAAS,gJAAgC,CAAC;AACvD,eAAO,MAAM,KAAK,wKAAgC,CAAC;AACnD,eAAO,MAAM,UAAU,8LAAsC,CAAC;AAE9D,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,EAKZ,KAAK,cAAc,EAGpB,MAAM,qBAAqB,CAAC;kCAcJ,cAAc;AAAvC,wBAiVK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;;;;;AAS3C,wBAgCK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAQ/E,wBAgBK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAe,MAAM,qBAAqB,CAAC;;AAMhE,wBAUE"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare const _default: () => (import("@dxos/app-framework").Capability<import("@dxos/util").DeepReadonly<{
|
|
2
|
+
deck: {
|
|
3
|
+
solo?: string | undefined;
|
|
4
|
+
fullscreen: boolean;
|
|
5
|
+
initialized: boolean;
|
|
6
|
+
active: string[];
|
|
7
|
+
inactive: string[];
|
|
8
|
+
plankSizing: {
|
|
9
|
+
[x: string]: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
sidebarState: "closed" | "collapsed" | "expanded";
|
|
13
|
+
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
14
|
+
complementarySidebarPanel?: string | undefined;
|
|
15
|
+
dialogOpen: boolean;
|
|
16
|
+
dialogContent?: any;
|
|
17
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
18
|
+
dialogType?: "default" | "alert" | undefined;
|
|
19
|
+
popoverOpen: boolean;
|
|
20
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
21
|
+
popoverContent?: any;
|
|
22
|
+
popoverAnchorId?: string | undefined;
|
|
23
|
+
toasts: {
|
|
24
|
+
readonly description?: string | [string, {
|
|
25
|
+
ns: string;
|
|
26
|
+
count?: number | undefined;
|
|
27
|
+
}] | undefined;
|
|
28
|
+
readonly id: string;
|
|
29
|
+
readonly title?: string | [string, {
|
|
30
|
+
ns: string;
|
|
31
|
+
count?: number | undefined;
|
|
32
|
+
}] | undefined;
|
|
33
|
+
readonly icon?: string | undefined;
|
|
34
|
+
readonly duration?: number | undefined;
|
|
35
|
+
readonly closeLabel?: string | [string, {
|
|
36
|
+
ns: string;
|
|
37
|
+
count?: number | undefined;
|
|
38
|
+
}] | undefined;
|
|
39
|
+
readonly actionLabel?: string | [string, {
|
|
40
|
+
ns: string;
|
|
41
|
+
count?: number | undefined;
|
|
42
|
+
}] | undefined;
|
|
43
|
+
readonly actionAlt?: string | [string, {
|
|
44
|
+
ns: string;
|
|
45
|
+
count?: number | undefined;
|
|
46
|
+
}] | undefined;
|
|
47
|
+
readonly onAction?: any;
|
|
48
|
+
}[];
|
|
49
|
+
currentUndoId?: string | undefined;
|
|
50
|
+
activeDeck: string;
|
|
51
|
+
previousDeck: string;
|
|
52
|
+
decks: {
|
|
53
|
+
[x: string]: {
|
|
54
|
+
solo?: string | undefined;
|
|
55
|
+
fullscreen: boolean;
|
|
56
|
+
initialized: boolean;
|
|
57
|
+
active: string[];
|
|
58
|
+
inactive: string[];
|
|
59
|
+
plankSizing: {
|
|
60
|
+
[x: string]: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
previousMode: {
|
|
65
|
+
[x: string]: "deck" | "solo" | "fullscreen";
|
|
66
|
+
};
|
|
67
|
+
scrollIntoView?: string | undefined;
|
|
68
|
+
}>> | import("@dxos/app-framework").Capability<import("@dxos/live-object").ReactiveObject<Readonly<{
|
|
69
|
+
mode: string;
|
|
70
|
+
dialogOpen: boolean;
|
|
71
|
+
sidebarOpen: boolean;
|
|
72
|
+
complementarySidebarOpen: boolean;
|
|
73
|
+
workspace: string;
|
|
74
|
+
active: string[];
|
|
75
|
+
inactive: string[];
|
|
76
|
+
scrollIntoView: string | undefined;
|
|
77
|
+
}>>>)[];
|
|
78
|
+
export default _default;
|
|
79
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,wBA4EE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type PromiseIntentDispatcher } from '@dxos/app-framework';
|
|
2
|
+
declare global {
|
|
3
|
+
interface ToolContextExtensions {
|
|
4
|
+
dispatch?: PromiseIntentDispatcher;
|
|
5
|
+
pivotId?: string;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/artifact").Tool[]>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/tools.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,CAAC,EAAE,uBAAuB,CAAC;QACnC,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;CACF;;AAED,wBAwCK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCAMlF,cAAc;AAA7C,wBAsDE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveNode.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ActiveNode.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActiveNode.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ActiveNode.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,UAAU,+CAatB,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
2
|
export declare const Banner: ({ variant, classNames }: ThemedClassName<{
|
|
4
3
|
variant?: "topbar" | "sidebar";
|
|
5
|
-
}>) =>
|
|
4
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKtD,eAAO,MAAM,MAAM,4BAA6B,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,4CAwBlG,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type Panel } from '../../types';
|
|
3
1
|
export type ComplementarySidebarProps = {
|
|
4
|
-
panels: Panel[];
|
|
5
2
|
current?: string;
|
|
6
3
|
};
|
|
7
|
-
export declare const ComplementarySidebar: ({
|
|
4
|
+
export declare const ComplementarySidebar: ({ current }: ComplementarySidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
5
|
//# sourceMappingURL=ComplementarySidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ComplementarySidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ComplementarySidebar.tsx"],"names":[],"mappings":"AAqCA,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,4CAyH1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY,+CAaxB,CAAC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type LayoutParts, type Toast as ToastSchema } from '@dxos/app-framework';
|
|
3
|
-
import { type ComplementarySidebarProps } from './ComplementarySidebar';
|
|
4
1
|
import { type Overscroll } from '../../types';
|
|
5
2
|
export type DeckLayoutProps = {
|
|
6
|
-
layoutParts: LayoutParts;
|
|
7
|
-
toasts: ToastSchema[];
|
|
8
3
|
overscroll: Overscroll;
|
|
9
4
|
showHints: boolean;
|
|
10
5
|
onDismissToast: (id: string) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const DeckLayout: ({
|
|
6
|
+
};
|
|
7
|
+
export declare const DeckLayout: ({ overscroll, showHints, onDismissToast }: DeckLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
8
|
//# sourceMappingURL=DeckLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAuCA,OAAO,EAAW,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAKF,eAAO,MAAM,UAAU,8CAA+C,eAAe,4CAqRpF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fallback.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Fallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fallback.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,QAAQ,+CAgBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fullscreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fullscreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Fullscreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fullscreen.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,UAAU,WAAY;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,4CAiBjD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type LayoutCoordinate } from '@dxos/app-framework';
|
|
3
2
|
import { type Node } from '@dxos/plugin-graph';
|
|
4
3
|
import { type StackItemSigilAction } from '@dxos/react-ui-stack';
|
|
5
4
|
export type NodePlankHeadingProps = {
|
|
6
|
-
|
|
5
|
+
id: string;
|
|
6
|
+
part: 'solo' | 'deck' | 'complementary';
|
|
7
7
|
node?: Node;
|
|
8
8
|
canIncrementStart?: boolean;
|
|
9
9
|
canIncrementEnd?: boolean;
|
|
@@ -11,5 +11,5 @@ export type NodePlankHeadingProps = {
|
|
|
11
11
|
pending?: boolean;
|
|
12
12
|
actions?: StackItemSigilAction[];
|
|
13
13
|
};
|
|
14
|
-
export declare const NodePlankHeading: React.MemoExoticComponent<({
|
|
14
|
+
export declare const NodePlankHeading: React.MemoExoticComponent<({ id, part, node, canIncrementStart, canIncrementEnd, popoverAnchorId, pending, actions, }: NodePlankHeadingProps) => import("react/jsx-runtime").JSX.Element>;
|
|
15
15
|
//# sourceMappingURL=NodePlankHeading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodePlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/NodePlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"NodePlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/NodePlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAG/E,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAS5E,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,yHAUxB,qBAAqB,6CA4GzB,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type NodePlankHeadingProps } from './NodePlankHeading';
|
|
3
|
+
import { type LayoutMode } from '../../types';
|
|
3
4
|
export type PlankProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
layoutMode: Layout['layoutMode'];
|
|
5
|
+
id?: string;
|
|
6
|
+
part: NodePlankHeadingProps['part'];
|
|
7
|
+
path?: string[];
|
|
8
8
|
order?: number;
|
|
9
|
+
active?: string[];
|
|
10
|
+
layoutMode: LayoutMode;
|
|
9
11
|
};
|
|
10
|
-
export declare const Plank: React.MemoExoticComponent<({
|
|
12
|
+
export declare const Plank: React.MemoExoticComponent<({ id, part, path, order, active, layoutMode }: PlankProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
13
|
//# sourceMappingURL=Plank.d.ts.map
|