@dxos/plugin-deck 0.8.4-main.67995b8 → 0.8.4-main.a4bbb77

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 (130) hide show
  1. package/dist/lib/browser/{app-graph-builder-JTFSDT2I.mjs → app-graph-builder-7SR53CCK.mjs} +14 -14
  2. package/dist/lib/browser/app-graph-builder-7SR53CCK.mjs.map +7 -0
  3. package/dist/lib/browser/{check-app-scheme-57U62A3A.mjs → check-app-scheme-GCOL6YDT.mjs} +6 -6
  4. package/dist/lib/browser/check-app-scheme-GCOL6YDT.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-QDZO4AJ4.mjs → chunk-7CL25AYA.mjs} +15 -15
  6. package/dist/lib/browser/chunk-7CL25AYA.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-HUWUYTOI.mjs +16 -0
  8. package/dist/lib/browser/chunk-HUWUYTOI.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-MHP4GPX5.mjs +11 -0
  10. package/dist/lib/browser/chunk-MHP4GPX5.mjs.map +7 -0
  11. package/dist/lib/browser/{chunk-D7KTFCUV.mjs → chunk-QHJ7N7BF.mjs} +217 -213
  12. package/dist/lib/browser/chunk-QHJ7N7BF.mjs.map +7 -0
  13. package/dist/lib/browser/{chunk-F5BQOOEG.mjs → chunk-VSJ7FFQS.mjs} +4 -4
  14. package/dist/lib/browser/chunk-VSJ7FFQS.mjs.map +7 -0
  15. package/dist/lib/browser/{chunk-JFTXENFN.mjs → chunk-WOCUNO27.mjs} +9 -9
  16. package/dist/lib/browser/chunk-WOCUNO27.mjs.map +7 -0
  17. package/dist/lib/browser/index.mjs +19 -14
  18. package/dist/lib/browser/index.mjs.map +3 -3
  19. package/dist/lib/browser/{intent-resolver-P2OBK5HK.mjs → intent-resolver-Y5YOA4NR.mjs} +16 -16
  20. package/dist/lib/browser/intent-resolver-Y5YOA4NR.mjs.map +7 -0
  21. package/dist/lib/browser/meta.json +1 -1
  22. package/dist/lib/browser/{react-root-PO64J7ML.mjs → react-root-A537NMT6.mjs} +11 -11
  23. package/dist/lib/browser/react-root-A537NMT6.mjs.map +7 -0
  24. package/dist/lib/browser/{react-surface-E45YOVF5.mjs → react-surface-DAS4HS3Y.mjs} +13 -13
  25. package/dist/lib/browser/react-surface-DAS4HS3Y.mjs.map +7 -0
  26. package/dist/lib/browser/{settings-6AJZPZPM.mjs → settings-3642GPOR.mjs} +5 -5
  27. package/dist/lib/browser/{settings-6AJZPZPM.mjs.map → settings-3642GPOR.mjs.map} +2 -2
  28. package/dist/lib/browser/state-MKKK3WGD.mjs +12 -0
  29. package/dist/lib/browser/toolkit-UPUBQIYU.mjs +61 -0
  30. package/dist/lib/browser/toolkit-UPUBQIYU.mjs.map +7 -0
  31. package/dist/lib/browser/types/index.mjs +2 -2
  32. package/dist/lib/browser/{url-handler-7L7M6IKH.mjs → url-handler-354LL74P.mjs} +7 -7
  33. package/dist/lib/browser/url-handler-354LL74P.mjs.map +7 -0
  34. package/dist/types/src/DeckPlugin.d.ts +1 -1
  35. package/dist/types/src/DeckPlugin.d.ts.map +1 -1
  36. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
  37. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  38. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  39. package/dist/types/src/capabilities/check-app-scheme.d.ts +1 -1
  40. package/dist/types/src/capabilities/check-app-scheme.d.ts.map +1 -1
  41. package/dist/types/src/capabilities/index.d.ts +9 -9
  42. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  43. package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
  44. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  45. package/dist/types/src/capabilities/react-root.d.ts +2 -2
  46. package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
  47. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  48. package/dist/types/src/capabilities/settings.d.ts +1 -1
  49. package/dist/types/src/capabilities/state.d.ts +2 -2
  50. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  51. package/dist/types/src/capabilities/toolkit.d.ts +5 -0
  52. package/dist/types/src/capabilities/toolkit.d.ts.map +1 -0
  53. package/dist/types/src/capabilities/tools.d.ts +1 -1
  54. package/dist/types/src/capabilities/tools.d.ts.map +1 -1
  55. package/dist/types/src/capabilities/url-handler.d.ts +1 -1
  56. package/dist/types/src/capabilities/url-handler.d.ts.map +1 -1
  57. package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
  58. package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
  59. package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -1
  60. package/dist/types/src/components/Plank/Plank.d.ts +1 -1
  61. package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
  62. package/dist/types/src/components/Plank/Plank.stories.d.ts +85 -5
  63. package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
  64. package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -1
  65. package/dist/types/src/components/Plank/PlankHeading.d.ts +1 -1
  66. package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
  67. package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
  68. package/dist/types/src/events.d.ts.map +1 -1
  69. package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
  70. package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
  71. package/dist/types/src/meta.d.ts +0 -1
  72. package/dist/types/src/meta.d.ts.map +1 -1
  73. package/dist/types/src/translations.d.ts +1 -0
  74. package/dist/types/src/translations.d.ts.map +1 -1
  75. package/dist/types/src/types/schema.d.ts +2 -2
  76. package/dist/types/src/types/schema.d.ts.map +1 -1
  77. package/dist/types/tsconfig.tsbuildinfo +1 -1
  78. package/package.json +48 -45
  79. package/src/DeckPlugin.ts +64 -59
  80. package/src/capabilities/app-graph-builder.ts +10 -9
  81. package/src/capabilities/capabilities.ts +3 -3
  82. package/src/capabilities/check-app-scheme.ts +3 -3
  83. package/src/capabilities/index.ts +2 -1
  84. package/src/capabilities/intent-resolver.ts +16 -15
  85. package/src/capabilities/react-root.tsx +4 -3
  86. package/src/capabilities/react-surface.tsx +5 -5
  87. package/src/capabilities/settings.ts +1 -1
  88. package/src/capabilities/state.ts +6 -5
  89. package/src/capabilities/toolkit.ts +55 -0
  90. package/src/capabilities/tools.ts +9 -6
  91. package/src/capabilities/url-handler.ts +3 -2
  92. package/src/components/DeckLayout/Banner.tsx +3 -3
  93. package/src/components/DeckLayout/ContentEmpty.tsx +1 -1
  94. package/src/components/DeckLayout/DeckLayout.tsx +15 -14
  95. package/src/components/DeckLayout/Fallback.tsx +2 -2
  96. package/src/components/DeckLayout/Toast.tsx +2 -2
  97. package/src/components/DeckSettings/DeckSettings.tsx +74 -65
  98. package/src/components/Plank/Plank.stories.tsx +9 -10
  99. package/src/components/Plank/Plank.tsx +7 -6
  100. package/src/components/Plank/PlankControls.tsx +3 -3
  101. package/src/components/Plank/PlankError.tsx +3 -2
  102. package/src/components/Plank/PlankHeading.tsx +10 -9
  103. package/src/components/Sidebar/ComplementarySidebar.tsx +9 -8
  104. package/src/components/Sidebar/Sidebar.tsx +2 -2
  105. package/src/components/Sidebar/SidebarButton.tsx +6 -6
  106. package/src/events.ts +2 -2
  107. package/src/hooks/useDeckCompanions.ts +2 -2
  108. package/src/hooks/useHoistStatusbar.ts +2 -2
  109. package/src/hooks/useNodeActionExpander.ts +1 -1
  110. package/src/meta.ts +1 -3
  111. package/src/translations.ts +1 -0
  112. package/src/types/schema.ts +2 -2
  113. package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs.map +0 -7
  114. package/dist/lib/browser/check-app-scheme-57U62A3A.mjs.map +0 -7
  115. package/dist/lib/browser/chunk-D7KTFCUV.mjs.map +0 -7
  116. package/dist/lib/browser/chunk-F5BQOOEG.mjs.map +0 -7
  117. package/dist/lib/browser/chunk-JFTXENFN.mjs.map +0 -7
  118. package/dist/lib/browser/chunk-M57WD3V6.mjs +0 -16
  119. package/dist/lib/browser/chunk-M57WD3V6.mjs.map +0 -7
  120. package/dist/lib/browser/chunk-QDZO4AJ4.mjs.map +0 -7
  121. package/dist/lib/browser/chunk-Z5KITAZW.mjs +0 -13
  122. package/dist/lib/browser/chunk-Z5KITAZW.mjs.map +0 -7
  123. package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs.map +0 -7
  124. package/dist/lib/browser/react-root-PO64J7ML.mjs.map +0 -7
  125. package/dist/lib/browser/react-surface-E45YOVF5.mjs.map +0 -7
  126. package/dist/lib/browser/state-MVDYX77Y.mjs +0 -12
  127. package/dist/lib/browser/tools-TKQDPCHJ.mjs +0 -88
  128. package/dist/lib/browser/tools-TKQDPCHJ.mjs.map +0 -7
  129. package/dist/lib/browser/url-handler-7L7M6IKH.mjs.map +0 -7
  130. /package/dist/lib/browser/{state-MVDYX77Y.mjs.map → state-MKKK3WGD.mjs.map} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  DeckCapabilities
