@dxos/plugin-presenter 0.8.4-main.74a063c4e0 → 0.8.4-main.765dc60934

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 (136) hide show
  1. package/LICENSE +102 -5
  2. package/dist/lib/neutral/CollectionPresenterArticle-WWHFJYZA.mjs +46 -0
  3. package/dist/lib/neutral/CollectionPresenterArticle-WWHFJYZA.mjs.map +7 -0
  4. package/dist/lib/neutral/DocumentPresenterContainer-KCDZ2O2C.mjs +24 -0
  5. package/dist/lib/neutral/DocumentPresenterContainer-KCDZ2O2C.mjs.map +7 -0
  6. package/dist/lib/neutral/MarkdownSlide-WXILOIBE.mjs +18 -0
  7. package/dist/lib/neutral/MarkdownSlide-WXILOIBE.mjs.map +7 -0
  8. package/dist/lib/neutral/PresenterPlugin.mjs +23 -0
  9. package/dist/lib/neutral/PresenterPlugin.mjs.map +7 -0
  10. package/dist/lib/neutral/PresenterPlugin.node.mjs +16 -0
  11. package/dist/lib/neutral/PresenterPlugin.node.mjs.map +7 -0
  12. package/dist/lib/{browser/PresenterSettings-DZO2DC53.mjs → neutral/PresenterSettings-2G4XD4QY.mjs} +9 -13
  13. package/dist/lib/neutral/PresenterSettings-2G4XD4QY.mjs.map +7 -0
  14. package/dist/lib/neutral/app-graph-builder-DIEDSRPX.mjs +97 -0
  15. package/dist/lib/neutral/app-graph-builder-DIEDSRPX.mjs.map +7 -0
  16. package/dist/lib/neutral/capabilities/index.mjs +13 -0
  17. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  18. package/dist/lib/neutral/chunk-4XSSDLGN.mjs +18 -0
  19. package/dist/lib/neutral/chunk-4XSSDLGN.mjs.map +7 -0
  20. package/dist/lib/neutral/chunk-DCPA267T.mjs +68 -0
  21. package/dist/lib/neutral/chunk-DCPA267T.mjs.map +7 -0
  22. package/dist/lib/neutral/chunk-V323QBC3.mjs +41 -0
  23. package/dist/lib/neutral/chunk-V323QBC3.mjs.map +7 -0
  24. package/dist/lib/{browser → neutral/components}/index.mjs +3 -53
  25. package/dist/lib/{browser → neutral/components}/index.mjs.map +4 -4
  26. package/dist/lib/neutral/containers/index.mjs +13 -0
  27. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  28. package/dist/lib/neutral/index.mjs +18 -0
  29. package/dist/lib/neutral/index.mjs.map +7 -0
  30. package/dist/lib/neutral/meta.json +1 -0
  31. package/dist/lib/neutral/meta.mjs +8 -0
  32. package/dist/lib/neutral/meta.mjs.map +7 -0
  33. package/dist/lib/neutral/plugin.mjs +12 -0
  34. package/dist/lib/neutral/plugin.mjs.map +7 -0
  35. package/dist/lib/neutral/react-surface-RVWL2ZKQ.mjs +54 -0
  36. package/dist/lib/neutral/react-surface-RVWL2ZKQ.mjs.map +7 -0
  37. package/dist/lib/neutral/settings-R6LRDAAK.mjs +28 -0
  38. package/dist/lib/neutral/settings-R6LRDAAK.mjs.map +7 -0
  39. package/dist/lib/neutral/translations.mjs +19 -0
  40. package/dist/lib/neutral/translations.mjs.map +7 -0
  41. package/dist/lib/neutral/types/index.mjs +14 -0
  42. package/dist/lib/neutral/types/index.mjs.map +7 -0
  43. package/dist/types/src/PresenterPlugin.d.ts +1 -0
  44. package/dist/types/src/PresenterPlugin.d.ts.map +1 -1
  45. package/dist/types/src/PresenterPlugin.node.d.ts +4 -0
  46. package/dist/types/src/PresenterPlugin.node.d.ts.map +1 -0
  47. package/dist/types/src/PresenterPlugin.test.d.ts +2 -0
  48. package/dist/types/src/PresenterPlugin.test.d.ts.map +1 -0
  49. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  50. package/dist/types/src/capabilities/index.d.ts +1 -5
  51. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  52. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  53. package/dist/types/src/capabilities/settings.d.ts +2 -5
  54. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  55. package/dist/types/src/components/Markdown/Panel.d.ts.map +1 -1
  56. package/dist/types/src/components/Markdown/Panel.stories.d.ts.map +1 -1
  57. package/dist/types/src/components/Markdown/Slide.d.ts.map +1 -1
  58. package/dist/types/src/components/Markdown/Slide.stories.d.ts.map +1 -1
  59. package/dist/types/src/components/Markdown/theme.d.ts.map +1 -1
  60. package/dist/types/src/components/Presenter/Layout.d.ts +1 -5
  61. package/dist/types/src/components/Presenter/Layout.d.ts.map +1 -1
  62. package/dist/types/src/components/Presenter/Pager.d.ts.map +1 -1
  63. package/dist/types/src/components/Presenter/Pager.stories.d.ts.map +1 -1
  64. package/dist/types/src/components/PresenterSettings/PresenterSettings.d.ts +1 -1
  65. package/dist/types/src/components/PresenterSettings/PresenterSettings.d.ts.map +1 -1
  66. package/dist/types/src/components/PresenterSettings/PresenterSettings.stories.d.ts +4 -6
  67. package/dist/types/src/components/PresenterSettings/PresenterSettings.stories.d.ts.map +1 -1
  68. package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts +1 -5
  69. package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts.map +1 -1
  70. package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts +5 -11
  71. package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts.map +1 -1
  72. package/dist/types/src/containers/CollectionPresenterArticle/CollectionPresenterArticle.d.ts +6 -0
  73. package/dist/types/src/containers/CollectionPresenterArticle/CollectionPresenterArticle.d.ts.map +1 -0
  74. package/dist/types/src/containers/CollectionPresenterArticle/index.d.ts +2 -0
  75. package/dist/types/src/containers/CollectionPresenterArticle/index.d.ts.map +1 -0
  76. package/dist/types/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.d.ts +1 -1
  77. package/dist/types/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.d.ts.map +1 -1
  78. package/dist/types/src/containers/MarkdownSlide/MarkdownSlide.d.ts +1 -1
  79. package/dist/types/src/containers/MarkdownSlide/MarkdownSlide.d.ts.map +1 -1
  80. package/dist/types/src/containers/index.d.ts +1 -1
  81. package/dist/types/src/containers/index.d.ts.map +1 -1
  82. package/dist/types/src/index.d.ts +1 -2
  83. package/dist/types/src/index.d.ts.map +1 -1
  84. package/dist/types/src/plugin.d.ts +3 -0
  85. package/dist/types/src/plugin.d.ts.map +1 -0
  86. package/dist/types/src/testing.d.ts.map +1 -1
  87. package/dist/types/src/translations.d.ts +4 -7
  88. package/dist/types/src/translations.d.ts.map +1 -1
  89. package/dist/types/src/types/PresenterCapabilities.d.ts +4 -0
  90. package/dist/types/src/types/PresenterCapabilities.d.ts.map +1 -0
  91. package/dist/types/src/{operations/definitions.d.ts → types/PresenterOperation.d.ts} +5 -5
  92. package/dist/types/src/types/PresenterOperation.d.ts.map +1 -0
  93. package/dist/types/src/types/Settings.d.ts +3 -2
  94. package/dist/types/src/types/Settings.d.ts.map +1 -1
  95. package/dist/types/src/types/index.d.ts +2 -9
  96. package/dist/types/src/types/index.d.ts.map +1 -1
  97. package/dist/types/src/useExitPresenter.d.ts.map +1 -1
  98. package/dist/types/tsconfig.tsbuildinfo +1 -1
  99. package/package.json +80 -44
  100. package/src/PresenterPlugin.node.ts +16 -0
  101. package/src/PresenterPlugin.test.ts +23 -0
  102. package/src/PresenterPlugin.tsx +3 -2
  103. package/src/capabilities/app-graph-builder.ts +5 -7
  104. package/src/capabilities/react-surface.tsx +26 -25
  105. package/src/components/PresenterSettings/PresenterSettings.stories.tsx +2 -1
  106. package/src/components/PresenterSettings/PresenterSettings.tsx +8 -9
  107. package/src/components/RevealPlayer/RevealPlayer.stories.tsx +2 -1
  108. package/src/components/RevealPlayer/RevealPlayer.tsx +1 -1
  109. package/src/containers/{CollectionPresenterContainer/CollectionPresenterContainer.tsx → CollectionPresenterArticle/CollectionPresenterArticle.tsx} +11 -5
  110. package/src/containers/CollectionPresenterArticle/index.ts +5 -0
  111. package/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.tsx +1 -1
  112. package/src/containers/MarkdownSlide/MarkdownSlide.tsx +1 -1
  113. package/src/containers/index.ts +1 -1
  114. package/src/index.ts +1 -3
  115. package/src/plugin.ts +9 -0
  116. package/src/translations.ts +0 -2
  117. package/src/types/PresenterCapabilities.ts +15 -0
  118. package/src/{operations/definitions.ts → types/PresenterOperation.ts} +4 -2
  119. package/src/types/Settings.ts +7 -2
  120. package/src/types/index.ts +2 -11
  121. package/src/useExitPresenter.ts +1 -2
  122. package/dist/lib/browser/PresenterSettings-DZO2DC53.mjs.map +0 -7
  123. package/dist/lib/browser/meta.json +0 -1
  124. package/dist/lib/browser/operations/index.mjs +0 -30
  125. package/dist/lib/browser/operations/index.mjs.map +0 -7
  126. package/dist/types/src/containers/CollectionPresenterContainer/CollectionPresenterContainer.d.ts +0 -6
  127. package/dist/types/src/containers/CollectionPresenterContainer/CollectionPresenterContainer.d.ts.map +0 -1
  128. package/dist/types/src/containers/CollectionPresenterContainer/index.d.ts +0 -2
  129. package/dist/types/src/containers/CollectionPresenterContainer/index.d.ts.map +0 -1
  130. package/dist/types/src/operations/definitions.d.ts.map +0 -1
  131. package/dist/types/src/operations/index.d.ts +0 -2
  132. package/dist/types/src/operations/index.d.ts.map +0 -1
  133. package/src/containers/CollectionPresenterContainer/index.ts +0 -5
  134. package/src/operations/index.ts +0 -5
  135. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
  136. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs.map +0 -0
