@daffodil/core 0.92.3-rc.2 → 0.93.0
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/fesm2022/daffodil-core-external-script-testing.mjs +3 -3
- package/fesm2022/daffodil-core-external-script-testing.mjs.map +1 -1
- package/fesm2022/daffodil-core-external-script.mjs +3 -3
- package/fesm2022/daffodil-core-external-script.mjs.map +1 -1
- package/fesm2022/daffodil-core-graphql.mjs +19 -8
- package/fesm2022/daffodil-core-graphql.mjs.map +1 -1
- package/fesm2022/daffodil-core-routing.mjs +3 -3
- package/fesm2022/daffodil-core-routing.mjs.map +1 -1
- package/fesm2022/daffodil-core-state-testing.mjs +6 -6
- package/fesm2022/daffodil-core-state-testing.mjs.map +1 -1
- package/fesm2022/daffodil-core-testing.mjs +67 -67
- package/fesm2022/daffodil-core-testing.mjs.map +1 -1
- package/fesm2022/daffodil-core.mjs +19 -19
- package/fesm2022/daffodil-core.mjs.map +1 -1
- package/package.json +1 -1
- package/{graphql/index.d.ts → types/daffodil-core-graphql.d.ts} +16 -10
- package/{state/index.d.ts → types/daffodil-core-state.d.ts} +3 -3
- /package/{external-script/testing/index.d.ts → types/daffodil-core-external-script-testing.d.ts} +0 -0
- /package/{external-script/index.d.ts → types/daffodil-core-external-script.d.ts} +0 -0
- /package/{routing/index.d.ts → types/daffodil-core-routing.d.ts} +0 -0
- /package/{state/testing/index.d.ts → types/daffodil-core-state-testing.d.ts} +0 -0
- /package/{testing/index.d.ts → types/daffodil-core-testing.d.ts} +0 -0
- /package/{index.d.ts → types/daffodil-core.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IMAGE_LOADER, isPlatformBrowser } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { makeEnvironmentProviders, PLATFORM_ID, Inject, Injectable, InjectionToken, inject } from '@angular/core';
|
|
4
|
-
import {
|
|
4
|
+
import { isObservable, from, pipe, throwError, timer, combineLatest, map, catchError } from 'rxjs';
|
|
5
5
|
import { retryWhen, mergeMap } from 'rxjs/operators';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -51,10 +51,10 @@ class DaffServerBase64Service {
|
|
|
51
51
|
decode(str) {
|
|
52
52
|
return Buffer.from(str, 'base64').toString('ascii');
|
|
53
53
|
}
|
|
54
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
55
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
54
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffServerBase64Service, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
55
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffServerBase64Service, providedIn: 'root' }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffServerBase64Service, decorators: [{
|
|
58
58
|
type: Injectable,
|
|
59
59
|
args: [{
|
|
60
60
|
providedIn: 'root',
|
|
@@ -79,10 +79,10 @@ class DaffBrowserBase64Service {
|
|
|
79
79
|
decode(str) {
|
|
80
80
|
return atob(str);
|
|
81
81
|
}
|
|
82
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
83
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
82
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffBrowserBase64Service, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
83
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffBrowserBase64Service, providedIn: 'root' }); }
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffBrowserBase64Service, decorators: [{
|
|
86
86
|
type: Injectable,
|
|
87
87
|
args: [{
|
|
88
88
|
providedIn: 'root',
|
|
@@ -1285,10 +1285,10 @@ class DaffErrorStorageService {
|
|
|
1285
1285
|
throwError() {
|
|
1286
1286
|
throw new DaffStorageServiceError(DaffErrorStorageService.ERROR_MESSAGE);
|
|
1287
1287
|
}
|
|
1288
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1289
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1288
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffErrorStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1289
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffErrorStorageService, providedIn: 'root' }); }
|
|
1290
1290
|
}
|
|
1291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffErrorStorageService, decorators: [{
|
|
1292
1292
|
type: Injectable,
|
|
1293
1293
|
args: [{
|
|
1294
1294
|
providedIn: 'root',
|
|
@@ -1330,10 +1330,10 @@ class DaffServerErrorStorageService {
|
|
|
1330
1330
|
throwError() {
|
|
1331
1331
|
throw new DaffServerSideStorageError(DaffServerErrorStorageService.ERROR_MESSAGE);
|
|
1332
1332
|
}
|
|
1333
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1334
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1333
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffServerErrorStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1334
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffServerErrorStorageService, providedIn: 'root' }); }
|
|
1335
1335
|
}
|
|
1336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffServerErrorStorageService, decorators: [{
|
|
1337
1337
|
type: Injectable,
|
|
1338
1338
|
args: [{
|
|
1339
1339
|
providedIn: 'root',
|
|
@@ -1370,10 +1370,10 @@ class DaffLocalStorageService {
|
|
|
1370
1370
|
clear() {
|
|
1371
1371
|
localStorage.clear();
|
|
1372
1372
|
}
|
|
1373
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1374
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1373
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffLocalStorageService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1374
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffLocalStorageService, providedIn: 'root' }); }
|
|
1375
1375
|
}
|
|
1376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffLocalStorageService, decorators: [{
|
|
1377
1377
|
type: Injectable,
|
|
1378
1378
|
args: [{
|
|
1379
1379
|
providedIn: 'root',
|
|
@@ -1395,10 +1395,10 @@ class DaffNoopStorageService {
|
|
|
1395
1395
|
;
|
|
1396
1396
|
removeItem(key) { }
|
|
1397
1397
|
;
|
|
1398
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1399
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1398
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffNoopStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1399
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffNoopStorageService, providedIn: 'root' }); }
|
|
1400
1400
|
}
|
|
1401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffNoopStorageService, decorators: [{
|
|
1402
1402
|
type: Injectable,
|
|
1403
1403
|
args: [{
|
|
1404
1404
|
providedIn: 'root',
|