@dxos/plugin-presenter 0.6.12-main.5cc132e → 0.6.12-main.7907542
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/{PresenterMain-E2XS74B4.mjs → PresenterMain-GJU77TZA.mjs} +3 -3
- package/dist/lib/browser/{RevealMain-3KPVP35M.mjs → RevealMain-4DTUPGHJ.mjs} +3 -3
- package/dist/lib/browser/{chunk-KWRWOGSM.mjs → chunk-S2WFGCDV.mjs} +2 -2
- package/dist/lib/browser/{chunk-XDACGTXJ.mjs → chunk-WIB4JEFU.mjs} +2 -5
- package/dist/lib/browser/chunk-WIB4JEFU.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +5 -7
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/meta.mjs +1 -1
- package/dist/types/src/PresenterPlugin.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/meta.d.ts +1 -4
- package/dist/types/src/meta.d.ts.map +1 -1
- package/package.json +21 -21
- package/src/PresenterPlugin.tsx +1 -3
- package/src/meta.tsx +1 -5
- package/dist/lib/browser/chunk-XDACGTXJ.mjs.map +0 -7
- /package/dist/lib/browser/{PresenterMain-E2XS74B4.mjs.map → PresenterMain-GJU77TZA.mjs.map} +0 -0
- /package/dist/lib/browser/{RevealMain-3KPVP35M.mjs.map → RevealMain-4DTUPGHJ.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-KWRWOGSM.mjs.map → chunk-S2WFGCDV.mjs.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterContext,
|
|
3
3
|
TOGGLE_PRESENTATION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S2WFGCDV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
PRESENTER_PLUGIN
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WIB4JEFU.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-
|
|
211
|
+
//# sourceMappingURL=PresenterMain-GJU77TZA.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TOGGLE_PRESENTATION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S2WFGCDV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRESENTER_PLUGIN
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WIB4JEFU.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-
|
|
170
|
+
//# sourceMappingURL=RevealMain-4DTUPGHJ.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRESENTER_PLUGIN
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WIB4JEFU.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-
|
|
20
|
+
//# sourceMappingURL=chunk-S2WFGCDV.mjs.map
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
// packages/plugins/plugin-presenter/src/meta.tsx
|
|
2
|
-
import { Presentation } from "@phosphor-icons/react";
|
|
3
|
-
import React from "react";
|
|
4
2
|
import { pluginMeta } from "@dxos/app-framework";
|
|
5
3
|
var PRESENTER_PLUGIN = "dxos.org/plugin/presenter";
|
|
6
4
|
var meta_default = pluginMeta({
|
|
7
5
|
id: PRESENTER_PLUGIN,
|
|
8
6
|
name: "Presenter",
|
|
9
7
|
description: "Present documents as slideshows.",
|
|
10
|
-
|
|
11
|
-
iconSymbol: "ph--presentation--regular"
|
|
8
|
+
icon: "ph--presentation--regular"
|
|
12
9
|
});
|
|
13
10
|
|
|
14
11
|
export {
|
|
15
12
|
PRESENTER_PLUGIN,
|
|
16
13
|
meta_default
|
|
17
14
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-WIB4JEFU.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterContext,
|
|
3
3
|
TOGGLE_PRESENTATION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S2WFGCDV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
PRESENTER_PLUGIN,
|
|
7
7
|
meta_default
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WIB4JEFU.mjs";
|
|
9
9
|
|
|
10
10
|
// packages/plugins/plugin-presenter/src/PresenterPlugin.tsx
|
|
11
|
-
import { Presentation } from "@phosphor-icons/react";
|
|
12
11
|
import React3 from "react";
|
|
13
12
|
import { resolvePlugin, parseIntentPlugin, LayoutAction, NavigationAction } from "@dxos/app-framework";
|
|
14
13
|
import { create } from "@dxos/echo-schema";
|
|
@@ -37,8 +36,8 @@ var PresenterSettings = ({ settings }) => {
|
|
|
37
36
|
};
|
|
38
37
|
|
|
39
38
|
// packages/plugins/plugin-presenter/src/components/index.ts
|
|
40
|
-
var RevealMain = React2.lazy(() => import("./RevealMain-
|
|
41
|
-
var PresenterMain = React2.lazy(() => import("./PresenterMain-
|
|
39
|
+
var RevealMain = React2.lazy(() => import("./RevealMain-4DTUPGHJ.mjs"));
|
|
40
|
+
var PresenterMain = React2.lazy(() => import("./PresenterMain-GJU77TZA.mjs"));
|
|
42
41
|
var MarkdownSlide = React2.lazy(() => import("./MarkdownSlide-4FZ3XIH5.mjs"));
|
|
43
42
|
|
|
44
43
|
// packages/plugins/plugin-presenter/src/translations.ts
|
|
@@ -109,8 +108,7 @@ var PresenterPlugin = () => {
|
|
|
109
108
|
ns: PRESENTER_PLUGIN
|
|
110
109
|
}
|
|
111
110
|
],
|
|
112
|
-
icon:
|
|
113
|
-
iconSymbol: "ph--presentation--regular",
|
|
111
|
+
icon: "ph--presentation--regular",
|
|
114
112
|
keyBinding: {
|
|
115
113
|
macos: "shift+meta+p",
|
|
116
114
|
windows: "shift+alt+p"
|
|
@@ -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
|
|
5
|
-
"mappings": ";;;;;;;;;;AAIA,
|
|
6
|
-
"names": ["
|
|
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": "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",
|
|
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":1959,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"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":21865,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"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":12406},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-KWRWOGSM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-XDACGTXJ.mjs","kind":"import-statement"},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"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-3KPVP35M.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-E2XS74B4.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":5663},"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":7539},"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-XDACGTXJ.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-3KPVP35M.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8726},"packages/plugins/plugin-presenter/dist/lib/browser/RevealMain-3KPVP35M.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-KWRWOGSM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-XDACGTXJ.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-E2XS74B4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12971},"packages/plugins/plugin-presenter/dist/lib/browser/PresenterMain-E2XS74B4.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-KWRWOGSM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-XDACGTXJ.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-KWRWOGSM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1310},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-KWRWOGSM.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-XDACGTXJ.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-XDACGTXJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":977},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-XDACGTXJ.mjs":{"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["PRESENTER_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-presenter/src/meta.tsx":{"bytesInOutput":443}},"bytes":585},"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.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresenterPlugin.d.ts","sourceRoot":"","sources":["../../../src/PresenterPlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PresenterPlugin.d.ts","sourceRoot":"","sources":["../../../src/PresenterPlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,gBAAgB,EAKtB,MAAM,qBAAqB,CAAC;AAY7B,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,SAAS,CAAC;AASjB,eAAO,MAAM,eAAe,QAAO,gBAAgB,CAAC,uBAAuB,CAqH1E,CAAC"}
|
|
@@ -4,7 +4,7 @@ export declare const RevealMain: React.LazyExoticComponent<React.FC<{
|
|
|
4
4
|
document: import("packages/plugins/plugin-markdown/dist/types/src/types").DocumentType;
|
|
5
5
|
}>>;
|
|
6
6
|
export declare const PresenterMain: React.LazyExoticComponent<React.FC<{
|
|
7
|
-
collection: import("packages/plugins/plugin-space/dist/types/src
|
|
7
|
+
collection: import("packages/plugins/plugin-space/dist/types/src").CollectionType;
|
|
8
8
|
}>>;
|
|
9
9
|
export declare const MarkdownSlide: React.LazyExoticComponent<React.FC<{
|
|
10
10
|
document: import("packages/plugins/plugin-markdown/dist/types/src/types").DocumentType;
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { type IconProps } from '@phosphor-icons/react';
|
|
2
|
-
import React from 'react';
|
|
3
1
|
export declare const PRESENTER_PLUGIN = "dxos.org/plugin/presenter";
|
|
4
2
|
declare const _default: {
|
|
5
3
|
id: string;
|
|
@@ -8,8 +6,7 @@ declare const _default: {
|
|
|
8
6
|
description?: string;
|
|
9
7
|
homePage?: string;
|
|
10
8
|
tags?: string[];
|
|
11
|
-
|
|
12
|
-
iconSymbol?: string;
|
|
9
|
+
icon?: string;
|
|
13
10
|
};
|
|
14
11
|
export default _default;
|
|
15
12
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,8BAA8B,CAAC;;;;;;;;;;AAE5D,wBAKG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-presenter",
|
|
3
|
-
"version": "0.6.12-main.
|
|
3
|
+
"version": "0.6.12-main.7907542",
|
|
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-main.
|
|
44
|
-
"@dxos/async": "0.6.12-main.
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/log": "0.6.12-main.
|
|
48
|
-
"@dxos/plugin-
|
|
49
|
-
"@dxos/plugin-
|
|
50
|
-
"@dxos/plugin-
|
|
51
|
-
"@dxos/plugin-
|
|
52
|
-
"@dxos/plugin-space": "0.6.12-main.
|
|
53
|
-
"@dxos/react-client": "0.6.12-main.
|
|
54
|
-
"@dxos/plugin-stack": "0.6.12-main.
|
|
43
|
+
"@dxos/app-framework": "0.6.12-main.7907542",
|
|
44
|
+
"@dxos/async": "0.6.12-main.7907542",
|
|
45
|
+
"@dxos/echo-schema": "0.6.12-main.7907542",
|
|
46
|
+
"@dxos/local-storage": "0.6.12-main.7907542",
|
|
47
|
+
"@dxos/log": "0.6.12-main.7907542",
|
|
48
|
+
"@dxos/plugin-client": "0.6.12-main.7907542",
|
|
49
|
+
"@dxos/plugin-markdown": "0.6.12-main.7907542",
|
|
50
|
+
"@dxos/plugin-settings": "0.6.12-main.7907542",
|
|
51
|
+
"@dxos/plugin-graph": "0.6.12-main.7907542",
|
|
52
|
+
"@dxos/plugin-space": "0.6.12-main.7907542",
|
|
53
|
+
"@dxos/react-client": "0.6.12-main.7907542",
|
|
54
|
+
"@dxos/plugin-stack": "0.6.12-main.7907542"
|
|
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/random": "0.6.12-main.
|
|
66
|
-
"@dxos/react-ui": "0.6.12-main.
|
|
67
|
-
"@dxos/react-ui-theme": "0.6.12-main.
|
|
68
|
-
"@dxos/storybook-utils": "0.6.12-main.
|
|
65
|
+
"@dxos/random": "0.6.12-main.7907542",
|
|
66
|
+
"@dxos/react-ui": "0.6.12-main.7907542",
|
|
67
|
+
"@dxos/react-ui-theme": "0.6.12-main.7907542",
|
|
68
|
+
"@dxos/storybook-utils": "0.6.12-main.7907542"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"@phosphor-icons/react": "^2.1.5",
|
|
72
|
-
"react": "
|
|
73
|
-
"react-dom": "
|
|
74
|
-
"@dxos/react-ui": "0.6.12-main.
|
|
75
|
-
"@dxos/react-ui-theme": "0.6.12-main.
|
|
72
|
+
"react": "~18.2.0",
|
|
73
|
+
"react-dom": "~18.2.0",
|
|
74
|
+
"@dxos/react-ui": "0.6.12-main.7907542",
|
|
75
|
+
"@dxos/react-ui-theme": "0.6.12-main.7907542"
|
|
76
76
|
},
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
package/src/PresenterPlugin.tsx
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { type IconProps, Presentation } from '@phosphor-icons/react';
|
|
6
5
|
import React from 'react';
|
|
7
6
|
|
|
8
7
|
import {
|
|
@@ -86,8 +85,7 @@ export const PresenterPlugin = (): PluginDefinition<PresenterPluginProvides> =>
|
|
|
86
85
|
},
|
|
87
86
|
properties: {
|
|
88
87
|
label: ['toggle presentation label', { ns: PRESENTER_PLUGIN }],
|
|
89
|
-
icon:
|
|
90
|
-
iconSymbol: 'ph--presentation--regular',
|
|
88
|
+
icon: 'ph--presentation--regular',
|
|
91
89
|
keyBinding: {
|
|
92
90
|
macos: 'shift+meta+p',
|
|
93
91
|
windows: 'shift+alt+p',
|
package/src/meta.tsx
CHANGED
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Presentation, type IconProps } from '@phosphor-icons/react';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
|
|
8
5
|
import { pluginMeta } from '@dxos/app-framework';
|
|
9
6
|
|
|
10
7
|
export const PRESENTER_PLUGIN = 'dxos.org/plugin/presenter';
|
|
@@ -13,6 +10,5 @@ export default pluginMeta({
|
|
|
13
10
|
id: PRESENTER_PLUGIN,
|
|
14
11
|
name: 'Presenter',
|
|
15
12
|
description: 'Present documents as slideshows.',
|
|
16
|
-
|
|
17
|
-
iconSymbol: 'ph--presentation--regular',
|
|
13
|
+
icon: 'ph--presentation--regular',
|
|
18
14
|
});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Presentation, type IconProps } from '@phosphor-icons/react';\nimport React from 'react';\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 iconComponent: (props: IconProps) => <Presentation {...props} />,\n iconSymbol: 'ph--presentation--regular',\n});\n"],
|
|
5
|
-
"mappings": ";AAIA,SAASA,oBAAoC;AAC7C,OAAOC,WAAW;AAElB,SAASC,kBAAkB;AAEpB,IAAMC,mBAAmB;AAEhC,IAAA,eAAeC,WAAW;EACxBC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,eAAe,CAACC,UAAqB,sBAAA,cAACC,cAAiBD,KAAAA;EACvDE,YAAY;AACd,CAAA;",
|
|
6
|
-
"names": ["Presentation", "React", "pluginMeta", "PRESENTER_PLUGIN", "pluginMeta", "id", "name", "description", "iconComponent", "props", "Presentation", "iconSymbol"]
|
|
7
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|