@dbg-riskit/angular-testing 12.3.0 → 9999.9999.9999-rc.12148
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/dbg-riskit-angular-testing.d.ts +1 -0
- package/docs/README.md +1 -11
- package/{esm2015/dbg-riskit-angular-testing.js → esm2020/dbg-riskit-angular-testing.mjs} +0 -0
- package/{esm2015/lib/by.util.js → esm2020/lib/by.util.mjs} +0 -0
- package/esm2020/lib/cached.resource.provider.mjs +17 -0
- package/esm2020/lib/definitions/data.table.definition.mjs +556 -0
- package/esm2020/lib/definitions/download.menu.page.mjs +90 -0
- package/esm2020/lib/definitions/highlighter.directive.page.mjs +36 -0
- package/esm2020/lib/definitions/layout.component.page.mjs +93 -0
- package/{esm2015/lib/definitions/link.definition.js → esm2020/lib/definitions/link.definition.mjs} +0 -0
- package/{esm2015/lib/definitions/link.only.page.js → esm2020/lib/definitions/link.only.page.mjs} +0 -0
- package/{esm2015/lib/definitions/login.menu.page.js → esm2020/lib/definitions/login.menu.page.mjs} +0 -0
- package/{esm2015/lib/definitions/login.page.js → esm2020/lib/definitions/login.page.mjs} +4 -4
- package/{esm2015/lib/definitions/message.def.js → esm2020/lib/definitions/message.def.mjs} +0 -0
- package/esm2020/lib/definitions/message.page.mjs +68 -0
- package/esm2020/lib/definitions/page.base.mjs +64 -0
- package/esm2020/lib/environment.mjs +23 -0
- package/esm2020/lib/events.mjs +60 -0
- package/esm2020/lib/stubs/auth/auth.routing.flow.service.stub.mjs +37 -0
- package/esm2020/lib/stubs/auth/auth.service.stub.mjs +40 -0
- package/esm2020/lib/stubs/auth/well.known.service.stub.mjs +22 -0
- package/esm2020/lib/stubs/http.service.stub.mjs +54 -0
- package/esm2020/lib/stubs/login.menu.stub.component.mjs +19 -0
- package/esm2020/lib/stubs/router/activated.route.stub.mjs +29 -0
- package/esm2020/lib/stubs/router/router.link.stub.mjs +46 -0
- package/{esm2015/lib/stubs/router/router.module.stub.js → esm2020/lib/stubs/router/router.module.stub.mjs} +4 -4
- package/esm2020/lib/stubs/router/router.outlet.stub.component.mjs +16 -0
- package/esm2020/lib/stubs/router/router.stub.mjs +79 -0
- package/esm2020/lib/testing.module.mjs +52 -0
- package/esm2020/lib/utils.mjs +48 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +4 -4
- package/fesm2015/{dbg-riskit-angular-testing.js → dbg-riskit-angular-testing.mjs} +263 -128
- package/fesm2015/dbg-riskit-angular-testing.mjs.map +1 -0
- package/fesm2020/dbg-riskit-angular-testing.mjs +1570 -0
- package/fesm2020/dbg-riskit-angular-testing.mjs.map +1 -0
- package/lib/definitions/data.table.definition.d.ts +3 -0
- package/lib/definitions/download.menu.page.d.ts +3 -0
- package/lib/definitions/highlighter.directive.page.d.ts +3 -0
- package/lib/definitions/layout.component.page.d.ts +5 -2
- package/lib/definitions/message.page.d.ts +3 -0
- package/lib/stubs/auth/auth.routing.flow.service.stub.d.ts +3 -0
- package/lib/stubs/auth/auth.service.stub.d.ts +3 -0
- package/lib/stubs/auth/well.known.service.stub.d.ts +3 -0
- package/lib/stubs/http.service.stub.d.ts +5 -0
- package/lib/stubs/login.menu.stub.component.d.ts +6 -0
- package/lib/stubs/router/activated.route.stub.d.ts +3 -0
- package/lib/stubs/router/router.link.stub.d.ts +5 -2
- package/lib/stubs/router/router.outlet.stub.component.d.ts +5 -0
- package/lib/stubs/router/router.stub.d.ts +3 -0
- package/lib/testing.module.d.ts +15 -0
- package/package.json +32 -20
- package/public_api.d.ts +3 -3
- package/bundles/dbg-riskit-angular-testing.umd.js +0 -2253
- package/bundles/dbg-riskit-angular-testing.umd.js.map +0 -1
- package/dbg-riskit-angular-testing.metadata.json +0 -1
- package/esm2015/lib/cached.resource.provider.js +0 -16
- package/esm2015/lib/definitions/data.table.definition.js +0 -508
- package/esm2015/lib/definitions/download.menu.page.js +0 -81
- package/esm2015/lib/definitions/highlighter.directive.page.js +0 -30
- package/esm2015/lib/definitions/layout.component.page.js +0 -73
- package/esm2015/lib/definitions/message.page.js +0 -54
- package/esm2015/lib/definitions/page.base.js +0 -64
- package/esm2015/lib/environment.js +0 -19
- package/esm2015/lib/events.js +0 -60
- package/esm2015/lib/stubs/auth/auth.routing.flow.service.stub.js +0 -31
- package/esm2015/lib/stubs/auth/auth.service.stub.js +0 -38
- package/esm2015/lib/stubs/auth/well.known.service.stub.js +0 -19
- package/esm2015/lib/stubs/http.service.stub.js +0 -49
- package/esm2015/lib/stubs/login.menu.component.stub.js +0 -16
- package/esm2015/lib/stubs/router/activated.route.stub.js +0 -26
- package/esm2015/lib/stubs/router/router.link.stub.js +0 -45
- package/esm2015/lib/stubs/router/router.outlet.stub.js +0 -12
- package/esm2015/lib/stubs/router/router.stub.js +0 -72
- package/esm2015/lib/testing.module.js +0 -34
- package/esm2015/lib/utils.js +0 -48
- package/fesm2015/dbg-riskit-angular-testing.js.map +0 -1
- package/lib/stubs/login.menu.component.stub.d.ts +0 -3
- package/lib/stubs/router/router.outlet.stub.d.ts +0 -2
package/docs/README.md
CHANGED
|
@@ -2,24 +2,14 @@
|
|
|
2
2
|

