@veloceapps/sdk 8.0.0-9 → 8.0.0-90
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -1
- package/cms/utils/element.utils.d.ts +1 -0
- package/cms/vendor-map.d.ts +7 -2
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +1 -1
- package/core/modules/configuration/services/configuration.service.d.ts +6 -1
- package/core/modules/flow-configuration/types/update.types.d.ts +1 -1
- package/core/pipes/action-code.pipe.d.ts +8 -0
- package/core/pipes/date.pipe.d.ts +2 -1
- package/core/pipes/index.d.ts +1 -0
- package/core/pipes/pipes.module.d.ts +2 -1
- package/core/services/context.service.d.ts +2 -0
- package/core/services/runtime-settings.service.d.ts +4 -1
- package/core/types/formatting-settings.types.d.ts +2 -0
- package/core/types/index.d.ts +1 -0
- package/core/types/pipe.types.d.ts +1 -0
- package/esm2020/cms/components/element-children/element-children.component.mjs +3 -3
- package/esm2020/cms/components/element-children/element-children.module.mjs +4 -4
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +3 -3
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.module.mjs +4 -4
- package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +3 -3
- package/esm2020/cms/components/element-renderer/element-renderer.module.mjs +4 -4
- package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +5 -5
- package/esm2020/cms/components/plugin.component.mjs +3 -3
- package/esm2020/cms/components/preview/preview.component.mjs +3 -3
- package/esm2020/cms/components/preview/preview.module.mjs +4 -4
- package/esm2020/cms/directives/custom-template.directive.mjs +7 -7
- package/esm2020/cms/launcher.module.mjs +4 -4
- package/esm2020/cms/modules/federated/federated-host.directive.mjs +3 -3
- package/esm2020/cms/modules/federated/federated.component.mjs +3 -3
- package/esm2020/cms/modules/federated/federated.module.mjs +4 -4
- package/esm2020/cms/modules/migrations/migrations.module.mjs +4 -4
- package/esm2020/cms/modules/migrations/services/migrations.service.mjs +3 -3
- package/esm2020/cms/modules/runtime/runtime.module.mjs +4 -4
- package/esm2020/cms/modules/runtime/services/compilation.service.mjs +3 -3
- package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +3 -3
- package/esm2020/cms/modules/runtime/services/runtime.service.mjs +3 -3
- package/esm2020/cms/plugins/configuration.plugin.mjs +3 -3
- package/esm2020/cms/plugins/element-hover.plugin.mjs +3 -3
- package/esm2020/cms/plugins/io.plugin.mjs +8 -7
- package/esm2020/cms/plugins/page.plugin.mjs +3 -3
- package/esm2020/cms/plugins/region.plugin.mjs +3 -3
- package/esm2020/cms/plugins/script.plugin.mjs +3 -3
- package/esm2020/cms/services/element-context.service.mjs +3 -3
- package/esm2020/cms/services/integration.state.mjs +3 -3
- package/esm2020/cms/services/io-provider.service.mjs +3 -3
- package/esm2020/cms/services/resources.service.mjs +3 -3
- package/esm2020/cms/services/templates.service.mjs +3 -3
- package/esm2020/cms/utils/element.utils.mjs +10 -3
- package/esm2020/cms/utils/elements-resolver.mjs +2 -2
- package/esm2020/cms/vendor-map.mjs +8 -3
- package/esm2020/core/core.module.mjs +8 -17
- package/esm2020/core/directives/directives.module.mjs +4 -4
- package/esm2020/core/directives/primeng-calendar.directive.mjs +3 -3
- package/esm2020/core/modules/configuration/configuration.module.mjs +4 -4
- package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +11 -14
- package/esm2020/core/modules/configuration/services/configuration.service.mjs +28 -9
- package/esm2020/core/modules/configuration/services/configuration.state.mjs +3 -3
- package/esm2020/core/modules/configuration/services/runtime-context.service.mjs +9 -9
- package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +4 -4
- package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +3 -3
- package/esm2020/core/modules/flow-configuration/services/flow-update.service.mjs +7 -14
- package/esm2020/core/modules/flow-configuration/types/update.types.mjs +1 -1
- package/esm2020/core/pipes/action-code.pipe.mjs +20 -0
- package/esm2020/core/pipes/date.pipe.mjs +13 -7
- package/esm2020/core/pipes/index.mjs +2 -1
- package/esm2020/core/pipes/number.pipe.mjs +3 -3
- package/esm2020/core/pipes/pipes.module.mjs +8 -7
- package/esm2020/core/pipes/price.pipe.mjs +3 -3
- package/esm2020/core/services/context.service.mjs +20 -5
- package/esm2020/core/services/metric-calculation/metric-calculation.service.mjs +3 -3
- package/esm2020/core/services/product-images.service.mjs +3 -3
- package/esm2020/core/services/quote-draft.service.mjs +5 -4
- package/esm2020/core/services/runtime-settings.service.mjs +20 -5
- package/esm2020/core/types/formatting-settings.types.mjs +1 -1
- package/esm2020/core/types/index.mjs +2 -1
- package/esm2020/core/types/pipe.types.mjs +2 -0
- package/esm2020/src/components/dialog/dialog.component.mjs +3 -3
- package/esm2020/src/components/dialog/dialog.module.mjs +4 -4
- package/esm2020/src/components/doc-gen/doc-gen.component.mjs +13 -14
- package/esm2020/src/components/doc-gen/doc-gen.module.mjs +4 -4
- package/esm2020/src/components/guided-selling/guided-selling.component.mjs +13 -14
- package/esm2020/src/components/guided-selling/guided-selling.module.mjs +4 -4
- package/esm2020/src/components/header/cart-overlay/cart-preview.component.mjs +3 -3
- package/esm2020/src/components/header/cart-overlay/cart-preview.module.mjs +4 -4
- package/esm2020/src/components/header/header.component.mjs +4 -4
- package/esm2020/src/components/header/header.module.mjs +4 -4
- package/esm2020/src/components/header/metrics/metrics.component.mjs +4 -4
- package/esm2020/src/components/header/metrics/metrics.module.mjs +4 -4
- package/esm2020/src/flow-routing.module.mjs +66 -75
- package/esm2020/src/flow.component.mjs +16 -10
- package/esm2020/src/flow.module.mjs +4 -4
- package/esm2020/src/guards/context.guard.mjs +4 -4
- package/esm2020/src/guards/flow.guard.mjs +23 -0
- package/esm2020/src/guards/product-unload.guard.mjs +7 -4
- package/esm2020/src/guards/root.guard.mjs +17 -13
- package/esm2020/src/pages/assets/assets.component.mjs +12 -12
- package/esm2020/src/pages/assets/assets.module.mjs +4 -4
- package/esm2020/src/pages/catalog/catalog.component.mjs +12 -12
- package/esm2020/src/pages/catalog/catalog.module.mjs +4 -4
- package/esm2020/src/pages/debug/debug.component.mjs +12 -16
- package/esm2020/src/pages/debug/debug.module.mjs +4 -4
- package/esm2020/src/pages/empty-account/empty-account.component.mjs +3 -3
- package/esm2020/src/pages/empty-account/empty-account.module.mjs +4 -4
- package/esm2020/src/pages/product/product.component.mjs +5 -6
- package/esm2020/src/pages/product/product.module.mjs +4 -4
- package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +3 -3
- package/esm2020/src/pages/record-not-found/record-not-found.module.mjs +4 -4
- package/esm2020/src/pages/remote/remote.component.mjs +8 -9
- package/esm2020/src/pages/remote/remote.module.mjs +4 -4
- package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +12 -12
- package/esm2020/src/pages/shopping-cart/shopping-cart.module.mjs +4 -4
- package/esm2020/src/resolvers/flow.resolver.mjs +17 -11
- package/esm2020/src/resolvers/quote.resolver.mjs +12 -8
- package/esm2020/src/services/doc-gen.service.mjs +3 -3
- package/esm2020/src/services/flow-dialog.service.mjs +3 -3
- package/esm2020/src/services/flow-router.service.mjs +5 -5
- package/esm2020/src/services/flow.service.mjs +34 -11
- package/esm2020/src/services/guided-selling.service.mjs +3 -3
- package/esm2020/src/utils/flow.utils.mjs +6 -2
- package/fesm2015/veloceapps-sdk-cms.mjs +129 -116
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +1064 -1011
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs +605 -695
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +128 -115
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +589 -538
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs +606 -697
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +3 -11
- package/src/components/doc-gen/doc-gen.component.d.ts +4 -5
- package/src/components/guided-selling/guided-selling.component.d.ts +5 -6
- package/src/flow-routing.module.d.ts +6 -7
- package/src/flow.component.d.ts +3 -2
- package/src/guards/context.guard.d.ts +4 -4
- package/src/guards/flow.guard.d.ts +2 -0
- package/src/guards/product-unload.guard.d.ts +2 -2
- package/src/guards/root.guard.d.ts +0 -1
- package/src/pages/assets/assets.component.d.ts +3 -3
- package/src/pages/catalog/catalog.component.d.ts +3 -3
- package/src/pages/debug/debug.component.d.ts +5 -8
- package/src/pages/shopping-cart/shopping-cart.component.d.ts +3 -3
- package/src/resolvers/flow.resolver.d.ts +3 -1
- package/src/resolvers/quote.resolver.d.ts +3 -1
- package/src/services/flow.service.d.ts +11 -2
- package/esm2020/runtime/components/component-preview/component-preview.component.mjs +0 -125
- package/esm2020/runtime/components/index.mjs +0 -5
- package/esm2020/runtime/components/section-renderer/section-renderer.component.mjs +0 -67
- package/esm2020/runtime/components/ui-runtime/runtime.component.mjs +0 -440
- package/esm2020/runtime/components/ui-runtime-preview/runtime-preview.component.mjs +0 -108
- package/esm2020/runtime/execution/components/children-placeholder/children-placeholder.component.mjs +0 -60
- package/esm2020/runtime/execution/components/context-provider/context-provider.component.mjs +0 -39
- package/esm2020/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.mjs +0 -67
- package/esm2020/runtime/execution/components/federated/federated.component.mjs +0 -74
- package/esm2020/runtime/execution/components/velo-attribute/velo-attribute.component.mjs +0 -60
- package/esm2020/runtime/execution/components/velo-multiselect/velo-multiselect.component.mjs +0 -130
- package/esm2020/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.mjs +0 -72
- package/esm2020/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.mjs +0 -97
- package/esm2020/runtime/execution/components/velo-port-radio/velo-port-radio.component.mjs +0 -142
- package/esm2020/runtime/execution/components/velo-type/velo-type.component.mjs +0 -119
- package/esm2020/runtime/execution/directives/section-script.directive.mjs +0 -247
- package/esm2020/runtime/execution/directives/sf-query.directive.mjs +0 -35
- package/esm2020/runtime/execution/directives/velo-attribute.directive.mjs +0 -88
- package/esm2020/runtime/execution/directives/velo-port.directive.mjs +0 -376
- package/esm2020/runtime/execution/directives/vl-approval.directive.mjs +0 -23
- package/esm2020/runtime/execution/directives/vl-document-attachments.directive.mjs +0 -36
- package/esm2020/runtime/execution/directives/vl-document-templates.directive.mjs +0 -60
- package/esm2020/runtime/execution/directives/vl-quote.directive.mjs +0 -42
- package/esm2020/runtime/execution/directives/vl-ramp.directive.mjs +0 -55
- package/esm2020/runtime/execution/runtime-execution.module.mjs +0 -133
- package/esm2020/runtime/execution/utils/federated.util.mjs +0 -32
- package/esm2020/runtime/index.mjs +0 -5
- package/esm2020/runtime/runtime.module.mjs +0 -74
- package/esm2020/runtime/services/cart.service.mjs +0 -29
- package/esm2020/runtime/services/collapsible-state.service.mjs +0 -34
- package/esm2020/runtime/services/configuration.service.mjs +0 -119
- package/esm2020/runtime/services/current-state.service.mjs +0 -17
- package/esm2020/runtime/services/form-scope.service.mjs +0 -30
- package/esm2020/runtime/services/index.mjs +0 -4
- package/esm2020/runtime/services/product-model-cache.service.mjs +0 -31
- package/esm2020/runtime/services/runtime-context.service.mjs +0 -60
- package/esm2020/runtime/services/runtime-form.service.mjs +0 -219
- package/esm2020/runtime/services/runtime.service.mjs +0 -115
- package/esm2020/runtime/services/section-helper.service.mjs +0 -27
- package/esm2020/runtime/services/section-scope.service.mjs +0 -36
- package/esm2020/runtime/services/section-store.service.mjs +0 -22
- package/esm2020/runtime/services/section.service.mjs +0 -117
- package/esm2020/runtime/types/bound-data.types.mjs +0 -7
- package/esm2020/runtime/types/index.mjs +0 -3
- package/esm2020/runtime/types/quote-states.types.mjs +0 -2
- package/esm2020/runtime/types/runtime.types.mjs +0 -2
- package/esm2020/runtime/types/script-registry.types.mjs +0 -51
- package/esm2020/runtime/utils/line-item.util.mjs +0 -270
- package/esm2020/runtime/utils/section.utils.mjs +0 -26
- package/esm2020/runtime/utils/sections-binder.helper.mjs +0 -105
- package/esm2020/runtime/veloceapps-sdk-runtime.mjs +0 -5
- package/esm2020/src/pages/legacy-product/legacy-product.component.mjs +0 -137
- package/esm2020/src/pages/legacy-product/legacy-product.module.mjs +0 -19
- package/fesm2015/veloceapps-sdk-runtime.mjs +0 -3770
- package/fesm2015/veloceapps-sdk-runtime.mjs.map +0 -1
- package/fesm2020/veloceapps-sdk-runtime.mjs +0 -3767
- package/fesm2020/veloceapps-sdk-runtime.mjs.map +0 -1
- package/runtime/README.md +0 -5
- package/runtime/components/component-preview/component-preview.component.d.ts +0 -27
- package/runtime/components/index.d.ts +0 -4
- package/runtime/components/section-renderer/section-renderer.component.d.ts +0 -25
- package/runtime/components/ui-runtime/runtime.component.d.ts +0 -53
- package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +0 -27
- package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +0 -30
- package/runtime/execution/components/context-provider/context-provider.component.d.ts +0 -14
- package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +0 -25
- package/runtime/execution/components/federated/federated.component.d.ts +0 -36
- package/runtime/execution/components/velo-attribute/velo-attribute.component.d.ts +0 -19
- package/runtime/execution/components/velo-multiselect/velo-multiselect.component.d.ts +0 -35
- package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +0 -22
- package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +0 -22
- package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +0 -28
- package/runtime/execution/components/velo-type/velo-type.component.d.ts +0 -31
- package/runtime/execution/directives/section-script.directive.d.ts +0 -59
- package/runtime/execution/directives/sf-query.directive.d.ts +0 -15
- package/runtime/execution/directives/velo-attribute.directive.d.ts +0 -26
- package/runtime/execution/directives/velo-port.directive.d.ts +0 -74
- package/runtime/execution/directives/vl-approval.directive.d.ts +0 -10
- package/runtime/execution/directives/vl-document-attachments.directive.d.ts +0 -15
- package/runtime/execution/directives/vl-document-templates.directive.d.ts +0 -33
- package/runtime/execution/directives/vl-quote.directive.d.ts +0 -14
- package/runtime/execution/directives/vl-ramp.directive.d.ts +0 -15
- package/runtime/execution/runtime-execution.module.d.ts +0 -25
- package/runtime/execution/utils/federated.util.d.ts +0 -6
- package/runtime/index.d.ts +0 -4
- package/runtime/runtime.module.d.ts +0 -16
- package/runtime/services/cart.service.d.ts +0 -15
- package/runtime/services/collapsible-state.service.d.ts +0 -15
- package/runtime/services/configuration.service.d.ts +0 -20
- package/runtime/services/current-state.service.d.ts +0 -8
- package/runtime/services/form-scope.service.d.ts +0 -20
- package/runtime/services/index.d.ts +0 -3
- package/runtime/services/product-model-cache.service.d.ts +0 -14
- package/runtime/services/runtime-context.service.d.ts +0 -16
- package/runtime/services/runtime-form.service.d.ts +0 -24
- package/runtime/services/runtime.service.d.ts +0 -44
- package/runtime/services/section-helper.service.d.ts +0 -8
- package/runtime/services/section-scope.service.d.ts +0 -14
- package/runtime/services/section-store.service.d.ts +0 -11
- package/runtime/services/section.service.d.ts +0 -30
- package/runtime/types/bound-data.types.d.ts +0 -13
- package/runtime/types/index.d.ts +0 -2
- package/runtime/types/quote-states.types.d.ts +0 -6
- package/runtime/types/runtime.types.d.ts +0 -19
- package/runtime/types/script-registry.types.d.ts +0 -13
- package/runtime/utils/line-item.util.d.ts +0 -34
- package/runtime/utils/section.utils.d.ts +0 -2
- package/runtime/utils/sections-binder.helper.d.ts +0 -16
- package/src/pages/legacy-product/legacy-product.component.d.ts +0 -37
- package/src/pages/legacy-product/legacy-product.module.d.ts +0 -9
package/runtime/README.md
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { ComponentStoryPreview, Section } from '@veloceapps/core';
|
4
|
-
import { FormScopeService } from '../../services/form-scope.service';
|
5
|
-
import { RuntimeFormService } from '../../services/runtime-form.service';
|
6
|
-
import { RuntimeService } from '../../services/runtime.service';
|
7
|
-
import { SectionsService } from '../../services/section.service';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
export declare class ComponentPreviewComponent implements OnChanges {
|
10
|
-
private sectionsService;
|
11
|
-
private runtimeFormService;
|
12
|
-
private formScope;
|
13
|
-
private runtimeService;
|
14
|
-
private cdr;
|
15
|
-
data?: ComponentStoryPreview;
|
16
|
-
form: FormGroup<{}>;
|
17
|
-
section?: Section;
|
18
|
-
showPreview: boolean;
|
19
|
-
isNoPreviewAvailable: boolean;
|
20
|
-
isPreviewFailed: boolean;
|
21
|
-
constructor(sectionsService: SectionsService, runtimeFormService: RuntimeFormService, formScope: FormScopeService, runtimeService: RuntimeService, cdr: ChangeDetectorRef);
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
23
|
-
runPreview(data: ComponentStoryPreview): void;
|
24
|
-
createRuntimeContext(section: Section): void;
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentPreviewComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComponentPreviewComponent, "vl-component-preview", never, { "data": "data"; }, {}, never, never, false, never>;
|
27
|
-
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export { ComponentPreviewComponent } from './component-preview/component-preview.component';
|
2
|
-
export { SectionRendererComponent } from './section-renderer/section-renderer.component';
|
3
|
-
export { RuntimePreviewComponent } from './ui-runtime-preview/runtime-preview.component';
|
4
|
-
export { RuntimeComponent } from './ui-runtime/runtime.component';
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { AfterViewInit, Injector, NgModuleRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { Section } from '@veloceapps/core';
|
4
|
-
import { SectionScopeService } from '../../services/section-scope.service';
|
5
|
-
import { SectionStoreService } from '../../services/section-store.service';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class SectionRendererComponent implements OnInit, AfterViewInit, OnDestroy {
|
8
|
-
private _injector;
|
9
|
-
private _m;
|
10
|
-
private sectionScope;
|
11
|
-
private sectionStore;
|
12
|
-
private _section;
|
13
|
-
set section(value: Section);
|
14
|
-
get section(): Section;
|
15
|
-
form: FormGroup;
|
16
|
-
constructor(_injector: Injector, _m: NgModuleRef<any>, sectionScope: SectionScopeService, sectionStore: SectionStoreService);
|
17
|
-
container: ViewContainerRef;
|
18
|
-
private componentRef;
|
19
|
-
ngOnInit(): void;
|
20
|
-
ngAfterViewInit(): void;
|
21
|
-
ngOnDestroy(): void;
|
22
|
-
renderSection(): void;
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SectionRendererComponent, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SectionRendererComponent, "vl-section-renderer", never, { "section": "section"; "form": "form"; }, {}, never, never, false, never>;
|
25
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { LineItem, OrderByPipe, SearchFilterPipe, Section, UITab } from '@veloceapps/core';
|
4
|
-
import { ContextService } from '@veloceapps/sdk/core';
|
5
|
-
import { MessageService } from 'primeng/api';
|
6
|
-
import { CollapsibleStateService } from '../../services/collapsible-state.service';
|
7
|
-
import { FormScopeService } from '../../services/form-scope.service';
|
8
|
-
import { RuntimeFormService } from '../../services/runtime-form.service';
|
9
|
-
import { RuntimeService } from '../../services/runtime.service';
|
10
|
-
import { SectionsService } from '../../services/section.service';
|
11
|
-
import { LegacyRuntimeContext, SolutionReadyAware } from '../../types';
|
12
|
-
import * as i0 from "@angular/core";
|
13
|
-
export declare class RuntimeComponent implements OnInit, OnDestroy, SolutionReadyAware {
|
14
|
-
private sectionsService;
|
15
|
-
private formScope;
|
16
|
-
private collapsibleState;
|
17
|
-
private formService;
|
18
|
-
private runtimeService;
|
19
|
-
private messageService;
|
20
|
-
private contextService;
|
21
|
-
private orderByPipe;
|
22
|
-
private searchFilterPipe;
|
23
|
-
private cdr;
|
24
|
-
readonly messageBucketId = "ui.runtime";
|
25
|
-
sortedSections: Section[];
|
26
|
-
staticSections: Section[];
|
27
|
-
runtimeContext: LegacyRuntimeContext;
|
28
|
-
solutionLineItem: LineItem;
|
29
|
-
form: FormGroup;
|
30
|
-
activeUITab?: UITab;
|
31
|
-
solutionIsReady: boolean;
|
32
|
-
private readonly unsubscribe;
|
33
|
-
private readonly solutionUpdated;
|
34
|
-
constructor(sectionsService: SectionsService, formScope: FormScopeService, collapsibleState: CollapsibleStateService, formService: RuntimeFormService, runtimeService: RuntimeService, messageService: MessageService, contextService: ContextService, orderByPipe: OrderByPipe, searchFilterPipe: SearchFilterPipe, cdr: ChangeDetectorRef);
|
35
|
-
private adjustPrice;
|
36
|
-
ngOnInit(): void;
|
37
|
-
onSolutionReady(lineItem: LineItem): void;
|
38
|
-
private handleSolutionUpdate;
|
39
|
-
private handleSolutionFailedUpdate;
|
40
|
-
private updateCardinalityVariable;
|
41
|
-
private createLineItem;
|
42
|
-
ngOnDestroy(): void;
|
43
|
-
private startRuntime;
|
44
|
-
private updateRuntime;
|
45
|
-
addToCart(): void;
|
46
|
-
processSolution(isUpdate?: boolean, isError?: boolean): void;
|
47
|
-
hideModal(): void;
|
48
|
-
private updateLineItemsSectionPath;
|
49
|
-
private filterAndSort;
|
50
|
-
private findSection;
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeComponent, never>;
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuntimeComponent, "vl-runtime", never, {}, { "solutionUpdated": "solutionUpdated"; }, never, never, false, never>;
|
53
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { ConfigurationApiService } from '@veloceapps/api';
|
3
|
-
import { LegacyUIDefinition, LineItem } from '@veloceapps/core';
|
4
|
-
import { ContextService } from '@veloceapps/sdk/core';
|
5
|
-
import { ProductModelCacheService } from '../../services/product-model-cache.service';
|
6
|
-
import { RuntimeService } from '../../services/runtime.service';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export declare class RuntimePreviewComponent implements OnInit, OnDestroy {
|
9
|
-
private runtimeService;
|
10
|
-
private modelCacheService;
|
11
|
-
private configurationApiService;
|
12
|
-
private contextService;
|
13
|
-
modelId?: string;
|
14
|
-
set uiDefinition(value: LegacyUIDefinition);
|
15
|
-
private _uiDefinition?;
|
16
|
-
private initialisedUiDefinition?;
|
17
|
-
private productModelContainer?;
|
18
|
-
private destroy$;
|
19
|
-
constructor(runtimeService: RuntimeService, modelCacheService: ProductModelCacheService, configurationApiService: ConfigurationApiService, contextService: ContextService);
|
20
|
-
ngOnInit(): void;
|
21
|
-
ngOnDestroy(): void;
|
22
|
-
initDefinition(uiDefinition: LegacyUIDefinition): void;
|
23
|
-
onSolutionUpdated(lineItem: LineItem): void;
|
24
|
-
private launchRuntime;
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimePreviewComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuntimePreviewComponent, "vl-runtime-preview", never, { "modelId": "modelId"; "uiDefinition": "uiDefinition"; }, {}, never, never, false, never>;
|
27
|
-
}
|
package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { Section } from '@veloceapps/core';
|
4
|
-
import { Subscription } from 'rxjs';
|
5
|
-
import { CollapsibleStateService } from '../../../services/collapsible-state.service';
|
6
|
-
import { FormScopeService } from '../../../services/form-scope.service';
|
7
|
-
import { SectionScopeService } from '../../../services/section-scope.service';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
export declare class ChildrenPlaceholderComponent implements OnInit, OnChanges, OnDestroy {
|
10
|
-
private sectionScope;
|
11
|
-
private formScope;
|
12
|
-
private collapsibleState;
|
13
|
-
children?: Section[];
|
14
|
-
_children: Section[];
|
15
|
-
section: Section;
|
16
|
-
form: FormGroup;
|
17
|
-
sub: Subscription;
|
18
|
-
collapsed: boolean;
|
19
|
-
constructor(sectionScope: SectionScopeService, formScope: FormScopeService, collapsibleState: CollapsibleStateService);
|
20
|
-
ngOnInit(): void;
|
21
|
-
ngOnChanges(changes: SimpleChanges): void;
|
22
|
-
setChildren(): void;
|
23
|
-
ngOnDestroy(): void;
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChildrenPlaceholderComponent, never>;
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChildrenPlaceholderComponent, "children-placeholder", never, { "children": "children"; }, {}, never, never, false, never>;
|
26
|
-
}
|
27
|
-
export declare class TemplateComponent extends ChildrenPlaceholderComponent {
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateComponent, never>;
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateComponent, "template-component", never, {}, {}, never, never, false, never>;
|
30
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { RuntimeProduct, RuntimeType } from '@veloceapps/core';
|
3
|
-
import { Dictionary } from 'lodash';
|
4
|
-
import { RuntimeService } from '../../../services/runtime.service';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class ContextProviderComponent implements OnInit {
|
7
|
-
private runtimeService;
|
8
|
-
types: RuntimeType[];
|
9
|
-
products: Dictionary<RuntimeProduct[]>;
|
10
|
-
constructor(runtimeService: RuntimeService);
|
11
|
-
ngOnInit(): void;
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextProviderComponent, never>;
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextProviderComponent, "vl-context-provider", never, { "types": "types"; "products": "products"; }, {}, never, never, false, never>;
|
14
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { AfterViewInit, Injector, NgModuleRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { Section } from '@veloceapps/core';
|
4
|
-
import { SectionScopeService } from '../../../services/section-scope.service';
|
5
|
-
import { SectionStoreService } from '../../../services/section-store.service';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class ExecutionSectionRendererComponent implements OnInit, AfterViewInit, OnDestroy {
|
8
|
-
private _injector;
|
9
|
-
private _m;
|
10
|
-
private sectionScope;
|
11
|
-
private sectionStore;
|
12
|
-
private _section;
|
13
|
-
set section(value: Section);
|
14
|
-
get section(): Section;
|
15
|
-
form: FormGroup;
|
16
|
-
constructor(_injector: Injector, _m: NgModuleRef<any>, sectionScope: SectionScopeService, sectionStore: SectionStoreService);
|
17
|
-
container: ViewContainerRef;
|
18
|
-
private componentRef;
|
19
|
-
ngOnInit(): void;
|
20
|
-
ngAfterViewInit(): void;
|
21
|
-
ngOnDestroy(): void;
|
22
|
-
renderSection(): void;
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExecutionSectionRendererComponent, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExecutionSectionRendererComponent, "section-renderer", never, { "section": "section"; "form": "form"; }, {}, never, never, false, never>;
|
25
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import { AfterViewInit, ApplicationRef, Compiler, ElementRef, Injector, OnChanges, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
2
|
-
import { LineItem } from '@veloceapps/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
declare enum IntegrationEvent {
|
5
|
-
Init = "Init"
|
6
|
-
}
|
7
|
-
interface InputData {
|
8
|
-
rootLineItem: LineItem;
|
9
|
-
}
|
10
|
-
interface IntegrationEventPayload {
|
11
|
-
type: IntegrationEvent;
|
12
|
-
payload?: unknown;
|
13
|
-
}
|
14
|
-
export declare class FederatedComponent implements AfterViewInit, OnChanges {
|
15
|
-
private injector;
|
16
|
-
private compiler;
|
17
|
-
private appRef;
|
18
|
-
private renderer;
|
19
|
-
federatedComponent?: ViewContainerRef;
|
20
|
-
foo?: TemplateRef<unknown>;
|
21
|
-
moduleHostRef?: ElementRef;
|
22
|
-
remoteEntry?: string;
|
23
|
-
remoteName?: string;
|
24
|
-
exposedModule?: string;
|
25
|
-
data?: InputData;
|
26
|
-
eventData?: IntegrationEventPayload;
|
27
|
-
private integrationEvent;
|
28
|
-
moduleReady: boolean;
|
29
|
-
private instance?;
|
30
|
-
constructor(injector: Injector, compiler: Compiler, appRef: ApplicationRef, renderer: Renderer2);
|
31
|
-
ngAfterViewInit(): void;
|
32
|
-
ngOnChanges(changes: SimpleChanges): void;
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FederatedComponent, never>;
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FederatedComponent, "veloce-host-federated", never, { "remoteEntry": "remoteEntry"; "remoteName": "remoteName"; "exposedModule": "exposedModule"; "data": "data"; "eventData": "eventData"; }, { "integrationEvent": "integrationEvent"; }, never, never, false, never>;
|
35
|
-
}
|
36
|
-
export {};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { FormScopeService } from '../../../services/form-scope.service';
|
3
|
-
import { SectionScopeService } from '../../../services/section-scope.service';
|
4
|
-
import { VeloAttributeDirective } from '../../directives/velo-attribute.directive';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class VeloAttributeComponent extends VeloAttributeDirective implements OnInit {
|
7
|
-
controlName: string;
|
8
|
-
displayName: string;
|
9
|
-
isMultiselect: boolean;
|
10
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
11
|
-
getValueOptions(valueOptions: unknown): (string | number)[];
|
12
|
-
getValueText(valueOptions: unknown, value: string | number): string;
|
13
|
-
handleMultiselectChange(value: string | number): void;
|
14
|
-
handleMultipleDropdownChange(event: any): void;
|
15
|
-
private isBooleanType;
|
16
|
-
private getDisplayName;
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloAttributeComponent, never>;
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VeloAttributeComponent, "velo-attribute", never, {}, {}, never, never, false, never>;
|
19
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
2
|
-
import { ElementRef, EventEmitter, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class MultiselectComponent implements ControlValueAccessor, OnDestroy {
|
6
|
-
private elRef;
|
7
|
-
private viewContainerRef;
|
8
|
-
private overlay;
|
9
|
-
options?: any[];
|
10
|
-
selectionChange: EventEmitter<string[]>;
|
11
|
-
selected: string[];
|
12
|
-
displayValue: string;
|
13
|
-
touched: boolean;
|
14
|
-
disabled: boolean;
|
15
|
-
overlayTemplate: TemplateRef<any>;
|
16
|
-
opened: boolean;
|
17
|
-
private overlayRef?;
|
18
|
-
private dropdownClosingActionsSub?;
|
19
|
-
onChange: (selected: string[]) => void;
|
20
|
-
onTouched: () => void;
|
21
|
-
constructor(elRef: ElementRef, viewContainerRef: ViewContainerRef, overlay: Overlay);
|
22
|
-
ngOnDestroy(): void;
|
23
|
-
writeValue(selected: string[]): void;
|
24
|
-
registerOnChange(onChange: any): void;
|
25
|
-
registerOnTouched(onTouched: any): void;
|
26
|
-
setDisabledState(disabled: boolean): void;
|
27
|
-
handleSelection(value: any): void;
|
28
|
-
toggleOpened(): void;
|
29
|
-
private getDisplayValue;
|
30
|
-
private openDropdown;
|
31
|
-
private dropdownClosingActions;
|
32
|
-
private destroyDropdown;
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent, never>;
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "velo-multiselect", never, { "options": "options"; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
|
35
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
2
|
-
import { Section } from '@veloceapps/core';
|
3
|
-
import { FormScopeService } from '../../../services/form-scope.service';
|
4
|
-
import { SectionScopeService } from '../../../services/section-scope.service';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class VeloPortCheckBoxComponent {
|
7
|
-
private formScope;
|
8
|
-
private sectionScope;
|
9
|
-
controlName: string;
|
10
|
-
form: FormGroup;
|
11
|
-
section: Section;
|
12
|
-
showSelectAll: boolean;
|
13
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
14
|
-
handleChange(valueOption: string): void;
|
15
|
-
hasValueFor(valueOption: string): boolean;
|
16
|
-
selectAllChange(): void;
|
17
|
-
isAllSelected(): boolean;
|
18
|
-
getMessages(valueOption: string): string[];
|
19
|
-
private findLineItemForValue;
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortCheckBoxComponent, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortCheckBoxComponent, "velo-port-checkbox", never, { "showSelectAll": "showSelectAll"; }, {}, never, ["*"], false, never>;
|
22
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
2
|
-
import { Section } from '@veloceapps/core';
|
3
|
-
import { Dictionary } from 'lodash';
|
4
|
-
import { FormScopeService } from '../../../services/form-scope.service';
|
5
|
-
import { SectionScopeService } from '../../../services/section-scope.service';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class VeloPortDropdownComponent {
|
8
|
-
private formScope;
|
9
|
-
private sectionScope;
|
10
|
-
controlName: string;
|
11
|
-
qtyControlName: string;
|
12
|
-
form: FormGroup;
|
13
|
-
section: Section;
|
14
|
-
prices: Dictionary<any>;
|
15
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
16
|
-
isAddAllowed(): boolean;
|
17
|
-
handleCreate(): void;
|
18
|
-
private findPriceItemsForValue;
|
19
|
-
private add;
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortDropdownComponent, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortDropdownComponent, "velo-port-dropdown", never, {}, {}, never, ["*"], false, never>;
|
22
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { LineItem, RecommendedPrice, Section } from '@veloceapps/core';
|
4
|
-
import { Dictionary } from 'lodash';
|
5
|
-
import { FormScopeService } from '../../../services/form-scope.service';
|
6
|
-
import { SectionScopeService } from '../../../services/section-scope.service';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export declare class VeloPortRadioComponent implements OnInit {
|
9
|
-
private formScope;
|
10
|
-
private sectionScope;
|
11
|
-
controlName: string;
|
12
|
-
form: FormGroup;
|
13
|
-
section: Section;
|
14
|
-
prices: Dictionary<any>;
|
15
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
16
|
-
ngOnInit(): void;
|
17
|
-
handleChange(event: any, valueOption: any): void;
|
18
|
-
hasValueFor(valueOption: string): boolean;
|
19
|
-
getMessages(valueOption: string): LineItem['messages'];
|
20
|
-
toString(price: RecommendedPrice): string;
|
21
|
-
private hasPreviousValue;
|
22
|
-
private findLineItemForValue;
|
23
|
-
private initPriceItems;
|
24
|
-
private findPriceItemsForValue;
|
25
|
-
private add;
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortRadioComponent, never>;
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortRadioComponent, "velo-port-radio", never, {}, {}, never, ["*", "*"], false, never>;
|
28
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { RecommendedPrice, Section } from '@veloceapps/core';
|
4
|
-
import { MessageService } from 'primeng/api';
|
5
|
-
import { CollapsibleStateService } from '../../../services/collapsible-state.service';
|
6
|
-
import { FormScopeService } from '../../../services/form-scope.service';
|
7
|
-
import { SectionScopeService } from '../../../services/section-scope.service';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
export declare class VeloTypeComponent implements OnInit {
|
10
|
-
private formScope;
|
11
|
-
private collapsibleState;
|
12
|
-
private sectionScope;
|
13
|
-
private messageService;
|
14
|
-
readonly messageBucketId = "ui-runtime";
|
15
|
-
controlName: string;
|
16
|
-
qtyControlName: string;
|
17
|
-
displayName: string;
|
18
|
-
indent: number;
|
19
|
-
form: FormGroup;
|
20
|
-
section: Section;
|
21
|
-
prices: RecommendedPrice[];
|
22
|
-
constructor(formScope: FormScopeService, collapsibleState: CollapsibleStateService, sectionScope: SectionScopeService, messageService: MessageService);
|
23
|
-
ngOnInit(): void;
|
24
|
-
handleRemove(): void;
|
25
|
-
handleQuantityUpdate(): void;
|
26
|
-
toggleCollapse(): void;
|
27
|
-
getPrices(): RecommendedPrice[];
|
28
|
-
private add;
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloTypeComponent, never>;
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VeloTypeComponent, "velo-type", never, {}, {}, never, ["*"], false, never>;
|
31
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
2
|
-
import { FormBuilder } from '@angular/forms';
|
3
|
-
import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
|
4
|
-
import { ShoppingCartService } from '../../services/cart.service';
|
5
|
-
import { CurrentStateService } from '../../services/current-state.service';
|
6
|
-
import { FormScopeService } from '../../services/form-scope.service';
|
7
|
-
import { RuntimeService } from '../../services/runtime.service';
|
8
|
-
import { SectionScopeService } from '../../services/section-scope.service';
|
9
|
-
import { SfQueryDirective } from './sf-query.directive';
|
10
|
-
import { LineItemDirective } from './velo-port.directive';
|
11
|
-
import { VlApprovalDirective } from './vl-approval.directive';
|
12
|
-
import { VlDocumentAttachmentsDirective } from './vl-document-attachments.directive';
|
13
|
-
import { VlDocumentTemplatesDirective } from './vl-document-templates.directive';
|
14
|
-
import { VlQuoteDirective } from './vl-quote.directive';
|
15
|
-
import { VlRampDirective } from './vl-ramp.directive';
|
16
|
-
import * as i0 from "@angular/core";
|
17
|
-
export declare class SectionScriptDirective implements OnInit, AfterViewInit, OnDestroy {
|
18
|
-
private _document;
|
19
|
-
private sfQueryDirective;
|
20
|
-
private lineItemDirective;
|
21
|
-
private quoteDirective;
|
22
|
-
private documentTemplatesDirective;
|
23
|
-
private rampDirective;
|
24
|
-
private approvalDirective;
|
25
|
-
private documentAttachmentsDirective;
|
26
|
-
private formScope;
|
27
|
-
private sectionScope;
|
28
|
-
private renderer;
|
29
|
-
private formBuilder;
|
30
|
-
private runtimeService;
|
31
|
-
private cdr;
|
32
|
-
private cartService;
|
33
|
-
private contextService;
|
34
|
-
private currentStateService;
|
35
|
-
private quoteService;
|
36
|
-
private scriptElement;
|
37
|
-
private scriptId;
|
38
|
-
private registry;
|
39
|
-
private sessionScope;
|
40
|
-
constructor(_document: Document, sfQueryDirective: SfQueryDirective, lineItemDirective: LineItemDirective, quoteDirective: VlQuoteDirective, documentTemplatesDirective: VlDocumentTemplatesDirective, rampDirective: VlRampDirective, approvalDirective: VlApprovalDirective, documentAttachmentsDirective: VlDocumentAttachmentsDirective, formScope: FormScopeService, sectionScope: SectionScopeService, renderer: Renderer2, formBuilder: FormBuilder, runtimeService: RuntimeService, cdr: ChangeDetectorRef, cartService: ShoppingCartService, contextService: ContextService, currentStateService: CurrentStateService, quoteService: QuoteDraftService);
|
41
|
-
ngOnInit(): void;
|
42
|
-
ngAfterViewInit(): void;
|
43
|
-
ngOnDestroy(): void;
|
44
|
-
get scope(): any;
|
45
|
-
private scriptExists;
|
46
|
-
private encodeScriptBody;
|
47
|
-
private generateScriptId;
|
48
|
-
private getScriptRegistry;
|
49
|
-
private getSessionScope;
|
50
|
-
private initScript;
|
51
|
-
private removeScript;
|
52
|
-
private appendScriptElementToDom;
|
53
|
-
private removeScriptElementFromDom;
|
54
|
-
private scriptFromTemplate;
|
55
|
-
private methodApply;
|
56
|
-
private getExposedApis;
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SectionScriptDirective, never>;
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SectionScriptDirective, "section-script", ["scriptApi"], {}, {}, never, never, false, never>;
|
59
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { HttpParams } from '@angular/common/http';
|
2
|
-
import { SalesforceApiService } from '@veloceapps/api';
|
3
|
-
import { SearchRequest } from '@veloceapps/core';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class SfQueryDirective {
|
6
|
-
private apiService;
|
7
|
-
constructor(apiService: SalesforceApiService);
|
8
|
-
query(searchRequest: SearchRequest, objectName: string): Promise<any>;
|
9
|
-
describe(objectName: string, fieldName?: string): Promise<any>;
|
10
|
-
describe2(objectName: string, fieldsNames: string[]): Promise<any>;
|
11
|
-
apexGetRequest<T = unknown>(path: string, params: HttpParams): Promise<T>;
|
12
|
-
apexPostRequest<T = unknown, S = unknown>(path: string, body: S): Promise<T>;
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SfQueryDirective, never>;
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SfQueryDirective, "sf-query", ["sfApi"], {}, {}, never, never, false, never>;
|
15
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { Section } from '@veloceapps/core';
|
4
|
-
import { FormScopeService } from '../../services/form-scope.service';
|
5
|
-
import { SectionScopeService } from '../../services/section-scope.service';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class VeloAttributeDirective implements OnInit {
|
8
|
-
private formScope;
|
9
|
-
private sectionScope;
|
10
|
-
valueQuantities: {
|
11
|
-
[index: string]: number;
|
12
|
-
};
|
13
|
-
form: FormGroup;
|
14
|
-
section: Section;
|
15
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
16
|
-
ngOnInit(): void;
|
17
|
-
handleChange(valueOption?: any): void;
|
18
|
-
handleChangDate(valueOption: any): void;
|
19
|
-
handleRemove(): void;
|
20
|
-
nextVal(): void;
|
21
|
-
prevVal(): void;
|
22
|
-
private initQuantity;
|
23
|
-
private getCurrentValueIndex;
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloAttributeDirective, never>;
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VeloAttributeDirective, "velo-attribute-directive", ["attributeApi"], {}, {}, never, never, false, never>;
|
26
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { LineItem, Section } from '@veloceapps/core';
|
4
|
-
import { ConfigurationService } from '../../services/configuration.service';
|
5
|
-
import { FormScopeService } from '../../services/form-scope.service';
|
6
|
-
import { SectionScopeService } from '../../services/section-scope.service';
|
7
|
-
import { LegacyRuntimeContext } from '../../types';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
export declare class SectionContextAware implements OnInit {
|
10
|
-
protected formScope: FormScopeService;
|
11
|
-
protected sectionScope: SectionScopeService;
|
12
|
-
controlName: string;
|
13
|
-
qtyControlName: string;
|
14
|
-
form: FormGroup;
|
15
|
-
section: Section;
|
16
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
17
|
-
ngOnInit(): void;
|
18
|
-
initControlNames(): void;
|
19
|
-
isAddAllowed(quantityToAdd?: number): boolean;
|
20
|
-
isRemoveAllowed(quantityToRemove?: number): boolean;
|
21
|
-
handleCreate(valueOption?: any): void;
|
22
|
-
handleChange(valueOption?: any): void;
|
23
|
-
handleQtyChange(valueOption: any): void;
|
24
|
-
handleRemove(valueOption: string): void;
|
25
|
-
handleCopy(valueOption: string): void;
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SectionContextAware, never>;
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SectionContextAware, never, never, {}, {}, never, never, false, never>;
|
28
|
-
}
|
29
|
-
export declare class LineItemDirective implements OnInit {
|
30
|
-
private formScope;
|
31
|
-
private sectionScope;
|
32
|
-
private configurationService;
|
33
|
-
section: Section;
|
34
|
-
lineItem?: LineItem;
|
35
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService, configurationService: ConfigurationService);
|
36
|
-
ngOnInit(): void;
|
37
|
-
handlePatch(rootLineItem: any): void;
|
38
|
-
configure(runtimeContext: LegacyRuntimeContext, configurableRamp: LineItem): Promise<LineItem>;
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LineItemDirective, never>;
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LineItemDirective, "line-item", ["liApi"], {}, {}, never, never, false, never>;
|
41
|
-
}
|
42
|
-
export declare class VeloPortDirective extends SectionContextAware implements OnInit {
|
43
|
-
valueQuantities: {
|
44
|
-
[index: string]: number;
|
45
|
-
};
|
46
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
47
|
-
private handlePriceAdjustment;
|
48
|
-
ngOnInit(): void;
|
49
|
-
handleUpsert(valueOption?: any, event?: Event): void;
|
50
|
-
isActive(valueOption?: any): boolean;
|
51
|
-
private initQuantity;
|
52
|
-
handleNextVal(valueOption: string): void;
|
53
|
-
handlePrevVal(valueOption: string): void;
|
54
|
-
handleManualQtyChange(valueOption: string, qtyVal: any): void;
|
55
|
-
handleNetPriceAdjustment(valueOption: string, amount: number): void;
|
56
|
-
handleListPriceAdjustment(valueOption: string, amount: number): void;
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortDirective, never>;
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VeloPortDirective, "velo-port", ["portApi"], {}, {}, never, never, false, never>;
|
59
|
-
}
|
60
|
-
export declare class VeloDropdownComponent extends SectionContextAware {
|
61
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloDropdownComponent, never>;
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VeloDropdownComponent, "velo-dropdown", never, {}, {}, never, never, false, never>;
|
64
|
-
}
|
65
|
-
export declare class VeloQuantityComponent extends SectionContextAware {
|
66
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloQuantityComponent, never>;
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VeloQuantityComponent, "velo-quantity", never, {}, {}, never, never, false, never>;
|
69
|
-
}
|
70
|
-
export declare class VeloQuantityButtonComponent extends SectionContextAware {
|
71
|
-
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VeloQuantityButtonComponent, never>;
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VeloQuantityButtonComponent, "velo-quantity-button", never, {}, {}, never, never, false, never>;
|
74
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { QuoteApiService } from '@veloceapps/api';
|
2
|
-
import { QuoteDraft } from '@veloceapps/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class VlApprovalDirective {
|
5
|
-
private repo;
|
6
|
-
constructor(repo: QuoteApiService);
|
7
|
-
submitQuote(quoteDraft: QuoteDraft): Promise<any>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VlApprovalDirective, never>;
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VlApprovalDirective, "vl-approval", ["approvalApi"], {}, {}, never, never, false, never>;
|
10
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { DocumentAttachmentApiService } from '@veloceapps/api';
|
2
|
-
import { Attachment, TemplateAttachmentSearchRequest } from '@veloceapps/core';
|
3
|
-
import { Observable } from 'rxjs';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class VlDocumentAttachmentsDirective {
|
6
|
-
private service;
|
7
|
-
constructor(service: DocumentAttachmentApiService);
|
8
|
-
getAttachments(searchRequest: TemplateAttachmentSearchRequest): Promise<Attachment[]>;
|
9
|
-
createAttachment(attachment: Attachment, file?: File, reportProgress?: boolean): Promise<Attachment> | Observable<Attachment>;
|
10
|
-
updateAttachment(id: string, attachment: Attachment): Promise<Attachment>;
|
11
|
-
getAttachmentFile(id: string, isPreventDownload?: boolean): Promise<any>;
|
12
|
-
removeAttachment(id: string): Promise<unknown>;
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VlDocumentAttachmentsDirective, never>;
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VlDocumentAttachmentsDirective, "vl-document-attachments", ["documentAttachmentsApi"], {}, {}, never, never, false, never>;
|
15
|
-
}
|