@dxos/plugin-deck 0.9.0 → 0.9.1-main.c7dcc2e112

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 (158) hide show
  1. package/dist/lib/neutral/{DeckLayout-DEURA3KR.mjs → DeckLayout-VX2BP4Q2.mjs} +35 -22
  2. package/dist/lib/neutral/DeckLayout-VX2BP4Q2.mjs.map +7 -0
  3. package/dist/lib/neutral/DeckPlugin.mjs +2 -2
  4. package/dist/lib/neutral/DeckPlugin.mjs.map +4 -4
  5. package/dist/lib/neutral/{DeckSettings-W5I57OXM.mjs → DeckSettings-CQQZJ2YS.mjs} +3 -3
  6. package/dist/lib/neutral/DeckSettings-CQQZJ2YS.mjs.map +7 -0
  7. package/dist/lib/neutral/{add-toast-TNB6DXWU.mjs → add-toast-APKTCLIA.mjs} +2 -2
  8. package/dist/lib/neutral/{adjust-HNU5CCRO.mjs → adjust-7CZI4GK3.mjs} +3 -3
  9. package/dist/lib/neutral/{app-graph-builder-HMLT627T.mjs → app-graph-builder-6HTXRTU2.mjs} +5 -5
  10. package/dist/lib/neutral/app-graph-builder-6HTXRTU2.mjs.map +7 -0
  11. package/dist/lib/neutral/capabilities/index.mjs +8 -8
  12. package/dist/lib/neutral/{check-app-scheme-INSOF72J.mjs → check-app-scheme-HSAORHHX.mjs} +2 -2
  13. package/dist/lib/neutral/{chunk-BS4EOYMK.mjs → chunk-CL7JIOI5.mjs} +28 -14
  14. package/dist/lib/neutral/chunk-CL7JIOI5.mjs.map +7 -0
  15. package/dist/lib/neutral/{chunk-WAXJPQJI.mjs → chunk-DNG3L5QN.mjs} +31 -33
  16. package/dist/lib/neutral/chunk-DNG3L5QN.mjs.map +7 -0
  17. package/dist/lib/neutral/chunk-KY7LMF4D.mjs +46 -0
  18. package/dist/lib/neutral/chunk-KY7LMF4D.mjs.map +7 -0
  19. package/dist/lib/neutral/{chunk-324PPIZB.mjs → chunk-KZFJ4PBT.mjs} +4 -4
  20. package/dist/lib/neutral/chunk-KZFJ4PBT.mjs.map +7 -0
  21. package/dist/lib/neutral/{chunk-GBIGQKYW.mjs → chunk-NGX6RXNV.mjs} +4 -4
  22. package/dist/lib/neutral/chunk-NGX6RXNV.mjs.map +7 -0
  23. package/dist/lib/neutral/chunk-UZLAR4DR.mjs +8 -0
  24. package/dist/lib/neutral/{close-ASKR22A6.mjs → close-KJUCFIJ5.mjs} +3 -3
  25. package/dist/lib/neutral/components/index.mjs +1 -1
  26. package/dist/lib/neutral/containers/index.mjs +3 -3
  27. package/dist/lib/neutral/index.mjs +12 -2
  28. package/dist/lib/neutral/meta.json +1 -1
  29. package/dist/lib/neutral/meta.mjs +1 -1
  30. package/dist/lib/neutral/{notification-tracker-P36322BH.mjs → notification-tracker-CUDFRDCF.mjs} +9 -9
  31. package/dist/lib/neutral/{notification-tracker-P36322BH.mjs.map → notification-tracker-CUDFRDCF.mjs.map} +3 -3
  32. package/dist/lib/neutral/{open-5OYNO3RT.mjs → open-VU7YS3HB.mjs} +7 -7
  33. package/dist/lib/neutral/open-VU7YS3HB.mjs.map +7 -0
  34. package/dist/lib/neutral/operations/index.mjs +1 -1
  35. package/dist/lib/neutral/plugin.mjs +2 -2
  36. package/dist/lib/neutral/{react-root-HH5DEUOG.mjs → react-root-E6TAFHX6.mjs} +2 -2
  37. package/dist/lib/neutral/react-root-E6TAFHX6.mjs.map +7 -0
  38. package/dist/lib/neutral/{react-surface-3UVVCK3O.mjs → react-surface-O4POQWYL.mjs} +4 -5
  39. package/dist/lib/neutral/react-surface-O4POQWYL.mjs.map +7 -0
  40. package/dist/lib/neutral/{revert-workspace-B2QLT2C4.mjs → revert-workspace-24TKG3I7.mjs} +2 -2
  41. package/dist/lib/neutral/{scroll-into-view-B52C3PJO.mjs → scroll-into-view-3VXT6TWC.mjs} +2 -2
  42. package/dist/lib/neutral/{set-PA35ONXO.mjs → set-RFOLTI57.mjs} +3 -3
  43. package/dist/lib/neutral/{set-layout-mode-RPCCPQRB.mjs → set-layout-mode-AZ73W52Z.mjs} +2 -2
  44. package/dist/lib/neutral/{settings-EGNYUM4T.mjs → settings-6CDQEB6B.mjs} +3 -3
  45. package/dist/lib/neutral/settings-6CDQEB6B.mjs.map +7 -0
  46. package/dist/lib/neutral/{state-IIDXMQUO.mjs → state-D3YXB5NP.mjs} +3 -3
  47. package/dist/lib/neutral/{state-IIDXMQUO.mjs.map → state-D3YXB5NP.mjs.map} +2 -2
  48. package/dist/lib/neutral/{switch-workspace-LZF4KZXH.mjs → switch-workspace-TBPT23CZ.mjs} +4 -4
  49. package/dist/lib/neutral/switch-workspace-TBPT23CZ.mjs.map +7 -0
  50. package/dist/lib/neutral/translations.mjs +1 -1
  51. package/dist/lib/neutral/translations.mjs.map +3 -3
  52. package/dist/lib/neutral/types/index.mjs +11 -1
  53. package/dist/lib/neutral/{update-companion-YUCZZVGY.mjs → update-companion-5LCY6QME.mjs} +2 -2
  54. package/dist/lib/neutral/{update-complementary-7FZNB55J.mjs → update-complementary-HZ7QXZYE.mjs} +2 -2
  55. package/dist/lib/neutral/{update-dialog-FNQTSSAP.mjs → update-dialog-A7W3R5EI.mjs} +2 -2
  56. package/dist/lib/neutral/{update-plank-size-3YW4NXEY.mjs → update-plank-size-XHTYBLSD.mjs} +2 -2
  57. package/dist/lib/neutral/{update-popover-G2VUD7E6.mjs → update-popover-RDIHG73B.mjs} +2 -2
  58. package/dist/lib/neutral/{update-sidebar-KRHPUHUB.mjs → update-sidebar-GEI7USA5.mjs} +2 -2
  59. package/dist/lib/neutral/{url-handler-A6HLW4RB.mjs → url-handler-PUS4X33T.mjs} +10 -10
  60. package/dist/lib/neutral/url-handler-PUS4X33T.mjs.map +7 -0
  61. package/dist/types/dx.config.d.ts +28 -0
  62. package/dist/types/dx.config.d.ts.map +1 -0
  63. package/dist/types/src/capabilities/index.d.ts +8 -196
  64. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  65. package/dist/types/src/capabilities/react-surface.d.ts +2 -2
  66. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  67. package/dist/types/src/capabilities/state.d.ts +2 -2
  68. package/dist/types/src/components/Matrix/Matrix.stories.d.ts.map +1 -1
  69. package/dist/types/src/containers/Deck/Banner.d.ts.map +1 -1
  70. package/dist/types/src/containers/Deck/DeckViewport.d.ts.map +1 -1
  71. package/dist/types/src/containers/Deck/StatusBar.d.ts.map +1 -1
  72. package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts.map +1 -1
  73. package/dist/types/src/containers/DeckLayout/Popover.d.ts.map +1 -1
  74. package/dist/types/src/containers/Plank/PlankHeading.d.ts.map +1 -1
  75. package/dist/types/src/containers/Sidebar/ComplementarySidebar.d.ts.map +1 -1
  76. package/dist/types/src/meta.d.ts +28 -2
  77. package/dist/types/src/meta.d.ts.map +1 -1
  78. package/dist/types/src/operations/open.d.ts.map +1 -1
  79. package/dist/types/src/operations/switch-workspace.d.ts.map +1 -1
  80. package/dist/types/src/types/DeckCapabilities.d.ts +2 -2
  81. package/dist/types/src/types/DeckCapabilities.d.ts.map +1 -1
  82. package/dist/types/src/types/index.d.ts +1 -0
  83. package/dist/types/src/types/index.d.ts.map +1 -1
  84. package/dist/types/src/types/schema.d.ts +4 -2
  85. package/dist/types/src/types/schema.d.ts.map +1 -1
  86. package/dist/types/src/types/surface.d.ts +12 -0
  87. package/dist/types/src/types/surface.d.ts.map +1 -0
  88. package/dist/types/tsconfig.tsbuildinfo +1 -1
  89. package/dx.config.ts +35 -0
  90. package/package.json +39 -39
  91. package/src/DeckPlugin.test.ts +1 -1
  92. package/src/DeckPlugin.ts +1 -1
  93. package/src/capabilities/app-graph-builder.ts +4 -4
  94. package/src/capabilities/check-app-scheme.ts +3 -3
  95. package/src/capabilities/notification-tracker.ts +8 -8
  96. package/src/capabilities/react-root.tsx +1 -1
  97. package/src/capabilities/react-surface.tsx +3 -4
  98. package/src/capabilities/settings.ts +2 -2
  99. package/src/capabilities/state.ts +1 -1
  100. package/src/capabilities/url-handler.ts +7 -15
  101. package/src/components/DeckSettings/DeckSettings.tsx +2 -2
  102. package/src/components/Matrix/Matrix.stories.tsx +2 -1
  103. package/src/containers/Deck/Banner.tsx +5 -4
  104. package/src/containers/Deck/DeckViewport.tsx +3 -4
  105. package/src/containers/Deck/StatusBar.tsx +4 -2
  106. package/src/containers/DeckLayout/DeckLayout.stories.tsx +6 -9
  107. package/src/containers/DeckLayout/Fallback.tsx +1 -1
  108. package/src/containers/DeckLayout/Popover.tsx +37 -20
  109. package/src/containers/DeckLayout/Toast.tsx +1 -1
  110. package/src/containers/Plank/Plank.stories.tsx +2 -2
  111. package/src/containers/Plank/PlankControls.tsx +2 -2
  112. package/src/containers/Plank/PlankError.tsx +1 -1
  113. package/src/containers/Plank/PlankHeading.tsx +5 -6
  114. package/src/containers/Sidebar/ComplementarySidebar.tsx +6 -5
  115. package/src/containers/Sidebar/Sidebar.tsx +1 -1
  116. package/src/containers/Sidebar/SidebarButton.tsx +3 -3
  117. package/src/meta.ts +2 -27
  118. package/src/operations/open.ts +12 -10
  119. package/src/operations/switch-workspace.ts +2 -2
  120. package/src/translations.ts +1 -1
  121. package/src/types/DeckCapabilities.ts +5 -3
  122. package/src/types/DeckEvents.ts +1 -1
  123. package/src/types/DeckOperation.ts +1 -1
  124. package/src/types/index.ts +1 -0
  125. package/src/types/schema.ts +16 -12
  126. package/src/types/surface.ts +28 -0
  127. package/src/util/plank-url-params.ts +3 -3
  128. package/dist/lib/neutral/DeckLayout-DEURA3KR.mjs.map +0 -7
  129. package/dist/lib/neutral/DeckSettings-W5I57OXM.mjs.map +0 -7
  130. package/dist/lib/neutral/app-graph-builder-HMLT627T.mjs.map +0 -7
  131. package/dist/lib/neutral/chunk-324PPIZB.mjs.map +0 -7
  132. package/dist/lib/neutral/chunk-BS4EOYMK.mjs.map +0 -7
  133. package/dist/lib/neutral/chunk-GBIGQKYW.mjs.map +0 -7
  134. package/dist/lib/neutral/chunk-PYEY5SEC.mjs +0 -37
  135. package/dist/lib/neutral/chunk-PYEY5SEC.mjs.map +0 -7
  136. package/dist/lib/neutral/chunk-Q4W6B4IB.mjs +0 -8
  137. package/dist/lib/neutral/chunk-WAXJPQJI.mjs.map +0 -7
  138. package/dist/lib/neutral/open-5OYNO3RT.mjs.map +0 -7
  139. package/dist/lib/neutral/react-root-HH5DEUOG.mjs.map +0 -7
  140. package/dist/lib/neutral/react-surface-3UVVCK3O.mjs.map +0 -7
  141. package/dist/lib/neutral/settings-EGNYUM4T.mjs.map +0 -7
  142. package/dist/lib/neutral/switch-workspace-LZF4KZXH.mjs.map +0 -7
  143. package/dist/lib/neutral/url-handler-A6HLW4RB.mjs.map +0 -7
  144. /package/dist/lib/neutral/{add-toast-TNB6DXWU.mjs.map → add-toast-APKTCLIA.mjs.map} +0 -0
  145. /package/dist/lib/neutral/{adjust-HNU5CCRO.mjs.map → adjust-7CZI4GK3.mjs.map} +0 -0
  146. /package/dist/lib/neutral/{check-app-scheme-INSOF72J.mjs.map → check-app-scheme-HSAORHHX.mjs.map} +0 -0
  147. /package/dist/lib/neutral/{chunk-Q4W6B4IB.mjs.map → chunk-UZLAR4DR.mjs.map} +0 -0
  148. /package/dist/lib/neutral/{close-ASKR22A6.mjs.map → close-KJUCFIJ5.mjs.map} +0 -0
  149. /package/dist/lib/neutral/{revert-workspace-B2QLT2C4.mjs.map → revert-workspace-24TKG3I7.mjs.map} +0 -0
  150. /package/dist/lib/neutral/{scroll-into-view-B52C3PJO.mjs.map → scroll-into-view-3VXT6TWC.mjs.map} +0 -0
  151. /package/dist/lib/neutral/{set-PA35ONXO.mjs.map → set-RFOLTI57.mjs.map} +0 -0
  152. /package/dist/lib/neutral/{set-layout-mode-RPCCPQRB.mjs.map → set-layout-mode-AZ73W52Z.mjs.map} +0 -0
  153. /package/dist/lib/neutral/{update-companion-YUCZZVGY.mjs.map → update-companion-5LCY6QME.mjs.map} +0 -0
  154. /package/dist/lib/neutral/{update-complementary-7FZNB55J.mjs.map → update-complementary-HZ7QXZYE.mjs.map} +0 -0
  155. /package/dist/lib/neutral/{update-dialog-FNQTSSAP.mjs.map → update-dialog-A7W3R5EI.mjs.map} +0 -0
  156. /package/dist/lib/neutral/{update-plank-size-3YW4NXEY.mjs.map → update-plank-size-XHTYBLSD.mjs.map} +0 -0
  157. /package/dist/lib/neutral/{update-popover-G2VUD7E6.mjs.map → update-popover-RDIHG73B.mjs.map} +0 -0
  158. /package/dist/lib/neutral/{update-sidebar-KRHPUHUB.mjs.map → update-sidebar-GEI7USA5.mjs.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GLB73Q6U.mjs";
4
4
  import {
5
5
  DeckCapabilities_exports
6
- } from "./chunk-BS4EOYMK.mjs";
6
+ } from "./chunk-CL7JIOI5.mjs";
7
7
  import "./chunk-J5LGTIGS.mjs";
