@dxos/plugin-presenter 0.8.3-staging.0fa589b → 0.8.4-main.1da679c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/{CollectionPresenterContainer-YEJSMZFR.mjs → CollectionPresenterContainer-U7D57ZVN.mjs} +23 -21
- package/dist/lib/browser/CollectionPresenterContainer-U7D57ZVN.mjs.map +7 -0
- package/dist/lib/browser/{DocumentPresenterContainer-QNXYZ5WX.mjs → DocumentPresenterContainer-F42V4KAL.mjs} +51 -53
- package/dist/lib/browser/DocumentPresenterContainer-F42V4KAL.mjs.map +7 -0
- package/dist/lib/browser/{MarkdownSlide-EI5XTZGO.mjs → MarkdownSlide-BLVWTH3U.mjs} +21 -134
- package/dist/lib/browser/MarkdownSlide-BLVWTH3U.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-NEAHHOKU.mjs → app-graph-builder-25KJRCKD.mjs} +37 -9
- package/dist/lib/browser/app-graph-builder-25KJRCKD.mjs.map +7 -0
- package/dist/lib/browser/{chunk-4OPZ2PG6.mjs → chunk-QOZXPXC4.mjs} +15 -11
- package/dist/lib/browser/chunk-QOZXPXC4.mjs.map +7 -0
- package/dist/lib/browser/{chunk-2RWWAQZK.mjs → chunk-UVGTHJUO.mjs} +3 -3
- package/dist/lib/browser/{chunk-2RWWAQZK.mjs.map → chunk-UVGTHJUO.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-S2S5RFJ4.mjs → chunk-VSD5LSE5.mjs} +2 -2
- package/dist/lib/browser/{chunk-P2I7C2CY.mjs → chunk-W4IR3DJE.mjs} +5 -5
- package/dist/lib/browser/chunk-W4IR3DJE.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +14 -13
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-6WH4XLTT.mjs → react-surface-4WFDCQFU.mjs} +12 -12
- package/dist/lib/browser/react-surface-4WFDCQFU.mjs.map +7 -0
- package/dist/lib/browser/{settings-KZGHTWTK.mjs → settings-H6OCPWOP.mjs} +6 -6
- package/dist/lib/browser/{settings-KZGHTWTK.mjs.map → settings-H6OCPWOP.mjs.map} +2 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +3 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -1
- package/dist/types/src/components/CollectionPresenterContainer.d.ts.map +1 -1
- package/dist/types/src/components/DocumentPresenterContainer.d.ts +2 -2
- package/dist/types/src/components/DocumentPresenterContainer.d.ts.map +1 -1
- package/dist/types/src/components/Markdown/Container.stories.d.ts +14 -21
- package/dist/types/src/components/Markdown/Container.stories.d.ts.map +1 -1
- package/dist/types/src/components/Markdown/Slide.d.ts +1 -3
- package/dist/types/src/components/Markdown/Slide.d.ts.map +1 -1
- package/dist/types/src/components/Markdown/Slide.stories.d.ts +10 -11
- package/dist/types/src/components/Markdown/Slide.stories.d.ts.map +1 -1
- package/dist/types/src/components/MarkdownSlide.d.ts +2 -2
- package/dist/types/src/components/MarkdownSlide.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/Pager.d.ts +4 -4
- package/dist/types/src/components/Presenter/Pager.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/Pager.stories.d.ts +12 -3
- package/dist/types/src/components/Presenter/Pager.stories.d.ts.map +1 -1
- package/dist/types/src/components/PresenterSettings.d.ts.map +1 -1
- package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts.map +1 -1
- package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts +18 -2
- package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +18 -3
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +9 -8
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +3 -3
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +29 -30
- package/src/PresenterPlugin.tsx +2 -2
- package/src/capabilities/app-graph-builder.ts +38 -4
- package/src/capabilities/react-surface.tsx +20 -10
- package/src/capabilities/settings.ts +1 -1
- package/src/components/CollectionPresenterContainer.tsx +2 -1
- package/src/components/DocumentPresenterContainer.tsx +4 -3
- package/src/components/Markdown/Container.stories.tsx +20 -17
- package/src/components/Markdown/Slide.stories.tsx +9 -6
- package/src/components/Markdown/Slide.tsx +12 -128
- package/src/components/Markdown/styles.css +104 -0
- package/src/components/Markdown/typings.d.ts +8 -0
- package/src/components/MarkdownSlide.tsx +2 -2
- package/src/components/Presenter/Pager.stories.tsx +10 -5
- package/src/components/Presenter/Pager.tsx +10 -12
- package/src/components/PresenterSettings.tsx +13 -9
- package/src/components/RevealPlayer/RevealPlayer.stories.tsx +6 -5
- package/src/components/RevealPlayer/RevealPlayer.tsx +50 -53
- package/src/translations.ts +7 -4
- package/src/types.ts +2 -2
- package/src/useExitPresenter.ts +1 -1
- package/dist/lib/browser/CollectionPresenterContainer-YEJSMZFR.mjs.map +0 -7
- package/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs.map +0 -7
- package/dist/lib/browser/MarkdownSlide-EI5XTZGO.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-NEAHHOKU.mjs.map +0 -7
- package/dist/lib/browser/chunk-4OPZ2PG6.mjs.map +0 -7
- package/dist/lib/browser/chunk-P2I7C2CY.mjs.map +0 -7
- package/dist/lib/browser/react-surface-6WH4XLTT.mjs.map +0 -7
- /package/dist/lib/browser/{chunk-S2S5RFJ4.mjs.map → chunk-VSD5LSE5.mjs.map} +0 -0
|
@@ -1,27 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W4IR3DJE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRESENTER_PLUGIN
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
7
7
|
|
|
8
|
-
//
|
|
8
|
+
// src/capabilities/app-graph-builder.ts
|
|
9
9
|
import { Rx } from "@effect-rx/rx-react";
|
|
10
10
|
import { Option, pipe } from "effect";
|
|
11
|
-
import {
|
|
11
|
+
import { Capabilities, LayoutAction, contributes, createIntent } from "@dxos/app-framework";
|
|
12
12
|
import { Obj } from "@dxos/echo";
|
|
13
13
|
import { DeckCapabilities } from "@dxos/plugin-deck";
|
|
14
14
|
import { ATTENDABLE_PATH_SEPARATOR, DeckAction } from "@dxos/plugin-deck/types";
|
|
15
15
|
import { createExtension, rxFromSignal } from "@dxos/plugin-graph";
|
|
16
|
-
import {
|
|
16
|
+
import { Markdown } from "@dxos/plugin-markdown/types";
|
|
17
17
|
import { fullyQualifiedId, getSpace } from "@dxos/react-client/echo";
|
|
18
18
|
import { DataType } from "@dxos/schema";
|
|
19
|
-
var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBuilder, createExtension({
|
|
19
|
+
var app_graph_builder_default = ((context) => contributes(Capabilities.AppGraphBuilder, createExtension({
|
|
20
20
|
id: PRESENTER_PLUGIN,
|
|
21
|
+
// TODO(wittjosiah): This is a hack to work around presenter previously relying on "variant". Remove.
|
|
22
|
+
connector: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => {
|
|
23
|
+
const [settingsStore] = get(context.capabilities(Capabilities.SettingsStore));
|
|
24
|
+
const settings = get(rxFromSignal(() => settingsStore?.getStore(PRESENTER_PLUGIN)?.value));
|
|
25
|
+
const isPresentable = settings?.presentCollections ? Obj.instanceOf(DataType.Collection, node2.data) || Obj.instanceOf(Markdown.Document, node2.data) : Obj.instanceOf(Markdown.Document, node2.data);
|
|
26
|
+
return isPresentable ? Option.some(node2.data) : Option.none();
|
|
27
|
+
}), Option.map((object) => {
|
|
28
|
+
const id = fullyQualifiedId(object);
|
|
29
|
+
return [
|
|
30
|
+
{
|
|
31
|
+
id: [
|
|
32
|
+
id,
|
|
33
|
+
"presenter"
|
|
34
|
+
].join(ATTENDABLE_PATH_SEPARATOR),
|
|
35
|
+
data: {
|
|
36
|
+
type: PRESENTER_PLUGIN,
|
|
37
|
+
object
|
|
38
|
+
},
|
|
39
|
+
type: PRESENTER_PLUGIN,
|
|
40
|
+
properties: {
|
|
41
|
+
label: "Presenter",
|
|
42
|
+
icon: "ph--presentation--regular",
|
|
43
|
+
disposition: "hidden"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
];
|
|
47
|
+
}), Option.getOrElse(() => []))),
|
|
21
48
|
actions: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => {
|
|
22
49
|
const [settingsStore] = get(context.capabilities(Capabilities.SettingsStore));
|
|
23
50
|
const settings = get(rxFromSignal(() => settingsStore?.getStore(PRESENTER_PLUGIN)?.value));
|
|
24
|
-
const isPresentable = settings?.presentCollections ? Obj.instanceOf(DataType.Collection, node2.data) || Obj.instanceOf(
|
|
51
|
+
const isPresentable = settings?.presentCollections ? Obj.instanceOf(DataType.Collection, node2.data) || Obj.instanceOf(Markdown.Document, node2.data) : Obj.instanceOf(Markdown.Document, node2.data);
|
|
25
52
|
return isPresentable ? Option.some(node2.data) : Option.none();
|
|
26
53
|
}), Option.map((object) => {
|
|
27
54
|
const id = fullyQualifiedId(object);
|
|
@@ -62,6 +89,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
62
89
|
}
|
|
63
90
|
],
|
|
64
91
|
icon: "ph--presentation--regular",
|
|
92
|
+
disposition: "list-item",
|
|
65
93
|
keyBinding: {
|
|
66
94
|
macos: "shift+meta+p",
|
|
67
95
|
windows: "shift+alt+p"
|
|
@@ -70,8 +98,8 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
70
98
|
}
|
|
71
99
|
];
|
|
72
100
|
}), Option.getOrElse(() => [])))
|
|
73
|
-
}));
|
|
101
|
+
})));
|
|
74
102
|
export {
|
|
75
103
|
app_graph_builder_default as default
|
|
76
104
|
};
|
|
77
|
-
//# sourceMappingURL=app-graph-builder-
|
|
105
|
+
//# sourceMappingURL=app-graph-builder-25KJRCKD.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 { Rx } from '@effect-rx/rx-react';\nimport { Option, pipe } from 'effect';\n\nimport { Capabilities, LayoutAction, type PluginContext, contributes, createIntent } from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\nimport { DeckCapabilities } from '@dxos/plugin-deck';\nimport { ATTENDABLE_PATH_SEPARATOR, DeckAction } from '@dxos/plugin-deck/types';\nimport { createExtension, rxFromSignal } from '@dxos/plugin-graph';\nimport { Markdown } from '@dxos/plugin-markdown/types';\nimport { fullyQualifiedId, getSpace } from '@dxos/react-client/echo';\nimport { DataType } from '@dxos/schema';\n\nimport { PRESENTER_PLUGIN } from '../meta';\nimport { PresenterAction, type PresenterSettingsProps } from '../types';\n\nexport default (context: PluginContext) =>\n contributes(\n Capabilities.AppGraphBuilder,\n createExtension({\n id: PRESENTER_PLUGIN,\n // TODO(wittjosiah): This is a hack to work around presenter previously relying on \"variant\". Remove.\n connector: (node) =>\n Rx.make((get) =>\n pipe(\n get(node),\n Option.flatMap((node) => {\n const [settingsStore] = get(context.capabilities(Capabilities.SettingsStore));\n const settings = get(\n rxFromSignal(() => settingsStore?.getStore<PresenterSettingsProps>(PRESENTER_PLUGIN)?.value),\n );\n const isPresentable = settings?.presentCollections\n ? Obj.instanceOf(DataType.Collection, node.data) || Obj.instanceOf(Markdown.Document, node.data)\n : Obj.instanceOf(Markdown.Document, node.data);\n return isPresentable ? Option.some(node.data) : Option.none();\n }),\n Option.map((object) => {\n const id = fullyQualifiedId(object);\n return [\n {\n id: [id, 'presenter'].join(ATTENDABLE_PATH_SEPARATOR),\n data: { type: PRESENTER_PLUGIN, object },\n type: PRESENTER_PLUGIN,\n properties: {\n label: 'Presenter',\n icon: 'ph--presentation--regular',\n disposition: 'hidden',\n },\n },\n ];\n }),\n Option.getOrElse(() => []),\n ),\n ),\n actions: (node) =>\n Rx.make((get) =>\n pipe(\n get(node),\n Option.flatMap((node) => {\n const [settingsStore] = get(context.capabilities(Capabilities.SettingsStore));\n const settings = get(\n rxFromSignal(() => settingsStore?.getStore<PresenterSettingsProps>(PRESENTER_PLUGIN)?.value),\n );\n const isPresentable = settings?.presentCollections\n ? Obj.instanceOf(DataType.Collection, node.data) || Obj.instanceOf(Markdown.Document, node.data)\n : Obj.instanceOf(Markdown.Document, node.data);\n return isPresentable ? Option.some(node.data) : Option.none();\n }),\n Option.map((object) => {\n const id = fullyQualifiedId(object);\n const spaceId = getSpace(object)?.id;\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.getCapability(Capabilities.IntentDispatcher);\n const layout = context.getCapability(DeckCapabilities.MutableDeckState);\n const presenterId = [id, 'presenter'].join(ATTENDABLE_PATH_SEPARATOR);\n if (!layout.deck.fullscreen) {\n void dispatch(\n createIntent(DeckAction.Adjust, {\n type: 'solo--fullscreen',\n id: presenterId,\n }),\n );\n }\n await dispatch(\n createIntent(LayoutAction.Open, {\n part: 'main',\n subject: [presenterId],\n options: { workspace: spaceId },\n }),\n );\n },\n properties: {\n label: ['toggle presentation label', { ns: PRESENTER_PLUGIN }],\n icon: 'ph--presentation--regular',\n disposition: 'list-item',\n keyBinding: {\n macos: 'shift+meta+p',\n windows: 'shift+alt+p',\n },\n },\n },\n ];\n }),\n Option.getOrElse(() => []),\n ),\n ),\n }),\n );\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAIA,SAASA,UAAU;AACnB,SAASC,QAAQC,YAAY;AAE7B,SAASC,cAAcC,cAAkCC,aAAaC,oBAAoB;AAC1F,SAASC,WAAW;AACpB,SAASC,wBAAwB;AACjC,SAASC,2BAA2BC,kBAAkB;AACtD,SAASC,iBAAiBC,oBAAoB;AAC9C,SAASC,gBAAgB;AACzB,SAASC,kBAAkBC,gBAAgB;AAC3C,SAASC,gBAAgB;AAKzB,IAAA,6BAAe,CAACC,YACdC,YACEC,aAAaC,iBACbC,gBAAgB;EACdC,IAAIC;;EAEJC,WAAW,CAACC,SACVC,GAAGC,KAAK,CAACC,QACPC,KACED,IAAIH,IAAAA,GACJK,OAAOC,QAAQ,CAACN,UAAAA;AACd,UAAM,CAACO,aAAAA,IAAiBJ,IAAIX,QAAQgB,aAAad,aAAae,aAAa,CAAA;AAC3E,UAAMC,WAAWP,IACfQ,aAAa,MAAMJ,eAAeK,SAAiCd,gBAAAA,GAAmBe,KAAAA,CAAAA;AAExF,UAAMC,gBAAgBJ,UAAUK,qBAC5BC,IAAIC,WAAWC,SAASC,YAAYnB,MAAKoB,IAAI,KAAKJ,IAAIC,WAAWI,SAASC,UAAUtB,MAAKoB,IAAI,IAC7FJ,IAAIC,WAAWI,SAASC,UAAUtB,MAAKoB,IAAI;AAC/C,WAAON,gBAAgBT,OAAOkB,KAAKvB,MAAKoB,IAAI,IAAIf,OAAOmB,KAAI;EAC7D,CAAA,GACAnB,OAAOoB,IAAI,CAACC,WAAAA;AACV,UAAM7B,KAAK8B,iBAAiBD,MAAAA;AAC5B,WAAO;MACL;QACE7B,IAAI;UAACA;UAAI;UAAa+B,KAAKC,yBAAAA;QAC3BT,MAAM;UAAEU,MAAMhC;UAAkB4B;QAAO;QACvCI,MAAMhC;QACNiC,YAAY;UACVC,OAAO;UACPC,MAAM;UACNC,aAAa;QACf;MACF;;EAEJ,CAAA,GACA7B,OAAO8B,UAAU,MAAM,CAAA,CAAE,CAAA,CAAA;EAG/BC,SAAS,CAACpC,SACRC,GAAGC,KAAK,CAACC,QACPC,KACED,IAAIH,IAAAA,GACJK,OAAOC,QAAQ,CAACN,UAAAA;AACd,UAAM,CAACO,aAAAA,IAAiBJ,IAAIX,QAAQgB,aAAad,aAAae,aAAa,CAAA;AAC3E,UAAMC,WAAWP,IACfQ,aAAa,MAAMJ,eAAeK,SAAiCd,gBAAAA,GAAmBe,KAAAA,CAAAA;AAExF,UAAMC,gBAAgBJ,UAAUK,qBAC5BC,IAAIC,WAAWC,SAASC,YAAYnB,MAAKoB,IAAI,KAAKJ,IAAIC,WAAWI,SAASC,UAAUtB,MAAKoB,IAAI,IAC7FJ,IAAIC,WAAWI,SAASC,UAAUtB,MAAKoB,IAAI;AAC/C,WAAON,gBAAgBT,OAAOkB,KAAKvB,MAAKoB,IAAI,IAAIf,OAAOmB,KAAI;EAC7D,CAAA,GACAnB,OAAOoB,IAAI,CAACC,WAAAA;AACV,UAAM7B,KAAK8B,iBAAiBD,MAAAA;AAC5B,UAAMW,UAAUC,SAASZ,MAAAA,GAAS7B;AAClC,WAAO;MACL;QACEA,IAAI,GAAG0C,gBAAgBC,mBAAmBC,IAAI,IAAI5C,EAAAA;;;QAGlDuB,MAAM,YAAA;AACJ,gBAAM,EAAEsB,iBAAiBC,SAAQ,IAAKnD,QAAQoD,cAAclD,aAAamD,gBAAgB;AACzF,gBAAMC,SAAStD,QAAQoD,cAAcG,iBAAiBC,gBAAgB;AACtE,gBAAMC,cAAc;YAACpD;YAAI;YAAa+B,KAAKC,yBAAAA;AAC3C,cAAI,CAACiB,OAAOI,KAAKC,YAAY;AAC3B,iBAAKR,SACHS,aAAaC,WAAWC,QAAQ;cAC9BxB,MAAM;cACNjC,IAAIoD;YACN,CAAA,CAAA;UAEJ;AACA,gBAAMN,SACJS,aAAaG,aAAaC,MAAM;YAC9BC,MAAM;YACNC,SAAS;cAACT;;YACVU,SAAS;cAAEC,WAAWvB;YAAQ;UAChC,CAAA,CAAA;QAEJ;QACAN,YAAY;UACVC,OAAO;YAAC;YAA6B;cAAE6B,IAAI/D;YAAiB;;UAC5DmC,MAAM;UACNC,aAAa;UACb4B,YAAY;YACVC,OAAO;YACPC,SAAS;UACX;QACF;MACF;;EAEJ,CAAA,GACA3D,OAAO8B,UAAU,MAAM,CAAA,CAAE,CAAA,CAAA;AAGjC,CAAA,CAAA;",
|
|
6
|
+
"names": ["Rx", "Option", "pipe", "Capabilities", "LayoutAction", "contributes", "createIntent", "Obj", "DeckCapabilities", "ATTENDABLE_PATH_SEPARATOR", "DeckAction", "createExtension", "rxFromSignal", "Markdown", "fullyQualifiedId", "getSpace", "DataType", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "PRESENTER_PLUGIN", "connector", "node", "Rx", "make", "get", "pipe", "Option", "flatMap", "settingsStore", "capabilities", "SettingsStore", "settings", "rxFromSignal", "getStore", "value", "isPresentable", "presentCollections", "Obj", "instanceOf", "DataType", "Collection", "data", "Markdown", "Document", "some", "none", "map", "object", "fullyQualifiedId", "join", "ATTENDABLE_PATH_SEPARATOR", "type", "properties", "label", "icon", "disposition", "getOrElse", "actions", "spaceId", "getSpace", "PresenterAction", "TogglePresentation", "_tag", "dispatchPromise", "dispatch", "getCapability", "IntentDispatcher", "layout", "DeckCapabilities", "MutableDeckState", "presenterId", "deck", "fullscreen", "createIntent", "DeckAction", "Adjust", "LayoutAction", "Open", "part", "subject", "options", "workspace", "ns", "keyBinding", "macos", "windows"]
|
|
7
|
+
}
|
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRESENTER_PLUGIN
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
4
4
|
|
|
5
|
-
//
|
|
5
|
+
// src/components/PresenterSettings.tsx
|
|
6
6
|
import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Input, useTranslation } from "@dxos/react-ui";
|
|
9
|
-
import {
|
|
9
|
+
import { ControlGroup, ControlItemInput, ControlPage, ControlSection } from "@dxos/react-ui-form";
|
|
10
10
|
var PresenterSettings = ({ settings }) => {
|
|
11
11
|
var _effect = _useSignals();
|
|
12
12
|
try {
|
|
13
13
|
const { t } = useTranslation(PRESENTER_PLUGIN);
|
|
14
|
-
return /* @__PURE__ */ React.createElement(
|
|
15
|
-
|
|
14
|
+
return /* @__PURE__ */ React.createElement(ControlPage, null, /* @__PURE__ */ React.createElement(ControlSection, {
|
|
15
|
+
title: t("settings title", {
|
|
16
|
+
ns: PRESENTER_PLUGIN
|
|
17
|
+
})
|
|
18
|
+
}, /* @__PURE__ */ React.createElement(ControlGroup, null, /* @__PURE__ */ React.createElement(ControlItemInput, {
|
|
19
|
+
title: t("present collections label")
|
|
16
20
|
}, /* @__PURE__ */ React.createElement(Input.Switch, {
|
|
17
21
|
checked: settings.presentCollections,
|
|
18
22
|
onCheckedChange: (checked) => settings.presentCollections = !!checked
|
|
19
|
-
})));
|
|
23
|
+
})))));
|
|
20
24
|
} finally {
|
|
21
25
|
_effect.f();
|
|
22
26
|
}
|
|
23
27
|
};
|
|
24
28
|
|
|
25
|
-
//
|
|
29
|
+
// src/components/index.ts
|
|
26
30
|
import { lazy } from "react";
|
|
27
|
-
var MarkdownSlide = lazy(() => import("./MarkdownSlide-
|
|
28
|
-
var DocumentPresenterContainer = lazy(() => import("./DocumentPresenterContainer-
|
|
29
|
-
var CollectionPresenterContainer = lazy(() => import("./CollectionPresenterContainer-
|
|
31
|
+
var MarkdownSlide = lazy(() => import("./MarkdownSlide-BLVWTH3U.mjs"));
|
|
32
|
+
var DocumentPresenterContainer = lazy(() => import("./DocumentPresenterContainer-F42V4KAL.mjs"));
|
|
33
|
+
var CollectionPresenterContainer = lazy(() => import("./CollectionPresenterContainer-U7D57ZVN.mjs"));
|
|
30
34
|
|
|
31
35
|
export {
|
|
32
36
|
PresenterSettings,
|
|
@@ -34,4 +38,4 @@ export {
|
|
|
34
38
|
DocumentPresenterContainer,
|
|
35
39
|
CollectionPresenterContainer
|
|
36
40
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-QOZXPXC4.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/PresenterSettings.tsx", "../../../src/components/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Input, useTranslation } from '@dxos/react-ui';\nimport { ControlGroup, ControlItemInput, ControlPage, ControlSection } from '@dxos/react-ui-form';\n\nimport { PRESENTER_PLUGIN } from '../meta';\nimport { type PresenterSettingsProps } from '../types';\n\nexport const PresenterSettings = ({ settings }: { settings: PresenterSettingsProps }) => {\n const { t } = useTranslation(PRESENTER_PLUGIN);\n\n return (\n <ControlPage>\n <ControlSection title={t('settings title', { ns: PRESENTER_PLUGIN })}>\n <ControlGroup>\n <ControlItemInput title={t('present collections label')}>\n <Input.Switch\n checked={settings.presentCollections}\n onCheckedChange={(checked) => (settings.presentCollections = !!checked)}\n />\n </ControlItemInput>\n </ControlGroup>\n </ControlSection>\n </ControlPage>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport * from './PresenterSettings';\n\nexport const MarkdownSlide = lazy(() => import('./MarkdownSlide'));\nexport const DocumentPresenterContainer = lazy(() => import('./DocumentPresenterContainer'));\nexport const CollectionPresenterContainer = lazy(() => import('./CollectionPresenterContainer'));\n"],
|
|
5
|
+
"mappings": ";;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,OAAOC,sBAAsB;AACtC,SAASC,cAAcC,kBAAkBC,aAAaC,sBAAsB;AAKrE,IAAMC,oBAAoB,CAAC,EAAEC,SAAQ,MAAwC;;;AAClF,UAAM,EAAEC,EAAC,IAAKC,eAAeC,gBAAAA;AAE7B,WACE,sBAAA,cAACC,aAAAA,MACC,sBAAA,cAACC,gBAAAA;MAAeC,OAAOL,EAAE,kBAAkB;QAAEM,IAAIJ;MAAiB,CAAA;OAChE,sBAAA,cAACK,cAAAA,MACC,sBAAA,cAACC,kBAAAA;MAAiBH,OAAOL,EAAE,2BAAA;OACzB,sBAAA,cAACS,MAAMC,QAAM;MACXC,SAASZ,SAASa;MAClBC,iBAAiB,CAACF,YAAaZ,SAASa,qBAAqB,CAAC,CAACD;;;;;AAO7E;;;ACzBA,SAASG,YAAY;AAId,IAAMC,gBAAgBC,KAAK,MAAM,OAAO,8BAAA,CAAA;AACxC,IAAMC,6BAA6BD,KAAK,MAAM,OAAO,2CAAA,CAAA;AACrD,IAAME,+BAA+BF,KAAK,MAAM,OAAO,6CAAA,CAAA;",
|
|
6
|
+
"names": ["React", "Input", "useTranslation", "ControlGroup", "ControlItemInput", "ControlPage", "ControlSection", "PresenterSettings", "settings", "t", "useTranslation", "PRESENTER_PLUGIN", "ControlPage", "ControlSection", "title", "ns", "ControlGroup", "ControlItemInput", "Input", "Switch", "checked", "presentCollections", "onCheckedChange", "lazy", "MarkdownSlide", "lazy", "DocumentPresenterContainer", "CollectionPresenterContainer"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//
|
|
1
|
+
// src/useExitPresenter.ts
|
|
2
2
|
import { useCallback } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { LayoutAction, createIntent, useCapability, useIntentDispatcher } from "@dxos/app-framework";
|
|
4
4
|
import { DeckCapabilities } from "@dxos/plugin-deck";
|
|
5
5
|
import { DeckAction } from "@dxos/plugin-deck/types";
|
|
6
6
|
import { fullyQualifiedId, getSpace } from "@dxos/react-client/echo";
|
|
@@ -33,4 +33,4 @@ var useExitPresenter = (object) => {
|
|
|
33
33
|
export {
|
|
34
34
|
useExitPresenter
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-UVGTHJUO.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/useExitPresenter.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { useCallback } from 'react';\n\nimport {
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { useCallback } from 'react';\n\nimport { LayoutAction, createIntent, useCapability, useIntentDispatcher } from '@dxos/app-framework';\nimport { type Live } from '@dxos/live-object';\nimport { DeckCapabilities } from '@dxos/plugin-deck';\nimport { DeckAction } from '@dxos/plugin-deck/types';\nimport { fullyQualifiedId, getSpace } from '@dxos/react-client/echo';\n\nexport const useExitPresenter = (object: Live<any>) => {\n const { dispatchPromise: dispatch } = useIntentDispatcher();\n const layout = useCapability(DeckCapabilities.MutableDeckState);\n\n return useCallback(() => {\n const objectId = fullyQualifiedId(object);\n if (layout.deck.fullscreen) {\n void dispatch(\n createIntent(DeckAction.Adjust, {\n type: 'solo--fullscreen',\n id: objectId,\n }),\n );\n }\n return dispatch(\n createIntent(LayoutAction.Open, {\n part: 'main',\n subject: [objectId],\n options: { workspace: getSpace(document)?.id },\n }),\n );\n }, [dispatch, object]);\n};\n"],
|
|
5
5
|
"mappings": ";AAIA,SAASA,mBAAmB;AAE5B,SAASC,cAAcC,cAAcC,eAAeC,2BAA2B;AAE/E,SAASC,wBAAwB;AACjC,SAASC,kBAAkB;AAC3B,SAASC,kBAAkBC,gBAAgB;AAEpC,IAAMC,mBAAmB,CAACC,WAAAA;AAC/B,QAAM,EAAEC,iBAAiBC,SAAQ,IAAKC,oBAAAA;AACtC,QAAMC,SAASC,cAAcC,iBAAiBC,gBAAgB;AAE9D,SAAOC,YAAY,MAAA;AACjB,UAAMC,WAAWC,iBAAiBV,MAAAA;AAClC,QAAII,OAAOO,KAAKC,YAAY;AAC1B,WAAKV,SACHW,aAAaC,WAAWC,QAAQ;QAC9BC,MAAM;QACNC,IAAIR;MACN,CAAA,CAAA;IAEJ;AACA,WAAOP,SACLW,aAAaK,aAAaC,MAAM;MAC9BC,MAAM;MACNC,SAAS;QAACZ;;MACVa,SAAS;QAAEC,WAAWC,SAASC,QAAAA,GAAWR;MAAG;IAC/C,CAAA,CAAA;EAEJ,GAAG;IAACf;IAAUF;GAAO;AACvB;",
|
|
6
|
-
"names": ["useCallback", "
|
|
6
|
+
"names": ["useCallback", "LayoutAction", "createIntent", "useCapability", "useIntentDispatcher", "DeckCapabilities", "DeckAction", "fullyQualifiedId", "getSpace", "useExitPresenter", "object", "dispatchPromise", "dispatch", "useIntentDispatcher", "layout", "useCapability", "DeckCapabilities", "MutableDeckState", "useCallback", "objectId", "fullyQualifiedId", "deck", "fullscreen", "createIntent", "DeckAction", "Adjust", "type", "id", "LayoutAction", "Open", "part", "subject", "options", "workspace", "getSpace", "document"]
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// src/meta.ts
|
|
2
2
|
var PRESENTER_PLUGIN = "dxos.org/plugin/presenter";
|
|
3
3
|
var meta = {
|
|
4
4
|
id: PRESENTER_PLUGIN,
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
PRESENTER_PLUGIN,
|
|
13
13
|
meta
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-VSD5LSE5.mjs.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRESENTER_PLUGIN
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
4
4
|
|
|
5
|
-
//
|
|
5
|
+
// src/types.ts
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
import { createContext } from "react";
|
|
8
|
-
import {
|
|
8
|
+
import { Markdown } from "@dxos/plugin-markdown/types";
|
|
9
9
|
import { DataType } from "@dxos/schema";
|
|
10
10
|
(function(PresenterAction2) {
|
|
11
11
|
const PRESENTER_ACTION = `${PRESENTER_PLUGIN}/action`;
|
|
12
12
|
class TogglePresentation extends Schema.TaggedClass()(`${PRESENTER_ACTION}/toggle-presentation`, {
|
|
13
13
|
input: Schema.Struct({
|
|
14
|
-
object: Schema.Union(
|
|
14
|
+
object: Schema.Union(Markdown.Document, DataType.Collection),
|
|
15
15
|
state: Schema.optional(Schema.Boolean)
|
|
16
16
|
}),
|
|
17
17
|
output: Schema.Void
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
PresenterSettingsSchema,
|
|
37
37
|
PresenterAction
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-W4IR3DJE.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/types.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Schema } from 'effect';\nimport { type Context, createContext } from 'react';\n\nimport { Markdown } from '@dxos/plugin-markdown/types';\nimport { DataType } from '@dxos/schema';\n\nimport { PRESENTER_PLUGIN } from './meta';\n\nexport namespace PresenterAction {\n const PRESENTER_ACTION = `${PRESENTER_PLUGIN}/action`;\n\n export class TogglePresentation extends Schema.TaggedClass<TogglePresentation>()(\n `${PRESENTER_ACTION}/toggle-presentation`,\n {\n input: Schema.Struct({\n object: Schema.Union(Markdown.Document, DataType.Collection),\n state: Schema.optional(Schema.Boolean),\n }),\n output: Schema.Void,\n },\n ) {}\n}\n\nexport type PresenterContextType = {\n running: boolean;\n start: () => void;\n stop: () => void;\n};\n\nexport const PresenterContext: Context<PresenterContextType> = createContext<PresenterContextType>({\n running: false,\n start: () => {},\n stop: () => {},\n});\n\nexport const PresenterSettingsSchema = Schema.mutable(\n Schema.Struct({\n presentCollections: Schema.optional(Schema.Boolean),\n }),\n);\n\nexport type PresenterSettingsProps = Schema.Schema.Type<typeof PresenterSettingsSchema>;\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,SAASA,cAAc;AACvB,SAAuBC,qBAAqB;AAE5C,SAASC,gBAAgB;AACzB,SAASC,gBAAgB;UAIRC,kBAAAA;AACf,QAAMC,mBAAmB,GAAGC,gBAAAA;EAErB,MAAMC,2BAA2BC,OAAOC,YAAW,EACxD,GAAGJ,gBAAAA,wBACH;IACEK,OAAOF,OAAOG,OAAO;MACnBC,QAAQJ,OAAOK,MAAMC,SAASC,UAAUC,SAASC,UAAU;MAC3DC,OAAOV,OAAOW,SAASX,OAAOY,OAAO;IACvC,CAAA;IACAC,QAAQb,OAAOc;EACjB,CAAA,EAAA;EACC;mBATUf,qBAAAA;AAUf,GAbiBH,oBAAAA,kBAAAA,CAAAA,EAAAA;AAqBV,IAAMmB,mBAAkDC,cAAoC;EACjGC,SAAS;EACTC,OAAO,MAAA;EAAO;EACdC,MAAM,MAAA;EAAO;AACf,CAAA;AAEO,IAAMC,0BAA0BpB,OAAOqB,QAC5CrB,OAAOG,OAAO;EACZmB,oBAAoBtB,OAAOW,SAASX,OAAOY,OAAO;AACpD,CAAA,CAAA;;",
|
|
6
|
+
"names": ["Schema", "createContext", "Markdown", "DataType", "PresenterAction", "PRESENTER_ACTION", "PRESENTER_PLUGIN", "TogglePresentation", "Schema", "TaggedClass", "input", "Struct", "object", "Union", "Markdown", "Document", "DataType", "Collection", "state", "optional", "Boolean", "output", "Void", "PresenterContext", "createContext", "running", "start", "stop", "PresenterSettingsSchema", "mutable", "presentCollections"]
|
|
7
|
+
}
|
|
@@ -3,27 +3,28 @@ import {
|
|
|
3
3
|
DocumentPresenterContainer,
|
|
4
4
|
MarkdownSlide,
|
|
5
5
|
PresenterSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QOZXPXC4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
PRESENTER_PLUGIN,
|
|
9
9
|
meta
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
11
11
|
|
|
12
|
-
//
|
|
13
|
-
import {
|
|
12
|
+
// src/PresenterPlugin.tsx
|
|
13
|
+
import { Capabilities, Events, contributes, defineModule, definePlugin } from "@dxos/app-framework";
|
|
14
14
|
|
|
15
|
-
//
|
|
15
|
+
// src/capabilities/index.ts
|
|
16
16
|
import { lazy } from "@dxos/app-framework";
|
|
17
|
-
var AppGraphBuilder = lazy(() => import("./app-graph-builder-
|
|
18
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
19
|
-
var PresenterSettings2 = lazy(() => import("./settings-
|
|
17
|
+
var AppGraphBuilder = lazy(() => import("./app-graph-builder-25KJRCKD.mjs"));
|
|
18
|
+
var ReactSurface = lazy(() => import("./react-surface-4WFDCQFU.mjs"));
|
|
19
|
+
var PresenterSettings2 = lazy(() => import("./settings-H6OCPWOP.mjs"));
|
|
20
20
|
|
|
21
|
-
//
|
|
22
|
-
var
|
|
21
|
+
// src/translations.ts
|
|
22
|
+
var translations = [
|
|
23
23
|
{
|
|
24
24
|
"en-US": {
|
|
25
|
-
[
|
|
25
|
+
[meta.id]: {
|
|
26
26
|
"plugin name": "Presenter",
|
|
27
|
+
"settings title": "Presenter settings",
|
|
27
28
|
"toggle presentation label": "Present",
|
|
28
29
|
"present collections label": "Present collections (experimental)"
|
|
29
30
|
}
|
|
@@ -31,7 +32,7 @@ var translations_default = [
|
|
|
31
32
|
}
|
|
32
33
|
];
|
|
33
34
|
|
|
34
|
-
//
|
|
35
|
+
// src/PresenterPlugin.tsx
|
|
35
36
|
var PresenterPlugin = () => definePlugin(meta, [
|
|
36
37
|
defineModule({
|
|
37
38
|
id: `${meta.id}/module/settings`,
|
|
@@ -41,7 +42,7 @@ var PresenterPlugin = () => definePlugin(meta, [
|
|
|
41
42
|
defineModule({
|
|
42
43
|
id: `${meta.id}/module/translations`,
|
|
43
44
|
activatesOn: Events.SetupTranslations,
|
|
44
|
-
activate: () => contributes(Capabilities.Translations,
|
|
45
|
+
activate: () => contributes(Capabilities.Translations, translations)
|
|
45
46
|
}),
|
|
46
47
|
defineModule({
|
|
47
48
|
id: `${meta.id}/module/react-surface`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/PresenterPlugin.tsx", "../../../src/capabilities/index.ts", "../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;AAIA,SAASA,cAAcC,
|
|
6
|
-
"names": ["
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, Events, contributes, defineModule, definePlugin } from '@dxos/app-framework';\n\nimport { AppGraphBuilder, PresenterSettings, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\n\n// TODO(burdon): Only scale markdown content.\n// TODO(burdon): Map stack content; Slide content type (e.g., markdown, sketch, IPFS image, table, etc.)\n\nexport const PresenterPlugin = () =>\n definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/settings`,\n activatesOn: Events.SetupSettings,\n activate: PresenterSettings,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n ]);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\nexport const PresenterSettings = lazy(() => import('./settings'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin name': 'Presenter',\n 'settings title': 'Presenter settings',\n 'toggle presentation label': 'Present',\n 'present collections label': 'Present collections (experimental)',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;AAIA,SAASA,cAAcC,QAAQC,aAAaC,cAAcC,oBAAoB;;;ACA9E,SAASC,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,eAAeD,KAAK,MAAM,OAAO,8BAAA,CAAA;AACvC,IAAME,qBAAoBF,KAAK,MAAM,OAAO,yBAAA,CAAA;;;ACA5C,IAAMG,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,6BAA6B;QAC7B,6BAA6B;MAC/B;IACF;EACF;;;;AFLK,IAAMC,kBAAkB,MAC7BC,aAAaC,MAAM;EACjBC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAUC;EACZ,CAAA;EACAN,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOI;IACpBF,UAAU,MAAMG,YAAYC,aAAaC,cAAcC,YAAAA;EACzD,CAAA;EACAX,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOS;IACpBP,UAAUQ;EACZ,CAAA;EACAb,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOW;IACpBT,UAAUU;EACZ,CAAA;CACD;",
|
|
6
|
+
"names": ["Capabilities", "Events", "contributes", "defineModule", "definePlugin", "lazy", "AppGraphBuilder", "lazy", "ReactSurface", "PresenterSettings", "translations", "meta", "id", "PresenterPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "SetupSettings", "activate", "PresenterSettings", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "SetupReactSurface", "ReactSurface", "SetupAppGraph", "AppGraphBuilder"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytes":1462,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytes":3128,"imports":[{"path":"@preact-signals/safe-react/tracking","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-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":8344,"imports":[{"path":"@preact-signals/safe-react/tracking","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}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytes":2173,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytes":17587,"imports":[{"path":"@preact-signals/safe-react/tracking","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},{"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":579,"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":2050,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"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":16725,"imports":[{"path":"@preact-signals/safe-react/tracking","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}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytes":509,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"packages/plugins/plugin-presenter/src/useExitPresenter.ts":{"bytes":4175,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/DocumentPresenterContainer.tsx":{"bytes":2713,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","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/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytes":3639,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"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":12960,"imports":[{"path":"@preact-signals/safe-react/tracking","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}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytes":573,"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/types.ts":{"bytes":4281,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","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/CollectionPresenterContainer.tsx":{"bytes":5201,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","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"},{"path":"packages/plugins/plugin-presenter/src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytes":1545,"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/DocumentPresenterContainer.tsx","kind":"dynamic-import","original":"./DocumentPresenterContainer"},{"path":"packages/plugins/plugin-presenter/src/components/CollectionPresenterContainer.tsx","kind":"dynamic-import","original":"./CollectionPresenterContainer"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts":{"bytes":12552,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","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/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","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/react-surface.tsx":{"bytes":7379,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","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/schema","kind":"import-statement","external":true},{"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"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/settings.ts":{"bytes":1923,"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/index.ts":{"bytes":1308,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"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/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-presenter/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"packages/plugins/plugin-presenter/src/translations.ts":{"bytes":1358,"imports":[{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytes":4418,"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":666,"imports":[{"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/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3199},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-4OPZ2PG6.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/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-NEAHHOKU.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6WH4XLTT.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/settings-KZGHTWTK.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PRESENTER_PLUGIN","PresenterPlugin","PresenterSettings","meta"],"entryPoint":"packages/plugins/plugin-presenter/src/index.ts","inputs":{"packages/plugins/plugin-presenter/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytesInOutput":750},"packages/plugins/plugin-presenter/src/capabilities/index.ts":{"bytesInOutput":265},"packages/plugins/plugin-presenter/src/translations.ts":{"bytesInOutput":255}},"bytes":1915},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-EI5XTZGO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13468},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-EI5XTZGO.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":504},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytesInOutput":1552},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytesInOutput":5281},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytesInOutput":516}},"bytes":8384},"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8908},"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","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/DocumentPresenterContainer.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/DocumentPresenterContainer.tsx":{"bytesInOutput":658},"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4731},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5824},"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-YEJSMZFR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10324},"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-YEJSMZFR.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","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/CollectionPresenterContainer.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/CollectionPresenterContainer.tsx":{"bytesInOutput":1332},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytesInOutput":1093},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytesInOutput":3363}},"bytes":6385},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2297},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["useExitPresenter"],"inputs":{"packages/plugins/plugin-presenter/src/useExitPresenter.ts":{"bytesInOutput":954}},"bytes":1091},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-NEAHHOKU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6378},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-NEAHHOKU.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","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/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","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":2750}},"bytes":3050},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6WH4XLTT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3718},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6WH4XLTT.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-4OPZ2PG6.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","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/schema","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":1657}},"bytes":2027},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-4OPZ2PG6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2252},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-4OPZ2PG6.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","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-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-EI5XTZGO.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-YEJSMZFR.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterSettings"],"inputs":{"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytesInOutput":791},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytesInOutput":302}},"bytes":1445},"packages/plugins/plugin-presenter/dist/lib/browser/settings-KZGHTWTK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":981},"packages/plugins/plugin-presenter/dist/lib/browser/settings-KZGHTWTK.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.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":300}},"bytes":569},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2338},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PresenterAction","PresenterContext","PresenterSettingsSchema"],"inputs":{"packages/plugins/plugin-presenter/src/types.ts":{"bytesInOutput":890}},"bytes":1122},"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}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1449,"imports":[],"format":"esm"},"src/components/PresenterSettings.tsx":{"bytes":3691,"imports":[{"path":"@preact-signals/safe-react/tracking","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-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/Markdown/Container.tsx":{"bytes":8331,"imports":[{"path":"@preact-signals/safe-react/tracking","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}],"format":"esm"},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw":{"bytes":1972,"imports":[]},"src/components/Markdown/theme.ts":{"bytes":2160,"imports":[],"format":"esm"},"src/components/Markdown/Slide.tsx":{"bytes":12093,"imports":[{"path":"@preact-signals/safe-react/tracking","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},{"path":"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw","kind":"import-statement","original":"./styles.css?raw"},{"path":"src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"src/components/Markdown/index.ts":{"bytes":566,"imports":[{"path":"src/components/Markdown/Container.tsx","kind":"import-statement","original":"./Container"},{"path":"src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"src/components/MarkdownSlide.tsx":{"bytes":2037,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"src/useExitPresenter.ts":{"bytes":4162,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":15898,"imports":[{"path":"@preact-signals/safe-react/tracking","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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/RevealPlayer/index.ts":{"bytes":496,"imports":[{"path":"src/components/RevealPlayer/RevealPlayer.tsx","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"src/components/DocumentPresenterContainer.tsx":{"bytes":2704,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"},{"path":"src/components/RevealPlayer/index.ts","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"src/types.ts":{"bytes":4301,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/components/Presenter/Layout.tsx":{"bytes":3626,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/Pager.tsx":{"bytes":12484,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/index.ts":{"bytes":560,"imports":[{"path":"src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"src/components/CollectionPresenterContainer.tsx":{"bytes":5188,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"},{"path":"src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"}],"format":"esm"},"src/components/index.ts":{"bytes":1532,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/PresenterSettings.tsx","kind":"import-statement","original":"./PresenterSettings"},{"path":"src/components/MarkdownSlide.tsx","kind":"dynamic-import","original":"./MarkdownSlide"},{"path":"src/components/DocumentPresenterContainer.tsx","kind":"dynamic-import","original":"./DocumentPresenterContainer"},{"path":"src/components/CollectionPresenterContainer.tsx","kind":"dynamic-import","original":"./CollectionPresenterContainer"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":17392,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","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/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":8608,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","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/schema","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":1910,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1295,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"src/translations.ts":{"bytes":1609,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/PresenterPlugin.tsx":{"bytes":4421,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":653,"imports":[{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3350},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QOZXPXC4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-25KJRCKD.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-4WFDCQFU.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-H6OCPWOP.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PRESENTER_PLUGIN","PresenterPlugin","PresenterSettings","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/PresenterPlugin.tsx":{"bytesInOutput":742},"src/capabilities/index.ts":{"bytesInOutput":265},"src/translations.ts":{"bytesInOutput":286}},"bytes":1802},"dist/lib/browser/MarkdownSlide-BLVWTH3U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13276},"dist/lib/browser/MarkdownSlide-BLVWTH3U.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":"src/components/MarkdownSlide.tsx","inputs":{"src/components/MarkdownSlide.tsx":{"bytesInOutput":504},"src/components/Markdown/Container.tsx":{"bytesInOutput":1552},"src/components/Markdown/index.ts":{"bytesInOutput":0},"src/components/Markdown/Slide.tsx":{"bytesInOutput":2934},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw":{"bytesInOutput":2101},"src/components/Markdown/theme.ts":{"bytesInOutput":516}},"bytes":8037},"dist/lib/browser/DocumentPresenterContainer-F42V4KAL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8581},"dist/lib/browser/DocumentPresenterContainer-F42V4KAL.mjs":{"imports":[{"path":"dist/lib/browser/chunk-UVGTHJUO.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/DocumentPresenterContainer.tsx","inputs":{"src/components/DocumentPresenterContainer.tsx":{"bytesInOutput":658},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4604},"src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5595},"dist/lib/browser/CollectionPresenterContainer-U7D57ZVN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9921},"dist/lib/browser/CollectionPresenterContainer-U7D57ZVN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-UVGTHJUO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W4IR3DJE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/CollectionPresenterContainer.tsx","inputs":{"src/components/CollectionPresenterContainer.tsx":{"bytesInOutput":1332},"src/components/Presenter/Layout.tsx":{"bytesInOutput":1093},"src/components/Presenter/index.ts":{"bytesInOutput":0},"src/components/Presenter/Pager.tsx":{"bytesInOutput":3255}},"bytes":6141},"dist/lib/browser/chunk-UVGTHJUO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2297},"dist/lib/browser/chunk-UVGTHJUO.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["useExitPresenter"],"inputs":{"src/useExitPresenter.ts":{"bytesInOutput":954}},"bytes":1057},"dist/lib/browser/app-graph-builder-25KJRCKD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8717},"dist/lib/browser/app-graph-builder-25KJRCKD.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W4IR3DJE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","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/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":3918}},"bytes":4184},"dist/lib/browser/react-surface-4WFDCQFU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4360},"dist/lib/browser/react-surface-4WFDCQFU.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QOZXPXC4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","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/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1929}},"bytes":2265},"dist/lib/browser/chunk-QOZXPXC4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2563},"dist/lib/browser/chunk-QOZXPXC4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","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-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/MarkdownSlide-BLVWTH3U.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/DocumentPresenterContainer-F42V4KAL.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/CollectionPresenterContainer-U7D57ZVN.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterSettings"],"inputs":{"src/components/PresenterSettings.tsx":{"bytesInOutput":983},"src/components/index.ts":{"bytesInOutput":302}},"bytes":1569},"dist/lib/browser/settings-H6OCPWOP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":981},"dist/lib/browser/settings-H6OCPWOP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W4IR3DJE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.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":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":302}},"bytes":537},"dist/lib/browser/chunk-W4IR3DJE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2349},"dist/lib/browser/chunk-W4IR3DJE.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PresenterAction","PresenterContext","PresenterSettingsSchema"],"inputs":{"src/types.ts":{"bytesInOutput":891}},"bytes":1089},"dist/lib/browser/chunk-VSD5LSE5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":712},"dist/lib/browser/chunk-VSD5LSE5.mjs":{"imports":[],"exports":["PRESENTER_PLUGIN","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":286}},"bytes":385}}}
|
|
@@ -3,41 +3,41 @@ import {
|
|
|
3
3
|
DocumentPresenterContainer,
|
|
4
4
|
MarkdownSlide,
|
|
5
5
|
PresenterSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QOZXPXC4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
PRESENTER_PLUGIN
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// src/capabilities/react-surface.tsx
|
|
12
12
|
import React from "react";
|
|
13
13
|
import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
|
|
14
14
|
import { Obj } from "@dxos/echo";
|
|
15
15
|
import { SettingsStore } from "@dxos/local-storage";
|
|
16
|
-
import {
|
|
16
|
+
import { Markdown } from "@dxos/plugin-markdown/types";
|
|
17
17
|
import { DataType } from "@dxos/schema";
|
|
18
|
-
var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
18
|
+
var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
|
|
19
19
|
createSurface({
|
|
20
20
|
id: `${PRESENTER_PLUGIN}/document`,
|
|
21
21
|
role: "article",
|
|
22
22
|
position: "hoist",
|
|
23
|
-
filter: (data) =>
|
|
23
|
+
filter: (data) => !!data.subject && typeof data.subject === "object" && "type" in data.subject && "object" in data.subject && data.subject.type === PRESENTER_PLUGIN && Obj.instanceOf(Markdown.Document, data.subject.object),
|
|
24
24
|
component: ({ data }) => /* @__PURE__ */ React.createElement(DocumentPresenterContainer, {
|
|
25
|
-
document: data.subject
|
|
25
|
+
document: data.subject.object
|
|
26
26
|
})
|
|
27
27
|
}),
|
|
28
28
|
createSurface({
|
|
29
29
|
id: `${PRESENTER_PLUGIN}/collection`,
|
|
30
30
|
role: "article",
|
|
31
31
|
position: "hoist",
|
|
32
|
-
filter: (data) =>
|
|
32
|
+
filter: (data) => !!data.subject && typeof data.subject === "object" && "type" in data.subject && "object" in data.subject && data.subject.type === PRESENTER_PLUGIN && Obj.instanceOf(DataType.Collection, data.subject.object),
|
|
33
33
|
component: ({ data }) => /* @__PURE__ */ React.createElement(CollectionPresenterContainer, {
|
|
34
|
-
collection: data.subject
|
|
34
|
+
collection: data.subject.object
|
|
35
35
|
})
|
|
36
36
|
}),
|
|
37
37
|
createSurface({
|
|
38
38
|
id: `${PRESENTER_PLUGIN}/slide`,
|
|
39
39
|
role: "slide",
|
|
40
|
-
filter: (data) => Obj.instanceOf(
|
|
40
|
+
filter: (data) => Obj.instanceOf(Markdown.Document, data.subject),
|
|
41
41
|
component: ({ data }) => /* @__PURE__ */ React.createElement(MarkdownSlide, {
|
|
42
42
|
document: data.subject
|
|
43
43
|
})
|
|
@@ -50,8 +50,8 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
50
50
|
settings: subject.value
|
|
51
51
|
})
|
|
52
52
|
})
|
|
53
|
-
]);
|
|
53
|
+
]));
|
|
54
54
|
export {
|
|
55
55
|
react_surface_default as default
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=react-surface-
|
|
57
|
+
//# sourceMappingURL=react-surface-4WFDCQFU.mjs.map
|