@veloceapps/sdk 7.0.2-28 → 7.0.2-29
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/src/components/header/metrics/metrics.component.mjs +9 -7
- package/fesm2015/veloceapps-sdk.mjs +7 -5
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs +7 -5
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/header/metrics/metrics.component.d.ts +4 -2
package/package.json
CHANGED
@@ -2,7 +2,7 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
2
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
3
3
|
import { FormControl } from '@angular/forms';
|
4
4
|
import { ShoppingCartSettingsApiService } from '@veloceapps/api';
|
5
|
-
import { ContextService, FlowConfigurationService, MetricsCalculationService, QuoteDraftService } from '@veloceapps/sdk/core';
|
5
|
+
import { ContextService, FlowConfigurationService, MetricsCalculationService, QuoteDraftService, RuntimeSettingsService } from '@veloceapps/sdk/core';
|
6
6
|
import { OverlayPanel } from 'primeng/overlaypanel';
|
7
7
|
import { Metric } from '../../../types';
|
8
8
|
import * as i0 from "@angular/core";
|
@@ -13,6 +13,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
|
|
13
13
|
private metricsCalculationService;
|
14
14
|
private flowConfiguration;
|
15
15
|
private shoppingCartSettingsApiService;
|
16
|
+
private runtimeSettings;
|
16
17
|
overlayPanel: OverlayPanel;
|
17
18
|
emptyStateMetrics: {
|
18
19
|
name: string;
|
@@ -23,6 +24,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
|
|
23
24
|
metrics: Metric[];
|
24
25
|
filteredMetrics: Metric[];
|
25
26
|
editingMetric: Metric | undefined;
|
27
|
+
currencySymbol: string;
|
26
28
|
sidebarVisible: boolean;
|
27
29
|
searchControl: FormControl;
|
28
30
|
nameControl: FormControl;
|
@@ -32,7 +34,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
|
|
32
34
|
private metricKeys;
|
33
35
|
private lastSavedMetrics;
|
34
36
|
private destroyed$;
|
35
|
-
constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef, metricsCalculationService: MetricsCalculationService, flowConfiguration: FlowConfigurationService, shoppingCartSettingsApiService: ShoppingCartSettingsApiService);
|
37
|
+
constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef, metricsCalculationService: MetricsCalculationService, flowConfiguration: FlowConfigurationService, shoppingCartSettingsApiService: ShoppingCartSettingsApiService, runtimeSettings: RuntimeSettingsService);
|
36
38
|
ngOnInit(): void;
|
37
39
|
ngOnDestroy(): void;
|
38
40
|
openSidebar(): void;
|