@veloceapps/sdk 10.0.0-9 → 11.0.0-0
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/cms/vendor-map.d.ts +3 -2
- package/core/modules/configuration/services/configuration-state.service.d.ts +1 -0
- package/core/modules/configuration/services/configuration.service.d.ts +2 -0
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +4 -1
- package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +3 -3
- package/esm2020/cms/vendor-map.mjs +5 -4
- package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +29 -22
- package/esm2020/core/modules/configuration/services/configuration.service.mjs +13 -2
- package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +16 -5
- package/esm2020/core/services/flow-state.service.mjs +5 -5
- package/fesm2015/veloceapps-sdk-cms.mjs +4 -3
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +57 -29
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +4 -3
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +55 -28
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/package.json +4 -4
package/cms/vendor-map.d.ts
CHANGED
@@ -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,
|
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
|
}
|