@dbg-riskit/angular-testing 9999.9999.9999-rc.63199 → 9999.9999.9999-rc.872522
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/{esm2020 → esm2022}/lib/definitions/data.table.definition.mjs +11 -11
- package/{esm2020 → esm2022}/lib/definitions/download.menu.page.mjs +6 -6
- package/{esm2020 → esm2022}/lib/definitions/highlighter.directive.page.mjs +5 -5
- package/{esm2020 → esm2022}/lib/definitions/layout.component.page.mjs +6 -6
- package/{esm2020 → esm2022}/lib/definitions/message.page.mjs +6 -6
- package/{esm2020 → esm2022}/lib/stubs/auth/auth.routing.flow.service.stub.mjs +4 -4
- package/{esm2020 → esm2022}/lib/stubs/auth/auth.service.stub.mjs +4 -4
- package/{esm2020 → esm2022}/lib/stubs/auth/well.known.service.stub.mjs +4 -4
- package/{esm2020 → esm2022}/lib/stubs/http.service.stub.mjs +7 -7
- package/{esm2020 → esm2022}/lib/stubs/login.menu.stub.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/stubs/router/activated.route.stub.mjs +4 -4
- package/{esm2020 → esm2022}/lib/stubs/router/router.link.stub.mjs +4 -4
- package/esm2022/lib/stubs/router/router.module.stub.mjs +44 -0
- package/{esm2020 → esm2022}/lib/stubs/router/router.outlet.stub.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/stubs/router/router.stub.mjs +4 -4
- package/esm2022/lib/testing.module.mjs +50 -0
- package/{fesm2020 → fesm2022}/dbg-riskit-angular-testing.mjs +76 -79
- package/fesm2022/dbg-riskit-angular-testing.mjs.map +1 -0
- package/lib/definitions/data.table.definition.d.ts +1 -1
- package/lib/definitions/download.menu.page.d.ts +1 -1
- package/lib/definitions/highlighter.directive.page.d.ts +1 -1
- package/lib/definitions/layout.component.page.d.ts +1 -1
- package/lib/definitions/message.page.d.ts +1 -1
- package/lib/stubs/login.menu.stub.component.d.ts +1 -1
- package/lib/stubs/router/router.link.stub.d.ts +1 -1
- package/lib/stubs/router/router.module.stub.d.ts +1 -1
- package/lib/stubs/router/router.outlet.stub.component.d.ts +1 -1
- package/package.json +21 -27
- package/esm2020/lib/stubs/router/router.module.stub.mjs +0 -45
- package/esm2020/lib/testing.module.mjs +0 -52
- package/fesm2015/dbg-riskit-angular-testing.mjs +0 -1544
- package/fesm2015/dbg-riskit-angular-testing.mjs.map +0 -1
- package/fesm2020/dbg-riskit-angular-testing.mjs.map +0 -1
- /package/{esm2020 → esm2022}/dbg-riskit-angular-testing.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/by.util.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/definitions/link.definition.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/definitions/link.only.page.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/definitions/login.menu.page.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/definitions/login.page.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/definitions/message.def.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/definitions/page.base.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/environment.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/events.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{dbg-riskit-angular-testing.d.ts → index.d.ts} +0 -0
|
@@ -15,7 +15,7 @@ export { LayoutComponent, NoopAnimationMessageComponent, NoopAnimationsCommonVie
|
|
|
15
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 {
|
|
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';
|
|
@@ -136,10 +136,10 @@ class HttpServiceStub {
|
|
|
136
136
|
post(request) {
|
|
137
137
|
return this.get(request);
|
|
138
138
|
}
|
|
139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HttpServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
140
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HttpServiceStub }); }
|
|
139
141
|
}
|
|
140
|
-
|
|
141
|
-
HttpServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HttpServiceStub });
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HttpServiceStub, decorators: [{
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HttpServiceStub, decorators: [{
|
|
143
143
|
type: Injectable
|
|
144
144
|
}] });
|
|
145
145
|
class HttpAsyncServiceStub extends HttpServiceStub {
|
|
@@ -149,10 +149,10 @@ class HttpAsyncServiceStub extends HttpServiceStub {
|
|
|
149
149
|
post(request) {
|
|
150
150
|
return this.get(request);
|
|
151
151
|
}
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HttpAsyncServiceStub, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
153
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HttpAsyncServiceStub }); }
|
|
152
154
|
}
|
|
153
|
-
|
|
154
|
-
HttpAsyncServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HttpAsyncServiceStub });
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HttpAsyncServiceStub, decorators: [{
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HttpAsyncServiceStub, decorators: [{
|
|
156
156
|
type: Injectable
|
|
157
157
|
}] });
|
|
158
158
|
|
|
@@ -283,14 +283,14 @@ class DownloadLink {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
class DownloadTestComponent {
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
DownloadTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: DownloadTestComponent, selector: "ng-component", ngImport: i0, template: `
|
|
286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DownloadTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
287
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DownloadTestComponent, selector: "ng-component", ngImport: i0, template: `
|
|
289
288
|
<a [risk-download]="data"
|
|
290
289
|
[risk-download-content-type]="contentType"
|
|
291
290
|
[risk-download-filename]="filename">Download</a>
|
|
292
|
-
`, isInline: true,
|
|
293
|
-
|
|
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: "16.2.12", ngImport: i0, type: DownloadTestComponent, decorators: [{
|
|
294
294
|
type: Component,
|
|
295
295
|
args: [{
|
|
296
296
|
template: `
|
|
@@ -376,7 +376,7 @@ class TableHeaderCell {
|
|
|
376
376
|
this.page = page;
|
|
377
377
|
}
|
|
378
378
|
get sortingHandle() {
|
|
379
|
-
const handle = this.element.query(By.directive(
|
|
379
|
+
const handle = this.element.query(By.directive(MatIconButton));
|
|
380
380
|
if (handle) {
|
|
381
381
|
return new SortingHandle(this.page, handle);
|
|
382
382
|
}
|
|
@@ -412,7 +412,7 @@ class TableSorting {
|
|
|
412
412
|
}
|
|
413
413
|
get handles() {
|
|
414
414
|
const handles = this.table.debugElement.query((de) => de.references.mainHeader)
|
|
415
|
-
.queryAll(By.directive(
|
|
415
|
+
.queryAll(By.directive(MatIconButton));
|
|
416
416
|
if (!handles) {
|
|
417
417
|
return [];
|
|
418
418
|
}
|
|
@@ -422,7 +422,7 @@ class TableSorting {
|
|
|
422
422
|
}
|
|
423
423
|
get detailRowHandles() {
|
|
424
424
|
const handles = this.table.debugElement.query(By.css('.risk-data-table-detail')).query(By.css('thead'))
|
|
425
|
-
.queryAll(By.directive(
|
|
425
|
+
.queryAll(By.directive(MatIconButton));
|
|
426
426
|
if (!handles) {
|
|
427
427
|
return null;
|
|
428
428
|
}
|
|
@@ -513,7 +513,7 @@ class TableBodyRow {
|
|
|
513
513
|
this.page.detectChanges();
|
|
514
514
|
}
|
|
515
515
|
get expander() {
|
|
516
|
-
return new RowExpander(this.element.query(By.directive(DataTableRowDetailExpanderComponent)).query(By.directive(
|
|
516
|
+
return new RowExpander(this.element.query(By.directive(DataTableRowDetailExpanderComponent)).query(By.directive(MatIconAnchor)));
|
|
517
517
|
}
|
|
518
518
|
get cells() {
|
|
519
519
|
return this.element.queryAll(By.css('td')).map((element) => {
|
|
@@ -755,9 +755,8 @@ class TestDataTableHostComponent {
|
|
|
755
755
|
return record.value1;
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
TestDataTableHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: TestDataTableHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TestDataTableHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
759
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TestDataTableHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
761
760
|
<risk-data-table [data]="data"
|
|
762
761
|
[footer]="footer"
|
|
763
762
|
[pageSize]="20"
|
|
@@ -801,8 +800,9 @@ TestDataTableHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
801
800
|
</risk-data-table-column-group>
|
|
802
801
|
<risk-data-table-column-group></risk-data-table-column-group>
|
|
803
802
|
</risk-data-table-detail-row>
|
|
804
|
-
</risk-data-table>`, isInline: true,
|
|
805
|
-
|
|
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: "16.2.12", ngImport: i0, type: TestDataTableHostComponent, decorators: [{
|
|
806
806
|
type: Component,
|
|
807
807
|
args: [{
|
|
808
808
|
template: `
|
|
@@ -857,11 +857,11 @@ class HighLighterDirectiveTestComponent {
|
|
|
857
857
|
trackBy(index, row) {
|
|
858
858
|
return row.rowData;
|
|
859
859
|
}
|
|
860
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HighLighterDirectiveTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
861
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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"] }] }); }
|
|
860
863
|
}
|
|
861
|
-
|
|
862
|
-
HighLighterDirectiveTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: HighLighterDirectiveTestComponent, selector: "ng-component", ngImport: i0, template: `
|
|
863
|
-
<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"] }] });
|
|
864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HighLighterDirectiveTestComponent, decorators: [{
|
|
864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HighLighterDirectiveTestComponent, decorators: [{
|
|
865
865
|
type: Component,
|
|
866
866
|
args: [{
|
|
867
867
|
template: `
|
|
@@ -946,9 +946,8 @@ class TestLayoutComponentHostPage extends Page {
|
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
class TestLayoutHostComponent {
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
TestLayoutHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: TestLayoutHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
949
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TestLayoutHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
950
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TestLayoutHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
952
951
|
<risk-layout>
|
|
953
952
|
<!-- menu-horizontal -->
|
|
954
953
|
<risk-layout-horizontal>
|
|
@@ -963,8 +962,9 @@ TestLayoutHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
963
962
|
|
|
964
963
|
<span>Content</span>
|
|
965
964
|
</risk-layout>
|
|
966
|
-
`, isInline: true,
|
|
967
|
-
|
|
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: "16.2.12", ngImport: i0, type: TestLayoutHostComponent, decorators: [{
|
|
968
968
|
type: Component,
|
|
969
969
|
args: [{
|
|
970
970
|
template: `
|
|
@@ -1011,10 +1011,10 @@ class RouterLinkStubDirective {
|
|
|
1011
1011
|
get urlTree() {
|
|
1012
1012
|
return this._urlTree;
|
|
1013
1013
|
}
|
|
1014
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkStubDirective, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1015
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RouterLinkStubDirective, selector: "[routerLink]", inputs: { linkParams: ["routerLink", "linkParams"] }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
1014
1016
|
}
|
|
1015
|
-
|
|
1016
|
-
RouterLinkStubDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: RouterLinkStubDirective, selector: "[routerLink]", inputs: { linkParams: ["routerLink", "linkParams"] }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 });
|
|
1017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterLinkStubDirective, decorators: [{
|
|
1017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkStubDirective, decorators: [{
|
|
1018
1018
|
type: Directive,
|
|
1019
1019
|
args: [{
|
|
1020
1020
|
/* eslint-disable @angular-eslint/directive-selector */
|
|
@@ -1121,9 +1121,8 @@ class TestMessageHostComponent {
|
|
|
1121
1121
|
constructor() {
|
|
1122
1122
|
this.message = 'custom message';
|
|
1123
1123
|
}
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
TestMessageHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: TestMessageHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
1124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TestMessageHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1125
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TestMessageHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
1127
1126
|
<risk-error [message]="message"></risk-error>
|
|
1128
1127
|
<risk-good [message]="message"></risk-good>
|
|
1129
1128
|
<risk-info [message]="message"></risk-info>
|
|
@@ -1132,8 +1131,9 @@ TestMessageHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1132
1131
|
<risk-initial-load [message]="message"></risk-initial-load>
|
|
1133
1132
|
<risk-update-failed [message]="message"></risk-update-failed>
|
|
1134
1133
|
<risk-no-data [message]="message"></risk-no-data>
|
|
1135
|
-
`, isInline: true,
|
|
1136
|
-
|
|
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: "16.2.12", ngImport: i0, type: TestMessageHostComponent, decorators: [{
|
|
1137
1137
|
type: Component,
|
|
1138
1138
|
args: [{
|
|
1139
1139
|
template: `
|
|
@@ -1195,10 +1195,10 @@ class AuthRoutingFlowServiceStub extends AuthRoutingFlowService {
|
|
|
1195
1195
|
loginViaService() {
|
|
1196
1196
|
return this.authServiceStub.loginViaAuthService();
|
|
1197
1197
|
}
|
|
1198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", 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: "16.2.12", ngImport: i0, type: AuthRoutingFlowServiceStub }); }
|
|
1198
1200
|
}
|
|
1199
|
-
|
|
1200
|
-
AuthRoutingFlowServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthRoutingFlowServiceStub });
|
|
1201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthRoutingFlowServiceStub, decorators: [{
|
|
1201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AuthRoutingFlowServiceStub, decorators: [{
|
|
1202
1202
|
type: Injectable
|
|
1203
1203
|
}], ctorParameters: function () { return [{ type: i1$3.AuthService, decorators: [{
|
|
1204
1204
|
type: Inject,
|
|
@@ -1220,10 +1220,10 @@ class WellKnownServiceStub {
|
|
|
1220
1220
|
get wellKnown() {
|
|
1221
1221
|
return of(WELL_KNOWN);
|
|
1222
1222
|
}
|
|
1223
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WellKnownServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1224
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WellKnownServiceStub }); }
|
|
1223
1225
|
}
|
|
1224
|
-
|
|
1225
|
-
WellKnownServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: WellKnownServiceStub });
|
|
1226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: WellKnownServiceStub, decorators: [{
|
|
1226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WellKnownServiceStub, decorators: [{
|
|
1227
1227
|
type: Injectable
|
|
1228
1228
|
}] });
|
|
1229
1229
|
|
|
@@ -1255,10 +1255,10 @@ class AuthServiceStub extends AuthService {
|
|
|
1255
1255
|
delete this.user;
|
|
1256
1256
|
return EMPTY;
|
|
1257
1257
|
}
|
|
1258
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AuthServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1259
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AuthServiceStub }); }
|
|
1258
1260
|
}
|
|
1259
|
-
|
|
1260
|
-
AuthServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthServiceStub });
|
|
1261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthServiceStub, decorators: [{
|
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AuthServiceStub, decorators: [{
|
|
1262
1262
|
type: Injectable
|
|
1263
1263
|
}], ctorParameters: function () { return []; } });
|
|
1264
1264
|
|
|
@@ -1266,10 +1266,10 @@ class LoginMenuStubComponent {
|
|
|
1266
1266
|
constructor() {
|
|
1267
1267
|
this.orientation = 'row';
|
|
1268
1268
|
}
|
|
1269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoginMenuStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1270
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoginMenuStubComponent, selector: "login-menu, risk-login-menu", inputs: { orientation: "orientation" }, ngImport: i0, template: '', isInline: true }); }
|
|
1269
1271
|
}
|
|
1270
|
-
|
|
1271
|
-
LoginMenuStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: LoginMenuStubComponent, selector: "login-menu, risk-login-menu", inputs: { orientation: "orientation" }, ngImport: i0, template: '', isInline: true });
|
|
1272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: LoginMenuStubComponent, decorators: [{
|
|
1272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoginMenuStubComponent, decorators: [{
|
|
1273
1273
|
type: Component,
|
|
1274
1274
|
args: [{
|
|
1275
1275
|
selector: 'login-menu, risk-login-menu',
|
|
@@ -1298,18 +1298,18 @@ class ActivatedRouteStub {
|
|
|
1298
1298
|
get snapshot() {
|
|
1299
1299
|
return { params: this.testParams };
|
|
1300
1300
|
}
|
|
1301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActivatedRouteStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1302
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActivatedRouteStub }); }
|
|
1301
1303
|
}
|
|
1302
|
-
|
|
1303
|
-
ActivatedRouteStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ActivatedRouteStub });
|
|
1304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ActivatedRouteStub, decorators: [{
|
|
1304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActivatedRouteStub, decorators: [{
|
|
1305
1305
|
type: Injectable
|
|
1306
1306
|
}] });
|
|
1307
1307
|
|
|
1308
1308
|
class RouterOutletStubComponent {
|
|
1309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterOutletStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1310
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RouterOutletStubComponent, selector: "router-outlet", ngImport: i0, template: '', isInline: true }); }
|
|
1309
1311
|
}
|
|
1310
|
-
|
|
1311
|
-
RouterOutletStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: RouterOutletStubComponent, selector: "router-outlet", ngImport: i0, template: '', isInline: true });
|
|
1312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterOutletStubComponent, decorators: [{
|
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterOutletStubComponent, decorators: [{
|
|
1313
1313
|
type: Component,
|
|
1314
1314
|
args: [{
|
|
1315
1315
|
/* eslint-disable @angular-eslint/component-selector */
|
|
@@ -1388,10 +1388,10 @@ class RouterStub {
|
|
|
1388
1388
|
static serializeUrl(url) {
|
|
1389
1389
|
return url.root.segments.map((segment) => segment.path).join('/');
|
|
1390
1390
|
}
|
|
1391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1392
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterStub }); }
|
|
1391
1393
|
}
|
|
1392
|
-
|
|
1393
|
-
RouterStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterStub });
|
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterStub, decorators: [{
|
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterStub, decorators: [{
|
|
1395
1395
|
type: Injectable
|
|
1396
1396
|
}] });
|
|
1397
1397
|
|
|
@@ -1416,8 +1416,7 @@ function stubRouter(customOverrides) {
|
|
|
1416
1416
|
exports: [
|
|
1417
1417
|
RouterLinkStubDirective,
|
|
1418
1418
|
RouterOutletStubComponent
|
|
1419
|
-
]
|
|
1420
|
-
entryComponents: []
|
|
1419
|
+
]
|
|
1421
1420
|
}
|
|
1422
1421
|
};
|
|
1423
1422
|
if (customOverrides) {
|
|
@@ -1425,7 +1424,7 @@ function stubRouter(customOverrides) {
|
|
|
1425
1424
|
override.add = customOverrides.add;
|
|
1426
1425
|
}
|
|
1427
1426
|
if (customOverrides.set) {
|
|
1428
|
-
|
|
1427
|
+
override.set = customOverrides.set;
|
|
1429
1428
|
}
|
|
1430
1429
|
if (customOverrides.remove) {
|
|
1431
1430
|
override.remove = customOverrides.remove;
|
|
@@ -1480,24 +1479,22 @@ function fakeMatchMedia(matches = false) {
|
|
|
1480
1479
|
}
|
|
1481
1480
|
|
|
1482
1481
|
class TestingModule {
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
TestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, imports: [[
|
|
1496
|
-
CommonViewModule,
|
|
1482
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1483
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TestingModule, declarations: [DownloadTestComponent,
|
|
1484
|
+
TestDataTableHostComponent,
|
|
1485
|
+
HighLighterDirectiveTestComponent,
|
|
1486
|
+
TestLayoutHostComponent,
|
|
1487
|
+
RouterLinkStubDirective,
|
|
1488
|
+
TestMessageHostComponent,
|
|
1489
|
+
LoginMenuStubComponent,
|
|
1490
|
+
RouterOutletStubComponent], imports: [CommonViewModule,
|
|
1491
|
+
FileModule,
|
|
1492
|
+
DataTableModule] }); }
|
|
1493
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TestingModule, imports: [CommonViewModule,
|
|
1497
1494
|
FileModule,
|
|
1498
|
-
DataTableModule
|
|
1499
|
-
|
|
1500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1495
|
+
DataTableModule] }); }
|
|
1496
|
+
}
|
|
1497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TestingModule, decorators: [{
|
|
1501
1498
|
type: NgModule,
|
|
1502
1499
|
args: [{
|
|
1503
1500
|
imports: [
|