@veloceapps/sdk 4.0.20 → 4.0.21-1
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/{veloce-sdk-cms.umd.js → veloceapps-sdk-cms.umd.js} +161 -76
- package/bundles/veloceapps-sdk-cms.umd.js.map +1 -0
- package/bundles/{veloce-sdk-core.umd.js → veloceapps-sdk-core.umd.js} +111 -44
- package/bundles/veloceapps-sdk-core.umd.js.map +1 -0
- package/bundles/{veloce-sdk-runtime.umd.js → veloceapps-sdk-runtime.umd.js} +213 -146
- package/bundles/veloceapps-sdk-runtime.umd.js.map +1 -0
- package/bundles/{veloce-sdk.umd.js → veloceapps-sdk.umd.js} +739 -225
- package/bundles/veloceapps-sdk.umd.js.map +1 -0
- package/cms/cms.actions.d.ts +5 -1
- 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/{core/veloce-sdk-core.d.ts → cms/veloceapps-sdk-cms.d.ts} +1 -1
- package/cms/vendor-map.d.ts +81 -76
- 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/{runtime/veloce-sdk-runtime.d.ts → core/veloceapps-sdk-core.d.ts} +1 -1
- package/esm2015/cms/cms.actions.js +9 -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 +2 -2
- package/esm2015/cms/utils/elements-resolver.js +1 -1
- package/esm2015/cms/veloceapps-sdk-cms.js +5 -0
- package/esm2015/cms/vendor-map.js +9 -7
- 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/veloceapps-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/veloceapps-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 +17 -5
- package/esm2015/src/flow.component.js +7 -7
- package/esm2015/src/flow.module.js +9 -9
- package/esm2015/src/guards/context.guard.js +19 -10
- 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 +353 -0
- package/esm2015/src/pages/remote/remote.module.js +20 -0
- package/esm2015/src/pages/remote/remote.types.js +2 -0
- 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 +8 -8
- 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 +10 -2
- package/esm2015/veloceapps-sdk.js +5 -0
- package/fesm2015/{veloce-sdk-cms.js → veloceapps-sdk-cms.js} +88 -76
- package/fesm2015/veloceapps-sdk-cms.js.map +1 -0
- package/fesm2015/{veloce-sdk-core.js → veloceapps-sdk-core.js} +41 -41
- package/fesm2015/veloceapps-sdk-core.js.map +1 -0
- package/fesm2015/{veloce-sdk-runtime.js → veloceapps-sdk-runtime.js} +148 -148
- package/fesm2015/veloceapps-sdk-runtime.js.map +1 -0
- package/fesm2015/{veloce-sdk.js → veloceapps-sdk.js} +553 -172
- package/fesm2015/veloceapps-sdk.js.map +1 -0
- package/package.json +13 -12
- 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/{veloce-sdk.d.ts → runtime/veloceapps-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-routing.module.d.ts +3 -2
- package/src/flow.component.d.ts +2 -2
- package/src/flow.module.d.ts +4 -4
- package/src/guards/context.guard.d.ts +2 -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 +47 -0
- package/src/pages/remote/remote.module.d.ts +10 -0
- package/src/pages/remote/remote.types.d.ts +4 -0
- 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 +7 -0
- package/{cms/veloce-sdk-cms.d.ts → veloceapps-sdk.d.ts} +1 -1
- package/bundles/veloce-sdk-cms.umd.js.map +0 -1
- package/bundles/veloce-sdk-core.umd.js.map +0 -1
- package/bundles/veloce-sdk-runtime.umd.js.map +0 -1
- package/bundles/veloce-sdk.umd.js.map +0 -1
- package/esm2015/cms/veloce-sdk-cms.js +0 -5
- package/esm2015/core/veloce-sdk-core.js +0 -5
- package/esm2015/runtime/veloce-sdk-runtime.js +0 -5
- package/esm2015/veloce-sdk.js +0 -5
- package/fesm2015/veloce-sdk-cms.js.map +0 -1
- package/fesm2015/veloce-sdk-core.js.map +0 -1
- package/fesm2015/veloce-sdk-runtime.js.map +0 -1
- package/fesm2015/veloce-sdk.js.map +0 -1
package/cms/cms.actions.d.ts
CHANGED
@@ -5,7 +5,9 @@ export declare enum FlowAction {
|
|
5
5
|
FLOW_NAVIGATE_TO_CATALOG = "FLOW_NAVIGATE_TO_CATALOG",
|
6
6
|
FLOW_APPLY_PRODUCT_CONFIGURATION = "FLOW_APPLY_PRODUCT_CONFIGURATION",
|
7
7
|
FLOW_OPEN_DOC_GEN = "FLOW_OPEN_DOC_GEN",
|
8
|
-
FLOW_CLOSE_DOC_GEN = "FLOW_CLOSE_DOC_GEN"
|
8
|
+
FLOW_CLOSE_DOC_GEN = "FLOW_CLOSE_DOC_GEN",
|
9
|
+
REMOTE_APPLY = "REMOTE_APPLY",
|
10
|
+
REMOTE_CANCEL = "REMOTE_CANCEL"
|
9
11
|
}
|
10
12
|
export declare const ConfigureProductAction: ({ lineItemId, productId, }: {
|
11
13
|
lineItemId?: string | undefined;
|
@@ -16,3 +18,5 @@ export declare const NavigateToCatalogAction: () => IntegrationAction;
|
|
16
18
|
export declare const ApplyProductConfigurationAction: () => IntegrationAction;
|
17
19
|
export declare const OpenDocGenAction: () => IntegrationAction;
|
18
20
|
export declare const CloseDocGenAction: () => IntegrationAction;
|
21
|
+
export declare const RemoteApplyAction: () => IntegrationAction;
|
22
|
+
export declare const RemoteCancelAction: () => IntegrationAction;
|
package/cms/cms.default.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { UIDefinitionType } from '@
|
1
|
+
import { UIDefinitionType } from '@veloceapps/sdk/core';
|
2
2
|
import { Plugin } from './engine/models/plugin';
|
3
3
|
export declare const DEFAULT_PLUGINS: {
|
4
|
-
[key in UIDefinitionType]: typeof Plugin[];
|
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 '@veloceapps/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 '@veloceapps/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 "@veloceapps/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 '@veloceapps/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 "@veloceapps/core";
|
4
|
+
import * as i3 from "@veloceapps/api";
|
5
|
+
import * as i4 from "@veloceapps/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 "@veloceapps/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": "@veloceapps/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/veloceapps-sdk-cms.umd.js",
|
5
|
+
"module": "../fesm2015/veloceapps-sdk-cms.js",
|
6
|
+
"es2015": "../fesm2015/veloceapps-sdk-cms.js",
|
7
|
+
"esm2015": "../esm2015/cms/veloceapps-sdk-cms.js",
|
8
|
+
"fesm2015": "../fesm2015/veloceapps-sdk-cms.js",
|
9
|
+
"typings": "veloceapps-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 '@veloceapps/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 '@veloceapps/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 '@veloceapps/api';
|
4
|
+
import { ConfigurationService, FlowConfigurationService, LineItemWorker, ProductImagesService, QuoteDraftService } from '@veloceapps/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,68 +9,6 @@ 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
|
-
DEFAULT_PLUGINS_TOKEN: angularCore.InjectionToken<typeof import("./engine/models/plugin").Plugin[]>;
|
57
|
-
UI_DEFINITION_METADATA: angularCore.InjectionToken<import("@veloce/sdk/core").UIDefinitionMetadata>;
|
58
|
-
ELEMENT_METADATA: angularCore.InjectionToken<import("@veloce/sdk/cms").ElementMetadata>;
|
59
|
-
SHARED_ELEMENT_METADATA: angularCore.InjectionToken<import("@veloce/sdk/cms").ElementMetadata>;
|
60
|
-
ELEMENT_CONFIG: angularCore.InjectionToken<import("@veloce/sdk/cms").ElementConfig>;
|
61
|
-
VENDOR_MAP: angularCore.InjectionToken<lodash.Dictionary<any>>;
|
62
|
-
};
|
63
|
-
'@veloce/api': {
|
64
|
-
SalesforceApiService: typeof SalesforceApiService;
|
65
|
-
QuoteApiService: typeof QuoteApiService;
|
66
|
-
DocumentTemplatesApiService: typeof DocumentTemplatesApiService;
|
67
|
-
DocumentAttachmentApiService: typeof DocumentAttachmentApiService;
|
68
|
-
RampApiService: typeof RampApiService;
|
69
|
-
CatalogApiService: typeof CatalogApiService;
|
70
|
-
DeltaApiService: typeof DeltaApiService;
|
71
|
-
PicklistsApiService: typeof PicklistsApiService;
|
72
|
-
PriceApiService: typeof PriceApiService;
|
73
|
-
};
|
74
12
|
'@angular/core': typeof angularCore;
|
75
13
|
'@angular/forms': typeof angularForms;
|
76
14
|
rxjs: typeof rxjs;
|
@@ -80,7 +18,7 @@ export declare const vendorMap: {
|
|
80
18
|
VERSION: string;
|
81
19
|
templateSettings: lodash.TemplateSettings;
|
82
20
|
chunk<T>(array: lodash.List<T> | null | undefined, size?: number | undefined): T[][];
|
83
|
-
compact<T_1>(array: lodash.List<
|
21
|
+
compact<T_1>(array: lodash.List<T_1 | lodash.Falsey> | null | undefined): T_1[];
|
84
22
|
concat<T_2>(...values: lodash.Many<T_2>[]): T_2[];
|
85
23
|
difference<T_3>(array: lodash.List<T_3> | null | undefined, ...values: lodash.List<T_3>[]): T_3[];
|
86
24
|
differenceBy<T1, T2>(array: lodash.List<T1> | null | undefined, values: lodash.List<T2>, iteratee: lodash.ValueIteratee<T1 | T2>): T1[];
|
@@ -378,6 +316,7 @@ export declare const vendorMap: {
|
|
378
316
|
}>(value?: T_184 | undefined): boolean;
|
379
317
|
isEmpty(value: string): value is "";
|
380
318
|
isEmpty(value: lodash.List<any> | Map<any, any> | Set<any> | null | undefined): boolean;
|
319
|
+
isEmpty(value: object): boolean;
|
381
320
|
isEmpty<T_185 extends object>(value: T_185 | null | undefined): value is lodash.EmptyObjectOf<T_185> | null | undefined;
|
382
321
|
isEmpty(value?: any): boolean;
|
383
322
|
isEqual(value: any, other: any): boolean;
|
@@ -520,6 +459,8 @@ export declare const vendorMap: {
|
|
520
459
|
get<T_212, TDefault_4>(object: lodash.NumericDictionary<T_212> | null | undefined, path: number, defaultValue: TDefault_4): T_212 | TDefault_4;
|
521
460
|
get<TDefault_5>(object: null | undefined, path: lodash.PropertyPath, defaultValue: TDefault_5): TDefault_5;
|
522
461
|
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>;
|
523
464
|
get(object: any, path: lodash.PropertyPath, defaultValue?: any): any;
|
524
465
|
has<T_213>(object: T_213, path: lodash.PropertyPath): boolean;
|
525
466
|
hasIn<T_214>(object: T_214, path: lodash.PropertyPath): boolean;
|
@@ -542,15 +483,15 @@ export declare const vendorMap: {
|
|
542
483
|
mapValues<T_225>(obj: lodash.Dictionary<T_225> | lodash.NumericDictionary<T_225> | null | undefined): lodash.Dictionary<T_225>;
|
543
484
|
mapValues<T_226 extends object>(obj: T_226): T_226;
|
544
485
|
mapValues<T_227 extends object>(obj: T_227 | null | undefined): Partial<T_227>;
|
545
|
-
merge<
|
546
|
-
merge<
|
547
|
-
merge<
|
548
|
-
merge<
|
486
|
+
merge<TObject_49, TSource_7>(object: TObject_49, source: TSource_7): TObject_49 & TSource_7;
|
487
|
+
merge<TObject_50, TSource1_21, TSource2_21>(object: TObject_50, source1: TSource1_21, source2: TSource2_21): TObject_50 & TSource1_21 & TSource2_21;
|
488
|
+
merge<TObject_51, TSource1_22, TSource2_22, TSource3_14>(object: TObject_51, source1: TSource1_22, source2: TSource2_22, source3: TSource3_14): TObject_51 & TSource1_22 & TSource2_22 & TSource3_14;
|
489
|
+
merge<TObject_52, TSource1_23, TSource2_23, TSource3_15, TSource4_7>(object: TObject_52, source1: TSource1_23, source2: TSource2_23, source3: TSource3_15, source4: TSource4_7): TObject_52 & TSource1_23 & TSource2_23 & TSource3_15 & TSource4_7;
|
549
490
|
merge(object: any, ...otherArgs: any[]): any;
|
550
|
-
mergeWith<
|
551
|
-
mergeWith<
|
552
|
-
mergeWith<
|
553
|
-
mergeWith<
|
491
|
+
mergeWith<TObject_53, TSource_8>(object: TObject_53, source: TSource_8, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_53 & TSource_8;
|
492
|
+
mergeWith<TObject_54, TSource1_24, TSource2_24>(object: TObject_54, source1: TSource1_24, source2: TSource2_24, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_54 & TSource1_24 & TSource2_24;
|
493
|
+
mergeWith<TObject_55, TSource1_25, TSource2_25, TSource3_16>(object: TObject_55, source1: TSource1_25, source2: TSource2_25, source3: TSource3_16, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_55 & TSource1_25 & TSource2_25 & TSource3_16;
|
494
|
+
mergeWith<TObject_56, TSource1_26, TSource2_26, TSource3_17, TSource4_8>(object: TObject_56, 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_56 & TSource1_26 & TSource2_26 & TSource3_17 & TSource4_8;
|
554
495
|
mergeWith(object: any, ...otherArgs: any[]): any;
|
555
496
|
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]>>;
|
556
497
|
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>;
|
@@ -559,7 +500,7 @@ export declare const vendorMap: {
|
|
559
500
|
omitBy<T_232>(object: lodash.NumericDictionary<T_232> | null | undefined, predicate?: lodash.ValueKeyIteratee<T_232> | undefined): lodash.NumericDictionary<T_232>;
|
560
501
|
omitBy<T_233 extends object>(object: T_233 | null | undefined, predicate: lodash.ValueKeyIteratee<T_233[keyof T_233]>): Partial<T_233>;
|
561
502
|
pick<T_234 extends object, U_4 extends keyof T_234>(object: T_234, ...props: lodash.Many<U_4>[]): Pick<T_234, U_4>;
|
562
|
-
pick<T_235>(object: T_235 | null | undefined, ...props: lodash.PropertyPath[]): Partial<T_235>;
|
503
|
+
pick<T_235>(object: T_235 | null | undefined, ...props: lodash.Many<lodash.PropertyPath>[]): Partial<T_235>;
|
563
504
|
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>;
|
564
505
|
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>;
|
565
506
|
pickBy<T_238>(object: lodash.Dictionary<T_238> | null | undefined, predicate?: lodash.ValueKeyIteratee<T_238> | undefined): lodash.Dictionary<T_238>;
|
@@ -643,7 +584,7 @@ export declare const vendorMap: {
|
|
643
584
|
conforms<T_264>(source: lodash.ConformsPredicateObject<T_264>): (value: T_264) => boolean;
|
644
585
|
constant<T_265>(value: T_265): () => T_265;
|
645
586
|
defaultTo<T_266>(value: T_266 | null | undefined, defaultValue: T_266): T_266;
|
646
|
-
defaultTo<T_267,
|
587
|
+
defaultTo<T_267, TDefault_7>(value: T_267 | null | undefined, defaultValue: TDefault_7): T_267 | TDefault_7;
|
647
588
|
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;
|
648
589
|
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;
|
649
590
|
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;
|
@@ -669,7 +610,7 @@ export declare const vendorMap: {
|
|
669
610
|
matchesProperty<T_272, V_1>(path: lodash.PropertyPath, srcValue: T_272): (value: V_1) => boolean;
|
670
611
|
method(path: lodash.PropertyPath, ...args: any[]): (object: any) => any;
|
671
612
|
methodOf(object: object, ...args: any[]): (path: lodash.PropertyPath) => any;
|
672
|
-
mixin<
|
613
|
+
mixin<TObject_57>(object: TObject_57, source: lodash.Dictionary<(...args: any[]) => any>, options?: lodash.MixinOptions | undefined): TObject_57;
|
673
614
|
mixin<TResult_44>(source: lodash.Dictionary<(...args: any[]) => any>, options?: lodash.MixinOptions | undefined): lodash.LoDashStatic;
|
674
615
|
noConflict(): lodash.LoDashStatic;
|
675
616
|
noop(...args: any[]): void;
|
@@ -698,5 +639,69 @@ export declare const vendorMap: {
|
|
698
639
|
toPath(value: any): string[];
|
699
640
|
uniqueId(prefix?: string | undefined): string;
|
700
641
|
};
|
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
|
+
};
|
701
706
|
};
|
702
707
|
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 "@veloceapps/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 '@veloceapps/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 '@veloceapps/api';
|
2
|
+
import { LineItem, RuntimeModel } from '@veloceapps/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("@veloceapps/core").RuntimeData, import("@veloceapps/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 '@veloceapps/api';
|
2
|
+
import { Charge, CompiledPricePlan, ConfigurationContext, LineItem, RuntimeModel } from '@veloceapps/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 '@veloceapps/api';
|
2
|
+
import { Charge, CompiledPricePlan, ConfigurationContext, LineItem, QuoteDraft } from '@veloceapps/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": "@veloceapps/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/veloceapps-sdk-core.umd.js",
|
5
|
+
"module": "../fesm2015/veloceapps-sdk-core.js",
|
6
|
+
"es2015": "../fesm2015/veloceapps-sdk-core.js",
|
7
|
+
"esm2015": "../esm2015/core/veloceapps-sdk-core.js",
|
8
|
+
"fesm2015": "../fesm2015/veloceapps-sdk-core.js",
|
9
|
+
"typings": "veloceapps-sdk-core.d.ts"
|
10
10
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ContextApiService } from '@
|
2
|
-
import { ConfigurationContext, ConfigurationContextMode } from '@
|
1
|
+
import { ContextApiService } from '@veloceapps/api';
|
2
|
+
import { ConfigurationContext, ConfigurationContextMode } from '@veloceapps/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 '@veloceapps/api';
|
2
|
+
import { LineItem, PriceList, PriceSummary, QuoteDraft } from '@veloceapps/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 '@veloceapps/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;
|
@@ -6,6 +6,8 @@ export var FlowAction;
|
|
6
6
|
FlowAction["FLOW_APPLY_PRODUCT_CONFIGURATION"] = "FLOW_APPLY_PRODUCT_CONFIGURATION";
|
7
7
|
FlowAction["FLOW_OPEN_DOC_GEN"] = "FLOW_OPEN_DOC_GEN";
|
8
8
|
FlowAction["FLOW_CLOSE_DOC_GEN"] = "FLOW_CLOSE_DOC_GEN";
|
9
|
+
FlowAction["REMOTE_APPLY"] = "REMOTE_APPLY";
|
10
|
+
FlowAction["REMOTE_CANCEL"] = "REMOTE_CANCEL";
|
9
11
|
})(FlowAction || (FlowAction = {}));
|
10
12
|
export const ConfigureProductAction = ({ lineItemId, productId, }) => ({
|
11
13
|
type: FlowAction.FLOW_CONFIGURE_PRODUCT,
|
@@ -26,4 +28,10 @@ export const OpenDocGenAction = () => ({
|
|
26
28
|
export const CloseDocGenAction = () => ({
|
27
29
|
type: FlowAction.FLOW_CLOSE_DOC_GEN,
|
28
30
|
});
|
29
|
-
|
31
|
+
export const RemoteApplyAction = () => ({
|
32
|
+
type: FlowAction.REMOTE_APPLY,
|
33
|
+
});
|
34
|
+
export const RemoteCancelAction = () => ({
|
35
|
+
type: FlowAction.REMOTE_CANCEL,
|
36
|
+
});
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY21zLmFjdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9jbXMvY21zLmFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ik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dHlwZTogRmxvd0FjdGlvbi5GTE9XX0NMT1NFX0RPQ19HRU4sXG59KTtcblxuZXhwb3J0IGNvbnN0IFJlbW90ZUFwcGx5QWN0aW9uID0gKCk6IEludGVncmF0aW9uQWN0aW9uID0+ICh7XG4gIHR5cGU6IEZsb3dBY3Rpb24uUkVNT1RFX0FQUExZLFxufSk7XG5cbmV4cG9ydCBjb25zdCBSZW1vdGVDYW5jZWxBY3Rpb24gPSAoKTogSW50ZWdyYXRpb25BY3Rpb24gPT4gKHtcbiAgdHlwZTogRmxvd0FjdGlvbi5SRU1PVEVfQ0FOQ0VMLFxufSk7XG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY21zLmRlZmF1bHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9jbXMvY21zLmRlZmF1bHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFFckUsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFxRDtJQUMvRSxhQUFhLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztJQUNwQyxPQUFPLEVBQUUsRUFBRTtDQUNaLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVSURlZmluaXRpb25UeXBlIH0gZnJvbSAnQHZlbG9jZWFwcHMvc2RrL2NvcmUnO1xuaW1wb3J0IHsgUGx1Z2luIH0gZnJvbSAnLi9lbmdpbmUvbW9kZWxzL3BsdWdpbic7XG5pbXBvcnQgeyBDb25maWd1cmF0aW9uUGx1Z2luIH0gZnJvbSAnLi9wbHVnaW5zL2NvbmZpZ3VyYXRpb24ucGx1Z2luJztcblxuZXhwb3J0IGNvbnN0IERFRkFVTFRfUExVR0lOUzogeyBba2V5IGluIFVJRGVmaW5pdGlvblR5cGVdOiAodHlwZW9mIFBsdWdpbilbXSB9ID0ge1xuICBDT05GSUdVUkFUSU9OOiBbQ29uZmlndXJhdGlvblBsdWdpbl0sXG4gIERFRkFVTFQ6IFtdLFxufTtcbiJdfQ==
|
@@ -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.17", ngImport: i0, type: ElementChildrenComponent, deps: [{ token: i1.ElementContextService }], target: i0.ɵɵFactoryTarget.Component });
|
12
|
+
ElementChildrenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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.17", ngImport: i0, type: ElementChildrenComponent, decorators: [{
|
14
14
|
type: Component,
|
15
15
|
args: [{
|
16
16
|
// eslint-disable-next-line @angular-eslint/component-selector
|