@veloceapps/api 8.0.0-102 → 8.0.0-103
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/esm2020/lib/services/ui-templates-api.service.mjs +6 -1
- package/fesm2015/veloceapps-api.mjs +5 -0
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +5 -0
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/ui-templates-api.service.d.ts +1 -0
- package/package.json +1 -1
@@ -2979,6 +2979,11 @@ class UITemplatesApiService {
|
|
2979
2979
|
this.fetchComponentAttachmentFile$(templateId, component.id, 'json'),
|
2980
2980
|
]).pipe(map$1(([html, js, css, json]) => ({ html, js, css, json })));
|
2981
2981
|
};
|
2982
|
+
this.fetchComponentsAttachments$ = (templateId) => {
|
2983
|
+
return this.fetchComponents$(templateId).pipe(switchMap$1(components => {
|
2984
|
+
return forkJoin(components.map(component => this.fetchComponentAttachments$(templateId, component)));
|
2985
|
+
}));
|
2986
|
+
};
|
2982
2987
|
this.fetchComponentAttachmentFile$ = (templateId, componentId, attachmentType) => {
|
2983
2988
|
return this.baseHttpService
|
2984
2989
|
.api({
|