@handsontable/react 15.0.0-next-07b7ebc-20241210 → 15.0.0-next-8d7ffcf-20241216

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.
package/README.md CHANGED
@@ -1,68 +1,88 @@
1
1
  <div align="center">
2
-
3
- <a href="https://handsontable.com" rel="nofollow"><img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/handsontable-logo-blue.svg" alt="Handsontable - data grid for React" width="300"></a>
4
-
5
- # React Data Grid <img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/icons/react-icon.svg" width="22" height="22">
6
-
7
- Handsontable's wrapper for React combines data grid features with spreadsheet-like UX. <br>
8
- It provides data binding, data validation, filtering, sorting, and CRUD operations.
9
-
10
- [![npm](https://img.shields.io/npm/dt/@handsontable/react.svg)](https://npmjs.com/package/@handsontable/react)
11
- [![npm](https://img.shields.io/npm/dm/@handsontable/react.svg)](https://npmjs.com/package/@handsontable/react)
2
+ <br><br>
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-logo-white.svg?raw=true"/>
5
+ <source media="(prefers-color-scheme: light)" srcset="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-logo-black.svg?raw=true"/>
6
+ <img width="360" alt="Logo of Handsontable data grid" src="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-logo-black.svg?raw=true"/>
7
+ </picture>
8
+ <br><br>
9
+ <h3>The official <img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/icons/react-icon.svg" width="16" height="16"> React <i>class-based</i> wrapper for Handsontable.
10
+ <br>
11
+ <a href="https://handsontable.com/docs/react-data-grid" target="_blank">JavaScript Data Grid</a> with a spreadsheet-like look and feel.</h3>
12
+
13
+ <p>With its spreadsheet-like editing features, it’s perfect for building data-rich internal apps. It allows users to enter, edit, validate, and process data from various sources. Common use cases include resource planning software (ERP), inventory management systems, digital platforms, and data modeling applications.</p>
14
+
15
+ <a href="https://handsontable.com">Website</a> &nbsp;&nbsp;—&nbsp;&nbsp; <a href="https://handsontable.com/docs/react-data-grid">Documentation</a> &nbsp;&nbsp;—&nbsp;&nbsp; <a href="https://handsontable.com/docs/react-data-grid/themes">Themes</a> &nbsp;&nbsp;—&nbsp;&nbsp; <a href="https://handsontable.com/docs/react-data-grid/api">API</a> &nbsp;&nbsp;—&nbsp;&nbsp; <a href="https://github.com/handsontable/handsontable/discussions">Community</a>
16
+
17
+ <br>
18
+
19
+ [![NPM version](https://img.shields.io/npm/v/@handsontable/react?style=for-the-badge)](https://npmjs.com/package/@handsontable/react)
20
+ [![Total downloads](https://img.shields.io/npm/dt/handsontable.svg?style=for-the-badge)](https://npmjs.com/package/@handsontable/react)
21
+ [![Monthly downloads](https://img.shields.io/npm/dm/handsontable.svg?style=for-the-badge)](https://npmjs.com/package/@handsontable/react)
22
+ [![Contributors](https://img.shields.io/github/contributors/handsontable/handsontable?style=for-the-badge)](https://github.com/handsontable/handsontable/graphs/contributors)
23
+ <br>
12
24
  [![CI status](https://github.com/handsontable/handsontable/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/handsontable/handsontable/actions/workflows/test.yml?query=branch%3Amaster)
13
- [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fhandsontable%2Fhandsontable.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhandsontable%2Fhandsontable?ref=badge_shield)
14
- [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=handsontable_handsontable&metric=alert_status)](https://sonarcloud.io/dashboard?id=handsontable_handsontable)
25
+ [![Quality gate status](https://sonarcloud.io/api/project_badges/measure?project=handsontable_handsontable&metric=alert_status)](https://sonarcloud.io/dashboard?id=handsontable_handsontable)
26
+ [![FOSSA status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fhandsontable%2Fhandsontable.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhandsontable%2Fhandsontable?ref=badge_shield)
15
27
 
16
- ---
17
-
18
- <a href="https://handsontable.com/demo"><img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/handsontable-github-preview.png" alt="Handsontable data grid for React" width="805"/></a>
28
+ <br>
19
29
 
30
+ <picture>
31
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-preview-dark-theme.png?raw=true"/>
32
+ <source media="(prefers-color-scheme: light)" srcset="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-preview-light-theme.png?raw=true"/>
33
+ <img width="780" alt="React data grid preview" src="https://github.com/handsontable/handsontable/blob/develop/resources/handsontable-preview-light-theme.png?raw=true"/>
34
+ </picture>
20
35
  </div>
21
36
 
22
- ## Features
23
-
24
- The most popular features of Handsontable for React:
25
-
26
- &nbsp;&nbsp;✓&nbsp; Multiple column sorting <br>
27
- &nbsp;&nbsp;✓&nbsp; Non-contiguous selection <br>
28
- &nbsp;&nbsp;✓&nbsp; Filtering data <br>
29
- &nbsp;&nbsp;✓&nbsp; Export to file <br>
30
- &nbsp;&nbsp;✓&nbsp; Validating data <br>
31
- &nbsp;&nbsp;✓&nbsp; Conditional formatting <br>
32
- &nbsp;&nbsp;✓&nbsp; Merging cells <br>
33
- &nbsp;&nbsp;✓&nbsp; Freezing rows/columns <br>
34
- &nbsp;&nbsp;✓&nbsp; Moving rows/columns <br>
35
- &nbsp;&nbsp;✓&nbsp; Resizing rows/columns <br>
36
- &nbsp;&nbsp;✓&nbsp; Hiding rows/columns <br>
37
- &nbsp;&nbsp;✓&nbsp; Context menu <br>
38
- &nbsp;&nbsp;✓&nbsp; Comments <br>
39
-
40
- ## Documentation
41
-
42
- - [Developer guides](https://handsontable.com/docs/react-installation/)
43
- - [API Reference](https://handsontable.com/docs/api/core/)
44
- - [Changelog](https://handsontable.com/docs/release-notes/)
45
- - [Demo](https://handsontable.com/demo)
46
-
47
- <div id="installation"></div>
48
-
49
- ## Get started
37
+ ## ✨ Key Features
38
+
39
+ &nbsp;&nbsp;✅&nbsp; [Built-in themes](https://handsontable.com/docs/react-data-grid/themes/) <br>
40
+ &nbsp;&nbsp;✅&nbsp; [Flexible API](https://handsontable.com/docs/react-data-grid/api/) <br>
41
+ &nbsp;&nbsp;✅&nbsp; [Virtualization](https://handsontable.com/docs/react-data-grid/row-virtualization/) <br>
42
+ &nbsp;&nbsp;✅&nbsp; [IME support](https://handsontable.com/docs/react-data-grid/ime-support/) <br>
43
+ &nbsp;&nbsp;✅&nbsp; [Internationalization](https://handsontable.com/docs/react-data-grid/language/) <br>
44
+ &nbsp;&nbsp;✅&nbsp; [RTL support](https://handsontable.com/docs/react-data-grid/layout-direction/) <br>
45
+ &nbsp;&nbsp;✅&nbsp; [Accessibility](https://handsontable.com/docs/react-data-grid/accessibility/) <br>
46
+ &nbsp;&nbsp;✅&nbsp; [Keyboard shortcuts](https://handsontable.com/docs/react-data-grid/keyboard-shortcuts/) <br>
47
+ &nbsp;&nbsp;✅&nbsp; [Sorting data](https://handsontable.com/docs/react-data-grid/rows-sorting/) <br>
48
+ &nbsp;&nbsp;✅&nbsp; [Filtering data](https://handsontable.com/docs/react-data-grid/column-filter/) <br>
49
+ &nbsp;&nbsp;✅&nbsp; [400 built-in formulas](https://handsontable.com/docs/react-data-grid/formula-calculation/) <br>
50
+ &nbsp;&nbsp;✅&nbsp; [Configurable selection](https://handsontable.com/docs/react-data-grid/selection/) <br>
51
+ &nbsp;&nbsp;✅&nbsp; [Data validation](https://handsontable.com/docs/react-data-grid/cell-validator/) <br>
52
+ &nbsp;&nbsp;✅&nbsp; [Conditional formatting](https://handsontable.com/docs/react-data-grid/conditional-formatting/) <br>
53
+ &nbsp;&nbsp;✅&nbsp; [Merged cells](https://handsontable.com/docs/react-data-grid/merge-cells/) <br>
54
+ &nbsp;&nbsp;✅&nbsp; [Pinned/frozen columns](https://handsontable.com/docs/react-data-grid/column-freezing/) <br>
55
+ &nbsp;&nbsp;✅&nbsp; [Hiding columns](https://handsontable.com/docs/react-data-grid/column-hiding/) <br>
56
+ &nbsp;&nbsp;✅&nbsp; [Right-click context menu](https://handsontable.com/docs/react-data-grid/context-menu/) <br>
57
+
58
+ <div id="installation">
59
+
60
+ ## 🪄 Installation
61
+ Below is the installation guide for the React class-based component. If you're using React with functional components or another framework, please refer to its dedicated wrapper for specific installation instructions.
62
+
63
+ - <img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/icons/react-icon.svg" width="12" height="12"><a href="https://github.com/handsontable/handsontable/tree/master/wrappers/react-wrapper"> React functional component</a>
64
+ - <img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/icons/react-icon.svg" width="12" height="12" alt="React"> <a href="https://github.com/handsontable/handsontable/tree/master/wrappers/react"> React class component</a>
65
+ - <img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/icons/angular-icon.svg" width="12" height="12" alt="Angular"> <a href="https://github.com/handsontable/handsontable/tree/master/wrappers/angular"> Angular</a>
66
+ - <img src="https://raw.githubusercontent.com/handsontable/handsontable/develop/resources/icons/vue-icon.svg" width="12" height="12" alt="Vue"> <a href="https://github.com/handsontable/handsontable/tree/master/wrappers/vue3"> Vue</a>
50
67
 
51
- ### 1. Install Handsontable
68
+ ---
52
69
 
53
- Get Handsontable from [npm](https://www.npmjs.com/package/@handsontable/react) or [Yarn](https://yarnpkg.com/package/@handsontable/react).
70
+ ### Install Handsontable from [npm](https://www.npmjs.com/package/@handsontable/react) or [Yarn](https://yarnpkg.com/package/@handsontable/react).
54
71
 
55
72
  ```bash
56
73
  npm install handsontable @handsontable/react
57
74
  ```
58
75
 
59
- Import Handsontable's CSS:
76
+ ### Import CSS files
60
77
 
61
78
  ```jsx
62
- import 'handsontable/dist/handsontable.full.min.css';
79
+ // Base CSS rules
80
+ import 'handsontable/styles/handsontable.min.css';
81
+ // Main theme variables
82
+ import 'handsontable/styles/ht-theme-main.min.css';
63
83
  ```
64
84
 
65
- ### 2. Register Handsontable's modules
85
+ ### Register Handsontable's modules
66
86
 
67
87
  ```jsx
68
88
  import { registerAllModules } from 'handsontable/registry';
@@ -70,7 +90,7 @@ import { registerAllModules } from 'handsontable/registry';
70
90
  registerAllModules();
71
91
  ```
72
92
 
73
- ### 3. Use the `HotTable` component
93
+ ### Use the `HotTable` component
74
94
 
75
95
  The main Handsontable component is called `HotTable`.
76
96
 
@@ -81,56 +101,120 @@ import { HotTable } from '@handsontable/react';
81
101
  To set Handsontable's [configuration options](https://handsontable.com/docs/react-data-grid/configuration-options), use `HotTable`'s props. For example:
82
102
 
83
103
  ```jsx
84
- import { HotTable } from '@handsontable/react';
104
+ import { HotTable, HotColumn } from '@handsontable/react';
85
105
  import { registerAllModules } from 'handsontable/registry';
86
- import 'handsontable/dist/handsontable.full.min.css';
106
+ import 'handsontable/styles/handsontable.min.css';
107
+ import 'handsontable/styles/ht-theme-main.min.css';
87
108
 
88
109
  registerAllModules();
89
110
 
90
111
  const ExampleComponent = () => {
91
-
92
112
  return (
93
- <HotTable
94
- // set `HotTable`'s props here
95
- data={[
96
- ['', 'Tesla', 'Volvo', 'Toyota', 'Ford'],
97
- ['2019', 10, 11, 12, 13],
98
- ['2020', 20, 11, 14, 13],
99
- ['2021', 30, 15, 12, 13]
100
- ]}
101
- rowHeaders={true}
102
- colHeaders={true}
103
- height="auto"
104
- licenseKey="non-commercial-and-evaluation" // for non-commercial use only
105
- />
113
+ <HotTable
114
+ data={[
115
+ { company: 'Tagcat', country: 'United Kingdom', rating: 4.4 },
116
+ { company: 'Zoomzone', country: 'Japan', rating: 4.5 },
117
+ { company: 'Meeveo', country: 'United States', rating: 4.6 },
118
+ ]}
119
+ rowHeaders={true}
120
+ colHeaders={true}
121
+ navigableHeaders={true}
122
+ tabNavigation={true}
123
+ multiColumnSorting={true}
124
+ headerClassName="htLeft"
125
+ licenseKey="non-commercial-and-evaluation"
126
+ >
127
+ <HotColumn title="Company" data="company" width="100"></HotColumn>
128
+ <HotColumn title="Country" data="country" width="170" type="dropdown" source={['United Kingdom', 'Japan', 'United States']}></HotColumn>
129
+ <HotColumn title="Rating" data="rating" width="100" type="numeric"></HotColumn>
130
+ </HotTable>
106
131
  );
107
132
  };
108
133
  ```
109
134
 
135
+ [![Static Badge](https://img.shields.io/badge/View%20live%20demo-1a42e8?style=for-the-badge)](https://handsontable.com/docs/react-data-grid/demo)
136
+
137
+ </div>
138
+
139
+ <br>
140
+
141
+ ## 🚀 Resources
142
+
143
+ - [Website](https://handsontable.com)
144
+ - [Demo](https://handsontable.com/demo)
145
+ - [Documentation](https://handsontable.com/docs/react-data-grid)
146
+ - [npm](https://www.npmjs.com/package/@handsontable/react)
147
+ - [CDN](https://www.jsdelivr.com/package/npm/@handsontable/react)
148
+ - [Forum](https://forum.handsontable.com/)
149
+ - [Blog](https://handsontable.com/blog)
150
+ - [Contact support team](https://handsontable.com/contact?category=technical_support)
151
+ - [Get a quote](https://handsontable.com/get-a-quote)
152
+
153
+ <br>
154
+
155
+ ## 🤔 Is Handsontable a Data Grid or a Spreadsheet?
156
+
157
+ Handsontable is a data grid component written in JavaScript, not a spreadsheet. However, it brings in many features typically found in spreadsheet software. We designed it this way because spreadsheet-like patterns are often the most user-friendly when it comes to data entry and management.
158
+
159
+ ### Spreadsheet-like features in Handsontable:
160
+
161
+ - Keyboard shortcuts compliant with either Google Sheets or Excel
162
+ - 400 spreadsheet formulas via native integration with [HyperFormula](https://github.com/handsontable/hyperformula)
163
+ - Keyboard navigation across headers that can be disabled, making only cells navigable
164
+ - TAB navigation across cells that can be disabled
165
+ - Built-in undo-redo functionality
166
+ - Powerful clipboard capabilities for copy-paste operations
167
+ - Ability to scroll the grid within the container (`div`) or window
168
+ - Data binding in the form of an array of objects or arrays of arrays
169
+ - Built-in cell editors like a date picker or dropdown list
170
+
171
+ At first glance, it might seem that a data table, spreadsheet, and data grid are just different names for the same thing - an interactive table displaying data. In reality, these tools serve different purposes and offer distinct functionalities, designed to meet specific needs. Handsontable sits comfortably in the data grid category while incorporating many of the best aspects of spreadsheet software.
172
+
173
+ <br>
174
+
175
+ ## 🛟 Support
110
176
 
177
+ **We're here to help!**
111
178
 
112
- ### [View live demo](https://handsontable.com/docs/react-data-grid/demo/)
179
+ If you're using Handsontable with a free, non-commercial license, you can:
180
+ - Join the conversation on [GitHub Discussions](https://github.com/handsontable/handsontable/discussions) to share ideas, suggest features, or discuss changes.
181
+ - Report any bugs you find on our [GitHub Issue Board](https://github.com/handsontable/handsontable/issues).
182
+ - Connect with other developers and find answers on our [Developer Forum](https://handsontable.com/forum).
113
183
 
114
- ## Support
184
+ If you have a commercial license, feel free to contact us directly at [support@handsontable.com](mailto:support@handsontable.com) or use our [contact form](https://handsontable.com/contact?category=technical_support).
115
185
 
116
- We provide support for developers working with commercial version via [contact form](https://handsontable.com/contact?category=technical_support)</a> or at support@handsontable.com.
186
+ <br>
187
+
188
+ ## 📖 Licenses
189
+
190
+ Handsontable is available under two licensing options, allowing you to choose the one that best fits your needs. Each license comes with its own terms and conditions, as outlined below:
191
+
192
+ ### ① Free license for non-commercial use, and evaluation purposes
193
+ This license is available for non-commercial purposes such as teaching, academic research, or evaluation. It allows you to use Handsontable free of charge under the terms specified in the non-commercial license agreement.
194
+ [Learn more here](https://github.com/handsontable/handsontable/blob/master/handsontable-non-commercial-license.pdf).
195
+
196
+ ### ② Commercial license
197
+ For commercial use, a paid license is required. This license includes support and maintenance to ensure you get the most out of Handsontable. The commercial license can be purchased directly from Handsoncode or through an [authorized reseller](https://handsontable.com/resellers). See the [pricing page](https://handsontable.com/pricing) for details.
117
198
 
118
- If you use a non-commercial version then please ask your tagged question on [StackOverflow](https://stackoverflow.com/questions/tagged/handsontable).
199
+ <br>
119
200
 
120
- ## License
201
+ ## 🔑 License Key
121
202
 
122
- Handsontable is a commercial software with two licenses available:
203
+ For projects covered by the free non-commercial license, simply use the phrase `'non-commercial-and-evaluation'` as your license key.
123
204
 
124
- - Free for non-commercial purposes such as teaching, academic research, and evaluation. [Read it here](https://github.com/handsontable/handsontable/blob/master/handsontable-non-commercial-license.pdf).
125
- - Commercial license with support and maintenance included. See [pricing plans](https://handsontable.com/pricing).
205
+ If you're using Handsontable in a project that supports commercial activities, you'll need to purchase a license key at [handsontable.com/pricing](https://handsontable.com/pricing). You can find more details in [our documentation](https://handsontable.com/docs/license-key/).
126
206
 
127
- ## License key
207
+ <br>
128
208
 
129
- If you use Handsontable for React in a project that supports your commercial activity, then you must purchase the license key at [handsontable.com](https://handsontable.com/pricing).
209
+ ## 🙌 Contributing
130
210
 
131
- If you use the free for non-commercial license of Handsontable, then pass the phrase `'non-commercial-and-evaluation'`, as described in [this documentation](https://handsontable.com/docs/license-key/).
211
+ Contributions are welcome, but before you make them, please read the [Contributing Guide](https://github.com/handsontable/handsontable/blob/develop/CONTRIBUTING.md) and accept the [Contributor License Agreement](https://goo.gl/forms/yuutGuN0RjsikVpM2).
132
212
 
133
213
  <br>
134
214
  <br>
135
215
 
136
- Proudly created and maintained by the [Handsontable Team](https://handsontable.com/team).
216
+ Created and maintained by the [Handsontable Team](https://handsontable.com/team) 👋
217
+
218
+ ---
219
+
220
+ © 2012 - 2024 Handsoncode
@@ -497,7 +497,7 @@ var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
497
497
  }]);
498
498
  }(React__default["default"].Component);
499
499
 
500
- var version="15.0.0-next-07b7ebc-20241210";
500
+ var version="15.0.0-next-8d7ffcf-20241216";
501
501
 
502
502
  function getDefaultExportFromCjs (x) {
503
503
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -25,7 +25,7 @@
25
25
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
26
  * USE OR INABILITY TO USE THIS SOFTWARE.
27
27
  *
28
- * Version: 15.0.0-next-07b7ebc-20241210 (built at Tue Dec 10 2024 16:52:23 GMT+0000 (Coordinated Universal Time))
28
+ * Version: 15.0.0-next-8d7ffcf-20241216 (built at Mon Dec 16 2024 10:05:40 GMT+0000 (Coordinated Universal Time))
29
29
  */
30
30
  (function (global, factory) {
31
31
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom'), require('handsontable/base'), require('handsontable/renderers/registry'), require('handsontable/editors/registry')) :
@@ -513,7 +513,7 @@ var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
513
513
  }]);
514
514
  }(React__default["default"].Component);
515
515
 
516
- var version="15.0.0-next-07b7ebc-20241210";
516
+ var version="15.0.0-next-8d7ffcf-20241216";
517
517
 
518
518
  function getDefaultExportFromCjs (x) {
519
519
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -25,7 +25,7 @@
25
25
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
26
  * USE OR INABILITY TO USE THIS SOFTWARE.
27
27
  *
28
- * Version: 15.0.0-next-07b7ebc-20241210 (built at Tue Dec 10 2024 16:52:27 GMT+0000 (Coordinated Universal Time))
28
+ * Version: 15.0.0-next-8d7ffcf-20241216 (built at Mon Dec 16 2024 10:05:44 GMT+0000 (Coordinated Universal Time))
29
29
  */
30
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom"),require("handsontable/base"),require("handsontable/renderers/registry"),require("handsontable/editors/registry")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","handsontable/base","handsontable/renderers/registry","handsontable/editors/registry"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Handsontable=e.Handsontable||{},e.Handsontable.react={}),e.React,e.ReactDOM,e.Handsontable,e.Handsontable.renderers,e.Handsontable.editors)}(this,(function(e,t,n,r,o,i){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(t),s=a(n),u=a(r);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);t>n;n++)r[n]=e[n];return r}function d(e,t,n){return t=g(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,v()?Reflect.construct(t,n||[],g(e).constructor):t.apply(e,n))}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function C(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return e+""}(e,"string");return"symbol"==typeof t?t:t+""}var I=null,w="global";function O(e,t){var n=l.default.Children.toArray(e),r=l.default.Children.count(e),o=null;return 0!==r&&(o=1===r&&n[0].props[t]?n[0]:n.find((function(e){return void 0!==e.props[t]}))),o||null}function _(e){return e?e.type.WrappedComponent?e.type.WrappedComponent:e.type:null}function S(e,t){if(void 0===e||null===t)return null;var n=j(t.props,!1);return n.className="".concat("hot-wrapper-editor-container"," ").concat(n.className),s.default.createPortal(l.default.createElement("div",Object.assign({},n),t),e.body)}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w,r=O(e,"hot-editor"),o=_(r);return r?l.default.cloneElement(r,{emitEditorInstance:function(e,n){t.get(o)||t.set(o,new Map),t.get(o).set(null!=n?n:w,e)},editorColumnScope:n,isEditor:!0}):null}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;n||(n=document),I||(I=n.createDocumentFragment());var i=null!=o?o:n.createElement("DIV");I.appendChild(i);var a=l.default.cloneElement(e,function(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:"".concat(t.row,"-").concat(t.col)},t));return{portal:s.default.createPortal(a,i,r),portalContainer:i}}function j(e){return{id:e.id||(1>=arguments.length||void 0===arguments[1]||arguments[1]?"hot-"+Math.random().toString(36).substring(5):void 0),className:e.className||"",style:e.style||{}}}var A=function(){return f((function e(){p(this,e)}),null,[{key:"getSettings",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prevProps,r=void 0===n?{}:n,o=t.isInit,i=void 0!==o&&o,a=t.initOnlySettingKeys,l=void 0===a?[]:a,s=function(t){return!(i||!l.includes(t))&&r[t]===e[t]},u={};if(e.settings){var c=e.settings;for(var d in c)c.hasOwnProperty(d)&&!s(d)&&(u[d]=c[d])}for(var p in e)"settings"!==p&&"children"!==p&&!s(p)&&e.hasOwnProperty(p)&&(u[p]=e[p]);return u}}])}(),B=function(e){function t(){return p(this,t),d(this,t,arguments)}return m(t,e),f(t,[{key:"getSettingsProps",value:function(){var e=this;return this.internalProps=["_componentRendererColumns","_emitColumnSettings","_columnIndex","_getChildElementByType","_getRendererWrapper","_getEditorClass","_getEditorCache","_getOwnerDocument","hot-renderer","hot-editor","children"],Object.keys(this.props).filter((function(t){return!e.internalProps.includes(t)})).reduce((function(t,n){return t[n]=e.props[n],t}),{})}},{key:"getLocalEditorElement",value:function(){return R(this.props.children,this.props._getEditorCache(),this.props._columnIndex)}},{key:"createColumnSettings",value:function(){var e=this.props._getChildElementByType(this.props.children,"hot-renderer"),t=this.getLocalEditorElement();this.columnSettings=A.getSettings(this.getSettingsProps()),null!==e&&(this.columnSettings.renderer=this.props._getRendererWrapper(e),this.props._componentRendererColumns.set(this.props._columnIndex,!0)),null!==t&&(this.columnSettings.editor=this.props._getEditorClass(t,this.props._columnIndex))}},{key:"emitColumnSettings",value:function(){this.props._emitColumnSettings(this.columnSettings,this.props._columnIndex)}},{key:"componentDidMount",value:function(){this.createColumnSettings(),this.emitColumnSettings()}},{key:"componentDidUpdate",value:function(){this.createColumnSettings(),this.emitColumnSettings()}},{key:"render",value:function(){var e=S(this.props._getOwnerDocument(),this.getLocalEditorElement());return l.default.createElement(l.default.Fragment,null,e)}}])}(l.default.Component),D=function(e){function t(){var e;return p(this,t),(e=d(this,t,arguments)).state={portals:[]},e}return m(t,e),f(t,[{key:"render",value:function(){return l.default.createElement(l.default.Fragment,null,this.state.portals)}}])}(l.default.Component);function H(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var T,M,x,V,W={exports:{}};W.exports=function(){if(V)return x;V=1;var e=M?T:(M=1,T="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,x=function(){function r(t,n,r,o,i,a){if(a!==e){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var z=H(W.exports),N=function(e){function t(){var e;return p(this,t),(e=d(this,t,arguments)).id=null,e.__hotInstance=null,e.hotElementRef=null,e.columnSettings=[],e.renderersPortalManager=null,e.portalCache=new Map,e.portalContainerCache=new Map,e.renderedCellCache=new Map,e.editorCache=new Map,e.componentRendererColumns=new Map,e}return m(t,e),f(t,[{key:"hotInstance",get:function(){return!this.__hotInstance||this.__hotInstance&&!this.__hotInstance.isDestroyed?this.__hotInstance:(console.warn("The Handsontable instance bound to this component was destroyed and cannot be used properly."),null)},set:function(e){this.__hotInstance=e}},{key:"_isHotInstanceDestroyed",value:function(){return this.__hotInstance&&this.__hotInstance.isDestroyed}},{key:"getPortalContainerCache",value:function(){return this.portalContainerCache}},{key:"getRenderedCellCache",value:function(){return this.renderedCellCache}},{key:"getEditorCache",value:function(){return this.editorCache}},{key:"clearCache",value:function(){this.getRenderedCellCache().clear(),this.componentRendererColumns.clear()}},{key:"getOwnerDocument",value:function(){return"undefined"!=typeof window?this.hotElementRef?this.hotElementRef.ownerDocument:document:null}},{key:"setHotElementRef",value:function(e){this.hotElementRef=e}},{key:"getRendererWrapper",value:function(e){var t=this;return function(n,r,o,i,a,l,s){var u=t.getRenderedCellCache(),c=t.getPortalContainerCache(),d="".concat(o,"-").concat(i),p=n.guid,h="".concat(p,"-").concat(d),f="".concat(d,"-").concat(p);if(u.has(d)&&(r.innerHTML=u.get(d).innerHTML),r&&!r.getAttribute("ghost-table")){for(var y=t.portalCache.get(f),g=c.get(h);r.firstChild;)r.removeChild(r.firstChild);if(y&&g)r.appendChild(g);else{var m=P(e,{TD:r,row:o,col:i,prop:a,value:l,cellProperties:s,isRenderer:!0},r.ownerDocument,f,g),v=m.portal,E=m.portalContainer;c.set(h,E),r.appendChild(E),t.portalCache.set(f,v)}}return u.set(d,r),r}}},{key:"getEditorClass",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w,r=_(e),o=null===(t=this.getEditorCache().get(r))||void 0===t?void 0:t.get(n);return this.makeEditorClass(o)}},{key:"makeEditorClass",value:function(e){var t=function(t){function n(t){var r;return p(this,n),r=d(this,n,[t]),e.hotCustomEditorInstance=r,r.editorComponent=e,r}return m(n,t),f(n,[{key:"focus",value:function(){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(){}},{key:"open",value:function(){}},{key:"close",value:function(){}}])}(u.default.editors.BaseEditor);return Object.getOwnPropertyNames(u.default.editors.BaseEditor.prototype).forEach((function(n){"constructor"!==n&&(t.prototype[n]=function(){for(var t,r=arguments.length,o=Array(r),i=0;r>i;i++)o[i]=arguments[i];return(t=e[n]).call.apply(t,[e].concat(o))})})),t}},{key:"getGlobalRendererElement",value:function(){return O(this.props.children,"hot-renderer")}},{key:"getGlobalEditorElement",value:function(){return R(this.props.children,this.getEditorCache())}},{key:"createNewGlobalSettings",value:function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=this._isHotInstanceDestroyed()?[]:(null===(e=this.hotInstance)||void 0===e||null===(e=e.getSettings())||void 0===e?void 0:e._initOnlySettings)||[],s=A.getSettings(this.props,{prevProps:a,isInit:r,initOnlySettingKeys:l}),u=this.getGlobalRendererElement(),c=this.getGlobalEditorElement();(s.columns=this.columnSettings.length?this.columnSettings:s.columns,c)?s.editor=this.getEditorClass(c,w):s.editor=this.props.editor||null!==(t=this.props.settings)&&void 0!==t&&t.editor?this.props.editor||this.props.settings.editor:i.getEditor("text");u?(s.renderer=this.getRendererWrapper(u),this.componentRendererColumns.set("global",!0)):s.renderer=this.props.renderer||null!==(n=this.props.settings)&&void 0!==n&&n.renderer?this.props.renderer||this.props.settings.renderer:o.getRenderer("text");return s}},{key:"displayAutoSizeWarning",value:function(e){var t,n;this.hotInstance&&(null!==(t=this.hotInstance.getPlugin("autoRowSize"))&&void 0!==t&&t.enabled||null!==(n=this.hotInstance.getPlugin("autoColumnSize"))&&void 0!==n&&n.enabled)&&this.componentRendererColumns.size>0&&function(){var e;void 0!==console&&(e=console).warn.apply(e,arguments)}("Your `HotTable` configuration includes `autoRowSize`/`autoColumnSize` options, which are not compatible with the component-based renderers`. Disable `autoRowSize` and `autoColumnSize` to prevent row and column misalignment.")}},{key:"setHotColumnSettings",value:function(e,t){this.columnSettings[t]=e}},{key:"handsontableBeforeViewRender",value:function(){this.portalCache.clear(),this.getRenderedCellCache().clear()}},{key:"handsontableAfterViewRender",value:function(){this.renderersPortalManager.setState({portals:C(this.portalCache.values())})}},{key:"updateHot",value:function(e){this.hotInstance&&this.hotInstance.updateSettings(e,!1)}},{key:"setRenderersPortalManagerRef",value:function(e){this.renderersPortalManager=e}},{key:"componentDidMount",value:function(){var e=this,t=this.createNewGlobalSettings(!0);this.hotInstance=new u.default.Core(this.hotElementRef,t),this.hotInstance.addHook("beforeViewRender",(function(){return e.handsontableBeforeViewRender()})),this.hotInstance.addHook("afterViewRender",(function(){return e.handsontableAfterViewRender()})),this.hotInstance.init(),this.displayAutoSizeWarning(t)}},{key:"componentDidUpdate",value:function(e){this.clearCache();var t=this.createNewGlobalSettings(!1,e);this.updateHot(t),this.displayAutoSizeWarning(t)}},{key:"componentWillUnmount",value:function(){this.clearCache(),this.hotInstance&&this.hotInstance.destroy()}},{key:"render",value:function(){var e=this,t=l.default.Children.toArray(this.props.children).filter((function(e){return function(e){return e.type===B}(e)})).map((function(t,n){return l.default.cloneElement(t,{_componentRendererColumns:e.componentRendererColumns,_emitColumnSettings:e.setHotColumnSettings.bind(e),_columnIndex:n,_getChildElementByType:O.bind(e),_getRendererWrapper:e.getRendererWrapper.bind(e),_getEditorClass:e.getEditorClass.bind(e),_getOwnerDocument:e.getOwnerDocument.bind(e),_getEditorCache:e.getEditorCache.bind(e),children:t.props.children})})),n=j(this.props),r=S(this.getOwnerDocument(),this.getGlobalEditorElement());return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",Object.assign({ref:this.setHotElementRef.bind(this)},n),t),l.default.createElement(D,{ref:this.setRenderersPortalManagerRef.bind(this)}),r)}}],[{key:"version",get:function(){return"15.0.0-next-07b7ebc-20241210"}}])}(l.default.Component);N.propTypes={style:z.object,id:z.string,className:z.string};var F=["children"],G=l.default.forwardRef((function(e,t){var n,r=e.children,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;i.length>r;r++)t.includes(n=i[r])||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,F),i="function"==typeof l.default.useId?l.default.useId():void 0,a=null!==(n=o.id)&&void 0!==n?n:i;return l.default.createElement(N,Object.assign({id:a},o,{ref:t}),r)}));G.version=N.version;var L=function(e){function t(){var e;return p(this,t),(e=d(this,t,arguments)).name="BaseEditorComponent",e.instance=null,e.row=null,e.col=null,e.prop=null,e.TD=null,e.originalValue=null,e.cellProperties=null,e.state=null,e.hotInstance=null,e.hotCustomEditorInstance=null,e.hot=null,e}return m(t,e),f(t,[{key:"componentDidMount",value:function(){this.props.emitEditorInstance&&this.props.emitEditorInstance(this,this.props.editorColumnScope)}},{key:"componentDidUpdate",value:function(){this.props.emitEditorInstance&&this.props.emitEditorInstance(this,this.props.editorColumnScope)}},{key:"_fireCallbacks",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];(e=u.default.editors.BaseEditor.prototype._fireCallbacks).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"beginEditing",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.beginEditing).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"cancelChanges",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.cancelChanges).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"checkEditorSection",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.checkEditorSection).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"close",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.close).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"discardEditor",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.discardEditor).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"enableFullEditMode",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.enableFullEditMode).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"extend",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.extend).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"finishEditing",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.finishEditing).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"focus",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.focus).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"getValue",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.getValue).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"init",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.init).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"isInFullEditMode",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.isInFullEditMode).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"isOpened",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.isOpened).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"isWaiting",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.isWaiting).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"open",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.open).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"prepare",value:function(e,t,n,r,o,i){return this.hotInstance=i.instance,this.row=e,this.col=t,this.prop=n,this.TD=r,this.originalValue=o,this.cellProperties=i,u.default.editors.BaseEditor.prototype.prepare.call(this.hotCustomEditorInstance,e,t,n,r,o,i)}},{key:"saveValue",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.saveValue).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"setValue",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.setValue).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"addHook",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.addHook).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"removeHooksByKey",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.removeHooksByKey).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"clearHooks",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.clearHooks).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"getEditedCell",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.getEditedCell).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"getEditedCellRect",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.getEditedCellRect).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"getEditedCellsZIndex",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(e,[this.hotCustomEditorInstance].concat(n))}}])}(l.default.Component);e.BaseEditorComponent=L,e.HotColumn=B,e.HotTable=G,e.HotTableClass=N,e.default=G,Object.defineProperty(e,"__esModule",{value:!0})}));
30
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom"),require("handsontable/base"),require("handsontable/renderers/registry"),require("handsontable/editors/registry")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","handsontable/base","handsontable/renderers/registry","handsontable/editors/registry"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Handsontable=e.Handsontable||{},e.Handsontable.react={}),e.React,e.ReactDOM,e.Handsontable,e.Handsontable.renderers,e.Handsontable.editors)}(this,(function(e,t,n,r,o,i){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(t),s=a(n),u=a(r);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);t>n;n++)r[n]=e[n];return r}function d(e,t,n){return t=g(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,v()?Reflect.construct(t,n||[],g(e).constructor):t.apply(e,n))}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(e,t)}function b(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return e+""}(e,"string");return"symbol"==typeof t?t:t+""}var I=null,w="global";function O(e,t){var n=l.default.Children.toArray(e),r=l.default.Children.count(e),o=null;return 0!==r&&(o=1===r&&n[0].props[t]?n[0]:n.find((function(e){return void 0!==e.props[t]}))),o||null}function _(e){return e?e.type.WrappedComponent?e.type.WrappedComponent:e.type:null}function S(e,t){if(void 0===e||null===t)return null;var n=j(t.props,!1);return n.className="".concat("hot-wrapper-editor-container"," ").concat(n.className),s.default.createPortal(l.default.createElement("div",Object.assign({},n),t),e.body)}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w,r=O(e,"hot-editor"),o=_(r);return r?l.default.cloneElement(r,{emitEditorInstance:function(e,n){t.get(o)||t.set(o,new Map),t.get(o).set(null!=n?n:w,e)},editorColumnScope:n,isEditor:!0}):null}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;n||(n=document),I||(I=n.createDocumentFragment());var i=null!=o?o:n.createElement("DIV");I.appendChild(i);var a=l.default.cloneElement(e,function(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:"".concat(t.row,"-").concat(t.col)},t));return{portal:s.default.createPortal(a,i,r),portalContainer:i}}function j(e){return{id:e.id||(1>=arguments.length||void 0===arguments[1]||arguments[1]?"hot-"+Math.random().toString(36).substring(5):void 0),className:e.className||"",style:e.style||{}}}var A=function(){return f((function e(){p(this,e)}),null,[{key:"getSettings",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prevProps,r=void 0===n?{}:n,o=t.isInit,i=void 0!==o&&o,a=t.initOnlySettingKeys,l=void 0===a?[]:a,s=function(t){return!(i||!l.includes(t))&&r[t]===e[t]},u={};if(e.settings){var c=e.settings;for(var d in c)c.hasOwnProperty(d)&&!s(d)&&(u[d]=c[d])}for(var p in e)"settings"!==p&&"children"!==p&&!s(p)&&e.hasOwnProperty(p)&&(u[p]=e[p]);return u}}])}(),B=function(e){function t(){return p(this,t),d(this,t,arguments)}return m(t,e),f(t,[{key:"getSettingsProps",value:function(){var e=this;return this.internalProps=["_componentRendererColumns","_emitColumnSettings","_columnIndex","_getChildElementByType","_getRendererWrapper","_getEditorClass","_getEditorCache","_getOwnerDocument","hot-renderer","hot-editor","children"],Object.keys(this.props).filter((function(t){return!e.internalProps.includes(t)})).reduce((function(t,n){return t[n]=e.props[n],t}),{})}},{key:"getLocalEditorElement",value:function(){return R(this.props.children,this.props._getEditorCache(),this.props._columnIndex)}},{key:"createColumnSettings",value:function(){var e=this.props._getChildElementByType(this.props.children,"hot-renderer"),t=this.getLocalEditorElement();this.columnSettings=A.getSettings(this.getSettingsProps()),null!==e&&(this.columnSettings.renderer=this.props._getRendererWrapper(e),this.props._componentRendererColumns.set(this.props._columnIndex,!0)),null!==t&&(this.columnSettings.editor=this.props._getEditorClass(t,this.props._columnIndex))}},{key:"emitColumnSettings",value:function(){this.props._emitColumnSettings(this.columnSettings,this.props._columnIndex)}},{key:"componentDidMount",value:function(){this.createColumnSettings(),this.emitColumnSettings()}},{key:"componentDidUpdate",value:function(){this.createColumnSettings(),this.emitColumnSettings()}},{key:"render",value:function(){var e=S(this.props._getOwnerDocument(),this.getLocalEditorElement());return l.default.createElement(l.default.Fragment,null,e)}}])}(l.default.Component),D=function(e){function t(){var e;return p(this,t),(e=d(this,t,arguments)).state={portals:[]},e}return m(t,e),f(t,[{key:"render",value:function(){return l.default.createElement(l.default.Fragment,null,this.state.portals)}}])}(l.default.Component);function H(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var T,M,x,V,W={exports:{}};W.exports=function(){if(V)return x;V=1;var e=M?T:(M=1,T="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,x=function(){function r(t,n,r,o,i,a){if(a!==e){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var z=H(W.exports),N=function(e){function t(){var e;return p(this,t),(e=d(this,t,arguments)).id=null,e.__hotInstance=null,e.hotElementRef=null,e.columnSettings=[],e.renderersPortalManager=null,e.portalCache=new Map,e.portalContainerCache=new Map,e.renderedCellCache=new Map,e.editorCache=new Map,e.componentRendererColumns=new Map,e}return m(t,e),f(t,[{key:"hotInstance",get:function(){return!this.__hotInstance||this.__hotInstance&&!this.__hotInstance.isDestroyed?this.__hotInstance:(console.warn("The Handsontable instance bound to this component was destroyed and cannot be used properly."),null)},set:function(e){this.__hotInstance=e}},{key:"_isHotInstanceDestroyed",value:function(){return this.__hotInstance&&this.__hotInstance.isDestroyed}},{key:"getPortalContainerCache",value:function(){return this.portalContainerCache}},{key:"getRenderedCellCache",value:function(){return this.renderedCellCache}},{key:"getEditorCache",value:function(){return this.editorCache}},{key:"clearCache",value:function(){this.getRenderedCellCache().clear(),this.componentRendererColumns.clear()}},{key:"getOwnerDocument",value:function(){return"undefined"!=typeof window?this.hotElementRef?this.hotElementRef.ownerDocument:document:null}},{key:"setHotElementRef",value:function(e){this.hotElementRef=e}},{key:"getRendererWrapper",value:function(e){var t=this;return function(n,r,o,i,a,l,s){var u=t.getRenderedCellCache(),c=t.getPortalContainerCache(),d="".concat(o,"-").concat(i),p=n.guid,h="".concat(p,"-").concat(d),f="".concat(d,"-").concat(p);if(u.has(d)&&(r.innerHTML=u.get(d).innerHTML),r&&!r.getAttribute("ghost-table")){for(var y=t.portalCache.get(f),g=c.get(h);r.firstChild;)r.removeChild(r.firstChild);if(y&&g)r.appendChild(g);else{var m=P(e,{TD:r,row:o,col:i,prop:a,value:l,cellProperties:s,isRenderer:!0},r.ownerDocument,f,g),v=m.portal,E=m.portalContainer;c.set(h,E),r.appendChild(E),t.portalCache.set(f,v)}}return u.set(d,r),r}}},{key:"getEditorClass",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w,r=_(e),o=null===(t=this.getEditorCache().get(r))||void 0===t?void 0:t.get(n);return this.makeEditorClass(o)}},{key:"makeEditorClass",value:function(e){var t=function(t){function n(t){var r;return p(this,n),r=d(this,n,[t]),e.hotCustomEditorInstance=r,r.editorComponent=e,r}return m(n,t),f(n,[{key:"focus",value:function(){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(){}},{key:"open",value:function(){}},{key:"close",value:function(){}}])}(u.default.editors.BaseEditor);return Object.getOwnPropertyNames(u.default.editors.BaseEditor.prototype).forEach((function(n){"constructor"!==n&&(t.prototype[n]=function(){for(var t,r=arguments.length,o=Array(r),i=0;r>i;i++)o[i]=arguments[i];return(t=e[n]).call.apply(t,[e].concat(o))})})),t}},{key:"getGlobalRendererElement",value:function(){return O(this.props.children,"hot-renderer")}},{key:"getGlobalEditorElement",value:function(){return R(this.props.children,this.getEditorCache())}},{key:"createNewGlobalSettings",value:function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=this._isHotInstanceDestroyed()?[]:(null===(e=this.hotInstance)||void 0===e||null===(e=e.getSettings())||void 0===e?void 0:e._initOnlySettings)||[],s=A.getSettings(this.props,{prevProps:a,isInit:r,initOnlySettingKeys:l}),u=this.getGlobalRendererElement(),c=this.getGlobalEditorElement();(s.columns=this.columnSettings.length?this.columnSettings:s.columns,c)?s.editor=this.getEditorClass(c,w):s.editor=this.props.editor||null!==(t=this.props.settings)&&void 0!==t&&t.editor?this.props.editor||this.props.settings.editor:i.getEditor("text");u?(s.renderer=this.getRendererWrapper(u),this.componentRendererColumns.set("global",!0)):s.renderer=this.props.renderer||null!==(n=this.props.settings)&&void 0!==n&&n.renderer?this.props.renderer||this.props.settings.renderer:o.getRenderer("text");return s}},{key:"displayAutoSizeWarning",value:function(e){var t,n;this.hotInstance&&(null!==(t=this.hotInstance.getPlugin("autoRowSize"))&&void 0!==t&&t.enabled||null!==(n=this.hotInstance.getPlugin("autoColumnSize"))&&void 0!==n&&n.enabled)&&this.componentRendererColumns.size>0&&function(){var e;void 0!==console&&(e=console).warn.apply(e,arguments)}("Your `HotTable` configuration includes `autoRowSize`/`autoColumnSize` options, which are not compatible with the component-based renderers`. Disable `autoRowSize` and `autoColumnSize` to prevent row and column misalignment.")}},{key:"setHotColumnSettings",value:function(e,t){this.columnSettings[t]=e}},{key:"handsontableBeforeViewRender",value:function(){this.portalCache.clear(),this.getRenderedCellCache().clear()}},{key:"handsontableAfterViewRender",value:function(){this.renderersPortalManager.setState({portals:b(this.portalCache.values())})}},{key:"updateHot",value:function(e){this.hotInstance&&this.hotInstance.updateSettings(e,!1)}},{key:"setRenderersPortalManagerRef",value:function(e){this.renderersPortalManager=e}},{key:"componentDidMount",value:function(){var e=this,t=this.createNewGlobalSettings(!0);this.hotInstance=new u.default.Core(this.hotElementRef,t),this.hotInstance.addHook("beforeViewRender",(function(){return e.handsontableBeforeViewRender()})),this.hotInstance.addHook("afterViewRender",(function(){return e.handsontableAfterViewRender()})),this.hotInstance.init(),this.displayAutoSizeWarning(t)}},{key:"componentDidUpdate",value:function(e){this.clearCache();var t=this.createNewGlobalSettings(!1,e);this.updateHot(t),this.displayAutoSizeWarning(t)}},{key:"componentWillUnmount",value:function(){this.clearCache(),this.hotInstance&&this.hotInstance.destroy()}},{key:"render",value:function(){var e=this,t=l.default.Children.toArray(this.props.children).filter((function(e){return function(e){return e.type===B}(e)})).map((function(t,n){return l.default.cloneElement(t,{_componentRendererColumns:e.componentRendererColumns,_emitColumnSettings:e.setHotColumnSettings.bind(e),_columnIndex:n,_getChildElementByType:O.bind(e),_getRendererWrapper:e.getRendererWrapper.bind(e),_getEditorClass:e.getEditorClass.bind(e),_getOwnerDocument:e.getOwnerDocument.bind(e),_getEditorCache:e.getEditorCache.bind(e),children:t.props.children})})),n=j(this.props),r=S(this.getOwnerDocument(),this.getGlobalEditorElement());return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",Object.assign({ref:this.setHotElementRef.bind(this)},n),t),l.default.createElement(D,{ref:this.setRenderersPortalManagerRef.bind(this)}),r)}}],[{key:"version",get:function(){return"15.0.0-next-8d7ffcf-20241216"}}])}(l.default.Component);N.propTypes={style:z.object,id:z.string,className:z.string};var F=["children"],G=l.default.forwardRef((function(e,t){var n,r=e.children,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;i.length>r;r++)t.includes(n=i[r])||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,F),i="function"==typeof l.default.useId?l.default.useId():void 0,a=null!==(n=o.id)&&void 0!==n?n:i;return l.default.createElement(N,Object.assign({id:a},o,{ref:t}),r)}));G.version=N.version;var L=function(e){function t(){var e;return p(this,t),(e=d(this,t,arguments)).name="BaseEditorComponent",e.instance=null,e.row=null,e.col=null,e.prop=null,e.TD=null,e.originalValue=null,e.cellProperties=null,e.state=null,e.hotInstance=null,e.hotCustomEditorInstance=null,e.hot=null,e}return m(t,e),f(t,[{key:"componentDidMount",value:function(){this.props.emitEditorInstance&&this.props.emitEditorInstance(this,this.props.editorColumnScope)}},{key:"componentDidUpdate",value:function(){this.props.emitEditorInstance&&this.props.emitEditorInstance(this,this.props.editorColumnScope)}},{key:"_fireCallbacks",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];(e=u.default.editors.BaseEditor.prototype._fireCallbacks).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"beginEditing",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.beginEditing).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"cancelChanges",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.cancelChanges).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"checkEditorSection",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.checkEditorSection).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"close",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.close).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"discardEditor",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.discardEditor).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"enableFullEditMode",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.enableFullEditMode).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"extend",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.extend).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"finishEditing",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.finishEditing).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"focus",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.focus).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"getValue",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.getValue).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"init",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.init).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"isInFullEditMode",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.isInFullEditMode).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"isOpened",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.isOpened).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"isWaiting",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.isWaiting).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"open",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.open).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"prepare",value:function(e,t,n,r,o,i){return this.hotInstance=i.instance,this.row=e,this.col=t,this.prop=n,this.TD=r,this.originalValue=o,this.cellProperties=i,u.default.editors.BaseEditor.prototype.prepare.call(this.hotCustomEditorInstance,e,t,n,r,o,i)}},{key:"saveValue",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.saveValue).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"setValue",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.setValue).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"addHook",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.addHook).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"removeHooksByKey",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.removeHooksByKey).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"clearHooks",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.clearHooks).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"getEditedCell",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.getEditedCell).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"getEditedCellRect",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.getEditedCellRect).call.apply(e,[this.hotCustomEditorInstance].concat(n))}},{key:"getEditedCellsZIndex",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return(e=u.default.editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(e,[this.hotCustomEditorInstance].concat(n))}}])}(l.default.Component);e.BaseEditorComponent=L,e.HotColumn=B,e.HotTable=G,e.HotTableClass=N,e.default=G,Object.defineProperty(e,"__esModule",{value:!0})}));
31
31
  //# sourceMappingURL=react-handsontable.min.js.map
@@ -487,7 +487,7 @@ var RenderersPortalManager = /*#__PURE__*/function (_React$Component) {
487
487
  }]);
488
488
  }(React.Component);
489
489
 
490
- var version="15.0.0-next-07b7ebc-20241210";
490
+ var version="15.0.0-next-8d7ffcf-20241216";
491
491
 
492
492
  function getDefaultExportFromCjs (x) {
493
493
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsontable/react",
3
- "version": "15.0.0-next-07b7ebc-20241210",
3
+ "version": "15.0.0-next-8d7ffcf-20241216",
4
4
  "description": "Best Data Grid for React with Spreadsheet Look and Feel.",
5
5
  "author": "Handsoncode <hello@handsoncode.net> (https://handsoncode.net)",
6
6
  "homepage": "https://handsontable.com",
@@ -72,7 +72,7 @@
72
72
  "@types/react-dom": "^18.2.0",
73
73
  "@types/react-redux": "^7.1.7",
74
74
  "cross-env": "^7.0.3",
75
- "handsontable": "15.0.0-next-07b7ebc-20241210",
75
+ "handsontable": "15.0.0-next-8d7ffcf-20241216",
76
76
  "jest": "^29.7.0",
77
77
  "prop-types": "^15.7.2",
78
78
  "react": "^18.2.0",
@@ -87,7 +87,7 @@
87
87
  "uglify-js": "^3.4.9"
88
88
  },
89
89
  "peerDependencies": {
90
- "handsontable": "15.0.0-next-07b7ebc-20241210"
90
+ "handsontable": "15.0.0-next-8d7ffcf-20241216"
91
91
  },
92
92
  "scripts": {
93
93
  "build": "npm run clean && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:min",