@dxos/plugin-presenter 0.6.12-staging.e11e696 → 0.6.13-main.041e8aa

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.
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PresenterContext,
3
3
  TOGGLE_PRESENTATION
4
- } from "./chunk-S2WFGCDV.mjs";
4
+ } from "./chunk-VBFJVII3.mjs";
5
5
  import {
6
6
  PRESENTER_PLUGIN
7
- } from "./chunk-WIB4JEFU.mjs";
7
+ } from "./chunk-7L3MFWJK.mjs";
8
8
 
9
9
  // packages/plugins/plugin-presenter/src/components/PresenterMain.tsx
10
10
  import React3, { useContext, useState } from "react";
@@ -208,4 +208,4 @@ var PresenterMain_default = PresenterMain;
208
208
  export {
209
209
  PresenterMain_default as default
210
210
  };
211
- //# sourceMappingURL=PresenterMain-GJU77TZA.mjs.map
211
+ //# sourceMappingURL=PresenterMain-E63EFX66.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  TOGGLE_PRESENTATION
3
- } from "./chunk-S2WFGCDV.mjs";
3
+ } from "./chunk-VBFJVII3.mjs";
4
4
  import {
5
5
  PRESENTER_PLUGIN
6
- } from "./chunk-WIB4JEFU.mjs";
6
+ } from "./chunk-7L3MFWJK.mjs";
7
7
 
8
8
  // packages/plugins/plugin-presenter/src/components/RevealMain.tsx
9
9
  import React2 from "react";
@@ -167,4 +167,4 @@ var RevealMain_default = PresenterMain;
167
167
  export {
168
168
  RevealMain_default as default
169
169
  };
170
- //# sourceMappingURL=RevealMain-4DTUPGHJ.mjs.map
170
+ //# sourceMappingURL=RevealMain-CDHOD2NT.mjs.map
@@ -1,15 +1,14 @@
1
- // packages/plugins/plugin-presenter/src/meta.tsx
2
- import { pluginMeta } from "@dxos/app-framework";
1
+ // packages/plugins/plugin-presenter/src/meta.ts
3
2
  var PRESENTER_PLUGIN = "dxos.org/plugin/presenter";
4
- var meta_default = pluginMeta({
3
+ var meta_default = {
5
4
  id: PRESENTER_PLUGIN,
6
5
  name: "Presenter",
7
6
  description: "Present documents as slideshows.",
8
7
  icon: "ph--presentation--regular"
9
- });
8
+ };
10
9
 
11
10
  export {
12
11
  PRESENTER_PLUGIN,
13
12
  meta_default
14
13
  };
15
- //# sourceMappingURL=chunk-WIB4JEFU.mjs.map
14
+ //# sourceMappingURL=chunk-7L3MFWJK.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const PRESENTER_PLUGIN = 'dxos.org/plugin/presenter';\n\nexport default {\n id: PRESENTER_PLUGIN,\n name: 'Presenter',\n description: 'Present documents as slideshows.',\n icon: 'ph--presentation--regular',\n} satisfies PluginMeta;\n"],
5
+ "mappings": ";AAMO,IAAMA,mBAAmB;AAEhC,IAAA,eAAe;EACbC,IAAID;EACJE,MAAM;EACNC,aAAa;EACbC,MAAM;AACR;",
6
+ "names": ["PRESENTER_PLUGIN", "id", "name", "description", "icon"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PRESENTER_PLUGIN
3
- } from "./chunk-WIB4JEFU.mjs";
3
+ } from "./chunk-7L3MFWJK.mjs";
4
4
 
5
5
  // packages/plugins/plugin-presenter/src/types.ts
6
6
  import { createContext } from "react";
@@ -17,4 +17,4 @@ export {
17
17
  PresenterContext,
18
18
  TOGGLE_PRESENTATION
19
19
  };
20
- //# sourceMappingURL=chunk-S2WFGCDV.mjs.map
20
+ //# sourceMappingURL=chunk-VBFJVII3.mjs.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  PresenterContext,
3
3
  TOGGLE_PRESENTATION
4
- } from "./chunk-S2WFGCDV.mjs";
4
+ } from "./chunk-VBFJVII3.mjs";
5
5
  import {
6
6
  PRESENTER_PLUGIN,
7
7
  meta_default
8
- } from "./chunk-WIB4JEFU.mjs";
8
+ } from "./chunk-7L3MFWJK.mjs";
9
9
 
10
10
  // packages/plugins/plugin-presenter/src/PresenterPlugin.tsx
11
11
  import React3 from "react";
@@ -36,8 +36,8 @@ var PresenterSettings = ({ settings }) => {
36
36
  };
37
37
 
