@dbg-riskit/angular-testing 9999.9999.9999-rc.12148 → 9999.9999.9999-rc.171485
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/lib/definitions/data.table.definition.mjs +3 -3
- package/esm2020/lib/definitions/download.menu.page.mjs +3 -3
- package/esm2020/lib/definitions/highlighter.directive.page.mjs +3 -3
- package/esm2020/lib/definitions/layout.component.page.mjs +3 -3
- package/esm2020/lib/definitions/message.page.mjs +3 -3
- package/esm2020/lib/stubs/auth/auth.routing.flow.service.stub.mjs +3 -3
- package/esm2020/lib/stubs/auth/auth.service.stub.mjs +3 -3
- package/esm2020/lib/stubs/auth/well.known.service.stub.mjs +3 -3
- package/esm2020/lib/stubs/http.service.stub.mjs +6 -6
- package/esm2020/lib/stubs/login.menu.stub.component.mjs +3 -3
- package/esm2020/lib/stubs/router/activated.route.stub.mjs +3 -3
- package/esm2020/lib/stubs/router/router.link.stub.mjs +3 -3
- package/esm2020/lib/stubs/router/router.outlet.stub.component.mjs +3 -3
- package/esm2020/lib/stubs/router/router.stub.mjs +3 -3
- package/esm2020/lib/testing.module.mjs +4 -4
- package/esm2020/public_api.mjs +1 -13
- package/fesm2015/dbg-riskit-angular-testing.mjs +51 -75
- package/fesm2015/dbg-riskit-angular-testing.mjs.map +1 -1
- package/fesm2020/dbg-riskit-angular-testing.mjs +51 -75
- package/fesm2020/dbg-riskit-angular-testing.mjs.map +1 -1
- package/package.json +14 -14
- package/esm2020/lib/cached.resource.provider.mjs +0 -17
- package/lib/cached.resource.provider.d.ts +0 -5
|
@@ -12,7 +12,7 @@ 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
|
|
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
18
|
import { MatButton, MatAnchor } from '@angular/material/button';
|
|
@@ -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;
|
|
@@ -139,9 +137,9 @@ class HttpServiceStub {
|
|
|
139
137
|
return this.get(request);
|
|
140
138
|
}
|
|
141
139
|
}
|
|
142
|
-
HttpServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
143
|
-
HttpServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
140
|
+
HttpServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HttpServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
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: [{
|
|
145
143
|
type: Injectable
|
|
146
144
|
}] });
|
|
147
145
|
class HttpAsyncServiceStub extends HttpServiceStub {
|
|
@@ -152,9 +150,9 @@ class HttpAsyncServiceStub extends HttpServiceStub {
|
|
|
152
150
|
return this.get(request);
|
|
153
151
|
}
|
|
154
152
|
}
|
|
155
|
-
HttpAsyncServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
156
|
-
HttpAsyncServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
153
|
+
HttpAsyncServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HttpAsyncServiceStub, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
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: [{
|
|
158
156
|
type: Injectable
|
|
159
157
|
}] });
|
|
160
158
|
|
|
@@ -286,13 +284,13 @@ class DownloadLink {
|
|
|
286
284
|
}
|
|
287
285
|
class DownloadTestComponent {
|
|
288
286
|
}
|
|
289
|
-
DownloadTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
290
|
-
DownloadTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
287
|
+
DownloadTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DownloadTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
288
|
+
DownloadTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: DownloadTestComponent, selector: "ng-component", ngImport: i0, template: `
|
|
291
289
|
<a [risk-download]="data"
|
|
292
290
|
[risk-download-content-type]="contentType"
|
|
293
291
|
[risk-download-filename]="filename">Download</a>
|
|
294
292
|
`, 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.
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DownloadTestComponent, decorators: [{
|
|
296
294
|
type: Component,
|
|
297
295
|
args: [{
|
|
298
296
|
template: `
|
|
@@ -758,8 +756,8 @@ class TestDataTableHostComponent {
|
|
|
758
756
|
};
|
|
759
757
|
}
|
|
760
758
|
}
|
|
761
|
-
TestDataTableHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
762
|
-
TestDataTableHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
759
|
+
TestDataTableHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestDataTableHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
760
|
+
TestDataTableHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: TestDataTableHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
763
761
|
<risk-data-table [data]="data"
|
|
764
762
|
[footer]="footer"
|
|
765
763
|
[pageSize]="20"
|
|
@@ -804,7 +802,7 @@ TestDataTableHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
804
802
|
<risk-data-table-column-group></risk-data-table-column-group>
|
|
805
803
|
</risk-data-table-detail-row>
|
|
806
804
|
</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.
|
|
805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestDataTableHostComponent, decorators: [{
|
|
808
806
|
type: Component,
|
|
809
807
|
args: [{
|
|
810
808
|
template: `
|
|
@@ -860,10 +858,10 @@ class HighLighterDirectiveTestComponent {
|
|
|
860
858
|
return row.rowData;
|
|
861
859
|
}
|
|
862
860
|
}
|
|
863
|
-
HighLighterDirectiveTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
864
|
-
HighLighterDirectiveTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
861
|
+
HighLighterDirectiveTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HighLighterDirectiveTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
862
|
+
HighLighterDirectiveTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: HighLighterDirectiveTestComponent, selector: "ng-component", ngImport: i0, template: `
|
|
865
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"] }] });
|
|
866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HighLighterDirectiveTestComponent, decorators: [{
|
|
867
865
|
type: Component,
|
|
868
866
|
args: [{
|
|
869
867
|
template: `
|
|
@@ -949,8 +947,8 @@ class TestLayoutComponentHostPage extends Page {
|
|
|
949
947
|
}
|
|
950
948
|
class TestLayoutHostComponent {
|
|
951
949
|
}
|
|
952
|
-
TestLayoutHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
953
|
-
TestLayoutHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
950
|
+
TestLayoutHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestLayoutHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
951
|
+
TestLayoutHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: TestLayoutHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
954
952
|
<risk-layout>
|
|
955
953
|
<!-- menu-horizontal -->
|
|
956
954
|
<risk-layout-horizontal>
|
|
@@ -966,7 +964,7 @@ TestLayoutHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
966
964
|
<span>Content</span>
|
|
967
965
|
</risk-layout>
|
|
968
966
|
`, 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.
|
|
967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestLayoutHostComponent, decorators: [{
|
|
970
968
|
type: Component,
|
|
971
969
|
args: [{
|
|
972
970
|
template: `
|
|
@@ -1014,9 +1012,9 @@ class RouterLinkStubDirective {
|
|
|
1014
1012
|
return this._urlTree;
|
|
1015
1013
|
}
|
|
1016
1014
|
}
|
|
1017
|
-
RouterLinkStubDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1018
|
-
RouterLinkStubDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1015
|
+
RouterLinkStubDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterLinkStubDirective, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
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: [{
|
|
1020
1018
|
type: Directive,
|
|
1021
1019
|
args: [{
|
|
1022
1020
|
/* eslint-disable @angular-eslint/directive-selector */
|
|
@@ -1124,8 +1122,8 @@ class TestMessageHostComponent {
|
|
|
1124
1122
|
this.message = 'custom message';
|
|
1125
1123
|
}
|
|
1126
1124
|
}
|
|
1127
|
-
TestMessageHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1128
|
-
TestMessageHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1125
|
+
TestMessageHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestMessageHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1126
|
+
TestMessageHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: TestMessageHostComponent, selector: "ng-component", ngImport: i0, template: `
|
|
1129
1127
|
<risk-error [message]="message"></risk-error>
|
|
1130
1128
|
<risk-good [message]="message"></risk-good>
|
|
1131
1129
|
<risk-info [message]="message"></risk-info>
|
|
@@ -1135,7 +1133,7 @@ TestMessageHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1135
1133
|
<risk-update-failed [message]="message"></risk-update-failed>
|
|
1136
1134
|
<risk-no-data [message]="message"></risk-no-data>
|
|
1137
1135
|
`, 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.
|
|
1136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestMessageHostComponent, decorators: [{
|
|
1139
1137
|
type: Component,
|
|
1140
1138
|
args: [{
|
|
1141
1139
|
template: `
|
|
@@ -1198,9 +1196,9 @@ class AuthRoutingFlowServiceStub extends AuthRoutingFlowService {
|
|
|
1198
1196
|
return this.authServiceStub.loginViaAuthService();
|
|
1199
1197
|
}
|
|
1200
1198
|
}
|
|
1201
|
-
AuthRoutingFlowServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1202
|
-
AuthRoutingFlowServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1199
|
+
AuthRoutingFlowServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthRoutingFlowServiceStub, deps: [{ token: AUTH_PROVIDER }, { token: AUTH_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
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: [{
|
|
1204
1202
|
type: Injectable
|
|
1205
1203
|
}], ctorParameters: function () {
|
|
1206
1204
|
return [{ type: i1$3.AuthService, decorators: [{
|
|
@@ -1225,9 +1223,9 @@ class WellKnownServiceStub {
|
|
|
1225
1223
|
return of(WELL_KNOWN);
|
|
1226
1224
|
}
|
|
1227
1225
|
}
|
|
1228
|
-
WellKnownServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1229
|
-
WellKnownServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1226
|
+
WellKnownServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: WellKnownServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1227
|
+
WellKnownServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: WellKnownServiceStub });
|
|
1228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: WellKnownServiceStub, decorators: [{
|
|
1231
1229
|
type: Injectable
|
|
1232
1230
|
}] });
|
|
1233
1231
|
|
|
@@ -1260,9 +1258,9 @@ class AuthServiceStub extends AuthService {
|
|
|
1260
1258
|
return EMPTY;
|
|
1261
1259
|
}
|
|
1262
1260
|
}
|
|
1263
|
-
AuthServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1264
|
-
AuthServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1261
|
+
AuthServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1262
|
+
AuthServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthServiceStub });
|
|
1263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthServiceStub, decorators: [{
|
|
1266
1264
|
type: Injectable
|
|
1267
1265
|
}], ctorParameters: function () { return []; } });
|
|
1268
1266
|
|
|
@@ -1271,9 +1269,9 @@ class LoginMenuStubComponent {
|
|
|
1271
1269
|
this.orientation = 'row';
|
|
1272
1270
|
}
|
|
1273
1271
|
}
|
|
1274
|
-
LoginMenuStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1275
|
-
LoginMenuStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1272
|
+
LoginMenuStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: LoginMenuStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1273
|
+
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 });
|
|
1274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: LoginMenuStubComponent, decorators: [{
|
|
1277
1275
|
type: Component,
|
|
1278
1276
|
args: [{
|
|
1279
1277
|
selector: 'login-menu, risk-login-menu',
|
|
@@ -1303,17 +1301,17 @@ class ActivatedRouteStub {
|
|
|
1303
1301
|
return { params: this.testParams };
|
|
1304
1302
|
}
|
|
1305
1303
|
}
|
|
1306
|
-
ActivatedRouteStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1307
|
-
ActivatedRouteStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1304
|
+
ActivatedRouteStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ActivatedRouteStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1305
|
+
ActivatedRouteStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ActivatedRouteStub });
|
|
1306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ActivatedRouteStub, decorators: [{
|
|
1309
1307
|
type: Injectable
|
|
1310
1308
|
}] });
|
|
1311
1309
|
|
|
1312
1310
|
class RouterOutletStubComponent {
|
|
1313
1311
|
}
|
|
1314
|
-
RouterOutletStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1315
|
-
RouterOutletStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1312
|
+
RouterOutletStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterOutletStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1313
|
+
RouterOutletStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: RouterOutletStubComponent, selector: "router-outlet", ngImport: i0, template: '', isInline: true });
|
|
1314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterOutletStubComponent, decorators: [{
|
|
1317
1315
|
type: Component,
|
|
1318
1316
|
args: [{
|
|
1319
1317
|
/* eslint-disable @angular-eslint/component-selector */
|
|
@@ -1389,9 +1387,9 @@ class RouterStub {
|
|
|
1389
1387
|
return url.root.segments.map((segment) => segment.path).join('/');
|
|
1390
1388
|
}
|
|
1391
1389
|
}
|
|
1392
|
-
RouterStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1393
|
-
RouterStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1390
|
+
RouterStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1391
|
+
RouterStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterStub });
|
|
1392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterStub, decorators: [{
|
|
1395
1393
|
type: Injectable
|
|
1396
1394
|
}] });
|
|
1397
1395
|
|
|
@@ -1481,8 +1479,8 @@ function fakeMatchMedia(matches = false) {
|
|
|
1481
1479
|
|
|
1482
1480
|
class TestingModule {
|
|
1483
1481
|
}
|
|
1484
|
-
TestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1485
|
-
TestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1482
|
+
TestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1483
|
+
TestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, declarations: [DownloadTestComponent,
|
|
1486
1484
|
TestDataTableHostComponent,
|
|
1487
1485
|
HighLighterDirectiveTestComponent,
|
|
1488
1486
|
TestLayoutHostComponent,
|
|
@@ -1492,12 +1490,12 @@ TestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
1492
1490
|
RouterOutletStubComponent], imports: [CommonViewModule,
|
|
1493
1491
|
FileModule,
|
|
1494
1492
|
DataTableModule] });
|
|
1495
|
-
TestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1493
|
+
TestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, imports: [[
|
|
1496
1494
|
CommonViewModule,
|
|
1497
1495
|
FileModule,
|
|
1498
1496
|
DataTableModule
|
|
1499
1497
|
]] });
|
|
1500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, decorators: [{
|
|
1501
1499
|
type: NgModule,
|
|
1502
1500
|
args: [{
|
|
1503
1501
|
imports: [
|
|
@@ -1518,33 +1516,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
|
|
|
1518
1516
|
}]
|
|
1519
1517
|
}] });
|
|
1520
1518
|
|
|
1521
|
-
class CachedResourceProviderImpl extends ɵResourceLoaderImpl {
|
|
1522
|
-
get(url) {
|
|
1523
|
-
const cacheElement = CachedResourceProviderImpl.cache[url];
|
|
1524
|
-
if (cacheElement) {
|
|
1525
|
-
return cacheElement;
|
|
1526
|
-
}
|
|
1527
|
-
return firstValueFrom(from(super.get(url)).pipe(map((content) => {
|
|
1528
|
-
CachedResourceProviderImpl.cache[url] = Promise.resolve(content);
|
|
1529
|
-
return content;
|
|
1530
|
-
})));
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
CachedResourceProviderImpl.cache = {};
|
|
1534
|
-
|
|
1535
1519
|
// WARNING: Do not change order in this file!!! Environment has to be first as it includes polyfills
|
|
1536
1520
|
// Add CachedResourceProviderImpl to compiler configuration
|
|
1537
1521
|
if ('beforeEach' in globalScope && globalScope.beforeEach) {
|
|
1538
1522
|
globalScope.beforeEach(() => {
|
|
1539
|
-
TestBed.configureCompiler({
|
|
1540
|
-
providers: [
|
|
1541
|
-
{
|
|
1542
|
-
deps: [],
|
|
1543
|
-
provide: ResourceLoader,
|
|
1544
|
-
useClass: CachedResourceProviderImpl
|
|
1545
|
-
}
|
|
1546
|
-
]
|
|
1547
|
-
});
|
|
1548
1523
|
// Disable logging in Safari as the Selenium WebDriver is not working there correctly....
|
|
1549
1524
|
if ('navigator' in globalScope) {
|
|
1550
1525
|
const ua = globalScope.navigator.userAgent.toLowerCase();
|
|
@@ -1566,3 +1541,4 @@ if ('beforeEach' in globalScope && globalScope.beforeEach) {
|
|
|
1566
1541
|
*/
|
|
1567
1542
|
|
|
1568
1543
|
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 };
|
|
1544
|
+
//# sourceMappingURL=dbg-riskit-angular-testing.mjs.map
|