@veloceapps/sdk 2.0.8 → 2.0.10
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 +322 -258
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +1 -1
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/cms/injection-tokens.d.ts +2 -0
- package/cms/modules/configuration/services/configuration-runtime.service.d.ts +1 -1
- package/cms/plugins/configuration.plugin.d.ts +2 -3
- package/cms/plugins/script.plugin.d.ts +1 -0
- package/cms/utils/element.utils.d.ts +2 -0
- package/cms/vendor-map.d.ts +2 -0
- package/esm2015/cms/cms.default.js +3 -4
- package/esm2015/cms/cms.elements.js +9 -5
- package/esm2015/cms/injection-tokens.js +2 -1
- package/esm2015/cms/modules/configuration/helpers.js +2 -2
- package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +23 -14
- package/esm2015/cms/modules/configuration/services/configuration.service.js +3 -23
- package/esm2015/cms/modules/configuration/services/runtime-context.service.js +5 -3
- package/esm2015/cms/plugins/configuration.plugin.js +2 -4
- package/esm2015/cms/plugins/script.plugin.js +4 -26
- package/esm2015/cms/services/launcher.service.js +2 -2
- package/esm2015/cms/utils/element.utils.js +60 -3
- package/esm2015/cms/utils/elements-resolver.js +4 -2
- package/esm2015/cms/vendor-map.js +24 -0
- package/esm2015/runtime/services/context.service.js +3 -3
- package/fesm2015/veloce-sdk-cms.js +283 -226
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +1 -1
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/package.json +1 -1
|
@@ -757,7 +757,7 @@ class ContextService {
|
|
|
757
757
|
this.resolve$ = () => this.context;
|
|
758
758
|
}
|
|
759
759
|
create(headerId, mode) {
|
|
760
|
-
return this.contextApiService.getContext(headerId, mode).pipe(tap(context => this.context.next(merge(new ConfigurationContext(headerId, mode), context))),
|
|
760
|
+
return this.contextApiService.getContext(headerId, mode).pipe(tap(context => this.context.next(merge(new ConfigurationContext(headerId, mode), context))), map(() => this.resolve()));
|
|
761
761
|
}
|
|
762
762
|
update(partialContext) {
|
|
763
763
|
const originalContext = this.resolve();
|