38
38
  // packages/plugins/plugin-presenter/src/components/index.ts
39
- var RevealMain = React2.lazy(() => import("./RevealMain-4DTUPGHJ.mjs"));
40
- var PresenterMain = React2.lazy(() => import("./PresenterMain-GJU77TZA.mjs"));
39
+ var RevealMain = React2.lazy(() => import("./RevealMain-CDHOD2NT.mjs"));
40
+ var PresenterMain = React2.lazy(() => import("./PresenterMain-E63EFX66.mjs"));
41
41
  var MarkdownSlide = React2.lazy(() => import("./MarkdownSlide-4FZ3XIH5.mjs"));
42
42
 
43
43
  // packages/plugins/plugin-presenter/src/translations.ts
@@ -55,7 +55,7 @@ var translations_default = [
55
55
 
56
56
  // packages/plugins/plugin-presenter/src/PresenterPlugin.tsx
57
57
  var PresenterPlugin = () => {
58
- const settings = new LocalStorageStore(PRESENTER_PLUGIN, {});
58
+ const settings = new LocalStorageStore(PRESENTER_PLUGIN);
59
59
  const state = create({
60
60
  presenting: false
61
61
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/PresenterPlugin.tsx", "../../../src/components/index.ts", "../../../src/components/PresenterSettings.tsx", "../../../src/translations.ts", "../../../src/index.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport {\n resolvePlugin,\n type PluginDefinition,\n parseIntentPlugin,\n LayoutAction,\n NavigationAction,\n type Intent,\n} from '@dxos/app-framework';\nimport { create } from '@dxos/echo-schema';\nimport { LocalStorageStore } from '@dxos/local-storage';\nimport { parseClientPlugin } from '@dxos/plugin-client';\nimport { createExtension, type Node } from '@dxos/plugin-graph';\nimport { DocumentType } from '@dxos/plugin-markdown/types';\nimport { CollectionType } from '@dxos/plugin-space/types';\nimport { fullyQualifiedId } from '@dxos/react-client/echo';\n\nimport { PresenterMain, PresenterSettings, MarkdownSlide, RevealMain } from './components';\nimport meta, { PRESENTER_PLUGIN } from './meta';\nimport translations from './translations';\nimport {\n PresenterContext,\n type PresenterSettingsProps,\n TOGGLE_PRESENTATION,\n type PresenterPluginProvides,\n} from './types';\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\ntype PresenterState = {\n presenting: boolean;\n};\n\nexport const PresenterPlugin = (): PluginDefinition<PresenterPluginProvides> => {\n const settings = new LocalStorageStore<PresenterSettingsProps>(PRESENTER_PLUGIN, {});\n\n // TODO(burdon): Do we need context providers if we can get the state from the plugin?\n const state = create<PresenterState>({ presenting: false });\n\n return {\n meta,\n provides: {\n translations,\n settings: settings.values,\n graph: {\n builder: (plugins) => {\n const client = resolvePlugin(plugins, parseClientPlugin)?.provides.client;\n const dispatch = resolvePlugin(plugins, parseIntentPlugin)?.provides.intent.dispatch;\n if (!client || !dispatch) {\n return [];\n }\n\n return createExtension({\n id: PRESENTER_PLUGIN,\n filter: (node): node is Node<CollectionType | DocumentType> =>\n settings.values.presentCollections\n ? node.data instanceof CollectionType || node.data instanceof DocumentType\n : node.data instanceof DocumentType,\n actions: ({ node }) => {\n const object = node.data;\n const id = fullyQualifiedId(object);\n return [\n {\n id: `${TOGGLE_PRESENTATION}/${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 await dispatch([\n {\n plugin: PRESENTER_PLUGIN,\n action: TOGGLE_PRESENTATION,\n data: { object },\n },\n {\n action: NavigationAction.OPEN,\n data: { activeParts: { fullScreen: id } },\n },\n ]);\n },\n properties: {\n label: ['toggle presentation label', { ns: PRESENTER_PLUGIN }],\n icon: 'ph--presentation--regular',\n keyBinding: {\n macos: 'shift+meta+p',\n windows: 'shift+alt+p',\n },\n },\n },\n ];\n },\n });\n },\n },\n context: ({ children }) => {\n return (\n <PresenterContext.Provider\n value={{\n running: state.presenting,\n start: () => (state.presenting = true),\n stop: () => (state.presenting = false),\n }}\n >\n {children}\n </PresenterContext.Provider>\n );\n },\n surface: {\n component: ({ data, role }) => {\n switch (role) {\n case 'main': {\n if (state.presenting) {\n if (data.active instanceof CollectionType) {\n return { node: <PresenterMain collection={data.active} />, disposition: 'hoist' };\n } else if (data.active instanceof DocumentType) {\n return { node: <RevealMain document={data.active} />, disposition: 'hoist' };\n }\n }\n return null;\n }\n case 'slide': {\n return data.slide instanceof DocumentType ? <MarkdownSlide document={data.slide} /> : null;\n }\n case 'settings': {\n return data.plugin === meta.id ? <PresenterSettings settings={settings.values} /> : null;\n }\n }\n\n return null;\n },\n },\n intent: {\n resolver: (intent) => {\n switch (intent.action) {\n case TOGGLE_PRESENTATION: {\n state.presenting = intent.data?.state ?? !state.presenting;\n\n const intents = [] as Intent[][];\n if (state.presenting) {\n intents.push([{ action: LayoutAction.SET_LAYOUT_MODE, data: { layoutMode: 'fullscreen' } }]);\n } else {\n intents.push([{ action: LayoutAction.SET_LAYOUT_MODE, data: { revert: true } }]);\n }\n\n return { data: state.presenting, intents };\n }\n }\n },\n },\n },\n };\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nexport * from './PresenterSettings';\n\n// Lazily load components for content surfaces.\nexport const RevealMain = React.lazy(() => import('./RevealMain'));\nexport const PresenterMain = React.lazy(() => import('./PresenterMain'));\nexport const MarkdownSlide = React.lazy(() => import('./MarkdownSlide'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { SettingsValue } from '@dxos/plugin-settings';\nimport { Input, useTranslation } from '@dxos/react-ui';\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 <>\n <SettingsValue label={t('present collections label')}>\n <Input.Switch\n checked={settings.presentCollections}\n onCheckedChange={(checked) => (settings.presentCollections = !!checked)}\n />\n </SettingsValue>\n </>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { PRESENTER_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [PRESENTER_PLUGIN]: {\n 'plugin name': 'Presenter',\n 'toggle presentation label': 'Present',\n 'present collections label': 'Present collections (experimental)',\n },\n },\n },\n];\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { PresenterPlugin } from './PresenterPlugin';\n\nexport default PresenterPlugin;\n\nexport * from './components';\n\nexport * from './PresenterPlugin';\n"],
5
- "mappings": ";;;;;;;;;;AAIA,OAAOA,YAAW;AAElB,SACEC,eAEAC,mBACAC,cACAC,wBAEK;AACP,SAASC,cAAc;AACvB,SAASC,yBAAyB;AAClC,SAASC,yBAAyB;AAClC,SAASC,uBAAkC;AAC3C,SAASC,oBAAoB;AAC7B,SAASC,sBAAsB;AAC/B,SAASC,wBAAwB;;;AChBjC,OAAOC,YAAW;;;ACAlB,OAAOC,WAAW;AAElB,SAASC,qBAAqB;AAC9B,SAASC,OAAOC,sBAAsB;AAK/B,IAAMC,oBAAoB,CAAC,EAAEC,SAAQ,MAAwC;AAClF,QAAM,EAAEC,EAAC,IAAKC,eAAeC,gBAAAA;AAE7B,SACE,sBAAA,cAAA,MAAA,UAAA,MACE,sBAAA,cAACC,eAAAA;IAAcC,OAAOJ,EAAE,2BAAA;KACtB,sBAAA,cAACK,MAAMC,QAAM;IACXC,SAASR,SAASS;IAClBC,iBAAiB,CAACF,YAAaR,SAASS,qBAAqB,CAAC,CAACD;;AAKzE;;;ADhBO,IAAMG,aAAaC,OAAMC,KAAK,MAAM,OAAO,2BAAA,CAAA;AAC3C,IAAMC,gBAAgBF,OAAMC,KAAK,MAAM,OAAO,8BAAA,CAAA;AAC9C,IAAME,gBAAgBH,OAAMC,KAAK,MAAM,OAAO,8BAAA,CAAA;;;AELrD,IAAA,uBAAe;EACb;IACE,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AAM;sBAAE8C,YAAY;oBAAa;kBAAE;iBAAE;cAC7F,OAAO;AACLJ,wBAAQC,KAAK;kBAAC;oBAAEnC,QAAQoC,aAAaC;oBAAiB7C,MAAM;sBAAE+C,QAAQ;oBAAK;kBAAE;iBAAE;cACjF;AAEA,qBAAO;gBAAE/C,MAAMrB,MAAME;gBAAY6D;cAAQ;YAC3C;UACF;QACF;MACF;IACF;EACF;AACF;;;AItJA,IAAA,cAAeM;",
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport {\n resolvePlugin,\n type PluginDefinition,\n parseIntentPlugin,\n LayoutAction,\n NavigationAction,\n type Intent,\n} from '@dxos/app-framework';\nimport { create } from '@dxos/echo-schema';\nimport { LocalStorageStore } from '@dxos/local-storage';\nimport { parseClientPlugin } from '@dxos/plugin-client';\nimport { createExtension, type Node } from '@dxos/plugin-graph';\nimport { DocumentType } from '@dxos/plugin-markdown/types';\nimport { CollectionType } from '@dxos/plugin-space/types';\nimport { fullyQualifiedId } from '@dxos/react-client/echo';\n\nimport { PresenterMain, PresenterSettings, MarkdownSlide, RevealMain } from './components';\nimport meta, { PRESENTER_PLUGIN } from './meta';\nimport translations from './translations';\nimport {\n PresenterContext,\n type PresenterSettingsProps,\n TOGGLE_PRESENTATION,\n type PresenterPluginProvides,\n} from './types';\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\ntype PresenterState = {\n presenting: boolean;\n};\n\nexport const PresenterPlugin = (): PluginDefinition<PresenterPluginProvides> => {\n const settings = new LocalStorageStore<PresenterSettingsProps>(PRESENTER_PLUGIN);\n\n // TODO(burdon): Do we need context providers if we can get the state from the plugin?\n const state = create<PresenterState>({ presenting: false });\n\n return {\n meta,\n provides: {\n translations,\n settings: settings.values,\n graph: {\n builder: (plugins) => {\n const client = resolvePlugin(plugins, parseClientPlugin)?.provides.client;\n const dispatch = resolvePlugin(plugins, parseIntentPlugin)?.provides.intent.dispatch;\n if (!client || !dispatch) {\n return [];\n }\n\n return createExtension({\n id: PRESENTER_PLUGIN,\n filter: (node): node is Node<CollectionType | DocumentType> =>\n settings.values.presentCollections\n ? node.data instanceof CollectionType || node.data instanceof DocumentType\n : node.data instanceof DocumentType,\n actions: ({ node }) => {\n const object = node.data;\n const id = fullyQualifiedId(object);\n return [\n {\n id: `${TOGGLE_PRESENTATION}/${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 await dispatch([\n {\n plugin: PRESENTER_PLUGIN,\n action: TOGGLE_PRESENTATION,\n data: { object },\n },\n {\n action: NavigationAction.OPEN,\n data: { activeParts: { fullScreen: id } },\n },\n ]);\n },\n properties: {\n label: ['toggle presentation label', { ns: PRESENTER_PLUGIN }],\n icon: 'ph--presentation--regular',\n keyBinding: {\n macos: 'shift+meta+p',\n windows: 'shift+alt+p',\n },\n },\n },\n ];\n },\n });\n },\n },\n context: ({ children }) => {\n return (\n <PresenterContext.Provider\n value={{\n running: state.presenting,\n start: () => (state.presenting = true),\n stop: () => (state.presenting = false),\n }}\n >\n {children}\n </PresenterContext.Provider>\n );\n },\n surface: {\n component: ({ data, role }) => {\n switch (role) {\n case 'main': {\n if (state.presenting) {\n if (data.active instanceof CollectionType) {\n return { node: <PresenterMain collection={data.active} />, disposition: 'hoist' };\n } else if (data.active instanceof DocumentType) {\n return { node: <RevealMain document={data.active} />, disposition: 'hoist' };\n }\n }\n return null;\n }\n case 'slide': {\n return data.slide instanceof DocumentType ? <MarkdownSlide document={data.slide} /> : null;\n }\n case 'settings': {\n return data.plugin === meta.id ? <PresenterSettings settings={settings.values} /> : null;\n }\n }\n\n return null;\n },\n },\n intent: {\n resolver: (intent) => {\n switch (intent.action) {\n case TOGGLE_PRESENTATION: {\n state.presenting = intent.data?.state ?? !state.presenting;\n\n const intents = [] as Intent[][];\n if (state.presenting) {\n intents.push([{ action: LayoutAction.SET_LAYOUT_MODE, data: { layoutMode: 'fullscreen' } }]);\n } else {\n intents.push([{ action: LayoutAction.SET_LAYOUT_MODE, data: { revert: true } }]);\n }\n\n return { data: state.presenting, intents };\n }\n }\n },\n },\n },\n };\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nexport * from './PresenterSettings';\n\n// Lazily load components for content surfaces.\nexport const RevealMain = React.lazy(() => import('./RevealMain'));\nexport const PresenterMain = React.lazy(() => import('./PresenterMain'));\nexport const MarkdownSlide = React.lazy(() => import('./MarkdownSlide'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { SettingsValue } from '@dxos/plugin-settings';\nimport { Input, useTranslation } from '@dxos/react-ui';\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 <>\n <SettingsValue label={t('present collections label')}>\n <Input.Switch\n checked={settings.presentCollections}\n onCheckedChange={(checked) => (settings.presentCollections = !!checked)}\n />\n </SettingsValue>\n </>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { PRESENTER_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [PRESENTER_PLUGIN]: {\n 'plugin name': 'Presenter',\n 'toggle presentation label': 'Present',\n 'present collections label': 'Present collections (experimental)',\n },\n },\n },\n];\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { PresenterPlugin } from './PresenterPlugin';\n\nexport default PresenterPlugin;\n\nexport * from './components';\n\nexport * from './PresenterPlugin';\n"],
5
+ "mappings": ";;;;;;;;;;AAIA,OAAOA,YAAW;AAElB,SACEC,eAEAC,mBACAC,cACAC,wBAEK;AACP,SAASC,cAAc;AACvB,SAASC,yBAAyB;AAClC,SAASC,yBAAyB;AAClC,SAASC,uBAAkC;AAC3C,SAASC,oBAAoB;AAC7B,SAASC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AA;sBAAWC,UAAUrC,KAAKgC;;oBAAYG,aAAa;kBAAQ;gBAC7E;cACF;AACA,qBAAO;YACT;YACA,KAAK,SAAS;AACZ,qBAAOnC,KAAKsC,iBAAiBpC,eAAe,gBAAAoB,OAAA,cAACiB,eAAAA;gBAAcF,UAAUrC,KAAKsC;mBAAY;YACxF;YACA,KAAK,YAAY;AACf,qBAAOtC,KAAKO,WAAWzB,aAAKc,KAAK,gBAAA0B,OAAA,cAACkB,mBAAAA;gBAAkBhE,UAAUA,SAASS;mBAAa;YACtF;UACF;AAEA,iBAAO;QACT;MACF;MACAS,QAAQ;QACN+C,UAAU,CAAC/C,WAAAA;AACT,kBAAQA,OAAOc,QAAM;YACnB,KAAKF,qBAAqB;AACxB3B,oBAAME,aAAaa,OAAOM,MAAMrB,SAAS,CAACA,MAAME;AAEhD,oBAAM6D,UAAU,CAAA;AAChB,kBAAI/D,MAAME,YAAY;AACpB6D,wBAAQC,KAAK;kBAAC;oBAAEnC,QAAQoC,aAAaC;oBAAiB7C,MAAM;sBAAE8C,YAAY;oBAAa;kBAAE;iBAAE;cAC7F,OAAO;AACLJ,wBAAQC,KAAK;kBAAC;oBAAEnC,QAAQoC,aAAaC;oBAAiB7C,MAAM;sBAAE+C,QAAQ;oBAAK;kBAAE;iBAAE;cACjF;AAEA,qBAAO;gBAAE/C,MAAMrB,MAAME;gBAAY6D;cAAQ;YAC3C;UACF;QACF;MACF;IACF;EACF;AACF;;;AItJA,IAAA,cAAeM;",
6
6
  "names": ["React", "resolvePlugin", "parseIntentPlugin", "LayoutAction", "NavigationAction", "create", "LocalStorageStore", "parseClientPlugin", "createExtension", "DocumentType", "CollectionType", "fullyQualifiedId", "React", "React", "SettingsValue", "Input", "useTranslation", "PresenterSettings", "settings", "t", "useTranslation", "PRESENTER_PLUGIN", "SettingsValue", "label", "Input", "Switch", "checked", "presentCollections", "onCheckedChange", "RevealMain", "React", "lazy", "PresenterMain", "MarkdownSlide", "PRESENTER_PLUGIN", "PresenterPlugin", "settings", "LocalStorageStore", "PRESENTER_PLUGIN", "state", "create", "presenting", "meta", "provides", "translations", "values", "graph", "builder", "plugins", "client", "resolvePlugin", "parseClientPlugin", "dispatch", "parseIntentPlugin", "intent", "createExtension", "id", "filter", "node", "presentCollections", "data", "CollectionType", "DocumentType", "actions", "object", "fullyQualifiedId", "TOGGLE_PRESENTATION", "plugin", "action", "NavigationAction", "OPEN", "activeParts", "fullScreen", "properties", "label", "ns", "icon", "keyBinding", "macos", "windows", "context", "children", "React", "PresenterContext", "Provider", "value", "running", "start", "stop", "surface", "component", "role", "active", "PresenterMain", "collection", "disposition", "RevealMain", "document", "slide", "MarkdownSlide", "PresenterSettings", "resolver", "intents", "push", "LayoutAction", "SET_LAYOUT_MODE", "layoutMode", "revert", "PresenterPlugin"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"packages/plugins/plugin-presenter/src/meta.tsx":{"bytes":1356,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytes":2742,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Reveal/Reveal.tsx":{"bytes":12225,"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":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Reveal/index.ts":{"bytes":517,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Reveal/Reveal.tsx","kind":"import-statement","original":"./Reveal"}],"format":"esm"},"packages/plugins/plugin-presenter/src/types.ts":{"bytes":2273,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealMain.tsx":{"bytes":5777,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Reveal/index.ts","kind":"import-statement","original":"./Reveal"},{"path":"packages/plugins/plugin-presenter/src/meta.tsx","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/components/Presenter/Layout.tsx":{"bytes":3461,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytes":12360,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytes":605,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx":{"bytes":9484,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"},{"path":"packages/plugins/plugin-presenter/src/meta.tsx","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/components/Markdown/Container.tsx":{"bytes":8182,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytes":2210,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytes":17556,"imports":[{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytes":611,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx","kind":"import-statement","original":"./Container"},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytes":1849,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytes":1606,"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/RevealMain.tsx","kind":"dynamic-import","original":"./RevealMain"},{"path":"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx","kind":"dynamic-import","original":"./PresenterMain"},{"path":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","kind":"dynamic-import","original":"./MarkdownSlide"}],"format":"esm"},"packages/plugins/plugin-presenter/src/translations.ts":{"bytes":1402,"imports":[{"path":"packages/plugins/plugin-presenter/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytes":21338,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-presenter/src/meta.tsx","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-presenter/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/index.ts":{"bytes":915,"imports":[{"path":"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"},{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"./components"},{"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":12118},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2WFGCDV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-WIB4JEFU.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-4DTUPGHJ.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-GJU77TZA.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-4FZ3XIH5.mjs","kind":"dynamic-import"}],"exports":["MarkdownSlide","PresenterMain","PresenterPlugin","PresenterSettings","RevealMain","default"],"entryPoint":"packages/plugins/plugin-presenter/src/index.ts","inputs":{"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytesInOutput":5507},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytesInOutput":259},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytesInOutput":578},"packages/plugins/plugin-presenter/src/translations.ts":{"bytesInOutput":255},"packages/plugins/plugin-presenter/src/index.ts":{"bytesInOutput":35}},"bytes":7383},"packages/plugins/plugin-presenter/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-presenter/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-WIB4JEFU.mjs","kind":"import-statement"}],"exports":["PRESENTER_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-presenter/src/meta.tsx","inputs":{},"bytes":167},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-4DTUPGHJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8726},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-4DTUPGHJ.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2WFGCDV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-WIB4JEFU.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/RevealMain.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/RevealMain.tsx":{"bytesInOutput":1293},"packages/plugins/plugin-presenter/src/components/Reveal/Reveal.tsx":{"bytesInOutput":3168},"packages/plugins/plugin-presenter/src/components/Reveal/index.ts":{"bytesInOutput":0}},"bytes":4882},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-GJU77TZA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12971},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-GJU77TZA.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2WFGCDV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-WIB4JEFU.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx":{"bytesInOutput":2196},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytesInOutput":908},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytesInOutput":3320}},"bytes":6953},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2WFGCDV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1310},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2WFGCDV.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-WIB4JEFU.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true}],"exports":["PresenterContext","TOGGLE_PRESENTATION"],"inputs":{"packages/plugins/plugin-presenter/src/types.ts":{"bytesInOutput":211}},"bytes":420},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-WIB4JEFU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":643},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-WIB4JEFU.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["PRESENTER_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-presenter/src/meta.tsx":{"bytesInOutput":270}},"bytes":412},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-4FZ3XIH5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13415},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-4FZ3XIH5.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytesInOutput":326},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytesInOutput":1351},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytesInOutput":4999},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytesInOutput":509}},"bytes":7716}}}
