@deephaven/app-utils 1.23.1-legacy-table-plugin.bbf55c8.0 → 1.25.0
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.
|
@@ -3,7 +3,7 @@ import { ChartThemeProvider } from '@deephaven/chart';
|
|
|
3
3
|
import { MonacoThemeProvider } from '@deephaven/console';
|
|
4
4
|
import { isExternalThemeEnabled, ThemeProvider } from '@deephaven/components';
|
|
5
5
|
import { useAppSelector } from '@deephaven/dashboard';
|
|
6
|
-
import {
|
|
6
|
+
import { IrisGridContextProvider } from '@deephaven/iris-grid';
|
|
7
7
|
import { PluginsContext, useCustomThemes } from '@deephaven/plugin';
|
|
8
8
|
import { getSettings } from '@deephaven/redux';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -22,7 +22,7 @@ export function ThemeBootstrap(_ref) {
|
|
|
22
22
|
waitForActivation: waitForActivation,
|
|
23
23
|
children: /*#__PURE__*/_jsx(ChartThemeProvider, {
|
|
24
24
|
children: /*#__PURE__*/_jsx(MonacoThemeProvider, {
|
|
25
|
-
children: /*#__PURE__*/_jsx(
|
|
25
|
+
children: /*#__PURE__*/_jsx(IrisGridContextProvider, {
|
|
26
26
|
density: settings.gridDensity,
|
|
27
27
|
children: children
|
|
28
28
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeBootstrap.js","names":["useContext","ChartThemeProvider","MonacoThemeProvider","isExternalThemeEnabled","ThemeProvider","useAppSelector","
|
|
1
|
+
{"version":3,"file":"ThemeBootstrap.js","names":["useContext","ChartThemeProvider","MonacoThemeProvider","isExternalThemeEnabled","ThemeProvider","useAppSelector","IrisGridContextProvider","PluginsContext","useCustomThemes","getSettings","jsx","_jsx","ThemeBootstrap","_ref","children","settings","pluginModules","themes","waitForActivation","density","gridDensity"],"sources":["../../src/components/ThemeBootstrap.tsx"],"sourcesContent":["import { useContext } from 'react';\nimport { ChartThemeProvider } from '@deephaven/chart';\nimport { MonacoThemeProvider } from '@deephaven/console';\nimport { isExternalThemeEnabled, ThemeProvider } from '@deephaven/components';\nimport { useAppSelector } from '@deephaven/dashboard';\nimport { IrisGridContextProvider } from '@deephaven/iris-grid';\nimport { PluginsContext, useCustomThemes } from '@deephaven/plugin';\nimport { getSettings } from '@deephaven/redux';\n\nexport interface ThemeBootstrapProps {\n children: React.ReactNode;\n}\n\nexport function ThemeBootstrap({\n children,\n}: ThemeBootstrapProps): JSX.Element | null {\n const settings = useAppSelector(getSettings);\n\n // The `usePlugins` hook throws if the context value is null. Since this is\n // the state while plugins load asynchronously, we are using `useContext`\n // directly to avoid the exception.\n const pluginModules = useContext(PluginsContext);\n const themes = useCustomThemes(pluginModules);\n const waitForActivation = isExternalThemeEnabled();\n\n return (\n <ThemeProvider themes={themes} waitForActivation={waitForActivation}>\n <ChartThemeProvider>\n <MonacoThemeProvider>\n <IrisGridContextProvider density={settings.gridDensity}>\n {children}\n </IrisGridContextProvider>\n </MonacoThemeProvider>\n </ChartThemeProvider>\n </ThemeProvider>\n );\n}\n\nexport default ThemeBootstrap;\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,kBAAkB,QAAQ,kBAAkB;AACrD,SAASC,mBAAmB,QAAQ,oBAAoB;AACxD,SAASC,sBAAsB,EAAEC,aAAa,QAAQ,uBAAuB;AAC7E,SAASC,cAAc,QAAQ,sBAAsB;AACrD,SAASC,uBAAuB,QAAQ,sBAAsB;AAC9D,SAASC,cAAc,EAAEC,eAAe,QAAQ,mBAAmB;AACnE,SAASC,WAAW,QAAQ,kBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAM/C,OAAO,SAASC,cAAcA,CAAAC,IAAA,EAEc;EAAA,IAD1CC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EAER,IAAMC,QAAQ,GAAGV,cAAc,CAACI,WAAW,CAAC;;EAE5C;EACA;EACA;EACA,IAAMO,aAAa,GAAGhB,UAAU,C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gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"PluginUtils.d.ts","sourceRoot":"","sources":["../../src/plugins/PluginUtils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,mBAAmB,EAExB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,MAAM,EAKX,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAM3B;;GAEG;AACH,YAAY,EAAE,wBAAwB,EAAE,CAAC;AAEzC;;GAEG;AACH,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B;;GAEG;AACH,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,YAAY,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAG7C;AAED;;;;GAIG;AACH,wBAAsB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAUvE;AAED;;;;;;;;GAQG;AACH,wBAAsB,iBAAiB,CACrC,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,eAAe,CAAC,CAwD1B;AAED,wBAAgB,eAAe,CAC7B,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACpC,MAAM,EAAE,CAEV;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,eAAe,EAC1B,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EACrC,WAAW,6CAAmD,GAC7D,mBAAmB,CAwCrB"}
|
|
@@ -100,7 +100,8 @@ function _loadModulePlugins() {
|
|
|
100
100
|
var name = plugin.name,
|
|
101
101
|
main = plugin.main,
|
|
102
102
|
version = plugin.version,
|
|
103
|
-
|
|
103
|
+
loader = plugin.loader;
|
|
104
|
+
var packageName = loader === null || loader === void 0 ? void 0 : loader.package;
|
|
104
105
|
var pluginMainUrl = "".concat(modulePluginsUrl, "/").concat(name, "/").concat(main);
|
|
105
106
|
var pluginExports = yield loadModulePlugin(pluginMainUrl);
|
|
106
107
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginUtils.js","names":["Log","isAuthPlugin","PluginType","isLegacyAuthPlugin","processLoadedModule","groupByDependencyLevel","getPluginModuleValue","loadRemoteModule","resolve","log","module","loadModulePlugin","_x","_loadModulePlugin","apply","arguments","_asyncToGenerator","pluginUrl","myModule","loadJson","_x2","_loadJson","jsonUrl","res","fetch","ok","Error","statusText","json","_unused","loadModulePlugins","_x3","_loadModulePlugins","modulePluginsUrl","debug","manifest","concat","Array","isArray","plugins","levels","pluginMap","Map","lvl","length","level","results","Promise","allSettled","map","_ref7","plugin","name","main","version","packageName","package","pluginMainUrl","pluginExports","_x4","r","result","status","_result$value","value","error","reason","info","e","getAuthHandlers","authConfigValues","_authConfigValues$get","_authConfigValues$get2","get","split","getAuthPluginComponent","corePlugins","undefined","authHandlers","authPlugins","entries","filter","_ref","_ref2","_slicedToArray","_ref3","_ref4","type","AUTH_PLUGIN","component","AuthPlugin","Component","isAvailable","availableAuthPlugins","_ref5","warn","_ref6","join","_availableAuthPlugins"],"sources":["../../src/plugins/PluginUtils.ts"],"sourcesContent":["import Log from '@deephaven/log';\nimport {\n type PluginModuleMap,\n type AuthPlugin,\n type AuthPluginComponent,\n isAuthPlugin,\n type LegacyAuthPlugin,\n type LegacyPlugin,\n type Plugin,\n PluginType,\n isLegacyAuthPlugin,\n processLoadedModule,\n groupByDependencyLevel,\n type PluginManifest,\n type PluginManifestPluginInfo,\n getPluginModuleValue,\n} from '@deephaven/plugin';\nimport loadRemoteModule from './loadRemoteModule';\nimport { resolve } from './remote-component.config';\n\nconst log = Log.module('@deephaven/app-utils.PluginUtils');\n\n/**\n * @deprecated Import from `@deephaven/plugin` instead.\n */\nexport type { PluginManifestPluginInfo };\n\n/**\n * @deprecated Import from `@deephaven/plugin` instead.\n */\nexport type { PluginManifest };\n\n/**\n * @deprecated Import from `@deephaven/plugin` instead.\n */\nexport { getPluginModuleValue };\n\n/**\n * Imports a commonjs plugin module from the provided URL\n * @param pluginUrl The URL of the plugin to load\n * @returns The loaded module\n */\nexport async function loadModulePlugin(\n pluginUrl: string\n): Promise<LegacyPlugin | { default: Plugin }> {\n const myModule = await loadRemoteModule(pluginUrl);\n return myModule;\n}\n\n/**\n * Loads a JSON file and returns the JSON object\n * @param jsonUrl The URL of the JSON file to load\n * @returns The JSON object of the manifest file\n */\nexport async function loadJson(jsonUrl: string): Promise<PluginManifest> {\n const res = await fetch(jsonUrl);\n if (!res.ok) {\n throw new Error(res.statusText);\n }\n try {\n return await res.json();\n } catch {\n throw new Error('Could not be parsed as JSON');\n }\n}\n\n/**\n * Load all plugin modules available based on the manifest file at the provided base URL.\n * Plugins are grouped into dependency levels and loaded in parallel within each\n * level. Levels are processed sequentially so that each level's exports are\n * registered in the module resolve map before the next level loads, enabling\n * cross-plugin imports via standard import statements.\n * @param modulePluginsUrl The base URL of the module plugins to load\n * @returns A map from the name of the plugin to the plugin module that was loaded\n */\nexport async function loadModulePlugins(\n modulePluginsUrl: string\n): Promise<PluginModuleMap> {\n log.debug('Loading plugins...');\n try {\n const manifest = await loadJson(`${modulePluginsUrl}/manifest.json`);\n\n if (!Array.isArray(manifest.plugins)) {\n throw new Error('Plugin manifest JSON does not contain plugins array');\n }\n\n log.debug('Plugin manifest loaded:', manifest);\n\n const levels = groupByDependencyLevel(manifest.plugins);\n\n const pluginMap: PluginModuleMap = new Map();\n\n // Load plugins level by level. Plugins within a level have no\n // inter-dependencies and load in parallel. Each level completes\n // before the next starts so cross-plugin imports resolve correctly.\n for (let lvl = 0; lvl < levels.length; lvl += 1) {\n const level = levels[lvl];\n\n // eslint-disable-next-line no-await-in-loop\n const results = await Promise.allSettled(\n level.map(async plugin => {\n const { name, main, version, package: packageName } = plugin;\n const pluginMainUrl = `${modulePluginsUrl}/${name}/${main}`;\n const pluginExports = await loadModulePlugin(pluginMainUrl);\n return { pluginExports, name, packageName, version };\n })\n );\n\n for (let r = 0; r < results.length; r += 1) {\n const result = results[r];\n if (result.status === 'fulfilled') {\n const { pluginExports, name, packageName, version } = result.value;\n processLoadedModule(\n pluginMap,\n resolve,\n pluginExports,\n name,\n packageName,\n version\n );\n } else {\n log.error(`Unable to load plugin '${level[r].name}'`, result.reason);\n }\n }\n }\n log.info('Plugins loaded:', pluginMap);\n\n return pluginMap;\n } catch (e) {\n log.error('Unable to load plugins:', e);\n return new Map();\n }\n}\n\nexport function getAuthHandlers(\n authConfigValues: Map<string, string>\n): string[] {\n return authConfigValues.get('AuthHandlers')?.split(',') ?? [];\n}\n\n/**\n * Get the auth plugin component from the plugin map and current configuration\n * Throws if no auth plugin is available\n *\n * @param pluginMap Map of plugins loaded from the server\n * @param authConfigValues Auth config values from the server\n * @param corePlugins Map of core auth plugins to include in the list. They are added after the loaded plugins\n * @returns The auth plugin component to render\n */\nexport function getAuthPluginComponent(\n pluginMap: PluginModuleMap,\n authConfigValues: Map<string, string>,\n corePlugins = new Map<string, AuthPlugin | LegacyAuthPlugin>()\n): AuthPluginComponent {\n const authHandlers = getAuthHandlers(authConfigValues);\n // User plugins take priority over core plugins\n const authPlugins = (\n [...pluginMap.entries(), ...corePlugins.entries()].filter(\n ([, plugin]) => isAuthPlugin(plugin) || isLegacyAuthPlugin(plugin)\n ) as [string, AuthPlugin | LegacyAuthPlugin][]\n ).map(([name, plugin]) => {\n if (isLegacyAuthPlugin(plugin)) {\n return {\n type: PluginType.AUTH_PLUGIN,\n name,\n component: plugin.AuthPlugin.Component,\n isAvailable: plugin.AuthPlugin.isAvailable,\n };\n }\n\n return plugin;\n });\n\n // Filter the available auth plugins\n const availableAuthPlugins = authPlugins.filter(({ isAvailable }) =>\n isAvailable(authHandlers, authConfigValues)\n );\n\n if (availableAuthPlugins.length === 0) {\n throw new Error(\n `No login plugins found, please register a login plugin for auth handlers: ${authHandlers}`\n );\n } else if (availableAuthPlugins.length > 1) {\n log.warn(\n 'More than one login plugin available, will use the first one: ',\n availableAuthPlugins.map(({ name }) => name).join(', ')\n );\n }\n\n const { name, component } = availableAuthPlugins[0];\n log.info('Using LoginPlugin', name);\n\n return component;\n}\n"],"mappings":";;;;;;;;AAAA,OAAOA,GAAG,MAAM,gBAAgB;AAChC,SAIEC,YAAY,EAIZC,UAAU,EACVC,kBAAkB,EAClBC,mBAAmB,EACnBC,sBAAsB,EAGtBC,oBAAoB,QACf,mBAAmB;AAAC,OACpBC,gBAAgB;AAAA,SACdC,OAAO;AAEhB,IAAMC,GAAG,GAAGT,GAAG,CAACU,MAAM,CAAC,kCAAkC,CAAC;;AAE1D;AACA;AACA;;AAGA;AACA;AACA;;AAGA;AACA;AACA;AACA,SAASJ,oBAAoB;;AAE7B;AACA;AACA;AACA;AACA;AACA,gBAAsBK,gBAAgBA,CAAAC,EAAA;EAAA,OAAAC,iBAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;;AAOtC;AACA;AACA;AACA;AACA;AAJA,SAAAF,kBAAA;EAAAA,iBAAA,GAAAG,iBAAA,CAPO,WACLC,SAAiB,EAC4B;IAC7C,IAAMC,QAAQ,SAASX,gBAAgB,CAACU,SAAS,CAAC;IAClD,OAAOC,QAAQ;EACjB,CAAC;EAAA,OAAAL,iBAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AAOD,gBAAsBI,QAAQA,CAAAC,GAAA;EAAA,OAAAC,SAAA,CAAAP,KAAA,OAAAC,SAAA;AAAA;;AAY9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA,SAAAM,UAAA;EAAAA,SAAA,GAAAL,iBAAA,CAZO,WAAwBM,OAAe,EAA2B;IACvE,IAAMC,GAAG,SAASC,KAAK,CAACF,OAAO,CAAC;IAChC,IAAI,CAACC,GAAG,CA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GAAAmC,KAAA;IAClB,IAAInF,kBAAkB,CAACgD,MAAM,CAAC,EAAE;MAC9B,OAAO;QACLoC,IAAI,EAAErF,UAAU,CAACsF,WAAW;QAC5BpC,IAAI;QACJqC,SAAS,EAAEtC,MAAM,CAACuC,UAAU,CAACC,SAAS;QACtCC,WAAW,EAAEzC,MAAM,CAACuC,UAAU,CAACE;MACjC,CAAC;IACH;IAEA,OAAOzC,MAAM;EACf,CAAC,CAAC;;EAEF;EACA,IAAM0C,oBAAoB,GAAGd,WAAW,CAACE,MAAM,CAACa,KAAA;IAAA,IAAGF,WAAW,GAAAE,KAAA,CAAXF,WAAW;IAAA,OAC5DA,WAAW,CAACd,YAAY,EAAER,gBAAgB,CAAC;EAAA,CAC7C,CAAC;EAED,IAAIuB,oBAAoB,CAACjD,MAAM,KAAK,CAAC,EAAE;IACrC,MAAM,IAAIlB,KAAK,8EAAAU,MAAA,CACgE0C,YAAY,CAC3F,CAAC;EACH,CAAC,MAAM,IAAIe,oBAAoB,CAACjD,MAAM,GAAG,CAAC,EAAE;IAC1CnC,GAAG,CAACsF,IAAI,CACN,gEAAgE,EAChEF,oBAAoB,CAAC5C,GAAG,CAAC+C,KAAA;MAAA,IAAG5C,IAAI,GAAA4C,KAAA,CAAJ5C,IAAI;MAAA,OAAOA,IAAI;IAAA,EAAC,CAAC6C,IAAI,CAAC,IAAI,CACxD,CAAC;EACH;EAEA,IAAAC,qBAAA,GAA4BL,oBAAoB,CAAC,CAAC,CAAC;IAA3CzC,IAAI,GAAA8C,qBAAA,CAAJ9C,IAAI;IAAEqC,SAAS,GAAAS,qBAAA,CAATT,SAAS;EACvBhF,GAAG,CAAC0D,IAAI,CAAC,mBAAmB,EAAEf,IAAI,CAAC;EAEnC,OAAOqC,SAAS;AAClB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"PluginUtils.js","names":["Log","isAuthPlugin","PluginType","isLegacyAuthPlugin","processLoadedModule","groupByDependencyLevel","getPluginModuleValue","loadRemoteModule","resolve","log","module","loadModulePlugin","_x","_loadModulePlugin","apply","arguments","_asyncToGenerator","pluginUrl","myModule","loadJson","_x2","_loadJson","jsonUrl","res","fetch","ok","Error","statusText","json","_unused","loadModulePlugins","_x3","_loadModulePlugins","modulePluginsUrl","debug","manifest","concat","Array","isArray","plugins","levels","pluginMap","Map","lvl","length","level","results","Promise","allSettled","map","_ref7","plugin","name","main","version","loader","packageName","package","pluginMainUrl","pluginExports","_x4","r","result","status","_result$value","value","error","reason","info","e","getAuthHandlers","authConfigValues","_authConfigValues$get","_authConfigValues$get2","get","split","getAuthPluginComponent","corePlugins","undefined","authHandlers","authPlugins","entries","filter","_ref","_ref2","_slicedToArray","_ref3","_ref4","type","AUTH_PLUGIN","component","AuthPlugin","Component","isAvailable","availableAuthPlugins","_ref5","warn","_ref6","join","_availableAuthPlugins"],"sources":["../../src/plugins/PluginUtils.ts"],"sourcesContent":["import Log from '@deephaven/log';\nimport {\n type PluginModuleMap,\n type AuthPlugin,\n type AuthPluginComponent,\n isAuthPlugin,\n type LegacyAuthPlugin,\n type LegacyPlugin,\n type Plugin,\n PluginType,\n isLegacyAuthPlugin,\n processLoadedModule,\n groupByDependencyLevel,\n type PluginManifest,\n type PluginManifestPluginInfo,\n getPluginModuleValue,\n} from '@deephaven/plugin';\nimport loadRemoteModule from './loadRemoteModule';\nimport { resolve } from './remote-component.config';\n\nconst log = Log.module('@deephaven/app-utils.PluginUtils');\n\n/**\n * @deprecated Import from `@deephaven/plugin` instead.\n */\nexport type { PluginManifestPluginInfo };\n\n/**\n * @deprecated Import from `@deephaven/plugin` instead.\n */\nexport type { PluginManifest };\n\n/**\n * @deprecated Import from `@deephaven/plugin` instead.\n */\nexport { getPluginModuleValue };\n\n/**\n * Imports a commonjs plugin module from the provided URL\n * @param pluginUrl The URL of the plugin to load\n * @returns The loaded module\n */\nexport async function loadModulePlugin(\n pluginUrl: string\n): Promise<LegacyPlugin | { default: Plugin }> {\n const myModule = await loadRemoteModule(pluginUrl);\n return myModule;\n}\n\n/**\n * Loads a JSON file and returns the JSON object\n * @param jsonUrl The URL of the JSON file to load\n * @returns The JSON object of the manifest file\n */\nexport async function loadJson(jsonUrl: string): Promise<PluginManifest> {\n const res = await fetch(jsonUrl);\n if (!res.ok) {\n throw new Error(res.statusText);\n }\n try {\n return await res.json();\n } catch {\n throw new Error('Could not be parsed as JSON');\n }\n}\n\n/**\n * Load all plugin modules available based on the manifest file at the provided base URL.\n * Plugins are grouped into dependency levels and loaded in parallel within each\n * level. Levels are processed sequentially so that each level's exports are\n * registered in the module resolve map before the next level loads, enabling\n * cross-plugin imports via standard import statements.\n * @param modulePluginsUrl The base URL of the module plugins to load\n * @returns A map from the name of the plugin to the plugin module that was loaded\n */\nexport async function loadModulePlugins(\n modulePluginsUrl: string\n): Promise<PluginModuleMap> {\n log.debug('Loading plugins...');\n try {\n const manifest = await loadJson(`${modulePluginsUrl}/manifest.json`);\n\n if (!Array.isArray(manifest.plugins)) {\n throw new Error('Plugin manifest JSON does not contain plugins array');\n }\n\n log.debug('Plugin manifest loaded:', manifest);\n\n const levels = groupByDependencyLevel(manifest.plugins);\n\n const pluginMap: PluginModuleMap = new Map();\n\n // Load plugins level by level. Plugins within a level have no\n // inter-dependencies and load in parallel. Each level completes\n // before the next starts so cross-plugin imports resolve correctly.\n for (let lvl = 0; lvl < levels.length; lvl += 1) {\n const level = levels[lvl];\n\n // eslint-disable-next-line no-await-in-loop\n const results = await Promise.allSettled(\n level.map(async plugin => {\n const { name, main, version, loader } = plugin;\n const packageName = loader?.package;\n const pluginMainUrl = `${modulePluginsUrl}/${name}/${main}`;\n const pluginExports = await loadModulePlugin(pluginMainUrl);\n return { pluginExports, name, packageName, version };\n })\n );\n\n for (let r = 0; r < results.length; r += 1) {\n const result = results[r];\n if (result.status === 'fulfilled') {\n const { pluginExports, name, packageName, version } = result.value;\n processLoadedModule(\n pluginMap,\n resolve,\n pluginExports,\n name,\n packageName,\n version\n );\n } else {\n log.error(`Unable to load plugin '${level[r].name}'`, result.reason);\n }\n }\n }\n log.info('Plugins loaded:', pluginMap);\n\n return pluginMap;\n } catch (e) {\n log.error('Unable to load plugins:', e);\n return new Map();\n }\n}\n\nexport function getAuthHandlers(\n authConfigValues: Map<string, string>\n): string[] {\n return authConfigValues.get('AuthHandlers')?.split(',') ?? [];\n}\n\n/**\n * Get the auth plugin component from the plugin map and current configuration\n * Throws if no auth plugin is available\n *\n * @param pluginMap Map of plugins loaded from the server\n * @param authConfigValues Auth config values from the server\n * @param corePlugins Map of core auth plugins to include in the list. They are added after the loaded plugins\n * @returns The auth plugin component to render\n */\nexport function getAuthPluginComponent(\n pluginMap: PluginModuleMap,\n authConfigValues: Map<string, string>,\n corePlugins = new Map<string, AuthPlugin | LegacyAuthPlugin>()\n): AuthPluginComponent {\n const authHandlers = getAuthHandlers(authConfigValues);\n // User plugins take priority over core plugins\n const authPlugins = (\n [...pluginMap.entries(), ...corePlugins.entries()].filter(\n ([, plugin]) => isAuthPlugin(plugin) || isLegacyAuthPlugin(plugin)\n ) as [string, AuthPlugin | LegacyAuthPlugin][]\n ).map(([name, plugin]) => {\n if (isLegacyAuthPlugin(plugin)) {\n return {\n type: PluginType.AUTH_PLUGIN,\n name,\n component: plugin.AuthPlugin.Component,\n isAvailable: plugin.AuthPlugin.isAvailable,\n };\n }\n\n return plugin;\n });\n\n // Filter the available auth plugins\n const availableAuthPlugins = authPlugins.filter(({ isAvailable }) =>\n isAvailable(authHandlers, authConfigValues)\n );\n\n if (availableAuthPlugins.length === 0) {\n throw new Error(\n `No login plugins found, please register a login plugin for auth handlers: ${authHandlers}`\n );\n } else if (availableAuthPlugins.length > 1) {\n log.warn(\n 'More than one login plugin available, will use the first one: ',\n availableAuthPlugins.map(({ name }) => name).join(', ')\n );\n }\n\n const { name, component } = availableAuthPlugins[0];\n log.info('Using LoginPlugin', name);\n\n return component;\n}\n"],"mappings":";;;;;;;;AAAA,OAAOA,GAAG,MAAM,gBAAgB;AAChC,SAIEC,YAAY,EAIZC,U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AEA,OAAO1C,MAAM;EACf,CAAC,CAAC;;EAEF;EACA,IAAM2C,oBAAoB,GAAGd,WAAW,CAACE,MAAM,CAACa,KAAA;IAAA,IAAGF,WAAW,GAAAE,KAAA,CAAXF,WAAW;IAAA,OAC5DA,WAAW,CAACd,YAAY,EAAER,gBAAgB,CAAC;EAAA,CAC7C,CAAC;EAED,IAAIuB,oBAAoB,CAAClD,MAAM,KAAK,CAAC,EAAE;IACrC,MAAM,IAAIlB,KAAK,8EAAAU,MAAA,CACgE2C,YAAY,CAC3F,CAAC;EACH,CAAC,MAAM,IAAIe,oBAAoB,CAAClD,MAAM,GAAG,CAAC,EAAE;IAC1CnC,GAAG,CAACuF,IAAI,CACN,gEAAgE,EAChEF,oBAAoB,CAAC7C,GAAG,CAACgD,KAAA;MAAA,IAAG7C,IAAI,GAAA6C,KAAA,CAAJ7C,IAAI;MAAA,OAAOA,IAAI;IAAA,EAAC,CAAC8C,IAAI,CAAC,IAAI,CACxD,CAAC;EACH;EAEA,IAAAC,qBAAA,GAA4BL,oBAAoB,CAAC,CAAC,CAAC;IAA3C1C,IAAI,GAAA+C,qBAAA,CAAJ/C,IAAI;IAAEsC,SAAS,GAAAS,qBAAA,CAATT,SAAS;EACvBjF,GAAG,CAAC2D,IAAI,CAAC,mBAAmB,EAAEhB,IAAI,CAAC;EAEnC,OAAOsC,SAAS;AAClB","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/app-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "Deephaven App Utils",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,30 +22,30 @@
|
|
|
22
22
|
"build:babel": "babel ./src --out-dir ./dist --extensions \".ts,.tsx,.js,.jsx\" --source-maps --root-mode upward"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@deephaven/test-utils": "^1.
|
|
25
|
+
"@deephaven/test-utils": "^1.8.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@adobe/react-spectrum": "3.47.0",
|
|
29
|
-
"@deephaven/auth-plugins": "^1.23.
|
|
30
|
-
"@deephaven/chart": "^1.23.
|
|
31
|
-
"@deephaven/components": "^1.
|
|
32
|
-
"@deephaven/console": "^1.23.
|
|
33
|
-
"@deephaven/dashboard": "^1.
|
|
34
|
-
"@deephaven/dashboard-core-plugins": "^1.
|
|
35
|
-
"@deephaven/file-explorer": "^1.
|
|
36
|
-
"@deephaven/golden-layout": "^1.
|
|
37
|
-
"@deephaven/icons": "^1.
|
|
38
|
-
"@deephaven/iris-grid": "^1.
|
|
39
|
-
"@deephaven/jsapi-bootstrap": "^1.23.
|
|
40
|
-
"@deephaven/jsapi-components": "^1.23.
|
|
29
|
+
"@deephaven/auth-plugins": "^1.23.0",
|
|
30
|
+
"@deephaven/chart": "^1.23.0",
|
|
31
|
+
"@deephaven/components": "^1.22.1",
|
|
32
|
+
"@deephaven/console": "^1.23.0",
|
|
33
|
+
"@deephaven/dashboard": "^1.24.0",
|
|
34
|
+
"@deephaven/dashboard-core-plugins": "^1.25.0",
|
|
35
|
+
"@deephaven/file-explorer": "^1.22.1",
|
|
36
|
+
"@deephaven/golden-layout": "^1.24.0",
|
|
37
|
+
"@deephaven/icons": "^1.2.0",
|
|
38
|
+
"@deephaven/iris-grid": "^1.25.0",
|
|
39
|
+
"@deephaven/jsapi-bootstrap": "^1.23.0",
|
|
40
|
+
"@deephaven/jsapi-components": "^1.23.0",
|
|
41
41
|
"@deephaven/jsapi-types": "^1.0.0-dev0.40.4",
|
|
42
|
-
"@deephaven/jsapi-utils": "^1.23.
|
|
43
|
-
"@deephaven/log": "^1.
|
|
44
|
-
"@deephaven/plugin": "^1.
|
|
45
|
-
"@deephaven/react-hooks": "^1.
|
|
46
|
-
"@deephaven/redux": "^1.23.
|
|
47
|
-
"@deephaven/storage": "^1.
|
|
48
|
-
"@deephaven/utils": "^1.
|
|
42
|
+
"@deephaven/jsapi-utils": "^1.23.0",
|
|
43
|
+
"@deephaven/log": "^1.8.0",
|
|
44
|
+
"@deephaven/plugin": "^1.25.0",
|
|
45
|
+
"@deephaven/react-hooks": "^1.21.1",
|
|
46
|
+
"@deephaven/redux": "^1.23.0",
|
|
47
|
+
"@deephaven/storage": "^1.8.0",
|
|
48
|
+
"@deephaven/utils": "^1.10.0",
|
|
49
49
|
"@paciolan/remote-component": "2.13.0",
|
|
50
50
|
"@paciolan/remote-module-loader": "^3.0.2",
|
|
51
51
|
"classnames": "^2.5.1",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "de176de003d3058c39373cc8390652795b0896d4"
|
|
72
72
|
}
|