@dxos/app-framework 0.7.5-main.9d2a38b → 0.7.5-main.e9bb01b
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-F7VZ6LRN.mjs +137 -0
- package/dist/lib/browser/app-graph-builder-F7VZ6LRN.mjs.map +7 -0
- package/dist/lib/browser/{chunk-GNLU3GAU.mjs → chunk-ATRNTMSS.mjs} +623 -819
- package/dist/lib/browser/chunk-ATRNTMSS.mjs.map +7 -0
- package/dist/lib/browser/chunk-LDJ3T4V3.mjs +32 -0
- package/dist/lib/browser/chunk-LDJ3T4V3.mjs.map +7 -0
- package/dist/lib/browser/chunk-WS6SU6HI.mjs +285 -0
- package/dist/lib/browser/chunk-WS6SU6HI.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +57 -74
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intent-dispatcher-E6J7E5Y5.mjs +11 -0
- package/dist/lib/browser/intent-dispatcher-E6J7E5Y5.mjs.map +7 -0
- package/dist/lib/browser/intent-resolver-XLE4L3LS.mjs +38 -0
- package/dist/lib/browser/intent-resolver-XLE4L3LS.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/store-QU2IKFAI.mjs +19 -0
- package/dist/lib/browser/store-QU2IKFAI.mjs.map +7 -0
- package/dist/lib/browser/testing/index.mjs +10 -3
- package/dist/lib/browser/testing/index.mjs.map +3 -3
- package/dist/lib/browser/worker.mjs +77 -0
- package/dist/lib/browser/worker.mjs.map +7 -0
- package/dist/lib/node/app-graph-builder-JGBADFF7.cjs +146 -0
- package/dist/lib/node/app-graph-builder-JGBADFF7.cjs.map +7 -0
- package/dist/lib/node/chunk-QLVQ6PND.cjs +58 -0
- package/dist/lib/node/chunk-QLVQ6PND.cjs.map +7 -0
- package/dist/lib/node/chunk-WKC6YMEQ.cjs +1433 -0
- package/dist/lib/node/chunk-WKC6YMEQ.cjs.map +7 -0
- package/dist/lib/node/chunk-WRWRZKZU.cjs +308 -0
- package/dist/lib/node/chunk-WRWRZKZU.cjs.map +7 -0
- package/dist/lib/node/index.cjs +106 -118
- package/dist/lib/node/index.cjs.map +4 -4
- package/dist/lib/node/intent-dispatcher-CFBKDZQR.cjs +32 -0
- package/dist/lib/node/intent-dispatcher-CFBKDZQR.cjs.map +7 -0
- package/dist/lib/node/intent-resolver-3TKCXP4S.cjs +45 -0
- package/dist/lib/node/intent-resolver-3TKCXP4S.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/store-4QMUUU2A.cjs +34 -0
- package/dist/lib/node/store-4QMUUU2A.cjs.map +7 -0
- package/dist/lib/node/testing/index.cjs +15 -8
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/lib/node/worker.cjs +99 -0
- package/dist/lib/node/worker.cjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-2QEX57NX.mjs +138 -0
- package/dist/lib/node-esm/app-graph-builder-2QEX57NX.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-KPMTPXQI.mjs → chunk-44J2VZBB.mjs} +623 -819
- package/dist/lib/node-esm/chunk-44J2VZBB.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-CNJYZNSL.mjs +34 -0
- package/dist/lib/node-esm/chunk-CNJYZNSL.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HTLXL32I.mjs +286 -0
- package/dist/lib/node-esm/chunk-HTLXL32I.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +57 -74
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/intent-dispatcher-LDQGDZ62.mjs +12 -0
- package/dist/lib/node-esm/intent-dispatcher-LDQGDZ62.mjs.map +7 -0
- package/dist/lib/node-esm/intent-resolver-7VJWN67U.mjs +39 -0
- package/dist/lib/node-esm/intent-resolver-7VJWN67U.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/store-VWDAYUQY.mjs +20 -0
- package/dist/lib/node-esm/store-VWDAYUQY.mjs.map +7 -0
- package/dist/lib/node-esm/testing/index.mjs +10 -3
- package/dist/lib/node-esm/testing/index.mjs.map +3 -3
- package/dist/lib/node-esm/worker.mjs +78 -0
- package/dist/lib/node-esm/worker.mjs.map +7 -0
- package/dist/types/src/App.d.ts.map +1 -1
- package/dist/types/src/common/capabilities.d.ts +63 -110
- package/dist/types/src/common/capabilities.d.ts.map +1 -1
- package/dist/types/src/common/events.d.ts +8 -1
- package/dist/types/src/common/events.d.ts.map +1 -1
- package/dist/types/src/common/file.d.ts +1 -1
- package/dist/types/src/common/file.d.ts.map +1 -1
- package/dist/types/src/common/graph.d.ts +2 -2
- package/dist/types/src/common/graph.d.ts.map +1 -1
- package/dist/types/src/common/index.d.ts +0 -1
- package/dist/types/src/common/index.d.ts.map +1 -1
- package/dist/types/src/common/layout.d.ts +204 -121
- package/dist/types/src/common/layout.d.ts.map +1 -1
- package/dist/types/src/common/surface.d.ts +3 -3
- package/dist/types/src/common/surface.d.ts.map +1 -1
- package/dist/types/src/common/translations.d.ts +7 -7
- package/dist/types/src/common/translations.d.ts.map +1 -1
- package/dist/types/src/core/capabilities.d.ts +6 -2
- package/dist/types/src/core/capabilities.d.ts.map +1 -1
- package/dist/types/src/core/manager.d.ts +2 -9
- package/dist/types/src/core/manager.d.ts.map +1 -1
- package/dist/types/src/core/plugin.d.ts +5 -2
- package/dist/types/src/core/plugin.d.ts.map +1 -1
- package/dist/types/src/playground/generator/Toolbar.d.ts.map +1 -1
- package/dist/types/src/playground/generator/generator.d.ts +2 -0
- package/dist/types/src/playground/generator/generator.d.ts.map +1 -1
- package/dist/types/src/playground/generator/plugin.d.ts.map +1 -1
- package/dist/types/src/playground/logger/Toolbar.d.ts.map +1 -1
- package/dist/types/src/playground/logger/plugin.d.ts.map +1 -1
- package/dist/types/src/playground/logger/schema.d.ts +1 -1
- package/dist/types/src/playground/logger/schema.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/IntentPlugin.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/actions.d.ts +1 -1
- package/dist/types/src/plugin-intent/actions.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/index.d.ts +0 -1
- package/dist/types/src/plugin-intent/index.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/intent-dispatcher.d.ts +27 -20
- package/dist/types/src/plugin-intent/intent-dispatcher.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/intent.d.ts +3 -3
- package/dist/types/src/plugin-intent/intent.d.ts.map +1 -1
- package/dist/types/src/plugin-settings/SettingsPlugin.d.ts.map +1 -1
- package/dist/types/src/plugin-settings/actions.d.ts +11 -1
- package/dist/types/src/plugin-settings/actions.d.ts.map +1 -1
- package/dist/types/src/plugin-settings/app-graph-builder.d.ts +197 -0
- package/dist/types/src/plugin-settings/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/plugin-settings/intent-resolver.d.ts +4 -0
- package/dist/types/src/plugin-settings/intent-resolver.d.ts.map +1 -0
- package/dist/types/src/plugin-settings/store.d.ts +5 -0
- package/dist/types/src/plugin-settings/store.d.ts.map +1 -0
- package/dist/types/src/plugin-settings/translations.d.ts +11 -0
- package/dist/types/src/plugin-settings/translations.d.ts.map +1 -0
- package/dist/types/src/{plugin-intent → react}/IntentContext.d.ts +1 -1
- package/dist/types/src/react/IntentContext.d.ts.map +1 -0
- package/dist/types/src/react/Surface.d.ts.map +1 -1
- package/dist/types/src/react/Surface.stories.d.ts +16 -0
- package/dist/types/src/react/Surface.stories.d.ts.map +1 -0
- package/dist/types/src/react/common.d.ts +12 -0
- package/dist/types/src/react/common.d.ts.map +1 -0
- package/dist/types/src/react/index.d.ts +2 -0
- package/dist/types/src/react/index.d.ts.map +1 -1
- package/dist/types/src/react/useIntentResolver.d.ts +3 -0
- package/dist/types/src/react/useIntentResolver.d.ts.map +1 -0
- package/dist/types/src/testing/withPluginManager.d.ts +1 -1
- package/dist/types/src/testing/withPluginManager.d.ts.map +1 -1
- package/dist/types/src/worker.d.ts +4 -0
- package/dist/types/src/worker.d.ts.map +1 -0
- package/package.json +26 -20
- package/project.json +3 -3
- package/src/App.tsx +15 -14
- package/src/common/capabilities.ts +20 -11
- package/src/common/events.ts +10 -1
- package/src/common/file.ts +1 -1
- package/src/common/graph.ts +2 -2
- package/src/common/index.ts +0 -1
- package/src/common/layout.ts +194 -126
- package/src/common/surface.ts +2 -2
- package/src/common/translations.ts +7 -8
- package/src/core/capabilities.ts +16 -7
- package/src/core/manager.test.ts +22 -73
- package/src/core/manager.ts +105 -91
- package/src/core/plugin.ts +6 -3
- package/src/playground/debug/plugin.ts +1 -1
- package/src/playground/generator/Toolbar.tsx +11 -11
- package/src/playground/generator/generator.ts +25 -0
- package/src/playground/generator/plugin.ts +6 -1
- package/src/playground/layout/plugin.ts +1 -1
- package/src/playground/logger/Toolbar.tsx +2 -1
- package/src/playground/logger/plugin.ts +6 -3
- package/src/playground/logger/schema.ts +1 -1
- package/src/plugin-intent/IntentPlugin.tsx +3 -43
- package/src/plugin-intent/actions.ts +1 -1
- package/src/plugin-intent/index.ts +0 -1
- package/src/plugin-intent/intent-dispatcher.test.ts +48 -29
- package/src/plugin-intent/intent-dispatcher.ts +76 -41
- package/src/plugin-intent/intent.ts +5 -5
- package/src/plugin-settings/SettingsPlugin.ts +19 -13
- package/src/plugin-settings/actions.ts +11 -1
- package/src/plugin-settings/app-graph-builder.ts +122 -0
- package/src/plugin-settings/intent-resolver.ts +28 -0
- package/src/plugin-settings/store.ts +20 -0
- package/src/plugin-settings/translations.ts +17 -0
- package/src/{plugin-intent → react}/IntentContext.tsx +2 -2
- package/src/react/Surface.stories.tsx +96 -0
- package/src/react/Surface.tsx +11 -8
- package/src/react/common.ts +12 -0
- package/src/react/index.ts +2 -0
- package/src/react/useIntentResolver.ts +22 -0
- package/src/testing/withPluginManager.tsx +11 -3
- package/src/worker.ts +11 -0
- package/tsconfig.json +3 -3
- package/dist/lib/browser/chunk-GNLU3GAU.mjs.map +0 -7
- package/dist/lib/node/chunk-FBA4BB3J.cjs +0 -1639
- package/dist/lib/node/chunk-FBA4BB3J.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-KPMTPXQI.mjs.map +0 -7
- package/dist/types/src/common/navigation.d.ts +0 -241
- package/dist/types/src/common/navigation.d.ts.map +0 -1
- package/dist/types/src/plugin-intent/IntentContext.d.ts.map +0 -1
- package/src/common/navigation.ts +0 -199
|
@@ -1,64 +1,105 @@
|
|
|
1
|
-
import { S } from '@
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
5
|
-
ns: typeof S.String;
|
|
6
|
-
count: S.optional<typeof S.Number>;
|
|
7
|
-
}>>]>>]>>;
|
|
8
|
-
description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
9
|
-
ns: typeof S.String;
|
|
10
|
-
count: S.optional<typeof S.Number>;
|
|
11
|
-
}>>]>>]>>;
|
|
12
|
-
icon: S.optional<typeof S.String>;
|
|
13
|
-
duration: S.optional<typeof S.Number>;
|
|
14
|
-
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
15
|
-
ns: typeof S.String;
|
|
16
|
-
count: S.optional<typeof S.Number>;
|
|
17
|
-
}>>]>>]>>;
|
|
18
|
-
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
19
|
-
ns: typeof S.String;
|
|
20
|
-
count: S.optional<typeof S.Number>;
|
|
21
|
-
}>>]>>]>>;
|
|
22
|
-
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
23
|
-
ns: typeof S.String;
|
|
24
|
-
count: S.optional<typeof S.Number>;
|
|
25
|
-
}>>]>>]>>;
|
|
26
|
-
onAction: S.optional<typeof S.Any>;
|
|
27
|
-
}>;
|
|
28
|
-
export type Toast = S.Schema.Type<typeof Toast>;
|
|
1
|
+
import { Schema as S } from '@effect/schema';
|
|
2
|
+
export declare const LAYOUT_PLUGIN = "dxos.org/plugin/layout";
|
|
3
|
+
export declare const LAYOUT_ACTION = "dxos.org/plugin/layout/action";
|
|
29
4
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* Layout provides the state of global UI landmarks, such as the sidebar, dialog, and popover.
|
|
33
|
-
* Generally only one dialog or popover should be open at a time, a layout plugin should manage this.
|
|
34
|
-
* For other landmarks, such as toasts, rendering them in the layout prevents them from unmounting when navigating.
|
|
5
|
+
* Expected payload for layout actions.
|
|
35
6
|
*/
|
|
36
|
-
declare
|
|
37
|
-
export
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Data to be passed to the dialog Surface.
|
|
50
|
-
*/
|
|
51
|
-
dialogContent: S.optional<typeof S.Any>;
|
|
52
|
-
dialogBlockAlign: S.optional<S.Literal<["start", "center"]>>;
|
|
53
|
-
dialogType: S.optional<S.Literal<["default", "alert"]>>;
|
|
54
|
-
popoverOpen: typeof S.Boolean;
|
|
7
|
+
export declare namespace LayoutAction {
|
|
8
|
+
export const UPDATE_LAYOUT = "dxos.org/plugin/layout/action/update-layout";
|
|
9
|
+
const UpdateLayout_base: S.TaggedClass<UpdateLayout, "dxos.org/plugin/layout/action/update-layout", {
|
|
10
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
11
|
+
} & {
|
|
12
|
+
input: S.Struct<{
|
|
13
|
+
part: S.SchemaClass<string, string, never>;
|
|
14
|
+
subject: S.optional<S.SchemaClass<any, any, never>>;
|
|
15
|
+
options: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
16
|
+
}>;
|
|
17
|
+
output: typeof S.Void;
|
|
18
|
+
}>;
|
|
55
19
|
/**
|
|
56
|
-
*
|
|
20
|
+
* Generic layout action.
|
|
57
21
|
*/
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
22
|
+
export class UpdateLayout extends UpdateLayout_base {
|
|
23
|
+
}
|
|
24
|
+
const SetLayoutMode_base: S.TaggedClass<SetLayoutMode, "dxos.org/plugin/layout/action/update-layout", {
|
|
25
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
26
|
+
} & {
|
|
27
|
+
input: S.Struct<{
|
|
28
|
+
part: S.Literal<["mode"]>;
|
|
29
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
30
|
+
options: S.Union<[S.Struct<{
|
|
31
|
+
mode: S.SchemaClass<string, string, never>;
|
|
32
|
+
}>, S.Struct<{
|
|
33
|
+
revert: S.SchemaClass<boolean, boolean, never>;
|
|
34
|
+
}>]>;
|
|
35
|
+
}>;
|
|
36
|
+
output: typeof S.Void;
|
|
37
|
+
}>;
|
|
38
|
+
export class SetLayoutMode extends SetLayoutMode_base {
|
|
39
|
+
}
|
|
40
|
+
const UpdateSidebar_base: S.TaggedClass<UpdateSidebar, "dxos.org/plugin/layout/action/update-layout", {
|
|
41
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
42
|
+
} & {
|
|
43
|
+
input: S.Struct<{
|
|
44
|
+
part: S.Literal<["sidebar"]>;
|
|
45
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
46
|
+
options: S.optional<S.Struct<{
|
|
47
|
+
state: S.Literal<["closed", "collapsed", "expanded"]>;
|
|
48
|
+
}>>;
|
|
49
|
+
}>;
|
|
50
|
+
output: typeof S.Void;
|
|
51
|
+
}>;
|
|
52
|
+
export class UpdateSidebar extends UpdateSidebar_base {
|
|
53
|
+
}
|
|
54
|
+
const UpdateComplementary_base: S.TaggedClass<UpdateComplementary, "dxos.org/plugin/layout/action/update-layout", {
|
|
55
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
56
|
+
} & {
|
|
57
|
+
input: S.Struct<{
|
|
58
|
+
part: S.Literal<["complementary"]>;
|
|
59
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
60
|
+
options: S.optional<S.Struct<{
|
|
61
|
+
state: S.Literal<["closed", "collapsed", "expanded"]>;
|
|
62
|
+
}>>;
|
|
63
|
+
}>;
|
|
64
|
+
output: typeof S.Void;
|
|
65
|
+
}>;
|
|
66
|
+
export class UpdateComplementary extends UpdateComplementary_base {
|
|
67
|
+
}
|
|
68
|
+
const UpdateDialog_base: S.TaggedClass<UpdateDialog, "dxos.org/plugin/layout/action/update-layout", {
|
|
69
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
70
|
+
} & {
|
|
71
|
+
input: S.Struct<{
|
|
72
|
+
part: S.Literal<["dialog"]>;
|
|
73
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
74
|
+
options: S.Struct<{
|
|
75
|
+
state: S.optional<S.SchemaClass<boolean, boolean, never>>;
|
|
76
|
+
blockAlign: S.optional<S.Literal<["start", "center"]>>;
|
|
77
|
+
type: S.optional<S.Literal<["default", "alert"]>>;
|
|
78
|
+
props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
79
|
+
}>;
|
|
80
|
+
}>;
|
|
81
|
+
output: typeof S.Void;
|
|
82
|
+
}>;
|
|
83
|
+
export class UpdateDialog extends UpdateDialog_base {
|
|
84
|
+
}
|
|
85
|
+
const UpdatePopover_base: S.TaggedClass<UpdatePopover, "dxos.org/plugin/layout/action/update-layout", {
|
|
86
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
87
|
+
} & {
|
|
88
|
+
input: S.Struct<{
|
|
89
|
+
part: S.Literal<["popover"]>;
|
|
90
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
91
|
+
options: S.Struct<{
|
|
92
|
+
anchorId: S.SchemaClass<string, string, never>;
|
|
93
|
+
state: S.optional<S.SchemaClass<boolean, boolean, never>>;
|
|
94
|
+
props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
95
|
+
}>;
|
|
96
|
+
}>;
|
|
97
|
+
output: typeof S.Void;
|
|
98
|
+
}>;
|
|
99
|
+
export class UpdatePopover extends UpdatePopover_base {
|
|
100
|
+
}
|
|
101
|
+
export const Toast: S.Struct<{
|
|
102
|
+
id: S.SchemaClass<string, string, never>;
|
|
62
103
|
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
63
104
|
ns: typeof S.String;
|
|
64
105
|
count: S.optional<typeof S.Number>;
|
|
@@ -67,8 +108,8 @@ export declare const Layout: S.mutable<S.Struct<{
|
|
|
67
108
|
ns: typeof S.String;
|
|
68
109
|
count: S.optional<typeof S.Number>;
|
|
69
110
|
}>>]>>]>>;
|
|
70
|
-
icon: S.optional<
|
|
71
|
-
duration: S.optional<
|
|
111
|
+
icon: S.optional<S.SchemaClass<string, string, never>>;
|
|
112
|
+
duration: S.optional<S.SchemaClass<number, number, never>>;
|
|
72
113
|
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
73
114
|
ns: typeof S.String;
|
|
74
115
|
count: S.optional<typeof S.Number>;
|
|
@@ -81,85 +122,127 @@ export declare const Layout: S.mutable<S.Struct<{
|
|
|
81
122
|
ns: typeof S.String;
|
|
82
123
|
count: S.optional<typeof S.Number>;
|
|
83
124
|
}>>]>>]>>;
|
|
84
|
-
onAction: S.optional<
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
export type Layout = S.Schema.Type<typeof Layout>;
|
|
92
|
-
export declare const LAYOUT_PLUGIN = "dxos.org/plugin/layout";
|
|
93
|
-
export declare const LAYOUT_ACTION = "dxos.org/plugin/layout/action";
|
|
94
|
-
/**
|
|
95
|
-
* Expected payload for layout actions.
|
|
96
|
-
*/
|
|
97
|
-
export declare namespace LayoutAction {
|
|
98
|
-
const SetLayout_base: S.TaggedClass<SetLayout, "dxos.org/plugin/layout/action/set-layout", {
|
|
99
|
-
readonly _tag: S.tag<"dxos.org/plugin/layout/action/set-layout">;
|
|
125
|
+
onAction: S.optional<S.SchemaClass<any, any, never>>;
|
|
126
|
+
}>;
|
|
127
|
+
export interface Toast extends Omit<S.Schema.Type<typeof Toast>, 'onAction'> {
|
|
128
|
+
onAction?: () => void;
|
|
129
|
+
}
|
|
130
|
+
const AddToast_base: S.TaggedClass<AddToast, "dxos.org/plugin/layout/action/update-layout", {
|
|
131
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
100
132
|
} & {
|
|
101
133
|
input: S.Struct<{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Type of dialog.
|
|
131
|
-
*/
|
|
132
|
-
dialogType: S.optional<S.Literal<["default", "alert"]>>;
|
|
134
|
+
part: S.Literal<["toast"]>;
|
|
135
|
+
subject: S.Struct<{
|
|
136
|
+
id: S.SchemaClass<string, string, never>;
|
|
137
|
+
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
138
|
+
ns: typeof S.String;
|
|
139
|
+
count: S.optional<typeof S.Number>;
|
|
140
|
+
}>>]>>]>>;
|
|
141
|
+
description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
142
|
+
ns: typeof S.String;
|
|
143
|
+
count: S.optional<typeof S.Number>;
|
|
144
|
+
}>>]>>]>>;
|
|
145
|
+
icon: S.optional<S.SchemaClass<string, string, never>>;
|
|
146
|
+
duration: S.optional<S.SchemaClass<number, number, never>>;
|
|
147
|
+
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
148
|
+
ns: typeof S.String;
|
|
149
|
+
count: S.optional<typeof S.Number>;
|
|
150
|
+
}>>]>>]>>;
|
|
151
|
+
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
152
|
+
ns: typeof S.String;
|
|
153
|
+
count: S.optional<typeof S.Number>;
|
|
154
|
+
}>>]>>]>>;
|
|
155
|
+
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple<[typeof S.String, S.mutable<S.Struct<{
|
|
156
|
+
ns: typeof S.String;
|
|
157
|
+
count: S.optional<typeof S.Number>;
|
|
158
|
+
}>>]>>]>>;
|
|
159
|
+
onAction: S.optional<S.SchemaClass<any, any, never>>;
|
|
160
|
+
}>;
|
|
133
161
|
}>;
|
|
134
162
|
output: typeof S.Void;
|
|
135
163
|
}>;
|
|
136
|
-
export class
|
|
164
|
+
export class AddToast extends AddToast_base {
|
|
137
165
|
}
|
|
138
|
-
const
|
|
139
|
-
readonly _tag: S.tag<"dxos.org/plugin/layout/action/
|
|
166
|
+
const SwitchWorkspace_base: S.TaggedClass<SwitchWorkspace, "dxos.org/plugin/layout/action/update-layout", {
|
|
167
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
140
168
|
} & {
|
|
141
|
-
input: S.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}>]>;
|
|
169
|
+
input: S.Struct<{
|
|
170
|
+
part: S.Literal<["workspace"]>;
|
|
171
|
+
subject: S.SchemaClass<string, string, never>;
|
|
172
|
+
}>;
|
|
146
173
|
output: typeof S.Void;
|
|
147
174
|
}>;
|
|
148
|
-
export class
|
|
175
|
+
export class SwitchWorkspace extends SwitchWorkspace_base {
|
|
149
176
|
}
|
|
150
|
-
const
|
|
151
|
-
readonly _tag: S.tag<"dxos.org/plugin/layout/action/
|
|
177
|
+
const Open_base: S.TaggedClass<Open, "dxos.org/plugin/layout/action/update-layout", {
|
|
178
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
152
179
|
} & {
|
|
153
180
|
input: S.Struct<{
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
181
|
+
part: S.Literal<["main"]>;
|
|
182
|
+
subject: S.Array$<S.SchemaClass<string, string, never>>;
|
|
183
|
+
options: S.optional<S.Struct<{
|
|
184
|
+
state: S.optional<S.Literal<[true]>>;
|
|
185
|
+
key: S.optional<S.SchemaClass<string, string, never>>;
|
|
186
|
+
scrollIntoView: S.optional<S.SchemaClass<boolean, boolean, never>>;
|
|
187
|
+
pivotId: S.optional<S.SchemaClass<string, string, never>>;
|
|
188
|
+
positioning: S.optional<S.Union<[S.Literal<["start"]>, S.Literal<["end"]>]>>;
|
|
189
|
+
}>>;
|
|
190
|
+
}>;
|
|
191
|
+
output: typeof S.Void;
|
|
192
|
+
}>;
|
|
193
|
+
export class Open extends Open_base {
|
|
194
|
+
}
|
|
195
|
+
const Set_base: S.TaggedClass<Set, "dxos.org/plugin/layout/action/update-layout", {
|
|
196
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
197
|
+
} & {
|
|
198
|
+
input: S.Struct<{
|
|
199
|
+
part: S.Literal<["main"]>;
|
|
200
|
+
subject: S.Array$<S.SchemaClass<string, string, never>>;
|
|
201
|
+
options: S.Struct<{
|
|
202
|
+
override: S.Literal<[true]>;
|
|
203
|
+
}>;
|
|
204
|
+
}>;
|
|
205
|
+
output: typeof S.Void;
|
|
206
|
+
}>;
|
|
207
|
+
export class Set extends Set_base {
|
|
208
|
+
}
|
|
209
|
+
const Close_base: S.TaggedClass<Close, "dxos.org/plugin/layout/action/update-layout", {
|
|
210
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
211
|
+
} & {
|
|
212
|
+
input: S.Struct<{
|
|
213
|
+
part: S.Literal<["main"]>;
|
|
214
|
+
subject: S.Array$<S.SchemaClass<string, string, never>>;
|
|
215
|
+
options: S.Struct<{
|
|
216
|
+
state: S.Literal<[false]>;
|
|
217
|
+
}>;
|
|
218
|
+
}>;
|
|
219
|
+
output: typeof S.Void;
|
|
220
|
+
}>;
|
|
221
|
+
export class Close extends Close_base {
|
|
222
|
+
}
|
|
223
|
+
const ScrollIntoView_base: S.TaggedClass<ScrollIntoView, "dxos.org/plugin/layout/action/update-layout", {
|
|
224
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
225
|
+
} & {
|
|
226
|
+
input: S.Struct<{
|
|
227
|
+
part: S.Literal<["current"]>;
|
|
228
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
229
|
+
options: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
157
230
|
}>;
|
|
158
231
|
output: typeof S.Void;
|
|
159
232
|
}>;
|
|
160
233
|
export class ScrollIntoView extends ScrollIntoView_base {
|
|
161
234
|
}
|
|
235
|
+
const Expose_base: S.TaggedClass<Expose, "dxos.org/plugin/layout/action/update-layout", {
|
|
236
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
237
|
+
} & {
|
|
238
|
+
input: S.Struct<{
|
|
239
|
+
part: S.Literal<["navigation"]>;
|
|
240
|
+
subject: S.SchemaClass<string, string, never>;
|
|
241
|
+
}>;
|
|
242
|
+
output: typeof S.Void;
|
|
243
|
+
}>;
|
|
244
|
+
export class Expose extends Expose_base {
|
|
245
|
+
}
|
|
162
246
|
export {};
|
|
163
247
|
}
|
|
164
|
-
export {};
|
|
165
248
|
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/common/layout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/common/layout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,gBAAgB,CAAC;AAI7C,eAAO,MAAM,aAAa,2BAA2B,CAAC;AACtD,eAAO,MAAM,aAAa,kCAA4B,CAAC;AAEvD;;GAEG;AACH,yBAAiB,YAAY,CAAC;IAC5B,MAAM,CAAC,MAAM,aAAa,gDAAmC,CAAC;;;;;;;;;;;IAE9D;;OAEG;IACH,MAAM,OAAO,YAAa,SAAQ,iBAWhC;KAAG;;;;;;;;;;;;;;;IAYL,MAAM,OAAO,aAAc,SAAQ,kBAUjC;KAAG;;;;;;;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAajC;KAAG;;;;;;;;;;;;;IAEL,MAAM,OAAO,mBAAoB,SAAQ,wBAevC;KAAG;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,YAAa,SAAQ,iBAkBhC;KAAG;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAejC;KAAG;IAEL,MAAM,CAAC,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;MAYhB,CAAC;IAEH,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,EAAE,UAAU,CAAC;QAC1E,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;KACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAED,MAAM,OAAO,QAAS,SAAQ,aAM5B;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAMnC;KAAG;;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,IAAK,SAAQ,SAsBxB;KAAG;;;;;;;;;;;;;IAEL,MAAM,OAAO,GAAI,SAAQ,QASvB;KAAG;;;;;;;;;;;;;IAEL,MAAM,OAAO,KAAM,SAAQ,UASzB;KAAG;;;;;;;;;;;IAEL,MAAM,OAAO,cAAe,SAAQ,mBAWlC;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,MAAO,SAAQ,WAM1B;KAAG;;CACN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type JSX, type ForwardedRef, type PropsWithChildren, type ReactNode } from 'react';
|
|
2
|
-
import { type GuardedType, type MakeOptional, type
|
|
2
|
+
import { type GuardedType, type MakeOptional, type Position } from '@dxos/util';
|
|
3
3
|
import { type ErrorBoundary } from '../react';
|
|
4
4
|
/**
|
|
5
5
|
* SurfaceProps are the props that are passed to the Surface component.
|
|
@@ -53,14 +53,14 @@ export type SurfaceComponent<T extends Record<string, any> = Record<string, unkn
|
|
|
53
53
|
export type SurfaceDefinition<T extends Record<string, any> = any> = Readonly<{
|
|
54
54
|
id: string;
|
|
55
55
|
role: string | string[];
|
|
56
|
-
|
|
56
|
+
position?: Position;
|
|
57
57
|
filter?: (data: Record<string, unknown>) => data is T;
|
|
58
58
|
component: SurfaceComponent<GuardedType<SurfaceDefinition<T>['filter']>>;
|
|
59
59
|
}>;
|
|
60
60
|
export declare const createSurface: <T extends Record<string, any> = any>(definition: SurfaceDefinition<T>) => Readonly<{
|
|
61
61
|
id: string;
|
|
62
62
|
role: string | string[];
|
|
63
|
-
|
|
63
|
+
position?: Position;
|
|
64
64
|
filter?: ((data: Record<string, unknown>) => data is T) | undefined;
|
|
65
65
|
component: SurfaceComponent<T>;
|
|
66
66
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../../src/common/surface.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5F,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../../src/common/surface.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5F,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,iBAAiB,CAAC;IACpG;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC;IAE9C;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,GACA,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG;IACjD;;;OAGG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAGJ,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IAC/E;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,E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F,MAAM;UACJ,MAAM,GAAG,MAAM,EAAE;eACZ,QAAQ;qBACH,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,KAAK;;EAI2D,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const ResourceKey:
|
|
3
|
-
export type ResourceKey =
|
|
4
|
-
export declare const ResourceLanguage:
|
|
5
|
-
export type ResourceLanguage =
|
|
1
|
+
import { Schema as S } from '@effect/schema';
|
|
2
|
+
export declare const ResourceKey: S.Union<[typeof S.String, S.Record$<typeof S.String, typeof S.Any>]>;
|
|
3
|
+
export type ResourceKey = S.Schema.Type<typeof ResourceKey>;
|
|
4
|
+
export declare const ResourceLanguage: S.Record$<typeof S.String, S.Union<[typeof S.String, S.Record$<typeof S.String, typeof S.Any>]>>;
|
|
5
|
+
export type ResourceLanguage = S.Schema.Type<typeof ResourceLanguage>;
|
|
6
6
|
/**
|
|
7
7
|
* A resource is a collection of translations for a language.
|
|
8
8
|
*/
|
|
9
|
-
export declare const Resource:
|
|
10
|
-
export type Resource =
|
|
9
|
+
export declare const Resource: S.Record$<typeof S.String, S.Record$<typeof S.String, S.Union<[typeof S.String, S.Record$<typeof S.String, typeof S.Any>]>>>;
|
|
10
|
+
export type Resource = S.Schema.Type<typeof Resource>;
|
|
11
11
|
//# sourceMappingURL=translations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,gBAAgB,CAAC;AAE7C,eAAO,MAAM,WAAW,sEAA+D,CAAC;AACxF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAE5D,eAAO,MAAM,gBAAgB,kGAAkD,CAAC;AAChF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,QAAQ,8HAAuD,CAAC;AAC7E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -42,13 +42,17 @@ type PluginsContextOptions = {
|
|
|
42
42
|
* Helper to define the implementation of a capability.
|
|
43
43
|
*/
|
|
44
44
|
export declare const contributes: <T>(interfaceDef: Capability<T>["interface"], implementation: Capability<T>["implementation"], deactivate?: Capability<T>["deactivate"]) => Capability<T>;
|
|
45
|
-
type
|
|
45
|
+
type LoadCapability<T, U> = () => Promise<{
|
|
46
46
|
default: (props: T) => MaybePromise<Capability<U>>;
|
|
47
47
|
}>;
|
|
48
|
+
type LoadCapabilities<T> = () => Promise<{
|
|
49
|
+
default: (props: T) => MaybePromise<AnyCapability[]>;
|
|
50
|
+
}>;
|
|
51
|
+
type LazyCapability<T, U> = (props?: T) => Promise<() => Promise<Capability<U> | AnyCapability[]>>;
|
|
48
52
|
/**
|
|
49
53
|
* Helper to define a lazily loaded implementation of a capability.
|
|
50
54
|
*/
|
|
51
|
-
export declare const lazy: <T, U>(c:
|
|
55
|
+
export declare const lazy: <T, U>(c: LoadCapability<T, U> | LoadCapabilities<T>) => LazyCapability<T, U>;
|
|
52
56
|
/**
|
|
53
57
|
* Context which is passed to plugins, allowing them to interact with each other.
|
|
54
58
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/core/capabilities.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMrC,OAA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AAE,qBAAqB;IAkDtD;;;;OAIG;IACH,mBAAmB,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,EACpC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,EAC7B,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,KAAK,UAAU,IAAI,CAAC,GAC5D,CAAC,EAAE;IAaN;;;;;OAKG;IACH,iBAAiB,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,EAClC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,EAC7B,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,KAAK,UAAU,IAAI,CAAC,GAC5D,CAAC;IAMJ;;;OAGG;IACG,iBAAiB,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,EACxC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,EAC7B,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,KAAK,UAAU,IAAI,CAAC,GAC1C,OAAO,CAAC,CAAC,CAAC;CAYd"}
|
|
@@ -51,12 +51,6 @@ export declare class PluginManager {
|
|
|
51
51
|
* @reactive
|
|
52
52
|
*/
|
|
53
53
|
get active(): ReactiveObject<readonly string[]>;
|
|
54
|
-
/**
|
|
55
|
-
* Ids of modules which are pending removal.
|
|
56
|
-
*
|
|
57
|
-
* @reactive
|
|
58
|
-
*/
|
|
59
|
-
get pendingRemoval(): ReactiveObject<readonly string[]>;
|
|
60
54
|
/**
|
|
61
55
|
* Ids of events which have been fired.
|
|
62
56
|
*
|
|
@@ -78,7 +72,7 @@ export declare class PluginManager {
|
|
|
78
72
|
* Enables a plugin.
|
|
79
73
|
* @param id The id of the plugin.
|
|
80
74
|
*/
|
|
81
|
-
enable(id: string): boolean
|
|
75
|
+
enable(id: string): Promise<boolean>;
|
|
82
76
|
/**
|
|
83
77
|
* Removes a plugin from the manager.
|
|
84
78
|
* @param id The id of the plugin.
|
|
@@ -88,7 +82,7 @@ export declare class PluginManager {
|
|
|
88
82
|
* Disables a plugin.
|
|
89
83
|
* @param id The id of the plugin.
|
|
90
84
|
*/
|
|
91
|
-
disable(id: string): boolean
|
|
85
|
+
disable(id: string): Promise<boolean>;
|
|
92
86
|
/**
|
|
93
87
|
* Activates plugins based on the activation event.
|
|
94
88
|
* @param event The activation event.
|
|
@@ -117,7 +111,6 @@ export declare class PluginManager {
|
|
|
117
111
|
private _getActiveModulesByEvent;
|
|
118
112
|
private _getInactiveModulesByEvent;
|
|
119
113
|
private _setPendingResetByModule;
|
|
120
|
-
private _activate;
|
|
121
114
|
private _activateModule;
|
|
122
115
|
private _deactivate;
|
|
123
116
|
private _deactivateModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../src/core/manager.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAU,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAsB,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,KAAK,eAAe,EAAgC,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAO1D,MAAM,MAAM,oBAAoB,GAAG;IACjC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,YAAY,CAAC,MAAM,CAAC,CAAC;IACnD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../src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zB,OAAO,CAAC,MAAM;CAiBf"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type Effect } from 'effect';
|
|
2
1
|
import { type MaybePromise } from '@dxos/util';
|
|
3
2
|
import { type AnyCapability, type PluginsContext } from './capabilities';
|
|
4
3
|
import { type ActivationEvent, type ActivationEvents } from './events';
|
|
@@ -26,7 +25,7 @@ interface PluginModuleInterface {
|
|
|
26
25
|
* @param context The plugin context.
|
|
27
26
|
* @returns The capabilities of the module.
|
|
28
27
|
*/
|
|
29
|
-
activate: (context: PluginsContext) => MaybePromise<AnyCapability | AnyCapability[]> |
|
|
28
|
+
activate: (context: PluginsContext) => MaybePromise<AnyCapability | AnyCapability[]> | Promise<() => Promise<AnyCapability | AnyCapability[]>>;
|
|
30
29
|
}
|
|
31
30
|
/**
|
|
32
31
|
* A unit of containment of modular functionality that can be provided to an application.
|
|
@@ -69,6 +68,10 @@ export type PluginMeta = {
|
|
|
69
68
|
* URL of source code.
|
|
70
69
|
*/
|
|
71
70
|
source?: string;
|
|
71
|
+
/**
|
|
72
|
+
* URL of screenshot.
|
|
73
|
+
*/
|
|
74
|
+
screenshots?: string[];
|
|
72
75
|
/**
|
|
73
76
|
* Tags to help categorize the plugin.
|
|
74
77
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/core/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/core/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEvE,UAAU,qBAAqB;IAC7B;;OAEG;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,EAAE,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AAEH,qBAAa,MAAM;IAEf,QAAQ,CAAC,IAAI,EAAE,UAAU;IACzB,QAAQ,CAAC,OAAO,EAAE,YAAY,EAAE;gBADvB,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,YAAY,EAAE;CAEnC;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,WAAW,YAAY,EAAE,WAErE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAK5C,eAAO,MAAM,OAAO,yBAwBnB,CAAC;;AAEF,wBAKK"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { type IntentSchema } from '../../plugin-intent';
|
|
1
2
|
export declare const Number: import("../../core").InterfaceDef<number>;
|
|
2
3
|
export declare const CountEvent: import("../../core").ActivationEvent;
|
|
3
4
|
export declare const createPluginId: (id: string) => string;
|
|
5
|
+
export declare const createGeneratorIntent: (id: string) => IntentSchema<any, any>;
|
|
4
6
|
export declare const createNumberPlugin: (id: string) => import("../../core").Plugin;
|
|
5
7
|
//# sourceMappingURL=generator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/generator.ts"],"names":[],"mappings":"AAQA,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExE,eAAO,MAAM,MAAM,2CAA6D,CAAC;AAEjF,eAAO,MAAM,UAAU,sCAA+C,CAAC;AAEvE,eAAO,MAAM,cAAc,OAAQ,MAAM,WAAoC,CAAC;AAE9E,eAAO,MAAM,qBAAqB,OAAQ,MAAM,KAMnB,YAAY,CAAC,GAAG,EAAE,GAAG,CACjD,CAAC;AAEF,eAAO,MAAM,kBAAkB,OAAQ,MAAM,gCAsB5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/plugin.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/plugin.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe,mCAYxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,YAAY,EAAiB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,YAAY,EAAiB,MAAM,cAAc,CAAC;AAK3D,eAAO,MAAM,MAAM,yBAIlB,CAAC;;AAEF,wBAQI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/plugin.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/plugin.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,YAAY,mCAsBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;;AAE7C,qBAAa,GAAI,SAAQ,QAKvB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntentPlugin.d.ts","sourceRoot":"","sources":["../../../../src/plugin-intent/IntentPlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IntentPlugin.d.ts","sourceRoot":"","sources":["../../../../src/plugin-intent/IntentPlugin.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY,gCAWrB,CAAC"}
|