@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.
Files changed (34) hide show
  1. package/bundles/veloce-sdk-cms.umd.js +112 -23
  2. package/bundles/veloce-sdk-cms.umd.js.map +1 -1
  3. package/bundles/veloce-sdk-runtime.umd.js +8 -0
  4. package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
  5. package/bundles/veloce-sdk.umd.js +19 -9
  6. package/bundles/veloce-sdk.umd.js.map +1 -1
  7. package/cms/launcher.module.d.ts +2 -1
  8. package/cms/modules/configuration/services/configuration-runtime.service.d.ts +2 -2
  9. package/cms/modules/flow-configuration/flow-configuration.module.d.ts +6 -0
  10. package/cms/modules/flow-configuration/index.d.ts +2 -0
  11. package/cms/modules/flow-configuration/services/flow-configuration.service.d.ts +25 -0
  12. package/cms/modules/index.d.ts +1 -0
  13. package/cms/types/ui-definition.types.d.ts +2 -0
  14. package/esm2015/cms/components/preview/preview.component.js +2 -4
  15. package/esm2015/cms/launcher.module.js +5 -4
  16. package/esm2015/cms/modules/configuration/helpers.js +2 -2
  17. package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +7 -5
  18. package/esm2015/cms/modules/flow-configuration/flow-configuration.module.js +17 -0
  19. package/esm2015/cms/modules/flow-configuration/index.js +3 -0
  20. package/esm2015/cms/modules/flow-configuration/services/flow-configuration.service.js +58 -0
  21. package/esm2015/cms/modules/index.js +2 -1
  22. package/esm2015/cms/types/ui-definition.types.js +1 -1
  23. package/esm2015/runtime/services/context.service.js +5 -1
  24. package/esm2015/src/flow.component.js +2 -6
  25. package/esm2015/src/resolvers/quote.resolver.js +21 -6
  26. package/fesm2015/veloce-sdk-cms.js +91 -25
  27. package/fesm2015/veloce-sdk-cms.js.map +1 -1
  28. package/fesm2015/veloce-sdk-runtime.js +4 -0
  29. package/fesm2015/veloce-sdk-runtime.js.map +1 -1
  30. package/fesm2015/veloce-sdk.js +19 -9
  31. package/fesm2015/veloce-sdk.js.map +1 -1
  32. package/package.json +1 -1
  33. package/runtime/services/context.service.d.ts +1 -0
  34. 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(); }));