@finos/legend-application 2.0.10 → 2.0.11
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/lib/components/ApplicationStoreProviderTestUtils.d.ts.map +1 -1
- package/lib/components/ApplicationStoreProviderTestUtils.js +3 -2
- package/lib/components/ApplicationStoreProviderTestUtils.js.map +1 -1
- package/lib/components/LegendApplicationComponentFrameworkProvider.d.ts.map +1 -1
- package/lib/components/LegendApplicationComponentFrameworkProvider.js +1 -2
- package/lib/components/LegendApplicationComponentFrameworkProvider.js.map +1 -1
- package/lib/index.css +1 -1
- package/package.json +2 -2
- package/src/components/ApplicationStoreProviderTestUtils.tsx +2 -0
- package/src/components/LegendApplicationComponentFrameworkProvider.tsx +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationStoreProviderTestUtils.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationStoreProviderTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"ApplicationStoreProviderTestUtils.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationStoreProviderTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAGpG,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC;IACpD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,uBAAuB,CAAC;IAChC,aAAa,EAAE,8BAA8B,CAAC;CAC/C,CAKA,CAAC;AAEF,eAAO,MAAM,mCAAmC,gEAI/B,8BAA8B;;gBAG/B,uBAAuB;qCAetC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/**
|
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
4
|
*
|
|
@@ -18,7 +18,8 @@ import { createMemoryHistory } from 'history';
|
|
|
18
18
|
import { ApplicationStore } from '../stores/ApplicationStore';
|
|
19
19
|
import { WebApplicationNavigator } from '../stores/WebApplicationNavigator';
|
|
20
20
|
import { ApplicationStoreProvider } from './ApplicationStoreProvider';
|
|
21
|
-
|
|
21
|
+
import { NotificationManager } from './NotificationManager';
|
|
22
|
+
export const TEST__ApplicationStoreProvider = ({ children, config, pluginManager }) => (_jsxs(ApplicationStoreProvider, { config: config, pluginManager: pluginManager, children: [_jsx(NotificationManager, {}), children] }));
|
|
22
23
|
export const TEST__provideMockedApplicationStore = (config, pluginManager, customization) => {
|
|
23
24
|
const value = customization?.mock ??
|
|
24
25
|
new ApplicationStore(config, customization?.navigator ??
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationStoreProviderTestUtils.js","sourceRoot":"","sources":["../../src/components/ApplicationStoreProviderTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"ApplicationStoreProviderTestUtils.js","sourceRoot":"","sources":["../../src/components/ApplicationStoreProviderTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,CAAC,MAAM,8BAA8B,GAItC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,CAC5C,MAAC,wBAAwB,IAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,aACpE,KAAC,mBAAmB,KAAG,EACtB,QAAQ,IACgB,CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAGjD,MAAS,EACT,aAA6C,EAC7C,aAGC,EACoB,EAAE;IACvB,MAAM,KAAK,GACT,aAAa,EAAE,IAAI;QACnB,IAAI,gBAAgB,CAClB,MAAM,EACN,aAAa,EAAE,SAAS;YACtB,IAAI,uBAAuB,CAAC,mBAAmB,EAAE,CAAC,EACpD,aAAa,CACd,CAAC;IACJ,MAAM,8BAA8B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC,CAAC,8DAA8D;IAC5I,8BAA8B,CAAC,mBAAmB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IAC/D,8BAA8B,CAAC,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IAC1E,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendApplicationComponentFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/components/LegendApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"LegendApplicationComponentFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/components/LegendApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH,eAAO,MAAM,2CAA2C,EAAE,KAAK,CAAC,EAAE,CAAC;IACjE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAUA,CAAC"}
|
|
@@ -17,9 +17,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
17
17
|
import { LegendStyleProvider } from '@finos/legend-art';
|
|
18
18
|
import { ActionAlert } from './ActionAlert';
|
|
19
19
|
import { BlockingAlert } from './BlockingAlert';
|
|
20
|
-
import { NotificationManager } from './NotificationManager';
|
|
21
20
|
export const LegendApplicationComponentFrameworkProvider = (props) => {
|
|
22
21
|
const { children } = props;
|
|
23
|
-
return (_jsxs(LegendStyleProvider, { children: [_jsx(BlockingAlert, {}), _jsx(ActionAlert, {}),
|
|
22
|
+
return (_jsxs(LegendStyleProvider, { children: [_jsx(BlockingAlert, {}), _jsx(ActionAlert, {}), children] }));
|
|
24
23
|
};
|
|
25
24
|
//# sourceMappingURL=LegendApplicationComponentFrameworkProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendApplicationComponentFrameworkProvider.js","sourceRoot":"","sources":["../../src/components/LegendApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendApplicationComponentFrameworkProvider.js","sourceRoot":"","sources":["../../src/components/LegendApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,CAAC,MAAM,2CAA2C,GAEnD,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,OAAO,CACL,MAAC,mBAAmB,eAClB,KAAC,aAAa,KAAG,EACjB,KAAC,WAAW,KAAG,EACd,QAAQ,IACW,CACvB,CAAC;AACJ,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "Legend application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@finos/legend-art": "0.3.15",
|
|
44
|
-
"@finos/legend-graph": "4.0.
|
|
44
|
+
"@finos/legend-graph": "4.0.1",
|
|
45
45
|
"@finos/legend-shared": "1.2.9",
|
|
46
46
|
"@types/css-font-loading-module": "0.0.7",
|
|
47
47
|
"@types/react": "17.0.43",
|
|
@@ -20,6 +20,7 @@ import { WebApplicationNavigator } from '../stores/WebApplicationNavigator';
|
|
|
20
20
|
import type { LegendApplicationConfig } from '../stores/LegendApplicationConfig';
|
|
21
21
|
import { ApplicationStoreProvider } from './ApplicationStoreProvider';
|
|
22
22
|
import type { LegendApplicationPluginManager } from '../application/LegendApplicationPluginManager';
|
|
23
|
+
import { NotificationManager } from './NotificationManager';
|
|
23
24
|
|
|
24
25
|
export const TEST__ApplicationStoreProvider: React.FC<{
|
|
25
26
|
children: React.ReactNode;
|
|
@@ -27,6 +28,7 @@ export const TEST__ApplicationStoreProvider: React.FC<{
|
|
|
27
28
|
pluginManager: LegendApplicationPluginManager;
|
|
28
29
|
}> = ({ children, config, pluginManager }) => (
|
|
29
30
|
<ApplicationStoreProvider config={config} pluginManager={pluginManager}>
|
|
31
|
+
<NotificationManager />
|
|
30
32
|
{children}
|
|
31
33
|
</ApplicationStoreProvider>
|
|
32
34
|
);
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
import { LegendStyleProvider } from '@finos/legend-art';
|
|
18
18
|
import { ActionAlert } from './ActionAlert';
|
|
19
19
|
import { BlockingAlert } from './BlockingAlert';
|
|
20
|
-
import { NotificationManager } from './NotificationManager';
|
|
21
20
|
|
|
22
21
|
export const LegendApplicationComponentFrameworkProvider: React.FC<{
|
|
23
22
|
children: React.ReactNode;
|
|
@@ -28,7 +27,6 @@ export const LegendApplicationComponentFrameworkProvider: React.FC<{
|
|
|
28
27
|
<LegendStyleProvider>
|
|
29
28
|
<BlockingAlert />
|
|
30
29
|
<ActionAlert />
|
|
31
|
-
<NotificationManager />
|
|
32
30
|
{children}
|
|
33
31
|
</LegendStyleProvider>
|
|
34
32
|
);
|