@veloceapps/sdk 7.0.2-41 → 7.0.2-43
Sign up to get free protection for your applications and to get access to all the features.
- package/cms/cms.default.d.ts +2 -2
- package/cms/components/preview/preview.component.d.ts +2 -1
- package/cms/injection-tokens.d.ts +1 -1
- package/cms/modules/migrations/services/migrations.service.d.ts +1 -1
- package/cms/modules/migrations/types/migrations.types.d.ts +1 -1
- package/cms/modules/runtime/services/compilation.service.d.ts +1 -1
- package/cms/modules/runtime/services/runtime.service.d.ts +1 -1
- package/cms/utils/element.utils.d.ts +1 -1
- package/cms/utils/elements-resolver.d.ts +1 -1
- package/cms/vendor-map.d.ts +1 -1
- package/core/modules/configuration/helpers.d.ts +2 -2
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +2 -2
- package/core/types/runtime.types.d.ts +1 -2
- package/core/types/ui-definition.types.d.ts +0 -46
- package/core/utils/ui-definition.utils.d.ts +1 -1
- package/esm2020/cms/cms.default.mjs +1 -1
- package/esm2020/cms/components/preview/preview.component.mjs +1 -1
- package/esm2020/cms/injection-tokens.mjs +1 -1
- package/esm2020/cms/modules/migrations/services/migrations.service.mjs +1 -1
- package/esm2020/cms/modules/migrations/types/migrations.types.mjs +1 -1
- package/esm2020/cms/modules/runtime/services/compilation.service.mjs +1 -1
- package/esm2020/cms/modules/runtime/services/runtime.service.mjs +1 -1
- package/esm2020/cms/utils/element.utils.mjs +1 -1
- package/esm2020/cms/utils/elements-resolver.mjs +1 -1
- package/esm2020/core/modules/configuration/helpers.mjs +1 -1
- package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +2 -2
- package/esm2020/core/modules/configuration/services/runtime-context.service.mjs +6 -12
- package/esm2020/core/types/runtime.types.mjs +1 -1
- package/esm2020/core/types/ui-definition.types.mjs +1 -1
- package/esm2020/core/utils/ui-definition.utils.mjs +1 -1
- package/esm2020/runtime/components/ui-runtime-preview/runtime-preview.component.mjs +2 -2
- package/esm2020/runtime/services/runtime-context.service.mjs +8 -5
- package/esm2020/runtime/services/runtime.service.mjs +1 -1
- package/esm2020/runtime/types/runtime.types.mjs +1 -1
- package/esm2020/src/components/doc-gen/doc-gen.component.mjs +2 -2
- package/esm2020/src/pages/assets/assets.component.mjs +2 -2
- package/esm2020/src/pages/catalog/catalog.component.mjs +3 -3
- package/esm2020/src/pages/product/product.component.mjs +2 -2
- package/esm2020/src/pages/remote/remote.component.mjs +1 -1
- package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +3 -3
- package/esm2020/src/types/flow-customization.types.mjs +1 -1
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +5 -11
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-runtime.mjs +7 -4
- package/fesm2015/veloceapps-sdk-runtime.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +5 -11
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-runtime.mjs +7 -4
- package/fesm2020/veloceapps-sdk-runtime.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
- package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +3 -3
- package/runtime/services/runtime.service.d.ts +2 -2
- package/runtime/types/runtime.types.d.ts +2 -2
- package/src/components/doc-gen/doc-gen.component.d.ts +2 -1
- package/src/pages/assets/assets.component.d.ts +2 -1
- package/src/pages/catalog/catalog.component.d.ts +2 -1
- package/src/pages/product/product.component.d.ts +2 -1
- package/src/pages/remote/remote.component.d.ts +2 -1
- package/src/pages/shopping-cart/shopping-cart.component.d.ts +2 -1
- package/src/types/flow-customization.types.d.ts +1 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { ConfigurationApiService } from '@veloceapps/api';
|
3
|
-
import {
|
3
|
+
import { LegacyUIDefinition, LineItem } from '@veloceapps/core';
|
4
4
|
import { ContextService } from '@veloceapps/sdk/core';
|
5
5
|
import { ProductModelCacheService } from '../../services/product-model-cache.service';
|
6
6
|
import { RuntimeService } from '../../services/runtime.service';
|
@@ -11,7 +11,7 @@ export declare class RuntimePreviewComponent implements OnInit, OnDestroy {
|
|
11
11
|
private configurationApiService;
|
12
12
|
private contextService;
|
13
13
|
modelId?: string;
|
14
|
-
set uiDefinition(value:
|
14
|
+
set uiDefinition(value: LegacyUIDefinition);
|
15
15
|
private _uiDefinition?;
|
16
16
|
private initialisedUiDefinition?;
|
17
17
|
private productModelContainer?;
|
@@ -19,7 +19,7 @@ export declare class RuntimePreviewComponent implements OnInit, OnDestroy {
|
|
19
19
|
constructor(runtimeService: RuntimeService, modelCacheService: ProductModelCacheService, configurationApiService: ConfigurationApiService, contextService: ContextService);
|
20
20
|
ngOnInit(): void;
|
21
21
|
ngOnDestroy(): void;
|
22
|
-
initDefinition(uiDefinition:
|
22
|
+
initDefinition(uiDefinition: LegacyUIDefinition): void;
|
23
23
|
onSolutionUpdated(lineItem: LineItem): void;
|
24
24
|
private launchRuntime;
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimePreviewComponent, never>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { HttpErrorResponse } from '@angular/common/http';
|
2
|
-
import {
|
2
|
+
import { LegacyUIDefinition, LineItem } from '@veloceapps/core';
|
3
3
|
import { ContextService } from '@veloceapps/sdk/core';
|
4
4
|
import { MessageService } from 'primeng/api';
|
5
5
|
import { LegacyRuntimeContext } from '../types';
|
@@ -36,7 +36,7 @@ export declare class RuntimeService {
|
|
36
36
|
setRuntimeContext(runtimeContext: LegacyRuntimeContext): void;
|
37
37
|
getRuntimeContext(): LegacyRuntimeContext | undefined;
|
38
38
|
solutionProcessed(lineItem: LineItem): void;
|
39
|
-
refreshUI(uiDefinition:
|
39
|
+
refreshUI(uiDefinition: LegacyUIDefinition): void;
|
40
40
|
private updateRuntimeContext;
|
41
41
|
private setRuntimeStep;
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeService, never>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { LegacyUIDefinition, LineItem } from '@veloceapps/core';
|
2
2
|
import { RuntimeContext } from '@veloceapps/sdk/core';
|
3
3
|
import { Dictionary } from 'lodash';
|
4
4
|
export interface SolutionReadyAware {
|
@@ -15,5 +15,5 @@ export interface UpdateData {
|
|
15
15
|
options?: Dictionary<any>;
|
16
16
|
}
|
17
17
|
export interface LegacyRuntimeContext extends Omit<RuntimeContext, 'uiDefinition'> {
|
18
|
-
uiDefinition?:
|
18
|
+
uiDefinition?: LegacyUIDefinition;
|
19
19
|
}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
2
2
|
import { UITemplatesApiService } from '@veloceapps/api';
|
3
3
|
import { ToastService } from '@veloceapps/components';
|
4
|
-
import {
|
4
|
+
import { UIDefinition } from '@veloceapps/core';
|
5
|
+
import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
|
5
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
6
7
|
import { FlowDocGenService } from '../../services/doc-gen.service';
|
7
8
|
import * as i0 from "@angular/core";
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { UITemplatesApiService } from '@veloceapps/api';
|
3
3
|
import { ToastService } from '@veloceapps/components';
|
4
|
-
import {
|
4
|
+
import { UIDefinition } from '@veloceapps/core';
|
5
|
+
import { ContextService } from '@veloceapps/sdk/core';
|
5
6
|
import { BehaviorSubject } from 'rxjs';
|
6
7
|
import { FlowCustomization } from '../../types';
|
7
8
|
import * as i0 from "@angular/core";
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { UITemplatesApiService } from '@veloceapps/api';
|
3
3
|
import { ToastService } from '@veloceapps/components';
|
4
|
-
import {
|
4
|
+
import { UIDefinition } from '@veloceapps/core';
|
5
|
+
import { ContextService } from '@veloceapps/sdk/core';
|
5
6
|
import { BehaviorSubject } from 'rxjs';
|
6
7
|
import { FlowCustomization } from '../../types';
|
7
8
|
import * as i0 from "@angular/core";
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { UIDefinition } from '@veloceapps/core';
|
3
|
+
import { ConfigurationRuntimeService, ConfigurationService, ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
|
3
4
|
import { MessageService } from 'primeng/api';
|
4
5
|
import { BehaviorSubject } from 'rxjs';
|
5
6
|
import { FlowCustomization } from '../../types/flow-customization.types';
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { Location } from '@angular/common';
|
2
2
|
import { OnDestroy } from '@angular/core';
|
3
3
|
import { QuoteApiService } from '@veloceapps/api';
|
4
|
+
import { UIDefinition } from '@veloceapps/core';
|
4
5
|
import { IntegrationState } from '@veloceapps/sdk/cms';
|
5
|
-
import { ConfigurationRuntimeService, ConfigurationService, ContextService, QuoteDraftService
|
6
|
+
import { ConfigurationRuntimeService, ConfigurationService, ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
|
6
7
|
import { MessageService } from 'primeng/api';
|
7
8
|
import { BehaviorSubject } from 'rxjs';
|
8
9
|
import * as i0 from "@angular/core";
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { UITemplatesApiService } from '@veloceapps/api';
|
3
3
|
import { ToastService } from '@veloceapps/components';
|
4
|
-
import {
|
4
|
+
import { UIDefinition } from '@veloceapps/core';
|
5
|
+
import { ContextService } from '@veloceapps/sdk/core';
|
5
6
|
import { BehaviorSubject } from 'rxjs';
|
6
7
|
import { FlowCustomization } from '../../types';
|
7
8
|
import * as i0 from "@angular/core";
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
2
|
-
import { TemplateComponentWithAttachments, UIDefinition
|
3
|
-
import { UIDefinition } from '@veloceapps/sdk/core';
|
2
|
+
import { LegacyUIDefinition, TemplateComponentWithAttachments, UIDefinition } from '@veloceapps/core';
|
4
3
|
import { Observable } from 'rxjs';
|
5
4
|
export declare const FLOW_CUSTOMIZATION: InjectionToken<FlowCustomization>;
|
6
5
|
export interface FlowCustomization {
|