@veloceapps/sdk 3.1.16 → 3.1.17-1
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/bundles/veloce-sdk-core.umd.js +212 -68
- package/bundles/veloce-sdk-core.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +5 -6
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +42 -35
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/vendor-map.d.ts +124 -116
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +11 -17
- package/core/services/quote-draft.service.d.ts +41 -7
- package/esm2015/core/modules/configuration/services/configuration.service.js +3 -3
- package/esm2015/core/modules/flow-configuration/services/flow-configuration.service.js +43 -49
- package/esm2015/core/services/quote-draft.service.js +138 -22
- package/esm2015/runtime/components/ui-runtime/runtime.component.js +2 -2
- package/esm2015/runtime/execution/directives/section-script.directive.js +2 -2
- package/esm2015/runtime/services/cart.service.js +2 -3
- package/esm2015/runtime/services/section.service.js +1 -1
- package/esm2015/src/components/header/header.component.js +23 -19
- package/esm2015/src/components/header/header.types.js +1 -1
- package/esm2015/src/pages/legacy-product/legacy-product.component.js +4 -4
- package/esm2015/src/pages/product/product.component.js +8 -5
- package/esm2015/src/resolvers/quote.resolver.js +4 -11
- package/esm2015/src/services/flow.service.js +6 -5
- package/fesm2015/veloce-sdk-core.js +177 -66
- package/fesm2015/veloce-sdk-core.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +3 -4
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/fesm2015/veloce-sdk.js +38 -36
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
- package/runtime/services/cart.service.d.ts +1 -1
- package/src/components/header/header.component.d.ts +5 -2
- package/src/components/header/header.types.d.ts +0 -1
- package/src/pages/product/product.component.d.ts +1 -0
- package/src/resolvers/quote.resolver.d.ts +0 -1
package/package.json
CHANGED
@@ -9,7 +9,7 @@ export declare class ShoppingCartService {
|
|
9
9
|
private quoteService;
|
10
10
|
constructor(priceApiService: PriceApiService, contextService: ContextService, quoteService: QuoteDraftService);
|
11
11
|
setCartExternally(currentState: LineItem[]): Observable<PriceSummary>;
|
12
|
-
getCurrentState(): LineItem[]
|
12
|
+
getCurrentState(): LineItem[];
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartService, never>;
|
14
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShoppingCartService>;
|
15
15
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { QuoteApiService, SalesforceApiService } from '@veloce/api';
|
3
|
-
import { ContextProperties } from '@veloce/core';
|
3
|
+
import { ContextProperties, PriceList } from '@veloce/core';
|
4
4
|
import { ContextService, FlowConfigurationService, QuoteDraftService } from '@veloce/sdk/core';
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
6
6
|
import { FlowDialogService } from '../../services/flow-dialog.service';
|
@@ -18,6 +18,8 @@ export declare class FlowHeaderComponent implements OnInit, OnDestroy {
|
|
18
18
|
readonly disabledActionButtonTooltip = "Available from the Shopping Cart";
|
19
19
|
objectName: string;
|
20
20
|
contextProperties: ContextProperties;
|
21
|
+
assetPriceLists: PriceList[];
|
22
|
+
activePriceList$: Observable<PriceList | null>;
|
21
23
|
status$: Observable<string>;
|
22
24
|
objectDetails$: BehaviorSubject<HeaderObjectDetails>;
|
23
25
|
products$: Observable<HeaderProduct[]>;
|
@@ -34,12 +36,13 @@ export declare class FlowHeaderComponent implements OnInit, OnDestroy {
|
|
34
36
|
ngOnDestroy(): void;
|
35
37
|
get isAccountMode(): boolean;
|
36
38
|
get isQuoteMode(): boolean;
|
37
|
-
back(): void;
|
39
|
+
back(objectId?: string): void;
|
38
40
|
getSalesforceObjectLink(objectId?: string): string;
|
39
41
|
navigateToShoppingCart(): void;
|
40
42
|
navigateToCatalog(): void;
|
41
43
|
saveButtonClickHandler(): void;
|
42
44
|
submitButtonClickHandler(): void;
|
45
|
+
selectPriceList(priceListId: string): void;
|
43
46
|
private queryName$;
|
44
47
|
private populateObjectDetails;
|
45
48
|
private generateProducts;
|
@@ -24,6 +24,7 @@ export declare class ProductComponent implements OnInit, OnDestroy {
|
|
24
24
|
private customize;
|
25
25
|
private init;
|
26
26
|
private getLineItemId;
|
27
|
+
private getAsset;
|
27
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductComponent, [null, null, null, null, null, { optional: true; }]>;
|
28
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductComponent, "vl-flow-product", never, {}, {}, never, never>;
|
29
30
|
}
|
@@ -11,7 +11,6 @@ export declare class QuoteResolver implements Resolve<void | boolean> {
|
|
11
11
|
private flowConfiguration;
|
12
12
|
constructor(router: Router, quoteDraftService: QuoteDraftService, routerService: FlowRouterService, contextService: ContextService, flowConfiguration: FlowConfigurationService);
|
13
13
|
private handleError;
|
14
|
-
private initFlow$;
|
15
14
|
resolve(route: ActivatedRouteSnapshot): Observable<void | boolean>;
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuoteResolver, never>;
|
17
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<QuoteResolver>;
|