1 | "use strict";
|
2 |
|
3 | require("core-js/modules/es.array.find.js");
|
4 |
|
5 | require("core-js/modules/es.object.values.js");
|
6 |
|
7 | Object.defineProperty(exports, "__esModule", {
|
8 | value: true
|
9 | });
|
10 | exports.isSupportedType = isSupportedType;
|
11 | exports.types = void 0;
|
12 | var types;
|
13 | exports.types = types;
|
14 |
|
15 | (function (types) {
|
16 | types["TAB"] = "tab";
|
17 | types["PANEL"] = "panel";
|
18 | types["TOOL"] = "tool";
|
19 | types["TOOLEXTRA"] = "toolextra";
|
20 | types["PREVIEW"] = "preview";
|
21 | types["NOTES_ELEMENT"] = "notes-element";
|
22 | })(types || (exports.types = types = {}));
|
23 |
|
24 | function isSupportedType(type) {
|
25 | return !!Object.values(types).find(function (typeVal) {
|
26 | return typeVal === type;
|
27 | });
|
28 | } |
\ | No newline at end of file |