|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
# risk-angular-common (Angular
|
|
5
|
+
# risk-angular-common (Angular 13 and @angular/material based library for RiskIT applications)
|
|
6
6
|
|
|
7
7
|
Used by:
|
|
8
8
|
- [dev/DAVe-UI](https://github.deutsche-boerse.de/dev/DAVe-UI)
|
|
9
9
|
- [dev/DAVe-MarginEstimator-UI](https://github.deutsche-boerse.de/dev/DAVe-MarginEstimator-UI)
|
|
10
|
-
- [dev/prisma-gui](https://github.deutsche-boerse.de/dev/prisma-gui)
|
|
11
10
|
- [dev/MDH-UI](https://github.deutsche-boerse.de/dev/MDH-UI)
|
|
12
11
|
- [RiskIT/openid-k8s-token-generator](https://github.deutsche-boerse.de/RiskIT/openid-k8s-token-generator)
|
|
13
12
|
|
|
14
|
-
## Browser support (tested via [BrowserStack](https://www.browserstack.com))
|
|
15
|
-
|  Chrome |  Firefox |  Edge |  IE |  Safari |  iOS |
|
|
16
|
-
|:------:|:-------:|:----:|:------:|:------:|:-------:|
|
|
17
|
-
| Latest | Latest | 16 | 11 | 11.1 | 9.1+\* |
|
|
18
|
-
| 50 | 50 | 15 | 10\* | 10.1 | |
|
|
19
|
-
| | | | | 9.1 | |
|
|
20
|
-
|
|
21
|
-
\* In IE 10 and iOS the application is working, but with layout issues.
|
|
22
|
-
|
|
23
13
|
## Packages
|
|
24
14
|
|
|
25
15
|
To use in your application add the following packages into your app:
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ɵResourceLoaderImpl } from '@angular/platform-browser-dynamic';
|
|
2
|
+
import { firstValueFrom, from } from 'rxjs';
|
|
3
|
+
import { map } from 'rxjs/operators';
|
|
4
|
+
export class CachedResourceProviderImpl extends ɵResourceLoaderImpl {
|
|
5
|
+
get(url) {
|
|
6
|
+
const cacheElement = CachedResourceProviderImpl.cache[url];
|
|
7
|
+
if (cacheElement) {
|
|
8
|
+
return cacheElement;
|
|
9
|
+
}
|
|
10
|
+
return firstValueFrom(from(super.get(url)).pipe(map((content) => {
|
|
11
|
+
CachedResourceProviderImpl.cache[url] = Promise.resolve(content);
|
|
12
|
+
return content;
|
|
13
|
+
})));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
CachedResourceProviderImpl.cache = {};
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGVkLnJlc291cmNlLnByb3ZpZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGtnL2RiZy1yaXNraXQvYW5ndWxhci10ZXN0aW5nL3NyYy9saWIvY2FjaGVkLnJlc291cmNlLnByb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNL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TG9hZGVySW1wbCB7XG5cbiAgICBwcml2YXRlIHN0YXRpYyBjYWNoZTogeyBba2V5OiBzdHJpbmddOiBQcm9taXNlPHN0cmluZz4gfCB1bmRlZmluZWQgfSA9IHt9O1xuXG4gICAgcHVibGljIGdldCh1cmw6IHN0cmluZyk6IFByb21pc2U8c3RyaW5nPiB7XG4gICAgICAgIGNvbnN0IGNhY2hlRWxlbWVudCA9IENhY2hlZFJlc291cmNlUHJvdmlkZXJJbXBsLmNhY2hlW3VybF07XG4gICAgICAgIGlmIChjYWNoZUVsZW1lbnQpIHtcbiAgICAgICAgICAgIHJldHVybiBjYWNoZUVsZW1lbnQ7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGZpcnN0VmFsdWVGcm9tKFxuICAgICAgICAgICAgZnJvbShcbiAgICAgICAgICAgICAgICBzdXBlci5nZXQodXJsKVxuICAgICAgICAgICAgKS5waXBlKFxuICAgICAgICAgICAgICAgIG1hcCgoY29udGVudDogc3RyaW5nKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIENhY2hlZFJlc291cmNlUHJvdmlkZXJJbXBsLmNhY2hlW3VybF0gPSBQcm9taXNlLnJlc29sdmUoY29udGVudCk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBjb250ZW50O1xuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICApXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|