@@ -0,0 +1,28 @@
1
+ import "./chunk-J5LGTIGS.mjs";
2
+
3
+ // src/capabilities/settings.ts
4
+ import * as Effect from "effect/Effect";
5
+ import { Capability } from "@dxos/app-framework";
6
+ import { AppCapabilities } from "@dxos/app-toolkit";
7
+ import { createKvsStore } from "@dxos/effect";
8
+ import { meta } from "#meta";
9
+ import { PresenterCapabilities, Settings } from "#types";
10
+ var settings_default = Capability.makeModule(() => Effect.sync(() => {
11
+ const settingsAtom = createKvsStore({
12
+ key: meta.id,
13
+ schema: Settings.Settings,
14
+ defaultValue: () => ({})
15
+ });
16
+ return [
17
+ Capability.contributes(PresenterCapabilities.Settings, settingsAtom),
18
+ Capability.contributes(AppCapabilities.Settings, {
19
+ prefix: meta.id,
20
+ schema: Settings.Settings,
21
+ atom: settingsAtom
22
+ })
23
+ ];
24
+ }));
25
+ export {
26
+ settings_default as default
27
+ };
28
+ //# sourceMappingURL=settings-R6LRDAAK.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/settings.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { createKvsStore } from '@dxos/effect';\n\nimport { meta } from '#meta';\nimport { PresenterCapabilities, Settings } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.sync(() => {\n const settingsAtom = createKvsStore({\n key: meta.id,\n schema: Settings.Settings,\n defaultValue: () => ({}),\n });\n\n return [\n Capability.contributes(PresenterCapabilities.Settings, settingsAtom),\n Capability.contributes(AppCapabilities.Settings, {\n prefix: meta.id,\n schema: Settings.Settings,\n atom: settingsAtom,\n }),\n ];\n }),\n);\n"],
5
+ "mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,uBAAuB;AAChC,SAASC,sBAAsB;AAE/B,SAASC,YAAY;AACrB,SAASC,uBAAuBC,gBAAgB;AAEhD,IAAA,mBAAeL,WAAWM,WAAW,MAC5BC,YAAK,MAAA;AACV,QAAMC,eAAeN,eAAe;IAClCO,KAAKN,KAAKO;IACVC,QAAQN,SAASA;IACjBO,cAAc,OAAO,CAAC;EACxB,CAAA;AAEA,SAAO;IACLZ,WAAWa,YAAYT,sBAAsBC,UAAUG,YAAAA;IACvDR,WAAWa,YAAYZ,gBAAgBI,UAAU;MAC/CS,QAAQX,KAAKO;MACbC,QAAQN,SAASA;MACjBU,MAAMP;IACR,CAAA;;AAEJ,CAAA,CAAA;",
6
+ "names": ["Effect", "Capability", "AppCapabilities", "createKvsStore", "meta", "PresenterCapabilities", "Settings", "makeModule", "sync", "settingsAtom", "key", "id", "schema", "defaultValue", "contributes", "prefix", "atom"]
7
+ }
@@ -0,0 +1,19 @@
1
+ import "./chunk-J5LGTIGS.mjs";
2
+
3
+ // src/translations.ts
4
+ import { meta } from "#meta";
5
+ var translations = [
6
+ {
7
+ "en-US": {
8
+ [meta.id]: {
9
+ "plugin.name": "Presenter",
10
+ "settings.title": "Presenter settings",
11
+ "toggle-presentation.label": "Present"
12
+ }
13
+ }
14
+ }
15
+ ];
16
+ export {
17
+ translations
18
+ };
19
+ //# sourceMappingURL=translations.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Presenter',\n 'settings.title': 'Presenter settings',\n 'toggle-presentation.label': 'Present',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";;;AAMA,SAASA,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACD,KAAKE,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,6BAA6B;MAC/B;IACF;EACF;;",
6
+ "names": ["meta", "translations", "id"]
7
+ }
@@ -0,0 +1,14 @@
1
+ import {
2
+ PresenterCapabilities_exports,
3
+ PresenterContext,
4
+ PresenterOperation_exports,
5
+ Settings_exports
6
+ } from "../chunk-DCPA267T.mjs";
7
+ import "../chunk-J5LGTIGS.mjs";
8
+ export {
9
+ PresenterCapabilities_exports as PresenterCapabilities,
10
+ PresenterContext,
11
+ PresenterOperation_exports as PresenterOperation,
12
+ Settings_exports as Settings
13
+ };
14
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1,3 +1,4 @@
1
1
  import { Plugin } from '@dxos/app-framework';
