handsontable 0.0.0-next-ff8465d-20231006 → 0.0.0-next-9379dd1-20231020
Sign up to get free protection for your applications and to get access to all the features.
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/cellTypes/dateType/dateType.d.ts +3 -3
- package/cellTypes/dateType/dateType.js +2 -2
- package/cellTypes/dateType/dateType.mjs +2 -2
- package/cellTypes/handsontableType/handsontableType.d.ts +3 -3
- package/cellTypes/handsontableType/handsontableType.js +2 -2
- package/cellTypes/handsontableType/handsontableType.mjs +2 -2
- package/core.d.ts +1 -1
- package/core.js +10 -5
- package/core.mjs +10 -5
- package/dataMap/metaManager/metaSchema.js +1 -1
- package/dataMap/metaManager/metaSchema.mjs +1 -1
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +828 -692
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +70 -70
- package/dist/handsontable.js +828 -692
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +16 -16
- package/dist/languages/all.js +6 -2
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/en-US.js +3 -1
- package/dist/languages/en-US.min.js +1 -1
- package/dist/languages/pl-PL.js +3 -1
- package/dist/languages/pl-PL.min.js +1 -1
- package/editors/autocompleteEditor/autocompleteEditor.js +1 -1
- package/editors/autocompleteEditor/autocompleteEditor.mjs +1 -1
- package/editors/dateEditor/dateEditor.js +26 -7
- package/editors/dateEditor/dateEditor.mjs +27 -8
- package/editors/handsontableEditor/handsontableEditor.js +7 -0
- package/editors/handsontableEditor/handsontableEditor.mjs +8 -1
- package/helpers/a11y.js +3 -1
- package/helpers/a11y.mjs +2 -1
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/i18n/constants.js +7 -1
- package/i18n/constants.mjs +4 -1
- package/i18n/languages/en-US.js +3 -1
- package/i18n/languages/en-US.mjs +3 -1
- package/i18n/languages/pl-PL.js +3 -1
- package/i18n/languages/pl-PL.mjs +3 -1
- package/languages/all.js +6 -2
- package/languages/en-US.js +3 -1
- package/languages/en-US.mjs +3 -1
- package/languages/index.js +6 -2
- package/languages/pl-PL.js +3 -1
- package/languages/pl-PL.mjs +3 -1
- package/package.json +11 -1
- package/pluginHooks.js +1 -1
- package/pluginHooks.mjs +1 -1
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -1
- package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +1 -1
- package/renderers/checkboxRenderer/checkboxRenderer.js +3 -3
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +4 -4
- package/renderers/dateRenderer/dateRenderer.d.ts +5 -0
- package/renderers/dateRenderer/dateRenderer.js +29 -0
- package/renderers/dateRenderer/dateRenderer.mjs +24 -0
- package/renderers/dateRenderer/index.d.ts +1 -0
- package/renderers/dateRenderer/index.js +6 -0
- package/renderers/dateRenderer/index.mjs +1 -0
- package/renderers/handsontableRenderer/handsontableRenderer.d.ts +5 -0
- package/renderers/handsontableRenderer/handsontableRenderer.js +29 -0
- package/renderers/handsontableRenderer/handsontableRenderer.mjs +24 -0
- package/renderers/handsontableRenderer/index.d.ts +1 -0
- package/renderers/handsontableRenderer/index.js +6 -0
- package/renderers/handsontableRenderer/index.mjs +1 -0
- package/renderers/index.d.ts +6 -0
- package/renderers/selectRenderer/selectRenderer.js +2 -1
- package/renderers/selectRenderer/selectRenderer.mjs +2 -1
- package/selection/selection.js +2 -2
- package/selection/selection.mjs +2 -2
package/base.js
CHANGED
@@ -43,8 +43,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
|
|
43
43
|
Handsontable.CellCoords = _src.CellCoords;
|
44
44
|
Handsontable.CellRange = _src.CellRange;
|
45
45
|
Handsontable.packageName = 'handsontable';
|
46
|
-
Handsontable.buildDate = "
|
47
|
-
Handsontable.version = "0.0.0-next-
|
46
|
+
Handsontable.buildDate = "20/10/2023 08:08:36";
|
47
|
+
Handsontable.version = "0.0.0-next-9379dd1-20231020";
|
48
48
|
Handsontable.languages = {
|
49
49
|
dictionaryKeys: _registry.dictionaryKeys,
|
50
50
|
getLanguageDictionary: _registry.getLanguageDictionary,
|
package/base.mjs
CHANGED
@@ -35,8 +35,8 @@ Handsontable.hooks = Hooks.getSingleton();
|
|
35
35
|
Handsontable.CellCoords = CellCoords;
|
36
36
|
Handsontable.CellRange = CellRange;
|
37
37
|
Handsontable.packageName = 'handsontable';
|
38
|
-
Handsontable.buildDate = "
|
39
|
-
Handsontable.version = "0.0.0-next-
|
38
|
+
Handsontable.buildDate = "20/10/2023 08:08:44";
|
39
|
+
Handsontable.version = "0.0.0-next-9379dd1-20231020";
|
40
40
|
Handsontable.languages = {
|
41
41
|
dictionaryKeys,
|
42
42
|
getLanguageDictionary,
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import { CellTypeObject } from '../base';
|
2
2
|
import { DateEditor } from '../../editors/dateEditor';
|
3
|
-
import {
|
3
|
+
import { dateRenderer } from '../../renderers/dateRenderer';
|
4
4
|
import { dateValidator } from '../../validators/dateValidator';
|
5
5
|
|
6
6
|
export const CELL_TYPE: 'date';
|
7
7
|
export interface DateCellType extends CellTypeObject {
|
8
8
|
editor: typeof DateEditor;
|
9
|
-
renderer: typeof
|
9
|
+
renderer: typeof dateRenderer;
|
10
10
|
validator: typeof dateValidator;
|
11
11
|
}
|
12
12
|
|
13
13
|
export namespace DateCellType {
|
14
14
|
export { DateEditor as editor };
|
15
|
-
export {
|
15
|
+
export { dateRenderer as renderer };
|
16
16
|
export { dateValidator as validator };
|
17
17
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
var _dateEditor = require("../../editors/dateEditor");
|
5
|
-
var
|
5
|
+
var _dateRenderer = require("../../renderers/dateRenderer");
|
6
6
|
var _dateValidator = require("../../validators/dateValidator");
|
7
7
|
const CELL_TYPE = 'date';
|
8
8
|
exports.CELL_TYPE = CELL_TYPE;
|
@@ -10,7 +10,7 @@ const DateCellType = {
|
|
10
10
|
CELL_TYPE,
|
11
11
|
editor: _dateEditor.DateEditor,
|
12
12
|
// displays small gray arrow on right side of the cell
|
13
|
-
renderer:
|
13
|
+
renderer: _dateRenderer.dateRenderer,
|
14
14
|
validator: _dateValidator.dateValidator
|
15
15
|
};
|
16
16
|
exports.DateCellType = DateCellType;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { DateEditor } from "../../editors/dateEditor/index.mjs";
|
2
|
-
import {
|
2
|
+
import { dateRenderer } from "../../renderers/dateRenderer/index.mjs";
|
3
3
|
import { dateValidator } from "../../validators/dateValidator/index.mjs";
|
4
4
|
export const CELL_TYPE = 'date';
|
5
5
|
export const DateCellType = {
|
6
6
|
CELL_TYPE,
|
7
7
|
editor: DateEditor,
|
8
8
|
// displays small gray arrow on right side of the cell
|
9
|
-
renderer:
|
9
|
+
renderer: dateRenderer,
|
10
10
|
validator: dateValidator
|
11
11
|
};
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { CellTypeObject } from '../base';
|
2
2
|
import { HandsontableEditor } from '../../editors/handsontableEditor';
|
3
|
-
import {
|
3
|
+
import { handsontableRenderer } from '../../renderers/handsontableRenderer';
|
4
4
|
|
5
5
|
export const CELL_TYPE: 'handsontable';
|
6
6
|
export interface HandsontableCellType extends CellTypeObject {
|
7
7
|
editor: typeof HandsontableEditor;
|
8
|
-
renderer: typeof
|
8
|
+
renderer: typeof handsontableRenderer;
|
9
9
|
}
|
10
10
|
|
11
11
|
export namespace HandsontableCellType {
|
12
12
|
export { HandsontableEditor as editor };
|
13
|
-
export {
|
13
|
+
export { handsontableRenderer as renderer };
|
14
14
|
}
|
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
var _handsontableEditor = require("../../editors/handsontableEditor");
|
5
|
-
var
|
5
|
+
var _handsontableRenderer = require("../../renderers/handsontableRenderer");
|
6
6
|
const CELL_TYPE = 'handsontable';
|
7
7
|
exports.CELL_TYPE = CELL_TYPE;
|
8
8
|
const HandsontableCellType = {
|
9
9
|
CELL_TYPE,
|
10
10
|
editor: _handsontableEditor.HandsontableEditor,
|
11
11
|
// displays small gray arrow on right side of the cell
|
12
|
-
renderer:
|
12
|
+
renderer: _handsontableRenderer.handsontableRenderer
|
13
13
|
};
|
14
14
|
exports.HandsontableCellType = HandsontableCellType;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { HandsontableEditor } from "../../editors/handsontableEditor/index.mjs";
|
2
|
-
import {
|
2
|
+
import { handsontableRenderer } from "../../renderers/handsontableRenderer/index.mjs";
|
3
3
|
export const CELL_TYPE = 'handsontable';
|
4
4
|
export const HandsontableCellType = {
|
5
5
|
CELL_TYPE,
|
6
6
|
editor: HandsontableEditor,
|
7
7
|
// displays small gray arrow on right side of the cell
|
8
|
-
renderer:
|
8
|
+
renderer: handsontableRenderer
|
9
9
|
};
|
package/core.d.ts
CHANGED
@@ -134,7 +134,7 @@ export default class Core {
|
|
134
134
|
runHooks(key: keyof Events, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any, p6?: any): any;
|
135
135
|
scrollViewportTo(options: { row?: number, col?: number, verticalSnap?: 'top' | 'bottom', horizontalSnap?: 'start' | 'end', considerHiddenIndexes?: boolean }): boolean;
|
136
136
|
scrollToFocusedCell(callback?: () => void): void;
|
137
|
-
selectAll(includeRowHeaders?: boolean, includeColumnHeaders?: boolean, focusPosition?: { row
|
137
|
+
selectAll(includeRowHeaders?: boolean, includeColumnHeaders?: boolean, options?: { focusPosition?: { row: number, col: number }, disableHeadersHighlight?: boolean }): void;
|
138
138
|
selectCell(row: number, col: number, endRow?: number, endCol?: number, scrollToCell?: boolean, changeListener?: boolean): boolean;
|
139
139
|
selectCellByProp(row: number, prop: string, endRow?: number, endProp?: string, scrollToCell?: boolean): boolean;
|
140
140
|
selectCells(coords: Array<[number, number | string, number, number | string]> | CellRange[], scrollToCell?: boolean, changeListener?: boolean): boolean;
|
package/core.js
CHANGED
@@ -4017,16 +4017,21 @@ function Core(rootElement, userSettings) {
|
|
4017
4017
|
* `false` otherwise.
|
4018
4018
|
* @param {boolean} [includeColumnHeaders=false] `true` If the selection should include the column
|
4019
4019
|
* headers, `false` otherwise.
|
4020
|
-
*
|
4021
|
-
*
|
4022
|
-
*
|
4020
|
+
*
|
4021
|
+
* @param {object} [options] Additional object with options.
|
4022
|
+
* @param {{row: number, col: number} | boolean} [options.focusPosition] The argument allows changing the cell/header
|
4023
|
+
* focus position. The value takes an object with a `row` and `col` properties from -N to N, where
|
4024
|
+
* negative values point to the headers and positive values point to the cell range. If `false`, the focus
|
4025
|
+
* position won't be changed.
|
4026
|
+
* @param {boolean} [options.disableHeadersHighlight] If `true`, disables highlighting the headers even when
|
4027
|
+
* the logical coordinates points on them.
|
4023
4028
|
*/
|
4024
4029
|
this.selectAll = function () {
|
4025
4030
|
let includeRowHeaders = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
4026
4031
|
let includeColumnHeaders = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : includeRowHeaders;
|
4027
|
-
let
|
4032
|
+
let options = arguments.length > 2 ? arguments[2] : undefined;
|
4028
4033
|
preventScrollingToCell = true;
|
4029
|
-
selection.selectAll(includeRowHeaders, includeColumnHeaders,
|
4034
|
+
selection.selectAll(includeRowHeaders, includeColumnHeaders, options);
|
4030
4035
|
preventScrollingToCell = false;
|
4031
4036
|
};
|
4032
4037
|
const getIndexToScroll = (indexMapper, visualIndex) => {
|
package/core.mjs
CHANGED
@@ -4012,16 +4012,21 @@ export default function Core(rootElement, userSettings) {
|
|
4012
4012
|
* `false` otherwise.
|
4013
4013
|
* @param {boolean} [includeColumnHeaders=false] `true` If the selection should include the column
|
4014
4014
|
* headers, `false` otherwise.
|
4015
|
-
*
|
4016
|
-
*
|
4017
|
-
*
|
4015
|
+
*
|
4016
|
+
* @param {object} [options] Additional object with options.
|
4017
|
+
* @param {{row: number, col: number} | boolean} [options.focusPosition] The argument allows changing the cell/header
|
4018
|
+
* focus position. The value takes an object with a `row` and `col` properties from -N to N, where
|
4019
|
+
* negative values point to the headers and positive values point to the cell range. If `false`, the focus
|
4020
|
+
* position won't be changed.
|
4021
|
+
* @param {boolean} [options.disableHeadersHighlight] If `true`, disables highlighting the headers even when
|
4022
|
+
* the logical coordinates points on them.
|
4018
4023
|
*/
|
4019
4024
|
this.selectAll = function () {
|
4020
4025
|
let includeRowHeaders = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
4021
4026
|
let includeColumnHeaders = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : includeRowHeaders;
|
4022
|
-
let
|
4027
|
+
let options = arguments.length > 2 ? arguments[2] : undefined;
|
4023
4028
|
preventScrollingToCell = true;
|
4024
|
-
selection.selectAll(includeRowHeaders, includeColumnHeaders,
|
4029
|
+
selection.selectAll(includeRowHeaders, includeColumnHeaders, options);
|
4025
4030
|
preventScrollingToCell = false;
|
4026
4031
|
};
|
4027
4032
|
const getIndexToScroll = (indexMapper, visualIndex) => {
|
@@ -2448,7 +2448,7 @@ var _default = () => {
|
|
2448
2448
|
*
|
2449
2449
|
* Enabling this option can make a negative impact on how some screen readers handle reading the table cells.
|
2450
2450
|
*
|
2451
|
-
* @since
|
2451
|
+
* @since 14.0.0
|
2452
2452
|
* @memberof Options#
|
2453
2453
|
* @type {boolean}
|
2454
2454
|
* @category Core
|
@@ -2445,7 +2445,7 @@ export default (() => {
|
|
2445
2445
|
*
|
2446
2446
|
* Enabling this option can make a negative impact on how some screen readers handle reading the table cells.
|
2447
2447
|
*
|
2448
|
-
* @since
|
2448
|
+
* @since 14.0.0
|
2449
2449
|
* @memberof Options#
|
2450
2450
|
* @type {boolean}
|
2451
2451
|
* @category Core
|
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: 31/08/2023 (built at
|
28
|
+
* Version: 0.0.0-next-9379dd1-20231020
|
29
|
+
* Release date: 31/08/2023 (built at 20/10/2023 08:08:51)
|
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: 31/08/2023 (built at
|
28
|
+
* Version: 0.0.0-next-9379dd1-20231020
|
29
|
+
* Release date: 31/08/2023 (built at 20/10/2023 08:08:51)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|