@dxos/plugin-presenter 0.8.4-main.72ec0f3 → 0.8.4-main.937b3ca

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.
Files changed (103) hide show
  1. package/dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs +176 -0
  2. package/dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs.map +7 -0
  3. package/dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs +173 -0
  4. package/dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs.map +7 -0
  5. package/dist/lib/browser/{MarkdownSlide-MEXR54L5.mjs → MarkdownSlide-GIYJABHE.mjs} +54 -77
  6. package/dist/lib/browser/MarkdownSlide-GIYJABHE.mjs.map +7 -0
  7. package/dist/lib/browser/app-graph-builder-2QAQR34J.mjs +112 -0
  8. package/dist/lib/browser/app-graph-builder-2QAQR34J.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-4PZXJXBO.mjs +50 -0
  10. package/dist/lib/browser/chunk-4PZXJXBO.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-5MC4V23G.mjs +38 -0
  12. package/dist/lib/browser/chunk-5MC4V23G.mjs.map +7 -0
  13. package/dist/lib/browser/chunk-GM4KOXJY.mjs +41 -0
  14. package/dist/lib/browser/chunk-GM4KOXJY.mjs.map +7 -0
  15. package/dist/lib/browser/{chunk-TMTUZQCK.mjs → chunk-VQVZVXPJ.mjs} +1 -1
  16. package/dist/lib/browser/chunk-VQVZVXPJ.mjs.map +7 -0
  17. package/dist/lib/browser/index.mjs +23 -30
  18. package/dist/lib/browser/index.mjs.map +4 -4
  19. package/dist/lib/browser/meta.json +1 -1
  20. package/dist/lib/browser/{react-surface-S4T6X72R.mjs → react-surface-2VP2M4Z7.mjs} +24 -18
  21. package/dist/lib/browser/react-surface-2VP2M4Z7.mjs.map +7 -0
  22. package/dist/lib/browser/settings-RDHXCCT4.mjs +31 -0
  23. package/dist/lib/browser/settings-RDHXCCT4.mjs.map +7 -0
  24. package/dist/types/src/PresenterPlugin.d.ts +2 -1
  25. package/dist/types/src/PresenterPlugin.d.ts.map +1 -1
  26. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
  27. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
  28. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
  29. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
  30. package/dist/types/src/capabilities/index.d.ts +3 -3
  31. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  32. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  33. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  34. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  35. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  36. package/dist/types/src/capabilities/settings/index.d.ts +7 -0
  37. package/dist/types/src/capabilities/settings/index.d.ts.map +1 -0
  38. package/dist/types/src/capabilities/settings/settings.d.ts +9 -0
  39. package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -0
  40. package/dist/types/src/components/CollectionPresenterContainer.d.ts +4 -4
  41. package/dist/types/src/components/CollectionPresenterContainer.d.ts.map +1 -1
  42. package/dist/types/src/components/MarkdownSlide.d.ts +4 -3
  43. package/dist/types/src/components/MarkdownSlide.d.ts.map +1 -1
  44. package/dist/types/src/components/Presenter/Pager.d.ts +1 -1
  45. package/dist/types/src/components/Presenter/Pager.d.ts.map +1 -1
  46. package/dist/types/src/components/PresenterSettings.d.ts +4 -2
  47. package/dist/types/src/components/PresenterSettings.d.ts.map +1 -1
  48. package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts.map +1 -1
  49. package/dist/types/src/components/index.d.ts +20 -19
  50. package/dist/types/src/components/index.d.ts.map +1 -1
  51. package/dist/types/src/meta.d.ts +2 -2
  52. package/dist/types/src/meta.d.ts.map +1 -1
  53. package/dist/types/src/types.d.ts +35 -26
  54. package/dist/types/src/types.d.ts.map +1 -1
  55. package/dist/types/src/useExitPresenter.d.ts +2 -3
  56. package/dist/types/src/useExitPresenter.d.ts.map +1 -1
  57. package/dist/types/tsconfig.tsbuildinfo +1 -1
  58. package/package.json +45 -40
  59. package/src/PresenterPlugin.tsx +8 -23
  60. package/src/capabilities/app-graph-builder/app-graph-builder.ts +105 -0
  61. package/src/capabilities/app-graph-builder/index.ts +7 -0
  62. package/src/capabilities/index.ts +3 -5
  63. package/src/capabilities/react-surface/index.ts +7 -0
  64. package/src/capabilities/react-surface/react-surface.tsx +70 -0
  65. package/src/capabilities/settings/index.ts +7 -0
  66. package/src/capabilities/settings/settings.ts +30 -0
  67. package/src/components/CollectionPresenterContainer.tsx +12 -13
  68. package/src/components/DocumentPresenterContainer.tsx +3 -3
  69. package/src/components/Markdown/Container.tsx +1 -1
  70. package/src/components/MarkdownSlide.tsx +6 -2
  71. package/src/components/Presenter/Layout.tsx +1 -1
  72. package/src/components/Presenter/Pager.tsx +2 -2
  73. package/src/components/PresenterSettings.tsx +7 -2
  74. package/src/components/RevealPlayer/RevealPlayer.tsx +4 -1
  75. package/src/meta.ts +2 -2
  76. package/src/types.ts +14 -6
  77. package/src/useExitPresenter.ts +22 -24
  78. package/dist/lib/browser/CollectionPresenterContainer-4JFW3EKV.mjs +0 -199
  79. package/dist/lib/browser/CollectionPresenterContainer-4JFW3EKV.mjs.map +0 -7
  80. package/dist/lib/browser/DocumentPresenterContainer-SX32NAEH.mjs +0 -183
  81. package/dist/lib/browser/DocumentPresenterContainer-SX32NAEH.mjs.map +0 -7
  82. package/dist/lib/browser/MarkdownSlide-MEXR54L5.mjs.map +0 -7
  83. package/dist/lib/browser/app-graph-builder-UJEKUKAP.mjs +0 -106
  84. package/dist/lib/browser/app-graph-builder-UJEKUKAP.mjs.map +0 -7
  85. package/dist/lib/browser/chunk-BJWK5GQV.mjs +0 -38
  86. package/dist/lib/browser/chunk-BJWK5GQV.mjs.map +0 -7
  87. package/dist/lib/browser/chunk-Q3H4KEFB.mjs +0 -41
  88. package/dist/lib/browser/chunk-Q3H4KEFB.mjs.map +0 -7
  89. package/dist/lib/browser/chunk-TMTUZQCK.mjs.map +0 -7
  90. package/dist/lib/browser/chunk-VRRPVTKA.mjs +0 -39
  91. package/dist/lib/browser/chunk-VRRPVTKA.mjs.map +0 -7
  92. package/dist/lib/browser/react-surface-S4T6X72R.mjs.map +0 -7
  93. package/dist/lib/browser/settings-57TUVRW3.mjs +0 -22
  94. package/dist/lib/browser/settings-57TUVRW3.mjs.map +0 -7
  95. package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
  96. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
  97. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  98. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  99. package/dist/types/src/capabilities/settings.d.ts +0 -4
  100. package/dist/types/src/capabilities/settings.d.ts.map +0 -1
  101. package/src/capabilities/app-graph-builder.ts +0 -117
  102. package/src/capabilities/react-surface.tsx +0 -63
  103. package/src/capabilities/settings.ts +0 -19
