New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-angular-popup

Package Overview
Dependencies
Maintainers
1
Versions
934
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-angular-popup - npm Package Compare versions

Comparing version 2.0.1-dev.201802071312 to 2.0.1-dev.201802121018

140

dist/es/popup.component.js

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, Output, NgZone, Renderer2, trigger, style, transition, animate } from '@angular/core';

@@ -335,58 +336,89 @@ import { fromPromise } from 'rxjs/observable/fromPromise';

};
PopupComponent.decorators = [
{ type: Component, args: [{
animations: [
trigger('toggle', [
transition('void => down, up => down', [
style({ transform: 'translateY(-100%)' }),
animate('0.1s ease-in', style({ transform: 'translateY(0)' }))
]),
transition('down => void', [
style({ transform: 'translateY(0)' }),
animate('0.1s ease-in', style({ transform: 'translateY(-100%)' }))
]),
transition('void => up, down => up', [
style({ transform: 'translateY(100%)' }),
animate('0.1s ease-in', style({ transform: 'translateY(0)' }))
]),
transition('up => void', [
style({ transform: 'translateY(0)' }),
animate('0.1s ease-in', style({ transform: 'translateY(100%)' }))
])
])
],
exportAs: 'kendo-popup',
providers: [AlignService, DOMService, PositionService, ResizeService, ScrollableService],
selector: 'kendo-popup',
template: "\n <div class=\"k-popup\" [ngClass]=\"popupClass\" [@toggle]=\"direction\" (@toggle.done)=\"triggerOpen($event)\">\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]=\"content\" [ngIf]=\"content\"></ng-template>\n </div>\n "
},] },
];
/** @nocollapse */
PopupComponent.ctorParameters = function () { return [
{ type: ElementRef, },
{ type: AlignService, },
{ type: DOMService, },
{ type: ChangeDetectorRef, },
{ type: PositionService, },
{ type: ResizeService, },
{ type: ScrollableService, },
{ type: Renderer2, },
{ type: NgZone, },
]; };
PopupComponent.propDecorators = {
'animate': [{ type: Input },],
'anchor': [{ type: Input },],
'anchorAlign': [{ type: Input },],
'collision': [{ type: Input },],
'popupAlign': [{ type: Input },],
'copyAnchorStyles': [{ type: Input },],
'popupClass': [{ type: Input },],
'positionMode': [{ type: Input },],
'offset': [{ type: Input },],
'anchorViewportLeave': [{ type: Output },],
'close': [{ type: Output },],
'open': [{ type: Output },],
};
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Boolean)
], PopupComponent.prototype, "animate", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", ElementRef)
], PopupComponent.prototype, "anchor", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "anchorAlign", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "collision", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "popupAlign", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Boolean)
], PopupComponent.prototype, "copyAnchorStyles", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "popupClass", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", String)
], PopupComponent.prototype, "positionMode", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "offset", void 0);
tslib_1.__decorate([
Output(),
tslib_1.__metadata("design:type", EventEmitter)
], PopupComponent.prototype, "anchorViewportLeave", void 0);
tslib_1.__decorate([
Output(),
tslib_1.__metadata("design:type", EventEmitter)
], PopupComponent.prototype, "close", void 0);
tslib_1.__decorate([
Output(),
tslib_1.__metadata("design:type", EventEmitter)
], PopupComponent.prototype, "open", void 0);
PopupComponent = tslib_1.__decorate([
Component({
animations: [
trigger('toggle', [
transition('void => down, up => down', [
style({ transform: 'translateY(-100%)' }),
animate('0.1s ease-in', style({ transform: 'translateY(0)' }))
]),
transition('down => void', [
style({ transform: 'translateY(0)' }),
animate('0.1s ease-in', style({ transform: 'translateY(-100%)' }))
]),
transition('void => up, down => up', [
style({ transform: 'translateY(100%)' }),
animate('0.1s ease-in', style({ transform: 'translateY(0)' }))
]),
transition('up => void', [
style({ transform: 'translateY(0)' }),
animate('0.1s ease-in', style({ transform: 'translateY(100%)' }))
])
])
],
exportAs: 'kendo-popup',
providers: [AlignService, DOMService, PositionService, ResizeService, ScrollableService],
selector: 'kendo-popup',
template: "\n <div class=\"k-popup\" [ngClass]=\"popupClass\" [@toggle]=\"direction\" (@toggle.done)=\"triggerOpen($event)\">\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]=\"content\" [ngIf]=\"content\"></ng-template>\n </div>\n "
}),
tslib_1.__metadata("design:paramtypes", [ElementRef,
AlignService,
DOMService,
ChangeDetectorRef,
PositionService,
ResizeService,
ScrollableService,
Renderer2,
NgZone])
], PopupComponent);
return PopupComponent;
}());
export { PopupComponent };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { NgModule } from '@angular/core';

