@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.
Files changed (78) hide show
  1. package/dbg-riskit-angular-testing.d.ts +1 -0
  2. package/docs/README.md +1 -11
  3. package/{esm2015/dbg-riskit-angular-testing.js → esm2020/dbg-riskit-angular-testing.mjs} +0 -0
  4. package/{esm2015/lib/by.util.js → esm2020/lib/by.util.mjs} +0 -0
  5. package/esm2020/lib/cached.resource.provider.mjs +17 -0
  6. package/esm2020/lib/definitions/data.table.definition.mjs +556 -0
  7. package/esm2020/lib/definitions/download.menu.page.mjs +90 -0
  8. package/esm2020/lib/definitions/highlighter.directive.page.mjs +36 -0
  9. package/esm2020/lib/definitions/layout.component.page.mjs +93 -0
  10. package/{esm2015/lib/definitions/link.definition.js → esm2020/lib/definitions/link.definition.mjs} +0 -0
  11. package/{esm2015/lib/definitions/link.only.page.js → esm2020/lib/definitions/link.only.page.mjs} +0 -0
  12. package/{esm2015/lib/definitions/login.menu.page.js → esm2020/lib/definitions/login.menu.page.mjs} +0 -0
  13. package/{esm2015/lib/definitions/login.page.js → esm2020/lib/definitions/login.page.mjs} +4 -4
  14. package/{esm2015/lib/definitions/message.def.js → esm2020/lib/definitions/message.def.mjs} +0 -0
  15. package/esm2020/lib/definitions/message.page.mjs +68 -0
  16. package/esm2020/lib/definitions/page.base.mjs +64 -0
  17. package/esm2020/lib/environment.mjs +23 -0
  18. package/esm2020/lib/events.mjs +60 -0
  19. package/esm2020/lib/stubs/auth/auth.routing.flow.service.stub.mjs +37 -0
  20. package/esm2020/lib/stubs/auth/auth.service.stub.mjs +40 -0
  21. package/esm2020/lib/stubs/auth/well.known.service.stub.mjs +22 -0
  22. package/esm2020/lib/stubs/http.service.stub.mjs +54 -0
  23. package/esm2020/lib/stubs/login.menu.stub.component.mjs +19 -0
  24. package/esm2020/lib/stubs/router/activated.route.stub.mjs +29 -0
  25. package/esm2020/lib/stubs/router/router.link.stub.mjs +46 -0
  26. package/{esm2015/lib/stubs/router/router.module.stub.js → esm2020/lib/stubs/router/router.module.stub.mjs} +4 -4
  27. package/esm2020/lib/stubs/router/router.outlet.stub.component.mjs +16 -0
  28. package/esm2020/lib/stubs/router/router.stub.mjs +79 -0
  29. package/esm2020/lib/testing.module.mjs +52 -0
  30. package/esm2020/lib/utils.mjs +48 -0
  31. package/{esm2015/public_api.js → esm2020/public_api.mjs} +4 -4
  32. package/fesm2015/{dbg-riskit-angular-testing.js → dbg-riskit-angular-testing.mjs} +263 -128
  33. package/fesm2015/dbg-riskit-angular-testing.mjs.map +1 -0
  34. package/fesm2020/dbg-riskit-angular-testing.mjs +1570 -0
  35. package/fesm2020/dbg-riskit-angular-testing.mjs.map +1 -0
  36. package/lib/definitions/data.table.definition.d.ts +3 -0
  37. package/lib/definitions/download.menu.page.d.ts +3 -0
  38. package/lib/definitions/highlighter.directive.page.d.ts +3 -0
  39. package/lib/definitions/layout.component.page.d.ts +5 -2
  40. package/lib/definitions/message.page.d.ts +3 -0
  41. package/lib/stubs/auth/auth.routing.flow.service.stub.d.ts +3 -0
  42. package/lib/stubs/auth/auth.service.stub.d.ts +3 -0
  43. package/lib/stubs/auth/well.known.service.stub.d.ts +3 -0
  44. package/lib/stubs/http.service.stub.d.ts +5 -0
  45. package/lib/stubs/login.menu.stub.component.d.ts +6 -0
  46. package/lib/stubs/router/activated.route.stub.d.ts +3 -0
  47. package/lib/stubs/router/router.link.stub.d.ts +5 -2
  48. package/lib/stubs/router/router.outlet.stub.component.d.ts +5 -0
  49. package/lib/stubs/router/router.stub.d.ts +3 -0
  50. package/lib/testing.module.d.ts +15 -0
  51. package/package.json +32 -20
  52. package/public_api.d.ts +3 -3
  53. package/bundles/dbg-riskit-angular-testing.umd.js +0 -2253
  54. package/bundles/dbg-riskit-angular-testing.umd.js.map +0 -1
  55. package/dbg-riskit-angular-testing.metadata.json +0 -1
  56. package/esm2015/lib/cached.resource.provider.js +0 -16
  57. package/esm2015/lib/definitions/data.table.definition.js +0 -508
  58. package/esm2015/lib/definitions/download.menu.page.js +0 -81
  59. package/esm2015/lib/definitions/highlighter.directive.page.js +0 -30
  60. package/esm2015/lib/definitions/layout.component.page.js +0 -73
  61. package/esm2015/lib/definitions/message.page.js +0 -54
  62. package/esm2015/lib/definitions/page.base.js +0 -64
  63. package/esm2015/lib/environment.js +0 -19
  64. package/esm2015/lib/events.js +0 -60
  65. package/esm2015/lib/stubs/auth/auth.routing.flow.service.stub.js +0 -31
  66. package/esm2015/lib/stubs/auth/auth.service.stub.js +0 -38
  67. package/esm2015/lib/stubs/auth/well.known.service.stub.js +0 -19
  68. package/esm2015/lib/stubs/http.service.stub.js +0 -49
  69. package/esm2015/lib/stubs/login.menu.component.stub.js +0 -16
  70. package/esm2015/lib/stubs/router/activated.route.stub.js +0 -26
  71. package/esm2015/lib/stubs/router/router.link.stub.js +0 -45
  72. package/esm2015/lib/stubs/router/router.outlet.stub.js +0 -12
  73. package/esm2015/lib/stubs/router/router.stub.js +0 -72
  74. package/esm2015/lib/testing.module.js +0 -34
  75. package/esm2015/lib/utils.js +0 -48
  76. package/fesm2015/dbg-riskit-angular-testing.js.map +0 -1
  77. package/lib/stubs/login.menu.component.stub.d.ts +0 -3
  78. package/lib/stubs/router/router.outlet.stub.d.ts +0 -2
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@dbg-riskit/angular-testing" />
4
5
  export * from './public_api';
