@finos/legend-application-repl 1.0.3 → 1.0.5
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/LegendREPLApplication.d.ts.map +1 -1
- package/lib/components/LegendREPLApplication.js +2 -4
- package/lib/components/LegendREPLApplication.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +5 -5
- package/package.json +11 -11
- package/src/components/LegendREPLApplication.tsx +5 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendREPLApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendREPLApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"LegendREPLApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendREPLApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoDH,eAAO,MAAM,qCAAqC;;EAEhD,CAAC;AAEH,eAAO,MAAM,gBAAgB;;CAS3B,CAAC;AAEH,eAAO,MAAM,wBAAwB,UAAW;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,4CAUlE,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { BrowserEnvironmentProvider, Route,
|
|
17
|
+
import { BrowserEnvironmentProvider, Route, Routes, } from '@finos/legend-application/browser';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { useMemo } from 'react';
|
|
20
20
|
import { guaranteeNonNullable, NetworkClient } from '@finos/legend-shared';
|
|
@@ -37,9 +37,7 @@ const LegendREPLDataCube = observer(() => {
|
|
|
37
37
|
export const LEGEND_REPL_GRID_CLIENT_ROUTE_PATTERN = Object.freeze({
|
|
38
38
|
DATA_CUBE: `/dataCube`,
|
|
39
39
|
});
|
|
40
|
-
export const LegendREPLRouter = observer(() => (_jsx("div", { className: "h-full", children: _jsx(
|
|
41
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
42
|
-
LegendREPLDataCube }) }) })));
|
|
40
|
+
export const LegendREPLRouter = observer(() => (_jsx("div", { className: "h-full", children: _jsx(Routes, { children: _jsx(Route, { path: LEGEND_REPL_GRID_CLIENT_ROUTE_PATTERN.DATA_CUBE, element: _jsx(LegendREPLDataCube, {}) }) }) })));
|
|
43
41
|
export const LegendREPLWebApplication = (props) => {
|
|
44
42
|
const { baseUrl } = props;
|
|
45
43
|
return (_jsx(BrowserEnvironmentProvider, { baseUrl: baseUrl, children: _jsx(ApplicationFrameworkProvider, { simple: true, children: _jsx(LegendREPLRouter, {}) }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendREPLApplication.js","sourceRoot":"","sources":["../../src/components/LegendREPLApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,MAAM,
|
|
1
|
+
{"version":3,"file":"LegendREPLApplication.js","sourceRoot":"","sources":["../../src/components/LegendREPLApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,MAAM,GACP,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,mCAAmC,EAAE,MAAM,kDAAkD,CAAC;AACvG,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,gBAAg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,KAA0B,EAAE,EAAE;IACrE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,OAAO,CACL,KAAC,0BAA0B,IAAC,OAAO,EAAE,OAAO,YAC1C,KAAC,4BAA4B,IAAC,MAAM,EAAE,IAAI,YACxC,KAAC,gBAAgB,KAAG,GACS,GACJ,CAC9B,CAAC;AACJ,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application-repl",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Legend REPL Grid client application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@finos/legend-data-cube": "workspace:*",
|
|
49
49
|
"@finos/legend-graph": "workspace:*",
|
|
50
50
|
"@finos/legend-shared": "workspace:*",
|
|
51
|
-
"@types/react": "18.3.
|
|
51
|
+
"@types/react": "18.3.11",
|
|
52
52
|
"@types/react-dom": "18.3.0",
|
|
53
53
|
"mobx": "6.13.3",
|
|
54
54
|
"mobx-react-lite": "4.0.7",
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
"@finos/legend-dev-utils": "workspace:*",
|
|
60
60
|
"@jest/globals": "29.7.0",
|
|
61
61
|
"cross-env": "7.0.3",
|
|
62
|
-
"eslint": "
|
|
62
|
+
"eslint": "9.12.0",
|
|
63
63
|
"jest": "29.7.0",
|
|
64
64
|
"npm-run-all": "4.1.5",
|
|
65
65
|
"rimraf": "6.0.1",
|
|
66
|
-
"sass": "1.79.
|
|
67
|
-
"typescript": "5.6.
|
|
66
|
+
"sass": "1.79.4",
|
|
67
|
+
"typescript": "5.6.3"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application-repl",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Legend REPL Grid client application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"test:watch": "jest --watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@finos/legend-application": "16.0.
|
|
47
|
-
"@finos/legend-art": "7.1.
|
|
48
|
-
"@finos/legend-data-cube": "0.0.
|
|
49
|
-
"@finos/legend-graph": "31.10.
|
|
50
|
-
"@finos/legend-shared": "10.0.
|
|
51
|
-
"@types/react": "18.3.
|
|
46
|
+
"@finos/legend-application": "16.0.2",
|
|
47
|
+
"@finos/legend-art": "7.1.61",
|
|
48
|
+
"@finos/legend-data-cube": "0.0.7",
|
|
49
|
+
"@finos/legend-graph": "31.10.37",
|
|
50
|
+
"@finos/legend-shared": "10.0.57",
|
|
51
|
+
"@types/react": "18.3.11",
|
|
52
52
|
"@types/react-dom": "18.3.0",
|
|
53
53
|
"mobx": "6.13.3",
|
|
54
54
|
"mobx-react-lite": "4.0.7",
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
"react-dom": "18.3.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@finos/legend-dev-utils": "2.1.
|
|
59
|
+
"@finos/legend-dev-utils": "2.1.24",
|
|
60
60
|
"@jest/globals": "29.7.0",
|
|
61
61
|
"cross-env": "7.0.3",
|
|
62
|
-
"eslint": "
|
|
62
|
+
"eslint": "9.12.0",
|
|
63
63
|
"jest": "29.7.0",
|
|
64
64
|
"npm-run-all": "4.1.5",
|
|
65
65
|
"rimraf": "6.0.1",
|
|
66
|
-
"sass": "1.79.
|
|
67
|
-
"typescript": "5.6.
|
|
66
|
+
"sass": "1.79.4",
|
|
67
|
+
"typescript": "5.6.3"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0"
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
import {
|
|
18
18
|
BrowserEnvironmentProvider,
|
|
19
19
|
Route,
|
|
20
|
-
|
|
21
|
-
type TEMPORARY__ReactRouterComponentType,
|
|
20
|
+
Routes,
|
|
22
21
|
} from '@finos/legend-application/browser';
|
|
23
22
|
import { observer } from 'mobx-react-lite';
|
|
24
23
|
import { useMemo } from 'react';
|
|
@@ -71,16 +70,12 @@ export const LEGEND_REPL_GRID_CLIENT_ROUTE_PATTERN = Object.freeze({
|
|
|
71
70
|
|
|
72
71
|
export const LegendREPLRouter = observer(() => (
|
|
73
72
|
<div className="h-full">
|
|
74
|
-
<
|
|
73
|
+
<Routes>
|
|
75
74
|
<Route
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
component={
|
|
79
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
80
|
-
LegendREPLDataCube as TEMPORARY__ReactRouterComponentType
|
|
81
|
-
}
|
|
75
|
+
path={LEGEND_REPL_GRID_CLIENT_ROUTE_PATTERN.DATA_CUBE}
|
|
76
|
+
element={<LegendREPLDataCube />}
|
|
82
77
|
/>
|
|
83
|
-
</
|
|
78
|
+
</Routes>
|
|
84
79
|
</div>
|
|
85
80
|
));
|
|
86
81
|
|