@@ -0,0 +1,112 @@
1
+ import {
2
+ PresenterCapabilities,
3
+ PresenterOperation
4
+ } from "./chunk-4PZXJXBO.mjs";
5
+ import {
6
+ meta
7
+ } from "./chunk-VQVZVXPJ.mjs";
8
+
9
+ // src/capabilities/app-graph-builder/app-graph-builder.ts
10
+ import * as Effect from "effect/Effect";
11
+ import * as Option from "effect/Option";
12
+ import { Capability, Common } from "@dxos/app-framework";
13
+ import { Obj } from "@dxos/echo";
14
+ import { Operation } from "@dxos/operation";
15
+ import { DeckCapabilities } from "@dxos/plugin-deck";
16
+ import { ATTENDABLE_PATH_SEPARATOR, DeckOperation } from "@dxos/plugin-deck/types";
17
+ import { GraphBuilder, NodeMatcher } from "@dxos/plugin-graph";
18
+ import { Markdown } from "@dxos/plugin-markdown/types";
19
+ import { Collection } from "@dxos/schema";
20
+ var whenPresentable = (node) => Option.orElse(NodeMatcher.whenEchoType(Collection.Collection)(node), () => NodeMatcher.whenEchoType(Markdown.Document)(node));
21
+ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function* () {
22
+ const capabilities = yield* Capability.Service;
23
+ const extensions = yield* GraphBuilder.createExtension({
24
+ id: `${meta.id}/root`,
25
+ // TODO(wittjosiah): This is a hack to work around presenter previously relying on "variant". Remove.
26
+ match: whenPresentable,
27
+ connector: (object, get) => {
28
+ const settingsAtom = capabilities.get(PresenterCapabilities.Settings);
29
+ const settings = get(settingsAtom);
30
+ const isPresentable = settings?.presentCollections ? Obj.instanceOf(Collection.Collection, object) || Obj.instanceOf(Markdown.Document, object) : Obj.instanceOf(Markdown.Document, object);
31
+ if (!isPresentable) {
32
+ return Effect.succeed([]);
33
+ }
34
+ const id = Obj.getDXN(object).toString();
35
+ return Effect.succeed([
36
+ {
37
+ id: [
38
+ id,
39
+ "presenter"
40
+ ].join(ATTENDABLE_PATH_SEPARATOR),
41
+ data: {
42
+ type: meta.id,
43
+ object
44
+ },
45
+ type: meta.id,
46
+ properties: {
47
+ label: "Presenter",
48
+ icon: "ph--presentation--regular",
49
+ disposition: "hidden"
50
+ }
51
+ }
52
+ ]);
53
+ },
54
+ actions: (object, get) => {
55
+ const settingsAtom = capabilities.get(PresenterCapabilities.Settings);
56
+ const settings = get(settingsAtom);
57
+ const isPresentable = settings?.presentCollections ? Obj.instanceOf(Collection.Collection, object) || Obj.instanceOf(Markdown.Document, object) : Obj.instanceOf(Markdown.Document, object);
58
+ if (!isPresentable) {
59
+ return Effect.succeed([]);
60
+ }
61
+ const dxn = Obj.getDXN(object);
62
+ const id = dxn.toString();
63
+ const { spaceId } = dxn.asEchoDXN();
64
+ return Effect.succeed([
65
+ {
66
+ id: `${PresenterOperation.TogglePresentation.meta.key}/${id}`,
67
+ // TODO(burdon): Allow function so can generate state when activated.
68
+ // So can set explicit fullscreen state coordinated with current presenter state.
69
+ data: Effect.fnUntraced(function* () {
70
+ const deckState = yield* Common.Capability.getAtomValue(DeckCapabilities.State);
71
+ const deck = deckState.decks[deckState.activeDeck];
72
+ const presenterId = [
73
+ id,
74
+ "presenter"
75
+ ].join(ATTENDABLE_PATH_SEPARATOR);
76
+ if (!deck?.fullscreen) {
77
+ yield* Operation.invoke(DeckOperation.Adjust, {
78
+ type: "solo--fullscreen",
79
+ id: presenterId
80
+ });
81
+ }
82
+ yield* Operation.invoke(Common.LayoutOperation.Open, {
83
+ subject: [
84
+ presenterId
85
+ ],
86
+ workspace: spaceId
87
+ });
88
+ }),
89
+ properties: {
90
+ label: [
91
+ "toggle presentation label",
92
+ {
93
+ ns: meta.id
94
+ }
95
+ ],
96
+ icon: "ph--presentation--regular",
97
+ disposition: "list-item",
98
+ keyBinding: {
99
+ macos: "shift+meta+p",
100
+ windows: "shift+alt+p"
101
+ }
102
+ }
103
+ }
104
+ ]);
105
+ }
106
+ });
107
+ return Capability.contributes(Common.Capability.AppGraphBuilder, extensions);
108
+ }));
109
+ export {
110
+ app_graph_builder_default as default
111
+ };
112
+ //# sourceMappingURL=app-graph-builder-2QAQR34J.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport * as Option from 'effect/Option';\n\nimport { Capability, Common } from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\nimport { Operation } from '@dxos/operation';\nimport { DeckCapabilities } from '@dxos/plugin-deck';\nimport { ATTENDABLE_PATH_SEPARATOR, DeckOperation } from '@dxos/plugin-deck/types';\nimport { GraphBuilder, type Node, NodeMatcher } from '@dxos/plugin-graph';\nimport { Markdown } from '@dxos/plugin-markdown/types';\nimport { Collection } from '@dxos/schema';\n\nimport { meta } from '../../meta';\nimport { PresenterCapabilities, PresenterOperation } from '../../types';\n\n/** Match nodes that can be presented (Collection or Document). */\nconst whenPresentable = (node: Node.Node) =>\n Option.orElse(NodeMatcher.whenEchoType(Collection.Collection)(node), () =>\n NodeMatcher.whenEchoType(Markdown.Document)(node),\n );\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const capabilities = yield* Capability.Service;\n\n const extensions = yield* GraphBuilder.createExtension({\n id: `${meta.id}/root`,\n // TODO(wittjosiah): This is a hack to work around presenter previously relying on \"variant\". Remove.\n match: whenPresentable,\n connector: (object, get) => {\n const settingsAtom = capabilities.get(PresenterCapabilities.Settings);\n const settings = get(settingsAtom);\n const isPresentable = settings?.presentCollections\n ? Obj.instanceOf(Collection.Collection, object) || Obj.instanceOf(Markdown.Document, object)\n : Obj.instanceOf(Markdown.Document, object);\n if (!isPresentable) {\n return Effect.succeed([]);\n }\n const id = Obj.getDXN(object).toString();\n return Effect.succeed([\n {\n id: [id, 'presenter'].join(ATTENDABLE_PATH_SEPARATOR),\n data: { type: meta.id, object },\n type: meta.id,\n properties: {\n label: 'Presenter',\n icon: 'ph--presentation--regular',\n disposition: 'hidden',\n },\n },\n ]);\n },\n actions: (object, get) => {\n const settingsAtom = capabilities.get(PresenterCapabilities.Settings);\n const settings = get(settingsAtom);\n const isPresentable = settings?.presentCollections\n ? Obj.instanceOf(Collection.Collection, object) || Obj.instanceOf(Markdown.Document, object)\n : Obj.instanceOf(Markdown.Document, object);\n if (!isPresentable) {\n return Effect.succeed([]);\n }\n const dxn = Obj.getDXN(object);\n const id = dxn.toString();\n const { spaceId } = dxn.asEchoDXN()!;\n return Effect.succeed([\n {\n id: `${PresenterOperation.TogglePresentation.meta.key}/${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: Effect.fnUntraced(function* () {\n const deckState = yield* Common.Capability.getAtomValue(DeckCapabilities.State);\n const deck = deckState.decks[deckState.activeDeck];\n const presenterId = [id, 'presenter'].join(ATTENDABLE_PATH_SEPARATOR);\n if (!deck?.fullscreen) {\n yield* Operation.invoke(DeckOperation.Adjust, {\n type: 'solo--fullscreen' as const,\n id: presenterId,\n });\n }\n yield* Operation.invoke(Common.LayoutOperation.Open, {\n subject: [presenterId],\n workspace: spaceId,\n });\n }),\n properties: {\n label: ['toggle presentation label', { ns: meta.id }],\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 });\n\n return Capability.contributes(Common.Capability.AppGraphBuilder, extensions);\n }),\n);\n"],
5
+ "mappings": ";;;;;;;;;AAIA,YAAYA,YAAY;AACxB,YAAYC,YAAY;AAExB,SAASC,YAAYC,cAAc;AACnC,SAASC,WAAW;AACpB,SAASC,iBAAiB;AAC1B,SAASC,wBAAwB;AACjC,SAASC,2BAA2BC,qBAAqB;AACzD,SAASC,cAAyBC,mBAAmB;AACrD,SAASC,gBAAgB;AACzB,SAASC,kBAAkB;AAM3B,IAAMC,kBAAkB,CAACC,SAChBC,cAAOC,YAAYC,aAAaC,WAAWA,UAAU,EAAEJ,IAAAA,GAAO,MACnEE,YAAYC,aAAaE,SAASC,QAAQ,EAAEN,IAAAA,CAAAA;AAGhD,IAAA,4BAAeO,WAAWC,WACjBC,kBAAW,aAAA;AAChB,QAAMC,eAAe,OAAOH,WAAWI;AAEvC,QAAMC,aAAa,OAAOC,aAAaC,gBAAgB;IACrDC,IAAI,GAAGC,KAAKD,EAAE;;IAEdE,OAAOlB;IACPmB,WAAW,CAACC,QAAQC,QAAAA;AAClB,YAAMC,eAAeX,aAAaU,IAAIE,sBAAsBC,QAAQ;AACpE,YAAMC,WAAWJ,IAAIC,YAAAA;AACrB,YAAMI,gBAAgBD,UAAUE,qBAC5BC,IAAIC,WAAWxB,WAAWA,YAAYe,MAAAA,KAAWQ,IAAIC,WAAWvB,SAASC,UAAUa,MAAAA,IACnFQ,IAAIC,WAAWvB,SAASC,UAAUa,MAAAA;AACtC,UAAI,CAACM,eAAe;AAClB,eAAcI,eAAQ,CAAA,CAAE;MAC1B;AACA,YAAMd,KAAKY,IAAIG,OAAOX,MAAAA,EAAQY,SAAQ;AACtC,aAAcF,eAAQ;QACpB;UACEd,IAAI;YAACA;YAAI;YAAaiB,KAAKC,yBAAAA;UAC3BC,MAAM;YAAEC,MAAMnB,KAAKD;YAAII;UAAO;UAC9BgB,MAAMnB,KAAKD;UACXqB,YAAY;YACVC,OAAO;YACPC,MAAM;YACNC,aAAa;UACf;QACF;OACD;IACH;IACAC,SAAS,CAACrB,QAAQC,QAAAA;AAChB,YAAMC,eAAeX,aAAaU,IAAIE,sBAAsBC,QAAQ;AACpE,YAAMC,WAAWJ,IAAIC,YAAAA;AACrB,YAAMI,gBAAgBD,UAAUE,qBAC5BC,IAAIC,WAAWxB,WAAWA,YAAYe,MAAAA,KAAWQ,IAAIC,WAAWvB,SAASC,UAAUa,MAAAA,IACnFQ,IAAIC,WAAWvB,SAASC,UAAUa,MAAAA;AACtC,UAAI,CAACM,eAAe;AAClB,eAAcI,eAAQ,CAAA,CAAE;MAC1B;AACA,YAAMY,MAAMd,IAAIG,OAAOX,MAAAA;AACvB,YAAMJ,KAAK0B,IAAIV,SAAQ;AACvB,YAAM,EAAEW,QAAO,IAAKD,IAAIE,UAAS;AACjC,aAAcd,eAAQ;QACpB;UACEd,IAAI,GAAG6B,mBAAmBC,mBAAmB7B,KAAK8B,GAAG,IAAI/B,EAAAA;;;UAGzDmB,MAAazB,kBAAW,aAAA;AACtB,kBAAMsC,YAAY,OAAOC,OAAOzC,WAAW0C,aAAaC,iBAAiBC,KAAK;AAC9E,kBAAMC,OAAOL,UAAUM,MAAMN,UAAUO,UAAU;AACjD,kBAAMC,cAAc;cAACxC;cAAI;cAAaiB,KAAKC,yBAAAA;AAC3C,gBAAI,CAACmB,MAAMI,YAAY;AACrB,qBAAOC,UAAUC,OAAOC,cAAcC,QAAQ;gBAC5CzB,MAAM;gBACNpB,IAAIwC;cACN,CAAA;YACF;AACA,mBAAOE,UAAUC,OAAOV,OAAOa,gBAAgBC,MAAM;cACnDC,SAAS;gBAACR;;cACVS,WAAWtB;YACb,CAAA;UACF,CAAA;UACAN,YAAY;YACVC,OAAO;cAAC;cAA6B;gBAAE4B,IAAIjD,KAAKD;cAAG;;YACnDuB,MAAM;YACNC,aAAa;YACb2B,YAAY;cACVC,OAAO;cACPC,SAAS;YACX;UACF;QACF;OACD;IACH;EACF,CAAA;AAEA,SAAO7D,WAAW8D,YAAYrB,OAAOzC,WAAW+D,iBAAiB1D,UAAAA;AACnE,CAAA,CAAA;",
6
+ "names": ["Effect", "Option", "Capability", "Common", "Obj", "Operation", "DeckCapabilities", "ATTENDABLE_PATH_SEPARATOR", "DeckOperation", "GraphBuilder", "NodeMatcher", "Markdown", "Collection", "whenPresentable", "node", "orElse", "NodeMatcher", "whenEchoType", "Collection", "Markdown", "Document", "Capability", "makeModule", "fnUntraced", "capabilities", "Service", "extensions", "GraphBuilder", "createExtension", "id", "meta", "match", "connector", "object", "get", "settingsAtom", "PresenterCapabilities", "Settings", "settings", "isPresentable", "presentCollections", "Obj", "instanceOf", "succeed", "getDXN", "toString", "join", "ATTENDABLE_PATH_SEPARATOR", "data", "type", "properties", "label", "icon", "disposition", "actions", "dxn", "spaceId", "asEchoDXN", "PresenterOperation", "TogglePresentation", "key", "deckState", "Common", "getAtomValue", "DeckCapabilities", "State", "deck", "decks", "activeDeck", "presenterId", "fullscreen", "Operation", "invoke", "DeckOperation", "Adjust", "LayoutOperation", "Open", "subject", "workspace", "ns", "keyBinding", "macos", "windows", "contributes", "AppGraphBuilder"]
7
+ }
@@ -0,0 +1,50 @@
1
+ import {
2
+ meta
3
+ } from "./chunk-VQVZVXPJ.mjs";
4
+
5
+ // src/types.ts
6
+ import * as Schema from "effect/Schema";
7
+ import { createContext } from "react";
8
+ import { Capability } from "@dxos/app-framework";
9
+ import { Operation } from "@dxos/operation";
10
+ import { Markdown } from "@dxos/plugin-markdown/types";
11
+ import { Collection } from "@dxos/schema";
12
+ var PRESENTER_OPERATION = `${meta.id}/operation`;
13
+ (function(PresenterOperation2) {
14
+ PresenterOperation2.TogglePresentation = Operation.make({
15
+ meta: {
16
+ key: `${PRESENTER_OPERATION}/toggle-presentation`,
17
+ name: "Toggle Presentation"
18
+ },
19
+ schema: {
20
+ input: Schema.Struct({
21
+ object: Schema.Union(Markdown.Document, Collection.Collection),
22
+ state: Schema.optional(Schema.Boolean)
23
+ }),
24
+ output: Schema.Void
25
+ }
26
+ });
27
+ })(PresenterOperation || (PresenterOperation = {}));
28
+ var PresenterContext = createContext({
29
+ running: false,
30
+ start: () => {
31
+ },
32
+ stop: () => {
33
+ }
34
+ });
35
+ var PresenterSettingsSchema = Schema.mutable(Schema.Struct({
36
+ presentCollections: Schema.optional(Schema.Boolean)
37
+ }));
38
+ (function(PresenterCapabilities2) {
39
+ PresenterCapabilities2.Settings = Capability.make(`${meta.id}/capability/settings`);
40
+ })(PresenterCapabilities || (PresenterCapabilities = {}));
41
+ var PresenterOperation;
42
+ var PresenterCapabilities;
43
+
44
+ export {
45
+ PresenterContext,
46
+ PresenterSettingsSchema,
47
+ PresenterOperation,
48
+ PresenterCapabilities
49
+ };
50
+ //# sourceMappingURL=chunk-4PZXJXBO.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 { type Atom } from '@effect-atom/atom-react';\nimport * as Schema from 'effect/Schema';\nimport { type Context, createContext } from 'react';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/operation';\nimport { Markdown } from '@dxos/plugin-markdown/types';\nimport { Collection } from '@dxos/schema';\n\nimport { meta } from './meta';\n\nconst PRESENTER_OPERATION = `${meta.id}/operation`;\n\n// TODO(wittjosiah): This appears to be unused.\nexport namespace PresenterOperation {\n export const TogglePresentation = Operation.make({\n meta: { key: `${PRESENTER_OPERATION}/toggle-presentation`, name: 'Toggle Presentation' },\n schema: {\n input: Schema.Struct({\n object: Schema.Union(Markdown.Document, Collection.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\nexport namespace PresenterCapabilities {\n export const Settings = Capability.make<Atom.Writable<PresenterSettingsProps>>(`${meta.id}/capability/settings`);\n}\n"],
5
+ "mappings": ";;;;;AAKA,YAAYA,YAAY;AACxB,SAAuBC,qBAAqB;AAE5C,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,gBAAgB;AACzB,SAASC,kBAAkB;AAI3B,IAAMC,sBAAsB,GAAGC,KAAKC,EAAE;UAGrBC,qBAAAA;sBACFC,qBAAqBC,UAAUC,KAAK;IAC/CL,MAAM;MAAEM,KAAK,GAAGP,mBAAAA;MAA2CQ,MAAM;IAAsB;IACvFC,QAAQ;MACNC,OAAcC,cAAO;QACnBC,QAAeC,aAAMC,SAASC,UAAUC,WAAWA,UAAU;QAC7DC,OAAcC,gBAAgBC,cAAO;MACvC,CAAA;MACAC,QAAeC;IACjB;EACF,CAAA;AACF,GAXiBlB,uBAAAA,qBAAAA,CAAAA,EAAAA;AAmBV,IAAMmB,mBAAkDC,cAAoC;EACjGC,SAAS;EACTC,OAAO,MAAA;EAAO;EACdC,MAAM,MAAA;EAAO;AACf,CAAA;AAEO,IAAMC,0BAAiCC,eACrCjB,cAAO;EACZkB,oBAA2BX,gBAAgBC,cAAO;AACpD,CAAA,CAAA;UAKeW,wBAAAA;yBACFC,WAAWC,WAAW1B,KAA4C,GAAGL,KAAKC,EAAE,sBAAsB;AACjH,GAFiB4B,0BAAAA,wBAAAA,CAAAA,EAAAA;;;",
6
+ "names": ["Schema", "createContext", "Capability", "Operation", "Markdown", "Collection", "PRESENTER_OPERATION", "meta", "id", "PresenterOperation", "TogglePresentation", "Operation", "make", "key", "name", "schema", "input", "Struct", "object", "Union", "Markdown", "Document", "Collection", "state", "optional", "Boolean", "output", "Void", "PresenterContext", "createContext", "running", "start", "stop", "PresenterSettingsSchema", "mutable", "presentCollections", "PresenterCapabilities", "Settings", "Capability"]
7
+ }
@@ -0,0 +1,38 @@
1
+ import {
2
+ meta
3
+ } from "./chunk-VQVZVXPJ.mjs";
4
+
5
+ // src/components/PresenterSettings.tsx
6
+ import React from "react";
7
+ import { Input, useTranslation } from "@dxos/react-ui";
8
+ import { ControlGroup, ControlItemInput, ControlPage, ControlSection } from "@dxos/react-ui-form";
9
+ var PresenterSettings = ({ settings, onSettingsChange }) => {
10
+ const { t } = useTranslation(meta.id);
11
+ return /* @__PURE__ */ React.createElement(ControlPage, null, /* @__PURE__ */ React.createElement(ControlSection, {
12
+ title: t("settings title", {
13
+ ns: meta.id
14
+ })
15
+ }, /* @__PURE__ */ React.createElement(ControlGroup, null, /* @__PURE__ */ React.createElement(ControlItemInput, {
16
+ title: t("present collections label")
17
+ }, /* @__PURE__ */ React.createElement(Input.Switch, {
18
+ checked: settings.presentCollections,
19
+ onCheckedChange: (checked) => onSettingsChange((s) => ({
20
+ ...s,
21
+ presentCollections: !!checked
22
+ }))
23
+ })))));
24
+ };
25
+
26
+ // src/components/index.ts
27
+ import { lazy } from "react";
28
+ var MarkdownSlide = lazy(() => import("./MarkdownSlide-GIYJABHE.mjs"));
29
+ var DocumentPresenterContainer = lazy(() => import("./DocumentPresenterContainer-74M6XAAI.mjs"));
30
+ var CollectionPresenterContainer = lazy(() => import("./CollectionPresenterContainer-IHDZWP3U.mjs"));
31
+
32
+ export {
33
+ PresenterSettings,
34
+ MarkdownSlide,
35
+ DocumentPresenterContainer,
36
+ CollectionPresenterContainer
37
+ };
38
+ //# sourceMappingURL=chunk-5MC4V23G.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 { meta } from '../meta';\nimport { type PresenterSettingsProps } from '../types';\n\nexport type PresenterSettingsComponentProps = {\n settings: PresenterSettingsProps;\n onSettingsChange: (fn: (current: PresenterSettingsProps) => PresenterSettingsProps) => void;\n};\n\nexport const PresenterSettings = ({ settings, onSettingsChange }: PresenterSettingsComponentProps) => {\n const { t } = useTranslation(meta.id);\n\n return (\n <ControlPage>\n <ControlSection title={t('settings title', { ns: meta.id })}>\n <ControlGroup>\n <ControlItemInput title={t('present collections label')}>\n <Input.Switch\n checked={settings.presentCollections}\n onCheckedChange={(checked) => onSettingsChange((s) => ({ ...s, 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;AAUrE,IAAMC,oBAAoB,CAAC,EAAEC,UAAUC,iBAAgB,MAAmC;AAC/F,QAAM,EAAEC,EAAC,IAAKC,eAAeC,KAAKC,EAAE;AAEpC,SACE,sBAAA,cAACC,aAAAA,MACC,sBAAA,cAACC,gBAAAA;IAAeC,OAAON,EAAE,kBAAkB;MAAEO,IAAIL,KAAKC;IAAG,CAAA;KACvD,sBAAA,cAACK,cAAAA,MACC,sBAAA,cAACC,kBAAAA;IAAiBH,OAAON,EAAE,2BAAA;KACzB,sBAAA,cAACU,MAAMC,QAAM;IACXC,SAASd,SAASe;IAClBC,iBAAiB,CAACF,YAAYb,iBAAiB,CAACgB,OAAO;MAAE,GAAGA;MAAGF,oBAAoB,CAAC,CAACD;IAAQ,EAAA;;AAO3G;;;AC9BA,SAASI,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", "onSettingsChange", "t", "useTranslation", "meta", "id", "ControlPage", "ControlSection", "title", "ns", "ControlGroup", "ControlItemInput", "Input", "Switch", "checked", "presentCollections", "onCheckedChange", "s", "lazy", "MarkdownSlide", "lazy", "DocumentPresenterContainer", "CollectionPresenterContainer"]
7
+ }
@@ -0,0 +1,41 @@
1
+ // src/useExitPresenter.ts
2
+ import { useAtomValue } from "@effect-atom/atom-react";
3
+ import { useCallback, useMemo } from "react";
4
+ import { Common } from "@dxos/app-framework";
5
+ import { useCapability, useOperationInvoker } from "@dxos/app-framework/react";
6
+ import { Obj } from "@dxos/echo";
7
+ import { DeckCapabilities } from "@dxos/plugin-deck";
8
+ import { DeckOperation } from "@dxos/plugin-deck/types";
9
+ var useExitPresenter = (object) => {
10
+ const { invokePromise } = useOperationInvoker();
11
+ const stateAtom = useCapability(DeckCapabilities.State);
12
+ const state = useAtomValue(stateAtom);
13
+ const deck = useMemo(() => state.decks[state.activeDeck], [
14
+ state.decks,
15
+ state.activeDeck
16
+ ]);
17
+ return useCallback(() => {
18
+ const objectId = Obj.getDXN(object).toString();
19
+ if (deck?.fullscreen) {
20
+ void invokePromise(DeckOperation.Adjust, {
21
+ type: "solo--fullscreen",
22
+ id: objectId
23
+ });
24
+ }
25
+ return invokePromise(Common.LayoutOperation.Open, {
26
+ subject: [
27
+ objectId
28
+ ],
29
+ workspace: Obj.getDatabase(object)?.spaceId
30
+ });
31
+ }, [
32
+ invokePromise,
33
+ object,
34
+ deck
35
+ ]);
36
+ };
37
+
38
+ export {
39
+ useExitPresenter
40
+ };
41
+ //# sourceMappingURL=chunk-GM4KOXJY.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/useExitPresenter.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { useAtomValue } from '@effect-atom/atom-react';\nimport { useCallback, useMemo } from 'react';\n\nimport { Common } from '@dxos/app-framework';\nimport { useCapability, useOperationInvoker } from '@dxos/app-framework/react';\nimport { Obj } from '@dxos/echo';\nimport { DeckCapabilities } from '@dxos/plugin-deck';\nimport { DeckOperation } from '@dxos/plugin-deck/types';\n\nexport const useExitPresenter = (object: any) => {\n const { invokePromise } = useOperationInvoker();\n const stateAtom = useCapability(DeckCapabilities.State);\n const state = useAtomValue(stateAtom);\n\n // Compute deck from decks[activeDeck] since the getter doesn't survive spread operations.\n const deck = useMemo(() => state.decks[state.activeDeck], [state.decks, state.activeDeck]);\n\n return useCallback(() => {\n const objectId = Obj.getDXN(object).toString();\n if (deck?.fullscreen) {\n void invokePromise(DeckOperation.Adjust, {\n type: 'solo--fullscreen',\n id: objectId,\n });\n }\n return invokePromise(Common.LayoutOperation.Open, {\n subject: [objectId],\n workspace: Obj.getDatabase(object)?.spaceId,\n });\n }, [invokePromise, object, deck]);\n};\n"],
5
+ "mappings": ";AAIA,SAASA,oBAAoB;AAC7B,SAASC,aAAaC,eAAe;AAErC,SAASC,cAAc;AACvB,SAASC,eAAeC,2BAA2B;AACnD,SAASC,WAAW;AACpB,SAASC,wBAAwB;AACjC,SAASC,qBAAqB;AAEvB,IAAMC,mBAAmB,CAACC,WAAAA;AAC/B,QAAM,EAAEC,cAAa,IAAKC,oBAAAA;AAC1B,QAAMC,YAAYC,cAAcC,iBAAiBC,KAAK;AACtD,QAAMC,QAAQC,aAAaL,SAAAA;AAG3B,QAAMM,OAAOC,QAAQ,MAAMH,MAAMI,MAAMJ,MAAMK,UAAU,GAAG;IAACL,MAAMI;IAAOJ,MAAMK;GAAW;AAEzF,SAAOC,YAAY,MAAA;AACjB,UAAMC,WAAWC,IAAIC,OAAOhB,MAAAA,EAAQiB,SAAQ;AAC5C,QAAIR,MAAMS,YAAY;AACpB,WAAKjB,cAAckB,cAAcC,QAAQ;QACvCC,MAAM;QACNC,IAAIR;MACN,CAAA;IACF;AACA,WAAOb,cAAcsB,OAAOC,gBAAgBC,MAAM;MAChDC,SAAS;QAACZ;;MACVa,WAAWZ,IAAIa,YAAY5B,MAAAA,GAAS6B;IACtC,CAAA;EACF,GAAG;IAAC5B;IAAeD;IAAQS;GAAK;AAClC;",
6
+ "names": ["useAtomValue", "useCallback", "useMemo", "Common", "useCapability", "useOperationInvoker", "Obj", "DeckCapabilities", "DeckOperation", "useExitPresenter", "object", "invokePromise", "useOperationInvoker", "stateAtom", "useCapability", "DeckCapabilities", "State", "state", "useAtomValue", "deck", "useMemo", "decks", "activeDeck", "useCallback", "objectId", "Obj", "getDXN", "toString", "fullscreen", "DeckOperation", "Adjust", "type", "id", "Common", "LayoutOperation", "Open", "subject", "workspace", "getDatabase", "spaceId"]
7
+ }
@@ -15,4 +15,4 @@ var meta = {
15
15
  export {
16
16
  meta
17
17
  };
18
- //# sourceMappingURL=chunk-TMTUZQCK.mjs.map
18
+ //# sourceMappingURL=chunk-VQVZVXPJ.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 Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'dxos.org/plugin/presenter',\n name: 'Presenter',\n description: trim`\n Transform markdown documents into interactive presentation slideshows.\n Navigate between slides with keyboard controls and present content in full-screen mode.\n `,\n icon: 'ph--presentation--regular',\n iconHue: 'indigo',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-presenter',\n};\n"],
5
+ "mappings": ";AAKA,SAASA,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaC;;;;EAIbC,MAAM;EACNC,SAAS;EACTC,QAAQ;AACV;",
6
+ "names": ["trim", "meta", "id", "name", "description", "trim", "icon", "iconHue", "source"]
7
+ }
@@ -3,19 +3,25 @@ import {
3
3
  DocumentPresenterContainer,
4
4
  MarkdownSlide,
5
5
  PresenterSettings
6
- } from "./chunk-Q3H4KEFB.mjs";
6
+ } from "./chunk-5MC4V23G.mjs";
7
7
  import {
8
8
  meta
9
- } from "./chunk-TMTUZQCK.mjs";
9
+ } from "./chunk-VQVZVXPJ.mjs";
10
10
 
