@dxos/plugin-presenter 0.8.2-main.fbd8ed0 → 0.8.2-staging.42af850

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/lib/browser/CollectionPresenterContainer-7UXPBYKA.mjs +189 -0
  2. package/dist/lib/browser/{CollectionPresenterContainer-SSFGQUYE.mjs.map → CollectionPresenterContainer-7UXPBYKA.mjs.map} +1 -1
  3. package/dist/lib/browser/DocumentPresenterContainer-QNXYZ5WX.mjs +185 -0
  4. package/dist/lib/browser/{DocumentPresenterContainer-CAPKSXNP.mjs.map → DocumentPresenterContainer-QNXYZ5WX.mjs.map} +1 -1
  5. package/dist/lib/browser/{MarkdownSlide-5NYXG5SC.mjs → MarkdownSlide-EI5XTZGO.mjs} +77 -54
  6. package/dist/lib/browser/{MarkdownSlide-5NYXG5SC.mjs.map → MarkdownSlide-EI5XTZGO.mjs.map} +2 -2
  7. package/dist/lib/browser/{app-graph-builder-6G4VPN6E.mjs → app-graph-builder-5NILN2ZH.mjs} +2 -2
  8. package/dist/lib/browser/chunk-K4SDUVTH.mjs +37 -0
  9. package/dist/lib/browser/{chunk-3BSZF44U.mjs.map → chunk-K4SDUVTH.mjs.map} +1 -1
  10. package/dist/lib/browser/{chunk-OOZM543N.mjs → chunk-Y6REDI5E.mjs} +4 -4
  11. package/dist/lib/browser/{chunk-OOZM543N.mjs.map → chunk-Y6REDI5E.mjs.map} +1 -1
  12. package/dist/lib/browser/index.mjs +4 -4
  13. package/dist/lib/browser/meta.json +1 -1
  14. package/dist/lib/browser/{react-surface-YV4BLHO2.mjs → react-surface-6AJLL4EM.mjs} +2 -2
  15. package/dist/lib/browser/{settings-WERSYNE5.mjs → settings-JBNMCJHB.mjs} +2 -2
  16. package/dist/types/src/types.d.ts +0 -104
  17. package/dist/types/src/types.d.ts.map +1 -1
  18. package/package.json +25 -25
  19. package/src/components/Markdown/theme.ts +1 -1
  20. package/dist/lib/browser/CollectionPresenterContainer-SSFGQUYE.mjs +0 -166
  21. package/dist/lib/browser/DocumentPresenterContainer-CAPKSXNP.mjs +0 -173
  22. package/dist/lib/browser/chunk-3BSZF44U.mjs +0 -31
  23. /package/dist/lib/browser/{app-graph-builder-6G4VPN6E.mjs.map → app-graph-builder-5NILN2ZH.mjs.map} +0 -0
  24. /package/dist/lib/browser/{react-surface-YV4BLHO2.mjs.map → react-surface-6AJLL4EM.mjs.map} +0 -0
  25. /package/dist/lib/browser/{settings-WERSYNE5.mjs.map → settings-JBNMCJHB.mjs.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/MarkdownSlide.tsx", "../../../src/components/Markdown/Container.tsx", "../../../src/components/Markdown/Slide.tsx", "../../../src/components/Markdown/theme.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type FC } from 'react';\n\nimport { type DocumentType } from '@dxos/plugin-markdown/types';\n\nimport { Container, Slide } from './Markdown';\n\nconst MarkdownSlide: FC<{ document: DocumentType }> = ({ document }) => {\n const content = document.content.target?.content;\n if (!content) {\n return null;\n }\n\n return (\n <Container>\n <Slide content={content} />\n </Container>\n );\n};\n\nexport default MarkdownSlide;\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type PropsWithChildren, useState } from 'react';\nimport { useResizeDetector } from 'react-resize-detector';\n\nimport { type ThemedClassName } from '@dxos/react-ui';\nimport { mx } from '@dxos/react-ui-theme';\n\nexport type ContainerProps = ThemedClassName<PropsWithChildren<{}>>;\n\n/**\n * Scaled markdown container.\n */\nexport const Container = ({ children, classNames }: ContainerProps) => {\n const [props, setProps] = useState({});\n const {\n ref: containerRef,\n width,\n height,\n } = useResizeDetector({\n refreshMode: 'debounce',\n refreshRate: 200,\n refreshOptions: {\n leading: true,\n },\n onResize: ({ width, height }) => {\n if (width && height) {\n setProps(createLayoutProps({ width, height }));\n }\n },\n });\n\n // TODO(burdon): Reconcile highlight colors with markdown editor.\n // https://www.npmjs.com/package/react-markdown\n return (\n <div ref={containerRef} className={mx('flex grow relative overflow-hidden bg-attention', classNames)}>\n <div className={mx('flex w-full h-full overflow-hidden absolute')} style={props}>\n {width && height && children}\n </div>\n </div>\n );\n};\n\n/**\n * Compute CSS properties to transform DIV to be full screen.\n *\n * Display resolutions:\n * window.screen.{availWidth, availHeight}\n * 5K Studio 16.2-inch Macbook Pro\n * Max 5120 x 2880 3456 x 2234\n * Default 2560 x 1440 1728 x 1117 (Actual height 1080 - 37 pixel notch)\n * Aspect 1.77 (16/9) 1.54\n */\nconst createLayoutProps = ({ width, height }: { width: number; height: number }) => {\n // Config.\n const aspectRatio = 16 / 9;\n const nominalWidth = 2560;\n const nominalHeight = nominalWidth / aspectRatio;\n\n // NOTE: Hack to detect full height on Macbook Pro due to notch.\n // const macIntelNotch = 1117 - 1080;\n // const fullscreen =\n // height === screen.availHeight ||\n // (window.navigator.platform === 'MacIntel' && height === screen.availHeight - macIntelNotch);\n\n // If not fullscreen then make scale slightly smaller so there's a natural border.\n // const scaleFactor = fullscreen ? 1 : 0.95;\n\n // Compute scaling factor required.\n const scale = Math.min(width / nominalWidth, height / nominalHeight);\n\n return {\n left: (width - nominalWidth) / 2,\n top: (height - nominalHeight) / 2,\n width: nominalWidth,\n height: nominalHeight,\n transform: `scale(${scale})`,\n };\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { h } from 'hastscript';\nimport React from 'react';\nimport ReactMarkdown from 'react-markdown';\nimport addClasses from 'rehype-add-classes';\nimport highlight from 'rehype-highlight';\nimport remarkFrontmatter from 'remark-frontmatter';\nimport remarkParseFrontmatter from 'remark-parse-frontmatter';\n\nimport 'highlight.js/styles/github.css';\n\nimport { theme } from './theme';\n\nexport type SlideProps = {\n content?: string;\n classes?: { [selector: string]: string };\n};\n\nexport const Slide = ({ content = '', classes = theme.nodes }: SlideProps) => {\n // TODO(thure): `rehype-highlight` ends up using `github.css` from `highlight.js`, but this does not appear to be\n // configurable. Find a way to remove the literal stylesheet here.\n return (\n <>\n <style>{`\n.dark pre code.hljs {\n display: block;\n overflow-x: auto;\n padding: 1em\n}\n.dark code.hljs {\n padding: 3px 5px\n}\n/*!\n Theme: GitHub Dark\n Description: Dark theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-dark\n Current colors taken from GitHub's CSS\n*/\n.dark .hljs {\n color: #c9d1d9;\n background: #0d1117\n}\n.dark .hljs-doctag,\n.dark .hljs-keyword,\n.dark .hljs-meta .hljs-keyword,\n.dark .hljs-template-tag,\n.dark .hljs-template-variable,\n.dark .hljs-type,\n.dark .hljs-variable.language_ {\n /* prettylights-syntax-keyword */\n color: #ff7b72\n}\n.dark .hljs-title,\n.dark .hljs-title.class_,\n.dark .hljs-title.class_.inherited__,\n.dark .hljs-title.function_ {\n /* prettylights-syntax-entity */\n color: #d2a8ff\n}\n.dark .hljs-attr,\n.dark .hljs-attribute,\n.dark .hljs-literal,\n.dark .hljs-meta,\n.dark .hljs-number,\n.dark .hljs-operator,\n.dark .hljs-variable,\n.dark .hljs-selector-attr,\n.dark .hljs-selector-class,\n.dark .hljs-selector-id {\n /* prettylights-syntax-constant */\n color: #79c0ff\n}\n.dark .hljs-regexp,\n.dark .hljs-string,\n.dark .hljs-meta .hljs-string {\n /* prettylights-syntax-string */\n color: #a5d6ff\n}\n.dark .hljs-built_in,\n.dark .hljs-symbol {\n /* prettylights-syntax-variable */\n color: #ffa657\n}\n.dark .hljs-comment,\n.dark .hljs-code,\n.dark .hljs-formula {\n /* prettylights-syntax-comment */\n color: #8b949e\n}\n.dark .hljs-name,\n.dark .hljs-quote,\n.dark .hljs-selector-tag,\n.dark .hljs-selector-pseudo {\n /* prettylights-syntax-entity-tag */\n color: #7ee787\n}\n.dark .hljs-subst {\n /* prettylights-syntax-storage-modifier-import */\n color: #c9d1d9\n}\n.dark .hljs-section {\n /* prettylights-syntax-markup-heading */\n color: #1f6feb;\n font-weight: bold\n}\n.dark .hljs-bullet {\n /* prettylights-syntax-markup-list */\n color: #f2cc60\n}\n.dark .hljs-emphasis {\n /* prettylights-syntax-markup-italic */\n color: #c9d1d9;\n font-style: italic\n}\n.dark .hljs-strong {\n /* prettylights-syntax-markup-bold */\n color: #c9d1d9;\n font-weight: bold\n}\n.dark .hljs-addition {\n /* prettylights-syntax-markup-inserted */\n color: #aff5b4;\n background-color: #033a16\n}\n.dark .hljs-deletion {\n /* prettylights-syntax-markup-deleted */\n color: #ffdcd7;\n background-color: #67060c\n}\n.dark .hljs-char.escape_,\n.dark .hljs-link,\n.dark .hljs-params,\n.dark .hljs-property,\n.dark .hljs-punctuation,\n.dark .hljs-tag {\n /* purposely ignored */\n \n}\n `}</style>\n <ReactMarkdown\n components={components}\n // Markdown to HTML.\n remarkPlugins={[[remarkFrontmatter, 'yaml'], remarkParseFrontmatter as any]}\n // HTML processing.\n rehypePlugins={[highlight, [addClasses, classes], slideLayout]}\n >\n {content}\n </ReactMarkdown>\n </>\n );\n};\n\n/**\n * Rehype plugin to format DOM based on frontmatter.\n * https://github.com/unifiedjs/unified#plugin\n * TODO(burdon): See tools/presenter: remarkPluginLayout\n * E.g., layout image from front-matter.\n */\nconst slideLayout =\n (options = {}) =>\n (tree: any, file: any) => {\n const {\n data: { frontmatter = {} },\n } = file;\n\n let content = tree.children;\n const { layout, image } = frontmatter;\n if (image) {\n const img = h('div', {\n class: 'flex grow shrink-0 bg-cover bg-center bg-no-repeat',\n style: {\n backgroundImage: `url(${image})`,\n },\n });\n\n switch (layout) {\n case 'fullscreen': {\n content = img;\n break;\n }\n\n case 'columns': {\n content = h('div', { class: 'flex grow grid grid-cols-2' }, [\n h('div', { class: theme.padding }, [content]),\n img,\n ]);\n break;\n }\n\n case 'rows': {\n content = h('div', { class: 'flex grow flex-col' }, [\n h('div', { class: theme.padding }, [content]),\n h('div', { class: ['flex grow pt-0', theme.padding] }, [img]),\n ]);\n break;\n }\n }\n } else {\n content = h('div', { class: ['flex grow flex-col', theme.padding] }, [content]);\n }\n\n const root = h('div', { class: ['flex flex-col grow', theme.root] }, [content]);\n tree.children = [root];\n };\n\nconst ImageWrapper = ({ node, ...props }: { node: any }) => {\n const { alt = '', src } = props as { alt: string; src: string };\n return <img alt={alt} src={src} />;\n};\n\nconst components = { img: ImageWrapper };\n", "//\n// Copyright 2023 DXOS.org\n//\n\n// TODO(burdon): Create theme type and picker.\n\nexport const theme = {\n root: 'bg-attention leading-relaxed font-mono',\n\n padding: 'px-40 py-16 gap-8',\n\n nodes: {\n h1: 'text-[80px] text-accentText',\n h2: 'text-[60px] text-accentText',\n h3: 'text-[48px] text-accentText',\n\n p: 'text-[48px]',\n\n ul: 'my-[16px] ml-12 leading-relaxed list-disc',\n ol: 'my-[16px] ml-24 leading-relaxed list-decimal',\n li: 'pl-6 text-[48px]',\n\n pre: 'w-full mx-0 my-[32px] p-0 __border-l-[16px] bg-input p-4 __whitespace-pre-line',\n code: 'p-0 text-[40px]',\n },\n};\n"],
5
- "mappings": ";AAIA,OAAOA,YAAwB;;;ACA/B,OAAOC,SAAiCC,gBAAgB;AACxD,SAASC,yBAAyB;AAGlC,SAASC,UAAU;AAOZ,IAAMC,YAAY,CAAC,EAAEC,UAAUC,WAAU,MAAkB;AAChE,QAAM,CAACC,OAAOC,QAAAA,IAAYC,SAAS,CAAC,CAAA;AACpC,QAAM,EACJC,KAAKC,cACLC,OACAC,OAAM,IACJC,kBAAkB;IACpBC,aAAa;IACbC,aAAa;IACbC,gBAAgB;MACdC,SAAS;IACX;IACAC,UAAU,CAAC,EAAEP,OAAAA,QAAOC,QAAAA,QAAM,MAAE;AAC1B,UAAID,UAASC,SAAQ;AACnBL,iBAASY,kBAAkB;UAAER,OAAAA;UAAOC,QAAAA;QAAO,CAAA,CAAA;MAC7C;IACF;EACF,CAAA;AAIA,SACE,sBAAA,cAACQ,OAAAA;IAAIX,KAAKC;IAAcW,WAAWC,GAAG,mDAAmDjB,UAA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ACmB,OAAAA;IAAIS;IAAUC;;AACxB;AAEA,IAAM1B,aAAa;EAAEgB,KAAKM;AAAa;;;AF/MvC,IAAMK,gBAAgD,CAAC,EAAEC,SAAQ,MAAE;AACjE,QAAMC,UAAUD,SAASC,QAAQC,QAAQD;AACzC,MAAI,CAACA,SAAS;AACZ,WAAO;EACT;AAEA,SACE,gBAAAE,OAAA,cAACC,WAAAA,MACC,gBAAAD,OAAA,cAACE,OAAAA;IAAMJ;;AAGb;AAEA,IAAA,wBAAeF;",
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type FC } from 'react';\n\nimport { type DocumentType } from '@dxos/plugin-markdown/types';\n\nimport { Container, Slide } from './Markdown';\n\nconst MarkdownSlide: FC<{ document: DocumentType }> = ({ document }) => {\n const content = document.content.target?.content;\n if (!content) {\n return null;\n }\n\n return (\n <Container>\n <Slide content={content} />\n </Container>\n );\n};\n\nexport default MarkdownSlide;\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type PropsWithChildren, useState } from 'react';\nimport { useResizeDetector } from 'react-resize-detector';\n\nimport { type ThemedClassName } from '@dxos/react-ui';\nimport { mx } from '@dxos/react-ui-theme';\n\nexport type ContainerProps = ThemedClassName<PropsWithChildren<{}>>;\n\n/**\n * Scaled markdown container.\n */\nexport const Container = ({ children, classNames }: ContainerProps) => {\n const [props, setProps] = useState({});\n const {\n ref: containerRef,\n width,\n height,\n } = useResizeDetector({\n refreshMode: 'debounce',\n refreshRate: 200,\n refreshOptions: {\n leading: true,\n },\n onResize: ({ width, height }) => {\n if (width && height) {\n setProps(createLayoutProps({ width, height }));\n }\n },\n });\n\n // TODO(burdon): Reconcile highlight colors with markdown editor.\n // https://www.npmjs.com/package/react-markdown\n return (\n <div ref={containerRef} className={mx('flex grow relative overflow-hidden bg-attention', classNames)}>\n <div className={mx('flex w-full h-full overflow-hidden absolute')} style={props}>\n {width && height && children}\n </div>\n </div>\n );\n};\n\n/**\n * Compute CSS properties to transform DIV to be full screen.\n *\n * Display resolutions:\n * window.screen.{availWidth, availHeight}\n * 5K Studio 16.2-inch Macbook Pro\n * Max 5120 x 2880 3456 x 2234\n * Default 2560 x 1440 1728 x 1117 (Actual height 1080 - 37 pixel notch)\n * Aspect 1.77 (16/9) 1.54\n */\nconst createLayoutProps = ({ width, height }: { width: number; height: number }) => {\n // Config.\n const aspectRatio = 16 / 9;\n const nominalWidth = 2560;\n const nominalHeight = nominalWidth / aspectRatio;\n\n // NOTE: Hack to detect full height on Macbook Pro due to notch.\n // const macIntelNotch = 1117 - 1080;\n // const fullscreen =\n // height === screen.availHeight ||\n // (window.navigator.platform === 'MacIntel' && height === screen.availHeight - macIntelNotch);\n\n // If not fullscreen then make scale slightly smaller so there's a natural border.\n // const scaleFactor = fullscreen ? 1 : 0.95;\n\n // Compute scaling factor required.\n const scale = Math.min(width / nominalWidth, height / nominalHeight);\n\n return {\n left: (width - nominalWidth) / 2,\n top: (height - nominalHeight) / 2,\n width: nominalWidth,\n height: nominalHeight,\n transform: `scale(${scale})`,\n };\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { h } from 'hastscript';\nimport React from 'react';\nimport ReactMarkdown from 'react-markdown';\nimport addClasses from 'rehype-add-classes';\nimport highlight from 'rehype-highlight';\nimport remarkFrontmatter from 'remark-frontmatter';\nimport remarkParseFrontmatter from 'remark-parse-frontmatter';\n\nimport 'highlight.js/styles/github.css';\n\nimport { theme } from './theme';\n\nexport type SlideProps = {\n content?: string;\n classes?: { [selector: string]: string };\n};\n\nexport const Slide = ({ content = '', classes = theme.nodes }: SlideProps) => {\n // TODO(thure): `rehype-highlight` ends up using `github.css` from `highlight.js`, but this does not appear to be\n // configurable. Find a way to remove the literal stylesheet here.\n return (\n <>\n <style>{`\n.dark pre code.hljs {\n display: block;\n overflow-x: auto;\n padding: 1em\n}\n.dark code.hljs {\n padding: 3px 5px\n}\n/*!\n Theme: GitHub Dark\n Description: Dark theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-dark\n Current colors taken from GitHub's CSS\n*/\n.dark .hljs {\n color: #c9d1d9;\n background: #0d1117\n}\n.dark .hljs-doctag,\n.dark .hljs-keyword,\n.dark .hljs-meta .hljs-keyword,\n.dark .hljs-template-tag,\n.dark .hljs-template-variable,\n.dark .hljs-type,\n.dark .hljs-variable.language_ {\n /* prettylights-syntax-keyword */\n color: #ff7b72\n}\n.dark .hljs-title,\n.dark .hljs-title.class_,\n.dark .hljs-title.class_.inherited__,\n.dark .hljs-title.function_ {\n /* prettylights-syntax-entity */\n color: #d2a8ff\n}\n.dark .hljs-attr,\n.dark .hljs-attribute,\n.dark .hljs-literal,\n.dark .hljs-meta,\n.dark .hljs-number,\n.dark .hljs-operator,\n.dark .hljs-variable,\n.dark .hljs-selector-attr,\n.dark .hljs-selector-class,\n.dark .hljs-selector-id {\n /* prettylights-syntax-constant */\n color: #79c0ff\n}\n.dark .hljs-regexp,\n.dark .hljs-string,\n.dark .hljs-meta .hljs-string {\n /* prettylights-syntax-string */\n color: #a5d6ff\n}\n.dark .hljs-built_in,\n.dark .hljs-symbol {\n /* prettylights-syntax-variable */\n color: #ffa657\n}\n.dark .hljs-comment,\n.dark .hljs-code,\n.dark .hljs-formula {\n /* prettylights-syntax-comment */\n color: #8b949e\n}\n.dark .hljs-name,\n.dark .hljs-quote,\n.dark .hljs-selector-tag,\n.dark .hljs-selector-pseudo {\n /* prettylights-syntax-entity-tag */\n color: #7ee787\n}\n.dark .hljs-subst {\n /* prettylights-syntax-storage-modifier-import */\n color: #c9d1d9\n}\n.dark .hljs-section {\n /* prettylights-syntax-markup-heading */\n color: #1f6feb;\n font-weight: bold\n}\n.dark .hljs-bullet {\n /* prettylights-syntax-markup-list */\n color: #f2cc60\n}\n.dark .hljs-emphasis {\n /* prettylights-syntax-markup-italic */\n color: #c9d1d9;\n font-style: italic\n}\n.dark .hljs-strong {\n /* prettylights-syntax-markup-bold */\n color: #c9d1d9;\n font-weight: bold\n}\n.dark .hljs-addition {\n /* prettylights-syntax-markup-inserted */\n color: #aff5b4;\n background-color: #033a16\n}\n.dark .hljs-deletion {\n /* prettylights-syntax-markup-deleted */\n color: #ffdcd7;\n background-color: #67060c\n}\n.dark .hljs-char.escape_,\n.dark .hljs-link,\n.dark .hljs-params,\n.dark .hljs-property,\n.dark .hljs-punctuation,\n.dark .hljs-tag {\n /* purposely ignored */\n \n}\n `}</style>\n <ReactMarkdown\n components={components}\n // Markdown to HTML.\n remarkPlugins={[[remarkFrontmatter, 'yaml'], remarkParseFrontmatter as any]}\n // HTML processing.\n rehypePlugins={[highlight, [addClasses, classes], slideLayout]}\n >\n {content}\n </ReactMarkdown>\n </>\n );\n};\n\n/**\n * Rehype plugin to format DOM based on frontmatter.\n * https://github.com/unifiedjs/unified#plugin\n * TODO(burdon): See tools/presenter: remarkPluginLayout\n * E.g., layout image from front-matter.\n */\nconst slideLayout =\n (options = {}) =>\n (tree: any, file: any) => {\n const {\n data: { frontmatter = {} },\n } = file;\n\n let content = tree.children;\n const { layout, image } = frontmatter;\n if (image) {\n const img = h('div', {\n class: 'flex grow shrink-0 bg-cover bg-center bg-no-repeat',\n style: {\n backgroundImage: `url(${image})`,\n },\n });\n\n switch (layout) {\n case 'fullscreen': {\n content = img;\n break;\n }\n\n case 'columns': {\n content = h('div', { class: 'flex grow grid grid-cols-2' }, [\n h('div', { class: theme.padding }, [content]),\n img,\n ]);\n break;\n }\n\n case 'rows': {\n content = h('div', { class: 'flex grow flex-col' }, [\n h('div', { class: theme.padding }, [content]),\n h('div', { class: ['flex grow pt-0', theme.padding] }, [img]),\n ]);\n break;\n }\n }\n } else {\n content = h('div', { class: ['flex grow flex-col', theme.padding] }, [content]);\n }\n\n const root = h('div', { class: ['flex flex-col grow', theme.root] }, [content]);\n tree.children = [root];\n };\n\nconst ImageWrapper = ({ node, ...props }: { node: any }) => {\n const { alt = '', src } = props as { alt: string; src: string };\n return <img alt={alt} src={src} />;\n};\n\nconst components = { img: ImageWrapper };\n", "//\n// Copyright 2023 DXOS.org\n//\n\n// TODO(burdon): Create theme type and picker.\n\nexport const theme = {\n root: 'bg-attention leading-relaxed font-mono',\n\n padding: 'px-40 py-16 gap-8',\n\n nodes: {\n h1: 'text-[80px] text-accentText',\n h2: 'text-[60px] text-accentText',\n h3: 'text-[48px] text-accentText',\n\n p: 'text-[48px]',\n\n ul: 'my-[16px] ml-12 leading-relaxed list-disc',\n ol: 'my-[16px] ml-24 leading-relaxed list-decimal',\n li: 'pl-6 text-[48px]',\n\n pre: 'w-full mx-0 my-[32px] p-0 __border-l-[16px] bg-inputSurface p-4 __whitespace-pre-line',\n code: 'p-0 text-[40px]',\n },\n};\n"],
5
+ "mappings": ";;AAIA,OAAOA,YAAwB;;;;ACA/B,OAAOC,SAAiCC,gBAAgB;AACxD,SAASC,yBAAyB;AAGlC,SAASC,UAAU;AAOZ,IAAMC,YAAY,CAAC,EAAEC,UAAUC,WAAU,MAAkB;;;AAChE,UAAM,CAACC,OAAOC,QAAAA,IAAYC,SAAS,CAAC,CAAA;AACpC,UAAM,EACJC,KAAKC,cACLC,OACAC,OAAM,IACJC,kBAAkB;MACpBC,aAAa;MACbC,aAAa;MACbC,gBAAgB;QACdC,SAAS;MACX;MACAC,UAAU,CAAC,EAAEP,OAAAA,QAAOC,QAAAA,QAAM,MAAE;AAC1B,YAAID,UAASC,SAAQ;AACnBL,mBAASY,kBAAkB;YAAER,OAAAA;YAAOC,QAAAA;UAAO,CAAA,CAAA;QAC7C;MACF;IACF,CAAA;AAIA,WACE,sBAAA,cAACQ,OAAAA;MAAIX,KAAKC;MAAcW,WAAWC,GAAG,mDAAmDjB,UAAAA;OACvF,sBAAA,cAACe,OAAAA;MAAIC,WAAWC,GAAG,6CAAA;MAAgDC,OAAOjB;OACvEK,SAASC,UAAUR,QAAAA,CAAAA;;;;AAI5B;AAYA,IAAMe,oBAAoB,CAAC,EAAER,OAAOC,OAAM,MAAqC;AAE7E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,QAAQD;AACzC,QAAI,CAACA,SAAS;AACZ,aAAO;IACT;AAEA,WACE,gBAAAE,OAAA,cAACC,WAAAA,MACC,gBAAAD,OAAA,cAACE,OAAAA;MAAMJ;;;;;AAGb;AAEA,IAAA,wBAAeF;",
6
6
  "names": ["React", "React", "useState", "useResizeDetector", "mx", "Container", "children", "classNames", "props", "setProps", "useState", "ref", "containerRef", "width", "height", "useResizeDetector", "refreshMode", "refreshRate", "refreshOptions", "leading", "onResize", "createLayoutProps", "div", "className", "mx", "style", "aspectRatio", "nominalWidth", "nominalHeight", "scale", "Math", "min", "left", "top", "transform", "h", "React", "ReactMarkdown", "addClasses", "highlight", "remarkFrontmatter", "remarkParseFrontmatter", "theme", "root", "padding", "nodes", "h1", "h2", "h3", "p", "ul", "ol", "li", "pre", "code", "Slide", "content", "classes", "theme", "nodes", "React", "style", "ReactMarkdown", "components", "remarkPlugins", "remarkFrontmatter", "remarkParseFrontmatter", "rehypePlugins", "highlight", "addClasses", "slideLayout", "options", "tree", "file", "data", "frontmatter", "children", "layout", "image", "img", "h", "class", "backgroundImage", "padding", "root", "ImageWrapper", "node", "props", "alt", "src", "MarkdownSlide", "document", "content", "target", "React", "Container", "Slide"]
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PresenterAction
3
- } from "./chunk-OOZM543N.mjs";
3
+ } from "./chunk-Y6REDI5E.mjs";
4
4
  import {
5
5
  PRESENTER_PLUGIN
6
6
  } from "./chunk-S2S5RFJ4.mjs";
