@progress/kendo-angular-upload
Advanced tools
Comparing version 2.1.2 to 3.0.0-dev.201801261445
@@ -1,2 +0,2 @@ | ||
import { Subscription } from 'rxjs'; | ||
import { Subscription } from 'rxjs/Subscription'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Contains information which is related to the selected file. |
import { EventEmitter, OnDestroy, ElementRef, NgZone } from '@angular/core'; | ||
import { ControlValueAccessor } from '@angular/forms'; | ||
import { HttpHeaders } from '@angular/common/http'; | ||
import 'rxjs/add/observable/fromEvent'; | ||
import 'rxjs/add/operator/filter'; | ||
import 'rxjs/add/operator/merge'; | ||
import { UploadService } from './upload.service'; | ||
@@ -8,0 +5,0 @@ import { FileMap } from './file-map'; |
@@ -5,6 +5,5 @@ /* tslint:disable: no-use-before-declare */ | ||
import { HttpHeaders } from '@angular/common/http'; | ||
import { Observable } from 'rxjs/Observable'; | ||
import 'rxjs/add/observable/fromEvent'; | ||
import 'rxjs/add/operator/filter'; | ||
import 'rxjs/add/operator/merge'; | ||
import { fromEvent } from 'rxjs/observable/fromEvent'; | ||
import { filter } from 'rxjs/operators/filter'; | ||
import { merge } from 'rxjs/operators/merge'; | ||
import { UploadService } from './upload.service'; | ||
@@ -511,9 +510,7 @@ import { FileState } from './file-info'; | ||
this._ngZone.runOutsideAngular(function () { | ||
_this.documentClick = Observable | ||
.fromEvent(document, 'click') | ||
.filter(function (event) { | ||
_this.documentClick = fromEvent(document, 'click').pipe(filter(function (event) { | ||
return !(_this.wrapper !== event.target && _this.wrapper.contains(event.target)); | ||
}); | ||
})); | ||
_this.blurSubscription = _this.documentClick | ||
.merge(_this.navigation.onTab) | ||
.pipe(merge(_this.navigation.onTab)) | ||
.subscribe(function () { return _this._ngZone.run(function () { | ||
@@ -520,0 +517,0 @@ if (_this.navigation.focused) { |
@@ -1,2 +0,2 @@ | ||
import { Subscription } from 'rxjs'; | ||
import { Subscription } from 'rxjs/Subscription'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Contains information which is related to the selected file. |
import { EventEmitter, OnDestroy, ElementRef, NgZone } from '@angular/core'; | ||
import { ControlValueAccessor } from '@angular/forms'; | ||
import { HttpHeaders } from '@angular/common/http'; | ||
import 'rxjs/add/observable/fromEvent'; | ||
import 'rxjs/add/operator/filter'; | ||
import 'rxjs/add/operator/merge'; | ||
import { UploadService } from './upload.service'; | ||
@@ -8,0 +5,0 @@ import { FileMap } from './file-map'; |
@@ -7,6 +7,5 @@ "use strict"; | ||
var http_1 = require("@angular/common/http"); | ||
var Observable_1 = require("rxjs/Observable"); | ||
require("rxjs/add/observable/fromEvent"); | ||
require("rxjs/add/operator/filter"); | ||
require("rxjs/add/operator/merge"); | ||
var fromEvent_1 = require("rxjs/observable/fromEvent"); | ||
var filter_1 = require("rxjs/operators/filter"); | ||
var merge_1 = require("rxjs/operators/merge"); | ||
var upload_service_1 = require("./upload.service"); | ||
@@ -513,9 +512,7 @@ var file_info_1 = require("./file-info"); | ||
this._ngZone.runOutsideAngular(function () { | ||
_this.documentClick = Observable_1.Observable | ||
.fromEvent(document, 'click') | ||
.filter(function (event) { | ||
_this.documentClick = fromEvent_1.fromEvent(document, 'click').pipe(filter_1.filter(function (event) { | ||
return !(_this.wrapper !== event.target && _this.wrapper.contains(event.target)); | ||
}); | ||
})); | ||
_this.blurSubscription = _this.documentClick | ||
.merge(_this.navigation.onTab) | ||
.pipe(merge_1.merge(_this.navigation.onTab)) | ||
.subscribe(function () { return _this._ngZone.run(function () { | ||
@@ -522,0 +519,0 @@ if (_this.navigation.focused) { |
{ | ||
"name": "@progress/kendo-angular-upload", | ||
"description": "Kendo UI Angular 2 Upload Component", | ||
"version": "2.1.2", | ||
"version": "3.0.0-dev.201801261445", | ||
"main": "dist/npm/main.js", | ||
@@ -18,3 +18,3 @@ "module": "dist/es/main.js", | ||
"start": "gulp start", | ||
"lint": "gulp lint", | ||
"lint": "gulp lint && gulp lint-docs", | ||
"api-check": "gulp api-check", | ||
@@ -35,3 +35,3 @@ "build-package": "gulp build-package", | ||
"@progress/kendo-angular-l10n": "^1.0.0", | ||
"rxjs": "^5 <5.5" | ||
"rxjs": "^5.5.0" | ||
}, | ||
@@ -52,2 +52,3 @@ "dependencies": { | ||
"@krux/condition-jenkins": "1.0.1", | ||
"@progress/kendo-angular-e2e": "^1.0.3", | ||
"@progress/kendo-angular-l10n": "^1.0.0", | ||
@@ -57,6 +58,5 @@ "@progress/kendo-angular-tasks": "^9.1.30", | ||
"@telerik/semantic-prerelease": "^1.1.5", | ||
"@progress/kendo-angular-e2e": "^1.0.3", | ||
"@types/selenium-webdriver": "2.53.33", | ||
"@types/core-js": "0.9.35", | ||
"@types/jasmine": "2.2.34", | ||
"@types/selenium-webdriver": "2.53.33", | ||
"@types/zone.js": "0.0.27", | ||
@@ -68,3 +68,4 @@ "codelyzer": "^3.0.0", | ||
"gulp": "^3.9.0", | ||
"rxjs": "^5 <5.5", | ||
"rxjs": "^5.5.0", | ||
"rxjs-tslint-rules": "^3.6.0", | ||
"semantic-release": "^6.3.6", | ||
@@ -71,0 +72,0 @@ "tslint": "^5.4.3", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
660526
171
8276
31
3