@veloceapps/sdk 4.0.14 → 4.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/bundles/veloce-sdk.umd.js +65 -42
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +13 -9
- package/esm2015/src/components/header/cart-overlay/cart-preview.module.js +27 -4
- package/esm2015/src/pages/debug/debug.component.js +12 -16
- package/esm2015/src/utils/flow.utils.js +4 -2
- package/fesm2015/veloce-sdk.js +45 -21
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/components/header/cart-overlay/cart-preview.component.d.ts +4 -2
- package/src/components/header/cart-overlay/cart-preview.module.d.ts +2 -1
- package/src/pages/debug/debug.component.d.ts +2 -4
- package/src/utils/flow.utils.d.ts +1 -1
package/package.json
CHANGED
@@ -13,12 +13,14 @@ export declare class CartPreviewComponent implements OnChanges, AfterViewInit, O
|
|
13
13
|
private quoteDraftService;
|
14
14
|
overlayPanel: OverlayPanel;
|
15
15
|
products: HeaderProduct[];
|
16
|
+
readonly productRowHeight = 97;
|
16
17
|
form: FormGroup;
|
17
18
|
lockedProductId$: Observable<string | null>;
|
18
|
-
private shouldUpdate$;
|
19
|
-
private destroyed$;
|
20
19
|
isEditMode$: Observable<boolean>;
|
21
20
|
hasTermInProducts: boolean;
|
21
|
+
scrollHeight: number;
|
22
|
+
private shouldUpdate$;
|
23
|
+
private destroyed$;
|
22
24
|
constructor(flowConfiguration: FlowConfigurationService, routerService: FlowRouterService, productImagesService: ProductImagesService, quoteDraftService: QuoteDraftService);
|
23
25
|
ngOnChanges(changes: SimpleChanges): void;
|
24
26
|
ngAfterViewInit(): void;
|
@@ -6,8 +6,9 @@ import * as i4 from "primeng/button";
|
|
6
6
|
import * as i5 from "primeng/overlaypanel";
|
7
7
|
import * as i6 from "@veloce/components";
|
8
8
|
import * as i7 from "primeng/inputnumber";
|
9
|
+
import * as i8 from "primeng/virtualscroller";
|
9
10
|
export declare class CartPreviewModule {
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartPreviewModule, never>;
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CartPreviewModule, [typeof i1.CartPreviewComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.ButtonModule, typeof i5.OverlayPanelModule, typeof i6.LetDirectiveModule, typeof i7.InputNumberModule], [typeof i1.CartPreviewComponent]>;
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CartPreviewModule, [typeof i1.CartPreviewComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.ButtonModule, typeof i5.OverlayPanelModule, typeof i6.LetDirectiveModule, typeof i7.InputNumberModule, typeof i8.VirtualScrollerModule], [typeof i1.CartPreviewComponent]>;
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<CartPreviewModule>;
|
13
14
|
}
|
@@ -2,7 +2,7 @@ import { FormGroup } from '@angular/forms';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
3
3
|
import { FlowsApiService } from '@veloce/api';
|
4
4
|
import { FlowProperties } from '@veloce/core';
|
5
|
-
import { ContextService,
|
5
|
+
import { ContextService, QuoteDraftService } from '@veloce/sdk/core';
|
6
6
|
import { Observable } from 'rxjs';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
interface FlowPropertiesExt extends FlowProperties {
|
@@ -13,13 +13,11 @@ export declare class DebugComponent {
|
|
13
13
|
private router;
|
14
14
|
private activatedRoute;
|
15
15
|
private context;
|
16
|
-
private flowConfiguration;
|
17
16
|
private quoteDraftService;
|
18
|
-
readonly objectNames: string[];
|
19
17
|
form: FormGroup;
|
20
18
|
selectedFlow?: FlowPropertiesExt;
|
21
19
|
flows$: Observable<FlowPropertiesExt[]>;
|
22
|
-
constructor(flowsApiService: FlowsApiService, router: Router, activatedRoute: ActivatedRoute, context: ContextService,
|
20
|
+
constructor(flowsApiService: FlowsApiService, router: Router, activatedRoute: ActivatedRoute, context: ContextService, quoteDraftService: QuoteDraftService);
|
23
21
|
runFlow(): void;
|
24
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<DebugComponent, never>;
|
25
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<DebugComponent, "vl-flow-debug", never, {}, {}, never, never>;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const getFlowObjectIdPropertyName: (
|
1
|
+
export declare const getFlowObjectIdPropertyName: (id: string) => string;
|