"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ToolbarItem = (function () { function ToolbarItem(_a) { var name = _a.name, tooltipText = _a.tooltipText, shortcut = _a.shortcut, icon = _a.icon, draggable = _a.draggable, markerType = _a.markerType, onRender = _a.onRender, onClick = _a.onClick; if (!name) { throw new Error('Invalid params'); } this.name = name; this.tooltipText = tooltipText; this.shortcut = shortcut; this.icon = icon; this.markerType = markerType; this.draggable = draggable; this.onClick = onClick; this.onRender = onRender; } return ToolbarItem; }()); exports.ToolbarItem = ToolbarItem;