8
8
 
9
9
  // src/operations/update-companion.ts
@@ -29,4 +29,4 @@ var update_companion_default = handler;
29
29
  export {
30
30
  update_companion_default as default
31
31
  };
32
- //# sourceMappingURL=update-companion-YUCZZVGY.mjs.map
32
+ //# sourceMappingURL=update-companion-5LCY6QME.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DeckCapabilities_exports
3
- } from "./chunk-BS4EOYMK.mjs";
3
+ } from "./chunk-CL7JIOI5.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/operations/update-complementary.ts
@@ -25,4 +25,4 @@ var update_complementary_default = handler;
25
25
  export {
26
26
  update_complementary_default as default
27
27
  };
28
- //# sourceMappingURL=update-complementary-7FZNB55J.mjs.map
28
+ //# sourceMappingURL=update-complementary-HZ7QXZYE.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DeckCapabilities_exports
3
- } from "./chunk-BS4EOYMK.mjs";
3
+ } from "./chunk-CL7JIOI5.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/operations/update-dialog.ts
@@ -26,4 +26,4 @@ var update_dialog_default = handler;
26
26
  export {
27
27
  update_dialog_default as default
28
28
  };
29
- //# sourceMappingURL=update-dialog-FNQTSSAP.mjs.map
29
+ //# sourceMappingURL=update-dialog-A7W3R5EI.mjs.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DeckCapabilities_exports,
6
6
  DeckOperation_exports