@@ -40,15 +41,13 @@ import { CommonModule } from '@angular/common';

}
PopupModule.decorators = [
{ type: NgModule, args: [{
declarations: [POPUP_DIRECTIVES],
entryComponents: [POPUP_DIRECTIVES],
exports: [POPUP_DIRECTIVES],
imports: [CommonModule],
providers: [PopupService]
},] },
];
/** @nocollapse */
PopupModule.ctorParameters = function () { return []; };
PopupModule = tslib_1.__decorate([
NgModule({
declarations: [POPUP_DIRECTIVES],
entryComponents: [POPUP_DIRECTIVES],
exports: [POPUP_DIRECTIVES],
imports: [CommonModule],
providers: [PopupService]
})
], PopupModule);
return PopupModule;
}());
export { PopupModule };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { ApplicationRef, ComponentFactoryResolver, ElementRef, InjectionToken, Injectable, Injector, Inject, Optional, TemplateRef } from '@angular/core';

@@ -238,14 +239,12 @@ import { PopupComponent } from './popup.component';

};
PopupService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
PopupService.ctorParameters = function () { return [
{ type: ApplicationRef, },
{ type: ComponentFactoryResolver, },
{ type: Injector, },
{ type: ElementRef, decorators: [{ type: Inject, args: [POPUP_CONTAINER,] }, { type: Optional },] },
]; };
PopupService = tslib_1.__decorate([
Injectable(),
tslib_1.__param(3, Inject(POPUP_CONTAINER)), tslib_1.__param(3, Optional()),
tslib_1.__metadata("design:paramtypes", [ApplicationRef,
ComponentFactoryResolver,
Injector,
ElementRef])
], PopupService);
return PopupService;
}());
export { PopupService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';

@@ -31,11 +32,8 @@ import { DOMService } from './dom.service';

};
AlignService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
AlignService.ctorParameters = function () { return [
{ type: DOMService, },
]; };
AlignService = tslib_1.__decorate([
Injectable(),
tslib_1.__metadata("design:paramtypes", [DOMService])
], AlignService);
return AlignService;
}());
export { AlignService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';

@@ -159,9 +160,7 @@ import { align, applyLocationOffset, boundingOffset, getWindowViewPort, isBodyOffset, offset, positionWithScroll, restrictToView, addScroll, removeScroll, scrollPosition, siblingContainer } from '@progress/kendo-popup-common';

};
DOMService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
DOMService.ctorParameters = function () { return []; };
DOMService = tslib_1.__decorate([
Injectable()
], DOMService);
return DOMService;
}());
export { DOMService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';

@@ -37,11 +38,8 @@ import { DOMService } from './dom.service';

};
PositionService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
PositionService.ctorParameters = function () { return [
{ type: DOMService, },
]; };
PositionService = tslib_1.__decorate([
Injectable(),
tslib_1.__metadata("design:paramtypes", [DOMService])
], PositionService);
return PositionService;
}());
export { PositionService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable, NgZone } from '@angular/core';

@@ -34,12 +35,8 @@ import { fromEvent } from 'rxjs/observable/fromEvent';

};
ResizeService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
ResizeService.ctorParameters = function () { return [
{ type: DOMService, },
{ type: NgZone, },
]; };
ResizeService = tslib_1.__decorate([
Injectable(),
tslib_1.__metadata("design:paramtypes", [DOMService, NgZone])
], ResizeService);
return ResizeService;
}());
export { ResizeService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable, NgZone } from '@angular/core';

@@ -62,12 +63,8 @@ import { fromEvent } from 'rxjs/observable/fromEvent';

};
ScrollableService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
ScrollableService.ctorParameters = function () { return [
{ type: DOMService, },
{ type: NgZone, },
]; };
ScrollableService = tslib_1.__decorate([
Injectable(),
tslib_1.__metadata("design:paramtypes", [DOMService, NgZone])
], ScrollableService);
return ScrollableService;
}());
export { ScrollableService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, Output, NgZone, Renderer2, trigger, style, transition, animate } from '@angular/core';

@@ -31,3 +32,3 @@ import { fromPromise } from 'rxjs/observable/fromPromise';

