@finos/legend-application 3.0.3 → 4.0.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.
Files changed (176) hide show
  1. package/lib/application/LegendApplication.d.ts +2 -2
  2. package/lib/application/LegendApplication.d.ts.map +1 -1
  3. package/lib/application/LegendApplication.js +4 -4
  4. package/lib/application/LegendApplication.js.map +1 -1
  5. package/lib/application/LegendApplicationPluginManager.d.ts +3 -3
  6. package/lib/application/LegendApplicationPluginManager.d.ts.map +1 -1
  7. package/lib/components/ActionAlert.d.ts +1 -0
  8. package/lib/components/ActionAlert.d.ts.map +1 -1
  9. package/lib/components/ActionAlert.js +2 -2
  10. package/lib/components/ActionAlert.js.map +1 -1
  11. package/lib/components/ApplicationStoreProvider.d.ts +3 -3
  12. package/lib/components/ApplicationStoreProvider.d.ts.map +1 -1
  13. package/lib/components/ApplicationStoreProvider.js +2 -2
  14. package/lib/components/ApplicationStoreProvider.js.map +1 -1
  15. package/lib/components/ApplicationStoreProviderTestUtils.d.ts +5 -5
  16. package/lib/components/ApplicationStoreProviderTestUtils.d.ts.map +1 -1
  17. package/lib/components/ApplicationStoreProviderTestUtils.js +5 -4
  18. package/lib/components/ApplicationStoreProviderTestUtils.js.map +1 -1
  19. package/lib/components/ApplicationTestID.js +1 -1
  20. package/lib/components/ApplicationTestID.js.map +1 -1
  21. package/lib/components/BasicValueSpecificationEditor.d.ts +44 -0
  22. package/lib/components/BasicValueSpecificationEditor.d.ts.map +1 -0
  23. package/lib/components/BasicValueSpecificationEditor.js +276 -0
  24. package/lib/components/BasicValueSpecificationEditor.js.map +1 -0
  25. package/lib/components/BlockingAlert.d.ts +1 -0
  26. package/lib/components/BlockingAlert.d.ts.map +1 -1
  27. package/lib/components/BlockingAlert.js +1 -1
  28. package/lib/components/BlockingAlert.js.map +1 -1
  29. package/lib/components/CustomDatePicker.d.ts +38 -0
  30. package/lib/components/CustomDatePicker.d.ts.map +1 -0
  31. package/lib/components/CustomDatePicker.js +592 -0
  32. package/lib/components/CustomDatePicker.js.map +1 -0
  33. package/lib/components/DocumentationLink.d.ts +1 -1
  34. package/lib/components/DocumentationLink.js +2 -2
  35. package/lib/components/DocumentationLink.js.map +1 -1
  36. package/lib/components/LambdaEditor.d.ts +2 -1
  37. package/lib/components/LambdaEditor.d.ts.map +1 -1
  38. package/lib/components/LambdaEditor.js +3 -3
  39. package/lib/components/LambdaEditor.js.map +1 -1
  40. package/lib/components/LambdaParameterValuesEditor.d.ts +25 -0
  41. package/lib/components/LambdaParameterValuesEditor.d.ts.map +1 -0
  42. package/lib/components/LambdaParameterValuesEditor.js +52 -0
  43. package/lib/components/LambdaParameterValuesEditor.js.map +1 -0
  44. package/lib/components/LegendApplicationComponentFrameworkProvider.d.ts +1 -1
  45. package/lib/components/LegendApplicationComponentFrameworkProvider.js +3 -3
  46. package/lib/components/LegendApplicationComponentFrameworkProvider.js.map +1 -1
  47. package/lib/components/LegendApplicationNavigationContextServiceUtils.d.ts +32 -0
  48. package/lib/components/LegendApplicationNavigationContextServiceUtils.d.ts.map +1 -0
  49. package/lib/components/LegendApplicationNavigationContextServiceUtils.js +57 -0
  50. package/lib/components/LegendApplicationNavigationContextServiceUtils.js.map +1 -0
  51. package/lib/components/NotificationManager.d.ts +1 -0
  52. package/lib/components/NotificationManager.d.ts.map +1 -1
  53. package/lib/components/NotificationManager.js +2 -2
  54. package/lib/components/NotificationManager.js.map +1 -1
  55. package/lib/components/TextInputEditor.d.ts +2 -2
  56. package/lib/components/TextInputEditor.d.ts.map +1 -1
  57. package/lib/components/TextInputEditor.js +2 -2
  58. package/lib/components/TextInputEditor.js.map +1 -1
  59. package/lib/components/{AppHeader.d.ts → VirtualAssistant.d.ts} +5 -5
  60. package/lib/components/VirtualAssistant.d.ts.map +1 -0
  61. package/lib/components/VirtualAssistant.js +171 -0
  62. package/lib/components/VirtualAssistant.js.map +1 -0
  63. package/lib/components/WebApplicationNavigatorProvider.d.ts +2 -2
  64. package/lib/components/WebApplicationNavigatorProvider.d.ts.map +1 -1
  65. package/lib/components/WebApplicationNavigatorProvider.js +1 -1
  66. package/lib/components/WebApplicationNavigatorProvider.js.map +1 -1
  67. package/lib/components/WebApplicationNavigatorProviderTestUtils.d.ts +2 -2
  68. package/lib/components/WebApplicationNavigatorProviderTestUtils.d.ts.map +1 -1
  69. package/lib/components/WebApplicationNavigatorProviderTestUtils.js +3 -2
  70. package/lib/components/WebApplicationNavigatorProviderTestUtils.js.map +1 -1
  71. package/lib/const.js +2 -2
  72. package/lib/const.js.map +1 -1
  73. package/lib/index.css +2 -2
  74. package/lib/index.css.map +1 -1
  75. package/lib/index.d.ts +30 -22
  76. package/lib/index.d.ts.map +1 -1
  77. package/lib/index.js +32 -22
  78. package/lib/index.js.map +1 -1
  79. package/lib/stores/ApplicationEvent.d.ts +9 -7
  80. package/lib/stores/ApplicationEvent.d.ts.map +1 -1
  81. package/lib/stores/ApplicationEvent.js +10 -8
  82. package/lib/stores/ApplicationEvent.js.map +1 -1
  83. package/lib/stores/ApplicationStore.d.ts +15 -9
  84. package/lib/stores/ApplicationStore.d.ts.map +1 -1
  85. package/lib/stores/ApplicationStore.js +26 -21
  86. package/lib/stores/ApplicationStore.js.map +1 -1
  87. package/lib/stores/ApplicationStoreTestUtils.d.ts +3 -3
  88. package/lib/stores/ApplicationStoreTestUtils.d.ts.map +1 -1
  89. package/lib/stores/ApplicationStoreTestUtils.js +2 -2
  90. package/lib/stores/ApplicationStoreTestUtils.js.map +1 -1
  91. package/lib/stores/ApplicationTelemetry.d.ts +1 -1
  92. package/lib/stores/ApplicationTelemetry.d.ts.map +1 -1
  93. package/lib/stores/ApplicationTelemetry.js +2 -2
  94. package/lib/stores/ApplicationTelemetry.js.map +1 -1
  95. package/lib/stores/CJS__Fuse.cjs +35 -0
  96. package/lib/stores/CJS__Fuse.cjs.map +1 -0
  97. package/lib/stores/CJS__Fuse.d.cts +28 -0
  98. package/lib/stores/CJS__Fuse.d.cts.map +1 -0
  99. package/lib/stores/LambdaParameterState.d.ts +59 -0
  100. package/lib/stores/LambdaParameterState.d.ts.map +1 -0
  101. package/lib/stores/LambdaParameterState.js +184 -0
  102. package/lib/stores/LambdaParameterState.js.map +1 -0
  103. package/lib/stores/LegendApplicationAssistantService.d.ts +63 -0
  104. package/lib/stores/LegendApplicationAssistantService.d.ts.map +1 -0
  105. package/lib/stores/LegendApplicationAssistantService.js +167 -0
  106. package/lib/stores/LegendApplicationAssistantService.js.map +1 -0
  107. package/lib/stores/LegendApplicationConfig.d.ts +5 -4
  108. package/lib/stores/LegendApplicationConfig.d.ts.map +1 -1
  109. package/lib/stores/LegendApplicationConfig.js +8 -3
  110. package/lib/stores/LegendApplicationConfig.js.map +1 -1
  111. package/lib/stores/LegendApplicationDocumentationService.d.ts +70 -0
  112. package/lib/stores/LegendApplicationDocumentationService.d.ts.map +1 -0
  113. package/lib/stores/LegendApplicationDocumentationService.js +152 -0
  114. package/lib/stores/LegendApplicationDocumentationService.js.map +1 -0
  115. package/lib/stores/LegendApplicationEventService.d.ts +22 -0
  116. package/lib/stores/LegendApplicationEventService.d.ts.map +1 -0
  117. package/lib/stores/LegendApplicationEventService.js +25 -0
  118. package/lib/stores/LegendApplicationEventService.js.map +1 -0
  119. package/lib/stores/LegendApplicationNavigationContextService.d.ts +74 -0
  120. package/lib/stores/LegendApplicationNavigationContextService.d.ts.map +1 -0
  121. package/lib/stores/LegendApplicationNavigationContextService.js +118 -0
  122. package/lib/stores/LegendApplicationNavigationContextService.js.map +1 -0
  123. package/lib/stores/LegendApplicationPlugin.d.ts +6 -2
  124. package/lib/stores/LegendApplicationPlugin.d.ts.map +1 -1
  125. package/lib/stores/LegendApplicationPlugin.js.map +1 -1
  126. package/lib/stores/PureLanguageSupport.d.ts.map +1 -1
  127. package/lib/stores/PureLanguageSupport.js +8 -2
  128. package/lib/stores/PureLanguageSupport.js.map +1 -1
  129. package/lib/stores/ValueSpecificationModifierHelper.d.ts +27 -0
  130. package/lib/stores/ValueSpecificationModifierHelper.d.ts.map +1 -0
  131. package/lib/stores/ValueSpecificationModifierHelper.js +49 -0
  132. package/lib/stores/ValueSpecificationModifierHelper.js.map +1 -0
  133. package/package.json +24 -18
  134. package/src/application/LegendApplication.tsx +6 -6
  135. package/src/application/LegendApplicationPluginManager.tsx +3 -3
  136. package/src/components/ActionAlert.tsx +2 -2
  137. package/src/components/ApplicationStoreProvider.tsx +4 -4
  138. package/src/components/ApplicationStoreProviderTestUtils.tsx +7 -6
  139. package/src/components/BasicValueSpecificationEditor.tsx +703 -0
  140. package/src/components/BlockingAlert.tsx +1 -1
  141. package/src/components/CustomDatePicker.tsx +1235 -0
  142. package/src/components/DocumentationLink.tsx +2 -2
  143. package/src/components/LambdaEditor.tsx +4 -4
  144. package/src/components/LambdaParameterValuesEditor.tsx +114 -0
  145. package/src/components/LegendApplicationComponentFrameworkProvider.tsx +3 -3
  146. package/src/components/LegendApplicationNavigationContextServiceUtils.tsx +63 -0
  147. package/src/components/NotificationManager.tsx +2 -2
  148. package/src/components/TextInputEditor.tsx +2 -2
  149. package/src/components/VirtualAssistant.tsx +600 -0
  150. package/src/components/WebApplicationNavigatorProvider.tsx +1 -1
  151. package/src/components/WebApplicationNavigatorProviderTestUtils.tsx +3 -2
  152. package/src/index.ts +39 -28
  153. package/src/stores/ApplicationEvent.ts +11 -7
  154. package/src/stores/ApplicationStore.ts +29 -27
  155. package/src/stores/ApplicationStoreTestUtils.ts +4 -4
  156. package/src/stores/ApplicationTelemetry.ts +2 -2
  157. package/src/stores/CJS__Fuse.cts +28 -0
  158. package/src/stores/LambdaParameterState.ts +314 -0
  159. package/src/stores/LegendApplicationAssistantService.ts +218 -0
  160. package/src/stores/LegendApplicationConfig.ts +20 -6
  161. package/src/stores/LegendApplicationDocumentationService.ts +276 -0
  162. package/src/stores/LegendApplicationEventService.ts +32 -0
  163. package/src/stores/LegendApplicationNavigationContextService.ts +131 -0
  164. package/src/stores/LegendApplicationPlugin.ts +10 -2
  165. package/src/stores/PureLanguageSupport.ts +8 -2
  166. package/src/stores/ValueSpecificationModifierHelper.ts +104 -0
  167. package/tsconfig.json +18 -12
  168. package/lib/components/AppHeader.d.ts.map +0 -1
  169. package/lib/components/AppHeader.js +0 -26
  170. package/lib/components/AppHeader.js.map +0 -1
  171. package/lib/stores/LegendApplicationDocumentationRegistry.d.ts +0 -36
  172. package/lib/stores/LegendApplicationDocumentationRegistry.d.ts.map +0 -1
  173. package/lib/stores/LegendApplicationDocumentationRegistry.js +0 -47
  174. package/lib/stores/LegendApplicationDocumentationRegistry.js.map +0 -1
  175. package/src/components/AppHeader.tsx +0 -49
  176. package/src/stores/LegendApplicationDocumentationRegistry.ts +0 -81
