@dbg-riskit/angular-testing 9999.9999.9999-rc.12148 → 9999.9999.9999-rc.1582647

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 (59) hide show
  1. package/esm2022/lib/definitions/data.table.definition.mjs +556 -0
  2. package/esm2022/lib/definitions/download.menu.page.mjs +90 -0
  3. package/{esm2020 → esm2022}/lib/definitions/highlighter.directive.page.mjs +5 -5
  4. package/{esm2020 → esm2022}/lib/definitions/layout.component.page.mjs +6 -6
  5. package/esm2022/lib/definitions/login.page.mjs +51 -0
  6. package/esm2022/lib/definitions/message.def.mjs +15 -0
  7. package/{esm2020 → esm2022}/lib/definitions/message.page.mjs +6 -6
  8. package/esm2022/lib/definitions/page.base.mjs +64 -0
  9. package/esm2022/lib/events.mjs +60 -0
  10. package/{esm2020 → esm2022}/lib/stubs/auth/auth.routing.flow.service.stub.mjs +6 -6
  11. package/{esm2020 → esm2022}/lib/stubs/auth/auth.service.stub.mjs +5 -5
  12. package/{esm2020 → esm2022}/lib/stubs/auth/well.known.service.stub.mjs +4 -4
  13. package/esm2022/lib/stubs/http.service.stub.mjs +54 -0
  14. package/{esm2020 → esm2022}/lib/stubs/login.menu.stub.component.mjs +4 -4
  15. package/{esm2020 → esm2022}/lib/stubs/router/activated.route.stub.mjs +4 -4
  16. package/esm2022/lib/stubs/router/router.link.stub.mjs +46 -0
  17. package/esm2022/lib/stubs/router/router.module.stub.mjs +44 -0
  18. package/{esm2020 → esm2022}/lib/stubs/router/router.outlet.stub.component.mjs +4 -4
  19. package/esm2022/lib/stubs/router/router.stub.mjs +79 -0
  20. package/esm2022/lib/testing.module.mjs +50 -0
  21. package/esm2022/lib/utils.mjs +48 -0
  22. package/esm2022/public_api.mjs +48 -0
  23. package/{fesm2020 → fesm2022}/dbg-riskit-angular-testing.mjs +83 -110
  24. package/fesm2022/dbg-riskit-angular-testing.mjs.map +1 -0
  25. package/lib/definitions/data.table.definition.d.ts +1 -1
  26. package/lib/definitions/download.menu.page.d.ts +1 -1
  27. package/lib/definitions/highlighter.directive.page.d.ts +1 -1
  28. package/lib/definitions/layout.component.page.d.ts +1 -1
  29. package/lib/definitions/message.page.d.ts +1 -1
  30. package/lib/stubs/login.menu.stub.component.d.ts +1 -1
  31. package/lib/stubs/router/router.link.stub.d.ts +1 -1
  32. package/lib/stubs/router/router.module.stub.d.ts +1 -1
  33. package/lib/stubs/router/router.outlet.stub.component.d.ts +1 -1
  34. package/package.json +21 -27
  35. package/esm2020/lib/cached.resource.provider.mjs +0 -17
  36. package/esm2020/lib/definitions/data.table.definition.mjs +0 -556
  37. package/esm2020/lib/definitions/download.menu.page.mjs +0 -90
  38. package/esm2020/lib/definitions/login.page.mjs +0 -51
  39. package/esm2020/lib/definitions/message.def.mjs +0 -15
  40. package/esm2020/lib/definitions/page.base.mjs +0 -64
  41. package/esm2020/lib/events.mjs +0 -60
  42. package/esm2020/lib/stubs/http.service.stub.mjs +0 -54
  43. package/esm2020/lib/stubs/router/router.link.stub.mjs +0 -46
  44. package/esm2020/lib/stubs/router/router.module.stub.mjs +0 -45
  45. package/esm2020/lib/stubs/router/router.stub.mjs +0 -79
  46. package/esm2020/lib/testing.module.mjs +0 -52
  47. package/esm2020/lib/utils.mjs +0 -48
  48. package/esm2020/public_api.mjs +0 -60
  49. package/fesm2015/dbg-riskit-angular-testing.mjs +0 -1568
  50. package/fesm2015/dbg-riskit-angular-testing.mjs.map +0 -1
  51. package/fesm2020/dbg-riskit-angular-testing.mjs.map +0 -1
  52. package/lib/cached.resource.provider.d.ts +0 -5
  53. /package/{esm2020 → esm2022}/dbg-riskit-angular-testing.mjs +0 -0
  54. /package/{esm2020 → esm2022}/lib/by.util.mjs +0 -0
  55. /package/{esm2020 → esm2022}/lib/definitions/link.definition.mjs +0 -0
  56. /package/{esm2020 → esm2022}/lib/definitions/link.only.page.mjs +0 -0
  57. /package/{esm2020 → esm2022}/lib/definitions/login.menu.page.mjs +0 -0
  58. /package/{esm2020 → esm2022}/lib/environment.mjs +0 -0
  59. /package/{dbg-riskit-angular-testing.d.ts → index.d.ts} +0 -0
