@dxos/app-framework 0.3.11-main.f5e7551 → 0.3.11-next.0fb359e

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.
Files changed (33) hide show
  1. package/dist/lib/browser/{chunk-C2K6M6WC.mjs → chunk-QYIBDGYI.mjs} +19 -1
  2. package/dist/lib/browser/chunk-QYIBDGYI.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +8 -3
  4. package/dist/lib/browser/index.mjs.map +3 -3
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/{plugin-CBPJO5NB.mjs → plugin-YLDDUID4.mjs} +27 -2
  7. package/dist/lib/browser/plugin-YLDDUID4.mjs.map +7 -0
  8. package/dist/lib/node/{chunk-BOQBLWMX.cjs → chunk-YWRBMGDT.cjs} +26 -6
  9. package/dist/lib/node/chunk-YWRBMGDT.cjs.map +7 -0
  10. package/dist/lib/node/index.cjs +13 -8
  11. package/dist/lib/node/index.cjs.map +3 -3
  12. package/dist/lib/node/meta.json +1 -1
  13. package/dist/lib/node/{plugin-WDNRX2SR.cjs → plugin-NP3IH5Q3.cjs} +33 -8
  14. package/dist/lib/node/plugin-NP3IH5Q3.cjs.map +7 -0
  15. package/dist/types/src/plugins/IntentPlugin/IntentContext.d.ts +10 -2
  16. package/dist/types/src/plugins/IntentPlugin/IntentContext.d.ts.map +1 -1
  17. package/dist/types/src/plugins/IntentPlugin/intent.d.ts +3 -1
  18. package/dist/types/src/plugins/IntentPlugin/intent.d.ts.map +1 -1
  19. package/dist/types/src/plugins/IntentPlugin/plugin.d.ts.map +1 -1
  20. package/dist/types/src/plugins/IntentPlugin/provides.d.ts +2 -2
  21. package/dist/types/src/plugins/IntentPlugin/provides.d.ts.map +1 -1
  22. package/dist/types/src/plugins/common/layout.d.ts +2 -1
  23. package/dist/types/src/plugins/common/layout.d.ts.map +1 -1
  24. package/package.json +7 -7
  25. package/src/plugins/IntentPlugin/IntentContext.tsx +27 -3
  26. package/src/plugins/IntentPlugin/intent.ts +5 -1
  27. package/src/plugins/IntentPlugin/plugin.tsx +26 -2
  28. package/src/plugins/IntentPlugin/provides.ts +2 -2
  29. package/src/plugins/common/layout.ts +1 -0
  30. package/dist/lib/browser/chunk-C2K6M6WC.mjs.map +0 -7
  31. package/dist/lib/browser/plugin-CBPJO5NB.mjs.map +0 -7
  32. package/dist/lib/node/chunk-BOQBLWMX.cjs.map +0 -7
  33. package/dist/lib/node/plugin-WDNRX2SR.cjs.map +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/app-framework",
3
- "version": "0.3.11-main.f5e7551",
3
+ "version": "0.3.11-next.0fb359e",
4
4
  "description": "A framework for building applications from composible plugins.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -16,12 +16,12 @@
16
16
  "@preact/signals-react": "^1.3.6",
17
17
  "deepsignal": "1.4.0-shallow.0",
18
18
  "zod": "^3.22.4",
19
- "@dxos/async": "0.3.11-main.f5e7551",
20
- "@dxos/invariant": "0.3.11-main.f5e7551",
21
- "@dxos/app-graph": "0.3.11-main.f5e7551",
22
- "@dxos/debug": "0.3.11-main.f5e7551",
23
- "@dxos/local-storage": "0.3.11-main.f5e7551",
24
- "@dxos/log": "0.3.11-main.f5e7551"
19
+ "@dxos/async": "0.3.11-next.0fb359e",
20
+ "@dxos/debug": "0.3.11-next.0fb359e",
21
+ "@dxos/invariant": "0.3.11-next.0fb359e",
22
+ "@dxos/local-storage": "0.3.11-next.0fb359e",
23
+ "@dxos/app-graph": "0.3.11-next.0fb359e",
24
+ "@dxos/log": "0.3.11-next.0fb359e"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/react": "^18.0.21",
@@ -3,15 +3,39 @@
3
3
  //