7
- } from "./chunk-BS4EOYMK.mjs";
7
+ } from "./chunk-CL7JIOI5.mjs";
8
8
  import "./chunk-J5LGTIGS.mjs";
9
9
 
10
10
  // src/operations/update-plank-size.ts
@@ -23,4 +23,4 @@ var update_plank_size_default = handler;
23
23
  export {
24
24
  update_plank_size_default as default
25
25
  };
26
- //# sourceMappingURL=update-plank-size-3YW4NXEY.mjs.map
26
+ //# sourceMappingURL=update-plank-size-XHTYBLSD.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DeckCapabilities_exports
3
- } from "./chunk-BS4EOYMK.mjs";
3
+ } from "./chunk-CL7JIOI5.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/operations/update-popover.ts
@@ -30,4 +30,4 @@ var update_popover_default = handler;
30
30
  export {
31
31
  update_popover_default as default
32
32
  };
33
- //# sourceMappingURL=update-popover-G2VUD7E6.mjs.map
33
+ //# sourceMappingURL=update-popover-RDIHG73B.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DeckCapabilities_exports
3
- } from "./chunk-BS4EOYMK.mjs";
3
+ } from "./chunk-CL7JIOI5.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/operations/update-sidebar.ts
@@ -22,4 +22,4 @@ var update_sidebar_default = handler;
22
22
  export {
23
23
  update_sidebar_default as default
24
24
  };
25
- //# sourceMappingURL=update-sidebar-KRHPUHUB.mjs.map
25
+ //# sourceMappingURL=update-sidebar-GEI7USA5.mjs.map
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-GLB73Q6U.mjs";
4
4
  import {
5
5
  shouldDeferNavigationHandlers
6
- } from "./chunk-324PPIZB.mjs";
6
+ } from "./chunk-KZFJ4PBT.mjs";
7
7
  import {
8
8
  deserializePlanks,
9
9
  serializePlanks,
10
10
  stripPlanks
11
- } from "./chunk-GBIGQKYW.mjs";
11
+ } from "./chunk-NGX6RXNV.mjs";
12
12
  import "./chunk-J5LGTIGS.mjs";
13
13
 
14
14
  // src/capabilities/url-handler.ts
15
15
  import * as Effect from "effect/Effect";
16
16
  import { Capabilities, Capability } from "@dxos/app-framework";
17
- import { AppCapabilities, LayoutOperation, NOT_FOUND_PATH, expandPath, fromUrlPath, getWorkspaceFromPath, toUrlPath } from "@dxos/app-toolkit";
17
+ import { AppCapabilities, LayoutOperation, NotFound, Paths } from "@dxos/app-toolkit";
18
18
  import { Operation } from "@dxos/compute";
19
19
  import { EffectEx } from "@dxos/effect";
20
20
  import { invariant } from "@dxos/invariant";
