@dbg-riskit/angular-testing 12.3.0 → 9999.9999.9999-rc.12148
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dbg-riskit-angular-testing.d.ts +1 -0
- package/docs/README.md +1 -11
- package/{esm2015/dbg-riskit-angular-testing.js → esm2020/dbg-riskit-angular-testing.mjs} +0 -0
- package/{esm2015/lib/by.util.js → esm2020/lib/by.util.mjs} +0 -0
- package/esm2020/lib/cached.resource.provider.mjs +17 -0
- package/esm2020/lib/definitions/data.table.definition.mjs +556 -0
- package/esm2020/lib/definitions/download.menu.page.mjs +90 -0
- package/esm2020/lib/definitions/highlighter.directive.page.mjs +36 -0
- package/esm2020/lib/definitions/layout.component.page.mjs +93 -0
- package/{esm2015/lib/definitions/link.definition.js → esm2020/lib/definitions/link.definition.mjs} +0 -0
- package/{esm2015/lib/definitions/link.only.page.js → esm2020/lib/definitions/link.only.page.mjs} +0 -0
- package/{esm2015/lib/definitions/login.menu.page.js → esm2020/lib/definitions/login.menu.page.mjs} +0 -0
- package/{esm2015/lib/definitions/login.page.js → esm2020/lib/definitions/login.page.mjs} +4 -4
- package/{esm2015/lib/definitions/message.def.js → esm2020/lib/definitions/message.def.mjs} +0 -0
- package/esm2020/lib/definitions/message.page.mjs +68 -0
- package/esm2020/lib/definitions/page.base.mjs +64 -0
- package/esm2020/lib/environment.mjs +23 -0
- package/esm2020/lib/events.mjs +60 -0
- package/esm2020/lib/stubs/auth/auth.routing.flow.service.stub.mjs +37 -0
- package/esm2020/lib/stubs/auth/auth.service.stub.mjs +40 -0
- package/esm2020/lib/stubs/auth/well.known.service.stub.mjs +22 -0
- package/esm2020/lib/stubs/http.service.stub.mjs +54 -0
- package/esm2020/lib/stubs/login.menu.stub.component.mjs +19 -0
- package/esm2020/lib/stubs/router/activated.route.stub.mjs +29 -0
- package/esm2020/lib/stubs/router/router.link.stub.mjs +46 -0
- package/{esm2015/lib/stubs/router/router.module.stub.js → esm2020/lib/stubs/router/router.module.stub.mjs} +4 -4
- package/esm2020/lib/stubs/router/router.outlet.stub.component.mjs +16 -0
- package/esm2020/lib/stubs/router/router.stub.mjs +79 -0
- package/esm2020/lib/testing.module.mjs +52 -0
- package/esm2020/lib/utils.mjs +48 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +4 -4
- package/fesm2015/{dbg-riskit-angular-testing.js → dbg-riskit-angular-testing.mjs} +263 -128
- package/fesm2015/dbg-riskit-angular-testing.mjs.map +1 -0
- package/fesm2020/dbg-riskit-angular-testing.mjs +1570 -0
- package/fesm2020/dbg-riskit-angular-testing.mjs.map +1 -0
- package/lib/definitions/data.table.definition.d.ts +3 -0
- package/lib/definitions/download.menu.page.d.ts +3 -0
- package/lib/definitions/highlighter.directive.page.d.ts +3 -0
- package/lib/definitions/layout.component.page.d.ts +5 -2
- package/lib/definitions/message.page.d.ts +3 -0
- package/lib/stubs/auth/auth.routing.flow.service.stub.d.ts +3 -0
- package/lib/stubs/auth/auth.service.stub.d.ts +3 -0
- package/lib/stubs/auth/well.known.service.stub.d.ts +3 -0
- package/lib/stubs/http.service.stub.d.ts +5 -0
- package/lib/stubs/login.menu.stub.component.d.ts +6 -0
- package/lib/stubs/router/activated.route.stub.d.ts +3 -0
- package/lib/stubs/router/router.link.stub.d.ts +5 -2
- package/lib/stubs/router/router.outlet.stub.component.d.ts +5 -0
- package/lib/stubs/router/router.stub.d.ts +3 -0
- package/lib/testing.module.d.ts +15 -0
- package/package.json +32 -20
- package/public_api.d.ts +3 -3
- package/bundles/dbg-riskit-angular-testing.umd.js +0 -2253
- package/bundles/dbg-riskit-angular-testing.umd.js.map +0 -1
- package/dbg-riskit-angular-testing.metadata.json +0 -1
- package/esm2015/lib/cached.resource.provider.js +0 -16
- package/esm2015/lib/definitions/data.table.definition.js +0 -508
- package/esm2015/lib/definitions/download.menu.page.js +0 -81
- package/esm2015/lib/definitions/highlighter.directive.page.js +0 -30
- package/esm2015/lib/definitions/layout.component.page.js +0 -73
- package/esm2015/lib/definitions/message.page.js +0 -54
- package/esm2015/lib/definitions/page.base.js +0 -64
- package/esm2015/lib/environment.js +0 -19
- package/esm2015/lib/events.js +0 -60
- package/esm2015/lib/stubs/auth/auth.routing.flow.service.stub.js +0 -31
- package/esm2015/lib/stubs/auth/auth.service.stub.js +0 -38
- package/esm2015/lib/stubs/auth/well.known.service.stub.js +0 -19
- package/esm2015/lib/stubs/http.service.stub.js +0 -49
- package/esm2015/lib/stubs/login.menu.component.stub.js +0 -16
- package/esm2015/lib/stubs/router/activated.route.stub.js +0 -26
- package/esm2015/lib/stubs/router/router.link.stub.js +0 -45
- package/esm2015/lib/stubs/router/router.outlet.stub.js +0 -12
- package/esm2015/lib/stubs/router/router.stub.js +0 -72
- package/esm2015/lib/testing.module.js +0 -34
- package/esm2015/lib/utils.js +0 -48
- package/fesm2015/dbg-riskit-angular-testing.js.map +0 -1
- package/lib/stubs/login.menu.component.stub.d.ts +0 -3
- package/lib/stubs/router/router.outlet.stub.d.ts +0 -2
|
@@ -2,14 +2,17 @@ import '@dbg-riskit/angular-polyfill';
|
|
|
2
2
|
import 'zone.js/testing';
|
|
3
3
|
import { getTestBed, tick, discardPeriodicTasks, TestBed } from '@angular/core/testing';
|
|
4
4
|
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
|
|
5
|
-
import
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { EventEmitter, Injectable, Component, Directive, Input, Inject, NgModule } from '@angular/core';
|
|
6
7
|
import { MatMenuTrigger, MatMenuItem } from '@angular/material/menu';
|
|
7
8
|
import { By } from '@angular/platform-browser';
|
|
9
|
+
import * as i1 from '@dbg-riskit/angular-file';
|
|
8
10
|
import { CSVFileDownloadDirective, FileDownloadDirective, FileModule } from '@dbg-riskit/angular-file';
|
|
9
11
|
import * as fileSaver from 'file-saver';
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
import * as i1$2 from '@dbg-riskit/angular-view';
|
|
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
|
+
export { LayoutComponent, NoopAnimationMessageComponent, NoopAnimationsCommonViewModule } from '@dbg-riskit/angular-view';
|
|
15
|
+
import { throwError, of, timer, EMPTY, BehaviorSubject, firstValueFrom, from } from 'rxjs';
|
|
13
16
|
import { switchMap, defaultIfEmpty, map } from 'rxjs/operators';
|
|
14
17
|
import { MatCard } from '@angular/material/card';
|
|
15
18
|
import { MatButton, MatAnchor } from '@angular/material/button';
|
|
@@ -17,11 +20,13 @@ import { MatButtonToggle } from '@angular/material/button-toggle';
|
|
|
17
20
|
import { MatIcon } from '@angular/material/icon';
|
|
18
21
|
import { MatTooltip } from '@angular/material/tooltip';
|
|
19
22
|
import { secureRandom, globalScope } from '@dbg-riskit/common';
|
|
20
|
-
import
|
|
23
|
+
import * as i1$1 from '@dbg-riskit/angular-datatable';
|
|
24
|
+
import { PagingComponent, DataTableRowDetailExpanderComponent, HIGHLIGHTER_CLASS, DataTableComponent, HighlighterDirective, DataTableModule } from '@dbg-riskit/angular-datatable';
|
|
21
25
|
import { MatSidenavContainer, MatSidenav } from '@angular/material/sidenav';
|
|
22
26
|
import { MatToolbar } from '@angular/material/toolbar';
|
|
23
27
|
import { Router, NavigationEnd, UrlSegmentGroup, UrlSegment, ActivatedRoute, RouterModule } from '@angular/router';
|
|
24
|
-
import
|
|
28
|
+
import * as i1$3 from '@dbg-riskit/angular-auth';
|
|
29
|
+
import { AuthRoutingFlowService, AUTH_CONFIG, AuthService } from '@dbg-riskit/angular-auth';
|
|
25
30
|
import { AUTH_PROVIDER } from '@dbg-riskit/angular-common';
|
|
26
31
|
import { ResourceLoader } from '@angular/compiler';
|
|
27
32
|
import { ɵResourceLoaderImpl } from '@angular/platform-browser-dynamic';
|
|
@@ -33,11 +38,15 @@ function initTestEnvironment() {
|
|
|
33
38
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
|
|
34
39
|
// TODO: Quick fix for memory leaks
|
|
35
40
|
window.addEventListener = () => {
|
|
41
|
+
return;
|
|
36
42
|
};
|
|
37
43
|
window.document.addEventListener = () => {
|
|
44
|
+
return;
|
|
38
45
|
};
|
|
39
46
|
// First, initialize the Angular testing environment.
|
|
40
|
-
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting()
|
|
47
|
+
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
|
|
48
|
+
teardown: { destroyAfterEach: false }
|
|
49
|
+
});
|
|
41
50
|
}
|
|
42
51
|
|
|
43
52
|
/** Button events to pass to `DebugElement.triggerEventHandler` for RouterLink event handler */
|
|
@@ -130,9 +139,11 @@ class HttpServiceStub {
|
|
|
130
139
|
return this.get(request);
|
|
131
140
|
}
|
|
132
141
|
}
|
|
133
|
-
HttpServiceStub
|
|
134
|
-
|
|
135
|
-
|
|
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: [{
|
|
145
|
+
type: Injectable
|
|
146
|
+
}] });
|
|
136
147
|
class HttpAsyncServiceStub extends HttpServiceStub {
|
|
137
148
|
get(request, auth = true) {
|
|
138
149
|
return timer(FAKE_HTTP_ASYNC_TIMEOUT).pipe(switchMap(() => super.get(request)));
|
|
@@ -141,9 +152,11 @@ class HttpAsyncServiceStub extends HttpServiceStub {
|
|
|
141
152
|
return this.get(request);
|
|
142
153
|
}
|
|
143
154
|
}
|
|
144
|
-
HttpAsyncServiceStub
|
|
145
|
-
|
|
146
|
-
|
|
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: [{
|
|
158
|
+
type: Injectable
|
|
159
|
+
}] });
|
|
147
160
|
|
|
148
161
|
class MessageComponentDef {
|
|
149
162
|
constructor(debugElement) {
|
|
@@ -273,15 +286,22 @@ class DownloadLink {
|
|
|
273
286
|
}
|
|
274
287
|
class DownloadTestComponent {
|
|
275
288
|
}
|
|
276
|
-
DownloadTestComponent
|
|
277
|
-
|
|
278
|
-
|
|
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: `
|
|
291
|
+
<a [risk-download]="data"
|
|
292
|
+
[risk-download-content-type]="contentType"
|
|
293
|
+
[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: [{
|
|
296
|
+
type: Component,
|
|
297
|
+
args: [{
|
|
298
|
+
template: `
|
|
279
299
|
<a [risk-download]="data"
|
|
280
300
|
[risk-download-content-type]="contentType"
|
|
281
301
|
[risk-download-filename]="filename">Download</a>
|
|
282
302
|
`
|
|
283
|
-
|
|
284
|
-
];
|
|
303
|
+
}]
|
|
304
|
+
}] });
|
|
285
305
|
class DownloadTestComponentPage extends Page {
|
|
286
306
|
constructor(fixture) {
|
|
287
307
|
super(fixture);
|
|
@@ -495,7 +515,7 @@ class TableBodyRow {
|
|
|
495
515
|
this.page.detectChanges();
|
|
496
516
|
}
|
|
497
517
|
get expander() {
|
|
498
|
-
return new RowExpander(this.element.query(By.directive(
|
|
518
|
+
return new RowExpander(this.element.query(By.directive(DataTableRowDetailExpanderComponent)).query(By.directive(MatAnchor)));
|
|
499
519
|
}
|
|
500
520
|
get cells() {
|
|
501
521
|
return this.element.queryAll(By.css('td')).map((element) => {
|
|
@@ -738,9 +758,56 @@ class TestDataTableHostComponent {
|
|
|
738
758
|
};
|
|
739
759
|
}
|
|
740
760
|
}
|
|
741
|
-
TestDataTableHostComponent
|
|
742
|
-
|
|
743
|
-
|
|
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: `
|
|
763
|
+
<risk-data-table [data]="data"
|
|
764
|
+
[footer]="footer"
|
|
765
|
+
[pageSize]="20"
|
|
766
|
+
[defaultOrdering]="defaultOrdering"
|
|
767
|
+
[striped]="true">
|
|
768
|
+
<risk-data-table-column title="Test Column 1"
|
|
769
|
+
[sortingKey]="valueGetter">
|
|
770
|
+
<ng-template let-record="row" risk-data-table-cell>
|
|
771
|
+
{{record.value1}}
|
|
772
|
+
</ng-template>
|
|
773
|
+
</risk-data-table-column>
|
|
774
|
+
<risk-data-table-column>
|
|
775
|
+
<ng-template risk-data-table-cell let-record="row" let-expanded="expanded">
|
|
776
|
+
<risk-data-table-detail-expander [expanded]="expanded"></risk-data-table-detail-expander>
|
|
777
|
+
</ng-template>
|
|
778
|
+
<ng-template risk-data-table-footer-cell let-footer="footer">
|
|
779
|
+
{{footer.value1}}
|
|
780
|
+
</ng-template>
|
|
781
|
+
</risk-data-table-column>
|
|
782
|
+
<!-- Sub detail -->
|
|
783
|
+
<risk-data-table-detail-row>
|
|
784
|
+
<risk-data-table-column-group>
|
|
785
|
+
<risk-data-table-column title="Test Detail Column 1"
|
|
786
|
+
[sortingKey]="valueGetter">
|
|
787
|
+
<ng-template risk-data-table-cell let-record="row">
|
|
788
|
+
{{record.value1}}
|
|
789
|
+
</ng-template>
|
|
790
|
+
</risk-data-table-column>
|
|
791
|
+
</risk-data-table-column-group>
|
|
792
|
+
<risk-data-table-column-group>
|
|
793
|
+
<risk-data-table-column title="Test Detail Column 2">
|
|
794
|
+
<ng-template risk-data-table-cell let-record="row">
|
|
795
|
+
{{record.value2}}
|
|
796
|
+
</ng-template>
|
|
797
|
+
</risk-data-table-column>
|
|
798
|
+
<risk-data-table-column title="Test Detail Column 3">
|
|
799
|
+
<ng-template risk-data-table-cell let-record="row">
|
|
800
|
+
{{record.value3}}
|
|
801
|
+
</ng-template>
|
|
802
|
+
</risk-data-table-column>
|
|
803
|
+
</risk-data-table-column-group>
|
|
804
|
+
<risk-data-table-column-group></risk-data-table-column-group>
|
|
805
|
+
</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: [{
|
|
808
|
+
type: Component,
|
|
809
|
+
args: [{
|
|
810
|
+
template: `
|
|
744
811
|
<risk-data-table [data]="data"
|
|
745
812
|
[footer]="footer"
|
|
746
813
|
[pageSize]="20"
|
|
@@ -785,21 +852,24 @@ TestDataTableHostComponent.decorators = [
|
|
|
785
852
|
<risk-data-table-column-group></risk-data-table-column-group>
|
|
786
853
|
</risk-data-table-detail-row>
|
|
787
854
|
</risk-data-table>`
|
|
788
|
-
|
|
789
|
-
];
|
|
790
|
-
TestDataTableHostComponent.ctorParameters = () => [];
|
|
855
|
+
}]
|
|
856
|
+
}], ctorParameters: function () { return []; } });
|
|
791
857
|
|
|
792
858
|
class HighLighterDirectiveTestComponent {
|
|
793
859
|
trackBy(index, row) {
|
|
794
860
|
return row.rowData;
|
|
795
861
|
}
|
|
796
862
|
}
|
|
797
|
-
HighLighterDirectiveTestComponent
|
|
798
|
-
|
|
799
|
-
|
|
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: [{
|
|
867
|
+
type: Component,
|
|
868
|
+
args: [{
|
|
869
|
+
template: `
|
|
800
870
|
<div [risk-data-table-highlighter]="trackBy" [risk-data-table-highlighter-context]="context"></div>`
|
|
801
|
-
|
|
802
|
-
];
|
|
871
|
+
}]
|
|
872
|
+
}] });
|
|
803
873
|
class HighLighterDirectivePage extends Page {
|
|
804
874
|
constructor(fixture) {
|
|
805
875
|
super(fixture);
|
|
@@ -877,11 +947,29 @@ class TestLayoutComponentHostPage extends Page {
|
|
|
877
947
|
return new LayoutComponentDefinition(this.debugElement.query(By.directive(LayoutComponent)), this);
|
|
878
948
|
}
|
|
879
949
|
}
|
|
880
|
-
class
|
|
950
|
+
class TestLayoutHostComponent {
|
|
881
951
|
}
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
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: `
|
|
954
|
+
<risk-layout>
|
|
955
|
+
<!-- menu-horizontal -->
|
|
956
|
+
<risk-layout-horizontal>
|
|
957
|
+
HorizontalMenu
|
|
958
|
+
</risk-layout-horizontal>
|
|
959
|
+
<!-- menu-horizontal -->
|
|
960
|
+
|
|
961
|
+
<!-- menu-vertical -->
|
|
962
|
+
<risk-layout-vertical>
|
|
963
|
+
Vertical menu
|
|
964
|
+
</risk-layout-vertical>
|
|
965
|
+
|
|
966
|
+
<span>Content</span>
|
|
967
|
+
</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: [{
|
|
970
|
+
type: Component,
|
|
971
|
+
args: [{
|
|
972
|
+
template: `
|
|
885
973
|
<risk-layout>
|
|
886
974
|
<!-- menu-horizontal -->
|
|
887
975
|
<risk-layout-horizontal>
|
|
@@ -897,8 +985,8 @@ TestLayoutComponentHost.decorators = [
|
|
|
897
985
|
<span>Content</span>
|
|
898
986
|
</risk-layout>
|
|
899
987
|
`
|
|
900
|
-
|
|
901
|
-
];
|
|
988
|
+
}]
|
|
989
|
+
}] });
|
|
902
990
|
|
|
903
991
|
class RouterLinkStubDirective {
|
|
904
992
|
constructor(injector) {
|
|
@@ -906,7 +994,7 @@ class RouterLinkStubDirective {
|
|
|
906
994
|
this._urlTree = null;
|
|
907
995
|
this.routerStub = injector.get(Router, null);
|
|
908
996
|
}
|
|
909
|
-
ngOnChanges(
|
|
997
|
+
ngOnChanges() {
|
|
910
998
|
if (this.linkParams && this.routerStub) {
|
|
911
999
|
this._urlTree = this.routerStub.getURLTree(this.linkParams);
|
|
912
1000
|
}
|
|
@@ -926,22 +1014,22 @@ class RouterLinkStubDirective {
|
|
|
926
1014
|
return this._urlTree;
|
|
927
1015
|
}
|
|
928
1016
|
}
|
|
929
|
-
RouterLinkStubDirective
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
];
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
};
|
|
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: [{
|
|
1020
|
+
type: Directive,
|
|
1021
|
+
args: [{
|
|
1022
|
+
/* eslint-disable @angular-eslint/directive-selector */
|
|
1023
|
+
selector: '[routerLink]',
|
|
1024
|
+
/* eslint-enable */
|
|
1025
|
+
host: {
|
|
1026
|
+
'(click)': 'onClick()'
|
|
1027
|
+
}
|
|
1028
|
+
}]
|
|
1029
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { linkParams: [{
|
|
1030
|
+
type: Input,
|
|
1031
|
+
args: ['routerLink']
|
|
1032
|
+
}] } });
|
|
945
1033
|
|
|
946
1034
|
class LinkDefinition {
|
|
947
1035
|
constructor(page, link) {
|
|
@@ -1011,14 +1099,14 @@ class LoginPage extends Page {
|
|
|
1011
1099
|
return this.formElement.query(By.directive(MatButton));
|
|
1012
1100
|
}
|
|
1013
1101
|
get successMessage() {
|
|
1014
|
-
const debugElement = this.debugElement.query(ByUtil.and(By.directive(
|
|
1102
|
+
const debugElement = this.debugElement.query(ByUtil.and(By.directive(NoopAnimationMessageComponent), By.css(RISK_GOOD_SELECTOR)));
|
|
1015
1103
|
if (!debugElement) {
|
|
1016
1104
|
return null;
|
|
1017
1105
|
}
|
|
1018
1106
|
return new MessageComponentDef(debugElement);
|
|
1019
1107
|
}
|
|
1020
1108
|
get errorMessage() {
|
|
1021
|
-
const debugElement = this.debugElement.query(ByUtil.or(ByUtil.and(By.directive(
|
|
1109
|
+
const debugElement = this.debugElement.query(ByUtil.or(ByUtil.and(By.directive(NoopAnimationMessageComponent), By.css(RISK_ERROR_SELECTOR)), By.css('h3')));
|
|
1022
1110
|
if (!debugElement) {
|
|
1023
1111
|
return null;
|
|
1024
1112
|
}
|
|
@@ -1036,9 +1124,21 @@ class TestMessageHostComponent {
|
|
|
1036
1124
|
this.message = 'custom message';
|
|
1037
1125
|
}
|
|
1038
1126
|
}
|
|
1039
|
-
TestMessageHostComponent
|
|
1040
|
-
|
|
1041
|
-
|
|
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: `
|
|
1129
|
+
<risk-error [message]="message"></risk-error>
|
|
1130
|
+
<risk-good [message]="message"></risk-good>
|
|
1131
|
+
<risk-info [message]="message"></risk-info>
|
|
1132
|
+
<risk-message [message]="message"></risk-message>
|
|
1133
|
+
<risk-warn [message]="message"></risk-warn>
|
|
1134
|
+
<risk-initial-load [message]="message"></risk-initial-load>
|
|
1135
|
+
<risk-update-failed [message]="message"></risk-update-failed>
|
|
1136
|
+
<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: [{
|
|
1139
|
+
type: Component,
|
|
1140
|
+
args: [{
|
|
1141
|
+
template: `
|
|
1042
1142
|
<risk-error [message]="message"></risk-error>
|
|
1043
1143
|
<risk-good [message]="message"></risk-good>
|
|
1044
1144
|
<risk-info [message]="message"></risk-info>
|
|
@@ -1048,8 +1148,8 @@ TestMessageHostComponent.decorators = [
|
|
|
1048
1148
|
<risk-update-failed [message]="message"></risk-update-failed>
|
|
1049
1149
|
<risk-no-data [message]="message"></risk-no-data>
|
|
1050
1150
|
`
|
|
1051
|
-
|
|
1052
|
-
];
|
|
1151
|
+
}]
|
|
1152
|
+
}] });
|
|
1053
1153
|
class MessageHostedPage extends Page {
|
|
1054
1154
|
constructor(fixture) {
|
|
1055
1155
|
super(fixture);
|
|
@@ -1089,7 +1189,7 @@ class AuthRoutingFlowServiceStub extends AuthRoutingFlowService {
|
|
|
1089
1189
|
storage.authRequestedPath = null;
|
|
1090
1190
|
}
|
|
1091
1191
|
logout(state) {
|
|
1092
|
-
return this.authServiceStub.logout().pipe(defaultIfEmpty(), map(() => true));
|
|
1192
|
+
return this.authServiceStub.logout().pipe(defaultIfEmpty(0), map(() => true));
|
|
1093
1193
|
}
|
|
1094
1194
|
login(username, password) {
|
|
1095
1195
|
return this.authServiceStub.directLogin(username, password);
|
|
@@ -1098,13 +1198,19 @@ class AuthRoutingFlowServiceStub extends AuthRoutingFlowService {
|
|
|
1098
1198
|
return this.authServiceStub.loginViaAuthService();
|
|
1099
1199
|
}
|
|
1100
1200
|
}
|
|
1101
|
-
AuthRoutingFlowServiceStub
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
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: [{
|
|
1204
|
+
type: Injectable
|
|
1205
|
+
}], ctorParameters: function () {
|
|
1206
|
+
return [{ type: i1$3.AuthService, decorators: [{
|
|
1207
|
+
type: Inject,
|
|
1208
|
+
args: [AUTH_PROVIDER]
|
|
1209
|
+
}] }, { type: undefined, decorators: [{
|
|
1210
|
+
type: Inject,
|
|
1211
|
+
args: [AUTH_CONFIG]
|
|
1212
|
+
}] }];
|
|
1213
|
+
} });
|
|
1108
1214
|
|
|
1109
1215
|
const WELL_KNOWN = {
|
|
1110
1216
|
endpoints: {
|
|
@@ -1119,9 +1225,11 @@ class WellKnownServiceStub {
|
|
|
1119
1225
|
return of(WELL_KNOWN);
|
|
1120
1226
|
}
|
|
1121
1227
|
}
|
|
1122
|
-
WellKnownServiceStub
|
|
1123
|
-
|
|
1124
|
-
|
|
1228
|
+
WellKnownServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: WellKnownServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1229
|
+
WellKnownServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: WellKnownServiceStub });
|
|
1230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: WellKnownServiceStub, decorators: [{
|
|
1231
|
+
type: Injectable
|
|
1232
|
+
}] });
|
|
1125
1233
|
|
|
1126
1234
|
class AuthServiceStub extends AuthService {
|
|
1127
1235
|
constructor() {
|
|
@@ -1152,25 +1260,28 @@ class AuthServiceStub extends AuthService {
|
|
|
1152
1260
|
return EMPTY;
|
|
1153
1261
|
}
|
|
1154
1262
|
}
|
|
1155
|
-
AuthServiceStub
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1263
|
+
AuthServiceStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthServiceStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1264
|
+
AuthServiceStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthServiceStub });
|
|
1265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AuthServiceStub, decorators: [{
|
|
1266
|
+
type: Injectable
|
|
1267
|
+
}], ctorParameters: function () { return []; } });
|
|
1159
1268
|
|
|
1160
|
-
class
|
|
1269
|
+
class LoginMenuStubComponent {
|
|
1161
1270
|
constructor() {
|
|
1162
1271
|
this.orientation = 'row';
|
|
1163
1272
|
}
|
|
1164
1273
|
}
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
}
|
|
1274
|
+
LoginMenuStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LoginMenuStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1275
|
+
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 });
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LoginMenuStubComponent, decorators: [{
|
|
1277
|
+
type: Component,
|
|
1278
|
+
args: [{
|
|
1279
|
+
selector: 'login-menu, risk-login-menu',
|
|
1280
|
+
template: ''
|
|
1281
|
+
}]
|
|
1282
|
+
}], propDecorators: { orientation: [{
|
|
1283
|
+
type: Input
|
|
1284
|
+
}] } });
|
|
1174
1285
|
|
|
1175
1286
|
class ActivatedRouteStub {
|
|
1176
1287
|
constructor() {
|
|
@@ -1192,20 +1303,25 @@ class ActivatedRouteStub {
|
|
|
1192
1303
|
return { params: this.testParams };
|
|
1193
1304
|
}
|
|
1194
1305
|
}
|
|
1195
|
-
ActivatedRouteStub
|
|
1196
|
-
|
|
1197
|
-
|
|
1306
|
+
ActivatedRouteStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ActivatedRouteStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1307
|
+
ActivatedRouteStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ActivatedRouteStub });
|
|
1308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ActivatedRouteStub, decorators: [{
|
|
1309
|
+
type: Injectable
|
|
1310
|
+
}] });
|
|
1198
1311
|
|
|
1199
|
-
class
|
|
1312
|
+
class RouterOutletStubComponent {
|
|
1200
1313
|
}
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1314
|
+
RouterOutletStubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterOutletStubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1315
|
+
RouterOutletStubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: RouterOutletStubComponent, selector: "router-outlet", ngImport: i0, template: '', isInline: true });
|
|
1316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterOutletStubComponent, decorators: [{
|
|
1317
|
+
type: Component,
|
|
1318
|
+
args: [{
|
|
1319
|
+
/* eslint-disable @angular-eslint/component-selector */
|
|
1320
|
+
selector: 'router-outlet',
|
|
1321
|
+
/* eslint-enable */
|
|
1322
|
+
template: ''
|
|
1323
|
+
}]
|
|
1324
|
+
}] });
|
|
1209
1325
|
|
|
1210
1326
|
class Snapshot {
|
|
1211
1327
|
constructor(stub) {
|
|
@@ -1273,9 +1389,11 @@ class RouterStub {
|
|
|
1273
1389
|
return url.root.segments.map((segment) => segment.path).join('/');
|
|
1274
1390
|
}
|
|
1275
1391
|
}
|
|
1276
|
-
RouterStub
|
|
1277
|
-
|
|
1278
|
-
|
|
1392
|
+
RouterStub.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterStub, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1393
|
+
RouterStub.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterStub });
|
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: RouterStub, decorators: [{
|
|
1395
|
+
type: Injectable
|
|
1396
|
+
}] });
|
|
1279
1397
|
|
|
1280
1398
|
function stubRouter(customOverrides) {
|
|
1281
1399
|
const override = {
|
|
@@ -1283,7 +1401,7 @@ function stubRouter(customOverrides) {
|
|
|
1283
1401
|
imports: [],
|
|
1284
1402
|
declarations: [
|
|
1285
1403
|
RouterLinkStubDirective,
|
|
1286
|
-
|
|
1404
|
+
RouterOutletStubComponent
|
|
1287
1405
|
],
|
|
1288
1406
|
providers: [
|
|
1289
1407
|
{
|
|
@@ -1297,7 +1415,7 @@ function stubRouter(customOverrides) {
|
|
|
1297
1415
|
],
|
|
1298
1416
|
exports: [
|
|
1299
1417
|
RouterLinkStubDirective,
|
|
1300
|
-
|
|
1418
|
+
RouterOutletStubComponent
|
|
1301
1419
|
],
|
|
1302
1420
|
entryComponents: []
|
|
1303
1421
|
}
|
|
@@ -1357,41 +1475,59 @@ function fakeMatchMedia(matches = false) {
|
|
|
1357
1475
|
addEventListener: () => null,
|
|
1358
1476
|
removeListener: () => null,
|
|
1359
1477
|
removeEventListener: () => null,
|
|
1360
|
-
dispatchEvent: (
|
|
1478
|
+
dispatchEvent: () => true
|
|
1361
1479
|
});
|
|
1362
1480
|
}
|
|
1363
1481
|
|
|
1364
1482
|
class TestingModule {
|
|
1365
1483
|
}
|
|
1366
|
-
TestingModule
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1484
|
+
TestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1485
|
+
TestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestingModule, declarations: [DownloadTestComponent,
|
|
1486
|
+
TestDataTableHostComponent,
|
|
1487
|
+
HighLighterDirectiveTestComponent,
|
|
1488
|
+
TestLayoutHostComponent,
|
|
1489
|
+
RouterLinkStubDirective,
|
|
1490
|
+
TestMessageHostComponent,
|
|
1491
|
+
LoginMenuStubComponent,
|
|
1492
|
+
RouterOutletStubComponent], imports: [CommonViewModule,
|
|
1493
|
+
FileModule,
|
|
1494
|
+
DataTableModule] });
|
|
1495
|
+
TestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestingModule, imports: [[
|
|
1496
|
+
CommonViewModule,
|
|
1497
|
+
FileModule,
|
|
1498
|
+
DataTableModule
|
|
1499
|
+
]] });
|
|
1500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: TestingModule, decorators: [{
|
|
1501
|
+
type: NgModule,
|
|
1502
|
+
args: [{
|
|
1503
|
+
imports: [
|
|
1504
|
+
CommonViewModule,
|
|
1505
|
+
FileModule,
|
|
1506
|
+
DataTableModule
|
|
1507
|
+
],
|
|
1508
|
+
declarations: [
|
|
1509
|
+
DownloadTestComponent,
|
|
1510
|
+
TestDataTableHostComponent,
|
|
1511
|
+
HighLighterDirectiveTestComponent,
|
|
1512
|
+
TestLayoutHostComponent,
|
|
1513
|
+
RouterLinkStubDirective,
|
|
1514
|
+
TestMessageHostComponent,
|
|
1515
|
+
LoginMenuStubComponent,
|
|
1516
|
+
RouterOutletStubComponent
|
|
1517
|
+
]
|
|
1518
|
+
}]
|
|
1519
|
+
}] });
|
|
1385
1520
|
|
|
1386
1521
|
class CachedResourceProviderImpl extends ɵResourceLoaderImpl {
|
|
1387
1522
|
get(url) {
|
|
1388
|
-
|
|
1389
|
-
|
|
1523
|
+
const cacheElement = CachedResourceProviderImpl.cache[url];
|
|
1524
|
+
if (cacheElement) {
|
|
1525
|
+
return cacheElement;
|
|
1390
1526
|
}
|
|
1391
|
-
return from(super.get(url)).pipe(map((content) => {
|
|
1527
|
+
return firstValueFrom(from(super.get(url)).pipe(map((content) => {
|
|
1392
1528
|
CachedResourceProviderImpl.cache[url] = Promise.resolve(content);
|
|
1393
1529
|
return content;
|
|
1394
|
-
}))
|
|
1530
|
+
})));
|
|
1395
1531
|
}
|
|
1396
1532
|
}
|
|
1397
1533
|
CachedResourceProviderImpl.cache = {};
|
|
@@ -1429,5 +1565,4 @@ if ('beforeEach' in globalScope && globalScope.beforeEach) {
|
|
|
1429
1565
|
* Generated bundle index. Do not edit.
|
|
1430
1566
|
*/
|
|
1431
1567
|
|
|
1432
|
-
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,
|
|
1433
|
-
//# sourceMappingURL=dbg-riskit-angular-testing.js.map
|
|
1568
|
+
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 };
|