@dxos/plugin-automation 0.8.1-staging.9eaf14f → 0.8.2-main.12df754
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/AutomationContainer-KEQ5RNIW.mjs +34 -0
- package/dist/lib/browser/AutomationContainer-KEQ5RNIW.mjs.map +7 -0
- package/dist/lib/browser/AutomationPanel-G3OB6ELR.mjs +11 -0
- package/dist/lib/browser/AutomationPanel-G3OB6ELR.mjs.map +7 -0
- package/dist/lib/browser/FunctionsContainer-STXBW4CX.mjs +33 -0
- package/dist/lib/browser/FunctionsContainer-STXBW4CX.mjs.map +7 -0
- package/dist/lib/browser/FunctionsPanel-JJPLIAJW.mjs +10 -0
- package/dist/lib/browser/FunctionsPanel-JJPLIAJW.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-K3BIQFWW.mjs → app-graph-builder-ND64CHOM.mjs} +42 -1
- package/dist/lib/browser/app-graph-builder-ND64CHOM.mjs.map +7 -0
- package/dist/lib/browser/chunk-65VL4EYS.mjs +88 -0
- package/dist/lib/browser/chunk-65VL4EYS.mjs.map +7 -0
- package/dist/lib/browser/chunk-FCLWFVFX.mjs +39 -0
- package/dist/lib/browser/chunk-FCLWFVFX.mjs.map +7 -0
- package/dist/lib/browser/{AutomationPanel-YAHFXQX6.mjs → chunk-NGG4ICAQ.mjs} +13 -12
- package/dist/lib/browser/chunk-NGG4ICAQ.mjs.map +7 -0
- package/dist/lib/browser/chunk-QJPKWYTL.mjs +14 -0
- package/dist/lib/browser/chunk-QJPKWYTL.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +23 -17
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/intent-resolver-3J647TIZ.mjs +71 -0
- package/dist/lib/browser/intent-resolver-3J647TIZ.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-L22QIANU.mjs +68 -0
- package/dist/lib/browser/react-surface-L22QIANU.mjs.map +7 -0
- package/dist/lib/browser/types.mjs +8 -0
- package/dist/lib/browser/types.mjs.map +7 -0
- package/dist/lib/node/AutomationContainer-E5I76FPP.cjs +62 -0
- package/dist/lib/node/AutomationContainer-E5I76FPP.cjs.map +7 -0
- package/dist/lib/node/AutomationPanel-YLXAFJDP.cjs +32 -0
- package/dist/lib/node/AutomationPanel-YLXAFJDP.cjs.map +7 -0
- package/dist/lib/node/FunctionsContainer-3HCURMEB.cjs +61 -0
- package/dist/lib/node/FunctionsContainer-3HCURMEB.cjs.map +7 -0
- package/dist/lib/node/FunctionsPanel-SYIZHPGU.cjs +31 -0
- package/dist/lib/node/FunctionsPanel-SYIZHPGU.cjs.map +7 -0
- package/dist/lib/node/{app-graph-builder-HO4FPGZ5.cjs → app-graph-builder-TVFR6RXO.cjs} +45 -4
- package/dist/lib/node/app-graph-builder-TVFR6RXO.cjs.map +7 -0
- package/dist/lib/node/chunk-BSK5SHTR.cjs +116 -0
- package/dist/lib/node/chunk-BSK5SHTR.cjs.map +7 -0
- package/dist/lib/node/{chunk-AGJ6XTDN.cjs → chunk-L5TWLPGA.cjs} +16 -7
- package/dist/lib/node/chunk-L5TWLPGA.cjs.map +7 -0
- package/dist/lib/node/chunk-PSIJDHAX.cjs +58 -0
- package/dist/lib/node/chunk-PSIJDHAX.cjs.map +7 -0
- package/dist/lib/node/{AutomationPanel-ZKAMIU6O.cjs → chunk-SRXHHBDE.cjs} +19 -14
- package/dist/lib/node/chunk-SRXHHBDE.cjs.map +7 -0
- package/dist/lib/node/index.cjs +23 -17
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/intent-resolver-4YYZ2MMZ.cjs +87 -0
- package/dist/lib/node/intent-resolver-4YYZ2MMZ.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-52M54VWV.cjs → react-surface-PCZCHIET.cjs} +36 -12
- package/dist/lib/node/react-surface-PCZCHIET.cjs.map +7 -0
- package/dist/lib/node/types.cjs +30 -0
- package/dist/lib/node/types.cjs.map +7 -0
- package/dist/lib/node-esm/AutomationContainer-22PUFPSE.mjs +35 -0
- package/dist/lib/node-esm/AutomationContainer-22PUFPSE.mjs.map +7 -0
- package/dist/lib/node-esm/AutomationPanel-6UXIAJVS.mjs +12 -0
- package/dist/lib/node-esm/AutomationPanel-6UXIAJVS.mjs.map +7 -0
- package/dist/lib/node-esm/FunctionsContainer-XG5WVAN3.mjs +34 -0
- package/dist/lib/node-esm/FunctionsContainer-XG5WVAN3.mjs.map +7 -0
- package/dist/lib/node-esm/FunctionsPanel-J3QGUESH.mjs +11 -0
- package/dist/lib/node-esm/FunctionsPanel-J3QGUESH.mjs.map +7 -0
- package/dist/lib/node-esm/{app-graph-builder-XCJR33VS.mjs → app-graph-builder-NYLOXWVV.mjs} +42 -1
- package/dist/lib/node-esm/app-graph-builder-NYLOXWVV.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-4UPGANGV.mjs +89 -0
- package/dist/lib/node-esm/chunk-4UPGANGV.mjs.map +7 -0
- package/dist/lib/node-esm/{AutomationPanel-XF7YPSKM.mjs → chunk-HMYAQLGF.mjs} +13 -12
- package/dist/lib/node-esm/chunk-HMYAQLGF.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-TMMB5ETD.mjs +16 -0
- package/dist/lib/node-esm/chunk-TMMB5ETD.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-YYBCQXB2.mjs +40 -0
- package/dist/lib/node-esm/chunk-YYBCQXB2.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +23 -17
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/intent-resolver-WXIXG5UY.mjs +72 -0
- package/dist/lib/node-esm/intent-resolver-WXIXG5UY.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-VSO4NWC6.mjs +69 -0
- package/dist/lib/node-esm/react-surface-VSO4NWC6.mjs.map +7 -0
- package/dist/lib/node-esm/types.mjs +9 -0
- package/dist/lib/node-esm/types.mjs.map +7 -0
- package/dist/types/src/AutomationPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +1 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +4 -0
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/AutomationContainer.d.ts +7 -0
- package/dist/types/src/components/AutomationContainer.d.ts.map +1 -0
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts +6 -3
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/index.d.ts +1 -0
- package/dist/types/src/components/AutomationPanel/index.d.ts.map +1 -1
- package/dist/types/src/components/FunctionsContainer.d.ts +7 -0
- package/dist/types/src/components/FunctionsContainer.d.ts.map +1 -0
- package/dist/types/src/components/FunctionsPanel/FunctionsPanel.d.ts +7 -0
- package/dist/types/src/components/FunctionsPanel/FunctionsPanel.d.ts.map +1 -0
- package/dist/types/src/components/FunctionsPanel/index.d.ts +4 -0
- package/dist/types/src/components/FunctionsPanel/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +8 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +8 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +25 -0
- package/dist/types/src/types.d.ts.map +1 -0
- package/package.json +29 -24
- package/src/AutomationPlugin.tsx +4 -9
- package/src/capabilities/app-graph-builder.ts +31 -0
- package/src/capabilities/index.ts +1 -0
- package/src/capabilities/intent-resolver.ts +62 -0
- package/src/capabilities/react-surface.tsx +31 -7
- package/src/components/AutomationContainer.tsx +31 -0
- package/src/components/AutomationPanel/AutomationPanel.stories.tsx +4 -4
- package/src/components/AutomationPanel/AutomationPanel.tsx +62 -63
- package/src/components/AutomationPanel/index.ts +2 -0
- package/src/components/FunctionsContainer.tsx +31 -0
- package/src/components/FunctionsPanel/FunctionsPanel.tsx +95 -0
- package/src/components/FunctionsPanel/index.ts +8 -0
- package/src/components/TriggerEditor/TriggerEditor.stories.tsx +3 -3
- package/src/components/index.ts +3 -0
- package/src/translations.ts +10 -1
- package/src/types.ts +32 -0
- package/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs.map +0 -7
- package/dist/lib/browser/chunk-MT3FZH4V.mjs +0 -8
- package/dist/lib/browser/chunk-MT3FZH4V.mjs.map +0 -7
- package/dist/lib/browser/react-surface-4QQSJR4A.mjs +0 -42
- package/dist/lib/browser/react-surface-4QQSJR4A.mjs.map +0 -7
- package/dist/lib/node/AutomationPanel-ZKAMIU6O.cjs.map +0 -7
- package/dist/lib/node/app-graph-builder-HO4FPGZ5.cjs.map +0 -7
- package/dist/lib/node/chunk-AGJ6XTDN.cjs.map +0 -7
- package/dist/lib/node/react-surface-52M54VWV.cjs.map +0 -7
- package/dist/lib/node-esm/AutomationPanel-XF7YPSKM.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-XCJR33VS.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-OA75PSGH.mjs +0 -10
- package/dist/lib/node-esm/chunk-OA75PSGH.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-MGKM3OO3.mjs +0 -43
- package/dist/lib/node-esm/react-surface-MGKM3OO3.mjs.map +0 -7
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AutomationAction
|
|
3
|
+
} from "./chunk-FCLWFVFX.mjs";
|
|
4
|
+
import "./chunk-WKKQV4PC.mjs";
|
|
5
|
+
|
|
6
|
+
// packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts
|
|
7
|
+
import { contributes, Capabilities, createResolver, createIntent } from "@dxos/app-framework";
|
|
8
|
+
import { FunctionTrigger, FunctionType, ScriptType, TriggerKind } from "@dxos/functions";
|
|
9
|
+
import { live } from "@dxos/live-object";
|
|
10
|
+
import { SpaceAction } from "@dxos/plugin-space/types";
|
|
11
|
+
import { Filter } from "@dxos/react-client/echo";
|
|
12
|
+
var intent_resolver_default = (context) => contributes(Capabilities.IntentResolver, [
|
|
13
|
+
createResolver({
|
|
14
|
+
intent: AutomationAction.CreateTriggerFromTemplate,
|
|
15
|
+
resolve: async ({ space, template, enabled = false, scriptName, payload }) => {
|
|
16
|
+
const trigger = live(FunctionTrigger, {
|
|
17
|
+
enabled
|
|
18
|
+
});
|
|
19
|
+
if (scriptName) {
|
|
20
|
+
const { objects: [script] } = await space.db.query(Filter.schema(ScriptType, {
|
|
21
|
+
name: scriptName
|
|
22
|
+
})).run();
|
|
23
|
+
if (script) {
|
|
24
|
+
const { objects: [fn] } = await space.db.query(Filter.schema(FunctionType, {
|
|
25
|
+
source: script
|
|
26
|
+
})).run();
|
|
27
|
+
if (fn) {
|
|
28
|
+
trigger.function = `dxn:worker:${fn.name}`;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
if (payload) {
|
|
33
|
+
trigger.meta = payload;
|
|
34
|
+
}
|
|
35
|
+
switch (template.type) {
|
|
36
|
+
case "timer": {
|
|
37
|
+
trigger.spec = {
|
|
38
|
+
type: TriggerKind.Timer,
|
|
39
|
+
cron: template.cron
|
|
40
|
+
};
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
case "queue": {
|
|
44
|
+
trigger.spec = {
|
|
45
|
+
type: TriggerKind.Queue,
|
|
46
|
+
queue: template.queueDXN.toString()
|
|
47
|
+
};
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
default: {
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
intents: [
|
|
56
|
+
createIntent(SpaceAction.AddObject, {
|
|
57
|
+
object: trigger,
|
|
58
|
+
target: space
|
|
59
|
+
}),
|
|
60
|
+
createIntent(SpaceAction.OpenSettings, {
|
|
61
|
+
space
|
|
62
|
+
})
|
|
63
|
+
]
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
})
|
|
67
|
+
]);
|
|
68
|
+
export {
|
|
69
|
+
intent_resolver_default as default
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=intent-resolver-3J647TIZ.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/intent-resolver.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { contributes, Capabilities, createResolver, type PluginsContext, createIntent } from '@dxos/app-framework';\nimport { FunctionTrigger, FunctionType, ScriptType, TriggerKind } from '@dxos/functions';\nimport { type DXN } from '@dxos/keys';\nimport { live } from '@dxos/live-object';\nimport { SpaceAction } from '@dxos/plugin-space/types';\nimport { Filter } from '@dxos/react-client/echo';\n\nimport { AutomationAction } from '../types';\n\nexport default (context: PluginsContext) =>\n contributes(Capabilities.IntentResolver, [\n createResolver({\n intent: AutomationAction.CreateTriggerFromTemplate,\n resolve: async ({ space, template, enabled = false, scriptName, payload }) => {\n const trigger = live(FunctionTrigger, { enabled });\n\n // TODO(wittjosiah): Factor out function lookup by script name?\n if (scriptName) {\n const {\n objects: [script],\n } = await space.db.query(Filter.schema(ScriptType, { name: scriptName })).run();\n if (script) {\n const {\n objects: [fn],\n } = await space.db.query(Filter.schema(FunctionType, { source: script })).run();\n if (fn) {\n trigger.function = `dxn:worker:${fn.name}`;\n }\n }\n }\n\n if (payload) {\n trigger.meta = payload;\n }\n\n switch (template.type) {\n case 'timer': {\n trigger.spec = { type: TriggerKind.Timer, cron: template.cron };\n break;\n }\n case 'queue': {\n trigger.spec = { type: TriggerKind.Queue, queue: (template.queueDXN as DXN).toString() };\n break;\n }\n default: {\n break;\n }\n }\n\n return {\n intents: [\n createIntent(SpaceAction.AddObject, { object: trigger, target: space }),\n createIntent(SpaceAction.OpenSettings, { space }),\n ],\n };\n },\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;AAIA,SAASA,aAAaC,cAAcC,gBAAqCC,oBAAoB;AAC7F,SAASC,iBAAiBC,cAAcC,YAAYC,mBAAmB;AAEvE,SAASC,YAAY;AACrB,SAASC,mBAAmB;AAC5B,SAASC,cAAc;AAIvB,IAAA,0BAAe,CAACC,YACdC,YAAYC,aAAaC,gBAAgB;EACvCC,eAAe;IACbC,QAAQC,iBAAiBC;IACzBC,SAAS,OAAO,EAAEC,OAAOC,UAAUC,UAAU,OAAOC,YAAYC,QAAO,MAAE;AACvE,YAAMC,UAAUC,KAAKC,iBAAiB;QAAEL;MAAQ,CAAA;AAGhD,UAAIC,YAAY;AACd,cAAM,EACJK,SAAS,CAACC,MAAAA,EAAO,IACf,MAAMT,MAAMU,GAAGC,MAAMC,OAAOC,OAAOC,YAAY;UAAEC,MAAMZ;QAAW,CAAA,CAAA,EAAIa,IAAG;AAC7E,YAAIP,QAAQ;AACV,gBAAM,EACJD,SAAS,CAACS,EAAAA,EAAG,IACX,MAAMjB,MAAMU,GAAGC,MAAMC,OAAOC,OAAOK,cAAc;YAAEC,QAAQV;UAAO,CAAA,CAAA,EAAIO,IAAG;AAC7E,cAAIC,IAAI;AACNZ,oBAAQe,WAAW,cAAcH,GAAGF,IAAI;UAC1C;QACF;MACF;AAEA,UAAIX,SAAS;AACXC,gBAAQgB,OAAOjB;MACjB;AAEA,cAAQH,SAASqB,MAAI;QACnB,KAAK,SAAS;AACZjB,kBAAQkB,OAAO;YAAED,MAAME,YAAYC;YAAOC,MAAMzB,SAASyB;UAAK;AAC9D;QACF;QACA,KAAK,SAAS;AACZrB,kBAAQkB,OAAO;YAAED,MAAME,YAAYG;YAAOC,OAAQ3B,SAAS4B,SAAiBC,SAAQ;UAAG;AACvF;QACF;QACA,SAAS;AACP;QACF;MACF;AAEA,aAAO;QACLC,SAAS;UACPC,aAAaC,YAAYC,WAAW;YAAEC,QAAQ9B;YAAS+B,QAAQpC;UAAM,CAAA;UACrEgC,aAAaC,YAAYI,cAAc;YAAErC;UAAM,CAAA;;MAEnD;IACF;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["contributes", "Capabilities", "createResolver", "createIntent", "FunctionTrigger", "FunctionType", "ScriptType", "TriggerKind", "live", "SpaceAction", "Filter", "context", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "AutomationAction", "CreateTriggerFromTemplate", "resolve", "space", "template", "enabled", "scriptName", "payload", "trigger", "live", "FunctionTrigger", "objects", "script", "db", "query", "Filter", "schema", "ScriptType", "name", "run", "fn", "FunctionType", "source", "function", "meta", "type", "spec", "TriggerKind", "Timer", "cron", "Queue", "queue", "queueDXN", "toString", "intents", "createIntent", "SpaceAction", "AddObject", "object", "target", "OpenSettings"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytes":1764,"imports":[],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":18213,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/functions/types","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":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytes":544,"imports":[{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":21670,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","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/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytes":738,"imports":[{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/index.ts":{"bytes":914,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytes":4479,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","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/plugin-script/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytes":4985,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytes":1096,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-automation/src/translations.ts":{"bytes":3132,"imports":[{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytes":6390,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-automation/src/index.ts":{"bytes":704,"imports":[{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-automation/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4811},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-MT3FZH4V.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/react-surface-4QQSJR4A.mjs","kind":"dynamic-import"}],"exports":["AUTOMATION_PLUGIN","AutomationPanel","AutomationPlugin","TriggerEditor","meta"],"entryPoint":"packages/plugins/plugin-automation/src/index.ts","inputs":{"packages/plugins/plugin-automation/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytesInOutput":1357},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytesInOutput":193},"packages/plugins/plugin-automation/src/translations.ts":{"bytesInOutput":827}},"bytes":2942},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12052},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","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/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","inputs":{"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":5148},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":5583},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2151},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","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/plugin-script/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1001}},"bytes":1232},"packages/plugins/plugin-automation/dist/lib/browser/react-surface-4QQSJR4A.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2476},"packages/plugins/plugin-automation/dist/lib/browser/react-surface-4QQSJR4A.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-MT3FZH4V.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytesInOutput":1121}},"bytes":1430},"packages/plugins/plugin-automation/dist/lib/browser/chunk-MT3FZH4V.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":404},"packages/plugins/plugin-automation/dist/lib/browser/chunk-MT3FZH4V.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs","kind":"dynamic-import"}],"exports":["AutomationPanel"],"inputs":{"packages/plugins/plugin-automation/src/components/index.ts":{"bytesInOutput":106}},"bytes":243},"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9335},"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/functions/types","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}],"exports":["TriggerEditor"],"inputs":{"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":4576},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":4795},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":827},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytesInOutput":395}},"bytes":530}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytes":1764,"imports":[],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":18213,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/functions/types","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":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytes":544,"imports":[{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":21076,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","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/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytes":849,"imports":[{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx":{"bytes":3556,"imports":[{"path":"react","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-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"import-statement","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytes":11688,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","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/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts":{"bytes":832,"imports":[{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx":{"bytes":3536,"imports":[{"path":"react","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-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","kind":"import-statement","original":"./FunctionsPanel"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/index.ts":{"bytes":1736,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx","kind":"dynamic-import","original":"./AutomationContainer"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx","kind":"dynamic-import","original":"./FunctionsContainer"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","kind":"dynamic-import","original":"./FunctionsPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytes":8950,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","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/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/types.ts":{"bytes":4192,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts":{"bytes":8498,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytes":7999,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytes":1353,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-automation/src/translations.ts":{"bytes":4657,"imports":[{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytes":5502,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-automation/src/index.ts":{"bytes":704,"imports":[{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-automation/dist/lib/browser/react-surface-L22QIANU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3903},"packages/plugins/plugin-automation/dist/lib/browser/react-surface-L22QIANU.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-QJPKWYTL.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytesInOutput":1848}},"bytes":2202},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5194},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-QJPKWYTL.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-3J647TIZ.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/react-surface-L22QIANU.mjs","kind":"dynamic-import"}],"exports":["AUTOMATION_PLUGIN","AutomationContainer","AutomationPanel","AutomationPlugin","FunctionsContainer","FunctionsPanel","TriggerEditor","meta"],"entryPoint":"packages/plugins/plugin-automation/src/index.ts","inputs":{"packages/plugins/plugin-automation/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytesInOutput":1115},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytesInOutput":268},"packages/plugins/plugin-automation/src/translations.ts":{"bytesInOutput":1380}},"bytes":3454},"packages/plugins/plugin-automation/dist/lib/browser/chunk-QJPKWYTL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":836},"packages/plugins/plugin-automation/dist/lib/browser/chunk-QJPKWYTL.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-KEQ5RNIW.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-G3OB6ELR.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-STXBW4CX.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-JJPLIAJW.mjs","kind":"dynamic-import"}],"exports":["AutomationContainer","AutomationPanel","FunctionsContainer","FunctionsPanel"],"inputs":{"packages/plugins/plugin-automation/src/components/index.ts":{"bytesInOutput":346}},"bytes":546},"packages/plugins/plugin-automation/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FCLWFVFX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["AutomationAction"],"entryPoint":"packages/plugins/plugin-automation/src/types.ts","inputs":{},"bytes":156},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-G3OB6ELR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-G3OB6ELR.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-NGG4ICAQ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","inputs":{},"bytes":269},"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-KEQ5RNIW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1800},"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-KEQ5RNIW.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-NGG4ICAQ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","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-stack","kind":"import-statement","external":true}],"exports":["AutomationContainer","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx","inputs":{"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx":{"bytesInOutput":805}},"bytes":1166},"packages/plugins/plugin-automation/dist/lib/browser/chunk-NGG4ICAQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11749},"packages/plugins/plugin-automation/dist/lib/browser/chunk-NGG4ICAQ.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","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/react-ui-theme","kind":"import-statement","external":true}],"exports":["AutomationPanel","AutomationPanel_default"],"inputs":{"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":4996},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":5430},"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9335},"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/functions/types","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}],"exports":["TriggerEditor"],"inputs":{"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":4576},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":4795},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-JJPLIAJW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-JJPLIAJW.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-65VL4EYS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","inputs":{},"bytes":233},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-STXBW4CX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1786},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-STXBW4CX.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-65VL4EYS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","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-stack","kind":"import-statement","external":true}],"exports":["FunctionsContainer","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx","inputs":{"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx":{"bytesInOutput":799}},"bytes":1124},"packages/plugins/plugin-automation/dist/lib/browser/chunk-65VL4EYS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6527},"packages/plugins/plugin-automation/dist/lib/browser/chunk-65VL4EYS.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","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/react-ui-theme","kind":"import-statement","external":true}],"exports":["FunctionsPanel","FunctionsPanel_default"],"inputs":{"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytesInOutput":2911},"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts":{"bytesInOutput":45}},"bytes":3282},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3935},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","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/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytesInOutput":2112}},"bytes":2343},"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-3J647TIZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4029},"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-3J647TIZ.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FCLWFVFX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts":{"bytesInOutput":1819}},"bytes":2087},"packages/plugins/plugin-automation/dist/lib/browser/chunk-FCLWFVFX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2101},"packages/plugins/plugin-automation/dist/lib/browser/chunk-FCLWFVFX.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["AutomationAction"],"inputs":{"packages/plugins/plugin-automation/src/types.ts":{"bytesInOutput":943}},"bytes":1131},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":827},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytesInOutput":395}},"bytes":530}}}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AutomationContainer,
|
|
3
|
+
AutomationPanel,
|
|
4
|
+
FunctionsContainer
|
|
5
|
+
} from "./chunk-QJPKWYTL.mjs";
|
|
6
|
+
import "./chunk-FALBBJNO.mjs";
|
|
7
|
+
import {
|
|
8
|
+
meta
|
|
9
|
+
} from "./chunk-WKKQV4PC.mjs";
|
|
10
|
+
|
|
11
|
+
// packages/plugins/plugin-automation/src/capabilities/react-surface.tsx
|
|
12
|
+
import React from "react";
|
|
13
|
+
import { Capabilities, contributes, createSurface, useLayout } from "@dxos/app-framework";
|
|
14
|
+
import { isInstanceOf } from "@dxos/echo-schema";
|
|
15
|
+
import { ScriptType } from "@dxos/functions/types";
|
|
16
|
+
import { getSpace, parseId, useSpace } from "@dxos/react-client/echo";
|
|
17
|
+
import { StackItem } from "@dxos/react-ui-stack";
|
|
18
|
+
var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
19
|
+
createSurface({
|
|
20
|
+
id: `${meta.id}/space-settings-automation`,
|
|
21
|
+
role: "article",
|
|
22
|
+
filter: (data) => data.subject === `${meta.id}/space-settings-automation`,
|
|
23
|
+
component: () => {
|
|
24
|
+
const layout = useLayout();
|
|
25
|
+
const { spaceId } = parseId(layout.workspace);
|
|
26
|
+
const space = useSpace(spaceId);
|
|
27
|
+
if (!space || !spaceId) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return /* @__PURE__ */ React.createElement(AutomationContainer, {
|
|
31
|
+
space
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}),
|
|
35
|
+
createSurface({
|
|
36
|
+
id: `${meta.id}/space-settings-functions`,
|
|
37
|
+
role: "article",
|
|
38
|
+
filter: (data) => data.subject === `${meta.id}/space-settings-functions`,
|
|
39
|
+
component: () => {
|
|
40
|
+
const layout = useLayout();
|
|
41
|
+
const { spaceId } = parseId(layout.workspace);
|
|
42
|
+
const space = useSpace(spaceId);
|
|
43
|
+
if (!space || !spaceId) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return /* @__PURE__ */ React.createElement(FunctionsContainer, {
|
|
47
|
+
space
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}),
|
|
51
|
+
createSurface({
|
|
52
|
+
id: `${meta.id}/companion/automation`,
|
|
53
|
+
role: "article",
|
|
54
|
+
filter: (data) => isInstanceOf(ScriptType, data.companionTo) && data.subject === "automation",
|
|
55
|
+
component: ({ data, role }) => {
|
|
56
|
+
return /* @__PURE__ */ React.createElement(StackItem.Content, {
|
|
57
|
+
role
|
|
58
|
+
}, /* @__PURE__ */ React.createElement(AutomationPanel, {
|
|
59
|
+
space: getSpace(data.companionTo),
|
|
60
|
+
object: data.companionTo
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
})
|
|
64
|
+
]);
|
|
65
|
+
export {
|
|
66
|
+
react_surface_default as default
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=react-surface-L22QIANU.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface, useLayout } from '@dxos/app-framework';\nimport { isInstanceOf } from '@dxos/echo-schema';\nimport { ScriptType } from '@dxos/functions/types';\nimport { getSpace, parseId, useSpace } from '@dxos/react-client/echo';\nimport { StackItem } from '@dxos/react-ui-stack';\n\nimport { AutomationContainer, AutomationPanel, FunctionsContainer } from '../components';\nimport { meta } from '../meta';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${meta.id}/space-settings-automation`,\n role: 'article',\n filter: (data): data is { subject: string } => data.subject === `${meta.id}/space-settings-automation`,\n component: () => {\n const layout = useLayout();\n const { spaceId } = parseId(layout.workspace);\n const space = useSpace(spaceId);\n if (!space || !spaceId) {\n return null;\n }\n\n return <AutomationContainer space={space} />;\n },\n }),\n createSurface({\n id: `${meta.id}/space-settings-functions`,\n role: 'article',\n filter: (data): data is { subject: string } => data.subject === `${meta.id}/space-settings-functions`,\n component: () => {\n const layout = useLayout();\n const { spaceId } = parseId(layout.workspace);\n const space = useSpace(spaceId);\n if (!space || !spaceId) {\n return null;\n }\n\n return <FunctionsContainer space={space} />;\n },\n }),\n createSurface({\n id: `${meta.id}/companion/automation`,\n role: 'article',\n filter: (data): data is { companionTo: ScriptType; subject: 'automation' } =>\n isInstanceOf(ScriptType, data.companionTo) && data.subject === 'automation',\n component: ({ data, role }) => {\n return (\n <StackItem.Content role={role}>\n <AutomationPanel space={getSpace(data.companionTo)!} object={data.companionTo} />\n </StackItem.Content>\n );\n },\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,eAAeC,iBAAiB;AACpE,SAASC,oBAAoB;AAC7B,SAASC,kBAAkB;AAC3B,SAASC,UAAUC,SAASC,gBAAgB;AAC5C,SAASC,iBAAiB;AAK1B,IAAA,wBAAe,MACbC,YAAYC,aAAaC,cAAc;EACrCC,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAAsCA,KAAKC,YAAY,GAAGJ,KAAKD,EAAE;IAC1EM,WAAW,MAAA;AACT,YAAMC,SAASC,UAAAA;AACf,YAAM,EAAEC,QAAO,IAAKC,QAAQH,OAAOI,SAAS;AAC5C,YAAMC,QAAQC,SAASJ,OAAAA;AACvB,UAAI,CAACG,SAAS,CAACH,SAAS;AACtB,eAAO;MACT;AAEA,aAAO,sBAAA,cAACK,qBAAAA;QAAoBF;;IAC9B;EACF,CAAA;EACAb,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAAsCA,KAAKC,YAAY,GAAGJ,KAAKD,EAAE;IAC1EM,WAAW,MAAA;AACT,YAAMC,SAASC,UAAAA;AACf,YAAM,EAAEC,QAAO,IAAKC,QAAQH,OAAOI,SAAS;AAC5C,YAAMC,QAAQC,SAASJ,OAAAA;AACvB,UAAI,CAACG,SAAS,CAACH,SAAS;AACtB,eAAO;MACT;AAEA,aAAO,sBAAA,cAACM,oBAAAA;QAAmBH;;IAC7B;EACF,CAAA;EACAb,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SACPY,aAAaC,YAAYb,KAAKc,WAAW,KAAKd,KAAKC,YAAY;IACjEC,WAAW,CAAC,EAAEF,MAAMF,KAAI,MAAE;AACxB,aACE,sBAAA,cAACiB,UAAUC,SAAO;QAAClB;SACjB,sBAAA,cAACmB,iBAAAA;QAAgBT,OAAOU,SAASlB,KAAKc,WAAW;QAAIK,QAAQnB,KAAKc;;IAGxE;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["React", "Capabilities", "contributes", "createSurface", "useLayout", "isInstanceOf", "ScriptType", "getSpace", "parseId", "useSpace", "StackItem", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "meta", "role", "filter", "data", "subject", "component", "layout", "useLayout", "spaceId", "parseId", "workspace", "space", "useSpace", "AutomationContainer", "FunctionsContainer", "isInstanceOf", "ScriptType", "companionTo", "StackItem", "Content", "AutomationPanel", "getSpace", "object"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var AutomationContainer_E5I76FPP_exports = {};
|
|
30
|
+
__export(AutomationContainer_E5I76FPP_exports, {
|
|
31
|
+
AutomationContainer: () => AutomationContainer,
|
|
32
|
+
default: () => AutomationContainer_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(AutomationContainer_E5I76FPP_exports);
|
|
35
|
+
var import_chunk_SRXHHBDE = require("./chunk-SRXHHBDE.cjs");
|
|
36
|
+
var import_chunk_FTEDH5Q6 = require("./chunk-FTEDH5Q6.cjs");
|
|
37
|
+
var import_chunk_7GXNXMSM = require("./chunk-7GXNXMSM.cjs");
|
|
38
|
+
var import_react = __toESM(require("react"));
|
|
39
|
+
var import_react_ui = require("@dxos/react-ui");
|
|
40
|
+
var import_react_ui_form = require("@dxos/react-ui-form");
|
|
41
|
+
var import_react_ui_stack = require("@dxos/react-ui-stack");
|
|
42
|
+
var AutomationContainer = ({ space }) => {
|
|
43
|
+
const { t } = (0, import_react_ui.useTranslation)(import_chunk_7GXNXMSM.AUTOMATION_PLUGIN);
|
|
44
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react_ui_stack.StackItem.Content, {
|
|
45
|
+
classNames: "block overflow-y-auto"
|
|
46
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_react_ui_form.ControlPage, null, /* @__PURE__ */ import_react.default.createElement(import_react_ui_form.ControlSection, {
|
|
47
|
+
title: t("automation verbose label", {
|
|
48
|
+
ns: import_chunk_7GXNXMSM.AUTOMATION_PLUGIN
|
|
49
|
+
}),
|
|
50
|
+
description: t("automation description", {
|
|
51
|
+
ns: import_chunk_7GXNXMSM.AUTOMATION_PLUGIN
|
|
52
|
+
})
|
|
53
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_chunk_SRXHHBDE.AutomationPanel, {
|
|
54
|
+
space
|
|
55
|
+
}))));
|
|
56
|
+
};
|
|
57
|
+
var AutomationContainer_default = AutomationContainer;
|
|
58
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
59
|
+
0 && (module.exports = {
|
|
60
|
+
AutomationContainer
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=AutomationContainer-E5I76FPP.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/AutomationContainer.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type Space } from '@dxos/react-client/echo';\nimport { useTranslation } from '@dxos/react-ui';\nimport { ControlSection, ControlPage } from '@dxos/react-ui-form';\nimport { StackItem } from '@dxos/react-ui-stack';\n\nimport { AutomationPanel } from './AutomationPanel';\nimport { AUTOMATION_PLUGIN } from '../meta';\n\nexport const AutomationContainer = ({ space }: { space: Space }) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n return (\n <StackItem.Content classNames='block overflow-y-auto'>\n <ControlPage>\n <ControlSection\n title={t('automation verbose label', { ns: AUTOMATION_PLUGIN })}\n description={t('automation description', { ns: AUTOMATION_PLUGIN })}\n >\n <AutomationPanel space={space} />\n </ControlSection>\n </ControlPage>\n </StackItem.Content>\n );\n};\n\nexport default AutomationContainer;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mBAAkB;AAGlB,sBAA+B;AAC/B,2BAA4C;AAC5C,4BAA0B;AAKnB,IAAMA,sBAAsB,CAAC,EAAEC,MAAK,MAAoB;AAC7D,QAAM,EAAEC,EAAC,QAAKC,gCAAeC,uCAAAA;AAC7B,SACE,6BAAAC,QAAA,cAACC,gCAAUC,SAAO;IAACC,YAAW;KAC5B,6BAAAH,QAAA,cAACI,kCAAAA,MACC,6BAAAJ,QAAA,cAACK,qCAAAA;IACCC,OAAOT,EAAE,4BAA4B;MAAEU,IAAIR;IAAkB,CAAA;IAC7DS,aAAaX,EAAE,0BAA0B;MAAEU,IAAIR;IAAkB,CAAA;KAEjE,6BAAAC,QAAA,cAACS,uCAAAA;IAAgBb;;AAK3B;AAEA,IAAA,8BAAeD;",
|
|
6
|
+
"names": ["AutomationContainer", "space", "t", "useTranslation", "AUTOMATION_PLUGIN", "React", "StackItem", "Content", "classNames", "ControlPage", "ControlSection", "title", "ns", "description", "AutomationPanel"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var AutomationPanel_YLXAFJDP_exports = {};
|
|
20
|
+
__export(AutomationPanel_YLXAFJDP_exports, {
|
|
21
|
+
AutomationPanel: () => import_chunk_SRXHHBDE.AutomationPanel,
|
|
22
|
+
default: () => import_chunk_SRXHHBDE.AutomationPanel_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(AutomationPanel_YLXAFJDP_exports);
|
|
25
|
+
var import_chunk_SRXHHBDE = require("./chunk-SRXHHBDE.cjs");
|
|
26
|
+
var import_chunk_FTEDH5Q6 = require("./chunk-FTEDH5Q6.cjs");
|
|
27
|
+
var import_chunk_7GXNXMSM = require("./chunk-7GXNXMSM.cjs");
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
AutomationPanel
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=AutomationPanel-YLXAFJDP.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["AutomationPanel-YLXAFJDP.cjs"],
|
|
4
|
+
"sourcesContent": ["import {\n AutomationPanel,\n AutomationPanel_default\n} from \"./chunk-SRXHHBDE.cjs\";\nimport \"./chunk-FTEDH5Q6.cjs\";\nimport \"./chunk-7GXNXMSM.cjs\";\nexport {\n AutomationPanel,\n AutomationPanel_default as default\n};\n//# sourceMappingURL=AutomationPanel-YLXAFJDP.cjs.map\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAGO;AACP,4BAAO;AACP,4BAAO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var FunctionsContainer_3HCURMEB_exports = {};
|
|
30
|
+
__export(FunctionsContainer_3HCURMEB_exports, {
|
|
31
|
+
FunctionsContainer: () => FunctionsContainer,
|
|
32
|
+
default: () => FunctionsContainer_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(FunctionsContainer_3HCURMEB_exports);
|
|
35
|
+
var import_chunk_BSK5SHTR = require("./chunk-BSK5SHTR.cjs");
|
|
36
|
+
var import_chunk_7GXNXMSM = require("./chunk-7GXNXMSM.cjs");
|
|
37
|
+
var import_react = __toESM(require("react"));
|
|
38
|
+
var import_react_ui = require("@dxos/react-ui");
|
|
39
|
+
var import_react_ui_form = require("@dxos/react-ui-form");
|
|
40
|
+
var import_react_ui_stack = require("@dxos/react-ui-stack");
|
|
41
|
+
var FunctionsContainer = ({ space }) => {
|
|
42
|
+
const { t } = (0, import_react_ui.useTranslation)(import_chunk_7GXNXMSM.AUTOMATION_PLUGIN);
|
|
43
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react_ui_stack.StackItem.Content, {
|
|
44
|
+
classNames: "block overflow-y-auto"
|
|
45
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_react_ui_form.ControlPage, null, /* @__PURE__ */ import_react.default.createElement(import_react_ui_form.ControlSection, {
|
|
46
|
+
title: t("functions verbose label", {
|
|
47
|
+
ns: import_chunk_7GXNXMSM.AUTOMATION_PLUGIN
|
|
48
|
+
}),
|
|
49
|
+
description: t("functions description", {
|
|
50
|
+
ns: import_chunk_7GXNXMSM.AUTOMATION_PLUGIN
|
|
51
|
+
})
|
|
52
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_chunk_BSK5SHTR.FunctionsPanel, {
|
|
53
|
+
space
|
|
54
|
+
}))));
|
|
55
|
+
};
|
|
56
|
+
var FunctionsContainer_default = FunctionsContainer;
|
|
57
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
58
|
+
0 && (module.exports = {
|
|
59
|
+
FunctionsContainer
|
|
60
|
+
});
|
|
61
|
+
//# sourceMappingURL=FunctionsContainer-3HCURMEB.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/FunctionsContainer.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type Space } from '@dxos/react-client/echo';\nimport { useTranslation } from '@dxos/react-ui';\nimport { ControlPage, ControlSection } from '@dxos/react-ui-form';\nimport { StackItem } from '@dxos/react-ui-stack';\n\nimport { FunctionsPanel } from './FunctionsPanel';\nimport { AUTOMATION_PLUGIN } from '../meta';\n\nexport const FunctionsContainer = ({ space }: { space: Space }) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n return (\n <StackItem.Content classNames='block overflow-y-auto'>\n <ControlPage>\n <ControlSection\n title={t('functions verbose label', { ns: AUTOMATION_PLUGIN })}\n description={t('functions description', { ns: AUTOMATION_PLUGIN })}\n >\n <FunctionsPanel space={space} />\n </ControlSection>\n </ControlPage>\n </StackItem.Content>\n );\n};\n\nexport default FunctionsContainer;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mBAAkB;AAGlB,sBAA+B;AAC/B,2BAA4C;AAC5C,4BAA0B;AAKnB,IAAMA,qBAAqB,CAAC,EAAEC,MAAK,MAAoB;AAC5D,QAAM,EAAEC,EAAC,QAAKC,gCAAeC,uCAAAA;AAC7B,SACE,6BAAAC,QAAA,cAACC,gCAAUC,SAAO;IAACC,YAAW;KAC5B,6BAAAH,QAAA,cAACI,kCAAAA,MACC,6BAAAJ,QAAA,cAACK,qCAAAA;IACCC,OAAOT,EAAE,2BAA2B;MAAEU,IAAIR;IAAkB,CAAA;IAC5DS,aAAaX,EAAE,yBAAyB;MAAEU,IAAIR;IAAkB,CAAA;KAEhE,6BAAAC,QAAA,cAACS,sCAAAA;IAAeb;;AAK1B;AAEA,IAAA,6BAAeD;",
|
|
6
|
+
"names": ["FunctionsContainer", "space", "t", "useTranslation", "AUTOMATION_PLUGIN", "React", "StackItem", "Content", "classNames", "ControlPage", "ControlSection", "title", "ns", "description", "FunctionsPanel"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var FunctionsPanel_SYIZHPGU_exports = {};
|
|
20
|
+
__export(FunctionsPanel_SYIZHPGU_exports, {
|
|
21
|
+
FunctionsPanel: () => import_chunk_BSK5SHTR.FunctionsPanel,
|
|
22
|
+
default: () => import_chunk_BSK5SHTR.FunctionsPanel_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(FunctionsPanel_SYIZHPGU_exports);
|
|
25
|
+
var import_chunk_BSK5SHTR = require("./chunk-BSK5SHTR.cjs");
|
|
26
|
+
var import_chunk_7GXNXMSM = require("./chunk-7GXNXMSM.cjs");
|
|
27
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
+
0 && (module.exports = {
|
|
29
|
+
FunctionsPanel
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=FunctionsPanel-SYIZHPGU.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["FunctionsPanel-SYIZHPGU.cjs"],
|
|
4
|
+
"sourcesContent": ["import {\n FunctionsPanel,\n FunctionsPanel_default\n} from \"./chunk-BSK5SHTR.cjs\";\nimport \"./chunk-7GXNXMSM.cjs\";\nexport {\n FunctionsPanel,\n FunctionsPanel_default as default\n};\n//# sourceMappingURL=FunctionsPanel-SYIZHPGU.cjs.map\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAGO;AACP,4BAAO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|