@dxos/plugin-automation 0.8.2-main.f11618f → 0.8.2-staging.7ac8446
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/{chunk-NGG4ICAQ.mjs → AutomationPanel-YAHFXQX6.mjs} +12 -13
- package/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-ND64CHOM.mjs → app-graph-builder-K3BIQFWW.mjs} +1 -42
- package/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs.map +7 -0
- package/dist/lib/browser/chunk-MT3FZH4V.mjs +8 -0
- package/dist/lib/browser/chunk-MT3FZH4V.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +17 -23
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-4QQSJR4A.mjs +42 -0
- package/dist/lib/browser/react-surface-4QQSJR4A.mjs.map +7 -0
- package/dist/lib/node/{chunk-SRXHHBDE.cjs → AutomationPanel-ZKAMIU6O.cjs} +14 -19
- package/dist/lib/node/AutomationPanel-ZKAMIU6O.cjs.map +7 -0
- package/dist/lib/node/{app-graph-builder-TVFR6RXO.cjs → app-graph-builder-HO4FPGZ5.cjs} +4 -45
- package/dist/lib/node/app-graph-builder-HO4FPGZ5.cjs.map +7 -0
- package/dist/lib/node/{chunk-L5TWLPGA.cjs → chunk-AGJ6XTDN.cjs} +7 -16
- package/dist/lib/node/chunk-AGJ6XTDN.cjs.map +7 -0
- package/dist/lib/node/index.cjs +17 -23
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-PCZCHIET.cjs → react-surface-52M54VWV.cjs} +12 -36
- package/dist/lib/node/react-surface-52M54VWV.cjs.map +7 -0
- package/dist/lib/node-esm/{chunk-HMYAQLGF.mjs → AutomationPanel-XF7YPSKM.mjs} +12 -13
- package/dist/lib/node-esm/AutomationPanel-XF7YPSKM.mjs.map +7 -0
- package/dist/lib/node-esm/{app-graph-builder-NYLOXWVV.mjs → app-graph-builder-XCJR33VS.mjs} +1 -42
- package/dist/lib/node-esm/app-graph-builder-XCJR33VS.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-OA75PSGH.mjs +10 -0
- package/dist/lib/node-esm/chunk-OA75PSGH.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +17 -23
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-MGKM3OO3.mjs +43 -0
- package/dist/lib/node-esm/react-surface-MGKM3OO3.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 +0 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts +3 -6
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/index.d.ts +0 -1
- package/dist/types/src/components/AutomationPanel/index.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -8
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +0 -8
- package/dist/types/src/translations.d.ts.map +1 -1
- package/package.json +24 -29
- package/src/AutomationPlugin.tsx +9 -4
- package/src/capabilities/app-graph-builder.ts +0 -31
- package/src/capabilities/index.ts +0 -1
- package/src/capabilities/react-surface.tsx +7 -31
- package/src/components/AutomationPanel/AutomationPanel.stories.tsx +4 -4
- package/src/components/AutomationPanel/AutomationPanel.tsx +63 -62
- package/src/components/AutomationPanel/index.ts +0 -2
- package/src/components/TriggerEditor/TriggerEditor.stories.tsx +3 -3
- package/src/components/index.ts +0 -3
- package/src/translations.ts +1 -10
- package/dist/lib/browser/AutomationContainer-KEQ5RNIW.mjs +0 -34
- package/dist/lib/browser/AutomationContainer-KEQ5RNIW.mjs.map +0 -7
- package/dist/lib/browser/AutomationPanel-G3OB6ELR.mjs +0 -11
- package/dist/lib/browser/AutomationPanel-G3OB6ELR.mjs.map +0 -7
- package/dist/lib/browser/FunctionsContainer-STXBW4CX.mjs +0 -33
- package/dist/lib/browser/FunctionsContainer-STXBW4CX.mjs.map +0 -7
- package/dist/lib/browser/FunctionsPanel-JJPLIAJW.mjs +0 -10
- package/dist/lib/browser/FunctionsPanel-JJPLIAJW.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-ND64CHOM.mjs.map +0 -7
- package/dist/lib/browser/chunk-65VL4EYS.mjs +0 -88
- package/dist/lib/browser/chunk-65VL4EYS.mjs.map +0 -7
- package/dist/lib/browser/chunk-FCLWFVFX.mjs +0 -39
- package/dist/lib/browser/chunk-FCLWFVFX.mjs.map +0 -7
- package/dist/lib/browser/chunk-NGG4ICAQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-QJPKWYTL.mjs +0 -14
- package/dist/lib/browser/chunk-QJPKWYTL.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-SNIAQ7V5.mjs +0 -78
- package/dist/lib/browser/intent-resolver-SNIAQ7V5.mjs.map +0 -7
- package/dist/lib/browser/react-surface-L22QIANU.mjs +0 -68
- package/dist/lib/browser/react-surface-L22QIANU.mjs.map +0 -7
- package/dist/lib/browser/types.mjs +0 -8
- package/dist/lib/browser/types.mjs.map +0 -7
- package/dist/lib/node/AutomationContainer-E5I76FPP.cjs +0 -62
- package/dist/lib/node/AutomationContainer-E5I76FPP.cjs.map +0 -7
- package/dist/lib/node/AutomationPanel-YLXAFJDP.cjs +0 -32
- package/dist/lib/node/AutomationPanel-YLXAFJDP.cjs.map +0 -7
- package/dist/lib/node/FunctionsContainer-3HCURMEB.cjs +0 -61
- package/dist/lib/node/FunctionsContainer-3HCURMEB.cjs.map +0 -7
- package/dist/lib/node/FunctionsPanel-SYIZHPGU.cjs +0 -31
- package/dist/lib/node/FunctionsPanel-SYIZHPGU.cjs.map +0 -7
- package/dist/lib/node/app-graph-builder-TVFR6RXO.cjs.map +0 -7
- package/dist/lib/node/chunk-BSK5SHTR.cjs +0 -116
- package/dist/lib/node/chunk-BSK5SHTR.cjs.map +0 -7
- package/dist/lib/node/chunk-L5TWLPGA.cjs.map +0 -7
- package/dist/lib/node/chunk-PSIJDHAX.cjs +0 -58
- package/dist/lib/node/chunk-PSIJDHAX.cjs.map +0 -7
- package/dist/lib/node/chunk-SRXHHBDE.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-A44BNFEG.cjs +0 -94
- package/dist/lib/node/intent-resolver-A44BNFEG.cjs.map +0 -7
- package/dist/lib/node/react-surface-PCZCHIET.cjs.map +0 -7
- package/dist/lib/node/types.cjs +0 -30
- package/dist/lib/node/types.cjs.map +0 -7
- package/dist/lib/node-esm/AutomationContainer-22PUFPSE.mjs +0 -35
- package/dist/lib/node-esm/AutomationContainer-22PUFPSE.mjs.map +0 -7
- package/dist/lib/node-esm/AutomationPanel-6UXIAJVS.mjs +0 -12
- package/dist/lib/node-esm/AutomationPanel-6UXIAJVS.mjs.map +0 -7
- package/dist/lib/node-esm/FunctionsContainer-XG5WVAN3.mjs +0 -34
- package/dist/lib/node-esm/FunctionsContainer-XG5WVAN3.mjs.map +0 -7
- package/dist/lib/node-esm/FunctionsPanel-J3QGUESH.mjs +0 -11
- package/dist/lib/node-esm/FunctionsPanel-J3QGUESH.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-NYLOXWVV.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-4UPGANGV.mjs +0 -89
- package/dist/lib/node-esm/chunk-4UPGANGV.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HMYAQLGF.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-TMMB5ETD.mjs +0 -16
- package/dist/lib/node-esm/chunk-TMMB5ETD.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-YYBCQXB2.mjs +0 -40
- package/dist/lib/node-esm/chunk-YYBCQXB2.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-JFLTVJ7D.mjs +0 -79
- package/dist/lib/node-esm/intent-resolver-JFLTVJ7D.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-VSO4NWC6.mjs +0 -69
- package/dist/lib/node-esm/react-surface-VSO4NWC6.mjs.map +0 -7
- package/dist/lib/node-esm/types.mjs +0 -9
- package/dist/lib/node-esm/types.mjs.map +0 -7
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/AutomationContainer.d.ts +0 -7
- package/dist/types/src/components/AutomationContainer.d.ts.map +0 -1
- package/dist/types/src/components/FunctionsContainer.d.ts +0 -7
- package/dist/types/src/components/FunctionsContainer.d.ts.map +0 -1
- package/dist/types/src/components/FunctionsPanel/FunctionsPanel.d.ts +0 -7
- package/dist/types/src/components/FunctionsPanel/FunctionsPanel.d.ts.map +0 -1
- package/dist/types/src/components/FunctionsPanel/index.d.ts +0 -4
- package/dist/types/src/components/FunctionsPanel/index.d.ts.map +0 -1
- package/dist/types/src/types.d.ts +0 -25
- package/dist/types/src/types.d.ts.map +0 -1
- package/src/capabilities/intent-resolver.ts +0 -76
- package/src/components/AutomationContainer.tsx +0 -31
- package/src/components/FunctionsContainer.tsx +0 -31
- package/src/components/FunctionsPanel/FunctionsPanel.tsx +0 -95
- package/src/components/FunctionsPanel/index.ts +0 -8
- package/src/types.ts +0 -32
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/AutomationPanel/AutomationPanel.tsx", "../../../src/components/AutomationPanel/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport React, { useState } from 'react';\n\nimport { S } from '@dxos/echo-schema';\nimport {\n FunctionType,\n FunctionTrigger,\n FunctionTriggerSchema,\n TriggerKind,\n type FunctionTriggerType,\n ScriptType,\n} from '@dxos/functions/types';\nimport { type Client, useClient } from '@dxos/react-client';\nimport { create, Filter, useQuery, type Space, type ReactiveObject, getSpace } from '@dxos/react-client/echo';\nimport { Clipboard, IconButton, Input, Separator, useTranslation } from '@dxos/react-ui';\nimport { ControlItem, controlItemClasses } from '@dxos/react-ui-form';\nimport { List } from '@dxos/react-ui-list';\nimport { StackItem } from '@dxos/react-ui-stack';\nimport { ghostHover, mx } from '@dxos/react-ui-theme';\n\nimport { AUTOMATION_PLUGIN } from '../../meta';\nimport { TriggerEditor, type TriggerEditorProps } from '../TriggerEditor';\n\nconst grid = 'grid grid-cols-[40px_1fr_32px] min-bs-[2.5rem]';\n\nexport type AutomationPanelProps = {\n space: Space;\n object?: ReactiveObject<any>;\n};\n\n// TODO(burdon): Factor out common layout with ViewEditor.\nexport const AutomationPanel = ({ space, object }: AutomationPanelProps) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n const client = useClient();\n const triggers = useQuery(space, Filter.schema(FunctionTrigger));\n const functions = useQuery(space, Filter.schema(FunctionType));\n const scripts = useQuery(space, Filter.schema(ScriptType));\n\n const [trigger, setTrigger] = useState<FunctionTriggerType>();\n const [selected, setSelected] = useState<FunctionTrigger>();\n\n const handleSelect = (trigger: FunctionTrigger) => {\n const { id: _, ...values } = trigger;\n setTrigger(values);\n setSelected(trigger);\n };\n\n const handleAdd = () => {\n setTrigger(create(FunctionTriggerSchema, {}));\n setSelected(undefined);\n };\n\n const handleDelete = (trigger: FunctionTrigger) => {\n space.db.remove(trigger);\n setTrigger(undefined);\n setSelected(undefined);\n };\n\n const handleSave: TriggerEditorProps['onSave'] = (trigger) => {\n if (selected) {\n Object.assign(selected, trigger);\n } else {\n space.db.add(create(FunctionTrigger, trigger));\n }\n\n setTrigger(undefined);\n setSelected(undefined);\n };\n\n const handleCancel: TriggerEditorProps['onCancel'] = () => {\n setTrigger(undefined);\n };\n\n return (\n <Clipboard.Provider>\n <StackItem.Content classNames='block overflow-y-auto'>\n <div className='flex flex-col w-full'>\n {trigger ? (\n <ControlItem title={t('trigger editor title')}>\n <TriggerEditor space={space} trigger={trigger} onSave={handleSave} onCancel={handleCancel} />\n </ControlItem>\n ) : (\n <div role='none' className={controlItemClasses}>\n <List.Root<FunctionTrigger> items={triggers} isItem={S.is(FunctionTrigger)} getId={(field) => field.id}>\n {({ items: triggers }) => (\n <div role='list' className='flex flex-col w-full'>\n {triggers?.map((trigger) => {\n const copyAction = getCopyAction(client, trigger);\n return (\n <List.Item<FunctionTrigger>\n key={trigger.id}\n item={trigger}\n classNames={mx(grid, ghostHover, 'items-center', 'px-2')}\n >\n <Input.Root>\n <Input.Switch\n checked={trigger.enabled}\n onCheckedChange={(checked) => (trigger.enabled = checked)}\n />\n </Input.Root>\n\n <div className={'flex'}>\n <List.ItemTitle\n classNames='px-1 cursor-pointer w-0 shrink truncate'\n onClick={() => handleSelect(trigger)}\n >\n {getFunctionName(scripts, functions, trigger) ?? '∅'}\n </List.ItemTitle>\n\n {/* TODO: a better way to expose copy action */}\n {copyAction && (\n <Clipboard.IconButton\n label={t(copyAction.translationKey)}\n value={copyAction.contentProvider()}\n />\n )}\n </div>\n\n <List.ItemDeleteButton onClick={() => handleDelete(trigger)} />\n </List.Item>\n );\n })}\n </div>\n )}\n </List.Root>\n {triggers.length > 0 && <Separator classNames='mlb-4' />}\n <IconButton icon='ph--plus--regular' label={t('new trigger label')} onClick={handleAdd} />\n </div>\n )}\n </div>\n </StackItem.Content>\n </Clipboard.Provider>\n );\n};\n\nconst getCopyAction = (client: Client, trigger: FunctionTrigger | undefined) => {\n if (trigger?.spec?.type === TriggerKind.Email) {\n return { translationKey: 'trigger copy email', contentProvider: () => `${getSpace(trigger)!.id}@dxos.network` };\n }\n\n if (trigger?.spec?.type === TriggerKind.Webhook) {\n return { translationKey: 'trigger copy url', contentProvider: () => getWebhookUrl(client, trigger) };\n }\n\n return undefined;\n};\n\nconst getWebhookUrl = (client: Client, trigger: FunctionTrigger) => {\n const spaceId = getSpace(trigger)!.id;\n const edgeUrl = new URL(client.config.values.runtime!.services!.edge!.url!);\n const isSecure = edgeUrl.protocol.startsWith('https') || edgeUrl.protocol.startsWith('wss');\n edgeUrl.protocol = isSecure ? 'https' : 'http';\n return new URL(`/webhook/${spaceId}:${trigger.id}`, edgeUrl).toString();\n};\n\nconst getFunctionName = (scripts: ScriptType[], functions: FunctionType[], trigger: FunctionTriggerType) => {\n // TODO(wittjosiah): Truncation should be done in the UI.\n // Warning that the List component is currently a can of worms.\n const shortId = trigger.function && `${trigger.function?.slice(0, 16)}…`;\n const functionObject = functions.find((fn) => `dxn:worker:${fn.name}` === trigger.function);\n if (!functionObject) {\n return shortId;\n }\n return scripts.find((s) => functionObject.source?.target?.id === s.id)?.name ?? shortId;\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { AutomationPanel } from './AutomationPanel';\n\nexport default AutomationPanel;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;AAIA,OAAOA,SAASC,gBAAgB;AAEhC,SAASC,SAAS;AAClB,SACEC,cACAC,iBACAC,uBACAC,aAEAC,kBACK;AACP,SAAsBC,iBAAiB;AACvC,SAASC,QAAQC,QAAQC,UAA2CC,gBAAgB;AACpF,SAASC,WAAWC,YAAYC,OAAOC,WAAWC,sBAAsB;AACxE,SAASC,aAAaC,0BAA0B;AAChD,SAASC,YAAY;AACrB,SAASC,iBAAiB;AAC1B,SAASC,YAAYC,UAAU;AAK/B,IAAMC,OAAO;AAQN,IAAMC,kBAAkB,CAAC,EAAEC,OAAOC,OAAM,MAAwB;AACrE,QAAM,EAAEC,EAAC,IAAKC,eAAeC,iBAAAA;AAC7B,QAAMC,SAASC,UAAAA;AACf,QAAMC,WAAWC,SAASR,OAAOS,OAAOC,OAAOC,eAAAA,CAAAA;AAC/C,QAAMC,YAAYJ,SAASR,OAAOS,OAAOC,OAAOG,YAAAA,CAAAA;AAChD,QAAMC,UAAUN,SAASR,OAAOS,OAAOC,OAAOK,UAAAA,CAAAA;AAE9C,QAAM,CAACC,SAASC,UAAAA,IAAcC,SAAAA;AAC9B,QAAM,CAACC,UAAUC,WAAAA,IAAeF,SAAAA;AAEhC,QAAMG,eAAe,CAACL,aAAAA;AACpB,UAAM,EAAEM,IAAIC,GAAG,GAAGC,OAAAA,IAAWR;AAC7BC,eAAWO,MAAAA;AACXJ,gBAAYJ,QAAAA;EACd;AAEA,QAAMS,YAAY,MAAA;AAChBR,eAAWS,OAAOC,uBAAuB,CAAC,CAAA,CAAA;AAC1CP,gBAAYQ,MAAAA;EACd;AAEA,QAAMC,eAAe,CAACb,aAAAA;AACpBhB,UAAM8B,GAAGC,OAAOf,QAAAA;AAChBC,eAAWW,MAAAA;AACXR,gBAAYQ,MAAAA;EACd;AAEA,QAAMI,aAA2C,CAAChB,aAAAA;AAChD,QAAIG,UAAU;AACZc,aAAOC,OAAOf,UAAUH,QAAAA;IAC1B,OAAO;AACLhB,YAAM8B,GAAGK,IAAIT,OAAOf,iBAAiBK,QAAAA,CAAAA;IACvC;AAEAC,eAAWW,MAAAA;AACXR,gBAAYQ,MAAAA;EACd;AAEA,QAAMQ,eAA+C,MAAA;AACnDnB,eAAWW,MAAAA;EACb;AAEA,SACE,sBAAA,cAACS,UAAUC,UAAQ,MACjB,sBAAA,cAACC,UAAUC,SAAO;IAACC,YAAW;KAC5B,sBAAA,cAACC,OAAAA;IAAIC,WAAU;KACZ3B,UACC,sBAAA,cAAC4B,aAAAA;IAAYC,OAAO3C,EAAE,sBAAA;KACpB,sBAAA,cAAC4C,eAAAA;IAAc9C;IAAcgB;IAAkB+B,QAAQf;IAAYgB,UAAUZ;QAG/E,sBAAA,cAACM,OAAAA;IAAIO,MAAK;IAAON,WAAWO;KAC1B,sBAAA,cAACC,KAAKC,MAAI;IAAkBC,OAAO9C;IAAU+C,QAAQC,EAAEC,GAAG7C,eAAAA;IAAkB8C,OAAO,CAACC,UAAUA,MAAMpC;KACjG,CAAC,EAAE+B,OAAO9C,UAAQ,MACjB,sBAAA,cAACmC,OAAAA;IAAIO,MAAK;IAAON,WAAU;KACxBpC,WAAUoD,IAAI,CAAC3C,aAAAA;AACd,UAAM4C,aAAaC,cAAcxD,QAAQW,QAAAA;AACzC,WACE,sBAAA,cAACmC,KAAKW,MAAI;MACRC,KAAK/C,SAAQM;MACb0C,MAAMhD;MACNyB,YAAYwB,GAAGnE,MAAMoE,YAAY,gBAAgB,MAAA;OAEjD,sBAAA,cAACC,MAAMf,MAAI,MACT,sBAAA,cAACe,MAAMC,QAAM;MACXC,SAASrD,SAAQsD;MACjBC,iBAAiB,CAACF,YAAarD,SAAQsD,UAAUD;SAIrD,sBAAA,cAAC3B,OAAAA;MAAIC,WAAW;OACd,sBAAA,cAACQ,KAAKqB,WAAS;MACb/B,YAAW;MACXgC,SAAS,MAAMpD,aAAaL,QAAAA;OAE3B0D,gBAAgB5D,SAASF,WAAWI,QAAAA,KAAY,QAAA,GAIlD4C,cACC,sBAAA,cAACvB,UAAUsC,YAAU;MACnBC,OAAO1E,EAAE0D,WAAWiB,cAAc;MAClCC,OAAOlB,WAAWmB,gBAAe;SAKvC,sBAAA,cAAC5B,KAAK6B,kBAAgB;MAACP,SAAS,MAAM5C,aAAab,QAAAA;;EAGzD,CAAA,CAAA,CAAA,GAILT,SAAS0E,SAAS,KAAK,sBAAA,cAACC,WAAAA;IAAUzC,YAAW;MAC9C,sBAAA,cAACkC,YAAAA;IAAWQ,MAAK;IAAoBP,OAAO1E,EAAE,mBAAA;IAAsBuE,SAAShD;;AAO3F;AAEA,IAAMoC,gBAAgB,CAACxD,QAAgBW,YAAAA;AACrC,MAAIA,SAASoE,MAAMC,SAASC,YAAYC,OAAO;AAC7C,WAAO;MAAEV,gBAAgB;MAAsBE,iBAAiB,MAAM,GAAGS,SAASxE,OAAAA,EAAUM,EAAE;IAAgB;EAChH;AAEA,MAAIN,SAASoE,MAAMC,SAASC,YAAYG,SAAS;AAC/C,WAAO;MAAEZ,gBAAgB;MAAoBE,iBAAiB,MAAMW,cAAcrF,QAAQW,OAAAA;IAAS;EACrG;AAEA,SAAOY;AACT;AAEA,IAAM8D,gBAAgB,CAACrF,QAAgBW,YAAAA;AACrC,QAAM2E,UAAUH,SAASxE,OAAAA,EAAUM;AACnC,QAAMsE,UAAU,IAAIC,IAAIxF,OAAOyF,OAAOtE,OAAOuE,QAASC,SAAUC,KAAMC,GAAG;AACzE,QAAMC,WAAWP,QAAQQ,SAASC,WAAW,OAAA,KAAYT,QAAQQ,SAASC,WAAW,KAAA;AACrFT,UAAQQ,WAAWD,WAAW,UAAU;AACxC,SAAO,IAAIN,IAAI,YAAYF,OAAAA,IAAW3E,QAAQM,EAAE,IAAIsE,OAAAA,EAASU,SAAQ;AACvE;AAEA,IAAM5B,kBAAkB,CAAC5D,SAAuBF,WAA2BI,YAAAA;AAGzE,QAAMuF,UAAUvF,QAAQwF,YAAY,GAAGxF,QAAQwF,UAAUC,MAAM,GAAG,EAAA,CAAA;AAClE,QAAMC,iBAAiB9F,UAAU+F,KAAK,CAACC,OAAO,cAAcA,GAAGC,IAAI,OAAO7F,QAAQwF,QAAQ;AAC1F,MAAI,CAACE,gBAAgB;AACnB,WAAOH;EACT;AACA,SAAOzF,QAAQ6F,KAAK,CAACG,MAAMJ,eAAeK,QAAQC,QAAQ1F,OAAOwF,EAAExF,EAAE,GAAGuF,QAAQN;AAClF;;;ACjKA,IAAA,0BAAeU;",
|
|
6
|
+
"names": ["React", "useState", "S", "FunctionType", "FunctionTrigger", "FunctionTriggerSchema", "TriggerKind", "ScriptType", "useClient", "create", "Filter", "useQuery", "getSpace", "Clipboard", "IconButton", "Input", "Separator", "useTranslation", "ControlItem", "controlItemClasses", "List", "StackItem", "ghostHover", "mx", "grid", "AutomationPanel", "space", "object", "t", "useTranslation", "AUTOMATION_PLUGIN", "client", "useClient", "triggers", "useQuery", "Filter", "schema", "FunctionTrigger", "functions", "FunctionType", "scripts", "ScriptType", "trigger", "setTrigger", "useState", "selected", "setSelected", "handleSelect", "id", "_", "values", "handleAdd", "create", "FunctionTriggerSchema", "undefined", "handleDelete", "db", "remove", "handleSave", "Object", "assign", "add", "handleCancel", "Clipboard", "Provider", "StackItem", "Content", "classNames", "div", "className", "ControlItem", "title", "TriggerEditor", "onSave", "onCancel", "role", "controlItemClasses", "List", "Root", "items", "isItem", "S", "is", "getId", "field", "map", "copyAction", "getCopyAction", "Item", "key", "item", "mx", "ghostHover", "Input", "Switch", "checked", "enabled", "onCheckedChange", "ItemTitle", "onClick", "getFunctionName", "IconButton", "label", "translationKey", "value", "contentProvider", "ItemDeleteButton", "length", "Separator", "icon", "spec", "type", "TriggerKind", "Email", "getSpace", "Webhook", "getWebhookUrl", "spaceId", "edgeUrl", "URL", "config", "runtime", "services", "edge", "url", "isSecure", "protocol", "startsWith", "toString", "shortId", "function", "slice", "functionObject", "find", "fn", "name", "s", "source", "target", "AutomationPanel"]
|
|
7
|
+
}
|
|
@@ -10,48 +10,7 @@ import { ScriptType } from "@dxos/functions";
|
|
|
10
10
|
import { PLANK_COMPANION_TYPE, ATTENDABLE_PATH_SEPARATOR } from "@dxos/plugin-deck/types";
|
|
11
11
|
import { createExtension } from "@dxos/plugin-graph";
|
|
12
12
|
import { SCRIPT_PLUGIN } from "@dxos/plugin-script/types";
|
|
13
|
-
import { SPACE_PLUGIN } from "@dxos/plugin-space";
|
|
14
13
|
var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBuilder, [
|
|
15
|
-
createExtension({
|
|
16
|
-
id: `${meta.id}/space-settings-automation`,
|
|
17
|
-
filter: (node) => node.type === `${SPACE_PLUGIN}/settings`,
|
|
18
|
-
connector: ({ node }) => [
|
|
19
|
-
{
|
|
20
|
-
id: `automation-${node.id}`,
|
|
21
|
-
type: `${meta.id}/space-settings-automation`,
|
|
22
|
-
data: `${meta.id}/space-settings-automation`,
|
|
23
|
-
properties: {
|
|
24
|
-
label: [
|
|
25
|
-
"automation panel label",
|
|
26
|
-
{
|
|
27
|
-
ns: meta.id
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
icon: "ph--lightning--regular"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}),
|
|
35
|
-
createExtension({
|
|
36
|
-
id: `${meta.id}/space-settings-functions`,
|
|
37
|
-
filter: (node) => node.type === `${SPACE_PLUGIN}/settings`,
|
|
38
|
-
connector: ({ node }) => [
|
|
39
|
-
{
|
|
40
|
-
id: `functions-${node.id}`,
|
|
41
|
-
type: `${meta.id}/space-settings-functions`,
|
|
42
|
-
data: `${meta.id}/space-settings-functions`,
|
|
43
|
-
properties: {
|
|
44
|
-
label: [
|
|
45
|
-
"functions panel label",
|
|
46
|
-
{
|
|
47
|
-
ns: meta.id
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
icon: "ph--function--regular"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
}),
|
|
55
14
|
createExtension({
|
|
56
15
|
id: `${SCRIPT_PLUGIN}/script-companion`,
|
|
57
16
|
filter: (node) => isInstanceOf(ScriptType, node.data),
|
|
@@ -79,4 +38,4 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
79
38
|
export {
|
|
80
39
|
app_graph_builder_default as default
|
|
81
40
|
};
|
|
82
|
-
//# sourceMappingURL=app-graph-builder-
|
|
41
|
+
//# sourceMappingURL=app-graph-builder-XCJR33VS.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/app-graph-builder.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes, type PluginsContext } from '@dxos/app-framework';\nimport { isInstanceOf } from '@dxos/echo-schema';\nimport { ScriptType } from '@dxos/functions';\nimport { PLANK_COMPANION_TYPE, ATTENDABLE_PATH_SEPARATOR } from '@dxos/plugin-deck/types';\nimport { createExtension, type Node } from '@dxos/plugin-graph';\nimport { SCRIPT_PLUGIN } from '@dxos/plugin-script/types';\n\nimport { meta } from '../meta';\n\nexport default (context: PluginsContext) =>\n contributes(Capabilities.AppGraphBuilder, [\n createExtension({\n id: `${SCRIPT_PLUGIN}/script-companion`,\n filter: (node): node is Node<ScriptType> => isInstanceOf(ScriptType, node.data),\n connector: ({ node }) => [\n {\n id: [node.id, 'automation'].join(ATTENDABLE_PATH_SEPARATOR),\n type: PLANK_COMPANION_TYPE,\n data: 'automation',\n properties: {\n label: ['script automation label', { ns: meta.id }],\n icon: 'ph--lightning--regular',\n },\n },\n ],\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;AAIA,SAASA,cAAcC,mBAAwC;AAC/D,SAASC,oBAAoB;AAC7B,SAASC,kBAAkB;AAC3B,SAASC,sBAAsBC,iCAAiC;AAChE,SAASC,uBAAkC;AAC3C,SAASC,qBAAqB;AAI9B,IAAA,4BAAe,CAACC,YACdC,YAAYC,aAAaC,iBAAiB;EACxCC,gBAAgB;IACdC,IAAI,GAAGC,aAAAA;IACPC,QAAQ,CAACC,SAAmCC,aAAaC,YAAYF,KAAKG,IAAI;IAC9EC,WAAW,CAAC,EAAEJ,KAAI,MAAO;MACvB;QACEH,IAAI;UAACG,KAAKH;UAAI;UAAcQ,KAAKC,yBAAAA;QACjCC,MAAMC;QACNL,MAAM;QACNM,YAAY;UACVC,OAAO;YAAC;YAA2B;cAAEC,IAAIC,KAAKf;YAAG;;UACjDgB,MAAM;QACR;MACF;;EAEJ,CAAA;CACD;",
|
|
6
|
+
"names": ["Capabilities", "contributes", "isInstanceOf", "ScriptType", "PLANK_COMPANION_TYPE", "ATTENDABLE_PATH_SEPARATOR", "createExtension", "SCRIPT_PLUGIN", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "SCRIPT_PLUGIN", "filter", "node", "isInstanceOf", "ScriptType", "data", "connector", "join", "ATTENDABLE_PATH_SEPARATOR", "type", "PLANK_COMPANION_TYPE", "properties", "label", "ns", "meta", "icon"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
|
|
3
|
+
// packages/plugins/plugin-automation/src/components/index.ts
|
|
4
|
+
import { lazy } from "react";
|
|
5
|
+
var AutomationPanel = lazy(() => import("./AutomationPanel-XF7YPSKM.mjs"));
|
|
6
|
+
|
|
7
|
+
export {
|
|
8
|
+
AutomationPanel
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=chunk-OA75PSGH.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport * from './TriggerEditor';\n\nexport const AutomationPanel = lazy(() => import('./AutomationPanel'));\n"],
|
|
5
|
+
"mappings": ";;;AAIA,SAASA,YAAY;AAId,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,gCAAA,CAAA;",
|
|
6
|
+
"names": ["lazy", "AutomationPanel", "lazy"]
|
|
7
|
+
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
FunctionsContainer,
|
|
6
|
-
FunctionsPanel
|
|
7
|
-
} from "./chunk-TMMB5ETD.mjs";
|
|
3
|
+
AutomationPanel
|
|
4
|
+
} from "./chunk-OA75PSGH.mjs";
|
|
8
5
|
import {
|
|
9
6
|
TriggerEditor
|
|
10
7
|
} from "./chunk-M4QXMIIB.mjs";
|
|
@@ -17,12 +14,12 @@ import {
|
|
|
17
14
|
import { Capabilities, contributes, defineModule, definePlugin, Events } from "@dxos/app-framework";
|
|
18
15
|
import { FunctionType, FunctionTrigger } from "@dxos/functions/types";
|
|
19
16
|
import { ClientCapabilities, ClientEvents } from "@dxos/plugin-client";
|
|
17
|
+
import { SpaceCapabilities, SpaceEvents } from "@dxos/plugin-space";
|
|
20
18
|
|
|
21
19
|
// packages/plugins/plugin-automation/src/capabilities/index.ts
|
|
22
20
|
import { lazy } from "@dxos/app-framework";
|
|
23
|
-
var AppGraphBuilder = lazy(() => import("./app-graph-builder-
|
|
24
|
-
var
|
|
25
|
-
var ReactSurface = lazy(() => import("./react-surface-VSO4NWC6.mjs"));
|
|
21
|
+
var AppGraphBuilder = lazy(() => import("./app-graph-builder-XCJR33VS.mjs"));
|
|
22
|
+
var ReactSurface = lazy(() => import("./react-surface-MGKM3OO3.mjs"));
|
|
26
23
|
|
|
27
24
|
// packages/plugins/plugin-automation/src/translations.ts
|
|
28
25
|
var translations_default = [
|
|
@@ -32,15 +29,7 @@ var translations_default = [
|
|
|
32
29
|
"plugin name": "Automation",
|
|
33
30
|
"automation panel label": "Automations",
|
|
34
31
|
"script automation label": "Automation",
|
|
35
|
-
"
|
|
36
|
-
"automation description": "You can manage all the triggers which automate your space here.",
|
|
37
|
-
"functions panel label": "Functions",
|
|
38
|
-
"functions verbose label": "Manage deployed functions",
|
|
39
|
-
"functions description": "You can manage all the functions deployed from your space on EDGE here.",
|
|
40
|
-
"function copy id": "Copy Function ID",
|
|
41
|
-
"no functions found": "No functions found",
|
|
42
|
-
"go to function source button label": "Show function source",
|
|
43
|
-
"trigger editor title": "Configure Trigger",
|
|
32
|
+
"trigger editor title": "New Trigger",
|
|
44
33
|
"new trigger label": "Add Trigger",
|
|
45
34
|
"trigger type timer": "Timer",
|
|
46
35
|
"trigger type webhook": "Webhook",
|
|
@@ -79,9 +68,17 @@ var AutomationPlugin = () => definePlugin(meta, [
|
|
|
79
68
|
activate: AppGraphBuilder
|
|
80
69
|
}),
|
|
81
70
|
defineModule({
|
|
82
|
-
id: `${meta.id}/module/
|
|
83
|
-
activatesOn:
|
|
84
|
-
activate:
|
|
71
|
+
id: `${meta.id}/module/space-settings`,
|
|
72
|
+
activatesOn: SpaceEvents.SetupSettingsPanel,
|
|
73
|
+
activate: () => contributes(SpaceCapabilities.SettingsSection, {
|
|
74
|
+
id: "automation",
|
|
75
|
+
label: [
|
|
76
|
+
"automation panel label",
|
|
77
|
+
{
|
|
78
|
+
ns: meta.id
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
})
|
|
85
82
|
}),
|
|
86
83
|
defineModule({
|
|
87
84
|
id: `${meta.id}/module/react-surface`,
|
|
@@ -91,11 +88,8 @@ var AutomationPlugin = () => definePlugin(meta, [
|
|
|
91
88
|
]);
|
|
92
89
|
export {
|
|
93
90
|
AUTOMATION_PLUGIN,
|
|
94
|
-
AutomationContainer,
|
|
95
91
|
AutomationPanel,
|
|
96
92
|
AutomationPlugin,
|
|
97
|
-
FunctionsContainer,
|
|
98
|
-
FunctionsPanel,
|
|
99
93
|
TriggerEditor,
|
|
100
94
|
meta
|
|
101
95
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/AutomationPlugin.tsx", "../../../src/capabilities/index.ts", "../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, contributes, defineModule, definePlugin, Events } from '@dxos/app-framework';\nimport { FunctionType, FunctionTrigger } from '@dxos/functions/types';\nimport { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';\n\nimport { AppGraphBuilder,
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["Capabilities", "contributes", "defineModule", "definePlugin", "Events", "FunctionType", "FunctionTrigger", "ClientCapabilities", "ClientEvents", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, contributes, defineModule, definePlugin, Events } from '@dxos/app-framework';\nimport { FunctionType, FunctionTrigger } from '@dxos/functions/types';\nimport { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';\nimport { SpaceCapabilities, SpaceEvents } from '@dxos/plugin-space';\n\nimport { AppGraphBuilder, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport translations from './translations';\n\nexport const AutomationPlugin = () =>\n definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/schema`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () => contributes(ClientCapabilities.Schema, [FunctionType, FunctionTrigger]),\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n defineModule({\n id: `${meta.id}/module/space-settings`,\n activatesOn: SpaceEvents.SetupSettingsPanel,\n activate: () =>\n contributes(SpaceCapabilities.SettingsSection, {\n id: 'automation',\n label: ['automation panel label', { ns: meta.id }],\n }),\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n ]);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { AUTOMATION_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [AUTOMATION_PLUGIN]: {\n 'plugin name': 'Automation',\n 'automation panel label': 'Automations',\n 'script automation label': 'Automation',\n\n 'trigger editor title': 'New Trigger',\n 'new trigger label': 'Add Trigger',\n 'trigger type timer': 'Timer',\n 'trigger type webhook': 'Webhook',\n 'trigger type websocket': 'Websocket',\n 'trigger type subscription': 'Subscription',\n 'trigger type email': 'Email',\n 'trigger type queue': 'Queue',\n\n 'trigger copy url': 'Copy URL',\n 'trigger copy email': 'Copy Email',\n\n 'trigger payload add': 'Add',\n 'trigger payload remove': 'Remove',\n 'trigger payload prop name placeholder': 'New payload property name',\n },\n },\n },\n];\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAIA,SAASA,cAAcC,aAAaC,cAAcC,cAAcC,cAAc;AAC9E,SAASC,cAAcC,uBAAuB;AAC9C,SAASC,oBAAoBC,oBAAoB;AACjD,SAASC,mBAAmBC,mBAAmB;;;ACH/C,SAASC,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,eAAeD,KAAK,MAAM,OAAO,8BAAA,CAAA;;;ACD9C,IAAA,uBAAe;EACb;IACE,SAAS;MACP,CAACE,iBAAAA,GAAoB;QACnB,eAAe;QACf,0BAA0B;QAC1B,2BAA2B;QAE3B,wBAAwB;QACxB,qBAAqB;QACrB,sBAAsB;QACtB,wBAAwB;QACxB,0BAA0B;QAC1B,6BAA6B;QAC7B,sBAAsB;QACtB,sBAAsB;QAEtB,oBAAoB;QACpB,sBAAsB;QAEtB,uBAAuB;QACvB,0BAA0B;QAC1B,yCAAyC;MAC3C;IACF;EACF;;;;AFlBK,IAAMC,mBAAmB,MAC9BC,aAAaC,MAAM;EACjBC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAU,MAAMC,YAAYC,aAAaC,cAAcC,oBAAAA;EACzD,CAAA;EACAT,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaQ,aAAaC;IAC1BN,UAAU,MAAMC,YAAYM,mBAAmBC,QAAQ;MAACC;MAAcC;KAAgB;EACxF,CAAA;EACAf,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOa;IACpBX,UAAUY;EACZ,CAAA;EACAjB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAagB,YAAYC;IACzBd,UAAU,MACRC,YAAYc,kBAAkBC,iBAAiB;MAC7CpB,IAAI;MACJqB,OAAO;QAAC;QAA0B;UAAEC,IAAIxB,KAAKE;QAAG;;IAClD,CAAA;EACJ,CAAA;EACAD,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOqB;IACpBnB,UAAUoB;EACZ,CAAA;CACD;",
|
|
6
|
+
"names": ["Capabilities", "contributes", "defineModule", "definePlugin", "Events", "FunctionType", "FunctionTrigger", "ClientCapabilities", "ClientEvents", "SpaceCapabilities", "SpaceEvents", "lazy", "AppGraphBuilder", "lazy", "ReactSurface", "AUTOMATION_PLUGIN", "AutomationPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "SetupTranslations", "activate", "contributes", "Capabilities", "Translations", "translations", "ClientEvents", "SetupSchema", "ClientCapabilities", "Schema", "FunctionType", "FunctionTrigger", "SetupAppGraph", "AppGraphBuilder", "SpaceEvents", "SetupSettingsPanel", "SpaceCapabilities", "SettingsSection", "label", "ns", "SetupReactSurface", "ReactSurface"]
|
|
7
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":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":9614,"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-deck/types","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/node-esm/react-surface-VSO4NWC6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3904},"packages/plugins/plugin-automation/dist/lib/node-esm/react-surface-VSO4NWC6.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-TMMB5ETD.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":2294},"packages/plugins/plugin-automation/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5195},"packages/plugins/plugin-automation/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-TMMB5ETD.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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/node-esm/app-graph-builder-NYLOXWVV.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/intent-resolver-JFLTVJ7D.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/react-surface-VSO4NWC6.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":3546},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-TMMB5ETD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":838},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-TMMB5ETD.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationContainer-22PUFPSE.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationPanel-6UXIAJVS.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/FunctionsContainer-XG5WVAN3.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/FunctionsPanel-J3QGUESH.mjs","kind":"dynamic-import"}],"exports":["AutomationContainer","AutomationPanel","FunctionsContainer","FunctionsPanel"],"inputs":{"packages/plugins/plugin-automation/src/components/index.ts":{"bytesInOutput":346}},"bytes":639},"packages/plugins/plugin-automation/dist/lib/node-esm/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/node-esm/types.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-YYBCQXB2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.mjs","kind":"import-statement"}],"exports":["AutomationAction"],"entryPoint":"packages/plugins/plugin-automation/src/types.ts","inputs":{},"bytes":248},"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationPanel-6UXIAJVS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationPanel-6UXIAJVS.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-HMYAQLGF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","inputs":{},"bytes":361},"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationContainer-22PUFPSE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1801},"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationContainer-22PUFPSE.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-HMYAQLGF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":1258},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-HMYAQLGF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11750},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-HMYAQLGF.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":5522},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9336},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":4887},"packages/plugins/plugin-automation/dist/lib/node-esm/FunctionsPanel-J3QGUESH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/node-esm/FunctionsPanel-J3QGUESH.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-4UPGANGV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","inputs":{},"bytes":325},"packages/plugins/plugin-automation/dist/lib/node-esm/FunctionsContainer-XG5WVAN3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1787},"packages/plugins/plugin-automation/dist/lib/node-esm/FunctionsContainer-XG5WVAN3.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-4UPGANGV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":1216},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-4UPGANGV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6528},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-4UPGANGV.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":3374},"packages/plugins/plugin-automation/dist/lib/node-esm/app-graph-builder-NYLOXWVV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3936},"packages/plugins/plugin-automation/dist/lib/node-esm/app-graph-builder-NYLOXWVV.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":2435},"packages/plugins/plugin-automation/dist/lib/node-esm/intent-resolver-JFLTVJ7D.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4580},"packages/plugins/plugin-automation/dist/lib/node-esm/intent-resolver-JFLTVJ7D.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-YYBCQXB2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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-deck/types","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":2087}},"bytes":2447},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-YYBCQXB2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2102},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-YYBCQXB2.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":1223},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":829},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytesInOutput":395}},"bytes":623}}}
|
|
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/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4812},"packages/plugins/plugin-automation/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-OA75PSGH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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/node-esm/app-graph-builder-XCJR33VS.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/react-surface-MGKM3OO3.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":3034},"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationPanel-XF7YPSKM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12053},"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationPanel-XF7YPSKM.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":5675},"packages/plugins/plugin-automation/dist/lib/node-esm/app-graph-builder-XCJR33VS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2152},"packages/plugins/plugin-automation/dist/lib/node-esm/app-graph-builder-XCJR33VS.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":1324},"packages/plugins/plugin-automation/dist/lib/node-esm/react-surface-MGKM3OO3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2477},"packages/plugins/plugin-automation/dist/lib/node-esm/react-surface-MGKM3OO3.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-OA75PSGH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":1522},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-OA75PSGH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":406},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-OA75PSGH.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/AutomationPanel-XF7YPSKM.mjs","kind":"dynamic-import"}],"exports":["AutomationPanel"],"inputs":{"packages/plugins/plugin-automation/src/components/index.ts":{"bytesInOutput":106}},"bytes":336},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9336},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-M4QXMIIB.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.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":4887},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":829},"packages/plugins/plugin-automation/dist/lib/node-esm/chunk-DZ44LGYT.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytesInOutput":395}},"bytes":623}}}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
AutomationPanel
|
|
4
|
+
} from "./chunk-OA75PSGH.mjs";
|
|
5
|
+
import "./chunk-M4QXMIIB.mjs";
|
|
6
|
+
import {
|
|
7
|
+
meta
|
|
8
|
+
} from "./chunk-DZ44LGYT.mjs";
|
|
9
|
+
|
|
10
|
+
// packages/plugins/plugin-automation/src/capabilities/react-surface.tsx
|
|
11
|
+
import React from "react";
|
|
12
|
+
import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
|
|
13
|
+
import { isInstanceOf } from "@dxos/echo-schema";
|
|
14
|
+
import { ScriptType } from "@dxos/functions/types";
|
|
15
|
+
import { getSpace, isSpace } from "@dxos/react-client/echo";
|
|
16
|
+
import { StackItem } from "@dxos/react-ui-stack";
|
|
17
|
+
var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
18
|
+
createSurface({
|
|
19
|
+
id: `${meta.id}/automation`,
|
|
20
|
+
role: "space-settings--automation",
|
|
21
|
+
filter: (data) => isSpace(data.subject),
|
|
22
|
+
component: ({ data }) => /* @__PURE__ */ React.createElement(AutomationPanel, {
|
|
23
|
+
space: data.subject
|
|
24
|
+
})
|
|
25
|
+
}),
|
|
26
|
+
createSurface({
|
|
27
|
+
id: `${meta.id}/companion/automation`,
|
|
28
|
+
role: "article",
|
|
29
|
+
filter: (data) => isInstanceOf(ScriptType, data.companionTo) && data.subject === "automation",
|
|
30
|
+
component: ({ data, role }) => {
|
|
31
|
+
return /* @__PURE__ */ React.createElement(StackItem.Content, {
|
|
32
|
+
role
|
|
33
|
+
}, /* @__PURE__ */ React.createElement(AutomationPanel, {
|
|
34
|
+
space: getSpace(data.companionTo),
|
|
35
|
+
object: data.companionTo
|
|
36
|
+
}));
|
|
37
|
+
}
|
|
38
|
+
})
|
|
39
|
+
]);
|
|
40
|
+
export {
|
|
41
|
+
react_surface_default as default
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=react-surface-MGKM3OO3.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 } from '@dxos/app-framework';\nimport { isInstanceOf } from '@dxos/echo-schema';\nimport { ScriptType } from '@dxos/functions/types';\nimport { getSpace, isSpace, type Space } from '@dxos/react-client/echo';\nimport { StackItem } from '@dxos/react-ui-stack';\n\nimport { AutomationPanel } from '../components';\nimport { meta } from '../meta';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${meta.id}/automation`,\n role: 'space-settings--automation',\n filter: (data): data is { subject: Space } => isSpace(data.subject),\n component: ({ data }) => <AutomationPanel space={data.subject} />,\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,qBAAqB;AACzD,SAASC,oBAAoB;AAC7B,SAASC,kBAAkB;AAC3B,SAASC,UAAUC,eAA2B;AAC9C,SAASC,iBAAiB;AAK1B,IAAA,wBAAe,MACbC,YAAYC,aAAaC,cAAc;EACrCC,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAAqCC,QAAQD,KAAKE,OAAO;IAClEC,WAAW,CAAC,EAAEH,KAAI,MAAO,sBAAA,cAACI,iBAAAA;MAAgBC,OAAOL,KAAKE;;EACxD,CAAA;EACAP,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SACPM,aAAaC,YAAYP,KAAKQ,WAAW,KAAKR,KAAKE,YAAY;IACjEC,WAAW,CAAC,EAAEH,MAAMF,KAAI,MAAE;AACxB,aACE,sBAAA,cAACW,UAAUC,SAAO;QAACZ;SACjB,sBAAA,cAACM,iBAAAA;QAAgBC,OAAOM,SAASX,KAAKQ,WAAW;QAAII,QAAQZ,KAAKQ;;IAGxE;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["React", "Capabilities", "contributes", "createSurface", "isInstanceOf", "ScriptType", "getSpace", "isSpace", "StackItem", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "meta", "role", "filter", "data", "isSpace", "subject", "component", "AutomationPanel", "space", "isInstanceOf", "ScriptType", "companionTo", "StackItem", "Content", "getSpace", "object"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationPlugin.d.ts","sourceRoot":"","sources":["../../../src/AutomationPlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AutomationPlugin.d.ts","sourceRoot":"","sources":["../../../src/AutomationPlugin.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB,4CA+BzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrF,OAAO,EAAmB,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrF,OAAO,EAAmB,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;kCAKvC,cAAc;;qBAkByzE,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;AAlBvoU,wBAiBK"}
|
|
@@ -175,6 +175,5 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
175
175
|
type?: string;
|
|
176
176
|
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
177
177
|
}>[])[])[])[])[])[])[])[])[])[])[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
178
|
-
export declare const IntentResolver: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
179
178
|
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
180
179
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;qBAEypG,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;qFAFp5V,CAAC;AACzE,eAAO,MAAM,YAAY,gMAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAS/E,wBAqBK"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
import { type Space, type Live } from '@dxos/react-client/echo';
|
|
2
|
+
import { type Space, type ReactiveObject } from '@dxos/react-client/echo';
|
|
4
3
|
export type AutomationPanelProps = {
|
|
5
4
|
space: Space;
|
|
6
|
-
object?:
|
|
7
|
-
initialTrigger?: FunctionTriggerType;
|
|
8
|
-
onDone?: () => void;
|
|
5
|
+
object?: ReactiveObject<any>;
|
|
9
6
|
};
|
|
10
|
-
export declare const AutomationPanel: ({ space, object
|
|
7
|
+
export declare const AutomationPanel: ({ space, object }: AutomationPanelProps) => React.JSX.Element;
|
|
11
8
|
//# sourceMappingURL=AutomationPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/AutomationPanel/AutomationPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AutomationPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/AutomationPanel/AutomationPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,EAA4B,KAAK,KAAK,EAAE,KAAK,cAAc,EAAY,MAAM,yBAAyB,CAAC;AAY9G,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;CAC9B,CAAC;AAGF,eAAO,MAAM,eAAe,sBAAuB,oBAAoB,sBAsGtE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/AutomationPanel/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/AutomationPanel/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,eAAe,eAAe,CAAC"}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
export * from './TriggerEditor';
|
|
2
|
-
export declare const
|
|
3
|
-
space: import("@dxos/client-protocol").Space;
|
|
4
|
-
}) => import("react").JSX.Element>;
|
|
5
|
-
export declare const AutomationPanel: import("react").LazyExoticComponent<({ space, object, initialTrigger, onDone }: import("./AutomationPanel").AutomationPanelProps) => import("react").JSX.Element>;
|
|
6
|
-
export declare const FunctionsContainer: import("react").LazyExoticComponent<({ space }: {
|
|
7
|
-
space: import("@dxos/client-protocol").Space;
|
|
8
|
-
}) => import("react").JSX.Element>;
|
|
9
|
-
export declare const FunctionsPanel: import("react").LazyExoticComponent<({ space }: import("./FunctionsPanel").FunctionsPanelProps) => import("react").JSX.Element>;
|
|
2
|
+
export declare const AutomationPanel: import("react").LazyExoticComponent<({ space, object }: import("./AutomationPanel/AutomationPanel").AutomationPanelProps) => import("react").JSX.Element>;
|
|
10
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,iBAAiB,CAAC;AAEhC,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,iBAAiB,CAAC;AAEhC,eAAO,MAAM,eAAe,2JAA0C,CAAC"}
|
|
@@ -4,14 +4,6 @@ declare const _default: {
|
|
|
4
4
|
'plugin name': string;
|
|
5
5
|
'automation panel label': string;
|
|
6
6
|
'script automation label': string;
|
|
7
|
-
'automation verbose label': string;
|
|
8
|
-
'automation description': string;
|
|
9
|
-
'functions panel label': string;
|
|
10
|
-
'functions verbose label': string;
|
|
11
|
-
'functions description': string;
|
|
12
|
-
'function copy id': string;
|
|
13
|
-
'no functions found': string;
|
|
14
|
-
'go to function source button label': string;
|
|
15
7
|
'trigger editor title': string;
|
|
16
8
|
'new trigger label': string;
|
|
17
9
|
'trigger type timer': string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAMA,wBA0BE"}
|