@dxos/plugin-deck 0.7.5-main.e9bb01b → 0.7.5-staging.2ff1350
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.
- package/dist/lib/browser/{app-graph-builder-CI6ZFMNL.mjs → app-graph-builder-IYHAGFA3.mjs} +6 -2
- package/dist/lib/browser/{app-graph-builder-CI6ZFMNL.mjs.map → app-graph-builder-IYHAGFA3.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-YQ2GWTDU.mjs → chunk-22AQ5IVX.mjs} +1 -1
- package/dist/lib/browser/{chunk-YQ2GWTDU.mjs.map → chunk-22AQ5IVX.mjs.map} +2 -2
- package/dist/lib/browser/chunk-AOAWF7JV.mjs +24 -0
- package/dist/lib/browser/{chunk-NYZJCVAU.mjs.map → chunk-AOAWF7JV.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-M2L53AIH.mjs → chunk-CYE6QZBQ.mjs} +4 -2
- package/dist/lib/browser/chunk-CYE6QZBQ.mjs.map +7 -0
- package/dist/lib/browser/{chunk-WXNLVMK2.mjs → chunk-DIXE74SK.mjs} +95 -117
- package/dist/lib/browser/chunk-DIXE74SK.mjs.map +7 -0
- package/dist/lib/browser/chunk-KANJBSIX.mjs +97 -0
- package/dist/lib/browser/chunk-KANJBSIX.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +18 -5
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-CSXFDKTC.mjs → intent-resolver-MWUADUNI.mjs} +42 -48
- package/dist/lib/browser/intent-resolver-MWUADUNI.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-ECDQZYQT.mjs → react-root-XCWQYEOK.mjs} +7 -8
- package/dist/lib/browser/react-root-XCWQYEOK.mjs.map +7 -0
- package/dist/lib/browser/{react-surface-4WIQZW2S.mjs → react-surface-IU3LLZDI.mjs} +6 -5
- package/dist/lib/browser/{react-surface-4WIQZW2S.mjs.map → react-surface-IU3LLZDI.mjs.map} +1 -1
- package/dist/lib/browser/{settings-WACNLCPB.mjs → settings-YONG3QB7.mjs} +2 -2
- package/dist/lib/browser/{state-VPOYUKK6.mjs → state-MZZL5S2D.mjs} +11 -4
- package/dist/lib/browser/state-MZZL5S2D.mjs.map +7 -0
- package/dist/lib/browser/tools-5LDJNU56.mjs +51 -0
- package/dist/lib/browser/tools-5LDJNU56.mjs.map +7 -0
- package/dist/lib/browser/types.mjs +1 -1
- package/dist/lib/browser/{url-handler-HLF42IHP.mjs → url-handler-BIEBKATX.mjs} +5 -5
- package/dist/lib/browser/{url-handler-HLF42IHP.mjs.map → url-handler-BIEBKATX.mjs.map} +3 -3
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts +8 -8
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +1 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +4 -1
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/tools.d.ts +10 -0
- package/dist/types/src/capabilities/tools.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/ActiveNode.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/ActiveNode.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Banner.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/ComplementarySidebar.d.ts +1 -4
- package/dist/types/src/components/DeckLayout/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -4
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Fallback.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Fallback.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Fullscreen.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Fullscreen.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/NodePlankHeading.d.ts +1 -1
- package/dist/types/src/components/DeckLayout/NodePlankHeading.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Plank.d.ts +1 -1
- package/dist/types/src/components/DeckLayout/Plank.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/PlankError.d.ts +2 -3
- package/dist/types/src/components/DeckLayout/PlankError.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/PlankLoading.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/PlankLoading.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Sidebar.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Sidebar.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/SidebarButton.d.ts +3 -4
- package/dist/types/src/components/DeckLayout/SidebarButton.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/StatusBar.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/StatusBar.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Toast.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Topbar.d.ts +1 -2
- package/dist/types/src/components/DeckLayout/Topbar.d.ts.map +1 -1
- package/dist/types/src/components/LayoutSettings.d.ts +1 -2
- package/dist/types/src/components/LayoutSettings.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +1 -0
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/hooks/useNode.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +5 -1
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/src/util/index.d.ts +1 -0
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/src/util/set-active.d.ts.map +1 -0
- package/dist/types/src/util/useHoistStatusbar.d.ts.map +1 -1
- package/package.json +31 -30
- package/src/DeckPlugin.ts +14 -4
- package/src/capabilities/app-graph-builder.ts +4 -0
- package/src/capabilities/capabilities.ts +3 -6
- package/src/capabilities/index.ts +1 -0
- package/src/capabilities/intent-resolver.ts +26 -8
- package/src/capabilities/react-root.tsx +1 -3
- package/src/capabilities/state.ts +6 -1
- package/src/capabilities/tools.ts +61 -0
- package/src/capabilities/url-handler.ts +3 -3
- package/src/components/DeckLayout/ComplementarySidebar.tsx +33 -23
- package/src/components/DeckLayout/DeckLayout.tsx +41 -26
- package/src/components/DeckLayout/Plank.tsx +4 -3
- package/src/components/DeckLayout/PlankControls.tsx +1 -1
- package/src/events.ts +1 -0
- package/src/hooks/useNode.ts +3 -1
- package/src/layout.ts +1 -1
- package/src/types.ts +10 -3
- package/src/util/index.ts +1 -0
- package/src/{capabilities → util}/set-active.ts +4 -0
- package/src/util/useHoistStatusbar.ts +4 -8
- package/dist/lib/browser/chunk-M2L53AIH.mjs.map +0 -7
- package/dist/lib/browser/chunk-NYZJCVAU.mjs +0 -22
- package/dist/lib/browser/chunk-WXNLVMK2.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-CSXFDKTC.mjs.map +0 -7
- package/dist/lib/browser/react-root-ECDQZYQT.mjs.map +0 -7
- package/dist/lib/browser/state-VPOYUKK6.mjs.map +0 -7
- package/dist/types/src/capabilities/set-active.d.ts.map +0 -1
- /package/dist/lib/browser/{settings-WACNLCPB.mjs.map → settings-YONG3QB7.mjs.map} +0 -0
- /package/dist/types/src/{capabilities → util}/set-active.d.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/tools.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport {\n contributes,\n createIntent,\n Capabilities,\n LayoutAction,\n type PromiseIntentDispatcher,\n} from '@dxos/app-framework';\nimport { defineTool, ToolResult } from '@dxos/artifact';\nimport { S } from '@dxos/echo-schema';\nimport { invariant } from '@dxos/invariant';\n\n// TODO(burdon): Factor out.\ndeclare global {\n interface ToolContextExtensions {\n dispatch?: PromiseIntentDispatcher;\n pivotId?: string;\n }\n}\n\nexport default () =>\n contributes(Capabilities.Tools, [\n defineTool({\n name: 'show',\n // TODO(ZaymonFC): We should update the prompt to teach the LLM the difference between object ids and fully qualified ids.\n description:\n 'Show an item in the app. Use this tool to open an artifact. When supplying IDs to show, they must be fully qualified like space:object.',\n // TODO(wittjosiah): Refactor Layout/Navigation/Deck actions so that they can be used directly.\n schema: S.Struct({\n id: S.String.annotations({\n description: 'The ID of the item to show.',\n }),\n pivotId: S.optional(\n S.String.annotations({\n description: 'The ID of the chat. If provided, the item will be added after the pivot item.',\n }),\n ),\n }),\n execute: async ({ id }, { extensions }) => {\n invariant(extensions?.dispatch, 'No intent dispatcher');\n const { data, error } = await extensions.dispatch(\n createIntent(LayoutAction.Open, {\n subject: [id],\n part: 'main',\n options: {\n pivotId: extensions.pivotId,\n positioning: 'end',\n },\n }),\n );\n if (error) {\n return ToolResult.Error(error.message);\n }\n\n return ToolResult.Success(data);\n },\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";AAIA,SACEA,aACAC,cACAC,cACAC,oBAEK;AACP,SAASC,YAAYC,kBAAkB;AACvC,SAASC,SAAS;AAClB,SAASC,iBAAiB;;AAU1B,IAAA,gBAAe,MACbP,YAAYE,aAAaM,OAAO;EAC9BJ,WAAW;IACTK,MAAM;;IAENC,aACE;;IAEFC,QAAQL,EAAEM,OAAO;MACfC,IAAIP,EAAEQ,OAAOC,YAAY;QACvBL,aAAa;MACf,CAAA;MACAM,SAASV,EAAEW,SACTX,EAAEQ,OAAOC,YAAY;QACnBL,aAAa;MACf,CAAA,CAAA;IAEJ,CAAA;IACAQ,SAAS,OAAO,EAAEL,GAAE,GAAI,EAAEM,WAAU,MAAE;AACpCZ,gBAAUY,YAAYC,UAAU,wBAAA;;;;;;;;;AAChC,YAAM,EAAEC,MAAMC,MAAK,IAAK,MAAMH,WAAWC,SACvCnB,aAAaE,aAAaoB,MAAM;QAC9BC,SAAS;UAACX;;QACVY,MAAM;QACNC,SAAS;UACPV,SAASG,WAAWH;UACpBW,aAAa;QACf;MACF,CAAA,CAAA;AAEF,UAAIL,OAAO;AACT,eAAOjB,WAAWuB,MAAMN,MAAMO,OAAO;MACvC;AAEA,aAAOxB,WAAWyB,QAAQT,IAAAA;IAC5B;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["contributes", "createIntent", "Capabilities", "LayoutAction", "defineTool", "ToolResult", "S", "invariant", "Tools", "name", "description", "schema", "Struct", "id", "String", "annotations", "pivotId", "optional", "execute", "extensions", "dispatch", "data", "error", "Open", "subject", "part", "options", "positioning", "Error", "message", "Success"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeckCapabilities
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-22AQ5IVX.mjs";
|
|
4
4
|
import "./chunk-N7TEPFVR.mjs";
|
|
5
5
|
|
|
6
6
|
// packages/plugins/plugin-deck/src/capabilities/url-handler.ts
|
|
@@ -27,13 +27,13 @@ var url_handler_default = async (context) => {
|
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
29
|
const [_, nextDeck, nextSolo] = pathname.split("/");
|
|
30
|
-
if (nextDeck) {
|
|
30
|
+
if (nextDeck && nextDeck !== state.activeDeck) {
|
|
31
31
|
await dispatch(createIntent(LayoutAction.SwitchWorkspace, {
|
|
32
32
|
part: "workspace",
|
|
33
33
|
subject: nextDeck
|
|
34
34
|
}));
|
|
35
35
|
}
|
|
36
|
-
if (nextSolo) {
|
|
36
|
+
if (nextSolo && nextSolo !== state.deck.solo) {
|
|
37
37
|
await dispatch(createIntent(LayoutAction.SetLayoutMode, {
|
|
38
38
|
part: "mode",
|
|
39
39
|
subject: nextSolo,
|
|
@@ -41,7 +41,7 @@ var url_handler_default = async (context) => {
|
|
|
41
41
|
mode: "solo"
|
|
42
42
|
}
|
|
43
43
|
}));
|
|
44
|
-
} else {
|
|
44
|
+
} else if (!nextSolo && state.deck.solo) {
|
|
45
45
|
await dispatch(createIntent(LayoutAction.SetLayoutMode, {
|
|
46
46
|
part: "mode",
|
|
47
47
|
options: {
|
|
@@ -67,4 +67,4 @@ var url_handler_default = async (context) => {
|
|
|
67
67
|
export {
|
|
68
68
|
url_handler_default as default
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=url-handler-
|
|
70
|
+
//# sourceMappingURL=url-handler-BIEBKATX.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/capabilities/url-handler.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes, createIntent, LayoutAction, type PluginsContext } from '@dxos/app-framework';\nimport { scheduledEffect } from '@dxos/echo-signals/core';\n\nimport { DeckCapabilities } from './capabilities';\n\n// TODO(wittjosiah): Cleanup the url handling. May justify introducing routing capabilities.\nexport default async (context: PluginsContext) => {\n const { dispatchPromise: dispatch } = context.requestCapability(Capabilities.IntentDispatcher) ?? {};\n const state = context.requestCapability(DeckCapabilities.MutableDeckState);\n\n const handleNavigation = async () => {\n const pathname = window.location.pathname;\n if (pathname === '/reset') {\n state.activeDeck = 'default';\n state.decks = {\n default: {\n initialized: false,\n active: [],\n inactive: [],\n fullscreen: false,\n solo: undefined,\n plankSizing: {},\n },\n };\n window.location.pathname = '/';\n return;\n }\n\n const [_, nextDeck, nextSolo] = pathname.split('/');\n if (nextDeck) {\n await dispatch(createIntent(LayoutAction.SwitchWorkspace, { part: 'workspace', subject: nextDeck }));\n }\n\n if (nextSolo) {\n await dispatch(\n createIntent(LayoutAction.SetLayoutMode, { part: 'mode', subject: nextSolo, options: { mode: 'solo' } }),\n );\n } else {\n await dispatch(createIntent(LayoutAction.SetLayoutMode, { part: 'mode', options: { mode: 'deck' } }));\n }\n };\n\n await handleNavigation();\n window.addEventListener('popstate', handleNavigation);\n\n const unsubscribe = scheduledEffect(\n () => ({ solo: state.deck.solo, activeDeck: state.activeDeck }),\n ({ solo, activeDeck }) => {\n const path = solo ? `/${activeDeck}/${solo}` : `/${activeDeck}`;\n // TODO(thure): In some browsers, this only preserves the most recent state change, even though this is not `history.replace`…\n history.pushState(null, '', `${path}${window.location.search}`);\n },\n );\n\n return contributes(Capabilities.Null, null, () => {\n window.removeEventListener('popstate', handleNavigation);\n unsubscribe();\n });\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;AAIA,SAASA,cAAcC,aAAaC,cAAcC,oBAAyC;AAC3F,SAASC,uBAAuB;AAKhC,IAAA,sBAAe,OAAOC,YAAAA;AACpB,QAAM,EAAEC,iBAAiBC,SAAQ,IAAKF,QAAQG,kBAAkBC,aAAaC,gBAAgB,KAAK,CAAC;AACnG,QAAMC,QAAQN,QAAQG,kBAAkBI,iBAAiBC,gBAAgB;AAEzE,QAAMC,mBAAmB,YAAA;AACvB,UAAMC,WAAWC,OAAOC,SAASF;AACjC,QAAIA,aAAa,UAAU;AACzBJ,YAAMO,aAAa;AACnBP,YAAMQ,QAAQ;QACZC,SAAS;UACPC,aAAa;UACbC,QAAQ,CAAA;UACRC,UAAU,CAAA;UACVC,YAAY;UACZC,MAAMC;UACNC,aAAa,CAAC;QAChB;MACF;AACAX,aAAOC,SAASF,WAAW;AAC3B;IACF;AAEA,UAAM,CAACa,GAAGC,UAAUC,QAAAA,IAAYf,SAASgB,MAAM,GAAA;AAC/C,QAAIF,
|
|
6
|
-
"names": ["Capabilities", "contributes", "createIntent", "LayoutAction", "scheduledEffect", "context", "dispatchPromise", "dispatch", "requestCapability", "Capabilities", "IntentDispatcher", "state", "DeckCapabilities", "MutableDeckState", "handleNavigation", "pathname", "window", "location", "activeDeck", "decks", "default", "initialized", "active", "inactive", "fullscreen", "solo", "undefined", "plankSizing", "_", "nextDeck", "nextSolo", "split", "createIntent", "LayoutAction", "SwitchWorkspace", "part", "subject", "SetLayoutMode", "options", "mode", "addEventListener", "unsubscribe", "scheduledEffect", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes, createIntent, LayoutAction, type PluginsContext } from '@dxos/app-framework';\nimport { scheduledEffect } from '@dxos/echo-signals/core';\n\nimport { DeckCapabilities } from './capabilities';\n\n// TODO(wittjosiah): Cleanup the url handling. May justify introducing routing capabilities.\nexport default async (context: PluginsContext) => {\n const { dispatchPromise: dispatch } = context.requestCapability(Capabilities.IntentDispatcher) ?? {};\n const state = context.requestCapability(DeckCapabilities.MutableDeckState);\n\n const handleNavigation = async () => {\n const pathname = window.location.pathname;\n if (pathname === '/reset') {\n state.activeDeck = 'default';\n state.decks = {\n default: {\n initialized: false,\n active: [],\n inactive: [],\n fullscreen: false,\n solo: undefined,\n plankSizing: {},\n },\n };\n window.location.pathname = '/';\n return;\n }\n\n const [_, nextDeck, nextSolo] = pathname.split('/');\n if (nextDeck && nextDeck !== state.activeDeck) {\n await dispatch(createIntent(LayoutAction.SwitchWorkspace, { part: 'workspace', subject: nextDeck }));\n }\n\n if (nextSolo && nextSolo !== state.deck.solo) {\n await dispatch(\n createIntent(LayoutAction.SetLayoutMode, { part: 'mode', subject: nextSolo, options: { mode: 'solo' } }),\n );\n } else if (!nextSolo && state.deck.solo) {\n await dispatch(createIntent(LayoutAction.SetLayoutMode, { part: 'mode', options: { mode: 'deck' } }));\n }\n };\n\n await handleNavigation();\n window.addEventListener('popstate', handleNavigation);\n\n const unsubscribe = scheduledEffect(\n () => ({ solo: state.deck.solo, activeDeck: state.activeDeck }),\n ({ solo, activeDeck }) => {\n const path = solo ? `/${activeDeck}/${solo}` : `/${activeDeck}`;\n // TODO(thure): In some browsers, this only preserves the most recent state change, even though this is not `history.replace`…\n history.pushState(null, '', `${path}${window.location.search}`);\n },\n );\n\n return contributes(Capabilities.Null, null, () => {\n window.removeEventListener('popstate', handleNavigation);\n unsubscribe();\n });\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;AAIA,SAASA,cAAcC,aAAaC,cAAcC,oBAAyC;AAC3F,SAASC,uBAAuB;AAKhC,IAAA,sBAAe,OAAOC,YAAAA;AACpB,QAAM,EAAEC,iBAAiBC,SAAQ,IAAKF,QAAQG,kBAAkBC,aAAaC,gBAAgB,KAAK,CAAC;AACnG,QAAMC,QAAQN,QAAQG,kBAAkBI,iBAAiBC,gBAAgB;AAEzE,QAAMC,mBAAmB,YAAA;AACvB,UAAMC,WAAWC,OAAOC,SAASF;AACjC,QAAIA,aAAa,UAAU;AACzBJ,YAAMO,aAAa;AACnBP,YAAMQ,QAAQ;QACZC,SAAS;UACPC,aAAa;UACbC,QAAQ,CAAA;UACRC,UAAU,CAAA;UACVC,YAAY;UACZC,MAAMC;UACNC,aAAa,CAAC;QAChB;MACF;AACAX,aAAOC,SAASF,WAAW;AAC3B;IACF;AAEA,UAAM,CAACa,GAAGC,UAAUC,QAAAA,IAAYf,SAASgB,MAAM,GAAA;AAC/C,QAAIF,YAAYA,aAAalB,MAAMO,YAAY;AAC7C,YAAMX,SAASyB,aAAaC,aAAaC,iBAAiB;QAAEC,MAAM;QAAaC,SAASP;MAAS,CAAA,CAAA;IACnG;AAEA,QAAIC,YAAYA,aAAanB,MAAM0B,KAAKZ,MAAM;AAC5C,YAAMlB,SACJyB,aAAaC,aAAaK,eAAe;QAAEH,MAAM;QAAQC,SAASN;QAAUS,SAAS;UAAEC,MAAM;QAAO;MAAE,CAAA,CAAA;IAE1G,WAAW,CAACV,YAAYnB,MAAM0B,KAAKZ,MAAM;AACvC,YAAMlB,SAASyB,aAAaC,aAAaK,eAAe;QAAEH,MAAM;QAAQI,SAAS;UAAEC,MAAM;QAAO;MAAE,CAAA,CAAA;IACpG;EACF;AAEA,QAAM1B,iBAAAA;AACNE,SAAOyB,iBAAiB,YAAY3B,gBAAAA;AAEpC,QAAM4B,cAAcC,gBAClB,OAAO;IAAElB,MAAMd,MAAM0B,KAAKZ;IAAMP,YAAYP,MAAMO;EAAW,IAC7D,CAAC,EAAEO,MAAMP,WAAU,MAAE;AACnB,UAAM0B,OAAOnB,OAAO,IAAIP,UAAAA,IAAcO,IAAAA,KAAS,IAAIP,UAAAA;AAEnD2B,YAAQC,UAAU,MAAM,IAAI,GAAGF,IAAAA,GAAO5B,OAAOC,SAAS8B,MAAM,EAAE;EAChE,CAAA;AAGF,SAAOC,YAAYvC,aAAawC,MAAM,MAAM,MAAA;AAC1CjC,WAAOkC,oBAAoB,YAAYpC,gBAAAA;AACvC4B,gBAAAA;EACF,CAAA;AACF;",
|
|
6
|
+
"names": ["Capabilities", "contributes", "createIntent", "LayoutAction", "scheduledEffect", "context", "dispatchPromise", "dispatch", "requestCapability", "Capabilities", "IntentDispatcher", "state", "DeckCapabilities", "MutableDeckState", "handleNavigation", "pathname", "window", "location", "activeDeck", "decks", "default", "initialized", "active", "inactive", "fullscreen", "solo", "undefined", "plankSizing", "_", "nextDeck", "nextSolo", "split", "createIntent", "LayoutAction", "SwitchWorkspace", "part", "subject", "deck", "SetLayoutMode", "options", "mode", "addEventListener", "unsubscribe", "scheduledEffect", "path", "history", "pushState", "search", "contributes", "Null", "removeEventListener"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckPlugin.d.ts","sourceRoot":"","sources":["../../../src/DeckPlugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeckPlugin.d.ts","sourceRoot":"","sources":["../../../src/DeckPlugin.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,UAAU,4CAyDnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjH,OAAO,EAAmB,KAAK,IAAI,EAAW,MAAM,oBAAoB,CAAC;kCAKhD,cAAc;;
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjH,OAAO,EAAmB,KAAK,IAAI,EAAW,MAAM,oBAAoB,CAAC;kCAKhD,cAAc;;qBA2E7B,qCAGI;sBACM,oBAAiB;uBAEzB,oBAAI;sBAAgD,oBAAiB;;2BAGlE,uCACJ;;;qBAAqF,qCACpF;sBAEA,oBAAK;uBACO,oBACV;sBAEE,oBAAiB;;2BAGvB,uCACN;;;qBAE4E,qCAE9E;sBAEyB,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAA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ly } from '@dxos/util';
|
|
2
|
+
import { type Panel } from '../types';
|
|
3
3
|
export declare namespace DeckCapabilities {
|
|
4
4
|
const DeckState: import("@dxos/app-framework").InterfaceDef<DeepReadonly<{
|
|
5
5
|
deck: {
|
|
@@ -17,9 +17,10 @@ export declare namespace DeckCapabilities {
|
|
|
17
17
|
complementarySidebarPanel?: string | undefined;
|
|
18
18
|
dialogOpen: boolean;
|
|
19
19
|
dialogContent?: any;
|
|
20
|
-
dialogBlockAlign?: "start" | "center" | undefined;
|
|
20
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
21
21
|
dialogType?: "default" | "alert" | undefined;
|
|
22
22
|
popoverOpen: boolean;
|
|
23
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
23
24
|
popoverContent?: any;
|
|
24
25
|
popoverAnchorId?: string | undefined;
|
|
25
26
|
toasts: {
|
|
@@ -50,6 +51,7 @@ export declare namespace DeckCapabilities {
|
|
|
50
51
|
}[];
|
|
51
52
|
currentUndoId?: string | undefined;
|
|
52
53
|
activeDeck: string;
|
|
54
|
+
previousDeck: string;
|
|
53
55
|
decks: {
|
|
54
56
|
[x: string]: {
|
|
55
57
|
solo?: string | undefined;
|
|
@@ -83,9 +85,10 @@ export declare namespace DeckCapabilities {
|
|
|
83
85
|
complementarySidebarPanel?: string | undefined;
|
|
84
86
|
dialogOpen: boolean;
|
|
85
87
|
dialogContent?: any;
|
|
86
|
-
dialogBlockAlign?: "start" | "center" | undefined;
|
|
88
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
87
89
|
dialogType?: "default" | "alert" | undefined;
|
|
88
90
|
popoverOpen: boolean;
|
|
91
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
89
92
|
popoverContent?: any;
|
|
90
93
|
popoverAnchorId?: string | undefined;
|
|
91
94
|
toasts: {
|
|
@@ -116,6 +119,7 @@ export declare namespace DeckCapabilities {
|
|
|
116
119
|
}[];
|
|
117
120
|
currentUndoId?: string | undefined;
|
|
118
121
|
activeDeck: string;
|
|
122
|
+
previousDeck: string;
|
|
119
123
|
decks: {
|
|
120
124
|
[x: string]: {
|
|
121
125
|
solo?: string | undefined;
|
|
@@ -133,10 +137,6 @@ export declare namespace DeckCapabilities {
|
|
|
133
137
|
};
|
|
134
138
|
scrollIntoView?: string | undefined;
|
|
135
139
|
}>;
|
|
136
|
-
const ComplementaryPanel: import("@dxos/app-framework").InterfaceDef<
|
|
137
|
-
id: string;
|
|
138
|
-
label: Label;
|
|
139
|
-
icon: string;
|
|
140
|
-
}>;
|
|
140
|
+
const ComplementaryPanel: import("@dxos/app-framework").InterfaceDef<Panel>;
|
|
141
141
|
}
|
|
142
142
|
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAkB,KAAK,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtD,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA+E,CAAC;IAC/F,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAiE,CAAC;IACxF,MAAM,kBAAkB,mDAA2E,CAAC;CAC5G"}
|
|
@@ -184,6 +184,7 @@ export declare const ReactRoot: (props?: unknown) => Promise<() => Promise<impor
|
|
|
184
184
|
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
185
185
|
export declare const DeckSettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.Settings> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
186
186
|
export declare const DeckState: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").AnyCapability[] | import("@dxos/app-framework").Capability<unknown>>>;
|
|
187
|
+
export declare const Tools: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("packages/experimental/artifact/dist/types/src").Tool[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
187
188
|
export declare const UrlHandler: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
188
189
|
export * from './capabilities';
|
|
189
190
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;qBAW4vF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAi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;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;qFAX7hW,CAAC;AACzE,eAAO,MAAM,cAAc,8LAA2C,CAAC;AACvE,eAAO,MAAM,oBAAoB,mPAA0C,CAAC;AAC5E,eAAO,MAAM,SAAS;;;qDAAqC,CAAC;AAC5D,eAAO,MAAM,YAAY,gMAAwC,CAAC;AAClE,eAAO,MAAM,YAAY,4LAAmC,CAAC;AAC7D,eAAO,MAAM,SAAS,gJAAgC,CAAC;AACvD,eAAO,MAAM,KAAK,uMAAgC,CAAC;AACnD,eAAO,MAAM,UAAU,8LAAsC,CAAC;AAE9D,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,EAKZ,KAAK,cAAc,EAGpB,MAAM,qBAAqB,CAAC;kCAcJ,cAAc;AAAvC,
|
|
1
|
+
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,EAKZ,KAAK,cAAc,EAGpB,MAAM,qBAAqB,CAAC;kCAcJ,cAAc;AAAvC,wBAiVK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;;;;;AAS3C,
|
|
1
|
+
{"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;;;;;AAS3C,wBAgCK"}
|
|
@@ -14,9 +14,10 @@ declare const _default: () => (import("@dxos/app-framework").Capability<import("
|
|
|
14
14
|
complementarySidebarPanel?: string | undefined;
|
|
15
15
|
dialogOpen: boolean;
|
|
16
16
|
dialogContent?: any;
|
|
17
|
-
dialogBlockAlign?: "start" | "center" | undefined;
|
|
17
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
18
18
|
dialogType?: "default" | "alert" | undefined;
|
|
19
19
|
popoverOpen: boolean;
|
|
20
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
20
21
|
popoverContent?: any;
|
|
21
22
|
popoverAnchorId?: string | undefined;
|
|
22
23
|
toasts: {
|
|
@@ -47,6 +48,7 @@ declare const _default: () => (import("@dxos/app-framework").Capability<import("
|
|
|
47
48
|
}[];
|
|
48
49
|
currentUndoId?: string | undefined;
|
|
49
50
|
activeDeck: string;
|
|
51
|
+
previousDeck: string;
|
|
50
52
|
decks: {
|
|
51
53
|
[x: string]: {
|
|
52
54
|
solo?: string | undefined;
|
|
@@ -68,6 +70,7 @@ declare const _default: () => (import("@dxos/app-framework").Capability<import("
|
|
|
68
70
|
dialogOpen: boolean;
|
|
69
71
|
sidebarOpen: boolean;
|
|
70
72
|
complementarySidebarOpen: boolean;
|
|
73
|
+
workspace: string;
|
|
71
74
|
active: string[];
|
|
72
75
|
inactive: string[];
|
|
73
76
|
scrollIntoView: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,wBA2EE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type PromiseIntentDispatcher } from '@dxos/app-framework';
|
|
2
|
+
declare global {
|
|
3
|
+
interface ToolContextExtensions {
|
|
4
|
+
dispatch?: PromiseIntentDispatcher;
|
|
5
|
+
pivotId?: string;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/artifact").Tool[]>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/tools.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAM7B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,CAAC,EAAE,uBAAuB,CAAC;QACnC,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;CACF;;AAED,wBAqCK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveNode.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ActiveNode.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActiveNode.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ActiveNode.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,UAAU,+CAatB,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
2
|
export declare const Banner: ({ variant, classNames }: ThemedClassName<{
|
|
4
3
|
variant?: "topbar" | "sidebar";
|
|
5
|
-
}>) =>
|
|
4
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKtD,eAAO,MAAM,MAAM,4BAA6B,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,4CAwBlG,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type Panel } from '../../types';
|
|
3
1
|
export type ComplementarySidebarProps = {
|
|
4
|
-
panels: Panel[];
|
|
5
2
|
current?: string;
|
|
6
3
|
};
|
|
7
|
-
export declare const ComplementarySidebar: ({
|
|
4
|
+
export declare const ComplementarySidebar: ({ current }: ComplementarySidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
5
|
//# sourceMappingURL=ComplementarySidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ComplementarySidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ComplementarySidebar.tsx"],"names":[],"mappings":"AA2BA,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,4CA6I1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY,+CAaxB,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ComplementarySidebarProps } from './ComplementarySidebar';
|
|
3
1
|
import { type Overscroll } from '../../types';
|
|
4
2
|
export type DeckLayoutProps = {
|
|
5
3
|
overscroll: Overscroll;
|
|
6
4
|
showHints: boolean;
|
|
7
5
|
onDismissToast: (id: string) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const DeckLayout: ({ overscroll, showHints,
|
|
6
|
+
};
|
|
7
|
+
export declare const DeckLayout: ({ overscroll, showHints, onDismissToast }: DeckLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
8
|
//# sourceMappingURL=DeckLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAuCA,OAAO,EAAW,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAKF,eAAO,MAAM,UAAU,8CAA+C,eAAe,4CAqRpF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fallback.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Fallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fallback.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,QAAQ,+CAgBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fullscreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fullscreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Fullscreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fullscreen.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,UAAU,WAAY;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,4CAiBjD,CAAC"}
|
|
@@ -11,5 +11,5 @@ export type NodePlankHeadingProps = {
|
|
|
11
11
|
pending?: boolean;
|
|
12
12
|
actions?: StackItemSigilAction[];
|
|
13
13
|
};
|
|
14
|
-
export declare const NodePlankHeading: React.MemoExoticComponent<({ id, part, node, canIncrementStart, canIncrementEnd, popoverAnchorId, pending, actions, }: NodePlankHeadingProps) =>
|
|
14
|
+
export declare const NodePlankHeading: React.MemoExoticComponent<({ id, part, node, canIncrementStart, canIncrementEnd, popoverAnchorId, pending, actions, }: NodePlankHeadingProps) => import("react/jsx-runtime").JSX.Element>;
|
|
15
15
|
//# sourceMappingURL=NodePlankHeading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodePlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/NodePlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAG/E,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAS5E,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,yHAUxB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"NodePlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/NodePlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAG/E,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAS5E,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,yHAUxB,qBAAqB,6CA4GzB,CAAC"}
|
|
@@ -9,5 +9,5 @@ export type PlankProps = {
|
|
|
9
9
|
active?: string[];
|
|
10
10
|
layoutMode: LayoutMode;
|
|
11
11
|
};
|
|
12
|
-
export declare const Plank: React.MemoExoticComponent<({ id, part, path, order, active, layoutMode }: PlankProps) =>
|
|
12
|
+
export declare const Plank: React.MemoExoticComponent<({ id, part, path, order, active, layoutMode }: PlankProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
13
|
//# sourceMappingURL=Plank.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Plank.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkF,MAAM,OAAO,CAAC;AAevG,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAKlF,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAI1D,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,KAAK,4EAAqE,UAAU,
|
|
1
|
+
{"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Plank.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkF,MAAM,OAAO,CAAC;AAevG,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAKlF,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAI1D,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,KAAK,4EAAqE,UAAU,6CA+G/F,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type Node } from '@dxos/plugin-graph';
|
|
3
2
|
import { type NodePlankHeadingProps } from './NodePlankHeading';
|
|
4
3
|
export declare const PlankContentError: ({ error }: {
|
|
5
4
|
error?: Error;
|
|
6
|
-
}) =>
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export declare const PlankError: ({ id, part, node, error, }: {
|
|
8
7
|
id: string;
|
|
9
8
|
part: NodePlankHeadingProps["part"];
|
|
10
9
|
node?: Node;
|
|
11
10
|
error?: Error;
|
|
12
|
-
}) =>
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
//# sourceMappingURL=PlankError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/PlankError.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/PlankError.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAIlF,eAAO,MAAM,iBAAiB,cAAe;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,4CAiB7D,CAAC;AAEF,eAAO,MAAM,UAAU,+BAKpB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,4CAWA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlankLoading.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/PlankLoading.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlankLoading.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/PlankLoading.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,+CAExB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Sidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Sidebar.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO,+CAsBnB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type IconButtonProps, type ThemedClassName } from '@dxos/react-ui';
|
|
3
|
-
export declare const ToggleSidebarButton: ({ classNames, variant, }: ThemedClassName<Pick<IconButtonProps, "variant">>) =>
|
|
4
|
-
export declare const CloseSidebarButton: () =>
|
|
2
|
+
export declare const ToggleSidebarButton: ({ classNames, variant, }: ThemedClassName<Pick<IconButtonProps, "variant">>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const CloseSidebarButton: () => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export declare const ToggleComplementarySidebarButton: ({ inR0, classNames }: ThemedClassName<{
|
|
6
5
|
inR0?: boolean;
|
|
7
|
-
}>) =>
|
|
6
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
//# sourceMappingURL=SidebarButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/SidebarButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/SidebarButton.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAKxG,eAAO,MAAM,mBAAmB,6BAG7B,eAAe,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC,4CAgBnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,+CAc9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,yBAA0B,eAAe,CAAC;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,4CAkBzG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/StatusBar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/StatusBar.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS,kBAAmB;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,4CAY/D,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type LayoutAction } from '@dxos/app-framework';
|
|
3
2
|
import { type ToastRootProps } from '@dxos/react-ui';
|
|
4
|
-
export declare const Toast: ({ id, title, description, icon, duration, actionLabel, actionAlt, closeLabel, onAction, onOpenChange, }: LayoutAction.Toast & Pick<ToastRootProps, "onOpenChange">) =>
|
|
3
|
+
export declare const Toast: ({ id, title, description, icon, duration, actionLabel, actionAlt, closeLabel, onAction, onOpenChange, }: LayoutAction.Toast & Pick<ToastRootProps, "onOpenChange">) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Toast.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Toast.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,KAAK,4GAWf,YAAY,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,4CA8B3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Topbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Topbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Topbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Topbar.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,+CAElB,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type DeckSettingsProps } from '../types';
|
|
3
2
|
export declare const LayoutSettings: ({ settings }: {
|
|
4
3
|
settings: DeckSettingsProps;
|
|
5
|
-
}) =>
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
//# sourceMappingURL=LayoutSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/LayoutSettings.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LayoutSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/LayoutSettings.tsx"],"names":[],"mappings":"AAUA,OAAO,EAGL,KAAK,iBAAiB,EAGvB,MAAM,UAAU,CAAC;AAIlB,eAAO,MAAM,cAAc,iBAAkB;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,4CA8D3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,UAAU,CAAC;IACnB,MAAM,UAAU,+CAAwD,CAAC;CACjF"}
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,UAAU,CAAC;IACnB,MAAM,wBAAwB,+CAAuE,CAAC;IACtG,MAAM,UAAU,+CAAwD,CAAC;CACjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNode.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNode.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;;;;;;GAOG;AAEH,eAAO,MAAM,OAAO,GAAI,CAAC,eAAe,KAAK,OAAO,MAAM,YAAY,MAAM,KAAG,IAAI,CAAC,CAAC,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"useNode.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNode.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;;;;;;GAOG;AAEH,eAAO,MAAM,OAAO,GAAI,CAAC,eAAe,KAAK,OAAO,MAAM,YAAY,MAAM,KAAG,IAAI,CAAC,CAAC,CAAC,GAAG,SA4BxF,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { S } from '@dxos/echo-schema';
|
|
2
|
+
import { type Node } from '@dxos/plugin-graph';
|
|
2
3
|
import { type Label } from '@dxos/react-ui';
|
|
3
4
|
export declare const NewPlankPositions: readonly ["start", "end"];
|
|
4
5
|
export type NewPlankPositioning = (typeof NewPlankPositions)[number];
|
|
@@ -8,6 +9,7 @@ export type Panel = {
|
|
|
8
9
|
id: string;
|
|
9
10
|
label: Label;
|
|
10
11
|
icon: string;
|
|
12
|
+
filter?: (node: Node) => boolean;
|
|
11
13
|
};
|
|
12
14
|
export declare const DeckSettingsSchema: S.mutable<S.Struct<{
|
|
13
15
|
showHints: typeof S.Boolean;
|
|
@@ -40,9 +42,10 @@ export declare const DeckState: S.mutable<S.Struct<{
|
|
|
40
42
|
* Data to be passed to the dialog Surface.
|
|
41
43
|
*/
|
|
42
44
|
dialogContent: S.optional<typeof S.Any>;
|
|
43
|
-
dialogBlockAlign: S.optional<S.Literal<["start", "center"]>>;
|
|
45
|
+
dialogBlockAlign: S.optional<S.Literal<["start", "center", "end"]>>;
|
|
44
46
|
dialogType: S.optional<S.Literal<["default", "alert"]>>;
|
|
45
47
|
popoverOpen: typeof S.Boolean;
|
|
48
|
+
popoverSide: S.optional<S.Literal<["top", "right", "bottom", "left"]>>;
|
|
46
49
|
/**
|
|
47
50
|
* Data to be passed to the popover Surface.
|
|
48
51
|
*/
|
|
@@ -76,6 +79,7 @@ export declare const DeckState: S.mutable<S.Struct<{
|
|
|
76
79
|
}>>>;
|
|
77
80
|
currentUndoId: S.optional<typeof S.String>;
|
|
78
81
|
activeDeck: typeof S.String;
|
|
82
|
+
previousDeck: typeof S.String;
|
|
79
83
|
decks: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
|
|
80
84
|
initialized: S.SchemaClass<boolean, boolean, never>;
|
|
81
85
|
active: S.mutable<S.Array$<typeof S.String>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAK5C,eAAO,MAAM,iBAAiB,2BAA4B,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,iBAAiB,gCAAiC,CAAC;AAChE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":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