@frxjs/ngx-timeline 1.0.12 → 1.1.0

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 (87) hide show
  1. package/README.md +1 -1
  2. package/bundles/frxjs-ngx-timeline.umd.js +701 -0
  3. package/bundles/frxjs-ngx-timeline.umd.js.map +1 -0
  4. package/esm2015/frxjs-ngx-timeline.js +8 -0
  5. package/esm2015/lib/components/index.js +3 -0
  6. package/esm2015/lib/components/ngx-timeline-event/ngx-timeline-event.component.js +55 -0
  7. package/esm2015/lib/components/ngx-timeline.component.js +146 -0
  8. package/esm2015/lib/models/NgxConfigObj.js +93 -0
  9. package/esm2015/lib/models/NgxTimelineEvent.js +6 -0
  10. package/esm2015/lib/models/index.js +3 -0
  11. package/esm2015/lib/ngx-timeline.module.js +23 -0
  12. package/esm2015/lib/pipes/index.js +2 -0
  13. package/esm2015/lib/pipes/ngx-date-pipe.js +28 -0
  14. package/esm2015/public-api.js +8 -0
  15. package/fesm2015/frxjs-ngx-timeline.js +349 -0
  16. package/fesm2015/frxjs-ngx-timeline.js.map +1 -0
  17. package/frxjs-ngx-timeline.d.ts +7 -0
  18. package/frxjs-ngx-timeline.metadata.json +1 -0
  19. package/{projects/ngx-timeline/src/lib/components/index.ts → lib/components/index.d.ts} +0 -0
  20. package/lib/components/ngx-timeline-event/ngx-timeline-event.component.d.ts +35 -0
  21. package/lib/components/ngx-timeline.component.d.ts +76 -0
  22. package/lib/models/NgxConfigObj.d.ts +59 -0
  23. package/lib/models/NgxTimelineEvent.d.ts +29 -0
  24. package/{projects/ngx-timeline/src/lib/models/index.ts → lib/models/index.d.ts} +0 -0
  25. package/lib/ngx-timeline.module.d.ts +2 -0
  26. package/{projects/ngx-timeline/src/lib/pipes/index.ts → lib/pipes/index.d.ts} +0 -0
  27. package/lib/pipes/ngx-date-pipe.d.ts +7 -0
  28. package/package.json +16 -51
  29. package/{projects/ngx-timeline/src/public-api.ts → public-api.d.ts} +0 -3
  30. package/.editorconfig +0 -16
  31. package/.github/workflows/CI-main.yml +0 -48
  32. package/angular.json +0 -178
  33. package/docs/3rdpartylicenses.txt +0 -268
  34. package/docs/assets/inter.png +0 -0
  35. package/docs/favicon.ico +0 -0
  36. package/docs/index.html +0 -13
  37. package/docs/main.6005a10000c87d7095d3.js +0 -1
  38. package/docs/polyfills.f8ddde825b13760c1743.js +0 -1
  39. package/docs/runtime.0e49e2b53282f40c8925.js +0 -1
  40. package/docs/styles.09e2c710755c8867a460.css +0 -0
  41. package/projects/demo-app/.browserslistrc +0 -17
  42. package/projects/demo-app/e2e/protractor.conf.js +0 -37
  43. package/projects/demo-app/e2e/src/app.e2e-spec.ts +0 -23
  44. package/projects/demo-app/e2e/src/app.po.ts +0 -11
  45. package/projects/demo-app/e2e/tsconfig.json +0 -13
  46. package/projects/demo-app/karma.conf.js +0 -44
  47. package/projects/demo-app/src/app/app.component.html +0 -90
  48. package/projects/demo-app/src/app/app.component.scss +0 -417
  49. package/projects/demo-app/src/app/app.component.spec.ts +0 -24
  50. package/projects/demo-app/src/app/app.component.ts +0 -147
  51. package/projects/demo-app/src/app/app.module.ts +0 -20
  52. package/projects/demo-app/src/assets/.gitkeep +0 -0
  53. package/projects/demo-app/src/assets/inter.png +0 -0
  54. package/projects/demo-app/src/environments/environment.prod.ts +0 -3
  55. package/projects/demo-app/src/environments/environment.ts +0 -16
  56. package/projects/demo-app/src/favicon.ico +0 -0
  57. package/projects/demo-app/src/index.html +0 -13
  58. package/projects/demo-app/src/main.ts +0 -12
  59. package/projects/demo-app/src/polyfills.ts +0 -63
  60. package/projects/demo-app/src/styles.scss +0 -1
  61. package/projects/demo-app/src/test.ts +0 -25
  62. package/projects/demo-app/tsconfig.app.json +0 -26
  63. package/projects/demo-app/tsconfig.spec.json +0 -18
  64. package/projects/demo-app/tslint.json +0 -17
  65. package/projects/ngx-timeline/README.md +0 -136
  66. package/projects/ngx-timeline/karma.conf.js +0 -44
  67. package/projects/ngx-timeline/ng-package.json +0 -7
  68. package/projects/ngx-timeline/package.json +0 -20
  69. package/projects/ngx-timeline/src/lib/components/ngx-timeline-event/ngx-timeline-event.component.html +0 -37
  70. package/projects/ngx-timeline/src/lib/components/ngx-timeline-event/ngx-timeline-event.component.scss +0 -197
  71. package/projects/ngx-timeline/src/lib/components/ngx-timeline-event/ngx-timeline-event.component.spec.ts +0 -89
  72. package/projects/ngx-timeline/src/lib/components/ngx-timeline-event/ngx-timeline-event.component.ts +0 -66
  73. package/projects/ngx-timeline/src/lib/components/ngx-timeline.component.html +0 -98
  74. package/projects/ngx-timeline/src/lib/components/ngx-timeline.component.spec.ts +0 -160
  75. package/projects/ngx-timeline/src/lib/components/ngx-timeline.component.ts +0 -187
  76. package/projects/ngx-timeline/src/lib/components/ngx-timeline.scss +0 -226
  77. package/projects/ngx-timeline/src/lib/models/NgxConfigObj.ts +0 -110
  78. package/projects/ngx-timeline/src/lib/models/NgxTimelineEvent.ts +0 -32
  79. package/projects/ngx-timeline/src/lib/ngx-timeline.module.ts +0 -21
  80. package/projects/ngx-timeline/src/lib/pipes/ngx-date-pipe.ts +0 -29
  81. package/projects/ngx-timeline/src/test.ts +0 -26
  82. package/projects/ngx-timeline/tsconfig.lib.json +0 -25
  83. package/projects/ngx-timeline/tsconfig.lib.prod.json +0 -10
  84. package/projects/ngx-timeline/tsconfig.spec.json +0 -17
  85. package/projects/ngx-timeline/tslint.json +0 -17
  86. package/tsconfig.json +0 -35
  87. package/tslint.json +0 -140
