UNPKG

nd-gui

Version:

UI components for NetDocuments

47 lines (42 loc) 1.93 kB
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) : typeof define === 'function' && define.amd ? define('nd-gui/card', ['exports', '@angular/core', '@angular/common'], factory) : (factory((global['nd-gui'] = global['nd-gui'] || {}, global['nd-gui'].card = {}),global.ng.core,global.ng.common)); }(this, (function (exports,core,common) { 'use strict'; var CardComponent = /** @class */ (function () { function CardComponent() { } CardComponent.prototype.ngOnInit = function () { }; return CardComponent; }()); CardComponent.decorators = [ { type: core.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: core.Input }], styleClass: [{ type: core.Input }], style: [{ type: core.Input }] }; var ndCardModule = /** @class */ (function () { function ndCardModule() { } return ndCardModule; }()); ndCardModule.decorators = [ { type: core.NgModule, args: [{ imports: [common.CommonModule], declarations: [CardComponent], exports: [CardComponent] },] }, ]; exports.ndCardModule = ndCardModule; exports.CardComponent = CardComponent; Object.defineProperty(exports, '__esModule', { value: true }); }))); //# sourceMappingURL=nd-gui-card.umd.js.map