@@ -14,12 +14,14 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export declare enum APPLICATION_EVENT {
17
- TEXT_EDITOR_FONT_LOADED = "TEXT_EDITOR_FONT_LOADED",
18
- APPLICATION_SETUP_FAILURE = "APPLICATION_SETUP_FAILURE",
19
- APPLICATION_FAILURE = "APPLICATION_FAILURE",
20
- APPLICATION_CONFIGURATION_FAILURE = "APPLICATION_CONFIGURATION_FAILURE",
21
- ILLEGAL_APPLICATION_STATE_OCCURRED = "ILLEGAL_APPLICATION_STATE_OCCURRED",
22
- APPLICATION_LOADED = "APPLICATION_LOADED",
23
- DEVELOPMENT_ISSUE = "DEVELOPMENT_ISSUE"
17
+ TEXT_EDITOR_FONT_LOADED = "application.load.font.success",
18
+ APPLICATION_SETUP_FAILURE = "application.setup.failure",
19
+ ILLEGAL_APPLICATION_STATE_OCCURRED = "application.error.illegal-state",
20
+ APPLICATION_CONFIGURATION_FAILURE = "application.configuration.failure",
21
+ APPLICATION_DOCUMTENTION_LOAD_SKIPPED = "application.load.documentation.skipped",
22
+ APPLICATION_CONTEXTUAL_DOCUMTENTION_LOAD_SKIPPED = "application.load.contextual-documentation.skipped",
23
+ APPLICATION_LOADED = "application.load.success",
24
+ APPLICATION_LOAD_FAILURE = "application.load.failure",
25
+ DEVELOPMENT_ISSUE = "development.issue"
24
26
  }