package/docs/README.md CHANGED
@@ -2,24 +2,14 @@
2
2
  ![lint-bash](https://github.deutsche-boerse.de/dev/risk-angular-common/workflows/lint-bash/badge.svg?event=push)
3
3
  ![lint-docker](https://github.deutsche-boerse.de/dev/risk-angular-common/workflows/lint-docker/badge.svg?event=push)
4
4
 
5
- # risk-angular-common (Angular 12 and @angular/material based library for RiskIT applications)
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](https://cdn1.iconfinder.com/data/icons/google_jfk_icons_by_carlosjj/32/chrome.png) Chrome | ![Firefox](https://cdn2.iconfinder.com/data/icons/humano2/32x32/apps/firefox-icon.png) Firefox | ![Edge](https://cdn4.iconfinder.com/data/icons/picons-social/57/56-edge-2-32.png) Edge | ![IE](https://cdn4.iconfinder.com/data/icons/iconsimple-logotypes/512/internet_explorer-32.png) IE | ![Safari](https://cdn1.iconfinder.com/data/icons/logotypes/32/safari-32.png) Safari | ![iOS](https://cdn1.iconfinder.com/data/icons/system-shade-circles/512/iOS-32.png) 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:
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGVkLnJlc291cmNlLnByb3ZpZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGtnL2RiZy1yaXNraXQvYW5ndWxhci10ZXN0aW5nL3NyYy9saWIvY2FjaGVkLnJlc291cmNlLnByb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBQ3RFLE9BQU8sRUFBQyxjQUFjLEVBQUUsSUFBSSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQzFDLE9BQU8sRUFBQyxHQUFHLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUVuQyxNQUFNLE9BQU8sMEJBQTJCLFNBQVEsbUJBQW1CO0lBSXhELEdBQUcsQ0FBQyxHQUFXO1FBQ2xCLE1BQU0sWUFBWSxHQUFHLDBCQUEwQixDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUMzRCxJQUFJLFlBQVksRUFBRTtZQUNkLE9BQU8sWUFBWSxDQUFDO1NBQ3ZCO1FBQ0QsT0FBTyxjQUFjLENBQ2pCLElBQUksQ0FDQSxLQUFLLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUNqQixDQUFDLElBQUksQ0FDRixHQUFHLENBQUMsQ0FBQyxPQUFlLEVBQUUsRUFBRTtZQUNwQiwwQkFBMEIsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLEdBQUcsT0FBTyxDQUFDLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQztZQUNqRSxPQUFPLE9BQU8sQ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gICAgICAgICAgIHJldHVybiBjb250ZW50O1xuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICApXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19