4
4
 
5
5
  import { type Context, createContext, useContext, type Provider } from 'react';
6
+ import { useEffect } from 'react';
6
7
 
7
- import { type DispatchIntent } from './intent';
8
+ import { type UnsubscribeCallback } from '@dxos/async';
9
+
10
+ import { type IntentDispatcher, type IntentResolver } from './intent';
8
11
 
9
12
  export type IntentContext = {
10
- dispatch: DispatchIntent;
13
+ dispatch: IntentDispatcher;
14
+ registerResolver: (pluginId: string, resolver: IntentResolver) => UnsubscribeCallback;
11
15
  };
12
16
 
13
- const IntentContext: Context<IntentContext> = createContext<IntentContext>({ dispatch: async () => {} });
17
+ const IntentContext: Context<IntentContext> = createContext<IntentContext>({
18
+ dispatch: async () => {},
19
+ registerResolver: () => () => {},
20
+ });
14
21
 
22
+ /**
23
+ * @deprecated
24
+ * TODO(burdon): Use useIntentDispatcher.
25
+ */
15
26
  export const useIntent = () => useContext(IntentContext);
16
27
 
28
+ // TODO(burdon): Dispatch or Dispatcher?
29
+ export const useIntentDispatcher = (): IntentDispatcher => {
30
+ const { dispatch } = useIntent();
31
+ return dispatch;
32
+ };
33
+
34
+ export const useIntentResolver = (plugin: string, resolver: IntentResolver) => {
35
+ const { registerResolver } = useIntent();
36
+ useEffect(() => {
37
+ return registerResolver(plugin, resolver);
38
+ }, [plugin, resolver]);
39
+ };
40
+
17
41
  export const IntentProvider: Provider<IntentContext> = IntentContext.Provider;
@@ -2,6 +2,8 @@
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
4
 
5
+ import type { Plugin } from '../PluginHost';
6
+
5
7
  /**
6
8
  * An intent is an abstract description of an operation to be performed.
7
9
  * Intents allow actions to be performed across plugins.
@@ -31,4 +33,6 @@ export type Intent = {
31
33
  *
32
34
  * @returns The result of the last intent.
33
35
  */
34
- export type DispatchIntent = (intent: Intent | Intent[]) => Promise<any>;
36
+ export type IntentDispatcher = (intent: Intent | Intent[]) => Promise<any>;
37
+
38
+ export type IntentResolver = (intent: Intent, plugins: Plugin[]) => any;
@@ -6,7 +6,7 @@ import { deepSignal } from 'deepsignal/react';
6
6
  import React from 'react';
7
7
 
8
8
  import { type IntentContext, IntentProvider } from './IntentContext';
9
- import type { Intent } from './intent';
9
+ import type { Intent, IntentResolver } from './intent';
10
10
  import IntentMeta from './meta';
11
11
  import { type IntentPluginProvides, type IntentResolverProvides, parseIntentResolverPlugin } from './provides';
12
12
  import type { PluginDefinition } from '../PluginHost';
@@ -17,7 +17,9 @@ import { filterPlugins, findPlugin } from '../helpers';
17
17
  * Inspired by https://developer.android.com/reference/android/content/Intent.
18
18
  */
