ngx-relationship-visualiser 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/.env +2 -0
  2. package/.vscode/settings.json +3 -0
  3. package/angular.json +111 -0
  4. package/dist/README.md +356 -0
  5. package/dist/ngx-relationship-visualiser-1.0.2.tgz +0 -0
  6. package/dist/src/styles.scss +7 -0
  7. package/docs/3rdpartylicenses.txt +1600 -0
  8. package/docs/favicon.ico +1 -0
  9. package/docs/index.html +15 -0
  10. package/docs/main.js +1 -0
  11. package/docs/polyfills.js +1 -0
  12. package/docs/runtime.js +1 -0
  13. package/docs/scripts.js +11 -0
  14. package/docs/styles.css +6 -0
  15. package/ng-package.json +19 -0
  16. package/package.json +30 -16
  17. package/projects/ngx-relationship-visualiser-lib/lib/db/graphDatabase.ts +30 -0
  18. package/projects/ngx-relationship-visualiser-lib/lib/models/data.interface.ts +35 -0
  19. package/projects/ngx-relationship-visualiser-lib/lib/models/mocked-data.ts +150 -0
  20. package/projects/ngx-relationship-visualiser-lib/lib/ngx-relationship-visualiser.module.ts +15 -0
  21. package/projects/ngx-relationship-visualiser-lib/lib/visualiser/services/dagre-layout.service.ts +182 -0
  22. package/projects/ngx-relationship-visualiser-lib/lib/visualiser/services/visualiser-graph.service.ts +1025 -0
  23. package/projects/ngx-relationship-visualiser-lib/lib/visualiser/visualiser-graph/visualiser-graph.component.html +23 -0
  24. package/projects/ngx-relationship-visualiser-lib/lib/visualiser/visualiser-graph/visualiser-graph.component.scss +58 -0
  25. package/projects/ngx-relationship-visualiser-lib/lib/visualiser/visualiser-graph/visualiser-graph.component.ts +132 -0
  26. package/public_api.ts +2 -0
  27. package/src/app/app.component.html +6 -0
  28. package/src/app/app.component.ts +17 -0
  29. package/src/app/app.module.ts +16 -0
  30. package/src/environments/environment.prod.ts +3 -0
  31. package/src/environments/environment.ts +16 -0
  32. package/src/favicon.ico +1 -0
  33. package/src/index.html +15 -0
  34. package/src/main.ts +12 -0
  35. package/src/polyfills.ts +97 -0
  36. package/src/tsconfig.app.json +7 -0
  37. package/src/tslint.json +17 -0
  38. package/tsconfig.json +24 -0
  39. package/tslint.json +131 -0
  40. package/ngx-relationship-visualiser-1.0.1.tgz +0 -0
  41. /package/{esm2022 → dist/esm2022}/ngx-relationship-visualiser.mjs +0 -0
  42. /package/{esm2022 → dist/esm2022}/projects/ngx-relationship-visualiser-lib/lib/db/graphDatabase.mjs +0 -0
  43. /package/{esm2022 → dist/esm2022}/projects/ngx-relationship-visualiser-lib/lib/models/data.interface.mjs +0 -0
  44. /package/{esm2022 → dist/esm2022}/projects/ngx-relationship-visualiser-lib/lib/ngx-relationship-visualiser.module.mjs +0 -0
  45. /package/{esm2022 → dist/esm2022}/projects/ngx-relationship-visualiser-lib/lib/visualiser/services/dagre-layout.service.mjs +0 -0
  46. /package/{esm2022 → dist/esm2022}/projects/ngx-relationship-visualiser-lib/lib/visualiser/services/visualiser-graph.service.mjs +0 -0
  47. /package/{esm2022 → dist/esm2022}/projects/ngx-relationship-visualiser-lib/lib/visualiser/visualiser-graph/visualiser-graph.component.mjs +0 -0
  48. /package/{esm2022 → dist/esm2022}/public_api.mjs +0 -0
  49. /package/{fesm2022 → dist/fesm2022}/ngx-relationship-visualiser.mjs +0 -0
  50. /package/{fesm2022 → dist/fesm2022}/ngx-relationship-visualiser.mjs.map +0 -0
  51. /package/{index.d.ts → dist/index.d.ts} +0 -0
  52. /package/{projects → dist/projects}/ngx-relationship-visualiser-lib/lib/db/graphDatabase.d.ts +0 -0
  53. /package/{projects → dist/projects}/ngx-relationship-visualiser-lib/lib/models/data.interface.d.ts +0 -0
  54. /package/{projects → dist/projects}/ngx-relationship-visualiser-lib/lib/ngx-relationship-visualiser.module.d.ts +0 -0
  55. /package/{projects → dist/projects}/ngx-relationship-visualiser-lib/lib/visualiser/services/dagre-layout.service.d.ts +0 -0
  56. /package/{projects → dist/projects}/ngx-relationship-visualiser-lib/lib/visualiser/services/visualiser-graph.service.d.ts +0 -0
  57. /package/{projects → dist/projects}/ngx-relationship-visualiser-lib/lib/visualiser/visualiser-graph/visualiser-graph.component.d.ts +0 -0
  58. /package/{public_api.d.ts → dist/public_api.d.ts} +0 -0
