@finos/legend-application 8.0.2 → 9.0.1
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/LegendApplicationComponentFrameworkProvider.d.ts +4 -2
- package/lib/components/LegendApplicationComponentFrameworkProvider.d.ts.map +1 -1
- package/lib/components/LegendApplicationComponentFrameworkProvider.js +7 -4
- package/lib/components/LegendApplicationComponentFrameworkProvider.js.map +1 -1
- package/lib/components/NotificationManager.js +1 -1
- package/lib/components/NotificationManager.js.map +1 -1
- package/lib/components/WebApplicationNavigatorProvider.d.ts.map +1 -1
- package/lib/components/WebApplicationNavigatorProvider.js +1 -1
- package/lib/components/WebApplicationNavigatorProvider.js.map +1 -1
- package/lib/components/{shared/execution-plan-viewer → execution-plan-viewer}/ExecutionPlanViewer.d.ts +1 -1
- package/lib/components/execution-plan-viewer/ExecutionPlanViewer.d.ts.map +1 -0
- package/lib/components/{shared/execution-plan-viewer → execution-plan-viewer}/ExecutionPlanViewer.js +3 -3
- package/lib/components/execution-plan-viewer/ExecutionPlanViewer.js.map +1 -0
- package/lib/components/{shared/execution-plan-viewer → execution-plan-viewer}/SQLExecutionNodeViewer.d.ts +1 -1
- package/lib/components/execution-plan-viewer/SQLExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/{shared/execution-plan-viewer → execution-plan-viewer}/SQLExecutionNodeViewer.js +2 -2
- package/lib/components/execution-plan-viewer/SQLExecutionNodeViewer.js.map +1 -0
- package/lib/components/shared/DocumentationLink.d.ts +5 -0
- package/lib/components/shared/DocumentationLink.d.ts.map +1 -1
- package/lib/components/shared/DocumentationLink.js +12 -2
- package/lib/components/shared/DocumentationLink.js.map +1 -1
- package/lib/components/shared/{PackageableElementOptionRenderer.d.ts → PackageableElementOptionLabel.d.ts} +1 -1
- package/lib/components/shared/PackageableElementOptionLabel.d.ts.map +1 -0
- package/lib/components/shared/{PackageableElementOptionRenderer.js → PackageableElementOptionLabel.js} +5 -5
- package/lib/components/shared/PackageableElementOptionLabel.js.map +1 -0
- package/lib/components/shared/TextInputEditor.d.ts.map +1 -1
- package/lib/components/shared/TextInputEditor.js +1 -2
- package/lib/components/shared/TextInputEditor.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +8 -9
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +8 -9
- package/lib/index.js.map +1 -1
- package/lib/stores/ApplicationStore.d.ts +2 -0
- package/lib/stores/ApplicationStore.d.ts.map +1 -1
- package/lib/stores/ApplicationStore.js +13 -10
- package/lib/stores/ApplicationStore.js.map +1 -1
- package/lib/stores/AssistantService.js +1 -1
- package/lib/stores/AssistantService.js.map +1 -1
- package/lib/stores/{shared/ExecutionPlanState.d.ts → ExecutionPlanState.d.ts} +1 -1
- package/lib/stores/ExecutionPlanState.d.ts.map +1 -0
- package/lib/stores/{shared/ExecutionPlanState.js → ExecutionPlanState.js} +0 -0
- package/lib/stores/ExecutionPlanState.js.map +1 -0
- package/lib/stores/LegendApplicationDocumentation.d.ts +2 -1
- package/lib/stores/LegendApplicationDocumentation.d.ts.map +1 -1
- package/lib/stores/LegendApplicationDocumentation.js +1 -0
- package/lib/stores/LegendApplicationDocumentation.js.map +1 -1
- package/lib/stores/WebApplicationNavigator.d.ts +62 -30
- package/lib/stores/WebApplicationNavigator.d.ts.map +1 -1
- package/lib/stores/WebApplicationNavigator.js +80 -15
- package/lib/stores/WebApplicationNavigator.js.map +1 -1
- package/lib/{components/ApplicationTestID.js → stores/WebApplicationRouter.d.ts} +4 -5
- package/lib/stores/WebApplicationRouter.d.ts.map +1 -0
- package/{src/components/ApplicationTestID.ts → lib/stores/WebApplicationRouter.js} +4 -4
- package/lib/stores/WebApplicationRouter.js.map +1 -0
- package/package.json +9 -11
- package/src/components/LegendApplicationComponentFrameworkProvider.tsx +18 -14
- package/src/components/NotificationManager.tsx +1 -1
- package/src/components/WebApplicationNavigatorProvider.tsx +1 -1
- package/src/components/{shared/execution-plan-viewer → execution-plan-viewer}/ExecutionPlanViewer.tsx +3 -3
- package/src/components/{shared/execution-plan-viewer → execution-plan-viewer}/SQLExecutionNodeViewer.tsx +3 -3
- package/src/components/shared/DocumentationLink.tsx +25 -1
- package/src/components/shared/{PackageableElementOptionRenderer.tsx → PackageableElementOptionLabel.tsx} +4 -4
- package/src/components/shared/TextInputEditor.tsx +1 -2
- package/src/index.ts +9 -9
- package/src/stores/ApplicationStore.ts +15 -12
- package/src/stores/AssistantService.ts +1 -1
- package/src/stores/{shared/ExecutionPlanState.ts → ExecutionPlanState.ts} +1 -1
- package/src/stores/LegendApplicationDocumentation.ts +1 -0
- package/src/stores/WebApplicationNavigator.ts +149 -39
- package/{lib/components/ApplicationTestID.d.ts → src/stores/WebApplicationRouter.ts} +12 -4
- package/tsconfig.json +7 -16
- package/lib/components/ApplicationTestID.d.ts.map +0 -1
- package/lib/components/ApplicationTestID.js.map +0 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts +0 -52
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +0 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +0 -323
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +0 -1
- package/lib/components/shared/CustomDatePicker.d.ts +0 -38
- package/lib/components/shared/CustomDatePicker.d.ts.map +0 -1
- package/lib/components/shared/CustomDatePicker.js +0 -616
- package/lib/components/shared/CustomDatePicker.js.map +0 -1
- package/lib/components/shared/LambdaEditor.d.ts +0 -92
- package/lib/components/shared/LambdaEditor.d.ts.map +0 -1
- package/lib/components/shared/LambdaEditor.js +0 -434
- package/lib/components/shared/LambdaEditor.js.map +0 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +0 -25
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +0 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +0 -52
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +0 -1
- package/lib/components/shared/PackageableElementOptionRenderer.d.ts.map +0 -1
- package/lib/components/shared/PackageableElementOptionRenderer.js.map +0 -1
- package/lib/components/shared/execution-plan-viewer/ExecutionPlanViewer.d.ts.map +0 -1
- package/lib/components/shared/execution-plan-viewer/ExecutionPlanViewer.js.map +0 -1
- package/lib/components/shared/execution-plan-viewer/SQLExecutionNodeViewer.d.ts.map +0 -1
- package/lib/components/shared/execution-plan-viewer/SQLExecutionNodeViewer.js.map +0 -1
- package/lib/stores/CJS__Fuse.cjs +0 -35
- package/lib/stores/CJS__Fuse.cjs.map +0 -1
- package/lib/stores/CJS__Fuse.d.cts +0 -28
- package/lib/stores/CJS__Fuse.d.cts.map +0 -1
- package/lib/stores/shared/ExecutionPlanState.d.ts.map +0 -1
- package/lib/stores/shared/ExecutionPlanState.js.map +0 -1
- package/lib/stores/shared/LambdaEditorState.d.ts +0 -40
- package/lib/stores/shared/LambdaEditorState.d.ts.map +0 -1
- package/lib/stores/shared/LambdaEditorState.js +0 -81
- package/lib/stores/shared/LambdaEditorState.js.map +0 -1
- package/lib/stores/shared/LambdaParameterState.d.ts +0 -62
- package/lib/stores/shared/LambdaParameterState.d.ts.map +0 -1
- package/lib/stores/shared/LambdaParameterState.js +0 -160
- package/lib/stores/shared/LambdaParameterState.js.map +0 -1
- package/lib/stores/shared/ValueSpecificationModifierHelper.d.ts +0 -27
- package/lib/stores/shared/ValueSpecificationModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/ValueSpecificationModifierHelper.js +0 -49
- package/lib/stores/shared/ValueSpecificationModifierHelper.js.map +0 -1
- package/src/components/shared/BasicValueSpecificationEditor.tsx +0 -828
- package/src/components/shared/CustomDatePicker.tsx +0 -1292
- package/src/components/shared/LambdaEditor.tsx +0 -854
- package/src/components/shared/LambdaParameterValuesEditor.tsx +0 -118
- package/src/stores/CJS__Fuse.cts +0 -28
- package/src/stores/shared/LambdaEditorState.ts +0 -118
- package/src/stores/shared/LambdaParameterState.ts +0 -253
- package/src/stores/shared/ValueSpecificationModifierHelper.ts +0 -104
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { observe_ValueSpecification, } from '@finos/legend-graph';
|
|
17
|
-
import { addUniqueEntry, deleteEntry } from '@finos/legend-shared';
|
|
18
|
-
import { action } from 'mobx';
|
|
19
|
-
export const genericType_setRawType = action((genericType, type) => {
|
|
20
|
-
genericType.rawType = type;
|
|
21
|
-
});
|
|
22
|
-
export const multiplicity_setLowerBound = action((_m, val) => {
|
|
23
|
-
_m.lowerBound = val;
|
|
24
|
-
});
|
|
25
|
-
export const multiplicity_setUpperBound = action((_m, val) => {
|
|
26
|
-
_m.upperBound = val;
|
|
27
|
-
});
|
|
28
|
-
export const functionExpression_setParametersValues = action((functionExpression, val, context) => {
|
|
29
|
-
functionExpression.parametersValues = val.map((v) => observe_ValueSpecification(v, context));
|
|
30
|
-
});
|
|
31
|
-
export const variableExpression_setName = action((v, val) => {
|
|
32
|
-
v.name = val;
|
|
33
|
-
});
|
|
34
|
-
export const instanceValue_changeValue = action((instanceValue, val, idx) => {
|
|
35
|
-
instanceValue.values[idx] = val;
|
|
36
|
-
});
|
|
37
|
-
export const instanceValue_changeValues = action((instanceValue, val) => {
|
|
38
|
-
instanceValue.values = val;
|
|
39
|
-
});
|
|
40
|
-
export const graphFetchTree_addSubTree = action((tree, val) => {
|
|
41
|
-
addUniqueEntry(tree.subTrees, val);
|
|
42
|
-
});
|
|
43
|
-
export const graphFetchTree_removeSubTree = action((tree, val) => {
|
|
44
|
-
deleteEntry(tree.subTrees, val);
|
|
45
|
-
});
|
|
46
|
-
export const propertyExpression_setParametersValue = action((propertyExpression, idx, val, context) => {
|
|
47
|
-
propertyExpression.parametersValues[idx] = observe_ValueSpecification(val, context);
|
|
48
|
-
});
|
|
49
|
-
//# sourceMappingURL=ValueSpecificationModifierHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ValueSpecificationModifierHelper.js","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAWL,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAC1C,CAAC,WAAwB,EAAE,IAAU,EAAQ,EAAE;IAC7C,WAAW,CAAC,OAAO,GAAG,IAAI,CAAC;AAC7B,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAC9C,CAAC,EAAgB,EAAE,GAAW,EAAQ,EAAE;IACtC,EAAE,CAAC,UAAU,GAAG,GAAG,CAAC;AACtB,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAC9C,CAAC,EAAgB,EAAE,GAAuB,EAAQ,EAAE;IAClD,EAAE,CAAC,UAAU,GAAG,GAAG,CAAC;AACtB,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,MAAM,CAC1D,CACE,kBAAsC,EACtC,GAAyB,EACzB,OAAwB,EAClB,EAAE;IACR,kBAAkB,CA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