3
- } from "./chunk-M57WD3V6.mjs";
3
+ } from "./chunk-HUWUYTOI.mjs";
4
4
  import {
5
- DECK_PLUGIN
6
- } from "./chunk-Z5KITAZW.mjs";
5
+ meta
6
+ } from "./chunk-MHP4GPX5.mjs";
7
7
 
8
8
  // src/capabilities/app-graph-builder.ts
9
9
  import { Rx } from "@effect-rx/rx-react";
10
10
  import { Option, pipe } from "effect";
11
- import { Capabilities, contributes, createIntent, LayoutAction } from "@dxos/app-framework";
11
+ import { Capabilities, LayoutAction, contributes, createIntent } from "@dxos/app-framework";
12
12
  import { AttentionCapabilities } from "@dxos/plugin-attention";
13
- import { createExtension, ROOT_ID, rxFromSignal } from "@dxos/plugin-graph";
14
- var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBuilder, createExtension({
15
- id: DECK_PLUGIN,
13
+ import { ROOT_ID, createExtension, rxFromSignal } from "@dxos/plugin-graph";
14
+ var app_graph_builder_default = ((context) => contributes(Capabilities.AppGraphBuilder, createExtension({
15
+ id: meta.id,
16
16
  actions: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => node2.id === ROOT_ID ? Option.some(node2) : Option.none()), Option.map(() => {
17
17
  const state = context.getCapability(DeckCapabilities.MutableDeckState);
18
18
  const _fullscreen = {
@@ -30,7 +30,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
30
30
  label: [
31
31
  "toggle fullscreen label",
32
32
  {
33
- ns: DECK_PLUGIN
33
+ ns: meta.id
34
34
  }
35
35
  ],
36
36
  icon: "ph--arrows-out--regular",
@@ -62,7 +62,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
62
62
  label: [
63
63
  "close current label",
64
64
  {
65
- ns: DECK_PLUGIN
65
+ ns: meta.id
66
66
  }
67
67
  ],
68
68
  icon: "ph--x--regular"
@@ -87,7 +87,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
87
87
  label: [
88
88
  "close others label",
89
89
  {
90
- ns: DECK_PLUGIN
90
+ ns: meta.id
91
91
  }
92
92
  ],
93
93
  icon: "ph--x-square--regular"
@@ -109,7 +109,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
109
109
  label: [
110
110
  "close all label",
111
111
  {
112
- ns: DECK_PLUGIN
112
+ ns: meta.id
113
113
  }
114
114
  ],
115
115
  icon: "ph--x-circle--regular"
@@ -124,7 +124,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
124
124
  label: [
125
125
  get(rxFromSignal(() => state.sidebarState === "expanded" ? "collapse navigation sidebar label" : "open navigation sidebar label")),
126
126
  {
127
- ns: DECK_PLUGIN
127
+ ns: meta.id
128
128
  }
129
129
  ],
130
130
  icon: "ph--sidebar--regular",
@@ -145,8 +145,8 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
145
145
  toggleSidebar
146
146
  ]));
147
147
  }), Option.getOrElse(() => [])))
148
- }));
148
+ })));
149
149
  export {
150
150
  app_graph_builder_default as default
151
151
  };