25
27
  //# sourceMappingURL=ApplicationEvent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationEvent.d.ts","sourceRoot":"","sources":["../../src/stores/ApplicationEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,iBAAiB;IAC3B,uBAAuB,4BAA4B;IACnD,yBAAyB,8BAA8B;IAEvD,mBAAmB,wBAAwB;IAC3C,iCAAiC,sCAAsC;IACvE,kCAAkC,uCAAuC;IACzE,kBAAkB,uBAAuB;IAEzC,iBAAiB,sBAAsB;CACxC"}
1
+ {"version":3,"file":"ApplicationEvent.d.ts","sourceRoot":"","sources":["../../src/stores/ApplicationEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,iBAAiB;IAC3B,uBAAuB,kCAAkC;IACzD,yBAAyB,8BAA8B;IAEvD,kCAAkC,oCAAoC;IACtE,iCAAiC,sCAAsC;IAEvE,qCAAqC,2CAA2C;IAChF,gDAAgD,sDAAsD;IAEtG,kBAAkB,6BAA6B;IAC/C,wBAAwB,6BAA6B;IAErD,iBAAiB,sBAAsB;CACxC"}
@@ -15,12 +15,14 @@
15
15
  */
16
16
  export var APPLICATION_EVENT;
17
17
  (function (APPLICATION_EVENT) {
18
- APPLICATION_EVENT["TEXT_EDITOR_FONT_LOADED"] = "TEXT_EDITOR_FONT_LOADED";
19
- APPLICATION_EVENT["APPLICATION_SETUP_FAILURE"] = "APPLICATION_SETUP_FAILURE";
20
- APPLICATION_EVENT["APPLICATION_FAILURE"] = "APPLICATION_FAILURE";
21
- APPLICATION_EVENT["APPLICATION_CONFIGURATION_FAILURE"] = "APPLICATION_CONFIGURATION_FAILURE";
22
- APPLICATION_EVENT["ILLEGAL_APPLICATION_STATE_OCCURRED"] = "ILLEGAL_APPLICATION_STATE_OCCURRED";
23
- APPLICATION_EVENT["APPLICATION_LOADED"] = "APPLICATION_LOADED";
24
- APPLICATION_EVENT["DEVELOPMENT_ISSUE"] = "DEVELOPMENT_ISSUE";
25
- })(APPLICATION_EVENT || (APPLICATION_EVENT = {}));
18
+ APPLICATION_EVENT["TEXT_EDITOR_FONT_LOADED"] = "application.load.font.success";
19
+ APPLICATION_EVENT["APPLICATION_SETUP_FAILURE"] = "application.setup.failure";
20
+ APPLICATION_EVENT["ILLEGAL_APPLICATION_STATE_OCCURRED"] = "application.error.illegal-state";
21
+ APPLICATION_EVENT["APPLICATION_CONFIGURATION_FAILURE"] = "application.configuration.failure";
22
+ APPLICATION_EVENT["APPLICATION_DOCUMTENTION_LOAD_SKIPPED"] = "application.load.documentation.skipped";
23
+ APPLICATION_EVENT["APPLICATION_CONTEXTUAL_DOCUMTENTION_LOAD_SKIPPED"] = "application.load.contextual-documentation.skipped";
24
+ APPLICATION_EVENT["APPLICATION_LOADED"] = "application.load.success";
25
+ APPLICATION_EVENT["APPLICATION_LOAD_FAILURE"] = "application.load.failure";
26
+ APPLICATION_EVENT["DEVELOPMENT_ISSUE"] = "development.issue";
27
+ })(APPLICATION_EVENT = APPLICATION_EVENT || (APPLICATION_EVENT = {}));
26
28
  //# sourceMappingURL=ApplicationEvent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationEvent.js","sourceRoot":"","sources":["../../src/stores/ApplicationEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,iBAUX;AAVD,WAAY,iBAAiB;IAC3B,wEAAmD,CAAA;IACnD,4EAAuD,CAAA;IAEvD,gEAA2C,CAAA;IAC3C,4FAAuE,CAAA;IACvE,8FAAyE,CAAA;IACzE,8DAAyC,CAAA;IAEzC,4DAAuC,CAAA;AACzC,CAAC,EAVW,iBAAiB,KAAjB,iBAAiB,QAU5B"}