1
+ {"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytes":1245,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytes":2742,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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/Reveal/Reveal.tsx":{"bytes":12225,"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":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Reveal/index.ts":{"bytes":517,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Reveal/Reveal.tsx","kind":"import-statement","original":"./Reveal"}],"format":"esm"},"packages/plugins/plugin-presenter/src/types.ts":{"bytes":2273,"imports":[{"path":"react","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/RevealMain.tsx":{"bytes":5777,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Reveal/index.ts","kind":"import-statement","original":"./Reveal"},{"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/components/Presenter/Layout.tsx":{"bytes":3461,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytes":12360,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytes":605,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx":{"bytes":9484,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"},{"path":"packages/plugins/plugin-presenter/src/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/components/Markdown/Container.tsx":{"bytes":8182,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytes":2210,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytes":17556,"imports":[{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytes":611,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx","kind":"import-statement","original":"./Container"},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytes":1849,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytes":1606,"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/RevealMain.tsx","kind":"dynamic-import","original":"./RevealMain"},{"path":"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx","kind":"dynamic-import","original":"./PresenterMain"},{"path":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","kind":"dynamic-import","original":"./MarkdownSlide"}],"format":"esm"},"packages/plugins/plugin-presenter/src/translations.ts":{"bytes":1402,"imports":[{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytes":21314,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/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/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/index.ts":{"bytes":915,"imports":[{"path":"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"},{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"./components"},{"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":12104},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-VBFJVII3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-7L3MFWJK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-CDHOD2NT.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-E63EFX66.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-4FZ3XIH5.mjs","kind":"dynamic-import"}],"exports":["MarkdownSlide","PresenterMain","PresenterPlugin","PresenterSettings","RevealMain","default"],"entryPoint":"packages/plugins/plugin-presenter/src/index.ts","inputs":{"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytesInOutput":5503},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytesInOutput":259},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytesInOutput":578},"packages/plugins/plugin-presenter/src/translations.ts":{"bytesInOutput":255},"packages/plugins/plugin-presenter/src/index.ts":{"bytesInOutput":35}},"bytes":7379},"packages/plugins/plugin-presenter/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-presenter/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-7L3MFWJK.mjs","kind":"import-statement"}],"exports":["PRESENTER_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-presenter/src/meta.ts","inputs":{},"bytes":167},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-CDHOD2NT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8726},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-CDHOD2NT.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-VBFJVII3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-7L3MFWJK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/RevealMain.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/RevealMain.tsx":{"bytesInOutput":1293},"packages/plugins/plugin-presenter/src/components/Reveal/Reveal.tsx":{"bytesInOutput":3168},"packages/plugins/plugin-presenter/src/components/Reveal/index.ts":{"bytesInOutput":0}},"bytes":4882},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-E63EFX66.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12971},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-E63EFX66.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-VBFJVII3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-7L3MFWJK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/PresenterMain.tsx":{"bytesInOutput":2196},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytesInOutput":908},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytesInOutput":3320}},"bytes":6953},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-VBFJVII3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1310},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-VBFJVII3.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-7L3MFWJK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true}],"exports":["PresenterContext","TOGGLE_PRESENTATION"],"inputs":{"packages/plugins/plugin-presenter/src/types.ts":{"bytesInOutput":211}},"bytes":420},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-7L3MFWJK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":597},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-7L3MFWJK.mjs":{"imports":[],"exports":["PRESENTER_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytesInOutput":208}},"bytes":349},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-4FZ3XIH5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13415},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-4FZ3XIH5.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytesInOutput":326},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytesInOutput":1351},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytesInOutput":4999},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytesInOutput":509}},"bytes":7716}}}
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PRESENTER_PLUGIN,
3
3
  meta_default