@@ -12,10 +12,10 @@ import * as fileSaver from 'file-saver';
12
12
  import * as i1$2 from '@dbg-riskit/angular-view';
13
13
  import { RISK_INITIAL_LOAD_SELECTOR, RISK_NO_DATA_SELECTOR, LayoutComponent, NoopAnimationMessageComponent, RISK_GOOD_SELECTOR, RISK_ERROR_SELECTOR, RISK_INFO_SELECTOR, RISK_MESSAGE_SELECTOR, RISK_WARN_SELECTOR, RISK_UPDATE_FAILED_SELECTOR, CommonViewModule, NoopAnimationsCommonViewModule } from '@dbg-riskit/angular-view';
14
14
  export { LayoutComponent, NoopAnimationMessageComponent, NoopAnimationsCommonViewModule } from '@dbg-riskit/angular-view';
15
- import { throwError, of, timer, EMPTY, BehaviorSubject, firstValueFrom, from } from 'rxjs';
15
+ import { throwError, of, timer, EMPTY, BehaviorSubject } from 'rxjs';
16
16
  import { switchMap, defaultIfEmpty, map } from 'rxjs/operators';
17
17
  import { MatCard } from '@angular/material/card';
18
- import { MatButton, MatAnchor } from '@angular/material/button';
18
+ import { MatIconButton, MatIconAnchor, MatButton } from '@angular/material/button';
19
19
  import { MatButtonToggle } from '@angular/material/button-toggle';
20
20
  import { MatIcon } from '@angular/material/icon';
21
21
  import { MatTooltip } from '@angular/material/tooltip';
@@ -28,8 +28,6 @@ import { Router, NavigationEnd, UrlSegmentGroup, UrlSegment, ActivatedRoute, Rou
28
28
  import * as i1$3 from '@dbg-riskit/angular-auth';
29
29
  import { AuthRoutingFlowService, AUTH_CONFIG, AuthService } from '@dbg-riskit/angular-auth';
30
30
  import { AUTH_PROVIDER } from '@dbg-riskit/angular-common';
31
- import { ResourceLoader } from '@angular/compiler';
32
- import { ɵResourceLoaderImpl } from '@angular/platform-browser-dynamic';
33
31
 
34
32
  // Has to be first in this order
35
33
  const COMPILE_TIMEOUT_INTERVAL = Math.pow(2, 31) - 1;
@@ -138,10 +136,10 @@ class HttpServiceStub {
138
136
  post(request) {
139
137
  return this.get(request);
140
138
  }
139
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
140
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpServiceStub }); }
141
141
  }
142
- HttpServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
143
- HttpServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpServiceStub });
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpServiceStub, decorators: [{
142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpServiceStub, decorators: [{
145
143
  type: Injectable
146
144
  }] });