1
+ {"version":3,"file":"ApplicationEvent.js","sourceRoot":"","sources":["../../src/stores/ApplicationEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,iBAcX;AAdD,WAAY,iBAAiB;IAC3B,8EAAyD,CAAA;IACzD,4EAAuD,CAAA;IAEvD,2FAAsE,CAAA;IACtE,4FAAuE,CAAA;IAEvE,qGAAgF,CAAA;IAChF,2HAAsG,CAAA;IAEtG,oEAA+C,CAAA;IAC/C,0EAAqD,CAAA;IAErD,4DAAuC,CAAA;AACzC,CAAC,EAdW,iBAAiB,GAAjB,iBAAiB,KAAjB,iBAAiB,QAc5B"}
@@ -13,12 +13,15 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" />
17
- import { type SuperGenericFunction, EventNotifierService, TracerService, TelemetryService, Log } from '@finos/legend-shared';
18
- import type { LegendApplicationConfig } from './LegendApplicationConfig';
19
- import type { WebApplicationNavigator } from './WebApplicationNavigator';
20
- import type { LegendApplicationPluginManager } from '../application/LegendApplicationPluginManager';
21
- import { LegendApplicationDocumentationRegistry } from './LegendApplicationDocumentationRegistry';
16
+ /// <reference types="react" resolution-mode="require"/>
17
+ import { type SuperGenericFunction, TracerService, TelemetryService, Log } from '@finos/legend-shared';
18
+ import type { LegendApplicationConfig } from './LegendApplicationConfig.js';
19
+ import type { WebApplicationNavigator } from './WebApplicationNavigator.js';
20
+ import type { LegendApplicationPluginManager } from '../application/LegendApplicationPluginManager.js';
21
+ import { LegendApplicationDocumentationService } from './LegendApplicationDocumentationService.js';
22
+ import { LegendApplicationAssistantService } from './LegendApplicationAssistantService.js';
23
+ import { LegendApplicationEventService } from './LegendApplicationEventService.js';
24
+ import { LegendApplicationNavigationContextService } from './LegendApplicationNavigationContextService.js';
22
25
  export declare enum ActionAlertType {
23
26
  STANDARD = "STANDARD",
24
27
  CAUTION = "CAUTION"
@@ -68,16 +71,19 @@ export declare class Notification {
68
71
  constructor(severity: NOTIFCATION_SEVERITY, message: string, actions: NotificationAction[], autoHideDuration: number | undefined);
69
72
  }
70
73
  export declare class ApplicationStore<T extends LegendApplicationConfig> {
74
+ pluginManager: LegendApplicationPluginManager;
75
+ config: T;
71
76
  navigator: WebApplicationNavigator;
77
+ navigationContextService: LegendApplicationNavigationContextService;
72
78
  notification?: Notification | undefined;
73
79
  blockingAlertInfo?: BlockingAlertInfo | undefined;
74
80
  actionAlertInfo?: ActionAlertInfo | undefined;
75
- config: T;
76
- docRegistry: LegendApplicationDocumentationRegistry;
77
81
  log: Log;
82
+ documentationService: LegendApplicationDocumentationService;
83
+ assistantService: LegendApplicationAssistantService;
84
+ eventService: LegendApplicationEventService;
78
85
  telemetryService: TelemetryService;
79
86
  tracerService: TracerService;
80
- eventNotifierService: EventNotifierService;
81
87
  constructor(config: T, navigator: WebApplicationNavigator, pluginManager: LegendApplicationPluginManager);
82
88
  setBlockingAlert(alertInfo: BlockingAlertInfo | undefined): void;
83
89
  setActionAlertInfo(alertInfo: ActionAlertInfo | undefined): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationStore.d.ts","sourceRoot":"","sources":["../../src/stores/ApplicationStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EACL,KAAK,oBAAoB,EACzB,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAEhB,GAAG,EAKJ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAElG,oBAAY,eAAe;IACzB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,oBAAY,qBAAqB;IAC/B,QAAQ,aAAa;IACrB,oBAAoB,yBAAyB;IAC7C,OAAO,YAAY;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAC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mB,UAAW,KAAK,KAAG,IAAI,CAOxC;IAEF;;OAEG;IACH,mBAAmB,aACN,MAAM,QAAQ,IAAI,CAAC,KAAG,CAAC,MAAM,IAAI,CAAC,CAG3C;IAEE,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAYtD,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;CAGpD"}
@@ -13,21 +13,24 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { EventNotifierService, TracerService, TelemetryService, assertTrue, Log, LogEvent, assertErrorThrown, isString, ApplicationError, } from '@finos/legend-shared';
16
+ import { TracerService, TelemetryService, assertTrue, Log, LogEvent, assertErrorThrown, isString, ApplicationError, } from '@finos/legend-shared';
17
17
  import { makeAutoObservable, action } from 'mobx';
18
- import { APPLICATION_EVENT } from './ApplicationEvent';
19
- import { LegendApplicationDocumentationRegistry } from './LegendApplicationDocumentationRegistry';
18
+ import { APPLICATION_EVENT } from './ApplicationEvent.js';
19
+ import { LegendApplicationDocumentationService } from './LegendApplicationDocumentationService.js';
20
+ import { LegendApplicationAssistantService } from './LegendApplicationAssistantService.js';
21
+ import { LegendApplicationEventService } from './LegendApplicationEventService.js';
22
+ import { LegendApplicationNavigationContextService } from './LegendApplicationNavigationContextService.js';
20
23
  export var ActionAlertType;
21
24
  (function (ActionAlertType) {
22
25
  ActionAlertType["STANDARD"] = "STANDARD";
23
26
  ActionAlertType["CAUTION"] = "CAUTION";
24
- })(ActionAlertType || (ActionAlertType = {}));
27
+ })(ActionAlertType = ActionAlertType || (ActionAlertType = {}));
25
28
  export var ActionAlertActionType;
26
29
  (function (ActionAlertActionType) {
27
30
  ActionAlertActionType["STANDARD"] = "STANDARD";
28
31
  ActionAlertActionType["PROCEED_WITH_CAUTION"] = "PROCEED_WITH_CAUTION";
29
32
  ActionAlertActionType["PROCEED"] = "PROCEED";
30
- })(ActionAlertActionType || (ActionAlertActionType = {}));
33
+ })(ActionAlertActionType = ActionAlertActionType || (ActionAlertActionType = {}));
31
34
  export const DEFAULT_NOTIFICATION_HIDE_TIME = 6000; // ms
