@veloceapps/sdk 10.0.0-38 → 10.0.0-39
Sign up to get free protection for your applications and to get access to all the features.
- package/cms/vendor-map.d.ts +2 -3
- package/core/modules/configuration/services/configuration-state.service.d.ts +0 -1
- package/core/modules/configuration/services/configuration.service.d.ts +0 -2
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +1 -4
- package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +3 -3
- package/esm2020/cms/vendor-map.mjs +4 -5
- package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +22 -29
- package/esm2020/core/modules/configuration/services/configuration.service.mjs +2 -13
- package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +5 -16
- package/esm2020/core/services/flow-state.service.mjs +5 -5
- package/fesm2015/veloceapps-sdk-cms.mjs +3 -4
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +29 -57
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +3 -4
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +28 -55
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/package.json +1 -1
package/cms/vendor-map.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { DataSource } from '@angular/cdk/collections';
|
2
1
|
import * as angularCore from '@angular/core';
|
3
2
|
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,
|
6
|
+
import { ConfigurationContextMode, Operator, parseJsonSafely, Predicate } 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,7 +26,6 @@ export declare const vendorMap: {
|
|
26
26
|
Predicate: typeof Predicate;
|
27
27
|
parseJsonSafely: typeof parseJsonSafely;
|
28
28
|
ConfigurationContextMode: typeof ConfigurationContextMode;
|
29
|
-
parseJwt: typeof parseJwt;
|
30
29
|
};
|
31
30
|
'@veloceapps/components': {
|
32
31
|
ToastService: typeof ToastService;
|
@@ -57,7 +57,6 @@ export declare class ConfigurationStateService {
|
|
57
57
|
private executeActionScript;
|
58
58
|
private executeSelectorScript;
|
59
59
|
private executeProcessorScript;
|
60
|
-
private runStatelessSelectors;
|
61
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationStateService, never>;
|
62
61
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationStateService>;
|
63
62
|
}
|
@@ -22,7 +22,6 @@ export declare class ConfigurationService {
|
|
22
22
|
private mode;
|
23
23
|
private configurableRamp;
|
24
24
|
private configurationState;
|
25
|
-
private previousConfigurationState;
|
26
25
|
private isLoadingSubj$;
|
27
26
|
isLoading$: Observable<boolean>;
|
28
27
|
hasUnsavedChanges: boolean;
|
@@ -37,7 +36,6 @@ export declare class ConfigurationService {
|
|
37
36
|
getRuntimeContext(): RuntimeContext;
|
38
37
|
get state$(): Observable<ConfigurePrice | null>;
|
39
38
|
get stateSnapshot(): ConfigurePrice | null;
|
40
|
-
get previousStateSnapshot(): ConfigurePrice | null;
|
41
39
|
get contextSnapshot(): ConfigurationContext;
|
42
40
|
get context$(): Observable<ConfigurationContext>;
|
43
41
|
get charges$(): Observable<Dictionary<Charge>>;
|
@@ -8,7 +8,6 @@ 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';
|
12
11
|
import * as i0 from "@angular/core";
|
13
12
|
export declare class FlowConfigurationService {
|
14
13
|
private proceduresApiService;
|
@@ -16,13 +15,12 @@ export declare class FlowConfigurationService {
|
|
16
15
|
private quoteDraftService;
|
17
16
|
private updateService;
|
18
17
|
private configurationService;
|
19
|
-
private flowInfoService;
|
20
18
|
/**
|
21
19
|
* An event being fired when QuoteDraft was updated
|
22
20
|
*/
|
23
21
|
updated$: Observable<void>;
|
24
22
|
private updatedSubj$;
|
25
|
-
constructor(proceduresApiService: ProceduresApiService, contextService: ContextService, quoteDraftService: QuoteDraftService, updateService: FlowUpdateService, configurationService: ConfigurationService
|
23
|
+
constructor(proceduresApiService: ProceduresApiService, contextService: ContextService, quoteDraftService: QuoteDraftService, updateService: FlowUpdateService, configurationService: ConfigurationService);
|
26
24
|
calculate$(quoteDraft: QuoteDraft): Observable<void>;
|
27
25
|
calculate(quoteDraft: QuoteDraft): void;
|
28
26
|
update$(updates: FlowUpdateParams[]): Observable<QuoteDraft | null>;
|
@@ -44,7 +42,6 @@ export declare class FlowConfigurationService {
|
|
44
42
|
get contextSnapshot(): ConfigurationContext;
|
45
43
|
get context$(): Observable<ConfigurationContext>;
|
46
44
|
private handleErrorAndBounceBack;
|
47
|
-
private extendedApply$;
|
48
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowConfigurationService, never>;
|
49
46
|
static ɵprov: i0.ɵɵInjectableDeclaration<FlowConfigurationService>;
|
50
47
|
}
|