11
11
  // src/PresenterPlugin.tsx
12
- import { Capabilities, Events, contributes, defineModule, definePlugin } from "@dxos/app-framework";
12
+ import { Common, Plugin } from "@dxos/app-framework";
13
13
 
14
- // src/capabilities/index.ts
15
- import { lazy } from "@dxos/app-framework";
16
- var AppGraphBuilder = lazy(() => import("./app-graph-builder-UJEKUKAP.mjs"));
17
- var ReactSurface = lazy(() => import("./react-surface-S4T6X72R.mjs"));
18
- var PresenterSettings2 = lazy(() => import("./settings-57TUVRW3.mjs"));
14
+ // src/capabilities/app-graph-builder/index.ts
15
+ import { Capability } from "@dxos/app-framework";
16
+ var AppGraphBuilder = Capability.lazy("AppGraphBuilder", () => import("./app-graph-builder-2QAQR34J.mjs"));
17
+
18
+ // src/capabilities/react-surface/index.ts
19
+ import { Capability as Capability2 } from "@dxos/app-framework";
20
+ var ReactSurface = Capability2.lazy("ReactSurface", () => import("./react-surface-2VP2M4Z7.mjs"));
21
+
22
+ // src/capabilities/settings/index.ts
23
+ import { Capability as Capability3 } from "@dxos/app-framework";
24
+ var PresenterSettings2 = Capability3.lazy("PresenterSettings", () => import("./settings-RDHXCCT4.mjs"));
19
25
 
