@finos/legend-application 8.0.2 → 9.0.0

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.
Files changed (116) hide show
  1. package/lib/components/LegendApplicationComponentFrameworkProvider.d.ts +4 -2
  2. package/lib/components/LegendApplicationComponentFrameworkProvider.d.ts.map +1 -1
  3. package/lib/components/LegendApplicationComponentFrameworkProvider.js +7 -4
  4. package/lib/components/LegendApplicationComponentFrameworkProvider.js.map +1 -1
  5. package/lib/components/NotificationManager.js +1 -1
  6. package/lib/components/NotificationManager.js.map +1 -1
  7. package/lib/components/WebApplicationNavigatorProvider.d.ts.map +1 -1
  8. package/lib/components/WebApplicationNavigatorProvider.js +1 -1
  9. package/lib/components/WebApplicationNavigatorProvider.js.map +1 -1
  10. package/lib/components/{shared/execution-plan-viewer → execution-plan-viewer}/ExecutionPlanViewer.d.ts +1 -1
  11. package/lib/components/execution-plan-viewer/ExecutionPlanViewer.d.ts.map +1 -0
  12. package/lib/components/{shared/execution-plan-viewer → execution-plan-viewer}/ExecutionPlanViewer.js +3 -3
  13. package/lib/components/execution-plan-viewer/ExecutionPlanViewer.js.map +1 -0
  14. package/lib/components/{shared/execution-plan-viewer → execution-plan-viewer}/SQLExecutionNodeViewer.d.ts +1 -1
  15. package/lib/components/execution-plan-viewer/SQLExecutionNodeViewer.d.ts.map +1 -0
  16. package/lib/components/{shared/execution-plan-viewer → execution-plan-viewer}/SQLExecutionNodeViewer.js +2 -2
  17. package/lib/components/execution-plan-viewer/SQLExecutionNodeViewer.js.map +1 -0
  18. package/lib/components/shared/DocumentationLink.js +1 -1
  19. package/lib/components/shared/DocumentationLink.js.map +1 -1
  20. package/lib/components/shared/{PackageableElementOptionRenderer.d.ts → PackageableElementOptionLabel.d.ts} +1 -1
  21. package/lib/components/shared/PackageableElementOptionLabel.d.ts.map +1 -0
  22. package/lib/components/shared/{PackageableElementOptionRenderer.js → PackageableElementOptionLabel.js} +5 -5
  23. package/lib/components/shared/PackageableElementOptionLabel.js.map +1 -0
  24. package/lib/components/shared/TextInputEditor.d.ts.map +1 -1
  25. package/lib/components/shared/TextInputEditor.js +1 -2
  26. package/lib/components/shared/TextInputEditor.js.map +1 -1
  27. package/lib/index.css +2 -2
  28. package/lib/index.css.map +1 -1
  29. package/lib/index.d.ts +7 -9
  30. package/lib/index.d.ts.map +1 -1
  31. package/lib/index.js +7 -9
  32. package/lib/index.js.map +1 -1
  33. package/lib/stores/ApplicationStore.d.ts +2 -0
  34. package/lib/stores/ApplicationStore.d.ts.map +1 -1
  35. package/lib/stores/ApplicationStore.js +13 -10
  36. package/lib/stores/ApplicationStore.js.map +1 -1
  37. package/lib/stores/AssistantService.js +1 -1
  38. package/lib/stores/AssistantService.js.map +1 -1
  39. package/lib/stores/{shared/ExecutionPlanState.d.ts → ExecutionPlanState.d.ts} +1 -1
  40. package/lib/stores/ExecutionPlanState.d.ts.map +1 -0
  41. package/lib/stores/{shared/ExecutionPlanState.js → ExecutionPlanState.js} +0 -0
  42. package/lib/stores/ExecutionPlanState.js.map +1 -0
  43. package/lib/stores/WebApplicationNavigator.d.ts +62 -30
  44. package/lib/stores/WebApplicationNavigator.d.ts.map +1 -1
  45. package/lib/stores/WebApplicationNavigator.js +80 -15
  46. package/lib/stores/WebApplicationNavigator.js.map +1 -1
  47. package/lib/{components/ApplicationTestID.js → stores/WebApplicationRouter.d.ts} +4 -5
  48. package/lib/stores/WebApplicationRouter.d.ts.map +1 -0
  49. package/{src/components/ApplicationTestID.ts → lib/stores/WebApplicationRouter.js} +4 -4
  50. package/lib/stores/WebApplicationRouter.js.map +1 -0
  51. package/package.json +9 -11
  52. package/src/components/LegendApplicationComponentFrameworkProvider.tsx +18 -14
  53. package/src/components/NotificationManager.tsx +1 -1
  54. package/src/components/WebApplicationNavigatorProvider.tsx +1 -1
  55. package/src/components/{shared/execution-plan-viewer → execution-plan-viewer}/ExecutionPlanViewer.tsx +3 -3
  56. package/src/components/{shared/execution-plan-viewer → execution-plan-viewer}/SQLExecutionNodeViewer.tsx +3 -3
  57. package/src/components/shared/DocumentationLink.tsx +1 -1
  58. package/src/components/shared/{PackageableElementOptionRenderer.tsx → PackageableElementOptionLabel.tsx} +4 -4
  59. package/src/components/shared/TextInputEditor.tsx +1 -2
  60. package/src/index.ts +8 -9
  61. package/src/stores/ApplicationStore.ts +15 -12
  62. package/src/stores/AssistantService.ts +1 -1
  63. package/src/stores/{shared/ExecutionPlanState.ts → ExecutionPlanState.ts} +1 -1
  64. package/src/stores/WebApplicationNavigator.ts +149 -39
  65. package/{lib/components/ApplicationTestID.d.ts → src/stores/WebApplicationRouter.ts} +12 -4
  66. package/tsconfig.json +7 -16
  67. package/lib/components/ApplicationTestID.d.ts.map +0 -1
  68. package/lib/components/ApplicationTestID.js.map +0 -1
  69. package/lib/components/shared/BasicValueSpecificationEditor.d.ts +0 -52
  70. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +0 -1
  71. package/lib/components/shared/BasicValueSpecificationEditor.js +0 -323
  72. package/lib/components/shared/BasicValueSpecificationEditor.js.map +0 -1
  73. package/lib/components/shared/CustomDatePicker.d.ts +0 -38
  74. package/lib/components/shared/CustomDatePicker.d.ts.map +0 -1
  75. package/lib/components/shared/CustomDatePicker.js +0 -616
  76. package/lib/components/shared/CustomDatePicker.js.map +0 -1
  77. package/lib/components/shared/LambdaEditor.d.ts +0 -92
  78. package/lib/components/shared/LambdaEditor.d.ts.map +0 -1
  79. package/lib/components/shared/LambdaEditor.js +0 -434
  80. package/lib/components/shared/LambdaEditor.js.map +0 -1
  81. package/lib/components/shared/LambdaParameterValuesEditor.d.ts +0 -25
  82. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +0 -1
  83. package/lib/components/shared/LambdaParameterValuesEditor.js +0 -52
  84. package/lib/components/shared/LambdaParameterValuesEditor.js.map +0 -1
  85. package/lib/components/shared/PackageableElementOptionRenderer.d.ts.map +0 -1
  86. package/lib/components/shared/PackageableElementOptionRenderer.js.map +0 -1
  87. package/lib/components/shared/execution-plan-viewer/ExecutionPlanViewer.d.ts.map +0 -1
  88. package/lib/components/shared/execution-plan-viewer/ExecutionPlanViewer.js.map +0 -1
  89. package/lib/components/shared/execution-plan-viewer/SQLExecutionNodeViewer.d.ts.map +0 -1
  90. package/lib/components/shared/execution-plan-viewer/SQLExecutionNodeViewer.js.map +0 -1
  91. package/lib/stores/CJS__Fuse.cjs +0 -35
  92. package/lib/stores/CJS__Fuse.cjs.map +0 -1
  93. package/lib/stores/CJS__Fuse.d.cts +0 -28
  94. package/lib/stores/CJS__Fuse.d.cts.map +0 -1
  95. package/lib/stores/shared/ExecutionPlanState.d.ts.map +0 -1
  96. package/lib/stores/shared/ExecutionPlanState.js.map +0 -1
  97. package/lib/stores/shared/LambdaEditorState.d.ts +0 -40
  98. package/lib/stores/shared/LambdaEditorState.d.ts.map +0 -1
  99. package/lib/stores/shared/LambdaEditorState.js +0 -81
  100. package/lib/stores/shared/LambdaEditorState.js.map +0 -1
  101. package/lib/stores/shared/LambdaParameterState.d.ts +0 -62
  102. package/lib/stores/shared/LambdaParameterState.d.ts.map +0 -1
  103. package/lib/stores/shared/LambdaParameterState.js +0 -160
  104. package/lib/stores/shared/LambdaParameterState.js.map +0 -1
  105. package/lib/stores/shared/ValueSpecificationModifierHelper.d.ts +0 -27
  106. package/lib/stores/shared/ValueSpecificationModifierHelper.d.ts.map +0 -1
  107. package/lib/stores/shared/ValueSpecificationModifierHelper.js +0 -49
  108. package/lib/stores/shared/ValueSpecificationModifierHelper.js.map +0 -1
  109. package/src/components/shared/BasicValueSpecificationEditor.tsx +0 -828
  110. package/src/components/shared/CustomDatePicker.tsx +0 -1292
  111. package/src/components/shared/LambdaEditor.tsx +0 -854
  112. package/src/components/shared/LambdaParameterValuesEditor.tsx +0 -118
  113. package/src/stores/CJS__Fuse.cts +0 -28
  114. package/src/stores/shared/LambdaEditorState.ts +0 -118
  115. package/src/stores/shared/LambdaParameterState.ts +0 -253
  116. 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":["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