4
- } from "./chunk-WIB4JEFU.mjs";
4
+ } from "./chunk-7L3MFWJK.mjs";
5
5
  export {
6
6
  PRESENTER_PLUGIN,
7
7
  meta_default as default
@@ -1,12 +1,9 @@
1
1
  export declare const PRESENTER_PLUGIN = "dxos.org/plugin/presenter";
2
2
  declare const _default: {
3
3
  id: string;
4
- shortId?: string;
5
- name?: string;
6
- description?: string;
7
- homePage?: string;
8
- tags?: string[];
9
- icon?: string;
4
+ name: string;
5
+ description: string;
6
+ icon: string;
10
7
  };
11
8
  export default _default;
12
9
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,8BAA8B,CAAC;;;;;;;;;;AAE5D,wBAKG"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,8BAA8B,CAAC;;;;;;;AAE5D,wBAKuB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-presenter",
3
- "version": "0.6.12-staging.e11e696",
3
+ "version": "0.6.13-main.041e8aa",
4
4
  "description": "Braneframe presenter plugin",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -40,18 +40,18 @@
40
40
  "remark-frontmatter": "^5.0.0",
41
41
  "remark-parse-frontmatter": "^1.0.3",
42
42
  "reveal.js": "^5.1.0",
43
- "@dxos/app-framework": "0.6.12-staging.e11e696",
44
- "@dxos/echo-schema": "0.6.12-staging.e11e696",
45
- "@dxos/local-storage": "0.6.12-staging.e11e696",
46
- "@dxos/log": "0.6.12-staging.e11e696",
47
- "@dxos/plugin-client": "0.6.12-staging.e11e696",
48
- "@dxos/plugin-graph": "0.6.12-staging.e11e696",
49
- "@dxos/plugin-markdown": "0.6.12-staging.e11e696",
50
- "@dxos/plugin-settings": "0.6.12-staging.e11e696",
51
- "@dxos/plugin-space": "0.6.12-staging.e11e696",
52
- "@dxos/plugin-stack": "0.6.12-staging.e11e696",
53
- "@dxos/react-client": "0.6.12-staging.e11e696",
54
- "@dxos/async": "0.6.12-staging.e11e696"
43
+ "@dxos/app-framework": "0.6.13-main.041e8aa",
44
+ "@dxos/local-storage": "0.6.13-main.041e8aa",
45
+ "@dxos/echo-schema": "0.6.13-main.041e8aa",
46
+ "@dxos/async": "0.6.13-main.041e8aa",
47
+ "@dxos/log": "0.6.13-main.041e8aa",
48
+ "@dxos/plugin-client": "0.6.13-main.041e8aa",
49
+ "@dxos/plugin-graph": "0.6.13-main.041e8aa",
50
+ "@dxos/plugin-markdown": "0.6.13-main.041e8aa",
51
+ "@dxos/plugin-space": "0.6.13-main.041e8aa",
52
+ "@dxos/plugin-settings": "0.6.13-main.041e8aa",
53
+ "@dxos/plugin-stack": "0.6.13-main.041e8aa",
54
+ "@dxos/react-client": "0.6.13-main.041e8aa"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@phosphor-icons/react": "^2.1.5",
@@ -62,17 +62,17 @@
62
62
  "react": "~18.2.0",
63
63
  "react-dom": "~18.2.0",
64
64
  "vite": "5.4.7",
65
- "@dxos/react-ui": "0.6.12-staging.e11e696",
66
- "@dxos/random": "0.6.12-staging.e11e696",
67
- "@dxos/storybook-utils": "0.6.12-staging.e11e696",
68
- "@dxos/react-ui-theme": "0.6.12-staging.e11e696"
65
+ "@dxos/random": "0.6.13-main.041e8aa",
66
+ "@dxos/react-ui": "0.6.13-main.041e8aa",
67
+ "@dxos/react-ui-theme": "0.6.13-main.041e8aa",
68
+ "@dxos/storybook-utils": "0.6.13-main.041e8aa"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "@phosphor-icons/react": "^2.1.5",
72
72
  "react": "~18.2.0",
73
73
  "react-dom": "~18.2.0",
74
- "@dxos/react-ui": "0.6.12-staging.e11e696",
75
- "@dxos/react-ui-theme": "0.6.12-staging.e11e696"
74
+ "@dxos/react-ui": "0.6.13-main.041e8aa",
75
+ "@dxos/react-ui-theme": "0.6.13-main.041e8aa"
76
76
  },