20
26
  // src/translations.ts
21
27
  var translations = [
@@ -32,28 +38,15 @@ var translations = [
32
38
  ];
33
39
 
34
40
  // src/PresenterPlugin.tsx
35
- var PresenterPlugin = definePlugin(meta, () => [
36
- defineModule({
37
- id: `${meta.id}/module/settings`,
38
- activatesOn: Events.SetupSettings,
39
- activate: PresenterSettings2
40
- }),
41
- defineModule({
42
- id: `${meta.id}/module/translations`,
43
- activatesOn: Events.SetupTranslations,
44
- activate: () => contributes(Capabilities.Translations, translations)
45
- }),
46
- defineModule({
47
- id: `${meta.id}/module/react-surface`,
48
- activatesOn: Events.SetupReactSurface,
49
- activate: ReactSurface
50
- }),
51
- defineModule({
52
- id: `${meta.id}/module/app-graph-builder`,
53
- activatesOn: Events.SetupAppGraph,
54
- activate: AppGraphBuilder
55
- })
56
- ]);
41
+ var PresenterPlugin = Plugin.define(meta).pipe(Common.Plugin.addSettingsModule({
42
+ activate: PresenterSettings2
43
+ }), Common.Plugin.addTranslationsModule({
44
+ translations
45
+ }), Common.Plugin.addSurfaceModule({
46
+ activate: ReactSurface
47
+ }), Common.Plugin.addAppGraphModule({
48
+ activate: AppGraphBuilder
49
+ }), Plugin.make);
57
50
  export {
58
51
  CollectionPresenterContainer,
59
52
  DocumentPresenterContainer,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/PresenterPlugin.tsx", "../../../src/capabilities/index.ts", "../../../src/translations.ts"],
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 = 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,kBAAkBC,aAAaC,MAAM,MAAM;EACtDC,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"]
3
+ "sources": ["../../../src/PresenterPlugin.tsx", "../../../src/capabilities/app-graph-builder/index.ts", "../../../src/capabilities/react-surface/index.ts", "../../../src/capabilities/settings/index.ts", "../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Common, Plugin } 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 = Plugin.define(meta).pipe(\n Common.Plugin.addSettingsModule({ activate: PresenterSettings }),\n Common.Plugin.addTranslationsModule({ translations }),\n Common.Plugin.addSurfaceModule({ activate: ReactSurface }),\n Common.Plugin.addAppGraphModule({ activate: AppGraphBuilder }),\n Plugin.make,\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = Capability.lazy('AppGraphBuilder', () => import('./app-graph-builder'));\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const PresenterSettings = Capability.lazy('PresenterSettings', () => 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,QAAQC,cAAc;;;ACA/B,SAASC,kBAAkB;AAEpB,IAAMC,kBAAkBC,WAAWC,KAAK,mBAAmB,MAAM,OAAO,kCAAA,CAAA;;;ACF/E,SAASC,cAAAA,mBAAkB;AAEpB,IAAMC,eAAeC,YAAWC,KAAK,gBAAgB,MAAM,OAAO,8BAAA,CAAA;;;ACFzE,SAASC,cAAAA,mBAAkB;AAEpB,IAAMC,qBAAoBC,YAAWC,KAAK,qBAAqB,MAAM,OAAO,yBAAA,CAAA;;;ACE5E,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,6BAA6B;QAC7B,6BAA6B;MAC/B;IACF;EACF;;;;AJLK,IAAMC,kBAAkBC,OAAOC,OAAOC,IAAAA,EAAMC,KACjDC,OAAOJ,OAAOK,kBAAkB;EAAEC,UAAUC;AAAkB,CAAA,GAC9DH,OAAOJ,OAAOQ,sBAAsB;EAAEC;AAAa,CAAA,GACnDL,OAAOJ,OAAOU,iBAAiB;EAAEJ,UAAUK;AAAa,CAAA,GACxDP,OAAOJ,OAAOY,kBAAkB;EAAEN,UAAUO;AAAgB,CAAA,GAC5Db,OAAOc,IAAI;",
6
+ "names": ["Common", "Plugin", "Capability", "AppGraphBuilder", "Capability", "lazy", "Capability", "ReactSurface", "Capability", "lazy", "Capability", "PresenterSettings", "Capability", "lazy", "translations", "meta", "id", "PresenterPlugin", "Plugin", "define", "meta", "pipe", "Common", "addSettingsModule", "activate", "PresenterSettings", "addTranslationsModule", "translations", "addSurfaceModule", "ReactSurface", "addAppGraphModule", "AppGraphBuilder", "make"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/meta.ts":{"bytes":1835,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/PresenterSettings.tsx":{"bytes":3637,"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":8337,"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":2167,"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":4395,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","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/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":16325,"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":4256,"imports":[{"path":"effect/Schema","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":13263,"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":5206,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","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":17619,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","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":8473,"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":4361,"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":3303},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Q3H4KEFB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-TMTUZQCK.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-UJEKUKAP.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-S4T6X72R.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-57TUVRW3.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","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":1762},"dist/lib/browser/MarkdownSlide-MEXR54L5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13281},"dist/lib/browser/MarkdownSlide-MEXR54L5.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":1554},"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":519}},"bytes":8042},"dist/lib/browser/DocumentPresenterContainer-SX32NAEH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8772},"dist/lib/browser/DocumentPresenterContainer-SX32NAEH.mjs":{"imports":[{"path":"dist/lib/browser/chunk-BJWK5GQV.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":4684},"src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5675},"dist/lib/browser/CollectionPresenterContainer-4JFW3EKV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10376},"dist/lib/browser/CollectionPresenterContainer-4JFW3EKV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-BJWK5GQV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VRRPVTKA.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-TMTUZQCK.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/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":"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":1338},"src/components/Presenter/Layout.tsx":{"bytesInOutput":1093},"src/components/Presenter/index.ts":{"bytesInOutput":0},"src/components/Presenter/Pager.tsx":{"bytesInOutput":3346}},"bytes":6238},"dist/lib/browser/chunk-BJWK5GQV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2398},"dist/lib/browser/chunk-BJWK5GQV.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","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/react-client/echo","kind":"import-statement","external":true}],"exports":["useExitPresenter"],"inputs":{"src/useExitPresenter.ts":{"bytesInOutput":1019}},"bytes":1122},"dist/lib/browser/app-graph-builder-UJEKUKAP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8703},"dist/lib/browser/app-graph-builder-UJEKUKAP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VRRPVTKA.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-TMTUZQCK.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","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":3953}},"bytes":4207},"dist/lib/browser/react-surface-S4T6X72R.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4281},"dist/lib/browser/react-surface-S4T6X72R.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Q3H4KEFB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-TMTUZQCK.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":1870}},"bytes":2194},"dist/lib/browser/chunk-Q3H4KEFB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2536},"dist/lib/browser/chunk-Q3H4KEFB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TMTUZQCK.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-MEXR54L5.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/DocumentPresenterContainer-SX32NAEH.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/CollectionPresenterContainer-4JFW3EKV.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterSettings"],"inputs":{"src/components/PresenterSettings.tsx":{"bytesInOutput":965},"src/components/index.ts":{"bytesInOutput":302}},"bytes":1539},"dist/lib/browser/settings-57TUVRW3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":981},"dist/lib/browser/settings-57TUVRW3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VRRPVTKA.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-TMTUZQCK.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-VRRPVTKA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2260},"dist/lib/browser/chunk-VRRPVTKA.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TMTUZQCK.mjs","kind":"import-statement"},{"path":"effect/Schema","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":894}},"bytes":1080},"dist/lib/browser/chunk-TMTUZQCK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":880},"dist/lib/browser/chunk-TMTUZQCK.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":443}},"bytes":522}}}
1
+ {"inputs":{"src/meta.ts":{"bytes":1831,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/PresenterSettings.tsx":{"bytes":3930,"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":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/Markdown/Container.tsx":{"bytes":8045,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/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":2167,"imports":[],"format":"esm"},"src/components/Markdown/Slide.tsx":{"bytes":11710,"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":"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":1883,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"src/useExitPresenter.ts":{"bytes":4860,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","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}],"format":"esm"},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":16018,"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","kind":"import-statement","external":true},{"path":"@dxos/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":2466,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","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":5522,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","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":3378,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/Pager.tsx":{"bytes":12421,"imports":[{"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":5009,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","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/app-graph-builder.ts":{"bytes":15659,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","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/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/app-graph-builder/index.ts":{"bytes":947,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":9764,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","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/react-surface/index.ts":{"bytes":913,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/settings/settings.ts":{"bytes":3143,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/effect","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/settings/index.ts":{"bytes":929,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/settings/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":687,"imports":[{"path":"src/capabilities/app-graph-builder/index.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"},{"path":"src/capabilities/settings/index.ts","kind":"import-statement","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":2960,"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":3237},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5MC4V23G.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.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-2QAQR34J.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-2VP2M4Z7.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/settings-RDHXCCT4.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterPlugin","PresenterSettings","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/PresenterPlugin.tsx":{"bytesInOutput":369},"src/capabilities/app-graph-builder/index.ts":{"bytesInOutput":158},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/capabilities/settings/index.ts":{"bytesInOutput":170},"src/translations.ts":{"bytesInOutput":286}},"bytes":1717},"dist/lib/browser/MarkdownSlide-GIYJABHE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13289},"dist/lib/browser/MarkdownSlide-GIYJABHE.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/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":"src/components/MarkdownSlide.tsx","inputs":{"src/components/MarkdownSlide.tsx":{"bytesInOutput":333},"src/components/Markdown/Container.tsx":{"bytesInOutput":1347},"src/components/Markdown/index.ts":{"bytesInOutput":0},"src/components/Markdown/Slide.tsx":{"bytesInOutput":2652},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw":{"bytesInOutput":2101},"src/components/Markdown/theme.ts":{"bytesInOutput":519}},"bytes":7382},"dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8867},"dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GM4KOXJY.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","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/ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/DocumentPresenterContainer.tsx","inputs":{"src/components/DocumentPresenterContainer.tsx":{"bytesInOutput":479},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4446},"src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5258},"dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10370},"dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GM4KOXJY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-4PZXJXBO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","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":1084},"src/components/Presenter/Layout.tsx":{"bytesInOutput":902},"src/components/Presenter/index.ts":{"bytesInOutput":0},"src/components/Presenter/Pager.tsx":{"bytesInOutput":2908}},"bytes":5355},"dist/lib/browser/chunk-GM4KOXJY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2571},"dist/lib/browser/chunk-GM4KOXJY.mjs":{"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","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}],"exports":["useExitPresenter"],"inputs":{"src/useExitPresenter.ts":{"bytesInOutput":1109}},"bytes":1212},"dist/lib/browser/app-graph-builder-2QAQR34J.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7689},"dist/lib/browser/app-graph-builder-2QAQR34J.mjs":{"imports":[{"path":"dist/lib/browser/chunk-4PZXJXBO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","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/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytesInOutput":3966}},"bytes":4266},"dist/lib/browser/react-surface-2VP2M4Z7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4921},"dist/lib/browser/react-surface-2VP2M4Z7.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5MC4V23G.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","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/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":2127}},"bytes":2465},"dist/lib/browser/chunk-5MC4V23G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2829},"dist/lib/browser/chunk-5MC4V23G.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VQVZVXPJ.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":"dist/lib/browser/MarkdownSlide-GIYJABHE.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterSettings"],"inputs":{"src/components/PresenterSettings.tsx":{"bytesInOutput":849},"src/components/index.ts":{"bytesInOutput":302}},"bytes":1423},"dist/lib/browser/settings-RDHXCCT4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1569},"dist/lib/browser/settings-RDHXCCT4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-4PZXJXBO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings/settings.ts","inputs":{"src/capabilities/settings/settings.ts":{"bytesInOutput":593}},"bytes":862},"dist/lib/browser/chunk-4PZXJXBO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2936},"dist/lib/browser/chunk-4PZXJXBO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PresenterCapabilities","PresenterContext","PresenterOperation","PresenterSettingsSchema"],"inputs":{"src/types.ts":{"bytesInOutput":1246}},"bytes":1460},"dist/lib/browser/chunk-VQVZVXPJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":877},"dist/lib/browser/chunk-VQVZVXPJ.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":443}},"bytes":522}}}