2
2
  export declare const PresenterPlugin: Plugin.PluginFactory<void>;
3
+ export default PresenterPlugin;
3
4
  //# sourceMappingURL=PresenterPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresenterPlugin.d.ts","sourceRoot":"","sources":["../../../src/PresenterPlugin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAW7C,eAAO,MAAM,eAAe,4BAM3B,CAAC"}
1
+ {"version":3,"file":"PresenterPlugin.d.ts","sourceRoot":"","sources":["../../../src/PresenterPlugin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAU7C,eAAO,MAAM,eAAe,4BAM3B,CAAC;eAEa,eAAe"}
@@ -0,0 +1,4 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const PresenterPlugin: Plugin.PluginFactory<void>;
3
+ export default PresenterPlugin;
4
+ //# sourceMappingURL=PresenterPlugin.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PresenterPlugin.node.d.ts","sourceRoot":"","sources":["../../../src/PresenterPlugin.node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAM7C,eAAO,MAAM,eAAe,4BAG3B,CAAC;eAEa,eAAe"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PresenterPlugin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PresenterPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/PresenterPlugin.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAO/D,OAAO,EAAE,YAAY,EAA0B,MAAM,oBAAoB,CAAC;;AAc1E,wBA2EE"}
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAK/D,OAAO,EAAE,YAAY,EAA0B,MAAM,oBAAoB,CAAC"}
@@ -1,9 +1,5 @@
1
1
  import { Capability } from '@dxos/app-framework';
2
2
  export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
3
3
  export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
4
- export declare const PresenterSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
5
- presentCollections?: boolean | undefined;
6
- }, {
7
- presentCollections?: boolean | undefined;
8
- }>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
4
+ export declare const PresenterSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types/Settings").Settings, import("../types/Settings").Settings>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
9
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,iBAAiB;;;;mHAAmE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,iBAAiB,uTAAmE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAY/D,wBA8CE"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,10 +1,7 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
3
  import { AppCapabilities } from '@dxos/app-toolkit';