*/
export class PopupComponent {
let PopupComponent = class PopupComponent {
constructor(container, _alignService, _domService, _cdr, _positionService, _resizeService, _scrollableService, _renderer, _zone) {

@@ -329,29 +330,77 @@ this.container = container;

}
}
PopupComponent.decorators = [
{ type: Component, args: [{
animations: [
trigger('toggle', [
transition('void => down, up => down', [
style({ transform: 'translateY(-100%)' }),
animate('0.1s ease-in', style({ transform: 'translateY(0)' }))
]),
transition('down => void', [
style({ transform: 'translateY(0)' }),
animate('0.1s ease-in', style({ transform: 'translateY(-100%)' }))
]),
transition('void => up, down => up', [
style({ transform: 'translateY(100%)' }),
animate('0.1s ease-in', style({ transform: 'translateY(0)' }))
]),
transition('up => void', [
style({ transform: 'translateY(0)' }),
animate('0.1s ease-in', style({ transform: 'translateY(100%)' }))
])
])
],
exportAs: 'kendo-popup',
providers: [AlignService, DOMService, PositionService, ResizeService, ScrollableService],
selector: 'kendo-popup',
template: `
};
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Boolean)
], PopupComponent.prototype, "animate", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", ElementRef)
], PopupComponent.prototype, "anchor", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "anchorAlign", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "collision", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "popupAlign", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Boolean)
], PopupComponent.prototype, "copyAnchorStyles", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "popupClass", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", String)
], PopupComponent.prototype, "positionMode", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], PopupComponent.prototype, "offset", void 0);
tslib_1.__decorate([
Output(),
tslib_1.__metadata("design:type", EventEmitter)
], PopupComponent.prototype, "anchorViewportLeave", void 0);
tslib_1.__decorate([
Output(),
tslib_1.__metadata("design:type", EventEmitter)
], PopupComponent.prototype, "close", void 0);
tslib_1.__decorate([
Output(),
tslib_1.__metadata("design:type", EventEmitter)
], PopupComponent.prototype, "open", void 0);
PopupComponent = tslib_1.__decorate([
Component({
animations: [
trigger('toggle', [
transition('void => down, up => down', [
style({ transform: 'translateY(-100%)' }),
animate('0.1s ease-in', style({ transform: 'translateY(0)' }))
]),
transition('down => void', [
style({ transform: 'translateY(0)' }),
animate('0.1s ease-in', style({ transform: 'translateY(-100%)' }))
]),
transition('void => up, down => up', [
style({ transform: 'translateY(100%)' }),
animate('0.1s ease-in', style({ transform: 'translateY(0)' }))
]),
transition('up => void', [
style({ transform: 'translateY(0)' }),
animate('0.1s ease-in', style({ transform: 'translateY(100%)' }))
])
])
],
exportAs: 'kendo-popup',
providers: [AlignService, DOMService, PositionService, ResizeService, ScrollableService],
selector: 'kendo-popup',
template: `
<div class="k-popup" [ngClass]="popupClass" [@toggle]="direction" (@toggle.done)="triggerOpen($event)">

@@ -362,29 +411,13 @@ <ng-content></ng-content>

`
},] },
];
/** @nocollapse */
PopupComponent.ctorParameters = () => [
{ type: ElementRef, },
{ type: AlignService, },
{ type: DOMService, },
{ type: ChangeDetectorRef, },
{ type: PositionService, },
{ type: ResizeService, },
{ type: ScrollableService, },
{ type: Renderer2, },
{ type: NgZone, },
];
PopupComponent.propDecorators = {
'animate': [{ type: Input },],
'anchor': [{ type: Input },],
'anchorAlign': [{ type: Input },],
'collision': [{ type: Input },],
'popupAlign': [{ type: Input },],
'copyAnchorStyles': [{ type: Input },],
'popupClass': [{ type: Input },],
'positionMode': [{ type: Input },],
'offset': [{ type: Input },],
'anchorViewportLeave': [{ type: Output },],
'close': [{ type: Output },],
'open': [{ type: Output },],
};
}),
tslib_1.__metadata("design:paramtypes", [ElementRef,
AlignService,
DOMService,
ChangeDetectorRef,
PositionService,
ResizeService,
ScrollableService,
Renderer2,
NgZone])
], PopupComponent);
export { PopupComponent };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { NgModule } from '@angular/core';

@@ -37,14 +38,13 @@ import { CommonModule } from '@angular/common';

*/
export class PopupModule {
}
PopupModule.decorators = [
{ type: NgModule, args: [{
declarations: [POPUP_DIRECTIVES],
entryComponents: [POPUP_DIRECTIVES],
exports: [POPUP_DIRECTIVES],
imports: [CommonModule],
providers: [PopupService]
},] },
];
/** @nocollapse */
PopupModule.ctorParameters = () => [];
let PopupModule = class PopupModule {
};
PopupModule = tslib_1.__decorate([
NgModule({
declarations: [POPUP_DIRECTIVES],
entryComponents: [POPUP_DIRECTIVES],
exports: [POPUP_DIRECTIVES],
imports: [CommonModule],
providers: [PopupService]
})
], PopupModule);
export { PopupModule };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { ApplicationRef, ComponentFactoryResolver, ElementRef, InjectionToken, Injectable, Injector, Inject, Optional, TemplateRef } from '@angular/core';

@@ -52,3 +53,3 @@ import { PopupComponent } from './popup.component';

*/
export class PopupService {
let PopupService = class PopupService {
constructor(applicationRef, componentFactoryResolver, injector, container) {

@@ -233,12 +234,11 @@ this.applicationRef = applicationRef;

}
}
PopupService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
PopupService.ctorParameters = () => [
{ type: ApplicationRef, },
{ type: ComponentFactoryResolver, },
{ type: Injector, },
{ type: ElementRef, decorators: [{ type: Inject, args: [POPUP_CONTAINER,] }, { type: Optional },] },
];
};
PopupService = tslib_1.__decorate([
Injectable(),
tslib_1.__param(3, Inject(POPUP_CONTAINER)), tslib_1.__param(3, Optional()),
tslib_1.__metadata("design:paramtypes", [ApplicationRef,
ComponentFactoryResolver,
Injector,
ElementRef])
], PopupService);
export { PopupService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';

@@ -7,3 +8,3 @@ import { DOMService } from './dom.service';

*/
export class AlignService {
let AlignService = class AlignService {
constructor(_dom) {

@@ -32,9 +33,7 @@ this._dom = _dom;

}
}
AlignService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
AlignService.ctorParameters = () => [
{ type: DOMService, },
];
};
AlignService = tslib_1.__decorate([
Injectable(),
tslib_1.__metadata("design:paramtypes", [DOMService])
], AlignService);
export { AlignService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';

@@ -15,3 +16,3 @@ import { align, applyLocationOffset, boundingOffset, getWindowViewPort, isBodyOffset, offset, positionWithScroll, restrictToView, addScroll, removeScroll, scrollPosition, siblingContainer } from '@progress/kendo-popup-common';

*/
export class DOMService {
let DOMService = class DOMService {
addOffset(current, addition) {

@@ -158,7 +159,6 @@ return {

}
}
DOMService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
DOMService.ctorParameters = () => [];
};
DOMService = tslib_1.__decorate([
Injectable()
], DOMService);
export { DOMService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';

@@ -7,3 +8,3 @@ import { DOMService } from './dom.service';

*/
export class PositionService {
let PositionService = class PositionService {
constructor(_dom) {

@@ -38,9 +39,7 @@ this._dom = _dom;

}
}
PositionService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
PositionService.ctorParameters = () => [
{ type: DOMService, },
];
};
PositionService = tslib_1.__decorate([
Injectable(),
tslib_1.__metadata("design:paramtypes", [DOMService])
], PositionService);
export { PositionService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable, NgZone } from '@angular/core';

@@ -9,3 +10,3 @@ import { fromEvent } from 'rxjs/observable/fromEvent';

*/
export class ResizeService {
let ResizeService = class ResizeService {
constructor(_dom, _zone) {

@@ -34,10 +35,7 @@ this._dom = _dom;

}
}
ResizeService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
ResizeService.ctorParameters = () => [
{ type: DOMService, },
{ type: NgZone, },
];
};
ResizeService = tslib_1.__decorate([
Injectable(),
tslib_1.__metadata("design:paramtypes", [DOMService, NgZone])
], ResizeService);
export { ResizeService };

@@ -0,1 +1,2 @@

import * as tslib_1 from "tslib";
import { Injectable, NgZone } from '@angular/core';

@@ -14,3 +15,3 @@ import { fromEvent } from 'rxjs/observable/fromEvent';

*/
export class ScrollableService {
let ScrollableService = class ScrollableService {
constructor(_dom, _zone) {

@@ -62,10 +63,7 @@ this._dom = _dom;

}
}
ScrollableService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
ScrollableService.ctorParameters = () => [
{ type: DOMService, },
{ type: NgZone, },
];
};
ScrollableService = tslib_1.__decorate([
Injectable(),
tslib_1.__metadata("design:paramtypes", [DOMService, NgZone])
], ScrollableService);
export { ScrollableService };

@@ -6,3 +6,3 @@ {

"license": "SEE LICENSE in LICENSE.md",
"version": "2.0.1-dev.201802071312",
"version": "2.0.1-dev.201802121018",
"main": "dist/npm/main.js",

@@ -12,3 +12,3 @@ "module": "dist/es/main.js",

"es2015": "dist/es2015/main.js",
"typings": "dist/es/main.d.ts",
"typings": "dist/npm/main.d.ts",
"jsdelivr": "dist/cdn/js/kendo-angular-popup.js",

@@ -15,0 +15,0 @@ "unpkg": "dist/cdn/js/kendo-angular-popup.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc