var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
import { DEFAULT_INPUTS_O_TEXT_INPUT } from 'ontimize-web-ngx';
import { OComponenetDataInput } from './o-component-data-input.class';
var OTextInputData = (function (_super) {
    __extends(OTextInputData, _super);
    function OTextInputData() {
        return _super.call(this) || this;
    }
    OTextInputData.prototype.getDirective = function () {
        return 'o-text-input';
    };
    OTextInputData.prototype.getInputsProperties = function () {
        return DEFAULT_INPUTS_O_TEXT_INPUT;
    };
    OTextInputData.prototype.getTemplateInputsData = function () {
        var templateInputsData = _super.prototype.getTemplateInputsData.call(this);
        templateInputsData['min-length'] = {
            type: 'number',
            label: 'min-length',
            tooltip: '',
            default: -1,
            required: false
        };
        templateInputsData['max-length'] = {
            type: 'number',
            label: 'max-length',
            tooltip: '',
            default: -1,
            required: false
        };
        return templateInputsData;
    };
    return OTextInputData;
}(OComponenetDataInput));
export { OTextInputData };
//# sourceMappingURL=o-text-input.data.js.map