UNPKG

aurelia-materialize-bridge

Version:
80 lines 4.04 kB
System.register(["tslib", "../aurelia", "aurelia-framework"], function (exports_1, context_1) { "use strict"; var tslib_1, au, aurelia_framework_1, MdCard; var __moduleName = context_1 && context_1.id; return { setters: [ function (tslib_1_1) { tslib_1 = tslib_1_1; }, function (au_1) { au = au_1; }, function (aurelia_framework_1_1) { aurelia_framework_1 = aurelia_framework_1_1; } ], execute: function () { MdCard = /** @class */ (function () { function MdCard(element) { this.element = element; this.image = null; this.size = ""; } MdCard.prototype.titleChanged = function () { this.mdTitle = this.title; }; tslib_1.__decorate([ au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }), tslib_1.__metadata("design:type", Boolean) ], MdCard.prototype, "horizontal", void 0); tslib_1.__decorate([ au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }), tslib_1.__metadata("design:type", String) ], MdCard.prototype, "image", void 0); tslib_1.__decorate([ au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }), tslib_1.__metadata("design:type", Boolean) ], MdCard.prototype, "reveal", void 0); tslib_1.__decorate([ au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }), tslib_1.__metadata("design:type", Boolean) ], MdCard.prototype, "action", void 0); tslib_1.__decorate([ au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }), tslib_1.__metadata("design:type", Boolean) ], MdCard.prototype, "stickyAction", void 0); tslib_1.__decorate([ au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneWay }), tslib_1.__metadata("design:type", String) ], MdCard.prototype, "size", void 0); tslib_1.__decorate([ au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }), tslib_1.__metadata("design:type", String) ], MdCard.prototype, "title", void 0); tslib_1.__decorate([ aurelia_framework_1.deprecated({ error: false, message: "Please use md-title instead." }), tslib_1.__metadata("design:type", Function), tslib_1.__metadata("design:paramtypes", []), tslib_1.__metadata("design:returntype", void 0) ], MdCard.prototype, "titleChanged", null); tslib_1.__decorate([ au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }), tslib_1.__metadata("design:type", String) ], MdCard.prototype, "mdTitle", void 0); tslib_1.__decorate([ au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }), tslib_1.__metadata("design:type", String) ], MdCard.prototype, "mdClass", void 0); MdCard = tslib_1.__decorate([ au.customElement("md-card"), au.autoinject, tslib_1.__metadata("design:paramtypes", [Element]) ], MdCard); return MdCard; }()); exports_1("MdCard", MdCard); } }; }); //# sourceMappingURL=card.js.map