@dxos/app-framework 0.8.3 → 0.8.4-main.2e9d522

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 (251) hide show
  1. package/.swc/plugins/v7_linux_x86_64_13.0.0/f45bdff002284d9e8f9ef3f0be909de12da36c049cbcf261ac78fc00abb09a2d +0 -0
  2. package/.swc/plugins/v7_linux_x86_64_13.0.0/fce1bdb8e20a094e4af08bad09cc81497ed0e2e7c51223b07d371063cca18429 +0 -0
  3. package/README.md +0 -8
  4. package/dist/lib/browser/{app-graph-builder-BI4VVKSW.mjs → app-graph-builder-LYF7EKNN.mjs} +4 -4
  5. package/dist/lib/browser/{chunk-EHM4UI3V.mjs → chunk-FMN65HSW.mjs} +26 -25
  6. package/dist/lib/browser/{chunk-EHM4UI3V.mjs.map → chunk-FMN65HSW.mjs.map} +3 -3
  7. package/dist/lib/browser/{chunk-DIBVO47Z.mjs → chunk-FO2PH7M3.mjs} +27 -18
  8. package/dist/lib/browser/{chunk-DIBVO47Z.mjs.map → chunk-FO2PH7M3.mjs.map} +3 -3
  9. package/dist/lib/browser/{chunk-WWEJRWFX.mjs → chunk-ORWHM7CO.mjs} +2 -2
  10. package/dist/lib/browser/index.mjs +10 -10
  11. package/dist/lib/browser/index.mjs.map +3 -3
  12. package/dist/lib/browser/{intent-dispatcher-XVBOMF2Y.mjs → intent-dispatcher-LSYQZSEB.mjs} +2 -2
  13. package/dist/lib/browser/{intent-resolver-3QMBXLIY.mjs → intent-resolver-ZTNOSO3A.mjs} +4 -4
  14. package/dist/lib/browser/meta.json +1 -1
  15. package/dist/lib/browser/{store-5H7XPJGA.mjs → store-KML2R4IE.mjs} +3 -3
  16. package/dist/lib/browser/testing/index.mjs +3 -3
  17. package/dist/lib/browser/worker.mjs +1 -1
  18. package/dist/lib/node-esm/{app-graph-builder-NROP6RPQ.mjs → app-graph-builder-SAOWGJDK.mjs} +4 -4
  19. package/dist/lib/node-esm/{chunk-FHNZZWP4.mjs → chunk-73HGSHKE.mjs} +27 -18
  20. package/dist/lib/node-esm/{chunk-FHNZZWP4.mjs.map → chunk-73HGSHKE.mjs.map} +3 -3
  21. package/dist/lib/node-esm/{chunk-I6BVZMAH.mjs → chunk-UMZQERLE.mjs} +2 -2
  22. package/dist/lib/node-esm/{chunk-2J6FVECI.mjs → chunk-ZEZ4FVEU.mjs} +26 -25
  23. package/dist/lib/node-esm/{chunk-2J6FVECI.mjs.map → chunk-ZEZ4FVEU.mjs.map} +3 -3
  24. package/dist/lib/node-esm/index.mjs +10 -10
  25. package/dist/lib/node-esm/index.mjs.map +3 -3
  26. package/dist/lib/node-esm/{intent-dispatcher-7JPGLCQ5.mjs → intent-dispatcher-6CYNGPSW.mjs} +2 -2
  27. package/dist/lib/node-esm/{intent-resolver-VY4X5UHN.mjs → intent-resolver-W7Z7WFFM.mjs} +4 -4
  28. package/dist/lib/node-esm/meta.json +1 -1
  29. package/dist/lib/node-esm/{store-UKD2R2KA.mjs → store-QEXGXLWZ.mjs} +3 -3
  30. package/dist/lib/node-esm/testing/index.mjs +3 -3
  31. package/dist/lib/node-esm/worker.mjs +1 -1
  32. package/dist/types/src/common/capabilities.d.ts +4 -2
  33. package/dist/types/src/common/capabilities.d.ts.map +1 -1
  34. package/dist/types/src/common/index.d.ts +1 -1
  35. package/dist/types/src/common/index.d.ts.map +1 -1
  36. package/dist/types/src/plugin-settings/translations.d.ts +7 -8
  37. package/dist/types/src/plugin-settings/translations.d.ts.map +1 -1
  38. package/dist/types/tsconfig.tsbuildinfo +1 -1
  39. package/moon.yml +14 -0
  40. package/package.json +28 -28
  41. package/src/App.tsx +3 -3
  42. package/src/common/capabilities.ts +9 -3
  43. package/src/common/index.ts +1 -1
  44. package/src/core/manager.test.ts +1 -2
  45. package/src/plugin-settings/SettingsPlugin.ts +1 -1
  46. package/src/plugin-settings/translations.ts +4 -2
  47. package/tsconfig.json +4 -1
  48. package/vitest.config.ts +5 -2
  49. package/.eslintrc.cjs +0 -9
  50. package/README.yml +0 -5
  51. package/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs +0 -146
  52. package/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs.map +0 -7
  53. package/dist/lib/node/chunk-G774ASXO.cjs +0 -58
  54. package/dist/lib/node/chunk-G774ASXO.cjs.map +0 -7
  55. package/dist/lib/node/chunk-VSOSVDQ3.cjs +0 -1551
  56. package/dist/lib/node/chunk-VSOSVDQ3.cjs.map +0 -7
  57. package/dist/lib/node/chunk-YGAY3H34.cjs +0 -429
  58. package/dist/lib/node/chunk-YGAY3H34.cjs.map +0 -7
  59. package/dist/lib/node/index.cjs +0 -193
  60. package/dist/lib/node/index.cjs.map +0 -7
  61. package/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs +0 -32
  62. package/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs.map +0 -7
  63. package/dist/lib/node/intent-resolver-IOJDYO34.cjs +0 -46
  64. package/dist/lib/node/intent-resolver-IOJDYO34.cjs.map +0 -7
  65. package/dist/lib/node/meta.json +0 -1
  66. package/dist/lib/node/store-ESF5VR57.cjs +0 -45
  67. package/dist/lib/node/store-ESF5VR57.cjs.map +0 -7
  68. package/dist/lib/node/testing/index.cjs +0 -119
  69. package/dist/lib/node/testing/index.cjs.map +0 -7
  70. package/dist/lib/node/worker.cjs +0 -101
  71. package/dist/lib/node/worker.cjs.map +0 -7
  72. package/project.json +0 -29
  73. package/typedoc/.nojekyll +0 -1
  74. package/typedoc/assets/hierarchy.js +0 -1
  75. package/typedoc/assets/highlight.css +0 -106
  76. package/typedoc/assets/icons.js +0 -18
  77. package/typedoc/assets/icons.svg +0 -1
  78. package/typedoc/assets/main.js +0 -60
  79. package/typedoc/assets/navigation.js +0 -1
  80. package/typedoc/assets/search.js +0 -1
  81. package/typedoc/assets/style.css +0 -1640
  82. package/typedoc/classes/CollaborationActions.InsertContent.html +0 -421
  83. package/typedoc/classes/ErrorBoundary.html +0 -125
  84. package/typedoc/classes/IntentAction.ShowUndo.html +0 -227
  85. package/typedoc/classes/IntentAction.Track.html +0 -266
  86. package/typedoc/classes/LayoutAction.AddToast.html +0 -265
  87. package/typedoc/classes/LayoutAction.Close.html +0 -382
  88. package/typedoc/classes/LayoutAction.Expose.html +0 -265
  89. package/typedoc/classes/LayoutAction.Open.html +0 -1123
  90. package/typedoc/classes/LayoutAction.RevertWorkspace.html +0 -343
  91. package/typedoc/classes/LayoutAction.ScrollIntoView.html +0 -460
  92. package/typedoc/classes/LayoutAction.Set.html +0 -460
  93. package/typedoc/classes/LayoutAction.SetLayoutMode.html +0 -499
  94. package/typedoc/classes/LayoutAction.SwitchWorkspace.html +0 -265
  95. package/typedoc/classes/LayoutAction.UpdateComplementary.html +0 -616
  96. package/typedoc/classes/LayoutAction.UpdateDialog.html +0 -1123
  97. package/typedoc/classes/LayoutAction.UpdateLayout.html +0 -461
  98. package/typedoc/classes/LayoutAction.UpdatePopover.html +0 -1435
  99. package/typedoc/classes/LayoutAction.UpdateSidebar.html +0 -616
  100. package/typedoc/classes/Plugin.html +0 -6
  101. package/typedoc/classes/PluginContext.html +0 -38
  102. package/typedoc/classes/PluginManager.html +0 -43
  103. package/typedoc/classes/PluginModule.html +0 -18
  104. package/typedoc/classes/SettingsAction.Open.html +0 -226
  105. package/typedoc/classes/SettingsAction.OpenPluginRegistry.html +0 -265
  106. package/typedoc/functions/Events.createStateEvent.html +0 -2
  107. package/typedoc/functions/IntentPlugin.html +0 -1
  108. package/typedoc/functions/SettingsPlugin.html +0 -1
  109. package/typedoc/functions/allOf.html +0 -2
  110. package/typedoc/functions/chain.html +0 -3
  111. package/typedoc/functions/contributes.html +0 -2
  112. package/typedoc/functions/createDispatcher.html +0 -3
  113. package/typedoc/functions/createIntent.html +0 -6
  114. package/typedoc/functions/createResolver.html +0 -2
  115. package/typedoc/functions/createSurface.html +0 -2
  116. package/typedoc/functions/defineCapability.html +0 -2
  117. package/typedoc/functions/defineEvent.html +0 -2
  118. package/typedoc/functions/defineModule.html +0 -2
  119. package/typedoc/functions/definePlugin.html +0 -2
  120. package/typedoc/functions/eventKey.html +0 -2
  121. package/typedoc/functions/getEvents.html +0 -2
  122. package/typedoc/functions/isAllOf.html +0 -2
  123. package/typedoc/functions/isOneOf.html +0 -2
  124. package/typedoc/functions/isSurfaceAvailable.html +0 -2
  125. package/typedoc/functions/lazy.html +0 -2
  126. package/typedoc/functions/oneOf.html +0 -2
  127. package/typedoc/functions/useApp.html +0 -6
  128. package/typedoc/functions/useAppGraph.html +0 -1
  129. package/typedoc/functions/useCapabilities.html +0 -3
  130. package/typedoc/functions/useCapability.html +0 -4
  131. package/typedoc/functions/useIntentDispatcher.html +0 -1
  132. package/typedoc/functions/useIntentResolver.html +0 -1
  133. package/typedoc/functions/useLayout.html +0 -1
  134. package/typedoc/functions/usePluginManager.html +0 -2
  135. package/typedoc/hierarchy.html +0 -1
  136. package/typedoc/index.html +0 -16
  137. package/typedoc/interfaces/LayoutAction.Toast.html +0 -10
  138. package/typedoc/media/LICENSE +0 -8
  139. package/typedoc/modules/Capabilities.html +0 -1
  140. package/typedoc/modules/CollaborationActions.html +0 -1
  141. package/typedoc/modules/Events.html +0 -1
  142. package/typedoc/modules/IntentAction.html +0 -1
  143. package/typedoc/modules/LayoutAction.html +0 -2
  144. package/typedoc/modules/SettingsAction.html +0 -1
  145. package/typedoc/modules.html +0 -1
  146. package/typedoc/types/ActivationEvent.html +0 -8
  147. package/typedoc/types/ActivationEvents.html +0 -2
  148. package/typedoc/types/AnyCapability.html +0 -1
  149. package/typedoc/types/AnyIntent.html +0 -1
  150. package/typedoc/types/AnyIntentChain.html +0 -1
  151. package/typedoc/types/AnyIntentEffectResult.html +0 -1
  152. package/typedoc/types/AnyIntentResolver.html +0 -1
  153. package/typedoc/types/AnyIntentResult.html +0 -1
  154. package/typedoc/types/Capabilities.FileUploader.html +0 -1
  155. package/typedoc/types/Capabilities.IntentResolver.html +0 -1
  156. package/typedoc/types/Capabilities.Layout.html +0 -1
  157. package/typedoc/types/Capabilities.Metadata.html +0 -1
  158. package/typedoc/types/Capabilities.ReactContext.html +0 -1
  159. package/typedoc/types/Capabilities.ReactRoot.html +0 -1
  160. package/typedoc/types/Capabilities.ReactSurface.html +0 -1
  161. package/typedoc/types/Capabilities.Settings.html +0 -4
  162. package/typedoc/types/Capability.html +0 -9
  163. package/typedoc/types/CreateAppOptions.html +0 -10
  164. package/typedoc/types/FileInfo.html +0 -1
  165. package/typedoc/types/Intent.html +0 -10
  166. package/typedoc/types/IntentChain.html +0 -6
  167. package/typedoc/types/IntentContext.html +0 -5
  168. package/typedoc/types/IntentData.html +0 -1
  169. package/typedoc/types/IntentDispatcher.html +0 -2
  170. package/typedoc/types/IntentDispatcherResult.html +0 -2
  171. package/typedoc/types/IntentEffectDefinition.html +0 -2
  172. package/typedoc/types/IntentEffectResult.html +0 -15
  173. package/typedoc/types/IntentParams.html +0 -3
  174. package/typedoc/types/IntentResolver.html +0 -2
  175. package/typedoc/types/IntentResultData.html +0 -1
  176. package/typedoc/types/IntentSchema.html +0 -1
  177. package/typedoc/types/IntentUndo.html +0 -2
  178. package/typedoc/types/InterfaceDef.html +0 -4
  179. package/typedoc/types/Label.html +0 -1
  180. package/typedoc/types/NodeSerializer.html +0 -8
  181. package/typedoc/types/PluginManagerOptions.html +0 -6
  182. package/typedoc/types/PluginMeta.html +0 -21
  183. package/typedoc/types/PromiseIntentDispatcher.html +0 -2
  184. package/typedoc/types/PromiseIntentUndo.html +0 -2
  185. package/typedoc/types/Resource.html +0 -1
  186. package/typedoc/types/ResourceKey.html +0 -1
  187. package/typedoc/types/ResourceLanguage.html +0 -1
  188. package/typedoc/types/SerializedNode.html +0 -4
  189. package/typedoc/types/SurfaceComponent.html +0 -2
  190. package/typedoc/types/SurfaceDefinition.html +0 -2
  191. package/typedoc/types/SurfaceProps.html +0 -4
  192. package/typedoc/variables/Capabilities.AnchorSort.html +0 -1
  193. package/typedoc/variables/Capabilities.AppGraph.html +0 -1
  194. package/typedoc/variables/Capabilities.AppGraphBuilder.html +0 -1
  195. package/typedoc/variables/Capabilities.AppGraphSerializer.html +0 -1
  196. package/typedoc/variables/Capabilities.ArtifactDefinition.html +0 -1
  197. package/typedoc/variables/Capabilities.FileUploader.html +0 -1
  198. package/typedoc/variables/Capabilities.IntentDispatcher.html +0 -1
  199. package/typedoc/variables/Capabilities.IntentResolver.html +0 -1
  200. package/typedoc/variables/Capabilities.Layout.html +0 -1
  201. package/typedoc/variables/Capabilities.Metadata.html +0 -1
  202. package/typedoc/variables/Capabilities.Null.html +0 -1
  203. package/typedoc/variables/Capabilities.PluginManager.html +0 -1
  204. package/typedoc/variables/Capabilities.ReactContext.html +0 -1
  205. package/typedoc/variables/Capabilities.ReactRoot.html +0 -1
  206. package/typedoc/variables/Capabilities.ReactSurface.html +0 -1
  207. package/typedoc/variables/Capabilities.RxRegistry.html +0 -1
  208. package/typedoc/variables/Capabilities.Settings.html +0 -1
  209. package/typedoc/variables/Capabilities.SettingsStore.html +0 -1
  210. package/typedoc/variables/Capabilities.Tools.html +0 -1
  211. package/typedoc/variables/Capabilities.Translations.html +0 -1
  212. package/typedoc/variables/Events.AppGraphReady.html +0 -2
  213. package/typedoc/variables/Events.DispatcherReady.html +0 -2
  214. package/typedoc/variables/Events.LayoutReady.html +0 -1
  215. package/typedoc/variables/Events.SettingsReady.html +0 -2
  216. package/typedoc/variables/Events.SetupAppGraph.html +0 -2
  217. package/typedoc/variables/Events.SetupArtifactDefinition.html +0 -2
  218. package/typedoc/variables/Events.SetupIntentResolver.html +0 -2
  219. package/typedoc/variables/Events.SetupMetadata.html +0 -2
  220. package/typedoc/variables/Events.SetupReactSurface.html +0 -2
  221. package/typedoc/variables/Events.SetupSettings.html +0 -2
  222. package/typedoc/variables/Events.SetupTranslations.html +0 -2
  223. package/typedoc/variables/Events.Startup.html +0 -2
  224. package/typedoc/variables/FileInfoSchema.html +0 -1
  225. package/typedoc/variables/INTENT_ACTION.html +0 -1
  226. package/typedoc/variables/INTENT_PLUGIN.html +0 -1
  227. package/typedoc/variables/LAYOUT_ACTION.html +0 -1
  228. package/typedoc/variables/LAYOUT_PLUGIN.html +0 -1
  229. package/typedoc/variables/Label.html +0 -1
  230. package/typedoc/variables/LayoutAction.Toast.html +0 -1
  231. package/typedoc/variables/LayoutAction.UPDATE_LAYOUT.html +0 -1
  232. package/typedoc/variables/PluginManagerProvider.html +0 -2
  233. package/typedoc/variables/Resource.html +0 -2
  234. package/typedoc/variables/ResourceKey.html +0 -1
  235. package/typedoc/variables/ResourceLanguage.html +0 -1
  236. package/typedoc/variables/SETTINGS_ACTION.html +0 -1
  237. package/typedoc/variables/SETTINGS_ID.html +0 -1
  238. package/typedoc/variables/SETTINGS_KEY.html +0 -1
  239. package/typedoc/variables/SETTINGS_PLUGIN.html +0 -1
  240. package/typedoc/variables/Surface.html +0 -2
  241. package/typedoc/variables/defaultFileTypes.html +0 -1
  242. /package/dist/lib/browser/{app-graph-builder-BI4VVKSW.mjs.map → app-graph-builder-LYF7EKNN.mjs.map} +0 -0
  243. /package/dist/lib/browser/{chunk-WWEJRWFX.mjs.map → chunk-ORWHM7CO.mjs.map} +0 -0
  244. /package/dist/lib/browser/{intent-dispatcher-XVBOMF2Y.mjs.map → intent-dispatcher-LSYQZSEB.mjs.map} +0 -0
  245. /package/dist/lib/browser/{intent-resolver-3QMBXLIY.mjs.map → intent-resolver-ZTNOSO3A.mjs.map} +0 -0
  246. /package/dist/lib/browser/{store-5H7XPJGA.mjs.map → store-KML2R4IE.mjs.map} +0 -0
  247. /package/dist/lib/node-esm/{app-graph-builder-NROP6RPQ.mjs.map → app-graph-builder-SAOWGJDK.mjs.map} +0 -0
  248. /package/dist/lib/node-esm/{chunk-I6BVZMAH.mjs.map → chunk-UMZQERLE.mjs.map} +0 -0
  249. /package/dist/lib/node-esm/{intent-dispatcher-7JPGLCQ5.mjs.map → intent-dispatcher-6CYNGPSW.mjs.map} +0 -0
  250. /package/dist/lib/node-esm/{intent-resolver-VY4X5UHN.mjs.map → intent-resolver-W7Z7WFFM.mjs.map} +0 -0
  251. /package/dist/lib/node-esm/{store-UKD2R2KA.mjs.map → store-QEXGXLWZ.mjs.map} +0 -0