77
77
  "publishConfig": {
78
78
  "access": "public"
@@ -38,7 +38,7 @@ type PresenterState = {
38
38
  };
39
39
 
40
40
  export const PresenterPlugin = (): PluginDefinition<PresenterPluginProvides> => {
41
- const settings = new LocalStorageStore<PresenterSettingsProps>(PRESENTER_PLUGIN, {});
41
+ const settings = new LocalStorageStore<PresenterSettingsProps>(PRESENTER_PLUGIN);
42
42
 
43
43
  // TODO(burdon): Do we need context providers if we can get the state from the plugin?
44
44
  const state = create<PresenterState>({ presenting: false });
@@ -2,13 +2,13 @@
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
4
 
5
- import { pluginMeta } from '@dxos/app-framework';
5
+ import { type PluginMeta } from '@dxos/app-framework';
6
6
 
7
7
  export const PRESENTER_PLUGIN = 'dxos.org/plugin/presenter';
8
8
 
9
- export default pluginMeta({
9
+ export default {
10
10
  id: PRESENTER_PLUGIN,
11
11
  name: 'Presenter',
12
12
  description: 'Present documents as slideshows.',
13
13
  icon: 'ph--presentation--regular',
14
- });
14
+ } satisfies PluginMeta;
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/meta.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { pluginMeta } from '@dxos/app-framework';\n\nexport const PRESENTER_PLUGIN = 'dxos.org/plugin/presenter';\n\nexport default pluginMeta({\n id: PRESENTER_PLUGIN,\n name: 'Presenter',\n description: 'Present documents as slideshows.',\n icon: 'ph--presentation--regular',\n});\n"],
5
- "mappings": ";AAIA,SAASA,kBAAkB;AAEpB,IAAMC,mBAAmB;AAEhC,IAAA,eAAeC,WAAW;EACxBC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,MAAM;AACR,CAAA;",
6
- "names": ["pluginMeta", "PRESENTER_PLUGIN", "pluginMeta", "id", "name", "description", "icon"]
7
- }