@finos/legend-application-studio 28.19.111 → 28.19.112

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.
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare const PureCompatibilityTestManager: (() => import("react/jsx-runtime").JSX.Element | null) & {
16
+ export declare const PureCompatibilityTestManager: (() => null) & {
17
17
  displayName: string;
18
18
  };
19
19
  //# sourceMappingURL=PureCompatibilityTest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PureCompatibilityTest.d.ts","sourceRoot":"","sources":["../../../src/components/pct/PureCompatibilityTest.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,eAAO,MAAM,4BAA4B;;CAevC,CAAC"}
1
+ {"version":3,"file":"PureCompatibilityTest.d.ts","sourceRoot":"","sources":["../../../src/components/pct/PureCompatibilityTest.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,eAAO,MAAM,4BAA4B;;CAavC,CAAC"}
@@ -1,4 +1,3 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  /**
3
2
  * Copyright (c) 2020-present, Goldman Sachs
4
3
  *
@@ -14,14 +13,17 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
13
  * See the License for the specific language governing permissions and
15
14
  * limitations under the License.
16
15
  */
16
+ import { useEffect } from 'react';
17
17
  import { observer } from 'mobx-react-lite';
18
18
  import { useLegendStudioApplicationStore } from '../LegendStudioFrameworkProvider.js';
19
19
  export const PureCompatibilityTestManager = observer(() => {
20
20
  const studioApplicationStore = useLegendStudioApplicationStore();
21
21
  const config = studioApplicationStore.config;
22
- if (!config.pctReportUrl) {
23
- return null;
24
- }
25
- return (_jsx("div", { className: "app__page", children: _jsx("iframe", { src: config.pctReportUrl, style: { width: '100%', height: '100%', border: 'none' }, title: "Legend Pure Compatibility Test" }) }));
22
+ useEffect(() => {
23
+ if (config.pctReportUrl) {
24
+ studioApplicationStore.navigationService.navigator.goToAddress(config.pctReportUrl);
25
+ }
26
+ }, [config.pctReportUrl, studioApplicationStore.navigationService.navigator]);
27
+ return null;
26
28
  });
27
29
  //# sourceMappingURL=PureCompatibilityTest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PureCompatibilityTest.js","sourceRoot":"","sources":["../../../src/components/pct/PureCompatibilityTest.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AAEtF,MAAM,CAAC,MAAM,4BAA4B,GAAG,QAAQ,CAAC,GAAG,EAAE;IACxD,MAAM,sBAAsB,GAAG,+BAA+B,EAAE,CAAC;IACjE,MAAM,MAAM,GAAG,sBAAsB,CAAC,MAAM,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,CACL,cAAK,SAAS,EAAC,WAAW,YACxB,iBACE,GAAG,EAAE,MAAM,CAAC,YAAY,EACxB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EACxD,KAAK,EAAC,gCAAgC,GACtC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"PureCompatibilityTest.js","sourceRoot":"","sources":["../../../src/components/pct/PureCompatibilityTest.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AAEtF,MAAM,CAAC,MAAM,4BAA4B,GAAG,QAAQ,CAAC,GAAG,EAAE;IACxD,MAAM,sBAAsB,GAAG,+BAA+B,EAAE,CAAC;IACjE,MAAM,MAAM,GAAG,sBAAsB,CAAC,MAAM,CAAC;IAE7C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC;YACxB,sBAAsB,CAAC,iBAAiB,CAAC,SAAS,CAAC,WAAW,CAC5D,MAAM,CAAC,YAAY,CACpB,CAAC;QACJ,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,sBAAsB,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC;IAE9E,OAAO,IAAI,CAAC;AACd,CAAC,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-studio v28.19.111
1
+ /** @license @finos/legend-application-studio v28.19.112
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.19.111",
3
+ "version": "28.19.112",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.19.111",
3
+ "version": "28.19.112",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -48,15 +48,15 @@
48
48
  "dependencies": {
49
49
  "@finos/legend-application": "16.0.103",
50
50
  "@finos/legend-art": "7.1.145",
51
- "@finos/legend-code-editor": "2.0.161",
52
- "@finos/legend-data-cube": "0.3.78",
53
- "@finos/legend-extension-dsl-data-product": "0.0.67",
54
- "@finos/legend-extension-dsl-diagram": "8.1.225",
55
- "@finos/legend-graph": "32.4.1",
56
- "@finos/legend-lego": "2.0.180",
57
- "@finos/legend-query-builder": "4.17.98",
51
+ "@finos/legend-code-editor": "2.0.162",
52
+ "@finos/legend-data-cube": "0.3.79",
53
+ "@finos/legend-extension-dsl-data-product": "0.0.68",
54
+ "@finos/legend-extension-dsl-diagram": "8.1.226",
55
+ "@finos/legend-graph": "32.4.2",
56
+ "@finos/legend-lego": "2.0.181",
57
+ "@finos/legend-query-builder": "4.17.99",
58
58
  "@finos/legend-server-depot": "6.1.10",
59
- "@finos/legend-server-lakehouse": "0.3.42",
59
+ "@finos/legend-server-lakehouse": "0.3.43",
60
60
  "@finos/legend-server-sdlc": "5.4.1",
61
61
  "@finos/legend-server-showcase": "0.2.64",
62
62
  "@finos/legend-shared": "11.0.23",
@@ -14,22 +14,21 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
+ import { useEffect } from 'react';
17
18
  import { observer } from 'mobx-react-lite';
18
19
  import { useLegendStudioApplicationStore } from '../LegendStudioFrameworkProvider.js';
19
20
 
20
21
  export const PureCompatibilityTestManager = observer(() => {
21
22
  const studioApplicationStore = useLegendStudioApplicationStore();
22
23
  const config = studioApplicationStore.config;
23
- if (!config.pctReportUrl) {
24
- return null;
25
- }
26
- return (
27
- <div className="app__page">
28
- <iframe
29
- src={config.pctReportUrl}
30
- style={{ width: '100%', height: '100%', border: 'none' }}
31
- title="Legend Pure Compatibility Test"
32
- />
33
- </div>
34
- );
24
+
25
+ useEffect(() => {
26
+ if (config.pctReportUrl) {
27
+ studioApplicationStore.navigationService.navigator.goToAddress(
28
+ config.pctReportUrl,
29
+ );
30
+ }
31
+ }, [config.pctReportUrl, studioApplicationStore.navigationService.navigator]);
32
+
33
+ return null;
35
34
  });