UNPKG

1.46 kBJavaScriptView Raw
1"use strict";
2
3exports.__esModule = true;
4exports.registerAllModules = registerAllModules;
5var _editors = require("./editors");
6exports.registerAllEditors = _editors.registerAllEditors;
7var _renderers = require("./renderers");
8exports.registerAllRenderers = _renderers.registerAllRenderers;
9var _validators = require("./validators");
10exports.registerAllValidators = _validators.registerAllValidators;
11var _cellTypes = require("./cellTypes");
12exports.registerAllCellTypes = _cellTypes.registerAllCellTypes;
13var _plugins = require("./plugins");
14exports.registerAllPlugins = _plugins.registerAllPlugins;
15/* eslint-disable handsontable/restricted-module-imports */
16// Since the Handsontable was modularized, importing some submodules is
17// restricted. Importing the main entry of the submodule can make the
18// "dead" code elimination process more difficult or even impossible.
19// The "handsontable/restricted-module-imports" rule is on guard.
20// This file exports the functions that allow include packages to
21// the Base version of the Handsontable, so that's why the rule is
22// disabled here (see more #7506).
23
24/* eslint-enable handsontable/restricted-module-imports */
25
26/**
27 * Registers all available Handsontable modules.
28 */
29function registerAllModules() {
30 (0, _editors.registerAllEditors)();
31 (0, _renderers.registerAllRenderers)();
32 (0, _validators.registerAllValidators)();
33 (0, _cellTypes.registerAllCellTypes)();
34 (0, _plugins.registerAllPlugins)();
35}
\No newline at end of file