handsontable 0.0.0-next-a262af5-20230913 → 0.0.0-next-ab279a9-20230913
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/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +67 -37
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +5 -5
- package/dist/handsontable.js +67 -37
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +5 -5
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/autoRowSize/autoRowSize.js +13 -6
- package/plugins/autoRowSize/autoRowSize.mjs +13 -6
- package/utils/ghostTable.js +31 -15
- package/utils/ghostTable.mjs +31 -15
- package/utils/samplesGenerator.js +20 -11
- package/utils/samplesGenerator.mjs +20 -11
package/dist/handsontable.js
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 13/09/2023
|
28
|
+
* Version: 0.0.0-next-ab279a9-20230913
|
29
|
+
* Release date: 31/08/2023 (built at 13/09/2023 09:45:44)
|
30
30
|
*/
|
31
31
|
(function webpackUniversalModuleDefinition(root, factory) {
|
32
32
|
if(typeof exports === 'object' && typeof module === 'object')
|
@@ -105,8 +105,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
|
|
105
105
|
Handsontable.CellCoords = _src.CellCoords;
|
106
106
|
Handsontable.CellRange = _src.CellRange;
|
107
107
|
Handsontable.packageName = 'handsontable';
|
108
|
-
Handsontable.buildDate = "13/09/2023
|
109
|
-
Handsontable.version = "0.0.0-next-
|
108
|
+
Handsontable.buildDate = "13/09/2023 09:45:44";
|
109
|
+
Handsontable.version = "0.0.0-next-ab279a9-20230913";
|
110
110
|
Handsontable.languages = {
|
111
111
|
dictionaryKeys: _registry.dictionaryKeys,
|
112
112
|
getLanguageDictionary: _registry.getLanguageDictionary,
|
@@ -8345,7 +8345,7 @@ const domMessages = {
|
|
8345
8345
|
function _injectProductInfo(key, element) {
|
8346
8346
|
const hasValidType = !isEmpty(key);
|
8347
8347
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
8348
|
-
const hotVersion = "0.0.0-next-
|
8348
|
+
const hotVersion = "0.0.0-next-ab279a9-20230913";
|
8349
8349
|
let keyValidityDate;
|
8350
8350
|
let consoleMessageState = 'invalid';
|
8351
8351
|
let domMessageState = 'invalid';
|
@@ -46240,9 +46240,11 @@ function _isRelevantToSettings2(settings) {
|
|
46240
46240
|
"use strict";
|
46241
46241
|
|
46242
46242
|
|
46243
|
+
var _interopRequireDefault = __webpack_require__(1);
|
46243
46244
|
exports.__esModule = true;
|
46244
46245
|
__webpack_require__(78);
|
46245
46246
|
__webpack_require__(8);
|
46247
|
+
var _defineProperty2 = _interopRequireDefault(__webpack_require__(136));
|
46246
46248
|
var _element = __webpack_require__(107);
|
46247
46249
|
var _array = __webpack_require__(113);
|
46248
46250
|
/**
|
@@ -46255,47 +46257,48 @@ class GhostTable {
|
|
46255
46257
|
*
|
46256
46258
|
* @type {Core}
|
46257
46259
|
*/
|
46258
|
-
this
|
46260
|
+
(0, _defineProperty2.default)(this, "hot", null);
|
46259
46261
|
/**
|
46260
46262
|
* Container element where every table will be injected.
|
46261
46263
|
*
|
46262
46264
|
* @type {HTMLElement|null}
|
46263
46265
|
*/
|
46264
|
-
this
|
46266
|
+
(0, _defineProperty2.default)(this, "container", null);
|
46265
46267
|
/**
|
46266
46268
|
* Flag which determine is table was injected to DOM.
|
46267
46269
|
*
|
46268
46270
|
* @type {boolean}
|
46269
46271
|
*/
|
46270
|
-
this
|
46272
|
+
(0, _defineProperty2.default)(this, "injected", false);
|
46271
46273
|
/**
|
46272
46274
|
* Added rows collection.
|
46273
46275
|
*
|
46274
46276
|
* @type {Array}
|
46275
46277
|
*/
|
46276
|
-
this
|
46278
|
+
(0, _defineProperty2.default)(this, "rows", []);
|
46277
46279
|
/**
|
46278
46280
|
* Added columns collection.
|
46279
46281
|
*
|
46280
46282
|
* @type {Array}
|
46281
46283
|
*/
|
46282
|
-
this
|
46284
|
+
(0, _defineProperty2.default)(this, "columns", []);
|
46283
46285
|
/**
|
46284
46286
|
* Samples prepared for calculations.
|
46285
46287
|
*
|
46286
46288
|
* @type {Map}
|
46287
46289
|
* @default {null}
|
46288
46290
|
*/
|
46289
|
-
this
|
46291
|
+
(0, _defineProperty2.default)(this, "samples", null);
|
46290
46292
|
/**
|
46291
46293
|
* Ghost table settings.
|
46292
46294
|
*
|
46293
46295
|
* @type {object}
|
46294
46296
|
* @default {Object}
|
46295
46297
|
*/
|
46296
|
-
this
|
46298
|
+
(0, _defineProperty2.default)(this, "settings", {
|
46297
46299
|
useHeaders: true
|
46298
|
-
};
|
46300
|
+
});
|
46301
|
+
this.hot = hotInstance;
|
46299
46302
|
}
|
46300
46303
|
|
46301
46304
|
/**
|
@@ -46317,7 +46320,7 @@ class GhostTable {
|
|
46317
46320
|
this.rows.push(rowObject);
|
46318
46321
|
this.samples = samples;
|
46319
46322
|
this.table = this.createTable(this.hot.table.className);
|
46320
|
-
this.table.colGroup.appendChild(this.createColGroupsCol());
|
46323
|
+
this.table.colGroup.appendChild(this.createColGroupsCol(row));
|
46321
46324
|
this.table.tr.appendChild(this.createRow(row));
|
46322
46325
|
this.container.container.appendChild(this.table.fragment);
|
46323
46326
|
rowObject.table = this.table.table;
|
@@ -46461,16 +46464,17 @@ class GhostTable {
|
|
46461
46464
|
/**
|
46462
46465
|
* Create colgroup col elements.
|
46463
46466
|
*
|
46467
|
+
* @param {number} row Visual row index.
|
46464
46468
|
* @returns {DocumentFragment}
|
46465
46469
|
*/
|
46466
|
-
createColGroupsCol() {
|
46470
|
+
createColGroupsCol(row) {
|
46467
46471
|
const fragment = this.hot.rootDocument.createDocumentFragment();
|
46468
46472
|
if (this.hot.hasRowHeaders()) {
|
46469
|
-
fragment.appendChild(this.createColElement(-1));
|
46473
|
+
fragment.appendChild(this.createColElement(-1, -1));
|
46470
46474
|
}
|
46471
46475
|
this.samples.forEach(sample => {
|
46472
46476
|
(0, _array.arrayEach)(sample.strings, string => {
|
46473
|
-
fragment.appendChild(this.createColElement(string.col));
|
46477
|
+
fragment.appendChild(this.createColElement(string.col, row));
|
46474
46478
|
});
|
46475
46479
|
});
|
46476
46480
|
return fragment;
|
@@ -46617,12 +46621,23 @@ class GhostTable {
|
|
46617
46621
|
/**
|
46618
46622
|
* Create col element.
|
46619
46623
|
*
|
46620
|
-
* @param {number} column
|
46624
|
+
* @param {number} column Visual column index.
|
46625
|
+
* @param {number} row Visual row index.
|
46621
46626
|
* @returns {HTMLElement}
|
46622
46627
|
*/
|
46623
|
-
createColElement(column) {
|
46628
|
+
createColElement(column, row) {
|
46624
46629
|
const col = this.hot.rootDocument.createElement('col');
|
46625
|
-
|
46630
|
+
let colspan = 0;
|
46631
|
+
if (row >= 0 && column >= 0) {
|
46632
|
+
colspan = this.hot.getCellMeta(row, column).colspan;
|
46633
|
+
}
|
46634
|
+
let width = this.hot.view._wt.wtTable.getStretchedColumnWidth(column);
|
46635
|
+
if (colspan > 1) {
|
46636
|
+
for (let nextColumn = column + 1; nextColumn < column + colspan; nextColumn++) {
|
46637
|
+
width += this.hot.view._wt.wtTable.getStretchedColumnWidth(nextColumn);
|
46638
|
+
}
|
46639
|
+
}
|
46640
|
+
col.style.width = `${width}px`;
|
46626
46641
|
return col;
|
46627
46642
|
}
|
46628
46643
|
|
@@ -46721,9 +46736,11 @@ exports["default"] = _default;
|
|
46721
46736
|
"use strict";
|
46722
46737
|
|
46723
46738
|
|
46739
|
+
var _interopRequireDefault = __webpack_require__(1);
|
46724
46740
|
exports.__esModule = true;
|
46725
46741
|
__webpack_require__(78);
|
46726
46742
|
__webpack_require__(8);
|
46743
|
+
var _defineProperty2 = _interopRequireDefault(__webpack_require__(136));
|
46727
46744
|
var _object = __webpack_require__(116);
|
46728
46745
|
var _number = __webpack_require__(130);
|
46729
46746
|
var _mixed = __webpack_require__(110);
|
@@ -46739,34 +46756,36 @@ class SamplesGenerator {
|
|
46739
46756
|
static get SAMPLE_COUNT() {
|
46740
46757
|
return 3;
|
46741
46758
|
}
|
46759
|
+
/**
|
46760
|
+
* Samples prepared for calculations.
|
46761
|
+
*
|
46762
|
+
* @type {Map}
|
46763
|
+
* @default {null}
|
46764
|
+
*/
|
46765
|
+
|
46742
46766
|
constructor(dataFactory) {
|
46743
|
-
|
46744
|
-
* Samples prepared for calculations.
|
46745
|
-
*
|
46746
|
-
* @type {Map}
|
46747
|
-
* @default {null}
|
46748
|
-
*/
|
46749
|
-
this.samples = null;
|
46767
|
+
(0, _defineProperty2.default)(this, "samples", null);
|
46750
46768
|
/**
|
46751
46769
|
* Function which give the data to collect samples.
|
46752
46770
|
*
|
46753
46771
|
* @type {Function}
|
46754
46772
|
*/
|
46755
|
-
this
|
46773
|
+
(0, _defineProperty2.default)(this, "dataFactory", null);
|
46756
46774
|
/**
|
46757
46775
|
* Custom number of samples to take of each value length.
|
46758
46776
|
*
|
46759
46777
|
* @type {number}
|
46760
46778
|
* @default {null}
|
46761
46779
|
*/
|
46762
|
-
this
|
46780
|
+
(0, _defineProperty2.default)(this, "customSampleCount", null);
|
46763
46781
|
/**
|
46764
46782
|
* `true` if duplicate samples collection should be allowed, `false` otherwise.
|
46765
46783
|
*
|
46766
46784
|
* @type {boolean}
|
46767
46785
|
* @default {false}
|
46768
46786
|
*/
|
46769
|
-
this
|
46787
|
+
(0, _defineProperty2.default)(this, "allowDuplicates", false);
|
46788
|
+
this.dataFactory = dataFactory;
|
46770
46789
|
}
|
46771
46790
|
|
46772
46791
|
/**
|
@@ -46861,10 +46880,14 @@ class SamplesGenerator {
|
|
46861
46880
|
const computedKey = type === 'row' ? 'col' : 'row';
|
46862
46881
|
const sampledValues = [];
|
46863
46882
|
(0, _number.rangeEach)(range.from, range.to, index => {
|
46883
|
+
const data = type === 'row' ? this.dataFactory(specifierValue, index) : this.dataFactory(index, specifierValue);
|
46884
|
+
if (data === false) {
|
46885
|
+
return;
|
46886
|
+
}
|
46864
46887
|
const {
|
46865
46888
|
value,
|
46866
46889
|
bundleSeed
|
46867
|
-
} =
|
46890
|
+
} = data;
|
46868
46891
|
const hasCustomBundleSeed = typeof bundleSeed === 'string' && bundleSeed.length > 0;
|
46869
46892
|
let seed;
|
46870
46893
|
if (hasCustomBundleSeed) {
|
@@ -47753,12 +47776,19 @@ class AutoRowSize extends _base.BasePlugin {
|
|
47753
47776
|
* @private
|
47754
47777
|
* @type {SamplesGenerator}
|
47755
47778
|
*/
|
47756
|
-
this.samplesGenerator = new _samplesGenerator.default((row,
|
47779
|
+
this.samplesGenerator = new _samplesGenerator.default((row, column) => {
|
47780
|
+
if (row >= 0 && column >= 0) {
|
47781
|
+
const cellMeta = this.hot.getCellMeta(row, column);
|
47782
|
+
if (cellMeta.hidden) {
|
47783
|
+
// do not generate samples for cells that are covered by merged cell (null values)
|
47784
|
+
return false;
|
47785
|
+
}
|
47786
|
+
}
|
47757
47787
|
let cellValue;
|
47758
47788
|
if (row >= 0) {
|
47759
|
-
cellValue = this.hot.getDataAtCell(row,
|
47789
|
+
cellValue = this.hot.getDataAtCell(row, column);
|
47760
47790
|
} else if (row === -1) {
|
47761
|
-
cellValue = this.hot.getColHeader(
|
47791
|
+
cellValue = this.hot.getColHeader(column);
|
47762
47792
|
}
|
47763
47793
|
return {
|
47764
47794
|
value: cellValue
|
@@ -47793,7 +47823,7 @@ class AutoRowSize extends _base.BasePlugin {
|
|
47793
47823
|
this.hot.rowIndexMapper.registerMap(ROW_WIDTHS_MAP_NAME, this.rowHeightsMap);
|
47794
47824
|
|
47795
47825
|
// Leave the listener active to allow auto-sizing the rows when the plugin is disabled.
|
47796
|
-
// This is
|
47826
|
+
// This is necessary for height recalculation for resize handler doubleclick (ManualRowResize).
|
47797
47827
|
this.addHook('beforeRowResize', (size, row, isDblClick) => this.onBeforeRowResize(size, row, isDblClick));
|
47798
47828
|
}
|
47799
47829
|
|
@@ -48183,11 +48213,11 @@ class AutoRowSize extends _base.BasePlugin {
|
|
48183
48213
|
this.recalculateAllRowsHeight();
|
48184
48214
|
} else {
|
48185
48215
|
// first load - initialization
|
48186
|
-
|
48216
|
+
this.hot._registerTimeout(() => {
|
48187
48217
|
if (this.hot) {
|
48188
48218
|
this.recalculateAllRowsHeight();
|
48189
48219
|
}
|
48190
|
-
}
|
48220
|
+
});
|
48191
48221
|
}
|
48192
48222
|
}
|
48193
48223
|
|
@@ -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 13/09/2023
|
28
|
+
* Version: 0.0.0-next-ab279a9-20230913
|
29
|
+
* Release date: 31/08/2023 (built at 13/09/2023 09:46:09)
|
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-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 thead,.handsontable .ht_master thead,.handsontable .ht_master tr th{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:#ff4c42!important}.handsontable td.htNoWrap{white-space:nowrap}.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 .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):after{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.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 6px #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-tap-highlight-color:rgba(0,0,0,0);-webkit-overflow-scrolling:touch;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.handsontable .htAutocompleteArrow{color:#eee;cursor:default;float:right;font-size:10px;text-align:center;width:16px}[dir=rtl].handsontable .htAutocompleteArrow{float:left}.handsontable td .htAutocompleteArrow:hover{color:#777}.handsontable td.area .htAutocompleteArrow{color:#d3d3d3}.handsontable .htCheckboxRendererInput{display:inline-block}.handsontable .htCheckboxRendererInput.noValue{opacity:.5}.handsontable .htCheckboxRendererLabel{cursor:pointer;display:inline-block;font-size:inherit;vertical-align:middle}.handsontable .htCheckboxRendererLabel.fullWidth{width:100%}.handsontable .htCommentCell{position:relative}.handsontable .htCommentCell:after{border-left:6px solid transparent;border-right:none;border-top:6px solid #000;content:"";left:unset;position:absolute;right:0;top:0}[dir=rtl].handsontable .htCommentCell:after{border-left:none;border-right:6px solid transparent;left:0;right:unset}.htCommentsContainer .htComments{display:none;position:absolute;z-index:1059}.htCommentsContainer .htCommentTextArea{-webkit-appearance:none;background-color:#fff;border:none;border-left:3px solid #ccc;box-shadow:0 1px 3px rgba(0,0,0,.118),0 1px 2px rgba(0,0,0,.239);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:12px;height:90px;outline:0!important;padding:5px;width:215px}[dir=rtl].htCommentsContainer .htCommentTextArea{border-left:none;border-right:3px solid #ccc}.htCommentsContainer .htCommentTextArea:focus{border-left:3px solid #5292f7;border-right:none;box-shadow:0 1px 3px rgba(0,0,0,.118),0 1px 2px rgba(0,0,0,.239),inset 0 0 0 1px #5292f7}[dir=rtl].htCommentsContainer .htCommentTextArea:focus{border-left:none;border-right:3px solid #5292f7}
|
31
31
|
/*!
|
32
32
|
* Handsontable ContextMenu
|