@veloceapps/sdk 7.0.2-26 → 7.0.2-28

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.
@@ -3,7 +3,7 @@ import * as angularForms from '@angular/forms';
3
3
  import { CatalogApiService, ConfigurationSettingsApiService, DeltaApiService, DocumentAttachmentApiService, DocumentTemplatesApiService, GuidedSellingApiService, PicklistsApiService, PriceApiService, QuoteApiService, RampApiService, SalesforceApiService, ShoppingCartSettingsApiService } from '@veloceapps/api';
4
4
  import { ToastService, ToastType } from '@veloceapps/components';
5
5
  import { Operator, Predicate, parseJsonSafely } from '@veloceapps/core';
6
- import { ConfigurationService, ContextService, FlowConfigurationService, LineItemWorker, ProductImagesService, QuoteDraftService } from '@veloceapps/sdk/core';
6
+ import { ConfigurationService, ContextService, FlowConfigurationService, LineItemWorker, ProductImagesService, QuoteDraftService, RuntimeSettingsService } from '@veloceapps/sdk/core';
7
7
  import lodash from 'lodash';
8
8
  import * as rxjs from 'rxjs';
9
9
  import * as rxjsOperators from 'rxjs/operators';
@@ -78,6 +78,7 @@ export declare const vendorMap: {
78
78
  LineItemWorker: typeof LineItemWorker;
79
79
  ProductImagesService: typeof ProductImagesService;
80
80
  ContextService: typeof ContextService;
81
+ RuntimeSettingsService: typeof RuntimeSettingsService;
81
82
  };
82
83
  '@veloceapps/sdk/cms': {
83
84
  TemplatesService: typeof TemplatesService;
@@ -2,3 +2,4 @@ export * from './context.service';
2
2
  export * from './metric-calculation/metric-calculation.service';
3
3
  export * from './product-images.service';
4
4
  export * from './quote-draft.service';
5
+ export * from './runtime-settings.service';
@@ -0,0 +1,18 @@
1
+ import { ConfigurationSettingsApiService } from '@veloceapps/api';
2
+ import { RuntimeConfigurationSettings, RuntimeCurrencySettings } from '@veloceapps/core';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RuntimeSettingsService {
6
+ private configurationSettingsApiService;
7
+ private configurationSettings$;
8
+ private currencySettings$;
9
+ constructor(configurationSettingsApiService: ConfigurationSettingsApiService);
10
+ create(): Observable<void>;
11
+ initCurrency(iso?: string): void;
12
+ getConfigurationSettings(): RuntimeConfigurationSettings;
13
+ getCurrencySettings(): RuntimeCurrencySettings;
14
+ private parseConfigurationSettings;
15
+ private getCurrencySymbol;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeSettingsService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<RuntimeSettingsService>;
18
+ }