Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules2/handsontable/registry.mjs
T
2026-09-10 15:40:10 +08:00

26 lines
1.2 KiB
JavaScript

/* eslint-disable handsontable/restricted-module-imports */
// Since the Handsontable was modularized, importing some submodules is
// restricted. Importing the main entry of the submodule can make the
// "dead" code elimination process more difficult or even impossible.
// The "handsontable/restricted-module-imports" rule is on guard.
// This file exports the functions that allow include packages to
// the Base version of the Handsontable, so that's why the rule is
// disabled here (see more #7506).
import { registerAllEditors } from "./editors/index.mjs";
import { registerAllRenderers } from "./renderers/index.mjs";
import { registerAllValidators } from "./validators/index.mjs";
import { registerAllCellTypes } from "./cellTypes/index.mjs";
import { registerAllPlugins } from "./plugins/index.mjs";
/* eslint-enable handsontable/restricted-module-imports */
export { registerAllEditors, registerAllRenderers, registerAllValidators, registerAllCellTypes, registerAllPlugins };
/**
* Registers all available Handsontable modules.
*/
export function registerAllModules() {
registerAllEditors();
registerAllRenderers();
registerAllValidators();
registerAllCellTypes();
registerAllPlugins();
}