handsontable 0.0.0-next-1b1acbd-20221123 → 0.0.0-next-561a94b-20221129

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.

@@ -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-1b1acbd-20221123
29
- * Release date: 25/10/2022 (built at 23/11/2022 12:56:32)
28
+ * Version: 0.0.0-next-561a94b-20221129
29
+ * Release date: 25/10/2022 (built at 29/11/2022 07:43:50)
30
30
  */
31
31
  (function webpackUniversalModuleDefinition(root, factory) {
32
32
  if(typeof exports === 'object' && typeof module === 'object')
@@ -3024,7 +3024,7 @@ var domMessages = {
3024
3024
  function _injectProductInfo(key, element) {
3025
3025
  var hasValidType = !isEmpty(key);
3026
3026
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
3027
- var hotVersion = "0.0.0-next-1b1acbd-20221123";
3027
+ var hotVersion = "0.0.0-next-561a94b-20221129";
3028
3028
  var keyValidityDate;
3029
3029
  var consoleMessageState = 'invalid';
3030
3030
  var domMessageState = 'invalid';
@@ -6623,14 +6623,12 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
6623
6623
  /**
6624
6624
  * Fired after retrieving information about a column header and appending it to the table header.
6625
6625
  *
6626
- * Since the 12.2 the hook is triggered with the 3rd `headerLevel` argument.
6627
- *
6628
6626
  * @event Hooks#afterGetColHeader
6629
6627
  * @param {number} column Visual column index.
6630
6628
  * @param {HTMLTableCellElement} TH Header's TH element.
6631
- * @param {number} [headerLevel=0] The index of header level. The header level accepts positive (0 to N)
6632
- * and negative (-1 to -N) values. For positive values, 0 points to the
6633
- * top most header, and for negative direction, -1 points to the most bottom
6629
+ * @param {number} [headerLevel=0] (Since 12.2.0) Header level index. Accepts positive (0 to n)
6630
+ * and negative (-1 to -n) values. For positive values, 0 points to the
6631
+ * topmost header. For negative values, -1 points to the bottom-most
6634
6632
  * header (the header closest to the cells).
6635
6633
  */
6636
6634
  'afterGetColHeader',
@@ -7582,7 +7580,7 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
7582
7580
  */
7583
7581
  'modifyCopyableRange',
7584
7582
  /**
7585
- * Fired by {@link CopyPaste} plugin before copying the values into clipboard and before clearing values of
7583
+ * Fired by {@link CopyPaste} plugin before copying the values to the clipboard and before clearing values of
7586
7584
  * the selected cells. This hook is fired when {@link Options#copyPaste} option is enabled.
7587
7585
  *
7588
7586
  * @event Hooks#beforeCut
@@ -7637,22 +7635,19 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
7637
7635
  * {@link Options#copyPaste} option is enabled.
7638
7636
  *
7639
7637
  * @event Hooks#afterCut
7640
- * @param {Array[]} data An array of arrays which contains the cut out data.
7638
+ * @param {Array[]} data An array of arrays with the cut data.
7641
7639
  * @param {object[]} coords An array of objects with ranges of the visual indexes (`startRow`, `startCol`, `endRow`, `endCol`)
7642
7640
  * which was cut out.
7643
7641
  */
7644
7642
  'afterCut',
7645
7643
  /**
7646
- * Fired before values are copied into clipboard.
7647
- *
7648
- * Since the 12.3.0 the hook is triggered with the 3rd `copiedHeadersCount` argument.
7644
+ * Fired before values are copied to the clipboard.
7649
7645
  *
7650
7646
  * @event Hooks#beforeCopy
7651
7647
  * @param {Array[]} data An array of arrays which contains data to copied.
7652
7648
  * @param {object[]} coords An array of objects with ranges of the visual indexes (`startRow`, `startCol`, `endRow`, `endCol`)
7653
7649
  * which will copied.
7654
- * @param {{ columnHeadersCount: number }} copiedHeadersCount An object with keys that holds information with
7655
- * the number of copied headers.
7650
+ * @param {{ columnHeadersCount: number }} copiedHeadersCount (Since 12.3.0) The number of copied column headers.
7656
7651
  * @returns {*} If returns `false` then copying is canceled.
7657
7652
  *
7658
7653
  * @example
@@ -7715,6 +7710,7 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
7715
7710
  * @param {Array[]} data An array of arrays which contains the copied data.
7716
7711
  * @param {object[]} coords An array of objects with ranges of the visual indexes (`startRow`, `startCol`, `endRow`, `endCol`)
7717
7712
  * which was copied.
7713
+ * @param {{ columnHeadersCount: number }} copiedHeadersCount (Since 12.3.0) The number of copied column headers.
7718
7714
  */
7719
7715
  'afterCopy',
7720
7716
  /**
@@ -7773,7 +7769,7 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
7773
7769
  * {@link Options#copyPaste} option is enabled.
7774
7770
  *
7775
7771
  * @event Hooks#afterPaste
7776
- * @param {Array[]} data An array of arrays which contains the pasted data.
7772
+ * @param {Array[]} data An array of arrays with the pasted data.
7777
7773
  * @param {object[]} coords An array of objects with ranges of the visual indexes (`startRow`, `startCol`, `endRow`, `endCol`)
7778
7774
  * that correspond to the previously selected area.
7779
7775
  */
@@ -8081,17 +8077,17 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
8081
8077
  */
8082
8078
  'modifyColumnHeaderHeight',
8083
8079
  /**
8084
- * Fired while retrieving the column header value.
8080
+ * Fired while retrieving a column header's value.
8085
8081
  *
8086
8082
  * @since 12.3.0
8087
8083
  * @event Hooks#modifyColumnHeaderValue
8088
- * @param {string} value The column header value.
8089
- * @param {number} visualColumnIndex The visual column index.
8090
- * @param {number} [headerLevel=0] The index of header level. The header level accepts positive (0 to N)
8091
- * and negative (-1 to -N) values. For positive values, 0 points to the
8092
- * top most header, and for negative direction, -1 points to the most bottom
8084
+ * @param {string} value A column header value.
8085
+ * @param {number} visualColumnIndex A visual column index.
8086
+ * @param {number} [headerLevel=0] Header level index. Accepts positive (0 to n)
8087
+ * and negative (-1 to -n) values. For positive values, 0 points to the
8088
+ * topmost header. For negative values, -1 points to the bottom-most
8093
8089
  * header (the header closest to the cells).
8094
- * @returns {string} Returns the column header value to update.
8090
+ * @returns {string} The column header value to be updated.
8095
8091
  */
8096
8092
  'modifyColumnHeaderValue',
8097
8093
  /**
@@ -69761,21 +69757,43 @@ function Core(rootElement, userSettings) {
69761
69757
  };
69762
69758
 
69763
69759
  /**
69764
- * Returns an array of column headers (in string format, if they are enabled). If param `column` is given, it
69765
- * returns the header at the given column.
69760
+ * Gets the values of column headers (if column headers are [enabled](@/api/options.md#colheaders)).
69761
+ *
69762
+ * To get an array with the values of all
69763
+ * [bottom-most](@/guides/cell-features/clipboard.md#copy-with-headers) column headers,
69764
+ * call `getColHeader()` with no arguments.
69765
+ *
69766
+ * To get the value of the bottom-most header of a specific column, use the `column` parameter.
69767
+ *
69768
+ * To get the value of a [specific-level](@/guides/columns/column-groups.md) header
69769
+ * of a specific column, use the `column` and `headerLevel` parameters.
69766
69770
  *
69767
- * Since the 12.3.0 the method accepts the 2nd `headerLevel` argument.
69771
+ * Read more:
69772
+ * - [Guides: Column groups](@/guides/columns/column-groups.md)
69773
+ * - [Options: `colHeaders`](@/api/options.md#colheaders)
69774
+ * - [Guides: Copy with headers](@/guides/cell-features/clipboard.md#copy-with-headers)
69775
+ *
69776
+ * ```js
69777
+ * // get the contents of all bottom-most column headers
69778
+ * hot.getColHeader();
69779
+ *
69780
+ * // get the contents of the bottom-most header of a specific column
69781
+ * hot.getColHeader(5);
69782
+ *
69783
+ * // get the contents of a specific column header at a specific level
69784
+ * hot.getColHeader(5, -2);
69785
+ * ```
69768
69786
  *
69769
69787
  * @memberof Core#
69770
69788
  * @function getColHeader
69771
- * @param {number} [column] Visual column index.
69772
- * @param {number} [headerLevel=-1] The index of header level. The header level accepts positive (0 to N)
69773
- * and negative (-1 to -N) values. For positive values, 0 points to the
69774
- * top most header, and for negative direction, -1 points to the most bottom
69789
+ * @param {number} [column] A visual column index.
69790
+ * @param {number} [headerLevel=-1] (Since 12.3.0) Header level index. Accepts positive (0 to n)
69791
+ * and negative (-1 to -n) values. For positive values, 0 points to the
69792
+ * topmost header. For negative values, -1 points to the bottom-most
69775
69793
  * header (the header closest to the cells).
69776
69794
  * @fires Hooks#modifyColHeader
69777
69795
  * @fires Hooks#modifyColumnHeaderValue
69778
- * @returns {Array|string|number} The column header(s).
69796
+ * @returns {Array|string|number} Column header values.
69779
69797
  */
69780
69798
  this.getColHeader = function (column) {
69781
69799
  var headerLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;
@@ -74969,7 +74987,7 @@ var CellRange = /*#__PURE__*/function () {
74969
74987
  }, {
74970
74988
  key: "getHeight",
74971
74989
  value: function getHeight() {
74972
- // If the selection contains only rows headers return 0.
74990
+ // if the selection contains only row headers, return 0
74973
74991
  if (this.from.row < 0 && this.to.row < 0) {
74974
74992
  return 0;
74975
74993
  }
@@ -74986,7 +75004,7 @@ var CellRange = /*#__PURE__*/function () {
74986
75004
  }, {
74987
75005
  key: "getWidth",
74988
75006
  value: function getWidth() {
74989
- // If the selection contains only columns headers return 0.
75007
+ // if the selection contains only column headers, return 0
74990
75008
  if (this.from.col < 0 && this.to.col < 0) {
74991
75009
  return 0;
74992
75010
  }
@@ -79958,17 +79976,23 @@ var _default = function _default() {
79958
79976
  * | `false` | Disable the [`CopyPaste`](@/api/copyPaste.md) plugin |
79959
79977
  * | An object | - Enable the [`CopyPaste`](@/api/copyPaste.md) plugin<br>- Modify the [`CopyPaste`](@/api/copyPaste.md) plugin options |
79960
79978
  *
79979
+ * ##### copyPaste: Additional options
79980
+ *
79961
79981
  * If you set the `copyPaste` option to an object, you can set the following `CopyPaste` plugin options:
79962
79982
  *
79963
- * | Option | Possible settings | Description |
79964
- * | -------------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
79965
- * | `columnsLimit` | A number (default: `Infinity`) | A maximum number of columns that can be copied |
79966
- * | `rowsLimit` | A number (default: `Infinity`) | A maximum number of columns that can be copied |
79967
- * | `pasteMode` | `'overwrite'` \| `'shift_down'` \| `'shift_right'` | When pasting:<br>`'overwrite'`: overwrite currently-selected cells<br>`'shift_down'`: move currently-selected cells down<br>`'shift_right'`: move currently-selected cells to the right |
79968
- * | `uiContainer` | An HTML element | A UI container for the secondary focusable element |
79983
+ * | Option | Possible settings | Description |
79984
+ * | ------------------------ | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
79985
+ * | `columnsLimit` | A number (default: `Infinity`) | The maximum number of columns that can be copied |
79986
+ * | `rowsLimit` | A number (default: `Infinity`) | The maximum number of columns that can be copied |
79987
+ * | `pasteMode` | `'overwrite'` \| `'shift_down'` \| `'shift_right'` | When pasting:<br>`'overwrite'`: overwrite the currently-selected cells<br>`'shift_down'`: move the currently-selected cells down<br>`'shift_right'`: move the currently-selected cells to the right |
79988
+ * | `copyColumnHeaders` | Boolean (default: `false`) | `true`: add a context menu option for copying cells along with their nearest column headers |
79989
+ * | `copyColumnGroupHeaders` | Boolean (default: `false`) | `true`: add a context menu option for copying cells along with all their related columns headers |
79990
+ * | `copyColumnHeadersOnly` | Boolean (default: `false`) | `true`: add a context menu option for copying column headers nearest to the selected cells (without copying cells) |
79991
+ * | `uiContainer` | An HTML element | The UI container for the secondary focusable element |
79969
79992
  *
79970
79993
  * Read more:
79971
79994
  * - [Plugins: `CopyPaste`](@/api/copyPaste.md)
79995
+ * - [Guides: Clipboard](@/guides/cell-features/clipboard.md)
79972
79996
  *
79973
79997
  * @memberof Options#
79974
79998
  * @type {object|boolean}
@@ -79977,19 +80001,33 @@ var _default = function _default() {
79977
80001
  *
79978
80002
  * @example
79979
80003
  * ```js
79980
- * // disable the `CopyPaste` plugin
80004
+ * // enable the plugin with the default configuration
80005
+ * copyPaste: true // set by default
80006
+ *
80007
+ * // disable the plugin
79981
80008
  * copyPaste: false,
79982
80009
  *
79983
- * // enable the `CopyPaste` plugin
79984
- * // and modify the `CopyPaste` plugin options
80010
+ * // enable the plugin with a custom configuration
79985
80011
  * copyPaste: {
79986
- * // set the maximum number of columns that can be copied
80012
+ * // set a maximum number of columns that can be copied
79987
80013
  * columnsLimit: 25,
79988
- * // set the maximum number of rows that can be copied
80014
+ *
80015
+ * // set a maximum number of rows that can be copied
79989
80016
  * rowsLimit: 50,
80017
+ *
79990
80018
  * // set the paste behavior
79991
80019
  * pasteMode: 'shift_down',
79992
- * // set the UI container
80020
+ *
80021
+ * // add the option to copy cells along with their nearest column headers
80022
+ * copyColumnHeaders: true,
80023
+ *
80024
+ * // add the option to copy cells along with all their related columns headers
80025
+ * copyColumnGroupHeaders: true,
80026
+ *
80027
+ * // add the option to copy just column headers (without copying cells)
80028
+ * copyColumnHeadersOnly: true,
80029
+ *
80030
+ * // set a UI container
79993
80031
  * uiContainer: document.body,
79994
80032
  * },
79995
80033
  * ```
@@ -96099,8 +96137,8 @@ Handsontable.Core = function (rootElement) {
96099
96137
  Handsontable.DefaultSettings = (0, _dataMap.metaSchemaFactory)();
96100
96138
  Handsontable.hooks = _pluginHooks.default.getSingleton();
96101
96139
  Handsontable.packageName = 'handsontable';
96102
- Handsontable.buildDate = "23/11/2022 12:56:32";
96103
- Handsontable.version = "0.0.0-next-1b1acbd-20221123";
96140
+ Handsontable.buildDate = "29/11/2022 07:43:50";
96141
+ Handsontable.version = "0.0.0-next-561a94b-20221129";
96104
96142
  Handsontable.languages = {
96105
96143
  dictionaryKeys: _registry.dictionaryKeys,
96106
96144
  getLanguageDictionary: _registry.getLanguageDictionary,
@@ -106761,10 +106799,10 @@ var IndexMapper = /*#__PURE__*/function () {
106761
106799
  }
106762
106800
 
106763
106801
  /**
106764
- * Creates and register the new IndexMap for specified IndexMapper instance.
106802
+ * Creates and registers a new `IndexMap` for a specified `IndexMapper` instance.
106765
106803
  *
106766
- * @param {string} indexName The uniq index name.
106767
- * @param {string} mapType The index map type (e.q. "hiding, "trimming", "physicalIndexToValue").
106804
+ * @param {string} indexName A unique index name.
106805
+ * @param {string} mapType The index map type (e.g., "hiding", "trimming", "physicalIndexToValue").
106768
106806
  * @param {*} [initValueOrFn] The initial value for the index map.
106769
106807
  * @returns {IndexMap}
106770
106808
  */
@@ -125471,22 +125509,7 @@ _pluginHooks.default.getSingleton().register('afterContextMenuExecute');
125471
125509
  * * `true` (to enable default options),
125472
125510
  * * `false` (to disable completely)
125473
125511
  * * `{ uiContainer: containerDomElement }` (to declare a container for all of the Context Menu's dom elements to be placed in).
125474
- *
125475
- * or array of any available strings:
125476
- * * `'row_above'`
125477
- * * `'row_below'`
125478
- * * `'col_left'`
125479
- * * `'col_right'`
125480
- * * `'remove_row'`
125481
- * * `'remove_col'`
125482
- * * `'undo'`
125483
- * * `'redo'`
125484
- * * `'make_read_only'`
125485
- * * `'alignment'`
125486
- * * `'---------'` (menu item separator)
125487
- * * `'borders'` (with {@link Options#customBorders} turned on)
125488
- * * `'commentsAddEdit'` (with {@link Options#comments} turned on)
125489
- * * `'commentsRemove'` (with {@link Options#comments} turned on).
125512
+ * * An array of [the available strings](@/guides/accessories-and-menus/context-menu.md#context-menu-with-specific-options)
125490
125513
  *
125491
125514
  * See [the context menu demo](@/guides/accessories-and-menus/context-menu.md) for examples.
125492
125515
  *
@@ -126980,28 +127003,25 @@ var META_HEAD = ['<meta name="generator" content="Handsontable"/>', '<style type
126980
127003
  /* eslint-disable jsdoc/require-description-complete-sentence */
126981
127004
  /**
126982
127005
  * @description
126983
- * This plugin enables the copy/paste functionality in the Handsontable. The functionality works for API, Context Menu,
126984
- * using keyboard shortcuts and menu bar from the browser.
126985
- * Possible values:
126986
- * * `true` (to enable default options),
126987
- * * `false` (to disable completely).
127006
+ * Copy, cut, and paste data by using the `CopyPaste` plugin.
127007
+ *
127008
+ * Control the `CopyPaste` plugin programmatically through its [API methods](#methods).
126988
127009
  *
126989
- * or an object with values:
126990
- * * `'columnsLimit'` (see {@link CopyPaste#columnsLimit})
126991
- * * `'rowsLimit'` (see {@link CopyPaste#rowsLimit})
126992
- * * `'pasteMode'` (see {@link CopyPaste#pasteMode})
126993
- * * `'copyColumnHeaders'`
126994
- * * `'copyColumnGroupHeaders'`
126995
- * * `'copyColumnHeadersOnly'`
126996
- * * `'uiContainer'` (see {@link CopyPaste#uiContainer}).
127010
+ * The user can access the copy-paste features through:
127011
+ * - The [context menu](@/guides/cell-features/clipboard.md#context-menu).
127012
+ * - The [keyboard shortcuts](@/guides/cell-features/clipboard.md#related-keyboard-shortcuts).
127013
+ * - The browser's menu bar.
126997
127014
  *
126998
- * See [the copy/paste demo](@/guides/cell-features/clipboard.md) for examples.
127015
+ * Read more:
127016
+ * - [Guides: Clipboard](@/guides/cell-features/clipboard.md)
127017
+ * - [Configuration options: `copyPaste`](@/api/options.md#copypaste)
126999
127018
  *
127000
127019
  * @example
127001
127020
  * ```js
127002
- * // Enables the plugin with default values
127021
+ * // enable the plugin with the default configuration
127003
127022
  * copyPaste: true,
127004
- * // Enables the plugin with custom values
127023
+ *
127024
+ * // or, enable the plugin with a custom configuration
127005
127025
  * copyPaste: {
127006
127026
  * columnsLimit: 25,
127007
127027
  * rowsLimit: 50,
@@ -127090,8 +127110,10 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127090
127110
  key: "isEnabled",
127091
127111
  value:
127092
127112
  /**
127093
- * Checks if the plugin is enabled in the handsontable settings. This method is executed in {@link Hooks#beforeInit}
127094
- * hook and if it returns `true` then the {@link CopyPaste#enablePlugin} method is called.
127113
+ * Checks if the [`CopyPaste`](#copypaste) plugin is enabled.
127114
+ *
127115
+ * This method gets called by Handsontable's [`beforeInit`](@/api/hooks.md#beforeinit) hook.
127116
+ * If it returns `true`, the [`enablePlugin()`](#enableplugin) method gets called.
127095
127117
  *
127096
127118
  * @returns {boolean}
127097
127119
  */
@@ -127100,7 +127122,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127100
127122
  }
127101
127123
 
127102
127124
  /**
127103
- * Enables the plugin functionality for this Handsontable instance.
127125
+ * Enables the [`CopyPaste`](#copypaste) plugin for your Handsontable instance.
127104
127126
  */
127105
127127
  }, {
127106
127128
  key: "enablePlugin",
@@ -127145,9 +127167,10 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127145
127167
  }
127146
127168
 
127147
127169
  /**
127148
- * Updates the plugin's state.
127170
+ * Updates the state of the [`CopyPaste`](#copypaste) plugin.
127149
127171
  *
127150
- * This method is executed when [`updateSettings()`](@/api/core.md#updatesettings) is invoked with any of the following configuration options:
127172
+ * Gets called when [`updateSettings()`](@/api/core.md#updatesettings)
127173
+ * is invoked with any of the following configuration options:
127151
127174
  * - [`copyPaste`](@/api/options.md#copypaste)
127152
127175
  * - [`fragmentSelection`](@/api/options.md#fragmentselection)
127153
127176
  */
@@ -127161,7 +127184,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127161
127184
  }
127162
127185
 
127163
127186
  /**
127164
- * Disables the plugin functionality for this Handsontable instance.
127187
+ * Disables the [`CopyPaste`](#copypaste) plugin for your Handsontable instance.
127165
127188
  */
127166
127189
  }, {
127167
127190
  key: "disablePlugin",
@@ -127173,12 +127196,18 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127173
127196
  }
127174
127197
 
127175
127198
  /**
127176
- * Copies the selected cell with or without column headers into the clipboard.
127199
+ * Copies the contents of the selected cells (and/or their related column headers) to the system clipboard.
127200
+ *
127201
+ * Takes an optional parameter (`copyMode`) that defines the scope of copying:
127177
127202
  *
127178
- * @param {'cells-only' | 'column-headers-only' | 'with-all-column-headers' | 'with-column-headers'} [copyMode='cells-only']
127179
- * Defines the data range to copy. Possible values: `cells-only` (copy selected cells only),
127180
- * `column-headers-only` (copy the most-bottom column headers only), `with-all-column-headers` (copy cells
127181
- * with all column headers levels) or `with-column-headers` (copy cells with the most-bottom column headers).
127203
+ * | `copyMode` value | Description |
127204
+ * | --------------------------- | --------------------------------------------------------------- |
127205
+ * | `'cells-only'` (default) | Copy the selected cells |
127206
+ * | `'with-column-headers'` | - Copy the selected cells<br>- Copy the nearest column headers |
127207
+ * | `'with-all-column-headers'` | - Copy the selected cells<br>- Copy all related columns headers |
127208
+ * | `'column-headers-only'` | Copy the nearest column headers (without copying cells) |
127209
+ *
127210
+ * @param {string} [copyMode='cells-only'] Copy mode.
127182
127211
  */
127183
127212
  }, {
127184
127213
  key: "copy",
@@ -127192,7 +127221,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127192
127221
  }
127193
127222
 
127194
127223
  /**
127195
- * Copies the selected cell/cells into the clipboard.
127224
+ * Copies the contents of the selected cells.
127196
127225
  */
127197
127226
  }, {
127198
127227
  key: "copyCellsOnly",
@@ -127200,7 +127229,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127200
127229
  this.copy('cells-only');
127201
127230
  }
127202
127231
  /**
127203
- * Copies only the most-bottom column headers into the clipboard.
127232
+ * Copies the contents of column headers that are nearest to the selected cells.
127204
127233
  */
127205
127234
  }, {
127206
127235
  key: "copyColumnHeadersOnly",
@@ -127208,7 +127237,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127208
127237
  this.copy('column-headers-only');
127209
127238
  }
127210
127239
  /**
127211
- * Copies the selected cell/cells and all column headers levels (including column group) into the clipboard.
127240
+ * Copies the contents of the selected cells and all their related column headers.
127212
127241
  */
127213
127242
  }, {
127214
127243
  key: "copyWithAllColumnHeaders",
@@ -127216,7 +127245,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127216
127245
  this.copy('with-column-group-headers');
127217
127246
  }
127218
127247
  /**
127219
- * Copies the selected cell/cells and most-bottom column headers into the clipboard.
127248
+ * Copies the contents of the selected cells and their nearest column headers.
127220
127249
  */
127221
127250
  }, {
127222
127251
  key: "copyWithColumnHeaders",
@@ -127225,7 +127254,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127225
127254
  }
127226
127255
 
127227
127256
  /**
127228
- * Cuts the selected cell into the clipboard.
127257
+ * Cuts the contents of the selected cells to the system clipboard.
127229
127258
  */
127230
127259
  }, {
127231
127260
  key: "cut",
@@ -127237,10 +127266,10 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127237
127266
  }
127238
127267
 
127239
127268
  /**
127240
- * Creates copyable text related to range objects.
127269
+ * Converts the contents of multiple ranges (`ranges`) into a single string.
127241
127270
  *
127242
127271
  * @param {Array<{startRow: number, startCol: number, endRow: number, endCol: number}>} ranges Array of objects with properties `startRow`, `endRow`, `startCol` and `endCol`.
127243
- * @returns {string} Returns string which will be copied into clipboard.
127272
+ * @returns {string} A string that will be copied to the clipboard.
127244
127273
  */
127245
127274
  }, {
127246
127275
  key: "getRangedCopyableData",
@@ -127249,10 +127278,10 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127249
127278
  }
127250
127279
 
127251
127280
  /**
127252
- * Creates copyable text related to range objects.
127281
+ * Converts the contents of multiple ranges (`ranges`) into an array of arrays.
127253
127282
  *
127254
127283
  * @param {Array<{startRow: number, startCol: number, endRow: number, endCol: number}>} ranges Array of objects with properties `startRow`, `startCol`, `endRow` and `endCol`.
127255
- * @returns {Array[]} Returns array of arrays which will be copied into clipboard.
127284
+ * @returns {Array[]} An array of arrays that will be copied to the clipboard.
127256
127285
  */
127257
127286
  }, {
127258
127287
  key: "getRangedData",
@@ -127263,12 +127292,12 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127263
127292
  rows = _normalizeRanges.rows,
127264
127293
  columns = _normalizeRanges.columns;
127265
127294
 
127266
- // Concat all rows and columns data defined in ranges into one copyable string
127295
+ // concatenate all rows and columns data defined in ranges into one copyable string
127267
127296
  (0, _array.arrayEach)(rows, function (row) {
127268
127297
  var rowSet = [];
127269
127298
  (0, _array.arrayEach)(columns, function (column) {
127270
127299
  if (row < 0) {
127271
- // 'row' as the second argument act here as 'headerLevel' argument
127300
+ // `row` as the second argument acts here as the `headerLevel` argument
127272
127301
  rowSet.push(_this3.hot.getColHeader(column, row));
127273
127302
  } else {
127274
127303
  rowSet.push(_this3.hot.getCopyableData(row, column));
@@ -127282,10 +127311,10 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127282
127311
  /**
127283
127312
  * Simulates the paste action.
127284
127313
  *
127285
- * Due to security reasons, modern browsers disallow reading from the system clipboard.
127314
+ * For security reasons, modern browsers don't allow reading from the system clipboard.
127286
127315
  *
127287
- * @param {string} pastableText Value as raw string to paste.
127288
- * @param {string} [pastableHtml=''] Value as HTML to paste.
127316
+ * @param {string} pastableText The value to paste, as a raw string.
127317
+ * @param {string} [pastableHtml=''] The value to paste, as HTML.
127289
127318
  */
127290
127319
  }, {
127291
127320
  key: "paste",
@@ -127650,7 +127679,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127650
127679
  }
127651
127680
 
127652
127681
  /**
127653
- * Destroys the plugin instance.
127682
+ * Destroys the `CopyPaste` plugin instance.
127654
127683
  */
127655
127684
  }, {
127656
127685
  key: "destroy",
@@ -127678,7 +127707,7 @@ var CopyPaste = /*#__PURE__*/function (_BasePlugin) {
127678
127707
  }
127679
127708
 
127680
127709
  /**
127681
- * Maximum number of columns than can be copied to clipboard using <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd> + <kbd>**C**</kbd>.
127710
+ * The maximum number of columns than can be copied to the clipboard.
127682
127711
  *
127683
127712
  * @type {number}
127684
127713
  * @default Infinity
@@ -26,8 +26,8 @@
26
26
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
27
27
  * USE OR INABILITY TO USE THIS SOFTWARE.
28
28
  *
29
- * Version: 0.0.0-next-1b1acbd-20221123
30
- * Release date: 25/10/2022 (built at 23/11/2022 12:57:03)
29
+ * Version: 0.0.0-next-561a94b-20221129
30
+ * Release date: 25/10/2022 (built at 29/11/2022 07:44:34)
31
31
  */.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-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-lg-10.handsontable,.col-lg-11.handsontable,.col-lg-12.handsontable,.col-md-1.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-md-10.handsontable,.col-md-11.handsontable,.col-md-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-sm-10.handsontable,.col-sm-11.handsontable,.col-sm-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,.col-xs-10.handsontable,.col-xs-11.handsontable,.col-xs-12.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{position:relative;width:0;height:auto}.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:0}.handsontable table.htCore{border-collapse:separate;border-spacing:0;margin:0;border-width:0;table-layout:fixed;width:0;outline-width:0;cursor:default;max-width:none;max-height:none}.handsontable col,.handsontable col.rowHeader{width:50px}.handsontable td,.handsontable th{border-top-width:0;border-left-width:0;border-right:1px solid #ccc;border-bottom:1px solid #ccc;height:22px;empty-cells:show;line-height:21px;padding:0 4px;background-color:#fff;vertical-align:top;overflow:hidden;outline-width:0;white-space:pre-wrap}[dir=rtl].handsontable td,[dir=rtl].handsontable th{border-right-width:0;border-left:1px solid #ccc}.handsontable th:last-child{border-left:none;border-right:1px solid #ccc;border-bottom:1px solid #ccc}[dir=rtl].handsontable th:last-child{border-right:none;border-left:1px solid #ccc}.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-right-width:0;border-left:1px solid #ccc}.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:not(.ht_clone_top) thead tr th:first-child,.ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable tbody tr th{border-right-width:0;border-left:1px solid #ccc}[dir=rtl].ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top) thead tr th:first-child,[dir=rtl].ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable tbody tr th{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;text-align:center;font-weight:400;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{position:absolute;font-size:0}.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{font-size:0;cursor:crosshair}.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{touch-action:manipulation;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Arial,sans-serif;font-size:13px;font-weight:400;color:#373737}.handsontable a{color:#104acc}.handsontable.htAutoSize{visibility:hidden;left:-99000px;position:absolute;top:-99000px}.handsontable td.htInvalid{background-color:#ff4c42!important}.handsontable td.htNoWrap{white-space:nowrap}#hot-display-license-info{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Arial,sans-serif;font-size:10px;font-weight:400;color:#373737;padding:5px 0 3px;text-align:left}#hot-display-license-info a{color:#104acc;font-size:10px}.handsontable .manualColumnResizer{position:absolute;top:0;cursor:col-resize;z-index:210;width:5px;height:25px}.handsontable .manualRowResizer{position:absolute;left:0;cursor:row-resize;z-index:210;height:5px;width:50px}.handsontable .manualColumnResizer.active,.handsontable .manualColumnResizer:hover,.handsontable .manualRowResizer.active,.handsontable .manualRowResizer:hover{background-color:#34a9db}.handsontable .manualColumnResizerGuide{position:absolute;right:unset;top:0;background-color:#34a9db;display:none;width:0;border-right:1px dashed #777;border-left:none;margin-left:5px;margin-right:unset}[dir=rtl].handsontable .manualColumnResizerGuide{left:unset;border-left:1px dashed #777;border-right:none;margin-right:5px;margin-left:unset}.handsontable .manualRowResizerGuide{position:absolute;left:0;bottom:0;background-color:#34a9db;display:none;height:0;border-bottom:1px dashed #777;margin-top:5px}.handsontable .manualColumnResizerGuide.active,.handsontable .manualRowResizerGuide.active{display:block;z-index:209}.handsontable .columnSorting{position:relative}.handsontable .columnSorting.sortAction:hover{text-decoration:underline;cursor:pointer}.handsontable span.colHeader.columnSorting:before{top:50%;margin-top:-6px;padding-left:8px;padding-right:0;position:absolute;right:-9px;left:unset;content:"";height:10px;width:5px;background-size:contain;background-repeat:no-repeat;background-position-x:right}[dir=rtl].handsontable span.colHeader.columnSorting:before{padding-right:8px;padding-left:0;left:-9px;right:unset;background-position-x:left}.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;position:relative;padding-right:20px}.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{content:"";position:absolute;top:0;left:0;right:0;bottom:0;bottom:-100%\9;background:#005eff}@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{border:none;outline-width:0;margin:0;padding:1px 5px 0;font-family:inherit;line-height:21px;font-size:inherit;box-shadow:inset 0 0 0 2px #5292f7;resize:none;display:block;color:#000;border-radius:0;background-color:#fff}.handsontableInput:focus{outline:none}.handsontableInputHolder{position:absolute;top:0;left: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{content:"▶";color:#777;position:absolute;right:5px;font-size:9px}[dir=rtl].handsontable .htSubmenu :after{content:""}[dir=rtl].handsontable .htSubmenu :before{content:"◀";color:#777;position:absolute;left:5px;font-size:9px}.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{border:1px solid #ccc;border-collapse:separate;background:#fff}.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{white-space:nowrap;text-overflow:ellipsis}.handsontable.listbox td.htDimmed{cursor:default;color:inherit;font-style:inherit}.handsontable.listbox .wtBorder{visibility:hidden}.handsontable.listbox tr:hover td,.handsontable.listbox tr td.current{background:#eee}.ht_editor_hidden{z-index:-1}.ht_editor_visible{z-index:200}.handsontable td.htSearchResult{background:#fcedd9;color:#583707}.handsontable .collapsibleIndicator{position:absolute;top:50%;transform:translateY(-50%);left:unset;right:5px;border:1px solid #a6a6a6;line-height:8px;color:#222;border-radius:10px;font-size:10px;width:10px;height:10px;cursor:pointer;-webkit-box-shadow:0 0 0 6px #eee;-moz-box-shadow:0 0 0 6px #eee;box-shadow:0 0 0 6px #eee;background:#eee;text-align:center}[dir=rtl].handsontable .collapsibleIndicator{right:unset;left:5px}.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-box-shadow:0 0 0 2px #5292f7 inset;-moz-box-shadow:0 0 0 2px #5292f7 inset;box-shadow:inset 0 0 0 2px #5292f7;-webkit-appearance:none}.topSelectionHandle-HitArea:not(.ht_master .topSelectionHandle-HitArea),.topSelectionHandle:not(.ht_master .topSelectionHandle){z-index:9999}.handsontable .bottomSelectionHandle,.handsontable .bottomSelectionHandle-HitArea,.handsontable .topSelectionHandle,.handsontable .topSelectionHandle-HitArea{left:-10000px;right:unset;top:-10000px}[dir=rtl].handsontable .bottomSelectionHandle,[dir=rtl].handsontable .bottomSelectionHandle-HitArea,[dir=rtl].handsontable .topSelectionHandle,[dir=rtl].handsontable .topSelectionHandle-HitArea{right:-10000px;left:unset}.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}
32
32
  /*!
33
33
  * Pikaday