@dxos/plugin-pipeline 0.8.4-main.1068cf700f → 0.8.4-main.1c7ec43d41
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/index.mjs +20 -102
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/translations.mjs +38 -0
- package/dist/lib/browser/translations.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +0 -9
- package/dist/types/src/PipelinePlugin.d.ts +1 -0
- package/dist/types/src/PipelinePlugin.d.ts.map +1 -1
- package/dist/types/src/PipelinePlugin.node.d.ts +4 -0
- package/dist/types/src/PipelinePlugin.node.d.ts.map +1 -0
- package/dist/types/src/PipelinePlugin.test.d.ts +2 -0
- package/dist/types/src/PipelinePlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/create-object.d.ts +11 -0
- package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +9 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/PipelineComponent/PipelineColumn.d.ts +9 -0
- package/dist/types/src/components/PipelineComponent/PipelineColumn.d.ts.map +1 -0
- package/dist/types/src/components/PipelineComponent/PipelineComponent.d.ts +53 -0
- package/dist/types/src/components/PipelineComponent/PipelineComponent.d.ts.map +1 -0
- package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts +62 -0
- package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts.map +1 -0
- package/dist/types/src/components/PipelineComponent/index.d.ts +3 -0
- package/dist/types/src/components/PipelineComponent/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +1 -4
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts +6 -0
- package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts.map +1 -0
- package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts +76 -0
- package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/PipelineContainer/index.d.ts +2 -0
- package/dist/types/src/containers/PipelineContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/PipelineProperties/PipelineProperties.d.ts +11 -0
- package/dist/types/src/containers/PipelineProperties/PipelineProperties.d.ts.map +1 -0
- package/dist/types/src/containers/PipelineProperties/index.d.ts +2 -0
- package/dist/types/src/containers/PipelineProperties/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +4 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +2 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -0
- package/dist/types/src/hooks/usePipelineBoardModel.d.ts +6 -0
- package/dist/types/src/hooks/usePipelineBoardModel.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/templates/research.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +44 -25
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +0 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +64 -48
- package/src/PipelinePlugin.node.ts +19 -0
- package/src/PipelinePlugin.test.ts +27 -0
- package/src/PipelinePlugin.tsx +7 -31
- package/src/capabilities/app-graph-builder.ts +40 -0
- package/src/capabilities/create-object.ts +29 -0
- package/src/capabilities/index.ts +5 -3
- package/src/capabilities/react-surface.tsx +53 -0
- package/src/components/PipelineComponent/PipelineColumn.tsx +164 -0
- package/src/components/{PipelineComponent.stories.tsx → PipelineComponent/PipelineComponent.stories.tsx} +45 -30
- package/src/components/PipelineComponent/PipelineComponent.tsx +140 -0
- package/src/components/PipelineComponent/index.ts +6 -0
- package/src/components/index.ts +1 -7
- package/src/containers/PipelineContainer/PipelineContainer.stories.tsx +230 -0
- package/src/containers/PipelineContainer/PipelineContainer.tsx +84 -0
- package/src/containers/PipelineContainer/index.ts +5 -0
- package/src/{components/PipelineSettings.tsx → containers/PipelineProperties/PipelineProperties.tsx} +77 -65
- package/src/containers/PipelineProperties/index.ts +5 -0
- package/src/containers/index.ts +8 -0
- package/src/hooks/index.ts +5 -0
- package/src/hooks/usePipelineBoardModel.ts +79 -0
- package/src/index.ts +6 -1
- package/src/meta.ts +1 -1
- package/src/templates/research.ts +14 -15
- package/src/translations.ts +22 -21
- package/src/types/index.ts +0 -3
- package/dist/lib/browser/PipelineContainer-I3TPA7ZN.mjs +0 -217
- package/dist/lib/browser/PipelineContainer-I3TPA7ZN.mjs.map +0 -7
- package/dist/lib/browser/PipelineSettings-YSGSJHBT.mjs +0 -212
- package/dist/lib/browser/PipelineSettings-YSGSJHBT.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-NUJB33F7.mjs +0 -65
- package/dist/lib/browser/app-graph-builder-NUJB33F7.mjs.map +0 -7
- package/dist/lib/browser/chunk-7GVESVYR.mjs +0 -42
- package/dist/lib/browser/chunk-7GVESVYR.mjs.map +0 -7
- package/dist/lib/browser/chunk-QWNKLHBY.mjs +0 -28
- package/dist/lib/browser/chunk-QWNKLHBY.mjs.map +0 -7
- package/dist/lib/browser/react-surface-JMMCTIL3.mjs +0 -57
- package/dist/lib/browser/react-surface-JMMCTIL3.mjs.map +0 -7
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -2
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/components/PipelineColumn.d.ts +0 -10
- package/dist/types/src/components/PipelineColumn.d.ts.map +0 -1
- package/dist/types/src/components/PipelineComponent.d.ts +0 -38
- package/dist/types/src/components/PipelineComponent.d.ts.map +0 -1
- package/dist/types/src/components/PipelineComponent.stories.d.ts +0 -42
- package/dist/types/src/components/PipelineComponent.stories.d.ts.map +0 -1
- package/dist/types/src/components/PipelineContainer.d.ts +0 -7
- package/dist/types/src/components/PipelineContainer.d.ts.map +0 -1
- package/dist/types/src/components/PipelineContainer.stories.d.ts +0 -56
- package/dist/types/src/components/PipelineContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/PipelineSettings.d.ts +0 -12
- package/dist/types/src/components/PipelineSettings.d.ts.map +0 -1
- package/dist/types/src/types/PipelineAction.d.ts +0 -25
- package/dist/types/src/types/PipelineAction.d.ts.map +0 -1
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +0 -51
- package/src/capabilities/app-graph-builder/index.ts +0 -7
- package/src/capabilities/operation-resolver/index.ts +0 -5
- package/src/capabilities/operation-resolver/operation-resolver.ts +0 -29
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/react-surface/react-surface.tsx +0 -50
- package/src/components/PipelineColumn.tsx +0 -145
- package/src/components/PipelineComponent.tsx +0 -103
- package/src/components/PipelineContainer.stories.tsx +0 -226
- package/src/components/PipelineContainer.tsx +0 -57
- package/src/types/PipelineAction.ts +0 -29
|
@@ -1,107 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
} from "./chunk-7GVESVYR.mjs";
|
|
4
|
-
import {
|
|
5
|
-
meta
|
|
6
|
-
} from "./chunk-QWNKLHBY.mjs";
|
|
7
|
-
|
|
8
|
-
// src/PipelinePlugin.tsx
|
|
9
|
-
import * as Effect2 from "effect/Effect";
|
|
10
|
-
import { Capability as Capability4, Plugin } from "@dxos/app-framework";
|
|
11
|
-
import { AppPlugin } from "@dxos/app-toolkit";
|
|
12
|
-
import { Operation } from "@dxos/operation";
|
|
13
|
-
import { SpaceCapabilities, SpaceEvents } from "@dxos/plugin-space";
|
|
14
|
-
import { Pipeline as Pipeline3 } from "@dxos/types";
|
|
15
|
-
|
|
16
|
-
// src/capabilities/app-graph-builder/index.ts
|
|
17
|
-
import { Capability } from "@dxos/app-framework";
|
|
18
|
-
var AppGraphBuilder = Capability.lazy("AppGraphBuilder", () => import("./app-graph-builder-NUJB33F7.mjs"));
|
|
19
|
-
|
|
20
|
-
// src/capabilities/operation-resolver/operation-resolver.ts
|
|
21
|
-
import * as Effect from "effect/Effect";
|
|
22
|
-
import { Capabilities, Capability as Capability2 } from "@dxos/app-framework";
|
|
23
|
-
import { Obj, Ref, Type } from "@dxos/echo";
|
|
24
|
-
import { OperationResolver } from "@dxos/operation";
|
|
25
|
-
import { Collection } from "@dxos/schema";
|
|
26
|
-
import { Pipeline } from "@dxos/types";
|
|
27
|
-
var operation_resolver_default = Capability2.makeModule(() => Effect.succeed(Capability2.contributes(Capabilities.OperationResolver, [
|
|
28
|
-
OperationResolver.make({
|
|
29
|
-
operation: PipelineOperation.OnCreateSpace,
|
|
30
|
-
handler: Effect.fnUntraced(function* ({ rootCollection }) {
|
|
31
|
-
const collection = Collection.makeManaged({
|
|
32
|
-
key: Type.getTypename(Pipeline.Pipeline)
|
|
33
|
-
});
|
|
34
|
-
Obj.change(rootCollection, (c) => {
|
|
35
|
-
c.objects.push(Ref.make(collection));
|
|
36
|
-
});
|
|
37
|
-
})
|
|
38
|
-
})
|
|
39
|
-
])));
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import { Plugin } from "@dxos/app-framework";
|
|
40
3
|
|
|
41
|
-
// src/
|
|
42
|
-
import {
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"object name placeholder": "New pipeline",
|
|
56
|
-
"rename object label": "Rename pipeline",
|
|
57
|
-
"delete object label": "Delete pipeline",
|
|
58
|
-
"object deleted label": "Pipeline deleted"
|
|
59
|
-
},
|
|
60
|
-
[meta.id]: {
|
|
61
|
-
"plugin name": "Pipelines",
|
|
62
|
-
"add column label": "Add column",
|
|
63
|
-
"add card label": "Add object",
|
|
64
|
-
"untitled view title": "New view",
|
|
65
|
-
"enumerating tab label": "List",
|
|
66
|
-
"editing tab label": "Edit",
|
|
67
|
-
"views label": "Views",
|
|
68
|
-
"pipeline invocations label": "Invocations",
|
|
69
|
-
"pipeline automation label": "Automations",
|
|
70
|
-
"toggle expand label": "Toggle expand",
|
|
71
|
-
"delete view label": "Delete view",
|
|
72
|
-
"add view label": "Add view"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
];
|
|
77
|
-
|
|
78
|
-
// src/PipelinePlugin.tsx
|
|
79
|
-
var PipelinePlugin = Plugin.define(meta).pipe(AppPlugin.addAppGraphModule({
|
|
80
|
-
activate: AppGraphBuilder
|
|
81
|
-
}), AppPlugin.addMetadataModule({
|
|
82
|
-
metadata: {
|
|
83
|
-
id: Pipeline3.Pipeline.typename,
|
|
84
|
-
metadata: {
|
|
85
|
-
icon: "ph--path--regular",
|
|
86
|
-
iconHue: "purple",
|
|
87
|
-
createObject: (props) => Effect2.sync(() => Pipeline3.make(props))
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}), AppPlugin.addOperationResolverModule({
|
|
91
|
-
activate: operation_resolver_default
|
|
92
|
-
}), AppPlugin.addSchemaModule({
|
|
93
|
-
schema: [
|
|
94
|
-
Pipeline3.Pipeline
|
|
4
|
+
// src/meta.ts
|
|
5
|
+
import { trim } from "@dxos/util";
|
|
6
|
+
var meta = {
|
|
7
|
+
id: "org.dxos.plugin.pipeline",
|
|
8
|
+
name: "Pipelines",
|
|
9
|
+
description: trim`
|
|
10
|
+
Pipelines for organizing tasks, milestones, and deliverables.
|
|
11
|
+
Track progress across multiple pipelines and coordinate team activities in a structured environment.
|
|
12
|
+
`,
|
|
13
|
+
icon: "ph--path--regular",
|
|
14
|
+
iconHue: "purple",
|
|
15
|
+
source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-pipeline",
|
|
16
|
+
tags: [
|
|
17
|
+
"labs"
|
|
95
18
|
]
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}), Plugin.addModule({
|
|
101
|
-
id: "on-space-created",
|
|
102
|
-
activatesOn: SpaceEvents.SpaceCreated,
|
|
103
|
-
activate: () => Effect2.succeed(Capability4.contributes(SpaceCapabilities.OnCreateSpace, (params) => Operation.invoke(PipelineOperation.OnCreateSpace, params)))
|
|
104
|
-
}), Plugin.make);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var PipelinePlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
105
23
|
export {
|
|
106
24
|
PipelinePlugin,
|
|
107
25
|
meta
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
3
|
+
"sources": ["../../../src/index.ts", "../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const PipelinePlugin = Plugin.lazy(meta, () => import('#plugin'));\n\nexport * from './meta';\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.pipeline',\n name: 'Pipelines',\n description: trim`\n Pipelines for organizing tasks, milestones, and deliverables.\n Track progress across multiple pipelines and coordinate team activities in a structured environment.\n `,\n icon: 'ph--path--regular',\n iconHue: 'purple',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-pipeline',\n tags: ['labs'],\n};\n"],
|
|
5
|
+
"mappings": ";AAIA,SAASA,cAAc;;;ACCvB,SAASC,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,SAAS;EACTC,QAAQ;EACRC,MAAM;IAAC;;AACT;;;ADVO,IAAMC,iBAAiBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "trim", "meta", "id", "name", "description", "icon", "iconHue", "source", "tags", "PipelinePlugin", "Plugin", "lazy", "meta"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1914,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytes":6637,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/app-graph-builder/index.ts":{"bytes":946,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/types/PipelineAction.ts":{"bytes":3454,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":763,"imports":[{"path":"src/types/PipelineAction.ts","kind":"import-statement","original":"./PipelineAction"},{"path":"src/types/PipelineAction.ts","kind":"import-statement","original":"./PipelineAction"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":3765,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":656,"imports":[{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"import-statement","original":"./operation-resolver"}],"format":"esm"},"src/components/PipelineColumn.tsx":{"bytes":18760,"imports":[{"path":"@radix-ui/react-compose-refs","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/PipelineComponent.tsx","kind":"import-statement","original":"./PipelineComponent"}],"format":"esm"},"src/components/PipelineComponent.tsx":{"bytes":7804,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/PipelineColumn.tsx","kind":"import-statement","original":"./PipelineColumn"}],"format":"esm"},"src/components/PipelineContainer.tsx":{"bytes":6385,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/components/PipelineComponent.tsx","kind":"import-statement","original":"./PipelineComponent"}],"format":"esm"},"src/components/PipelineSettings.tsx":{"bytes":28622,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/index.ts":{"bytes":1252,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/PipelineContainer.tsx","kind":"dynamic-import","original":"./PipelineContainer"},{"path":"src/components/PipelineSettings.tsx","kind":"dynamic-import","original":"./PipelineSettings"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":7051,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":912,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":712,"imports":[{"path":"src/capabilities/app-graph-builder/index.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":3965,"imports":[{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/PipelinePlugin.tsx":{"bytes":6046,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":557,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/PipelinePlugin.tsx","kind":"import-statement","original":"./PipelinePlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7651},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-7GVESVYR.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-NUJB33F7.mjs","kind":"dynamic-import"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-JMMCTIL3.mjs","kind":"dynamic-import"},{"path":"@dxos/types","kind":"import-statement","external":true}],"exports":["PipelinePlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/PipelinePlugin.tsx":{"bytesInOutput":1210},"src/capabilities/app-graph-builder/index.ts":{"bytesInOutput":158},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":800},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":0},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/translations.ts":{"bytesInOutput":1057}},"bytes":3800},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-7GVESVYR.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"}],"exports":["PipelineAction","PipelineOperation"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":230},"dist/lib/browser/chunk-7GVESVYR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1724},"dist/lib/browser/chunk-7GVESVYR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PipelineAction_exports","PipelineOperation"],"inputs":{"src/types/PipelineAction.ts":{"bytesInOutput":926},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1120},"dist/lib/browser/app-graph-builder-NUJB33F7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3069},"dist/lib/browser/app-graph-builder-NUJB33F7.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytesInOutput":1750}},"bytes":1964},"dist/lib/browser/PipelineContainer-I3TPA7ZN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":17497},"dist/lib/browser/PipelineContainer-I3TPA7ZN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@radix-ui/react-compose-refs","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PipelineContainer","default"],"entryPoint":"src/components/PipelineContainer.tsx","inputs":{"src/components/PipelineContainer.tsx":{"bytesInOutput":1540},"src/components/PipelineComponent.tsx":{"bytesInOutput":1608},"src/components/PipelineColumn.tsx":{"bytesInOutput":4437}},"bytes":7962},"dist/lib/browser/PipelineSettings-YSGSJHBT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15358},"dist/lib/browser/PipelineSettings-YSGSJHBT.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["PipelineObjectSettings","default"],"entryPoint":"src/components/PipelineSettings.tsx","inputs":{"src/components/PipelineSettings.tsx":{"bytesInOutput":7140}},"bytes":7358},"dist/lib/browser/react-surface-JMMCTIL3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4080},"dist/lib/browser/react-surface-JMMCTIL3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/PipelineContainer-I3TPA7ZN.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/PipelineSettings-YSGSJHBT.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1542},"src/components/index.ts":{"bytesInOutput":194}},"bytes":2016},"dist/lib/browser/chunk-QWNKLHBY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":921},"dist/lib/browser/chunk-QWNKLHBY.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["__export","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":463}},"bytes":722}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1832,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":945,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/translations.ts":{"bytes":4002,"imports":[{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":288,"imports":[],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1290},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["PipelinePlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":111},"src/meta.ts":{"bytesInOutput":463}},"bytes":695},"dist/lib/browser/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1877},"dist/lib/browser/translations.mjs":{"imports":[{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":1117}},"bytes":1209},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[],"exports":[],"entryPoint":"src/types/index.ts","inputs":{"src/types/index.ts":{"bytesInOutput":0}},"bytes":35}}}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// src/translations.ts
|
|
2
|
+
import { Pipeline } from "@dxos/types";
|
|
3
|
+
import { meta } from "#meta";
|
|
4
|
+
var translations = [
|
|
5
|
+
{
|
|
6
|
+
"en-US": {
|
|
7
|
+
[Pipeline.Pipeline.typename]: {
|
|
8
|
+
"typename.label": "Pipeline",
|
|
9
|
+
"typename.label_zero": "Pipelines",
|
|
10
|
+
"typename.label_one": "Pipeline",
|
|
11
|
+
"typename.label_other": "Pipelines",
|
|
12
|
+
"object-name.placeholder": "New pipeline",
|
|
13
|
+
"add-object.label": "Add pipeline",
|
|
14
|
+
"rename-object.label": "Rename pipeline",
|
|
15
|
+
"delete-object.label": "Delete pipeline",
|
|
16
|
+
"object-deleted.label": "Pipeline deleted"
|
|
17
|
+
},
|
|
18
|
+
[meta.id]: {
|
|
19
|
+
"plugin.name": "Pipelines",
|
|
20
|
+
"add-column.label": "Add column",
|
|
21
|
+
"add-card.label": "Add object",
|
|
22
|
+
"untitled-view.title": "New view",
|
|
23
|
+
"enumerating-tab.label": "List",
|
|
24
|
+
"editing-tab.label": "Edit",
|
|
25
|
+
"views.label": "Views",
|
|
26
|
+
"pipeline-invocations.label": "Invocations",
|
|
27
|
+
"pipeline-automation.label": "Automations",
|
|
28
|
+
"toggle-expand.label": "Toggle expand",
|
|
29
|
+
"delete-view.label": "Delete view",
|
|
30
|
+
"add-view.label": "Add view"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
export {
|
|
36
|
+
translations
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=translations.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/translations.ts"],
|
|
4
|
+
"sourcesContent": ["import { type Resource } from '@dxos/react-ui';\nimport { Pipeline } from '@dxos/types';\n//\n// Copyright 2023 DXOS.org\n//\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [Pipeline.Pipeline.typename]: {\n 'typename.label': 'Pipeline',\n 'typename.label_zero': 'Pipelines',\n 'typename.label_one': 'Pipeline',\n 'typename.label_other': 'Pipelines',\n 'object-name.placeholder': 'New pipeline',\n 'add-object.label': 'Add pipeline',\n 'rename-object.label': 'Rename pipeline',\n 'delete-object.label': 'Delete pipeline',\n 'object-deleted.label': 'Pipeline deleted',\n },\n [meta.id]: {\n 'plugin.name': 'Pipelines',\n 'add-column.label': 'Add column',\n 'add-card.label': 'Add object',\n 'untitled-view.title': 'New view',\n 'enumerating-tab.label': 'List',\n 'editing-tab.label': 'Edit',\n 'views.label': 'Views',\n 'pipeline-invocations.label': 'Invocations',\n 'pipeline-automation.label': 'Automations',\n 'toggle-expand.label': 'Toggle expand',\n 'delete-view.label': 'Delete view',\n 'add-view.label': 'Add view',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
+
"mappings": ";AACA,SAASA,gBAAgB;AAKzB,SAASC,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACF,SAASA,SAASG,QAAQ,GAAG;QAC5B,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACF,KAAKG,EAAE,GAAG;QACT,eAAe;QACf,oBAAoB;QACpB,kBAAkB;QAClB,uBAAuB;QACvB,yBAAyB;QACzB,qBAAqB;QACrB,eAAe;QACf,8BAA8B;QAC9B,6BAA6B;QAC7B,uBAAuB;QACvB,qBAAqB;QACrB,kBAAkB;MACpB;IACF;EACF;;",
|
|
6
|
+
"names": ["Pipeline", "meta", "translations", "typename", "id"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PipelinePlugin.d.ts","sourceRoot":"","sources":["../../../src/PipelinePlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PipelinePlugin.d.ts","sourceRoot":"","sources":["../../../src/PipelinePlugin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAQ7C,eAAO,MAAM,cAAc,4BAO1B,CAAC;eAEa,cAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PipelinePlugin.node.d.ts","sourceRoot":"","sources":["../../../src/PipelinePlugin.node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAO7C,eAAO,MAAM,cAAc,4BAK1B,CAAC;eAEa,cAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PipelinePlugin.test.d.ts","sourceRoot":"","sources":["../../../src/PipelinePlugin.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { GraphBuilder } from '@dxos/plugin-graph';
|
|
4
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, never>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=app-graph-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { SpaceCapabilities } from '@dxos/plugin-space/types';
|
|
4
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
5
|
+
id: string;
|
|
6
|
+
createObject: import("@dxos/plugin-space/types").CreateObject;
|
|
7
|
+
inputSchema?: import("effect/Schema").Schema.AnyNoContext;
|
|
8
|
+
customPanel?: import("react").ComponentType<SpaceCapabilities.CreateObjectCustomPanelProps>;
|
|
9
|
+
}>>>, never, never>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=create-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-object.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/create-object.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
|
|
3
|
+
export declare const CreateObject: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
4
|
+
id: string;
|
|
5
|
+
createObject: import("@dxos/plugin-space/types").CreateObject;
|
|
6
|
+
inputSchema?: import("effect/Schema").Schema.AnyNoContext;
|
|
7
|
+
customPanel?: import("react").ComponentType<import("@dxos/plugin-space/types").SpaceCapabilities.CreateObjectCustomPanelProps>;
|
|
8
|
+
}>>>, Error>;
|
|
9
|
+
export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
|
|
4
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,YAAY;;;;;YAAmE,CAAC;AAC7F,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type MosaicTileProps } from '@dxos/react-ui-mosaic';
|
|
3
|
+
import { type Pipeline } from '@dxos/types';
|
|
4
|
+
export type PipelineColumnProps = Pick<MosaicTileProps<Pipeline.Column>, 'classNames' | 'location' | 'data' | 'debug'>;
|
|
5
|
+
export declare function PipelineColumn({ data: column, location, classNames, debug }: PipelineColumnProps): React.JSX.Element | null;
|
|
6
|
+
export declare namespace PipelineColumn {
|
|
7
|
+
var displayName: string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=PipelineColumn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PipelineColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/PipelineComponent/PipelineColumn.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAQrE,OAAO,EAAwB,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEnF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAY5C,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;uCAGxF,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,mBAAmB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React, { type FC, type PropsWithChildren } from 'react';
|
|
2
|
+
import { Obj } from '@dxos/echo';
|
|
3
|
+
import { type ToolbarRootProps } from '@dxos/react-ui';
|
|
4
|
+
import { type BoardModel } from '@dxos/react-ui-mosaic';
|
|
5
|
+
import { type ProjectionModel } from '@dxos/schema';
|
|
6
|
+
import { type Pipeline } from '@dxos/types';
|
|
7
|
+
type ItemProps = {
|
|
8
|
+
item: Obj.Unknown;
|
|
9
|
+
projectionModel?: ProjectionModel;
|
|
10
|
+
};
|
|
11
|
+
type PipelineContextValue = {
|
|
12
|
+
Item: FC<ItemProps>;
|
|
13
|
+
onAddColumn?: () => void;
|
|
14
|
+
};
|
|
15
|
+
type PipelineRootProps = PropsWithChildren<PipelineContextValue>;
|
|
16
|
+
declare const usePipeline: (consumerName: string) => PipelineContextValue;
|
|
17
|
+
declare function PipelineRoot({ children, ...contextValue }: PipelineRootProps): React.JSX.Element;
|
|
18
|
+
declare namespace PipelineRoot {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
type PipelineContentProps = PropsWithChildren<{
|
|
22
|
+
model: BoardModel<Pipeline.Column, Obj.Unknown>;
|
|
23
|
+
}>;
|
|
24
|
+
type PipelineColumnsProps = {
|
|
25
|
+
pipeline: Pipeline.Pipeline;
|
|
26
|
+
};
|
|
27
|
+
export declare const PipelineToolbar: React.ForwardRefExoticComponent<Omit<ToolbarRootProps, "className"> & {
|
|
28
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
29
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
export declare const PipelineComponent: {
|
|
31
|
+
Root: {
|
|
32
|
+
({ children, ...contextValue }: PipelineRootProps): React.JSX.Element;
|
|
33
|
+
displayName: string;
|
|
34
|
+
};
|
|
35
|
+
Content: React.ForwardRefExoticComponent<Omit<{
|
|
36
|
+
model: BoardModel<Pipeline.Column, Obj.Unknown>;
|
|
37
|
+
} & {
|
|
38
|
+
children?: React.ReactNode | undefined;
|
|
39
|
+
} & {
|
|
40
|
+
asChild?: boolean;
|
|
41
|
+
}, "className"> & {
|
|
42
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
43
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
Columns: React.ForwardRefExoticComponent<Omit<PipelineColumnsProps, "className"> & {
|
|
45
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
46
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
Toolbar: React.ForwardRefExoticComponent<Omit<ToolbarRootProps, "className"> & {
|
|
48
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
49
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
};
|
|
51
|
+
export { usePipeline };
|
|
52
|
+
export type { ItemProps, PipelineContextValue, PipelineRootProps, PipelineContentProps, PipelineColumnsProps };
|
|
53
|
+
//# sourceMappingURL=PipelineComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PipelineComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/PipelineComponent/PipelineComponent.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAW,KAAK,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAS,KAAK,UAAU,EAAoC,MAAM,uBAAuB,CAAC;AACjG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAQF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC;IAIpB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,KAAK,iBAAiB,GAAG,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;AAIjE,QAAA,MAA4B,WAAW,gDAErC,CAAC;8BAEmB,EAAE,QAAQ,EAAE,GAAG,YAAY,EAAE,EAAE,iBAAiB;;;;AAYtE,KAAK,oBAAoB,GAAG,iBAAiB,CAAC;IAC5C,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CACjD,CAAC,CAAC;AAuBH,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC;CAC7B,CAAC;AA2BF,eAAO,MAAM,eAAe;;2HAS1B,CAAC;AAQH,eAAO,MAAM,iBAAiB;IAC5B,IAAI;wCApF+C,iBAAiB;;;IAqFpE,OAAO;eAxEA,UAAU,CAAC,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC;;;;;;;;IAyE/C,OAAO;;;IACP,OAAO;;;CACR,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,YAAY,EAAE,SAAS,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
decorators: import("@storybook/react").Decorator[];
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
translations: [{
|
|
8
|
+
readonly 'en-US': {
|
|
9
|
+
readonly [x: string]: {
|
|
10
|
+
readonly 'typename.label': 'Pipeline';
|
|
11
|
+
readonly 'typename.label_zero': 'Pipelines';
|
|
12
|
+
readonly 'typename.label_one': 'Pipeline';
|
|
13
|
+
readonly 'typename.label_other': 'Pipelines';
|
|
14
|
+
readonly 'object-name.placeholder': 'New pipeline';
|
|
15
|
+
readonly 'add-object.label': 'Add pipeline';
|
|
16
|
+
readonly 'rename-object.label': 'Rename pipeline';
|
|
17
|
+
readonly 'delete-object.label': 'Delete pipeline';
|
|
18
|
+
readonly 'object-deleted.label': 'Pipeline deleted';
|
|
19
|
+
readonly 'plugin.name'?: undefined;
|
|
20
|
+
readonly 'add-column.label'?: undefined;
|
|
21
|
+
readonly 'add-card.label'?: undefined;
|
|
22
|
+
readonly 'untitled-view.title'?: undefined;
|
|
23
|
+
readonly 'enumerating-tab.label'?: undefined;
|
|
24
|
+
readonly 'editing-tab.label'?: undefined;
|
|
25
|
+
readonly 'views.label'?: undefined;
|
|
26
|
+
readonly 'pipeline-invocations.label'?: undefined;
|
|
27
|
+
readonly 'pipeline-automation.label'?: undefined;
|
|
28
|
+
readonly 'toggle-expand.label'?: undefined;
|
|
29
|
+
readonly 'delete-view.label'?: undefined;
|
|
30
|
+
readonly 'add-view.label'?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
readonly 'typename.label'?: undefined;
|
|
33
|
+
readonly 'typename.label_zero'?: undefined;
|
|
34
|
+
readonly 'typename.label_one'?: undefined;
|
|
35
|
+
readonly 'typename.label_other'?: undefined;
|
|
36
|
+
readonly 'object-name.placeholder'?: undefined;
|
|
37
|
+
readonly 'add-object.label'?: undefined;
|
|
38
|
+
readonly 'rename-object.label'?: undefined;
|
|
39
|
+
readonly 'delete-object.label'?: undefined;
|
|
40
|
+
readonly 'object-deleted.label'?: undefined;
|
|
41
|
+
readonly 'plugin.name': 'Pipelines';
|
|
42
|
+
readonly 'add-column.label': 'Add column';
|
|
43
|
+
readonly 'add-card.label': 'Add object';
|
|
44
|
+
readonly 'untitled-view.title': 'New view';
|
|
45
|
+
readonly 'enumerating-tab.label': 'List';
|
|
46
|
+
readonly 'editing-tab.label': 'Edit';
|
|
47
|
+
readonly 'views.label': 'Views';
|
|
48
|
+
readonly 'pipeline-invocations.label': 'Invocations';
|
|
49
|
+
readonly 'pipeline-automation.label': 'Automations';
|
|
50
|
+
readonly 'toggle-expand.label': 'Toggle expand';
|
|
51
|
+
readonly 'delete-view.label': 'Delete view';
|
|
52
|
+
readonly 'add-view.label': 'Add view';
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}];
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export default meta;
|
|
59
|
+
type Story = StoryObj<typeof meta>;
|
|
60
|
+
export declare const Default: Story;
|
|
61
|
+
export declare const Mutations: Story;
|
|
62
|
+
//# sourceMappingURL=PipelineComponent.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PipelineComponent.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/PipelineComponent/PipelineComponent.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AA8JjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CgC,CAAC;eAE5B,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/PipelineComponent/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export type { PipelineObjectSettingsProps } from './PipelineSettings';
|
|
3
|
-
export declare const PipelineContainer: import("react").LazyExoticComponent<({ role, subject: pipeline }: import("./PipelineContainer").PipelineContainerProps) => import("react").JSX.Element>;
|
|
4
|
-
export declare const PipelineObjectSettings: import("react").LazyExoticComponent<({ classNames, pipeline }: import("./PipelineSettings").PipelineObjectSettingsProps) => import("react").JSX.Element>;
|
|
1
|
+
export * from './PipelineComponent';
|
|
5
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
|
+
import { type Pipeline } from '@dxos/types';
|
|
4
|
+
export type PipelineContainerProps = AppSurface.ObjectArticleProps<Pipeline.Pipeline>;
|
|
5
|
+
export declare const PipelineContainer: ({ role, subject: pipeline, attendableId }: PipelineContainerProps) => React.JSX.Element;
|
|
6
|
+
//# sourceMappingURL=PipelineContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PipelineContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PipelineContainer/PipelineContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAKtD,OAAO,EACL,UAAU,EAIX,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAEtF,eAAO,MAAM,iBAAiB,8CAA+C,sBAAsB,sBA4BlG,CAAC"}
|