@veloceapps/sdk 7.0.2-52 → 7.0.2-54

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloceapps/sdk",
3
- "version": "7.0.2-52",
3
+ "version": "7.0.2-54",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "~15.2.0",
@@ -13,7 +13,7 @@ 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
+ readonly productRowHeight = 65;
17
17
  form: FormGroup<{}>;
18
18
  lockedProductId$: Observable<string | null>;
19
19
  isEditMode$: Observable<boolean>;
@@ -9,6 +9,6 @@ import * as i7 from "primeng/inputnumber";
9
9
  import * as i8 from "primeng/virtualscroller";
10
10
  export declare class CartPreviewModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CartPreviewModule, never>;
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
+ 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 i6.QuantityControlModule], [typeof i1.CartPreviewComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<CartPreviewModule>;
14
14
  }
@@ -37,6 +37,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
37
37
  constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef, metricsCalculationService: MetricsCalculationService, flowConfiguration: FlowConfigurationService, shoppingCartSettingsApiService: ShoppingCartSettingsApiService, runtimeSettings: RuntimeSettingsService);
38
38
  ngOnInit(): void;
39
39
  ngOnDestroy(): void;
40
+ toggleOverlay(event: MouseEvent, overlay: OverlayPanel, target: HTMLElement): void;
40
41
  openSidebar(): void;
41
42
  closeSidebar(): void;
42
43
  getMetricValue(key: string): number;
@@ -44,6 +45,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
44
45
  changeMetricOrder(event: CdkDragDrop<string[]>): void;
45
46
  editMetric(metric: Metric): void;
46
47
  saveMetric(): void;
48
+ cancelMetric(): void;
47
49
  resetToDefault(): void;
48
50
  private collectMetricKeys;
49
51
  private setMetrics;