@handsontable/vue3 11.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,399 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var Handsontable = require('handsontable/base');
7
+
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
+
10
+ var Handsontable__default = /*#__PURE__*/_interopDefaultLegacy(Handsontable);
11
+
12
+ var unassignedPropSymbol = Symbol('unassigned');
13
+ /**
14
+ * Message for the warning thrown if the Handsontable instance has been destroyed.
15
+ */
16
+
17
+ var HOT_DESTROYED_WARNING = 'The Handsontable instance bound to this component was destroyed and cannot be' + ' used properly.';
18
+ /**
19
+ * Check if at specified `key` there is any value for `object`.
20
+ *
21
+ * @param {object} object Object to search value at specyfic key.
22
+ * @param {string} key String key to check.
23
+ * @returns {boolean}
24
+ */
25
+
26
+ function hasOwnProperty(object, key) {
27
+ return Object.prototype.hasOwnProperty.call(object, key);
28
+ }
29
+ /**
30
+ * Generate an object containing all the available Handsontable properties and plugin hooks.
31
+ *
32
+ * @param {string} source Source for the factory (either 'HotTable' or 'HotColumn').
33
+ * @returns {object}
34
+ */
35
+
36
+ function propFactory(source) {
37
+ var registeredHooks = Handsontable__default["default"].hooks.getRegistered();
38
+ var propSchema = {};
39
+ Object.assign(propSchema, Handsontable__default["default"].DefaultSettings); // eslint-disable-next-line no-restricted-syntax, guard-for-in
40
+
41
+ for (var prop in propSchema) {
42
+ propSchema[prop] = {
43
+ "default": unassignedPropSymbol
44
+ };
45
+ }
46
+
47
+ for (var i = 0; i < registeredHooks.length; i++) {
48
+ propSchema[registeredHooks[i]] = {
49
+ "default": unassignedPropSymbol
50
+ };
51
+ }
52
+
53
+ propSchema.settings = {
54
+ "default": unassignedPropSymbol
55
+ };
56
+
57
+ if (source === 'HotTable') {
58
+ propSchema.id = {
59
+ type: String,
60
+ "default": "hot-".concat(Math.random().toString(36).substring(5))
61
+ };
62
+ }
63
+
64
+ return propSchema;
65
+ }
66
+ /**
67
+ * Filter out all of the unassigned props, and return only the one passed to the component.
68
+ *
69
+ * @param {object} props Object containing all the possible props.
70
+ * @returns {object} Object containing only used props.
71
+ */
72
+
73
+ function filterPassedProps(props) {
74
+ var filteredProps = {};
75
+ var columnSettingsProp = props.settings;
76
+
77
+ if (columnSettingsProp !== unassignedPropSymbol) {
78
+ // eslint-disable-next-line no-restricted-syntax
79
+ for (var propName in columnSettingsProp) {
80
+ if (hasOwnProperty(columnSettingsProp, propName) && columnSettingsProp[propName] !== unassignedPropSymbol) {
81
+ filteredProps[propName] = columnSettingsProp[propName];
82
+ }
83
+ }
84
+ } // eslint-disable-next-line no-restricted-syntax
85
+
86
+
87
+ for (var _propName in props) {
88
+ if (hasOwnProperty(props, _propName) && _propName !== 'settings' && props[_propName] !== unassignedPropSymbol) {
89
+ filteredProps[_propName] = props[_propName];
90
+ }
91
+ }
92
+
93
+ return filteredProps;
94
+ }
95
+ /**
96
+ * Prepare the settings object to be used as the settings for Handsontable, based on the props provided to the component.
97
+ *
98
+ * @param {HotTableProps} props The props passed to the component.
99
+ * @param {Handsontable.GridSettings} currentSettings The current Handsontable settings.
100
+ * @returns {Handsontable.GridSettings} An object containing the properties, ready to be used within Handsontable.
101
+ */
102
+
103
+ function prepareSettings(props, currentSettings) {
104
+ var assignedProps = filterPassedProps(props);
105
+ var hotSettingsInProps = props.settings ? props.settings : assignedProps;
106
+ var additionalHotSettingsInProps = props.settings ? assignedProps : null;
107
+ var newSettings = {}; // eslint-disable-next-line no-restricted-syntax
108
+
109
+ for (var key in hotSettingsInProps) {
110
+ if (hasOwnProperty(hotSettingsInProps, key) && hotSettingsInProps[key] !== void 0 && (currentSettings && key !== 'data' ? !simpleEqual(currentSettings[key], hotSettingsInProps[key]) : true)) {
111
+ newSettings[key] = hotSettingsInProps[key];
112
+ }
113
+ } // eslint-disable-next-line no-restricted-syntax
114
+
115
+
116
+ for (var _key in additionalHotSettingsInProps) {
117
+ if (hasOwnProperty(additionalHotSettingsInProps, _key) && _key !== 'id' && _key !== 'settings' && additionalHotSettingsInProps[_key] !== void 0 && (currentSettings && _key !== 'data' ? !simpleEqual(currentSettings[_key], additionalHotSettingsInProps[_key]) : true)) {
118
+ newSettings[_key] = additionalHotSettingsInProps[_key];
119
+ }
120
+ }
121
+
122
+ return newSettings;
123
+ }
124
+ /**
125
+ * Compare two objects using `JSON.stringify`.
126
+ * *Note: * As it's using the stringify function to compare objects, the property order in both objects is
127
+ * important. It will return `false` for the same objects, if they're defined in a different order.
128
+ *
129
+ * @param {object} objectA First object to compare.
130
+ * @param {object} objectB Second object to compare.
131
+ * @returns {boolean} `true` if they're the same, `false` otherwise.
132
+ */
133
+
134
+ function simpleEqual(objectA, objectB) {
135
+ return JSON.stringify(objectA) === JSON.stringify(objectB);
136
+ }
137
+
138
+ var version="11.0.0-rc.1";
139
+
140
+ var HotTable = vue.defineComponent({
141
+ name: 'HotTable',
142
+ props: propFactory('HotTable'),
143
+ provide: function provide() {
144
+ return {
145
+ columnsCache: this.columnsCache
146
+ };
147
+ },
148
+ watch: {
149
+ $props: {
150
+ handler: function handler(props) {
151
+ var settings = prepareSettings(props, this.hotInstance ? this.hotInstance.getSettings() : void 0);
152
+
153
+ if (!this.hotInstance || settings === void 0) {
154
+ return;
155
+ }
156
+
157
+ if (settings.data) {
158
+ if (this.hotInstance.isColumnModificationAllowed() || !this.hotInstance.isColumnModificationAllowed() && this.hotInstance.countSourceCols() === this.miscCache.currentSourceColumns) {
159
+ // If the dataset dimensions change, update the index mappers.
160
+ this.matchHotMappersSize(); // Data is automatically synchronized by reference.
161
+
162
+ delete settings.data;
163
+ }
164
+ } // If there are another options changed, update the HOT settings, render the table otherwise.
165
+
166
+
167
+ if (Object.keys(settings).length) {
168
+ this.hotInstance.updateSettings(settings);
169
+ } else {
170
+ this.hotInstance.render();
171
+ }
172
+
173
+ this.miscCache.currentSourceColumns = this.hotInstance.countSourceCols();
174
+ },
175
+ deep: true,
176
+ immediate: true
177
+ }
178
+ },
179
+ data: function data() {
180
+ return {
181
+ /* eslint-disable vue/no-reserved-keys */
182
+ __hotInstance: null,
183
+
184
+ /* eslint-enable vue/no-reserved-keys */
185
+ miscCache: {
186
+ currentSourceColumns: null
187
+ },
188
+ columnSettings: null,
189
+ columnsCache: new Map(),
190
+
191
+ get hotInstance() {
192
+ if (!this.__hotInstance || this.__hotInstance && !this.__hotInstance.isDestroyed) {
193
+ // Will return the Handsontable instance or `null` if it's not yet been created.
194
+ return this.__hotInstance;
195
+ } else {
196
+ /* eslint-disable-next-line no-console */
197
+ console.warn(HOT_DESTROYED_WARNING);
198
+ return null;
199
+ }
200
+ },
201
+
202
+ set hotInstance(hotInstance) {
203
+ this.__hotInstance = hotInstance;
204
+ }
205
+
206
+ };
207
+ },
208
+ methods: {
209
+ /**
210
+ * Initialize Handsontable.
211
+ */
212
+ hotInit: function hotInit() {
213
+ var newSettings = prepareSettings(this.$props);
214
+ newSettings.columns = this.columnSettings ? this.columnSettings : newSettings.columns;
215
+ this.hotInstance = vue.markRaw(new Handsontable__default["default"].Core(this.$el, newSettings));
216
+ this.hotInstance.init();
217
+ this.miscCache.currentSourceColumns = this.hotInstance.countSourceCols();
218
+ },
219
+ matchHotMappersSize: function matchHotMappersSize() {
220
+ var _this = this;
221
+
222
+ if (!this.hotInstance) {
223
+ return;
224
+ }
225
+
226
+ var data = this.hotInstance.getSourceData();
227
+ var rowsToRemove = [];
228
+ var columnsToRemove = [];
229
+ var indexMapperRowCount = this.hotInstance.rowIndexMapper.getNumberOfIndexes();
230
+ var isColumnModificationAllowed = this.hotInstance.isColumnModificationAllowed();
231
+ var indexMapperColumnCount = 0;
232
+
233
+ if (data && data.length !== indexMapperRowCount) {
234
+ if (data.length < indexMapperRowCount) {
235
+ for (var r = data.length; r < indexMapperRowCount; r++) {
236
+ rowsToRemove.push(r);
237
+ }
238
+ }
239
+ }
240
+
241
+ if (isColumnModificationAllowed) {
242
+ var _data$;
243
+
244
+ indexMapperColumnCount = this.hotInstance.columnIndexMapper.getNumberOfIndexes();
245
+
246
+ if (data && data[0] && ((_data$ = data[0]) === null || _data$ === void 0 ? void 0 : _data$.length) !== indexMapperColumnCount) {
247
+ if (data[0].length < indexMapperColumnCount) {
248
+ for (var c = data[0].length; c < indexMapperColumnCount; c++) {
249
+ columnsToRemove.push(c);
250
+ }
251
+ }
252
+ }
253
+ }
254
+
255
+ this.hotInstance.batch(function () {
256
+ if (rowsToRemove.length > 0) {
257
+ _this.hotInstance.rowIndexMapper.removeIndexes(rowsToRemove);
258
+ } else {
259
+ _this.hotInstance.rowIndexMapper.insertIndexes(indexMapperRowCount - 1, data.length - indexMapperRowCount);
260
+ }
261
+
262
+ if (isColumnModificationAllowed && data.length !== 0) {
263
+ if (columnsToRemove.length > 0) {
264
+ _this.hotInstance.columnIndexMapper.removeIndexes(columnsToRemove);
265
+ } else {
266
+ _this.hotInstance.columnIndexMapper.insertIndexes(indexMapperColumnCount - 1, data[0].length - indexMapperColumnCount);
267
+ }
268
+ }
269
+ });
270
+ },
271
+
272
+ /**
273
+ * Get settings for the columns provided in the `hot-column` components.
274
+ *
275
+ * @returns {HotTableProps[] | undefined}
276
+ */
277
+ getColumnSettings: function getColumnSettings() {
278
+ var columnSettings = Array.from(this.columnsCache.values());
279
+ return columnSettings.length ? columnSettings : void 0;
280
+ }
281
+ },
282
+ mounted: function mounted() {
283
+ this.columnSettings = this.getColumnSettings();
284
+ this.hotInit();
285
+ },
286
+ beforeUnmount: function beforeUnmount() {
287
+ if (this.hotInstance) {
288
+ this.hotInstance.destroy();
289
+ }
290
+ },
291
+ version: version
292
+ });
293
+
294
+ var _hoisted_1 = ["id"];
295
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
296
+ return vue.openBlock(), vue.createElementBlock("div", {
297
+ id: _ctx.id
298
+ }, [vue.renderSlot(_ctx.$slots, "default")], 8
299
+ /* PROPS */
300
+ , _hoisted_1);
301
+ }
302
+
303
+ HotTable.render = render;
304
+ HotTable.__file = "src/HotTable.vue";
305
+
306
+ function ownKeys(object, enumerableOnly) {
307
+ var keys = Object.keys(object);
308
+
309
+ if (Object.getOwnPropertySymbols) {
310
+ var symbols = Object.getOwnPropertySymbols(object);
311
+
312
+ if (enumerableOnly) {
313
+ symbols = symbols.filter(function (sym) {
314
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
315
+ });
316
+ }
317
+
318
+ keys.push.apply(keys, symbols);
319
+ }
320
+
321
+ return keys;
322
+ }
323
+
324
+ function _objectSpread2(target) {
325
+ for (var i = 1; i < arguments.length; i++) {
326
+ var source = arguments[i] != null ? arguments[i] : {};
327
+
328
+ if (i % 2) {
329
+ ownKeys(Object(source), true).forEach(function (key) {
330
+ _defineProperty(target, key, source[key]);
331
+ });
332
+ } else if (Object.getOwnPropertyDescriptors) {
333
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
334
+ } else {
335
+ ownKeys(Object(source)).forEach(function (key) {
336
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
337
+ });
338
+ }
339
+ }
340
+
341
+ return target;
342
+ }
343
+
344
+ function _defineProperty(obj, key, value) {
345
+ if (key in obj) {
346
+ Object.defineProperty(obj, key, {
347
+ value: value,
348
+ enumerable: true,
349
+ configurable: true,
350
+ writable: true
351
+ });
352
+ } else {
353
+ obj[key] = value;
354
+ }
355
+
356
+ return obj;
357
+ }
358
+
359
+ var HotColumn = vue.defineComponent({
360
+ name: 'HotColumn',
361
+ props: propFactory('HotColumn'),
362
+ inject: ['columnsCache'],
363
+ methods: {
364
+ /**
365
+ * Create the column settings based on the data provided to the `hot-column`
366
+ * component and it's child components.
367
+ */
368
+ createColumnSettings: function createColumnSettings() {
369
+ var assignedProps = filterPassedProps(this.$props);
370
+
371
+ var columnSettings = _objectSpread2({}, assignedProps);
372
+
373
+ if (assignedProps.renderer) {
374
+ columnSettings.renderer = assignedProps.renderer;
375
+ }
376
+
377
+ if (assignedProps.editor) {
378
+ columnSettings.editor = assignedProps.editor;
379
+ }
380
+
381
+ this.columnsCache.set(this, columnSettings);
382
+ }
383
+ },
384
+ mounted: function mounted() {
385
+ this.createColumnSettings();
386
+ },
387
+ unmounted: function unmounted() {
388
+ this.columnsCache["delete"](this);
389
+ },
390
+ render: function render() {
391
+ return null;
392
+ }
393
+ });
394
+
395
+ HotColumn.__file = "src/HotColumn.vue";
396
+
397
+ exports.HotColumn = HotColumn;
398
+ exports.HotTable = HotTable;
399
+ exports["default"] = HotTable;
@@ -0,0 +1,321 @@
1
+ declare const HotColumn: import("vue").DefineComponent<import("./types").VueProps<import("./types").HotTableProps>, unknown, unknown, {}, {
2
+ /**
3
+ * Create the column settings based on the data provided to the `hot-column`
4
+ * component and it's child components.
5
+ */
6
+ createColumnSettings(): void;
7
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
8
+ [x: string]: unknown;
9
+ id?: unknown;
10
+ settings?: unknown;
11
+ activeHeaderClassName?: unknown;
12
+ allowEmpty?: unknown;
13
+ allowHtml?: unknown;
14
+ allowInsertColumn?: unknown;
15
+ allowInsertRow?: unknown;
16
+ allowInvalid?: unknown;
17
+ allowRemoveColumn?: unknown;
18
+ allowRemoveRow?: unknown;
19
+ autoColumnSize?: unknown;
20
+ autoRowSize?: unknown;
21
+ autoWrapCol?: unknown;
22
+ autoWrapRow?: unknown;
23
+ bindRowsWithHeaders?: unknown;
24
+ cell?: unknown;
25
+ cells?: unknown;
26
+ checkedTemplate?: unknown;
27
+ className?: unknown;
28
+ colHeaders?: unknown;
29
+ collapsibleColumns?: unknown;
30
+ columnHeaderHeight?: unknown;
31
+ columns?: unknown;
32
+ columnSorting?: unknown;
33
+ columnSummary?: unknown;
34
+ colWidths?: unknown;
35
+ commentedCellClassName?: unknown;
36
+ comments?: unknown;
37
+ contextMenu?: unknown;
38
+ copyable?: unknown;
39
+ copyPaste?: unknown;
40
+ correctFormat?: unknown;
41
+ currentColClassName?: unknown;
42
+ currentHeaderClassName?: unknown;
43
+ currentRowClassName?: unknown;
44
+ customBorders?: unknown;
45
+ data?: unknown;
46
+ dataSchema?: unknown;
47
+ dateFormat?: unknown;
48
+ datePickerConfig?: unknown;
49
+ defaultDate?: unknown;
50
+ disableVisualSelection?: unknown;
51
+ dragToScroll?: unknown;
52
+ dropdownMenu?: unknown;
53
+ editor?: unknown;
54
+ enterBeginsEditing?: unknown;
55
+ enterMoves?: unknown;
56
+ fillHandle?: unknown;
57
+ filter?: unknown;
58
+ filteringCaseSensitive?: unknown;
59
+ filters?: unknown;
60
+ fixedColumnsLeft?: unknown;
61
+ fixedRowsBottom?: unknown;
62
+ fixedRowsTop?: unknown;
63
+ formulas?: unknown;
64
+ fragmentSelection?: unknown;
65
+ height?: unknown;
66
+ hiddenColumns?: unknown;
67
+ hiddenRows?: unknown;
68
+ invalidCellClassName?: unknown;
69
+ isEmptyCol?: unknown;
70
+ isEmptyRow?: unknown;
71
+ label?: unknown;
72
+ language?: unknown;
73
+ licenseKey?: unknown;
74
+ manualColumnFreeze?: unknown;
75
+ manualColumnMove?: unknown;
76
+ manualColumnResize?: unknown;
77
+ manualRowMove?: unknown;
78
+ manualRowResize?: unknown;
79
+ maxCols?: unknown;
80
+ maxRows?: unknown;
81
+ mergeCells?: unknown;
82
+ minCols?: unknown;
83
+ minRows?: unknown;
84
+ minSpareCols?: unknown;
85
+ minSpareRows?: unknown;
86
+ multiColumnSorting?: unknown;
87
+ nestedHeaders?: unknown;
88
+ nestedRows?: unknown;
89
+ noWordWrapClassName?: unknown;
90
+ numericFormat?: unknown;
91
+ observeDOMVisibility?: unknown;
92
+ outsideClickDeselects?: unknown;
93
+ persistentState?: unknown;
94
+ placeholder?: unknown;
95
+ placeholderCellClassName?: unknown;
96
+ preventOverflow?: unknown;
97
+ preventWheel?: unknown;
98
+ readOnly?: unknown;
99
+ readOnlyCellClassName?: unknown;
100
+ renderAllRows?: unknown;
101
+ renderer?: unknown;
102
+ rowHeaders?: unknown;
103
+ rowHeaderWidth?: unknown;
104
+ rowHeights?: unknown;
105
+ search?: unknown;
106
+ selectionMode?: unknown;
107
+ selectOptions?: unknown;
108
+ skipColumnOnPaste?: unknown;
109
+ skipRowOnPaste?: unknown;
110
+ sortByRelevance?: unknown;
111
+ source?: unknown;
112
+ startCols?: unknown;
113
+ startRows?: unknown;
114
+ stretchH?: unknown;
115
+ strict?: unknown;
116
+ tableClassName?: unknown;
117
+ tabMoves?: unknown;
118
+ title?: unknown;
119
+ trimDropdown?: unknown;
120
+ trimRows?: unknown;
121
+ trimWhitespace?: unknown;
122
+ type?: unknown;
123
+ uncheckedTemplate?: unknown;
124
+ undo?: unknown;
125
+ validator?: unknown;
126
+ viewportColumnRenderingOffset?: unknown;
127
+ viewportRowRenderingOffset?: unknown;
128
+ visibleRows?: unknown;
129
+ width?: unknown;
130
+ wordWrap?: unknown;
131
+ afterAddChild?: unknown;
132
+ afterAutofill?: unknown;
133
+ afterBeginEditing?: unknown;
134
+ afterCellMetaReset?: unknown;
135
+ afterChange?: unknown;
136
+ afterChangesObserved?: unknown;
137
+ afterColumnCollapse?: unknown;
138
+ afterColumnExpand?: unknown;
139
+ afterColumnMove?: unknown;
140
+ afterColumnResize?: unknown;
141
+ afterColumnSort?: unknown;
142
+ afterContextMenuDefaultOptions?: unknown;
143
+ afterContextMenuHide?: unknown;
144
+ afterContextMenuShow?: unknown;
145
+ afterCopy?: unknown;
146
+ afterCopyLimit?: unknown;
147
+ afterCreateCol?: unknown;
148
+ afterCreateRow?: unknown;
149
+ afterCut?: unknown;
150
+ afterDeselect?: unknown;
151
+ afterDestroy?: unknown;
152
+ afterDetachChild?: unknown;
153
+ afterDocumentKeyDown?: unknown;
154
+ afterDrawSelection?: unknown;
155
+ afterDropdownMenuDefaultOptions?: unknown;
156
+ afterDropdownMenuHide?: unknown;
157
+ afterDropdownMenuShow?: unknown;
158
+ afterFilter?: unknown;
159
+ afterFormulasValuesUpdate?: unknown;
160
+ afterGetCellMeta?: unknown;
161
+ afterGetColHeader?: unknown;
162
+ afterGetColumnHeaderRenderers?: unknown;
163
+ afterGetRowHeader?: unknown;
164
+ afterGetRowHeaderRenderers?: unknown;
165
+ afterHideColumns?: unknown;
166
+ afterHideRows?: unknown;
167
+ afterInit?: unknown;
168
+ afterLanguageChange?: unknown;
169
+ afterListen?: unknown;
170
+ afterLoadData?: unknown;
171
+ afterMergeCells?: unknown;
172
+ afterModifyTransformEnd?: unknown;
173
+ afterModifyTransformStart?: unknown;
174
+ afterMomentumScroll?: unknown;
175
+ afterNamedExpressionAdded?: unknown;
176
+ afterNamedExpressionRemoved?: unknown;
177
+ afterOnCellContextMenu?: unknown;
178
+ afterOnCellCornerDblClick?: unknown;
179
+ afterOnCellCornerMouseDown?: unknown;
180
+ afterOnCellMouseDown?: unknown;
181
+ afterOnCellMouseOver?: unknown;
182
+ afterOnCellMouseOut?: unknown;
183
+ afterOnCellMouseUp?: unknown;
184
+ afterPaste?: unknown;
185
+ afterPluginsInitialized?: unknown;
186
+ afterRedo?: unknown;
187
+ afterRedoStackChange?: unknown;
188
+ afterRefreshDimensions?: unknown;
189
+ afterRemoveCellMeta?: unknown;
190
+ afterRemoveCol?: unknown;
191
+ afterRemoveRow?: unknown;
192
+ afterRender?: unknown;
193
+ afterRenderer?: unknown;
194
+ afterRowMove?: unknown;
195
+ afterRowResize?: unknown;
196
+ afterScrollHorizontally?: unknown;
197
+ afterScrollVertically?: unknown;
198
+ afterSelection?: unknown;
199
+ afterSelectionByProp?: unknown;
200
+ afterSelectionEnd?: unknown;
201
+ afterSelectionEndByProp?: unknown;
202
+ afterSetCellMeta?: unknown;
203
+ afterSetData?: unknown;
204
+ afterSetDataAtCell?: unknown;
205
+ afterSetDataAtRowProp?: unknown;
206
+ afterSetSourceDataAtCell?: unknown;
207
+ afterSheetAdded?: unknown;
208
+ afterSheetRemoved?: unknown;
209
+ afterSheetRenamed?: unknown;
210
+ afterTrimRow?: unknown;
211
+ afterUndo?: unknown;
212
+ afterUndoStackChange?: unknown;
213
+ afterUnhideColumns?: unknown;
214
+ afterUnhideRows?: unknown;
215
+ afterUnlisten?: unknown;
216
+ afterUnmergeCells?: unknown;
217
+ afterUntrimRow?: unknown;
218
+ afterUpdateData?: unknown;
219
+ afterUpdateSettings?: unknown;
220
+ afterValidate?: unknown;
221
+ afterViewportColumnCalculatorOverride?: unknown;
222
+ afterViewportRowCalculatorOverride?: unknown;
223
+ afterViewRender?: unknown;
224
+ beforeAddChild?: unknown;
225
+ beforeAutofill?: unknown;
226
+ beforeAutofillInsidePopulate?: unknown;
227
+ beforeCellAlignment?: unknown;
228
+ beforeChange?: unknown;
229
+ beforeChangeRender?: unknown;
230
+ beforeColumnCollapse?: unknown;
231
+ beforeColumnExpand?: unknown;
232
+ beforeColumnMove?: unknown;
233
+ beforeColumnResize?: unknown;
234
+ beforeColumnSort?: unknown;
235
+ beforeContextMenuSetItems?: unknown;
236
+ beforeContextMenuShow?: unknown;
237
+ beforeCopy?: unknown;
238
+ beforeCreateCol?: unknown;
239
+ beforeCreateRow?: unknown;
240
+ beforeCut?: unknown;
241
+ beforeDetachChild?: unknown;
242
+ beforeDrawBorders?: unknown;
243
+ beforeDropdownMenuSetItems?: unknown;
244
+ beforeDropdownMenuShow?: unknown;
245
+ beforeFilter?: unknown;
246
+ beforeGetCellMeta?: unknown;
247
+ beforeHideColumns?: unknown;
248
+ beforeHideRows?: unknown;
249
+ beforeHighlightingColumnHeader?: unknown;
250
+ beforeHighlightingRowHeader?: unknown;
251
+ beforeInit?: unknown;
252
+ beforeInitWalkontable?: unknown;
253
+ beforeKeyDown?: unknown;
254
+ beforeLanguageChange?: unknown;
255
+ beforeLoadData?: unknown;
256
+ beforeMergeCells?: unknown;
257
+ beforeOnCellContextMenu?: unknown;
258
+ beforeOnCellMouseDown?: unknown;
259
+ beforeOnCellMouseOut?: unknown;
260
+ beforeOnCellMouseOver?: unknown;
261
+ beforeOnCellMouseUp?: unknown;
262
+ beforePaste?: unknown;
263
+ beforeRedo?: unknown;
264
+ beforeRedoStackChange?: unknown;
265
+ beforeRefreshDimensions?: unknown;
266
+ beforeRemoveCellClassNames?: unknown;
267
+ beforeRemoveCellMeta?: unknown;
268
+ beforeRemoveCol?: unknown;
269
+ beforeRemoveRow?: unknown;
270
+ beforeRender?: unknown;
271
+ beforeRenderer?: unknown;
272
+ beforeRowMove?: unknown;
273
+ beforeRowResize?: unknown;
274
+ beforeSetCellMeta?: unknown;
275
+ beforeSetData?: unknown;
276
+ beforeSetRangeEnd?: unknown;
277
+ beforeSetRangeStart?: unknown;
278
+ beforeSetRangeStartOnly?: unknown;
279
+ beforeStretchingColumnWidth?: unknown;
280
+ beforeTouchScroll?: unknown;
281
+ beforeTrimRow?: unknown;
282
+ beforeUndo?: unknown;
283
+ beforeUndoStackChange?: unknown;
284
+ beforeUnhideColumns?: unknown;
285
+ beforeUnhideRows?: unknown;
286
+ beforeUnmergeCells?: unknown;
287
+ beforeUntrimRow?: unknown;
288
+ beforeUpdateData?: unknown;
289
+ beforeValidate?: unknown;
290
+ beforeValueRender?: unknown;
291
+ beforeViewRender?: unknown;
292
+ construct?: unknown;
293
+ init?: unknown;
294
+ modifyAutoColumnSizeSeed?: unknown;
295
+ modifyAutofillRange?: unknown;
296
+ modifyColHeader?: unknown;
297
+ modifyColumnHeaderHeight?: unknown;
298
+ modifyColWidth?: unknown;
299
+ modifyCopyableRange?: unknown;
300
+ modifyData?: unknown;
301
+ modifyGetCellCoords?: unknown;
302
+ modifyRowData?: unknown;
303
+ modifyRowHeader?: unknown;
304
+ modifyRowHeaderWidth?: unknown;
305
+ modifyRowHeight?: unknown;
306
+ modifyRowSourceData?: unknown;
307
+ modifySourceData?: unknown;
308
+ modifyTransformEnd?: unknown;
309
+ modifyTransformStart?: unknown;
310
+ persistentStateLoad?: unknown;
311
+ persistentStateReset?: unknown;
312
+ persistentStateSave?: unknown;
313
+ } & {
314
+ [x: string]: any;
315
+ } & {
316
+ [x: number]: any;
317
+ }>, {
318
+ [x: string]: any;
319
+ }>;
320
+ export default HotColumn;
321
+ export { HotColumn };