nd-gui
Version:
UI components for NetDocuments
39 lines (36 loc) • 1.45 kB
JavaScript
import { Component, Input, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
var CardComponent = /** @class */ (function () {
function CardComponent() {
}
CardComponent.prototype.ngOnInit = function () {
};
return CardComponent;
}());
CardComponent.decorators = [
{ type: Component, args: [{
selector: 'nd-card',
template: "<div [ngClass]=\"'nd-card'\" [attr.id]=\"cardId\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <ng-content></ng-content>\n</div>\n",
styles: [":host{display:inline-block}.nd-card{border-radius:2px;background-color:#fff;-webkit-box-shadow:0 1px 3px 0 rgba(0,0,0,.3);box-shadow:0 1px 3px 0 rgba(0,0,0,.3);min-width:100px;min-height:100px;overflow:hidden;position:relative}"]
},] },
];
CardComponent.ctorParameters = function () { return []; };
CardComponent.propDecorators = {
cardId: [{ type: Input }],
styleClass: [{ type: Input }],
style: [{ type: Input }]
};
var ndCardModule = /** @class */ (function () {
function ndCardModule() {
}
return ndCardModule;
}());
ndCardModule.decorators = [
{ type: NgModule, args: [{
imports: [CommonModule],
declarations: [CardComponent],
exports: [CardComponent]
},] },
];
export { ndCardModule, CardComponent };
//# sourceMappingURL=nd-gui-card.js.map