152
- //# sourceMappingURL=app-graph-builder-JTFSDT2I.mjs.map
152
+ //# sourceMappingURL=app-graph-builder-7SR53CCK.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/app-graph-builder.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Rx } from '@effect-rx/rx-react';\nimport { Option, pipe } from 'effect';\n\nimport { Capabilities, LayoutAction, type PluginContext, contributes, createIntent } from '@dxos/app-framework';\nimport { AttentionCapabilities } from '@dxos/plugin-attention';\nimport { ROOT_ID, createExtension, rxFromSignal } from '@dxos/plugin-graph';\n\nimport { meta } from '../meta';\n\nimport { DeckCapabilities } from './capabilities';\n\nexport default (context: PluginContext) =>\n contributes(\n Capabilities.AppGraphBuilder,\n createExtension({\n id: meta.id,\n actions: (node) =>\n Rx.make((get) =>\n pipe(\n get(node),\n Option.flatMap((node) => (node.id === ROOT_ID ? Option.some(node) : Option.none())),\n Option.map(() => {\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n\n // NOTE(Zan): This is currently disabled.\n // TODO(Zan): Fullscreen needs to know the active node and provide that to the layout part.\n const _fullscreen = {\n id: `${LayoutAction.UpdateLayout._tag}/fullscreen`,\n data: async () => {\n const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n await dispatch(\n createIntent(LayoutAction.SetLayoutMode, { part: 'mode', options: { mode: 'fullscreen' } }),\n );\n },\n properties: {\n label: ['toggle fullscreen label', { ns: meta.id }],\n icon: 'ph--arrows-out--regular',\n keyBinding: {\n macos: 'ctrl+meta+f',\n windows: 'shift+ctrl+f',\n },\n },\n };\n\n const closeCurrent = {\n id: `${LayoutAction.Close._tag}/current`,\n data: async () => {\n const attention = context.getCapability(AttentionCapabilities.Attention);\n const attended = attention.current.at(-1);\n if (attended) {\n const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n await dispatch(\n createIntent(LayoutAction.Close, {\n part: 'main',\n subject: [attended],\n options: { state: false },\n }),\n );\n }\n },\n properties: {\n label: ['close current label', { ns: meta.id }],\n icon: 'ph--x--regular',\n },\n };\n\n const closeOthers = {\n id: `${LayoutAction.Close._tag}/others`,\n data: async () => {\n const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n const attention = context.getCapability(AttentionCapabilities.Attention);\n const attended = attention.current.at(-1);\n const ids = state.deck.active.filter((id) => id !== attended) ?? [];\n await dispatch(\n createIntent(LayoutAction.Close, { part: 'main', subject: ids, options: { state: false } }),\n );\n },\n properties: {\n label: ['close others label', { ns: meta.id }],\n icon: 'ph--x-square--regular',\n },\n };\n\n const closeAll = {\n id: `${LayoutAction.Close._tag}/all`,\n data: async () => {\n const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n await dispatch(\n createIntent(LayoutAction.Close, {\n part: 'main',\n subject: state.deck.active,\n options: { state: false },\n }),\n );\n },\n properties: {\n label: ['close all label', { ns: meta.id }],\n icon: 'ph--x-circle--regular',\n },\n };\n\n const toggleSidebar = {\n id: `${LayoutAction.UpdateSidebar._tag}/nav`,\n data: async () => {\n state.sidebarState = state.sidebarState === 'expanded' ? 'collapsed' : 'expanded';\n },\n properties: {\n label: [\n get(\n rxFromSignal(() =>\n state.sidebarState === 'expanded'\n ? 'collapse navigation sidebar label'\n : 'open navigation sidebar label',\n ),\n ),\n { ns: meta.id },\n ],\n icon: 'ph--sidebar--regular',\n keyBinding: {\n macos: \"meta+'\",\n },\n disposition: 'pin-end',\n position: 'hoist',\n l0Breakpoint: 'lg',\n },\n };\n\n return get(\n rxFromSignal(() =>\n !state.deck.solo ? [closeCurrent, closeOthers, closeAll, toggleSidebar] : [toggleSidebar],\n ),\n );\n }),\n Option.getOrElse(() => []),\n ),\n ),\n }),\n );\n"],
5
+ "mappings": ";;;;;;;;AAIA,SAASA,UAAU;AACnB,SAASC,QAAQC,Y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iBAAiB,aAAa,cAAc;MACzE;MACAxB,YAAY;QACVC,OAAO;UACL1B,IACEkD,aAAa,MACX1C,MAAMyC,iBAAiB,aACnB,sCACA,+BAAA,CAAA;UAGR;YAAEtB,IAAIhC,KAAKD;UAAG;;QAEhBkC,MAAM;QACNC,YAAY;UACVC,OAAO;QACT;QACAqB,aAAa;QACbC,UAAU;QACVC,cAAc;MAChB;IACF;AAEA,WAAOrD,IACLkD,aAAa,MACX,CAAC1C,MAAMmC,KAAKW,OAAO;MAACtB;MAAcS;MAAaK;MAAUC;QAAiB;MAACA;KAAc,CAAA;EAG/F,CAAA,GACA7C,OAAOqD,UAAU,MAAM,CAAA,CAAE,CAAA,CAAA;AAGjC,CAAA,CAAA;",
6
+ "names": ["Rx", "Option", "pipe", "Capabilities", "LayoutAction", "contributes", "createIntent", "AttentionCapabilities", "ROOT_ID", "createExtension", "rxFromSignal", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "meta", "actions", "node", "Rx", "make", "get", "pipe", "Option", "flatMap", "ROOT_ID", "some", "none", "map", "state", "getCapability", "DeckCapabilities", "MutableDeckState", "_fullscreen", "LayoutAction", "UpdateLayout", "_tag", "data", "dispatchPromise", "dispatch", "IntentDispatcher", "createIntent", "SetLayoutMode", "part", "options", "mode", "properties", "label", "ns", "icon", "keyBinding", "macos", "windows", "closeCurrent", "Close", "attention", "AttentionCapabilities", "Attention", "attended", "current", "at", "subject", "closeOthers", "ids", "deck", "active", "filter", "closeAll", "toggleSidebar", "UpdateSidebar", "sidebarState", "rxFromSignal", "disposition", "position", "l0Breakpoint", "solo", "getOrElse"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
- DECK_PLUGIN
3
- } from "./chunk-Z5KITAZW.mjs";
2
+ meta
3
+ } from "./chunk-MHP4GPX5.mjs";
4
4
 
