ng2-datetime
Advanced tools
Comparing version 1.2.0 to 1.2.1
export * from './src/ng2-datetime/ng2-datetime'; | ||
export * from './src/ng2-datetime/ng2-datetime.module'; |
export { NKDatetime } from './src/ng2-datetime/ng2-datetime'; | ||
export { NKDatetimeModule } from './src/ng2-datetime/ng2-datetime.module'; |
{ | ||
"name": "ng2-datetime", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Bootstrap datetime picker for Angular2", | ||
@@ -20,6 +20,4 @@ "main": "ng2-datetime.js", | ||
"lite": "lite-server", | ||
"postinstall": "typings install", | ||
"tsc": "tsc", | ||
"tsc:w": "tsc -w", | ||
"typings": "typings" | ||
"tsc:w": "tsc -w" | ||
}, | ||
@@ -32,8 +30,15 @@ "license": "ISC", | ||
"dependencies": { | ||
"@angular/common": "2.0.0", | ||
"@angular/compiler": "2.0.0", | ||
"@angular/core": "2.0.0", | ||
"@angular/forms": "2.0.0", | ||
"@angular/platform-browser": "2.0.0", | ||
"@angular/platform-browser-dynamic": "2.0.0", | ||
"jquery": ">=2.2.1", | ||
"bootstrap": ">=3.0.0", | ||
"bootstrap-datepicker": "^1.6.0", | ||
"bootstrap-timepicker": "^0.5.2" | ||
}, | ||
"devDependencies": { | ||
"@angular/common": "^2.0.0", | ||
"@angular/compiler": "^2.0.0", | ||
"@angular/core": "^2.0.0", | ||
"@angular/forms": "^2.0.0", | ||
"@angular/platform-browser": "^2.0.0", | ||
"@angular/platform-browser-dynamic": "^2.0.0", | ||
"zone.js": "^0.6.23", | ||
"core-js": "^2.4.1", | ||
@@ -43,9 +48,2 @@ "reflect-metadata": "^0.1.3", | ||
"systemjs": "0.19.27", | ||
"zone.js": "^0.6.23", | ||
"jquery": "^2.2.1", | ||
"bootstrap": "^3.3.6", | ||
"bootstrap-datepicker": "^1.6.0", | ||
"bootstrap-timepicker": "^0.5.2" | ||
}, | ||
"devDependencies": { | ||
"jasmine-core": "^2.4.1", | ||
@@ -52,0 +50,0 @@ "karma": "^0.13.22", |
@@ -6,3 +6,3 @@ # ng2-datetime | ||
##### DEMO: https://nkalinov.github.io/ng2-datetime | ||
##### Demo and docs: https://nkalinov.github.io/ng2-datetime | ||
@@ -24,8 +24,8 @@ ## Dependencies | ||
1. import some way or another the required dependencies | ||
2. `import {NKDatetime} from 'ng2-datetime/ng2-datetime';` | ||
3. Add to your component's directives property | ||
2. `import { NKDatetimeModule } from 'ng2-datetime/ng2-datetime';` | ||
3. Add it to your app module's `imports` property | ||
``` | ||
@Component({ | ||
@NgModule({ | ||
... | ||
directives: [NKDatetime], | ||
imports: [NKDatetimeModule, ...], | ||
... | ||
@@ -36,3 +36,3 @@ }) | ||
See the [__DEMO__](https://nkalinov.github.io/ng2-datetime) and it [__source__](https://github.com/nkalinov/ng2-datetime/tree/master/demo) for more information. | ||
See the [__DEMO__](https://nkalinov.github.io/ng2-datetime) and it [__source__](https://github.com/nkalinov/ng2-datetime/tree/master/demo) for more info and available options. | ||
@@ -45,4 +45,1 @@ ## Contributing | ||
- @eternicode for the [datepicker plugin](https://github.com/eternicode/bootstrap-datepicker) | ||
### TODO: | ||
- test ControlValueAccessor |
@@ -185,7 +185,7 @@ "use strict"; | ||
core_1.Input('hasClearButton'), | ||
__metadata('design:type', Object) | ||
__metadata('design:type', Boolean) | ||
], NKDatetime.prototype, "hasClearButton", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata('design:type', Object) | ||
__metadata('design:type', Boolean) | ||
], NKDatetime.prototype, "readonly", void 0); | ||
@@ -192,0 +192,0 @@ __decorate([ |
@@ -0,0 +0,0 @@ import { NgModule } from '@angular/core'; |
@@ -45,6 +45,6 @@ import { | ||
@Input('hasClearButton') | ||
hasClearButton = false; | ||
hasClearButton: boolean = false; | ||
@Input() | ||
readonly = null; | ||
readonly: boolean = null; | ||
@@ -51,0 +51,0 @@ date: Date; // ngModel |
@@ -0,0 +0,0 @@ /*! |
@@ -0,0 +0,0 @@ /*! bootstrap-timepicker v0.5.2 |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
4
0
144084
21
22
713
42
+ Added@popperjs/core@2.11.8(transitive)
+ Addedbootstrap@5.3.3(transitive)
- Removed@angular/common@2.0.0
- Removed@angular/compiler@2.0.0
- Removed@angular/core@2.0.0
- Removed@angular/forms@2.0.0
- Removed@angular/platform-browser@2.0.0
- Removedcore-js@^2.4.1
- Removedreflect-metadata@^0.1.3
- Removedrxjs@5.0.0-beta.12
- Removedsystemjs@0.19.27
- Removedzone.js@^0.6.23
- Removed@angular/common@2.0.0(transitive)
- Removed@angular/compiler@2.0.0(transitive)
- Removed@angular/core@2.0.0(transitive)
- Removed@angular/forms@2.0.0(transitive)
- Removed@angular/platform-browser@2.0.0(transitive)
- Removed@angular/platform-browser-dynamic@2.0.0(transitive)
- Removedbootstrap@3.4.1(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedjquery@2.2.4(transitive)
- Removedreflect-metadata@0.1.14(transitive)
- Removedrxjs@5.0.0-beta.12(transitive)
- Removedsymbol-observable@1.2.0(transitive)
- Removedsystemjs@0.19.27(transitive)
- Removedwhen@3.7.8(transitive)
- Removedzone.js@0.6.26(transitive)
Updatedbootstrap@>=3.0.0
Updatedjquery@>=2.2.1