"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CHECKBOX_CLOSE_TOKEN = exports.CHECKBOX_OPEN_TOKEN = exports.checkboxInputType = exports.checkboxLabelType = exports.checkboxType = exports.b = exports.idPrefix = exports.CheckboxAttr = exports.CheckboxNode = void 0;
const classname_1 = require("../../../../classname.js");
const schema_1 = require("../../../../utils/schema.js");
var CheckboxNode;
(function (CheckboxNode) {
    CheckboxNode["Checkbox"] = "checkbox";
    CheckboxNode["Input"] = "checkbox_input";
    CheckboxNode["Label"] = "checkbox_label";
})(CheckboxNode || (exports.CheckboxNode = CheckboxNode = {}));
exports.CheckboxAttr = {
    Class: 'class',
    Type: 'type',
    Id: 'id',
    Checked: 'checked',
    For: 'for',
    Line: 'data-line',
    Tight: 'data-tight',
};
exports.idPrefix = 'yfm-editor-checkbox';
// TODO [MAJOR]: remove custom classname
exports.b = (0, classname_1.cn)('checkbox');
exports.checkboxType = (0, schema_1.nodeTypeFactory)(CheckboxNode.Checkbox);
exports.checkboxLabelType = (0, schema_1.nodeTypeFactory)(CheckboxNode.Label);
exports.checkboxInputType = (0, schema_1.nodeTypeFactory)(CheckboxNode.Input);
exports.CHECKBOX_OPEN_TOKEN = 'checkbox_open';
exports.CHECKBOX_CLOSE_TOKEN = 'checkbox_close';
//# sourceMappingURL=const.js.map