4
- declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
5
- presentCollections?: boolean | undefined;
6
- }, {
7
- presentCollections?: boolean | undefined;
8
- }>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], never, never>;
4
+ import { Settings } from '#types';
5
+ declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<Settings.Settings, Settings.Settings>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], never, never>;
9
6
  export default _default;
10
7
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;;;;;;AAMpD,wBAiBE"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,OAAO,EAAyB,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,UAAU,GAAG,eAAe,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,0BAA0B,UAAU,sBA4BzD,CAAC"}
1
+ {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,UAAU,GAAG,eAAe,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,KAAK,6BAA8B,UAAU,sBA4BzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Panel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAUjD,QAAA,MAAM,IAAI;;0BAR8B,UAAU;;;;;CAeb,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
1
+ {"version":3,"file":"Panel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Panel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAUjD,QAAA,MAAM,IAAI;;0BAR8B,UAAU;;;QAa9C,MAAM;;CAE2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Slide.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.tsx"],"names":[],"mappings":"AAIA,OAAO,gCAAgC,CAAC;AAGxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,sBAAyC,UAAU,sBAiBxE,CAAC"}
1
+ {"version":3,"file":"Slide.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.tsx"],"names":[],"mappings":"AAIA,OAAO,gCAAgC,CAAC;AAGxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,KAAK,yBAA6C,UAAU,sBAiBxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Slide.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;;;CAOoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC"}
1
+ {"version":3,"file":"Slide.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;QAKN,MAAM;;CAEoB,CAAC;eAEhB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/theme.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CAmBjB,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/theme.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK;IAChB,IAAI;IAEJ,OAAO;IAEP,KAAK;QACH,EAAE;QACF,EAAE;QACF,EAAE;QAEF,CAAC;QAED,EAAE;QACF,EAAE;QACF,EAAE;QAEF,GAAG;QACH,IAAI;;CAEP,CAAC"}
@@ -7,9 +7,5 @@ export type LayoutProps = PropsWithChildren<{
7
7
  }>;
