@dxos/plugin-deck 0.8.3-staging.0fa589b → 0.8.4-main.28f8d3d
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-YCO7Y54J.mjs → app-graph-builder-DVEKLXB4.mjs} +6 -6
- package/dist/lib/browser/app-graph-builder-DVEKLXB4.mjs.map +7 -0
- package/dist/lib/browser/{check-app-scheme-7AXGR6UT.mjs → check-app-scheme-3BQJXWEY.mjs} +3 -3
- package/dist/lib/browser/{check-app-scheme-7AXGR6UT.mjs.map → check-app-scheme-3BQJXWEY.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-RMCRP7HV.mjs → chunk-6MQIYIPY.mjs} +213 -213
- package/dist/lib/browser/chunk-6MQIYIPY.mjs.map +7 -0
- package/dist/lib/browser/{chunk-TRFYUEBA.mjs → chunk-CNTGBCMK.mjs} +5 -5
- package/dist/lib/browser/{chunk-YN5OZEGS.mjs → chunk-F5BQOOEG.mjs} +7 -9
- package/dist/lib/browser/chunk-F5BQOOEG.mjs.map +7 -0
- package/dist/lib/browser/{chunk-KLN73CM3.mjs → chunk-M57WD3V6.mjs} +3 -3
- package/dist/lib/browser/{chunk-RAZK4XT5.mjs → chunk-MX7WRVX3.mjs} +20 -20
- package/dist/lib/browser/{chunk-RAZK4XT5.mjs.map → chunk-MX7WRVX3.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-FX44YX3G.mjs → chunk-NRCPV6AV.mjs} +8 -7
- package/dist/lib/browser/{chunk-FX44YX3G.mjs.map → chunk-NRCPV6AV.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-NSATFAEE.mjs → chunk-Z5KITAZW.mjs} +2 -2
- package/dist/lib/browser/index.mjs +23 -17
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-EGLWTKJG.mjs → intent-resolver-2SUIIV6N.mjs} +11 -11
- package/dist/lib/browser/intent-resolver-2SUIIV6N.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-C4HIM5CI.mjs → react-root-GVZANZX7.mjs} +9 -9
- package/dist/lib/browser/{react-root-C4HIM5CI.mjs.map → react-root-GVZANZX7.mjs.map} +2 -2
- package/dist/lib/browser/{react-surface-RV2AZ6WZ.mjs → react-surface-NXSSD2GW.mjs} +9 -9
- package/dist/lib/browser/{react-surface-RV2AZ6WZ.mjs.map → react-surface-NXSSD2GW.mjs.map} +1 -1
- package/dist/lib/browser/{settings-7VUU3ZJ4.mjs → settings-LUPQPZ27.mjs} +4 -4
- package/dist/lib/browser/{settings-7VUU3ZJ4.mjs.map → settings-LUPQPZ27.mjs.map} +1 -1
- package/dist/lib/browser/state-CRXR7X63.mjs +12 -0
- package/dist/lib/browser/toolkit-OBKFXX23.mjs +47 -0
- package/dist/lib/browser/toolkit-OBKFXX23.mjs.map +7 -0
- package/dist/lib/browser/{types.mjs → types/index.mjs} +3 -5
- package/dist/lib/browser/{url-handler-BUGI6XRE.mjs → url-handler-LROZYQ26.mjs} +6 -6
- package/dist/lib/browser/url-handler-LROZYQ26.mjs.map +7 -0
- 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/check-app-scheme.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +1 -1
- 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 +1 -1
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/toolkit.d.ts +5 -0
- package/dist/types/src/capabilities/toolkit.d.ts.map +1 -0
- package/dist/types/src/capabilities/tools.d.ts +1 -1
- package/dist/types/src/capabilities/tools.d.ts.map +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.d.ts +1 -1
- package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.stories.d.ts +1 -1
- package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankHeading.d.ts +1 -1
- package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +56 -56
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +2 -0
- package/dist/types/src/types/index.d.ts.map +1 -0
- package/dist/types/src/{types.d.ts → types/schema.d.ts} +7 -8
- package/dist/types/src/types/schema.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +41 -39
- package/src/DeckPlugin.ts +12 -6
- package/src/capabilities/app-graph-builder.ts +4 -3
- package/src/capabilities/check-app-scheme.ts +1 -1
- package/src/capabilities/index.ts +2 -1
- package/src/capabilities/intent-resolver.ts +11 -10
- package/src/capabilities/react-root.tsx +2 -1
- package/src/capabilities/react-surface.tsx +1 -1
- package/src/capabilities/settings.ts +1 -1
- package/src/capabilities/state.ts +4 -3
- package/src/capabilities/toolkit.ts +55 -0
- package/src/capabilities/tools.ts +9 -6
- package/src/capabilities/url-handler.ts +3 -2
- package/src/components/DeckLayout/Banner.tsx +1 -1
- package/src/components/DeckLayout/ContentEmpty.tsx +1 -1
- package/src/components/DeckLayout/DeckLayout.tsx +11 -10
- package/src/components/DeckLayout/Popover.tsx +1 -1
- package/src/components/Plank/Plank.stories.tsx +5 -4
- package/src/components/Plank/Plank.tsx +7 -6
- package/src/components/Plank/PlankError.tsx +4 -6
- package/src/components/Plank/PlankHeading.tsx +7 -6
- package/src/components/Sidebar/ComplementarySidebar.tsx +4 -3
- package/src/components/Sidebar/SidebarButton.tsx +2 -2
- package/src/hooks/useDeckCompanions.ts +2 -2
- package/src/hooks/useNodeActionExpander.ts +1 -1
- package/src/translations.ts +6 -4
- package/src/types/index.ts +5 -0
- package/src/{types.ts → types/schema.ts} +4 -6
- package/dist/lib/browser/app-graph-builder-YCO7Y54J.mjs.map +0 -7
- package/dist/lib/browser/chunk-RMCRP7HV.mjs.map +0 -7
- package/dist/lib/browser/chunk-YN5OZEGS.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-EGLWTKJG.mjs.map +0 -7
- package/dist/lib/browser/state-VJ6E3ADY.mjs +0 -10
- package/dist/lib/browser/tools-N57NQ2LH.mjs +0 -88
- package/dist/lib/browser/tools-N57NQ2LH.mjs.map +0 -7
- package/dist/lib/browser/url-handler-BUGI6XRE.mjs.map +0 -7
- package/dist/types/src/types.d.ts.map +0 -1
- /package/dist/lib/browser/{chunk-TRFYUEBA.mjs.map → chunk-CNTGBCMK.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-KLN73CM3.mjs.map → chunk-M57WD3V6.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-NSATFAEE.mjs.map → chunk-Z5KITAZW.mjs.map} +0 -0
- /package/dist/lib/browser/{state-VJ6E3ADY.mjs.map → state-CRXR7X63.mjs.map} +0 -0
- /package/dist/lib/browser/{types.mjs.map → types/index.mjs.map} +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DeckCapabilities
|
|
3
|
+
} from "./chunk-M57WD3V6.mjs";
|
|
4
|
+
import "./chunk-Z5KITAZW.mjs";
|
|
5
|
+
|
|
6
|
+
// src/capabilities/toolkit.ts
|
|
7
|
+
import { AiTool, AiToolkit } from "@effect/ai";
|
|
8
|
+
import { Effect, Schema } from "effect";
|
|
9
|
+
import { Capabilities, LayoutAction, contributes, createIntent } from "@dxos/app-framework";
|
|
10
|
+
import { ArtifactId } from "@dxos/assistant";
|
|
11
|
+
import { trim } from "@dxos/util";
|
|
12
|
+
var DeckToolkit = class _DeckToolkit extends AiToolkit.make(AiTool.make("open-item", {
|
|
13
|
+
description: trim`
|
|
14
|
+
Opens an item in the application.
|
|
15
|
+
`,
|
|
16
|
+
parameters: {
|
|
17
|
+
id: ArtifactId
|
|
18
|
+
},
|
|
19
|
+
success: Schema.Any,
|
|
20
|
+
failure: Schema.Never
|
|
21
|
+
})) {
|
|
22
|
+
static layer = (context) => _DeckToolkit.toLayer({
|
|
23
|
+
"open-item": ({ id }) => Effect.gen(function* () {
|
|
24
|
+
const state = context.getCapability(DeckCapabilities.DeckState);
|
|
25
|
+
const dxn = ArtifactId.toDXN(id, state.activeDeck);
|
|
26
|
+
const echoDxn = dxn.asEchoDXN();
|
|
27
|
+
if (!echoDxn) {
|
|
28
|
+
throw new Error(`Invalid object ID: ${id}`);
|
|
29
|
+
}
|
|
30
|
+
const { dispatch } = context.getCapability(Capabilities.IntentDispatcher);
|
|
31
|
+
yield* dispatch(createIntent(LayoutAction.Open, {
|
|
32
|
+
subject: [
|
|
33
|
+
`${echoDxn.spaceId}:${echoDxn.echoId}`
|
|
34
|
+
],
|
|
35
|
+
part: "main"
|
|
36
|
+
}));
|
|
37
|
+
}).pipe(Effect.orDie)
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
var toolkit_default = (context) => [
|
|
41
|
+
contributes(Capabilities.Toolkit, DeckToolkit),
|
|
42
|
+
contributes(Capabilities.ToolkitHandler, DeckToolkit.layer(context))
|
|
43
|
+
];
|
|
44
|
+
export {
|
|
45
|
+
toolkit_default as default
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=toolkit-OBKFXX23.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/toolkit.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { AiTool, AiToolkit } from '@effect/ai';\nimport { Effect, Schema } from 'effect';\n\nimport { Capabilities, LayoutAction, type PluginContext, contributes, createIntent } from '@dxos/app-framework';\nimport { ArtifactId } from '@dxos/assistant';\nimport { type SpaceId } from '@dxos/keys';\nimport { trim } from '@dxos/util';\n\nimport { DeckCapabilities } from './capabilities';\n\nclass DeckToolkit extends AiToolkit.make(\n AiTool.make('open-item', {\n description: trim`\n Opens an item in the application.\n `,\n parameters: {\n id: ArtifactId,\n },\n success: Schema.Any,\n failure: Schema.Never,\n }),\n) {\n static layer = (context: PluginContext) =>\n DeckToolkit.toLayer({\n 'open-item': ({ id }) =>\n Effect.gen(function* () {\n const state = context.getCapability(DeckCapabilities.DeckState);\n const dxn = ArtifactId.toDXN(id, state.activeDeck as SpaceId);\n\n // TODO(wittjosiah): Support other variants.\n const echoDxn = dxn.asEchoDXN();\n if (!echoDxn) {\n throw new Error(`Invalid object ID: ${id}`);\n }\n\n // TODO(wittjosiah): Get capabilities via layers.\n const { dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n yield* dispatch(\n createIntent(LayoutAction.Open, {\n subject: [`${echoDxn.spaceId!}:${echoDxn.echoId}`],\n part: 'main',\n }),\n );\n }).pipe(Effect.orDie),\n });\n}\n\nexport default (context: PluginContext) => [\n contributes(Capabilities.Toolkit, DeckToolkit),\n contributes(Capabilities.ToolkitHandler, DeckToolkit.layer(context)),\n];\n"],
|
|
5
|
+
"mappings": ";;;;;;AAIA,SAASA,QAAQC,iBAAiB;AAClC,SAASC,QAAQC,cAAc;AAE/B,SAASC,cAAcC,cAAkCC,aAAaC,oBAAoB;AAC1F,SAASC,kBAAkB;AAE3B,SAASC,YAAY;AAIrB,IAAMC,cAAN,MAAMA,qBAAoBC,UAAUC,KAClCC,OAAOD,KAAK,aAAa;EACvBE,aAAaC;;;EAGbC,YAAY;IACVC,IAAIC;EACN;EACAC,SAASC,OAAOC;EAChBC,SAASF,OAAOG;AAClB,CAAA,CAAA,EAAA;EAEA,OAAOC,QAAQ,CAACC,YACdf,aAAYgB,QAAQ;IAClB,aAAa,CAAC,EAAET,GAAE,MAChBU,OAAOC,IAAI,aAAA;AACT,YAAMC,QAAQJ,QAAQK,cAAcC,iBAAiBC,SAAS;AAC9D,YAAMC,MAAMf,WAAWgB,MAAMjB,IAAIY,MAAMM,UAAU;AAGjD,YAAMC,UAAUH,IAAII,UAAS;AAC7B,UAAI,CAACD,SAAS;AACZ,cAAM,IAAIE,MAAM,sBAAsBrB,EAAAA,EAAI;MAC5C;AAGA,YAAM,EAAEsB,SAAQ,IAAKd,QAAQK,cAAcU,aAAaC,gBAAgB;AACxE,aAAOF,SACLG,aAAaC,aAAaC,MAAM;QAC9BC,SAAS;UAAC,GAAGT,QAAQU,OAAO,IAAKV,QAAQW,MAAM;;QAC/CC,MAAM;MACR,CAAA,CAAA;IAEJ,CAAA,EAAGC,KAAKtB,OAAOuB,KAAK;EACxB,CAAA;AACJ;AAEA,IAAA,kBAAe,CAACzB,YAA2B;EACzC0B,YAAYX,aAAaY,SAAS1C,WAAAA;EAClCyC,YAAYX,aAAaa,gBAAgB3C,YAAYc,MAAMC,OAAAA,CAAAA;;",
|
|
6
|
+
"names": ["AiTool", "AiToolkit", "Effect", "Schema", "Capabilities", "LayoutAction", "contributes", "createIntent", "ArtifactId", "trim", "DeckToolkit", "AiToolkit", "make", "AiTool", "description", "trim", "parameters", "id", "ArtifactId", "success", "Schema", "Any", "failure", "Never", "layer", "context", "toLayer", "Effect", "gen", "state", "getCapability", "DeckCapabilities", "DeckState", "dxn", "toDXN", "activeDeck", "echoDxn", "asEchoDXN", "Error", "dispatch", "Capabilities", "IntentDispatcher", "createIntent", "LayoutAction", "Open", "subject", "spaceId", "echoId", "part", "pipe", "orDie", "contributes", "Toolkit", "ToolkitHandler"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ATTENDABLE_PATH_SEPARATOR,
|
|
3
|
-
DECK_ACTION,
|
|
4
3
|
DECK_COMPANION_TYPE,
|
|
5
4
|
DeckAction,
|
|
6
5
|
DeckPluginState,
|
|
@@ -13,11 +12,10 @@ import {
|
|
|
13
12
|
defaultDeck,
|
|
14
13
|
getMode,
|
|
15
14
|
isLayoutMode
|
|
16
|
-
} from "
|
|
17
|
-
import "
|
|
15
|
+
} from "../chunk-F5BQOOEG.mjs";
|
|
16
|
+
import "../chunk-Z5KITAZW.mjs";
|
|
18
17
|
export {
|
|
19
18
|
ATTENDABLE_PATH_SEPARATOR,
|
|
20
|
-
DECK_ACTION,
|
|
21
19
|
DECK_COMPANION_TYPE,
|
|
22
20
|
DeckAction,
|
|
23
21
|
DeckPluginState,
|
|
@@ -31,4 +29,4 @@ export {
|
|
|
31
29
|
getMode,
|
|
32
30
|
isLayoutMode
|
|
33
31
|
};
|
|
34
|
-
//# sourceMappingURL=
|
|
32
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeckCapabilities
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M57WD3V6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
defaultDeck
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-F5BQOOEG.mjs";
|
|
7
|
+
import "./chunk-Z5KITAZW.mjs";
|
|
8
8
|
|
|
9
|
-
//
|
|
10
|
-
import { Capabilities, contributes, createIntent
|
|
9
|
+
// src/capabilities/url-handler.ts
|
|
10
|
+
import { Capabilities, LayoutAction, contributes, createIntent } from "@dxos/app-framework";
|
|
11
11
|
import { scheduledEffect } from "@dxos/echo-signals/core";
|
|
12
12
|
var url_handler_default = async (context) => {
|
|
13
13
|
const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);
|
|
@@ -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-LROZYQ26.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 { Capabilities, LayoutAction, type PluginContext, contributes, createIntent } from '@dxos/app-framework';\nimport { scheduledEffect } from '@dxos/echo-signals/core';\n\nimport { defaultDeck } from '../types';\n\nimport { DeckCapabilities } from './capabilities';\n\n// TODO(wittjosiah): Cleanup the url handling. May justify introducing routing capabilities.\nexport default async (context: PluginContext) => {\n const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n const state = context.getCapability(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: { ...defaultDeck },\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 if (window.location.pathname !== path) {\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\n return contributes(Capabilities.Null, null, () => {\n window.removeEventListener('popstate', handleNavigation);\n unsubscribe();\n });\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;AAIA,SAASA,cAAcC,cAAkCC,aAAaC,oBAAoB;AAC1F,SAASC,uBAAuB;AAOhC,IAAA,sBAAe,OAAOC,YAAAA;AACpB,QAAM,EAAEC,iBAAiBC,SAAQ,IAAKF,QAAQG,cAAcC,aAAaC,gBAAgB;AACzF,QAAMC,QAAQN,QAAQG,cAAcI,iBAAiBC,gBAAgB;AAErE,QAAMC,mBAAmB,YAAA;AACvB,UAAMC,WAAWC,OAAOC,SAASF;AACjC,QAAIA,aAAa,UAAU;AACzBJ,YAAMO,aAAa;AACnBP,YAAMQ,QAAQ;QACZC,SAAS;UAAE,GAAGC;QAAY;MAC5B;AACAL,aAAOC,SAASF,WAAW;AAC3B;IACF;AAEA,UAAM,CAACO,GAAGC,UAAUC,QAAAA,IAAYT,SAASU,MAAM,GAAA;AAC/C,QAAIF,YAAYA,aAAaZ,MAAMO,YAAY;AAC7C,YAAMX,SAASmB,aAAaC,aAAaC,iBAAiB;QAAEC,MAAM;QAAaC,SAASP;MAAS,CAAA,CAAA;IACnG;AAEA,QAAIC,YAAYA,aAAab,MAAMoB,KAAKC,MAAM;AAC5C,YAAMzB,SACJmB,aAAaC,aAAaM,eAAe;QAAEJ,MAAM;QAAQC,SAASN;QAAUU,SAAS;UAAEC,MAAM;QAAO;MAAE,CAAA,CAAA;IAE1G,WAAW,CAACX,YAAYb,MAAMoB,KAAKC,MAAM;AACvC,YAAMzB,SAASmB,aAAaC,aAAaM,eAAe;QAAEJ,MAAM;QAAQK,SAAS;UAAEC,MAAM;QAAO;MAAE,CAAA,CAAA;IACpG;EACF;AAEA,QAAMrB,iBAAAA;AACNE,SAAOoB,iBAAiB,YAAYtB,gBAAAA;AAEpC,QAAMuB,cAAcC,gBAClB,OAAO;IAAEN,MAAMrB,MAAMoB,KAAKC;IAAMd,YAAYP,MAAMO;EAAW,IAC7D,CAAC,EAAEc,MAAMd,WAAU,MAAE;AACnB,UAAMqB,OAAOP,OAAO,IAAId,UAAAA,IAAcc,IAAAA,KAAS,IAAId,UAAAA;AACnD,QAAIF,OAAOC,SAASF,aAAawB,MAAM;AAErCC,cAAQC,UAAU,MAAM,IAAI,GAAGF,IAAAA,GAAOvB,OAAOC,SAASyB,MAAM,EAAE;IAChE;EACF,CAAA;AAGF,SAAOC,YAAYlC,aAAamC,MAAM,MAAM,MAAA;AAC1C5B,WAAO6B,oBAAoB,YAAY/B,gBAAAA;AACvCuB,gBAAAA;EACF,CAAA;AACF;",
|
|
6
|
+
"names": ["Capabilities", "LayoutAction", "contributes", "createIntent", "scheduledEffect", "context", "dispatchPromise", "dispatch", "getCapability", "Capabilities", "IntentDispatcher", "state", "DeckCapabilities", "MutableDeckState", "handleNavigation", "pathname", "window", "location", "activeDeck", "decks", "default", "defaultDeck", "_", "nextDeck", "nextSolo", "split", "createIntent", "LayoutAction", "SwitchWorkspace", "part", "subject", "deck", "solo", "SetLayoutMode", "options", "mode", "addEventListener", "unsubscribe", "scheduledEffect", "path", "history", "pushState", "search", "contributes", "Null", "removeEventListener"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckPlugin.d.ts","sourceRoot":"","sources":["../../../src/DeckPlugin.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"DeckPlugin.d.ts","sourceRoot":"","sources":["../../../src/DeckPlugin.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,UAAU,4CA8DnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,EAA8B,KAAK,aAAa,EAA6B,MAAM,qBAAqB,CAAC;yBAQhG,SAAS,aAAa;AAAtC,wBA8HI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-app-scheme.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/check-app-scheme.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"check-app-scheme.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/check-app-scheme.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgB,KAAK,aAAa,EAAe,MAAM,qBAAqB,CAAC;yBA4B9D,SAAS,aAAa;AAA5C,wBAOE"}
|
|
@@ -8,7 +8,7 @@ export declare const ReactRoot: (props?: unknown) => Promise<() => Promise<impor
|
|
|
8
8
|
root: import("react").FC<import("react").PropsWithChildren>;
|
|
9
9
|
}>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
10
10
|
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const Toolkit: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").AnyCapability[] | import("@dxos/app-framework").Capability<unknown>>>;
|
|
12
12
|
export declare const UrlHandler: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
13
13
|
export * from './capabilities';
|
|
14
14
|
export * from './state';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,oOAA4C,CAAC;AACzE,eAAO,MAAM,cAAc,6LAA2C,CAAC;AACvE,eAAO,MAAM,YAAY,4LAAmC,CAAC;AAC7D,eAAO,MAAM,SAAS,gJAAgC,CAAC;AACvD,eAAO,MAAM,oBAAoB,kPAA0C,CAAC;AAC5E,eAAO,MAAM,SAAS;;;qDAAqC,CAAC;AAC5D,eAAO,MAAM,YAAY,gMAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,oOAA4C,CAAC;AACzE,eAAO,MAAM,cAAc,6LAA2C,CAAC;AACvE,eAAO,MAAM,YAAY,4LAAmC,CAAC;AAC7D,eAAO,MAAM,SAAS,gJAAgC,CAAC;AACvD,eAAO,MAAM,oBAAoB,kPAA0C,CAAC;AAC5E,eAAO,MAAM,SAAS;;;qDAAqC,CAAC;AAC5D,eAAO,MAAM,YAAY,gMAAwC,CAAC;AAElE,eAAO,MAAM,OAAO,gMAAkC,CAAC;AACvD,eAAO,MAAM,UAAU,6LAAsC,CAAC;AAE9D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,
|
|
1
|
+
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,EAGZ,KAAK,aAAa,EAKnB,MAAM,qBAAqB,CAAC;yBAyBb,SAAS,aAAa;AAAtC,wBA2aK"}
|
|
@@ -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;;;;;
|
|
1
|
+
{"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;;;;;AAS3C,wBAyBK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const DeckStateFactory: () => (import("@dxos/app-framework").Capability<import("@dxos/util").DeepReadonly<{
|
|
1
|
+
export declare const DeckStateFactory: () => (import("@dxos/app-framework").Capability<import("@dxos/util").DeepReadonly<{
|
|
2
2
|
deck: {
|
|
3
3
|
solo?: string | undefined;
|
|
4
4
|
initialized: boolean;
|
|
@@ -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":"AAgCA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsE5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AiTool, AiToolkit } from '@effect/ai';
|
|
2
|
+
import { type PluginContext } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (context: PluginContext) => (import("@dxos/app-framework").Capability<AiToolkit.Any> | import("@dxos/app-framework").Capability<import("effect/Layer").Layer<AiTool.Handler<"open-item">, never, never>>)[];
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=toolkit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolkit.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/toolkit.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAA8B,KAAK,aAAa,EAA6B,MAAM,qBAAqB,CAAC;yBA4ChG,SAAS,aAAa;AAAtC,wBAGE"}
|
|
@@ -6,6 +6,6 @@ declare global {
|
|
|
6
6
|
part?: 'deck' | 'dialog';
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare const _default: () => import("@dxos/app-framework").Capability<
|
|
9
|
+
declare const _default: () => import("@dxos/app-framework").Capability<any[]>;
|
|
10
10
|
export default _default;
|
|
11
11
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/tools.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/tools.ts"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,uBAAuB,EAG7B,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,CAAC,EAAE,uBAAuB,CAAC;QACnC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAC1B;CACF;;AAED,wBAoDK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8B,KAAK,aAAa,EAA6B,MAAM,qBAAqB,CAAC;yBAQ1F,SAAS,aAAa;AAA5C,wBA+CE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAMtE,eAAO,MAAM,MAAM,GAAI,yBAAyB,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBAyBlG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0E,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0E,MAAM,OAAO,CAAC;AAgC/F,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAKF,eAAO,MAAM,UAAU,GAAI,oBAAoB,eAAe,sBAiQ7D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Node } from '@dxos/plugin-graph';
|
|
3
|
-
import { type
|
|
3
|
+
import { type DeckSettingsProps, type LayoutMode, type ResolvedPart } from '../../types';
|
|
4
4
|
export type PlankProps = Pick<PlankComponentProps, 'layoutMode' | 'part' | 'path' | 'order' | 'active' | 'settings'> & {
|
|
5
5
|
id?: string;
|
|
6
6
|
companionId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAWf,OAAO,
|
|
1
|
+
{"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAWf,OAAO,EAAE,KAAK,IAAI,EAAW,MAAM,oBAAoB,CAAC;AAQxD,OAAO,EAAc,KAAK,iBAAiB,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAQrG,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC,GAAG;IACrH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAgBF;;;GAGG;AACH,eAAO,MAAM,KAAK,4DAAqD,UAAU,uBA8B/E,CAAC;AAoBH,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAajE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UAAU,CAqB1B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAGlC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankError.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankError.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAM/C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGtE,eAAO,MAAM,iBAAiB,GAAI,WAAW;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,sBAU7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,4BAKxB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,sBAWA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Node } from '@dxos/plugin-graph';
|
|
3
3
|
import { type StackItemSigilAction } from '@dxos/react-ui-stack';
|
|
4
|
-
import { type
|
|
4
|
+
import { type LayoutMode, type ResolvedPart } from '../../types';
|
|
5
5
|
export type PlankHeadingProps = {
|
|
6
6
|
id: string;
|
|
7
7
|
part: ResolvedPart;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAGhG,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAGhG,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAO5E,OAAO,EAAc,KAAK,UAAU,EAAwB,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAOnG,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;IACZ,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,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,sLAepB,iBAAiB,uBAkLrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAiBf,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,aAAa,yBAAyB,sBAgH1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeckCompanions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckCompanions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAe,MAAM,qBAAqB,CAAC;AAC9D,OAAO,
|
|
1
|
+
{"version":3,"file":"useDeckCompanions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckCompanions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAe,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,KAAK,QAAQ,EAAc,MAAM,YAAY,CAAC;AAIvD,eAAO,MAAM,cAAc,GAAI,IAAI,MAAM,WAGxC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,GAAG,EACH;IACE,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IAEb,+DAA+D;IAC/D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CACF,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,aAAa,EAKjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodeActionExpander.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNodeActionExpander.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"useNodeActionExpander.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNodeActionExpander.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAY,MAAM,oBAAoB,CAAC;AAEzD,eAAO,MAAM,qBAAqB,GAAI,OAAO,IAAI,SAUhD,CAAC"}
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
'
|
|
6
|
-
'
|
|
7
|
-
'
|
|
8
|
-
'
|
|
9
|
-
'
|
|
10
|
-
'sidebar
|
|
11
|
-
'
|
|
12
|
-
'
|
|
13
|
-
'
|
|
14
|
-
'content fallback
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'settings
|
|
18
|
-
'settings
|
|
19
|
-
'settings new plank position
|
|
20
|
-
'
|
|
21
|
-
'select new plank positioning
|
|
22
|
-
'
|
|
23
|
-
'undo
|
|
24
|
-
'undo action
|
|
25
|
-
'undo
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'pin
|
|
35
|
-
'
|
|
36
|
-
'increment
|
|
37
|
-
'
|
|
38
|
-
'show
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'settings overscroll
|
|
49
|
-
'settings
|
|
50
|
-
'settings enable
|
|
51
|
-
'
|
|
52
|
-
'close
|
|
53
|
-
'close
|
|
54
|
-
'
|
|
1
|
+
import { meta } from './meta';
|
|
2
|
+
export declare const translations: [{
|
|
3
|
+
readonly 'en-US': {
|
|
4
|
+
readonly [meta.id]: {
|
|
5
|
+
readonly 'plugin name': "Deck";
|
|
6
|
+
readonly 'main header label': "Main header";
|
|
7
|
+
readonly 'open navigation sidebar label': "Open sidebar";
|
|
8
|
+
readonly 'collapse navigation sidebar label': "Minimize sidebar";
|
|
9
|
+
readonly 'open complementary sidebar label': "Open context sidebar";
|
|
10
|
+
readonly 'close complementary sidebar label': "Minimize context sidebar";
|
|
11
|
+
readonly 'sidebar title': "Navigation sidebar";
|
|
12
|
+
readonly 'complementary sidebar title': "Context sidebar";
|
|
13
|
+
readonly 'plugin error message': "Content failed to render.";
|
|
14
|
+
readonly 'content fallback message': "Unsupported";
|
|
15
|
+
readonly 'content fallback description': "No plugin had a response for the address you navigated to. Double-check the URL, and ensure you’ve enabled a plugin that supports the object.";
|
|
16
|
+
readonly 'toggle fullscreen label': "Toggle fullscreen";
|
|
17
|
+
readonly 'settings show hints label': "Show hints";
|
|
18
|
+
readonly 'settings native redirect label': "Enable native url redirect (experimental)";
|
|
19
|
+
readonly 'settings new plank position start label': "Start";
|
|
20
|
+
readonly 'settings new plank position end label': "End";
|
|
21
|
+
readonly 'select new plank positioning placeholder': "Select new plank positioning";
|
|
22
|
+
readonly 'select new plank positioning label': "New plank positioning";
|
|
23
|
+
readonly 'undo available label': "Click to undo previous action.";
|
|
24
|
+
readonly 'undo action label': "Undo";
|
|
25
|
+
readonly 'undo action alt': "Undo previous action";
|
|
26
|
+
readonly 'undo close label': "Dismiss";
|
|
27
|
+
readonly 'error fallback message': "Unable to open this item";
|
|
28
|
+
readonly 'plank heading fallback label': "Untitled";
|
|
29
|
+
readonly 'actions menu label': "Options";
|
|
30
|
+
readonly 'settings deck label': "Disable deck";
|
|
31
|
+
readonly 'pending heading': "Loading…";
|
|
32
|
+
readonly 'insert plank label': "Open";
|
|
33
|
+
readonly 'resize label': "Drag to resize";
|
|
34
|
+
readonly 'pin start label': "Pin to the left sidebar";
|
|
35
|
+
readonly 'pin end label': "Pin to the right sidebar";
|
|
36
|
+
readonly 'increment start label': "Move to the left";
|
|
37
|
+
readonly 'increment end label': "Move to the right";
|
|
38
|
+
readonly 'show deck plank label': "Return to deck";
|
|
39
|
+
readonly 'show solo plank label': "Maximize";
|
|
40
|
+
readonly 'exit fullscreen label': "Exit fullscreen";
|
|
41
|
+
readonly 'show fullscreen plank label': "Fullscreen";
|
|
42
|
+
readonly 'close label': "Close";
|
|
43
|
+
readonly 'minify label': "Minify";
|
|
44
|
+
readonly 'open companion label': "Open companion";
|
|
45
|
+
readonly 'close companion label': "Close companion";
|
|
46
|
+
readonly 'settings overscroll label': "Plank scrolling";
|
|
47
|
+
readonly 'select overscroll placeholder': "Select plank scrolling behavior";
|
|
48
|
+
readonly 'settings overscroll centering label': "Centering";
|
|
49
|
+
readonly 'settings overscroll none label': "None";
|
|
50
|
+
readonly 'settings enable statusbar label': "Show status bar";
|
|
51
|
+
readonly 'settings enable deck label': "Enable Deck";
|
|
52
|
+
readonly 'close current label': "Close current plank";
|
|
53
|
+
readonly 'close others label': "Close other planks";
|
|
54
|
+
readonly 'close all label': "Close all planks";
|
|
55
|
+
readonly 'companion plank heading fallback label': "Related";
|
|
55
56
|
};
|
|
56
57
|
};
|
|
57
|
-
}
|
|
58
|
-
export default _default;
|
|
58
|
+
}];
|
|
59
59
|
//# sourceMappingURL=translations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAqDR;;EAGwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC"}
|
|
@@ -115,7 +115,6 @@ export declare const DeckPluginState: Schema.mutable<Schema.Struct<{
|
|
|
115
115
|
scrollIntoView: Schema.optional<typeof Schema.String>;
|
|
116
116
|
}>>;
|
|
117
117
|
export type DeckPluginState = Schema.Schema.Type<typeof DeckPluginState>;
|
|
118
|
-
export declare const DECK_ACTION: string;
|
|
119
118
|
export declare namespace DeckAction {
|
|
120
119
|
const PartAdjustmentSchema: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
|
|
121
120
|
export type PartAdjustment = Schema.Schema.Type<typeof PartAdjustmentSchema>;
|
|
@@ -124,8 +123,8 @@ export declare namespace DeckAction {
|
|
|
124
123
|
type: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
|
|
125
124
|
}>>;
|
|
126
125
|
export type Adjustment = Schema.Schema.Type<typeof Adjustment>;
|
|
127
|
-
const Adjust_base: Schema.TaggedClass<Adjust, `${string}/adjust`, {
|
|
128
|
-
readonly _tag: Schema.tag<`${string}/adjust`>;
|
|
126
|
+
const Adjust_base: Schema.TaggedClass<Adjust, `${string}/action/adjust`, {
|
|
127
|
+
readonly _tag: Schema.tag<`${string}/action/adjust`>;
|
|
129
128
|
} & {
|
|
130
129
|
input: Schema.mutable<Schema.Struct<{
|
|
131
130
|
id: typeof Schema.String;
|
|
@@ -135,8 +134,8 @@ export declare namespace DeckAction {
|
|
|
135
134
|
}>;
|
|
136
135
|
export class Adjust extends Adjust_base {
|
|
137
136
|
}
|
|
138
|
-
const UpdatePlankSize_base: Schema.TaggedClass<UpdatePlankSize, `${string}/update-plank-size`, {
|
|
139
|
-
readonly _tag: Schema.tag<`${string}/update-plank-size`>;
|
|
137
|
+
const UpdatePlankSize_base: Schema.TaggedClass<UpdatePlankSize, `${string}/action/update-plank-size`, {
|
|
138
|
+
readonly _tag: Schema.tag<`${string}/action/update-plank-size`>;
|
|
140
139
|
} & {
|
|
141
140
|
input: Schema.Struct<{
|
|
142
141
|
id: typeof Schema.String;
|
|
@@ -146,8 +145,8 @@ export declare namespace DeckAction {
|
|
|
146
145
|
}>;
|
|
147
146
|
export class UpdatePlankSize extends UpdatePlankSize_base {
|
|
148
147
|
}
|
|
149
|
-
const ChangeCompanion_base: Schema.TaggedClass<ChangeCompanion, `${string}/change-companion`, {
|
|
150
|
-
readonly _tag: Schema.tag<`${string}/change-companion`>;
|
|
148
|
+
const ChangeCompanion_base: Schema.TaggedClass<ChangeCompanion, `${string}/action/change-companion`, {
|
|
149
|
+
readonly _tag: Schema.tag<`${string}/action/change-companion`>;
|
|
151
150
|
} & {
|
|
152
151
|
input: Schema.Struct<{
|
|
153
152
|
primary: typeof Schema.String;
|
|
@@ -159,4 +158,4 @@ export declare namespace DeckAction {
|
|
|
159
158
|
}
|
|
160
159
|
export {};
|
|
161
160
|
}
|
|
162
|
-
//# sourceMappingURL=
|
|
161
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,oBAAoB,yCAAyC,CAAC;AAC3E,eAAO,MAAM,mBAAmB,wCAAwC,CAAC;AAGzE,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;AAE5D,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;;;;;;GAOR,CAAC;AACxB,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9E,eAAO,MAAM,WAAW,4DAA8D,CAAC;AACvF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAGjE,eAAO,MAAM,SAAS;IACpB,qFAAqF;;;;;;;;;EAUrF,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7D,eAAO,MAAM,WAAW,EAAE,SASzB,CAAC;AAEF,QAAA,MAAM,UAAU,sDAAqD,CAAC;AACtE,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAC/D,eAAO,MAAM,YAAY,GAAI,OAAO,GAAG,KAAG,KAAK,IAAI,UAA0C,CAAC;AAE9F,eAAO,MAAM,OAAO,GAAI,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,KAAG,UAMnE,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;IAU1B,+CAA+C;;;;;;IAO/C,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAtDhD,qFAAqF;;;;;;;;;;;;QAArF,qFAAqF;;;;;;;;;;IAkErF,4EAA4E;;GAEvD,CAAC;AAExB,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAEzE,yBAAiB,UAAU,CAAC;IAC1B,MAAM,oBAAoB,kNAOzB,CAAC;IACF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAC;IAC7E,MAAM,CAAC,MAAM,UAAU;;;OAAmF,CAAC;IAC3G,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;;;;;;;;;;IAG/D,MAAM,OAAO,MAAO,SAAQ,WAG1B;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAMnC;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAMnC;KAAG;;CACN"}
|