@@ -0,0 +1,23 @@
1
+ <div class="page" id="pageId" (window:resize)="onResize($event)">
2
+ <div class="buttonBar" [style.right]="buttonBarRightPosition">
3
+ <div class="d-flex justify-content-end">
4
+ <div class="btn-group" role="group" aria-label="Controls">
5
+ <button type="button" id="save_graph" class="m-3 btn btn-secondary" data-toggle="tooltip" data-placement="top"
6
+ title="Save data" (click)="onConfirmSave()">
7
+ <i class="bi bi-save"></i>
8
+ </button>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ <!-- Zoom indicator-->
13
+ <div *ngIf="zoom" class="zoomIndicator">
14
+ <span id="zoom_level"></span>
15
+ </div>
16
+ <!-- Save confirmation-->
17
+ <div *ngIf="showConfirmation" class="confirmation-message-container">
18
+ <div class="alert alert-success confirmation-message" role="alert" [ngClass]="{ 'fade-out': !showConfirmation }">
19
+ Saved <i class="bi bi-check-circle"></i>
20
+ </div>
21
+ </div>
22
+ <svg #svgId [attr.width]="width" height="780"></svg>
23
+ </div>
@@ -0,0 +1,58 @@
1
+ #zoom_level {
2
+ position: relative;
3
+ background-color: rgba(0, 0, 0, 0.8);
4
+ color: #fff;
5
+ padding: 5px;
6
+ border-radius: 5px;
7
+ opacity: 0;
8
+ transition: opacity 1s ease-in-out;
9
+ }
10
+
11
+ .zoomIndicator {
12
+ position: absolute;
13
+ left: 0px;
14
+ padding: 10px
15
+ }
16
+
17
+ .buttonBar {
18
+ position: absolute;
19
+ padding: 10px
20
+ }
21
+
22
+ .confirmation-message-container {
23
+ position: absolute;
24
+ left: 50%;
25
+ transform: translateX(-50%);
26
+ }
27
+
28
+ .confirmation-message {
29
+ position: relative;
30
+ top: 60px;
31
+ opacity: 0;
32
+ /* Start with 0 opacity */
33
+ animation: fade-in 0.5s ease-in-out forwards;
34
+ }
35
+
36
+ @keyframes fade-in {
37
+ 0% {
38
+ opacity: 0;
39
+ }
40
+
41
+ 100% {
42
+ opacity: 1;
43
+ }
44
+ }
45
+
46
+ .fade-out {
47
+ animation: fade-out 0.5s ease-in-out forwards;
48
+ }
49
+
50
+ @keyframes fade-out {
51
+ 0% {
52
+ opacity: 1;
53
+ }
54
+
55
+ 100% {
56
+ opacity: 0;
57
+ }
58
+ }
@@ -0,0 +1,132 @@
1
+ import {
2
+ Component,
3
+ ViewChild,
4
+ ElementRef,
5
+ Input,
6
+ Output,
7
+ EventEmitter,
8
+ OnInit
9
+ } from '@angular/core';
10
+ import { VisualiserGraphService } from '../services/visualiser-graph.service';
11
+ import { DagreNodesOnlyLayout } from '../services/dagre-layout.service';
12
+ import { Data } from '../../models/data.interface';
13
+ import { DexieService } from '../../db/graphDatabase';
14
+ declare var bootbox: any;
15
+
16
+ @Component({
17
+ selector: 'visualiser-graph',
18
+ templateUrl: "./visualiser-graph.component.html",
19
+ styleUrls: ["./visualiser-graph.component.scss"],
20
+ })
21
+ export class VisualiserGraphComponent implements OnInit {
22
+ @ViewChild('svgId') graphElement: ElementRef;
23
+ @Output() saveGraphDataEvent = new EventEmitter<any>();
24
+ public saveGraphData;
25
+
26
+ public width;
27
+ public savedGraphData: Data;
28
+ public showConfirmation: boolean = false;
29
+ public buttonBarRightPosition: string;
30
+
31
+ @Input() zoom: boolean = true;
32
+ @Input() zoomToFit: boolean = false;
33
+ constructor(
34
+ readonly visualiserGraphService: VisualiserGraphService,
35
+ readonly dagreNodesOnlyLayout: DagreNodesOnlyLayout,
36
+ private dexieService: DexieService
37
+ ) { }
38
+
39
+ @Input()
40
+ set data(data: Data) {
41
+ if (!data || !data.dataId) {
42
+ console.error('Invalid data input');
43
+ return;
44
+ }
45
+
46
+ this.savedGraphData = data;
47
+
48
+ // Timeout: The input arrives before the svg is rendered, therefore the nativeElement does not exist
49
+ setTimeout(async () => {
50
+ this.dagreNodesOnlyLayout.renderLayout(data);
51
+ // Take a copy of input for reset
52
+ await this.dexieService.saveGraphData(data);
53
+
54
+ this.visualiserGraphService.update(
55
+ data,
56
+ this.graphElement.nativeElement,
57
+ this.zoom,
58
+ this.zoomToFit
59
+ );
60
+ }, 500);
61
+ }
62
+
63
+ public ngOnInit() {
64
+ this.updateWidth();
65
+ this.buttonBarRightPosition = '0';
66
+ // Initialize with default empty data if no data is provided
67
+ if (!this.savedGraphData) {
68
+ console.warn('No data provided, using empty data set');
69
+ this.data = {
70
+ dataId: '1',
71
+ nodes: [],
72
+ links: [],
73
+ };
74
+ }
75
+ }
76
+
77
+ public onResize(event): void {
78
+ this.updateWidth();
79
+ }
80
+
81
+ public updateWidth(): void {
82
+ this.width = document.getElementById('pageId').offsetWidth;
83
+ }
84
+
85
+ public async onConfirmSave(): Promise<void> {
86
+ if (!this.savedGraphData) {
87
+ console.error('savedGraphData is not set');
88
+ return;
89
+ }
90
+
91
+ bootbox.confirm({
92
+ title: "Save Graph",
93
+ centerVertical: true,
94
+ message: "Are you sure you want to save the graph?",
95
+ buttons: {
96
+ confirm: {
97
+ label: 'Yes',
98
+ className: 'btn-success'
99
+ },
100
+ cancel: {
101
+ label: 'No',
102
+ className: 'btn-danger'
103
+ }
104
+ },
105
+ callback: async (result) => {
106
+ if (result) {
107
+ this.visualiserGraphService.saveGraphData.subscribe((saveGraphData) => {
108
+ this.saveGraphData = saveGraphData;
109
+ });
110
+
111
+ this.saveGraphDataEvent.emit(this.saveGraphData);
112
+
113
+ this.disableButtons(true);
114
+ this.data = this.saveGraphData;
115
+ this.showConfirmationMessage();
116
+ }
117
+ }
118
+ });
119
+ }
120
+ private disableButtons(disabled: boolean): void {
121
+ document.querySelectorAll('#save_graph, #reset_graph').forEach(btn => {
122
+ btn.setAttribute('disabled', String(disabled));
123
+ });
124
+ }
125
+
126
+ private showConfirmationMessage(): void {
127
+ this.showConfirmation = true;
128
+ setTimeout(() => {
129
+ this.showConfirmation = false;
130
+ }, 3000);
131
+ }
132
+ }
package/public_api.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './projects/ngx-relationship-visualiser-lib/lib/ngx-relationship-visualiser.module';
2
+ export * from './projects/ngx-relationship-visualiser-lib/lib/visualiser/visualiser-graph/visualiser-graph.component';
@@ -0,0 +1,6 @@
1
+ <visualiser-graph
2
+ [data]="mockedData"
3
+ [zoom]="true"
4
+ [zoomToFit]="false"
5
+ (saveGraphDataEvent)="saveGraphData($event)"
6
+ ></visualiser-graph>
@@ -0,0 +1,17 @@
1
+ import { Component } from '@angular/core';
2
+ import { Data } from '../../projects/ngx-relationship-visualiser-lib/lib/models/data.interface';
3
+ import { MOCKEDDATA } from '../../projects/ngx-relationship-visualiser-lib/lib/models/mocked-data';
4
+
5
+ @Component({
6
+ selector: 'app-root',
7
+ templateUrl: './app.component.html'
8
+ })
9
+ export class AppComponent {
10
+
11
+ public title = 'ngx-relationship-visualiser';
12
+ public mockedData: Data = MOCKEDDATA;
13
+
14
+ public saveGraphData(data) {
15
+ console.log("saved Data", data);
16
+ }
17
+ }
@@ -0,0 +1,16 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { BrowserModule } from '@angular/platform-browser';
3
+ import { AppComponent } from './app.component';
4
+ import { NgxRelationshipVisualiserModule } from '../../projects/ngx-relationship-visualiser-lib/lib/ngx-relationship-visualiser.module';
5
+
6
+ @NgModule({
7
+ declarations: [
8
+ AppComponent,
9
+ ],
10
+ imports: [
11
+ BrowserModule,
12
+ NgxRelationshipVisualiserModule
13
+ ],
14
+ bootstrap: [AppComponent]
15
+ })
16
+ export class AppModule { }
@@ -0,0 +1,3 @@
1
+ export const environment = {
2
+ production: true
3
+ };
@@ -0,0 +1,16 @@
1
+ // This file can be replaced during build by using the `fileReplacements` array.
2
+ // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3
+ // The list of file replacements can be found in `angular.json`.
4
+
5
+ export const environment = {
6
+ production: false
7
+ };
8
+
9
+ /*
10
+ * For easier debugging in development mode, you can import the following file
11
+ * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
12
+ *
13
+ * This import should be commented out in production mode because it will have a negative impact
14
+ * on performance if an error is thrown.
15
+ */
16
+ // import 'zone.js/dist/zone-error'; // Included with Angular CLI.
@@ -0,0 +1 @@
1
+ https://cdn.rawgit.com/LironHazan/directed-graph-flow-experiments/16fd547619e86a84221557c9eb1ec114da38f4b5/ng-directed-graph-experiment/src/favicon.ico
package/src/index.html ADDED
@@ -0,0 +1,15 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>ngx-relationship-visualiser</title>
6
+ <base href="/">
7
+
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
10
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
11
+ </head>
12
+ <body>
13
+ <app-root></app-root>
14
+ </body>
15
+ </html>
package/src/main.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { enableProdMode } from '@angular/core';
2
+ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
+
4
+ import { AppModule } from './app/app.module';
5
+ import { environment } from './environments/environment';
6
+
7
+ if (environment.production) {
8
+ enableProdMode();
9
+ }
10
+
11
+ platformBrowserDynamic().bootstrapModule(AppModule)
12
+ .catch(err => console.error(err));
@@ -0,0 +1,97 @@
1
+ /**
2
+ * This file includes polyfills needed by Angular and is loaded before the app.
3
+ * You can add your own extra polyfills to this file.
4
+ *
5
+ * This file is divided into 2 sections:
6
+ * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7
+ * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8
+ * file.
9
+ *
10
+ * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11
+ * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12
+ * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13
+ *
14
+ * Learn more in https://angular.io/guide/browser-support
15
+ */
16
+
17
+ /***************************************************************************************************
18
+ * BROWSER POLYFILLS
19
+ */
20
+
21
+ /** IE9, IE10 and IE11 requires all of the following polyfills. **/
22
+ // import 'core-js/es6/symbol';
23
+ // import 'core-js/es6/object';
24
+ // import 'core-js/es6/function';
25
+ // import 'core-js/es6/parse-int';
26
+ // import 'core-js/es6/parse-float';
27
+ // import 'core-js/es6/number';
28
+ // import 'core-js/es6/math';
29
+ // import 'core-js/es6/string';
30
+ // import 'core-js/es6/date';
31
+ // import 'core-js/es6/array';
32
+ // import 'core-js/es6/regexp';
33
+ // import 'core-js/es6/map';
34
+ // import 'core-js/es6/weak-map';
35
+ // import 'core-js/es6/set';
36
+
37
+ /**
38
+ * If the application will be indexed by Google Search, the following is required.
39
+ * Googlebot uses a renderer based on Chrome 41.
40
+ * https://developers.google.com/search/docs/guides/rendering
41
+ **/
42
+ // import 'core-js/es6/array';
43
+
44
+ /** IE10 and IE11 requires the following for NgClass support on SVG elements */
45
+ // import 'classlist.js'; // Run `npm install --save classlist.js`.
46
+
47
+ /** IE10 and IE11 requires the following for the Reflect API. */
48
+ // import 'core-js/es6/reflect';
49
+
50
+ /**
51
+ * Web Animations `@angular/platform-browser/animations`
52
+ * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
53
+ * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
54
+ **/
55
+ // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
56
+
57
+ /**
58
+ * By default, zone.js will patch all possible macroTask and DomEvents
59
+ * user can disable parts of macroTask/DomEvents patch by setting following flags
60
+ * because those flags need to be set before `zone.js` being loaded, and webpack
61
+ * will put import in the top of bundle, so user need to create a separate file
62
+ * in this directory (for example: zone-flags.ts), and put the following flags
63
+ * into that file, and then add the following code before importing zone.js.
64
+ * import './zone-flags.ts';
65
+ *
66
+ * The flags allowed in zone-flags.ts are listed here.
67
+ *
68
+ * The following flags will work for all browsers.
69
+ *
70
+ * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
71
+ * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
72
+ * (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
73
+ *
74
+ * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
75
+ * with the following flag, it will bypass `zone.js` patch for IE/Edge
76
+ *
77
+ * (window as any).__Zone_enable_cross_context_check = true;
78
+ *
79
+ */
80
+
81
+ /***************************************************************************************************
82
+ * Zone JS is required by default for Angular itself.
83
+ */
84
+ import 'zone.js';
85
+
86
+
87
+ /***************************************************************************************************
88
+ * Suppress 3rd party benign warnings
89
+ */
90
+
91
+ const originalWarn = console.warn;
92
+ console.warn = function (...args) {
93
+ if (args[0]?.includes('Unknown pseudo-class :lang')) {
94
+ return;
95
+ }
96
+ originalWarn.apply(console, args);
97
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../out-tsc/app",
5
+ "types": []
6
+ }
7
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "extends": "../tslint.json",
3
+ "rules": {
4
+ "directive-selector": [
5
+ true,
6
+ "attribute",
7
+ "app",
8
+ "camelCase"
9
+ ],
10
+ "component-selector": [
11
+ true,
12
+ "element",
13
+ "app",
14
+ "kebab-case"
15
+ ]
16
+ }
17
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "compileOnSave": false,
3
+ "compilerOptions": {
4
+ "baseUrl": "./",
5
+ "outDir": "./dist/out-tsc",
6
+ "sourceMap": true,
7
+ "declaration": false,
8
+ "module": "ESNext",
9
+ "moduleResolution": "node",
10
+ "emitDecoratorMetadata": true,
11
+ "experimentalDecorators": true,
12
+ "importHelpers": true,
13
+ "target": "ES2022",
14
+ "typeRoots": ["node_modules/@types"],
15
+ "lib": ["ES2018", "dom"],
16
+ "paths": {
17
+ "ngx-relationship-visualiser": ["docs"],
18
+ "ngx-relationship-visualiser/*": ["docs/*"]
19
+ },
20
+ },
21
+ "angularCompilerOptions": {
22
+ "strictTemplates": true
23
+ }
24
+ }
package/tslint.json ADDED
@@ -0,0 +1,131 @@
1
+ {
2
+ "rulesDirectory": [
3
+ "codelyzer"
4
+ ],
5
+ "rules": {
6
+ "arrow-return-shorthand": true,
7
+ "callable-types": true,
8
+ "class-name": true,
9
+ "comment-format": [
10
+ true,
11
+ "check-space"
12
+ ],
13
+ "curly": true,
14
+ "deprecation": {
15
+ "severity": "warn"
16
+ },
17
+ "eofline": true,
18
+ "forin": true,
19
+ "import-blacklist": [
20
+ true,
21
+ "rxjs/Rx"
22
+ ],
23
+ "import-spacing": true,
24
+ "indent": [
25
+ true,
26
+ "spaces"
27
+ ],
28
+ "interface-over-type-literal": true,
29
+ "label-position": true,
30
+ "max-line-length": [
31
+ true,
32
+ 140
33
+ ],
34
+ "member-access": false,
35
+ "member-ordering": [
36
+ true,
37
+ {
38
+ "order": [
39
+ "static-field",
40
+ "instance-field",
41
+ "static-method",
42
+ "instance-method"
43
+ ]
44
+ }
45
+ ],
46
+ "no-arg": true,
47
+ "no-bitwise": true,
48
+ "no-console": [
49
+ true,
50
+ "debug",
51
+ "info",
52
+ "time",
53
+ "timeEnd",
54
+ "trace"
55
+ ],
56
+ "no-construct": true,
57
+ "no-debugger": true,
58
+ "no-duplicate-super": true,
59
+ "no-empty": false,
60
+ "no-empty-interface": true,
61
+ "no-eval": true,
62
+ "no-inferrable-types": [
63
+ true,
64
+ "ignore-params"
65
+ ],
66
+ "no-misused-new": true,
67
+ "no-non-null-assertion": true,
68
+ "no-redundant-jsdoc": true,
69
+ "no-shadowed-variable": true,
70
+ "no-string-literal": false,
71
+ "no-string-throw": true,
72
+ "no-switch-case-fall-through": true,
73
+ "no-trailing-whitespace": true,
74
+ "no-unnecessary-initializer": true,
75
+ "no-unused-expression": true,
76
+ "no-use-before-declare": true,
77
+ "no-var-keyword": true,
78
+ "object-literal-sort-keys": false,
79
+ "one-line": [
80
+ true,
81
+ "check-open-brace",
82
+ "check-catch",
83
+ "check-else",
84
+ "check-whitespace"
85
+ ],
86
+ "prefer-const": true,
87
+ "quotemark": [
88
+ true,
89
+ "single"
90
+ ],
91
+ "radix": true,
92
+ "semicolon": [
93
+ true,
94
+ "always"
95
+ ],
96
+ "triple-equals": [
97
+ true,
98
+ "allow-null-check"
99
+ ],
100
+ "typedef-whitespace": [
101
+ true,
102
+ {
103
+ "call-signature": "nospace",
104
+ "index-signature": "nospace",
105
+ "parameter": "nospace",
106
+ "property-declaration": "nospace",
107
+ "variable-declaration": "nospace"
108
+ }
109
+ ],
110
+ "unified-signatures": true,
111
+ "variable-name": false,
112
+ "whitespace": [
113
+ true,
114
+ "check-branch",
115
+ "check-decl",
116
+ "check-operator",
117
+ "check-separator",
118
+ "check-type"
119
+ ],
120
+ "no-output-on-prefix": true,
121
+ "use-input-property-decorator": true,
122
+ "use-output-property-decorator": true,
123
+ "use-host-property-decorator": true,
124
+ "no-input-rename": true,
125
+ "no-output-rename": true,
126
+ "use-life-cycle-interface": true,
127
+ "use-pipe-transform-interface": true,
128
+ "component-class-suffix": true,
129
+ "directive-class-suffix": true
130
+ }
131
+ }
File without changes
File without changes
File without changes