@veloceapps/sdk 2.0.7 → 2.0.9
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 +160 -80
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +143 -143
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +60 -60
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/components/preview/preview.component.d.ts +1 -0
- package/cms/types/common.types.d.ts +8 -4
- package/cms/utils/element.utils.d.ts +2 -0
- package/esm2015/cms/cms.elements.js +2 -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 +3 -3
- package/esm2015/cms/components/element-renderer/element-renderer.module.js +4 -4
- package/esm2015/cms/components/federated/federated.component.js +3 -3
- package/esm2015/cms/components/federated/federated.module.js +4 -4
- package/esm2015/cms/components/plugin.component.js +3 -3
- package/esm2015/cms/components/preview/preview.component.js +15 -5
- package/esm2015/cms/components/preview/preview.module.js +4 -4
- package/esm2015/cms/directives/custom-template.directive.js +3 -3
- package/esm2015/cms/launcher.module.js +4 -4
- package/esm2015/cms/modules/configuration/configuration.module.js +4 -4
- package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +3 -3
- package/esm2015/cms/modules/configuration/services/configuration.service.js +3 -3
- package/esm2015/cms/modules/configuration/services/runtime-context.service.js +3 -3
- package/esm2015/cms/plugins/configuration.plugin.js +3 -3
- package/esm2015/cms/plugins/io.plugin.js +3 -3
- package/esm2015/cms/plugins/script.plugin.js +3 -3
- package/esm2015/cms/services/dynamic-module.service.js +3 -3
- package/esm2015/cms/services/element-context.service.js +3 -3
- package/esm2015/cms/services/io-provider.service.js +3 -3
- package/esm2015/cms/services/launcher.service.js +3 -3
- package/esm2015/cms/services/templates.service.js +3 -3
- package/esm2015/cms/types/common.types.js +1 -1
- package/esm2015/cms/utils/element.utils.js +65 -4
- package/esm2015/cms/utils/elements-resolver.js +3 -3
- package/esm2015/runtime/components/component-preview/component-preview.component.js +3 -3
- package/esm2015/runtime/components/section-renderer/section-renderer.component.js +3 -3
- package/esm2015/runtime/components/ui-runtime/runtime.component.js +3 -3
- package/esm2015/runtime/components/ui-runtime-preview/runtime-preview.component.js +3 -3
- package/esm2015/runtime/execution/components/children-placeholder/children-placeholder.component.js +6 -6
- package/esm2015/runtime/execution/components/context-provider/context-provider.component.js +3 -3
- package/esm2015/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.js +3 -3
- package/esm2015/runtime/execution/components/federated/federated.component.js +3 -3
- 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 +3 -3
- package/esm2015/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-port-radio/velo-port-radio.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-type/velo-type.component.js +3 -3
- package/esm2015/runtime/execution/directives/section-script.directive.js +3 -3
- package/esm2015/runtime/execution/directives/sf-query.directive.js +3 -3
- package/esm2015/runtime/execution/directives/velo-attribute.directive.js +3 -3
- package/esm2015/runtime/execution/directives/velo-port.directive.js +18 -18
- package/esm2015/runtime/execution/directives/vl-approval.directive.js +3 -3
- package/esm2015/runtime/execution/directives/vl-document-attachments.directive.js +3 -3
- package/esm2015/runtime/execution/directives/vl-document-templates.directive.js +3 -3
- package/esm2015/runtime/execution/directives/vl-quote.directive.js +3 -3
- package/esm2015/runtime/execution/directives/vl-ramp.directive.js +3 -3
- package/esm2015/runtime/execution/runtime-execution.module.js +4 -4
- package/esm2015/runtime/runtime.module.js +4 -4
- package/esm2015/runtime/services/cart.service.js +3 -3
- package/esm2015/runtime/services/collapsible-state.service.js +3 -3
- package/esm2015/runtime/services/configuration.service.js +3 -3
- package/esm2015/runtime/services/context.service.js +3 -3
- package/esm2015/runtime/services/current-state.service.js +3 -3
- package/esm2015/runtime/services/form-scope.service.js +3 -3
- package/esm2015/runtime/services/product-model-cache.service.js +3 -3
- package/esm2015/runtime/services/quote.service.js +3 -3
- package/esm2015/runtime/services/runtime-context.service.js +3 -3
- package/esm2015/runtime/services/runtime-form.service.js +3 -3
- package/esm2015/runtime/services/runtime.service.js +3 -3
- package/esm2015/runtime/services/section-helper.service.js +3 -3
- package/esm2015/runtime/services/section-scope.service.js +3 -3
- package/esm2015/runtime/services/section-store.service.js +3 -3
- package/esm2015/runtime/services/section.service.js +6 -6
- package/esm2015/src/flow-routing.module.js +4 -4
- package/esm2015/src/flow.component.js +3 -3
- package/esm2015/src/flow.module.js +4 -4
- package/esm2015/src/guards/context.guard.js +3 -3
- package/esm2015/src/guards/root.guard.js +3 -3
- package/esm2015/src/pages/debug/debug.component.js +3 -3
- package/esm2015/src/pages/debug/debug.module.js +4 -4
- package/esm2015/src/pages/legacy-product/legacy-product.component.js +3 -3
- package/esm2015/src/pages/legacy-product/legacy-product.module.js +4 -4
- package/esm2015/src/pages/product/product.component.js +3 -3
- package/esm2015/src/pages/product/product.module.js +4 -4
- 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/resolvers/context.resolver.js +3 -3
- package/esm2015/src/resolvers/flow.resolver.js +3 -3
- package/esm2015/src/resolvers/quote.resolver.js +3 -3
- package/esm2015/src/services/flow.service.js +3 -3
- package/esm2015/src/services/router.service.js +3 -3
- package/fesm2015/veloce-sdk-cms.js +153 -79
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +143 -143
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/fesm2015/veloce-sdk.js +60 -60
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
|
@@ -511,9 +511,9 @@
|
|
|
511
511
|
};
|
|
512
512
|
return DynamicModuleService;
|
|
513
513
|
}());
|
|
514
|
-
DynamicModuleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
515
|
-
DynamicModuleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
516
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
514
|
+
DynamicModuleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DynamicModuleService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
515
|
+
DynamicModuleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DynamicModuleService });
|
|
516
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DynamicModuleService, decorators: [{
|
|
517
517
|
type: i0.Injectable
|
|
518
518
|
}] });
|
|
519
519
|
|
|
@@ -553,9 +553,9 @@
|
|
|
553
553
|
};
|
|
554
554
|
return IOProviderService;
|
|
555
555
|
}());
|
|
556
|
-
IOProviderService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
557
|
-
IOProviderService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
558
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
556
|
+
IOProviderService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IOProviderService, deps: [{ token: DynamicModuleService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
557
|
+
IOProviderService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IOProviderService });
|
|
558
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IOProviderService, decorators: [{
|
|
559
559
|
type: i0.Injectable
|
|
560
560
|
}], ctorParameters: function () { return [{ type: DynamicModuleService }]; } });
|
|
561
561
|
|
|
@@ -571,9 +571,9 @@
|
|
|
571
571
|
};
|
|
572
572
|
return TemplatesService;
|
|
573
573
|
}());
|
|
574
|
-
TemplatesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
575
|
-
TemplatesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
576
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
574
|
+
TemplatesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TemplatesService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
575
|
+
TemplatesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TemplatesService });
|
|
576
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TemplatesService, decorators: [{
|
|
577
577
|
type: i0.Injectable
|
|
578
578
|
}] });
|
|
579
579
|
|
|
@@ -607,9 +607,9 @@
|
|
|
607
607
|
}
|
|
608
608
|
return IOPlugin;
|
|
609
609
|
}());
|
|
610
|
-
IOPlugin.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
611
|
-
IOPlugin.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
612
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
610
|
+
IOPlugin.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IOPlugin, deps: [{ token: exports.ElementComponent }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
611
|
+
IOPlugin.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: IOPlugin, ngImport: i0__namespace });
|
|
612
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IOPlugin, decorators: [{
|
|
613
613
|
type: i0.Directive
|
|
614
614
|
}], ctorParameters: function () { return [{ type: exports.ElementComponent }]; } });
|
|
615
615
|
|
|
@@ -632,6 +632,7 @@
|
|
|
632
632
|
REFERENCE: {
|
|
633
633
|
component: exports.ElementComponent,
|
|
634
634
|
plugins: [IOPlugin],
|
|
635
|
+
suppressTemplate: true,
|
|
635
636
|
},
|
|
636
637
|
};
|
|
637
638
|
|
|
@@ -644,7 +645,7 @@
|
|
|
644
645
|
var styles = el.styles && window.atob(el.styles);
|
|
645
646
|
var exportedClassName = script && ((_a = EXPORTED_CLASS_REGEX.exec(script)) !== null && _a !== void 0 ? _a : [])[1];
|
|
646
647
|
if (!exportedClassName) {
|
|
647
|
-
|
|
648
|
+
throw new Error("Script doesn't have exported class");
|
|
648
649
|
}
|
|
649
650
|
var elementMetadata = extractElementMetadata(script || '');
|
|
650
651
|
var path = (parentPath ? parentPath + '/' : '') + elementMetadata.name;
|
|
@@ -653,19 +654,24 @@
|
|
|
653
654
|
var metadataToElement = function (metadata) {
|
|
654
655
|
var elMetadata = {
|
|
655
656
|
name: metadata.name,
|
|
657
|
+
isShared: metadata.isShared,
|
|
656
658
|
type: metadata.type,
|
|
657
659
|
model: metadata.model,
|
|
658
660
|
module: metadata.module,
|
|
659
661
|
reference: metadata.reference,
|
|
660
662
|
inputs: metadata.inputs,
|
|
661
663
|
outputs: metadata.outputs,
|
|
662
|
-
children: metadata.children.map(function (
|
|
663
|
-
var name =
|
|
664
|
+
children: metadata.children.map(function (_e) {
|
|
665
|
+
var name = _e.name;
|
|
664
666
|
return name;
|
|
665
667
|
}),
|
|
666
668
|
};
|
|
669
|
+
var normalizedElMetadata = normalizeElementMetadata(elMetadata);
|
|
670
|
+
if (!metadata.script || !EXPORTED_CLASS_REGEX.test(metadata.script)) {
|
|
671
|
+
throw new Error("'" + metadata.name + "' element script doesn't have exported class");
|
|
672
|
+
}
|
|
667
673
|
var script = metadata.script &&
|
|
668
|
-
window.btoa(metadata.script.replace(EXPORTED_CLASS_REGEX, "@ElementDefinition(" +
|
|
674
|
+
window.btoa(metadata.script.replace(EXPORTED_CLASS_REGEX, "@ElementDefinition(" + stringifyElementMetadata(normalizedElMetadata) + ")\nexport class Script"));
|
|
669
675
|
var template = metadata.template && window.btoa(metadata.template);
|
|
670
676
|
var styles = metadata.styles && window.btoa(metadata.styles);
|
|
671
677
|
return {
|
|
@@ -675,6 +681,60 @@
|
|
|
675
681
|
children: metadata.children.map(function (meta) { return metadataToElement(meta); }),
|
|
676
682
|
};
|
|
677
683
|
};
|
|
684
|
+
var normalizeElementMetadata = function (elementMetadata) {
|
|
685
|
+
var _a, _b, _c, _d;
|
|
686
|
+
var metadata = Object.assign({}, elementMetadata);
|
|
687
|
+
// model
|
|
688
|
+
var _e = (_a = metadata.model) !== null && _a !== void 0 ? _a : {}, lineItem = _e.lineItem, path = _e.path;
|
|
689
|
+
var model = lineItem ? { lineItem: lineItem } : path ? { path: path } : undefined;
|
|
690
|
+
if (model) {
|
|
691
|
+
metadata.model = model;
|
|
692
|
+
}
|
|
693
|
+
else {
|
|
694
|
+
delete metadata.model;
|
|
695
|
+
}
|
|
696
|
+
// module
|
|
697
|
+
if (!metadata.module) {
|
|
698
|
+
delete metadata.module;
|
|
699
|
+
}
|
|
700
|
+
// reference
|
|
701
|
+
if (!metadata.reference) {
|
|
702
|
+
delete metadata.reference;
|
|
703
|
+
}
|
|
704
|
+
// inputs
|
|
705
|
+
var inputs = Object.entries((_b = metadata.inputs) !== null && _b !== void 0 ? _b : {}).reduce(function (acc, _e) {
|
|
706
|
+
var _f;
|
|
707
|
+
var _g = __read(_e, 2), key = _g[0], value = _g[1];
|
|
708
|
+
return Object.assign(Object.assign({}, acc), (_f = {}, _f[key] = value || null, _f));
|
|
709
|
+
}, {});
|
|
710
|
+
if (inputs && Object.keys(inputs).length > 0) {
|
|
711
|
+
metadata.inputs = inputs;
|
|
712
|
+
}
|
|
713
|
+
else {
|
|
714
|
+
delete metadata.inputs;
|
|
715
|
+
}
|
|
716
|
+
// outputs
|
|
717
|
+
var outputs = Object.entries((_c = metadata.outputs) !== null && _c !== void 0 ? _c : {}).reduce(function (acc, _e) {
|
|
718
|
+
var _f;
|
|
719
|
+
var _g = __read(_e, 2), key = _g[0], value = _g[1];
|
|
720
|
+
return Object.assign(Object.assign({}, acc), (_f = {}, _f[key] = value || null, _f));
|
|
721
|
+
}, {});
|
|
722
|
+
if (outputs && Object.keys(outputs).length > 0) {
|
|
723
|
+
metadata.outputs = outputs;
|
|
724
|
+
}
|
|
725
|
+
else {
|
|
726
|
+
delete metadata.outputs;
|
|
727
|
+
}
|
|
728
|
+
// children
|
|
729
|
+
if (!((_d = metadata.children) === null || _d === void 0 ? void 0 : _d.length)) {
|
|
730
|
+
delete metadata.children;
|
|
731
|
+
}
|
|
732
|
+
// isShared
|
|
733
|
+
if (!metadata.isShared) {
|
|
734
|
+
delete metadata.isShared;
|
|
735
|
+
}
|
|
736
|
+
return metadata;
|
|
737
|
+
};
|
|
678
738
|
var extractElementMetadata = function (script) {
|
|
679
739
|
var _a;
|
|
680
740
|
var metadataString = ((_a = METADATA_DECORATOR_REGEX.exec(script)) !== null && _a !== void 0 ? _a : [])[1];
|
|
@@ -691,7 +751,7 @@
|
|
|
691
751
|
return script;
|
|
692
752
|
}
|
|
693
753
|
var updated = Object.assign(Object.assign({}, eval("(" + metadataString + ")")), extend);
|
|
694
|
-
return script.replace(metadataString,
|
|
754
|
+
return script.replace(metadataString, stringifyElementMetadata(updated));
|
|
695
755
|
};
|
|
696
756
|
var getElementConfig = function (type) {
|
|
697
757
|
return CONFIG[type];
|
|
@@ -700,15 +760,21 @@
|
|
|
700
760
|
var _a, _b;
|
|
701
761
|
return (_b = (_a = getElementConfig(type).plugins) === null || _a === void 0 ? void 0 : _a.includes(IOPlugin)) !== null && _b !== void 0 ? _b : false;
|
|
702
762
|
};
|
|
763
|
+
function stringifyElementMetadata(elementMetadata) {
|
|
764
|
+
var cleaned = JSON.stringify(elementMetadata, null, 2);
|
|
765
|
+
return cleaned.replace(/^[\t ]*"[^:\n\r]+(?<!\\)":/gm, function (match) {
|
|
766
|
+
return match.replace(/"/g, '');
|
|
767
|
+
});
|
|
768
|
+
}
|
|
703
769
|
|
|
704
770
|
var ElementContextService = /** @class */ (function () {
|
|
705
771
|
function ElementContextService() {
|
|
706
772
|
}
|
|
707
773
|
return ElementContextService;
|
|
708
774
|
}());
|
|
709
|
-
ElementContextService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
710
|
-
ElementContextService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
711
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
775
|
+
ElementContextService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementContextService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
776
|
+
ElementContextService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementContextService });
|
|
777
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementContextService, decorators: [{
|
|
712
778
|
type: i0.Injectable
|
|
713
779
|
}] });
|
|
714
780
|
|
|
@@ -908,9 +974,9 @@
|
|
|
908
974
|
};
|
|
909
975
|
return RuntimeContextService;
|
|
910
976
|
}());
|
|
911
|
-
RuntimeContextService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
912
|
-
RuntimeContextService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
913
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
977
|
+
RuntimeContextService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RuntimeContextService, deps: [{ token: i1__namespace.ConfigurationApiService }, { token: i2__namespace.MessageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
978
|
+
RuntimeContextService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RuntimeContextService });
|
|
979
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RuntimeContextService, decorators: [{
|
|
914
980
|
type: i0.Injectable
|
|
915
981
|
}], ctorParameters: function () { return [{ type: i1__namespace.ConfigurationApiService }, { type: i2__namespace.MessageService }]; } });
|
|
916
982
|
|
|
@@ -997,9 +1063,9 @@
|
|
|
997
1063
|
});
|
|
998
1064
|
return ConfigurationRuntimeService;
|
|
999
1065
|
}());
|
|
1000
|
-
ConfigurationRuntimeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1001
|
-
ConfigurationRuntimeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1002
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1066
|
+
ConfigurationRuntimeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationRuntimeService, deps: [{ token: i1__namespace.ConfigurationApiService }, { token: i2__namespace$1.ContextService }, { token: RuntimeContextService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1067
|
+
ConfigurationRuntimeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationRuntimeService });
|
|
1068
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationRuntimeService, decorators: [{
|
|
1003
1069
|
type: i0.Injectable
|
|
1004
1070
|
}], ctorParameters: function () { return [{ type: i1__namespace.ConfigurationApiService }, { type: i2__namespace$1.ContextService }, { type: RuntimeContextService }]; } });
|
|
1005
1071
|
|
|
@@ -1130,9 +1196,9 @@
|
|
|
1130
1196
|
};
|
|
1131
1197
|
return ConfigurationService;
|
|
1132
1198
|
}());
|
|
1133
|
-
ConfigurationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1134
|
-
ConfigurationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1135
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1199
|
+
ConfigurationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationService, deps: [{ token: ConfigurationRuntimeService }, { token: i2__namespace$1.ContextService }, { token: i1__namespace.ConfigurationApiService }, { token: i2__namespace.MessageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1200
|
+
ConfigurationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationService });
|
|
1201
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationService, decorators: [{
|
|
1136
1202
|
type: i0.Injectable
|
|
1137
1203
|
}], ctorParameters: function () { return [{ type: ConfigurationRuntimeService }, { type: i2__namespace$1.ContextService }, { type: i1__namespace.ConfigurationApiService }, { type: i2__namespace.MessageService }]; } });
|
|
1138
1204
|
|
|
@@ -1257,9 +1323,9 @@
|
|
|
1257
1323
|
};
|
|
1258
1324
|
return ElementRendererComponent;
|
|
1259
1325
|
}());
|
|
1260
|
-
ElementRendererComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1261
|
-
ElementRendererComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1262
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1326
|
+
ElementRendererComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementRendererComponent, deps: [{ token: i0__namespace.Injector, skipSelf: true }, { token: DynamicModuleService }, { token: ElementContextService }, { token: IOProviderService }, { token: ConfigurationService }, { token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1327
|
+
ElementRendererComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: ElementRendererComponent, selector: "vl-cms-element-renderer", inputs: { meta: "meta" }, providers: [ElementContextService], viewQueries: [{ propertyName: "el", first: true, predicate: ["el"], descendants: true, read: i0.ViewContainerRef, static: true }], ngImport: i0__namespace, template: "<ng-template #el></ng-template>\n", styles: [":host{display:contents}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1328
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementRendererComponent, decorators: [{
|
|
1263
1329
|
type: i0.Component,
|
|
1264
1330
|
args: [{
|
|
1265
1331
|
selector: 'vl-cms-element-renderer',
|
|
@@ -1286,9 +1352,9 @@
|
|
|
1286
1352
|
}
|
|
1287
1353
|
return ElementChildrenComponent;
|
|
1288
1354
|
}());
|
|
1289
|
-
ElementChildrenComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1290
|
-
ElementChildrenComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1291
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1355
|
+
ElementChildrenComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementChildrenComponent, deps: [{ token: ElementContextService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1356
|
+
ElementChildrenComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: ElementChildrenComponent, selector: "element-children", ngImport: i0__namespace, 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: ElementRendererComponent, selector: "vl-cms-element-renderer", inputs: ["meta"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1357
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementChildrenComponent, decorators: [{
|
|
1292
1358
|
type: i0.Component,
|
|
1293
1359
|
args: [{
|
|
1294
1360
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1313,9 +1379,9 @@
|
|
|
1313
1379
|
};
|
|
1314
1380
|
return CustomTemplateDirective;
|
|
1315
1381
|
}());
|
|
1316
|
-
CustomTemplateDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1317
|
-
CustomTemplateDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1318
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1382
|
+
CustomTemplateDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: CustomTemplateDirective, deps: [{ token: i0__namespace.TemplateRef }, { token: TemplatesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1383
|
+
CustomTemplateDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: CustomTemplateDirective, selector: "[customTemplate]", inputs: { customTemplate: "customTemplate" }, ngImport: i0__namespace });
|
|
1384
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: CustomTemplateDirective, decorators: [{
|
|
1319
1385
|
type: i0.Directive,
|
|
1320
1386
|
args: [{ selector: '[customTemplate]' }]
|
|
1321
1387
|
}], ctorParameters: function () { return [{ type: i0__namespace.TemplateRef }, { type: TemplatesService }]; }, propDecorators: { customTemplate: [{
|
|
@@ -1424,9 +1490,9 @@
|
|
|
1424
1490
|
});
|
|
1425
1491
|
return ConfigurationPlugin;
|
|
1426
1492
|
}());
|
|
1427
|
-
ConfigurationPlugin.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1428
|
-
ConfigurationPlugin.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1429
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1493
|
+
ConfigurationPlugin.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationPlugin, deps: "invalid", target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1494
|
+
ConfigurationPlugin.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: ConfigurationPlugin, ngImport: i0__namespace });
|
|
1495
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationPlugin, decorators: [{
|
|
1430
1496
|
type: i0.Directive
|
|
1431
1497
|
}], ctorParameters: function () { return [{ type: undefined }]; } });
|
|
1432
1498
|
|
|
@@ -1441,10 +1507,12 @@
|
|
|
1441
1507
|
__proto__: null,
|
|
1442
1508
|
elementToMetadata: elementToMetadata,
|
|
1443
1509
|
metadataToElement: metadataToElement,
|
|
1510
|
+
normalizeElementMetadata: normalizeElementMetadata,
|
|
1444
1511
|
extractElementMetadata: extractElementMetadata,
|
|
1445
1512
|
extendElementMetadata: extendElementMetadata,
|
|
1446
1513
|
getElementConfig: getElementConfig,
|
|
1447
1514
|
doesElementSupportIO: doesElementSupportIO,
|
|
1515
|
+
stringifyElementMetadata: stringifyElementMetadata,
|
|
1448
1516
|
parseBoundPath: parseBoundPath,
|
|
1449
1517
|
findLineItem: findLineItem,
|
|
1450
1518
|
insertLineItem: insertLineItem,
|
|
@@ -1511,9 +1579,9 @@
|
|
|
1511
1579
|
};
|
|
1512
1580
|
return ScriptPlugin;
|
|
1513
1581
|
}());
|
|
1514
|
-
ScriptPlugin.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1515
|
-
ScriptPlugin.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1516
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1582
|
+
ScriptPlugin.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ScriptPlugin, deps: [{ token: exports.ElementComponent }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1583
|
+
ScriptPlugin.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: ScriptPlugin, ngImport: i0__namespace });
|
|
1584
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ScriptPlugin, decorators: [{
|
|
1517
1585
|
type: i0.Directive
|
|
1518
1586
|
}], ctorParameters: function () { return [{ type: exports.ElementComponent }]; } });
|
|
1519
1587
|
|
|
@@ -1570,13 +1638,13 @@
|
|
|
1570
1638
|
return lodash.flatten(elements.map(function (el) { return __spreadArray([el], __read(_this.flattenElements(el.children))); }));
|
|
1571
1639
|
};
|
|
1572
1640
|
ElementsResolver.prototype.isSharedElement = function (el) {
|
|
1573
|
-
return Boolean(el.
|
|
1641
|
+
return Boolean(el.isShared) && el.type !== 'REFERENCE';
|
|
1574
1642
|
};
|
|
1575
1643
|
ElementsResolver.prototype.getSharedElement = function (element) {
|
|
1576
1644
|
if (element.type !== 'REFERENCE') {
|
|
1577
1645
|
return;
|
|
1578
1646
|
}
|
|
1579
|
-
return this.sharedElements.find(function (el) { return element.reference === el.
|
|
1647
|
+
return this.sharedElements.find(function (el) { return element.reference === el.name; });
|
|
1580
1648
|
};
|
|
1581
1649
|
ElementsResolver.prototype.resolveElementTemplate = function (element) {
|
|
1582
1650
|
var config = CONFIG[element.type];
|
|
@@ -1744,9 +1812,9 @@
|
|
|
1744
1812
|
};
|
|
1745
1813
|
return FederatedComponent;
|
|
1746
1814
|
}());
|
|
1747
|
-
FederatedComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1748
|
-
FederatedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1749
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1815
|
+
FederatedComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FederatedComponent, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.Compiler }, { token: i0__namespace.ApplicationRef }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1816
|
+
FederatedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: FederatedComponent, selector: "veloce-host-federated", inputs: { remoteEntry: "remoteEntry", remoteName: "remoteName", exposedModule: "exposedModule", data: "data", eventData: "eventData" }, outputs: { integrationEvent: "integrationEvent" }, viewQueries: [{ propertyName: "federatedComponent", first: true, predicate: ["federatedComponent"], descendants: true, read: i0.ViewContainerRef }, { propertyName: "foo", first: true, predicate: ["foo"], descendants: true, read: i0.TemplateRef }, { propertyName: "moduleHostRef", first: true, predicate: ["moduleHost"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div #moduleHost></div>\n", styles: [":host{display:block}div{height:100%}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1817
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FederatedComponent, decorators: [{
|
|
1750
1818
|
type: i0.Component,
|
|
1751
1819
|
args: [{
|
|
1752
1820
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1783,10 +1851,10 @@
|
|
|
1783
1851
|
}
|
|
1784
1852
|
return FederatedModule;
|
|
1785
1853
|
}());
|
|
1786
|
-
FederatedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1787
|
-
FederatedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
1788
|
-
FederatedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
1789
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1854
|
+
FederatedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FederatedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1855
|
+
FederatedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FederatedModule, declarations: [FederatedComponent], exports: [FederatedComponent] });
|
|
1856
|
+
FederatedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FederatedModule });
|
|
1857
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FederatedModule, decorators: [{
|
|
1790
1858
|
type: i0.NgModule,
|
|
1791
1859
|
args: [{
|
|
1792
1860
|
declarations: [FederatedComponent],
|
|
@@ -1837,9 +1905,9 @@
|
|
|
1837
1905
|
};
|
|
1838
1906
|
return LauncherService;
|
|
1839
1907
|
}());
|
|
1840
|
-
LauncherService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1841
|
-
LauncherService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1842
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1908
|
+
LauncherService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherService, deps: [{ token: i0__namespace.Compiler }, { token: DynamicModuleService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1909
|
+
LauncherService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherService });
|
|
1910
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherService, decorators: [{
|
|
1843
1911
|
type: i0.Injectable
|
|
1844
1912
|
}], ctorParameters: function () { return [{ type: i0__namespace.Compiler }, { type: DynamicModuleService }]; } });
|
|
1845
1913
|
|
|
@@ -1878,13 +1946,23 @@
|
|
|
1878
1946
|
.initTestMode(this.modelId, uiDefinitionProps)
|
|
1879
1947
|
.pipe(rxjs.switchMap(function () { return _this.configurationService.configure(); }));
|
|
1880
1948
|
};
|
|
1949
|
+
PreviewComponent.prototype.elementToMetadataSafe = function (elements) {
|
|
1950
|
+
try {
|
|
1951
|
+
return elements.map(function (element) { return elementToMetadata(element); });
|
|
1952
|
+
}
|
|
1953
|
+
catch (e) {
|
|
1954
|
+
console.error(e);
|
|
1955
|
+
this.messageService.add({ severity: 'error', summary: String(e) });
|
|
1956
|
+
return [];
|
|
1957
|
+
}
|
|
1958
|
+
};
|
|
1881
1959
|
PreviewComponent.prototype.startPreview = function () {
|
|
1882
1960
|
var _this = this;
|
|
1883
1961
|
if (!this.uiDefinition) {
|
|
1884
1962
|
return;
|
|
1885
1963
|
}
|
|
1886
1964
|
var _a = this.uiDefinition, children = _a.children, uiDefinitionMeta = __rest(_a, ["children"]);
|
|
1887
|
-
this.elements =
|
|
1965
|
+
this.elements = this.elementToMetadataSafe(children);
|
|
1888
1966
|
var compilation$ = this.launcherService.compileModule(this.elements, uiDefinitionMeta);
|
|
1889
1967
|
rxjs.forkJoin([compilation$, this.initializeConfiguration$()])
|
|
1890
1968
|
.pipe(rxjs.tap(function () { return _this.state$.next({ loading: false, failure: false }); }), rxjs.catchError(function (error) {
|
|
@@ -1899,9 +1977,9 @@
|
|
|
1899
1977
|
};
|
|
1900
1978
|
return PreviewComponent;
|
|
1901
1979
|
}());
|
|
1902
|
-
PreviewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1903
|
-
PreviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1904
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1980
|
+
PreviewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewComponent, deps: [{ token: LauncherService }, { token: ConfigurationService }, { token: i2__namespace.MessageService }, { token: ConfigurationRuntimeService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1981
|
+
PreviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: PreviewComponent, selector: "vl-cms-preview", inputs: { modelId: "modelId", uiDefinition: "uiDefinition" }, providers: [IOProviderService, TemplatesService], ngImport: i0__namespace, template: "<ng-container *ngIf=\"state$ | async as state\">\n <vl-loader *ngIf=\"state.loading; else content\" [label]=\"'Loading UI'\"></vl-loader>\n\n <ng-template #content>\n <ng-container *ngIf=\"!state.failure\">\n <vl-cms-element-renderer *ngFor=\"let el of elements\" [meta]=\"el\"></vl-cms-element-renderer>\n </ng-container>\n </ng-template>\n</ng-container>\n", styles: [":host{flex-grow:1;display:flex;flex-direction:column;height:100%}\n"], components: [{ type: i5__namespace.LoaderComponent, selector: "vl-loader", inputs: ["label"] }, { type: ElementRendererComponent, selector: "vl-cms-element-renderer", inputs: ["meta"] }], directives: [{ type: i7__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i7__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1982
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewComponent, decorators: [{
|
|
1905
1983
|
type: i0.Component,
|
|
1906
1984
|
args: [{
|
|
1907
1985
|
selector: 'vl-cms-preview',
|
|
@@ -1921,10 +1999,10 @@
|
|
|
1921
1999
|
}
|
|
1922
2000
|
return ElementRendererModule;
|
|
1923
2001
|
}());
|
|
1924
|
-
ElementRendererModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1925
|
-
ElementRendererModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
1926
|
-
ElementRendererModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
1927
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2002
|
+
ElementRendererModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementRendererModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2003
|
+
ElementRendererModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementRendererModule, declarations: [ElementRendererComponent], exports: [ElementRendererComponent] });
|
|
2004
|
+
ElementRendererModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementRendererModule });
|
|
2005
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementRendererModule, decorators: [{
|
|
1928
2006
|
type: i0.NgModule,
|
|
1929
2007
|
args: [{
|
|
1930
2008
|
declarations: [ElementRendererComponent],
|
|
@@ -1937,10 +2015,10 @@
|
|
|
1937
2015
|
}
|
|
1938
2016
|
return ElementChildrenModule;
|
|
1939
2017
|
}());
|
|
1940
|
-
ElementChildrenModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1941
|
-
ElementChildrenModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
1942
|
-
ElementChildrenModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
1943
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2018
|
+
ElementChildrenModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementChildrenModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2019
|
+
ElementChildrenModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementChildrenModule, declarations: [ElementChildrenComponent], imports: [ElementRendererModule], exports: [ElementChildrenComponent] });
|
|
2020
|
+
ElementChildrenModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementChildrenModule, imports: [[ElementRendererModule]] });
|
|
2021
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ElementChildrenModule, decorators: [{
|
|
1944
2022
|
type: i0.NgModule,
|
|
1945
2023
|
args: [{
|
|
1946
2024
|
declarations: [ElementChildrenComponent],
|
|
@@ -1954,10 +2032,10 @@
|
|
|
1954
2032
|
}
|
|
1955
2033
|
return PreviewModule;
|
|
1956
2034
|
}());
|
|
1957
|
-
PreviewModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1958
|
-
PreviewModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
1959
|
-
PreviewModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
1960
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2035
|
+
PreviewModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2036
|
+
PreviewModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewModule, declarations: [PreviewComponent], imports: [i7.CommonModule, i5.LoaderModule, ElementRendererModule, ElementChildrenModule], exports: [PreviewComponent] });
|
|
2037
|
+
PreviewModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewModule, imports: [[i7.CommonModule, i5.LoaderModule, ElementRendererModule, ElementChildrenModule]] });
|
|
2038
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewModule, decorators: [{
|
|
1961
2039
|
type: i0.NgModule,
|
|
1962
2040
|
args: [{
|
|
1963
2041
|
declarations: [PreviewComponent],
|
|
@@ -1977,9 +2055,9 @@
|
|
|
1977
2055
|
}
|
|
1978
2056
|
return ConfigurationModule;
|
|
1979
2057
|
}());
|
|
1980
|
-
ConfigurationModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1981
|
-
ConfigurationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
1982
|
-
ConfigurationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
2058
|
+
ConfigurationModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2059
|
+
ConfigurationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationModule });
|
|
2060
|
+
ConfigurationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationModule, providers: [
|
|
1983
2061
|
i2.ContextService,
|
|
1984
2062
|
i1.ContextApiService,
|
|
1985
2063
|
i1.ProductModelApiService,
|
|
@@ -1988,7 +2066,7 @@
|
|
|
1988
2066
|
RuntimeContextService,
|
|
1989
2067
|
ConfigurationService,
|
|
1990
2068
|
] });
|
|
1991
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2069
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationModule, decorators: [{
|
|
1992
2070
|
type: i0.NgModule,
|
|
1993
2071
|
args: [{
|
|
1994
2072
|
providers: [
|
|
@@ -2008,10 +2086,10 @@
|
|
|
2008
2086
|
}
|
|
2009
2087
|
return LauncherModule;
|
|
2010
2088
|
}());
|
|
2011
|
-
LauncherModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2012
|
-
LauncherModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
2013
|
-
LauncherModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
2014
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2089
|
+
LauncherModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2090
|
+
LauncherModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, imports: [i7.CommonModule, core.CoreModule, ConfigurationModule] });
|
|
2091
|
+
LauncherModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, providers: [LauncherService, DynamicModuleService, i1.SalesforceApiService, i1.QuoteApiService], imports: [[i7.CommonModule, core.CoreModule, ConfigurationModule]] });
|
|
2092
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, decorators: [{
|
|
2015
2093
|
type: i0.NgModule,
|
|
2016
2094
|
args: [{
|
|
2017
2095
|
imports: [i7.CommonModule, core.CoreModule, ConfigurationModule],
|
|
@@ -2051,10 +2129,12 @@
|
|
|
2051
2129
|
exports.insertLineItem = insertLineItem;
|
|
2052
2130
|
exports.mapAttributes = mapAttributes;
|
|
2053
2131
|
exports.metadataToElement = metadataToElement;
|
|
2132
|
+
exports.normalizeElementMetadata = normalizeElementMetadata;
|
|
2054
2133
|
exports.parseBoundPath = parseBoundPath;
|
|
2055
2134
|
exports.patchAttributes = patchAttributes;
|
|
2056
2135
|
exports.removeLineItem = removeLineItem;
|
|
2057
2136
|
exports.replaceLineItem = replaceLineItem;
|
|
2137
|
+
exports.stringifyElementMetadata = stringifyElementMetadata;
|
|
2058
2138
|
exports.upsertAttributes = upsertAttributes;
|
|
2059
2139
|
|
|
2060
2140
|
Object.defineProperty(exports, '__esModule', { value: true });
|