handsontable 14.6.0 → 14.6.1-next-7caf855-20241015
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +5 -0
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +15 -22
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +4 -4
- package/dist/handsontable.js +6 -13
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/editors/passwordEditor/passwordEditor.js +0 -4
- package/editors/passwordEditor/passwordEditor.mjs +1 -5
- package/editors/textEditor/textEditor.js +0 -3
- package/editors/textEditor/textEditor.mjs +1 -4
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +2 -2
- package/package.json +1 -1
@@ -3,7 +3,6 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
var _textEditor = require("../textEditor");
|
5
5
|
var _element = require("../../helpers/dom/element");
|
6
|
-
var _a11y = require("../../helpers/a11y");
|
7
6
|
const EDITOR_TYPE = exports.EDITOR_TYPE = 'password';
|
8
7
|
|
9
8
|
/**
|
@@ -23,9 +22,6 @@ class PasswordEditor extends _textEditor.TextEditor {
|
|
23
22
|
this.textareaStyle = this.TEXTAREA.style;
|
24
23
|
this.textareaStyle.width = 0;
|
25
24
|
this.textareaStyle.height = 0;
|
26
|
-
if (this.hot.getSettings().ariaTags) {
|
27
|
-
(0, _element.setAttribute)(this.TEXTAREA, [(0, _a11y.A11Y_HIDDEN)()]);
|
28
|
-
}
|
29
25
|
(0, _element.empty)(this.TEXTAREA_PARENT);
|
30
26
|
this.TEXTAREA_PARENT.appendChild(this.TEXTAREA);
|
31
27
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { TextEditor } from "../textEditor/index.mjs";
|
2
|
-
import { empty
|
3
|
-
import { A11Y_HIDDEN } from "../../helpers/a11y.mjs";
|
2
|
+
import { empty } from "../../helpers/dom/element.mjs";
|
4
3
|
export const EDITOR_TYPE = 'password';
|
5
4
|
|
6
5
|
/**
|
@@ -20,9 +19,6 @@ export class PasswordEditor extends TextEditor {
|
|
20
19
|
this.textareaStyle = this.TEXTAREA.style;
|
21
20
|
this.textareaStyle.width = 0;
|
22
21
|
this.textareaStyle.height = 0;
|
23
|
-
if (this.hot.getSettings().ariaTags) {
|
24
|
-
setAttribute(this.TEXTAREA, [A11Y_HIDDEN()]);
|
25
|
-
}
|
26
22
|
empty(this.TEXTAREA_PARENT);
|
27
23
|
this.TEXTAREA_PARENT.appendChild(this.TEXTAREA);
|
28
24
|
}
|
@@ -196,9 +196,6 @@ class TextEditor extends _baseEditor.BaseEditor {
|
|
196
196
|
// Makes the element recognizable by Hot as its own
|
197
197
|
// component's element.
|
198
198
|
(0, _element.setAttribute)(this.TEXTAREA, [['data-hot-input', ''], (0, _a11y.A11Y_TABINDEX)(-1)]);
|
199
|
-
if (this.hot.getSettings().ariaTags) {
|
200
|
-
(0, _element.setAttribute)(this.TEXTAREA, [(0, _a11y.A11Y_HIDDEN)()]);
|
201
|
-
}
|
202
199
|
(0, _element.addClass)(this.TEXTAREA, 'handsontableInput');
|
203
200
|
this.textareaStyle = this.TEXTAREA.style;
|
204
201
|
this.textareaStyle.width = 0;
|
@@ -10,7 +10,7 @@ import { rangeEach } from "../../helpers/number.mjs";
|
|
10
10
|
import { createInputElementResizer } from "../../utils/autoResize.mjs";
|
11
11
|
import { isDefined } from "../../helpers/mixed.mjs";
|
12
12
|
import { updateCaretPosition } from "./caretPositioner.mjs";
|
13
|
-
import {
|
13
|
+
import { A11Y_TABINDEX } from "../../helpers/a11y.mjs";
|
14
14
|
const EDITOR_VISIBLE_CLASS_NAME = 'ht_editor_visible';
|
15
15
|
const EDITOR_HIDDEN_CLASS_NAME = 'ht_editor_hidden';
|
16
16
|
const SHORTCUTS_GROUP = 'textEditor';
|
@@ -192,9 +192,6 @@ export class TextEditor extends BaseEditor {
|
|
192
192
|
// Makes the element recognizable by Hot as its own
|
193
193
|
// component's element.
|
194
194
|
setAttribute(this.TEXTAREA, [['data-hot-input', ''], A11Y_TABINDEX(-1)]);
|
195
|
-
if (this.hot.getSettings().ariaTags) {
|
196
|
-
setAttribute(this.TEXTAREA, [A11Y_HIDDEN()]);
|
197
|
-
}
|
198
195
|
addClass(this.TEXTAREA, 'handsontableInput');
|
199
196
|
this.textareaStyle = this.TEXTAREA.style;
|
200
197
|
this.textareaStyle.width = 0;
|
package/helpers/mixed.js
CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
|
|
134
134
|
function _injectProductInfo(key, element) {
|
135
135
|
const hasValidType = !isEmpty(key);
|
136
136
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
137
|
-
const hotVersion = "14.6.
|
137
|
+
const hotVersion = "14.6.1-next-7caf855-20241015";
|
138
138
|
let keyValidityDate;
|
139
139
|
let consoleMessageState = 'invalid';
|
140
140
|
let domMessageState = 'invalid';
|
@@ -142,7 +142,7 @@ function _injectProductInfo(key, element) {
|
|
142
142
|
const schemaValidity = _checkKeySchema(key);
|
143
143
|
if (hasValidType || isNonCommercial || schemaValidity) {
|
144
144
|
if (schemaValidity) {
|
145
|
-
const releaseDate = (0, _moment.default)("
|
145
|
+
const releaseDate = (0, _moment.default)("17/10/2024", 'DD/MM/YYYY');
|
146
146
|
const releaseDays = Math.floor(releaseDate.toDate().getTime() / 8.64e7);
|
147
147
|
const keyValidityDays = _extractTime(key);
|
148
148
|
keyValidityDate = (0, _moment.default)((keyValidityDays + 1) * 8.64e7, 'x').format('MMMM DD, YYYY');
|
package/helpers/mixed.mjs
CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
|
|
124
124
|
export function _injectProductInfo(key, element) {
|
125
125
|
const hasValidType = !isEmpty(key);
|
126
126
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
127
|
-
const hotVersion = "14.6.
|
127
|
+
const hotVersion = "14.6.1-next-7caf855-20241015";
|
128
128
|
let keyValidityDate;
|
129
129
|
let consoleMessageState = 'invalid';
|
130
130
|
let domMessageState = 'invalid';
|
@@ -132,7 +132,7 @@ export function _injectProductInfo(key, element) {
|
|
132
132
|
const schemaValidity = _checkKeySchema(key);
|
133
133
|
if (hasValidType || isNonCommercial || schemaValidity) {
|
134
134
|
if (schemaValidity) {
|
135
|
-
const releaseDate = moment("
|
135
|
+
const releaseDate = moment("17/10/2024", 'DD/MM/YYYY');
|
136
136
|
const releaseDays = Math.floor(releaseDate.toDate().getTime() / 8.64e7);
|
137
137
|
const keyValidityDays = _extractTime(key);
|
138
138
|
keyValidityDate = moment((keyValidityDays + 1) * 8.64e7, 'x').format('MMMM DD, YYYY');
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"url": "https://github.com/handsontable/handsontable/issues"
|
11
11
|
},
|
12
12
|
"author": "Handsoncode <hello@handsontable.com>",
|
13
|
-
"version": "14.6.
|
13
|
+
"version": "14.6.1-next-7caf855-20241015",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|