147
145
  class HttpAsyncServiceStub extends HttpServiceStub {
@@ -151,10 +149,10 @@ class HttpAsyncServiceStub extends HttpServiceStub {
151
149
  post(request) {
152
150
  return this.get(request);
153
151
  }
152
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpAsyncServiceStub, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
153
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpAsyncServiceStub }); }
154
154
  }
155
- HttpAsyncServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpAsyncServiceStub, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
156
- HttpAsyncServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpAsyncServiceStub });
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpAsyncServiceStub, decorators: [{
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpAsyncServiceStub, decorators: [{
158
156
  type: Injectable
159
157
  }] });
160
158
 
@@ -285,14 +283,14 @@ class DownloadLink {
285
283
  }
286
284
  }
287
285
  class DownloadTestComponent {
288
- }
289
- DownloadTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: DownloadTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
290
- DownloadTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: DownloadTestComponent, selector: "ng-component", ngImport: i0, template: `
286
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DownloadTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
287
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DownloadTestComponent, selector: "ng-component", ngImport: i0, template: `
291
288
  <a [risk-download]="data"
292
289
  [risk-download-content-type]="contentType"
293
290
  [risk-download-filename]="filename">Download</a>
294
- `, isInline: true, directives: [{ type: i1.FileDownloadDirective, selector: "[risk-download]", inputs: ["risk-download", "risk-download-content-type", "risk-download-filename"] }] });
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: DownloadTestComponent, decorators: [{
291
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.FileDownloadDirective, selector: "[risk-download]", inputs: ["risk-download", "risk-download-content-type", "risk-download-filename"] }] }); }
292
+ }
293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DownloadTestComponent, decorators: [{
296
294
  type: Component,
297
295
  args: [{
298
296
  template: `
@@ -378,7 +376,7 @@ class TableHeaderCell {
378
376
  this.page = page;
379
377
  }
