@veloceapps/sdk 12.0.0-15 → 12.0.0-16
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/cms/index.d.ts +28 -28
- package/core/index.d.ts +7 -7
- package/fesm2022/veloceapps-sdk-cms.mjs +48 -54
- package/fesm2022/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2022/veloceapps-sdk-core.mjs +14 -29
- package/fesm2022/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2022/veloceapps-sdk.mjs +73 -79
- package/fesm2022/veloceapps-sdk.mjs.map +1 -1
- package/index.d.ts +140 -140
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -1,134 +1,24 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import {
|
3
|
-
import * as
|
4
|
-
import
|
5
|
-
import * as rxjs from 'rxjs';
|
6
|
-
import { Observable, BehaviorSubject } from 'rxjs';
|
7
|
-
import * as i3 from '@veloceapps/sdk/cms';
|
8
|
-
import { IntegrationState as IntegrationState$1, CMSPreviewConfig } from '@veloceapps/sdk/cms';
|
9
|
-
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
10
|
-
import * as i1 from '@angular/router';
|
11
|
-
import { Router, ActivatedRoute, ActivatedRouteSnapshot, Params, Route } from '@angular/router';
|
12
|
-
import * as i2 from '@angular/common';
|
13
|
-
import * as i4 from '@veloceapps/components';
|
2
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
3
|
+
import * as i1 from '@angular/common';
|
4
|
+
import * as i3 from '@veloceapps/components';
|
14
5
|
import { ToastService } from '@veloceapps/components';
|
6
|
+
import * as i1$1 from '@angular/router';
|
7
|
+
import { ActivatedRoute, Router, ActivatedRouteSnapshot, Params, Route } from '@angular/router';
|
8
|
+
import * as i2 from '@veloceapps/sdk/cms';
|
9
|
+
import { CMSPreviewConfig, IntegrationState as IntegrationState$1 } from '@veloceapps/sdk/cms';
|
15
10
|
import { UIDefinitionContainer, UIDefinition } from '@veloceapps/core';
|
11
|
+
import * as i8 from '@veloceapps/sdk/core';
|
12
|
+
import { ConfigurationRuntimeService, ConfigurationStateService, FlowInfoService, FlowCustomization, FlowStateService, RuntimeSettingsService, IntegrationState, ConfigurationService } from '@veloceapps/sdk/core';
|
13
|
+
import * as rxjs from 'rxjs';
|
14
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
16
15
|
import { UITemplatesAdminApiService } from '@veloceapps/api/v2';
|
17
|
-
import * as
|
18
|
-
import * as
|
16
|
+
import * as i4 from '@veloceapps/api';
|
17
|
+
import * as i2$1 from 'primeng/button';
|
18
|
+
import { DynamicDialogConfig, DynamicDialogRef, DialogService } from 'primeng/dynamicdialog';
|
19
19
|
|
20
20
|
declare const VELOCE_FLOW_ROOT_ROUTE = "VELOCE_FLOW_ROOT_ROUTE";
|
21
21
|
|
22
|
-
interface FlowDialogConfig {
|
23
|
-
title: string;
|
24
|
-
description?: string;
|
25
|
-
primaryButton: string;
|
26
|
-
secondaryButton?: string;
|
27
|
-
oppositeButtonActions?: boolean;
|
28
|
-
}
|
29
|
-
|
30
|
-
type FlowDialogFn = keyof Omit<FlowDialogService, 'show' | 'constructor'>;
|
31
|
-
declare class FlowDialogService {
|
32
|
-
private dialogService;
|
33
|
-
private runtimeSettings;
|
34
|
-
private flowInfoService;
|
35
|
-
constructor(dialogService: DialogService, runtimeSettings: RuntimeSettingsService, flowInfoService: FlowInfoService);
|
36
|
-
show(config: FlowDialogConfig): Observable<boolean>;
|
37
|
-
showEmptyCartDialog(): Observable<boolean>;
|
38
|
-
showReadonlyModeDialog(): Observable<boolean>;
|
39
|
-
showQuoteReadonlyModeDialog(): Observable<boolean>;
|
40
|
-
showQuoteInConfiguratorDialog(): Observable<boolean>;
|
41
|
-
showAccountNoChangesDialog(): Observable<boolean>;
|
42
|
-
showUnsavedChangesDialog(): Observable<boolean>;
|
43
|
-
showTermsLimitReachedDialog(): Observable<boolean>;
|
44
|
-
showDialog(dialog: FlowDialogFn): Observable<boolean>;
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogService, never>;
|
46
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlowDialogService>;
|
47
|
-
}
|
48
|
-
|
49
|
-
declare class FlowRouterService {
|
50
|
-
private router;
|
51
|
-
private route;
|
52
|
-
private integrationState;
|
53
|
-
private flowInfoService;
|
54
|
-
loading$: Observable<boolean>;
|
55
|
-
private routeChange$;
|
56
|
-
private lastChildParams$;
|
57
|
-
private lastChildRoute$;
|
58
|
-
private urlHistory;
|
59
|
-
constructor(router: Router, route: ActivatedRoute, integrationState: IntegrationState, flowInfoService: FlowInfoService);
|
60
|
-
get route$(): Observable<ActivatedRouteSnapshot>;
|
61
|
-
get params$(): Observable<Params>;
|
62
|
-
get params(): Params;
|
63
|
-
getFlowRootRoute(route: ActivatedRouteSnapshot): ActivatedRouteSnapshot | undefined;
|
64
|
-
getFlowRootPath(route: ActivatedRouteSnapshot): string;
|
65
|
-
getLastChildRoute: (route: ActivatedRoute) => ActivatedRoute;
|
66
|
-
getNthChildRoute: (route: ActivatedRoute, index: number) => ActivatedRoute;
|
67
|
-
getLastChildRouteSnapshot: (route: ActivatedRouteSnapshot) => ActivatedRouteSnapshot;
|
68
|
-
watchLastChildRoute$: (route: ActivatedRoute) => Observable<ActivatedRouteSnapshot>;
|
69
|
-
getLastChildParams: (route: ActivatedRouteSnapshot) => Params;
|
70
|
-
watchLastChildParams$: (route: ActivatedRoute) => Observable<Params>;
|
71
|
-
getFlowSubpath$: () => Observable<string>;
|
72
|
-
isConfigurationRoute$(): Observable<boolean>;
|
73
|
-
isCartRoute$(): Observable<boolean>;
|
74
|
-
isCatalogRoute$(): Observable<boolean>;
|
75
|
-
isAssetsRoute$(): Observable<boolean>;
|
76
|
-
navigateBack(): void;
|
77
|
-
navigateTo(path: string, productId?: string, transactionItemId?: string): void;
|
78
|
-
navigateToProductConfiguration(productId: string, transactionItemId?: string): void;
|
79
|
-
navigateToShoppingCart(): void;
|
80
|
-
navigateToCatalog(): void;
|
81
|
-
navigateToAssets(): void;
|
82
|
-
showErrorPage$(message: string, details?: string[]): Observable<false>;
|
83
|
-
switchObject(id: string): void;
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowRouterService, never>;
|
85
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlowRouterService>;
|
86
|
-
}
|
87
|
-
|
88
|
-
declare class FlowService {
|
89
|
-
private integrationState;
|
90
|
-
private flowRouterService;
|
91
|
-
private configurationService;
|
92
|
-
private configurationStateService;
|
93
|
-
private flowDialogService;
|
94
|
-
private flowStateService;
|
95
|
-
private flowInfoService;
|
96
|
-
private cleanup$;
|
97
|
-
constructor(integrationState: IntegrationState$1, flowRouterService: FlowRouterService, configurationService: ConfigurationService, configurationStateService: ConfigurationStateService, flowDialogService: FlowDialogService, flowStateService: FlowStateService, flowInfoService: FlowInfoService);
|
98
|
-
cleanup(): void;
|
99
|
-
initSubscriptions(): void;
|
100
|
-
private updateFlowParams;
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowService, never>;
|
102
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlowService>;
|
103
|
-
}
|
104
|
-
|
105
|
-
declare class FlowGuidedSellingService {
|
106
|
-
private integrationState;
|
107
|
-
private cleanup$;
|
108
|
-
private isVisibleSubj$;
|
109
|
-
isVisible$: rxjs.Observable<boolean>;
|
110
|
-
constructor(integrationState: IntegrationState);
|
111
|
-
cleanup(): void;
|
112
|
-
private initSubscriptions;
|
113
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowGuidedSellingService, never>;
|
114
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlowGuidedSellingService>;
|
115
|
-
}
|
116
|
-
|
117
|
-
declare class FlowComponent implements OnDestroy {
|
118
|
-
private routerService;
|
119
|
-
private flowService;
|
120
|
-
private flowInfoService;
|
121
|
-
private guidedSellingService;
|
122
|
-
isLoading$: Observable<boolean>;
|
123
|
-
showHeader$: Observable<boolean>;
|
124
|
-
isStandalone$: Observable<boolean>;
|
125
|
-
guidedSellingVisible$: Observable<boolean>;
|
126
|
-
constructor(routerService: FlowRouterService, flowService: FlowService, flowInfoService: FlowInfoService, guidedSellingService: FlowGuidedSellingService);
|
127
|
-
ngOnDestroy(): void;
|
128
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowComponent, never>;
|
129
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowComponent, "vl-flow", never, {}, {}, never, never, false, never>;
|
130
|
-
}
|
131
|
-
|
132
22
|
declare class ProductComponent implements OnInit, OnDestroy {
|
133
23
|
private configurationRuntimeService;
|
134
24
|
private configurationStateService;
|
@@ -144,12 +34,12 @@ declare class ProductComponent implements OnInit, OnDestroy {
|
|
144
34
|
ngOnDestroy(): void;
|
145
35
|
private init$;
|
146
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductComponent, never>;
|
147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductComponent, "vl-flow-product", never, {}, {}, never, never,
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductComponent, "vl-flow-product", never, {}, {}, never, never, true, never>;
|
148
38
|
}
|
149
39
|
|
150
40
|
declare class ProductModule {
|
151
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
|
152
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule,
|
42
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof i3.LoaderModule, typeof i3.LetDirectiveModule, typeof ProductComponent], [typeof ProductComponent]>;
|
153
43
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
|
154
44
|
}
|
155
45
|
|
@@ -174,12 +64,12 @@ declare class ShoppingCartComponent implements OnInit, OnDestroy {
|
|
174
64
|
private getOrgMeta$;
|
175
65
|
private generateUIDefinition$;
|
176
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartComponent, [null, null, null, null, { optional: true; }]>;
|
177
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShoppingCartComponent, "vl-flow-shopping-cart", never, {}, {}, never, never,
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShoppingCartComponent, "vl-flow-shopping-cart", never, {}, {}, never, never, true, never>;
|
178
68
|
}
|
179
69
|
|
180
70
|
declare class ShoppingCartModule {
|
181
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartModule, never>;
|
182
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ShoppingCartModule, [typeof
|
72
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ShoppingCartModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof i3.LoaderModule, typeof ShoppingCartComponent], [typeof ShoppingCartComponent]>;
|
183
73
|
static ɵinj: i0.ɵɵInjectorDeclaration<ShoppingCartModule>;
|
184
74
|
}
|
185
75
|
|
@@ -204,12 +94,12 @@ declare class CatalogComponent implements OnInit, OnDestroy {
|
|
204
94
|
private getOrgMeta$;
|
205
95
|
private generateUIDefinition$;
|
206
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogComponent, [null, null, null, null, { optional: true; }]>;
|
207
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogComponent, "vl-flow-catalog", never, {}, {}, never, never,
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogComponent, "vl-flow-catalog", never, {}, {}, never, never, true, never>;
|
208
98
|
}
|
209
99
|
|
210
100
|
declare class CatalogModule {
|
211
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogModule, never>;
|
212
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, [typeof
|
102
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof i3.LoaderModule, typeof i2.RuntimeModule, typeof CatalogComponent], [typeof CatalogComponent]>;
|
213
103
|
static ɵinj: i0.ɵɵInjectorDeclaration<CatalogModule>;
|
214
104
|
}
|
215
105
|
|
@@ -234,18 +124,18 @@ declare class AssetsComponent implements OnInit, OnDestroy {
|
|
234
124
|
private getOrgMeta$;
|
235
125
|
private generateUIDefinition$;
|
236
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsComponent, [null, null, null, null, { optional: true; }]>;
|
237
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AssetsComponent, "vl-flow-assets", never, {}, {}, never, never,
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssetsComponent, "vl-flow-assets", never, {}, {}, never, never, true, never>;
|
238
128
|
}
|
239
129
|
|
240
130
|
declare class AssetsModule {
|
241
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsModule, never>;
|
242
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AssetsModule, [typeof
|
132
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AssetsModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof i3.LoaderModule, typeof AssetsComponent], [typeof AssetsComponent]>;
|
243
133
|
static ɵinj: i0.ɵɵInjectorDeclaration<AssetsModule>;
|
244
134
|
}
|
245
135
|
|
246
136
|
declare class FlowRoutingModule {
|
247
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowRoutingModule, never>;
|
248
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowRoutingModule, never, [typeof i1.RouterModule, typeof ProductModule, typeof ShoppingCartModule, typeof CatalogModule, typeof AssetsModule], [typeof i1.RouterModule]>;
|
138
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowRoutingModule, never, [typeof i1$1.RouterModule, typeof ProductModule, typeof ShoppingCartModule, typeof CatalogModule, typeof AssetsModule], [typeof i1$1.RouterModule]>;
|
249
139
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowRoutingModule>;
|
250
140
|
}
|
251
141
|
|
@@ -265,15 +155,23 @@ declare class FlowHeaderComponent implements OnDestroy {
|
|
265
155
|
private getOrgMeta$;
|
266
156
|
private generateUIDefinition$;
|
267
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderComponent, [null, null, null, null, { optional: true; }]>;
|
268
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowHeaderComponent, "vl-flow-new-header", never, {}, {}, never, never,
|
158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowHeaderComponent, "vl-flow-new-header", never, {}, {}, never, never, true, never>;
|
269
159
|
}
|
270
160
|
|
271
161
|
declare class FlowNewHeaderModule {
|
272
162
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowNewHeaderModule, never>;
|
273
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowNewHeaderModule, [typeof
|
163
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowNewHeaderModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof FlowHeaderComponent], [typeof FlowHeaderComponent]>;
|
274
164
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowNewHeaderModule>;
|
275
165
|
}
|
276
166
|
|
167
|
+
interface FlowDialogConfig {
|
168
|
+
title: string;
|
169
|
+
description?: string;
|
170
|
+
primaryButton: string;
|
171
|
+
secondaryButton?: string;
|
172
|
+
oppositeButtonActions?: boolean;
|
173
|
+
}
|
174
|
+
|
277
175
|
declare class FlowDialogComponent {
|
278
176
|
private dialogConfig;
|
279
177
|
private ref;
|
@@ -282,12 +180,12 @@ declare class FlowDialogComponent {
|
|
282
180
|
cancelHandler(): void;
|
283
181
|
confirmHandler(): void;
|
284
182
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogComponent, never>;
|
285
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowDialogComponent, "vl-flow-dialog", never, {}, {}, never, never,
|
183
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowDialogComponent, "vl-flow-dialog", never, {}, {}, never, never, true, never>;
|
286
184
|
}
|
287
185
|
|
288
186
|
declare class FlowDialogModule {
|
289
187
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogModule, never>;
|
290
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowDialogModule,
|
188
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowDialogModule, never, [typeof i1.CommonModule, typeof i2$1.ButtonModule, typeof FlowDialogComponent], [typeof FlowDialogComponent]>;
|
291
189
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowDialogModule>;
|
292
190
|
}
|
293
191
|
|
@@ -307,18 +205,120 @@ declare class GuidedSellingComponent implements OnDestroy {
|
|
307
205
|
private getOrgMeta$;
|
308
206
|
private generateUIDefinition$;
|
309
207
|
static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingComponent, [null, null, null, null, { optional: true; }]>;
|
310
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GuidedSellingComponent, "vl-flow-guided-selling", never, {}, {}, never, never,
|
208
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GuidedSellingComponent, "vl-flow-guided-selling", never, {}, {}, never, never, true, never>;
|
311
209
|
}
|
312
210
|
|
313
211
|
declare class GuidedSellingModule {
|
314
212
|
static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingModule, never>;
|
315
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GuidedSellingModule, [typeof
|
213
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GuidedSellingModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof GuidedSellingComponent], [typeof GuidedSellingComponent]>;
|
316
214
|
static ɵinj: i0.ɵɵInjectorDeclaration<GuidedSellingModule>;
|
317
215
|
}
|
318
216
|
|
217
|
+
type FlowDialogFn = keyof Omit<FlowDialogService, 'show' | 'constructor'>;
|
218
|
+
declare class FlowDialogService {
|
219
|
+
private dialogService;
|
220
|
+
private runtimeSettings;
|
221
|
+
private flowInfoService;
|
222
|
+
constructor(dialogService: DialogService, runtimeSettings: RuntimeSettingsService, flowInfoService: FlowInfoService);
|
223
|
+
show(config: FlowDialogConfig): Observable<boolean>;
|
224
|
+
showEmptyCartDialog(): Observable<boolean>;
|
225
|
+
showReadonlyModeDialog(): Observable<boolean>;
|
226
|
+
showQuoteReadonlyModeDialog(): Observable<boolean>;
|
227
|
+
showQuoteInConfiguratorDialog(): Observable<boolean>;
|
228
|
+
showAccountNoChangesDialog(): Observable<boolean>;
|
229
|
+
showUnsavedChangesDialog(): Observable<boolean>;
|
230
|
+
showTermsLimitReachedDialog(): Observable<boolean>;
|
231
|
+
showDialog(dialog: FlowDialogFn): Observable<boolean>;
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogService, never>;
|
233
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowDialogService>;
|
234
|
+
}
|
235
|
+
|
236
|
+
declare class FlowRouterService {
|
237
|
+
private router;
|
238
|
+
private route;
|
239
|
+
private integrationState;
|
240
|
+
private flowInfoService;
|
241
|
+
loading$: Observable<boolean>;
|
242
|
+
private routeChange$;
|
243
|
+
private lastChildParams$;
|
244
|
+
private lastChildRoute$;
|
245
|
+
private urlHistory;
|
246
|
+
constructor(router: Router, route: ActivatedRoute, integrationState: IntegrationState, flowInfoService: FlowInfoService);
|
247
|
+
get route$(): Observable<ActivatedRouteSnapshot>;
|
248
|
+
get params$(): Observable<Params>;
|
249
|
+
get params(): Params;
|
250
|
+
getFlowRootRoute(route: ActivatedRouteSnapshot): ActivatedRouteSnapshot | undefined;
|
251
|
+
getFlowRootPath(route: ActivatedRouteSnapshot): string;
|
252
|
+
getLastChildRoute: (route: ActivatedRoute) => ActivatedRoute;
|
253
|
+
getNthChildRoute: (route: ActivatedRoute, index: number) => ActivatedRoute;
|
254
|
+
getLastChildRouteSnapshot: (route: ActivatedRouteSnapshot) => ActivatedRouteSnapshot;
|
255
|
+
watchLastChildRoute$: (route: ActivatedRoute) => Observable<ActivatedRouteSnapshot>;
|
256
|
+
getLastChildParams: (route: ActivatedRouteSnapshot) => Params;
|
257
|
+
watchLastChildParams$: (route: ActivatedRoute) => Observable<Params>;
|
258
|
+
getFlowSubpath$: () => Observable<string>;
|
259
|
+
isConfigurationRoute$(): Observable<boolean>;
|
260
|
+
isCartRoute$(): Observable<boolean>;
|
261
|
+
isCatalogRoute$(): Observable<boolean>;
|
262
|
+
isAssetsRoute$(): Observable<boolean>;
|
263
|
+
navigateBack(): void;
|
264
|
+
navigateTo(path: string, productId?: string, transactionItemId?: string): void;
|
265
|
+
navigateToProductConfiguration(productId: string, transactionItemId?: string): void;
|
266
|
+
navigateToShoppingCart(): void;
|
267
|
+
navigateToCatalog(): void;
|
268
|
+
navigateToAssets(): void;
|
269
|
+
showErrorPage$(message: string, details?: string[]): Observable<false>;
|
270
|
+
switchObject(id: string): void;
|
271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowRouterService, never>;
|
272
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowRouterService>;
|
273
|
+
}
|
274
|
+
|
275
|
+
declare class FlowService {
|
276
|
+
private integrationState;
|
277
|
+
private flowRouterService;
|
278
|
+
private configurationService;
|
279
|
+
private configurationStateService;
|
280
|
+
private flowDialogService;
|
281
|
+
private flowStateService;
|
282
|
+
private flowInfoService;
|
283
|
+
private cleanup$;
|
284
|
+
constructor(integrationState: IntegrationState$1, flowRouterService: FlowRouterService, configurationService: ConfigurationService, configurationStateService: ConfigurationStateService, flowDialogService: FlowDialogService, flowStateService: FlowStateService, flowInfoService: FlowInfoService);
|
285
|
+
cleanup(): void;
|
286
|
+
initSubscriptions(): void;
|
287
|
+
private updateFlowParams;
|
288
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowService, never>;
|
289
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowService>;
|
290
|
+
}
|
291
|
+
|
292
|
+
declare class FlowGuidedSellingService {
|
293
|
+
private integrationState;
|
294
|
+
private cleanup$;
|
295
|
+
private isVisibleSubj$;
|
296
|
+
isVisible$: rxjs.Observable<boolean>;
|
297
|
+
constructor(integrationState: IntegrationState);
|
298
|
+
cleanup(): void;
|
299
|
+
private initSubscriptions;
|
300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowGuidedSellingService, never>;
|
301
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowGuidedSellingService>;
|
302
|
+
}
|
303
|
+
|
304
|
+
declare class FlowComponent implements OnDestroy {
|
305
|
+
private routerService;
|
306
|
+
private flowService;
|
307
|
+
private flowInfoService;
|
308
|
+
private guidedSellingService;
|
309
|
+
isLoading$: Observable<boolean>;
|
310
|
+
showHeader$: Observable<boolean>;
|
311
|
+
isStandalone$: Observable<boolean>;
|
312
|
+
guidedSellingVisible$: Observable<boolean>;
|
313
|
+
constructor(routerService: FlowRouterService, flowService: FlowService, flowInfoService: FlowInfoService, guidedSellingService: FlowGuidedSellingService);
|
314
|
+
ngOnDestroy(): void;
|
315
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowComponent, never>;
|
316
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowComponent, "vl-flow", never, {}, {}, never, never, true, never>;
|
317
|
+
}
|
318
|
+
|
319
319
|
declare class FlowModule {
|
320
320
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowModule, never>;
|
321
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowModule,
|
321
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowModule, never, [typeof i1.CommonModule, typeof i3.LetDirectiveModule, typeof FlowRoutingModule, typeof i4.ApiModule, typeof i2.LauncherModule, typeof i3.LoaderModule, typeof FlowNewHeaderModule, typeof FlowDialogModule, typeof i8.SdkCoreModule, typeof GuidedSellingModule, typeof FlowComponent], never>;
|
322
322
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowModule>;
|
323
323
|
}
|
324
324
|
|