@veloceapps/sdk 11.0.0-122 → 11.0.0-124

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.
@@ -146,6 +146,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
146
146
  }], ctorParameters: function () { return [{ type: i1.ConfigurationSettingsApiService }]; } });
147
147
 
148
148
  class FlowInfoService {
149
+ constructor(runtimeSettingsService, templatesAdminApiService, customizationService) {
150
+ this.runtimeSettingsService = runtimeSettingsService;
151
+ this.templatesAdminApiService = templatesAdminApiService;
152
+ this.customizationService = customizationService;
153
+ this.defaultTemplates = {
154
+ flowEngine: 'Flow Engine',
155
+ };
156
+ this.flowSubj$ = new BehaviorSubject(null);
157
+ this.templatesSubj$ = new BehaviorSubject({});
158
+ this.contextSubj$ = new BehaviorSubject(null);
159
+ this.flow$ = this.flowSubj$.asObservable();
160
+ this.templates$ = this.templatesSubj$.asObservable();
161
+ }
149
162
  get flow() {
150
163
  if (!this.flowSubj$.value) {
151
164
  throw new Error(`Flow not initialized yet`);
@@ -173,19 +186,6 @@ class FlowInfoService {
173
186
  get isStateful() {
174
187
  return !!this.flow?.properties.stateful;
175
188
  }
176
- constructor(runtimeSettingsService, templatesAdminApiService, customizationService) {
177
- this.runtimeSettingsService = runtimeSettingsService;
178
- this.templatesAdminApiService = templatesAdminApiService;
179
- this.customizationService = customizationService;
180
- this.defaultTemplates = {
181
- flowEngine: 'Flow Engine',
182
- };
183
- this.flowSubj$ = new BehaviorSubject(null);
184
- this.templatesSubj$ = new BehaviorSubject({});
185
- this.contextSubj$ = new BehaviorSubject(null);
186
- this.flow$ = this.flowSubj$.asObservable();
187
- this.templates$ = this.templatesSubj$.asObservable();
188
- }
189
189
  reset() {
190
190
  this.flowSubj$.next(null);
191
191
  this.templatesSubj$.next({});