@dxos/plugin-presenter 0.8.1-staging.391c573 → 0.8.1-staging.9eaf14f
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/{PresenterMain-7JXM3QQ7.mjs → PresenterMain-PQPWYIWU.mjs} +3 -3
- package/dist/lib/browser/{RevealMain-I4IENSJR.mjs → RevealMain-B2PJXHND.mjs} +3 -3
- package/dist/lib/browser/{app-graph-builder-6U7WTJKG.mjs → app-graph-builder-CWMMBJTB.mjs} +5 -4
- package/dist/lib/browser/app-graph-builder-CWMMBJTB.mjs.map +7 -0
- package/dist/lib/browser/{chunk-CZFUBDCI.mjs → chunk-3VVM67QE.mjs} +4 -4
- package/dist/lib/browser/{chunk-SFMK6EE3.mjs → chunk-CQR4O6KC.mjs} +2 -2
- package/dist/lib/browser/{chunk-MSAMS5TA.mjs → chunk-FK2KJZ73.mjs} +2 -2
- package/dist/lib/browser/{chunk-Q5U3VOZB.mjs → chunk-S2S5RFJ4.mjs} +1 -1
- package/dist/lib/browser/chunk-S2S5RFJ4.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +8 -8
- package/dist/lib/browser/{intent-resolver-K4ZIL6XZ.mjs → intent-resolver-TTGJCKQ5.mjs} +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-BS5B7A4L.mjs → react-surface-6JT4CB4B.mjs} +10 -9
- package/dist/lib/browser/react-surface-6JT4CB4B.mjs.map +7 -0
- package/dist/lib/browser/{settings-L73ZKGLV.mjs → settings-RBF22MVS.mjs} +3 -3
- package/dist/lib/browser/{state-IGJRHRIA.mjs → state-KI7F4I6V.mjs} +3 -3
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -7
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +64 -2
- package/dist/types/src/types.d.ts.map +1 -1
- package/package.json +21 -21
- package/src/capabilities/app-graph-builder.ts +3 -2
- package/src/capabilities/react-surface.tsx +5 -4
- package/src/meta.ts +2 -2
- package/dist/lib/browser/app-graph-builder-6U7WTJKG.mjs.map +0 -7
- package/dist/lib/browser/chunk-Q5U3VOZB.mjs.map +0 -7
- package/dist/lib/browser/react-surface-BS5B7A4L.mjs.map +0 -7
- /package/dist/lib/browser/{PresenterMain-7JXM3QQ7.mjs.map → PresenterMain-PQPWYIWU.mjs.map} +0 -0
- /package/dist/lib/browser/{RevealMain-I4IENSJR.mjs.map → RevealMain-B2PJXHND.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-CZFUBDCI.mjs.map → chunk-3VVM67QE.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-SFMK6EE3.mjs.map → chunk-CQR4O6KC.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-MSAMS5TA.mjs.map → chunk-FK2KJZ73.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-resolver-K4ZIL6XZ.mjs.map → intent-resolver-TTGJCKQ5.mjs.map} +0 -0
- /package/dist/lib/browser/{settings-L73ZKGLV.mjs.map → settings-RBF22MVS.mjs.map} +0 -0
- /package/dist/lib/browser/{state-IGJRHRIA.mjs.map → state-KI7F4I6V.mjs.map} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterAction,
|
|
3
3
|
PresenterContext
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-CQR4O6KC.mjs";
|
|
5
|
+
import "./chunk-S2S5RFJ4.mjs";
|
|
6
6
|
|
|
7
7
|
// packages/plugins/plugin-presenter/src/components/PresenterMain.tsx
|
|
8
8
|
import React3, { useContext, useState } from "react";
|
|
@@ -190,4 +190,4 @@ var PresenterMain_default = PresenterMain;
|
|
|
190
190
|
export {
|
|
191
191
|
PresenterMain_default as default
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=PresenterMain-
|
|
193
|
+
//# sourceMappingURL=PresenterMain-PQPWYIWU.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterAction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CQR4O6KC.mjs";
|
|
4
|
+
import "./chunk-S2S5RFJ4.mjs";
|
|
5
5
|
|
|
6
6
|
// packages/plugins/plugin-presenter/src/components/RevealMain.tsx
|
|
7
7
|
import React2 from "react";
|
|
@@ -184,4 +184,4 @@ var RevealMain_default = PresenterMain;
|
|
|
184
184
|
export {
|
|
185
185
|
RevealMain_default as default
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=RevealMain-
|
|
187
|
+
//# sourceMappingURL=RevealMain-B2PJXHND.mjs.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CQR4O6KC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRESENTER_PLUGIN
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S2S5RFJ4.mjs";
|
|
7
7
|
|
|
8
8
|
// packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts
|
|
9
9
|
import { contributes, Capabilities, createIntent } from "@dxos/app-framework";
|
|
10
|
+
import { isInstanceOf } from "@dxos/echo-schema";
|
|
10
11
|
import { createExtension } from "@dxos/plugin-graph";
|
|
11
12
|
import { DocumentType } from "@dxos/plugin-markdown/types";
|
|
12
13
|
import { CollectionType } from "@dxos/plugin-space/types";
|
|
@@ -15,7 +16,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
15
16
|
id: PRESENTER_PLUGIN,
|
|
16
17
|
filter: (node) => {
|
|
17
18
|
const settings = context.requestCapabilities(Capabilities.SettingsStore)[0]?.getStore(PRESENTER_PLUGIN)?.value;
|
|
18
|
-
return settings?.presentCollections ? node.data
|
|
19
|
+
return settings?.presentCollections ? isInstanceOf(CollectionType, node.data) || isInstanceOf(DocumentType, node.data) : isInstanceOf(DocumentType, node.data);
|
|
19
20
|
},
|
|
20
21
|
actions: ({ node }) => {
|
|
21
22
|
const object = node.data;
|
|
@@ -51,4 +52,4 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
51
52
|
export {
|
|
52
53
|
app_graph_builder_default as default
|
|
53
54
|
};
|
|
54
|
-
//# sourceMappingURL=app-graph-builder-
|
|
55
|
+
//# sourceMappingURL=app-graph-builder-CWMMBJTB.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/app-graph-builder.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { contributes, type PluginsContext, Capabilities, createIntent } from '@dxos/app-framework';\nimport { isInstanceOf } from '@dxos/echo-schema';\nimport { createExtension, type Node } from '@dxos/plugin-graph';\nimport { DocumentType } from '@dxos/plugin-markdown/types';\nimport { CollectionType } from '@dxos/plugin-space/types';\nimport { fullyQualifiedId } from '@dxos/react-client/echo';\n\nimport { PRESENTER_PLUGIN } from '../meta';\nimport { PresenterAction, type PresenterSettingsProps } from '../types';\n\nexport default (context: PluginsContext) =>\n contributes(\n Capabilities.AppGraphBuilder,\n createExtension({\n id: PRESENTER_PLUGIN,\n filter: (node): node is Node<CollectionType | DocumentType> => {\n const settings = context\n .requestCapabilities(Capabilities.SettingsStore)[0]\n ?.getStore<PresenterSettingsProps>(PRESENTER_PLUGIN)?.value;\n return settings?.presentCollections\n ? isInstanceOf(CollectionType, node.data) || isInstanceOf(DocumentType, node.data)\n : isInstanceOf(DocumentType, node.data);\n },\n actions: ({ node }) => {\n const object = node.data;\n const id = fullyQualifiedId(object);\n return [\n {\n id: `${PresenterAction.TogglePresentation._tag}/${id}`,\n // TODO(burdon): Allow function so can generate state when activated.\n // So can set explicit fullscreen state coordinated with current presenter state.\n data: async () => {\n const { dispatchPromise: dispatch } = context.requestCapability(Capabilities.IntentDispatcher);\n await dispatch(createIntent(PresenterAction.TogglePresentation, { object }));\n },\n properties: {\n label: ['toggle presentation label', { ns: PRESENTER_PLUGIN }],\n icon: 'ph--presentation--regular',\n keyBinding: {\n macos: 'shift+meta+p',\n windows: 'shift+alt+p',\n },\n },\n },\n ];\n },\n }),\n );\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAIA,SAASA,aAAkCC,cAAcC,oBAAoB;AAC7E,SAASC,oBAAoB;AAC7B,SAASC,uBAAkC;AAC3C,SAASC,oBAAoB;AAC7B,SAASC,sBAAsB;AAC/B,SAASC,wBAAwB;AAKjC,IAAA,4BAAe,CAACC,YACdC,YACEC,aAAaC,iBACbC,gBAAgB;EACdC,IAAIC;EACJC,QAAQ,CAACC,SAAAA;AACP,UAAMC,WAAWT,QACdU,oBAAoBR,aAAaS,aAAa,EAAE,CAAA,GAC/CC,SAAiCN,gBAAAA,GAAmBO;AACxD,WAAOJ,UAAUK,qBACbC,aAAaC,gBAAgBR,KAAKS,IAAI,KAAKF,aAAaG,cAAcV,KAAKS,IAAI,IAC/EF,aAAaG,cAAcV,KAAKS,IAAI;EAC1C;EACAE,SAAS,CAAC,EAAEX,KAAI,MAAE;AAChB,UAAMY,SAASZ,KAAKS;AACpB,UAAMZ,KAAKgB,iBAAiBD,MAAAA;AAC5B,WAAO;MACL;QACEf,IAAI,GAAGiB,gBAAgBC,mBAAmBC,IAAI,IAAInB,EAAAA;;;QAGlDY,MAAM,YAAA;AACJ,gBAAM,EAAEQ,iBAAiBC,SAAQ,IAAK1B,QAAQ2B,kBAAkBzB,aAAa0B,gBAAgB;AAC7F,gBAAMF,SAASG,aAAaP,gBAAgBC,oBAAoB;YAAEH;UAAO,CAAA,CAAA;QAC3E;QACAU,YAAY;UACVC,OAAO;YAAC;YAA6B;cAAEC,IAAI1B;YAAiB;;UAC5D2B,MAAM;UACNC,YAAY;YACVC,OAAO;YACPC,SAAS;UACX;QACF;MACF;;EAEJ;AACF,CAAA,CAAA;",
|
|
6
|
+
"names": ["contributes", "Capabilities", "createIntent", "isInstanceOf", "createExtension", "DocumentType", "CollectionType", "fullyQualifiedId", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "PRESENTER_PLUGIN", "filter", "node", "settings", "requestCapabilities", "SettingsStore", "getStore", "value", "presentCollections", "isInstanceOf", "CollectionType", "data", "DocumentType", "actions", "object", "fullyQualifiedId", "PresenterAction", "TogglePresentation", "_tag", "dispatchPromise", "dispatch", "requestCapability", "IntentDispatcher", "createIntent", "properties", "label", "ns", "icon", "keyBinding", "macos", "windows"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRESENTER_PLUGIN
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S2S5RFJ4.mjs";
|
|
4
4
|
|
|
5
5
|
// packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx
|
|
6
6
|
import React from "react";
|
|
@@ -19,8 +19,8 @@ var PresenterSettings = ({ settings }) => {
|
|
|
19
19
|
// packages/plugins/plugin-presenter/src/components/index.ts
|
|
20
20
|
import { lazy } from "react";
|
|
21
21
|
var MarkdownSlide = lazy(() => import("./MarkdownSlide-5NYXG5SC.mjs"));
|
|
22
|
-
var RevealMain = lazy(() => import("./RevealMain-
|
|
23
|
-
var PresenterMain = lazy(() => import("./PresenterMain-
|
|
22
|
+
var RevealMain = lazy(() => import("./RevealMain-B2PJXHND.mjs"));
|
|
23
|
+
var PresenterMain = lazy(() => import("./PresenterMain-PQPWYIWU.mjs"));
|
|
24
24
|
|
|
25
25
|
export {
|
|
26
26
|
PresenterSettings,
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
RevealMain,
|
|
29
29
|
PresenterMain
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=chunk-
|
|
31
|
+
//# sourceMappingURL=chunk-3VVM67QE.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRESENTER_PLUGIN
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S2S5RFJ4.mjs";
|
|
4
4
|
|
|
5
5
|
// packages/plugins/plugin-presenter/src/types.ts
|
|
6
6
|
import { createContext } from "react";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
PresenterContext,
|
|
37
37
|
PresenterSettingsSchema
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-CQR4O6KC.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRESENTER_PLUGIN
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S2S5RFJ4.mjs";
|
|
4
4
|
|
|
5
5
|
// packages/plugins/plugin-presenter/src/capabilities/capabilities.ts
|
|
6
6
|
import { defineCapability } from "@dxos/app-framework";
|
|
@@ -13,4 +13,4 @@ var PresenterCapabilities;
|
|
|
13
13
|
export {
|
|
14
14
|
PresenterCapabilities
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
16
|
+
//# sourceMappingURL=chunk-FK2KJZ73.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const PRESENTER_PLUGIN = 'dxos.org/plugin/presenter';\n\nexport const meta: PluginMeta = {\n id: PRESENTER_PLUGIN,\n name: 'Presenter',\n description: 'Present documents as slideshows.',\n icon: 'ph--presentation--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-presenter',\n};\n"],
|
|
5
|
+
"mappings": ";AAMO,IAAMA,mBAAmB;AAEzB,IAAMC,OAAmB;EAC9BC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,MAAM;EACNC,QAAQ;AACV;",
|
|
6
|
+
"names": ["PRESENTER_PLUGIN", "meta", "id", "name", "description", "icon", "source"]
|
|
7
|
+
}
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
PresenterMain,
|
|
4
4
|
PresenterSettings,
|
|
5
5
|
RevealMain
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3VVM67QE.mjs";
|
|
7
7
|
import {
|
|
8
8
|
PresenterCapabilities
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FK2KJZ73.mjs";
|
|
10
10
|
import {
|
|
11
11
|
PRESENTER_PLUGIN,
|
|
12
12
|
meta
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-S2S5RFJ4.mjs";
|
|
14
14
|
|
|
15
15
|
// packages/plugins/plugin-presenter/src/capabilities/index.ts
|
|
16
16
|
import { lazy } from "@dxos/app-framework";
|
|
17
|
-
var AppGraphBuilder = lazy(() => import("./app-graph-builder-
|
|
18
|
-
var IntentResolver = lazy(() => import("./intent-resolver-
|
|
19
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
20
|
-
var PresenterSettings2 = lazy(() => import("./settings-
|
|
21
|
-
var PresenterState = lazy(() => import("./state-
|
|
17
|
+
var AppGraphBuilder = lazy(() => import("./app-graph-builder-CWMMBJTB.mjs"));
|
|
18
|
+
var IntentResolver = lazy(() => import("./intent-resolver-TTGJCKQ5.mjs"));
|
|
19
|
+
var ReactSurface = lazy(() => import("./react-surface-6JT4CB4B.mjs"));
|
|
20
|
+
var PresenterSettings2 = lazy(() => import("./settings-RBF22MVS.mjs"));
|
|
21
|
+
var PresenterState = lazy(() => import("./state-KI7F4I6V.mjs"));
|
|
22
22
|
|
|
23
23
|
// packages/plugins/plugin-presenter/src/PresenterPlugin.tsx
|
|
24
24
|
import { definePlugin, defineModule, Events, contributes, Capabilities } from "@dxos/app-framework";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterCapabilities
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FK2KJZ73.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PresenterAction
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-CQR4O6KC.mjs";
|
|
7
|
+
import "./chunk-S2S5RFJ4.mjs";
|
|
8
8
|
|
|
9
9
|
// packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts
|
|
10
10
|
import { Capabilities, contributes, createIntent, createResolver, LayoutAction } from "@dxos/app-framework";
|
|
@@ -43,4 +43,4 @@ var intent_resolver_default = (context) => contributes(Capabilities.IntentResolv
|
|
|
43
43
|
export {
|
|
44
44
|
intent_resolver_default as default
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=intent-resolver-
|
|
46
|
+
//# sourceMappingURL=intent-resolver-TTGJCKQ5.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytes":1514,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts":{"bytes":1764,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/types.ts":{"bytes":4250,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts":{"bytes":7397,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts":{"bytes":4945,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytes":2974,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytes":8182,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytes":2210,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytes":17556,"imports":[{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytes":611,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx","kind":"import-statement","original":"./Container"},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytes":1892,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":16359,"imports":[{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytes":541,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealMain.tsx":{"bytes":4425,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts","kind":"import-statement","original":"./RevealPlayer"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytes":3461,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytes":12360,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytes":605,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx":{"bytes":7839,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytes":1391,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx","kind":"import-statement","original":"./PresenterSettings"},{"path":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","kind":"dynamic-import","original":"./MarkdownSlide"},{"path":"packages/plugins/plugin-presenter/src/components/RevealMain.tsx","kind":"dynamic-import","original":"./RevealMain"},{"path":"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx","kind":"dynamic-import","original":"./PresenterMain"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx":{"bytes":8450,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/settings.ts":{"bytes":2024,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/state.ts":{"bytes":2198,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/index.ts":{"bytes":1940,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-presenter/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-presenter/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-presenter/src/translations.ts":{"bytes":1402,"imports":[{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytes":6208,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-presenter/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-presenter/src/index.ts":{"bytes":906,"imports":[{"path":"packages/plugins/plugin-presenter/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-presenter/dist/lib/browser/state-IGJRHRIA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1008},"packages/plugins/plugin-presenter/dist/lib/browser/state-IGJRHRIA.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-MSAMS5TA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/state.ts":{"bytesInOutput":237}},"bytes":479},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4233},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CZFUBDCI.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-MSAMS5TA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-6U7WTJKG.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/intent-resolver-K4ZIL6XZ.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-BS5B7A4L.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/settings-L73ZKGLV.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/state-IGJRHRIA.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["MarkdownSlide","PRESENTER_PLUGIN","PresenterCapabilities","PresenterMain","PresenterPlugin","PresenterSettings","RevealMain","meta"],"entryPoint":"packages/plugins/plugin-presenter/src/index.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/index.ts":{"bytesInOutput":405},"packages/plugins/plugin-presenter/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytesInOutput":1188},"packages/plugins/plugin-presenter/src/translations.ts":{"bytesInOutput":255}},"bytes":2520},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-6U7WTJKG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3672},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-6U7WTJKG.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-SFMK6EE3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1686}},"bytes":1986},"packages/plugins/plugin-presenter/dist/lib/browser/intent-resolver-K4ZIL6XZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2392},"packages/plugins/plugin-presenter/dist/lib/browser/intent-resolver-K4ZIL6XZ.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-MSAMS5TA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-SFMK6EE3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts":{"bytesInOutput":1016}},"bytes":1346},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-5NYXG5SC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13438},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-5NYXG5SC.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytesInOutput":333},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytesInOutput":1351},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytesInOutput":4999},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytesInOutput":509}},"bytes":7723},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-I4IENSJR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9993},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-I4IENSJR.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-SFMK6EE3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/RevealMain.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/RevealMain.tsx":{"bytesInOutput":969},"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4384},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5754},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-7JXM3QQ7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12193},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-7JXM3QQ7.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-SFMK6EE3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx":{"bytesInOutput":1804},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytesInOutput":908},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytesInOutput":3320}},"bytes":6529},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-BS5B7A4L.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4136},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-BS5B7A4L.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CZFUBDCI.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-MSAMS5TA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-SFMK6EE3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx":{"bytesInOutput":1856}},"bytes":2318},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CZFUBDCI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2151},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CZFUBDCI.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-5NYXG5SC.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-I4IENSJR.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-7JXM3QQ7.mjs","kind":"dynamic-import"}],"exports":["MarkdownSlide","PresenterMain","PresenterSettings","RevealMain"],"inputs":{"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytesInOutput":622},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytesInOutput":240}},"bytes":1183},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-MSAMS5TA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":836},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-MSAMS5TA.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["PresenterCapabilities"],"inputs":{"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts":{"bytesInOutput":367}},"bytes":578},"packages/plugins/plugin-presenter/dist/lib/browser/settings-L73ZKGLV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1010},"packages/plugins/plugin-presenter/dist/lib/browser/settings-L73ZKGLV.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-SFMK6EE3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/settings.ts":{"bytesInOutput":313}},"bytes":594},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-SFMK6EE3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2283},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-SFMK6EE3.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["PresenterAction","PresenterContext","PresenterSettingsSchema"],"inputs":{"packages/plugins/plugin-presenter/src/types.ts":{"bytesInOutput":859}},"bytes":1091},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":720},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Q5U3VOZB.mjs":{"imports":[],"exports":["PRESENTER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytesInOutput":286}},"bytes":419}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytes":1502,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts":{"bytes":1764,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/types.ts":{"bytes":4250,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts":{"bytes":7631,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts":{"bytes":4945,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytes":2974,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytes":8182,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytes":2210,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytes":17556,"imports":[{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytes":611,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx","kind":"import-statement","original":"./Container"},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytes":1892,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":16359,"imports":[{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytes":541,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealMain.tsx":{"bytes":4425,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts","kind":"import-statement","original":"./RevealPlayer"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytes":3461,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytes":12360,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytes":605,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx":{"bytes":7839,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytes":1391,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx","kind":"import-statement","original":"./PresenterSettings"},{"path":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","kind":"dynamic-import","original":"./MarkdownSlide"},{"path":"packages/plugins/plugin-presenter/src/components/RevealMain.tsx","kind":"dynamic-import","original":"./RevealMain"},{"path":"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx","kind":"dynamic-import","original":"./PresenterMain"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx":{"bytes":8703,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/settings.ts":{"bytes":2024,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/state.ts":{"bytes":2198,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/index.ts":{"bytes":1940,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-presenter/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-presenter/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-presenter/src/translations.ts":{"bytes":1402,"imports":[{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytes":6208,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-presenter/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-presenter/src/index.ts":{"bytes":906,"imports":[{"path":"packages/plugins/plugin-presenter/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-presenter/dist/lib/browser/state-KI7F4I6V.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1008},"packages/plugins/plugin-presenter/dist/lib/browser/state-KI7F4I6V.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-FK2KJZ73.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/state.ts":{"bytesInOutput":237}},"bytes":479},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4233},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-3VVM67QE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-FK2KJZ73.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-CWMMBJTB.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/intent-resolver-TTGJCKQ5.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6JT4CB4B.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/settings-RBF22MVS.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/state-KI7F4I6V.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["MarkdownSlide","PRESENTER_PLUGIN","PresenterCapabilities","PresenterMain","PresenterPlugin","PresenterSettings","RevealMain","meta"],"entryPoint":"packages/plugins/plugin-presenter/src/index.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/index.ts":{"bytesInOutput":405},"packages/plugins/plugin-presenter/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytesInOutput":1188},"packages/plugins/plugin-presenter/src/translations.ts":{"bytesInOutput":255}},"bytes":2520},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-CWMMBJTB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3814},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-CWMMBJTB.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CQR4O6KC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1748}},"bytes":2048},"packages/plugins/plugin-presenter/dist/lib/browser/intent-resolver-TTGJCKQ5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2392},"packages/plugins/plugin-presenter/dist/lib/browser/intent-resolver-TTGJCKQ5.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-FK2KJZ73.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CQR4O6KC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/intent-resolver.ts":{"bytesInOutput":1016}},"bytes":1346},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-5NYXG5SC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13438},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-5NYXG5SC.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytesInOutput":333},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytesInOutput":1351},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytesInOutput":4999},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytesInOutput":509}},"bytes":7723},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-B2PJXHND.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9993},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-B2PJXHND.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CQR4O6KC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/RevealMain.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/RevealMain.tsx":{"bytesInOutput":969},"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4384},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5754},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-PQPWYIWU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12193},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-PQPWYIWU.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CQR4O6KC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx":{"bytesInOutput":1804},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytesInOutput":908},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytesInOutput":3320}},"bytes":6529},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6JT4CB4B.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4286},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6JT4CB4B.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-3VVM67QE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-FK2KJZ73.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CQR4O6KC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx":{"bytesInOutput":1925}},"bytes":2387},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-3VVM67QE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2151},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-3VVM67QE.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-5NYXG5SC.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-B2PJXHND.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-PQPWYIWU.mjs","kind":"dynamic-import"}],"exports":["MarkdownSlide","PresenterMain","PresenterSettings","RevealMain"],"inputs":{"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytesInOutput":622},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytesInOutput":240}},"bytes":1183},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-FK2KJZ73.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":836},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-FK2KJZ73.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["PresenterCapabilities"],"inputs":{"packages/plugins/plugin-presenter/src/capabilities/capabilities.ts":{"bytesInOutput":367}},"bytes":578},"packages/plugins/plugin-presenter/dist/lib/browser/settings-RBF22MVS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1010},"packages/plugins/plugin-presenter/dist/lib/browser/settings-RBF22MVS.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CQR4O6KC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/settings.ts":{"bytesInOutput":313}},"bytes":594},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CQR4O6KC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2283},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-CQR4O6KC.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["PresenterAction","PresenterContext","PresenterSettingsSchema"],"inputs":{"packages/plugins/plugin-presenter/src/types.ts":{"bytesInOutput":859}},"bytes":1091},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":712},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs":{"imports":[],"exports":["PRESENTER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytesInOutput":286}},"bytes":419}}}
|
|
@@ -3,20 +3,21 @@ import {
|
|
|
3
3
|
PresenterMain,
|
|
4
4
|
PresenterSettings,
|
|
5
5
|
RevealMain
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3VVM67QE.mjs";
|
|
7
7
|
import {
|
|
8
8
|
PresenterCapabilities
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FK2KJZ73.mjs";
|
|
10
10
|
import {
|
|
11
11
|
PresenterContext
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CQR4O6KC.mjs";
|
|
13
13
|
import {
|
|
14
14
|
PRESENTER_PLUGIN
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S2S5RFJ4.mjs";
|
|
16
16
|
|
|
17
17
|
// packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx
|
|
18
18
|
import React from "react";
|
|
19
19
|
import { Capabilities, contributes, createSurface, useCapability } from "@dxos/app-framework";
|
|
20
|
+
import { isInstanceOf } from "@dxos/echo-schema";
|
|
20
21
|
import { SettingsStore } from "@dxos/local-storage";
|
|
21
22
|
import { DocumentType } from "@dxos/plugin-markdown/types";
|
|
22
23
|
import { CollectionType } from "@dxos/plugin-space/types";
|
|
@@ -25,7 +26,7 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
25
26
|
id: `${PRESENTER_PLUGIN}/document`,
|
|
26
27
|
role: "main",
|
|
27
28
|
position: "hoist",
|
|
28
|
-
filter: (data) => data.subject
|
|
29
|
+
filter: (data) => isInstanceOf(DocumentType, data.subject),
|
|
29
30
|
component: ({ data }) => /* @__PURE__ */ React.createElement(RevealMain, {
|
|
30
31
|
document: data.subject
|
|
31
32
|
})
|
|
@@ -34,7 +35,7 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
34
35
|
id: `${PRESENTER_PLUGIN}/collection`,
|
|
35
36
|
role: "main",
|
|
36
37
|
position: "hoist",
|
|
37
|
-
filter: (data) => data.subject
|
|
38
|
+
filter: (data) => isInstanceOf(CollectionType, data.subject),
|
|
38
39
|
component: ({ data }) => {
|
|
39
40
|
const state = useCapability(PresenterCapabilities.MutableState);
|
|
40
41
|
return /* @__PURE__ */ React.createElement(PresenterContext.Provider, {
|
|
@@ -51,13 +52,13 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
51
52
|
createSurface({
|
|
52
53
|
id: `${PRESENTER_PLUGIN}/slide`,
|
|
53
54
|
role: "slide",
|
|
54
|
-
filter: (data) => data.subject
|
|
55
|
+
filter: (data) => isInstanceOf(DocumentType, data.subject),
|
|
55
56
|
component: ({ data }) => /* @__PURE__ */ React.createElement(MarkdownSlide, {
|
|
56
57
|
document: data.subject
|
|
57
58
|
})
|
|
58
59
|
}),
|
|
59
60
|
createSurface({
|
|
60
|
-
id: `${PRESENTER_PLUGIN}/settings`,
|
|
61
|
+
id: `${PRESENTER_PLUGIN}/plugin-settings`,
|
|
61
62
|
role: "article",
|
|
62
63
|
filter: (data) => data.subject instanceof SettingsStore && data.subject.prefix === PRESENTER_PLUGIN,
|
|
63
64
|
component: ({ data: { subject } }) => /* @__PURE__ */ React.createElement(PresenterSettings, {
|
|
@@ -68,4 +69,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
68
69
|
export {
|
|
69
70
|
react_surface_default as default
|
|
70
71
|
};
|
|
71
|
-
//# sourceMappingURL=react-surface-
|
|
72
|
+
//# sourceMappingURL=react-surface-6JT4CB4B.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface, useCapability } from '@dxos/app-framework';\nimport { isInstanceOf } from '@dxos/echo-schema';\nimport { SettingsStore } from '@dxos/local-storage';\nimport { DocumentType } from '@dxos/plugin-markdown/types';\nimport { CollectionType } from '@dxos/plugin-space/types';\n\nimport { PresenterCapabilities } from './capabilities';\nimport { MarkdownSlide, PresenterSettings, PresenterMain, RevealMain } from '../components';\nimport { PRESENTER_PLUGIN } from '../meta';\nimport { PresenterContext, type PresenterSettingsProps } from '../types';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${PRESENTER_PLUGIN}/document`,\n role: 'main',\n position: 'hoist',\n filter: (data): data is { subject: DocumentType } => isInstanceOf(DocumentType, data.subject),\n component: ({ data }) => <RevealMain document={data.subject} />,\n }),\n createSurface({\n id: `${PRESENTER_PLUGIN}/collection`,\n role: 'main',\n position: 'hoist',\n filter: (data): data is { subject: CollectionType } => isInstanceOf(CollectionType, data.subject),\n component: ({ data }) => {\n const state = useCapability(PresenterCapabilities.MutableState);\n\n return (\n <PresenterContext.Provider\n value={{\n running: state.presenting,\n start: () => (state.presenting = true),\n stop: () => (state.presenting = false),\n }}\n >\n <PresenterMain collection={data.subject} />\n </PresenterContext.Provider>\n );\n },\n }),\n createSurface({\n id: `${PRESENTER_PLUGIN}/slide`,\n role: 'slide',\n filter: (data): data is { subject: DocumentType } => isInstanceOf(DocumentType, data.subject),\n component: ({ data }) => <MarkdownSlide document={data.subject} />,\n }),\n createSurface({\n id: `${PRESENTER_PLUGIN}/plugin-settings`,\n role: 'article',\n filter: (data): data is { subject: SettingsStore<PresenterSettingsProps> } =>\n data.subject instanceof SettingsStore && data.subject.prefix === PRESENTER_PLUGIN,\n component: ({ data: { subject } }) => <PresenterSettings settings={subject.value} />,\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,eAAeC,qBAAqB;AACxE,SAASC,oBAAoB;AAC7B,SAASC,qBAAqB;AAC9B,SAASC,oBAAoB;AAC7B,SAASC,sBAAsB;AAO/B,IAAA,wBAAe,MACbC,YAAYC,aAAaC,cAAc;EACrCC,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNC,UAAU;IACVC,QAAQ,CAACC,SAA4CC,aAAaC,cAAcF,KAAKG,OAAO;IAC5FC,WAAW,CAAC,EAAEJ,KAAI,MAAO,sBAAA,cAACK,YAAAA;MAAWC,UAAUN,KAAKG;;EACtD,CAAA;EACAT,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNC,UAAU;IACVC,QAAQ,CAACC,SAA8CC,aAAaM,gBAAgBP,KAAKG,OAAO;IAChGC,WAAW,CAAC,EAAEJ,KAAI,MAAE;AAClB,YAAMQ,QAAQC,cAAcC,sBAAsBC,YAAY;AAE9D,aACE,sBAAA,cAACC,iBAAiBC,UAAQ;QACxBC,OAAO;UACLC,SAASP,MAAMQ;UACfC,OAAO,MAAOT,MAAMQ,aAAa;UACjCE,MAAM,MAAOV,MAAMQ,aAAa;QAClC;SAEA,sBAAA,cAACG,eAAAA;QAAcC,YAAYpB,KAAKG;;IAGtC;EACF,CAAA;EACAT,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNE,QAAQ,CAACC,SAA4CC,aAAaC,cAAcF,KAAKG,OAAO;IAC5FC,WAAW,CAAC,EAAEJ,KAAI,MAAO,sBAAA,cAACqB,eAAAA;MAAcf,UAAUN,KAAKG;;EACzD,CAAA;EACAT,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNE,QAAQ,CAACC,SACPA,KAAKG,mBAAmBmB,iBAAiBtB,KAAKG,QAAQoB,WAAW3B;IACnEQ,WAAW,CAAC,EAAEJ,MAAM,EAAEG,QAAO,EAAE,MAAO,sBAAA,cAACqB,mBAAAA;MAAkBC,UAAUtB,QAAQW;;EAC7E,CAAA;CACD;",
|
|
6
|
+
"names": ["React", "Capabilities", "contributes", "createSurface", "useCapability", "isInstanceOf", "SettingsStore", "DocumentType", "CollectionType", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "PRESENTER_PLUGIN", "role", "position", "filter", "data", "isInstanceOf", "DocumentType", "subject", "component", "RevealMain", "document", "CollectionType", "state", "useCapability", "PresenterCapabilities", "MutableState", "PresenterContext", "Provider", "value", "running", "presenting", "start", "stop", "PresenterMain", "collection", "MarkdownSlide", "SettingsStore", "prefix", "PresenterSettings", "settings"]
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterSettingsSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CQR4O6KC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRESENTER_PLUGIN
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S2S5RFJ4.mjs";
|
|
7
7
|
|
|
8
8
|
// packages/plugins/plugin-presenter/src/capabilities/settings.ts
|
|
9
9
|
import { Capabilities, contributes } from "@dxos/app-framework";
|
|
@@ -19,4 +19,4 @@ var settings_default = () => {
|
|
|
19
19
|
export {
|
|
20
20
|
settings_default as default
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=settings-
|
|
22
|
+
//# sourceMappingURL=settings-RBF22MVS.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterCapabilities
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-FK2KJZ73.mjs";
|
|
4
|
+
import "./chunk-S2S5RFJ4.mjs";
|
|
5
5
|
|
|
6
6
|
// packages/plugins/plugin-presenter/src/capabilities/state.ts
|
|
7
7
|
import { contributes } from "@dxos/app-framework";
|
|
@@ -15,4 +15,4 @@ var state_default = () => {
|
|
|
15
15
|
export {
|
|
16
16
|
state_default as default
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=state-
|
|
18
|
+
//# sourceMappingURL=state-KI7F4I6V.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAAe,KAAK,cAAc,EAA8B,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAAe,KAAK,cAAc,EAA8B,MAAM,qBAAqB,CAAC;AAEnG,OAAO,EAAmB,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;kCAQvC,cAAc;;qBAsC2zC,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;;AAtCzoS,wBAqCI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA6C,MAAM,qBAAqB,CAAC;;
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA6C,MAAM,qBAAqB,CAAC;;AAW9F,wBA2CK"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
+
import { type PluginMeta } from '@dxos/app-framework';
|
|
1
2
|
export declare const PRESENTER_PLUGIN = "dxos.org/plugin/presenter";
|
|
2
|
-
export declare const meta:
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
source: string;
|
|
8
|
-
};
|
|
3
|
+
export declare const meta: PluginMeta;
|
|
9
4
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,gBAAgB,8BAA8B,CAAC;AAE5D,eAAO,MAAM,IAAI,EAAE,UAMlB,CAAC"}
|
|
@@ -1,13 +1,75 @@
|
|
|
1
1
|
import { type Context } from 'react';
|
|
2
2
|
import { S } from '@dxos/echo-schema';
|
|
3
|
-
import { DocumentType } from '@dxos/plugin-markdown/types';
|
|
4
3
|
import { CollectionType } from '@dxos/plugin-space/types';
|
|
5
4
|
export declare namespace PresenterAction {
|
|
6
5
|
const TogglePresentation_base: S.TaggedClass<TogglePresentation, "dxos.org/plugin/presenter/action/toggle-presentation", {
|
|
7
6
|
readonly _tag: S.tag<"dxos.org/plugin/presenter/action/toggle-presentation">;
|
|
8
7
|
} & {
|
|
9
8
|
input: S.Struct<{
|
|
10
|
-
object: S.Union<[
|
|
9
|
+
object: S.Union<[import("@dxos/echo-schema").EchoObjectSchema<S.Struct<{
|
|
10
|
+
name: S.optional<typeof S.String>;
|
|
11
|
+
fallbackName: S.optional<typeof S.String>;
|
|
12
|
+
content: import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").TypedObjectFields<{
|
|
13
|
+
content: typeof S.String;
|
|
14
|
+
}, import("@dxos/echo-schema").TypedObjectOptions>>;
|
|
15
|
+
threads: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").TypedObjectFields<{
|
|
16
|
+
name: S.optional<typeof S.String>;
|
|
17
|
+
anchor: S.optional<typeof S.String>;
|
|
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]>;
|
|
11
73
|
state: S.optional<typeof S.Boolean>;
|
|
12
74
|
}>;
|
|
13
75
|
output: typeof S.Void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI1D,yBAAiB,eAAe,CAAC;;;;;;sBAkC+pE,EAAG,QAAQ,QAAO,EAAG,MAAM;8BAAoB,EAAG,QAAQ,QAAO,EAAG,MAAM;gCAAuB,mBAAmB,cAAc,mBAAmB;oCAA6C,EAAG,MAAM;0BAAgB,mBAAmB;yBAAoC,EAAG,OAAO,CAAC,EAAE,MAAM,QAAQ,mBAAmB,cAAc,mBAAmB;0BAAmC,EAAG,QAAQ,QAAO,EAAG,MAAM;4BAAkB,EAAG,QAAQ,QAAO,EAAG,MAAM;4BAAkB,EAAG,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,cAAa,EAAG,OAAO,cAAa,EAAG,OAAO;8BAAoC,EAAG,OAAO,CAAC,EAAE,MAAM,QAAQ,mBAAmB,cAAc,mBAAmB;mCAA6C,mBAAmB;iCAAqC,EAAG,WAAW;gCAA4C,EAAG,MAAM;qCAA2B,EAAG,QAAQ,QAAQ,mBAAmB;;oCAA0E,CAAC;;;;;;yCAAkO,EAAG,QAAQ,QAAO,EAAG,MAAM;yCAA+B,EAAG,QAAQ,QAAO,EAAG,MAAM;mCAAyB,EAAG,QAAQ,QAAO,EAAG,MAAM;kCAAwB,EAAG,QAAQ,QAAO,EAAG,MAAM;kCAAwB,EAAG,QAAQ,CAAC,EAAE,OAAO;;gCAA6D,EAAG,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM;qCAA2B,EAAG,QAAQ,QAAO,EAAG,OAAO;4BAAkB,EAAG,MAAM;kCAAwB,EAAG,OAAO;yCAAwC,EAAG,QAAQ,QAAO,EAAG,MAAM;yCAA+B,EAAG,MAAM;8BAAmB,EAAG,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM;qCAA2B,EAAG,QAAQ,QAAO,EAAG,OAAO;4BAAkB,EAAG,MAAM;kCAAwB,EAAG,OAAO;yCAAwC,EAAG,QAAQ,QAAO,EAAG,MAAM;yCAA+B,EAAG,MAAM;8BAAmB,EAAG,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM;qCAA2B,EAAG,QAAQ,QAAO,EAAG,OAAO;4BAAkB,EAAG,MAAM;kCAAwB,EAAG,OAAO;gCAAgC,EAAG,QAAQ,QAAO,EAAG,MAAM;oCAA0B,EAAG,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM;sCAA4B,EAAG,OAAO;kDAAmD,EAAG,MAAM;6CAAkC,EAAG,MAAM;iCAAsB,EAAG,OAAO,CAAC,EAAE,MAAM;sCAA4B,EAAG,OAAO;4CAA2C,EAAG,MAAM;;8BAA2C,EAAG,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM;qCAA2B,EAAG,QAAQ,QAAO,EAAG,OAAO;4BAAkB,EAAG,MAAM;kCAAwB,EAAG,OAAO;8CAAmD,mBAAmB;;oCAA6D,EAAG,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,QAAO,EAAG,MAAM,SAAQ,EAAG,GAAG;8BAAuB,mBAAmB;0BAAwC,mBAAmB;oCAAiD,EAAG,QAAQ,QAAQ,mBAAmB;;;;;;IA/BxxK,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,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-presenter",
|
|
3
|
-
"version": "0.8.1-staging.
|
|
3
|
+
"version": "0.8.1-staging.9eaf14f",
|
|
4
4
|
"description": "Braneframe presenter plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"remark-frontmatter": "^5.0.0",
|
|
35
35
|
"remark-parse-frontmatter": "^1.0.3",
|
|
36
36
|
"reveal.js": "^5.1.0",
|
|
37
|
-
"@dxos/app-framework": "0.8.1-staging.
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/log": "0.8.1-staging.
|
|
42
|
-
"@dxos/
|
|
43
|
-
"@dxos/plugin-graph": "0.8.1-staging.
|
|
44
|
-
"@dxos/plugin-
|
|
45
|
-
"@dxos/plugin-
|
|
46
|
-
"@dxos/plugin-
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/react-ui-
|
|
50
|
-
"@dxos/react-ui-
|
|
37
|
+
"@dxos/app-framework": "0.8.1-staging.9eaf14f",
|
|
38
|
+
"@dxos/echo-schema": "0.8.1-staging.9eaf14f",
|
|
39
|
+
"@dxos/async": "0.8.1-staging.9eaf14f",
|
|
40
|
+
"@dxos/live-object": "0.8.1-staging.9eaf14f",
|
|
41
|
+
"@dxos/log": "0.8.1-staging.9eaf14f",
|
|
42
|
+
"@dxos/plugin-client": "0.8.1-staging.9eaf14f",
|
|
43
|
+
"@dxos/plugin-graph": "0.8.1-staging.9eaf14f",
|
|
44
|
+
"@dxos/plugin-markdown": "0.8.1-staging.9eaf14f",
|
|
45
|
+
"@dxos/plugin-space": "0.8.1-staging.9eaf14f",
|
|
46
|
+
"@dxos/plugin-stack": "0.8.1-staging.9eaf14f",
|
|
47
|
+
"@dxos/react-client": "0.8.1-staging.9eaf14f",
|
|
48
|
+
"@dxos/local-storage": "0.8.1-staging.9eaf14f",
|
|
49
|
+
"@dxos/react-ui-stack": "0.8.1-staging.9eaf14f",
|
|
50
|
+
"@dxos/react-ui-form": "0.8.1-staging.9eaf14f"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
"react": "~18.2.0",
|
|
59
59
|
"react-dom": "~18.2.0",
|
|
60
60
|
"vite": "5.4.7",
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/react-ui
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
61
|
+
"@dxos/random": "0.8.1-staging.9eaf14f",
|
|
62
|
+
"@dxos/react-ui": "0.8.1-staging.9eaf14f",
|
|
63
|
+
"@dxos/react-ui-theme": "0.8.1-staging.9eaf14f",
|
|
64
|
+
"@dxos/storybook-utils": "0.8.1-staging.9eaf14f"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@phosphor-icons/react": "^2.1.5",
|
|
68
68
|
"react": "~18.2.0",
|
|
69
69
|
"react-dom": "~18.2.0",
|
|
70
|
-
"@dxos/react-ui": "0.8.1-staging.
|
|
71
|
-
"@dxos/react-ui
|
|
70
|
+
"@dxos/react-ui-theme": "0.8.1-staging.9eaf14f",
|
|
71
|
+
"@dxos/react-ui": "0.8.1-staging.9eaf14f"
|
|
72
72
|
},
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { contributes, type PluginsContext, Capabilities, createIntent } from '@dxos/app-framework';
|
|
6
|
+
import { isInstanceOf } from '@dxos/echo-schema';
|
|
6
7
|
import { createExtension, type Node } from '@dxos/plugin-graph';
|
|
7
8
|
import { DocumentType } from '@dxos/plugin-markdown/types';
|
|
8
9
|
import { CollectionType } from '@dxos/plugin-space/types';
|
|
@@ -21,8 +22,8 @@ export default (context: PluginsContext) =>
|
|
|
21
22
|
.requestCapabilities(Capabilities.SettingsStore)[0]
|
|
22
23
|
?.getStore<PresenterSettingsProps>(PRESENTER_PLUGIN)?.value;
|
|
23
24
|
return settings?.presentCollections
|
|
24
|
-
? node.data
|
|
25
|
-
: node.data
|
|
25
|
+
? isInstanceOf(CollectionType, node.data) || isInstanceOf(DocumentType, node.data)
|
|
26
|
+
: isInstanceOf(DocumentType, node.data);
|
|
26
27
|
},
|
|
27
28
|
actions: ({ node }) => {
|
|
28
29
|
const object = node.data;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
7
|
import { Capabilities, contributes, createSurface, useCapability } from '@dxos/app-framework';
|
|
8
|
+
import { isInstanceOf } from '@dxos/echo-schema';
|
|
8
9
|
import { SettingsStore } from '@dxos/local-storage';
|
|
9
10
|
import { DocumentType } from '@dxos/plugin-markdown/types';
|
|
10
11
|
import { CollectionType } from '@dxos/plugin-space/types';
|
|
@@ -20,14 +21,14 @@ export default () =>
|
|
|
20
21
|
id: `${PRESENTER_PLUGIN}/document`,
|
|
21
22
|
role: 'main',
|
|
22
23
|
position: 'hoist',
|
|
23
|
-
filter: (data): data is { subject: DocumentType } => data.subject
|
|
24
|
+
filter: (data): data is { subject: DocumentType } => isInstanceOf(DocumentType, data.subject),
|
|
24
25
|
component: ({ data }) => <RevealMain document={data.subject} />,
|
|
25
26
|
}),
|
|
26
27
|
createSurface({
|
|
27
28
|
id: `${PRESENTER_PLUGIN}/collection`,
|
|
28
29
|
role: 'main',
|
|
29
30
|
position: 'hoist',
|
|
30
|
-
filter: (data): data is { subject: CollectionType } => data.subject
|
|
31
|
+
filter: (data): data is { subject: CollectionType } => isInstanceOf(CollectionType, data.subject),
|
|
31
32
|
component: ({ data }) => {
|
|
32
33
|
const state = useCapability(PresenterCapabilities.MutableState);
|
|
33
34
|
|
|
@@ -47,11 +48,11 @@ export default () =>
|
|
|
47
48
|
createSurface({
|
|
48
49
|
id: `${PRESENTER_PLUGIN}/slide`,
|
|
49
50
|
role: 'slide',
|
|
50
|
-
filter: (data): data is { subject: DocumentType } => data.subject
|
|
51
|
+
filter: (data): data is { subject: DocumentType } => isInstanceOf(DocumentType, data.subject),
|
|
51
52
|
component: ({ data }) => <MarkdownSlide document={data.subject} />,
|
|
52
53
|
}),
|
|
53
54
|
createSurface({
|
|
54
|
-
id: `${PRESENTER_PLUGIN}/settings`,
|
|
55
|
+
id: `${PRESENTER_PLUGIN}/plugin-settings`,
|
|
55
56
|
role: 'article',
|
|
56
57
|
filter: (data): data is { subject: SettingsStore<PresenterSettingsProps> } =>
|
|
57
58
|
data.subject instanceof SettingsStore && data.subject.prefix === PRESENTER_PLUGIN,
|
package/src/meta.ts
CHANGED
|
@@ -6,10 +6,10 @@ import { type PluginMeta } from '@dxos/app-framework';
|
|
|
6
6
|
|
|
7
7
|
export const PRESENTER_PLUGIN = 'dxos.org/plugin/presenter';
|
|
8
8
|
|
|
9
|
-
export const meta = {
|
|
9
|
+
export const meta: PluginMeta = {
|
|
10
10
|
id: PRESENTER_PLUGIN,
|
|
11
11
|
name: 'Presenter',
|
|
12
12
|
description: 'Present documents as slideshows.',
|
|
13
13
|
icon: 'ph--presentation--regular',
|
|
14
14
|
source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-presenter',
|
|
15
|
-
}
|
|
15
|
+
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/app-graph-builder.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { contributes, type PluginsContext, Capabilities, createIntent } from '@dxos/app-framework';\nimport { createExtension, type Node } from '@dxos/plugin-graph';\nimport { DocumentType } from '@dxos/plugin-markdown/types';\nimport { CollectionType } from '@dxos/plugin-space/types';\nimport { fullyQualifiedId } from '@dxos/react-client/echo';\n\nimport { PRESENTER_PLUGIN } from '../meta';\nimport { PresenterAction, type PresenterSettingsProps } from '../types';\n\nexport default (context: PluginsContext) =>\n contributes(\n Capabilities.AppGraphBuilder,\n createExtension({\n id: PRESENTER_PLUGIN,\n filter: (node): node is Node<CollectionType | DocumentType> => {\n const settings = context\n .requestCapabilities(Capabilities.SettingsStore)[0]\n ?.getStore<PresenterSettingsProps>(PRESENTER_PLUGIN)?.value;\n return settings?.presentCollections\n ? node.data instanceof CollectionType || node.data instanceof DocumentType\n : node.data instanceof DocumentType;\n },\n actions: ({ node }) => {\n const object = node.data;\n const id = fullyQualifiedId(object);\n return [\n {\n id: `${PresenterAction.TogglePresentation._tag}/${id}`,\n // TODO(burdon): Allow function so can generate state when activated.\n // So can set explicit fullscreen state coordinated with current presenter state.\n data: async () => {\n const { dispatchPromise: dispatch } = context.requestCapability(Capabilities.IntentDispatcher);\n await dispatch(createIntent(PresenterAction.TogglePresentation, { object }));\n },\n properties: {\n label: ['toggle presentation label', { ns: PRESENTER_PLUGIN }],\n icon: 'ph--presentation--regular',\n keyBinding: {\n macos: 'shift+meta+p',\n windows: 'shift+alt+p',\n },\n },\n },\n ];\n },\n }),\n );\n"],
|
|
5
|
-
"mappings": ";;;;;;;;AAIA,SAASA,aAAkCC,cAAcC,oBAAoB;AAC7E,SAASC,uBAAkC;AAC3C,SAASC,oBAAoB;AAC7B,SAASC,sBAAsB;AAC/B,SAASC,wBAAwB;AAKjC,IAAA,4BAAe,CAACC,YACdC,YACEC,aAAaC,iBACbC,gBAAgB;EACdC,IAAIC;EACJC,QAAQ,CAACC,SAAAA;AACP,UAAMC,WAAWT,QACdU,oBAAoBR,aAAaS,aAAa,EAAE,CAAA,GAC/CC,SAAiCN,gBAAAA,GAAmBO;AACxD,WAAOJ,UAAUK,qBACbN,KAAKO,gBAAgBC,kBAAkBR,KAAKO,gBAAgBE,eAC5DT,KAAKO,gBAAgBE;EAC3B;EACAC,SAAS,CAAC,EAAEV,KAAI,MAAE;AAChB,UAAMW,SAASX,KAAKO;AACpB,UAAMV,KAAKe,iBAAiBD,MAAAA;AAC5B,WAAO;MACL;QACEd,IAAI,GAAGgB,gBAAgBC,mBAAmBC,IAAI,IAAIlB,EAAAA;;;QAGlDU,MAAM,YAAA;AACJ,gBAAM,EAAES,iBAAiBC,SAAQ,IAAKzB,QAAQ0B,kBAAkBxB,aAAayB,gBAAgB;AAC7F,gBAAMF,SAASG,aAAaP,gBAAgBC,oBAAoB;YAAEH;UAAO,CAAA,CAAA;QAC3E;QACAU,YAAY;UACVC,OAAO;YAAC;YAA6B;cAAEC,IAAIzB;YAAiB;;UAC5D0B,MAAM;UACNC,YAAY;YACVC,OAAO;YACPC,SAAS;UACX;QACF;MACF;;EAEJ;AACF,CAAA,CAAA;",
|
|
6
|
-
"names": ["contributes", "Capabilities", "createIntent", "createExtension", "DocumentType", "CollectionType", "fullyQualifiedId", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "PRESENTER_PLUGIN", "filter", "node", "settings", "requestCapabilities", "SettingsStore", "getStore", "value", "presentCollections", "data", "CollectionType", "DocumentType", "actions", "object", "fullyQualifiedId", "PresenterAction", "TogglePresentation", "_tag", "dispatchPromise", "dispatch", "requestCapability", "IntentDispatcher", "createIntent", "properties", "label", "ns", "icon", "keyBinding", "macos", "windows"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const PRESENTER_PLUGIN = 'dxos.org/plugin/presenter';\n\nexport const meta = {\n id: PRESENTER_PLUGIN,\n name: 'Presenter',\n description: 'Present documents as slideshows.',\n icon: 'ph--presentation--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-presenter',\n} satisfies PluginMeta;\n"],
|
|
5
|
-
"mappings": ";AAMO,IAAMA,mBAAmB;AAEzB,IAAMC,OAAO;EAClBC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,MAAM;EACNC,QAAQ;AACV;",
|
|
6
|
-
"names": ["PRESENTER_PLUGIN", "meta", "id", "name", "description", "icon", "source"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface, useCapability } from '@dxos/app-framework';\nimport { SettingsStore } from '@dxos/local-storage';\nimport { DocumentType } from '@dxos/plugin-markdown/types';\nimport { CollectionType } from '@dxos/plugin-space/types';\n\nimport { PresenterCapabilities } from './capabilities';\nimport { MarkdownSlide, PresenterSettings, PresenterMain, RevealMain } from '../components';\nimport { PRESENTER_PLUGIN } from '../meta';\nimport { PresenterContext, type PresenterSettingsProps } from '../types';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${PRESENTER_PLUGIN}/document`,\n role: 'main',\n position: 'hoist',\n filter: (data): data is { subject: DocumentType } => data.subject instanceof DocumentType,\n component: ({ data }) => <RevealMain document={data.subject} />,\n }),\n createSurface({\n id: `${PRESENTER_PLUGIN}/collection`,\n role: 'main',\n position: 'hoist',\n filter: (data): data is { subject: CollectionType } => data.subject instanceof CollectionType,\n component: ({ data }) => {\n const state = useCapability(PresenterCapabilities.MutableState);\n\n return (\n <PresenterContext.Provider\n value={{\n running: state.presenting,\n start: () => (state.presenting = true),\n stop: () => (state.presenting = false),\n }}\n >\n <PresenterMain collection={data.subject} />\n </PresenterContext.Provider>\n );\n },\n }),\n createSurface({\n id: `${PRESENTER_PLUGIN}/slide`,\n role: 'slide',\n filter: (data): data is { subject: DocumentType } => data.subject instanceof DocumentType,\n component: ({ data }) => <MarkdownSlide document={data.subject} />,\n }),\n createSurface({\n id: `${PRESENTER_PLUGIN}/settings`,\n role: 'article',\n filter: (data): data is { subject: SettingsStore<PresenterSettingsProps> } =>\n data.subject instanceof SettingsStore && data.subject.prefix === PRESENTER_PLUGIN,\n component: ({ data: { subject } }) => <PresenterSettings settings={subject.value} />,\n }),\n ]);\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,eAAeC,qBAAqB;AACxE,SAASC,qBAAqB;AAC9B,SAASC,oBAAoB;AAC7B,SAASC,sBAAsB;AAO/B,IAAA,wBAAe,MACbC,YAAYC,aAAaC,cAAc;EACrCC,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNC,UAAU;IACVC,QAAQ,CAACC,SAA4CA,KAAKC,mBAAmBC;IAC7EC,WAAW,CAAC,EAAEH,KAAI,MAAO,sBAAA,cAACI,YAAAA;MAAWC,UAAUL,KAAKC;;EACtD,CAAA;EACAP,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNC,UAAU;IACVC,QAAQ,CAACC,SAA8CA,KAAKC,mBAAmBK;IAC/EH,WAAW,CAAC,EAAEH,KAAI,MAAE;AAClB,YAAMO,QAAQC,cAAcC,sBAAsBC,YAAY;AAE9D,aACE,sBAAA,cAACC,iBAAiBC,UAAQ;QACxBC,OAAO;UACLC,SAASP,MAAMQ;UACfC,OAAO,MAAOT,MAAMQ,aAAa;UACjCE,MAAM,MAAOV,MAAMQ,aAAa;QAClC;SAEA,sBAAA,cAACG,eAAAA;QAAcC,YAAYnB,KAAKC;;IAGtC;EACF,CAAA;EACAP,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNE,QAAQ,CAACC,SAA4CA,KAAKC,mBAAmBC;IAC7EC,WAAW,CAAC,EAAEH,KAAI,MAAO,sBAAA,cAACoB,eAAAA;MAAcf,UAAUL,KAAKC;;EACzD,CAAA;EACAP,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNE,QAAQ,CAACC,SACPA,KAAKC,mBAAmBoB,iBAAiBrB,KAAKC,QAAQqB,WAAW1B;IACnEO,WAAW,CAAC,EAAEH,MAAM,EAAEC,QAAO,EAAE,MAAO,sBAAA,cAACsB,mBAAAA;MAAkBC,UAAUvB,QAAQY;;EAC7E,CAAA;CACD;",
|
|
6
|
-
"names": ["React", "Capabilities", "contributes", "createSurface", "useCapability", "SettingsStore", "DocumentType", "CollectionType", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "PRESENTER_PLUGIN", "role", "position", "filter", "data", "subject", "DocumentType", "component", "RevealMain", "document", "CollectionType", "state", "useCapability", "PresenterCapabilities", "MutableState", "PresenterContext", "Provider", "value", "running", "presenting", "start", "stop", "PresenterMain", "collection", "MarkdownSlide", "SettingsStore", "prefix", "PresenterSettings", "settings"]
|
|
7
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/lib/browser/{intent-resolver-K4ZIL6XZ.mjs.map → intent-resolver-TTGJCKQ5.mjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|