feat: add calendar with week numbers example (#5515)

This commit is contained in:
Sergey Andrievskiy 2019-09-20 16:14:25 +03:00 committed by GitHub
parent 90125abf92
commit 32422579d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 17 deletions

24
package-lock.json generated
View file

@ -1658,24 +1658,24 @@
"dev": true "dev": true
}, },
"@nebular/auth": { "@nebular/auth": {
"version": "4.1.2", "version": "4.3.1",
"resolved": "https://registry.npmjs.org/@nebular/auth/-/auth-4.1.2.tgz", "resolved": "https://registry.npmjs.org/@nebular/auth/-/auth-4.3.1.tgz",
"integrity": "sha512-fLCZgQwHgI3B8Zh4+y8R6n4WP+vyrrkDH9PkrNbAWU2eMUjOh4xobkGrFZRtu/XxMS/Apq5BKV2OxrLcEh4nEQ==" "integrity": "sha512-yRBRr88d9e7xKX+qKT3JxqhFIHoPI6Rm2RmbhgdxDgh2yrGiaDO+1DZrDXbZHlvtZ75Jr2meerJKLTVhIxRagA=="
}, },
"@nebular/eva-icons": { "@nebular/eva-icons": {
"version": "4.1.2", "version": "4.3.1",
"resolved": "https://registry.npmjs.org/@nebular/eva-icons/-/eva-icons-4.1.2.tgz", "resolved": "https://registry.npmjs.org/@nebular/eva-icons/-/eva-icons-4.3.1.tgz",
"integrity": "sha512-awIRdhtncfdJVsn1JqaZfDYM0OSeIl3PH+MQKDJ4sAw1ARAiAkfm9ia53XI/rDayhQS8rm4mK28xuXGXc/9DHw==" "integrity": "sha512-GxxhIbxfdTUyZ5xljMiN5vjqS2Ri+HJYu7IeE0dmL4C80TnN/qYRhqlWt8P26Vwl00oomuMBF4Dgy12b3Efw9g=="
}, },
"@nebular/security": { "@nebular/security": {
"version": "4.1.2", "version": "4.3.1",
"resolved": "https://registry.npmjs.org/@nebular/security/-/security-4.1.2.tgz", "resolved": "https://registry.npmjs.org/@nebular/security/-/security-4.3.1.tgz",
"integrity": "sha512-MdG6UkCyeiKTyzdk8gOWn8tNuZhIQPW01142l/DowSeNKiu/+Zmj8FbkM+0c1IobhLKrS/TdoUP/3SODWP9S4g==" "integrity": "sha512-7iRim2eLF9RjwYlmQvdFveuVa8JBfKjmCbkNV1CmWsP9T7rjomNDzKp+ij5p8YHHj/la52Pm/27s20ivsTS6dQ=="
}, },
"@nebular/theme": { "@nebular/theme": {
"version": "4.1.2", "version": "4.3.1",
"resolved": "https://registry.npmjs.org/@nebular/theme/-/theme-4.1.2.tgz", "resolved": "https://registry.npmjs.org/@nebular/theme/-/theme-4.3.1.tgz",
"integrity": "sha512-6V3Fk3dQTm9yJNe3wDh20ljZen8C9Btvmtuk/nQHdLOyWG7/Znkean1fgmjfEm/98rfgj01a6RksEVXYnfLcVQ==", "integrity": "sha512-c/isx60KxIEQaSTf7n24VIZc4eA6iYVJS9LE6z5+Xw5a6SAf73BES7pA7PFk9/n6uGbGMVqKZXP3wK1Hru10rA==",
"requires": { "requires": {
"intersection-observer": "0.5.0" "intersection-observer": "0.5.0"
} }

View file

@ -40,10 +40,10 @@
"@angular/platform-browser-dynamic": "^8.0.0", "@angular/platform-browser-dynamic": "^8.0.0",
"@angular/router": "^8.0.0", "@angular/router": "^8.0.0",
"@asymmetrik/ngx-leaflet": "3.0.1", "@asymmetrik/ngx-leaflet": "3.0.1",
"@nebular/auth": "4.1.2", "@nebular/auth": "4.3.1",
"@nebular/eva-icons": "4.1.2", "@nebular/eva-icons": "4.3.1",
"@nebular/security": "4.1.2", "@nebular/security": "4.3.1",
"@nebular/theme": "4.1.2", "@nebular/theme": "4.3.1",
"@swimlane/ngx-charts": "^10.0.0", "@swimlane/ngx-charts": "^10.0.0",
"angular-tree-component": "7.2.0", "angular-tree-component": "7.2.0",
"angular2-chartjs": "0.4.1", "angular2-chartjs": "0.4.1",

View file

@ -3,7 +3,7 @@
<span class="subtitle"> <span class="subtitle">
Selected date: {{ date | date }} Selected date: {{ date | date }}
</span> </span>
<nb-calendar [(date)]="date" [boundingMonth]="true"></nb-calendar> <nb-calendar [(date)]="date" [boundingMonth]="true" showWeekNumber></nb-calendar>
</div> </div>
<div class="calendar-container"> <div class="calendar-container">
<span class="subtitle"> <span class="subtitle">