import { __decorate } from "tslib";
import { Component, EventEmitter, Input, Output } from '@angular/core';
let NumberComponent = class NumberComponent {
    constructor() {
        this.changeEvent = new EventEmitter();
    }
};
__decorate([
    Input()
], NumberComponent.prototype, "name", void 0);
__decorate([
    Input()
], NumberComponent.prototype, "value", void 0);
__decorate([
    Input()
], NumberComponent.prototype, "min", void 0);
__decorate([
    Input()
], NumberComponent.prototype, "max", void 0);
__decorate([
    Input()
], NumberComponent.prototype, "step", void 0);
__decorate([
    Input()
], NumberComponent.prototype, "placeholder", void 0);
__decorate([
    Input()
], NumberComponent.prototype, "disabled", void 0);
__decorate([
    Output('onChange')
], NumberComponent.prototype, "changeEvent", void 0);
NumberComponent = __decorate([
    Component({
        selector: 'app-number',
        template: "<input\n  class=\"input\"\n  type=\"number\"\n  [name]=\"name\"\n  [min]=\"min\"\n  [value]=\"value\"\n  [max]=\"max\"\n  [disabled]=\"disabled\"\n  [step]=\"step\"\n  [placeholder]=\"placeholder\"\n  (change)=\"changeEvent.emit($event)\"\n/>\n",
        styles: ["/*!\n * This file is part of the MedSafe application which is commercial software created by MedVision360 B.V.\n *  The source code is proprietary and confidential.\n *\n *  Unauthorized copying of this file, via any medium is strictly prohibited.\n *\n *  Copyright (c) by MedVision360 B.V. All rights reserved.\n *\n *  For the application name: io.medrecord.medsafe\n */.input{background-color:var(--athens-darken-color);border-radius:5px;border:2px solid transparent;outline:0;height:40px;width:50px;padding-left:13px;text-align:center;box-sizing:border-box;font-size:13px}.input::-moz-placeholder{color:var(--secondary-color)}.input:-ms-input-placeholder{color:var(--secondary-color)}.input:-moz-placeholder{color:var(--secondary-color)}.input:hover{border-color:var(--athens-darken-hover-color);background-color:var(--athens-darken-hover-color)}.input:focus{border-color:var(--geyser-color);background-color:var(--white-color)}.input_warning{border-color:var(--warning-color)!important;background-color:var(--athens-darken-color)}.input_warning:focus{border-color:var(--geyser-color)!important;background-color:var(--white-color)}.input_warning:hover{border-color:var(--warning-hover-color)!important;background-color:var(--athens-darken-hover-color)}.input::-webkit-input-placeholder{color:var(--secondary-color);color:var(--hit-gray-color)}.input::-moz-placeholder{color:var(--hit-gray-color)}.input:-ms-input-placeholder{color:var(--hit-gray-color)}.input:-moz-placeholder{color:var(--hit-gray-color)}.input:focus:not(:disabled){border-color:var(--secondary-color);background:var(--white-color)}.input:hover:not(:disabled){padding-left:12px}.input:disabled{background-color:var(--athens-disabled-color);color:var(--cape-cod-disabled-color)!important}"]
    })
], NumberComponent);
export { NumberComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BtZWRyZWNvcmQvdWktY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9zaGFyZWQvY29tcG9uZW50cy9mb3JtL2Zvcm0tY29udHJvbHMvbnVtYmVyL251bWJlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFPckUsSUFBYSxlQUFlLEdBQTVCLE1BQWEsZUFBZTtJQUE1QjtRQXVCRSxnQkFBVyxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7SUFDbkMsQ0FBQztDQUFBLENBQUE7QUF0QkM7SUFEQyxLQUFLLEVBQUU7NkNBQ0s7QUFHYjtJQURDLEtBQUssRUFBRTs4Q0FDYTtBQUdyQjtJQURDLEtBQUssRUFBRTs0Q0FDSTtBQUdaO0lBREMsS0FBSyxFQUFFOzRDQUNJO0FBR1o7SUFEQyxLQUFLLEVBQUU7NkNBQ0s7QUFHYjtJQURDLEtBQUssRUFBRTtvREFDWTtBQUdwQjtJQURDLEtBQUssRUFBRTtpREFDVTtBQUdsQjtJQURDLE1BQU0sQ0FBQyxVQUFVLENBQUM7b0RBQ2M7QUF2QnRCLGVB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