handsontable 0.0.0-next-9e7a0e1-20241015 → 0.0.0-next-3e0b40d-20241017
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/3rdparty/walkontable/src/calculator/viewportRows.js +5 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +5 -2
- package/3rdparty/walkontable/src/core/clone.js +1 -0
- package/3rdparty/walkontable/src/core/clone.mjs +1 -0
- package/3rdparty/walkontable/src/core/core.js +2 -0
- package/3rdparty/walkontable/src/core/core.mjs +2 -0
- package/3rdparty/walkontable/src/overlay/_base.js +3 -1
- package/3rdparty/walkontable/src/overlay/_base.mjs +3 -1
- package/3rdparty/walkontable/src/overlay/bottom.js +2 -2
- package/3rdparty/walkontable/src/overlay/bottom.mjs +2 -2
- package/3rdparty/walkontable/src/overlay/top.js +1 -1
- package/3rdparty/walkontable/src/overlay/top.mjs +1 -1
- package/3rdparty/walkontable/src/settings.js +0 -2
- package/3rdparty/walkontable/src/settings.mjs +0 -2
- package/3rdparty/walkontable/src/table.js +11 -8
- package/3rdparty/walkontable/src/table.mjs +11 -8
- package/3rdparty/walkontable/src/utils/column.js +1 -1
- package/3rdparty/walkontable/src/utils/column.mjs +1 -1
- package/3rdparty/walkontable/src/utils/stylesHandler.js +185 -0
- package/3rdparty/walkontable/src/utils/stylesHandler.mjs +181 -0
- package/3rdparty/walkontable/src/viewport.js +1 -0
- package/3rdparty/walkontable/src/viewport.mjs +1 -0
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +11 -0
- package/core.mjs +11 -0
- package/dataMap/metaManager/metaSchema.js +17 -0
- package/dataMap/metaManager/metaSchema.mjs +17 -0
- package/dist/handsontable.css +236 -5
- package/dist/handsontable.full.css +3 -3
- package/dist/handsontable.full.js +3897 -3809
- package/dist/handsontable.full.min.css +4 -3
- package/dist/handsontable.full.min.js +26 -26
- package/dist/handsontable.js +3604 -3510
- package/dist/handsontable.min.css +9 -4
- package/dist/handsontable.min.js +24 -24
- package/editors/autocompleteEditor/autocompleteEditor.js +1 -1
- package/editors/autocompleteEditor/autocompleteEditor.mjs +1 -1
- package/editors/baseEditor/baseEditor.js +1 -1
- package/editors/baseEditor/baseEditor.mjs +1 -1
- package/editors/dateEditor/dateEditor.js +2 -0
- package/editors/dateEditor/dateEditor.mjs +2 -0
- package/editors/handsontableEditor/handsontableEditor.js +1 -1
- package/editors/handsontableEditor/handsontableEditor.mjs +1 -1
- package/editors/passwordEditor/passwordEditor.js +4 -0
- package/editors/passwordEditor/passwordEditor.mjs +5 -1
- package/editors/selectEditor/selectEditor.js +20 -9
- package/editors/selectEditor/selectEditor.mjs +20 -9
- package/editors/textEditor/textEditor.js +7 -11
- package/editors/textEditor/textEditor.mjs +8 -12
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +2 -2
- package/helpers/themes.js +17 -0
- package/helpers/themes.mjs +13 -0
- package/package.json +10 -3
- package/plugins/comments/commentEditor.js +8 -1
- package/plugins/comments/commentEditor.mjs +8 -1
- package/plugins/comments/comments.js +1 -1
- package/plugins/comments/comments.mjs +1 -1
- package/plugins/contextMenu/menu/menu.js +4 -4
- package/plugins/contextMenu/menu/menu.mjs +4 -4
- package/plugins/manualRowMove/manualRowMove.js +1 -1
- package/plugins/manualRowMove/manualRowMove.mjs +1 -1
- package/plugins/mergeCells/mergeCells.js +1 -1
- package/plugins/mergeCells/mergeCells.mjs +1 -1
- package/plugins/nestedRows/ui/headers.js +3 -1
- package/plugins/nestedRows/ui/headers.mjs +3 -1
- package/styles/handsontable.css +1920 -0
- package/styles/handsontable.min.css +30 -0
- package/styles/ht-theme-gemini.css +690 -0
- package/styles/ht-theme-gemini.min.css +30 -0
- package/styles/ht-theme-main.css +712 -0
- package/styles/ht-theme-main.min.css +30 -0
- package/tableView.js +33 -0
- package/tableView.mjs +33 -0
- package/utils/autoResize.js +4 -1
- package/utils/autoResize.mjs +4 -1
- package/utils/ghostTable.js +1 -1
- package/utils/ghostTable.mjs +1 -1
@@ -0,0 +1,30 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright (c) HANDSONCODE sp. z o. o.
|
3
|
+
*
|
4
|
+
* HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in
|
5
|
+
* Gdynia, Poland, at Aleja Zwyciestwa 96-98, registered by the District Court in Gdansk under number
|
6
|
+
* 538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.
|
7
|
+
*
|
8
|
+
* This software is protected by applicable copyright laws, including international treaties, and dual-
|
9
|
+
* licensed - depending on whether your use for commercial purposes, meaning intended for or
|
10
|
+
* resulting in commercial advantage or monetary compensation, or not.
|
11
|
+
*
|
12
|
+
* If your use is strictly personal or solely for evaluation purposes, meaning for the purposes of testing
|
13
|
+
* the suitability, performance, and usefulness of this software outside the production environment,
|
14
|
+
* you agree to be bound by the terms included in the "handsontable-non-commercial-license.pdf" file.
|
15
|
+
*
|
16
|
+
* Your use of this software for commercial purposes is subject to the terms included in an applicable
|
17
|
+
* license agreement.
|
18
|
+
*
|
19
|
+
* In any case, you must not make any such use of this software as to develop software which may be
|
20
|
+
* considered competitive with this software.
|
21
|
+
*
|
22
|
+
* UNLESS EXPRESSLY AGREED OTHERWISE, HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS"
|
23
|
+
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, AND IN NO EVENT AND UNDER NO
|
24
|
+
* LEGAL THEORY, SHALL HANDSONCODE BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT,
|
25
|
+
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
26
|
+
* USE OR INABILITY TO USE THIS SOFTWARE.
|
27
|
+
*
|
28
|
+
* Version: 0.0.0-next-3e0b40d-20241017
|
29
|
+
* Release date: 01/10/2024 (built at 17/10/2024 06:57:07)
|
30
|
+
*/.ht-theme-main,.ht-theme-main-dark,.ht-theme-main-dark-auto{--ht-font-size:14px;--ht-line-height:20px;--ht-font-weight:400;--ht-letter-spacing:0px;--ht-border-radius:4px;--ht-border-width:1px;--ht-gap-size:4px;--ht-icon-size:16px;--ht-background-color:#fff;--ht-border-color:#e7e7e9;--ht-accent-color:#1a42e8;--ht-foreground-color:#222;--ht-placeholder-color:#999;--ht-read-only-color:#6a6a6a;--ht-disabled-color:#999;--ht-table-transition:0.15s;--ht-cell-vertical-border-width:1px;--ht-cell-horizontal-border-width:1px;--ht-cell-horizontal-padding:8px;--ht-cell-vertical-padding:4px;--ht-cell-editor-foreground-color:#000;--ht-cell-editor-border-color:#1a42e8;--ht-cell-editor-shadow-blur-radius:0px;--ht-cell-editor-shadow-color:rgba(17,61,201,.6);--ht-cell-editor-border-width:2px;--ht-cell-editor-background-color:#fff;--ht-cell-search-background-color:rgba(251,233,82,.8);--ht-cell-error-background-color:rgba(250,77,50,.2);--ht-cell-success-background-color:rgba(55,188,108,.2);--ht-cell-warning-background-color:rgba(251,233,82,.2);--ht-cell-informational-background-color:rgba(39,194,255,.2);--ht-cell-selection-border-color:#1a42e8;--ht-cell-selection-background-color:#1a42e8;--ht-cell-autofill-size:6px;--ht-cell-autofill-border-width:1px;--ht-cell-autofill-border-radius:0px;--ht-cell-autofill-background-color:#1a42e8;--ht-cell-autofill-border-color:#fff;--ht-cell-vertical-border-color:#e7e7e9;--ht-cell-horizontal-border-color:#e7e7e9;--ht-checkbox-size:16px;--ht-checkbox-border-color:#d1d1d5;--ht-checkbox-background-color:#fff;--ht-checkbox-icon-color:hsla(0,0%,100%,0);--ht-checkbox-focus-background-color:#fff;--ht-checkbox-focus-border-color:#d1d1d5;--ht-checkbox-focus-icon-color:hsla(0,0%,100%,0);--ht-checkbox-focus-ring-color:#1a42e8;--ht-checkbox-disabled-background-color:#d1d1d5;--ht-checkbox-disabled-border-color:#e7e7e9;--ht-checkbox-disabled-icon-color:hsla(0,0%,100%,0);--ht-checkbox-checked-background-color:#1a42e8;--ht-checkbox-checked-border-color:#1a42e8;--ht-checkbox-checked-icon-color:#fff;--ht-checkbox-checked-focus-background-color:#1a42e8;--ht-checkbox-checked-focus-border-color:#fff;--ht-checkbox-checked-focus-icon-color:#fff;--ht-checkbox-checked-disabled-background-color:#d1d1d5;--ht-checkbox-checked-disabled-border-color:#e7e7e9;--ht-checkbox-checked-disabled-icon-color:#999;--ht-checkbox-indeterminate-background-color:#1a42e8;--ht-checkbox-indeterminate-border-color:#e5e5e9;--ht-checkbox-indeterminate-icon-color:#fff;--ht-checkbox-indeterminate-disabled-background-color:#d1d1d5;--ht-checkbox-indeterminate-disabled-border-color:#e7e7e9;--ht-checkbox-indeterminate-disabled-icon-color:#aeaeae;--ht-checkbox-indeterminate-focus-background-color:#1a42e8;--ht-checkbox-indeterminate-focus-border-color:#fff;--ht-checkbox-indeterminate-focus-icon-color:#fff;--ht-header-active-background-color:#1a42e8;--ht-header-active-foreground-color:#fff;--ht-header-active-border-color:#2e56fc;--ht-header-highlighted-foreground-color:#000;--ht-header-highlighted-background-color:#ebebed;--ht-header-highlighted-shadow-size:0px;--ht-header-background-color:#f7f7f9;--ht-header-row-background-color:#f7f7f9;--ht-header-font-weight:400;--ht-header-foreground-color:#222;--ht-header-filter-background-color:rgba(55,188,108,.2);--ht-frozen-shadow-size:2px;--ht-frozen-shadow-color:#e5e5e9;--ht-row-odd-background-color:rgba(34,34,34,0);--ht-row-hover-background-color:rgba(34,34,34,.05);--ht-row-collapse-indicator-border-color:#e7e7e9;--ht-row-even-background-color:rgba(34,34,34,0);--ht-resize-indicator-color:#6a6a6a;--ht-icon-button-background-color:hsla(0,0%,100%,0);--ht-icon-button-icon-color:rgba(34,34,34,.6);--ht-icon-active-button-icon-color:#fff;--ht-icon-button-hover-background-color:rgba(34,34,34,.08);--ht-icon-button-hover-icon-color:rgba(34,34,34,.4);--ht-icon-button-focus-background-color:hsla(0,0%,100%,0);--ht-icon-button-focus-icon-color:#1a42e8;--ht-icon-button-border-radius:2px;--ht-icon-button-disabled-background-color:hsla(0,0%,60%,.32);--ht-icon-button-disabled-icon-color:#999;--ht-collapse-button-border-radius:4px;--ht-collapse-button-open-background-color:#fff;--ht-collapse-button-open-border-color:#e7e7e9;--ht-collapse-button-open-icon-color:#999;--ht-collapse-button-open-icon-active-color:#999;--ht-collapse-button-open-hover-background-color:#f7f7f9;--ht-collapse-button-open-hover-border-color:#e7e7e9;--ht-collapse-button-open-hover-icon-color:#999;--ht-collapse-button-open-hover-icon-active-color:#999;--ht-collapse-button-open-focus-background-color:#f7f7f9;--ht-collapse-button-open-focus-border-color:#e7e7e9;--ht-collapse-button-open-focus-icon-color:#1a42e8;--ht-collapse-button-close-icon-color:#666;--ht-collapse-button-close-background-color:rgba(34,34,34,.08);--ht-collapse-button-close-border-color:#e7e7e9;--ht-collapse-button-close-icon-active-color:#666;--ht-collapse-button-close-hover-background-color:rgba(34,34,34,.08);--ht-collapse-button-close-hover-border-color:#e7e7e9;--ht-collapse-button-close-hover-icon-color:#666;--ht-collapse-button-close-hover-icon-active-color:#666;--ht-collapse-button-close-focus-background-color:rgba(34,34,34,.08);--ht-collapse-button-close-focus-border-color:#e7e7e9;--ht-collapse-button-close-focus-icon-color:#1a42e8;--ht-primary-button-background-color:#1a42e8;--ht-primary-button-border-color:hsla(0,0%,100%,0);--ht-primary-button-foreground-color:#fff;--ht-primary-button-disabled-background-color:hsla(0,0%,60%,.32);--ht-primary-button-disabled-foreground-color:#999;--ht-primary-button-disabled-border-color:hsla(0,0%,100%,0);--ht-primary-button-hover-background-color:#1535bc;--ht-primary-button-hover-foreground-color:#fff;--ht-primary-button-hover-border-color:hsla(0,0%,100%,0);--ht-primary-button-focus-background-color:#1a42e8;--ht-primary-button-focus-foreground-color:#fff;--ht-primary-button-focus-border-color:#fff;--ht-secondary-button-background-color:#fff;--ht-secondary-button-foreground-color:#222;--ht-secondary-button-border-color:#e7e7e9;--ht-secondary-button-disabled-background-color:#ebebed;--ht-secondary-button-disabled-foreground-color:#999;--ht-secondary-button-disabled-border-color:#e7e7e9;--ht-secondary-button-hover-background-color:#f7f7f9;--ht-secondary-button-hover-foreground-color:#222;--ht-secondary-button-hover-border-color:#e7e7e9;--ht-secondary-button-focus-background-color:#fff;--ht-secondary-button-focus-foreground-color:#222;--ht-secondary-button-focus-border-color:#e7e7e9;--ht-button-horizontal-padding:12px;--ht-button-vertical-padding:6px;--ht-button-border-radius:4px;--ht-move-backlight-color:rgba(34,34,34,.06);--ht-move-indicator-color:#1a42e8;--ht-comments-indicator-size:6px;--ht-comments-indicator-color:#1a42e8;--ht-comments-textarea-vertical-padding:4px;--ht-comments-textarea-background-color:#f7f7f9;--ht-comments-textarea-border-width:0px;--ht-comments-textarea-border-color:#e7e7e9;--ht-comments-textarea-foreground-color:#222;--ht-comments-textarea-focus-background-color:#fff;--ht-comments-textarea-focus-border-color:#1a42e8;--ht-comments-textarea-focus-border-width:1px;--ht-comments-textarea-focus-foreground-color:#222;--ht-comments-textarea-horizontal-padding:8px;--ht-license-background-color:#f7f7f9;--ht-license-horizontal-padding:16px;--ht-license-vertical-padding:8px;--ht-license-foreground-color:#222;--ht-link-color:#1a42e8;--ht-link-hover-color:#3e67ec;--ht-input-background-color:#f7f7f9;--ht-input-border-color:#e7e7e9;--ht-input-foreground-color:#222;--ht-input-border-width:1px;--ht-input-disabled-background-color:hsla(0,0%,60%,.32);--ht-input-disabled-border-color:#e7e7e9;--ht-input-disabled-foreground-color:#999;--ht-input-hover-background-color:#fff;--ht-input-hover-border-color:#e7e7e9;--ht-input-hover-foreground-color:#222;--ht-input-focus-background-color:#fff;--ht-input-focus-border-color:#1a42e8;--ht-input-focus-foreground-color:#222;--ht-input-vertical-padding:6px;--ht-input-horizontal-padding:12px;--ht-input-border-radius:4px;--ht-menu-shadow-blur:16px;--ht-menu-shadow-x:0px;--ht-menu-shadow-y:8px;--ht-menu-shadow-color:rgba(0,0,0,.08);--ht-menu-border-color:#e7e7e9;--ht-menu-border-width:1px;--ht-menu-border-radius:4px;--ht-menu-horizontal-padding:0px;--ht-menu-vertical-padding:8px;--ht-menu-item-vertical-padding:4px;--ht-menu-item-horizontal-padding:12px;--ht-menu-item-hover-color:rgba(34,34,34,.05);--ht-menu-item-active-color:rgba(0,0,0,.08);--ht-hidden-indicator-color:#6a6a6a;--ht-wrapper-border-width:1px;--ht-wrapper-border-radius:0px;--ht-scrollbar-thumb-color:#999;--ht-scrollbar-track-color:#f7f7f9;--ht-scrollbar-border-radius:8px}.ht-theme-main .pika-single .pika-next,.ht-theme-main-dark .pika-single .pika-next,.ht-theme-main-dark-auto .pika-single .pika-next,.ht-theme-main-dark-auto.htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,.ht-theme-main-dark-auto.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,.ht-theme-main-dark-auto.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after,.ht-theme-main-dark.htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,.ht-theme-main-dark.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,.ht-theme-main-dark.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after,.ht-theme-main.htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,.ht-theme-main.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,.ht-theme-main.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='M6.646 10.94 9.94 7.645 6.646 4.354'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main .pika-single .pika-prev,.ht-theme-main-dark .pika-single .pika-prev,.ht-theme-main-dark-auto .pika-single .pika-prev{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='M9.94 10.94 6.645 7.645 9.94 4.354'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main .changeType:before,.ht-theme-main .htAutocompleteArrow:after,.ht-theme-main-dark .changeType:before,.ht-theme-main-dark .htAutocompleteArrow:after,.ht-theme-main-dark-auto .changeType:before,.ht-theme-main-dark-auto .htAutocompleteArrow:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill='currentColor' d='M11 6.667a.5.5 0 0 1 .392.811l-.038.042-3 3a.5.5 0 0 1-.66.042l-.047-.042-3-3-.042-.047-.027-.038-.027-.048-.008-.018-.014-.034-.016-.054-.005-.026-.005-.03-.002-.029v-.059l.003-.029.004-.03.005-.026.016-.054.014-.033.035-.066.032-.045.037-.04.047-.042.038-.027.048-.027.018-.009.034-.013.054-.016.026-.005.03-.005.029-.002z'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main .columnSorting.sortAction.ascending:before,.ht-theme-main-dark .columnSorting.sortAction.ascending:before,.ht-theme-main-dark-auto .columnSorting.sortAction.ascending:before{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='M8 12.667V3.333m0 0L5.333 6M8 3.333 10.667 6'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main .columnSorting.sortAction.descending:before,.ht-theme-main-dark .columnSorting.sortAction.descending:before,.ht-theme-main-dark-auto .columnSorting.sortAction.descending:before{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='M8 3.333v9.334m0 0L10.667 10M8 12.667 5.333 10'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main-dark-auto.htContextMenu table tbody tr td .htItemWrapper span.selected:after,.ht-theme-main-dark-auto.htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,.ht-theme-main-dark-auto.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after,.ht-theme-main-dark.htContextMenu table tbody tr td .htItemWrapper span.selected:after,.ht-theme-main-dark.htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,.ht-theme-main-dark.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after,.ht-theme-main.htContextMenu table tbody tr td .htItemWrapper span.selected:after,.ht-theme-main.htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,.ht-theme-main.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m3.333 8 3.334 3.333 6.666-6.666'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main .htCheckboxRendererInput:after,.ht-theme-main-dark .htCheckboxRendererInput:after,.ht-theme-main-dark-auto .htCheckboxRendererInput:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m5 8 2 2 4-4'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main th.beforeHiddenColumn:after,.ht-theme-main-dark th.beforeHiddenColumn:after,.ht-theme-main-dark-auto th.beforeHiddenColumn:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='none'%3E%3Cpath fill='currentColor' d='m4.628 1.669.019-.002h.04l.019.002.02.003.017.003.036.011.022.009.044.023.03.022.027.024.028.032.018.025.018.032.006.012.009.023.01.036.004.017.003.02.001.02L5 2v4a.334.334 0 0 1-.541.261l-.028-.025-2-2a.333.333 0 0 1-.028-.44l.028-.032 2-2 .031-.027.026-.018.032-.018.012-.006.022-.009.036-.01.018-.004z'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main th.afterHiddenColumn:after,.ht-theme-main-dark th.afterHiddenColumn:after,.ht-theme-main-dark-auto th.afterHiddenColumn:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='none'%3E%3Cpath fill='currentColor' d='M3 2c0-.284.329-.432.541-.261l.028.025 2 2a.333.333 0 0 1 .028.44l-.028.032-2 2-.031.027-.026.018-.032.018-.012.006-.022.009-.036.01-.018.004-.02.003-.019.002h-.04l-.019-.002-.02-.003-.017-.003-.036-.011-.022-.009-.044-.023-.03-.022-.027-.024-.028-.032-.018-.025-.018-.032-.006-.012-.009-.023-.01-.036-.004-.017-.003-.02-.001-.02z'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main th.beforeHiddenRow:after,.ht-theme-main-dark th.beforeHiddenRow:after,.ht-theme-main-dark-auto th.beforeHiddenRow:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='none'%3E%3Cpath fill='currentColor' d='M3.764 2.431a.333.333 0 0 1 .44-.028l.032.028 2 2 .027.031.018.026.018.032.006.012.009.022.01.036.004.018.003.02.002.019v.04l-.002.019-.003.02-.003.017-.011.036-.01.022-.022.044-.022.03-.024.027-.032.028-.025.018-.032.018-.012.006-.023.009-.036.01-.017.004-.02.003-.02.001L6 5H2a.334.334 0 0 1-.26-.541l.025-.028z'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main th.afterHiddenRow:after,.ht-theme-main-dark th.afterHiddenRow:after,.ht-theme-main-dark-auto th.afterHiddenRow:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='none'%3E%3Cpath fill='currentColor' d='M6 3c.284 0 .432.329.26.541l-.024.028-2 2a.333.333 0 0 1-.44.028l-.032-.028-2-2-.027-.031-.018-.026L1.7 3.48l-.006-.012-.01-.022-.01-.036-.003-.018-.003-.02-.002-.019v-.04l.002-.019.003-.02.003-.017.01-.036.01-.022.023-.044.022-.03.024-.027.032-.028.025-.018.032-.018.012-.006.023-.009.036-.01.017-.004.02-.003.02-.001z'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main .collapsibleIndicator:before,.ht-theme-main .ht_nestingButton:before,.ht-theme-main-dark .collapsibleIndicator:before,.ht-theme-main-dark .ht_nestingButton:before,.ht-theme-main-dark-auto .collapsibleIndicator:before,.ht-theme-main-dark-auto .ht_nestingButton:before{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='M4.333 8h7.334'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main .collapsibleIndicator.collapsed:before,.ht-theme-main .collapsibleIndicator.ht_nestingExpand:before,.ht-theme-main .ht_nestingButton.collapsed:before,.ht-theme-main .ht_nestingButton.ht_nestingExpand:before,.ht-theme-main-dark .collapsibleIndicator.collapsed:before,.ht-theme-main-dark .collapsibleIndicator.ht_nestingExpand:before,.ht-theme-main-dark .ht_nestingButton.collapsed:before,.ht-theme-main-dark .ht_nestingButton.ht_nestingExpand:before,.ht-theme-main-dark-auto .collapsibleIndicator.collapsed:before,.ht-theme-main-dark-auto .collapsibleIndicator.ht_nestingExpand:before,.ht-theme-main-dark-auto .ht_nestingButton.collapsed:before,.ht-theme-main-dark-auto .ht_nestingButton.ht_nestingExpand:before{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M7.5 11.667a.5.5 0 0 0 1 0V8.5h3.167a.5.5 0 0 0 0-1H8.5V4.333a.5.5 0 0 0-1 0V7.5H4.333a.5.5 0 0 0 0 1H7.5z' clip-rule='evenodd'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main .htUIRadio>input[type=radio]:after,.ht-theme-main-dark .htUIRadio>input[type=radio]:after,.ht-theme-main-dark-auto .htUIRadio>input[type=radio]:after{background-color:currentColor;height:var(--ht-icon-size);mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Ccircle cx='8' cy='8' r='4' fill='currentColor'/%3E%3C/svg%3E");mask-size:contain;width:var(--ht-icon-size)}.ht-theme-main-dark{--ht-background-color:#0f0f10;--ht-border-color:#313132;--ht-accent-color:#6d9af1;--ht-foreground-color:#f3f3f3;--ht-placeholder-color:#68696c;--ht-read-only-color:#9a9b9e;--ht-disabled-color:#68696c;--ht-cell-editor-foreground-color:#fff;--ht-cell-editor-border-color:#6d9af1;--ht-cell-editor-shadow-color:rgba(109,154,241,.5);--ht-cell-editor-background-color:#0f0f10;--ht-cell-search-background-color:rgba(255,231,34,.3);--ht-cell-error-background-color:rgba(255,42,52,.3);--ht-cell-success-background-color:rgba(66,190,101,.3);--ht-cell-warning-background-color:rgba(241,194,28,.3);--ht-cell-informational-background-color:rgba(39,194,255,.3);--ht-cell-selection-border-color:#6d9af1;--ht-cell-selection-background-color:#95c2ff;--ht-cell-autofill-background-color:#6d9af1;--ht-cell-autofill-border-color:#0f0f10;--ht-cell-vertical-border-color:#313132;--ht-cell-horizontal-border-color:#313132;--ht-checkbox-border-color:#404144;--ht-checkbox-background-color:#0f0f10;--ht-checkbox-focus-background-color:#0f0f10;--ht-checkbox-focus-border-color:#404144;--ht-checkbox-focus-ring-color:#6d9af1;--ht-checkbox-disabled-background-color:#404144;--ht-checkbox-disabled-border-color:#313132;--ht-checkbox-checked-background-color:#6d9af1;--ht-checkbox-checked-border-color:undefined;--ht-checkbox-checked-icon-color:#f3f3f3;--ht-checkbox-checked-focus-background-color:#6d9af1;--ht-checkbox-checked-focus-border-color:#000;--ht-checkbox-checked-focus-icon-color:#0f0f10;--ht-checkbox-checked-disabled-background-color:#36373a;--ht-checkbox-checked-disabled-border-color:#313132;--ht-checkbox-checked-disabled-icon-color:#68696c;--ht-checkbox-indeterminate-background-color:#6d9af1;--ht-checkbox-indeterminate-border-color:#222;--ht-checkbox-indeterminate-icon-color:#0f0f10;--ht-checkbox-indeterminate-disabled-background-color:#36373a;--ht-checkbox-indeterminate-disabled-border-color:#313132;--ht-checkbox-indeterminate-disabled-icon-color:#727272;--ht-checkbox-indeterminate-focus-background-color:#6d9af1;--ht-checkbox-indeterminate-focus-border-color:#000;--ht-checkbox-indeterminate-focus-icon-color:#0f0f10;--ht-header-active-background-color:#6d9af1;--ht-header-active-foreground-color:#0f0f10;--ht-header-active-border-color:#5986dd;--ht-header-highlighted-foreground-color:#f3f3f3;--ht-header-highlighted-background-color:#262627;--ht-header-background-color:#1e1e1f;--ht-header-row-background-color:#1e1e1f;--ht-header-foreground-color:#f3f3f3;--ht-header-filter-background-color:rgba(66,190,101,.3);--ht-frozen-shadow-color:#48484a;--ht-row-odd-background-color:rgba(239,239,243,0);--ht-row-hover-background-color:rgba(239,239,243,.12);--ht-row-collapse-indicator-border-color:#313132;--ht-row-even-background-color:rgba(239,239,243,0);--ht-resize-indicator-color:#999;--ht-icon-button-background-color:transparent;--ht-icon-button-icon-color:hsla(0,0%,100%,.6);--ht-icon-active-button-icon-color:#0f0f10;--ht-icon-button-hover-background-color:hsla(0,0%,100%,.08);--ht-icon-button-hover-icon-color:hsla(0,0%,100%,.4);--ht-icon-button-focus-background-color:transparent;--ht-icon-button-focus-icon-color:#27c2ff;--ht-icon-button-disabled-background-color:hsla(225,2%,42%,.32);--ht-icon-button-disabled-icon-color:#68696c;--ht-collapse-button-open-background-color:#000;--ht-collapse-button-open-border-color:#313132;--ht-collapse-button-open-icon-color:#666;--ht-collapse-button-open-icon-active-color:#666;--ht-collapse-button-open-hover-background-color:#1e1e1f;--ht-collapse-button-open-hover-border-color:#313132;--ht-collapse-button-open-hover-icon-color:#666;--ht-collapse-button-open-hover-icon-active-color:#666;--ht-collapse-button-open-focus-background-color:#1e1e1f;--ht-collapse-button-open-focus-border-color:#313132;--ht-collapse-button-open-focus-icon-color:#6d9af1;--ht-collapse-button-close-icon-color:#999;--ht-collapse-button-close-background-color:hsla(0,0%,100%,.08);--ht-collapse-button-close-border-color:#313132;--ht-collapse-button-close-icon-active-color:#999;--ht-collapse-button-close-hover-background-color:hsla(0,0%,100%,.08);--ht-collapse-button-close-hover-border-color:#313132;--ht-collapse-button-close-hover-icon-color:#999;--ht-collapse-button-close-hover-icon-active-color:#999;--ht-collapse-button-close-focus-background-color:hsla(0,0%,100%,.08);--ht-collapse-button-close-focus-border-color:#313132;--ht-collapse-button-close-focus-icon-color:#6d9af1;--ht-primary-button-background-color:#6d9af1;--ht-primary-button-foreground-color:#0f0f10;--ht-primary-button-disabled-background-color:hsla(225,2%,42%,.32);--ht-primary-button-disabled-foreground-color:#68696c;--ht-primary-button-hover-background-color:#7ca4f2;--ht-primary-button-hover-foreground-color:#0f0f10;--ht-primary-button-focus-background-color:#6d9af1;--ht-primary-button-focus-foreground-color:#0f0f10;--ht-primary-button-focus-border-color:#0f0f10;--ht-secondary-button-background-color:#0f0f10;--ht-secondary-button-foreground-color:#f3f3f3;--ht-secondary-button-border-color:#313132;--ht-secondary-button-disabled-background-color:#262627;--ht-secondary-button-disabled-foreground-color:#68696c;--ht-secondary-button-disabled-border-color:#313132;--ht-secondary-button-hover-background-color:#1e1e1f;--ht-secondary-button-hover-foreground-color:#f3f3f3;--ht-secondary-button-hover-border-color:#313132;--ht-secondary-button-focus-foreground-color:#f3f3f3;--ht-secondary-button-focus-border-color:#313132;--ht-move-backlight-color:hsla(0,0%,87%,.12);--ht-move-indicator-color:#6d9af1;--ht-comments-indicator-color:#6d9af1;--ht-comments-textarea-background-color:#1e1e1f;--ht-comments-textarea-border-color:#313132;--ht-comments-textarea-foreground-color:#f3f3f3;--ht-comments-textarea-focus-background-color:#0f0f10;--ht-comments-textarea-focus-border-color:#6d9af1;--ht-comments-textarea-focus-foreground-color:#f3f3f3;--ht-license-background-color:#1e1e1f;--ht-license-foreground-color:#f3f3f3;--ht-link-color:#6d9af1;--ht-link-hover-color:#4572c9;--ht-input-background-color:#1e1e1f;--ht-input-border-color:#313132;--ht-input-foreground-color:#f3f3f3;--ht-input-disabled-background-color:hsla(225,2%,42%,.32);--ht-input-disabled-border-color:#313132;--ht-input-disabled-foreground-color:#68696c;--ht-input-hover-background-color:#0f0f10;--ht-input-hover-border-color:#313132;--ht-input-hover-foreground-color:#f3f3f3;--ht-input-focus-background-color:#0f0f10;--ht-input-focus-border-color:#6d9af1;--ht-input-focus-foreground-color:#f3f3f3;--ht-menu-shadow-color:rgba(0,0,0,.8);--ht-menu-border-color:#313132;--ht-menu-item-hover-color:rgba(239,239,243,.12);--ht-menu-item-active-color:rgba(239,239,243,.12);--ht-hidden-indicator-color:#999;--ht-scrollbar-thumb-color:#68696c;--ht-scrollbar-track-color:#19191c}@media(prefers-color-scheme:dark){.ht-theme-main-dark-auto{--ht-background-color:#0f0f10;--ht-border-color:#313132;--ht-accent-color:#6d9af1;--ht-foreground-color:#f3f3f3;--ht-placeholder-color:#68696c;--ht-read-only-color:#9a9b9e;--ht-disabled-color:#68696c;--ht-cell-editor-foreground-color:#fff;--ht-cell-editor-border-color:#6d9af1;--ht-cell-editor-shadow-color:rgba(109,154,241,.5);--ht-cell-editor-background-color:#0f0f10;--ht-cell-search-background-color:rgba(255,231,34,.3);--ht-cell-error-background-color:rgba(255,42,52,.3);--ht-cell-success-background-color:rgba(66,190,101,.3);--ht-cell-warning-background-color:rgba(241,194,28,.3);--ht-cell-informational-background-color:rgba(39,194,255,.3);--ht-cell-selection-border-color:#6d9af1;--ht-cell-selection-background-color:#95c2ff;--ht-cell-autofill-background-color:#6d9af1;--ht-cell-autofill-border-color:#0f0f10;--ht-cell-vertical-border-color:#313132;--ht-cell-horizontal-border-color:#313132;--ht-checkbox-border-color:#404144;--ht-checkbox-background-color:#0f0f10;--ht-checkbox-focus-background-color:#0f0f10;--ht-checkbox-focus-border-color:#404144;--ht-checkbox-focus-ring-color:#6d9af1;--ht-checkbox-disabled-background-color:#404144;--ht-checkbox-disabled-border-color:#313132;--ht-checkbox-checked-background-color:#6d9af1;--ht-checkbox-checked-border-color:undefined;--ht-checkbox-checked-icon-color:#f3f3f3;--ht-checkbox-checked-focus-background-color:#6d9af1;--ht-checkbox-checked-focus-border-color:#000;--ht-checkbox-checked-focus-icon-color:#0f0f10;--ht-checkbox-checked-disabled-background-color:#36373a;--ht-checkbox-checked-disabled-border-color:#313132;--ht-checkbox-checked-disabled-icon-color:#68696c;--ht-checkbox-indeterminate-background-color:#6d9af1;--ht-checkbox-indeterminate-border-color:#222;--ht-checkbox-indeterminate-icon-color:#0f0f10;--ht-checkbox-indeterminate-disabled-background-color:#36373a;--ht-checkbox-indeterminate-disabled-border-color:#313132;--ht-checkbox-indeterminate-disabled-icon-color:#727272;--ht-checkbox-indeterminate-focus-background-color:#6d9af1;--ht-checkbox-indeterminate-focus-border-color:#000;--ht-checkbox-indeterminate-focus-icon-color:#0f0f10;--ht-header-active-background-color:#6d9af1;--ht-header-active-foreground-color:#0f0f10;--ht-header-active-border-color:#5986dd;--ht-header-highlighted-foreground-color:#f3f3f3;--ht-header-highlighted-background-color:#262627;--ht-header-background-color:#1e1e1f;--ht-header-row-background-color:#1e1e1f;--ht-header-foreground-color:#f3f3f3;--ht-header-filter-background-color:rgba(66,190,101,.3);--ht-frozen-shadow-color:#48484a;--ht-row-odd-background-color:rgba(239,239,243,0);--ht-row-hover-background-color:rgba(239,239,243,.12);--ht-row-collapse-indicator-border-color:#313132;--ht-row-even-background-color:rgba(239,239,243,0);--ht-resize-indicator-color:#999;--ht-icon-button-background-color:transparent;--ht-icon-button-icon-color:hsla(0,0%,100%,.6);--ht-icon-active-button-icon-color:#0f0f10;--ht-icon-button-hover-background-color:hsla(0,0%,100%,.08);--ht-icon-button-hover-icon-color:hsla(0,0%,100%,.4);--ht-icon-button-focus-background-color:transparent;--ht-icon-button-focus-icon-color:#27c2ff;--ht-icon-button-disabled-background-color:hsla(225,2%,42%,.32);--ht-icon-button-disabled-icon-color:#68696c;--ht-collapse-button-open-background-color:#000;--ht-collapse-button-open-border-color:#313132;--ht-collapse-button-open-icon-color:#666;--ht-collapse-button-open-icon-active-color:#666;--ht-collapse-button-open-hover-background-color:#1e1e1f;--ht-collapse-button-open-hover-border-color:#313132;--ht-collapse-button-open-hover-icon-color:#666;--ht-collapse-button-open-hover-icon-active-color:#666;--ht-collapse-button-open-focus-background-color:#1e1e1f;--ht-collapse-button-open-focus-border-color:#313132;--ht-collapse-button-open-focus-icon-color:#6d9af1;--ht-collapse-button-close-icon-color:#999;--ht-collapse-button-close-background-color:hsla(0,0%,100%,.08);--ht-collapse-button-close-border-color:#313132;--ht-collapse-button-close-icon-active-color:#999;--ht-collapse-button-close-hover-background-color:hsla(0,0%,100%,.08);--ht-collapse-button-close-hover-border-color:#313132;--ht-collapse-button-close-hover-icon-color:#999;--ht-collapse-button-close-hover-icon-active-color:#999;--ht-collapse-button-close-focus-background-color:hsla(0,0%,100%,.08);--ht-collapse-button-close-focus-border-color:#313132;--ht-collapse-button-close-focus-icon-color:#6d9af1;--ht-primary-button-background-color:#6d9af1;--ht-primary-button-foreground-color:#0f0f10;--ht-primary-button-disabled-background-color:hsla(225,2%,42%,.32);--ht-primary-button-disabled-foreground-color:#68696c;--ht-primary-button-hover-background-color:#7ca4f2;--ht-primary-button-hover-foreground-color:#0f0f10;--ht-primary-button-focus-background-color:#6d9af1;--ht-primary-button-focus-foreground-color:#0f0f10;--ht-primary-button-focus-border-color:#0f0f10;--ht-secondary-button-background-color:#0f0f10;--ht-secondary-button-foreground-color:#f3f3f3;--ht-secondary-button-border-color:#313132;--ht-secondary-button-disabled-background-color:#262627;--ht-secondary-button-disabled-foreground-color:#68696c;--ht-secondary-button-disabled-border-color:#313132;--ht-secondary-button-hover-background-color:#1e1e1f;--ht-secondary-button-hover-foreground-color:#f3f3f3;--ht-secondary-button-hover-border-color:#313132;--ht-secondary-button-focus-foreground-color:#f3f3f3;--ht-secondary-button-focus-border-color:#313132;--ht-move-backlight-color:hsla(0,0%,87%,.12);--ht-move-indicator-color:#6d9af1;--ht-comments-indicator-color:#6d9af1;--ht-comments-textarea-background-color:#1e1e1f;--ht-comments-textarea-border-color:#313132;--ht-comments-textarea-foreground-color:#f3f3f3;--ht-comments-textarea-focus-background-color:#0f0f10;--ht-comments-textarea-focus-border-color:#6d9af1;--ht-comments-textarea-focus-foreground-color:#f3f3f3;--ht-license-background-color:#1e1e1f;--ht-license-foreground-color:#f3f3f3;--ht-link-color:#6d9af1;--ht-link-hover-color:#4572c9;--ht-input-background-color:#1e1e1f;--ht-input-border-color:#313132;--ht-input-foreground-color:#f3f3f3;--ht-input-disabled-background-color:hsla(225,2%,42%,.32);--ht-input-disabled-border-color:#313132;--ht-input-disabled-foreground-color:#68696c;--ht-input-hover-background-color:#0f0f10;--ht-input-hover-border-color:#313132;--ht-input-hover-foreground-color:#f3f3f3;--ht-input-focus-background-color:#0f0f10;--ht-input-focus-border-color:#6d9af1;--ht-input-focus-foreground-color:#f3f3f3;--ht-menu-shadow-color:rgba(0,0,0,.8);--ht-menu-border-color:#313132;--ht-menu-item-hover-color:rgba(239,239,243,.12);--ht-menu-item-active-color:rgba(239,239,243,.12);--ht-hidden-indicator-color:#999;--ht-scrollbar-thumb-color:#68696c;--ht-scrollbar-track-color:#19191c}}
|
package/tableView.js
CHANGED
@@ -587,6 +587,39 @@ class TableView {
|
|
587
587
|
return count;
|
588
588
|
}
|
589
589
|
|
590
|
+
/**
|
591
|
+
* Returns the default row height.
|
592
|
+
*
|
593
|
+
* This method retrieves the default row height from the Walkontable styles handler.
|
594
|
+
*
|
595
|
+
* @returns {number} The default row height.
|
596
|
+
*/
|
597
|
+
getDefaultRowHeight() {
|
598
|
+
return this._wt._wot.stylesHandler.getDefaultRowHeight();
|
599
|
+
}
|
600
|
+
|
601
|
+
/**
|
602
|
+
* Retrieves the value of a specified CSS variable for the instance's container.
|
603
|
+
*
|
604
|
+
* @param {string} variableName - The name of the CSS variable to retrieve.
|
605
|
+
* @returns {string} The value of the specified CSS variable.
|
606
|
+
*/
|
607
|
+
getCSSVariableValue(variableName) {
|
608
|
+
return this._wt._wot.stylesHandler.getCSSVariableValue(variableName);
|
609
|
+
}
|
610
|
+
|
611
|
+
/**
|
612
|
+
* Checks if the classic theme is being used.
|
613
|
+
*
|
614
|
+
* This method verifies if the current theme applied to the Handsontable instance
|
615
|
+
* is the classic theme.
|
616
|
+
*
|
617
|
+
* @returns {boolean} `true` if the classic theme is being used, `false` otherwise.
|
618
|
+
*/
|
619
|
+
isUsingClassicTheme() {
|
620
|
+
return this._wt._wot.stylesHandler.isClassicTheme();
|
621
|
+
}
|
622
|
+
|
590
623
|
/**
|
591
624
|
* Checks if at least one cell than belongs to the main table is not covered by the top, left or
|
592
625
|
* bottom overlay.
|
package/tableView.mjs
CHANGED
@@ -583,6 +583,39 @@ class TableView {
|
|
583
583
|
return count;
|
584
584
|
}
|
585
585
|
|
586
|
+
/**
|
587
|
+
* Returns the default row height.
|
588
|
+
*
|
589
|
+
* This method retrieves the default row height from the Walkontable styles handler.
|
590
|
+
*
|
591
|
+
* @returns {number} The default row height.
|
592
|
+
*/
|
593
|
+
getDefaultRowHeight() {
|
594
|
+
return this._wt._wot.stylesHandler.getDefaultRowHeight();
|
595
|
+
}
|
596
|
+
|
597
|
+
/**
|
598
|
+
* Retrieves the value of a specified CSS variable for the instance's container.
|
599
|
+
*
|
600
|
+
* @param {string} variableName - The name of the CSS variable to retrieve.
|
601
|
+
* @returns {string} The value of the specified CSS variable.
|
602
|
+
*/
|
603
|
+
getCSSVariableValue(variableName) {
|
604
|
+
return this._wt._wot.stylesHandler.getCSSVariableValue(variableName);
|
605
|
+
}
|
606
|
+
|
607
|
+
/**
|
608
|
+
* Checks if the classic theme is being used.
|
609
|
+
*
|
610
|
+
* This method verifies if the current theme applied to the Handsontable instance
|
611
|
+
* is the classic theme.
|
612
|
+
*
|
613
|
+
* @returns {boolean} `true` if the classic theme is being used, `false` otherwise.
|
614
|
+
*/
|
615
|
+
isUsingClassicTheme() {
|
616
|
+
return this._wt._wot.stylesHandler.isClassicTheme();
|
617
|
+
}
|
618
|
+
|
586
619
|
/**
|
587
620
|
* Checks if at least one cell than belongs to the main table is not covered by the top, left or
|
588
621
|
* bottom overlay.
|
package/utils/autoResize.js
CHANGED
@@ -77,6 +77,7 @@ function createInputElementResizer(ownerDocument) {
|
|
77
77
|
* Resizes the element.
|
78
78
|
*/
|
79
79
|
function resize() {
|
80
|
+
var _getComputedStyle, _getComputedStyle2;
|
80
81
|
textHolder.textContent = observedElement.value;
|
81
82
|
// Won't expand the element size for displaying body as for example, `grid`, `inline-grid` or `flex` with
|
82
83
|
// `flex-direction` set as `column`.
|
@@ -85,7 +86,9 @@ function createInputElementResizer(ownerDocument) {
|
|
85
86
|
textContainer.style.fontFamily = getComputedStyle(observedElement).fontFamily;
|
86
87
|
textContainer.style.whiteSpace = 'pre';
|
87
88
|
body.appendChild(textContainer);
|
88
|
-
const
|
89
|
+
const paddingStart = parseInt(((_getComputedStyle = getComputedStyle(observedElement)) === null || _getComputedStyle === void 0 ? void 0 : _getComputedStyle.paddingInlineStart) || 0, 10);
|
90
|
+
const paddingEnd = parseInt(((_getComputedStyle2 = getComputedStyle(observedElement)) === null || _getComputedStyle2 === void 0 ? void 0 : _getComputedStyle2.paddingInlineEnd) || 0, 10);
|
91
|
+
const width = textContainer.clientWidth + 2 + paddingStart + paddingEnd;
|
89
92
|
body.removeChild(textContainer);
|
90
93
|
const elementStyle = observedElement.style;
|
91
94
|
elementStyle.height = `${defaults.minHeight}px`;
|
package/utils/autoResize.mjs
CHANGED
@@ -73,6 +73,7 @@ export function createInputElementResizer(ownerDocument) {
|
|
73
73
|
* Resizes the element.
|
74
74
|
*/
|
75
75
|
function resize() {
|
76
|
+
var _getComputedStyle, _getComputedStyle2;
|
76
77
|
textHolder.textContent = observedElement.value;
|
77
78
|
// Won't expand the element size for displaying body as for example, `grid`, `inline-grid` or `flex` with
|
78
79
|
// `flex-direction` set as `column`.
|
@@ -81,7 +82,9 @@ export function createInputElementResizer(ownerDocument) {
|
|
81
82
|
textContainer.style.fontFamily = getComputedStyle(observedElement).fontFamily;
|
82
83
|
textContainer.style.whiteSpace = 'pre';
|
83
84
|
body.appendChild(textContainer);
|
84
|
-
const
|
85
|
+
const paddingStart = parseInt(((_getComputedStyle = getComputedStyle(observedElement)) === null || _getComputedStyle === void 0 ? void 0 : _getComputedStyle.paddingInlineStart) || 0, 10);
|
86
|
+
const paddingEnd = parseInt(((_getComputedStyle2 = getComputedStyle(observedElement)) === null || _getComputedStyle2 === void 0 ? void 0 : _getComputedStyle2.paddingInlineEnd) || 0, 10);
|
87
|
+
const width = textContainer.clientWidth + 2 + paddingStart + paddingEnd;
|
85
88
|
body.removeChild(textContainer);
|
86
89
|
const elementStyle = observedElement.style;
|
87
90
|
elementStyle.height = `${defaults.minHeight}px`;
|
package/utils/ghostTable.js
CHANGED
@@ -131,7 +131,7 @@ class GhostTable {
|
|
131
131
|
if (this.getSetting('useHeaders') && this.hot.getColHeader(column) !== null) {
|
132
132
|
// Please keep in mind that the renderable column index equal to the visual columns index for the GhostTable.
|
133
133
|
// We render all columns.
|
134
|
-
this.hot.view.appendColHeader(column, this.table.th);
|
134
|
+
this.hot.view.appendColHeader(column, this.table.th, undefined, -1);
|
135
135
|
}
|
136
136
|
this.table.tBody.appendChild(this.createCol(column));
|
137
137
|
this.container.container.appendChild(this.table.fragment);
|
package/utils/ghostTable.mjs
CHANGED
@@ -128,7 +128,7 @@ class GhostTable {
|
|
128
128
|
if (this.getSetting('useHeaders') && this.hot.getColHeader(column) !== null) {
|
129
129
|
// Please keep in mind that the renderable column index equal to the visual columns index for the GhostTable.
|
130
130
|
// We render all columns.
|
131
|
-
this.hot.view.appendColHeader(column, this.table.th);
|
131
|
+
this.hot.view.appendColHeader(column, this.table.th, undefined, -1);
|
132
132
|
}
|
133
133
|
this.table.tBody.appendChild(this.createCol(column));
|
134
134
|
this.container.container.appendChild(this.table.fragment);
|