8
8
  export declare const Layout: React.ForwardRefExoticComponent<Omit<LayoutProps, "className"> & {
9
9
  classNames?: import("@dxos/ui-types").ClassNameValue;
10
- } & {
11
- className?: string;
12
- children?: ReactNode;
13
- role?: string;
14
- } & React.RefAttributes<HTMLDivElement>>;
10
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
15
11
  //# sourceMappingURL=Layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC;IAC1C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;wCAkBlB,CAAC"}
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC;IAC1C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,CAAC;AAEH,eAAO,MAAM,MAAM;;2HAkBlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pager.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,qDAA6D,UAAU,6BAwG5F,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,kBAA0B,eAAe,6BAYnE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,sBAAsB;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CAAE,sBAa1G,CAAC"}
1
+ {"version":3,"file":"Pager.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,wDAAiE,UAAU,6BAwG5F,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,qBAA8B,eAAe,6BAYnE,CAAC;AAEF,eAAO,MAAM,WAAW,yBAA0B;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CAAE,sBAa1G,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pager.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAqB,KAAK,UAAU,EAAe,MAAM,SAAS,CAAC;AAe1E,QAAA,MAAM,IAAI;;wBAb4B,UAAU;;;;;CAoBX,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"Pager.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAqB,KAAK,UAAU,EAAe,MAAM,SAAS,CAAC;AAe1E,QAAA,MAAM,IAAI;;wBAb4B,UAAU;;;QAkB5C,MAAM;;CAE2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type AppSurface } from '@dxos/app-toolkit/ui';
3
- import { type Settings } from '#types';
3
+ import { Settings } from '#types';
4
4
  export type PresenterSettingsProps = AppSurface.SettingsArticleProps<Settings.Settings>;