19
19
  const IntentPlugin = (): PluginDefinition<IntentPluginProvides> => {
20
- const state = deepSignal<IntentContext>({ dispatch: async () => {} });
20
+ const state = deepSignal<IntentContext>({ dispatch: async () => {}, registerResolver: () => () => {} });
21
+
22
+ const dynamicResolvers = new Set<{ plugin: string; resolver: IntentResolver }>();
21
23
 
22
24
  return {
23
25
  meta: IntentMeta,
@@ -25,10 +27,26 @@ const IntentPlugin = (): PluginDefinition<IntentPluginProvides> => {
25
27
  // Dispatch intent to associated plugin.
26
28
  const dispatch = async (intent: Intent) => {
27
29
  if (intent.plugin) {
30
+ for (const entry of dynamicResolvers) {
31
+ if (entry.plugin === intent.plugin) {
32
+ const result = entry.resolver(intent, plugins);
33
+ if (result) {
34
+ return result;
35
+ }
36
+ }
37
+ }
38
+
28
39
  const plugin = findPlugin<IntentResolverProvides>(plugins, intent.plugin);
29
40
  return plugin?.provides.intent.resolver(intent, plugins);
30
41
  }
31
42
 
43
+ for (const entry of dynamicResolvers) {
44
+ const result = entry.resolver(intent, plugins);
45
+ if (result) {
46
+ return result;
47
+ }
48
+ }
49
+
32
50
  // Return resolved value from first plugin that handles the intent.
33
51
  for (const plugin of filterPlugins(plugins, parseIntentResolverPlugin)) {
34
52
  const result = await plugin.provides.intent.resolver(intent, plugins);
@@ -47,6 +65,12 @@ const IntentPlugin = (): PluginDefinition<IntentPluginProvides> => {
47
65
  }
48
66
  return result;
49
67
  };
68
+
69
+ state.registerResolver = (plugin, resolver) => {
70
+ const entry = { plugin, resolver };
71
+ dynamicResolvers.add(entry);
72
+ return () => dynamicResolvers.delete(entry);
73
+ };
50
74
  },
51
75
  provides: {
52
76
  intent: state,
@@ -3,12 +3,12 @@
3
3
  //
4
4
 
5
5
  import { type IntentContext } from './IntentContext';
6
- import { type Intent } from './intent';
6
+ import { type IntentResolver } from './intent';
7
7
  import { type Plugin } from '../PluginHost';
8
8
 
9
9
  export type IntentResolverProvides = {
10
10
  intent: {
11
- resolver: (intent: Intent, plugins: Plugin[]) => any;
11
+ resolver: IntentResolver;
12
12
  };
13
13
  };
14
14
 
@@ -65,6 +65,7 @@ export enum LayoutAction {
65
65
  OPEN_POPOVER = `${LAYOUT_ACTION}/open-popover`,
66
66
  CLOSE_POPOVER = `${LAYOUT_ACTION}/close-popover`,
67
67
  ACTIVATE = `${LAYOUT_ACTION}/activate`,
68
+ FOCUS = `${LAYOUT_ACTION}/focus`,
68
69
  }
69
70
 
70
71
  /**
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/plugins/IntentPlugin/provides.ts", "../../../src/plugins/IntentPlugin/IntentContext.tsx", "../../../src/plugins/IntentPlugin/meta.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type IntentContext } from './IntentContext';\nimport { type Intent } from './intent';\nimport { type Plugin } from '../PluginHost';\n\nexport type IntentResolverProvides = {\n intent: {\n resolver: (intent: Intent, plugins: Plugin[]) => any;\n };\n};\n\nexport type IntentPluginProvides = {\n intent: IntentContext;\n};\n\nexport const parseIntentPlugin = (plugin: Plugin) =>\n (plugin.provides as any).intent?.dispatch ? (plugin as Plugin<IntentPluginProvides>) : undefined;\n\nexport const parseIntentResolverPlugin = (plugin: Plugin) =>\n (plugin.provides as any).intent?.resolver ? (plugin as Plugin<IntentResolverProvides>) : undefined;\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Context, createContext, useContext, type Provider } from 'react';\n\nimport { type DispatchIntent } from './intent';\n\nexport type IntentContext = {\n dispatch: DispatchIntent;\n};\n\nconst IntentContext: Context<IntentContext> = createContext<IntentContext>({ dispatch: async () => {} });\n\nexport const useIntent = () => useContext(IntentContext);\n\nexport const IntentProvider: Provider<IntentContext> = IntentContext.Provider;\n", "//\n// Copyright 2023 DXOS.org\n//\n\nconst IntentMeta = {\n id: 'dxos.org/plugin/intent',\n};\n\nexport default IntentMeta;\n"],
5
- "mappings": ";AAkBO,IAAMA,oBAAoB,CAACC,WAC/BA,OAAOC,SAAiBC,QAAQC,WAAYH,SAA0CI;AAElF,IAAMC,4BAA4B,CAACL,WACvCA,OAAOC,SAAiBC,QAAQI,WAAYN,SAA4CI;;;AClB3F,SAAuBG,eAAeC,kBAAiC;AAQvE,IAAMC,gBAAwCC,8BAA6B;EAAEC,UAAU,YAAA;EAAa;AAAE,CAAA;AAE/F,IAAMC,YAAY,MAAMC,WAAWJ,aAAAA;AAEnC,IAAMK,iBAA0CL,cAAcM;;;ACZrE,IAAMC,aAAa;EACjBC,IAAI;AACN;AAEA,IAAA,eAAeD;",
6
- "names": ["parseIntentPlugin", "plugin", "provides", "intent", "dispatch", "undefined", "parseIntentResolverPlugin", "resolver", "createContext", "useContext", "IntentContext", "createContext", "dispatch", "useIntent", "useContext", "IntentProvider", "Provider", "IntentMeta", "id"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/plugins/IntentPlugin/plugin.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { deepSignal } from 'deepsignal/react';\nimport React from 'react';\n\nimport { type IntentContext, IntentProvider } from './IntentContext';\nimport type { Intent } from './intent';\nimport IntentMeta from './meta';\nimport { type IntentPluginProvides, type IntentResolverProvides, parseIntentResolverPlugin } from './provides';\nimport type { PluginDefinition } from '../PluginHost';\nimport { filterPlugins, findPlugin } from '../helpers';\n\n/**\n * Allows plugins to register intent handlers and routes sent intents to the appropriate plugin.\n * Inspired by https://developer.android.com/reference/android/content/Intent.\n */\nconst IntentPlugin = (): PluginDefinition<IntentPluginProvides> => {\n const state = deepSignal<IntentContext>({ dispatch: async () => {} });\n\n return {\n meta: IntentMeta,\n ready: async (plugins) => {\n // Dispatch intent to associated plugin.\n const dispatch = async (intent: Intent) => {\n if (intent.plugin) {\n const plugin = findPlugin<IntentResolverProvides>(plugins, intent.plugin);\n return plugin?.provides.intent.resolver(intent, plugins);\n }\n\n // Return resolved value from first plugin that handles the intent.\n for (const plugin of filterPlugins(plugins, parseIntentResolverPlugin)) {\n const result = await plugin.provides.intent.resolver(intent, plugins);\n if (result) {\n return result;\n }\n }\n };\n\n // Sequentially dispatch array of invents.\n state.dispatch = async (intentOrArray) => {\n let result: any = null;\n for (const intent of Array.isArray(intentOrArray) ? intentOrArray : [intentOrArray]) {\n const data = intent.data ? { ...result, ...intent.data } : result;\n result = await dispatch({ ...intent, data });\n }\n return result;\n };\n },\n provides: {\n intent: state,\n context: ({ children }) => <IntentProvider value={state}>{children}</IntentProvider>,\n },\n };\n};\n\nexport default IntentPlugin;\n"],
5
- "mappings": ";;;;;;;;;;;AAIA,SAASA,kBAAkB;AAC3B,OAAOC,WAAW;AAalB,IAAMC,eAAe,MAAA;AACnB,QAAMC,QAAQC,WAA0B;IAAEC,UAAU,YAAA;IAAa;EAAE,CAAA;AAEnE,SAAO;IACLC,MAAMC;IACNC,OAAO,OAAOC,YAAAA;AAEZ,YAAMJ,WAAW,OAAOK,WAAAA;AACtB,YAAIA,OAAOC,QAAQ;AACjB,gBAAMA,SAASC,WAAmCH,SAASC,OAAOC,MAAM;AACxE,iBAAOA,QAAQE,SAASH,OAAOI,SAASJ,QAAQD,OAAAA;QAClD;AAGA,mBAAWE,UAAUI,cAAcN,SAASO,yBAAAA,GAA4B;AACtE,gBAAMC,SAAS,MAAMN,OAAOE,SAASH,OAAOI,SAASJ,QAAQD,OAAAA;AAC7D,cAAIQ,QAAQ;AACV,mBAAOA;UACT;QACF;MACF;AAGAd,YAAME,WAAW,OAAOa,kBAAAA;AACtB,YAAID,SAAc;AAClB,mBAAWP,UAAUS,MAAMC,QAAQF,aAAAA,IAAiBA,gBAAgB;UAACA;WAAgB;AACnF,gBAAMG,OAAOX,OAAOW,OAAO;YAAE,GAAGJ;YAAQ,GAAGP,OAAOW;UAAK,IAAIJ;AAC3DA,mBAAS,MAAMZ,SAAS;YAAE,GAAGK;YAAQW;UAAK,CAAA;QAC5C;AACA,eAAOJ;MACT;IACF;IACAJ,UAAU;MACRH,QAAQP;MACRmB,SAAS,CAAC,EAAEC,SAAQ,MAAO,sBAAA,cAACC,gBAAAA;QAAeC,OAAOtB;SAAQoB,QAAAA;IAC5D;EACF;AACF;AAEA,IAAA,iBAAerB;",
6
- "names": ["deepSignal", "React", "IntentPlugin", "state", "deepSignal", "dispatch", "meta", "IntentMeta", "ready", "plugins", "intent", "plugin", "findPlugin", "provides", "resolver", "filterPlugins", "parseIntentResolverPlugin", "result", "intentOrArray", "Array", "isArray", "data", "context", "children", "IntentProvider", "value"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/plugins/IntentPlugin/provides.ts", "../../../src/plugins/IntentPlugin/IntentContext.tsx", "../../../src/plugins/IntentPlugin/meta.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type IntentContext } from './IntentContext';\nimport { type Intent } from './intent';\nimport { type Plugin } from '../PluginHost';\n\nexport type IntentResolverProvides = {\n intent: {\n resolver: (intent: Intent, plugins: Plugin[]) => any;\n };\n};\n\nexport type IntentPluginProvides = {\n intent: IntentContext;\n};\n\nexport const parseIntentPlugin = (plugin: Plugin) =>\n (plugin.provides as any).intent?.dispatch ? (plugin as Plugin<IntentPluginProvides>) : undefined;\n\nexport const parseIntentResolverPlugin = (plugin: Plugin) =>\n (plugin.provides as any).intent?.resolver ? (plugin as Plugin<IntentResolverProvides>) : undefined;\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Context, createContext, useContext, type Provider } from 'react';\n\nimport { type DispatchIntent } from './intent';\n\nexport type IntentContext = {\n dispatch: DispatchIntent;\n};\n\nconst IntentContext: Context<IntentContext> = createContext<IntentContext>({ dispatch: async () => {} });\n\nexport const useIntent = () => useContext(IntentContext);\n\nexport const IntentProvider: Provider<IntentContext> = IntentContext.Provider;\n", "//\n// Copyright 2023 DXOS.org\n//\n\nconst IntentMeta = {\n id: 'dxos.org/plugin/intent',\n};\n\nexport default IntentMeta;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;ACIA,mBAAuE;ADchE,IAAMA,oBAAoB,CAACC,WAC/BA,OAAOC,SAAiBC,QAAQC,WAAYH,SAA0CI;AAElF,IAAMC,4BAA4B,CAACL,WACvCA,OAAOC,SAAiBC,QAAQI,WAAYN,SAA4CI;ACV3F,IAAMG,gBAAwCC,gDAA6B;EAAEL,UAAU,YAAA;EAAa;AAAE,CAAA;AAE/F,IAAMM,YAAY,UAAMC,yBAAWH,aAAAA;AAEnC,IAAMI,iBAA0CJ,cAAcK;ACZrE,IAAMC,aAAa;EACjBC,IAAI;AACN;AAEA,IAAA,eAAeD;",
6
- "names": ["parseIntentPlugin", "plugin", "provides", "intent", "dispatch", "undefined", "parseIntentResolverPlugin", "resolver", "IntentContext", "createContext", "useIntent", "useContext", "IntentProvider", "Provider", "IntentMeta", "id"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/plugins/IntentPlugin/plugin.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { deepSignal } from 'deepsignal/react';\nimport React from 'react';\n\nimport { type IntentContext, IntentProvider } from './IntentContext';\nimport type { Intent } from './intent';\nimport IntentMeta from './meta';\nimport { type IntentPluginProvides, type IntentResolverProvides, parseIntentResolverPlugin } from './provides';\nimport type { PluginDefinition } from '../PluginHost';\nimport { filterPlugins, findPlugin } from '../helpers';\n\n/**\n * Allows plugins to register intent handlers and routes sent intents to the appropriate plugin.\n * Inspired by https://developer.android.com/reference/android/content/Intent.\n */\nconst IntentPlugin = (): PluginDefinition<IntentPluginProvides> => {\n const state = deepSignal<IntentContext>({ dispatch: async () => {} });\n\n return {\n meta: IntentMeta,\n ready: async (plugins) => {\n // Dispatch intent to associated plugin.\n const dispatch = async (intent: Intent) => {\n if (intent.plugin) {\n const plugin = findPlugin<IntentResolverProvides>(plugins, intent.plugin);\n return plugin?.provides.intent.resolver(intent, plugins);\n }\n\n // Return resolved value from first plugin that handles the intent.\n for (const plugin of filterPlugins(plugins, parseIntentResolverPlugin)) {\n const result = await plugin.provides.intent.resolver(intent, plugins);\n if (result) {\n return result;\n }\n }\n };\n\n // Sequentially dispatch array of invents.\n state.dispatch = async (intentOrArray) => {\n let result: any = null;\n for (const intent of Array.isArray(intentOrArray) ? intentOrArray : [intentOrArray]) {\n const data = intent.data ? { ...result, ...intent.data } : result;\n result = await dispatch({ ...intent, data });\n }\n return result;\n };\n },\n provides: {\n intent: state,\n context: ({ children }) => <IntentProvider value={state}>{children}</IntentProvider>,\n },\n };\n};\n\nexport default IntentPlugin;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mBAA2B;AAC3B,IAAAA,gBAAkB;AAalB,IAAMC,eAAe,MAAA;AACnB,QAAMC,YAAQC,yBAA0B;IAAEC,UAAU,YAAA;IAAa;EAAE,CAAA;AAEnE,SAAO;IACLC,MAAMC;IACNC,OAAO,OAAOC,YAAAA;AAEZ,YAAMJ,WAAW,OAAOK,WAAAA;AACtB,YAAIA,OAAOC,QAAQ;AACjB,gBAAMA,aAASC,kCAAmCH,SAASC,OAAOC,MAAM;AACxE,iBAAOA,QAAQE,SAASH,OAAOI,SAASJ,QAAQD,OAAAA;QAClD;AAGA,mBAAWE,cAAUI,qCAAcN,SAASO,+CAAAA,GAA4B;AACtE,gBAAMC,SAAS,MAAMN,OAAOE,SAASH,OAAOI,SAASJ,QAAQD,OAAAA;AAC7D,cAAIQ,QAAQ;AACV,mBAAOA;UACT;QACF;MACF;AAGAd,YAAME,WAAW,OAAOa,kBAAAA;AACtB,YAAID,SAAc;AAClB,mBAAWP,UAAUS,MAAMC,QAAQF,aAAAA,IAAiBA,gBAAgB;UAACA;WAAgB;AACnF,gBAAMG,OAAOX,OAAOW,OAAO;YAAE,GAAGJ;YAAQ,GAAGP,OAAOW;UAAK,IAAIJ;AAC3DA,mBAAS,MAAMZ,SAAS;YAAE,GAAGK;YAAQW;UAAK,CAAA;QAC5C;AACA,eAAOJ;MACT;IACF;IACAJ,UAAU;MACRH,QAAQP;MACRmB,SAAS,CAAC,EAAEC,SAAQ,MAAO,8BAAAC,QAAA,cAACC,sCAAAA;QAAeC,OAAOvB;SAAQoB,QAAAA;IAC5D;EACF;AACF;AAEA,IAAA,iBAAerB;",
6
- "names": ["import_react", "IntentPlugin", "state", "deepSignal", "dispatch", "meta", "IntentMeta", "ready", "plugins", "intent", "plugin", "findPlugin", "provides", "resolver", "filterPlugins", "parseIntentResolverPlugin", "result", "intentOrArray", "Array", "isArray", "data", "context", "children", "React", "IntentProvider", "value"]
7
- }