@@ -69,8 +69,8 @@ var url_handler_default = Capability.makeModule(Effect.fnUntraced(function* () {
69
69
  window.location.pathname = "/";
70
70
  return;
71
71
  }
72
- const qualifiedId = fromUrlPath(pathname);
73
- const workspace = getWorkspaceFromPath(qualifiedId);
72
+ const qualifiedId = Paths.fromUrlPath(pathname);
73
+ const workspace = Paths.getWorkspaceFromPath(qualifiedId);
74
74
  if (workspace !== Node.RootId && workspace !== state.activeDeck) {
75
75
  yield* Operation.invoke(LayoutOperation.SwitchWorkspace, {
76
76
  subject: workspace
@@ -90,8 +90,8 @@ var url_handler_default = Capability.makeModule(Effect.fnUntraced(function* () {
90
90
  mode: "solo"
91
91
  });
92
92
  }
93
- } else if (deck.solo && deck.solo !== NOT_FOUND_PATH) {
94
- const path = toUrlPath(deck.solo);
93
+ } else if (deck.solo && deck.solo !== NotFound.NOT_FOUND_PATH) {
94
+ const path = Paths.toUrlPath(deck.solo);
95
95
  if (window.location.pathname !== path) {
96
96
  history.replaceState(null, "", `${path}${stripPlanks(window.location.search)}`);
97
97
  }
@@ -99,7 +99,7 @@ var url_handler_default = Capability.makeModule(Effect.fnUntraced(function* () {
99
99
  const plankIds = deserializePlanks(resolvedUrl);
100
100
  if (plankIds.length > 0) {
101
101
  for (const plankId of plankIds) {
102
- expandPath(graph, plankId);
102
+ NotFound.expandPath(graph, plankId);
103
103
  }
104
104
  updateState((state2) => updateActiveDeck(state2, {
105
105
  active: plankIds,
@@ -168,7 +168,7 @@ var url_handler_default = Capability.makeModule(Effect.fnUntraced(function* () {
168
168
  lastSolo = solo;
169
169
  lastActiveDeck = activeDeck;
170
170
  lastActiveKey = activeKey;
171
- const path = solo && solo !== NOT_FOUND_PATH ? toUrlPath(solo) : toUrlPath(activeDeck);
171
+ const path = solo && solo !== NotFound.NOT_FOUND_PATH ? Paths.toUrlPath(solo) : Paths.toUrlPath(activeDeck);
172
172
  const search = !solo ? serializePlanks(deck.active, window.location.search) : stripPlanks(window.location.search);
173
173
  const newUrl = `${path}${search}`;
174
174
  if (`${window.location.pathname}${window.location.search}` !== newUrl) {
@@ -226,4 +226,4 @@ var handleDeepLink = Effect.fn(function* (urlString, navigate) {
226
226
  export {
227
227
  url_handler_default as default
228
228
  };
229
- //# sourceMappingURL=url-handler-A6HLW4RB.mjs.map
229
+ //# sourceMappingURL=url-handler-PUS4X33T.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/url-handler.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { AppCapabilities, LayoutOperation, NotFound, Paths } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/compute';\nimport { EffectEx } from '@dxos/effect';\nimport { invariant } from '@dxos/invariant';\nimport { log } from '@dxos/log';\nimport { Node } from '@dxos/plugin-graph';\nimport { isTauri } from '@dxos/util';\n\nimport { DeckCapabilities, type StoredDeckState, defaultDeck } from '#types';\n\nimport { updateActiveDeck } from '../operations/helpers';\nimport { deserializePlanks, serializePlanks, stripPlanks } from '../util';\nimport { shouldDeferNavigationHandlers } from './check-app-scheme';\n\n/** Dispatch all NavigationHandler contributions with a given URL. */\nconst dispatchNavigationHandlers = Effect.fn(function* (url: URL) {\n const handlers = yield* Capability.getAll(AppCapabilities.NavigationHandler);\n yield* Effect.all(\n handlers.map((handler) => handler(url)),\n { concurrency: 'unbounded' },\n );\n});\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const operationService = yield* Capability.get(Capabilities.OperationInvoker);\n const capabilities = yield* Capability.Service;\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const stateAtom = yield* Capability.get(DeckCapabilities.State);\n const settingsAtom = yield* Capability.get(DeckCapabilities.Settings);\n\n const provideServices = <A, E>(effect: Effect.Effect<A, E, Capability.Service | Operation.Service>) =>\n effect.pipe(\n Effect.provideService(Capability.Service, capabilities),\n Effect.provideService(Operation.Service, operationService),\n );\n\n // Helper to get state.\n const getState = () => registry.get(stateAtom);\n\n // Helper to get computed deck from state.\n const getDeck = () => {\n const state = getState();\n const deck = state.decks[state.activeDeck];\n invariant(deck, `Deck not found: ${state.activeDeck}`);\n return deck;\n };\n\n // Helper to update state.\n const updateState = (fn: (current: StoredDeckState) => StoredDeckState) => {\n registry.set(stateAtom, fn(getState()));\n };\n\n const handleNavigation = Effect.fn(function* (url?: URL) {\n const { graph } = yield* Capability.get(AppCapabilities.AppGraph);\n const resolvedUrl = url ?? new URL(window.location.href);\n // When native redirect is active, check-app-scheme owns the initial dispatch\n // to prevent one-time tokens from being consumed before the native app can use them.\n const settings = registry.get(settingsAtom);\n const deferHandlers = settings?.enableNativeRedirect && shouldDeferNavigationHandlers();\n if (!deferHandlers) {\n yield* dispatchNavigationHandlers(resolvedUrl);\n }\n\n const pathname = resolvedUrl.pathname;\n const state = getState();\n if (pathname === '/reset') {\n updateState((s) => ({\n ...s,\n activeDeck: 'default',\n decks: {\n default: { ...defaultDeck },\n },\n }));\n window.location.pathname = '/';\n return;\n }\n\n const qualifiedId = Paths.fromUrlPath(pathname);\n const workspace = Paths.getWorkspaceFromPath(qualifiedId);\n if (workspace !== Node.RootId && workspace !== state.activeDeck) {\n yield* Operation.invoke(LayoutOperation.SwitchWorkspace, { subject: workspace });\n }\n\n const deck = getDeck();\n const activeId = qualifiedId !== workspace ? qualifiedId : undefined;\n if (activeId) {\n // Ensure the object referenced by the URL is open in the deck.\n // Open validates the target and may redirect to 404, returning the resolved IDs.\n const resolvedIds = yield* Operation.invoke(LayoutOperation.Open, { subject: [activeId] });\n // If not already in solo mode, switch to solo for the resolved target.\n if (!deck.solo) {\n yield* Operation.invoke(LayoutOperation.SetLayoutMode, {\n subject: resolvedIds?.[0] ?? activeId,\n mode: 'solo',\n });\n }\n } else if (deck.solo && deck.solo !== NotFound.NOT_FOUND_PATH) {\n // Stay in solo mode; redirect URL to reflect the current solo item.\n // Do not switch to deck mode here — only explicit user action should change layout mode.\n const path = Paths.toUrlPath(deck.solo);\n if (window.location.pathname !== path) {\n history.replaceState(null, '', `${path}${stripPlanks(window.location.search)}`);\n }\n } else if (!activeId && !deck.solo) {\n // Multi-mode: restore planks from query params.\n const plankIds = deserializePlanks(resolvedUrl);\n if (plankIds.length > 0) {\n for (const plankId of plankIds) {\n NotFound.expandPath(graph, plankId);\n }\n updateState((state) => updateActiveDeck(state, { active: plankIds, initialized: true }));\n }\n }\n });\n\n const onPopState = () => void EffectEx.runAndForwardErrors(provideServices(handleNavigation()));\n\n // Install before handleNavigation()/state-sync push entries on top of the sentinel.\n const sentinelKey = installLeaveTrap();\n\n // Landing on the sentinel means a Back is about to leave Composer; confirm and act on it.\n // The guard stops our own back()/forward() from re-entering.\n let handlingSentinel = false;\n const onCurrentEntryChange = () => {\n const current = window.navigation.currentEntry;\n if (handlingSentinel || !current || current.key !== sentinelKey) {\n return;\n }\n handlingSentinel = true;\n queueMicrotask(() => {\n if (window.confirm('Leave Composer?')) {\n history.back(); // Past the sentinel to the prior page.\n } else {\n history.forward(); // Back to where the user was.\n }\n setTimeout(() => {\n handlingSentinel = false;\n });\n });\n };\n\n yield* provideServices(handleNavigation());\n window.addEventListener('popstate', onPopState);\n if ('navigation' in window) {\n window.navigation.addEventListener('currententrychange', onCurrentEntryChange);\n }\n\n // Tauri deep link support.\n let unlistenDeepLink: (() => void) | undefined;\n if (isTauri()) {\n yield* Effect.gen(function* () {\n const { getCurrent, onOpenUrl } = yield* Effect.promise(() => import('@tauri-apps/plugin-deep-link'));\n\n const launchUrls = yield* Effect.promise(() => getCurrent());\n if (launchUrls && launchUrls.length > 0) {\n log('app launched with deep links', { urls: launchUrls });\n for (const urlString of launchUrls) {\n yield* provideServices(handleDeepLink(urlString, handleNavigation));\n }\n }\n\n unlistenDeepLink = yield* Effect.promise(() =>\n onOpenUrl((urls) => {\n for (const urlString of urls) {\n void EffectEx.runAndForwardErrors(provideServices(handleDeepLink(urlString, handleNavigation)));\n }\n }),\n );\n }).pipe(\n Effect.catchAll((error) => Effect.sync(() => log.warn('failed to initialize deep link listener', { error }))),\n );\n }\n\n // Sync URL with layout state changes.\n let lastSolo: string | undefined;\n let lastActiveDeck: string | undefined;\n let lastActiveKey: string | undefined;\n const unsubscribe = registry.subscribe(stateAtom, () => {\n const state = getState();\n const deck = getDeck();\n const solo = deck.solo;\n const activeDeck = state.activeDeck;\n const activeKey = solo ? undefined : JSON.stringify(deck.active);\n\n if (solo !== lastSolo || activeDeck !== lastActiveDeck || activeKey !== lastActiveKey) {\n lastSolo = solo;\n lastActiveDeck = activeDeck;\n lastActiveKey = activeKey;\n\n const path = solo && solo !== NotFound.NOT_FOUND_PATH ? Paths.toUrlPath(solo) : Paths.toUrlPath(activeDeck);\n const search = !solo\n ? serializePlanks(deck.active, window.location.search)\n : stripPlanks(window.location.search);\n const newUrl = `${path}${search}`;\n\n if (`${window.location.pathname}${window.location.search}` !== newUrl) {\n history.pushState(null, '', newUrl);\n }\n }\n });\n\n return Capability.contributes(Capabilities.Null, null, () =>\n Effect.sync(() => {\n window.removeEventListener('popstate', onPopState);\n if ('navigation' in window) {\n window.navigation.removeEventListener('currententrychange', onCurrentEntryChange);\n }\n unsubscribe();\n unlistenDeepLink?.();\n }),\n );\n }),\n);\n\n/**\n * sessionStorage key holding the sentinel history entry's key. The entry is identified by its\n * (reload-stable) Navigation API key rather than by entry state, because the deck overwrites\n * history state via replaceState during URL sync — which would erase a state marker. sessionStorage\n * survives reloads within the tab and the deck never touches it.\n */\nconst SENTINEL_STORAGE_KEY = 'dxos.composer.deck.leaveTrap.sentinelKey';\n\n/**\n * Insert a \"sentinel\" history entry beneath the app's working entries, so a Back-press that would\n * leave Composer instead lands on the sentinel — where `onCurrentEntryChange` confirms the exit. A\n * cross-document back is uncancelable and `beforeunload` cannot distinguish reload from leave, so\n * this same-document floor is required; reload fires no traversal and is never trapped. Requires the\n * Navigation API (Chromium); no-op otherwise. Idempotent across reloads via the sessionStorage-held\n * entry key, so the sentinel is not duplicated. Returns the sentinel entry's key, or undefined.\n */\nconst installLeaveTrap = (): string | undefined => {\n if (!('navigation' in window)) {\n return undefined;\n }\n const saved = sessionStorage.getItem(SENTINEL_STORAGE_KEY);\n if (saved && window.navigation.entries().some((entry) => entry.key === saved)) {\n // The sentinel survived (reload, or the user returned to Composer after leaving). If we are\n // sitting ON it — e.g. the user left via the sentinel then came back Forward onto it — push a\n // working entry above so the user is above the floor again and the trap re-arms.\n if (window.navigation.currentEntry?.key === saved) {\n history.pushState(null, '', window.location.pathname + window.location.search);\n }\n return saved;\n }\n // history.length > 1 (not navigation.canGoBack, which is false for a cross-origin prior entry)\n // means there is somewhere to leave to; otherwise Back can't exit and no sentinel is needed.\n const key = window.navigation.currentEntry?.key;\n if (key && window.history.length > 1) {\n // Record the current (landing) entry as the sentinel, then push the working entry above it.\n sessionStorage.setItem(SENTINEL_STORAGE_KEY, key);\n history.pushState(null, '', window.location.pathname + window.location.search);\n return key;\n }\n return undefined;\n};\n\n/** Check if a path is a redirect path handled elsewhere (e.g., OAuth). */\nconst isRedirectPath = (pathname: string): boolean => pathname.startsWith('/redirect/');\n\n/** Handle a deep link URL string. Merges query params into window.location and navigates. */\nconst handleDeepLink = Effect.fn(function* (urlString: string, navigate: (url?: URL) => Effect.Effect<void, any, any>) {\n log('deep link received', { url: urlString });\n\n const deepLinkUrl = new URL(urlString);\n\n // For custom schemes (e.g., composer://a/b/c), new URL() treats the first segment as the\n // hostname. Reconstruct the full path from hostname + pathname.\n const fullPath =\n deepLinkUrl.protocol !== 'https:' && deepLinkUrl.protocol !== 'http:' && deepLinkUrl.hostname\n ? '/' + deepLinkUrl.hostname + deepLinkUrl.pathname\n : deepLinkUrl.pathname;\n\n if (isRedirectPath(fullPath)) {\n return;\n }\n\n // Merge deep link query params into the current window URL so handlers can read them.\n const current = new URL(window.location.href);\n if (deepLinkUrl.search) {\n deepLinkUrl.searchParams.forEach((value, key) => current.searchParams.set(key, value));\n }\n current.pathname = fullPath;\n history.replaceState(null, '', current.pathname + current.search);\n\n yield* navigate(current);\n});\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,iBAAiBC,iBAAiBC,UAAUC,aAAa;AAClE,SAASC,iBAAiB;AAC1B,SAASC,gBAAgB;AACzB,SAASC,iBAAiB;AAC1B,SAASC,WAAW;AACpB,SAASC,YAAY;AACrB,SAASC,eAAe;AAExB,SAASC,kBAAwCC,mBAAmB;AAMpE,IAAA,eAAA;AAKI,IAAA,6BAAA,UAAA,WAAA,KAAA;QAAEC,WAAa,OAAA,WAAA,OAAA,gBAAA,iBAAA;AAAY,SAAA,WAAA,SAAA,IAAA,CAAA,YAAA,QAAA,GAAA,CAAA,GAAA;IAE/B,aAAA;EAEA,CAAA;;IAGI,sBAAMC,WAAe,WAAkBC,kBAAO,aAAA;AAC9C,QAAMC,mBAAkBC,OAAAA,WAAeC,IAAAA,aAAaC,gBAAY;AAChE,QAAMC,eAAY,OAAOH,WAAc;AACvC,QAAMI,WAAAA,OAAe,WAAOJ,IAAWK,aAAIC,YAAiBC;AAE5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AA;QAOE,WAAA,YAAA,aAAA,YAAA,YAAA,aAAA,WAAA,YAAA,WAAA,MAAA,YAAA,WAAA,YAAA,WAAA,YAAA;AACF,MAAA,eAAA,QAAA,GAAA;AAEA;EACA;QAEEA,UAAYC,IAAAA,IAAAA,OAAaC,SAASC,IAAAA;AACpC,MAAA,YAAA,QAAA;AACAlC,gBAAgB,aAAGmC,QAAAA,CAAAA,OAAAA,QAAAA,QAAAA,aAAAA,IAAAA,KAAAA,KAAAA,CAAAA;EACnB/C;AAEA,UAAOgD,WAASpC;AAClB,UAAA,aAAA,MAAA,IAAA,QAAA,WAAA,QAAA,MAAA;;;",
6
+ "names": ["Effect", "Capabilities", "Capability", "AppCapabilities", "LayoutOperation", "NotFound", "Paths", "Operation", "EffectEx", "invariant", "log", "Node", "isTauri", "DeckCapabilities", "defaultDeck", "concurrency", "capabilities", "Service", "registry", "Capability", "Capabilities", "AtomRegistry", "stateAtom", "settingsAtom", "get", "DeckCapabilities", "Settings", "provideServices", "effect", "provideService", "getState", "getDeck", "deck", "state", "invariant", "fn", "handleNavigation", "Effect", "URL", "window", "location", "deferHandlers", "dispatchNavigationHandlers", "resolvedUrl", "pathname", "updateState", "activeDeck", "decks", "default", "workspace", "Node", "RootId", "Operation", "invoke", "SwitchWorkspace", "activeId", "subject", "mode", "history", "replaceState", "path", "plankIds", "deserializePlanks", "plankId", "NotFound", "expandPath", "updateActiveDeck", "initialized", "sentinelKey", "installLeaveTrap", "current", "handlingSentinel", "queueMicrotask", "confirm", "back", "forward", "setTimeout", "addEventListener", "launchUrls", "length", "log", "handleDeepLink", "urlString", "unlistenDeepLink", "EffectEx", "runAndForwardErrors", "lastActiveKey", "solo", "activeKey", "lastSolo", "lastActiveDeck", "newUrl", "search", "pushState", "removeEventListener", "unsubscribe", "undefined", "saved", "sessionStorage", "SENTINEL_STORAGE_KEY", "key", "deepLinkUrl", "searchParams", "forEach", "value", "fullPath", "navigate"]
7
+ }
@@ -0,0 +1,28 @@
1
+ declare const _default: {
2
+ readonly plugin: {
3
+ readonly key: string;
4
+ readonly name: string;
5
+ readonly description?: string | undefined;
6
+ readonly author?: string | undefined;
7
+ readonly homePage?: string | undefined;
8
+ readonly source?: string | undefined;
9
+ readonly screenshots?: readonly {
10
+ readonly light?: string | undefined;
11
+ readonly dark?: string | undefined;
12
+ }[] | undefined;
13
+ readonly tags?: readonly string[] | undefined;
14
+ readonly icon?: {
15
+ readonly key: string;
16
+ readonly hue?: string | undefined;
17
+ } | undefined;
18
+ readonly spec?: string | undefined;
19
+ readonly dependsOn?: readonly string[] | undefined;
20
+ };
21
+ readonly publish?: {
22
+ readonly buildCommand?: string | undefined;
23
+ readonly outputDirectory?: string | undefined;
24
+ readonly assetBaseUrl?: string | undefined;
25
+ } | undefined;
26
+ };
27
+ export default _default;
28
+ //# sourceMappingURL=dx.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dx.config.d.ts","sourceRoot":"","sources":["../../dx.config.ts"],"names":[],"mappings":""}
@@ -1,200 +1,12 @@
1
1
  import { Capability } from '@dxos/app-framework';
2
2
  import { OperationHandlerSet } from '@dxos/compute';
3
- export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
4
- export declare const CheckAppScheme: Capability.LazyCapability<void, void, Error>;
5
- export declare const NotificationTracker: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<null>>, Error>;
3
+ export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
4
+ export declare const CheckAppScheme: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
5
+ export declare const NotificationTracker: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
6
6
  export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
7
- export declare const ReactRoot: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
8
- id: string;
9
- root: import("react").FC<import("react").PropsWithChildren>;
10
- }>>>, Error>;
11
- export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
12
- export declare const DeckSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types/Settings").Settings, import("../types/Settings").Settings>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
13
- export declare const DeckState: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
14
- sidebarState: "closed" | "collapsed" | "expanded";
15
- complementarySidebarState: "closed" | "collapsed" | "expanded";
16
- complementarySidebarPanel?: string | undefined;
17
- activeDeck: string;
18
- previousDeck: string;
19
- decks: {
20
- [x: string]: {
21
- initialized: boolean;
22
- active: string[];
23
- inactive: string[];
24
- solo?: string | undefined;
25
- fullscreen: boolean;
26
- plankSizing: {
27
- [x: string]: number;
28
- };
29
- companionOpen: boolean;
30
- companionVariant?: string | undefined;
31
- companionFrameSizing: {
32
- [x: string]: number;
33
- };
34
- };
35
- };
36
- previousMode: {
37
- [x: string]: "multi" | "solo" | "solo--fullscreen";
38
- };
39
- }, {
40
- sidebarState: "closed" | "collapsed" | "expanded";
41
- complementarySidebarState: "closed" | "collapsed" | "expanded";
42
- complementarySidebarPanel?: string | undefined;
43
- activeDeck: string;
44
- previousDeck: string;
45
- decks: {
46
- [x: string]: {
47
- initialized: boolean;
48
- active: string[];
49
- inactive: string[];
50
- solo?: string | undefined;
51
- fullscreen: boolean;
52
- plankSizing: {
53
- [x: string]: number;
54
- };
55
- companionOpen: boolean;
56
- companionVariant?: string | undefined;
57
- companionFrameSizing: {
58
- [x: string]: number;
59
- };
60
- };
61
- };
62
- previousMode: {
63
- [x: string]: "multi" | "solo" | "solo--fullscreen";
64
- };
65
- }>>>, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
66
- dialogOpen: boolean;
67
- dialogType?: "alert" | "default" | undefined;
68
- dialogBlockAlign?: "center" | "end" | "start" | undefined;
69
- dialogOverlayClasses?: string | undefined;
70
- dialogOverlayStyle?: {
71
- readonly [x: string]: any;
72
- } | undefined;
73
- dialogContent: {
74
- readonly component: string;
75
- readonly props?: any;
76
- } | null;
77
- popoverOpen: boolean;
78
- popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
79
- popoverAnchor?: any;
80
- popoverAnchorId?: string | undefined;
81
- popoverKind?: "base" | "card" | undefined;
82
- popoverTitle?: string | [string, {
83
- ns: string | readonly string[];
84
- count?: number | undefined;
85
- defaultValue?: string | undefined;
86
- }] | undefined;
87
- popoverContentRef?: string | undefined;
88
- popoverContent: {
89
- readonly component: string;
90
- readonly props?: any;
91
- } | {
92
- readonly subject: any;
93
- } | null;
94
- toasts: {
95
- readonly id: string;
96
- readonly title?: string | [string, {
97
- ns: string | readonly string[];
98
- count?: number | undefined;
99
- defaultValue?: string | undefined;
100
- }] | undefined;
101
- readonly description?: string | [string, {
102
- ns: string | readonly string[];
103
- count?: number | undefined;
104
- defaultValue?: string | undefined;
105
- }] | undefined;
106
- readonly icon?: string | undefined;
107
- readonly duration?: number | undefined;
108
- readonly closeLabel?: string | [string, {
109
- ns: string | readonly string[];
110
- count?: number | undefined;
111
- defaultValue?: string | undefined;
112
- }] | undefined;
113
- readonly actionLabel?: string | [string, {
114
- ns: string | readonly string[];
115
- count?: number | undefined;
116
- defaultValue?: string | undefined;
117
- }] | undefined;
118
- readonly actionAlt?: string | [string, {
119
- ns: string | readonly string[];
120
- count?: number | undefined;
121
- defaultValue?: string | undefined;
122
- }] | undefined;
123
- readonly onAction?: any;
124
- }[];
125
- currentUndoId?: string | undefined;
126
- scrollIntoView?: string | undefined;
127
- }, {
128
- dialogOpen: boolean;
129
- dialogType?: "alert" | "default" | undefined;
130
- dialogBlockAlign?: "center" | "end" | "start" | undefined;
131
- dialogOverlayClasses?: string | undefined;
132
- dialogOverlayStyle?: {
133
- readonly [x: string]: any;
134
- } | undefined;
135
- dialogContent: {
136
- readonly component: string;
137
- readonly props?: any;
138
- } | null;
139
- popoverOpen: boolean;
140
- popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
141
- popoverAnchor?: any;
142
- popoverAnchorId?: string | undefined;
143
- popoverKind?: "base" | "card" | undefined;
144
- popoverTitle?: string | [string, {
145
- ns: string | readonly string[];
146
- count?: number | undefined;
147
- defaultValue?: string | undefined;
148
- }] | undefined;
149
- popoverContentRef?: string | undefined;
150
- popoverContent: {
151
- readonly component: string;
152
- readonly props?: any;
153
- } | {
154
- readonly subject: any;
155
- } | null;
156
- toasts: {
157
- readonly id: string;
158
- readonly title?: string | [string, {
159
- ns: string | readonly string[];
160
- count?: number | undefined;
161
- defaultValue?: string | undefined;
162
- }] | undefined;
163
- readonly description?: string | [string, {
164
- ns: string | readonly string[];
165
- count?: number | undefined;
166
- defaultValue?: string | undefined;
167
- }] | undefined;
168
- readonly icon?: string | undefined;
169
- readonly duration?: number | undefined;
170
- readonly closeLabel?: string | [string, {
171
- ns: string | readonly string[];
172
- count?: number | undefined;
173
- defaultValue?: string | undefined;
174
- }] | undefined;
175
- readonly actionLabel?: string | [string, {
176
- ns: string | readonly string[];
177
- count?: number | undefined;
178
- defaultValue?: string | undefined;
179
- }] | undefined;
180
- readonly actionAlt?: string | [string, {
181
- ns: string | readonly string[];
182
- count?: number | undefined;
183
- defaultValue?: string | undefined;
184
- }] | undefined;
185
- readonly onAction?: any;
186
- }[];
187
- currentUndoId?: string | undefined;
188
- scrollIntoView?: string | undefined;
189
- }>>>, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Atom<Readonly<{
190
- mode: string;
191
- dialogOpen: boolean;
192
- sidebarOpen: boolean;
193
- complementarySidebarOpen: boolean;
194
- workspace: string;
195
- active: string[];
196
- inactive: string[];
197
- scrollIntoView: string | undefined;
198
- }>>>>], Error>;
199
- export declare const UrlHandler: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<null>>, Error>;
7
+ export declare const ReactRoot: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
8
+ export declare const ReactSurface: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
9
+ export declare const DeckSettings: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
10
+ export declare const DeckState: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
11
+ export declare const UrlHandler: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
200
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,cAAc,8CAAwE,CAAC;AACpG,eAAO,MAAM,mBAAmB,8FAAiF,CAAC;AAClH,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,SAAS;;;YAA6D,CAAC;AACpF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,YAAY,uTAA8D,CAAC;AACxF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAwD,CAAC;AAC/E,eAAO,MAAM,UAAU,8FAA+D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,eAAe,iEAA0E,CAAC;AACvG,eAAO,MAAM,cAAc,iEAAwE,CAAC;AACpG,eAAO,MAAM,mBAAmB,iEAAiF,CAAC;AAClH,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,SAAS,iEAA6D,CAAC;AACpF,eAAO,MAAM,YAAY,iEAAmE,CAAC;AAC7F,eAAO,MAAM,YAAY,iEAA8D,CAAC;AACxF,eAAO,MAAM,SAAS,iEAAwD,CAAC;AAC/E,eAAO,MAAM,UAAU,iEAA+D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as Effect from 'effect/Effect';
2
- import { Capabilities, Capability } from '@dxos/app-framework';
3
- declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
2
+ import { Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<any>>, never, never>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -69,7 +69,7 @@ declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Ca
69
69
  popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
70
70
  popoverAnchor?: any;
71
71
  popoverAnchorId?: string | undefined;
72
- popoverKind?: "base" | "card" | undefined;
72
+ popoverKind?: "base" | "card" | "rename" | undefined;
73
73
  popoverTitle?: string | [string, {
74
74
  ns: string | readonly string[];
75
75
  count?: number | undefined;
@@ -131,7 +131,7 @@ declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Ca
131
131
  popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
132
132
  popoverAnchor?: any;
133
133
  popoverAnchorId?: string | undefined;
134
- popoverKind?: "base" | "card" | undefined;
134
+ popoverKind?: "base" | "card" | "rename" | undefined;
135
135
  popoverTitle?: string | [string, {
136
136
  ns: string | readonly string[];
137
137
  count?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Matrix.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Matrix/Matrix.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAiD,MAAM,OAAO,CAAC;AAyBtE,OAAO,EAAiC,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AA+F/E,KAAK,iBAAiB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;AA8DvD,QAAA,MAAM,IAAI;;0BA5DsB,iBAAiB;;;QAiE7C,MAAM;;CAEuB,CAAC;eAEnB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC"}
1
+ {"version":3,"file":"Matrix.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Matrix/Matrix.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAiD,MAAM,OAAO,CAAC;AA0BtE,OAAO,EAAiC,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AA+F/E,KAAK,iBAAiB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;AA8DvD,QAAA,MAAM,IAAI;;0BA5DsB,iBAAiB;;;QAiE7C,MAAM;;CAEuB,CAAC;eAEnB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAOtE,eAAO,MAAM,MAAM,4BAA6B,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBA0BlG,CAAC"}
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAQtE,eAAO,MAAM,MAAM,4BAA6B,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBAyBlG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DeckViewport.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/DeckViewport.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAGZ,KAAK,iBAAiB,EAMvB,MAAM,OAAO,CAAC;AAgCf,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;qCAKrB,EAAE,QAAQ,EAAE,EAAE,iBAAiB;;;;AAkD5D,eAAO,MAAM,gBAAgB,yBAW5B,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,YAAY,yBA8CxB,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,aAAa,yBAsFzB,CAAC"}
1
+ {"version":3,"file":"DeckViewport.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/DeckViewport.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAGZ,KAAK,iBAAiB,EAMvB,MAAM,OAAO,CAAC;AA+Bf,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;qCAKrB,EAAE,QAAQ,EAAE,EAAE,iBAAiB;;;;AAkD5D,eAAO,MAAM,gBAAgB,yBAW5B,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,YAAY,yBA8CxB,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,aAAa,yBAsFzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/StatusBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS,kBAAmB;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBAY/D,CAAC"}
1
+ {"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/StatusBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,SAAS,kBAAmB;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBAY/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DeckLayout.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckLayout/DeckLayout.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAuVnD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcyB,CAAC;eAErB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
1
+ {"version":3,"file":"DeckLayout.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckLayout/DeckLayout.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAoVnD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcyB,CAAC;eAErB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckLayout/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AA0BhG,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,eAAO,MAAM,WAAW,iBAAkB,gBAAgB,sBA+BzD,CAAC;AAEF,eAAO,MAAM,cAAc,yBAmG1B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckLayout/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AA4BhG,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,eAAO,MAAM,WAAW,iBAAkB,gBAAgB,sBAkCzD,CAAC;AAEF,eAAO,MAAM,cAAc,yBA+G1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAIhG,OAAO,EAAS,KAAK,IAAI,EAAmB,MAAM,oBAAoB,CAAC;AAGvE,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAO5E,OAAO,EAAE,KAAK,UAAU,EAAwB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAOlF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,YAAY,6LAgBpB,iBAAiB,uBAkLrB,CAAC"}
1
+ {"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAIhG,OAAO,EAAS,KAAK,IAAI,EAAmB,MAAM,oBAAoB,CAAC;AAGvE,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAM5E,OAAO,EAAE,KAAK,UAAU,EAAwB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAOlF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,YAAY,6LAgBpB,iBAAiB,uBAkLrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAC;AAmB1F,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,sBAqH1E,CAAC"}
1
+ {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAC;AAoB1F,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,sBAqH1E,CAAC"}
@@ -1,3 +1,29 @@
1
- import { Plugin } from '@dxos/app-framework';
2
- export declare const meta: Plugin.Meta;
1
+ export declare const meta: {
2
+ readonly profile: {
3
+ readonly key: string;
4
+ readonly name: string;
5
+ readonly description?: string | undefined;
6
+ readonly homePage?: string | undefined;
7
+ readonly source?: string | undefined;
8
+ readonly tags?: readonly string[] | undefined;
9
+ readonly screenshots?: readonly {
10
+ readonly light?: string | undefined;
11
+ readonly dark?: string | undefined;
12
+ }[] | undefined;
13
+ readonly icon?: {
14
+ readonly key: string;
15
+ readonly hue?: string | undefined;
16
+ } | undefined;
17
+ readonly dependsOn?: readonly string[] | undefined;
18
+ readonly spec?: string | undefined;
19
+ readonly author?: string | undefined;
20
+ };
21
+ readonly release?: {
22
+ readonly version: string;
23
+ readonly moduleUrl: string;
24
+ readonly dependencies?: {
25
+ readonly [x: string]: string;
26
+ } | undefined;
27
+ } | undefined;
28
+ };
3
29
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,IAAI,aAyBf,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,eAAe,EAIhB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAc1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,IAAI,CAyK/D,CAAC;eAEa,OAAO"}
1
+ {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAQA,OAAO,EAAmB,eAAe,EAAY,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAc1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,IAAI,CAiL/D,CAAC;eAEa,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"switch-workspace.d.ts","sourceRoot":"","sources":["../../../../src/operations/switch-workspace.ts"],"names":[],"mappings":"AAOA,OAAO,EAAsC,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CAiD1E,CAAC;eAEa,OAAO"}
1
+ {"version":3,"file":"switch-workspace.d.ts","sourceRoot":"","sources":["../../../../src/operations/switch-workspace.ts"],"names":[],"mappings":"AAOA,OAAO,EAAmB,eAAe,EAAS,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CAiD1E,CAAC;eAEa,OAAO"}
@@ -74,7 +74,7 @@ export declare const EphemeralState: Capability.InterfaceDef<Atom.Writable<{
74
74
  popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
75
75
  popoverAnchor?: any;
76
76
  popoverAnchorId?: string | undefined;
77
- popoverKind?: "base" | "card" | undefined;
77
+ popoverKind?: "base" | "card" | "rename" | undefined;
78
78
  popoverTitle?: string | [string, {
79
79
  ns: string | readonly string[];
80
80
  count?: number | undefined;
@@ -136,7 +136,7 @@ export declare const EphemeralState: Capability.InterfaceDef<Atom.Writable<{
136
136
  popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
137
137
  popoverAnchor?: any;
138
138
  popoverAnchorId?: string | undefined;
139
- popoverKind?: "base" | "card" | undefined;
139
+ popoverKind?: "base" | "card" | "rename" | undefined;
140
140
  popoverTitle?: string | [string, {
141
141
  ns: string | readonly string[];
142
142
  count?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"DeckCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/DeckCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAK/D,OAAO,EAA2B,KAAK,SAAS,EAAwB,MAAM,UAAU,CAAC;AAEzF,eAAO,MAAM,QAAQ,sGAAkG,CAAC;AAExH,oDAAoD;AACpD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiF,CAAC;AAEpG,iDAAiD;AACjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAE1B,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,OAAO,QAAO,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,CAMzE,CAAC"}
1
+ {"version":3,"file":"DeckCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/DeckCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAK/D,OAAO,EAA2B,KAAK,SAAS,EAAwB,MAAM,UAAU,CAAC;AAEzF,eAAO,MAAM,QAAQ,sGAEpB,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0F,CAAC;AAE7G,iDAAiD;AACjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAE1B,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,OAAO,QAAO,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,CAMzE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './schema';
2
+ export * from './surface';
2
3
  export * as DeckCapabilities from './DeckCapabilities';
3
4
  export * as DeckEvents from './DeckEvents';
4
5
  export * as DeckOperation from './DeckOperation';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AAEzB,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAE1B,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}