5
5
  export declare const PresenterSettings: ({ settings, onSettingsChange }: PresenterSettingsProps) => React.JSX.Element;
6
6
  //# sourceMappingURL=PresenterSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresenterSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/PresenterSettings/PresenterSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAExF,eAAO,MAAM,iBAAiB,GAAI,gCAAgC,sBAAsB,sBAgBvF,CAAC"}
1
+ {"version":3,"file":"PresenterSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/PresenterSettings/PresenterSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAExF,eAAO,MAAM,iBAAiB,mCAAoC,sBAAsB,sBAevF,CAAC"}
@@ -8,12 +8,10 @@ declare const meta: {
8
8
  layout: string;
9
9
  translations: [{
10
10
  readonly 'en-US': {
11
- readonly [meta.id]: {
12
- readonly 'plugin.name': "Presenter";
13
- readonly 'settings.title': "Presenter settings";
14
- readonly 'toggle-presentation.label': "Present";
15
- readonly 'present-collections.label': "Present collections (experimental)";
16
- readonly 'present-collections.description': "Enable presenting collections of documents as a slideshow.";
11
+ readonly [x: string]: {
12
+ readonly 'plugin.name': 'Presenter';
13
+ readonly 'settings.title': 'Presenter settings';
14
+ readonly 'toggle-presentation.label': 'Present';
17
15
  };
18
16
  };
19
17
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"PresenterSettings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/PresenterSettings/PresenterSettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjE,QAAA,MAAM,IAAI;;;;;;;;;yBALmD,CAEzD,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;CAY8B,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
1
+ {"version":3,"file":"PresenterSettings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/PresenterSettings/PresenterSettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CASgC,CAAC;eAE5B,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -10,9 +10,5 @@ export type RevealProps = {
10
10
  };
11
11
  export declare const RevealPlayer: React.ForwardRefExoticComponent<Omit<RevealProps, "className"> & {
12
12
  classNames?: import("@dxos/ui-types").ClassNameValue;
13
- } & {
14
- className?: string;
15
- children?: React.ReactNode;
16
- role?: string;
17
- } & React.RefAttributes<HTMLDivElement>>;
13
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
18
14
  //# sourceMappingURL=RevealPlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC;AACnC,OAAO,gCAAgC,CAAC;AAGxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAAiB,MAAM,OAAO,CAAC;AAiDtC,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;wCA4GxB,CAAC"}
1
+ {"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC;AACnC,OAAO,gCAAgC,CAAC;AAGxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAAiB,MAAM,OAAO,CAAC;AAiDtC,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY;;2HA4GxB,CAAC"}
@@ -4,22 +4,16 @@ declare const meta: {
4
4
  title: string;
5
5
  component: import("react").ForwardRefExoticComponent<Omit<import("./RevealPlayer").RevealProps, "className"> & {
6
6
  classNames?: import("@dxos/ui-types").ClassNameValue;
7
- } & {
8
- className?: string;
9
- children?: import("react").ReactNode;
10
- role?: string;
11
- } & import("react").RefAttributes<HTMLDivElement>>;
7
+ } & Pick<import("react").HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & import("react").RefAttributes<HTMLDivElement>>;
12
8
  decorators: import("@storybook/react").Decorator[];
13
9
  parameters: {
14
10
  layout: string;
15
11
  translations: [{
16
12
  readonly 'en-US': {
17
- readonly [meta.id]: {
18
- readonly 'plugin.name': "Presenter";
19
- readonly 'settings.title': "Presenter settings";
20
- readonly 'toggle-presentation.label': "Present";
21
- readonly 'present-collections.label': "Present collections (experimental)";
22
- readonly 'present-collections.description': "Enable presenting collections of documents as a slideshow.";
13
+ readonly [x: string]: {
14
+ readonly 'plugin.name': 'Presenter';
15
+ readonly 'settings.title': 'Presenter settings';
16
+ readonly 'toggle-presentation.label': 'Present';
23
17
  };
24
18
  };
25
19
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"RevealPlayer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAMlD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAU9C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;yBAZC,CAAS,IAAG,CAAC,EAAE,CAAC;;;;;;;;;;CAoBU,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
1
+ {"version":3,"file":"RevealPlayer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAOlD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAU9C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;CAQ2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { AppSurface } from '@dxos/app-toolkit/ui';
3
+ import { type Collection } from '@dxos/echo';
4
+ export type CollectionPresenterArticleProps = AppSurface.ObjectArticleProps<Collection.Collection>;
5
+ export declare const CollectionPresenterArticle: ({ role, subject: collection }: CollectionPresenterArticleProps) => React.JSX.Element;
6
+ //# sourceMappingURL=CollectionPresenterArticle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CollectionPresenterArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CollectionPresenterArticle/CollectionPresenterArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,UAAU,EAAO,MAAM,YAAY,CAAC;AAQlD,MAAM,MAAM,+BAA+B,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAEnG,eAAO,MAAM,0BAA0B,kCAAmC,+BAA+B,sBA+BxG,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { CollectionPresenterArticle as default } from './CollectionPresenterArticle';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CollectionPresenterArticle/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,0BAA0B,IAAI,OAAO,EAAE,MAAM,8BAA8B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type Markdown } from '@dxos/plugin-markdown/types';
2
+ import { type Markdown } from '@dxos/plugin-markdown';
3
3
  export declare const DocumentPresenterContainer: FC<{
4
4
  document: Markdown.Document;
5
5
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentPresenterContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DocumentPresenterContainer/DocumentPresenterContainer.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAO5D,eAAO,MAAM,0BAA0B,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAA;CAAE,CAU1E,CAAC"}
1
+ {"version":3,"file":"DocumentPresenterContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DocumentPresenterContainer/DocumentPresenterContainer.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOtD,eAAO,MAAM,0BAA0B,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAA;CAAE,CAU1E,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type Markdown } from '@dxos/plugin-markdown/types';
2
+ import { type Markdown } from '@dxos/plugin-markdown';
3
3
  type MarkdownSlideProps = {
4
4
  document: Markdown.Document;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownSlide.d.ts","sourceRoot":"","sources":["../../../../../src/containers/MarkdownSlide/MarkdownSlide.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAI5D,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,cAAc,kBAAkB,6BAW7D,CAAC"}
1
+ {"version":3,"file":"MarkdownSlide.d.ts","sourceRoot":"","sources":["../../../../../src/containers/MarkdownSlide/MarkdownSlide.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,aAAa,iBAAkB,kBAAkB,6BAW7D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type ComponentType } from 'react';
2
- export declare const CollectionPresenterContainer: ComponentType<any>;
2
+ export declare const CollectionPresenterArticle: ComponentType<any>;
3
3
  export declare const DocumentPresenterContainer: ComponentType<any>;
4
4
  export declare const MarkdownSlide: ComponentType<any>;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,4BAA4B,EAAE,aAAa,CAAC,GAAG,CAAwD,CAAC;AACrH,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,GAAG,CAAsD,CAAC;AACjH,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,GAAG,CAAyC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,GAAG,CAAsD,CAAC;AACjH,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,GAAG,CAAsD,CAAC;AACjH,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,GAAG,CAAyC,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from './components';
2
1
  export * from './meta';
3
- export * from './PresenterPlugin';
2
+ export * from './types';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAE7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const PresenterPlugin: Plugin.PluginFactory<void>;
3
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,eAAe,4BAA6C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/testing.ts"],"names":[],"mappings":"AAMA,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,UAAS,YAAiB,WAgCrD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,eAAU,aAAyE,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/testing.ts"],"names":[],"mappings":"AAMA,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,aAAa,YAAY,WAgChD,CAAC;AAEF,eAAO,MAAM,YAAY,+BAAuF,CAAC"}
@@ -1,12 +1,9 @@
1
- import { meta } from '#meta';
2
1
  export declare const translations: [{
3
2
  readonly 'en-US': {
4
- readonly [meta.id]: {
5
- readonly 'plugin.name': "Presenter";
6
- readonly 'settings.title': "Presenter settings";
7
- readonly 'toggle-presentation.label': "Present";
8
- readonly 'present-collections.label': "Present collections (experimental)";
9
- readonly 'present-collections.description': "Enable presenting collections of documents as a slideshow.";
3
+ readonly [x: string]: {
4
+ readonly 'plugin.name': 'Presenter';
5
+ readonly 'settings.title': 'Presenter settings';
6
+ readonly 'toggle-presentation.label': 'Present';
10
7
  };
11
8
  };
12
9
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;UAMR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,WAAW;uCACR,oBAAoB;kDACT,SAAS;;;EAIf,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Atom } from '@effect-atom/atom-react';
2
+ import { Capability } from '@dxos/app-framework';
3
+ export declare const Settings: Capability.InterfaceDef<Atom.Writable<import("./Settings").Settings, import("./Settings").Settings>>;
4
+ //# sourceMappingURL=PresenterCapabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PresenterCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,eAAO,MAAM,QAAQ,sGAAkG,CAAC"}
@@ -1,6 +1,9 @@
1
- import { Operation } from '@dxos/operation';
1
+ import { Operation } from '@dxos/compute';
2
2
  export declare const TogglePresentation: Operation.Definition<{
3
3
  readonly object: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
4
+ readonly name?: string | undefined;
5
+ readonly objects: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>[];
6
+ }) | (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
4
7
  readonly name?: string | undefined;
5
8
  readonly description?: string | undefined;
6
9
  readonly fallbackName?: string | undefined;
@@ -8,10 +11,7 @@ export declare const TogglePresentation: Operation.Definition<{
8
11
  readonly name?: string | undefined;
9
12
  readonly content: string;
10
13
  }>;
11
- }) | (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
12
- readonly name?: string | undefined;
13
- readonly objects: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>[];
14
14
  });
15
15
  readonly state?: boolean | undefined;
16
16
  }, void, never>;
17
- //# sourceMappingURL=definitions.d.ts.map
17
+ //# sourceMappingURL=PresenterOperation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PresenterOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterOperation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAS1C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;eAO7B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as Schema from 'effect/Schema';
2
2
  export declare const Settings: Schema.mutable<Schema.Struct<{
3
- presentCollections: Schema.optional<typeof Schema.Boolean>;
3
+ presentCollections: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
4
4
  }>>;
5
- export type Settings = Schema.Schema.Type<typeof Settings>;
5
+ export interface Settings extends Schema.Schema.Type<typeof Settings> {
6
+ }
6
7
  //# sourceMappingURL=Settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../src/types/Settings.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,eAAO,MAAM,QAAQ;;GAIpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../src/types/Settings.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,eAAO,MAAM,QAAQ;;GASpB,CAAC;AAEF,MAAM,WAAW,QAAS,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC;CAAG"}
@@ -1,18 +1,11 @@
1
- import { type Atom } from '@effect-atom/atom-react';
2
1
  import { type Context } from 'react';
3
- import { Capability } from '@dxos/app-framework';
4
2
  export type PresenterContextType = {
5
3
  running: boolean;
6
4
  start: () => void;
7
5
  stop: () => void;
8
6
  };
9
7
  export declare const PresenterContext: Context<PresenterContextType>;
8
+ export * as PresenterCapabilities from './PresenterCapabilities';
9
+ export * as PresenterOperation from './PresenterOperation';
10
10
  export * as Settings from './Settings';
11
- export declare namespace PresenterCapabilities {
12
- const Settings: Capability.InterfaceDef<Atom.Writable<{
13
- presentCollections?: boolean | undefined;
14
- }, {
15
- presentCollections?: boolean | undefined;
16
- }>>;
17
- }
18
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,oBAAoB,CAIzD,CAAC;AAEH,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AAEvC,yBAAiB,qBAAqB,CAAC;IAC9B,MAAM,QAAQ;;;;OAAsF,CAAC;CAC7G"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,oBAAoB,CAIzD,CAAC;AAEH,OAAO,KAAK,qBAAqB,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useExitPresenter.d.ts","sourceRoot":"","sources":["../../../src/useExitPresenter.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB,GAAI,QAAQ,GAAG;;;EAuB3C,CAAC"}
1
+ {"version":3,"file":"useExitPresenter.d.ts","sourceRoot":"","sources":["../../../src/useExitPresenter.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,gBAAgB,WAAY,GAAG;;;EAuB3C,CAAC"}