Update to Angular14 & PrimeNG 14

This commit is contained in:
Çetin 2022-07-25 17:30:29 +03:00
parent af7e863f4d
commit 2c7aa2917a
6 changed files with 25 additions and 19 deletions

View File

@ -5,6 +5,7 @@
- Folder structure updated. - Folder structure updated.
- Replace app.config.service by layout.service. - Replace app.config.service by layout.service.
- Updated to PrimeNG 14. - Updated to PrimeNG 14.
- Updated to Angular 14.
- Strict mode support added. - Strict mode support added.
- Documentation updated. - Documentation updated.
- Added max-width in large screens for landing. - Added max-width in large screens for landing.

View File

@ -108,5 +108,8 @@
} }
} }
}, },
"defaultProject": "sakai" "defaultProject": "sakai",
"cli": {
"analytics": false
}
} }

View File

@ -10,29 +10,29 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~13.0.0", "@angular/animations": "~14.0.0",
"@angular/cdk": "~13.0.0", "@angular/cdk": "~14.0.0",
"@angular/common": "~13.0.0", "@angular/common": "~14.0.0",
"@angular/compiler": "~13.0.0", "@angular/compiler": "~14.0.0",
"@angular/core": "~13.0.0", "@angular/core": "~14.0.0",
"@angular/forms": "~13.0.0", "@angular/forms": "~14.0.0",
"@angular/platform-browser": "~13.0.0", "@angular/platform-browser": "~14.0.0",
"@angular/platform-browser-dynamic": "~13.0.0", "@angular/platform-browser-dynamic": "~14.0.0",
"@angular/router": "~13.0.0", "@angular/router": "~14.0.0",
"chart.js": "^3.3.2", "chart.js": "^3.3.2",
"primeflex": "^3.2.0", "primeflex": "^3.2.0",
"primeicons": "5.0.0", "primeicons": "5.0.0",
"primeng": "13.4.0", "primeng": "14.0.0",
"prismjs": "1.9.0", "prismjs": "1.9.0",
"rxjs": "~7.4.0", "rxjs": "~7.5.0",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"web-animations-js": "^2.3.2", "web-animations-js": "^2.3.2",
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~13.0.4", "@angular-devkit/build-angular": "~14.0.3",
"@angular/cli": "~13.0.4", "@angular/cli": "~14.0.3",
"@angular/compiler-cli": "~13.0.0", "@angular/compiler-cli": "~14.0.0",
"@types/jasmine": "~3.10.0", "@types/jasmine": "~3.10.0",
"@types/jasminewd2": "~2.0.8", "@types/jasminewd2": "~2.0.8",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
@ -41,13 +41,13 @@
"jasmine-spec-reporter": "~5.0.0", "jasmine-spec-reporter": "~5.0.0",
"karma": "~6.3.0", "karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3", "karma-coverage": "~2.2.0",
"karma-coverage-istanbul-reporter": "~3.0.3", "karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~4.0.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0", "karma-jasmine-html-reporter": "~1.7.0",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "~4.4.3" "typescript": "~4.7.2"
} }
} }

View File

@ -203,7 +203,7 @@
</div> </div>
<div class="col-12 md:col-6"> <div class="col-12 md:col-6">
<div class="p-inputgroup"> <div class="p-inputgroup">
<span class="p-inputgroup-addon"><p-checkbox></p-checkbox></span> <span class="p-inputgroup-addon"><p-checkbox [(ngModel)]="valCheck2" [binary]="true"></p-checkbox></span>
<input type="text" pInputText placeholder="Username"> <input type="text" pInputText placeholder="Username">
</div> </div>
</div> </div>

View File

@ -67,6 +67,8 @@ export class InputDemoComponent implements OnInit {
valCheck: string[] = []; valCheck: string[] = [];
valCheck2: boolean = false;
valSwitch: boolean = false; valSwitch: boolean = false;
cities: SelectItem[] = []; cities: SelectItem[] = [];

View File

@ -22,6 +22,6 @@
&.p-toast-top-right, &.p-toast-top-right,
&.p-toast-top-left, &.p-toast-top-left,
&.p-toast-top-center { &.p-toast-top-center {
top: 70px; top: 75px;
} }
} }