5
5
  // src/capabilities/check-app-scheme.ts
6
6
  import { Capabilities, contributes } from "@dxos/app-framework";
@@ -19,14 +19,14 @@ var checkAppScheme = (url) => {
19
19
  document.body.removeChild(iframe);
20
20
  });
21
21
  };
22
- var check_app_scheme_default = async (context) => {
23
- const settings = context.getCapability(Capabilities.SettingsStore).getStore(DECK_PLUGIN)?.value;
22
+ var check_app_scheme_default = (async (context) => {
23
+ const settings = context.getCapability(Capabilities.SettingsStore).getStore(meta.id)?.value;
24
24
  if (!isSocket && settings?.enableNativeRedirect) {
25
25
  checkAppScheme(appScheme);
26
26
  }
27
27
  return contributes(Capabilities.Null, null);
28
- };
28
+ });
29
29
  export {
30
30
  check_app_scheme_default as default
31
31
  };
32
- //# sourceMappingURL=check-app-scheme-57U62A3A.mjs.map
32
+ //# sourceMappingURL=check-app-scheme-GCOL6YDT.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/check-app-scheme.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, type PluginContext, contributes } from '@dxos/app-framework';\n\nimport { meta } from '../meta';\nimport { type DeckSettingsProps } from '../types';\n\nconst isSocket = !!(globalThis as any).__args;\n\n// TODO(mjamesderocher): Can we get this directly from Socket?\nconst appScheme = 'composer://';\n\n// TODO(mjamesderocher): Factor out as part of NavigationPlugin.\nconst checkAppScheme = (url: string) => {\n const iframe = document.createElement('iframe');\n iframe.style.display = 'none';\n document.body.appendChild(iframe);\n\n iframe.src = url + window.location.pathname.replace(/^\\/+/, '') + window.location.search;\n\n const timer = setTimeout(() => {\n document.body.removeChild(iframe);\n }, 3000);\n\n window.addEventListener('pagehide', (event) => {\n clearTimeout(timer);\n document.body.removeChild(iframe);\n });\n};\n\nexport default async (context: PluginContext) => {\n const settings = context.getCapability(Capabilities.SettingsStore).getStore<DeckSettingsProps>(meta.id)?.value;\n if (!isSocket && settings?.enableNativeRedirect) {\n checkAppScheme(appScheme);\n }\n\n return contributes(Capabilities.Null, null);\n};\n"],
5
+ "mappings": ";;;;;AAIA,SAASA,cAAkCC,mBAAmB;AAK9D,IAAMC,WAAW,CAAC,CAAEC,WAAmBC;AAGvC,IAAMC,YAAY;AAGlB,IAAMC,iBAAiB,CAACC,QAAAA;AACtB,QAAMC,SAASC,SAASC,cAAc,QAAA;AACtCF,SAAOG,MAAMC,UAAU;AACvBH,WAASI,KAAKC,YAAYN,MAAAA;AAE1BA,SAAOO,MAAMR,MAAMS,OAAOC,SAASC,SAASC,QAAQ,QAAQ,EAAA,IAAMH,OAAOC,SAASG;AAElF,QAAMC,QAAQC,WAAW,MAAA;AACvBb,aAASI,KAAKU,YAAYf,MAAAA;EAC5B,GAAG,GAAA;AAEHQ,SAAOQ,iBAAiB,YAAY,CAACC,UAAAA;AACnCC,iBAAaL,KAAAA;AACbZ,aAASI,KAAKU,YAAYf,MAAAA;EAC5B,CAAA;AACF;AAEA,IAAA,4BAAe,OAAOmB,YAAAA;AACpB,QAAMC,WAAWD,QAAQE,cAAcC,aAAaC,aAAa,EAAEC,SAA4BC,KAAKC,EAAE,GAAGC;AACzG,MAAI,CAACjC,YAAY0B,UAAUQ,sBAAsB;AAC/C9B,mBAAeD,SAAAA;EACjB;AAEA,SAAOgC,YAAYP,aAAaQ,MAAM,IAAA;AACxC;",
6
+ "names": ["Capabilities", "contributes", "isSocket", "globalThis", "__args", "appScheme", "checkAppScheme", "url", "iframe", "document", "createElement", "style", "display", "body", "appendChild", "src", "window", "location", "pathname", "replace", "search", "timer", "setTimeout", "removeChild", "addEventListener", "event", "clearTimeout", "context", "settings", "getCapability", "Capabilities", "SettingsStore", "getStore", "meta", "id", "value", "enableNativeRedirect", "contributes", "Null"]
7
+ }
@@ -2,10 +2,10 @@ import {
2
2
  ATTENDABLE_PATH_SEPARATOR,
3
3
  DECK_COMPANION_TYPE,
4
4
  PLANK_COMPANION_TYPE
5
- } from "./chunk-F5BQOOEG.mjs";
5
+ } from "./chunk-VSJ7FFQS.mjs";
6
6
  import {
7
- DECK_PLUGIN
8
- } from "./chunk-Z5KITAZW.mjs";
7
+ meta
8
+ } from "./chunk-MHP4GPX5.mjs";
9
9
 
