@dxos/plugin-presenter 0.8.3 → 0.8.4-main.c1de068
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/{CollectionPresenterContainer-YEJSMZFR.mjs → CollectionPresenterContainer-GH4GIA6P.mjs} +21 -19
- package/dist/lib/browser/CollectionPresenterContainer-GH4GIA6P.mjs.map +7 -0
- package/dist/lib/browser/{DocumentPresenterContainer-QNXYZ5WX.mjs → DocumentPresenterContainer-E7RGK572.mjs} +5 -5
- package/dist/lib/browser/{MarkdownSlide-EI5XTZGO.mjs → MarkdownSlide-QHC3GZII.mjs} +7 -7
- package/dist/lib/browser/{app-graph-builder-NEAHHOKU.mjs → app-graph-builder-2ZLAWPF2.mjs} +4 -4
- package/dist/lib/browser/{chunk-P2I7C2CY.mjs → chunk-SW3HIRDA.mjs} +3 -3
- package/dist/lib/browser/{chunk-2RWWAQZK.mjs → chunk-TANLITL2.mjs} +2 -2
- package/dist/lib/browser/{chunk-S2S5RFJ4.mjs → chunk-VSD5LSE5.mjs} +2 -2
- package/dist/lib/browser/{chunk-4OPZ2PG6.mjs → chunk-YYPOO6XK.mjs} +7 -7
- package/dist/lib/browser/index.mjs +12 -12
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-6WH4XLTT.mjs → react-surface-GQSVWJBG.mjs} +4 -4
- package/dist/lib/browser/{settings-KZGHTWTK.mjs → settings-X7M27QCY.mjs} +4 -4
- package/dist/types/src/components/Markdown/Container.stories.d.ts +1 -1
- package/dist/types/src/components/Markdown/Container.stories.d.ts.map +1 -1
- package/dist/types/src/components/Markdown/Slide.stories.d.ts +1 -1
- package/dist/types/src/components/Markdown/Slide.stories.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/Pager.d.ts +3 -3
- package/dist/types/src/components/Presenter/Pager.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/Pager.stories.d.ts +1 -1
- package/dist/types/src/components/Presenter/Pager.stories.d.ts.map +1 -1
- package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts +1 -1
- package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +8 -8
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +27 -29
- package/src/PresenterPlugin.tsx +1 -1
- package/src/components/Markdown/Container.stories.tsx +1 -1
- package/src/components/Markdown/Slide.stories.tsx +1 -1
- package/src/components/Presenter/Pager.stories.tsx +4 -1
- package/src/components/Presenter/Pager.tsx +8 -10
- package/src/components/RevealPlayer/RevealPlayer.stories.tsx +2 -2
- package/src/translations.ts +6 -4
- package/dist/lib/browser/CollectionPresenterContainer-YEJSMZFR.mjs.map +0 -7
- /package/dist/lib/browser/{DocumentPresenterContainer-QNXYZ5WX.mjs.map → DocumentPresenterContainer-E7RGK572.mjs.map} +0 -0
- /package/dist/lib/browser/{MarkdownSlide-EI5XTZGO.mjs.map → MarkdownSlide-QHC3GZII.mjs.map} +0 -0
- /package/dist/lib/browser/{app-graph-builder-NEAHHOKU.mjs.map → app-graph-builder-2ZLAWPF2.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-P2I7C2CY.mjs.map → chunk-SW3HIRDA.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-2RWWAQZK.mjs.map → chunk-TANLITL2.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-S2S5RFJ4.mjs.map → chunk-VSD5LSE5.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-4OPZ2PG6.mjs.map → chunk-YYPOO6XK.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-6WH4XLTT.mjs.map → react-surface-GQSVWJBG.mjs.map} +0 -0
- /package/dist/lib/browser/{settings-KZGHTWTK.mjs.map → settings-X7M27QCY.mjs.map} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useExitPresenter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TANLITL2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PresenterContext
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-SW3HIRDA.mjs";
|
|
7
|
+
import "./chunk-VSD5LSE5.mjs";
|
|
8
8
|
|
|
9
|
-
//
|
|
9
|
+
// src/components/CollectionPresenterContainer.tsx
|
|
10
10
|
import { useSignals as _useSignals3 } from "@preact-signals/safe-react/tracking";
|
|
11
11
|
import React3, { useContext, useState } from "react";
|
|
12
12
|
import { Surface } from "@dxos/app-framework";
|
|
13
13
|
import { StackItem } from "@dxos/react-ui-stack";
|
|
14
14
|
|
|
15
|
-
//
|
|
15
|
+
// src/components/Presenter/Layout.tsx
|
|
16
16
|
import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
|
|
17
17
|
import React from "react";
|
|
18
18
|
import { mx } from "@dxos/react-ui-theme";
|
|
@@ -39,12 +39,10 @@ var Layout = ({ children, classNames, topLeft, topRight, bottomLeft, bottomRight
|
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
//
|
|
42
|
+
// src/components/Presenter/Pager.tsx
|
|
43
43
|
import { useSignals as _useSignals2 } from "@preact-signals/safe-react/tracking";
|
|
44
|
-
import { Play, X, CaretDoubleLeft, CaretDoubleRight, CaretLeft, CaretRight } from "@phosphor-icons/react";
|
|
45
44
|
import React2, { useEffect } from "react";
|
|
46
|
-
import { Button, useControlledState } from "@dxos/react-ui";
|
|
47
|
-
import { getSize, mx as mx2 } from "@dxos/react-ui-theme";
|
|
45
|
+
import { Button, useControlledState, Icon } from "@dxos/react-ui";
|
|
48
46
|
var Pager = ({ index: controlledIndex = 0, count = 0, keys, onChange, onExit }) => {
|
|
49
47
|
var _effect = _useSignals2();
|
|
50
48
|
try {
|
|
@@ -111,26 +109,30 @@ var Pager = ({ index: controlledIndex = 0, count = 0, keys, onChange, onExit })
|
|
|
111
109
|
variant: "ghost",
|
|
112
110
|
classNames: "p-0",
|
|
113
111
|
onClick: () => onChange?.(0)
|
|
114
|
-
}, /* @__PURE__ */ React2.createElement(
|
|
115
|
-
|
|
112
|
+
}, /* @__PURE__ */ React2.createElement(Icon, {
|
|
113
|
+
icon: "ph--caret-double-left--regular",
|
|
114
|
+
size: 6
|
|
116
115
|
})), /* @__PURE__ */ React2.createElement(Button, {
|
|
117
116
|
variant: "ghost",
|
|
118
117
|
classNames: "p-0",
|
|
119
118
|
onClick: () => handleChangeIndex(-1)
|
|
120
|
-
}, /* @__PURE__ */ React2.createElement(
|
|
121
|
-
|
|
119
|
+
}, /* @__PURE__ */ React2.createElement(Icon, {
|
|
120
|
+
icon: "ph--caret-left--regular",
|
|
121
|
+
size: 6
|
|
122
122
|
})), /* @__PURE__ */ React2.createElement(Button, {
|
|
123
123
|
variant: "ghost",
|
|
124
124
|
classNames: "p-0",
|
|
125
125
|
onClick: () => handleChangeIndex(1)
|
|
126
|
-
}, /* @__PURE__ */ React2.createElement(
|
|
127
|
-
|
|
126
|
+
}, /* @__PURE__ */ React2.createElement(Icon, {
|
|
127
|
+
icon: "ph--caret-right--regular",
|
|
128
|
+
size: 6
|
|
128
129
|
})), /* @__PURE__ */ React2.createElement(Button, {
|
|
129
130
|
variant: "ghost",
|
|
130
131
|
classNames: "p-0",
|
|
131
132
|
onClick: () => onChange?.(count - 1)
|
|
132
|
-
}, /* @__PURE__ */ React2.createElement(
|
|
133
|
-
|
|
133
|
+
}, /* @__PURE__ */ React2.createElement(Icon, {
|
|
134
|
+
icon: "ph--caret-double-right--regular",
|
|
135
|
+
size: 6
|
|
134
136
|
})));
|
|
135
137
|
} finally {
|
|
136
138
|
_effect.f();
|
|
@@ -150,7 +152,7 @@ var PageNumber = ({ index = 0, count = 1 }) => {
|
|
|
150
152
|
}
|
|
151
153
|
};
|
|
152
154
|
|
|
153
|
-
//
|
|
155
|
+
// src/components/CollectionPresenterContainer.tsx
|
|
154
156
|
var CollectionPresenterContainer = ({ collection }) => {
|
|
155
157
|
var _effect = _useSignals3();
|
|
156
158
|
try {
|
|
@@ -186,4 +188,4 @@ var CollectionPresenterContainer_default = CollectionPresenterContainer;
|
|
|
186
188
|
export {
|
|
187
189
|
CollectionPresenterContainer_default as default
|
|
188
190
|
};
|
|
189
|
-
//# sourceMappingURL=CollectionPresenterContainer-
|
|
191
|
+
//# sourceMappingURL=CollectionPresenterContainer-GH4GIA6P.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/CollectionPresenterContainer.tsx", "../../../src/components/Presenter/Layout.tsx", "../../../src/components/Presenter/Pager.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type FC, useContext, useState } from 'react';\n\nimport { Surface } from '@dxos/app-framework';\nimport { StackItem } from '@dxos/react-ui-stack';\nimport { type DataType } from '@dxos/schema';\n\nimport { Layout, PageNumber, Pager } from './Presenter';\nimport { PresenterContext } from '../types';\nimport { useExitPresenter } from '../useExitPresenter';\n\nconst CollectionPresenterContainer: FC<{ collection: DataType.Collection }> = ({ collection }) => {\n const [slide, setSlide] = useState(0);\n\n const { running } = useContext(PresenterContext);\n\n const handleExit = useExitPresenter(collection);\n\n return (\n <StackItem.Content classNames='relative'>\n <Layout\n bottomRight={<PageNumber index={slide} count={collection.objects.length} />}\n bottomLeft={\n <Pager\n index={slide}\n count={collection.objects.length}\n keys={running}\n onChange={setSlide}\n onExit={handleExit}\n />\n }\n >\n {/* TODO(wittjosiah): Better slide placeholder. */}\n <Surface role='slide' data={{ subject: collection.objects[slide] }} placeholder={<></>} />\n </Layout>\n </StackItem.Content>\n );\n};\n\nexport default CollectionPresenterContainer;\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type PropsWithChildren, type ReactNode } from 'react';\n\nimport { type ThemedClassName } from '@dxos/react-ui';\nimport { mx } from '@dxos/react-ui-theme';\n\nexport type LayoutProps = ThemedClassName<\n PropsWithChildren<{\n className?: string;\n topLeft?: ReactNode;\n topRight?: ReactNode;\n bottomLeft?: ReactNode;\n bottomRight?: ReactNode;\n }>\n>;\n\nexport const Layout = ({ children, classNames, topLeft, topRight, bottomLeft, bottomRight }: LayoutProps) => {\n return (\n <div className={mx('flex grow relative overflow-hidden bg-attention', classNames)}>\n <div className={mx('flex flex-col grow overflow-hidden')}>{children}</div>\n\n <div className='z-[200]'>\n <div className='absolute top-4 left-4'>{topLeft}</div>\n <div className='absolute top-4 right-4'>{topRight}</div>\n <div className='absolute bottom-4 left-4'>{bottomLeft}</div>\n <div className='absolute bottom-4 right-4'>{bottomRight}</div>\n </div>\n </div>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { useEffect } from 'react';\n\nimport { Button, useControlledState, Icon } from '@dxos/react-ui';\n\nexport type PagerProps = {\n index?: number;\n count?: number;\n keys?: boolean; // TODO(burdon): Rename.\n onChange?: (index: number) => void;\n onExit?: () => void;\n};\n\nexport const Pager = ({ index: controlledIndex = 0, count = 0, keys, onChange, onExit }: PagerProps) => {\n const [index, setIndex] = useControlledState(controlledIndex);\n useEffect(() => {\n onChange?.(index);\n }, [index]);\n\n const handleChangeIndex = (dir: number) => {\n setIndex((index) => {\n const next = index + dir;\n return next >= 0 && next < count ? next : index;\n });\n };\n\n // TODO(burdon): Standardize via system key binding.\n useEffect(() => {\n if (!keys) {\n return;\n }\n\n const keydownHandler = (event: KeyboardEvent) => {\n switch (event.key) {\n case 'Escape': {\n onExit?.();\n break;\n }\n case 'ArrowLeft': {\n if (event.shiftKey) {\n onChange?.(0);\n } else {\n handleChangeIndex(-1);\n }\n break;\n }\n case 'ArrowRight': {\n if (event.shiftKey) {\n onChange?.(count - 1);\n } else {\n handleChangeIndex(1);\n }\n break;\n }\n case 'ArrowUp': {\n onChange?.(0);\n break;\n }\n case 'ArrowDown': {\n onChange?.(count - 1);\n break;\n }\n }\n };\n\n window.addEventListener('keydown', keydownHandler);\n return () => window.removeEventListener('keydown', keydownHandler);\n }, [keys, count]);\n\n if (index === undefined || !count) {\n return null;\n }\n\n return (\n <div className='flex items-center text-neutral-500'>\n <Button variant='ghost' classNames='p-0' onClick={() => onChange?.(0)}>\n <Icon icon='ph--caret-double-left--regular' size={6} />\n </Button>\n <Button variant='ghost' classNames='p-0' onClick={() => handleChangeIndex(-1)}>\n <Icon icon='ph--caret-left--regular' size={6} />\n </Button>\n <Button variant='ghost' classNames='p-0' onClick={() => handleChangeIndex(1)}>\n <Icon icon='ph--caret-right--regular' size={6} />\n </Button>\n <Button variant='ghost' classNames='p-0' onClick={() => onChange?.(count - 1)}>\n <Icon icon='ph--caret-double-right--regular' size={6} />\n </Button>\n </div>\n );\n};\n\nexport type PageNumberProps = {\n index?: number;\n count?: number;\n};\n\nexport const PageNumber = ({ index = 0, count = 1 }: PageNumberProps) => {\n if (index === undefined || !count) {\n return null;\n }\n\n return (\n <div className='flex items-center text-neutral-500 text-2xl'>\n <div>\n {index + 1} / {count}\n </div>\n </div>\n );\n};\n\nexport const StartButton = ({ running, onClick }: { running?: boolean; onClick?: (start: boolean) => void }) => {\n return (\n <Button variant='ghost' classNames='p-0' onClick={() => onClick?.(!running)}>\n {(running && <Icon icon='ph--x--regular' size={6} />) || <Icon icon='ph--play--regular' size={6} />}\n </Button>\n );\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;AAIA,OAAOA,UAAkBC,YAAYC,gBAAgB;AAErD,SAASC,eAAe;AACxB,SAASC,iBAAiB;;;;ACH1B,OAAOC,WAAuD;AAG9D,SAASC,UAAU;AAYZ,IAAMC,SAAS,CAAC,EAAEC,UAAUC,YAAYC,SAASC,UAAUC,YAAYC,YAAW,MAAe;;;AACtG,WACE,sBAAA,cAACC,OAAAA;MAAIC,WAAWC,GAAG,mDAAmDP,UAAAA;OACpE,sBAAA,cAACK,OAAAA;MAAIC,WAAWC,GAAG,oCAAA;OAAwCR,QAAAA,GAE3D,sBAAA,cAACM,OAAAA;MAAIC,WAAU;OACb,sBAAA,cAACD,OAAAA;MAAIC,WAAU;OAAyBL,OAAAA,GACxC,sBAAA,cAACI,OAAAA;MAAIC,WAAU;OAA0BJ,QAAAA,GACzC,sBAAA,cAACG,OAAAA;MAAIC,WAAU;OAA4BH,UAAAA,GAC3C,sBAAA,cAACE,OAAAA;MAAIC,WAAU;OAA6BF,WAAAA,CAAAA,CAAAA;;;;AAIpD;;;;AC5BA,OAAOI,UAASC,iBAAiB;AAEjC,SAASC,QAAQC,oBAAoBC,YAAY;AAU1C,IAAMC,QAAQ,CAAC,EAAEC,OAAOC,kBAAkB,GAAGC,QAAQ,GAAGC,MAAMC,UAAUC,OAAM,MAAc;;;AACjG,UAAM,CAACL,OAAOM,QAAAA,IAAYC,mBAAmBN,eAAAA;AAC7CO,cAAU,MAAA;AACRJ,iBAAWJ,KAAAA;IACb,GAAG;MAACA;KAAM;AAEV,UAAMS,oBAAoB,CAACC,QAAAA;AACzBJ,eAAS,CAACN,WAAAA;AACR,cAAMW,OAAOX,SAAQU;AACrB,eAAOC,QAAQ,KAAKA,OAAOT,QAAQS,OAAOX;MAC5C,CAAA;IACF;AAGAQ,cAAU,MAAA;AACR,UAAI,CAACL,MAAM;AACT;MACF;AAEA,YAAMS,iBAAiB,CAACC,UAAAA;AACtB,gBAAQA,MAAMC,KAAG;UACf,KAAK,UAAU;AACbT,qBAAAA;AACA;UACF;UACA,KAAK,aAAa;AAChB,gBAAIQ,MAAME,UAAU;AAClBX,yBAAW,CAAA;YACb,OAAO;AACLK,gCAAkB,EAAC;YACrB;AACA;UACF;UACA,KAAK,cAAc;AACjB,gBAAII,MAAME,UAAU;AAClBX,yBAAWF,QAAQ,CAAA;YACrB,OAAO;AACLO,gCAAkB,CAAA;YACpB;AACA;UACF;UACA,KAAK,WAAW;AACdL,uBAAW,CAAA;AACX;UACF;UACA,KAAK,aAAa;AAChBA,uBAAWF,QAAQ,CAAA;AACnB;UACF;QACF;MACF;AAEAc,aAAOC,iBAAiB,WAAWL,cAAAA;AACnC,aAAO,MAAMI,OAAOE,oBAAoB,WAAWN,cAAAA;IACrD,GAAG;MAACT;MAAMD;KAAM;AAEhB,QAAIF,UAAUmB,UAAa,CAACjB,OAAO;AACjC,aAAO;IACT;AAEA,WACE,gBAAAkB,OAAA,cAACC,OAAAA;MAAIC,WAAU;OACb,gBAAAF,OAAA,cAACG,QAAAA;MAAOC,SAAQ;MAAQC,YAAW;MAAMC,SAAS,MAAMtB,WAAW,CAAA;OACjE,gBAAAgB,OAAA,cAACO,MAAAA;MAAKC,MAAK;MAAiCC,MAAM;SAEpD,gBAAAT,OAAA,cAACG,QAAAA;MAAOC,SAAQ;MAAQC,YAAW;MAAMC,SAAS,MAAMjB,kBAAkB,EAAC;OACzE,gBAAAW,OAAA,cAACO,MAAAA;MAAKC,MAAK;MAA0BC,MAAM;SAE7C,gBAAAT,OAAA,cAACG,QAAAA;MAAOC,SAAQ;MAAQC,YAAW;MAAMC,SAAS,MAAMjB,kBAAkB,CAAA;OACxE,gBAAAW,OAAA,cAACO,MAAAA;MAAKC,MAAK;MAA2BC,MAAM;SAE9C,gBAAAT,OAAA,cAACG,QAAAA;MAAOC,SAAQ;MAAQC,YAAW;MAAMC,SAAS,MAAMtB,WAAWF,QAAQ,CAAA;OACzE,gBAAAkB,OAAA,cAACO,MAAAA;MAAKC,MAAK;MAAkCC,MAAM;;;;;AAI3D;AAOO,IAAMC,aAAa,CAAC,EAAE9B,QAAQ,GAAGE,QAAQ,EAAC,MAAmB;;;AAClE,QAAIF,UAAUmB,UAAa,CAACjB,OAAO;AACjC,aAAO;IACT;AAEA,WACE,gBAAAkB,OAAA,cAACC,OAAAA;MAAIC,WAAU;OACb,gBAAAF,OAAA,cAACC,OAAAA,MACErB,QAAQ,GAAE,OAAIE,KAAAA,CAAAA;;;;AAIvB;;;AFjGA,IAAM6B,+BAAwE,CAAC,EAAEC,WAAU,MAAE;;;AAC3F,UAAM,CAACC,OAAOC,QAAAA,IAAYC,SAAS,CAAA;AAEnC,UAAM,EAAEC,QAAO,IAAKC,WAAWC,gBAAAA;AAE/B,UAAMC,aAAaC,iBAAiBR,UAAAA;AAEpC,WACE,gBAAAS,OAAA,cAACC,UAAUC,SAAO;MAACC,YAAW;OAC5B,gBAAAH,OAAA,cAACI,QAAAA;MACCC,aAAa,gBAAAL,OAAA,cAACM,YAAAA;QAAWC,OAAOf;QAAOgB,OAAOjB,WAAWkB,QAAQC;;MACjEC,YACE,gBAAAX,OAAA,cAACY,OAAAA;QACCL,OAAOf;QACPgB,OAAOjB,WAAWkB,QAAQC;QAC1BG,MAAMlB;QACNmB,UAAUrB;QACVsB,QAAQjB;;OAKZ,gBAAAE,OAAA,cAACgB,SAAAA;MAAQC,MAAK;MAAQC,MAAM;QAAEC,SAAS5B,WAAWkB,QAAQjB,KAAAA;MAAO;MAAG4B,aAAa,gBAAApB,OAAA,cAAAA,OAAA,UAAA,IAAA;;;;;AAIzF;AAEA,IAAA,uCAAeV;",
|
|
6
|
+
"names": ["React", "useContext", "useState", "Surface", "StackItem", "React", "mx", "Layout", "children", "classNames", "topLeft", "topRight", "bottomLeft", "bottomRight", "div", "className", "mx", "React", "useEffect", "Button", "useControlledState", "Icon", "Pager", "index", "controlledIndex", "count", "keys", "onChange", "onExit", "setIndex", "useControlledState", "useEffect", "handleChangeIndex", "dir", "next", "keydownHandler", "event", "key", "shiftKey", "window", "addEventListener", "removeEventListener", "undefined", "React", "div", "className", "Button", "variant", "classNames", "onClick", "Icon", "icon", "size", "PageNumber", "CollectionPresenterContainer", "collection", "slide", "setSlide", "useState", "running", "useContext", "PresenterContext", "handleExit", "useExitPresenter", "React", "StackItem", "Content", "classNames", "Layout", "bottomRight", "PageNumber", "index", "count", "objects", "length", "bottomLeft", "Pager", "keys", "onChange", "onExit", "Surface", "role", "data", "subject", "placeholder"]
|
|
7
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useExitPresenter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TANLITL2.mjs";
|
|
4
4
|
|
|
5
|
-
//
|
|
5
|
+
// src/components/DocumentPresenterContainer.tsx
|
|
6
6
|
import { useSignals as _useSignals2 } from "@preact-signals/safe-react/tracking";
|
|
7
7
|
import React2 from "react";
|
|
8
8
|
import { StackItem } from "@dxos/react-ui-stack";
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// src/components/RevealPlayer/RevealPlayer.tsx
|
|
11
11
|
import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
|
|
12
12
|
import "reveal.js/dist/reveal.css";
|
|
13
13
|
import "reveal.js/dist/theme/black.css";
|
|
@@ -163,7 +163,7 @@ var RevealPlayer = ({ classNames, content, slide, fullscreen = true, onExit }) =
|
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
|
|
166
|
-
//
|
|
166
|
+
// src/components/DocumentPresenterContainer.tsx
|
|
167
167
|
var DocumentPresenterContainer = ({ document }) => {
|
|
168
168
|
var _effect = _useSignals2();
|
|
169
169
|
try {
|
|
@@ -182,4 +182,4 @@ var DocumentPresenterContainer_default = DocumentPresenterContainer;
|
|
|
182
182
|
export {
|
|
183
183
|
DocumentPresenterContainer_default as default
|
|
184
184
|
};
|
|
185
|
-
//# sourceMappingURL=DocumentPresenterContainer-
|
|
185
|
+
//# sourceMappingURL=DocumentPresenterContainer-E7RGK572.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// src/components/MarkdownSlide.tsx
|
|
2
2
|
import { useSignals as _useSignals3 } from "@preact-signals/safe-react/tracking";
|
|
3
3
|
import React3 from "react";
|
|
4
4
|
|
|
5
|
-
//
|
|
5
|
+
// src/components/Markdown/Container.tsx
|
|
6
6
|
import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
|
|
7
7
|
import React, { useState } from "react";
|
|
8
8
|
import { useResizeDetector } from "react-resize-detector";
|
|
@@ -51,7 +51,7 @@ var createLayoutProps = ({ width, height }) => {
|
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
//
|
|
54
|
+
// src/components/Markdown/Slide.tsx
|
|
55
55
|
import { useSignals as _useSignals2 } from "@preact-signals/safe-react/tracking";
|
|
56
56
|
import { h } from "hastscript";
|
|
57
57
|
import React2 from "react";
|
|
@@ -62,7 +62,7 @@ import remarkFrontmatter from "remark-frontmatter";
|
|
|
62
62
|
import remarkParseFrontmatter from "remark-parse-frontmatter";
|
|
63
63
|
import "highlight.js/styles/github.css";
|
|
64
64
|
|
|
65
|
-
//
|
|
65
|
+
// src/components/Markdown/theme.ts
|
|
66
66
|
var theme = {
|
|
67
67
|
root: "bg-attention leading-relaxed font-mono",
|
|
68
68
|
padding: "px-40 py-16 gap-8",
|
|
@@ -79,7 +79,7 @@ var theme = {
|
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
//
|
|
82
|
+
// src/components/Markdown/Slide.tsx
|
|
83
83
|
var Slide = ({ content = "", classes = theme.nodes }) => {
|
|
84
84
|
var _effect = _useSignals2();
|
|
85
85
|
try {
|
|
@@ -314,7 +314,7 @@ var components = {
|
|
|
314
314
|
img: ImageWrapper
|
|
315
315
|
};
|
|
316
316
|
|
|
317
|
-
//
|
|
317
|
+
// src/components/MarkdownSlide.tsx
|
|
318
318
|
var MarkdownSlide = ({ document }) => {
|
|
319
319
|
var _effect = _useSignals3();
|
|
320
320
|
try {
|
|
@@ -333,4 +333,4 @@ var MarkdownSlide_default = MarkdownSlide;
|
|
|
333
333
|
export {
|
|
334
334
|
MarkdownSlide_default as default
|
|
335
335
|
};
|
|
336
|
-
//# sourceMappingURL=MarkdownSlide-
|
|
336
|
+
//# sourceMappingURL=MarkdownSlide-QHC3GZII.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SW3HIRDA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRESENTER_PLUGIN
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
7
7
|
|
|
8
|
-
//
|
|
8
|
+
// src/capabilities/app-graph-builder.ts
|
|
9
9
|
import { Rx } from "@effect-rx/rx-react";
|
|
10
10
|
import { Option, pipe } from "effect";
|
|
11
11
|
import { contributes, Capabilities, createIntent, LayoutAction } from "@dxos/app-framework";
|
|
@@ -74,4 +74,4 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
74
74
|
export {
|
|
75
75
|
app_graph_builder_default as default
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=app-graph-builder-
|
|
77
|
+
//# sourceMappingURL=app-graph-builder-2ZLAWPF2.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRESENTER_PLUGIN
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
4
4
|
|
|
5
|
-
//
|
|
5
|
+
// src/types.ts
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
import { createContext } from "react";
|
|
8
8
|
import { DocumentType } from "@dxos/plugin-markdown/types";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
PresenterSettingsSchema,
|
|
37
37
|
PresenterAction
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-SW3HIRDA.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// src/useExitPresenter.ts
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { createIntent, LayoutAction, useCapability, useIntentDispatcher } from "@dxos/app-framework";
|
|
4
4
|
import { DeckCapabilities } from "@dxos/plugin-deck";
|
|
@@ -33,4 +33,4 @@ var useExitPresenter = (object) => {
|
|
|
33
33
|
export {
|
|
34
34
|
useExitPresenter
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-TANLITL2.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// src/meta.ts
|
|
2
2
|
var PRESENTER_PLUGIN = "dxos.org/plugin/presenter";
|
|
3
3
|
var meta = {
|
|
4
4
|
id: PRESENTER_PLUGIN,
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
PRESENTER_PLUGIN,
|
|
13
13
|
meta
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-VSD5LSE5.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRESENTER_PLUGIN
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
4
4
|
|
|
5
|
-
//
|
|
5
|
+
// src/components/PresenterSettings.tsx
|
|
6
6
|
import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Input, useTranslation } from "@dxos/react-ui";
|
|
@@ -22,11 +22,11 @@ var PresenterSettings = ({ settings }) => {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
//
|
|
25
|
+
// src/components/index.ts
|
|
26
26
|
import { lazy } from "react";
|
|
27
|
-
var MarkdownSlide = lazy(() => import("./MarkdownSlide-
|
|
28
|
-
var DocumentPresenterContainer = lazy(() => import("./DocumentPresenterContainer-
|
|
29
|
-
var CollectionPresenterContainer = lazy(() => import("./CollectionPresenterContainer-
|
|
27
|
+
var MarkdownSlide = lazy(() => import("./MarkdownSlide-QHC3GZII.mjs"));
|
|
28
|
+
var DocumentPresenterContainer = lazy(() => import("./DocumentPresenterContainer-E7RGK572.mjs"));
|
|
29
|
+
var CollectionPresenterContainer = lazy(() => import("./CollectionPresenterContainer-GH4GIA6P.mjs"));
|
|
30
30
|
|
|
31
31
|
export {
|
|
32
32
|
PresenterSettings,
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
DocumentPresenterContainer,
|
|
35
35
|
CollectionPresenterContainer
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-YYPOO6XK.mjs.map
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
DocumentPresenterContainer,
|
|
4
4
|
MarkdownSlide,
|
|
5
5
|
PresenterSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YYPOO6XK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
PRESENTER_PLUGIN,
|
|
9
9
|
meta
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
11
11
|
|
|
12
|
-
//
|
|
12
|
+
// src/PresenterPlugin.tsx
|
|
13
13
|
import { definePlugin, defineModule, Events, contributes, Capabilities } from "@dxos/app-framework";
|
|
14
14
|
|
|
15
|
-
//
|
|
15
|
+
// src/capabilities/index.ts
|
|
16
16
|
import { lazy } from "@dxos/app-framework";
|
|
17
|
-
var AppGraphBuilder = lazy(() => import("./app-graph-builder-
|
|
18
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
19
|
-
var PresenterSettings2 = lazy(() => import("./settings-
|
|
17
|
+
var AppGraphBuilder = lazy(() => import("./app-graph-builder-2ZLAWPF2.mjs"));
|
|
18
|
+
var ReactSurface = lazy(() => import("./react-surface-GQSVWJBG.mjs"));
|
|
19
|
+
var PresenterSettings2 = lazy(() => import("./settings-X7M27QCY.mjs"));
|
|
20
20
|
|
|
21
|
-
//
|
|
22
|
-
var
|
|
21
|
+
// src/translations.ts
|
|
22
|
+
var translations = [
|
|
23
23
|
{
|
|
24
24
|
"en-US": {
|
|
25
|
-
[
|
|
25
|
+
[meta.id]: {
|
|
26
26
|
"plugin name": "Presenter",
|
|
27
27
|
"toggle presentation label": "Present",
|
|
28
28
|
"present collections label": "Present collections (experimental)"
|
|
@@ -31,7 +31,7 @@ var translations_default = [
|
|
|
31
31
|
}
|
|
32
32
|
];
|
|
33
33
|
|
|
34
|
-
//
|
|
34
|
+
// src/PresenterPlugin.tsx
|
|
35
35
|
var PresenterPlugin = () => definePlugin(meta, [
|
|
36
36
|
defineModule({
|
|
37
37
|
id: `${meta.id}/module/settings`,
|
|
@@ -41,7 +41,7 @@ var PresenterPlugin = () => definePlugin(meta, [
|
|
|
41
41
|
defineModule({
|
|
42
42
|
id: `${meta.id}/module/translations`,
|
|
43
43
|
activatesOn: Events.SetupTranslations,
|
|
44
|
-
activate: () => contributes(Capabilities.Translations,
|
|
44
|
+
activate: () => contributes(Capabilities.Translations, translations)
|
|
45
45
|
}),
|
|
46
46
|
defineModule({
|
|
47
47
|
id: `${meta.id}/module/react-surface`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/PresenterPlugin.tsx", "../../../src/capabilities/index.ts", "../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { definePlugin, defineModule, Events, contributes, Capabilities } from '@dxos/app-framework';\n\nimport { AppGraphBuilder, PresenterSettings, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport translations from './translations';\n\n// TODO(burdon): Only scale markdown content.\n// TODO(burdon): Map stack content; Slide content type (e.g., markdown, sketch, IPFS image, table, etc.)\n\nexport const PresenterPlugin = () =>\n definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/settings`,\n activatesOn: Events.SetupSettings,\n activate: PresenterSettings,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n ]);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\nexport const PresenterSettings = lazy(() => import('./settings'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;AAIA,SAASA,cAAcC,cAAcC,QAAQC,aAAaC,oBAAoB;;;ACA9E,SAASC,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,eAAeD,KAAK,MAAM,OAAO,8BAAA,CAAA;AACvC,IAAME,qBAAoBF,KAAK,MAAM,OAAO,yBAAA,CAAA;;;
|
|
6
|
-
"names": ["definePlugin", "defineModule", "Events", "contributes", "Capabilities", "lazy", "AppGraphBuilder", "lazy", "ReactSurface", "PresenterSettings", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { definePlugin, defineModule, Events, contributes, Capabilities } from '@dxos/app-framework';\n\nimport { AppGraphBuilder, PresenterSettings, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\n\n// TODO(burdon): Only scale markdown content.\n// TODO(burdon): Map stack content; Slide content type (e.g., markdown, sketch, IPFS image, table, etc.)\n\nexport const PresenterPlugin = () =>\n definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/settings`,\n activatesOn: Events.SetupSettings,\n activate: PresenterSettings,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n ]);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\nexport const PresenterSettings = lazy(() => import('./settings'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin name': 'Presenter',\n 'toggle presentation label': 'Present',\n 'present collections label': 'Present collections (experimental)',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;AAIA,SAASA,cAAcC,cAAcC,QAAQC,aAAaC,oBAAoB;;;ACA9E,SAASC,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,eAAeD,KAAK,MAAM,OAAO,8BAAA,CAAA;AACvC,IAAME,qBAAoBF,KAAK,MAAM,OAAO,yBAAA,CAAA;;;ACA5C,IAAMG,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,6BAA6B;QAC7B,6BAA6B;MAC/B;IACF;EACF;;;;AFJK,IAAMC,kBAAkB,MAC7BC,aAAaC,MAAM;EACjBC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAUC;EACZ,CAAA;EACAN,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOI;IACpBF,UAAU,MAAMG,YAAYC,aAAaC,cAAcC,YAAAA;EACzD,CAAA;EACAX,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOS;IACpBP,UAAUQ;EACZ,CAAA;EACAb,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOW;IACpBT,UAAUU;EACZ,CAAA;CACD;",
|
|
6
|
+
"names": ["definePlugin", "defineModule", "Events", "contributes", "Capabilities", "lazy", "AppGraphBuilder", "lazy", "ReactSurface", "PresenterSettings", "translations", "meta", "id", "PresenterPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "SetupSettings", "activate", "PresenterSettings", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "SetupReactSurface", "ReactSurface", "SetupAppGraph", "AppGraphBuilder"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytes":1462,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytes":3128,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytes":8344,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytes":2173,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytes":17587,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytes":579,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx","kind":"import-statement","original":"./Container"},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytes":2050,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":16725,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytes":509,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"packages/plugins/plugin-presenter/src/useExitPresenter.ts":{"bytes":4175,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/DocumentPresenterContainer.tsx":{"bytes":2713,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts","kind":"import-statement","original":"./RevealPlayer"},{"path":"packages/plugins/plugin-presenter/src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytes":3639,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytes":12960,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytes":573,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"packages/plugins/plugin-presenter/src/types.ts":{"bytes":4281,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/CollectionPresenterContainer.tsx":{"bytes":5201,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"},{"path":"packages/plugins/plugin-presenter/src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytes":1545,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx","kind":"import-statement","original":"./PresenterSettings"},{"path":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","kind":"dynamic-import","original":"./MarkdownSlide"},{"path":"packages/plugins/plugin-presenter/src/components/DocumentPresenterContainer.tsx","kind":"dynamic-import","original":"./DocumentPresenterContainer"},{"path":"packages/plugins/plugin-presenter/src/components/CollectionPresenterContainer.tsx","kind":"dynamic-import","original":"./CollectionPresenterContainer"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts":{"bytes":12552,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx":{"bytes":7379,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/settings.ts":{"bytes":1923,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-presenter/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-presenter/src/capabilities/index.ts":{"bytes":1308,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-presenter/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"packages/plugins/plugin-presenter/src/translations.ts":{"bytes":1358,"imports":[{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytes":4418,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-presenter/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-presenter/src/index.ts":{"bytes":666,"imports":[{"path":"packages/plugins/plugin-presenter/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3199},"packages/plugins/plugin-presenter/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-4OPZ2PG6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-NEAHHOKU.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6WH4XLTT.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/settings-KZGHTWTK.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PRESENTER_PLUGIN","PresenterPlugin","PresenterSettings","meta"],"entryPoint":"packages/plugins/plugin-presenter/src/index.ts","inputs":{"packages/plugins/plugin-presenter/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytesInOutput":750},"packages/plugins/plugin-presenter/src/capabilities/index.ts":{"bytesInOutput":265},"packages/plugins/plugin-presenter/src/translations.ts":{"bytesInOutput":255}},"bytes":1915},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-EI5XTZGO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13468},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-EI5XTZGO.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/MarkdownSlide.tsx":{"bytesInOutput":504},"packages/plugins/plugin-presenter/src/components/Markdown/Container.tsx":{"bytesInOutput":1552},"packages/plugins/plugin-presenter/src/components/Markdown/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Markdown/Slide.tsx":{"bytesInOutput":5281},"packages/plugins/plugin-presenter/src/components/Markdown/theme.ts":{"bytesInOutput":516}},"bytes":8384},"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8908},"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/DocumentPresenterContainer.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/DocumentPresenterContainer.tsx":{"bytesInOutput":658},"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4731},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5824},"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-YEJSMZFR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10324},"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-YEJSMZFR.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/components/CollectionPresenterContainer.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/CollectionPresenterContainer.tsx":{"bytesInOutput":1332},"packages/plugins/plugin-presenter/src/components/Presenter/Layout.tsx":{"bytesInOutput":1093},"packages/plugins/plugin-presenter/src/components/Presenter/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-presenter/src/components/Presenter/Pager.tsx":{"bytesInOutput":3363}},"bytes":6385},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2297},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["useExitPresenter"],"inputs":{"packages/plugins/plugin-presenter/src/useExitPresenter.ts":{"bytesInOutput":954}},"bytes":1091},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-NEAHHOKU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6378},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-NEAHHOKU.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/app-graph-builder.ts":{"bytesInOutput":2750}},"bytes":3050},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6WH4XLTT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3718},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6WH4XLTT.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-4OPZ2PG6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-presenter/src/capabilities/react-surface.tsx":{"bytesInOutput":1657}},"bytes":2027},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-4OPZ2PG6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2252},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-4OPZ2PG6.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-EI5XTZGO.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-YEJSMZFR.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterSettings"],"inputs":{"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytesInOutput":791},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytesInOutput":302}},"bytes":1445},"packages/plugins/plugin-presenter/dist/lib/browser/settings-KZGHTWTK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":981},"packages/plugins/plugin-presenter/dist/lib/browser/settings-KZGHTWTK.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-presenter/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-presenter/src/capabilities/settings.ts":{"bytesInOutput":300}},"bytes":569},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2338},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-P2I7C2CY.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PresenterAction","PresenterContext","PresenterSettingsSchema"],"inputs":{"packages/plugins/plugin-presenter/src/types.ts":{"bytesInOutput":890}},"bytes":1122},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":712},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs":{"imports":[],"exports":["PRESENTER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytesInOutput":286}},"bytes":419}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1449,"imports":[],"format":"esm"},"src/components/PresenterSettings.tsx":{"bytes":3115,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/Markdown/Container.tsx":{"bytes":8331,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Markdown/theme.ts":{"bytes":2160,"imports":[],"format":"esm"},"src/components/Markdown/Slide.tsx":{"bytes":17574,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"src/components/Markdown/index.ts":{"bytes":566,"imports":[{"path":"src/components/Markdown/Container.tsx","kind":"import-statement","original":"./Container"},{"path":"src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"src/components/MarkdownSlide.tsx":{"bytes":2037,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":16712,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/RevealPlayer/index.ts":{"bytes":496,"imports":[{"path":"src/components/RevealPlayer/RevealPlayer.tsx","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"src/useExitPresenter.ts":{"bytes":4162,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"src/components/DocumentPresenterContainer.tsx":{"bytes":2700,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/components/RevealPlayer/index.ts","kind":"import-statement","original":"./RevealPlayer"},{"path":"src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"}],"format":"esm"},"src/components/Presenter/Layout.tsx":{"bytes":3626,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/Pager.tsx":{"bytes":12514,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/index.ts":{"bytes":560,"imports":[{"path":"src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"src/types.ts":{"bytes":4268,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/components/CollectionPresenterContainer.tsx":{"bytes":5188,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"}],"format":"esm"},"src/components/index.ts":{"bytes":1532,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/PresenterSettings.tsx","kind":"import-statement","original":"./PresenterSettings"},{"path":"src/components/MarkdownSlide.tsx","kind":"dynamic-import","original":"./MarkdownSlide"},{"path":"src/components/DocumentPresenterContainer.tsx","kind":"dynamic-import","original":"./DocumentPresenterContainer"},{"path":"src/components/CollectionPresenterContainer.tsx","kind":"dynamic-import","original":"./CollectionPresenterContainer"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":12539,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":7366,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":1910,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1295,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"src/translations.ts":{"bytes":1469,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/PresenterPlugin.tsx":{"bytes":4417,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":653,"imports":[{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3288},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-YYPOO6XK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-2ZLAWPF2.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-GQSVWJBG.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-X7M27QCY.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PRESENTER_PLUGIN","PresenterPlugin","PresenterSettings","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/PresenterPlugin.tsx":{"bytesInOutput":742},"src/capabilities/index.ts":{"bytesInOutput":265},"src/translations.ts":{"bytesInOutput":238}},"bytes":1754},"dist/lib/browser/MarkdownSlide-QHC3GZII.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13468},"dist/lib/browser/MarkdownSlide-QHC3GZII.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/MarkdownSlide.tsx","inputs":{"src/components/MarkdownSlide.tsx":{"bytesInOutput":504},"src/components/Markdown/Container.tsx":{"bytesInOutput":1552},"src/components/Markdown/index.ts":{"bytesInOutput":0},"src/components/Markdown/Slide.tsx":{"bytesInOutput":5281},"src/components/Markdown/theme.ts":{"bytesInOutput":516}},"bytes":8180},"dist/lib/browser/DocumentPresenterContainer-E7RGK572.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8908},"dist/lib/browser/DocumentPresenterContainer-E7RGK572.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TANLITL2.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/DocumentPresenterContainer.tsx","inputs":{"src/components/DocumentPresenterContainer.tsx":{"bytesInOutput":658},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4731},"src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5722},"dist/lib/browser/CollectionPresenterContainer-GH4GIA6P.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9936},"dist/lib/browser/CollectionPresenterContainer-GH4GIA6P.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TANLITL2.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-SW3HIRDA.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/CollectionPresenterContainer.tsx","inputs":{"src/components/CollectionPresenterContainer.tsx":{"bytesInOutput":1332},"src/components/Presenter/Layout.tsx":{"bytesInOutput":1093},"src/components/Presenter/index.ts":{"bytesInOutput":0},"src/components/Presenter/Pager.tsx":{"bytesInOutput":3265}},"bytes":6151},"dist/lib/browser/chunk-TANLITL2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2297},"dist/lib/browser/chunk-TANLITL2.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["useExitPresenter"],"inputs":{"src/useExitPresenter.ts":{"bytesInOutput":954}},"bytes":1057},"dist/lib/browser/app-graph-builder-2ZLAWPF2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6378},"dist/lib/browser/app-graph-builder-2ZLAWPF2.mjs":{"imports":[{"path":"dist/lib/browser/chunk-SW3HIRDA.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":2750}},"bytes":3016},"dist/lib/browser/react-surface-GQSVWJBG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3718},"dist/lib/browser/react-surface-GQSVWJBG.mjs":{"imports":[{"path":"dist/lib/browser/chunk-YYPOO6XK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1657}},"bytes":1993},"dist/lib/browser/chunk-YYPOO6XK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2252},"dist/lib/browser/chunk-YYPOO6XK.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/MarkdownSlide-QHC3GZII.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/DocumentPresenterContainer-E7RGK572.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/CollectionPresenterContainer-GH4GIA6P.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterSettings"],"inputs":{"src/components/PresenterSettings.tsx":{"bytesInOutput":791},"src/components/index.ts":{"bytesInOutput":302}},"bytes":1377},"dist/lib/browser/settings-X7M27QCY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":981},"dist/lib/browser/settings-X7M27QCY.mjs":{"imports":[{"path":"dist/lib/browser/chunk-SW3HIRDA.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":300}},"bytes":535},"dist/lib/browser/chunk-SW3HIRDA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2338},"dist/lib/browser/chunk-SW3HIRDA.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VSD5LSE5.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PresenterAction","PresenterContext","PresenterSettingsSchema"],"inputs":{"src/types.ts":{"bytesInOutput":890}},"bytes":1088},"dist/lib/browser/chunk-VSD5LSE5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":712},"dist/lib/browser/chunk-VSD5LSE5.mjs":{"imports":[],"exports":["PRESENTER_PLUGIN","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":286}},"bytes":385}}}
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
DocumentPresenterContainer,
|
|
4
4
|
MarkdownSlide,
|
|
5
5
|
PresenterSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YYPOO6XK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
PRESENTER_PLUGIN
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// src/capabilities/react-surface.tsx
|
|
12
12
|
import React from "react";
|
|
13
13
|
import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
|
|
14
14
|
import { Obj } from "@dxos/echo";
|
|
@@ -54,4 +54,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
54
54
|
export {
|
|
55
55
|
react_surface_default as default
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=react-surface-
|
|
57
|
+
//# sourceMappingURL=react-surface-GQSVWJBG.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenterSettingsSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SW3HIRDA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
meta
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VSD5LSE5.mjs";
|
|
7
7
|
|
|
8
|
-
//
|
|
8
|
+
// src/capabilities/settings.ts
|
|
9
9
|
import { Capabilities, contributes } from "@dxos/app-framework";
|
|
10
10
|
import { live } from "@dxos/live-object";
|
|
11
11
|
var settings_default = () => {
|
|
@@ -19,4 +19,4 @@ var settings_default = () => {
|
|
|
19
19
|
export {
|
|
20
20
|
settings_default as default
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=settings-
|
|
22
|
+
//# sourceMappingURL=settings-X7M27QCY.mjs.map
|