1 | "use strict";
|
2 |
|
3 | exports.__esModule = true;
|
4 | var _core = _interopRequireDefault(require("./core"));
|
5 | var _rootInstance = require("./utils/rootInstance");
|
6 | var _dataMap = require("./dataMap");
|
7 | var _pluginHooks = _interopRequireDefault(require("./pluginHooks"));
|
8 | var _registry = require("./i18n/registry");
|
9 | var _registry2 = require("./cellTypes/registry");
|
10 | var _textType = require("./cellTypes/textType");
|
11 | var _baseEditor = require("./editors/baseEditor");
|
12 | var _src = require("./3rdparty/walkontable/src");
|
13 | exports.CellCoords = _src.CellCoords;
|
14 | exports.CellRange = _src.CellRange;
|
15 | function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | (0, _registry2.registerCellType)(_textType.TextCellType);
|
23 |
|
24 |
|
25 | Handsontable.editors = {
|
26 | BaseEditor: _baseEditor.BaseEditor
|
27 | };
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | function Handsontable(rootElement, userSettings) {
|
35 | const instance = new _core.default(rootElement, userSettings || {}, _rootInstance.rootInstanceSymbol);
|
36 | instance.init();
|
37 | return instance;
|
38 | }
|
39 | Handsontable.Core = function (rootElement) {
|
40 | let userSettings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
41 | return new _core.default(rootElement, userSettings, _rootInstance.rootInstanceSymbol);
|
42 | };
|
43 | Handsontable.DefaultSettings = (0, _dataMap.metaSchemaFactory)();
|
44 | Handsontable.hooks = _pluginHooks.default.getSingleton();
|
45 | Handsontable.CellCoords = _src.CellCoords;
|
46 | Handsontable.CellRange = _src.CellRange;
|
47 | Handsontable.packageName = 'handsontable';
|
48 | Handsontable.buildDate = "17/10/2024 09:16:13";
|
49 | Handsontable.version = "14.6.1";
|
50 | Handsontable.languages = {
|
51 | dictionaryKeys: _registry.dictionaryKeys,
|
52 | getLanguageDictionary: _registry.getLanguageDictionary,
|
53 | getLanguagesDictionaries: _registry.getLanguagesDictionaries,
|
54 | registerLanguageDictionary: _registry.registerLanguageDictionary,
|
55 | getTranslatedPhrase: _registry.getTranslatedPhrase
|
56 | };
|
57 | var _default = exports.default = Handsontable; |
\ | No newline at end of file |