@@ -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-6G4VPN6E.mjs.map
77
+ //# sourceMappingURL=app-graph-builder-5NILN2ZH.mjs.map
@@ -0,0 +1,37 @@
1
+ import {
2
+ PRESENTER_PLUGIN
3
+ } from "./chunk-S2S5RFJ4.mjs";
4
+
5
+ // packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx
6
+ import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
7
+ import React from "react";
8
+ import { Input, useTranslation } from "@dxos/react-ui";
9
+ import { DeprecatedFormContainer, DeprecatedFormInput } from "@dxos/react-ui-form";
10
+ var PresenterSettings = ({ settings }) => {
11
+ var _effect = _useSignals();
12
+ try {
13
+ const { t } = useTranslation(PRESENTER_PLUGIN);
14
+ return /* @__PURE__ */ React.createElement(DeprecatedFormContainer, null, /* @__PURE__ */ React.createElement(DeprecatedFormInput, {
15
+ label: t("present collections label")
16
+ }, /* @__PURE__ */ React.createElement(Input.Switch, {
17
+ checked: settings.presentCollections,
18
+ onCheckedChange: (checked) => settings.presentCollections = !!checked
19
+ })));
20
+ } finally {
21
+ _effect.f();
22
+ }
23
+ };
24
+
25
+ // packages/plugins/plugin-presenter/src/components/index.ts
26
+ import { lazy } from "react";
27
+ var MarkdownSlide = lazy(() => import("./MarkdownSlide-EI5XTZGO.mjs"));
28
+ var DocumentPresenterContainer = lazy(() => import("./DocumentPresenterContainer-QNXYZ5WX.mjs"));
29
+ var CollectionPresenterContainer = lazy(() => import("./CollectionPresenterContainer-7UXPBYKA.mjs"));
30
+
31
+ export {
32
+ PresenterSettings,
33
+ MarkdownSlide,
34
+ DocumentPresenterContainer,
35
+ CollectionPresenterContainer
36
+ };
37
+ //# sourceMappingURL=chunk-K4SDUVTH.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/PresenterSettings.tsx", "../../../src/components/index.ts"],
4
4
  "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Input, useTranslation } from '@dxos/react-ui';\nimport { DeprecatedFormContainer, DeprecatedFormInput } from '@dxos/react-ui-form';\n\nimport { PRESENTER_PLUGIN } from '../meta';\nimport { type PresenterSettingsProps } from '../types';\n\nexport const PresenterSettings = ({ settings }: { settings: PresenterSettingsProps }) => {\n const { t } = useTranslation(PRESENTER_PLUGIN);\n\n return (\n <DeprecatedFormContainer>\n <DeprecatedFormInput label={t('present collections label')}>\n <Input.Switch\n checked={settings.presentCollections}\n onCheckedChange={(checked) => (settings.presentCollections = !!checked)}\n />\n </DeprecatedFormInput>\n </DeprecatedFormContainer>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport * from './PresenterSettings';\n\nexport const MarkdownSlide = lazy(() => import('./MarkdownSlide'));\nexport const DocumentPresenterContainer = lazy(() => import('./DocumentPresenterContainer'));\nexport const CollectionPresenterContainer = lazy(() => import('./CollectionPresenterContainer'));\n"],
