Skip to content

Commit 92c902a

Browse files
authored
Merge pull request #337 from jdi-testing/4918-toggle-buttons
4918 toggle buttons
2 parents 2febb69 + 6abc54f commit 92c902a

File tree

611 files changed

+28659
-11921
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

611 files changed

+28659
-11921
lines changed

angular-site/browserslist renamed to angular-site/.browserslistrc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
# You can see what browsers were selected by your queries by running:
66
# npx browserslist
77

8-
> 0.5%
9-
last 2 versions
8+
last 2 Chrome versions
9+
last 1 Firefox version
10+
last 2 Edge major versions
11+
last 2 Safari major versions
12+
last 2 iOS major versions
1013
Firefox ESR
11-
not dead
12-
not IE 9-11 # For IE 9-11 support, remove 'not'.

angular-site/.eslintrc.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"parserOptions": {
12+
"project": [
13+
"tsconfig.json",
14+
"e2e/tsconfig.json"
15+
],
16+
"createDefaultProgram": true
17+
},
18+
"extends": [
19+
"plugin:@angular-eslint/recommended",
20+
"plugin:@angular-eslint/template/process-inline-templates"
21+
],
22+
"rules": {
23+
"@angular-eslint/component-selector": [
24+
"error",
25+
{
26+
"prefix": "app",
27+
"style": "kebab-case",
28+
"type": "element"
29+
}
30+
],
31+
"@angular-eslint/directive-selector": [
32+
"error",
33+
{
34+
"prefix": "app",
35+
"style": "camelCase",
36+
"type": "attribute"
37+
}
38+
]
39+
}
40+
},
41+
{
42+
"files": [
43+
"*.html"
44+
],
45+
"extends": [
46+
"plugin:@angular-eslint/template/recommended"
47+
],
48+
"rules": {}
49+
}
50+
]
51+
}

angular-site/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac
2525
## Further help
2626

2727
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
28+
29+
## For deploy in repo jdi-light
30+
31+
ng build --prod --base-href="/jdi-light/angular-page/"

angular-site/angular.json

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@
1818
"main": "src/main.ts",
1919
"polyfills": "src/polyfills.ts",
2020
"tsConfig": "tsconfig.app.json",
21-
"aot": true,
2221
"assets": [
2322
"src/favicon.ico",
2423
"src/angular/assets"
2524
],
2625
"styles": [
27-
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
26+
"@angular/material/prebuilt-themes/deeppurple-amber.css",
2827
"src/styles.css"
2928
],
3029
"scripts": []
@@ -40,7 +39,6 @@
4039
"optimization": true,
4140
"outputHashing": "none",
4241
"sourceMap": false,
43-
"extractCss": true,
4442
"namedChunks": false,
4543
"extractLicenses": true,
4644
"vendorChunk": true,
@@ -57,6 +55,14 @@
5755
"maximumError": "10kb"
5856
}
5957
]
58+
},
59+
"development": {
60+
"buildOptimizer": false,
61+
"optimization": false,
62+
"vendorChunk": true,
63+
"extractLicenses": false,
64+
"sourceMap": true,
65+
"namedChunks": true
6066
}
6167
}
6268
},
@@ -68,8 +74,12 @@
6874
"configurations": {
6975
"production": {
7076
"browserTarget": "my-app:build:production"
77+
},
78+
"development": {
79+
"browserTarget": "my-app:build:development"
7180
}
72-
}
81+
},
82+
"defaultConfiguration": "development"
7383
},
7484
"extract-i18n": {
7585
"builder": "@angular-devkit/build-angular:extract-i18n",
@@ -89,22 +99,18 @@
8999
"src/assets"
90100
],
91101
"styles": [
92-
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
102+
"@angular/material/prebuilt-themes/deeppurple-amber.css",
93103
"src/styles.css"
94104
],
95105
"scripts": []
96106
}
97107
},
98108
"lint": {
99-
"builder": "@angular-devkit/build-angular:tslint",
109+
"builder": "@angular-eslint/builder:lint",
100110
"options": {
101-
"tsConfig": [
102-
"tsconfig.app.json",
103-
"tsconfig.spec.json",
104-
"e2e/tsconfig.json"
105-
],
106-
"exclude": [
107-
"**/node_modules/**"
111+
"lintFilePatterns": [
112+
"src/**/*.ts",
113+
"src/**/*.html"
108114
]
109115
}
110116
},
@@ -123,5 +129,9 @@
123129
}
124130
}
125131
},
126-
"defaultProject": "my-app"
132+
"cli": {
133+
"schematicCollections": [
134+
"@angular-eslint/schematics"
135+
]
136+
}
127137
}

angular-site/e2e/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
55
"module": "commonjs",
6-
"target": "es5",
6+
"target": "es2018",
77
"types": [
88
"jasmine",
99
"jasminewd2",

0 commit comments

Comments
 (0)