@veloceapps/sdk 3.0.4 → 3.0.5
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 +112 -23
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +8 -0
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +19 -9
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/launcher.module.d.ts +2 -1
- package/cms/modules/configuration/services/configuration-runtime.service.d.ts +2 -2
- package/cms/modules/flow-configuration/flow-configuration.module.d.ts +6 -0
- package/cms/modules/flow-configuration/index.d.ts +2 -0
- package/cms/modules/flow-configuration/services/flow-configuration.service.d.ts +25 -0
- package/cms/modules/index.d.ts +1 -0
- package/cms/types/ui-definition.types.d.ts +2 -0
- package/esm2015/cms/components/preview/preview.component.js +2 -4
- package/esm2015/cms/launcher.module.js +5 -4
- package/esm2015/cms/modules/configuration/helpers.js +2 -2
- package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +7 -5
- package/esm2015/cms/modules/flow-configuration/flow-configuration.module.js +17 -0
- package/esm2015/cms/modules/flow-configuration/index.js +3 -0
- package/esm2015/cms/modules/flow-configuration/services/flow-configuration.service.js +58 -0
- package/esm2015/cms/modules/index.js +2 -1
- package/esm2015/cms/types/ui-definition.types.js +1 -1
- package/esm2015/runtime/services/context.service.js +5 -1
- package/esm2015/src/flow.component.js +2 -6
- package/esm2015/src/resolvers/quote.resolver.js +21 -6
- package/fesm2015/veloce-sdk-cms.js +91 -25
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +4 -0
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/fesm2015/veloce-sdk.js +19 -9
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
- package/runtime/services/context.service.d.ts +1 -0
- package/src/resolvers/quote.resolver.d.ts +6 -2
|
@@ -1136,6 +1136,14 @@
|
|
|
1136
1136
|
this.resolve = function () { return _this.context.value && Object.assign({}, _this.context.value); };
|
|
1137
1137
|
this.resolve$ = function () { return _this.context; };
|
|
1138
1138
|
}
|
|
1139
|
+
Object.defineProperty(ContextService.prototype, "isStandalone", {
|
|
1140
|
+
get: function () {
|
|
1141
|
+
var _a;
|
|
1142
|
+
return ((_a = this.resolve()) === null || _a === void 0 ? void 0 : _a.properties.standalone) === 'true';
|
|
1143
|
+
},
|
|
1144
|
+
enumerable: false,
|
|
1145
|
+
configurable: true
|
|
1146
|
+
});
|
|
1139
1147
|
ContextService.prototype.create = function (headerId, mode) {
|
|
1140
1148
|
var _this = this;
|
|
1141
1149
|
return this.contextApiService.getContext(headerId, mode).pipe(rxjsOperators.tap(function (context) { return _this.context.next(_.merge(new i7.ConfigurationContext(headerId, mode), context)); }), rxjsOperators.map(function () { return _this.resolve(); }));
|