@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 () { return [{ type: i1$3.AuthService, decorators: [{
|
|
1206
1204
|
type: Inject,
|
|
@@ -1223,9 +1221,9 @@ class WellKnownServiceStub {
|
|
|
1223
1221
|
return of(WELL_KNOWN);
|
|
1224
1222
|
}
|
|
1225
1223
|
}
|
|
1226
|
-
WellKnownServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1227
|
-
WellKnownServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1224
|
+
WellKnownServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: WellKnownServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
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: [{
|
|
1229
1227
|
type: Injectable
|
|
1230
1228
|
}] });
|
|
1231
1229
|
|
|
@@ -1258,9 +1256,9 @@ class AuthServiceStub extends AuthService {
|
|
|
1258
1256
|
return EMPTY;
|
|
1259
1257
|
}
|
|
1260
1258
|
}
|
|
1261
|
-
AuthServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1262
|
-
AuthServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1259
|
+
AuthServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: AuthServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
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: [{
|
|
1264
1262
|
type: Injectable
|
|
1265
1263
|
}], ctorParameters: function () { return []; } });
|
|
1266
1264
|
|
|
@@ -1269,9 +1267,9 @@ class LoginMenuStubComponent {
|
|
|
1269
1267
|
this.orientation = 'row';
|
|
1270
1268
|
}
|
|
1271
1269
|
}
|
|
1272
|
-
LoginMenuStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1273
|
-
LoginMenuStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1270
|
+
LoginMenuStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: LoginMenuStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
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: [{
|
|
1275
1273
|
type: Component,
|
|
1276
1274
|
args: [{
|
|
1277
1275
|
selector: 'login-menu, risk-login-menu',
|
|
@@ -1301,17 +1299,17 @@ class ActivatedRouteStub {
|
|
|
1301
1299
|
return { params: this.testParams };
|
|
1302
1300
|
}
|
|
1303
1301
|
}
|
|
1304
|
-
ActivatedRouteStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1305
|
-
ActivatedRouteStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1302
|
+
ActivatedRouteStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ActivatedRouteStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
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: [{
|
|
1307
1305
|
type: Injectable
|
|
1308
1306
|
}] });
|
|
1309
1307
|
|
|
1310
1308
|
class RouterOutletStubComponent {
|
|
1311
1309
|
}
|
|
1312
|
-
RouterOutletStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1313
|
-
RouterOutletStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1310
|
+
RouterOutletStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterOutletStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
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: [{
|
|
1315
1313
|
type: Component,
|
|
1316
1314
|
args: [{
|
|
1317
1315
|
/* eslint-disable @angular-eslint/component-selector */
|
|
@@ -1391,9 +1389,9 @@ class RouterStub {
|
|
|
1391
1389
|
return url.root.segments.map((segment) => segment.path).join('/');
|
|
1392
1390
|
}
|
|
1393
1391
|
}
|
|
1394
|
-
RouterStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1395
|
-
RouterStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1392
|
+
RouterStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: RouterStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
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: [{
|
|
1397
1395
|
type: Injectable
|
|
1398
1396
|
}] });
|
|
1399
1397
|
|
|
@@ -1483,8 +1481,8 @@ function fakeMatchMedia(matches = false) {
|
|
|
1483
1481
|
|
|
1484
1482
|
class TestingModule {
|
|
1485
1483
|
}
|
|
1486
|
-
TestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1487
|
-
TestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1484
|
+
TestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1485
|
+
TestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, declarations: [DownloadTestComponent,
|
|
1488
1486
|
TestDataTableHostComponent,
|
|
1489
1487
|
HighLighterDirectiveTestComponent,
|
|
1490
1488
|
TestLayoutHostComponent,
|
|
@@ -1494,12 +1492,12 @@ TestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
1494
1492
|
RouterOutletStubComponent], imports: [CommonViewModule,
|
|
1495
1493
|
FileModule,
|
|
1496
1494
|
DataTableModule] });
|
|
1497
|
-
TestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1495
|
+
TestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, imports: [[
|
|
1498
1496
|
CommonViewModule,
|
|
1499
1497
|
FileModule,
|
|
1500
1498
|
DataTableModule
|
|
1501
1499
|
]] });
|
|
1502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: TestingModule, decorators: [{
|
|
1503
1501
|
type: NgModule,
|
|
1504
1502
|
args: [{
|
|
1505
1503
|
imports: [
|
|
@@ -1520,33 +1518,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
|
|
|
1520
1518
|
}]
|
|
1521
1519
|
}] });
|
|
1522
1520
|
|
|
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
1521
|
// WARNING: Do not change order in this file!!! Environment has to be first as it includes polyfills
|
|
1538
1522
|
// Add CachedResourceProviderImpl to compiler configuration
|
|
1539
1523
|
if ('beforeEach' in globalScope && globalScope.beforeEach) {
|
|
1540
1524
|
globalScope.beforeEach(() => {
|
|
1541
|
-
TestBed.configureCompiler({
|
|
1542
|
-
providers: [
|
|
1543
|
-
{
|
|
1544
|
-
deps: [],
|
|
1545
|
-
provide: ResourceLoader,
|
|
1546
|
-
useClass: CachedResourceProviderImpl
|
|
1547
|
-
}
|
|
1548
|
-
]
|
|
1549
|
-
});
|
|
1550
1525
|
// Disable logging in Safari as the Selenium WebDriver is not working there correctly....
|
|
1551
1526
|
if ('navigator' in globalScope) {
|
|
1552
1527
|
const ua = globalScope.navigator.userAgent.toLowerCase();
|
|
@@ -1568,3 +1543,4 @@ if ('beforeEach' in globalScope && globalScope.beforeEach) {
|
|
|
1568
1543
|
*/
|
|
1569
1544
|
|
|
1570
1545
|
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 };
|
|
1546
|
+
//# sourceMappingURL=dbg-riskit-angular-testing.mjs.map
|