5
- "mappings": ";;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,OAAOC,sBAAsB;AACtC,SAASC,yBAAyBC,2BAA2B;AAKtD,IAAMC,oBAAoB,CAAC,EAAEC,SAAQ,MAAwC;AAClF,QAAM,EAAEC,EAAC,IAAKC,eAAeC,gBAAAA;AAE7B,SACE,sBAAA,cAACC,yBAAAA,MACC,sBAAA,cAACC,qBAAAA;IAAoBC,OAAOL,EAAE,2BAAA;KAC5B,sBAAA,cAACM,MAAMC,QAAM;IACXC,SAAST,SAASU;IAClBC,iBAAiB,CAACF,YAAaT,SAASU,qBAAqB,CAAC,CAACD;;AAKzE;;;ACrBA,SAASG,YAAY;AAId,IAAMC,gBAAgBC,KAAK,MAAM,OAAO,8BAAA,CAAA;AACxC,IAAMC,6BAA6BD,KAAK,MAAM,OAAO,2CAAA,CAAA;AACrD,IAAME,+BAA+BF,KAAK,MAAM,OAAO,6CAAA,CAAA;",
5
+ "mappings": ";;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,OAAOC,sBAAsB;AACtC,SAASC,yBAAyBC,2BAA2B;AAKtD,IAAMC,oBAAoB,CAAC,EAAEC,SAAQ,MAAwC;;;AAClF,UAAM,EAAEC,EAAC,IAAKC,eAAeC,gBAAAA;AAE7B,WACE,sBAAA,cAACC,yBAAAA,MACC,sBAAA,cAACC,qBAAAA;MAAoBC,OAAOL,EAAE,2BAAA;OAC5B,sBAAA,cAACM,MAAMC,QAAM;MACXC,SAAST,SAASU;MAClBC,iBAAiB,CAACF,YAAaT,SAASU,qBAAqB,CAAC,CAACD;;;;;AAKzE;;;ACrBA,SAASG,YAAY;AAId,IAAMC,gBAAgBC,KAAK,MAAM,OAAO,8BAAA,CAAA;AACxC,IAAMC,6BAA6BD,KAAK,MAAM,OAAO,2CAAA,CAAA;AACrD,IAAME,+BAA+BF,KAAK,MAAM,OAAO,6CAAA,CAAA;",
6
6
  "names": ["React", "Input", "useTranslation", "DeprecatedFormContainer", "DeprecatedFormInput", "PresenterSettings", "settings", "t", "useTranslation", "PRESENTER_PLUGIN", "DeprecatedFormContainer", "DeprecatedFormInput", "label", "Input", "Switch", "checked", "presentCollections", "onCheckedChange", "lazy", "MarkdownSlide", "lazy", "DocumentPresenterContainer", "CollectionPresenterContainer"]
