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_CHECKBOX } from 'ontimize-web-ngx';
import { OComponenetDataInput } from '../input/o-component-data-input.class';
var OCheckboxData = (function (_super) {
    __extends(OCheckboxData, _super);
    function OCheckboxData() {
        return _super.call(this) || this;
    }
    OCheckboxData.prototype.getDirective = function () {
        return 'o-checkbox';
    };
    OCheckboxData.prototype.getInputsProperties = function () {
        return DEFAULT_INPUTS_O_CHECKBOX;
    };
    OCheckboxData.prototype.getTemplateInputsData = function () {
        var templateInputsData = _super.prototype.getTemplateInputsData.call(this);
        templateInputsData['data'] = {
            type: 'boolean',
            label: 'data',
            tooltip: '',
            default: false,
            required: false
        };
        templateInputsData['sql-type'] = {
            type: 'combo',
            label: 'sql-type',
            tooltip: '',
            default: 'BOOLEAN',
            required: true,
            values: [
                'BOOLEAN'
            ]
        };
        templateInputsData['true-value'] = {
            type: 'string',
            label: 'true-value',
            tooltip: '',
            default: true,
            required: true
        };
        templateInputsData['false-value'] = {
            type: 'string',
            label: 'false-value',
            tooltip: '',
            default: false,
            required: true
        };
        templateInputsData['boolean-type'] = {
            type: 'combo',
            label: 'boolean-type',
            tooltip: '',
            default: 'boolean',
            required: true,
            values: ['number', 'boolean', 'string']
        };
        return templateInputsData;
    };
    return OCheckboxData;
}(OComponenetDataInput));
export { OCheckboxData };
//# sourceMappingURL=o-checkbox.data.js.map