@@ -1,193 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var node_exports = {};
30
- __export(node_exports, {
31
- Capabilities: () => import_chunk_VSOSVDQ3.Capabilities,
32
- CollaborationActions: () => import_chunk_VSOSVDQ3.CollaborationActions,
33
- ErrorBoundary: () => import_chunk_YGAY3H34.ErrorBoundary,
34
- Events: () => import_chunk_VSOSVDQ3.Events,
35
- FileInfoSchema: () => import_chunk_VSOSVDQ3.FileInfoSchema,
36
- INTENT_ACTION: () => import_chunk_VSOSVDQ3.INTENT_ACTION,
37
- INTENT_PLUGIN: () => import_chunk_VSOSVDQ3.INTENT_PLUGIN,
38
- IntentAction: () => import_chunk_VSOSVDQ3.IntentAction,
39
- IntentPlugin: () => import_chunk_VSOSVDQ3.IntentPlugin,
40
- LAYOUT_ACTION: () => import_chunk_VSOSVDQ3.LAYOUT_ACTION,
41
- LAYOUT_PLUGIN: () => import_chunk_VSOSVDQ3.LAYOUT_PLUGIN,
42
- Label: () => import_chunk_VSOSVDQ3.Label,
43
- LayoutAction: () => import_chunk_VSOSVDQ3.LayoutAction,
44
- Plugin: () => import_chunk_VSOSVDQ3.Plugin,
45
- PluginContext: () => import_chunk_VSOSVDQ3.PluginContext,
46
- PluginManager: () => import_chunk_VSOSVDQ3.PluginManager,
47
- PluginManagerProvider: () => import_chunk_YGAY3H34.PluginManagerProvider,
48
- PluginModule: () => import_chunk_VSOSVDQ3.PluginModule,
49
- Resource: () => import_chunk_VSOSVDQ3.Resource,
50
- ResourceKey: () => import_chunk_VSOSVDQ3.ResourceKey,
51
- ResourceLanguage: () => import_chunk_VSOSVDQ3.ResourceLanguage,
52
- SETTINGS_ACTION: () => import_chunk_G774ASXO.SETTINGS_ACTION,
53
- SETTINGS_ID: () => import_chunk_G774ASXO.SETTINGS_ID,
54
- SETTINGS_KEY: () => import_chunk_G774ASXO.SETTINGS_KEY,
55
- SETTINGS_PLUGIN: () => import_chunk_G774ASXO.SETTINGS_PLUGIN,
56
- SettingsAction: () => import_chunk_G774ASXO.SettingsAction,
57
- SettingsPlugin: () => SettingsPlugin,
58
- Surface: () => import_chunk_YGAY3H34.Surface,
59
- allOf: () => import_chunk_VSOSVDQ3.allOf,
60
- chain: () => import_chunk_VSOSVDQ3.chain,
61
- contributes: () => import_chunk_VSOSVDQ3.contributes,
62
- createDispatcher: () => import_chunk_VSOSVDQ3.createDispatcher,
63
- createIntent: () => import_chunk_VSOSVDQ3.createIntent,
64
- createResolver: () => import_chunk_VSOSVDQ3.createResolver,
65
- createSurface: () => import_chunk_VSOSVDQ3.createSurface,
66
- defaultFileTypes: () => import_chunk_VSOSVDQ3.defaultFileTypes,
67
- defineCapability: () => import_chunk_VSOSVDQ3.defineCapability,
68
- defineEvent: () => import_chunk_VSOSVDQ3.defineEvent,
69
- defineModule: () => import_chunk_VSOSVDQ3.defineModule,
70
- definePlugin: () => import_chunk_VSOSVDQ3.definePlugin,
71
- eventKey: () => import_chunk_VSOSVDQ3.eventKey,
72
- getEvents: () => import_chunk_VSOSVDQ3.getEvents,
73
- isAllOf: () => import_chunk_VSOSVDQ3.isAllOf,
74
- isOneOf: () => import_chunk_VSOSVDQ3.isOneOf,
75
- isSurfaceAvailable: () => import_chunk_YGAY3H34.isSurfaceAvailable,
76
- lazy: () => import_chunk_VSOSVDQ3.lazy,
77
- oneOf: () => import_chunk_VSOSVDQ3.oneOf,
78
- useApp: () => import_chunk_YGAY3H34.useApp,
79
- useAppGraph: () => import_chunk_YGAY3H34.useAppGraph,
80
- useCapabilities: () => import_chunk_YGAY3H34.useCapabilities,
81
- useCapability: () => import_chunk_YGAY3H34.useCapability,
82
- useIntentDispatcher: () => import_chunk_YGAY3H34.useIntentDispatcher,
83
- useIntentResolver: () => import_chunk_YGAY3H34.useIntentResolver,
84
- useLayout: () => import_chunk_YGAY3H34.useLayout,
85
- usePluginManager: () => import_chunk_YGAY3H34.usePluginManager,
86
- useSurfaces: () => import_chunk_YGAY3H34.useSurfaces
87
- });
88
- module.exports = __toCommonJS(node_exports);
89
- var import_chunk_YGAY3H34 = require("./chunk-YGAY3H34.cjs");
90
- var import_chunk_G774ASXO = require("./chunk-G774ASXO.cjs");
91
- var import_chunk_VSOSVDQ3 = require("./chunk-VSOSVDQ3.cjs");
92
- var translations_default = [
93
- {
94
- "en-US": {
95
- [import_chunk_G774ASXO.SETTINGS_PLUGIN]: {
96
- "open settings label": "Open settings",
97
- "app settings label": "Settings",
98
- "custom plugins label": "Plugins"
99
- }
100
- }
101
- }
102
- ];
103
- var SettingsPlugin = () => (0, import_chunk_VSOSVDQ3.definePlugin)({
104
- id: import_chunk_G774ASXO.SETTINGS_PLUGIN,
105
- name: "Settings"
106
- }, [
107
- (0, import_chunk_VSOSVDQ3.defineModule)({
108
- id: `${import_chunk_G774ASXO.SETTINGS_PLUGIN}/module/store`,
109
- activatesOn: import_chunk_VSOSVDQ3.Events.Startup,
110
- activatesBefore: [
111
- import_chunk_VSOSVDQ3.Events.SetupSettings
112
- ],
113
- activatesAfter: [
114
- import_chunk_VSOSVDQ3.Events.SettingsReady
115
- ],
116
- activate: (0, import_chunk_VSOSVDQ3.lazy)(() => import("./store-ESF5VR57.cjs"))
117
- }),
118
- (0, import_chunk_VSOSVDQ3.defineModule)({
119
- id: `${import_chunk_G774ASXO.SETTINGS_PLUGIN}/module/translations`,
120
- activatesOn: import_chunk_VSOSVDQ3.Events.SetupTranslations,
121
- activate: () => (0, import_chunk_VSOSVDQ3.contributes)(import_chunk_VSOSVDQ3.Capabilities.Translations, translations_default)
122
- }),
123
- (0, import_chunk_VSOSVDQ3.defineModule)({
124
- id: `${import_chunk_G774ASXO.SETTINGS_PLUGIN}/module/intent-resolver`,
125
- activatesOn: import_chunk_VSOSVDQ3.Events.SetupIntentResolver,
126
- activate: (0, import_chunk_VSOSVDQ3.lazy)(() => import("./intent-resolver-IOJDYO34.cjs"))
127
- }),
128
- (0, import_chunk_VSOSVDQ3.defineModule)({
129
- id: `${import_chunk_G774ASXO.SETTINGS_PLUGIN}/module/app-graph-builder`,
130
- activatesOn: import_chunk_VSOSVDQ3.Events.SetupAppGraph,
131
- activate: (0, import_chunk_VSOSVDQ3.lazy)(() => import("./app-graph-builder-H7QVE4MJ.cjs"))
132
- })
133
- ]);
134
- // Annotate the CommonJS export names for ESM import in node:
135
- 0 && (module.exports = {
136
- Capabilities,
137
- CollaborationActions,
138
- ErrorBoundary,
139
- Events,
140
- FileInfoSchema,
141
- INTENT_ACTION,
142
- INTENT_PLUGIN,
143
- IntentAction,
144
- IntentPlugin,
145
- LAYOUT_ACTION,
146
- LAYOUT_PLUGIN,
147
- Label,
148
- LayoutAction,
149
- Plugin,
150
- PluginContext,
151
- PluginManager,
152
- PluginManagerProvider,
153
- PluginModule,
154
- Resource,
155
- ResourceKey,
156
- ResourceLanguage,
157
- SETTINGS_ACTION,
158
- SETTINGS_ID,
159
- SETTINGS_KEY,
160
- SETTINGS_PLUGIN,
161
- SettingsAction,
162
- SettingsPlugin,
163
- Surface,
164
- allOf,
165
- chain,
166
- contributes,
167
- createDispatcher,
168
- createIntent,
169
- createResolver,
170
- createSurface,
171
- defaultFileTypes,
172
- defineCapability,
173
- defineEvent,
174
- defineModule,
175
- definePlugin,
176
- eventKey,
177
- getEvents,
178
- isAllOf,
179
- isOneOf,
180
- isSurfaceAvailable,
181
- lazy,
182
- oneOf,
183
- useApp,
184
- useAppGraph,
185
- useCapabilities,
186
- useCapability,
187
- useIntentDispatcher,
188
- useIntentResolver,
189
- useLayout,
190
- usePluginManager,
191
- useSurfaces
192
- });
193
- //# sourceMappingURL=index.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/plugin-settings/translations.ts", "../../../src/plugin-settings/SettingsPlugin.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { SETTINGS_PLUGIN } from './actions';\n\nexport default [\n {\n 'en-US': {\n [SETTINGS_PLUGIN]: {\n 'open settings label': 'Open settings',\n 'app settings label': 'Settings',\n 'custom plugins label': 'Plugins',\n },\n },\n },\n];\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { SETTINGS_PLUGIN } from './actions';\nimport translations from './translations';\nimport { Capabilities, Events } from '../common';\nimport { contributes, defineModule, definePlugin, lazy } from '../core';\n\n// TODO(wittjosiah): Add options to exclude some modules.\nexport const SettingsPlugin = () =>\n definePlugin({ id: SETTINGS_PLUGIN, name: 'Settings' }, [\n defineModule({\n id: `${SETTINGS_PLUGIN}/module/store`,\n activatesOn: Events.Startup,\n activatesBefore: [Events.SetupSettings],\n activatesAfter: [Events.SettingsReady],\n activate: lazy(() => import('./store')),\n }),\n defineModule({\n id: `${SETTINGS_PLUGIN}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${SETTINGS_PLUGIN}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: lazy(() => import('./intent-resolver')),\n }),\n defineModule({\n id: `${SETTINGS_PLUGIN}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: lazy(() => import('./app-graph-builder')),\n }),\n ]);\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAA,uBAAe;EACb;IACE,SAAS;MACP,CAACA,qCAAAA,GAAkB;QACjB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;MAC1B;IACF;EACF;;ACLK,IAAMC,iBAAiB,UAC5BC,oCAAa;EAAEC,IAAIH;EAAiBI,MAAM;AAAW,GAAG;MACtDC,oCAAa;IACXF,IAAI,GAAGH,qCAAAA;IACPM,aAAaC,6BAAOC;IACpBC,iBAAiB;MAACF,6BAAOG;;IACzBC,gBAAgB;MAACJ,6BAAOK;;IACxBC,cAAUC,4BAAK,MAAM,OAAO,sBAAA,CAAA;EAC9B,CAAA;MACAT,oCAAa;IACXF,IAAI,GAAGH,qCAAAA;IACPM,aAAaC,6BAAOQ;IACpBF,UAAU,UAAMG,mCAAYC,mCAAaC,cAAcC,oBAAAA;EACzD,CAAA;MACAd,oCAAa;IACXF,IAAI,GAAGH,qCAAAA;IACPM,aAAaC,6BAAOa;IACpBP,cAAUC,4BAAK,MAAM,OAAO,gCAAA,CAAA;EAC9B,CAAA;MACAT,oCAAa;IACXF,IAAI,GAAGH,qCAAAA;IACPM,aAAaC,6BAAOc;IACpBR,cAAUC,4BAAK,MAAM,OAAO,kCAAA,CAAA;EAC9B,CAAA;CACD;",
6
- "names": ["SETTINGS_PLUGIN", "SettingsPlugin", "definePlugin", "id", "name", "defineModule", "activatesOn", "Events", "Startup", "activatesBefore", "SetupSettings", "activatesAfter", "SettingsReady", "activate", "lazy", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "SetupIntentResolver", "SetupAppGraph"]
7
- }
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var intent_dispatcher_C3SVKJ62_exports = {};
20
- __export(intent_dispatcher_C3SVKJ62_exports, {
21
- createDispatcher: () => import_chunk_VSOSVDQ3.createDispatcher,
22
- createResolver: () => import_chunk_VSOSVDQ3.createResolver,
23
- default: () => import_chunk_VSOSVDQ3.intent_dispatcher_default
24
- });
25
- module.exports = __toCommonJS(intent_dispatcher_C3SVKJ62_exports);
26
- var import_chunk_VSOSVDQ3 = require("./chunk-VSOSVDQ3.cjs");
27
- // Annotate the CommonJS export names for ESM import in node:
28
- 0 && (module.exports = {
29
- createDispatcher,
30
- createResolver
31
- });
32
- //# sourceMappingURL=intent-dispatcher-C3SVKJ62.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["intent-dispatcher-C3SVKJ62.cjs"],
4
- "sourcesContent": ["import {\n createDispatcher,\n createResolver,\n intent_dispatcher_default\n} from \"./chunk-VSOSVDQ3.cjs\";\nexport {\n createDispatcher,\n createResolver,\n intent_dispatcher_default as default\n};\n//# sourceMappingURL=intent-dispatcher-C3SVKJ62.cjs.map\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAIO;",
6
- "names": []
7
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var intent_resolver_IOJDYO34_exports = {};
20
- __export(intent_resolver_IOJDYO34_exports, {
21
- default: () => intent_resolver_default
22
- });
23
- module.exports = __toCommonJS(intent_resolver_IOJDYO34_exports);
24
- var import_chunk_G774ASXO = require("./chunk-G774ASXO.cjs");
25
- var import_chunk_VSOSVDQ3 = require("./chunk-VSOSVDQ3.cjs");
26
- var import_effect = require("effect");
27
- var intent_resolver_default = () => (0, import_chunk_VSOSVDQ3.contributes)(import_chunk_VSOSVDQ3.Capabilities.IntentResolver, (0, import_chunk_VSOSVDQ3.createResolver)({
28
- intent: import_chunk_G774ASXO.SettingsAction.Open,
29
- resolve: ({ plugin }) => {
30
- const openSettings = (0, import_chunk_VSOSVDQ3.createIntent)(import_chunk_VSOSVDQ3.LayoutAction.SwitchWorkspace, {
31
- part: "workspace",
32
- subject: import_chunk_G774ASXO.SETTINGS_ID
33
- });
34
- return {
35
- intents: [
36
- plugin ? (0, import_effect.pipe)(openSettings, (0, import_chunk_VSOSVDQ3.chain)(import_chunk_VSOSVDQ3.LayoutAction.Open, {
37
- part: "main",
38
- subject: [
39
- `${import_chunk_G774ASXO.SETTINGS_KEY}:${plugin.replaceAll("/", ":")}`
40
- ]
41
- })) : openSettings
42
- ]
43
- };
44
- }
45
- }));
46
- //# sourceMappingURL=intent-resolver-IOJDYO34.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/plugin-settings/intent-resolver.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { pipe } from 'effect';\n\nimport { SETTINGS_ID, SETTINGS_KEY, SettingsAction } from './actions';\nimport { Capabilities, LayoutAction } from '../common';\nimport { contributes } from '../core';\nimport { createResolver, createIntent, chain } from '../plugin-intent';\n\nexport default () =>\n contributes(\n Capabilities.IntentResolver,\n createResolver({\n intent: SettingsAction.Open,\n resolve: ({ plugin }) => {\n const openSettings = createIntent(LayoutAction.SwitchWorkspace, { part: 'workspace', subject: SETTINGS_ID });\n return {\n intents: [\n plugin\n ? pipe(\n openSettings,\n chain(LayoutAction.Open, {\n part: 'main',\n subject: [`${SETTINGS_KEY}:${plugin.replaceAll('/', ':')}`],\n }),\n )\n : openSettings,\n ],\n };\n },\n }),\n );\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oBAAqB;AAOrB,IAAA,0BAAe,UACbA,mCACEC,mCAAaC,oBACbC,sCAAe;EACbC,QAAQC,qCAAeC;EACvBC,SAAS,CAAC,EAAEC,OAAM,MAAE;AAClB,UAAMC,mBAAeC,oCAAaC,mCAAaC,iBAAiB;MAAEC,MAAM;MAAaC,SAASC;IAAY,CAAA;AAC1G,WAAO;MACLC,SAAS;QACPR,aACIS,oBACER,kBACAS,6BAAMP,mCAAaL,MAAM;UACvBO,MAAM;UACNC,SAAS;YAAC,GAAGK,kCAAAA,IAAgBX,OAAOY,WAAW,KAAK,GAAA,CAAA;;QACtD,CAAA,CAAA,IAEFX;;IAER;EACF;AACF,CAAA,CAAA;",
6
- "names": ["contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "SettingsAction", "Open", "resolve", "plugin", "openSettings", "createIntent", "LayoutAction", "SwitchWorkspace", "part", "subject", "SETTINGS_ID", "intents", "pipe", "chain", "SETTINGS_KEY", "replaceAll"]
7
- }
@@ -1 +0,0 @@
1
- {"inputs":{"packages/sdk/app-framework/src/core/capabilities.ts":{"bytes":23780,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/core/events.ts":{"bytes":5371,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/core/manager.ts":{"bytes":55041,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/core/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/sdk/app-framework/src/core/events.ts","kind":"import-statement","original":"./events"}],"format":"esm"},"packages/sdk/app-framework/src/core/plugin.ts":{"bytes":7296,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/core/index.ts":{"bytes":738,"imports":[{"path":"packages/sdk/app-framework/src/core/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/sdk/app-framework/src/core/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/sdk/app-framework/src/core/manager.ts","kind":"import-statement","original":"./manager"},{"path":"packages/sdk/app-framework/src/core/plugin.ts","kind":"import-statement","original":"./plugin"}],"format":"esm"},"packages/sdk/app-framework/src/common/capabilities.ts":{"bytes":10186,"imports":[{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/common/collaboration.ts":{"bytes":2669,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/common/events.ts":{"bytes":5592,"imports":[{"path":"packages/sdk/app-framework/src/common/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/common/file.ts":{"bytes":2508,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/common/graph.ts":{"bytes":1402,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/intent.ts":{"bytes":10041,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/actions.ts":{"bytes":3342,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/errors.ts":{"bytes":3766,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts":{"bytes":30777,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/plugin-intent/errors.ts","kind":"import-statement","original":"./errors"},{"path":"packages/sdk/app-framework/src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/IntentPlugin.ts":{"bytes":3004,"imports":[{"path":"packages/sdk/app-framework/src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts","kind":"dynamic-import","original":"./intent-dispatcher"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/index.ts":{"bytes":774,"imports":[{"path":"packages/sdk/app-framework/src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"},{"path":"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts","kind":"import-statement","original":"./intent-dispatcher"},{"path":"packages/sdk/app-framework/src/plugin-intent/IntentPlugin.ts","kind":"import-statement","original":"./IntentPlugin"}],"format":"esm"},"packages/sdk/app-framework/src/common/layout.ts":{"bytes":42709,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"packages/sdk/app-framework/src/common/surface.ts":{"bytes":4127,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/common/translations.ts":{"bytes":2224,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/common/index.ts":{"bytes":1102,"imports":[{"path":"packages/sdk/app-framework/src/common/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/sdk/app-framework/src/common/collaboration.ts","kind":"import-statement","original":"./collaboration"},{"path":"packages/sdk/app-framework/src/common/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/sdk/app-framework/src/common/file.ts","kind":"import-statement","original":"./file"},{"path":"packages/sdk/app-framework/src/common/graph.ts","kind":"import-statement","original":"./graph"},{"path":"packages/sdk/app-framework/src/common/layout.ts","kind":"import-statement","original":"./layout"},{"path":"packages/sdk/app-framework/src/common/surface.ts","kind":"import-statement","original":"./surface"},{"path":"packages/sdk/app-framework/src/common/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/sdk/app-framework/src/helpers.ts":{"bytes":4998,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/react/PluginManagerProvider.ts":{"bytes":2030,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/react/useCapabilities.ts":{"bytes":3277,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/react/PluginManagerProvider.ts","kind":"import-statement","original":"./PluginManagerProvider"}],"format":"esm"},"packages/sdk/app-framework/src/react/common.ts":{"bytes":1573,"imports":[{"path":"packages/sdk/app-framework/src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"}],"format":"esm"},"packages/sdk/app-framework/src/react/ErrorBoundary.tsx":{"bytes":4383,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/react/Surface.tsx":{"bytes":10707,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/react/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/app-framework/src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"}],"format":"esm"},"packages/sdk/app-framework/src/react/useIntentResolver.ts":{"bytes":2478,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/react/index.ts","kind":"import-statement","original":"../react"}],"format":"esm"},"packages/sdk/app-framework/src/react/index.ts":{"bytes":995,"imports":[{"path":"packages/sdk/app-framework/src/react/common.ts","kind":"import-statement","original":"./common"},{"path":"packages/sdk/app-framework/src/react/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/app-framework/src/react/PluginManagerProvider.ts","kind":"import-statement","original":"./PluginManagerProvider"},{"path":"packages/sdk/app-framework/src/react/Surface.tsx","kind":"import-statement","original":"./Surface"},{"path":"packages/sdk/app-framework/src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"packages/sdk/app-framework/src/react/useIntentResolver.ts","kind":"import-statement","original":"./useIntentResolver"}],"format":"esm"},"packages/sdk/app-framework/src/App.tsx":{"bytes":29279,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"packages/sdk/app-framework/src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"packages/sdk/app-framework/src/react/index.ts","kind":"import-statement","original":"./react"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/actions.ts":{"bytes":3527,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/translations.ts":{"bytes":1306,"imports":[{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/store.ts":{"bytes":4069,"imports":[{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/intent-resolver.ts":{"bytes":3786,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/app-graph-builder.ts":{"bytes":20640,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/SettingsPlugin.ts":{"bytes":4856,"imports":[{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/plugin-settings/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"packages/sdk/app-framework/src/plugin-settings/store.ts","kind":"dynamic-import","original":"./store"},{"path":"packages/sdk/app-framework/src/plugin-settings/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/sdk/app-framework/src/plugin-settings/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/index.ts":{"bytes":587,"imports":[{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/plugin-settings/SettingsPlugin.ts","kind":"import-statement","original":"./SettingsPlugin"}],"format":"esm"},"packages/sdk/app-framework/src/index.ts":{"bytes":908,"imports":[{"path":"packages/sdk/app-framework/src/App.tsx","kind":"import-statement","original":"./App"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"./plugin-intent"},{"path":"packages/sdk/app-framework/src/plugin-settings/index.ts","kind":"import-statement","original":"./plugin-settings"},{"path":"packages/sdk/app-framework/src/react/index.ts","kind":"import-statement","original":"./react"}],"format":"esm"},"packages/sdk/app-framework/src/testing/withPluginManager.tsx":{"bytes":11155,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/App.tsx","kind":"import-statement","original":"../App"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/testing/index.ts":{"bytes":499,"imports":[{"path":"packages/sdk/app-framework/src/testing/withPluginManager.tsx","kind":"import-statement","original":"./withPluginManager"}],"format":"esm"},"packages/sdk/app-framework/src/worker.ts":{"bytes":1247,"imports":[{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"./plugin-intent"}],"format":"esm"}},"outputs":{"packages/sdk/app-framework/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2832},"packages/sdk/app-framework/dist/lib/node/index.cjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node/chunk-YGAY3H34.cjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node/chunk-G774ASXO.cjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node/store-ESF5VR57.cjs","kind":"dynamic-import"},{"path":"packages/sdk/app-framework/dist/lib/node/intent-resolver-IOJDYO34.cjs","kind":"dynamic-import"},{"path":"packages/sdk/app-framework/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs","kind":"dynamic-import"}],"exports":["Capabilities","CollaborationActions","ErrorBoundary","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginManagerProvider","PluginModule","Resource","ResourceKey","ResourceLanguage","SETTINGS_ACTION","SETTINGS_ID","SETTINGS_KEY","SETTINGS_PLUGIN","SettingsAction","SettingsPlugin","Surface","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","isAllOf","isOneOf","isSurfaceAvailable","lazy","oneOf","useApp","useAppGraph","useCapabilities","useCapability","useIntentDispatcher","useIntentResolver","useLayout","usePluginManager","useSurfaces"],"entryPoint":"packages/sdk/app-framework/src/index.ts","inputs":{"packages/sdk/app-framework/src/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/plugin-settings/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/plugin-settings/translations.ts":{"bytesInOutput":228},"packages/sdk/app-framework/src/plugin-settings/SettingsPlugin.ts":{"bytesInOutput":932}},"bytes":3217},"packages/sdk/app-framework/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5761},"packages/sdk/app-framework/dist/lib/node/testing/index.cjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node/chunk-YGAY3H34.cjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"exports":["getValue","setupPluginManager","withPluginManager"],"entryPoint":"packages/sdk/app-framework/src/testing/index.ts","inputs":{"packages/sdk/app-framework/src/testing/withPluginManager.tsx":{"bytesInOutput":2198},"packages/sdk/app-framework/src/testing/index.ts":{"bytesInOutput":0}},"bytes":2544},"packages/sdk/app-framework/dist/lib/node/chunk-YGAY3H34.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":29006},"packages/sdk/app-framework/dist/lib/node/chunk-YGAY3H34.cjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@dxos/invariant","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":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"exports":["ErrorBoundary","PluginManagerProvider","Surface","isSurfaceAvailable","useApp","useAppGraph","useCapabilities","useCapability","useIntentDispatcher","useIntentResolver","useLayout","usePluginManager","useSurfaces"],"inputs":{"packages/sdk/app-framework/src/react/PluginManagerProvider.ts":{"bytesInOutput":312},"packages/sdk/app-framework/src/react/useCapabilities.ts":{"bytesInOutput":727},"packages/sdk/app-framework/src/react/common.ts":{"bytesInOutput":198},"packages/sdk/app-framework/src/react/ErrorBoundary.tsx":{"bytesInOutput":705},"packages/sdk/app-framework/src/react/Surface.tsx":{"bytesInOutput":2020},"packages/sdk/app-framework/src/react/useIntentResolver.ts":{"bytesInOutput":414},"packages/sdk/app-framework/src/react/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/App.tsx":{"bytesInOutput":6358},"packages/sdk/app-framework/src/helpers.ts":{"bytesInOutput":1049}},"bytes":12632},"packages/sdk/app-framework/dist/lib/node/worker.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/sdk/app-framework/dist/lib/node/worker.cjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs","kind":"import-statement"}],"exports":["Capabilities","CollaborationActions","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginModule","Resource","ResourceKey","ResourceLanguage","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","isAllOf","isOneOf","lazy","oneOf"],"entryPoint":"packages/sdk/app-framework/src/worker.ts","inputs":{"packages/sdk/app-framework/src/worker.ts":{"bytesInOutput":0}},"bytes":1196},"packages/sdk/app-framework/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/sdk/app-framework/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs","kind":"import-statement"}],"exports":["createDispatcher","createResolver","default"],"entryPoint":"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts","inputs":{},"bytes":251},"packages/sdk/app-framework/dist/lib/node/store-ESF5VR57.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2187},"packages/sdk/app-framework/dist/lib/node/store-ESF5VR57.cjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs","kind":"import-statement"},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/sdk/app-framework/src/plugin-settings/store.ts","inputs":{"packages/sdk/app-framework/src/plugin-settings/store.ts":{"bytesInOutput":811}},"bytes":1024},"packages/sdk/app-framework/dist/lib/node/intent-resolver-IOJDYO34.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1819},"packages/sdk/app-framework/dist/lib/node/intent-resolver-IOJDYO34.cjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node/chunk-G774ASXO.cjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/sdk/app-framework/src/plugin-settings/intent-resolver.ts","inputs":{"packages/sdk/app-framework/src/plugin-settings/intent-resolver.ts":{"bytesInOutput":577}},"bytes":967},"packages/sdk/app-framework/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9867},"packages/sdk/app-framework/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node/chunk-G774ASXO.cjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/sdk/app-framework/src/plugin-settings/app-graph-builder.ts","inputs":{"packages/sdk/app-framework/src/plugin-settings/app-graph-builder.ts":{"bytesInOutput":4285}},"bytes":4657},"packages/sdk/app-framework/dist/lib/node/chunk-G774ASXO.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1718},"packages/sdk/app-framework/dist/lib/node/chunk-G774ASXO.cjs":{"imports":[{"path":"effect","kind":"import-statement","external":true}],"exports":["SETTINGS_ACTION","SETTINGS_ID","SETTINGS_KEY","SETTINGS_PLUGIN","SettingsAction"],"inputs":{"packages/sdk/app-framework/src/plugin-settings/actions.ts":{"bytesInOutput":731}},"bytes":935},"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":108000},"packages/sdk/app-framework/dist/lib/node/chunk-VSOSVDQ3.cjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs","kind":"dynamic-import"},{"path":"effect","kind":"import-statement","external":true}],"exports":["Capabilities","CollaborationActions","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginModule","Resource","ResourceKey","ResourceLanguage","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","intent_dispatcher_default","isAllOf","isOneOf","lazy","oneOf"],"inputs":{"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts":{"bytesInOutput":5264},"packages/sdk/app-framework/src/plugin-intent/actions.ts":{"bytesInOutput":699},"packages/sdk/app-framework/src/plugin-intent/intent.ts":{"bytesInOutput":888},"packages/sdk/app-framework/src/plugin-intent/errors.ts":{"bytesInOutput":654},"packages/sdk/app-framework/src/core/capabilities.ts":{"bytesInOutput":5180},"packages/sdk/app-framework/src/core/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/core/events.ts":{"bytesInOutput":512},"packages/sdk/app-framework/src/core/manager.ts":{"bytesInOutput":14928},"packages/sdk/app-framework/src/core/plugin.ts":{"bytesInOutput":516},"packages/sdk/app-framework/src/common/capabilities.ts":{"bytesInOutput":2044},"packages/sdk/app-framework/src/common/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/common/collaboration.ts":{"bytesInOutput":687},"packages/sdk/app-framework/src/common/events.ts":{"bytesInOutput":1232},"packages/sdk/app-framework/src/common/file.ts":{"bytesInOutput":408},"packages/sdk/app-framework/src/common/layout.ts":{"bytesInOutput":12360},"packages/sdk/app-framework/src/plugin-intent/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/plugin-intent/IntentPlugin.ts":{"bytesInOutput":620},"packages/sdk/app-framework/src/common/surface.ts":{"bytesInOutput":48},"packages/sdk/app-framework/src/common/translations.ts":{"bytesInOutput":331}},"bytes":48094}}}
@@ -1,45 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var store_ESF5VR57_exports = {};
20
- __export(store_ESF5VR57_exports, {
21
- default: () => store_default
22
- });
23
- module.exports = __toCommonJS(store_ESF5VR57_exports);
24
- var import_chunk_VSOSVDQ3 = require("./chunk-VSOSVDQ3.cjs");
25
- var import_local_storage = require("@dxos/local-storage");
26
- var store_default = (context) => {
27
- const settingsStore = new import_local_storage.RootSettingsStore();
28
- let previous = [];
29
- const registry = context.getCapability(import_chunk_VSOSVDQ3.Capabilities.RxRegistry);
30
- const cancel = registry.subscribe(context.capabilities(import_chunk_VSOSVDQ3.Capabilities.Settings), (allSettings) => {
31
- const added = allSettings.filter((setting) => !previous.includes(setting));
32
- const removed = previous.filter((setting) => !allSettings.includes(setting));
33
- previous = allSettings;
34
- added.forEach((setting) => {
35
- settingsStore.createStore(setting);
36
- });
37
- removed.forEach((setting) => {
38
- settingsStore.removeStore(setting.prefix);
39
- });
40
- }, {
41
- immediate: true
42
- });
43
- return (0, import_chunk_VSOSVDQ3.contributes)(import_chunk_VSOSVDQ3.Capabilities.SettingsStore, settingsStore, () => cancel());
44
- };
45
- //# sourceMappingURL=store-ESF5VR57.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/plugin-settings/store.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { RootSettingsStore } from '@dxos/local-storage';\n\nimport { Capabilities } from '../common';\nimport { contributes, type PluginContext } from '../core';\n\nexport default (context: PluginContext) => {\n // TODO(wittjosiah): Replace with rx?\n const settingsStore = new RootSettingsStore();\n\n let previous: Capabilities.Settings[] = [];\n const registry = context.getCapability(Capabilities.RxRegistry);\n const cancel = registry.subscribe(\n context.capabilities(Capabilities.Settings),\n (allSettings) => {\n const added = allSettings.filter((setting) => !previous.includes(setting));\n const removed = previous.filter((setting) => !allSettings.includes(setting));\n previous = allSettings;\n added.forEach((setting) => {\n settingsStore.createStore(setting as any);\n });\n removed.forEach((setting) => {\n settingsStore.removeStore(setting.prefix);\n });\n },\n { immediate: true },\n );\n\n return contributes(Capabilities.SettingsStore, settingsStore, () => cancel());\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAIA,2BAAkC;AAKlC,IAAA,gBAAe,CAACA,YAAAA;AAEd,QAAMC,gBAAgB,IAAIC,uCAAAA;AAE1B,MAAIC,WAAoC,CAAA;AACxC,QAAMC,WAAWJ,QAAQK,cAAcC,mCAAaC,UAAU;AAC9D,QAAMC,SAASJ,SAASK,UACtBT,QAAQU,aAAaJ,mCAAaK,QAAQ,GAC1C,CAACC,gBAAAA;AACC,UAAMC,QAAQD,YAAYE,OAAO,CAACC,YAAY,CAACZ,SAASa,SAASD,OAAAA,CAAAA;AACjE,UAAME,UAAUd,SAASW,OAAO,CAACC,YAAY,CAACH,YAAYI,SAASD,OAAAA,CAAAA;AACnEZ,eAAWS;AACXC,UAAMK,QAAQ,CAACH,YAAAA;AACbd,oBAAckB,YAAYJ,OAAAA;IAC5B,CAAA;AACAE,YAAQC,QAAQ,CAACH,YAAAA;AACfd,oBAAcmB,YAAYL,QAAQM,MAAM;IAC1C,CAAA;EACF,GACA;IAAEC,WAAW;EAAK,CAAA;AAGpB,aAAOC,mCAAYjB,mCAAakB,eAAevB,eAAe,MAAMO,OAAAA,CAAAA;AACtE;",
6
- "names": ["context", "settingsStore", "RootSettingsStore", "previous", "registry", "getCapability", "Capabilities", "RxRegistry", "cancel", "subscribe", "capabilities", "Settings", "allSettings", "added", "filter", "setting", "includes", "removed", "forEach", "createStore", "removeStore", "prefix", "immediate", "contributes", "SettingsStore"]
7
- }
@@ -1,119 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var testing_exports = {};
30
- __export(testing_exports, {
31
- getValue: () => getValue,
32
- setupPluginManager: () => setupPluginManager,
33
- withPluginManager: () => withPluginManager
34
- });
35
- module.exports = __toCommonJS(testing_exports);
36
- var import_chunk_YGAY3H34 = require("../chunk-YGAY3H34.cjs");
37
- var import_chunk_VSOSVDQ3 = require("../chunk-VSOSVDQ3.cjs");
38
- var import_react = __toESM(require("react"));
39
- var import_debug = require("@dxos/debug");
40
- var getValue = (providerOrValue, context) => {
41
- return typeof providerOrValue === "function" ? providerOrValue(context) : providerOrValue;
42
- };
43
- var setupPluginManager = ({ capabilities, plugins = [], core = plugins.map(({ meta }) => meta.id), ...options } = {}) => {
44
- const pluginManager = new import_chunk_VSOSVDQ3.PluginManager({
45
- pluginLoader: () => (0, import_debug.raise)(new Error("Not implemented")),
46
- plugins: [
47
- storyPlugin(),
48
- ...plugins
49
- ],
50
- core: [
51
- STORY_PLUGIN,
52
- ...core
53
- ],
54
- ...options
55
- });
56
- if (capabilities) {
57
- getValue(capabilities, pluginManager.context).forEach((capability) => {
58
- pluginManager.context.contributeCapability({
59
- interface: capability.interface,
60
- implementation: capability.implementation,
61
- module: "story"
62
- });
63
- });
64
- }
65
- return pluginManager;
66
- };
67
- var withPluginManager = (options = {}) => {
68
- return (Story, context) => {
69
- const pluginManager = (0, import_react.useMemo)(() => setupPluginManager(options), [
70
- options
71
- ]);
72
- (0, import_react.useEffect)(() => {
73
- const capability = (0, import_chunk_VSOSVDQ3.contributes)(import_chunk_VSOSVDQ3.Capabilities.ReactRoot, {
74
- id: context.id,
75
- root: () => /* @__PURE__ */ import_react.default.createElement(Story, null)
76
- });
77
- pluginManager.context.contributeCapability({
78
- ...capability,
79
- module: "dxos.org/app-framework/withPluginManager"
80
- });
81
- return () => {
82
- pluginManager.context.removeCapability(capability.interface, capability.implementation);
83
- };
84
- }, [
85
- pluginManager,
86
- context
87
- ]);
88
- (0, import_react.useEffect)(() => {
89
- const timeout = setTimeout(async () => {
90
- await Promise.all(options.fireEvents?.map((event) => pluginManager.activate(event)) ?? []);
91
- });
92
- return () => clearTimeout(timeout);
93
- }, [
94
- pluginManager
95
- ]);
96
- const App = (0, import_chunk_YGAY3H34.useApp)({
97
- pluginManager
98
- });
99
- return /* @__PURE__ */ import_react.default.createElement(App, null);
100
- };
101
- };
102
- var STORY_PLUGIN = "dxos.org/app-framework/story";
103
- var storyPlugin = () => (0, import_chunk_VSOSVDQ3.definePlugin)({
104
- id: STORY_PLUGIN,
105
- name: "Story"
106
- }, [
107
- (0, import_chunk_VSOSVDQ3.defineModule)({
108
- id: STORY_PLUGIN,
109
- activatesOn: import_chunk_VSOSVDQ3.Events.Startup,
110
- activate: () => []
111
- })
112
- ]);
113
- // Annotate the CommonJS export names for ESM import in node:
114
- 0 && (module.exports = {
115
- getValue,
116
- setupPluginManager,
117
- withPluginManager
118
- });
119
- //# sourceMappingURL=index.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/testing/withPluginManager.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Decorator } from '@storybook/react';\nimport React, { useEffect, useMemo } from 'react';\n\nimport { raise } from '@dxos/debug';\n\nimport { useApp, type CreateAppOptions } from '../App';\nimport { Capabilities, Events } from '../common';\nimport {\n contributes,\n defineModule,\n definePlugin,\n type ActivationEvent,\n type AnyCapability,\n PluginManager,\n type PluginContext,\n} from '../core';\n\n// TODO(burdon): Factor out (use consistently in plugin framework?)\nexport type Provider<C, R> = (context: C) => R;\nexport type ProviderOrValue<C, R> = Provider<C, R> | R;\nexport const getValue = <C, R>(providerOrValue: ProviderOrValue<C, R>, context: C): R => {\n return typeof providerOrValue === 'function' ? (providerOrValue as Provider<C, R>)(context) : providerOrValue;\n};\n\n/**\n * @internal\n */\nexport const setupPluginManager = ({\n capabilities,\n plugins = [],\n core = plugins.map(({ meta }) => meta.id),\n ...options\n}: CreateAppOptions & Pick<WithPluginManagerOptions, 'capabilities'> = {}) => {\n const pluginManager = new PluginManager({\n pluginLoader: () => raise(new Error('Not implemented')),\n plugins: [storyPlugin(), ...plugins],\n core: [STORY_PLUGIN, ...core],\n ...options,\n });\n\n if (capabilities) {\n getValue(capabilities, pluginManager.context).forEach((capability) => {\n pluginManager.context.contributeCapability({\n interface: capability.interface,\n implementation: capability.implementation,\n module: 'story',\n });\n });\n }\n\n return pluginManager;\n};\n\nexport type WithPluginManagerOptions = CreateAppOptions & {\n capabilities?: ProviderOrValue<PluginContext, AnyCapability[]>;\n fireEvents?: (ActivationEvent | string)[];\n};\n\n/**\n * Wraps a story with a plugin manager.\n * NOTE: This builds up and tears down the plugin manager on every render.\n */\nexport const withPluginManager = (options: WithPluginManagerOptions = {}): Decorator => {\n return (Story, context) => {\n const pluginManager = useMemo(() => setupPluginManager(options), [options]);\n\n // Set-up root capability.\n useEffect(() => {\n const capability = contributes(Capabilities.ReactRoot, {\n id: context.id,\n root: () => <Story />,\n });\n\n pluginManager.context.contributeCapability({\n ...capability,\n module: 'dxos.org/app-framework/withPluginManager',\n });\n\n return () => {\n pluginManager.context.removeCapability(capability.interface, capability.implementation);\n };\n }, [pluginManager, context]);\n\n // Fire events.\n useEffect(() => {\n const timeout = setTimeout(async () => {\n await Promise.all(options.fireEvents?.map((event) => pluginManager.activate(event)) ?? []);\n });\n\n return () => clearTimeout(timeout);\n }, [pluginManager]);\n\n // Create app.\n const App = useApp({ pluginManager });\n\n return <App />;\n };\n};\n\n// No-op plugin to ensure there exists at least one plugin for the startup event.\n// This is necessary because `createApp` expects the startup event to complete before the app is ready.\nconst STORY_PLUGIN = 'dxos.org/app-framework/story';\nconst storyPlugin = () =>\n definePlugin({ id: STORY_PLUGIN, name: 'Story' }, [\n defineModule({ id: STORY_PLUGIN, activatesOn: Events.Startup, activate: () => [] }),\n ]);\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,mBAA0C;AAE1C,mBAAsB;AAiBf,IAAMA,WAAW,CAAOC,iBAAwCC,YAAAA;AACrE,SAAO,OAAOD,oBAAoB,aAAcA,gBAAmCC,OAAAA,IAAWD;AAChG;AAKO,IAAME,qBAAqB,CAAC,EACjCC,cACAC,UAAU,CAAA,GACVC,OAAOD,QAAQE,IAAI,CAAC,EAAEC,KAAI,MAAOA,KAAKC,EAAE,GACxC,GAAGC,QAAAA,IACkE,CAAC,MAAC;AACvE,QAAMC,gBAAgB,IAAIC,oCAAc;IACtCC,cAAc,UAAMC,oBAAM,IAAIC,MAAM,iBAAA,CAAA;IACpCV,SAAS;MAACW,YAAAA;SAAkBX;;IAC5BC,MAAM;MAACW;SAAiBX;;IACxB,GAAGI;EACL,CAAA;AAEA,MAAIN,cAAc;AAChBJ,aAASI,cAAcO,cAAcT,OAAO,EAAEgB,QAAQ,CAACC,eAAAA;AACrDR,oBAAcT,QAAQkB,qBAAqB;QACzCC,WAAWF,WAAWE;QACtBC,gBAAgBH,WAAWG;QAC3BC,QAAQ;MACV,CAAA;IACF,CAAA;EACF;AAEA,SAAOZ;AACT;AAWO,IAAMa,oBAAoB,CAACd,UAAoC,CAAC,MAAC;AACtE,SAAO,CAACe,OAAOvB,YAAAA;AACb,UAAMS,oBAAgBe,sBAAQ,MAAMvB,mBAAmBO,OAAAA,GAAU;MAACA;KAAQ;AAG1EiB,gCAAU,MAAA;AACR,YAAMR,iBAAaS,mCAAYC,mCAAaC,WAAW;QACrDrB,IAAIP,QAAQO;QACZsB,MAAM,MAAM,6BAAAC,QAAA,cAACP,OAAAA,IAAAA;MACf,CAAA;AAEAd,oBAAcT,QAAQkB,qBAAqB;QACzC,GAAGD;QACHI,QAAQ;MACV,CAAA;AAEA,aAAO,MAAA;AACLZ,sBAAcT,QAAQ+B,iBAAiBd,WAAWE,WAAWF,WAAWG,cAAc;MACxF;IACF,GAAG;MAACX;MAAeT;KAAQ;AAG3ByB,gCAAU,MAAA;AACR,YAAMO,UAAUC,WAAW,YAAA;AACzB,cAAMC,QAAQC,IAAI3B,QAAQ4B,YAAY/B,IAAI,CAACgC,UAAU5B,cAAc6B,SAASD,KAAAA,CAAAA,KAAW,CAAA,CAAE;MAC3F,CAAA;AAEA,aAAO,MAAME,aAAaP,OAAAA;IAC5B,GAAG;MAACvB;KAAc;AAGlB,UAAM+B,UAAMC,8BAAO;MAAEhC;IAAc,CAAA;AAEnC,WAAO,6BAAAqB,QAAA,cAACU,KAAAA,IAAAA;EACV;AACF;AAIA,IAAMzB,eAAe;AACrB,IAAMD,cAAc,UAClB4B,oCAAa;EAAEnC,IAAIQ;EAAc4B,MAAM;AAAQ,GAAG;MAChDC,oCAAa;IAAErC,IAAIQ;IAAc8B,aAAaC,6BAAOC;IAAST,UAAU,MAAM,CAAA;EAAG,CAAA;CAClF;",
6
- "names": ["getValue", "providerOrValue", "context", "setupPluginManager", "capabilities", "plugins", "core", "map", "meta", "id", "options", "pluginManager", "PluginManager", "pluginLoader", "raise", "Error", "storyPlugin", "STORY_PLUGIN", "forEach", "capability", "contributeCapability", "interface", "implementation", "module", "withPluginManager", "Story", "useMemo", "useEffect", "contributes", "Capabilities", "ReactRoot", "root", "React", "removeCapability", "timeout", "setTimeout", "Promise", "all", "fireEvents", "event", "activate", "clearTimeout", "App", "useApp", "definePlugin", "name", "defineModule", "activatesOn", "Events", "Startup"]
7
- }