@progress/kendo-angular-dialog
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -1,2 +0,2 @@ | ||
import { AfterContentInit, AfterViewInit, EventEmitter } from '@angular/core'; | ||
import { AfterContentInit, AfterViewInit, EventEmitter, OnInit, ElementRef, Renderer } from '@angular/core'; | ||
import { DialogTitleBarComponent } from './dialog-titlebar.component'; | ||
@@ -7,3 +7,5 @@ import '@telerik/kendo-theme-default/styles/packages/dialog'; | ||
*/ | ||
export declare class DialogComponent implements AfterContentInit, AfterViewInit { | ||
export declare class DialogComponent implements AfterContentInit, AfterViewInit, OnInit { | ||
private _elRef; | ||
private _renderer; | ||
/** | ||
@@ -19,6 +21,8 @@ * Defines the title of the component. | ||
titlebarView: DialogTitleBarComponent; | ||
constructor(_elRef: ElementRef, _renderer: Renderer); | ||
ngAfterContentInit(): void; | ||
ngAfterViewInit(): void; | ||
ngOnInit(): void; | ||
readonly className: string; | ||
private bubbleOnClose(titlebar); | ||
} |
@@ -79,3 +79,5 @@ (function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /******/ (function(modules) { // webpackBootstrap | ||
var DialogComponent = (function () { | ||
function DialogComponent() { | ||
function DialogComponent(_elRef, _renderer) { | ||
this._elRef = _elRef; | ||
this._renderer = _renderer; | ||
/** | ||
@@ -92,2 +94,5 @@ * Fires when the user clicks on the **Close** button of the Dialog. | ||
}; | ||
DialogComponent.prototype.ngOnInit = function () { | ||
this._renderer.setElementAttribute(this._elRef.nativeElement, 'title', null); | ||
}; | ||
Object.defineProperty(DialogComponent.prototype, "className", { | ||
@@ -147,3 +152,3 @@ get: function () { | ||
}), | ||
__metadata('design:paramtypes', []) | ||
__metadata('design:paramtypes', [core_1.ElementRef, core_1.Renderer]) | ||
], DialogComponent); | ||
@@ -150,0 +155,0 @@ return DialogComponent; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"DialogComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"trigger"},"arguments":["overlayAppear",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"state"},"arguments":["in",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"style"},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"transition"},"arguments":["void => *",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"style"},"arguments":[{"opacity":0.1}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"animate"},"arguments":[".3s cubic-bezier(.2, .6, .4, 1)"]}]]}]]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"trigger"},"arguments":["dialogSlideInAppear",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"state"},"arguments":["in",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"style"},"arguments":[{"transform":"translate(-50%, -50%)"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"transition"},"arguments":["void => *",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"style"},"arguments":[{"transform":"translate(-50%, -60%)"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"animate"},"arguments":[".3s cubic-bezier(.2, 1, .2, 1)"]}]]}]]}],"selector":"kendo-dialog","template":"\n <div class=\"k-overlay\" @overlayAppear></div>\n\n <div class=\"k-widget k-dialog k-window k-centered k-dialog-centered\" @dialogSlideInAppear>\n\n <kendo-dialog-titlebar *ngIf=\"title\">{{title}}</kendo-dialog-titlebar>\n <ng-content select=\"kendo-dialog-titlebar\" *ngIf=\"!title\"></ng-content>\n\n <div class=\"k-window-content\">\n <ng-content></ng-content>\n </div>\n\n <ng-content select=\"kendo-dialog-actions\"></ng-content>\n\n </div>\n "}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["title"]}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"titlebarContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","module":"./dialog-titlebar.component","name":"DialogTitleBarComponent"}]}]}],"titlebarView":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":[{"__symbolic":"reference","module":"./dialog-titlebar.component","name":"DialogTitleBarComponent"}]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"className":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class"]}]}],"bubbleOnClose":[{"__symbolic":"method"}]}}}} | ||
{"__symbolic":"module","version":1,"metadata":{"DialogComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"trigger"},"arguments":["overlayAppear",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"state"},"arguments":["in",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"style"},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"transition"},"arguments":["void => *",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"style"},"arguments":[{"opacity":0.1}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"animate"},"arguments":[".3s cubic-bezier(.2, .6, .4, 1)"]}]]}]]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"trigger"},"arguments":["dialogSlideInAppear",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"state"},"arguments":["in",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"style"},"arguments":[{"transform":"translate(-50%, -50%)"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"transition"},"arguments":["void => *",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"style"},"arguments":[{"transform":"translate(-50%, -60%)"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"animate"},"arguments":[".3s cubic-bezier(.2, 1, .2, 1)"]}]]}]]}],"selector":"kendo-dialog","template":"\n <div class=\"k-overlay\" @overlayAppear></div>\n\n <div class=\"k-widget k-dialog k-window k-centered k-dialog-centered\" @dialogSlideInAppear>\n\n <kendo-dialog-titlebar *ngIf=\"title\">{{title}}</kendo-dialog-titlebar>\n <ng-content select=\"kendo-dialog-titlebar\" *ngIf=\"!title\"></ng-content>\n\n <div class=\"k-window-content\">\n <ng-content></ng-content>\n </div>\n\n <ng-content select=\"kendo-dialog-actions\"></ng-content>\n\n </div>\n "}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["title"]}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"titlebarContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","module":"./dialog-titlebar.component","name":"DialogTitleBarComponent"}]}]}],"titlebarView":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":[{"__symbolic":"reference","module":"./dialog-titlebar.component","name":"DialogTitleBarComponent"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"className":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class"]}]}],"bubbleOnClose":[{"__symbolic":"method"}]}}}} |
{ | ||
"name": "@progress/kendo-angular-dialog", | ||
"description": "Dialog Package for Angular 2", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"publishConfig": { | ||
@@ -6,0 +6,0 @@ "registry": "https://registry.npm.telerik.com" |
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
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
169705
1860