'use strict';

(function (Block) {
    Block.empty = () => ({
        id: '',
        version: '',
        name: '',
        elements: [],
        settings: {
            linked: []
        }
    });
    let Type;
    (function (Type) {
        Type["Audio"] = "audio";
        Type["Checkbox"] = "checkbox";
        Type["Download"] = "download";
        Type["Header"] = "header";
        Type["Image"] = "image";
        Type["ImageMap"] = "image-map";
        Type["Input"] = "input";
        Type["Link"] = "link";
        Type["Matrix"] = "matrix";
        Type["Radio"] = "radio";
        Type["Slider"] = "slider";
        Type["Sort"] = "sort";
        Type["Table"] = "table";
        Type["Text"] = "text";
        Type["Video"] = "video";
    })(Type = Block.Type || (Block.Type = {}));
    Block.ICON_MAP = {
        [Type.Audio]: 'fas:volume-up',
        [Type.Checkbox]: 'fas:check-square',
        [Type.Download]: 'fas:download',
        [Type.Header]: 'fas:heading',
        [Type.Image]: 'fas:image',
        [Type.ImageMap]: 'fas:border-none',
        [Type.Input]: 'fas:font',
        [Type.Link]: 'fas:link',
        [Type.Matrix]: 'fas:th',
        [Type.Radio]: 'fas:dot-circle',
        [Type.Slider]: 'fas:sliders-h',
        [Type.Sort]: 'fas:sort',
        [Type.Table]: 'fas:table',
        [Type.Text]: 'fas:paragraph',
        [Type.Video]: 'fas:video'
    };
})(exports.Block || (exports.Block = {}));
