handsontable 0.0.0-next-87b048b-20250409 → 0.0.0-next-d9b3885-20250415
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.
Potentially problematic release.
This version of handsontable might be problematic. Click here for more details.
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core/hooks/constants.js +258 -0
- package/core/hooks/constants.mjs +258 -0
- package/core.js +39 -0
- package/core.mjs +39 -0
- package/dataMap/metaManager/metaSchema.js +27 -0
- package/dataMap/metaManager/metaSchema.mjs +27 -0
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +943 -5
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +4 -4
- package/dist/handsontable.js +943 -5
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +4 -4
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/autoColumnSize/autoColumnSize.js +47 -0
- package/plugins/autoColumnSize/autoColumnSize.mjs +47 -0
- package/plugins/autoRowSize/autoRowSize.js +45 -0
- package/plugins/autoRowSize/autoRowSize.mjs +45 -0
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +13 -0
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +13 -0
- package/plugins/collapsibleColumns/collapsibleColumns.js +31 -0
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +31 -0
- package/plugins/columnSummary/columnSummary.js +33 -0
- package/plugins/columnSummary/columnSummary.mjs +33 -0
- package/plugins/comments/comments.js +53 -0
- package/plugins/comments/comments.mjs +53 -0
- package/plugins/dropdownMenu/dropdownMenu.js +15 -0
- package/plugins/dropdownMenu/dropdownMenu.mjs +15 -0
- package/plugins/exportFile/exportFile.js +58 -0
- package/plugins/exportFile/exportFile.mjs +58 -0
- package/plugins/filters/filters.js +74 -0
- package/plugins/filters/filters.mjs +74 -0
- package/plugins/hiddenColumns/hiddenColumns.js +64 -0
- package/plugins/hiddenColumns/hiddenColumns.mjs +64 -0
- package/plugins/hiddenRows/hiddenRows.js +64 -0
- package/plugins/hiddenRows/hiddenRows.mjs +64 -0
- package/plugins/mergeCells/mergeCells.js +18 -0
- package/plugins/mergeCells/mergeCells.mjs +18 -0
- package/plugins/nestedHeaders/nestedHeaders.js +25 -0
- package/plugins/nestedHeaders/nestedHeaders.mjs +25 -0
- package/plugins/stretchColumns/stretchColumns.js +13 -0
- package/plugins/stretchColumns/stretchColumns.mjs +13 -0
- package/plugins/trimRows/trimRows.js +61 -0
- package/plugins/trimRows/trimRows.mjs +61 -0
- package/styles/handsontable.css +2 -2
- package/styles/handsontable.min.css +2 -2
- package/styles/ht-theme-horizon.css +2 -2
- package/styles/ht-theme-horizon.min.css +2 -2
- package/styles/ht-theme-main.css +2 -2
- package/styles/ht-theme-main.min.css +2 -2
package/core.js
CHANGED
|
@@ -84,6 +84,12 @@ const deprecationWarns = new Set();
|
|
|
84
84
|
* by using React's `ref` feature (read more on the [Instance methods](@/guides/getting-started/react-methods/react-methods.md) page).
|
|
85
85
|
* :::
|
|
86
86
|
*
|
|
87
|
+
* ::: only-for angular
|
|
88
|
+
* To use these methods, associate a Handsontable instance with your instance
|
|
89
|
+
* of the [`HotTable` component](@/guides/getting-started/installation/installation.md#5-use-the-hottable-component),
|
|
90
|
+
* by using `@ViewChild` decorator (read more on the [Instance access](@/guides/getting-started/angular-hot-instance/angular-hot-instance.md) page).
|
|
91
|
+
* :::
|
|
92
|
+
*
|
|
87
93
|
* ## How to call a method
|
|
88
94
|
*
|
|
89
95
|
* ::: only-for javascript
|
|
@@ -114,6 +120,39 @@ const deprecationWarns = new Set();
|
|
|
114
120
|
* ```
|
|
115
121
|
* :::
|
|
116
122
|
*
|
|
123
|
+
* ::: only-for angular
|
|
124
|
+
* ```ts
|
|
125
|
+
* import { Component, ViewChild, AfterViewInit } from "@angular/core";
|
|
126
|
+
* import {
|
|
127
|
+
* GridSettings,
|
|
128
|
+
* HotTableComponent,
|
|
129
|
+
* HotTableModule,
|
|
130
|
+
* } from "@handsontable/angular-wrapper";
|
|
131
|
+
*
|
|
132
|
+
* `@Component`({
|
|
133
|
+
* standalone: true,
|
|
134
|
+
* imports: [HotTableModule],
|
|
135
|
+
* template: ` <div class="ht-theme-main">
|
|
136
|
+
* <hot-table [settings]="gridSettings" />
|
|
137
|
+
* </div>`,
|
|
138
|
+
* })
|
|
139
|
+
* export class ExampleComponent implements AfterViewInit {
|
|
140
|
+
* `@ViewChild`(HotTableComponent, { static: false })
|
|
141
|
+
* readonly hotTable!: HotTableComponent;
|
|
142
|
+
*
|
|
143
|
+
* readonly gridSettings = <GridSettings>{
|
|
144
|
+
* columns: [{}],
|
|
145
|
+
* };
|
|
146
|
+
*
|
|
147
|
+
* ngAfterViewInit(): void {
|
|
148
|
+
* // Access the Handsontable instance
|
|
149
|
+
* // Call a method
|
|
150
|
+
* this.hotTable?.hotInstance?.setDataAtCell(0, 0, "new value");
|
|
151
|
+
* }
|
|
152
|
+
* }
|
|
153
|
+
* ```
|
|
154
|
+
* :::
|
|
155
|
+
*
|
|
117
156
|
* @param {HTMLElement} rootElement The element to which the Handsontable instance is injected.
|
|
118
157
|
* @param {object} userSettings The user defined options.
|
|
119
158
|
* @param {boolean} [rootInstanceSymbol=false] Indicates if the instance is root of all later instances created.
|
package/core.mjs
CHANGED
|
@@ -79,6 +79,12 @@ const deprecationWarns = new Set();
|
|
|
79
79
|
* by using React's `ref` feature (read more on the [Instance methods](@/guides/getting-started/react-methods/react-methods.md) page).
|
|
80
80
|
* :::
|
|
81
81
|
*
|
|
82
|
+
* ::: only-for angular
|
|
83
|
+
* To use these methods, associate a Handsontable instance with your instance
|
|
84
|
+
* of the [`HotTable` component](@/guides/getting-started/installation/installation.md#5-use-the-hottable-component),
|
|
85
|
+
* by using `@ViewChild` decorator (read more on the [Instance access](@/guides/getting-started/angular-hot-instance/angular-hot-instance.md) page).
|
|
86
|
+
* :::
|
|
87
|
+
*
|
|
82
88
|
* ## How to call a method
|
|
83
89
|
*
|
|
84
90
|
* ::: only-for javascript
|
|
@@ -109,6 +115,39 @@ const deprecationWarns = new Set();
|
|
|
109
115
|
* ```
|
|
110
116
|
* :::
|
|
111
117
|
*
|
|
118
|
+
* ::: only-for angular
|
|
119
|
+
* ```ts
|
|
120
|
+
* import { Component, ViewChild, AfterViewInit } from "@angular/core";
|
|
121
|
+
* import {
|
|
122
|
+
* GridSettings,
|
|
123
|
+
* HotTableComponent,
|
|
124
|
+
* HotTableModule,
|
|
125
|
+
* } from "@handsontable/angular-wrapper";
|
|
126
|
+
*
|
|
127
|
+
* `@Component`({
|
|
128
|
+
* standalone: true,
|
|
129
|
+
* imports: [HotTableModule],
|
|
130
|
+
* template: ` <div class="ht-theme-main">
|
|
131
|
+
* <hot-table [settings]="gridSettings" />
|
|
132
|
+
* </div>`,
|
|
133
|
+
* })
|
|
134
|
+
* export class ExampleComponent implements AfterViewInit {
|
|
135
|
+
* `@ViewChild`(HotTableComponent, { static: false })
|
|
136
|
+
* readonly hotTable!: HotTableComponent;
|
|
137
|
+
*
|
|
138
|
+
* readonly gridSettings = <GridSettings>{
|
|
139
|
+
* columns: [{}],
|
|
140
|
+
* };
|
|
141
|
+
*
|
|
142
|
+
* ngAfterViewInit(): void {
|
|
143
|
+
* // Access the Handsontable instance
|
|
144
|
+
* // Call a method
|
|
145
|
+
* this.hotTable?.hotInstance?.setDataAtCell(0, 0, "new value");
|
|
146
|
+
* }
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
149
|
+
* :::
|
|
150
|
+
*
|
|
112
151
|
* @param {HTMLElement} rootElement The element to which the Handsontable instance is injected.
|
|
113
152
|
* @param {object} userSettings The user defined options.
|
|
114
153
|
* @param {boolean} [rootInstanceSymbol=false] Indicates if the instance is root of all later instances created.
|
|
@@ -83,6 +83,33 @@ var _object = require("../../helpers/object");
|
|
|
83
83
|
* ```
|
|
84
84
|
* :::
|
|
85
85
|
*
|
|
86
|
+
* ::: only-for angular
|
|
87
|
+
* ```ts
|
|
88
|
+
* settings = {
|
|
89
|
+
* data: [
|
|
90
|
+
* ["A1", "B1", "C1", "D1", "E1"],
|
|
91
|
+
* ["A2", "B2", "C2", "D2", "E2"],
|
|
92
|
+
* ["A3", "B3", "C3", "D3", "E3"],
|
|
93
|
+
* ["A4", "B4", "C4", "D4", "E4"],
|
|
94
|
+
* ["A5", "B5", "C5", "D5", "E5"],
|
|
95
|
+
* ],
|
|
96
|
+
* width: 400,
|
|
97
|
+
* height: 300,
|
|
98
|
+
* colHeaders: true,
|
|
99
|
+
* rowHeaders: true,
|
|
100
|
+
* customBorders: true,
|
|
101
|
+
* dropdownMenu: true,
|
|
102
|
+
* multiColumnSorting: true,
|
|
103
|
+
* filters: true,
|
|
104
|
+
* manualRowMove: true,
|
|
105
|
+
* };
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* ```html
|
|
109
|
+
* <hot-table [settings]="settings" />
|
|
110
|
+
* ```
|
|
111
|
+
* :::
|
|
112
|
+
*
|
|
86
113
|
* Depending on your needs, you can apply [configuration options](@/api/options.md) to different elements of your grid:
|
|
87
114
|
* - [The entire grid](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options)
|
|
88
115
|
* - [Individual columns](@/guides/getting-started/configuration-options/configuration-options.md#set-column-options)
|
|
@@ -80,6 +80,33 @@ import { isObjectEqual } from "../../helpers/object.mjs";
|
|
|
80
80
|
* ```
|
|
81
81
|
* :::
|
|
82
82
|
*
|
|
83
|
+
* ::: only-for angular
|
|
84
|
+
* ```ts
|
|
85
|
+
* settings = {
|
|
86
|
+
* data: [
|
|
87
|
+
* ["A1", "B1", "C1", "D1", "E1"],
|
|
88
|
+
* ["A2", "B2", "C2", "D2", "E2"],
|
|
89
|
+
* ["A3", "B3", "C3", "D3", "E3"],
|
|
90
|
+
* ["A4", "B4", "C4", "D4", "E4"],
|
|
91
|
+
* ["A5", "B5", "C5", "D5", "E5"],
|
|
92
|
+
* ],
|
|
93
|
+
* width: 400,
|
|
94
|
+
* height: 300,
|
|
95
|
+
* colHeaders: true,
|
|
96
|
+
* rowHeaders: true,
|
|
97
|
+
* customBorders: true,
|
|
98
|
+
* dropdownMenu: true,
|
|
99
|
+
* multiColumnSorting: true,
|
|
100
|
+
* filters: true,
|
|
101
|
+
* manualRowMove: true,
|
|
102
|
+
* };
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* ```html
|
|
106
|
+
* <hot-table [settings]="settings" />
|
|
107
|
+
* ```
|
|
108
|
+
* :::
|
|
109
|
+
*
|
|
83
110
|
* Depending on your needs, you can apply [configuration options](@/api/options.md) to different elements of your grid:
|
|
84
111
|
* - [The entire grid](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options)
|
|
85
112
|
* - [Individual columns](@/guides/getting-started/configuration-options/configuration-options.md#set-column-options)
|
package/dist/handsontable.css
CHANGED
|
@@ -25,8 +25,8 @@
|
|
|
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: 0.0.0-next-
|
|
29
|
-
* Release date: 19/03/2025 (built at
|
|
28
|
+
* Version: 0.0.0-next-d9b3885-20250415
|
|
29
|
+
* Release date: 19/03/2025 (built at 15/04/2025 10:07:06)
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Fix for bootstrap styles
|
|
@@ -25,8 +25,8 @@
|
|
|
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: 0.0.0-next-
|
|
29
|
-
* Release date: 19/03/2025 (built at
|
|
28
|
+
* Version: 0.0.0-next-d9b3885-20250415
|
|
29
|
+
* Release date: 19/03/2025 (built at 15/04/2025 10:07:06)
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Fix for bootstrap styles
|