@veloceapps/sdk 10.0.0-9 → 11.0.0-0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
1
+ import { DataSource } from '@angular/cdk/collections';
1
2
  import * as angularCore from '@angular/core';
2
3
  import * as angularForms from '@angular/forms';
3
- import { DataSource } from '@angular/cdk/collections';
4
4
  import { CatalogApiService, ConfigurationSettingsApiService, ContractedPriceApiService, DeltaApiService, DocumentAttachmentApiService, DocumentTemplatesApiService, GuidedSellingApiService, PicklistsApiService, PriceApiService, QuoteApiService, RampApiService, SalesforceApiService, ShoppingCartSettingsApiService } from '@veloceapps/api';
5
5
  import { ToastService, ToastType } from '@veloceapps/components';
6
- import { ConfigurationContextMode, Operator, parseJsonSafely, Predicate } from '@veloceapps/core';
6
+ import { ConfigurationContextMode, Operator, Predicate, parseJsonSafely, parseJwt } from '@veloceapps/core';
7
7
  import { ActionCodePipe, ConfigurationService, ConfigurationStateService, ContextService, DatePipe, FlowConfigurationService, FlowStateConfigurationService, FlowStateService, IntegrationState, LineItemWorker, NumberPipe, PricePipe, ProductImagesService, QuoteDraftService, RuntimeSettingsService } from '@veloceapps/sdk/core';
8
8
  import lodash from 'lodash';
9
9
  import * as rxjs from 'rxjs';
@@ -26,6 +26,7 @@ export declare const vendorMap: {
26
26
  Predicate: typeof Predicate;
27
27
  parseJsonSafely: typeof parseJsonSafely;
28
28
  ConfigurationContextMode: typeof ConfigurationContextMode;
29
+ parseJwt: typeof parseJwt;
29
30
  };
30
31
  '@veloceapps/components': {
31
32
  ToastService: typeof ToastService;
@@ -57,6 +57,7 @@ export declare class ConfigurationStateService {
57
57
  private executeActionScript;
58
58
  private executeSelectorScript;
59
59
  private executeProcessorScript;
60
+ private runStatelessSelectors;
60
61
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationStateService, never>;
61
62
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationStateService>;
62
63
  }
@@ -22,6 +22,7 @@ export declare class ConfigurationService {
22
22
  private mode;
23
23
  private configurableRamp;
24
24
  private configurationState;
25
+ private previousConfigurationState;
25
26
  private isLoadingSubj$;
26
27
  isLoading$: Observable<boolean>;
27
28
  hasUnsavedChanges: boolean;
@@ -36,6 +37,7 @@ export declare class ConfigurationService {
36
37
  getRuntimeContext(): RuntimeContext;
37
38
  get state$(): Observable<ConfigurePrice | null>;
38
39
  get stateSnapshot(): ConfigurePrice | null;
40
+ get previousStateSnapshot(): ConfigurePrice | null;
39
41
  get contextSnapshot(): ConfigurationContext;
40
42
  get context$(): Observable<ConfigurationContext>;
41
43
  get charges$(): Observable<Dictionary<Charge>>;
@@ -8,6 +8,7 @@ import { ExternalConfigurationProps } from '../../configuration';
8
8
  import { ConfigurationService } from '../../configuration/services/configuration.service';
9
9
  import { FlowUpdateParams } from '../types/update.types';
10
10
  import { FlowUpdateService } from './flow-update.service';
11
+ import { FlowInfoService } from '../../../services';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class FlowConfigurationService {
13
14
  private proceduresApiService;
@@ -15,12 +16,13 @@ export declare class FlowConfigurationService {
15
16
  private quoteDraftService;
16
17
  private updateService;
17
18
  private configurationService;
19
+ private flowInfoService;
18
20
  /**
19
21
  * An event being fired when QuoteDraft was updated
20
22
  */
21
23
  updated$: Observable<void>;
22
24
  private updatedSubj$;
23
- constructor(proceduresApiService: ProceduresApiService, contextService: ContextService, quoteDraftService: QuoteDraftService, updateService: FlowUpdateService, configurationService: ConfigurationService);
25
+ constructor(proceduresApiService: ProceduresApiService, contextService: ContextService, quoteDraftService: QuoteDraftService, updateService: FlowUpdateService, configurationService: ConfigurationService, flowInfoService: FlowInfoService);
24
26
  calculate$(quoteDraft: QuoteDraft): Observable<void>;
25
27
  calculate(quoteDraft: QuoteDraft): void;
26
28
  update$(updates: FlowUpdateParams[]): Observable<QuoteDraft | null>;
@@ -42,6 +44,7 @@ export declare class FlowConfigurationService {
42
44
  get contextSnapshot(): ConfigurationContext;
43
45
  get context$(): Observable<ConfigurationContext>;
44
46
  private handleErrorAndBounceBack;
47
+ private extendedApply$;
45
48
  static ɵfac: i0.ɵɵFactoryDeclaration<FlowConfigurationService, never>;
46
49
  static ɵprov: i0.ɵɵInjectableDeclaration<FlowConfigurationService>;
47
50
  }