32
35
  export const DEFAULT_ERROR_NOTIFICATION_HIDE_TIME = 10000; // ms
33
36
  export var NOTIFCATION_SEVERITY;
@@ -37,7 +40,7 @@ export var NOTIFCATION_SEVERITY;
37
40
  NOTIFCATION_SEVERITY["WARNING"] = "WARNING";
38
41
  NOTIFCATION_SEVERITY["SUCCESS"] = "SUCCESS";
39
42
  NOTIFCATION_SEVERITY["INFO"] = "INFO";
40
- })(NOTIFCATION_SEVERITY || (NOTIFCATION_SEVERITY = {}));
43
+ })(NOTIFCATION_SEVERITY = NOTIFCATION_SEVERITY || (NOTIFCATION_SEVERITY = {}));
41
44
  export class Notification {
42
45
  severity;
43
46
  message;
@@ -51,16 +54,24 @@ export class Notification {
51
54
  }
52
55
  }
53
56
  export class ApplicationStore {
57
+ pluginManager;
58
+ config;
59
+ // navigation
54
60
  navigator;
61
+ navigationContextService;
62
+ // TODO: refactor this to `NotificationService` including notifications and alerts
55
63
  notification;
56
64
  blockingAlertInfo;
57
65
  actionAlertInfo;
58
- config;
59
- docRegistry;
66
+ // TODO: consider renaming this to `LogService`
60
67
  log = new Log();
68
+ // documentation & help
69
+ documentationService;
70
+ assistantService;
71
+ // communication
72
+ eventService = new LegendApplicationEventService();
61
73
  telemetryService = new TelemetryService();
62
74
  tracerService = new TracerService();
63
- eventNotifierService = new EventNotifierService();
64
75
  constructor(config, navigator, pluginManager) {
65
76
  makeAutoObservable(this, {
66
77
  navigator: false,
@@ -75,21 +86,15 @@ export class ApplicationStore {
75
86
  });
76
87
  this.config = config;
77
88
  this.navigator = navigator;
78
- // Documentation
79
- this.docRegistry = new LegendApplicationDocumentationRegistry();
80
- [
81
- ...pluginManager
82
- .getApplicationPlugins()
83
- .flatMap((plugin) => plugin.getExtraKeyedDocumentationEntries?.() ?? []),
84
- // entries from config will override entries specified natively
85
- ...config.documentationKeyedEntries,
86
- ].forEach((entry) => this.docRegistry.registerEntry(entry.key, entry.content));
87
- this.docRegistry.url = this.config.documentationUrl;
88
- // Register plugins
89
+ this.pluginManager = pluginManager;
90
+ this.navigationContextService =
91
+ new LegendApplicationNavigationContextService();
92
+ this.documentationService = new LegendApplicationDocumentationService(this);
93
+ this.assistantService = new LegendApplicationAssistantService(this);
89
94
  this.log.registerPlugins(pluginManager.getLoggerPlugins());
90
95
  this.telemetryService.registerPlugins(pluginManager.getTelemetryServicePlugins());
91
96
  this.tracerService.registerPlugins(pluginManager.getTracerServicePlugins());
92
- this.eventNotifierService.registerPlugins(pluginManager.getEventNotifierPlugins());
97
+ this.eventService.registerEventNotifierPlugins(pluginManager.getEventNotifierPlugins());
93
98
  }
94
99
  setBlockingAlert(alertInfo) {
95
100
  this.blockingAlertInfo = alertInfo;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationStore.js","sourceRoot":"","sources":["../../src/stores/ApplicationStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,GAAG,EACH,QAAQ,EACR,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAIvD,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAElG,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;AACrB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAED,MAAM,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,sEAA6C,CAAA;IAC7C,4CAAmB,CAAA;AACrB,CAAC,EAJW,qBA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GG;IACH,mBAAmB,GAAG,CAAC,KAAY,EAAQ,EAAE;QAC3C,IAAI,CAAC,GAAG,CAAC,KAAK,CACZ,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,kCAAkC,CAAC,EACrE,+CAA+C,EAC/C,KAAK,CACN,CAAC;QACF,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC,CAAC;IAEF;;OAEG;IACH,mBAAmB,GACjB,CAAC,QAA6B,EAAgB,EAAE,CAChD,GAAS,EAAE;QACT,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC7C,CAAC,CAAC;IAEJ,KAAK,CAAC,mBAAmB,CAAC,IAAY;QACpC,IAAI,OAAO,SAAS,CAAC,SAAS,CAAC,SAAS,KAAK,UAAU,EAAE;YACvD,kDAAkD;YAClD,qEAAqE;YACrE,MAAM,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;gBACxD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAC1B,CAAC,CAAC,CAAC;YACH,OAAO;SACR;QACD,IAAI,CAAC,WAAW,CAAC,kDAAkD,CAAC,CAAC;IACvE,CAAC;IAED,wBAAwB,CAAC,WAAmB;QAC1C,IAAI,CAAC,aAAa,CAAC,wBAAwB,WAAW,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF"}
@@ -13,9 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { ApplicationStore } from './ApplicationStore';
17
- import type { LegendApplicationConfig } from './LegendApplicationConfig';
18
- import type { LegendApplicationPluginManager } from '../application/LegendApplicationPluginManager';
16
+ import { ApplicationStore } from './ApplicationStore.js';
17
+ import type { LegendApplicationConfig } from './LegendApplicationConfig.js';
18
+ import type { LegendApplicationPluginManager } from '../application/LegendApplicationPluginManager.js';
19
19
  export declare const TEST_DATA__applicationVersion: {
20
20
  buildTime: string;
21
21
  version: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationStoreTestUtils.d.ts","sourceRoot":"","sources":["../../src/stores/ApplicationStoreTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAEpG,eAAO,MAAM,6BAA6B;;;;CAIzC,CAAC;AAEF,eAAO,MAAM,6BAA6B,gEAIzB,8BAA8B,wBAM5C,CAAC"}
1
+ {"version":3,"file":"ApplicationStoreTestUtils.d.ts","sourceRoot":"","sources":["../../src/stores/ApplicationStoreTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AAEvG,eAAO,MAAM,6BAA6B;;;;CAIzC,CAAC;AAEF,eAAO,MAAM,6BAA6B,gEAIzB,8BAA8B,wBAM5C,CAAC"}
@@ -13,9 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { ApplicationStore } from './ApplicationStore';
16
+ import { ApplicationStore } from './ApplicationStore.js';
17
17
  import { createBrowserHistory } from 'history';
18
- import { WebApplicationNavigator } from './WebApplicationNavigator';
18
+ import { WebApplicationNavigator } from './WebApplicationNavigator.js';
19
19
  export const TEST_DATA__applicationVersion = {
20
20
  buildTime: '2001-01-01T00:00:00-0000',
21
21
  version: 'test-version',
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationStoreTestUtils.js","sourceRoot":"","sources":["../../src/stores/ApplicationStoreTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIpE,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,SAAS,EAAE,0BAA0B;IACrC,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,gBAAgB;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAG3C,MAAS,EACT,aAA6C,EACxB,EAAE,CACvB,IAAI,gBAAgB,CAClB,MAAM,EACN,IAAI,uBAAuB,CAAC,oBAAoB,EAAE,CAAC,EACnD,aAAa,CACd,CAAC"}
1
+ {"version":3,"file":"ApplicationStoreTestUtils.js","sourceRoot":"","sources":["../../src/stores/ApplicationStoreTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAIvE,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,SAAS,EAAE,0BAA0B;IACrC,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,gBAAgB;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAG3C,MAAS,EACT,aAA6C,EACxB,EAAE,CACvB,IAAI,gBAAgB,CAClB,MAAM,EACN,IAAI,uBAAuB,CAAC,oBAAoB,EAAE,CAAC,EACnD,aAAa,CACd,CAAC"}
@@ -24,7 +24,7 @@ declare type ApplicationLoaded_TelemetryData = {
24
24
  };
25
25
  };
26
26
  export declare class ApplicationTelemetry {
27
- static logEvent_GraphInitialized(telemetryService: TelemetryService, data: ApplicationLoaded_TelemetryData): void;
27
+ static logEvent_AppInitialized(telemetryService: TelemetryService, data: ApplicationLoaded_TelemetryData): void;
28
28
  }
29
29
  export {};
30
30
  //# sourceMappingURL=ApplicationTelemetry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationTelemetry.d.ts","sourceRoot":"","sources":["../../src/stores/ApplicationTelemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,aAAK,+BAA+B,GAAG;IACrC,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,qBAAa,oBAAoB;IAC/B,MAAM,CAAC,yBAAyB,CAC9B,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,+BAA+B,GACpC,IAAI;CAGR"}
1
+ {"version":3,"file":"ApplicationTelemetry.d.ts","sourceRoot":"","sources":["../../src/stores/ApplicationTelemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,aAAK,+BAA+B,GAAG;IACrC,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,qBAAa,oBAAoB;IAC/B,MAAM,CAAC,uBAAuB,CAC5B,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,+BAA+B,GACpC,IAAI;CAGR"}
@@ -13,9 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { APPLICATION_EVENT } from './ApplicationEvent';
16
+ import { APPLICATION_EVENT } from './ApplicationEvent.js';
17
17
  export class ApplicationTelemetry {
18
- static logEvent_GraphInitialized(telemetryService, data) {
18
+ static logEvent_AppInitialized(telemetryService, data) {
19
19
  telemetryService.logEvent(APPLICATION_EVENT.APPLICATION_LOADED, data);
20
20
  }
21
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationTelemetry.js","sourceRoot":"","sources":["../../src/stores/ApplicationTelemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAYvD,MAAM,OAAO,oBAAoB;IAC/B,MAAM,CAAC,yBAAyB,CAC9B,gBAAkC,EAClC,IAAqC;QAErC,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;CACF"}
1
+ {"version":3,"file":"ApplicationTelemetry.js","sourceRoot":"","sources":["../../src/stores/ApplicationTelemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAY1D,MAAM,OAAO,oBAAoB;IAC/B,MAAM,CAAC,uBAAuB,CAC5B,gBAAkC,EAClC,IAAqC;QAErC,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;CACF"}
@@ -0,0 +1,35 @@
1
+ "use strict";
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.Fuse = void 0;
22
+ /**
23
+ * Previously, these exports rely on ES module interop to expose `default` export
24
+ * properly. But since we use `ESM` for Typescript resolution now, we lose this
25
+ * so we have to workaround by importing these and re-export them from CJS
26
+ *
27
+ * TODO: remove these when the package properly work with Typescript's nodenext
28
+ * module resolution
29
+ *
30
+ * @workaround ESM
31
+ * See https://github.com/microsoft/TypeScript/issues/49298
32
+ */
33
+ var fuse_js_1 = require("fuse.js");
34
+ Object.defineProperty(exports, "Fuse", { enumerable: true, get: function () { return __importDefault(fuse_js_1).default; } });
35
+ //# sourceMappingURL=CJS__Fuse.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CJS__Fuse.cjs","sourceRoot":"","sources":["../../src/stores/CJS__Fuse.cts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;AAEH;;;;;;;;;;GAUG;AACH,mCAA0C;AAAjC,gHAAA,OAAO,OAAQ"}
@@ -0,0 +1,28 @@
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
+ /**
17
+ * Previously, these exports rely on ES module interop to expose `default` export
18
+ * properly. But since we use `ESM` for Typescript resolution now, we lose this
19
+ * so we have to workaround by importing these and re-export them from CJS
20
+ *
21
+ * TODO: remove these when the package properly work with Typescript's nodenext
22
+ * module resolution
23
+ *
24
+ * @workaround ESM
25
+ * See https://github.com/microsoft/TypeScript/issues/49298
26
+ */
27
+ export { default as Fuse } from 'fuse.js';
28
+ //# sourceMappingURL=CJS__Fuse.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CJS__Fuse.d.cts","sourceRoot":"","sources":["../../src/stores/CJS__Fuse.cts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;;;;;;GAUG;AACH,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,59 @@
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 { type ObserverContext, type Type, type ValueSpecification, type PureModel, Enumeration, VariableExpression, LambdaFunction } from '@finos/legend-graph';
17
+ export declare enum PARAMETER_SUBMIT_ACTION {
18
+ EXECUTE = "EXECUTE",
19
+ EXPORT = "EXPORT"
20
+ }
21
+ export declare const createMockEnumerationProperty: (enumeration: Enumeration) => string;
22
+ export declare const buildParametersLetLambdaFunc: (graph: PureModel, lambdaParametersStates: LambdaParameterState[]) => LambdaFunction;
23
+ export declare class LambdaParameterState {
24
+ readonly uuid: string;
25
+ readonly parameter: VariableExpression;
26
+ observableContext: ObserverContext;
27
+ value: ValueSpecification | undefined;
28
+ constructor(variableExpression: VariableExpression, observableContext: ObserverContext);
29
+ mockParameterValue(): void;
30
+ private generateMockValues;
31
+ setValue(value: ValueSpecification | undefined): void;
32
+ changeVariableType(type: Type): void;
33
+ changeMultiplicity(lowerBound: number, uppderBound: number | undefined): void;
34
+ get variableName(): string;
35
+ get variableType(): Type | undefined;
36
+ }
37
+ export declare class ParameterInstanceValuesEditorState {
38
+ showModal: boolean;
39
+ submitAction: {
40
+ handler: () => Promise<void>;
41
+ label: string;
42
+ } | undefined;
43
+ constructor();
44
+ setShowModal(val: boolean): void;
45
+ setSubmitAction(val: {
46
+ handler: () => Promise<void>;
47
+ label: string;
48
+ } | undefined): void;
49
+ open(handler: () => Promise<void>, label: string): void;
50
+ close(): void;
51
+ }
52
+ export declare class LambdaParametersState {
53
+ parameterStates: LambdaParameterState[];
54
+ parameterValuesEditorState: ParameterInstanceValuesEditorState;
55
+ addParameter(val: LambdaParameterState): void;
56
+ removeParameter(val: LambdaParameterState): void;
57
+ setParameters(val: LambdaParameterState[]): void;
58
+ }
59
+ //# sourceMappingURL=LambdaParameterState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LambdaParameterState.d.ts","sourceRoot":"","sources":["../../src/stores/LambdaParameterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAEd,WAAW,EAWX,kBAAkB,EAClB,cAAc,EAOf,MAAM,qBAAqB,CAAC;AAkB7B,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,6BAA6B,gBAC3B,WAAW,KACvB,MACyE,CAAC;AAyC7E,eAAO,MAAM,4BAA4B,UAChC,SAAS,0BACQ,oBAAoB,EAAE,KAC7C,cA6BF,CAAC;AAEF,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,IAAI,SAAU;IACvB,QAAQ,CAAC,SAAS,EAAE,kBA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