@veloceapps/sdk 7.0.2-5 → 7.0.2-51
Sign up to get free protection for your applications and to get access to all the features.
- package/cms/cms.actions.d.ts +30 -1
- package/cms/cms.default.d.ts +2 -2
- package/cms/components/element-children/element-children.component.d.ts +3 -1
- package/cms/components/element-tools-panel/element-tools-panel.component.d.ts +14 -0
- package/cms/components/preview/preview.component.d.ts +6 -5
- package/cms/components/preview/preview.module.d.ts +2 -1
- package/cms/components/preview/preview.types.d.ts +4 -0
- package/cms/definitions/index.d.ts +1 -0
- package/cms/definitions/ui-builder.definitions.d.ts +6 -0
- package/cms/index.d.ts +2 -0
- package/cms/injection-tokens.d.ts +2 -4
- 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/index.d.ts +1 -0
- package/cms/modules/runtime/services/compilation.service.d.ts +3 -2
- package/cms/modules/runtime/services/runtime-editor.service.d.ts +6 -4
- package/cms/modules/runtime/services/runtime.service.d.ts +6 -2
- package/cms/modules/runtime/types/runtime.actions.d.ts +5 -2
- package/cms/plugins/element-hover.plugin.d.ts +33 -0
- package/cms/plugins/page.plugin.d.ts +15 -0
- package/cms/plugins/script.plugin.d.ts +0 -3
- package/cms/types/common.types.d.ts +11 -1
- package/cms/types/index.d.ts +2 -0
- package/cms/types/layouts.types.d.ts +30 -2
- package/cms/types/pages.types.d.ts +1 -0
- package/cms/utils/element.utils.d.ts +1 -1
- package/cms/utils/elements-resolver.d.ts +6 -2
- package/cms/utils/index.d.ts +1 -0
- package/cms/utils/script.utils.d.ts +2 -0
- package/cms/utils/ui-builder-layout.utils.d.ts +4 -0
- package/cms/vendor-map.d.ts +13 -7
- package/core/core.module.d.ts +2 -0
- package/core/directives/directives.module.d.ts +7 -0
- package/core/directives/index.d.ts +2 -0
- package/core/directives/primeng-calendar.directive.d.ts +14 -0
- package/core/index.d.ts +2 -0
- package/core/modules/configuration/helpers.d.ts +2 -2
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +2 -2
- package/core/modules/configuration/services/configuration.service.d.ts +3 -3
- package/core/pipes/date.pipe.d.ts +12 -0
- package/core/pipes/index.d.ts +4 -0
- package/core/pipes/number.pipe.d.ts +10 -0
- package/core/pipes/pipes.module.d.ts +9 -0
- package/core/pipes/price.pipe.d.ts +10 -0
- package/core/services/index.d.ts +1 -0
- package/core/services/runtime-settings.service.d.ts +21 -0
- package/core/types/formatting-settings.types.d.ts +11 -0
- package/core/types/index.d.ts +1 -0
- package/core/types/runtime.types.d.ts +1 -2
- package/core/types/ui-definition.types.d.ts +0 -40
- package/core/utils/line-item.utils.d.ts +7 -2
- package/core/utils/line-item.worker.d.ts +2 -2
- package/core/utils/ui-definition.utils.d.ts +1 -1
- package/esm2020/cms/cms.actions.mjs +42 -2
- package/esm2020/cms/cms.default.mjs +1 -1
- package/esm2020/cms/cms.elements.mjs +16 -4
- package/esm2020/cms/cms.layouts.mjs +73 -13
- package/esm2020/cms/components/element-children/element-children.component.mjs +11 -6
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +2 -2
- package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +35 -0
- package/esm2020/cms/components/preview/preview.component.mjs +18 -16
- package/esm2020/cms/components/preview/preview.module.mjs +22 -4
- package/esm2020/cms/components/preview/preview.types.mjs +1 -1
- package/esm2020/cms/definitions/index.mjs +2 -0
- package/esm2020/cms/definitions/ui-builder.definitions.mjs +18 -0
- package/esm2020/cms/index.mjs +3 -1
- package/esm2020/cms/injection-tokens.mjs +1 -2
- package/esm2020/cms/modules/migrations/migrations.mjs +10 -3
- 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/index.mjs +2 -1
- package/esm2020/cms/modules/runtime/services/compilation.service.mjs +5 -3
- package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +5 -3
- package/esm2020/cms/modules/runtime/services/runtime.service.mjs +41 -6
- package/esm2020/cms/modules/runtime/types/runtime.actions.mjs +1 -1
- package/esm2020/cms/plugins/element-hover.plugin.mjs +121 -0
- package/esm2020/cms/plugins/page.plugin.mjs +37 -0
- package/esm2020/cms/plugins/region.plugin.mjs +3 -2
- package/esm2020/cms/plugins/script.plugin.mjs +6 -40
- package/esm2020/cms/services/integration.state.mjs +3 -6
- package/esm2020/cms/services/io-provider.service.mjs +7 -5
- package/esm2020/cms/types/common.types.mjs +1 -1
- package/esm2020/cms/types/index.mjs +3 -1
- package/esm2020/cms/types/layouts.types.mjs +70 -1
- package/esm2020/cms/types/pages.types.mjs +2 -0
- package/esm2020/cms/utils/element.utils.mjs +1 -1
- package/esm2020/cms/utils/elements-resolver.mjs +22 -8
- package/esm2020/cms/utils/index.mjs +2 -1
- package/esm2020/cms/utils/script.utils.mjs +42 -0
- package/esm2020/cms/utils/ui-builder-layout.utils.mjs +46 -0
- package/esm2020/cms/vendor-map.mjs +5 -3
- package/esm2020/core/core.module.mjs +33 -4
- package/esm2020/core/directives/directives.module.mjs +16 -0
- package/esm2020/core/directives/index.mjs +3 -0
- package/esm2020/core/directives/primeng-calendar.directive.mjs +41 -0
- package/esm2020/core/index.mjs +3 -1
- package/esm2020/core/modules/configuration/configuration.module.mjs +2 -2
- package/esm2020/core/modules/configuration/helpers.mjs +3 -6
- package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +3 -2
- package/esm2020/core/modules/configuration/services/configuration.service.mjs +6 -5
- package/esm2020/core/modules/configuration/services/runtime-context.service.mjs +6 -12
- package/esm2020/core/pipes/date.pipe.mjs +38 -0
- package/esm2020/core/pipes/index.mjs +5 -0
- package/esm2020/core/pipes/number.pipe.mjs +27 -0
- package/esm2020/core/pipes/pipes.module.mjs +18 -0
- package/esm2020/core/pipes/price.pipe.mjs +30 -0
- package/esm2020/core/services/index.mjs +2 -1
- package/esm2020/core/services/runtime-settings.service.mjs +88 -0
- package/esm2020/core/types/formatting-settings.types.mjs +3 -0
- package/esm2020/core/types/index.mjs +2 -1
- package/esm2020/core/types/runtime.types.mjs +1 -1
- package/esm2020/core/types/ui-definition.types.mjs +1 -1
- package/esm2020/core/utils/line-item.utils.mjs +38 -16
- package/esm2020/core/utils/line-item.worker.mjs +5 -5
- 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/components/header/header.component.mjs +39 -33
- package/esm2020/src/components/header/header.module.mjs +7 -3
- package/esm2020/src/components/header/metrics/metrics.component.mjs +9 -7
- package/esm2020/src/components/header/metrics/metrics.module.mjs +7 -3
- package/esm2020/src/flow-routing.module.mjs +1 -1
- package/esm2020/src/guards/context.guard.mjs +11 -8
- 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 +774 -356
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +321 -43
- 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 +70 -52
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +857 -358
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +314 -43
- 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 +68 -51
- 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/components/header/header.component.d.ts +2 -3
- package/src/components/header/header.module.d.ts +2 -1
- package/src/components/header/metrics/metrics.component.d.ts +4 -2
- package/src/components/header/metrics/metrics.module.d.ts +2 -1
- package/src/guards/context.guard.d.ts +3 -2
- 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,5 +1,5 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { QuoteApiService, SalesforceApiService
|
2
|
+
import { QuoteApiService, SalesforceApiService } from '@veloceapps/api';
|
3
3
|
import { ContextProperties, LineItem, PriceList } from '@veloceapps/core';
|
4
4
|
import { IntegrationState } from '@veloceapps/sdk/cms';
|
5
5
|
import { ContextService, FlowConfigurationService, QuoteDraftService } from '@veloceapps/sdk/core';
|
@@ -19,7 +19,6 @@ export declare class FlowHeaderComponent implements OnInit, OnDestroy {
|
|
19
19
|
private routerService;
|
20
20
|
private dialogService;
|
21
21
|
private integrationState;
|
22
|
-
private shoppingCartSettingsApiService;
|
23
22
|
objectName$: Observable<string>;
|
24
23
|
contextProperties$: Observable<ContextProperties>;
|
25
24
|
activePriceList$: Observable<PriceList | null>;
|
@@ -39,7 +38,7 @@ export declare class FlowHeaderComponent implements OnInit, OnDestroy {
|
|
39
38
|
assetPriceLists$: BehaviorSubject<PriceList[]>;
|
40
39
|
private mode$;
|
41
40
|
private destroyed$;
|
42
|
-
constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, quoteApiService: QuoteApiService, sfApiService: SalesforceApiService, flowConfiguration: FlowConfigurationService, routerService: FlowRouterService, dialogService: FlowDialogService, integrationState: IntegrationState
|
41
|
+
constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, quoteApiService: QuoteApiService, sfApiService: SalesforceApiService, flowConfiguration: FlowConfigurationService, routerService: FlowRouterService, dialogService: FlowDialogService, integrationState: IntegrationState);
|
43
42
|
ngOnInit(): void;
|
44
43
|
ngOnDestroy(): void;
|
45
44
|
get isAccountMode(): boolean;
|
@@ -8,8 +8,9 @@ import * as i6 from "primeng/button";
|
|
8
8
|
import * as i7 from "./cart-overlay/cart-preview.module";
|
9
9
|
import * as i8 from "primeng/splitbutton";
|
10
10
|
import * as i9 from "./metrics/metrics.module";
|
11
|
+
import * as i10 from "@veloceapps/sdk/core";
|
11
12
|
export declare class FlowHeaderModule {
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderModule, never>;
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowHeaderModule, [typeof i1.FlowHeaderComponent], [typeof i2.CommonModule, typeof i3.OverlayPanelModule, typeof i4.LetDirectiveModule, typeof i5.TooltipModule, typeof i6.ButtonModule, typeof i7.CartPreviewModule, typeof i8.SplitButtonModule, typeof i9.MetricsModule], [typeof i1.FlowHeaderComponent]>;
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowHeaderModule, [typeof i1.FlowHeaderComponent], [typeof i2.CommonModule, typeof i3.OverlayPanelModule, typeof i4.LetDirectiveModule, typeof i5.TooltipModule, typeof i6.ButtonModule, typeof i7.CartPreviewModule, typeof i8.SplitButtonModule, typeof i9.MetricsModule, typeof i10.SdkPipesModule], [typeof i1.FlowHeaderComponent]>;
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowHeaderModule>;
|
15
16
|
}
|
@@ -2,7 +2,7 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
2
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
3
3
|
import { FormControl } from '@angular/forms';
|
4
4
|
import { ShoppingCartSettingsApiService } from '@veloceapps/api';
|
5
|
-
import { ContextService, FlowConfigurationService, MetricsCalculationService, QuoteDraftService } from '@veloceapps/sdk/core';
|
5
|
+
import { ContextService, FlowConfigurationService, MetricsCalculationService, QuoteDraftService, RuntimeSettingsService } from '@veloceapps/sdk/core';
|
6
6
|
import { OverlayPanel } from 'primeng/overlaypanel';
|
7
7
|
import { Metric } from '../../../types';
|
8
8
|
import * as i0 from "@angular/core";
|
@@ -13,6 +13,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
|
|
13
13
|
private metricsCalculationService;
|
14
14
|
private flowConfiguration;
|
15
15
|
private shoppingCartSettingsApiService;
|
16
|
+
private runtimeSettings;
|
16
17
|
overlayPanel: OverlayPanel;
|
17
18
|
emptyStateMetrics: {
|
18
19
|
name: string;
|
@@ -23,6 +24,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
|
|
23
24
|
metrics: Metric[];
|
24
25
|
filteredMetrics: Metric[];
|
25
26
|
editingMetric: Metric | undefined;
|
27
|
+
currencySymbol: string;
|
26
28
|
sidebarVisible: boolean;
|
27
29
|
searchControl: FormControl;
|
28
30
|
nameControl: FormControl;
|
@@ -32,7 +34,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
|
|
32
34
|
private metricKeys;
|
33
35
|
private lastSavedMetrics;
|
34
36
|
private destroyed$;
|
35
|
-
constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef, metricsCalculationService: MetricsCalculationService, flowConfiguration: FlowConfigurationService, shoppingCartSettingsApiService: ShoppingCartSettingsApiService);
|
37
|
+
constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef, metricsCalculationService: MetricsCalculationService, flowConfiguration: FlowConfigurationService, shoppingCartSettingsApiService: ShoppingCartSettingsApiService, runtimeSettings: RuntimeSettingsService);
|
36
38
|
ngOnInit(): void;
|
37
39
|
ngOnDestroy(): void;
|
38
40
|
openSidebar(): void;
|
@@ -10,8 +10,9 @@ import * as i8 from "primeng/inputtext";
|
|
10
10
|
import * as i9 from "primeng/checkbox";
|
11
11
|
import * as i10 from "@veloceapps/components";
|
12
12
|
import * as i11 from "primeng/virtualscroller";
|
13
|
+
import * as i12 from "@veloceapps/sdk/core";
|
13
14
|
export declare class MetricsModule {
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MetricsModule, never>;
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MetricsModule, [typeof i1.MetricsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DragDropModule, typeof i5.ButtonModule, typeof i6.OverlayPanelModule, typeof i7.SidebarModule, typeof i8.InputTextModule, typeof i9.CheckboxModule, typeof i10.LetDirectiveModule, typeof i11.VirtualScrollerModule, typeof i10.ErrorTooltipModule, typeof i10.HiddenTextTooltipModule], [typeof i1.MetricsComponent]>;
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MetricsModule, [typeof i1.MetricsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DragDropModule, typeof i5.ButtonModule, typeof i6.OverlayPanelModule, typeof i7.SidebarModule, typeof i8.InputTextModule, typeof i9.CheckboxModule, typeof i10.LetDirectiveModule, typeof i11.VirtualScrollerModule, typeof i10.ErrorTooltipModule, typeof i10.HiddenTextTooltipModule, typeof i12.SdkPipesModule], [typeof i1.MetricsComponent]>;
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<MetricsModule>;
|
17
18
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router } from '@angular/router';
|
2
|
-
import { ContextService } from '@veloceapps/sdk/core';
|
2
|
+
import { ContextService, RuntimeSettingsService } from '@veloceapps/sdk/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import { FlowRouterService } from '../services/flow-router.service';
|
5
5
|
import * as i0 from "@angular/core";
|
@@ -7,7 +7,8 @@ export declare class ContextGuard implements CanActivate, CanActivateChild {
|
|
7
7
|
private router;
|
8
8
|
private routerService;
|
9
9
|
private contextService;
|
10
|
-
|
10
|
+
private runtimeSettingsService;
|
11
|
+
constructor(router: Router, routerService: FlowRouterService, contextService: ContextService, runtimeSettingsService: RuntimeSettingsService);
|
11
12
|
checkActivation(route: ActivatedRouteSnapshot): Observable<boolean>;
|
12
13
|
canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
13
14
|
canActivateChild(childRoute: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
@@ -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 {
|