@dxos/plugin-presenter 0.8.2-staging.7ac8446 → 0.8.3-main.672df60
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/CollectionPresenterContainer-7UXPBYKA.mjs +189 -0
- package/dist/lib/browser/CollectionPresenterContainer-7UXPBYKA.mjs.map +7 -0
- package/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs +185 -0
- package/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs.map +7 -0
- package/dist/lib/browser/{MarkdownSlide-5NYXG5SC.mjs → MarkdownSlide-EI5XTZGO.mjs} +77 -54
- package/dist/lib/browser/{MarkdownSlide-5NYXG5SC.mjs.map → MarkdownSlide-EI5XTZGO.mjs.map} +2 -2
- package/dist/lib/browser/app-graph-builder-5NILN2ZH.mjs +77 -0
- package/dist/lib/browser/app-graph-builder-5NILN2ZH.mjs.map +7 -0
- package/dist/lib/browser/chunk-2RWWAQZK.mjs +36 -0
- package/dist/lib/browser/chunk-2RWWAQZK.mjs.map +7 -0
- package/dist/lib/browser/chunk-K4SDUVTH.mjs +37 -0
- package/dist/lib/browser/{chunk-3VVM67QE.mjs.map → chunk-K4SDUVTH.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-CQR4O6KC.mjs → chunk-Y6REDI5E.mjs} +12 -12
- package/dist/lib/browser/chunk-Y6REDI5E.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +12 -31
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-6JT4CB4B.mjs → react-surface-6AJLL4EM.mjs} +14 -29
- package/dist/lib/browser/react-surface-6AJLL4EM.mjs.map +7 -0
- package/dist/lib/browser/{settings-RBF22MVS.mjs → settings-JBNMCJHB.mjs} +4 -4
- package/dist/lib/browser/settings-JBNMCJHB.mjs.map +7 -0
- package/dist/types/src/PresenterPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +2 -179
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +1 -180
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/CollectionPresenterContainer.d.ts +7 -0
- package/dist/types/src/components/CollectionPresenterContainer.d.ts.map +1 -0
- package/dist/types/src/components/DocumentPresenterContainer.d.ts +7 -0
- package/dist/types/src/components/DocumentPresenterContainer.d.ts.map +1 -0
- package/dist/types/src/components/Markdown/Container.d.ts.map +1 -1
- package/dist/types/src/components/Markdown/Slide.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/Layout.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/Pager.d.ts.map +1 -1
- package/dist/types/src/components/PresenterSettings.d.ts.map +1 -1
- package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +2 -2
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/testing.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +17 -73
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/src/useExitPresenter.d.ts +6 -0
- package/dist/types/src/useExitPresenter.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +31 -23
- package/src/PresenterPlugin.tsx +1 -14
- package/src/capabilities/app-graph-builder.ts +65 -35
- package/src/capabilities/index.ts +0 -4
- package/src/capabilities/react-surface.tsx +16 -24
- package/src/capabilities/settings.ts +2 -2
- package/src/components/CollectionPresenterContainer.tsx +43 -0
- package/src/components/DocumentPresenterContainer.tsx +22 -0
- package/src/components/Markdown/theme.ts +1 -1
- package/src/components/index.ts +2 -2
- package/src/index.ts +0 -1
- package/src/types.ts +10 -10
- package/src/useExitPresenter.ts +35 -0
- package/dist/lib/browser/PresenterMain-PQPWYIWU.mjs +0 -193
- package/dist/lib/browser/PresenterMain-PQPWYIWU.mjs.map +0 -7
- package/dist/lib/browser/RevealMain-B2PJXHND.mjs +0 -187
- package/dist/lib/browser/RevealMain-B2PJXHND.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-CWMMBJTB.mjs +0 -55
- package/dist/lib/browser/app-graph-builder-CWMMBJTB.mjs.map +0 -7
- package/dist/lib/browser/chunk-3VVM67QE.mjs +0 -31
- package/dist/lib/browser/chunk-CQR4O6KC.mjs.map +0 -7
- package/dist/lib/browser/chunk-FK2KJZ73.mjs +0 -16
- package/dist/lib/browser/chunk-FK2KJZ73.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-TTGJCKQ5.mjs +0 -46
- package/dist/lib/browser/intent-resolver-TTGJCKQ5.mjs.map +0 -7
- package/dist/lib/browser/react-surface-6JT4CB4B.mjs.map +0 -7
- package/dist/lib/browser/settings-RBF22MVS.mjs.map +0 -7
- package/dist/lib/browser/state-KI7F4I6V.mjs +0 -18
- package/dist/lib/browser/state-KI7F4I6V.mjs.map +0 -7
- package/dist/types/src/capabilities/capabilities.d.ts +0 -8
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/state.d.ts +0 -4
- package/dist/types/src/capabilities/state.d.ts.map +0 -1
- package/dist/types/src/components/PresenterMain.d.ts +0 -7
- package/dist/types/src/components/PresenterMain.d.ts.map +0 -1
- package/dist/types/src/components/RevealMain.d.ts +0 -7
- package/dist/types/src/components/RevealMain.d.ts.map +0 -1
- package/src/capabilities/capabilities.ts +0 -13
- package/src/capabilities/intent-resolver.ts +0 -43
- package/src/capabilities/state.ts +0 -17
- package/src/components/PresenterMain.tsx +0 -63
- package/src/components/RevealMain.tsx +0 -38
|
@@ -1,183 +1,4 @@
|
|
|
1
|
-
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").
|
|
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 IntentResolver: (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[]>>;
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-graph").BuilderExtensions> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
179
2
|
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
180
3
|
export declare const PresenterSettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.Settings> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
181
|
-
export declare const PresenterState: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/live-object").ReactiveObject<import("./capabilities").PresenterCapabilities.State>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
182
|
-
export * from './capabilities';
|
|
183
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,oOAA4C,CAAC;AACzE,eAAO,MAAM,YAAY,gMAAwC,CAAC;AAClE,eAAO,MAAM,iBAAiB,4LAAmC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,
|
|
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;;AAe/E,wBA+BK"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type CollectionType } from '@dxos/plugin-space/types';
|
|
3
|
+
declare const CollectionPresenterContainer: FC<{
|
|
4
|
+
collection: CollectionType;
|
|
5
|
+
}>;
|
|
6
|
+
export default CollectionPresenterContainer;
|
|
7
|
+
//# sourceMappingURL=CollectionPresenterContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionPresenterContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/CollectionPresenterContainer.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAwB,MAAM,OAAO,CAAC;AAG7D,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO/D,QAAA,MAAM,4BAA4B,EAAE,EAAE,CAAC;IAAE,UAAU,EAAE,cAAc,CAAA;CAAE,CA0BpE,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type DocumentType } from '@dxos/plugin-markdown/types';
|
|
3
|
+
declare const DocumentPresenterContainer: FC<{
|
|
4
|
+
document: DocumentType;
|
|
5
|
+
}>;
|
|
6
|
+
export default DocumentPresenterContainer;
|
|
7
|
+
//# sourceMappingURL=DocumentPresenterContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentPresenterContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/DocumentPresenterContainer.tsx"],"names":[],"mappings":"AAGA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAMhE,QAAA,MAAM,0BAA0B,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,CAQ9D,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Container.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Container.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,0BAA0B,cAAc,sBA4BjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slide.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,gCAAgC,CAAC;AAIxC,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Slide.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,gCAAgC,CAAC;AAIxC,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,sBAAyC,UAAU,sBAwIxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,WAAW,GAAG,eAAe,CACvC,iBAAiB,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,CACH,CAAC;AAEF,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,WAAW,GAAG,eAAe,CACvC,iBAAiB,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,CACH,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,sEAAsE,WAAW,sBAavG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pager.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAa,MAAM,OAAO,CAAC;AAKlD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Pager.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAa,MAAM,OAAO,CAAC;AAKlD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,2DAAmE,UAAU,6BA4ElG,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,kBAA0B,eAAe,6BAYnE,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CAAE,CAMrF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresenterSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/PresenterSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"PresenterSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/PresenterSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,iBAAiB,GAAI,cAAc;IAAE,QAAQ,EAAE,sBAAsB,CAAA;CAAE,sBAanF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAKA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,gCAAgC,CAAC;AAIxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA4CtD,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC,CAAC;AAEH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAKA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,gCAAgC,CAAC;AAIxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA4CtD,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,oDAA2D,WAAW,sBAmGlG,CAAC"}
|
|
@@ -2,10 +2,10 @@ export * from './PresenterSettings';
|
|
|
2
2
|
export declare const MarkdownSlide: import("react").LazyExoticComponent<import("react").FC<{
|
|
3
3
|
document: import("@dxos/plugin-markdown/types").DocumentType;
|
|
4
4
|
}>>;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const DocumentPresenterContainer: import("react").LazyExoticComponent<import("react").FC<{
|
|
6
6
|
document: import("@dxos/plugin-markdown/types").DocumentType;
|
|
7
7
|
}>>;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const CollectionPresenterContainer: import("react").LazyExoticComponent<import("react").FC<{
|
|
9
9
|
collection: import("@dxos/plugin-space/types").CollectionType;
|
|
10
10
|
}>>;
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AAEpC,eAAO,MAAM,aAAa;;GAAwC,CAAC;AACnE,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AAEpC,eAAO,MAAM,aAAa;;GAAwC,CAAC;AACnE,eAAO,MAAM,0BAA0B;;GAAqD,CAAC;AAC7F,eAAO,MAAM,4BAA4B;;GAAuD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAE7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/testing.ts"],"names":[],"mappings":"AAMA,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/testing.ts"],"names":[],"mappings":"AAMA,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,UAAS,YAAiB,WAgCrD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,eAAU,aAAyE,CAAC"}
|
|
@@ -1,78 +1,22 @@
|
|
|
1
|
+
import { Schema } from 'effect';
|
|
1
2
|
import { type Context } from 'react';
|
|
2
|
-
import { S } from '@dxos/echo-schema';
|
|
3
3
|
import { CollectionType } from '@dxos/plugin-space/types';
|
|
4
4
|
export declare namespace PresenterAction {
|
|
5
|
-
const TogglePresentation_base:
|
|
6
|
-
readonly _tag:
|
|
5
|
+
const TogglePresentation_base: Schema.TaggedClass<TogglePresentation, "dxos.org/plugin/presenter/action/toggle-presentation", {
|
|
6
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/presenter/action/toggle-presentation">;
|
|
7
7
|
} & {
|
|
8
|
-
input:
|
|
9
|
-
object:
|
|
10
|
-
name:
|
|
11
|
-
fallbackName:
|
|
12
|
-
content: import("@dxos/echo-schema").Ref$<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
status: S.optional<S.Union<[S.Literal<["staged"]>, S.Literal<["active"]>, S.Literal<["resolved"]>]>>;
|
|
19
|
-
messages: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").TypedObjectFields<{
|
|
20
|
-
id: import("@dxos/echo-schema").ObjectIdClass;
|
|
21
|
-
created: S.SchemaClass<string, string, never>;
|
|
22
|
-
sender: S.Struct<{
|
|
23
|
-
contact: S.optional<import("@dxos/echo-schema").Ref$<{
|
|
24
|
-
readonly id: string;
|
|
25
|
-
name?: string | undefined;
|
|
26
|
-
identifiers: {
|
|
27
|
-
readonly value: string;
|
|
28
|
-
readonly type: string;
|
|
29
|
-
}[];
|
|
30
|
-
}>>;
|
|
31
|
-
identityDid: S.optional<typeof S.String>;
|
|
32
|
-
identityKey: S.optional<typeof S.String>;
|
|
33
|
-
email: S.optional<typeof S.String>;
|
|
34
|
-
name: S.optional<typeof S.String>;
|
|
35
|
-
role: S.optional<S.Literal<["user", "assistant"]>>;
|
|
36
|
-
}>;
|
|
37
|
-
blocks: S.Array$<S.Union<[S.mutable<S.extend<S.Struct<{
|
|
38
|
-
pending: S.optional<typeof S.Boolean>;
|
|
39
|
-
}>, S.Struct<{
|
|
40
|
-
type: S.Literal<["text"]>;
|
|
41
|
-
disposition: S.optional<typeof S.String>;
|
|
42
|
-
text: typeof S.String;
|
|
43
|
-
}>>>, S.mutable<S.extend<S.Struct<{
|
|
44
|
-
pending: S.optional<typeof S.Boolean>;
|
|
45
|
-
}>, S.Struct<{
|
|
46
|
-
type: S.Literal<["json"]>;
|
|
47
|
-
disposition: S.optional<typeof S.String>;
|
|
48
|
-
data: typeof S.String;
|
|
49
|
-
}>>>, S.mutable<S.extend<S.Struct<{
|
|
50
|
-
pending: S.optional<typeof S.Boolean>;
|
|
51
|
-
}>, S.Struct<{
|
|
52
|
-
type: S.Literal<["image"]>;
|
|
53
|
-
id: S.optional<typeof S.String>;
|
|
54
|
-
source: S.optional<S.Union<[S.mutable<S.Struct<{
|
|
55
|
-
type: S.Literal<["base64"]>;
|
|
56
|
-
mediaType: typeof S.String;
|
|
57
|
-
data: typeof S.String;
|
|
58
|
-
}>>, S.mutable<S.Struct<{
|
|
59
|
-
type: S.Literal<["http"]>;
|
|
60
|
-
url: typeof S.String;
|
|
61
|
-
}>>]>>;
|
|
62
|
-
}>>>, S.mutable<S.extend<S.Struct<{
|
|
63
|
-
pending: S.optional<typeof S.Boolean>;
|
|
64
|
-
}>, S.Struct<{
|
|
65
|
-
type: S.Literal<["reference"]>;
|
|
66
|
-
reference: import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>;
|
|
67
|
-
}>>>]>>;
|
|
68
|
-
properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
69
|
-
}, import("@dxos/echo-schema").TypedObjectOptions>>>>;
|
|
70
|
-
}, import("@dxos/echo-schema").TypedObjectOptions>>>>;
|
|
71
|
-
assistantChatQueue: S.optional<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>>;
|
|
72
|
-
}>>, typeof CollectionType]>;
|
|
73
|
-
state: S.optional<typeof S.Boolean>;
|
|
8
|
+
input: Schema.Struct<{
|
|
9
|
+
object: Schema.Union<[import("@dxos/echo-schema").EchoTypeSchema<Schema.Struct<{
|
|
10
|
+
name: Schema.optional<typeof Schema.String>;
|
|
11
|
+
fallbackName: Schema.optional<typeof Schema.String>;
|
|
12
|
+
content: import("@dxos/echo-schema").Ref$<{
|
|
13
|
+
readonly id: string;
|
|
14
|
+
content: string;
|
|
15
|
+
}>;
|
|
16
|
+
}>, {}>, typeof CollectionType]>;
|
|
17
|
+
state: Schema.optional<typeof Schema.Boolean>;
|
|
74
18
|
}>;
|
|
75
|
-
output: typeof
|
|
19
|
+
output: typeof Schema.Void;
|
|
76
20
|
}>;
|
|
77
21
|
export class TogglePresentation extends TogglePresentation_base {
|
|
78
22
|
}
|
|
@@ -84,8 +28,8 @@ export type PresenterContextType = {
|
|
|
84
28
|
stop: () => void;
|
|
85
29
|
};
|
|
86
30
|
export declare const PresenterContext: Context<PresenterContextType>;
|
|
87
|
-
export declare const PresenterSettingsSchema:
|
|
88
|
-
presentCollections:
|
|
31
|
+
export declare const PresenterSettingsSchema: Schema.mutable<Schema.Struct<{
|
|
32
|
+
presentCollections: Schema.optional<typeof Schema.Boolean>;
|
|
89
33
|
}>>;
|
|
90
|
-
export type PresenterSettingsProps =
|
|
34
|
+
export type PresenterSettingsProps = Schema.Schema.Type<typeof PresenterSettingsSchema>;
|
|
91
35
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI1D,yBAAiB,eAAe,CAAC;;;;;;;;;;;;;;;;;IAG/B,MAAM,OAAO,kBAAmB,SAAQ,uBASvC;KAAG;;CACL;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,oBAAoB,CAIzD,CAAC;AAEH,eAAO,MAAM,uBAAuB;;GAInC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useExitPresenter.d.ts","sourceRoot":"","sources":["../../../src/useExitPresenter.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAK9C,eAAO,MAAM,gBAAgB,GAAI,QAAQ,IAAI,CAAC,GAAG,CAAC;;;EAsBjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"5.
|
|
1
|
+
{"version":"5.8.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-presenter",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3-main.672df60",
|
|
4
4
|
"description": "Braneframe presenter plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"src"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@preact/
|
|
26
|
+
"@preact-signals/safe-react": "^0.9.0",
|
|
27
|
+
"@preact/signals-core": "^1.9.0",
|
|
27
28
|
"hastscript": "^7.1.0",
|
|
28
29
|
"highlight.js": "^11.9.0",
|
|
29
30
|
"marked": "^12.0.2",
|
|
@@ -34,41 +35,48 @@
|
|
|
34
35
|
"remark-frontmatter": "^5.0.0",
|
|
35
36
|
"remark-parse-frontmatter": "^1.0.3",
|
|
36
37
|
"reveal.js": "^5.1.0",
|
|
37
|
-
"@dxos/app-framework": "0.8.
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/echo
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/local-storage": "0.8.
|
|
42
|
-
"@dxos/log": "0.8.
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/plugin-
|
|
45
|
-
"@dxos/plugin-
|
|
46
|
-
"@dxos/plugin-
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
38
|
+
"@dxos/app-framework": "0.8.3-main.672df60",
|
|
39
|
+
"@dxos/async": "0.8.3-main.672df60",
|
|
40
|
+
"@dxos/echo": "0.8.3-main.672df60",
|
|
41
|
+
"@dxos/live-object": "0.8.3-main.672df60",
|
|
42
|
+
"@dxos/local-storage": "0.8.3-main.672df60",
|
|
43
|
+
"@dxos/log": "0.8.3-main.672df60",
|
|
44
|
+
"@dxos/echo-schema": "0.8.3-main.672df60",
|
|
45
|
+
"@dxos/plugin-deck": "0.8.3-main.672df60",
|
|
46
|
+
"@dxos/plugin-client": "0.8.3-main.672df60",
|
|
47
|
+
"@dxos/plugin-graph": "0.8.3-main.672df60",
|
|
48
|
+
"@dxos/plugin-space": "0.8.3-main.672df60",
|
|
49
|
+
"@dxos/plugin-markdown": "0.8.3-main.672df60",
|
|
50
|
+
"@dxos/plugin-stack": "0.8.3-main.672df60",
|
|
51
|
+
"@dxos/react-client": "0.8.3-main.672df60",
|
|
52
|
+
"@dxos/react-ui-stack": "0.8.3-main.672df60",
|
|
53
|
+
"@dxos/react-ui-form": "0.8.3-main.672df60"
|
|
51
54
|
},
|
|
52
55
|
"devDependencies": {
|
|
56
|
+
"@effect-rx/rx-react": "^0.34.1",
|
|
57
|
+
"@effect/platform": "0.80.12",
|
|
53
58
|
"@phosphor-icons/react": "^2.1.5",
|
|
54
|
-
"@types/lodash.get": "^4.4.7",
|
|
55
59
|
"@types/react": "~18.2.0",
|
|
56
60
|
"@types/react-dom": "~18.2.0",
|
|
57
61
|
"@types/reveal.js": "^5.0.3",
|
|
62
|
+
"effect": "3.14.21",
|
|
58
63
|
"react": "~18.2.0",
|
|
59
64
|
"react-dom": "~18.2.0",
|
|
60
65
|
"vite": "5.4.7",
|
|
61
|
-
"@dxos/random": "0.8.
|
|
62
|
-
"@dxos/react-ui": "0.8.
|
|
63
|
-
"@dxos/react-ui-theme": "0.8.
|
|
64
|
-
"@dxos/storybook-utils": "0.8.
|
|
66
|
+
"@dxos/random": "0.8.3-main.672df60",
|
|
67
|
+
"@dxos/react-ui": "0.8.3-main.672df60",
|
|
68
|
+
"@dxos/react-ui-theme": "0.8.3-main.672df60",
|
|
69
|
+
"@dxos/storybook-utils": "0.8.3-main.672df60"
|
|
65
70
|
},
|
|
66
71
|
"peerDependencies": {
|
|
72
|
+
"@effect-rx/rx-react": "^0.34.1",
|
|
73
|
+
"@effect/platform": "0.80.12",
|
|
67
74
|
"@phosphor-icons/react": "^2.1.5",
|
|
75
|
+
"effect": "^3.13.3",
|
|
68
76
|
"react": "~18.2.0",
|
|
69
77
|
"react-dom": "~18.2.0",
|
|
70
|
-
"@dxos/react-ui": "0.8.
|
|
71
|
-
"@dxos/react-ui
|
|
78
|
+
"@dxos/react-ui-theme": "0.8.3-main.672df60",
|
|
79
|
+
"@dxos/react-ui": "0.8.3-main.672df60"
|
|
72
80
|
},
|
|
73
81
|
"publishConfig": {
|
|
74
82
|
"access": "public"
|
package/src/PresenterPlugin.tsx
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { definePlugin, defineModule, Events, contributes, Capabilities } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
|
-
import { AppGraphBuilder,
|
|
7
|
+
import { AppGraphBuilder, PresenterSettings, ReactSurface } from './capabilities';
|
|
8
8
|
import { meta } from './meta';
|
|
9
9
|
import translations from './translations';
|
|
10
10
|
|
|
@@ -18,14 +18,6 @@ export const PresenterPlugin = () =>
|
|
|
18
18
|
activatesOn: Events.SetupSettings,
|
|
19
19
|
activate: PresenterSettings,
|
|
20
20
|
}),
|
|
21
|
-
defineModule({
|
|
22
|
-
id: `${meta.id}/module/state`,
|
|
23
|
-
// TODO(wittjosiah): Does not integrate with settings store.
|
|
24
|
-
// Should this be a different event?
|
|
25
|
-
// Should settings store be renamed to be more generic?
|
|
26
|
-
activatesOn: Events.SetupSettings,
|
|
27
|
-
activate: PresenterState,
|
|
28
|
-
}),
|
|
29
21
|
defineModule({
|
|
30
22
|
id: `${meta.id}/module/translations`,
|
|
31
23
|
activatesOn: Events.SetupTranslations,
|
|
@@ -36,11 +28,6 @@ export const PresenterPlugin = () =>
|
|
|
36
28
|
activatesOn: Events.SetupReactSurface,
|
|
37
29
|
activate: ReactSurface,
|
|
38
30
|
}),
|
|
39
|
-
defineModule({
|
|
40
|
-
id: `${meta.id}/module/intent-resolver`,
|
|
41
|
-
activatesOn: Events.SetupIntentResolver,
|
|
42
|
-
activate: IntentResolver,
|
|
43
|
-
}),
|
|
44
31
|
defineModule({
|
|
45
32
|
id: `${meta.id}/module/app-graph-builder`,
|
|
46
33
|
activatesOn: Events.SetupAppGraph,
|