10
10
  // src/hooks/useCompanions.ts
11
11
  import { useMemo } from "react";
@@ -52,7 +52,7 @@ import { useThemeContext } from "@dxos/react-ui";
52
52
  var useHoistStatusbar = (breakpoint, layoutMode) => {
53
53
  var _effect = _useSignals();
54
54
  try {
55
- const enableStatusbar = useCapability(Capabilities.SettingsStore).getStore(DECK_PLUGIN).value.enableStatusbar;
55
+ const enableStatusbar = useCapability(Capabilities.SettingsStore).getStore(meta.id).value.enableStatusbar;
56
56
  const { safeAreaPadding } = useThemeContext();
57
57
  return useMemo2(() => {
58
58
  return breakpoint === "desktop" && layoutMode !== "solo--fullscreen" && !!enableStatusbar && safeAreaPadding?.bottom === 0;
@@ -96,15 +96,15 @@ var useNodeActionExpander = (node) => {
96
96
 
97
97
  // src/capabilities/index.ts
98
98
  import { lazy } from "@dxos/app-framework";
99
- var AppGraphBuilder = lazy(() => import("./app-graph-builder-JTFSDT2I.mjs"));
100
- var CheckAppScheme = lazy(() => import("./check-app-scheme-57U62A3A.mjs"));
101
- var DeckSettings = lazy(() => import("./settings-6AJZPZPM.mjs"));
102
- var DeckState = lazy(() => import("./state-MVDYX77Y.mjs"));
103
- var LayoutIntentResolver = lazy(() => import("./intent-resolver-P2OBK5HK.mjs"));
104
- var ReactRoot = lazy(() => import("./react-root-PO64J7ML.mjs"));
105
- var ReactSurface = lazy(() => import("./react-surface-E45YOVF5.mjs"));
106
- var Tools = lazy(() => import("./tools-TKQDPCHJ.mjs"));
107
- var UrlHandler = lazy(() => import("./url-handler-7L7M6IKH.mjs"));
99
+ var AppGraphBuilder = lazy(() => import("./app-graph-builder-7SR53CCK.mjs"));
100
+ var CheckAppScheme = lazy(() => import("./check-app-scheme-GCOL6YDT.mjs"));
101
+ var DeckSettings = lazy(() => import("./settings-3642GPOR.mjs"));
102
+ var DeckState = lazy(() => import("./state-MKKK3WGD.mjs"));
103
+ var LayoutIntentResolver = lazy(() => import("./intent-resolver-Y5YOA4NR.mjs"));
104
+ var ReactRoot = lazy(() => import("./react-root-A537NMT6.mjs"));
105
+ var ReactSurface = lazy(() => import("./react-surface-DAS4HS3Y.mjs"));
106
+ var Toolkit = lazy(() => import("./toolkit-UPUBQIYU.mjs"));
107
+ var UrlHandler = lazy(() => import("./url-handler-354LL74P.mjs"));
108
108
 
109
109
  export {
110
110
  useBreakpoints,
@@ -121,7 +121,7 @@ export {
121
121
  LayoutIntentResolver,
122
122
  ReactRoot,
123
123
  ReactSurface,
124
- Tools,
124
+ Toolkit,
125
125
  UrlHandler
126
126
  };
127
- //# sourceMappingURL=chunk-QDZO4AJ4.mjs.map
127
+ //# sourceMappingURL=chunk-7CL25AYA.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/hooks/useCompanions.ts", "../../../src/hooks/useBreakpoints.ts", "../../../src/hooks/useDeckCompanions.ts", "../../../src/hooks/useHoistStatusbar.ts", "../../../src/hooks/useMainSize.ts", "../../../src/hooks/useNodeActionExpander.ts", "../../../src/capabilities/index.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { useMemo } from 'react';\n\nimport { useAppGraph } from '@dxos/app-framework';\nimport { useConnections } from '@dxos/plugin-graph';\nimport { byPosition } from '@dxos/util';\n\nimport { PLANK_COMPANION_TYPE } from '../types';\n\nexport const useCompanions = (id?: string) => {\n const { graph } = useAppGraph();\n const nodes = useConnections(graph, id);\n const companions = nodes.filter((node) => node.type === PLANK_COMPANION_TYPE);\n return useMemo(() => companions.toSorted((a, b) => byPosition(a.properties, b.properties)), [companions]);\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { useMediaQuery } from '@dxos/react-ui';\n\nexport const useBreakpoints = () => {\n const [isNotMobile] = useMediaQuery('md');\n const [isDesktop] = useMediaQuery('lg');\n return isDesktop ? 'desktop' : isNotMobile ? 'tablet' : 'mobile';\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Label, useAppGraph } from '@dxos/app-framework';\nimport { type Node, ROOT_ID, useConnections } from '@dxos/plugin-graph';\nimport { type Position, byPosition } from '@dxos/util';\n\nimport { ATTENDABLE_PATH_SEPARATOR, DECK_COMPANION_TYPE } from '../types';\n\nexport const getCompanionId = (id: string) => {\n const [_, companionId] = id.split(ATTENDABLE_PATH_SEPARATOR);\n return companionId ?? 'never';\n};\n\nexport type DeckCompanion = Node<\n any,\n {\n label: Label;\n icon: string;\n // TODO(burdon): Scroll area should be controlled by surface.\n /** If true, the panel will not be wrapped in a scroll area. */\n fixed?: boolean;\n position?: Position;\n }\n>;\n\nexport const useDeckCompanions = (): DeckCompanion[] => {\n const { graph } = useAppGraph();\n const connections = useConnections(graph, ROOT_ID);\n const companions = connections.filter((node) => node.type === DECK_COMPANION_TYPE) as DeckCompanion[];\n return companions.toSorted((a, b) => byPosition(a.properties, b.properties));\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { useMemo } from 'react';\n\nimport { Capabilities, useCapability } from '@dxos/app-framework';\nimport { useThemeContext } from '@dxos/react-ui';\n\nimport { meta } from '../meta';\nimport type { DeckSettingsProps, LayoutMode } from '../types';\n\nexport const useHoistStatusbar = (breakpoint: string, layoutMode?: LayoutMode): boolean => {\n const enableStatusbar = useCapability(Capabilities.SettingsStore).getStore<DeckSettingsProps>(meta.id)!.value\n .enableStatusbar;\n const { safeAreaPadding } = useThemeContext();\n return useMemo(() => {\n return (\n breakpoint === 'desktop' &&\n layoutMode !== 'solo--fullscreen' &&\n !!enableStatusbar &&\n safeAreaPadding?.bottom === 0\n );\n }, [enableStatusbar, breakpoint, safeAreaPadding?.bottom, layoutMode]);\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { useMainContext } from '@dxos/react-ui';\n\nexport const useMainSize = () => {\n const { navigationSidebarState, complementarySidebarState } = useMainContext('DeckPluginPlank');\n return {\n 'data-sidebar-inline-start-state': navigationSidebarState,\n 'data-sidebar-inline-end-state': complementarySidebarState,\n };\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { useEffect } from 'react';\n\nimport { type Node, getGraph } from '@dxos/plugin-graph';\n\nexport const useNodeActionExpander = (node?: Node) => {\n useEffect(() => {\n if (node) {\n const frame = requestAnimationFrame(() => {\n const graph = getGraph(node);\n void graph.expand(node.id);\n });\n return () => cancelAnimationFrame(frame);\n }\n }, [node]);\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const CheckAppScheme = lazy(() => import('./check-app-scheme'));\nexport const DeckSettings = lazy(() => import('./settings'));\nexport const DeckState = lazy(() => import('./state'));\nexport const LayoutIntentResolver = lazy(() => import('./intent-resolver'));\nexport const ReactRoot = lazy(() => import('./react-root'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\n// export const Tools = lazy(() => import('./tools'));\nexport const Toolkit = lazy(() => import('./toolkit'));\nexport const UrlHandler = lazy(() => import('./url-handler'));\n\nexport * from './capabilities';\nexport * from './state';\n"],
5
+ "mappings": ";;;;;;;;;;AAIA,SAASA,eAAe;AAExB,SAASC,mBAAmB;AAC5B,SAASC,sBAAsB;AAC/B,SAASC,kBAAkB;AAIpB,IAAMC,gBAAgB,CAACC,OAAAA;AAC5B,QAAM,EAAEC,MAAK,IAAKC,YAAAA;AAClB,QAAMC,QAAQC,eAAeH,OAAOD,EAAAA;AACpC,QAAMK,aAAaF,MAAMG,OAAO,CAACC,SAASA,KAAKC,SAASC,oBAAAA;AACxD,SAAOC,QAAQ,MAAML,WAAWM,SAAS,CAACC,GAAGC,MAAMC,WAAWF,EAAEG,YAAYF,EAAEE,UAAU,CAAA,GAAI;IAACV;GAAW;AAC1G;;;ACbA,SAASW,qBAAqB;AAEvB,IAAMC,iBAAiB,MAAA;AAC5B,QAAM,CAACC,WAAAA,IAAeC,cAAc,IAAA;AACpC,QAAM,CAACC,SAAAA,IAAaD,cAAc,IAAA;AAClC,SAAOC,YAAY,YAAYF,c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AME,QAAQC,sBAAsB,MAAA;AAClC,cAAMC,QAAQC,SAASL,IAAAA;AACvB,aAAKI,MAAME,OAAON,KAAKO,EAAE;MAC3B,CAAA;AACA,aAAO,MAAMC,qBAAqBN,KAAAA;IACpC;EACF,GAAG;IAACF;GAAK;AACX;;;ACdA,SAASS,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,iBAAiBD,KAAK,MAAM,OAAO,iCAAA,CAAA;AACzC,IAAME,eAAeF,KAAK,MAAM,OAAO,yBAAA,CAAA;AACvC,IAAMG,YAAYH,KAAK,MAAM,OAAO,sBAAA,CAAA;AACpC,IAAMI,uBAAuBJ,KAAK,MAAM,OAAO,gCAAA,CAAA;AAC/C,IAAMK,YAAYL,KAAK,MAAM,OAAO,2BAAA,CAAA;AACpC,IAAMM,eAAeN,KAAK,MAAM,OAAO,8BAAA,CAAA;AAEvC,IAAMO,UAAUP,KAAK,MAAM,OAAO,wBAAA,CAAA;AAClC,IAAMQ,aAAaR,KAAK,MAAM,OAAO,4BAAA,CAAA;",
6
+ "names": ["useMemo", "useAppGraph", "useConnections", "byPosition", "useCompanions", "id", "graph", "useAppGraph", "nodes", "useConnections", "companions", "filter", "node", "type", "PLANK_COMPANION_TYPE", "useMemo", "toSorted", "a", "b", "byPosition", "properties", "useMediaQuery", "useBreakpoints", "isNotMobile", "useMediaQuery", "isDesktop", "useAppGraph", "ROOT_ID", "useConnections", "byPosition", "getCompanionId", "id", "_", "companionId", "split", "ATTENDABLE_PATH_SEPARATOR", "useDeckCompanions", "graph", "useAppGraph", "connections", "useConnections", "ROOT_ID", "companions", "filter", "node", "type", "DECK_COMPANION_TYPE", "toSorted", "a", "b", "byPosition", "properties", "useMemo", "Capabilities", "useCapability", "useThemeContext", "useHoistStatusbar", "breakpoint", "layoutMode", "enableStatusbar", "useCapability", "Capabilities", "SettingsStore", "getStore", "meta", "id", "value", "safeAreaPadding", "useThemeContext", "useMemo", "bottom", "useMainContext", "useMainSize", "navigationSidebarState", "complementarySidebarState", "useMainContext", "useEffect", "getGraph", "useNodeActionExpander", "node", "useEffect", "frame", "requestAnimationFrame", "graph", "getGraph", "expand", "id", "cancelAnimationFrame", "lazy", "AppGraphBuilder", "lazy", "CheckAppScheme", "DeckSettings", "DeckState", "LayoutIntentResolver", "ReactRoot", "ReactSurface", "Toolkit", "UrlHandler"]
7
+ }
@@ -0,0 +1,16 @@
1
+ import {
2
+ meta
3
+ } from "./chunk-MHP4GPX5.mjs";
4
+
5
+ // src/capabilities/capabilities.ts
6
+ import { defineCapability } from "@dxos/app-framework";
7
+ (function(DeckCapabilities2) {
8
+ DeckCapabilities2.DeckState = defineCapability(`${meta.id}/capability/state`);
9
+ DeckCapabilities2.MutableDeckState = defineCapability(`${meta.id}/capability/state`);
10
+ })(DeckCapabilities || (DeckCapabilities = {}));
11
+ var DeckCapabilities;
12
+
13
+ export {
14
+ DeckCapabilities
15
+ };
16
+ //# sourceMappingURL=chunk-HUWUYTOI.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/capabilities.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { defineCapability } from '@dxos/app-framework';\nimport { type DeepReadonly } from '@dxos/util';\n\nimport { meta } from '../meta';\nimport { type DeckPluginState } from '../types';\n\nexport namespace DeckCapabilities {\n export const DeckState = defineCapability<DeepReadonly<DeckPluginState>>(`${meta.id}/capability/state`);\n export const MutableDeckState = defineCapability<DeckPluginState>(`${meta.id}/capability/state`);\n}\n"],
5
+ "mappings": ";;;;;AAIA,SAASA,wBAAwB;UAMhBC,mBAAAA;oBACFC,YAAYC,iBAAgD,GAAGC,KAAKC,EAAE,mBAAmB;oBACzFC,mBAAmBH,iBAAkC,GAAGC,KAAKC,EAAE,mBAAmB;AACjG,GAHiBJ,qBAAAA,mBAAAA,CAAAA,EAAAA;;",
6
+ "names": ["defineCapability", "DeckCapabilities", "DeckState", "defineCapability", "meta", "id", "MutableDeckState"]
7
+ }
@@ -0,0 +1,11 @@
1
+ // src/meta.ts
2
+ var meta = {
3
+ id: "dxos.org/plugin/deck",
4
+ name: "Layout",
5
+ icon: "ph--layout--regular"
6
+ };
7
+
8
+ export {
9
+ meta
10
+ };
11
+ //# sourceMappingURL=chunk-MHP4GPX5.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const meta: PluginMeta = {\n id: 'dxos.org/plugin/deck',\n name: 'Layout',\n icon: 'ph--layout--regular',\n};\n"],
5
+ "mappings": ";AAMO,IAAMA,OAAmB;EAC9BC,IAAI;EACJC,MAAM;EACNC,MAAM;AACR;",
6
+ "names": ["meta", "id", "name", "icon"]
7
+ }