@finos/legend-application 1.0.1 → 1.1.2
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/CHANGELOG.md +18 -0
- package/lib/application/LegendApplication.d.ts +1 -2
- package/lib/application/LegendApplication.d.ts.map +1 -1
- package/lib/application/LegendApplication.js.map +1 -1
- package/lib/application/LegendApplicationPluginManager.d.ts +1 -2
- package/lib/application/LegendApplicationPluginManager.d.ts.map +1 -1
- package/lib/application/LegendApplicationPluginManager.js +1 -1
- package/lib/application/LegendApplicationPluginManager.js.map +1 -1
- package/lib/components/ActionAlert.d.ts +1 -0
- package/lib/components/ActionAlert.d.ts.map +1 -1
- package/lib/components/ActionAlert.js +2 -1
- package/lib/components/ActionAlert.js.map +1 -1
- package/lib/components/BlockingAlert.d.ts +1 -0
- package/lib/components/BlockingAlert.d.ts.map +1 -1
- package/lib/components/BlockingAlert.js +3 -2
- package/lib/components/BlockingAlert.js.map +1 -1
- package/lib/components/LambdaEditor.d.ts +3 -2
- package/lib/components/LambdaEditor.d.ts.map +1 -1
- package/lib/components/LambdaEditor.js +5 -6
- package/lib/components/LambdaEditor.js.map +1 -1
- package/lib/components/{NotificationSnackbar.d.ts → LegendApplicationComponentFrameworkProvider.d.ts} +5 -4
- package/lib/components/LegendApplicationComponentFrameworkProvider.d.ts.map +1 -0
- package/lib/components/LegendApplicationComponentFrameworkProvider.js +25 -0
- package/lib/components/LegendApplicationComponentFrameworkProvider.js.map +1 -0
- package/lib/components/{ApplicationBackdrop.d.ts → NotificationManager.d.ts} +3 -4
- package/lib/components/NotificationManager.d.ts.map +1 -0
- package/lib/components/{NotificationSnackbar.js → NotificationManager.js} +14 -15
- package/lib/components/NotificationManager.js.map +1 -0
- package/lib/components/TextInputEditor.d.ts +2 -3
- package/lib/components/TextInputEditor.d.ts.map +1 -1
- package/lib/components/TextInputEditor.js +1 -1
- package/lib/components/TextInputEditor.js.map +1 -1
- package/lib/components/WebApplicationNavigatorProviderTestUtils.d.ts +1 -1
- package/lib/components/WebApplicationNavigatorProviderTestUtils.d.ts.map +1 -1
- package/lib/components/WebApplicationNavigatorProviderTestUtils.js +1 -1
- package/lib/components/WebApplicationNavigatorProviderTestUtils.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -4
- package/lib/index.js.map +1 -1
- package/lib/stores/ApplicationStore.d.ts +1 -2
- package/lib/stores/ApplicationStore.d.ts.map +1 -1
- package/lib/stores/ApplicationStore.js +1 -1
- package/lib/stores/ApplicationStore.js.map +1 -1
- package/lib/stores/LambdaEditorState.d.ts +2 -3
- package/lib/stores/LambdaEditorState.d.ts.map +1 -1
- package/lib/stores/LambdaEditorState.js +1 -1
- package/lib/stores/LambdaEditorState.js.map +1 -1
- package/package.json +18 -20
- package/src/application/LegendApplication.tsx +2 -1
- package/src/application/LegendApplicationPluginManager.tsx +10 -10
- package/src/components/ActionAlert.tsx +3 -2
- package/src/components/BlockingAlert.tsx +4 -2
- package/src/components/LambdaEditor.tsx +19 -14
- package/src/components/{ApplicationBackdrop.tsx → LegendApplicationComponentFrameworkProvider.tsx} +18 -5
- package/src/components/{NotificationSnackbar.tsx → NotificationManager.tsx} +30 -25
- package/src/components/TextInputEditor.tsx +6 -4
- package/src/components/WebApplicationNavigatorProviderTestUtils.tsx +1 -2
- package/src/index.ts +2 -4
- package/src/stores/ApplicationStore.ts +2 -2
- package/src/stores/LambdaEditorState.ts +6 -4
- package/tsconfig.json +2 -2
- package/lib/components/ApplicationBackdrop.d.ts.map +0 -1
- package/lib/components/ApplicationBackdrop.js +0 -20
- package/lib/components/ApplicationBackdrop.js.map +0 -1
- package/lib/components/NotificationSnackbar.d.ts.map +0 -1
- package/lib/components/NotificationSnackbar.js.map +0 -1
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { observable, action, computed, makeObservable, flow } from 'mobx';
|
|
18
|
-
import type
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
import { type GeneratorFn, uuid } from '@finos/legend-shared';
|
|
19
|
+
import {
|
|
20
|
+
type ParserError,
|
|
21
|
+
type CompilationError,
|
|
22
|
+
SourceInformation,
|
|
23
|
+
} from '@finos/legend-graph';
|
|
22
24
|
|
|
23
25
|
/**
|
|
24
26
|
* This is not strictly meant for lambda. The idea is to create an editor that allows
|
package/tsconfig.json
CHANGED
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"./src/application/LegendApplicationPluginManager.tsx",
|
|
47
47
|
"./src/components/ActionAlert.tsx",
|
|
48
48
|
"./src/components/AppHeader.tsx",
|
|
49
|
-
"./src/components/ApplicationBackdrop.tsx",
|
|
50
49
|
"./src/components/ApplicationStoreProvider.tsx",
|
|
51
50
|
"./src/components/ApplicationStoreProviderTestUtils.tsx",
|
|
52
51
|
"./src/components/BlockingAlert.tsx",
|
|
53
52
|
"./src/components/LambdaEditor.tsx",
|
|
54
|
-
"./src/components/
|
|
53
|
+
"./src/components/LegendApplicationComponentFrameworkProvider.tsx",
|
|
54
|
+
"./src/components/NotificationManager.tsx",
|
|
55
55
|
"./src/components/TextInputEditor.tsx",
|
|
56
56
|
"./src/components/WebApplicationNavigatorProvider.tsx",
|
|
57
57
|
"./src/components/WebApplicationNavigatorProviderTestUtils.tsx"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationBackdrop.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationBackdrop.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,eAAO,MAAM,mBAAmB,WAAoB;IAAE,MAAM,OAAO,CAAA;CAAE;;CAEnE,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { Backdrop } from '@material-ui/core';
|
|
18
|
-
import { observer } from 'mobx-react-lite';
|
|
19
|
-
export const ApplicationBackdrop = observer((props) => (_jsx(Backdrop, { className: "backdrop", open: props.open }, void 0)));
|
|
20
|
-
//# sourceMappingURL=ApplicationBackdrop.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationBackdrop.js","sourceRoot":"","sources":["../../src/components/ApplicationBackdrop.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,CAAC,KAAwB,EAAE,EAAE,CAAC,CACxE,KAAC,QAAQ,IAAC,SAAS,EAAC,UAAU,EAAC,IAAI,EAAE,KAAK,CAAC,IAAI,WAAI,CACpD,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationSnackbar.d.ts","sourceRoot":"","sources":["../../src/components/NotificationSnackbar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAsBH,eAAO,MAAM,oBAAoB;;CAuI/B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"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