380
378
  get sortingHandle() {
381
- const handle = this.element.query(By.directive(MatButton));
379
+ const handle = this.element.query(By.directive(MatIconButton));
382
380
  if (handle) {
383
381
  return new SortingHandle(this.page, handle);
384
382
  }
@@ -414,7 +412,7 @@ class TableSorting {
414
412
  }
415
413
  get handles() {
416
414
  const handles = this.table.debugElement.query((de) => de.references.mainHeader)
417
- .queryAll(By.directive(MatButton));
415
+ .queryAll(By.directive(MatIconButton));
418
416
  if (!handles) {
419
417
  return [];
420
418
  }
@@ -424,7 +422,7 @@ class TableSorting {
424
422
  }
425
423
  get detailRowHandles() {
426
424
  const handles = this.table.debugElement.query(By.css('.risk-data-table-detail')).query(By.css('thead'))
427
- .queryAll(By.directive(MatButton));
425
+ .queryAll(By.directive(MatIconButton));
428
426
  if (!handles) {
429
427
  return null;
430
428
  }
@@ -515,7 +513,7 @@ class TableBodyRow {
515
513
  this.page.detectChanges();
516
514
  }
517
515
  get expander() {
518
- return new RowExpander(this.element.query(By.directive(DataTableRowDetailExpanderComponent)).query(By.directive(MatAnchor)));
516
+ return new RowExpander(this.element.query(By.directive(DataTableRowDetailExpanderComponent)).query(By.directive(MatIconAnchor)));
519
517
  }
520
518
  get cells() {
521
519
  return this.element.queryAll(By.css('td')).map((element) => {
@@ -757,9 +755,8 @@ class TestDataTableHostComponent {
757
755
  return record.value1;
758
756
  };
759
757
  }
760
- }
761
- TestDataTableHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestDataTableHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
762
- TestDataTableHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: TestDataTableHostComponent, selector: "ng-component", ngImport: i0, template: `
758
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestDataTableHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
759
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TestDataTableHostComponent, selector: "ng-component", ngImport: i0, template: `
763
760
  <risk-data-table [data]="data"
764
761
  [footer]="footer"
765
762
  [pageSize]="20"
@@ -803,8 +800,9 @@ TestDataTableHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
803
800
  </risk-data-table-column-group>
804
801
  <risk-data-table-column-group></risk-data-table-column-group>
805
802
  </risk-data-table-detail-row>
806
- </risk-data-table>`, isInline: true, components: [{ type: i1$1.DataTableComponent, selector: "risk-data-table", inputs: ["footer", "pageSize", "striped", "showFooter", "allowEmpty", "trackByRowKey", "highlighting", "stickyHeader", "stickyHeaderOffsetTopPx", "data", "defaultOrdering"], exportAs: ["dataTable"] }, { type: i1$1.DataTableRowDetailExpanderComponent, selector: "risk-data-table-detail-expander", inputs: ["expanded"] }], directives: [{ type: i1$1.ɵDataTableColumnDirective, selector: "risk-data-table-column", inputs: ["title", "sortingKey", "tooltip", "contentAlign", "headerAlign", "footerAlign", "class"] }, { type: i1$1.ɵDataTableColumnCellDirective, selector: "[risk-data-table-cell]" }, { type: i1$1.ɵDataTableColumnFooterDirective, selector: "[risk-data-table-footer-cell]" }, { type: i1$1.ɵDataTableRowDetailDirective, selector: "risk-data-table-detail-row" }, { type: i1$1.ɵDataTableColumnGroupDirective, selector: "risk-data-table-column-group" }] });
807
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestDataTableHostComponent, decorators: [{
803
+ </risk-data-table>`, isInline: true, dependencies: [{ kind: "component", type: i1$1.DataTableComponent, selector: "risk-data-table", inputs: ["footer", "pageSize", "striped", "showFooter", "allowEmpty", "trackByRowKey", "highlighting", "stickyHeader", "stickyHeaderOffsetTopPx", "data", "defaultOrdering"], exportAs: ["dataTable"] }, { kind: "directive", type: i1$1.ɵDataTableColumnDirective, selector: "risk-data-table-column", inputs: ["title", "sortingKey", "tooltip", "contentAlign", "headerAlign", "footerAlign", "class"] }, { kind: "directive", type: i1$1.ɵDataTableColumnGroupDirective, selector: "risk-data-table-column-group" }, { kind: "directive", type: i1$1.ɵDataTableColumnCellDirective, selector: "[risk-data-table-cell]" }, { kind: "directive", type: i1$1.ɵDataTableColumnFooterDirective, selector: "[risk-data-table-footer-cell]" }, { kind: "directive", type: i1$1.ɵDataTableRowDetailDirective, selector: "risk-data-table-detail-row" }, { kind: "component", type: i1$1.DataTableRowDetailExpanderComponent, selector: "risk-data-table-detail-expander", inputs: ["expanded"] }] }); }
804
+ }
805
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestDataTableHostComponent, decorators: [{
808
806
  type: Component,
809
807
  args: [{
810
808
  template: `
@@ -853,17 +851,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
853
851
  </risk-data-table-detail-row>
854
852
  </risk-data-table>`
855
853
  }]
856
- }], ctorParameters: function () { return []; } });
854
+ }], ctorParameters: () => [] });
857
855
 
858
856
  class HighLighterDirectiveTestComponent {
859
857
  trackBy(index, row) {
860
858
  return row.rowData;
861
859
  }
860
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HighLighterDirectiveTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
861
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: HighLighterDirectiveTestComponent, selector: "ng-component", ngImport: i0, template: `
862
+ <div [risk-data-table-highlighter]="trackBy" [risk-data-table-highlighter-context]="context"></div>`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.HighlighterDirective, selector: "[risk-data-table-highlighter]", inputs: ["risk-data-table-highlighter", "risk-data-table-highlighter-context"] }] }); }
862
863
  }