7
7
  }
@@ -7,7 +7,6 @@ import { Schema } from "effect";
7
7
  import { createContext } from "react";
8
8
  import { DocumentType } from "@dxos/plugin-markdown/types";
9
9
  import { CollectionType } from "@dxos/plugin-space/types";
10
- var PresenterAction;
11
10
  (function(PresenterAction2) {
12
11
  const PRESENTER_ACTION = `${PRESENTER_PLUGIN}/action`;
13
12
  class TogglePresentation extends Schema.TaggedClass()(`${PRESENTER_ACTION}/toggle-presentation`, {
@@ -30,10 +29,11 @@ var PresenterContext = createContext({
30
29
  var PresenterSettingsSchema = Schema.mutable(Schema.Struct({
31
30
  presentCollections: Schema.optional(Schema.Boolean)
32
31
  }));
32
+ var PresenterAction;
33
33
 
34
34
  export {
35
- PresenterAction,
36
35
  PresenterContext,
37
- PresenterSettingsSchema
36
+ PresenterSettingsSchema,
37
+ PresenterAction
38
38
  };
39
- //# sourceMappingURL=chunk-OOZM543N.mjs.map
39
+ //# sourceMappingURL=chunk-Y6REDI5E.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/types.ts"],
4
4
  "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Schema } from 'effect';\nimport { type Context, createContext } from 'react';\n\nimport { DocumentType } from '@dxos/plugin-markdown/types';\nimport { CollectionType } from '@dxos/plugin-space/types';\n\nimport { PRESENTER_PLUGIN } from './meta';\n\nexport namespace PresenterAction {\n const PRESENTER_ACTION = `${PRESENTER_PLUGIN}/action`;\n\n export class TogglePresentation extends Schema.TaggedClass<TogglePresentation>()(\n `${PRESENTER_ACTION}/toggle-presentation`,\n {\n input: Schema.Struct({\n object: Schema.Union(DocumentType, CollectionType),\n state: Schema.optional(Schema.Boolean),\n }),\n output: Schema.Void,\n },\n ) {}\n}\n\nexport type PresenterContextType = {\n running: boolean;\n start: () => void;\n stop: () => void;\n};\n\nexport const PresenterContext: Context<PresenterContextType> = createContext<PresenterContextType>({\n running: false,\n start: () => {},\n stop: () => {},\n});\n\nexport const PresenterSettingsSchema = Schema.mutable(\n Schema.Struct({\n presentCollections: Schema.optional(Schema.Boolean),\n }),\n);\n\nexport type PresenterSettingsProps = Schema.Schema.Type<typeof PresenterSettingsSchema>;\n"],
5
- "mappings": ";;;;;AAIA,SAASA,cAAc;AACvB,SAAuBC,qBAAqB;AAE5C,SAASC,oBAAoB;AAC7B,SAASC,sBAAsB;;UAIdC,kBAAAA;AACf,QAAMC,mBAAmB,GAAGC,gBAAAA;EAErB,MAAMC,2BAA2BC,OAAOC,YAAW,EACxD,GAAGJ,gBAAAA,wBACH;IACEK,OAAOF,OAAOG,OAAO;MACnBC,QAAQJ,OAAOK,MAAMC,cAAcC,cAAAA;MACnCC,OAAOR,OAAOS,SAAST,OAAOU,OAAO;IACvC,CAAA;IACAC,QAAQX,OAAOY;EACjB,CAAA,EAAA;EACC;mBATUb,qBAAAA;AAUf,GAbiBH,oBAAAA,kBAAAA,CAAAA,EAAAA;AAqBV,IAAMiB,mBAAkDC,cAAoC;EACjGC,SAAS;EACTC,OAAO,MAAA;EAAO;EACdC,MAAM,MAAA;EAAO;AACf,CAAA;AAEO,IAAMC,0BAA0BlB,OAAOmB,QAC5CnB,OAAOG,OAAO;EACZiB,oBAAoBpB,OAAOS,SAAST,OAAOU,OAAO;AACpD,CAAA,CAAA;",
5
+ "mappings": ";;;;;AAIA,SAASA,cAAc;AACvB,SAAuBC,qBAAqB;AAE5C,SAASC,oBAAoB;AAC7B,SAASC,sBAAsB;UAIdC,kBAAAA;AACf,QAAMC,mBAAmB,GAAGC,gBAAAA;EAErB,MAAMC,2BAA2BC,OAAOC,YAAW,EACxD,GAAGJ,gBAAAA,wBACH;IACEK,OAAOF,OAAOG,OAAO;MACnBC,QAAQJ,OAAOK,MAAMC,cAAcC,cAAAA;MACnCC,OAAOR,OAAOS,SAAST,OAAOU,OAAO;IACvC,CAAA;IACAC,QAAQX,OAAOY;EACjB,CAAA,EAAA;EACC;mBATUb,qBAAAA;AAUf,GAbiBH,oBAAAA,kBAAAA,CAAAA,EAAAA;AAqBV,IAAMiB,mBAAkDC,cAAoC;EACjGC,SAAS;EACTC,OAAO,MAAA;EAAO;EACdC,MAAM,MAAA;EAAO;AACf,CAAA;AAEO,IAAMC,0BAA0BlB,OAAOmB,QAC5CnB,OAAOG,OAAO;EACZiB,oBAAoBpB,OAAOS,SAAST,OAAOU,OAAO;AACpD,CAAA,CAAA;;",
6
6
  "names": ["Schema", "createContext", "DocumentType", "CollectionType", "PresenterAction", "PRESENTER_ACTION", "PRESENTER_PLUGIN", "TogglePresentation", "Schema", "TaggedClass", "input", "Struct", "object", "Union", "DocumentType", "CollectionType", "state", "optional", "Boolean", "output", "Void", "PresenterContext", "createContext", "running", "start", "stop", "PresenterSettingsSchema", "mutable", "presentCollections"]
7
7
  }
@@ -3,7 +3,7 @@ import {
3
3
  DocumentPresenterContainer,
4
4
  MarkdownSlide,
5
5
  PresenterSettings
6
- } from "./chunk-3BSZF44U.mjs";
6
+ } from "./chunk-K4SDUVTH.mjs";
7
7
  import {
8
8
  PRESENTER_PLUGIN,
9
9
  meta
@@ -14,9 +14,9 @@ import { definePlugin, defineModule, Events, contributes, Capabilities } from "@
14
14
 
15
15
  // packages/plugins/plugin-presenter/src/capabilities/index.ts
16
16
  import { lazy } from "@dxos/app-framework";
17
- var AppGraphBuilder = lazy(() => import("./app-graph-builder-6G4VPN6E.mjs"));
18
- var ReactSurface = lazy(() => import("./react-surface-YV4BLHO2.mjs"));
19
- var PresenterSettings2 = lazy(() => import("./settings-WERSYNE5.mjs"));
17
+ var AppGraphBuilder = lazy(() => import("./app-graph-builder-5NILN2ZH.mjs"));
18
+ var ReactSurface = lazy(() => import("./react-surface-6AJLL4EM.mjs"));
19
+ var PresenterSettings2 = lazy(() => import("./settings-JBNMCJHB.mjs"));
20
20
 
21
21
  // packages/plugins/plugin-presenter/src/translations.ts
22
22
  var translations_default = [
@@ -1 +1 @@
1
- {"inputs":{"packages/plugins/plugin-presenter/src/meta.ts":{"bytes":1502,"imports":[],"format":"esm"},"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytes":2974,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"../meta"}],"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":1892,"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/RevealPlayer/RevealPlayer.tsx":{"bytes":16359,"imports":[{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytes":541,"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":4247,"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":2559,"imports":[{"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":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/types.ts":{"bytes":4366,"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/plugin-space/types","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":5011,"imports":[{"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":1581,"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":12663,"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-schema","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/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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":7474,"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-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","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":2012,"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":1344,"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":1402,"imports":[{"path":"packages/plugins/plugin-presenter/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-presenter/src/PresenterPlugin.tsx":{"bytes":4510,"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":702,"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-3BSZF44U.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-6G4VPN6E.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-YV4BLHO2.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/settings-WERSYNE5.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-5NYXG5SC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13438},"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-5NYXG5SC.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":333},"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":7723},"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-CAPKSXNP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8893},"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-CAPKSXNP.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-2RWWAQZK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","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":487},"packages/plugins/plugin-presenter/src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4384},"packages/plugins/plugin-presenter/src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5306},"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-SSFGQUYE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10310},"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-SSFGQUYE.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-OOZM543N.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/react-ui-stack","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/CollectionPresenterContainer.tsx","inputs":{"packages/plugins/plugin-presenter/src/components/CollectionPresenterContainer.tsx":{"bytesInOutput":1127},"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":2951}},"bytes":5583},"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-6G4VPN6E.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6382},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-6G4VPN6E.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-OOZM543N.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-schema","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/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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":2773}},"bytes":3073},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-YV4BLHO2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3718},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-YV4BLHO2.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-3BSZF44U.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-schema","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/plugin-space/types","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":1680}},"bytes":2050},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-3BSZF44U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2246},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-3BSZF44U.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-S2S5RFJ4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/MarkdownSlide-5NYXG5SC.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/DocumentPresenterContainer-CAPKSXNP.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-SSFGQUYE.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterSettings"],"inputs":{"packages/plugins/plugin-presenter/src/components/PresenterSettings.tsx":{"bytesInOutput":622},"packages/plugins/plugin-presenter/src/components/index.ts":{"bytesInOutput":302}},"bytes":1276},"packages/plugins/plugin-presenter/dist/lib/browser/settings-WERSYNE5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1002},"packages/plugins/plugin-presenter/dist/lib/browser/settings-WERSYNE5.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-OOZM543N.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":309}},"bytes":590},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-OOZM543N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2344},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-OOZM543N.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/plugin-space/types","kind":"import-statement","external":true}],"exports":["PresenterAction","PresenterContext","PresenterSettingsSchema"],"inputs":{"packages/plugins/plugin-presenter/src/types.ts":{"bytesInOutput":903}},"bytes":1135},"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":{"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":4286,"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/plugin-space/types","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":5217,"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":12531,"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-schema","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/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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":7358,"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-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","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":1968,"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-K4SDUVTH.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-5NILN2ZH.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6AJLL4EM.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-presenter/dist/lib/browser/settings-JBNMCJHB.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-7UXPBYKA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10337},"packages/plugins/plugin-presenter/dist/lib/browser/CollectionPresenterContainer-7UXPBYKA.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-Y6REDI5E.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-5NILN2ZH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6382},"packages/plugins/plugin-presenter/dist/lib/browser/app-graph-builder-5NILN2ZH.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Y6REDI5E.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-schema","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/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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":2773}},"bytes":3073},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6AJLL4EM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3718},"packages/plugins/plugin-presenter/dist/lib/browser/react-surface-6AJLL4EM.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-K4SDUVTH.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-schema","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/plugin-space/types","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":1680}},"bytes":2050},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-K4SDUVTH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2252},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-K4SDUVTH.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-7UXPBYKA.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-JBNMCJHB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1002},"packages/plugins/plugin-presenter/dist/lib/browser/settings-JBNMCJHB.mjs":{"imports":[{"path":"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Y6REDI5E.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":309}},"bytes":590},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Y6REDI5E.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2344},"packages/plugins/plugin-presenter/dist/lib/browser/chunk-Y6REDI5E.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/plugin-space/types","kind":"import-statement","external":true}],"exports":["PresenterAction","PresenterContext","PresenterSettingsSchema"],"inputs":{"packages/plugins/plugin-presenter/src/types.ts":{"bytesInOutput":903}},"bytes":1135},"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}}}
@@ -3,7 +3,7 @@ import {
3
3
  DocumentPresenterContainer,
4
4
  MarkdownSlide,
5
5
  PresenterSettings
6
- } from "./chunk-3BSZF44U.mjs";
6
+ } from "./chunk-K4SDUVTH.mjs";
7
7
  import {
8
8
  PRESENTER_PLUGIN
9
9
  } from "./chunk-S2S5RFJ4.mjs";
