ngx-rendering-service-lib 0.0.67020 → 0.0.67022
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/assets/pdf/main.js +49 -404
- package/assets/pdf/main.js.map +1 -1
- package/assets/pdf/runtime.js +3 -15
- package/assets/pdf/runtime.js.map +1 -1
- package/assets/pdf/vendor.js +4574 -21496
- package/assets/pdf/vendor.js.map +1 -1
- package/fesm2022/{ngx-rendering-service-lib-audio.component-BBq6xbk4.mjs → ngx-rendering-service-lib-audio.component-QyKSrwAN.mjs} +2 -2
- package/fesm2022/{ngx-rendering-service-lib-audio.component-BBq6xbk4.mjs.map → ngx-rendering-service-lib-audio.component-QyKSrwAN.mjs.map} +1 -1
- package/fesm2022/{ngx-rendering-service-lib-binder.component-DlvFA5jA.mjs → ngx-rendering-service-lib-binder.component-BXECLEY8.mjs} +2 -2
- package/fesm2022/{ngx-rendering-service-lib-binder.component-DlvFA5jA.mjs.map → ngx-rendering-service-lib-binder.component-BXECLEY8.mjs.map} +1 -1
- package/fesm2022/{ngx-rendering-service-lib-ddb.component-DnR49LpA.mjs → ngx-rendering-service-lib-ddb.component-DK1MNt0W.mjs} +2 -2
- package/fesm2022/{ngx-rendering-service-lib-ddb.component-DnR49LpA.mjs.map → ngx-rendering-service-lib-ddb.component-DK1MNt0W.mjs.map} +1 -1
- package/fesm2022/{ngx-rendering-service-lib-default.component-CuVgGhz3.mjs → ngx-rendering-service-lib-default.component-wlyfedF5.mjs} +2 -2
- package/fesm2022/{ngx-rendering-service-lib-default.component-CuVgGhz3.mjs.map → ngx-rendering-service-lib-default.component-wlyfedF5.mjs.map} +1 -1
- package/fesm2022/{ngx-rendering-service-lib-error.component-DP4LZlsQ.mjs → ngx-rendering-service-lib-error.component-BUho5xNX.mjs} +4 -4
- package/fesm2022/{ngx-rendering-service-lib-error.component-DP4LZlsQ.mjs.map → ngx-rendering-service-lib-error.component-BUho5xNX.mjs.map} +1 -1
- package/fesm2022/{ngx-rendering-service-lib-h5p.component-BddAGUNs.mjs → ngx-rendering-service-lib-h5p.component-D1RvlayK.mjs} +2 -2
- package/fesm2022/{ngx-rendering-service-lib-h5p.component-BddAGUNs.mjs.map → ngx-rendering-service-lib-h5p.component-D1RvlayK.mjs.map} +1 -1
- package/fesm2022/{ngx-rendering-service-lib-moodle.component-BwqOn86O.mjs → ngx-rendering-service-lib-moodle.component-DbbGZmV8.mjs} +2 -2
- package/fesm2022/{ngx-rendering-service-lib-moodle.component-BwqOn86O.mjs.map → ngx-rendering-service-lib-moodle.component-DbbGZmV8.mjs.map} +1 -1
- package/fesm2022/{ngx-rendering-service-lib-ngx-rendering-service-lib-CK4wmpay.mjs → ngx-rendering-service-lib-ngx-rendering-service-lib-B47HxxZ8.mjs} +45 -32
- package/fesm2022/ngx-rendering-service-lib-ngx-rendering-service-lib-B47HxxZ8.mjs.map +1 -0
- package/fesm2022/ngx-rendering-service-lib.mjs +1 -1
- package/lib/asset-link.pipe.d.ts +4 -2
- package/lib/current-render-root-url.service.d.ts +6 -0
- package/lib/render.component.d.ts +4 -2
- package/package.json +1 -1
- package/fesm2022/ngx-rendering-service-lib-ngx-rendering-service-lib-CK4wmpay.mjs.map +0 -1
package/assets/pdf/main.js
CHANGED
|
@@ -56,16 +56,17 @@ class RenderingModule {
|
|
|
56
56
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57
57
|
|
|
58
58
|
__webpack_require__.r(__webpack_exports__);
|
|
59
|
-
/* harmony import */ var
|
|
59
|
+
/* harmony import */ var _home_marian_development_edu_sharing_community_services_rendering2_frontend_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 9204);
|
|
60
60
|
/* harmony import */ var zone_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! zone.js */ 4124);
|
|
61
61
|
/* harmony import */ var zone_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(zone_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
62
62
|
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ 2085);
|
|
63
|
-
/* harmony import */ var
|
|
63
|
+
/* harmony import */ var _angular_elements__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/elements */ 5764);
|
|
64
64
|
/* harmony import */ var _pdf_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pdf.component */ 9343);
|
|
65
|
-
/* harmony import */ var
|
|
65
|
+
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common/http */ 9648);
|
|
66
66
|
/* harmony import */ var ngx_edu_sharing_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ngx-edu-sharing-api */ 8395);
|
|
67
67
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7580);
|
|
68
68
|
/* harmony import */ var ngx_rendering_service_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ngx-rendering-service-api */ 9182);
|
|
69
|
+
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ 852);
|
|
69
70
|
|
|
70
71
|
|
|
71
72
|
|
|
@@ -75,11 +76,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75
76
|
|
|
76
77
|
|
|
77
78
|
|
|
78
|
-
|
|
79
|
+
|
|
80
|
+
void (0,_home_marian_development_edu_sharing_community_services_rendering2_frontend_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
|
|
79
81
|
const app = yield (0,_angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__.createApplication)({
|
|
80
|
-
providers: [ngx_edu_sharing_api__WEBPACK_IMPORTED_MODULE_4__.ApiHelpersService, (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.importProvidersFrom)(ngx_rendering_service_api__WEBPACK_IMPORTED_MODULE_6__.RenderingServiceApiModule.forRoot()), (0,
|
|
82
|
+
providers: [ngx_edu_sharing_api__WEBPACK_IMPORTED_MODULE_4__.ApiHelpersService, (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.importProvidersFrom)(ngx_rendering_service_api__WEBPACK_IMPORTED_MODULE_6__.RenderingServiceApiModule.forRoot()), (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.importProvidersFrom)(_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__.TranslateModule.forRoot()), (0,_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.provideHttpClient)((0,_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.withInterceptorsFromDi)())]
|
|
81
83
|
});
|
|
82
|
-
const element = (0,
|
|
84
|
+
const element = (0,_angular_elements__WEBPACK_IMPORTED_MODULE_9__.createCustomElement)(_pdf_component__WEBPACK_IMPORTED_MODULE_2__.PdfComponent, {
|
|
83
85
|
injector: app.injector
|
|
84
86
|
});
|
|
85
87
|
customElements.define('es-pdf', element);
|
|
@@ -97,8 +99,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
97
99
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
98
100
|
/* harmony export */ AssetLinkPipe: () => (/* binding */ AssetLinkPipe)
|
|
99
101
|
/* harmony export */ });
|
|
100
|
-
/* harmony import */ var
|
|
101
|
-
/* harmony import */ var
|
|
102
|
+
/* harmony import */ var ngx_rendering_service_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ngx-rendering-service-api */ 9182);
|
|
103
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7580);
|
|
104
|
+
/* harmony import */ var _current_render_root_url_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./current-render-root-url.service */ 9174);
|
|
105
|
+
|
|
102
106
|
|
|
103
107
|
|
|
104
108
|
/**
|
|
@@ -106,24 +110,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
106
110
|
* this is required in case the rendering service is behind a proxy, i.e. in dev mode
|
|
107
111
|
*/
|
|
108
112
|
class AssetLinkPipe {
|
|
109
|
-
constructor(injector) {
|
|
113
|
+
constructor(injector, current) {
|
|
110
114
|
this.injector = injector;
|
|
115
|
+
this.current = current;
|
|
111
116
|
}
|
|
112
117
|
transform(value) {
|
|
113
118
|
if (value) {
|
|
114
119
|
const str = value.split('/public');
|
|
115
|
-
str[0] = this.injector.get(
|
|
120
|
+
str[0] = this.current?.rootUrl ?? this.injector.get(ngx_rendering_service_api__WEBPACK_IMPORTED_MODULE_1__.RSApiConfiguration).rootUrl;
|
|
116
121
|
return str.join('/public');
|
|
117
122
|
}
|
|
118
123
|
return value;
|
|
119
124
|
}
|
|
120
125
|
static {
|
|
121
126
|
this.ɵfac = function AssetLinkPipe_Factory(__ngFactoryType__) {
|
|
122
|
-
return new (__ngFactoryType__ || AssetLinkPipe)(
|
|
127
|
+
return new (__ngFactoryType__ || AssetLinkPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector, 16), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_current_render_root_url_service__WEBPACK_IMPORTED_MODULE_0__.CurrentRenderRootUrlService, 24));
|
|
123
128
|
};
|
|
124
129
|
}
|
|
125
130
|
static {
|
|
126
|
-
this.ɵpipe = /*@__PURE__*/
|
|
131
|
+
this.ɵpipe = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefinePipe"]({
|
|
127
132
|
name: "rsAssetLink",
|
|
128
133
|
type: AssetLinkPipe,
|
|
129
134
|
pure: true,
|
|
@@ -189,6 +194,34 @@ function getConfigProvider(params) {
|
|
|
189
194
|
|
|
190
195
|
/***/ }),
|
|
191
196
|
|
|
197
|
+
/***/ 9174:
|
|
198
|
+
/*!***********************************************************************************!*\
|
|
199
|
+
!*** ./projects/rendering-service-lib/src/lib/current-render-root-url.service.ts ***!
|
|
200
|
+
\***********************************************************************************/
|
|
201
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
202
|
+
|
|
203
|
+
__webpack_require__.r(__webpack_exports__);
|
|
204
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
205
|
+
/* harmony export */ CurrentRenderRootUrlService: () => (/* binding */ CurrentRenderRootUrlService)
|
|
206
|
+
/* harmony export */ });
|
|
207
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 7580);
|
|
208
|
+
|
|
209
|
+
class CurrentRenderRootUrlService {
|
|
210
|
+
static {
|
|
211
|
+
this.ɵfac = function CurrentRenderRootUrlService_Factory(__ngFactoryType__) {
|
|
212
|
+
return new (__ngFactoryType__ || CurrentRenderRootUrlService)();
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
static {
|
|
216
|
+
this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
|
|
217
|
+
token: CurrentRenderRootUrlService,
|
|
218
|
+
factory: CurrentRenderRootUrlService.ɵfac
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/***/ }),
|
|
224
|
+
|
|
192
225
|
/***/ 9182:
|
|
193
226
|
/*!************************************************************************************!*\
|
|
194
227
|
!*** ./projects/rendering-service-api/dist/fesm2022/ngx-rendering-service-api.mjs ***!
|
|
@@ -794,394 +827,6 @@ class EduTrackingControllerService extends BaseService {
|
|
|
794
827
|
}], null);
|
|
795
828
|
})();
|
|
796
829
|
|
|
797
|
-
/* tslint:disable */
|
|
798
|
-
/* eslint-disable */
|
|
799
|
-
function activateOptionalModule(http, rootUrl, params, context) {
|
|
800
|
-
const rb = new RequestBuilder(rootUrl, activateOptionalModule.PATH, 'put');
|
|
801
|
-
if (params) {
|
|
802
|
-
rb.body(params.body, 'application/json');
|
|
803
|
-
}
|
|
804
|
-
return http.request(rb.build({
|
|
805
|
-
responseType: 'text',
|
|
806
|
-
accept: '*/*',
|
|
807
|
-
context
|
|
808
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
809
|
-
return r.clone({
|
|
810
|
-
body: undefined
|
|
811
|
-
});
|
|
812
|
-
}));
|
|
813
|
-
}
|
|
814
|
-
activateOptionalModule.PATH = '/admin/repository/modules/activate';
|
|
815
|
-
|
|
816
|
-
/* tslint:disable */
|
|
817
|
-
/* eslint-disable */
|
|
818
|
-
function deactivateOptionalModule(http, rootUrl, params, context) {
|
|
819
|
-
const rb = new RequestBuilder(rootUrl, deactivateOptionalModule.PATH, 'put');
|
|
820
|
-
if (params) {
|
|
821
|
-
rb.body(params.body, 'application/json');
|
|
822
|
-
}
|
|
823
|
-
return http.request(rb.build({
|
|
824
|
-
responseType: 'text',
|
|
825
|
-
accept: '*/*',
|
|
826
|
-
context
|
|
827
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
828
|
-
return r.clone({
|
|
829
|
-
body: undefined
|
|
830
|
-
});
|
|
831
|
-
}));
|
|
832
|
-
}
|
|
833
|
-
deactivateOptionalModule.PATH = '/admin/repository/modules/deactivate';
|
|
834
|
-
|
|
835
|
-
/* tslint:disable */
|
|
836
|
-
/* eslint-disable */
|
|
837
|
-
function deleteObjectFromCache(http, rootUrl, params, context) {
|
|
838
|
-
const rb = new RequestBuilder(rootUrl, deleteObjectFromCache.PATH, 'delete');
|
|
839
|
-
if (params) {
|
|
840
|
-
rb.query('repoId', params.repoId, {});
|
|
841
|
-
rb.query('nodeId', params.nodeId, {});
|
|
842
|
-
rb.query('hash', params.hash, {});
|
|
843
|
-
}
|
|
844
|
-
return http.request(rb.build({
|
|
845
|
-
responseType: 'text',
|
|
846
|
-
accept: '*/*',
|
|
847
|
-
context
|
|
848
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
849
|
-
return r.clone({
|
|
850
|
-
body: undefined
|
|
851
|
-
});
|
|
852
|
-
}));
|
|
853
|
-
}
|
|
854
|
-
deleteObjectFromCache.PATH = '/admin/cache/remove';
|
|
855
|
-
|
|
856
|
-
/* tslint:disable */
|
|
857
|
-
/* eslint-disable */
|
|
858
|
-
function deleteRepository(http, rootUrl, params, context) {
|
|
859
|
-
const rb = new RequestBuilder(rootUrl, deleteRepository.PATH, 'delete');
|
|
860
|
-
if (params) {
|
|
861
|
-
rb.body(params.body, 'application/json');
|
|
862
|
-
}
|
|
863
|
-
return http.request(rb.build({
|
|
864
|
-
responseType: 'blob',
|
|
865
|
-
accept: '*/*',
|
|
866
|
-
context
|
|
867
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
868
|
-
return r;
|
|
869
|
-
}));
|
|
870
|
-
}
|
|
871
|
-
deleteRepository.PATH = '/admin/repository/register';
|
|
872
|
-
|
|
873
|
-
/* tslint:disable */
|
|
874
|
-
/* eslint-disable */
|
|
875
|
-
function getCacheUsage(http, rootUrl, params, context) {
|
|
876
|
-
const rb = new RequestBuilder(rootUrl, getCacheUsage.PATH, 'get');
|
|
877
|
-
if (params) {
|
|
878
|
-
rb.query('repoId', params.repoId, {});
|
|
879
|
-
}
|
|
880
|
-
return http.request(rb.build({
|
|
881
|
-
responseType: 'blob',
|
|
882
|
-
accept: '*/*',
|
|
883
|
-
context
|
|
884
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
885
|
-
return r;
|
|
886
|
-
}));
|
|
887
|
-
}
|
|
888
|
-
getCacheUsage.PATH = '/admin/cache/usage';
|
|
889
|
-
|
|
890
|
-
/* tslint:disable */
|
|
891
|
-
/* eslint-disable */
|
|
892
|
-
function registeredRepos(http, rootUrl, params, context) {
|
|
893
|
-
const rb = new RequestBuilder(rootUrl, registeredRepos.PATH, 'get');
|
|
894
|
-
if (params) {}
|
|
895
|
-
return http.request(rb.build({
|
|
896
|
-
responseType: 'blob',
|
|
897
|
-
accept: '*/*',
|
|
898
|
-
context
|
|
899
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
900
|
-
return r;
|
|
901
|
-
}));
|
|
902
|
-
}
|
|
903
|
-
registeredRepos.PATH = '/admin/repository/register';
|
|
904
|
-
|
|
905
|
-
/* tslint:disable */
|
|
906
|
-
/* eslint-disable */
|
|
907
|
-
function registerWithRepo(http, rootUrl, params, context) {
|
|
908
|
-
const rb = new RequestBuilder(rootUrl, registerWithRepo.PATH, 'post');
|
|
909
|
-
if (params) {
|
|
910
|
-
rb.body(params.body, 'application/json');
|
|
911
|
-
}
|
|
912
|
-
return http.request(rb.build({
|
|
913
|
-
responseType: 'blob',
|
|
914
|
-
accept: '*/*',
|
|
915
|
-
context
|
|
916
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
917
|
-
return r;
|
|
918
|
-
}));
|
|
919
|
-
}
|
|
920
|
-
registerWithRepo.PATH = '/admin/repository/register';
|
|
921
|
-
|
|
922
|
-
/* tslint:disable */
|
|
923
|
-
/* eslint-disable */
|
|
924
|
-
function setCsp(http, rootUrl, params, context) {
|
|
925
|
-
const rb = new RequestBuilder(rootUrl, setCsp.PATH, 'put');
|
|
926
|
-
if (params) {
|
|
927
|
-
rb.body(params.body, 'application/json');
|
|
928
|
-
}
|
|
929
|
-
return http.request(rb.build({
|
|
930
|
-
responseType: 'text',
|
|
931
|
-
accept: '*/*',
|
|
932
|
-
context
|
|
933
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
934
|
-
return r.clone({
|
|
935
|
-
body: undefined
|
|
936
|
-
});
|
|
937
|
-
}));
|
|
938
|
-
}
|
|
939
|
-
setCsp.PATH = '/admin/repository/modules/csp';
|
|
940
|
-
|
|
941
|
-
/* tslint:disable */
|
|
942
|
-
/* eslint-disable */
|
|
943
|
-
function updateRepoRegistration(http, rootUrl, params, context) {
|
|
944
|
-
const rb = new RequestBuilder(rootUrl, updateRepoRegistration.PATH, 'patch');
|
|
945
|
-
if (params) {
|
|
946
|
-
rb.body(params.body, 'application/json');
|
|
947
|
-
}
|
|
948
|
-
return http.request(rb.build({
|
|
949
|
-
responseType: 'blob',
|
|
950
|
-
accept: '*/*',
|
|
951
|
-
context
|
|
952
|
-
})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(r => r instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpResponse), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => {
|
|
953
|
-
return r;
|
|
954
|
-
}));
|
|
955
|
-
}
|
|
956
|
-
updateRepoRegistration.PATH = '/admin/repository/register';
|
|
957
|
-
class AdminControllerService extends BaseService {
|
|
958
|
-
constructor(config, http) {
|
|
959
|
-
super(config, http);
|
|
960
|
-
}
|
|
961
|
-
/** Path part for operation `deactivateOptionalModule()` */
|
|
962
|
-
static {
|
|
963
|
-
this.DeactivateOptionalModulePath = '/admin/repository/modules/deactivate';
|
|
964
|
-
}
|
|
965
|
-
/**
|
|
966
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
967
|
-
* To access only the response body, use `deactivateOptionalModule()` instead.
|
|
968
|
-
*
|
|
969
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
970
|
-
*/
|
|
971
|
-
deactivateOptionalModule$Response(params, context) {
|
|
972
|
-
return deactivateOptionalModule(this.http, this.rootUrl, params, context);
|
|
973
|
-
}
|
|
974
|
-
/**
|
|
975
|
-
* This method provides access only to the response body.
|
|
976
|
-
* To access the full response (for headers, for example), `deactivateOptionalModule$Response()` instead.
|
|
977
|
-
*
|
|
978
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
979
|
-
*/
|
|
980
|
-
deactivateOptionalModule(params, context) {
|
|
981
|
-
return this.deactivateOptionalModule$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
982
|
-
}
|
|
983
|
-
/** Path part for operation `setCsp()` */
|
|
984
|
-
static {
|
|
985
|
-
this.SetCspPath = '/admin/repository/modules/csp';
|
|
986
|
-
}
|
|
987
|
-
/**
|
|
988
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
989
|
-
* To access only the response body, use `setCsp()` instead.
|
|
990
|
-
*
|
|
991
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
992
|
-
*/
|
|
993
|
-
setCsp$Response(params, context) {
|
|
994
|
-
return setCsp(this.http, this.rootUrl, params, context);
|
|
995
|
-
}
|
|
996
|
-
/**
|
|
997
|
-
* This method provides access only to the response body.
|
|
998
|
-
* To access the full response (for headers, for example), `setCsp$Response()` instead.
|
|
999
|
-
*
|
|
1000
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1001
|
-
*/
|
|
1002
|
-
setCsp(params, context) {
|
|
1003
|
-
return this.setCsp$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
1004
|
-
}
|
|
1005
|
-
/** Path part for operation `activateOptionalModule()` */
|
|
1006
|
-
static {
|
|
1007
|
-
this.ActivateOptionalModulePath = '/admin/repository/modules/activate';
|
|
1008
|
-
}
|
|
1009
|
-
/**
|
|
1010
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
1011
|
-
* To access only the response body, use `activateOptionalModule()` instead.
|
|
1012
|
-
*
|
|
1013
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1014
|
-
*/
|
|
1015
|
-
activateOptionalModule$Response(params, context) {
|
|
1016
|
-
return activateOptionalModule(this.http, this.rootUrl, params, context);
|
|
1017
|
-
}
|
|
1018
|
-
/**
|
|
1019
|
-
* This method provides access only to the response body.
|
|
1020
|
-
* To access the full response (for headers, for example), `activateOptionalModule$Response()` instead.
|
|
1021
|
-
*
|
|
1022
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1023
|
-
*/
|
|
1024
|
-
activateOptionalModule(params, context) {
|
|
1025
|
-
return this.activateOptionalModule$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
1026
|
-
}
|
|
1027
|
-
/** Path part for operation `registeredRepos()` */
|
|
1028
|
-
static {
|
|
1029
|
-
this.RegisteredReposPath = '/admin/repository/register';
|
|
1030
|
-
}
|
|
1031
|
-
/**
|
|
1032
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
1033
|
-
* To access only the response body, use `registeredRepos()` instead.
|
|
1034
|
-
*
|
|
1035
|
-
* This method doesn't expect any request body.
|
|
1036
|
-
*/
|
|
1037
|
-
registeredRepos$Response(params, context) {
|
|
1038
|
-
return registeredRepos(this.http, this.rootUrl, params, context);
|
|
1039
|
-
}
|
|
1040
|
-
/**
|
|
1041
|
-
* This method provides access only to the response body.
|
|
1042
|
-
* To access the full response (for headers, for example), `registeredRepos$Response()` instead.
|
|
1043
|
-
*
|
|
1044
|
-
* This method doesn't expect any request body.
|
|
1045
|
-
*/
|
|
1046
|
-
registeredRepos(params, context) {
|
|
1047
|
-
return this.registeredRepos$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
1048
|
-
}
|
|
1049
|
-
/** Path part for operation `registerWithRepo()` */
|
|
1050
|
-
static {
|
|
1051
|
-
this.RegisterWithRepoPath = '/admin/repository/register';
|
|
1052
|
-
}
|
|
1053
|
-
/**
|
|
1054
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
1055
|
-
* To access only the response body, use `registerWithRepo()` instead.
|
|
1056
|
-
*
|
|
1057
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1058
|
-
*/
|
|
1059
|
-
registerWithRepo$Response(params, context) {
|
|
1060
|
-
return registerWithRepo(this.http, this.rootUrl, params, context);
|
|
1061
|
-
}
|
|
1062
|
-
/**
|
|
1063
|
-
* This method provides access only to the response body.
|
|
1064
|
-
* To access the full response (for headers, for example), `registerWithRepo$Response()` instead.
|
|
1065
|
-
*
|
|
1066
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1067
|
-
*/
|
|
1068
|
-
registerWithRepo(params, context) {
|
|
1069
|
-
return this.registerWithRepo$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
1070
|
-
}
|
|
1071
|
-
/** Path part for operation `deleteRepository()` */
|
|
1072
|
-
static {
|
|
1073
|
-
this.DeleteRepositoryPath = '/admin/repository/register';
|
|
1074
|
-
}
|
|
1075
|
-
/**
|
|
1076
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
1077
|
-
* To access only the response body, use `deleteRepository()` instead.
|
|
1078
|
-
*
|
|
1079
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1080
|
-
*/
|
|
1081
|
-
deleteRepository$Response(params, context) {
|
|
1082
|
-
return deleteRepository(this.http, this.rootUrl, params, context);
|
|
1083
|
-
}
|
|
1084
|
-
/**
|
|
1085
|
-
* This method provides access only to the response body.
|
|
1086
|
-
* To access the full response (for headers, for example), `deleteRepository$Response()` instead.
|
|
1087
|
-
*
|
|
1088
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1089
|
-
*/
|
|
1090
|
-
deleteRepository(params, context) {
|
|
1091
|
-
return this.deleteRepository$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
1092
|
-
}
|
|
1093
|
-
/** Path part for operation `updateRepoRegistration()` */
|
|
1094
|
-
static {
|
|
1095
|
-
this.UpdateRepoRegistrationPath = '/admin/repository/register';
|
|
1096
|
-
}
|
|
1097
|
-
/**
|
|
1098
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
1099
|
-
* To access only the response body, use `updateRepoRegistration()` instead.
|
|
1100
|
-
*
|
|
1101
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1102
|
-
*/
|
|
1103
|
-
updateRepoRegistration$Response(params, context) {
|
|
1104
|
-
return updateRepoRegistration(this.http, this.rootUrl, params, context);
|
|
1105
|
-
}
|
|
1106
|
-
/**
|
|
1107
|
-
* This method provides access only to the response body.
|
|
1108
|
-
* To access the full response (for headers, for example), `updateRepoRegistration$Response()` instead.
|
|
1109
|
-
*
|
|
1110
|
-
* This method sends `application/json` and handles request body of type `application/json`.
|
|
1111
|
-
*/
|
|
1112
|
-
updateRepoRegistration(params, context) {
|
|
1113
|
-
return this.updateRepoRegistration$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
1114
|
-
}
|
|
1115
|
-
/** Path part for operation `getCacheUsage()` */
|
|
1116
|
-
static {
|
|
1117
|
-
this.GetCacheUsagePath = '/admin/cache/usage';
|
|
1118
|
-
}
|
|
1119
|
-
/**
|
|
1120
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
1121
|
-
* To access only the response body, use `getCacheUsage()` instead.
|
|
1122
|
-
*
|
|
1123
|
-
* This method doesn't expect any request body.
|
|
1124
|
-
*/
|
|
1125
|
-
getCacheUsage$Response(params, context) {
|
|
1126
|
-
return getCacheUsage(this.http, this.rootUrl, params, context);
|
|
1127
|
-
}
|
|
1128
|
-
/**
|
|
1129
|
-
* This method provides access only to the response body.
|
|
1130
|
-
* To access the full response (for headers, for example), `getCacheUsage$Response()` instead.
|
|
1131
|
-
*
|
|
1132
|
-
* This method doesn't expect any request body.
|
|
1133
|
-
*/
|
|
1134
|
-
getCacheUsage(params, context) {
|
|
1135
|
-
return this.getCacheUsage$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
1136
|
-
}
|
|
1137
|
-
/** Path part for operation `deleteObjectFromCache()` */
|
|
1138
|
-
static {
|
|
1139
|
-
this.DeleteObjectFromCachePath = '/admin/cache/remove';
|
|
1140
|
-
}
|
|
1141
|
-
/**
|
|
1142
|
-
* This method provides access to the full `HttpResponse`, allowing access to response headers.
|
|
1143
|
-
* To access only the response body, use `deleteObjectFromCache()` instead.
|
|
1144
|
-
*
|
|
1145
|
-
* This method doesn't expect any request body.
|
|
1146
|
-
*/
|
|
1147
|
-
deleteObjectFromCache$Response(params, context) {
|
|
1148
|
-
return deleteObjectFromCache(this.http, this.rootUrl, params, context);
|
|
1149
|
-
}
|
|
1150
|
-
/**
|
|
1151
|
-
* This method provides access only to the response body.
|
|
1152
|
-
* To access the full response (for headers, for example), `deleteObjectFromCache$Response()` instead.
|
|
1153
|
-
*
|
|
1154
|
-
* This method doesn't expect any request body.
|
|
1155
|
-
*/
|
|
1156
|
-
deleteObjectFromCache(params, context) {
|
|
1157
|
-
return this.deleteObjectFromCache$Response(params, context).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(r => r.body));
|
|
1158
|
-
}
|
|
1159
|
-
static {
|
|
1160
|
-
this.ɵfac = function AdminControllerService_Factory(__ngFactoryType__) {
|
|
1161
|
-
return new (__ngFactoryType__ || AdminControllerService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](ApiConfiguration), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpClient));
|
|
1162
|
-
};
|
|
1163
|
-
}
|
|
1164
|
-
static {
|
|
1165
|
-
this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
|
|
1166
|
-
token: AdminControllerService,
|
|
1167
|
-
factory: AdminControllerService.ɵfac,
|
|
1168
|
-
providedIn: 'root'
|
|
1169
|
-
});
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
(() => {
|
|
1173
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AdminControllerService, [{
|
|
1174
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
|
|
1175
|
-
args: [{
|
|
1176
|
-
providedIn: 'root'
|
|
1177
|
-
}]
|
|
1178
|
-
}], () => [{
|
|
1179
|
-
type: ApiConfiguration
|
|
1180
|
-
}, {
|
|
1181
|
-
type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpClient
|
|
1182
|
-
}], null);
|
|
1183
|
-
})();
|
|
1184
|
-
|
|
1185
830
|
/* tslint:disable */
|
|
1186
831
|
/* eslint-disable */
|
|
1187
832
|
function getRenderData(http, rootUrl, params, context) {
|
|
@@ -1745,7 +1390,7 @@ class RenderingServiceModule {
|
|
|
1745
1390
|
}
|
|
1746
1391
|
static {
|
|
1747
1392
|
this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
|
|
1748
|
-
providers: [EduTrackingControllerService,
|
|
1393
|
+
providers: [EduTrackingControllerService, RenderControllerService, ModuleInfoControllerService, JobInfoControllerService, LumiProxyControllerService, AssetControllerService, PingControllerService, ApiConfiguration]
|
|
1749
1394
|
});
|
|
1750
1395
|
}
|
|
1751
1396
|
}
|
|
@@ -1756,7 +1401,7 @@ class RenderingServiceModule {
|
|
|
1756
1401
|
imports: [],
|
|
1757
1402
|
exports: [],
|
|
1758
1403
|
declarations: [],
|
|
1759
|
-
providers: [EduTrackingControllerService,
|
|
1404
|
+
providers: [EduTrackingControllerService, RenderControllerService, ModuleInfoControllerService, JobInfoControllerService, LumiProxyControllerService, AssetControllerService, PingControllerService, ApiConfiguration]
|
|
1760
1405
|
}]
|
|
1761
1406
|
}], () => [{
|
|
1762
1407
|
type: RenderingServiceModule,
|
|
@@ -1969,7 +1614,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1969
1614
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1970
1615
|
/* harmony export */ PdfComponent: () => (/* binding */ PdfComponent)
|
|
1971
1616
|
/* harmony export */ });
|
|
1972
|
-
/* harmony import */ var
|
|
1617
|
+
/* harmony import */ var _home_marian_development_edu_sharing_community_services_rendering2_frontend_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 9204);
|
|
1973
1618
|
/* harmony import */ var _rendering_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../rendering.module */ 168);
|
|
1974
1619
|
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/icon */ 3840);
|
|
1975
1620
|
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/button */ 4175);
|
|
@@ -2042,7 +1687,7 @@ class PdfComponent {
|
|
|
2042
1687
|
assetParams: assetParams
|
|
2043
1688
|
};
|
|
2044
1689
|
this.assetControllerService.getAsset$Response(params).subscribe(/*#__PURE__*/function () {
|
|
2045
|
-
var _ref = (0,
|
|
1690
|
+
var _ref = (0,_home_marian_development_edu_sharing_community_services_rendering2_frontend_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (response) {
|
|
2046
1691
|
if (response.headers.get('content-type') !== 'application/octet-stream') {
|
|
2047
1692
|
return;
|
|
2048
1693
|
}
|