@finos/legend-application-studio 28.13.2 → 28.13.4

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 (95) hide show
  1. package/lib/__lib__/LegendStudioApplicationNavigationContext.d.ts +1 -0
  2. package/lib/__lib__/LegendStudioApplicationNavigationContext.d.ts.map +1 -1
  3. package/lib/__lib__/LegendStudioApplicationNavigationContext.js +1 -0
  4. package/lib/__lib__/LegendStudioApplicationNavigationContext.js.map +1 -1
  5. package/lib/application/LegendStudioApplicationConfig.d.ts +5 -9
  6. package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
  7. package/lib/application/LegendStudioApplicationConfig.js +6 -10
  8. package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
  9. package/lib/components/editor/ActivityBar.d.ts.map +1 -1
  10. package/lib/components/editor/ActivityBar.js +3 -3
  11. package/lib/components/editor/ActivityBar.js.map +1 -1
  12. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +15 -15
  13. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  14. package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
  15. package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts.map +1 -1
  16. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +55 -104
  17. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
  18. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts.map +1 -1
  19. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +3 -3
  20. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
  21. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +22 -0
  22. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts.map +1 -0
  23. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +267 -0
  24. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -0
  25. package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
  26. package/lib/components/editor/side-bar/Explorer.js +1 -25
  27. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  28. package/lib/index.css +1 -1
  29. package/lib/package.json +1 -1
  30. package/lib/stores/editor/editor-state/element-editor-state/{FunctionActivatorPromoteState.d.ts → FunctionActivatorState.d.ts} +9 -9
  31. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.d.ts.map +1 -0
  32. package/lib/stores/editor/editor-state/element-editor-state/{FunctionActivatorPromoteState.js → FunctionActivatorState.js} +24 -24
  33. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js.map +1 -0
  34. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts +6 -5
  35. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -1
  36. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js +6 -5
  37. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  38. package/lib/stores/editor/editor-state/element-editor-state/{FunctionActivatorBuilderState.d.ts → ToDelete_FunctionActivatorBuilderState.d.ts} +1 -1
  39. package/lib/stores/editor/editor-state/element-editor-state/ToDelete_FunctionActivatorBuilderState.d.ts.map +1 -0
  40. package/lib/stores/editor/editor-state/element-editor-state/{FunctionActivatorBuilderState.js → ToDelete_FunctionActivatorBuilderState.js} +1 -1
  41. package/lib/stores/editor/editor-state/element-editor-state/ToDelete_FunctionActivatorBuilderState.js.map +1 -0
  42. package/lib/stores/editor/editor-state/element-editor-state/function-activator/INTERNAL__UnknownFunctionActivatorEditorState.js +1 -1
  43. package/lib/stores/editor/editor-state/element-editor-state/function-activator/INTERNAL__UnknownFunctionActivatorEditorState.js.map +1 -1
  44. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.d.ts +1 -1
  45. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.d.ts.map +1 -1
  46. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js +2 -2
  47. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js.map +1 -1
  48. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.d.ts +87 -0
  49. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.d.ts.map +1 -0
  50. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +422 -0
  51. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -0
  52. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -1
  53. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js +1 -1
  54. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
  55. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts +3 -17
  56. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts.map +1 -1
  57. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js +8 -69
  58. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
  59. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts +26 -3
  60. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -1
  61. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +72 -1
  62. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
  63. package/lib/stores/graph-modifier/DomainGraphModifierHelper.d.ts +4 -1
  64. package/lib/stores/graph-modifier/DomainGraphModifierHelper.d.ts.map +1 -1
  65. package/lib/stores/graph-modifier/DomainGraphModifierHelper.js +10 -1
  66. package/lib/stores/graph-modifier/DomainGraphModifierHelper.js.map +1 -1
  67. package/lib/stores/graph-modifier/Testable_GraphModifierHelper.d.ts +3 -2
  68. package/lib/stores/graph-modifier/Testable_GraphModifierHelper.d.ts.map +1 -1
  69. package/lib/stores/graph-modifier/Testable_GraphModifierHelper.js +3 -0
  70. package/lib/stores/graph-modifier/Testable_GraphModifierHelper.js.map +1 -1
  71. package/package.json +4 -4
  72. package/src/__lib__/LegendStudioApplicationNavigationContext.ts +1 -0
  73. package/src/application/LegendStudioApplicationConfig.ts +7 -12
  74. package/src/components/editor/ActivityBar.tsx +4 -3
  75. package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +36 -36
  76. package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +136 -345
  77. package/src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx +3 -10
  78. package/src/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.tsx +879 -0
  79. package/src/components/editor/side-bar/Explorer.tsx +0 -59
  80. package/src/stores/editor/editor-state/element-editor-state/{FunctionActivatorPromoteState.ts → FunctionActivatorState.ts} +23 -23
  81. package/src/stores/editor/editor-state/element-editor-state/FunctionEditorState.ts +7 -6
  82. package/src/stores/editor/editor-state/element-editor-state/function-activator/INTERNAL__UnknownFunctionActivatorEditorState.ts +1 -1
  83. package/src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts +2 -2
  84. package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +646 -0
  85. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.ts +1 -4
  86. package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts +16 -97
  87. package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +105 -3
  88. package/src/stores/graph-modifier/DomainGraphModifierHelper.ts +34 -2
  89. package/src/stores/graph-modifier/Testable_GraphModifierHelper.ts +9 -1
  90. package/tsconfig.json +4 -2
  91. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorBuilderState.d.ts.map +0 -1
  92. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorBuilderState.js.map +0 -1
  93. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorPromoteState.d.ts.map +0 -1
  94. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorPromoteState.js.map +0 -1
  95. /package/src/stores/editor/editor-state/element-editor-state/{FunctionActivatorBuilderState.ts → ToDelete_FunctionActivatorBuilderState.ts} +0 -0
@@ -27,7 +27,6 @@ import {
27
27
  CustomSelectorInput,
28
28
  createFilter,
29
29
  type SelectComponent,
30
- QuestionCircleIcon,
31
30
  } from '@finos/legend-art';
32
31
  import {
33
32
  type PackageableConnection,
@@ -130,7 +129,7 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
130
129
  );
131
130
  };
132
131
  const deploy = (): void => {
133
- flowResult(editorState.deploy()).catch(
132
+ flowResult(editorState.deployToSandbox()).catch(
134
133
  applicationStore.alertUnhandledError,
135
134
  );
136
135
  };
@@ -152,25 +151,19 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
152
151
  </div>
153
152
  <div className="snowflake-app-function-activator-editor__header__actions">
154
153
  <button
155
- className="snowflake-app-function-activator-editor__header__actions__action"
154
+ className="snowflake-app-function-activator-editor__header__actions__action snowflake-app-function-activator-editor__header__actions__action--primary"
156
155
  onClick={validate}
157
156
  disabled={editorState.validateState.isInProgress}
158
157
  tabIndex={-1}
159
158
  title="Click Validate to verify your activator before deployment"
160
159
  >
161
160
  Validate
162
- <QuestionCircleIcon
163
- title="Click Validate to verify your activator before deployment"
164
- className={
165
- 'snowflake-app-function-activator-editor__header__actions__action__icon'
166
- }
167
- />
168
161
  </button>
169
162
  <button
170
163
  className="snowflake-app-function-activator-editor__header__actions__action snowflake-app-function-activator-editor__header__actions__action--primary"
171
164
  onClick={deploy}
172
165
  disabled={editorState.deployState.isInProgress}
173
- title="Publish to sandbox"
166
+ title="Deploy to sandbox"
174
167
  tabIndex={-1}
175
168
  >
176
169
  Deploy