@ebolanos/libreria-boton
Version:
Libreria de prueba para publicación en npmjs
96 lines (87 loc) • 5.09 kB
JavaScript
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
typeof define === 'function' && define.amd ? define('@ebolanos/libreria-boton', ['exports', '@angular/core'], factory) :
(factory((global.ebolanos = global.ebolanos || {}, global.ebolanos['libreria-boton'] = {}),global.ng.core));
}(this, (function (exports,i0) { 'use strict';
/**
* @fileoverview added by tsickle
* Generated from: lib/libreria-boton.service.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LibreriaBotonService = /** @class */ (function () {
function LibreriaBotonService() {
}
LibreriaBotonService.decorators = [
{ type: i0.Injectable, args: [{
providedIn: 'root'
},] }
];
/** @nocollapse */
LibreriaBotonService.ctorParameters = function () { return []; };
/** @nocollapse */ LibreriaBotonService.ngInjectableDef = i0.defineInjectable({ factory: function LibreriaBotonService_Factory() { return new LibreriaBotonService(); }, token: LibreriaBotonService, providedIn: "root" });
return LibreriaBotonService;
}());
/**
* @fileoverview added by tsickle
* Generated from: lib/libreria-boton.component.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LibreriaBotonComponent = /** @class */ (function () {
function LibreriaBotonComponent() {
}
/**
* @return {?}
*/
LibreriaBotonComponent.prototype.ngOnInit = /**
* @return {?}
*/
function () {
console.log("Soy un fix");
};
LibreriaBotonComponent.decorators = [
{ type: i0.Component, args: [{
selector: 'lib-libreria-boton',
template: "<button id=\"btn4\" class=\"btn btn-material\" type=\"button\">{{nombre}}</button>\r\n",
styles: [".btn{font-family:inherit;font-size:inherit;line-height:inherit;-webkit-appearance:none;-moz-appearance:none;border:none;background:0 0;cursor:pointer;padding:0;display:inline-block;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle}.btn-material{padding:0 16px;border-radius:2px;background-color:#a71717;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);color:#fff;transition:background-color 15ms linear,box-shadow 280ms cubic-bezier(.4,0,.2,1);height:36px;line-height:2.25rem;font-family:Roboto,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase}.btn-material:focus,.btn-material:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#ff0303}.btn-material:active{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);background-color:#610404}"]
}] }
];
/** @nocollapse */
LibreriaBotonComponent.ctorParameters = function () { return []; };
LibreriaBotonComponent.propDecorators = {
nombre: [{ type: i0.Input }]
};
return LibreriaBotonComponent;
}());
/**
* @fileoverview added by tsickle
* Generated from: lib/libreria-boton.module.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LibreriaBotonModule = /** @class */ (function () {
function LibreriaBotonModule() {
}
LibreriaBotonModule.decorators = [
{ type: i0.NgModule, args: [{
declarations: [LibreriaBotonComponent],
imports: [],
exports: [LibreriaBotonComponent]
},] }
];
return LibreriaBotonModule;
}());
/**
* @fileoverview added by tsickle
* Generated from: public-api.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @fileoverview added by tsickle
* Generated from: ebolanos-libreria-boton.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
exports.LibreriaBotonService = LibreriaBotonService;
exports.LibreriaBotonComponent = LibreriaBotonComponent;
exports.LibreriaBotonModule = LibreriaBotonModule;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=ebolanos-libreria-boton.umd.js.map