handsontable 0.0.0-next-817afa4-20240202 → 0.0.0-next-5787854-20240205
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/dataMap/metaManager/index.js +1 -1
- package/dataMap/metaManager/index.mjs +1 -1
- package/dataMap/metaManager/metaSchema.js +0 -17
- package/dataMap/metaManager/metaSchema.mjs +0 -17
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +17 -123
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +6 -6
- package/dist/handsontable.js +17 -123
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +6 -6
- package/helpers/dom/element.js +0 -16
- package/helpers/dom/element.mjs +0 -15
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/filters/component/value.js +6 -16
- package/plugins/filters/component/value.mjs +7 -17
- package/plugins/filters/ui/multipleSelect.js +0 -38
- package/plugins/filters/ui/multipleSelect.mjs +1 -39
- package/plugins/filters/utils.js +5 -29
- package/plugins/filters/utils.mjs +5 -28
- package/renderers/numericRenderer/numericRenderer.js +0 -1
- package/renderers/numericRenderer/numericRenderer.mjs +0 -1
package/base.js
CHANGED
@@ -45,8 +45,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
|
|
45
45
|
Handsontable.CellCoords = _src.CellCoords;
|
46
46
|
Handsontable.CellRange = _src.CellRange;
|
47
47
|
Handsontable.packageName = 'handsontable';
|
48
|
-
Handsontable.buildDate = "
|
49
|
-
Handsontable.version = "0.0.0-next-
|
48
|
+
Handsontable.buildDate = "05/02/2024 08:58:50";
|
49
|
+
Handsontable.version = "0.0.0-next-5787854-20240205";
|
50
50
|
Handsontable.languages = {
|
51
51
|
dictionaryKeys: _registry.dictionaryKeys,
|
52
52
|
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 = "05/02/2024 08:58:56";
|
39
|
+
Handsontable.version = "0.0.0-next-5787854-20240205";
|
40
40
|
Handsontable.languages = {
|
41
41
|
dictionaryKeys,
|
42
42
|
getLanguageDictionary,
|
@@ -218,7 +218,7 @@ class MetaManager {
|
|
218
218
|
|
219
219
|
/**
|
220
220
|
* Returns all cell meta objects that were created during the Handsontable operation but for
|
221
|
-
*
|
221
|
+
* specyfic row index.
|
222
222
|
*
|
223
223
|
* @param {number} physicalRow The physical row index.
|
224
224
|
* @returns {object[]}
|
@@ -214,7 +214,7 @@ export default class MetaManager {
|
|
214
214
|
|
215
215
|
/**
|
216
216
|
* Returns all cell meta objects that were created during the Handsontable operation but for
|
217
|
-
*
|
217
|
+
* specyfic row index.
|
218
218
|
*
|
219
219
|
* @param {number} physicalRow The physical row index.
|
220
220
|
* @returns {object[]}
|
@@ -1704,23 +1704,6 @@ var _default = () => {
|
|
1704
1704
|
* ```
|
1705
1705
|
*/
|
1706
1706
|
disableVisualSelection: false,
|
1707
|
-
/**
|
1708
|
-
* @description
|
1709
|
-
* The `displayValue` cell meta property defines a string that will be used to display the cell's contents
|
1710
|
-
* in the Filters UI multi-selection module.
|
1711
|
-
*
|
1712
|
-
* For example, it can be utlized:
|
1713
|
-
* - When the cell's underlying value is not easily readable.
|
1714
|
-
* - With custom renderers.
|
1715
|
-
*
|
1716
|
-
* Currently used by default to display the numeric renderer's output.
|
1717
|
-
*
|
1718
|
-
* @memberof Options#
|
1719
|
-
* @type {string}
|
1720
|
-
* @default undefined
|
1721
|
-
* @category Core
|
1722
|
-
*/
|
1723
|
-
displayValue: undefined,
|
1724
1707
|
/**
|
1725
1708
|
* @description
|
1726
1709
|
* The `dragToScroll` option configures the [`DragToScroll`](@/api/dragToScroll.md) plugin.
|
@@ -1701,23 +1701,6 @@ export default (() => {
|
|
1701
1701
|
* ```
|
1702
1702
|
*/
|
1703
1703
|
disableVisualSelection: false,
|
1704
|
-
/**
|
1705
|
-
* @description
|
1706
|
-
* The `displayValue` cell meta property defines a string that will be used to display the cell's contents
|
1707
|
-
* in the Filters UI multi-selection module.
|
1708
|
-
*
|
1709
|
-
* For example, it can be utlized:
|
1710
|
-
* - When the cell's underlying value is not easily readable.
|
1711
|
-
* - With custom renderers.
|
1712
|
-
*
|
1713
|
-
* Currently used by default to display the numeric renderer's output.
|
1714
|
-
*
|
1715
|
-
* @memberof Options#
|
1716
|
-
* @type {string}
|
1717
|
-
* @default undefined
|
1718
|
-
* @category Core
|
1719
|
-
*/
|
1720
|
-
displayValue: undefined,
|
1721
1704
|
/**
|
1722
1705
|
* @description
|
1723
1706
|
* The `dragToScroll` option configures the [`DragToScroll`](@/api/dragToScroll.md) plugin.
|
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: 16/01/2024 (built at
|
28
|
+
* Version: 0.0.0-next-5787854-20240205
|
29
|
+
* Release date: 16/01/2024 (built at 05/02/2024 08:59:01)
|
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: 16/01/2024 (built at
|
28
|
+
* Version: 0.0.0-next-5787854-20240205
|
29
|
+
* Release date: 16/01/2024 (built at 05/02/2024 08:59:01)
|
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: 16/01/2024 (built at
|
28
|
+
* Version: 0.0.0-next-5787854-20240205
|
29
|
+
* Release date: 16/01/2024 (built at 05/02/2024 08:59:01)
|
30
30
|
*/
|
31
31
|
(function webpackUniversalModuleDefinition(root, factory) {
|
32
32
|
if(typeof exports === 'object' && typeof module === 'object')
|
@@ -43097,8 +43097,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
|
|
43097
43097
|
Handsontable.CellCoords = _src.CellCoords;
|
43098
43098
|
Handsontable.CellRange = _src.CellRange;
|
43099
43099
|
Handsontable.packageName = 'handsontable';
|
43100
|
-
Handsontable.buildDate = "
|
43101
|
-
Handsontable.version = "0.0.0-next-
|
43100
|
+
Handsontable.buildDate = "05/02/2024 08:59:01";
|
43101
|
+
Handsontable.version = "0.0.0-next-5787854-20240205";
|
43102
43102
|
Handsontable.languages = {
|
43103
43103
|
dictionaryKeys: _registry.dictionaryKeys,
|
43104
43104
|
getLanguageDictionary: _registry.getLanguageDictionary,
|
@@ -50108,7 +50108,6 @@ exports.removeClass = removeClass;
|
|
50108
50108
|
exports.removeContentEditableFromElementAndDeselect = removeContentEditableFromElementAndDeselect;
|
50109
50109
|
exports.removeEvent = removeEvent;
|
50110
50110
|
exports.removeTextNodes = removeTextNodes;
|
50111
|
-
exports.renderMockCell = renderMockCell;
|
50112
50111
|
exports.resetCssTransform = resetCssTransform;
|
50113
50112
|
exports.runWithSelectedContendEditableElement = runWithSelectedContendEditableElement;
|
50114
50113
|
exports.selectElementIfAllowed = selectElementIfAllowed;
|
@@ -51196,21 +51195,6 @@ function runWithSelectedContendEditableElement(element, callback) {
|
|
51196
51195
|
removeContentEditableFromElementAndDeselect(element, invisibleSelection);
|
51197
51196
|
}
|
51198
51197
|
|
51199
|
-
/**
|
51200
|
-
* Return a `td` element rendered outside of the table with the provided renderer function.
|
51201
|
-
*
|
51202
|
-
* @param {Document} rootDocument Root document element.
|
51203
|
-
* @param {Function} renderFunction The renderer function.
|
51204
|
-
* @param {Array} renderArgs The renderer arguments.
|
51205
|
-
* @returns {HTMLElement} The rendered `td` element.
|
51206
|
-
*/
|
51207
|
-
function renderMockCell(rootDocument, renderFunction, renderArgs) {
|
51208
|
-
const cell = rootDocument.createElement('td');
|
51209
|
-
renderArgs.splice(1, 0, cell);
|
51210
|
-
renderFunction.call(renderArgs.instance, ...renderArgs);
|
51211
|
-
return cell;
|
51212
|
-
}
|
51213
|
-
|
51214
51198
|
/***/ }),
|
51215
51199
|
/* 305 */
|
51216
51200
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
@@ -53189,7 +53173,7 @@ const domMessages = {
|
|
53189
53173
|
function _injectProductInfo(key, element) {
|
53190
53174
|
const hasValidType = !isEmpty(key);
|
53191
53175
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
53192
|
-
const hotVersion = "0.0.0-next-
|
53176
|
+
const hotVersion = "0.0.0-next-5787854-20240205";
|
53193
53177
|
let keyValidityDate;
|
53194
53178
|
let consoleMessageState = 'invalid';
|
53195
53179
|
let domMessageState = 'invalid';
|
@@ -87903,7 +87887,7 @@ class MetaManager {
|
|
87903
87887
|
|
87904
87888
|
/**
|
87905
87889
|
* Returns all cell meta objects that were created during the Handsontable operation but for
|
87906
|
-
*
|
87890
|
+
* specyfic row index.
|
87907
87891
|
*
|
87908
87892
|
* @param {number} physicalRow The physical row index.
|
87909
87893
|
* @returns {object[]}
|
@@ -89984,23 +89968,6 @@ var _default = () => {
|
|
89984
89968
|
* ```
|
89985
89969
|
*/
|
89986
89970
|
disableVisualSelection: false,
|
89987
|
-
/**
|
89988
|
-
* @description
|
89989
|
-
* The `displayValue` cell meta property defines a string that will be used to display the cell's contents
|
89990
|
-
* in the Filters UI multi-selection module.
|
89991
|
-
*
|
89992
|
-
* For example, it can be utlized:
|
89993
|
-
* - When the cell's underlying value is not easily readable.
|
89994
|
-
* - With custom renderers.
|
89995
|
-
*
|
89996
|
-
* Currently used by default to display the numeric renderer's output.
|
89997
|
-
*
|
89998
|
-
* @memberof Options#
|
89999
|
-
* @type {string}
|
90000
|
-
* @default undefined
|
90001
|
-
* @category Core
|
90002
|
-
*/
|
90003
|
-
displayValue: undefined,
|
90004
89971
|
/**
|
90005
89972
|
* @description
|
90006
89973
|
* The `dragToScroll` option configures the [`DragToScroll`](@/api/dragToScroll.md) plugin.
|
@@ -101800,7 +101767,6 @@ function numericRenderer(hotInstance, TD, row, col, prop, value, cellProperties)
|
|
101800
101767
|
cellProperties.className = classArr.join(' ');
|
101801
101768
|
TD.dir = 'ltr';
|
101802
101769
|
}
|
101803
|
-
cellProperties.displayValue = newValue;
|
101804
101770
|
(0, _textRenderer.textRenderer)(hotInstance, TD, row, col, prop, newValue, cellProperties);
|
101805
101771
|
}
|
101806
101772
|
numericRenderer.RENDERER_TYPE = RENDERER_TYPE;
|
@@ -120410,7 +120376,6 @@ exports.__esModule = true;
|
|
120410
120376
|
exports.createArrayAssertion = createArrayAssertion;
|
120411
120377
|
exports.intersectValues = intersectValues;
|
120412
120378
|
exports.sortComparison = sortComparison;
|
120413
|
-
exports.syncDisplayValuesToUnifiedValues = syncDisplayValuesToUnifiedValues;
|
120414
120379
|
exports.toEmptyString = toEmptyString;
|
120415
120380
|
exports.toVisualValue = toVisualValue;
|
120416
120381
|
exports.unifyColumnValues = unifyColumnValues;
|
@@ -120438,15 +120403,12 @@ function sortComparison(a, b) {
|
|
120438
120403
|
*
|
120439
120404
|
* @param {*} value The value to convert.
|
120440
120405
|
* @param {string} defaultEmptyValue Default value for empty cells.
|
120441
|
-
* @param {string} [displayValue] The display value.
|
120442
120406
|
* @returns {*}
|
120443
120407
|
*/
|
120444
|
-
function toVisualValue(value, defaultEmptyValue
|
120408
|
+
function toVisualValue(value, defaultEmptyValue) {
|
120445
120409
|
let visualValue = value;
|
120446
120410
|
if (visualValue === '') {
|
120447
120411
|
visualValue = `(${defaultEmptyValue})`;
|
120448
|
-
} else if (displayValue) {
|
120449
|
-
visualValue = displayValue;
|
120450
120412
|
}
|
120451
120413
|
return visualValue;
|
120452
120414
|
}
|
@@ -120487,7 +120449,7 @@ function toEmptyString(value) {
|
|
120487
120449
|
}
|
120488
120450
|
|
120489
120451
|
/**
|
120490
|
-
* Unify column values (
|
120452
|
+
* Unify column values (replace `null` and `undefined` values into empty string, unique values and sort them).
|
120491
120453
|
*
|
120492
120454
|
* @param {Array} values An array of values.
|
120493
120455
|
* @returns {Array}
|
@@ -120511,43 +120473,23 @@ function unifyColumnValues(values) {
|
|
120511
120473
|
return unifiedValues;
|
120512
120474
|
}
|
120513
120475
|
|
120514
|
-
/**
|
120515
|
-
* Synchronize display values with the provided unified values.
|
120516
|
-
*
|
120517
|
-
* @param {Array} displayValues An array of display values.
|
120518
|
-
* @param {Array} values An array of source values.
|
120519
|
-
* @param {Array} unifiedValues An array of unified values.
|
120520
|
-
*
|
120521
|
-
* @returns {Array} An array of synchronized display values.
|
120522
|
-
*/
|
120523
|
-
function syncDisplayValuesToUnifiedValues(displayValues, values, unifiedValues) {
|
120524
|
-
const syncedDisplayValues = [];
|
120525
|
-
(0, _array.arrayEach)(unifiedValues, unifiedValue => {
|
120526
|
-
const index = values.indexOf(unifiedValue);
|
120527
|
-
const displayValue = displayValues[index];
|
120528
|
-
syncedDisplayValues.push(displayValue);
|
120529
|
-
});
|
120530
|
-
return syncedDisplayValues;
|
120531
|
-
}
|
120532
|
-
|
120533
120476
|
/**
|
120534
120477
|
* Intersect 'base' values with 'selected' values and return an array of object.
|
120535
120478
|
*
|
120536
120479
|
* @param {Array} base An array of base values.
|
120537
120480
|
* @param {Array} selected An array of selected values.
|
120538
120481
|
* @param {string} defaultEmptyValue Default value for empty cells.
|
120539
|
-
* @param {string[]} [displayValues] An array of display values.
|
120540
120482
|
* @param {Function} [callback] A callback function which is invoked for every item in an array.
|
120541
120483
|
* @returns {Array}
|
120542
120484
|
*/
|
120543
|
-
function intersectValues(base, selected, defaultEmptyValue,
|
120485
|
+
function intersectValues(base, selected, defaultEmptyValue, callback) {
|
120544
120486
|
const result = [];
|
120545
120487
|
const same = base === selected;
|
120546
120488
|
let selectedItemsAssertion;
|
120547
120489
|
if (!same) {
|
120548
120490
|
selectedItemsAssertion = createArrayAssertion(selected);
|
120549
120491
|
}
|
120550
|
-
(0, _array.arrayEach)(base,
|
120492
|
+
(0, _array.arrayEach)(base, value => {
|
120551
120493
|
let checked = false;
|
120552
120494
|
if (same || selectedItemsAssertion(value)) {
|
120553
120495
|
checked = true;
|
@@ -120555,7 +120497,7 @@ function intersectValues(base, selected, defaultEmptyValue, displayValues, callb
|
|
120555
120497
|
const item = {
|
120556
120498
|
checked,
|
120557
120499
|
value,
|
120558
|
-
visualValue: toVisualValue(value, defaultEmptyValue
|
120500
|
+
visualValue: toVisualValue(value, defaultEmptyValue)
|
120559
120501
|
};
|
120560
120502
|
if (callback) {
|
120561
120503
|
callback(item);
|
@@ -121750,23 +121692,17 @@ class ValueComponent extends _base.BaseComponent {
|
|
121750
121692
|
* `editedConditionStack`, `dependentConditionStacks`, `visibleDataFactory` and `conditionArgsChange`.
|
121751
121693
|
*/
|
121752
121694
|
updateState(stateInfo) {
|
121753
|
-
const multipleSelectComponent = this.getMultipleSelectElement();
|
121754
121695
|
const updateColumnState = (physicalColumn, conditions, conditionArgsChange, filteredRowsFactory, conditionsStack) => {
|
121755
121696
|
const [firstByValueCondition] = (0, _array.arrayFilter)(conditions, condition => condition.name === _constants2.CONDITION_BY_VALUE);
|
121756
121697
|
const state = {};
|
121757
121698
|
const defaultBlankCellValue = this.hot.getTranslatedPhrase(C.FILTERS_VALUES_BLANK_CELLS);
|
121758
121699
|
if (firstByValueCondition) {
|
121759
|
-
const
|
121760
|
-
const rowValues = (0, _array.arrayMap)(filteredRows, row => row.value);
|
121761
|
-
const rowIndexes = (0, _array.arrayMap)(filteredRows, row => row.meta.visualRow);
|
121762
|
-
const unifiedRowValues = (0, _utils.unifyColumnValues)(rowValues);
|
121763
|
-
const displayValues = (multipleSelectComponent.getDisplayValuesAtCol(this.hot.toVisualColumn(physicalColumn)) || []).filter((value, index) => rowIndexes.includes(index));
|
121764
|
-
const displayValuesSyncedWithUnifiedValues = (0, _utils.syncDisplayValuesToUnifiedValues)(displayValues, rowValues, unifiedRowValues);
|
121700
|
+
const rowValues = (0, _utils.unifyColumnValues)((0, _array.arrayMap)(filteredRowsFactory(physicalColumn, conditionsStack), row => row.value));
|
121765
121701
|
if (conditionArgsChange) {
|
121766
121702
|
firstByValueCondition.args[0] = conditionArgsChange;
|
121767
121703
|
}
|
121768
121704
|
const selectedValues = [];
|
121769
|
-
const itemsSnapshot = (0, _utils.intersectValues)(
|
121705
|
+
const itemsSnapshot = (0, _utils.intersectValues)(rowValues, firstByValueCondition.args[0], defaultBlankCellValue, item => {
|
121770
121706
|
if (item.checked) {
|
121771
121707
|
selectedValues.push(item.value);
|
121772
121708
|
}
|
@@ -121829,17 +121765,13 @@ class ValueComponent extends _base.BaseComponent {
|
|
121829
121765
|
* Reset elements to their initial state.
|
121830
121766
|
*/
|
121831
121767
|
reset() {
|
121832
|
-
const multiSelectComponent = this.getMultipleSelectElement();
|
121833
|
-
const selectedColumn = this.hot.getPlugin('filters').getSelectedColumn();
|
121834
121768
|
const defaultBlankCellValue = this.hot.getTranslatedPhrase(C.FILTERS_VALUES_BLANK_CELLS);
|
121835
|
-
const values = this._getColumnVisibleValues();
|
121836
|
-
const
|
121837
|
-
const displayValues = multiSelectComponent.getDisplayValuesAtCol(selectedColumn === null || selectedColumn === void 0 ? void 0 : selectedColumn.visualIndex) || [];
|
121838
|
-
const displayValuesSyncedWithUnifiedValues = (0, _utils.syncDisplayValuesToUnifiedValues)(displayValues, values, unifiedValues);
|
121839
|
-
const items = (0, _utils.intersectValues)(unifiedValues, unifiedValues, defaultBlankCellValue, displayValuesSyncedWithUnifiedValues || []);
|
121769
|
+
const values = (0, _utils.unifyColumnValues)(this._getColumnVisibleValues());
|
121770
|
+
const items = (0, _utils.intersectValues)(values, values, defaultBlankCellValue);
|
121840
121771
|
this.getMultipleSelectElement().setItems(items);
|
121841
121772
|
super.reset();
|
121842
|
-
this.getMultipleSelectElement().setValue(
|
121773
|
+
this.getMultipleSelectElement().setValue(values);
|
121774
|
+
const selectedColumn = this.hot.getPlugin('filters').getSelectedColumn();
|
121843
121775
|
if (selectedColumn !== null) {
|
121844
121776
|
this.getMultipleSelectElement().setLocale(this.hot.getCellMeta(0, selectedColumn.visualIndex).locale);
|
121845
121777
|
}
|
@@ -122251,44 +122183,6 @@ class MultipleSelectUI extends _base.BaseUI {
|
|
122251
122183
|
(0, _classPrivateFieldSet2.default)(this, _items, null);
|
122252
122184
|
super.destroy();
|
122253
122185
|
}
|
122254
|
-
|
122255
|
-
/**
|
122256
|
-
* Returns the display values for all the cells at the given `column` visual index.
|
122257
|
-
* If no display values are defined, the `source data` values will be returned instead.
|
122258
|
-
*
|
122259
|
-
* If the provided column index is not a valid integer, the method will return `null`.
|
122260
|
-
*
|
122261
|
-
* @param {number} column From visual column index.
|
122262
|
-
* @returns {Array[]|null} Array containing the display values of all the cells in the column.
|
122263
|
-
*/
|
122264
|
-
getDisplayValuesAtCol(column) {
|
122265
|
-
if (!Number.isInteger(column)) {
|
122266
|
-
return null;
|
122267
|
-
}
|
122268
|
-
const sourceRowCount = this.hot.countSourceRows();
|
122269
|
-
const columnData = [];
|
122270
|
-
let returnValue;
|
122271
|
-
for (let row = 0; row < sourceRowCount; row += 1) {
|
122272
|
-
const cellMeta = this.hot.getCellMeta(row, column);
|
122273
|
-
const {
|
122274
|
-
prop,
|
122275
|
-
displayValue
|
122276
|
-
} = cellMeta;
|
122277
|
-
const cellSourceData = this.hot.getSourceDataAtCell(row, column);
|
122278
|
-
if (displayValue) {
|
122279
|
-
returnValue = displayValue;
|
122280
|
-
} else {
|
122281
|
-
var _cellMeta$displayValu;
|
122282
|
-
// Render the cell in a mock element to try to get the display value (possibly applied in the renderer).
|
122283
|
-
(0, _element.renderMockCell)(this.hot.rootDocument, this.hot.getCellRenderer(row, column), [this.hot, row, column, prop, cellSourceData, cellMeta]);
|
122284
|
-
|
122285
|
-
// Retry getting the display value.
|
122286
|
-
returnValue = (_cellMeta$displayValu = cellMeta.displayValue) !== null && _cellMeta$displayValu !== void 0 ? _cellMeta$displayValu : cellSourceData;
|
122287
|
-
}
|
122288
|
-
columnData.push(returnValue);
|
122289
|
-
}
|
122290
|
-
return columnData;
|
122291
|
-
}
|
122292
122186
|
}
|
122293
122187
|
exports.MultipleSelectUI = MultipleSelectUI;
|
122294
122188
|
function _onInput2(event) {
|
@@ -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: 16/01/2024 (built at
|
28
|
+
* Version: 0.0.0-next-5787854-20240205
|
29
|
+
* Release date: 16/01/2024 (built at 05/02/2024 08:59:18)
|
30
30
|
*/.handsontable .table td,.handsontable .table th{border-top:none}.handsontable tr{background:#fff}.handsontable td{background-color:inherit}.handsontable .table caption+thead tr:first-child td,.handsontable .table caption+thead tr:first-child th,.handsontable .table colgroup+thead tr:first-child td,.handsontable .table colgroup+thead tr:first-child th,.handsontable .table thead:first-child tr:first-child td,.handsontable .table thead:first-child tr:first-child th{border-top:1px solid #ccc}.handsontable .table-bordered{border:0;border-collapse:separate}.handsontable .table-bordered td,.handsontable .table-bordered th{border-left:none}.handsontable .table-bordered td:first-child,.handsontable .table-bordered th:first-child{border-left:1px solid #ccc}.handsontable .table>tbody>tr>td,.handsontable .table>tbody>tr>th,.handsontable .table>tfoot>tr>td,.handsontable .table>tfoot>tr>th,.handsontable .table>thead>tr>td,.handsontable .table>thead>tr>th{line-height:21px;padding:0}.col-lg-1.handsontable,.col-lg-10.handsontable,.col-lg-11.handsontable,.col-lg-12.handsontable,.col-lg-2.handsontable,.col-lg-3.handsontable,.col-lg-4.handsontable,.col-lg-5.handsontable,.col-lg-6.handsontable,.col-lg-7.handsontable,.col-lg-8.handsontable,.col-lg-9.handsontable,.col-md-1.handsontable,.col-md-10.handsontable,.col-md-11.handsontable,.col-md-12.handsontable,.col-md-2.handsontable,.col-md-3.handsontable,.col-md-4.handsontable,.col-md-5.handsontable,.col-md-6.handsontable,.col-md-7.handsontable,.col-md-8.handsontable,.col-md-9.handsontable .col-sm-1.handsontable,.col-sm-10.handsontable,.col-sm-11.handsontable,.col-sm-12.handsontable,.col-sm-2.handsontable,.col-sm-3.handsontable,.col-sm-4.handsontable,.col-sm-5.handsontable,.col-sm-6.handsontable,.col-sm-7.handsontable,.col-sm-8.handsontable,.col-sm-9.handsontable .col-xs-1.handsontable,.col-xs-10.handsontable,.col-xs-11.handsontable,.col-xs-12.handsontable,.col-xs-2.handsontable,.col-xs-3.handsontable,.col-xs-4.handsontable,.col-xs-5.handsontable,.col-xs-6.handsontable,.col-xs-7.handsontable,.col-xs-8.handsontable,.col-xs-9.handsontable{padding-left:0;padding-right:0}.handsontable .table-striped>tbody>tr:nth-of-type(2n){background-color:#fff}.handsontable{position:relative}.handsontable .hide{display:none}.handsontable .relative{position:relative}.handsontable .wtHider{width:0}.handsontable .wtSpreader{height:auto;position:relative;width:0}.handsontable div,.handsontable input,.handsontable table,.handsontable tbody,.handsontable td,.handsontable textarea,.handsontable th,.handsontable thead{box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box}.handsontable input,.handsontable textarea{min-height:auto}.handsontable table.htCore{border-collapse:separate;border-spacing:0;border-width:0;cursor:default;margin:0;max-height:none;max-width:none;outline-width:0;table-layout:fixed;width:0}.handsontable col,.handsontable col.rowHeader{width:50px}.handsontable td,.handsontable th{background-color:#fff;border-bottom:1px solid #ccc;border-left-width:0;border-right:1px solid #ccc;border-top-width:0;empty-cells:show;height:22px;line-height:21px;outline:none;outline-width:0;overflow:hidden;padding:0 4px;vertical-align:top;white-space:pre-wrap}[dir=rtl].handsontable td,[dir=rtl].handsontable th{border-left:1px solid #ccc;border-right-width:0}.handsontable th:last-child{border-bottom:1px solid #ccc;border-left:none;border-right:1px solid #ccc}[dir=rtl].handsontable th:last-child{border-left:1px solid #ccc;border-right:none}.handsontable td:first-of-type,.handsontable th:first-child,.handsontable th:nth-child(2){border-left:1px solid #ccc}[dir=rtl].handsontable td:first-of-type,[dir=rtl].handsontable th:first-child,[dir=rtl].handsontable th:nth-child(2){border-right:1px solid #ccc}.handsontable .ht_clone_top th:nth-child(2){border-left-width:0;border-right:1px solid #ccc}[dir=rtl].handsontable .ht_clone_top th:nth-child(2){border-left:1px solid #ccc;border-right-width:0}.handsontable.htRowHeaders thead tr th:nth-child(2){border-left:1px solid #ccc}[dir=rtl].handsontable.htRowHeaders thead tr th:nth-child(2){border-right:1px solid #ccc}.handsontable tr:first-child td,.handsontable tr:first-child th{border-top:1px solid #ccc}.ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable tbody tr th,.ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top) thead tr th:first-child{border-left:1px solid #ccc;border-right-width:0}[dir=rtl].ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable tbody tr th,[dir=rtl].ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top) thead tr th:first-child{border-left-width:0;border-right:1px solid #ccc}.ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr.lastChild th,.ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr:last-child th,.ht_master:not(.innerBorderTop):not(.innerBorderBottom)~.handsontable thead tr.lastChild th,.ht_master:not(.innerBorderTop):not(.innerBorderBottom)~.handsontable thead tr:last-child th{border-bottom-width:0}.handsontable th{background-color:#f0f0f0;color:#222;font-weight:400;text-align:center;white-space:nowrap}.handsontable thead th{padding:0}.handsontable th.active{background-color:#ccc}.handsontable thead th .relative{padding:2px 4px}.handsontable span.colHeader{display:inline-block;line-height:1.1}.handsontable .wtBorder{font-size:0;position:absolute}.handsontable .wtBorder.hidden{display:none!important}.handsontable .wtBorder.current{z-index:10}.handsontable .wtBorder.area{z-index:8}.handsontable .wtBorder.fill{z-index:6}.handsontable .wtBorder.corner{cursor:crosshair;font-size:0}.ht_clone_master{z-index:100}.ht_clone_inline_start{z-index:120}.ht_clone_bottom{z-index:130}.ht_clone_bottom_inline_start_corner{z-index:150}.ht_clone_top{z-index:160}.ht_clone_top_inline_start_corner{z-index:180}.handsontable col.hidden{width:0!important}.handsontable tr.hidden,.handsontable tr.hidden td,.handsontable tr.hidden th{display:none}.ht_clone_bottom,.ht_clone_inline_start,.ht_clone_top,.ht_master{overflow:hidden}.ht_master .wtHolder{overflow:auto}.handsontable .ht_clone_inline_start table.htCore>thead,.handsontable .ht_master table.htCore>tbody>tr>th,.handsontable .ht_master table.htCore>thead{visibility:hidden}.ht_clone_bottom .wtHolder,.ht_clone_inline_start .wtHolder,.ht_clone_top .wtHolder{overflow:hidden}.handsontable{color:#373737;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Arial,sans-serif;font-size:13px;font-weight:400;touch-action:manipulation}.handsontable a{color:#104acc}.handsontable.htAutoSize{left:-99000px;position:absolute;top:-99000px;visibility:hidden}.handsontable td.htInvalid{background-color:#ffbeba!important}.handsontable td.htNoWrap{white-space:nowrap}.handsontable td.invisibleSelection,.handsontable th.invisibleSelection{outline:none}.handsontable td.invisibleSelection::selection,.handsontable th.invisibleSelection::selection{background:hsla(0,0%,100%,0)}.hot-display-license-info{color:#373737;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Arial,sans-serif;font-size:10px;font-weight:400;padding:5px 0 3px;text-align:left}.hot-display-license-info a{color:#104acc;font-size:10px}.handsontable .htFocusCatcher{border:0;height:0;margin:0;opacity:0;padding:0;position:absolute;width:0;z-index:-1}.handsontable .manualColumnResizer{cursor:col-resize;height:25px;position:absolute;top:0;width:5px;z-index:210}.handsontable .manualRowResizer{cursor:row-resize;height:5px;left:0;position:absolute;width:50px;z-index:210}.handsontable .manualColumnResizer.active,.handsontable .manualColumnResizer:hover,.handsontable .manualRowResizer.active,.handsontable .manualRowResizer:hover{background-color:#34a9db}.handsontable .manualColumnResizerGuide{background-color:#34a9db;border-left:none;border-right:1px dashed #777;display:none;margin-left:5px;margin-right:unset;position:absolute;right:unset;top:0;width:0}[dir=rtl].handsontable .manualColumnResizerGuide{border-left:1px dashed #777;border-right:none;left:unset;margin-left:unset;margin-right:5px}.handsontable .manualRowResizerGuide{background-color:#34a9db;border-bottom:1px dashed #777;bottom:0;display:none;height:0;left:0;margin-top:5px;position:absolute}.handsontable .manualColumnResizerGuide.active,.handsontable .manualRowResizerGuide.active{display:block;z-index:209}.handsontable .columnSorting{position:relative}.handsontable .columnSorting.sortAction:hover{cursor:pointer;text-decoration:underline}.handsontable span.colHeader.columnSorting:before{background-position-x:right;background-repeat:no-repeat;background-size:contain;content:"";height:10px;left:unset;margin-top:-6px;padding-left:8px;padding-right:0;position:absolute;right:-9px;top:50%;width:5px}[dir=rtl].handsontable span.colHeader.columnSorting:before{background-position-x:left;left:-9px;padding-left:0;padding-right:8px;right:unset}.handsontable span.colHeader.columnSorting.ascending:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAMAAADJ7yrpAAAAKlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKE86IAAAADXRSTlMABBEmRGprlJW72e77tTkTKwAAAFNJREFUeAHtzjkSgCAUBNHPgsoy97+ulGXRqJE5L+xkxoYt2UdsLb5bqFINz+aLuuLn5rIu2RkO3fZpWENimNgiw6iBYRTPMLJjGFxQZ1hxxb/xBI1qC8k39CdKAAAAAElFTkSuQmCC)}.handsontable span.colHeader.columnSorting.descending:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAMAAADJ7yrpAAAAKlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKE86IAAAADXRSTlMABBEmRGprlJW72e77tTkTKwAAAFJJREFUeAHtzjkSgCAQRNFmQYUZ7n9dKUvru0TmvPAn3br0QfgdZ5xx6x+rQn23GqTYnq1FDcnuzZIO2WmedVqIRVxgGKEyjNgYRjKGkZ1hFIZ3I70LyM0VtU8AAAAASUVORK5CYII=)}.htGhostTable .htCore span.colHeader.columnSorting:not(.indicatorDisabled):before{content:"*";display:inline-block;padding-right:20px;position:relative}.handsontable td.area,.handsontable td.area-1,.handsontable td.area-2,.handsontable td.area-3,.handsontable td.area-4,.handsontable td.area-5,.handsontable td.area-6,.handsontable td.area-7{position:relative}.handsontable td.area-1:before,.handsontable td.area-2:before,.handsontable td.area-3:before,.handsontable td.area-4:before,.handsontable td.area-5:before,.handsontable td.area-6:before,.handsontable td.area-7:before,.handsontable td.area:before{background:#005eff;bottom:0;bottom:-100%\9;content:"";left:0;position:absolute;right:0;top:0}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.handsontable td.area-1:before,.handsontable td.area-2:before,.handsontable td.area-3:before,.handsontable td.area-4:before,.handsontable td.area-5:before,.handsontable td.area-6:before,.handsontable td.area-7:before,.handsontable td.area:before{bottom:-100%}}.handsontable td.area:before{opacity:.1}.handsontable td.area-1:before{opacity:.2}.handsontable td.area-2:before{opacity:.27}.handsontable td.area-3:before{opacity:.35}.handsontable td.area-4:before{opacity:.41}.handsontable td.area-5:before{opacity:.47}.handsontable td.area-6:before{opacity:.54}.handsontable td.area-7:before{opacity:.58}.handsontable tbody th.current,.handsontable thead th.current{box-shadow:inset 0 0 0 2px #4b89ff}.handsontable tbody th.ht__highlight,.handsontable thead th.ht__highlight{background-color:#dcdcdc}.handsontable tbody th.ht__active_highlight,.handsontable thead th.ht__active_highlight{background-color:#8eb0e7;color:#000}.handsontableInput{background-color:#fff;border:none;border-radius:0;box-shadow:inset 0 0 0 2px #5292f7;color:#000;display:block;font-family:inherit;font-size:inherit;line-height:21px;margin:0;outline-width:0;padding:1px 5px 0;resize:none}.handsontableInput:focus{outline:none}.handsontableInputHolder{left:0;position:absolute;top:0}.htSelectEditor{-webkit-appearance:menulist-button!important;position:absolute;width:auto}.htSelectEditor:focus{outline:none}.handsontable .htDimmed{color:#777}.handsontable .htSubmenu{position:relative}.handsontable .htSubmenu :after{color:#777;content:"▶";font-size:9px;position:absolute;right:5px}[dir=rtl].handsontable .htSubmenu :after{content:""}[dir=rtl].handsontable .htSubmenu :before{color:#777;content:"◀";font-size:9px;left:5px;position:absolute}.handsontable .htLeft{text-align:left}.handsontable .htCenter{text-align:center}.handsontable .htRight{text-align:right}.handsontable .htJustify{text-align:justify}.handsontable .htTop{vertical-align:top}.handsontable .htMiddle{vertical-align:middle}.handsontable .htBottom{vertical-align:bottom}.handsontable .htPlaceholder{color:#999}.handsontable.listbox{margin:0}.handsontable.listbox .ht_master table{background:#fff;border:1px solid #ccc;border-collapse:separate}.handsontable.listbox td,.handsontable.listbox th,.handsontable.listbox tr:first-child td,.handsontable.listbox tr:first-child th,.handsontable.listbox tr:last-child th{border-color:transparent!important}.handsontable.listbox td,.handsontable.listbox th{text-overflow:ellipsis;white-space:nowrap}.handsontable.listbox td.htDimmed{color:inherit;cursor:default;font-style:inherit}.handsontable.listbox .wtBorder{visibility:hidden}.handsontable.listbox tr td.current,.handsontable.listbox tr:hover td{background:#eee}.ht_editor_hidden{z-index:-1}.ht_editor_visible{z-index:200}.handsontable td.htSearchResult{background:#fcedd9;color:#583707}.handsontable .collapsibleIndicator{background:#eee;border:1px solid #a6a6a6;border-radius:10px;-webkit-box-shadow:0 0 0 6px #eee;-moz-box-shadow:0 0 0 6px #eee;box-shadow:0 0 0 3px #eee;color:#222;cursor:pointer;font-size:10px;height:10px;left:unset;line-height:8px;position:absolute;right:5px;text-align:center;top:50%;transform:translateY(-50%);width:10px}[dir=rtl].handsontable .collapsibleIndicator{left:5px;right:unset}.handsontable.mobile,.handsontable.mobile .wtHolder{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-overflow-scrolling:touch}.handsontable.mobile .handsontableInput:focus{-webkit-appearance:none;-webkit-box-shadow:inset 0 0 0 2px #5292f7;-moz-box-shadow:inset 0 0 0 2px #5292f7;box-shadow:inset 0 0 0 2px #5292f7}.handsontable .bottomSelectionHandle,.handsontable .bottomSelectionHandle-HitArea,.handsontable .topSelectionHandle,.handsontable .topSelectionHandle-HitArea{left:-10000px;right:unset;top:-10000px;z-index:9999}[dir=rtl].handsontable .bottomSelectionHandle,[dir=rtl].handsontable .bottomSelectionHandle-HitArea,[dir=rtl].handsontable .topSelectionHandle,[dir=rtl].handsontable .topSelectionHandle-HitArea{left:unset;right:-10000px}.handsontable.hide-tween{-webkit-animation:opacity-hide .3s;animation:opacity-hide .3s;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}.handsontable.show-tween{-webkit-animation:opacity-show .3s;animation:opacity-show .3s;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}
|
31
31
|
/*!
|
32
32
|
* Pikaday
|