@@ -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-YV4BLHO2.mjs.map
57
+ //# sourceMappingURL=react-surface-6AJLL4EM.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PresenterSettingsSchema
3
- } from "./chunk-OOZM543N.mjs";
3
+ } from "./chunk-Y6REDI5E.mjs";
4
4
  import {
5
5
  PRESENTER_PLUGIN
6
6
  } from "./chunk-S2S5RFJ4.mjs";
@@ -19,4 +19,4 @@ var settings_default = () => {
19
19
  export {
20
20
  settings_default as default
21
21
  };
22
- //# sourceMappingURL=settings-WERSYNE5.mjs.map
22
+ //# sourceMappingURL=settings-JBNMCJHB.mjs.map
@@ -13,110 +13,6 @@ export declare namespace PresenterAction {
13
13
  readonly id: string;
14
14
  content: string;
15
15
  }>;
16
- threads: Schema.mutable<Schema.Array$<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").TypedObjectFields<{
17
- name: Schema.optional<typeof Schema.String>;
18
- anchor: Schema.optional<typeof Schema.String>;
19
- status: Schema.optional<Schema.Union<[Schema.Literal<["staged"]>, Schema.Literal<["active"]>, Schema.Literal<["resolved"]>]>>;
20
- messages: Schema.mutable<Schema.Array$<import("@dxos/echo-schema").Ref$<{
21
- readonly id: string;
22
- created: string;
23
- sender: {
24
- name?: string | undefined;
25
- contact?: import("@dxos/echo-schema").Ref<{
26
- readonly id: string;
27
- fields?: {
28
- readonly value: string;
29
- readonly label: string;
30
- readonly category?: string | undefined;
31
- }[] | undefined;
32
- organization?: import("@dxos/echo-schema").Ref<{
33
- readonly id: string;
34
- description?: string | undefined;
35
- name?: string | undefined;
36
- status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
37
- image?: string | undefined;
38
- website?: string | undefined;
39
- }> | undefined;
40
- image?: string | undefined;
41
- fullName?: string | undefined;
42
- preferredName?: string | undefined;
43
- nickname?: string | undefined;
44
- jobTitle?: string | undefined;
45
- department?: string | undefined;
46
- notes?: string | undefined;
47
- emails?: {
48
- readonly value: string;
49
- readonly label?: string | undefined;
50
- }[] | undefined;
51
- identities?: {
52
- readonly value: string;
53
- readonly label?: string | undefined;
54
- }[] | undefined;
55
- phoneNumbers?: {
56
- readonly value: string;
57
- readonly label?: string | undefined;
58
- }[] | undefined;
59
- addresses?: {
60
- readonly value: {
61
- readonly street?: string | undefined;
62
- readonly extended?: string | undefined;
63
- readonly locality?: string | undefined;
64
- readonly region?: string | undefined;
65
- readonly postalCode?: string | undefined;
66
- readonly postOfficeBoxNumber?: string | undefined;
67
- readonly country?: string | undefined;
68
- };
69
- readonly label?: string | undefined;
70
- }[] | undefined;
71
- urls?: {
72
- readonly value: string;
73
- readonly label?: string | undefined;
74
- }[] | undefined;
75
- birthday?: string | undefined;
76
- }> | undefined;
77
- identityDid?: string | undefined;
78
- identityKey?: string | undefined;
79
- email?: string | undefined;
80
- role?: "user" | "assistant" | undefined;
81
- };
82
- blocks: ({
83
- pending?: boolean | undefined;
84
- type: "text";
85
- disposition?: string | undefined;
86
- text: string;
87
- } | {
88
- pending?: boolean | undefined;
89
- type: "json";
90
- disposition?: string | undefined;
91
- data: string;
92
- } | {
93
- pending?: boolean | undefined;
94
- id?: string | undefined;
95
- type: "image";
96
- source?: {
97
- type: "base64";
98
- data: string;
99
- mediaType: string;
100
- } | {
101
- type: "http";
102
- url: string;
103
- } | undefined;
104
- } | {
105
- pending?: boolean | undefined;
106
- type: "reference";
107
- reference: import("@dxos/echo-schema").Ref<import("@dxos/echo-schema").Expando>;
108
- } | {
109
- pending?: boolean | undefined;
110
- type: "transcription";
111
- text: string;
112
- started: string;
113
- })[];
114
- properties?: {
115
- [x: string]: any;
116
- } | undefined;
117
- }>>>;
118
- }, import("@dxos/echo-schema").TypedObjectOptions>>>>;
119
- assistantChatQueue: Schema.optional<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>>;
120
16
  }>, {}>, typeof CollectionType]>;
121
17
  state: Schema.optional<typeof Schema.Boolean>;
122
18
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI1D,yBAAiB,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;gCAkCqmJ,CAAC;mCAA6C,CAAC;;sCAA2E,CAAC;;;qDAA6I,CAAC;;4CAA2F,CAAC;;+CAAoH,CAAC;wCAAkD,CAAC;0CAAoD,CAAC;yCAAsG,CAAC;2CAAqD,CAAC;;qCAAmF,CAAC;wCAAkD,CAAC;6CAAuD,CAAC;wCAAkD,CAAC;wCAAkD,CAAC;0CAAoD,CAAC;qCAA+C,CAAC;sCAAgD,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