@@ -1,226 +0,0 @@
1
- $flex-display-col: 49 49 0;
2
- $flex-display-col-center: 2 2 0;
3
- $background-line: #464646;
4
- $background-orange: orange;
5
-
6
- .main-container {
7
- display: flex;
8
- justify-content: center;
9
- width: 100%
10
- }
11
-
12
- .items-container {
13
- padding: 1rem 0;
14
- min-width: max(20rem, 100%);
15
- }
16
-
17
- .row {
18
- display: -webkit-box;
19
- display: -webkit-flex;
20
- display: -ms-flexbox;
21
- display: flex;
22
- flex-wrap: wrap;
23
- }
24
-
25
- .row > [class*="col-"] {
26
- display: flex;
27
- flex-direction: column;
28
- justify-content: center;
29
- }
30
-
31
- .col-left {
32
- align-items: flex-end;
33
- padding: 0;
34
- flex: $flex-display-col;
35
- }
36
-
37
- .col-right {
38
- align-items: flex-start;
39
- padding: 0;
40
- flex: $flex-display-col;
41
- }
42
-
43
- .col-center {
44
- min-height: 6rem;
45
- padding: 0;
46
- flex: $flex-display-col-center;
47
- }
48
-
49
- .center-inner {
50
- width: 100%;
51
- display: flex;
52
- flex-direction: column;
53
- justify-content: center;
54
- align-items: center;
55
- height: 100%;
56
-
57
- .line {
58
- min-height: 50%;
59
- max-height: 50%;
60
- height: 50%;
61
- background: $background-line;
62
- width: 0.1rem;
63
-
64
- &.transparent {
65
- background: transparent;
66
- }
67
- }
68
- }
69
-
70
- .period-container {
71
- background: $background-orange;
72
- color: white;
73
- margin: 0;
74
- padding: 0.2rem 0.5rem;
75
-
76
- .period-inner-container {
77
- width: max-content;
78
- padding: 0.2rem 0.5rem;
79
- z-index: 10;
80
- }
81
- }
82
-
83
- .center-icon-container {
84
- padding: .8rem 0;
85
- display: flex;
86
- justify-content: center;
87
- align-items: center;
88
- position: absolute;
89
- height: 10px;
90
- width: 10px;
91
- background: white;
92
-
93
- .icon {
94
- height: 1rem;
95
- width: 1rem;
96
- border-radius: 50%;
97
- background: $background-orange;
98
- margin: 0;
99
- position: absolute;
100
- }
101
- }
102
-
103
- .event-outer-container {
104
- margin: 0 0.5rem;
105
- width: 100%;
106
- }
107
-
108
- .hour {
109
- padding: 0.5rem;
110
- background: none;
111
- display: flex;
112
- justify-content: center;
113
- align-items: center;
114
-
115
- &.right {
116
- justify-content: flex-start;
117
- }
118
-
119
- &.left {
120
- justify-content: flex-end;
121
- }
122
-
123
- .hour-inner-container {
124
- margin: 0;
125
- }
126
- }
127
-
128
- .desktop {
129
- display: flex !important;
130
- }
131
- .mobile {
132
- display: none !important;
133
- }
134
-
135
- @media (max-width: 900px) {
136
- .desktop {
137
- display: none !important;
138
- }
139
- .mobile {
140
- display: flex !important;
141
- }
142
-
143
- .event-outer-container {
144
- margin: 0.5rem 0.3rem;
145
- }
146
-
147
- .col-left {
148
- align-items: flex-start;
149
-
150
- .hour {
151
- font-size: 12px;
152
- padding: 0;
153
- margin-right: 0.3rem;
154
- }
155
-
156
- &.col-period {
157
- flex: 18 18 0;
158
- }
159
- &.col-event {
160
- flex: 18 18 0;
161
- padding: 0;
162
- align-items: flex-end;
163
- }
164
- }
165
-
166
- .col-right {
167
- align-items: flex-start;
168
-
169
- &.col-period {
170
- flex: 77 77 0;
171
- }
172
- &.col-event {
173
- flex: 77 77 0;
174
- padding: 0;
175
- }
176
- }
177
-
178
- .col-center {
179
- min-height: 6rem;
180
- justify-content: center;
181
- margin: 0;
182
-
183
- &.col-period {
184
- flex: 5 5 0;
185
- min-height: 3rem;
186
- }
187
- &.col-event {
188
- flex: 5 5 0;
189
- }
190
- }
191
-
192
- .center-inner {
193
- align-items: center;
194
- }
195
-
196
- .period-container {
197
- min-height: 20%;
198
- height: 20%;
199
- max-height: 20%;
200
- background: transparent;
201
- background: transparent;
202
- display: flex;
203
- justify-content: center;
204
- align-items: center;
205
- border-radius: 6px;
206
-
207
- .period-inner-container {
208
- position: absolute;
209
- background: $background-orange;
210
- color: white;
211
- width: max-content;
212
- padding: 0.2rem 0.5rem;
213
- z-index: 10;
214
- }
215
- }
216
-
217
- .center-icon-container {
218
- align-items: center;
219
- justify-content: center;
220
- .icon {
221
- height: 1rem;
222
- width: 1rem;
223
- position: absolute;
224
- }
225
- }
226
- }
@@ -1,110 +0,0 @@
1
- export let supportedLanguageCodes = ['en', 'it', 'fr', 'de', 'es'];
2
-
3
- export interface NgxConfigDate {
4
- code: string;
5
- dayMonthYear: string;
6
- fullDate: string;
7
- hoursMinutes: string;
8
- monthYear: string;
9
- year: string;
10
- }
11
-
12
- export interface NgxDateObjMap {
13
- [key: string]: NgxConfigDate;
14
- }
15
-
16
- export let dateConfigMap: NgxDateObjMap = {
17
- en: {
18
- code: 'en-US',
19
- fullDate: 'MM/dd/yyyy h:mm a',
20
- dayMonthYear: 'dd MMMM yyyy',
21
- monthYear: 'MMMM yyyy',
22
- year: 'yyyy',
23
- hoursMinutes: 'hh:mm a'
24
- },
25
- it: {
26
- code: 'it-IT',
27
- fullDate: 'dd/MM/yyyy H:mm',
28
- dayMonthYear: 'dd MMMM yyyy',
29
- monthYear: 'MMMM yyyy',
30
- year: 'yyyy',
31
- hoursMinutes: 'HH:mm'
32
- },
33
- fr: {
34
- code: 'fr-FR',
35
- fullDate: 'dd/MM/yyyy H:mm',
36
- dayMonthYear: 'dd MMMM yyyy',
37
- monthYear: 'MMMM yyyy',
38
- year: 'yyyy',
39
- hoursMinutes: 'HH:mm'
40
- },
41
- de: {
42
- code: 'de',
43
- fullDate: 'dd/MM/yyyy H:mm',
44
- dayMonthYear: 'dd MMMM yyyy',
45
- monthYear: 'MMMM yyyy',
46
- year: 'yyyy',
47
- hoursMinutes: 'HH:mm'
48
- },
49
- es: {
50
- code: 'es',
51
- fullDate: 'dd/MM/yyyy H:mm',
52
- dayMonthYear: 'dd MMMM yyyy',
53
- monthYear: 'MMMM yyyy',
54
- year: 'yyyy',
55
- hoursMinutes: 'HH:mm'
56
- }
57
- };
58
-
59
- export enum NgxDateFormat {
60
- DAY_MONTH_YEAR = 'DAY_MONTH_YEAR',
61
- FULL_DATE = 'FULL_DATE',
62
- MONTH_YEAR = 'MONTH_YEAR',
63
- HOURS_MINUTES = 'HOURS_MINUTES',
64
- YEAR = 'YEAR'
65
- }
66
-
67
- export let fieldConfigDate = {
68
- MONTH_YEAR: 'monthYear',
69
- YEAR: 'year',
70
- HOURS_MINUTES: 'hoursMinutes',
71
- FULL_DATE: 'fullDate',
72
- DAY_MONTH_YEAR: 'dayMonthYear'
73
- }
74
-
75
- /**
76
- * Enum used to set the group event logic
77
- */
78
- export enum NgxTimelineEventGroup {
79
- YEAR = 'YEAR',
80
- MONTH_YEAR = 'MONTH_YEAR',
81
- DAY_MONTH_YEAR = 'DAY_MONTH_YEAR'
82
- }
83
-
84
- export let fieldsToAddEventGroup = {
85
- YEAR: ['getFullYear'],
86
- MONTH_YEAR: ['getFullYear', 'getMonth'],
87
- DAY_MONTH_YEAR: ['getFullYear', 'getMonth', 'getDate']
88
- };
89
-
90
- export let periodKeyDateFormat = {
91
- YEAR: NgxDateFormat.YEAR,
92
- MONTH_YEAR: NgxDateFormat.MONTH_YEAR,
93
- DAY_MONTH_YEAR: NgxDateFormat.DAY_MONTH_YEAR,
94
- };
95
-
96
- /**
97
- * Enum used to set the change side event logic
98
- */
99
- export enum NgxTimelineEventChangeSideInGroup {
100
- ALL = 'ALL',
101
- ON_DIFFERENT_HMS = 'ON_DIFFERENT_HMS',
102
- ON_DIFFERENT_DAY = 'ON_DIFFERENT_DAY',
103
- ON_DIFFERENT_MONTH = 'ON_DIFFERENT_MONTH'
104
- }
105
-
106
- export let fieldsToCheckEventChangeSideInGroup = {
107
- ON_DIFFERENT_MONTH: ['getFullYear', 'getMonth'],
108
- ON_DIFFERENT_DAY: ['getFullYear', 'getMonth', 'getDate'],
109
- ON_DIFFERENT_HMS: ['getFullYear', 'getMonth', 'getDate', 'getHours', 'getMinutes', 'getSeconds']
110
- };
@@ -1,32 +0,0 @@
1
- /**
2
- * Event to be provided from outside the timeline
3
- */
4
- export interface NgxTimelineEvent {
5
- timestamp?: Date;
6
- title?: string;
7
- description?: string;
8
- id?: any;
9
- }
10
-
11
- export interface NgxTimelinePeriodInfo {
12
- periodKey?: string;
13
- year?: number;
14
- month?: number;
15
- day?: number;
16
- firstDate?: any;
17
- }
18
-
19
- /**
20
- * Item used inside the timeline
21
- */
22
- export interface NgxTimelineItem {
23
- type?: string;
24
- position?: NgxTimelineItemPosition.ON_LEFT | NgxTimelineItemPosition.ON_RIGHT;
25
- periodInfo?: NgxTimelinePeriodInfo;
26
- eventInfo?: NgxTimelineEvent;
27
- }
28
-
29
- export enum NgxTimelineItemPosition {
30
- ON_LEFT = 'ON_LEFT',
31
- ON_RIGHT = 'ON_RIGHT'
32
- }
@@ -1,21 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { NgxTimelineComponent } from './components/ngx-timeline.component';
3
- import { NgxTimelineEventComponent } from './components/ngx-timeline-event/ngx-timeline-event.component';
4
- import { CommonModule, registerLocaleData } from '@angular/common';
5
- import { NgxDatePipe } from './pipes/ngx-date-pipe';
6
- import localeIt from '@angular/common/locales/it';
7
- import localeFr from '@angular/common/locales/fr';
8
- import localeDe from '@angular/common/locales/de';
9
- import localeEs from '@angular/common/locales/es';
10
-
11
- registerLocaleData(localeIt);
12
- registerLocaleData(localeFr);
13
- registerLocaleData(localeDe);
14
- registerLocaleData(localeEs);
15
-
16
- @NgModule({
17
- declarations: [NgxTimelineComponent, NgxTimelineEventComponent, NgxDatePipe],
18
- imports: [CommonModule],
19
- exports: [NgxTimelineComponent, NgxDatePipe]
20
- })
21
- export class NgxTimelineModule { }
@@ -1,29 +0,0 @@
1
- import { DatePipe } from '@angular/common';
2
- import { Pipe, PipeTransform } from '@angular/core';
3
- import { NgxConfigDate, NgxDateObjMap, NgxDateFormat, supportedLanguageCodes, fieldConfigDate, dateConfigMap } from '../models';
4
-
5
- @Pipe({ name: 'ngxdate', pure: false })
6
- export class NgxDatePipe implements PipeTransform {
7
-
8
- constructor() {
9
- }
10
-
11
- transform(date: Date | string, dateFormat?: string, langCode?: string): string {
12
- let transformedDate = null;
13
- if (date) {
14
- const objDate = this.getDateConfig(langCode);
15
- transformedDate = new DatePipe(objDate.code).transform(new Date(date), this.dateFormat(dateFormat, objDate));
16
- }
17
- return transformedDate;
18
- }
19
-
20
- private dateFormat(dateFormat: string, configDate: NgxConfigDate): string {
21
- return configDate[fieldConfigDate[dateFormat]];
22
- }
23
-
24
- private getDateConfig(langCode: string): NgxConfigDate {
25
- const code = langCode || supportedLanguageCodes[0];
26
- const configDate = dateConfigMap[code] || dateConfigMap[supportedLanguageCodes[0]];
27
- return configDate;
28
- }
29
- }
@@ -1,26 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js';
4
- import 'zone.js/testing';
5
- import { getTestBed } from '@angular/core/testing';
6
- import {
7
- BrowserDynamicTestingModule,
8
- platformBrowserDynamicTesting
9
- } from '@angular/platform-browser-dynamic/testing';
10
-
11
- declare const require: {
12
- context(path: string, deep?: boolean, filter?: RegExp): {
13
- keys(): string[];
14
- <T>(id: string): T;
15
- };
16
- };
17
-
18
- // First, initialize the Angular testing environment.
19
- getTestBed().initTestEnvironment(
20
- BrowserDynamicTestingModule,
21
- platformBrowserDynamicTesting()
22
- );
23
- // Then we find all the tests.
24
- const context = require.context('./', true, /\.spec\.ts$/);
25
- // And load the modules.
26
- context.keys().map(context);
@@ -1,25 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/lib",
6
- "target": "es2015",
7
- "declaration": true,
8
- "declarationMap": true,
9
- "inlineSources": true,
10
- "types": [],
11
- "lib": [
12
- "dom",
13
- "es2018"
14
- ]
15
- },
16
- "angularCompilerOptions": {
17
- "skipTemplateCodegen": true,
18
- "strictMetadataEmit": true,
19
- "enableResourceInlining": true
20
- },
21
- "exclude": [
22
- "src/test.ts",
23
- "**/*.spec.ts"
24
- ]
25
- }
@@ -1,10 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "./tsconfig.lib.json",
4
- "compilerOptions": {
5
- "declarationMap": false
6
- },
7
- "angularCompilerOptions": {
8
- "enableIvy": false
9
- }
10
- }
@@ -1,17 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/spec",
6
- "types": [
7
- "jasmine"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts"
12
- ],
13
- "include": [
14
- "**/*.spec.ts",
15
- "**/*.d.ts"
16
- ]
17
- }
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../../tslint.json",
3
- "rules": {
4
- "directive-selector": [
5
- true,
6
- "attribute",
7
- "ngx",
8
- "camelCase"
9
- ],
10
- "component-selector": [
11
- true,
12
- "element",
13
- "ngx",
14
- "kebab-case"
15
- ]
16
- }
17
- }
package/tsconfig.json DELETED
@@ -1,35 +0,0 @@
1
- {
2
- "compileOnSave": false,
3
- "compilerOptions": {
4
- "baseUrl": "./",
5
- "outDir": "./dist/out-tsc",
6
- "forceConsistentCasingInFileNames": true,
7
- "preserveSymlinks": true,
8
- "strict": false,
9
- "noImplicitReturns": true,
10
- "noFallthroughCasesInSwitch": true,
11
- "sourceMap": true,
12
- "declaration": false,
13
- "downlevelIteration": true,
14
- "experimentalDecorators": true,
15
- "moduleResolution": "node",
16
- "importHelpers": true,
17
- "target": "es2015",
18
- "module": "es2020",
19
- "lib": [
20
- "es2018",
21
- "dom"
22
- ],
23
- "paths": {
24
- "ngx-timeline": [
25
- "dist/ngx-timeline/ngx-timeline",
26
- "dist/ngx-timeline"
27
- ]
28
- }
29
- },
30
- "angularCompilerOptions": {
31
- "strictInjectionParameters": true,
32
- "strictInputAccessModifiers": true,
33
- "strictTemplates": false
34
- }
35
- }
package/tslint.json DELETED
@@ -1,140 +0,0 @@
1
- {
2
- "extends": "tslint:recommended",
3
- "rulesDirectory": [
4
- "codelyzer"
5
- ],
6
- "rules": {
7
- "align": {
8
- "options": [
9
- "parameters",
10
- "statements"
11
- ]
12
- },
13
- "array-type": false,
14
- "arrow-return-shorthand": true,
15
- "curly": true,
16
- "deprecation": {
17
- "severity": "warning"
18
- },
19
- "eofline": true,
20
- "import-blacklist": [
21
- true,
22
- "rxjs/Rx"
23
- ],
24
- "import-spacing": true,
25
- "indent": {
26
- "options": [
27
- "spaces"
28
- ]
29
- },
30
- "max-classes-per-file": false,
31
- "max-line-length": [
32
- true,
33
- 140
34
- ],
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-console": [
47
- true,
48
- "debug",
49
- "info",
50
- "time",
51
- "timeEnd",
52
- "trace"
53
- ],
54
- "no-empty": false,
55
- "no-inferrable-types": [
56
- true,
57
- "ignore-params"
58
- ],
59
- "no-non-null-assertion": true,
60
- "no-redundant-jsdoc": true,
61
- "no-switch-case-fall-through": true,
62
- "no-var-requires": false,
63
- "object-literal-key-quotes": [
64
- true,
65
- "as-needed"
66
- ],
67
- "quotemark": [
68
- true,
69
- "single"
70
- ],
71
- "semicolon": {
72
- "options": [
73
- "always"
74
- ]
75
- },
76
- "space-before-function-paren": {
77
- "options": {
78
- "anonymous": "never",
79
- "asyncArrow": "always",
80
- "constructor": "never",
81
- "method": "never",
82
- "named": "never"
83
- }
84
- },
85
- "typedef": [
86
- true,
87
- "call-signature"
88
- ],
89
- "typedef-whitespace": {
90
- "options": [
91
- {
92
- "call-signature": "nospace",
93
- "index-signature": "nospace",
94
- "parameter": "nospace",
95
- "property-declaration": "nospace",
96
- "variable-declaration": "nospace"
97
- },
98
- {
99
- "call-signature": "onespace",
100
- "index-signature": "onespace",
101
- "parameter": "onespace",
102
- "property-declaration": "onespace",
103
- "variable-declaration": "onespace"
104
- }
105
- ]
106
- },
107
- "variable-name": {
108
- "options": [
109
- "ban-keywords",
110
- "check-format",
111
- "allow-pascal-case"
112
- ]
113
- },
114
- "whitespace": {
115
- "options": [
116
- "check-branch",
117
- "check-decl",
118
- "check-operator",
119
- "check-separator",
120
- "check-type",
121
- "check-typecast"
122
- ]
123
- },
124
- "component-class-suffix": true,
125
- "contextual-lifecycle": true,
126
- "directive-class-suffix": true,
127
- "no-conflicting-lifecycle": true,
128
- "no-host-metadata-property": true,
129
- "no-input-rename": true,
130
- "no-inputs-metadata-property": true,
131
- "no-output-native": true,
132
- "no-output-on-prefix": true,
133
- "no-output-rename": true,
134
- "no-outputs-metadata-property": true,
135
- "template-banana-in-box": true,
136
- "template-no-negated-async": true,
137
- "use-lifecycle-interface": true,
138
- "use-pipe-transform-interface": true
139
- }
140
- }