863
- HighLighterDirectiveTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HighLighterDirectiveTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
864
- HighLighterDirectiveTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: HighLighterDirectiveTestComponent, selector: "ng-component", ngImport: i0, template: `
865
- <div [risk-data-table-highlighter]="trackBy" [risk-data-table-highlighter-context]="context"></div>`, isInline: true, directives: [{ type: i1$1.HighlighterDirective, selector: "[risk-data-table-highlighter]", inputs: ["risk-data-table-highlighter", "risk-data-table-highlighter-context"] }] });
866
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HighLighterDirectiveTestComponent, decorators: [{
864
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HighLighterDirectiveTestComponent, decorators: [{
867
865
  type: Component,
868
866
  args: [{
869
867
  template: `
@@ -948,9 +946,8 @@ class TestLayoutComponentHostPage extends Page {
948
946
  }
949
947
  }
950
948
  class TestLayoutHostComponent {
951
- }
952
- TestLayoutHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestLayoutHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
953
- TestLayoutHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: TestLayoutHostComponent, selector: "ng-component", ngImport: i0, template: `
949
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestLayoutHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
950
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TestLayoutHostComponent, selector: "ng-component", ngImport: i0, template: `
954
951
  <risk-layout>
955
952
  <!-- menu-horizontal -->
956
953
  <risk-layout-horizontal>
@@ -965,8 +962,9 @@ TestLayoutHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
965
962
 
966
963
  <span>Content</span>
967
964
  </risk-layout>
968
- `, isInline: true, components: [{ type: i1$2.LayoutComponent, selector: "risk-layout", inputs: ["smallScreenMenuVisible", "smallScreenWidth", "footerVisible", "toolbarBackgroundColor", "backgroundColor"] }], directives: [{ type: i1$2.HorizontalLayoutDirective, selector: "risk-layout-horizontal" }, { type: i1$2.VerticalLayoutDirective, selector: "risk-layout-vertical" }] });
969
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestLayoutHostComponent, decorators: [{
965
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$2.LayoutComponent, selector: "risk-layout", inputs: ["smallScreenMenuVisible", "smallScreenWidth", "footerVisible", "toolbarBackgroundColor", "backgroundColor"] }, { kind: "directive", type: i1$2.VerticalLayoutDirective, selector: "risk-layout-vertical" }, { kind: "directive", type: i1$2.HorizontalLayoutDirective, selector: "risk-layout-horizontal" }] }); }
966
+ }
967
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestLayoutHostComponent, decorators: [{
970
968
  type: Component,
971
969
  args: [{
972
970
  template: `
@@ -1013,10 +1011,10 @@ class RouterLinkStubDirective {
1013
1011
  get urlTree() {
1014
1012
  return this._urlTree;
1015
1013
  }
1014
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RouterLinkStubDirective, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }
1015
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: RouterLinkStubDirective, selector: "[routerLink]", inputs: { linkParams: ["routerLink", "linkParams"] }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 }); }
1016
1016
  }
1017
- RouterLinkStubDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterLinkStubDirective, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
1018
- RouterLinkStubDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: RouterLinkStubDirective, selector: "[routerLink]", inputs: { linkParams: ["routerLink", "linkParams"] }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 });
1019
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterLinkStubDirective, decorators: [{
1017
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RouterLinkStubDirective, decorators: [{
1020
1018
  type: Directive,
1021
1019
  args: [{
1022
1020
  /* eslint-disable @angular-eslint/directive-selector */
@@ -1026,7 +1024,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
1026
1024
  '(click)': 'onClick()'
1027
1025
  }
1028
1026
  }]
1029
- }], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { linkParams: [{
1027
+ }], ctorParameters: () => [{ type: i0.Injector }], propDecorators: { linkParams: [{
1030
1028
  type: Input,
1031
1029
  args: ['routerLink']
1032
1030
  }] } });
@@ -1123,9 +1121,8 @@ class TestMessageHostComponent {
1123
1121
  constructor() {
1124
1122
  this.message = 'custom message';
1125
1123
  }
1126
- }
1127
- TestMessageHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestMessageHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1128
- TestMessageHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: TestMessageHostComponent, selector: "ng-component", ngImport: i0, template: `
1124
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestMessageHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1125
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TestMessageHostComponent, selector: "ng-component", ngImport: i0, template: `
1129
1126
  <risk-error [message]="message"></risk-error>
1130
1127
  <risk-good [message]="message"></risk-good>
1131
1128
  <risk-info [message]="message"></risk-info>
@@ -1134,8 +1131,9 @@ TestMessageHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
1134
1131
  <risk-initial-load [message]="message"></risk-initial-load>
1135
1132
  <risk-update-failed [message]="message"></risk-update-failed>
1136
1133
  <risk-no-data [message]="message"></risk-no-data>
1137
- `, isInline: true, components: [{ type: i1$2.MessageComponent, selector: "risk-error, risk-good, risk-info, risk-message, risk-warn, risk-initial-load, risk-no-data, risk-update-failed", inputs: ["message"] }] });
1138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestMessageHostComponent, decorators: [{
1134
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$2.MessageComponent, selector: "risk-error, risk-good, risk-info, risk-message, risk-warn, risk-initial-load, risk-no-data, risk-update-failed", inputs: ["message"] }] }); }
1135
+ }
1136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestMessageHostComponent, decorators: [{
1139
1137
  type: Component,
1140
1138
  args: [{
1141
1139
  template: `
@@ -1197,18 +1195,18 @@ class AuthRoutingFlowServiceStub extends AuthRoutingFlowService {
1197
1195
  loginViaService() {
1198
1196
  return this.authServiceStub.loginViaAuthService();
1199
1197
  }
1198
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuthRoutingFlowServiceStub, deps: [{ token: AUTH_PROVIDER }, { token: AUTH_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
1199
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuthRoutingFlowServiceStub }); }
1200
1200
  }
1201
- AuthRoutingFlowServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthRoutingFlowServiceStub, deps: [{ token: AUTH_PROVIDER }, { token: AUTH_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
1202
- AuthRoutingFlowServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthRoutingFlowServiceStub });
1203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthRoutingFlowServiceStub, decorators: [{
1201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuthRoutingFlowServiceStub, decorators: [{
1204
1202
  type: Injectable
1205
- }], ctorParameters: function () { return [{ type: i1$3.AuthService, decorators: [{
1203
+ }], ctorParameters: () => [{ type: i1$3.AuthService, decorators: [{
1206
1204
  type: Inject,
1207
1205
  args: [AUTH_PROVIDER]
1208
1206
  }] }, { type: undefined, decorators: [{
1209
1207
  type: Inject,
1210
1208
  args: [AUTH_CONFIG]
1211
- }] }]; } });
1209
+ }] }] });
1212
1210
 
1213
1211
  const WELL_KNOWN = {
1214
1212
  endpoints: {
@@ -1222,10 +1220,10 @@ class WellKnownServiceStub {
1222
1220
  get wellKnown() {
1223
1221
  return of(WELL_KNOWN);
1224
1222
  }
1223
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: WellKnownServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1224
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: WellKnownServiceStub }); }
1225
1225
  }
1226
- WellKnownServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: WellKnownServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1227
- WellKnownServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: WellKnownServiceStub });
1228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: WellKnownServiceStub, decorators: [{
1226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: WellKnownServiceStub, decorators: [{
1229
1227
  type: Injectable
1230
1228
  }] });
1231
1229
 
@@ -1257,21 +1255,21 @@ class AuthServiceStub extends AuthService {
1257
1255
  delete this.user;
1258
1256
  return EMPTY;
1259
1257
  }
1258
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuthServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1259
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuthServiceStub }); }
1260
1260
  }
1261
- AuthServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1262
- AuthServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthServiceStub });
1263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthServiceStub, decorators: [{
1261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuthServiceStub, decorators: [{
1264
1262
  type: Injectable
1265
- }], ctorParameters: function () { return []; } });
1263
+ }], ctorParameters: () => [] });
1266
1264
 
1267
1265
  class LoginMenuStubComponent {
1268
1266
  constructor() {
1269
1267
  this.orientation = 'row';
1270
1268
  }
1269
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LoginMenuStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1270
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: LoginMenuStubComponent, selector: "login-menu, risk-login-menu", inputs: { orientation: "orientation" }, ngImport: i0, template: '', isInline: true }); }
1271
1271
  }
1272
- LoginMenuStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LoginMenuStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1273
- LoginMenuStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LoginMenuStubComponent, selector: "login-menu, risk-login-menu", inputs: { orientation: "orientation" }, ngImport: i0, template: '', isInline: true });
1274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LoginMenuStubComponent, decorators: [{
1272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LoginMenuStubComponent, decorators: [{
1275
1273
  type: Component,
1276
1274
  args: [{
1277
1275
  selector: 'login-menu, risk-login-menu',
@@ -1300,18 +1298,18 @@ class ActivatedRouteStub {
1300
1298
  get snapshot() {
1301
1299
  return { params: this.testParams };
1302
1300
  }
1301
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ActivatedRouteStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1302
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ActivatedRouteStub }); }
1303
1303
  }
1304
- ActivatedRouteStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ActivatedRouteStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1305
- ActivatedRouteStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ActivatedRouteStub });
1306
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ActivatedRouteStub, decorators: [{
1304
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ActivatedRouteStub, decorators: [{
1307
1305
  type: Injectable
1308
1306
  }] });
1309
1307
 
1310
1308
  class RouterOutletStubComponent {
1309
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RouterOutletStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1310
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: RouterOutletStubComponent, selector: "router-outlet", ngImport: i0, template: '', isInline: true }); }
1311
1311
  }
1312
- RouterOutletStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterOutletStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1313
- RouterOutletStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: RouterOutletStubComponent, selector: "router-outlet", ngImport: i0, template: '', isInline: true });
1314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterOutletStubComponent, decorators: [{
1312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RouterOutletStubComponent, decorators: [{
1315
1313
  type: Component,
1316
1314
  args: [{
1317
1315
  /* eslint-disable @angular-eslint/component-selector */
@@ -1390,10 +1388,10 @@ class RouterStub {
1390
1388
  static serializeUrl(url) {
1391
1389
  return url.root.segments.map((segment) => segment.path).join('/');
1392
1390
  }
1391
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RouterStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1392
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RouterStub }); }
1393
1393
  }
1394
- RouterStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1395
- RouterStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterStub });
1396
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterStub, decorators: [{
1394
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RouterStub, decorators: [{
1397
1395
  type: Injectable
1398
1396
  }] });
1399
1397
 
@@ -1418,8 +1416,7 @@ function stubRouter(customOverrides) {
1418
1416
  exports: [
1419
1417
  RouterLinkStubDirective,
1420
1418
  RouterOutletStubComponent
1421
- ],
1422
- entryComponents: []
1419
+ ]
1423
1420
  }
1424
1421
  };
1425
1422
  if (customOverrides) {
@@ -1427,7 +1424,7 @@ function stubRouter(customOverrides) {
1427
1424
  override.add = customOverrides.add;
1428
1425
  }
1429
1426
  if (customOverrides.set) {
1430
- Object.assign(override.set, customOverrides.set);
1427
+ override.set = customOverrides.set;
1431
1428
  }
1432
1429
  if (customOverrides.remove) {
1433
1430
  override.remove = customOverrides.remove;
@@ -1482,24 +1479,22 @@ function fakeMatchMedia(matches = false) {
1482
1479
  }
1483
1480
 
1484
1481
  class TestingModule {
1485
- }
1486
- TestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1487
- TestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestingModule, declarations: [DownloadTestComponent,
1488
- TestDataTableHostComponent,
1489
- HighLighterDirectiveTestComponent,
1490
- TestLayoutHostComponent,
1491
- RouterLinkStubDirective,
1492
- TestMessageHostComponent,
1493
- LoginMenuStubComponent,
1494
- RouterOutletStubComponent], imports: [CommonViewModule,
1495
- FileModule,
1496
- DataTableModule] });
1497
- TestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestingModule, imports: [[
1498
- CommonViewModule,
1482
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1483
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: TestingModule, declarations: [DownloadTestComponent,
1484
+ TestDataTableHostComponent,
1485
+ HighLighterDirectiveTestComponent,
1486
+ TestLayoutHostComponent,
1487
+ RouterLinkStubDirective,
1488
+ TestMessageHostComponent,
1489
+ LoginMenuStubComponent,
1490
+ RouterOutletStubComponent], imports: [CommonViewModule,
1499
1491
  FileModule,
1500
- DataTableModule
1501
- ]] });
1502
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestingModule, decorators: [{
1492
+ DataTableModule] }); }
1493
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestingModule, imports: [CommonViewModule,
1494
+ FileModule,
1495
+ DataTableModule] }); }
1496
+ }
1497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestingModule, decorators: [{
1503
1498
  type: NgModule,
1504
1499
  args: [{
1505
1500
  imports: [
@@ -1520,33 +1515,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
1520
1515
  }]
1521
1516
  }] });
1522
1517
 
1523
- class CachedResourceProviderImpl extends ɵResourceLoaderImpl {
1524
- get(url) {
1525
- const cacheElement = CachedResourceProviderImpl.cache[url];
1526
- if (cacheElement) {
1527
- return cacheElement;
1528
- }
1529
- return firstValueFrom(from(super.get(url)).pipe(map((content) => {
1530
- CachedResourceProviderImpl.cache[url] = Promise.resolve(content);
1531
- return content;
1532
- })));
1533
- }
1534
- }
1535
- CachedResourceProviderImpl.cache = {};
1536
-
1537
1518
  // WARNING: Do not change order in this file!!! Environment has to be first as it includes polyfills
1538
1519
  // Add CachedResourceProviderImpl to compiler configuration
1539
1520
  if ('beforeEach' in globalScope && globalScope.beforeEach) {
1540
1521
  globalScope.beforeEach(() => {
1541
- TestBed.configureCompiler({
1542
- providers: [
1543
- {
1544
- deps: [],
1545
- provide: ResourceLoader,
1546
- useClass: CachedResourceProviderImpl
1547
- }
1548
- ]
1549
- });
1550
1522
  // Disable logging in Safari as the Selenium WebDriver is not working there correctly....
1551
1523
  if ('navigator' in globalScope) {
1552
1524
  const ua = globalScope.navigator.userAgent.toLowerCase();
@@ -1568,3 +1540,4 @@ if ('beforeEach' in globalScope && globalScope.beforeEach) {
1568
1540
  */
1569
1541
 
1570
1542
  export { ActivatedRouteStub, AuthRoutingFlowServiceStub, AuthServiceStub, BUTTON_CLICK_EVENTS, ByUtil, COMPILE_TIMEOUT_INTERVAL, CSVDownloadMenuPage, DataTableDefinition, DataTableDefinitionHosted, DownloadLink, DownloadTestComponent, DownloadTestComponentPage, FAKE_HTTP_ASYNC_TIMEOUT, HighLighterDirectivePage, HighLighterDirectiveTestComponent, HttpAsyncServiceStub, HttpServiceStub, LayoutComponentDefinition, LinkDefinition, LinkOnlyPage, LoginMenuPage, LoginMenuStubComponent, LoginPage, MessageComponentDef, MessageHostedPage, Page, PageWithLoading, Pager, RecordsCount, RouterLinkStubDirective, RouterOutletStubComponent, RouterStub, RowExpander, Snapshot, SortingHandle, TableBody, TableBodyCell, TableBodyDetail, TableBodyDetailBody, TableBodyDetailRow, TableBodyRow, TableFooter, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableSorting, TestDataTableHostComponent, TestLayoutComponentHostPage, TestLayoutHostComponent, TestMessageHostComponent, TestingModule, WELL_KNOWN, WellKnownServiceStub, chceckSorting, click, compileTestBed, disableMaterialAnimations, dispatchEvent, initTestEnvironment, newEvent, setNgModelSelectValue, setNgModelValue, storage, stubRouter };
1543
+ //# sourceMappingURL=dbg-riskit-angular-testing.mjs.map