@veloceapps/sdk 4.0.21-0 → 5.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/bundles/{veloceapps-sdk-cms.umd.js → veloce-sdk-cms.umd.js} +74 -147
- package/bundles/veloce-sdk-cms.umd.js.map +1 -0
- package/bundles/{veloceapps-sdk-core.umd.js → veloce-sdk-core.umd.js} +44 -111
- package/bundles/veloce-sdk-core.umd.js.map +1 -0
- package/bundles/{veloceapps-sdk-runtime.umd.js → veloce-sdk-runtime.umd.js} +146 -213
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -0
- package/bundles/{veloceapps-sdk.umd.js → veloce-sdk.umd.js} +130 -197
- package/bundles/veloce-sdk.umd.js.map +1 -0
- package/cms/cms.default.d.ts +2 -2
- package/cms/components/element-renderer/element-renderer.component.d.ts +1 -1
- package/cms/components/preview/preview.component.d.ts +1 -1
- package/cms/components/preview/preview.module.d.ts +1 -1
- package/cms/injection-tokens.d.ts +1 -1
- package/cms/launcher.module.d.ts +3 -3
- package/cms/modules/federated/federated.module.d.ts +1 -1
- package/cms/package.json +7 -7
- package/cms/services/launcher.service.d.ts +1 -1
- package/cms/types/configuration.types.d.ts +1 -1
- package/cms/utils/element.utils.d.ts +1 -1
- package/cms/utils/elements-resolver.d.ts +1 -1
- package/{veloceapps-sdk.d.ts → cms/veloce-sdk-cms.d.ts} +1 -1
- package/cms/vendor-map.d.ts +78 -81
- package/core/modules/configuration/configuration.module.d.ts +1 -1
- package/core/modules/configuration/helpers.d.ts +1 -1
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +3 -3
- package/core/modules/configuration/services/configuration.service.d.ts +2 -2
- package/core/modules/configuration/services/runtime-context.service.d.ts +1 -1
- package/core/modules/configuration/types/configuration-runtime.types.d.ts +1 -1
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +2 -2
- package/core/modules/flow-configuration/services/flow-update.service.d.ts +1 -1
- package/core/package.json +7 -7
- package/core/services/context.service.d.ts +2 -2
- package/core/services/product-images.service.d.ts +1 -1
- package/core/services/quote-draft.service.d.ts +2 -2
- package/core/types/quote-states.types.d.ts +1 -1
- package/core/types/runtime.types.d.ts +1 -1
- package/core/utils/line-item.utils.d.ts +1 -1
- package/core/utils/line-item.worker.d.ts +1 -1
- package/{cms/veloceapps-sdk-cms.d.ts → core/veloce-sdk-core.d.ts} +1 -1
- package/esm2015/cms/cms.default.js +1 -1
- package/esm2015/cms/components/element-children/element-children.component.js +3 -3
- package/esm2015/cms/components/element-children/element-children.module.js +4 -4
- package/esm2015/cms/components/element-renderer/element-renderer.component.js +6 -6
- package/esm2015/cms/components/element-renderer/element-renderer.module.js +4 -4
- package/esm2015/cms/components/plugin.component.js +3 -3
- package/esm2015/cms/components/preview/preview.component.js +6 -6
- package/esm2015/cms/components/preview/preview.module.js +6 -6
- package/esm2015/cms/directives/custom-template.directive.js +3 -3
- package/esm2015/cms/injection-tokens.js +1 -1
- package/esm2015/cms/launcher.module.js +8 -8
- package/esm2015/cms/modules/federated/federated.component.js +4 -4
- package/esm2015/cms/modules/federated/federated.module.js +6 -6
- package/esm2015/cms/plugins/configuration.plugin.js +5 -5
- package/esm2015/cms/plugins/io.plugin.js +3 -3
- package/esm2015/cms/plugins/script.plugin.js +5 -5
- package/esm2015/cms/services/dynamic-module.service.js +3 -3
- package/esm2015/cms/services/element-context.service.js +3 -3
- package/esm2015/cms/services/integration.state.js +3 -3
- package/esm2015/cms/services/io-provider.service.js +3 -3
- package/esm2015/cms/services/launcher.service.js +4 -4
- package/esm2015/cms/services/templates.service.js +3 -3
- package/esm2015/cms/types/configuration.types.js +1 -1
- package/esm2015/cms/utils/element.utils.js +1 -1
- package/esm2015/cms/utils/elements-resolver.js +1 -1
- package/esm2015/cms/veloce-sdk-cms.js +5 -0
- package/esm2015/cms/vendor-map.js +7 -9
- package/esm2015/core/core.module.js +4 -4
- package/esm2015/core/modules/configuration/configuration.module.js +7 -7
- package/esm2015/core/modules/configuration/helpers.js +2 -2
- package/esm2015/core/modules/configuration/services/configuration-runtime.service.js +6 -6
- package/esm2015/core/modules/configuration/services/configuration.service.js +7 -7
- package/esm2015/core/modules/configuration/services/runtime-context.service.js +6 -6
- package/esm2015/core/modules/configuration/types/configuration-runtime.types.js +1 -1
- package/esm2015/core/modules/flow-configuration/flow-configuration.module.js +6 -6
- package/esm2015/core/modules/flow-configuration/services/flow-configuration.service.js +5 -5
- package/esm2015/core/modules/flow-configuration/services/flow-update.service.js +5 -5
- package/esm2015/core/services/context.service.js +6 -6
- package/esm2015/core/services/product-images.service.js +5 -5
- package/esm2015/core/services/quote-draft.service.js +6 -6
- package/esm2015/core/types/quote-states.types.js +1 -1
- package/esm2015/core/types/runtime.types.js +1 -1
- package/esm2015/core/utils/line-item.utils.js +2 -2
- package/esm2015/core/utils/line-item.worker.js +1 -1
- package/esm2015/core/veloce-sdk-core.js +5 -0
- package/esm2015/runtime/components/component-preview/component-preview.component.js +7 -7
- package/esm2015/runtime/components/section-renderer/section-renderer.component.js +4 -4
- package/esm2015/runtime/components/ui-runtime/runtime.component.js +8 -8
- package/esm2015/runtime/components/ui-runtime-preview/runtime-preview.component.js +8 -8
- package/esm2015/runtime/execution/components/children-placeholder/children-placeholder.component.js +8 -8
- package/esm2015/runtime/execution/components/context-provider/context-provider.component.js +5 -5
- package/esm2015/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.js +4 -4
- package/esm2015/runtime/execution/components/federated/federated.component.js +4 -4
- package/esm2015/runtime/execution/components/velo-attribute/velo-attribute.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-multiselect/velo-multiselect.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.js +4 -4
- package/esm2015/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.js +6 -6
- package/esm2015/runtime/execution/components/velo-port-radio/velo-port-radio.component.js +4 -4
- package/esm2015/runtime/execution/components/velo-type/velo-type.component.js +5 -5
- package/esm2015/runtime/execution/directives/section-script.directive.js +6 -6
- package/esm2015/runtime/execution/directives/sf-query.directive.js +5 -5
- package/esm2015/runtime/execution/directives/velo-attribute.directive.js +5 -5
- package/esm2015/runtime/execution/directives/velo-port.directive.js +21 -21
- package/esm2015/runtime/execution/directives/vl-approval.directive.js +5 -5
- package/esm2015/runtime/execution/directives/vl-document-attachments.directive.js +5 -5
- package/esm2015/runtime/execution/directives/vl-document-templates.directive.js +5 -5
- package/esm2015/runtime/execution/directives/vl-quote.directive.js +6 -6
- package/esm2015/runtime/execution/directives/vl-ramp.directive.js +6 -6
- package/esm2015/runtime/execution/runtime-execution.module.js +10 -10
- package/esm2015/runtime/runtime.module.js +10 -10
- package/esm2015/runtime/services/cart.service.js +6 -6
- package/esm2015/runtime/services/collapsible-state.service.js +3 -3
- package/esm2015/runtime/services/configuration.service.js +9 -9
- package/esm2015/runtime/services/current-state.service.js +4 -4
- package/esm2015/runtime/services/form-scope.service.js +3 -3
- package/esm2015/runtime/services/product-model-cache.service.js +5 -5
- package/esm2015/runtime/services/runtime-context.service.js +8 -8
- package/esm2015/runtime/services/runtime-form.service.js +5 -5
- package/esm2015/runtime/services/runtime.service.js +6 -6
- package/esm2015/runtime/services/section-helper.service.js +5 -5
- package/esm2015/runtime/services/section-scope.service.js +4 -4
- package/esm2015/runtime/services/section-store.service.js +4 -4
- package/esm2015/runtime/services/section.service.js +9 -9
- package/esm2015/runtime/types/bound-data.types.js +1 -1
- package/esm2015/runtime/types/runtime.types.js +1 -1
- package/esm2015/runtime/types/script-registry.types.js +2 -2
- package/esm2015/runtime/utils/line-item.util.js +2 -2
- package/esm2015/runtime/utils/section.utils.js +2 -2
- package/esm2015/runtime/utils/sections-binder.helper.js +2 -2
- package/esm2015/runtime/veloce-sdk-runtime.js +5 -0
- package/esm2015/src/components/dialog/dialog.component.js +3 -3
- package/esm2015/src/components/dialog/dialog.module.js +4 -4
- package/esm2015/src/components/doc-gen/doc-gen.component.js +11 -11
- package/esm2015/src/components/doc-gen/doc-gen.module.js +6 -6
- package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +6 -6
- package/esm2015/src/components/header/cart-overlay/cart-preview.module.js +6 -6
- package/esm2015/src/components/header/header.component.js +10 -10
- package/esm2015/src/components/header/header.module.js +6 -6
- package/esm2015/src/flow-routing.module.js +4 -4
- package/esm2015/src/flow.component.js +7 -7
- package/esm2015/src/flow.module.js +9 -9
- package/esm2015/src/guards/context.guard.js +6 -6
- package/esm2015/src/guards/product-unload.guard.js +5 -5
- package/esm2015/src/guards/root.guard.js +3 -3
- package/esm2015/src/pages/catalog/catalog.component.js +10 -10
- package/esm2015/src/pages/catalog/catalog.module.js +7 -7
- package/esm2015/src/pages/debug/debug.component.js +6 -6
- package/esm2015/src/pages/debug/debug.module.js +4 -4
- package/esm2015/src/pages/empty-account/empty-account.component.js +4 -4
- package/esm2015/src/pages/empty-account/empty-account.module.js +7 -7
- package/esm2015/src/pages/legacy-product/legacy-product.component.js +9 -9
- package/esm2015/src/pages/legacy-product/legacy-product.module.js +6 -6
- package/esm2015/src/pages/product/product.component.js +7 -7
- package/esm2015/src/pages/product/product.module.js +7 -7
- package/esm2015/src/pages/record-not-found/record-not-found.component.js +3 -3
- package/esm2015/src/pages/record-not-found/record-not-found.module.js +4 -4
- package/esm2015/src/pages/remote/remote.component.js +10 -10
- package/esm2015/src/pages/remote/remote.module.js +7 -7
- package/esm2015/src/pages/remote/remote.types.js +1 -1
- package/esm2015/src/pages/shopping-cart/shopping-cart.component.js +10 -10
- package/esm2015/src/pages/shopping-cart/shopping-cart.module.js +7 -7
- package/esm2015/src/resolvers/flow.resolver.js +6 -6
- package/esm2015/src/resolvers/quote.resolver.js +6 -6
- package/esm2015/src/services/doc-gen.service.js +6 -6
- package/esm2015/src/services/flow-dialog.service.js +5 -5
- package/esm2015/src/services/flow-router.service.js +5 -5
- package/esm2015/src/services/flow.service.js +7 -7
- package/esm2015/src/types/context-route.types.js +1 -1
- package/esm2015/src/types/flow-customization.types.js +1 -1
- package/esm2015/src/utils/flow.utils.js +2 -2
- package/esm2015/veloce-sdk.js +5 -0
- package/fesm2015/{veloceapps-sdk-cms.js → veloce-sdk-cms.js} +73 -75
- package/fesm2015/veloce-sdk-cms.js.map +1 -0
- package/fesm2015/{veloceapps-sdk-core.js → veloce-sdk-core.js} +41 -41
- package/fesm2015/veloce-sdk-core.js.map +1 -0
- package/fesm2015/{veloceapps-sdk-runtime.js → veloce-sdk-runtime.js} +148 -148
- package/fesm2015/veloce-sdk-runtime.js.map +1 -0
- package/fesm2015/{veloceapps-sdk.js → veloce-sdk.js} +134 -134
- package/fesm2015/veloce-sdk.js.map +1 -0
- package/package.json +12 -13
- package/runtime/components/component-preview/component-preview.component.d.ts +1 -1
- package/runtime/components/section-renderer/section-renderer.component.d.ts +1 -1
- package/runtime/components/ui-runtime/runtime.component.d.ts +2 -2
- package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +3 -3
- package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +1 -1
- package/runtime/execution/components/context-provider/context-provider.component.d.ts +1 -1
- package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +1 -1
- package/runtime/execution/components/federated/federated.component.d.ts +1 -1
- package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +1 -1
- package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +1 -1
- package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +1 -1
- package/runtime/execution/components/velo-type/velo-type.component.d.ts +1 -1
- package/runtime/execution/directives/section-script.directive.d.ts +1 -1
- package/runtime/execution/directives/sf-query.directive.d.ts +2 -2
- package/runtime/execution/directives/velo-attribute.directive.d.ts +1 -1
- package/runtime/execution/directives/velo-port.directive.d.ts +1 -1
- package/runtime/execution/directives/vl-approval.directive.d.ts +2 -2
- package/runtime/execution/directives/vl-document-attachments.directive.d.ts +2 -2
- package/runtime/execution/directives/vl-document-templates.directive.d.ts +2 -2
- package/runtime/execution/directives/vl-quote.directive.d.ts +2 -2
- package/runtime/execution/directives/vl-ramp.directive.d.ts +3 -3
- package/runtime/execution/runtime-execution.module.d.ts +5 -5
- package/runtime/package.json +7 -7
- package/runtime/runtime.module.d.ts +5 -5
- package/runtime/services/cart.service.d.ts +3 -3
- package/runtime/services/configuration.service.d.ts +3 -3
- package/runtime/services/current-state.service.d.ts +1 -1
- package/runtime/services/product-model-cache.service.d.ts +2 -2
- package/runtime/services/runtime-context.service.d.ts +2 -2
- package/runtime/services/runtime-form.service.d.ts +1 -1
- package/runtime/services/runtime.service.d.ts +2 -2
- package/runtime/services/section-helper.service.d.ts +1 -1
- package/runtime/services/section-scope.service.d.ts +1 -1
- package/runtime/services/section-store.service.d.ts +1 -1
- package/runtime/services/section.service.d.ts +1 -1
- package/runtime/types/bound-data.types.d.ts +1 -1
- package/runtime/types/runtime.types.d.ts +2 -2
- package/runtime/utils/line-item.util.d.ts +1 -1
- package/runtime/utils/section.utils.d.ts +1 -1
- package/runtime/utils/sections-binder.helper.d.ts +1 -1
- package/{core/veloceapps-sdk-core.d.ts → runtime/veloce-sdk-runtime.d.ts} +1 -1
- package/src/components/doc-gen/doc-gen.component.d.ts +3 -3
- package/src/components/doc-gen/doc-gen.module.d.ts +1 -1
- package/src/components/header/cart-overlay/cart-preview.component.d.ts +1 -1
- package/src/components/header/cart-overlay/cart-preview.module.d.ts +1 -1
- package/src/components/header/header.component.d.ts +4 -4
- package/src/components/header/header.module.d.ts +1 -1
- package/src/flow.component.d.ts +2 -2
- package/src/flow.module.d.ts +4 -4
- package/src/guards/context.guard.d.ts +1 -1
- package/src/guards/product-unload.guard.d.ts +1 -1
- package/src/pages/catalog/catalog.component.d.ts +3 -3
- package/src/pages/catalog/catalog.module.d.ts +2 -2
- package/src/pages/debug/debug.component.d.ts +3 -3
- package/src/pages/empty-account/empty-account.module.d.ts +2 -2
- package/src/pages/legacy-product/legacy-product.component.d.ts +4 -4
- package/src/pages/legacy-product/legacy-product.module.d.ts +1 -1
- package/src/pages/product/product.component.d.ts +1 -1
- package/src/pages/product/product.module.d.ts +2 -2
- package/src/pages/remote/remote.component.d.ts +3 -3
- package/src/pages/remote/remote.module.d.ts +2 -2
- package/src/pages/remote/remote.types.d.ts +1 -1
- package/src/pages/shopping-cart/shopping-cart.component.d.ts +3 -3
- package/src/pages/shopping-cart/shopping-cart.module.d.ts +2 -2
- package/src/resolvers/flow.resolver.d.ts +2 -2
- package/src/resolvers/quote.resolver.d.ts +1 -1
- package/src/services/doc-gen.service.d.ts +1 -1
- package/src/services/flow-dialog.service.d.ts +1 -1
- package/src/services/flow-router.service.d.ts +1 -1
- package/src/services/flow.service.d.ts +2 -2
- package/src/types/context-route.types.d.ts +1 -1
- package/src/types/flow-customization.types.d.ts +2 -2
- package/src/utils/flow.utils.d.ts +1 -1
- package/{runtime/veloceapps-sdk-runtime.d.ts → veloce-sdk.d.ts} +1 -1
- package/bundles/veloceapps-sdk-cms.umd.js.map +0 -1
- package/bundles/veloceapps-sdk-core.umd.js.map +0 -1
- package/bundles/veloceapps-sdk-runtime.umd.js.map +0 -1
- package/bundles/veloceapps-sdk.umd.js.map +0 -1
- package/esm2015/cms/veloceapps-sdk-cms.js +0 -5
- package/esm2015/core/veloceapps-sdk-core.js +0 -5
- package/esm2015/runtime/veloceapps-sdk-runtime.js +0 -5
- package/esm2015/veloceapps-sdk.js +0 -5
- package/fesm2015/veloceapps-sdk-cms.js.map +0 -1
- package/fesm2015/veloceapps-sdk-core.js.map +0 -1
- package/fesm2015/veloceapps-sdk-runtime.js.map +0 -1
- package/fesm2015/veloceapps-sdk.js.map +0 -1
package/cms/cms.default.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { UIDefinitionType } from '@
|
1
|
+
import { UIDefinitionType } from '@veloce/sdk/core';
|
2
2
|
import { Plugin } from './engine/models/plugin';
|
3
3
|
export declare const DEFAULT_PLUGINS: {
|
4
|
-
[key in UIDefinitionType]:
|
4
|
+
[key in UIDefinitionType]: typeof Plugin[];
|
5
5
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, Injector, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
2
|
-
import { ConfigurationService } from '@
|
2
|
+
import { ConfigurationService } from '@veloce/sdk/core';
|
3
3
|
import { DynamicModuleService } from '../../services/dynamic-module.service';
|
4
4
|
import { ElementContextService } from '../../services/element-context.service';
|
5
5
|
import { IOProviderService } from '../../services/io-provider.service';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { ConfigurationRuntimeService, ConfigurationService, UIDefinition } from '@
|
2
|
+
import { ConfigurationRuntimeService, ConfigurationService, UIDefinition } from '@veloce/sdk/core';
|
3
3
|
import { MessageService } from 'primeng/api';
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
5
5
|
import { IntegrationState } from '../../services';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./preview.component";
|
3
3
|
import * as i2 from "@angular/common";
|
4
|
-
import * as i3 from "@
|
4
|
+
import * as i3 from "@veloce/components";
|
5
5
|
import * as i4 from "../element-renderer/element-renderer.module";
|
6
6
|
import * as i5 from "../element-children/element-children.module";
|
7
7
|
export declare class PreviewModule {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
2
|
-
import { UIDefinitionMetadata } from '@
|
2
|
+
import { UIDefinitionMetadata } from '@veloce/sdk/core';
|
3
3
|
import { Dictionary } from 'lodash';
|
4
4
|
import { Plugin } from './engine/models/plugin';
|
5
5
|
import { ElementConfig, ElementMetadata } from './types/common.types';
|
package/cms/launcher.module.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "@angular/common";
|
3
|
-
import * as i2 from "@
|
4
|
-
import * as i3 from "@
|
5
|
-
import * as i4 from "@
|
3
|
+
import * as i2 from "@veloce/core";
|
4
|
+
import * as i3 from "@veloce/api";
|
5
|
+
import * as i4 from "@veloce/sdk/core";
|
6
6
|
export declare class LauncherModule {
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LauncherModule, never>;
|
8
8
|
static ɵmod: i0.ɵɵNgModuleDeclaration<LauncherModule, never, [typeof i1.CommonModule, typeof i2.CoreModule, typeof i3.ApiModule, typeof i4.SdkCoreModule], never>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./federated.component";
|
3
3
|
import * as i2 from "@angular/common";
|
4
|
-
import * as i3 from "@
|
4
|
+
import * as i3 from "@veloce/components";
|
5
5
|
export declare class FederatedModule {
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<FederatedModule, never>;
|
7
7
|
static ɵmod: i0.ɵɵNgModuleDeclaration<FederatedModule, [typeof i1.FederatedComponent], [typeof i2.CommonModule, typeof i3.LoaderModule], [typeof i1.FederatedComponent]>;
|
package/cms/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
|
-
"name": "@
|
2
|
+
"name": "@veloce/sdk/cms",
|
3
3
|
"sideEffects": false,
|
4
|
-
"main": "../bundles/
|
5
|
-
"module": "../fesm2015/
|
6
|
-
"es2015": "../fesm2015/
|
7
|
-
"esm2015": "../esm2015/cms/
|
8
|
-
"fesm2015": "../fesm2015/
|
9
|
-
"typings": "
|
4
|
+
"main": "../bundles/veloce-sdk-cms.umd.js",
|
5
|
+
"module": "../fesm2015/veloce-sdk-cms.js",
|
6
|
+
"es2015": "../fesm2015/veloce-sdk-cms.js",
|
7
|
+
"esm2015": "../esm2015/cms/veloce-sdk-cms.js",
|
8
|
+
"fesm2015": "../fesm2015/veloce-sdk-cms.js",
|
9
|
+
"typings": "veloce-sdk-cms.d.ts"
|
10
10
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Compiler, ModuleWithComponentFactories, NgModule } from '@angular/core';
|
2
|
-
import { UIDefinitionMetadata } from '@
|
2
|
+
import { UIDefinitionMetadata } from '@veloce/sdk/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import { ElementMetadata } from '../types';
|
5
5
|
import { DynamicModuleService } from './dynamic-module.service';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { UIElement } from '@
|
1
|
+
import { UIElement } from '@veloce/sdk/core';
|
2
2
|
import { ElementConfig, ElementDefaultMetadata, ElementMetadata, ELEMENT_TYPE } from '../types';
|
3
3
|
export declare class UiBuildError extends Error {
|
4
4
|
affectedMetadata: ElementMetadata;
|
package/cms/vendor-map.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as angularCore from '@angular/core';
|
2
2
|
import * as angularForms from '@angular/forms';
|
3
|
-
import { CatalogApiService, DeltaApiService, DocumentAttachmentApiService, DocumentTemplatesApiService, PicklistsApiService, PriceApiService, QuoteApiService, RampApiService, SalesforceApiService } from '@
|
4
|
-
import { ConfigurationService, FlowConfigurationService, LineItemWorker, ProductImagesService, QuoteDraftService } from '@
|
3
|
+
import { CatalogApiService, DeltaApiService, DocumentAttachmentApiService, DocumentTemplatesApiService, PicklistsApiService, PriceApiService, QuoteApiService, RampApiService, SalesforceApiService } from '@veloce/api';
|
4
|
+
import { ConfigurationService, FlowConfigurationService, LineItemWorker, ProductImagesService, QuoteDraftService } from '@veloce/sdk/core';
|
5
5
|
import * as lodash from 'lodash';
|
6
6
|
import * as rxjs from 'rxjs';
|
7
7
|
import * as rxjsOperators from 'rxjs/operators';
|
@@ -9,6 +9,70 @@ import * as cmsActions from './cms.actions';
|
|
9
9
|
import { IntegrationState } from './services/integration.state';
|
10
10
|
import { TemplatesService } from './services/templates.service';
|
11
11
|
export declare const vendorMap: {
|
12
|
+
'@veloce/sdk/core': {
|
13
|
+
findLineItem: (id: string, lineItems: import("@veloce/core").LineItem[]) => import("@veloce/core").LineItem | undefined;
|
14
|
+
findLineItemWithComparator: (lineItems: import("@veloce/core").LineItem[], comparator: (li: import("@veloce/core").LineItem) => boolean) => import("@veloce/core").LineItem | undefined;
|
15
|
+
insertLineItem: (lineItem: import("@veloce/core").LineItem, parentId: string, toInsert: import("@veloce/core").LineItem) => import("@veloce/core").LineItem;
|
16
|
+
removeLineItem: (lineItem: import("@veloce/core").LineItem, idToRemove: string) => import("@veloce/core").LineItem;
|
17
|
+
replaceLineItem: (lineItem: import("@veloce/core").LineItem, replaceTo: import("@veloce/core").LineItem) => import("@veloce/core").LineItem;
|
18
|
+
mapAttributes: (attributes: import("@veloce/core").Attribute[]) => lodash.Dictionary<any>;
|
19
|
+
getAttributes: (attributes: import("@veloce/core").Attribute[], names?: string[] | undefined) => import("@veloce/core").Attribute[];
|
20
|
+
upsertAttributes: (originalAttributes: import("@veloce/core").Attribute[], attributesToUpsert: {
|
21
|
+
name: string;
|
22
|
+
value: any;
|
23
|
+
}[]) => import("@veloce/core").Attribute[];
|
24
|
+
patchAttributes: (rootLineItem: import("@veloce/core").LineItem, id: string, attrs: {
|
25
|
+
name: string;
|
26
|
+
value: any;
|
27
|
+
}[]) => import("@veloce/core").LineItem;
|
28
|
+
getAttributeValue: (attributes: import("@veloce/core").Attribute[], name: string) => any;
|
29
|
+
generateLineItem: (port: string, type: string, parentId: string, attributes?: {
|
30
|
+
name: string;
|
31
|
+
value: any;
|
32
|
+
}[] | undefined, lineItems?: import("@veloce/core").LineItem[] | undefined) => import("@veloce/core").LineItem;
|
33
|
+
getRecommendedPrices: (portDomain: import("@veloce/core").PortDomain, type: string) => {
|
34
|
+
net: number;
|
35
|
+
list: number;
|
36
|
+
};
|
37
|
+
ConfigurationService: typeof ConfigurationService;
|
38
|
+
QuoteDraftService: typeof QuoteDraftService;
|
39
|
+
FlowConfigurationService: typeof FlowConfigurationService;
|
40
|
+
LineItemWorker: typeof LineItemWorker;
|
41
|
+
ProductImagesService: typeof ProductImagesService;
|
42
|
+
};
|
43
|
+
'@veloce/sdk/cms': {
|
44
|
+
TemplatesService: typeof TemplatesService;
|
45
|
+
IntegrationState: typeof IntegrationState;
|
46
|
+
FlowAction: typeof cmsActions.FlowAction;
|
47
|
+
ConfigureProductAction: ({ lineItemId, productId, }: {
|
48
|
+
lineItemId?: string | undefined;
|
49
|
+
productId?: string | undefined;
|
50
|
+
}) => import("@veloce/sdk/cms").IntegrationAction<any>;
|
51
|
+
NavigateBackAction: () => import("@veloce/sdk/cms").IntegrationAction<any>;
|
52
|
+
NavigateToCatalogAction: () => import("@veloce/sdk/cms").IntegrationAction<any>;
|
53
|
+
ApplyProductConfigurationAction: () => import("@veloce/sdk/cms").IntegrationAction<any>;
|
54
|
+
OpenDocGenAction: () => import("@veloce/sdk/cms").IntegrationAction<any>;
|
55
|
+
CloseDocGenAction: () => import("@veloce/sdk/cms").IntegrationAction<any>;
|
56
|
+
RemoteApplyAction: () => import("@veloce/sdk/cms").IntegrationAction<any>;
|
57
|
+
RemoteCancelAction: () => import("@veloce/sdk/cms").IntegrationAction<any>;
|
58
|
+
DEFAULT_PLUGINS_TOKEN: angularCore.InjectionToken<typeof import("./engine/models/plugin").Plugin[]>;
|
59
|
+
UI_DEFINITION_METADATA: angularCore.InjectionToken<import("@veloce/sdk/core").UIDefinitionMetadata>;
|
60
|
+
ELEMENT_METADATA: angularCore.InjectionToken<import("@veloce/sdk/cms").ElementMetadata>;
|
61
|
+
SHARED_ELEMENT_METADATA: angularCore.InjectionToken<import("@veloce/sdk/cms").ElementMetadata>;
|
62
|
+
ELEMENT_CONFIG: angularCore.InjectionToken<import("@veloce/sdk/cms").ElementConfig>;
|
63
|
+
VENDOR_MAP: angularCore.InjectionToken<lodash.Dictionary<any>>;
|
64
|
+
};
|
65
|
+
'@veloce/api': {
|
66
|
+
SalesforceApiService: typeof SalesforceApiService;
|
67
|
+
QuoteApiService: typeof QuoteApiService;
|
68
|
+
DocumentTemplatesApiService: typeof DocumentTemplatesApiService;
|
69
|
+
DocumentAttachmentApiService: typeof DocumentAttachmentApiService;
|
70
|
+
RampApiService: typeof RampApiService;
|
71
|
+
CatalogApiService: typeof CatalogApiService;
|
72
|
+
DeltaApiService: typeof DeltaApiService;
|
73
|
+
PicklistsApiService: typeof PicklistsApiService;
|
74
|
+
PriceApiService: typeof PriceApiService;
|
75
|
+
};
|
12
76
|
'@angular/core': typeof angularCore;
|
13
77
|
'@angular/forms': typeof angularForms;
|
14
78
|
rxjs: typeof rxjs;
|
@@ -18,7 +82,7 @@ export declare const vendorMap: {
|
|
18
82
|
VERSION: string;
|
19
83
|
templateSettings: lodash.TemplateSettings;
|
20
84
|
chunk<T>(array: lodash.List<T> | null | undefined, size?: number | undefined): T[][];
|
21
|
-
compact<T_1>(array: lodash.List<T_1 |
|
85
|
+
compact<T_1>(array: lodash.List<false | "" | 0 | T_1 | null | undefined> | null | undefined): T_1[];
|
22
86
|
concat<T_2>(...values: lodash.Many<T_2>[]): T_2[];
|
23
87
|
difference<T_3>(array: lodash.List<T_3> | null | undefined, ...values: lodash.List<T_3>[]): T_3[];
|
24
88
|
differenceBy<T1, T2>(array: lodash.List<T1> | null | undefined, values: lodash.List<T2>, iteratee: lodash.ValueIteratee<T1 | T2>): T1[];
|
@@ -316,7 +380,6 @@ export declare const vendorMap: {
|
|
316
380
|
}>(value?: T_184 | undefined): boolean;
|
317
381
|
isEmpty(value: string): value is "";
|
318
382
|
isEmpty(value: lodash.List<any> | Map<any, any> | Set<any> | null | undefined): boolean;
|
319
|
-
isEmpty(value: object): boolean;
|
320
383
|
isEmpty<T_185 extends object>(value: T_185 | null | undefined): value is lodash.EmptyObjectOf<T_185> | null | undefined;
|
321
384
|
isEmpty(value?: any): boolean;
|
322
385
|
isEqual(value: any, other: any): boolean;
|
@@ -459,8 +522,6 @@ export declare const vendorMap: {
|
|
459
522
|
get<T_212, TDefault_4>(object: lodash.NumericDictionary<T_212> | null | undefined, path: number, defaultValue: TDefault_4): T_212 | TDefault_4;
|
460
523
|
get<TDefault_5>(object: null | undefined, path: lodash.PropertyPath, defaultValue: TDefault_5): TDefault_5;
|
461
524
|
get(object: null | undefined, path: lodash.PropertyPath): undefined;
|
462
|
-
get<TObject_47, TPath extends string>(data: TObject_47, path: TPath): string extends TPath ? any : lodash.GetFieldType<TObject_47, TPath>;
|
463
|
-
get<TObject_48, TPath_1 extends string, TDefault_6 = lodash.GetFieldType<TObject_48, TPath_1>>(data: TObject_48, path: TPath_1, defaultValue: TDefault_6): TDefault_6 | Exclude<lodash.GetFieldType<TObject_48, TPath_1>, null | undefined>;
|
464
525
|
get(object: any, path: lodash.PropertyPath, defaultValue?: any): any;
|
465
526
|
has<T_213>(object: T_213, path: lodash.PropertyPath): boolean;
|
466
527
|
hasIn<T_214>(object: T_214, path: lodash.PropertyPath): boolean;
|
@@ -483,15 +544,15 @@ export declare const vendorMap: {
|
|
483
544
|
mapValues<T_225>(obj: lodash.Dictionary<T_225> | lodash.NumericDictionary<T_225> | null | undefined): lodash.Dictionary<T_225>;
|
484
545
|
mapValues<T_226 extends object>(obj: T_226): T_226;
|
485
546
|
mapValues<T_227 extends object>(obj: T_227 | null | undefined): Partial<T_227>;
|
486
|
-
merge<
|
487
|
-
merge<
|
488
|
-
merge<
|
489
|
-
merge<
|
547
|
+
merge<TObject_47, TSource_7>(object: TObject_47, source: TSource_7): TObject_47 & TSource_7;
|
548
|
+
merge<TObject_48, TSource1_21, TSource2_21>(object: TObject_48, source1: TSource1_21, source2: TSource2_21): TObject_48 & TSource1_21 & TSource2_21;
|
549
|
+
merge<TObject_49, TSource1_22, TSource2_22, TSource3_14>(object: TObject_49, source1: TSource1_22, source2: TSource2_22, source3: TSource3_14): TObject_49 & TSource1_22 & TSource2_22 & TSource3_14;
|
550
|
+
merge<TObject_50, TSource1_23, TSource2_23, TSource3_15, TSource4_7>(object: TObject_50, source1: TSource1_23, source2: TSource2_23, source3: TSource3_15, source4: TSource4_7): TObject_50 & TSource1_23 & TSource2_23 & TSource3_15 & TSource4_7;
|
490
551
|
merge(object: any, ...otherArgs: any[]): any;
|
491
|
-
mergeWith<
|
492
|
-
mergeWith<
|
493
|
-
mergeWith<
|
494
|
-
mergeWith<
|
552
|
+
mergeWith<TObject_51, TSource_8>(object: TObject_51, source: TSource_8, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_51 & TSource_8;
|
553
|
+
mergeWith<TObject_52, TSource1_24, TSource2_24>(object: TObject_52, source1: TSource1_24, source2: TSource2_24, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_52 & TSource1_24 & TSource2_24;
|
554
|
+
mergeWith<TObject_53, TSource1_25, TSource2_25, TSource3_16>(object: TObject_53, source1: TSource1_25, source2: TSource2_25, source3: TSource3_16, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_53 & TSource1_25 & TSource2_25 & TSource3_16;
|
555
|
+
mergeWith<TObject_54, TSource1_26, TSource2_26, TSource3_17, TSource4_8>(object: TObject_54, source1: TSource1_26, source2: TSource2_26, source3: TSource3_17, source4: TSource4_8, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_54 & TSource1_26 & TSource2_26 & TSource3_17 & TSource4_8;
|
495
556
|
mergeWith(object: any, ...otherArgs: any[]): any;
|
496
557
|
omit<T_228 extends object, K_1 extends lodash.PropertyName[]>(object: T_228 | null | undefined, ...paths: K_1): Pick<T_228, Exclude<keyof T_228, K_1[number]>>;
|
497
558
|
omit<T_229 extends object, K_2 extends keyof T_229>(object: T_229 | null | undefined, ...paths: lodash.Many<K_2>[]): lodash.Omit<T_229, K_2>;
|
@@ -500,7 +561,7 @@ export declare const vendorMap: {
|
|
500
561
|
omitBy<T_232>(object: lodash.NumericDictionary<T_232> | null | undefined, predicate?: lodash.ValueKeyIteratee<T_232> | undefined): lodash.NumericDictionary<T_232>;
|
501
562
|
omitBy<T_233 extends object>(object: T_233 | null | undefined, predicate: lodash.ValueKeyIteratee<T_233[keyof T_233]>): Partial<T_233>;
|
502
563
|
pick<T_234 extends object, U_4 extends keyof T_234>(object: T_234, ...props: lodash.Many<U_4>[]): Pick<T_234, U_4>;
|
503
|
-
pick<T_235>(object: T_235 | null | undefined, ...props: lodash.
|
564
|
+
pick<T_235>(object: T_235 | null | undefined, ...props: lodash.PropertyPath[]): Partial<T_235>;
|
504
565
|
pickBy<T_236, S_6 extends T_236>(object: lodash.Dictionary<T_236> | null | undefined, predicate: lodash.ValueKeyIterateeTypeGuard<T_236, S_6>): lodash.Dictionary<S_6>;
|
505
566
|
pickBy<T_237, S_7 extends T_237>(object: lodash.NumericDictionary<T_237> | null | undefined, predicate: lodash.ValueKeyIterateeTypeGuard<T_237, S_7>): lodash.NumericDictionary<S_7>;
|
506
567
|
pickBy<T_238>(object: lodash.Dictionary<T_238> | null | undefined, predicate?: lodash.ValueKeyIteratee<T_238> | undefined): lodash.Dictionary<T_238>;
|
@@ -584,7 +645,7 @@ export declare const vendorMap: {
|
|
584
645
|
conforms<T_264>(source: lodash.ConformsPredicateObject<T_264>): (value: T_264) => boolean;
|
585
646
|
constant<T_265>(value: T_265): () => T_265;
|
586
647
|
defaultTo<T_266>(value: T_266 | null | undefined, defaultValue: T_266): T_266;
|
587
|
-
defaultTo<T_267,
|
648
|
+
defaultTo<T_267, TDefault_6>(value: T_267 | null | undefined, defaultValue: TDefault_6): T_267 | TDefault_6;
|
588
649
|
flow<A extends any[], R1, R2, R3, R4, R5, R6, R7>(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (...args: A) => R7;
|
589
650
|
flow<A_1 extends any[], R1_1, R2_1, R3_1, R4_1, R5_1, R6_1, R7_1>(f1: (...args: A_1) => R1_1, f2: (a: R1_1) => R2_1, f3: (a: R2_1) => R3_1, f4: (a: R3_1) => R4_1, f5: (a: R4_1) => R5_1, f6: (a: R5_1) => R6_1, f7: (a: R6_1) => R7_1, ...func: lodash.Many<(a: any) => any>[]): (...args: A_1) => any;
|
590
651
|
flow<A_2 extends any[], R1_2, R2_2, R3_2, R4_2, R5_2, R6_2>(f1: (...args: A_2) => R1_2, f2: (a: R1_2) => R2_2, f3: (a: R2_2) => R3_2, f4: (a: R3_2) => R4_2, f5: (a: R4_2) => R5_2, f6: (a: R5_2) => R6_2): (...args: A_2) => R6_2;
|
@@ -610,7 +671,7 @@ export declare const vendorMap: {
|
|
610
671
|
matchesProperty<T_272, V_1>(path: lodash.PropertyPath, srcValue: T_272): (value: V_1) => boolean;
|
611
672
|
method(path: lodash.PropertyPath, ...args: any[]): (object: any) => any;
|
612
673
|
methodOf(object: object, ...args: any[]): (path: lodash.PropertyPath) => any;
|
613
|
-
mixin<
|
674
|
+
mixin<TObject_55>(object: TObject_55, source: lodash.Dictionary<(...args: any[]) => any>, options?: lodash.MixinOptions | undefined): TObject_55;
|
614
675
|
mixin<TResult_44>(source: lodash.Dictionary<(...args: any[]) => any>, options?: lodash.MixinOptions | undefined): lodash.LoDashStatic;
|
615
676
|
noConflict(): lodash.LoDashStatic;
|
616
677
|
noop(...args: any[]): void;
|
@@ -639,69 +700,5 @@ export declare const vendorMap: {
|
|
639
700
|
toPath(value: any): string[];
|
640
701
|
uniqueId(prefix?: string | undefined): string;
|
641
702
|
};
|
642
|
-
'@veloceapps/sdk/core': {
|
643
|
-
findLineItem: (id: string, lineItems: import("@veloceapps/core").LineItem[]) => import("@veloceapps/core").LineItem | undefined;
|
644
|
-
findLineItemWithComparator: (lineItems: import("@veloceapps/core").LineItem[], comparator: (li: import("@veloceapps/core").LineItem) => boolean) => import("@veloceapps/core").LineItem | undefined;
|
645
|
-
insertLineItem: (lineItem: import("@veloceapps/core").LineItem, parentId: string, toInsert: import("@veloceapps/core").LineItem) => import("@veloceapps/core").LineItem;
|
646
|
-
removeLineItem: (lineItem: import("@veloceapps/core").LineItem, idToRemove: string) => import("@veloceapps/core").LineItem;
|
647
|
-
replaceLineItem: (lineItem: import("@veloceapps/core").LineItem, replaceTo: import("@veloceapps/core").LineItem) => import("@veloceapps/core").LineItem;
|
648
|
-
mapAttributes: (attributes: import("@veloceapps/core").Attribute[]) => lodash.Dictionary<any>;
|
649
|
-
getAttributes: (attributes: import("@veloceapps/core").Attribute[], names?: string[] | undefined) => import("@veloceapps/core").Attribute[];
|
650
|
-
upsertAttributes: (originalAttributes: import("@veloceapps/core").Attribute[], attributesToUpsert: {
|
651
|
-
name: string;
|
652
|
-
value: any;
|
653
|
-
}[]) => import("@veloceapps/core").Attribute[];
|
654
|
-
patchAttributes: (rootLineItem: import("@veloceapps/core").LineItem, id: string, attrs: {
|
655
|
-
name: string;
|
656
|
-
value: any;
|
657
|
-
}[]) => import("@veloceapps/core").LineItem;
|
658
|
-
getAttributeValue: (attributes: import("@veloceapps/core").Attribute[], name: string) => any;
|
659
|
-
generateLineItem: (port: string, type: string, parentId: string, attributes?: {
|
660
|
-
name: string;
|
661
|
-
value: any;
|
662
|
-
}[] | undefined, lineItems?: import("@veloceapps/core").LineItem[] | undefined) => import("@veloceapps/core").LineItem;
|
663
|
-
getRecommendedPrices: (portDomain: import("@veloceapps/core").PortDomain, type: string) => {
|
664
|
-
net: number;
|
665
|
-
list: number;
|
666
|
-
};
|
667
|
-
ConfigurationService: typeof ConfigurationService;
|
668
|
-
QuoteDraftService: typeof QuoteDraftService;
|
669
|
-
FlowConfigurationService: typeof FlowConfigurationService;
|
670
|
-
LineItemWorker: typeof LineItemWorker;
|
671
|
-
ProductImagesService: typeof ProductImagesService;
|
672
|
-
};
|
673
|
-
'@veloceapps/sdk/cms': {
|
674
|
-
TemplatesService: typeof TemplatesService;
|
675
|
-
IntegrationState: typeof IntegrationState;
|
676
|
-
FlowAction: typeof cmsActions.FlowAction;
|
677
|
-
ConfigureProductAction: ({ lineItemId, productId, }: {
|
678
|
-
lineItemId?: string | undefined;
|
679
|
-
productId?: string | undefined;
|
680
|
-
}) => import("@veloceapps/sdk/cms").IntegrationAction<any>;
|
681
|
-
NavigateBackAction: () => import("@veloceapps/sdk/cms").IntegrationAction<any>;
|
682
|
-
NavigateToCatalogAction: () => import("@veloceapps/sdk/cms").IntegrationAction<any>;
|
683
|
-
ApplyProductConfigurationAction: () => import("@veloceapps/sdk/cms").IntegrationAction<any>;
|
684
|
-
OpenDocGenAction: () => import("@veloceapps/sdk/cms").IntegrationAction<any>;
|
685
|
-
CloseDocGenAction: () => import("@veloceapps/sdk/cms").IntegrationAction<any>;
|
686
|
-
RemoteApplyAction: () => import("@veloceapps/sdk/cms").IntegrationAction<any>;
|
687
|
-
RemoteCancelAction: () => import("@veloceapps/sdk/cms").IntegrationAction<any>;
|
688
|
-
DEFAULT_PLUGINS_TOKEN: angularCore.InjectionToken<typeof import("./engine/models/plugin").Plugin[]>;
|
689
|
-
UI_DEFINITION_METADATA: angularCore.InjectionToken<import("@veloceapps/sdk/core").UIDefinitionMetadata>;
|
690
|
-
ELEMENT_METADATA: angularCore.InjectionToken<import("@veloceapps/sdk/cms").ElementMetadata>;
|
691
|
-
SHARED_ELEMENT_METADATA: angularCore.InjectionToken<import("@veloceapps/sdk/cms").ElementMetadata>;
|
692
|
-
ELEMENT_CONFIG: angularCore.InjectionToken<import("@veloceapps/sdk/cms").ElementConfig>;
|
693
|
-
VENDOR_MAP: angularCore.InjectionToken<lodash.Dictionary<any>>;
|
694
|
-
};
|
695
|
-
'@veloceapps/api': {
|
696
|
-
SalesforceApiService: typeof SalesforceApiService;
|
697
|
-
QuoteApiService: typeof QuoteApiService;
|
698
|
-
DocumentTemplatesApiService: typeof DocumentTemplatesApiService;
|
699
|
-
DocumentAttachmentApiService: typeof DocumentAttachmentApiService;
|
700
|
-
RampApiService: typeof RampApiService;
|
701
|
-
CatalogApiService: typeof CatalogApiService;
|
702
|
-
DeltaApiService: typeof DeltaApiService;
|
703
|
-
PicklistsApiService: typeof PicklistsApiService;
|
704
|
-
PriceApiService: typeof PriceApiService;
|
705
|
-
};
|
706
703
|
};
|
707
704
|
export declare type VendorMap = typeof vendorMap;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "@
|
2
|
+
import * as i1 from "@veloce/components";
|
3
3
|
export declare class ConfigurationModule {
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationModule, never>;
|
5
5
|
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationModule, never, [typeof i1.ConfirmationDialogModule], never>;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { LineItem } from '@
|
1
|
+
import { LineItem } from '@veloce/core';
|
2
2
|
import { RuntimeContext, UIDefinitionProps } from '../../types';
|
3
3
|
export declare const getDefaultLineItem: (context: RuntimeContext, uiDefinitionProperties: UIDefinitionProps, qty?: number) => LineItem;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ConfigurationApiService } from '@
|
2
|
-
import { LineItem, RuntimeModel } from '@
|
1
|
+
import { ConfigurationApiService } from '@veloce/api';
|
2
|
+
import { LineItem, RuntimeModel } from '@veloce/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import { ContextService } from '../../../services';
|
5
5
|
import { RuntimeContext, UIDefinition, UIDefinitionProps } from '../../../types';
|
@@ -17,7 +17,7 @@ export declare class ConfigurationRuntimeService {
|
|
17
17
|
uiDefinitionProperties: UIDefinitionProps;
|
18
18
|
constructor(apiService: ConfigurationApiService, contextService: ContextService, runtimeContextService: RuntimeContextService);
|
19
19
|
reset(): void;
|
20
|
-
initTestMode(modelId: string, uiDefinition: UIDefinition): Observable<[import("@
|
20
|
+
initTestMode(modelId: string, uiDefinition: UIDefinition): Observable<[import("@veloce/core").RuntimeData, import("@veloce/core").ConfigurationContext]>;
|
21
21
|
init(props: RuntimeInitializationProps): Observable<RuntimeContext | undefined>;
|
22
22
|
private id15to18;
|
23
23
|
getAsset(lineItem: LineItem): LineItem | undefined;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ConfigurationApiService } from '@
|
2
|
-
import { Charge, CompiledPricePlan, ConfigurationContext, LineItem, RuntimeModel } from '@
|
1
|
+
import { ConfigurationApiService } from '@veloce/api';
|
2
|
+
import { Charge, CompiledPricePlan, ConfigurationContext, LineItem, RuntimeModel } from '@veloce/core';
|
3
3
|
import { Dictionary } from 'lodash';
|
4
4
|
import { MessageService } from 'primeng/api';
|
5
5
|
import { DialogService } from 'primeng/dynamicdialog';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ProceduresApiService } from '@
|
2
|
-
import { Charge, CompiledPricePlan, ConfigurationContext, LineItem, QuoteDraft } from '@
|
1
|
+
import { ProceduresApiService } from '@veloce/api';
|
2
|
+
import { Charge, CompiledPricePlan, ConfigurationContext, LineItem, QuoteDraft } from '@veloce/core';
|
3
3
|
import { Dictionary } from 'lodash';
|
4
4
|
import { Observable } from 'rxjs';
|
5
5
|
import { ContextService, QuoteDraftService } from '../../../services';
|
package/core/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
|
-
"name": "@
|
2
|
+
"name": "@veloce/sdk/core",
|
3
3
|
"sideEffects": false,
|
4
|
-
"main": "../bundles/
|
5
|
-
"module": "../fesm2015/
|
6
|
-
"es2015": "../fesm2015/
|
7
|
-
"esm2015": "../esm2015/core/
|
8
|
-
"fesm2015": "../fesm2015/
|
9
|
-
"typings": "
|
4
|
+
"main": "../bundles/veloce-sdk-core.umd.js",
|
5
|
+
"module": "../fesm2015/veloce-sdk-core.js",
|
6
|
+
"es2015": "../fesm2015/veloce-sdk-core.js",
|
7
|
+
"esm2015": "../esm2015/core/veloce-sdk-core.js",
|
8
|
+
"fesm2015": "../fesm2015/veloce-sdk-core.js",
|
9
|
+
"typings": "veloce-sdk-core.d.ts"
|
10
10
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ContextApiService } from '@
|
2
|
-
import { ConfigurationContext, ConfigurationContextMode } from '@
|
1
|
+
import { ContextApiService } from '@veloce/api';
|
2
|
+
import { ConfigurationContext, ConfigurationContextMode } from '@veloce/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class ContextService {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { PriceApiService, QuoteApiService } from '@
|
2
|
-
import { LineItem, PriceList, PriceSummary, QuoteDraft } from '@
|
1
|
+
import { PriceApiService, QuoteApiService } from '@veloce/api';
|
2
|
+
import { LineItem, PriceList, PriceSummary, QuoteDraft } from '@veloce/core';
|
3
3
|
import { Dictionary } from 'lodash';
|
4
4
|
import { Observable } from 'rxjs';
|
5
5
|
import { ContextService } from './context.service';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Attribute, LineItem, PortDomain } from '@
|
1
|
+
import { Attribute, LineItem, PortDomain } from '@veloce/core';
|
2
2
|
import { Dictionary } from 'lodash';
|
3
3
|
export declare const findLineItem: (id: string, lineItems: LineItem[]) => LineItem | undefined;
|
4
4
|
export declare const findLineItemWithComparator: (lineItems: LineItem[], comparator: (li: LineItem) => boolean) => LineItem | undefined;
|
@@ -3,4 +3,4 @@ export const DEFAULT_PLUGINS = {
|
|
3
3
|
CONFIGURATION: [ConfigurationPlugin],
|
4
4
|
DEFAULT: [],
|
5
5
|
};
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY21zLmRlZmF1bHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9jbXMvY21zLmRlZmF1bHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFFckUsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFtRDtJQUM3RSxhQUFhLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztJQUNwQyxPQUFPLEVBQUUsRUFBRTtDQUNaLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVSURlZmluaXRpb25UeXBlIH0gZnJvbSAnQHZlbG9jZS9zZGsvY29yZSc7XG5pbXBvcnQgeyBQbHVnaW4gfSBmcm9tICcuL2VuZ2luZS9tb2RlbHMvcGx1Z2luJztcbmltcG9ydCB7IENvbmZpZ3VyYXRpb25QbHVnaW4gfSBmcm9tICcuL3BsdWdpbnMvY29uZmlndXJhdGlvbi5wbHVnaW4nO1xuXG5leHBvcnQgY29uc3QgREVGQVVMVF9QTFVHSU5TOiB7IFtrZXkgaW4gVUlEZWZpbml0aW9uVHlwZV06IHR5cGVvZiBQbHVnaW5bXSB9ID0ge1xuICBDT05GSUdVUkFUSU9OOiBbQ29uZmlndXJhdGlvblBsdWdpbl0sXG4gIERFRkFVTFQ6IFtdLFxufTtcbiJdfQ==
|
@@ -8,9 +8,9 @@ export class ElementChildrenComponent {
|
|
8
8
|
this.metadata = this.elementContext.metadata;
|
9
9
|
}
|
10
10
|
}
|
11
|
-
ElementChildrenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
12
|
-
ElementChildrenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
11
|
+
ElementChildrenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenComponent, deps: [{ token: i1.ElementContextService }], target: i0.ɵɵFactoryTarget.Component });
|
12
|
+
ElementChildrenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: ElementChildrenComponent, selector: "element-children", ngImport: i0, template: "<ng-container *ngIf=\"metadata?.children.length\">\n <ng-container *ngFor=\"let child of metadata.children\">\n <vl-cms-element-renderer [meta]=\"child\"></vl-cms-element-renderer>\n </ng-container>\n</ng-container>\n", styles: [":host{display:contents}\n"], components: [{ type: i2.ElementRendererComponent, selector: "vl-cms-element-renderer", inputs: ["meta"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenComponent, decorators: [{
|
14
14
|
type: Component,
|
15
15
|
args: [{
|
16
16
|
// eslint-disable-next-line @angular-eslint/component-selector
|
@@ -4,10 +4,10 @@ import { ElementChildrenComponent } from './element-children.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export class ElementChildrenModule {
|
6
6
|
}
|
7
|
-
ElementChildrenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
8
|
-
ElementChildrenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
9
|
-
ElementChildrenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
7
|
+
ElementChildrenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
8
|
+
ElementChildrenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenModule, declarations: [ElementChildrenComponent], imports: [ElementRendererModule], exports: [ElementChildrenComponent] });
|
9
|
+
ElementChildrenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenModule, imports: [[ElementRendererModule]] });
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenModule, decorators: [{
|
11
11
|
type: NgModule,
|
12
12
|
args: [{
|
13
13
|
declarations: [ElementChildrenComponent],
|