handsontable 16.2.0 → 17.0.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.js +0 -3
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.mjs +0 -3
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.js +0 -3
- package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.mjs +0 -3
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.js +0 -3
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.mjs +0 -3
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.js +0 -3
- package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.mjs +0 -3
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllColumns.js +0 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllColumns.mjs +0 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllRows.js +0 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedAllRows.mjs +0 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.js +0 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.mjs +0 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.js +0 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.mjs +0 -1
- package/3rdparty/walkontable/src/calculator/viewportBase.js +0 -3
- package/3rdparty/walkontable/src/calculator/viewportBase.mjs +0 -3
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +0 -2
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +0 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.js +0 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +0 -2
- package/3rdparty/walkontable/src/cell/coords.js +0 -1
- package/3rdparty/walkontable/src/cell/coords.mjs +0 -1
- package/3rdparty/walkontable/src/cell/range.js +0 -2
- package/3rdparty/walkontable/src/cell/range.mjs +0 -2
- package/3rdparty/walkontable/src/core/_base.js +0 -2
- package/3rdparty/walkontable/src/core/_base.mjs +0 -2
- package/3rdparty/walkontable/src/core/clone.js +0 -1
- package/3rdparty/walkontable/src/core/clone.mjs +0 -1
- package/3rdparty/walkontable/src/core/core.js +0 -1
- package/3rdparty/walkontable/src/core/core.mjs +0 -1
- package/3rdparty/walkontable/src/event.js +0 -1
- package/3rdparty/walkontable/src/event.mjs +0 -1
- package/3rdparty/walkontable/src/filter/column.js +0 -1
- package/3rdparty/walkontable/src/filter/column.mjs +0 -1
- package/3rdparty/walkontable/src/filter/row.js +0 -1
- package/3rdparty/walkontable/src/filter/row.mjs +0 -1
- package/3rdparty/walkontable/src/overlay/_base.js +6 -4
- package/3rdparty/walkontable/src/overlay/_base.mjs +6 -4
- package/3rdparty/walkontable/src/overlay/bottom.js +2 -2
- package/3rdparty/walkontable/src/overlay/bottom.mjs +2 -2
- package/3rdparty/walkontable/src/overlay/index.js +0 -2
- package/3rdparty/walkontable/src/overlay/inlineStart.js +2 -2
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +2 -2
- package/3rdparty/walkontable/src/overlay/top.js +2 -2
- package/3rdparty/walkontable/src/overlay/top.mjs +2 -2
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +0 -1
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +0 -1
- package/3rdparty/walkontable/src/overlays.js +5 -8
- package/3rdparty/walkontable/src/overlays.mjs +5 -8
- package/3rdparty/walkontable/src/renderer/_base.js +0 -1
- package/3rdparty/walkontable/src/renderer/_base.mjs +0 -1
- package/3rdparty/walkontable/src/renderer/cells.js +0 -1
- package/3rdparty/walkontable/src/renderer/cells.mjs +0 -1
- package/3rdparty/walkontable/src/renderer/rowHeaders.js +1 -2
- package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +1 -2
- package/3rdparty/walkontable/src/renderer/rows.js +1 -12
- package/3rdparty/walkontable/src/renderer/rows.mjs +1 -12
- package/3rdparty/walkontable/src/renderer/table.js +0 -1
- package/3rdparty/walkontable/src/renderer/table.mjs +0 -1
- package/3rdparty/walkontable/src/scroll.js +0 -1
- package/3rdparty/walkontable/src/scroll.mjs +0 -1
- package/3rdparty/walkontable/src/selection/border/border.js +13 -26
- package/3rdparty/walkontable/src/selection/border/border.mjs +13 -26
- package/3rdparty/walkontable/src/selection/border/utils.js +0 -9
- package/3rdparty/walkontable/src/selection/border/utils.mjs +0 -9
- package/3rdparty/walkontable/src/selection/index.js +0 -2
- package/3rdparty/walkontable/src/selection/manager.js +0 -13
- package/3rdparty/walkontable/src/selection/manager.mjs +0 -13
- package/3rdparty/walkontable/src/selection/scanner.js +0 -8
- package/3rdparty/walkontable/src/selection/scanner.mjs +0 -8
- package/3rdparty/walkontable/src/settings.js +2 -2
- package/3rdparty/walkontable/src/settings.mjs +2 -2
- package/3rdparty/walkontable/src/table/master.js +1 -1
- package/3rdparty/walkontable/src/table/master.mjs +1 -1
- package/3rdparty/walkontable/src/table.js +3 -6
- package/3rdparty/walkontable/src/table.mjs +3 -6
- package/3rdparty/walkontable/src/utils/column.js +0 -1
- package/3rdparty/walkontable/src/utils/column.mjs +0 -1
- package/3rdparty/walkontable/src/utils/nodesPool.js +7 -1
- package/3rdparty/walkontable/src/utils/nodesPool.mjs +7 -1
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/differBasedRendererAdapter.js +100 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/differBasedRendererAdapter.mjs +96 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.js +117 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.mjs +113 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/index.js +19 -0
- package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/index.mjs +15 -0
- package/3rdparty/walkontable/src/utils/orderView/view.js +16 -58
- package/3rdparty/walkontable/src/utils/orderView/view.mjs +16 -58
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.js +0 -2
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.mjs +0 -2
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.js +0 -2
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.mjs +0 -2
- package/3rdparty/walkontable/src/utils/orderView/viewSize.js +0 -1
- package/3rdparty/walkontable/src/utils/orderView/viewSize.mjs +0 -1
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.js +0 -1
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.mjs +0 -1
- package/3rdparty/walkontable/src/utils/row.js +0 -1
- package/3rdparty/walkontable/src/utils/row.mjs +0 -1
- package/3rdparty/walkontable/src/viewport.js +0 -2
- package/3rdparty/walkontable/src/viewport.mjs +0 -2
- package/CHANGELOG.md +1 -1
- package/README.md +4 -23
- package/base.js +13 -2
- package/base.mjs +14 -3
- package/cellTypes/autocompleteType/accessors/valueSetter.js +2 -4
- package/cellTypes/autocompleteType/accessors/valueSetter.mjs +1 -3
- package/cellTypes/autocompleteType/autocompleteType.js +2 -1
- package/cellTypes/autocompleteType/autocompleteType.mjs +2 -1
- package/cellTypes/dropdownType/dropdownType.js +2 -1
- package/cellTypes/dropdownType/dropdownType.mjs +2 -1
- package/cellTypes/index.d.ts +6 -0
- package/cellTypes/index.js +12 -0
- package/cellTypes/index.mjs +7 -1
- package/cellTypes/intlDateType/index.d.ts +1 -0
- package/cellTypes/intlDateType/index.js +6 -0
- package/cellTypes/intlDateType/index.mjs +1 -0
- package/cellTypes/intlDateType/intlDateType.d.ts +23 -0
- package/cellTypes/intlDateType/intlDateType.js +16 -0
- package/cellTypes/intlDateType/intlDateType.mjs +13 -0
- package/cellTypes/intlTimeType/index.d.ts +1 -0
- package/cellTypes/intlTimeType/index.js +6 -0
- package/cellTypes/intlTimeType/index.mjs +1 -0
- package/cellTypes/intlTimeType/intlTimeType.d.ts +23 -0
- package/cellTypes/intlTimeType/intlTimeType.js +16 -0
- package/cellTypes/intlTimeType/intlTimeType.mjs +13 -0
- package/cellTypes/multiSelectType/accessors/index.js +7 -0
- package/cellTypes/multiSelectType/accessors/index.mjs +2 -0
- package/cellTypes/multiSelectType/accessors/valueGetter.js +20 -0
- package/cellTypes/multiSelectType/accessors/valueGetter.mjs +16 -0
- package/cellTypes/multiSelectType/accessors/valueSetter.js +27 -0
- package/cellTypes/multiSelectType/accessors/valueSetter.mjs +23 -0
- package/cellTypes/multiSelectType/index.js +6 -0
- package/cellTypes/multiSelectType/index.mjs +1 -0
- package/cellTypes/multiSelectType/multiSelectType.js +19 -0
- package/cellTypes/multiSelectType/multiSelectType.mjs +16 -0
- package/cellTypes/numericType/numericType.d.ts +3 -1
- package/cellTypes/numericType/numericType.js +2 -1
- package/cellTypes/numericType/numericType.mjs +3 -2
- package/cellTypes/registry.js +2 -2
- package/cellTypes/registry.mjs +2 -2
- package/common.d.ts +3 -1
- package/core/coordsMapper/index.js +0 -2
- package/core/coordsMapper/rangeToRenderableMapper.js +0 -1
- package/core/coordsMapper/rangeToRenderableMapper.mjs +0 -1
- package/core/hooks/bucket.js +0 -14
- package/core/hooks/bucket.mjs +0 -14
- package/core/hooks/constants.js +0 -28
- package/core/hooks/constants.mjs +0 -28
- package/core/hooks/index.d.ts +0 -3
- package/core/hooks/index.js +0 -2
- package/core/hooks/index.mjs +0 -2
- package/core/index.js +0 -2
- package/core.d.ts +0 -5
- package/core.js +193 -104
- package/core.mjs +194 -105
- package/dataMap/dataMap.js +6 -8
- package/dataMap/dataMap.mjs +6 -8
- package/dataMap/dataSource.js +0 -4
- package/dataMap/dataSource.mjs +0 -4
- package/dataMap/index.js +5 -0
- package/dataMap/index.mjs +3 -1
- package/dataMap/metaManager/index.js +2 -4
- package/dataMap/metaManager/index.mjs +2 -4
- package/dataMap/metaManager/lazyFactoryMap.js +0 -11
- package/dataMap/metaManager/lazyFactoryMap.mjs +0 -11
- package/dataMap/metaManager/metaLayers/cellMeta.js +0 -2
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +0 -2
- package/dataMap/metaManager/metaLayers/columnMeta.js +0 -1
- package/dataMap/metaManager/metaLayers/columnMeta.mjs +0 -1
- package/dataMap/metaManager/metaLayers/globalMeta.js +0 -1
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +0 -1
- package/dataMap/metaManager/metaLayers/tableMeta.js +0 -1
- package/dataMap/metaManager/metaLayers/tableMeta.mjs +0 -1
- package/dataMap/metaManager/metaSchema.js +862 -79
- package/dataMap/metaManager/metaSchema.mjs +862 -79
- package/dataMap/metaManager/mods/dynamicCellMeta.js +0 -8
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +0 -8
- package/dataMap/metaManager/mods/extendMetaProperties.js +23 -15
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +23 -15
- package/dataMap/metaManager/utils.js +2 -9
- package/dataMap/metaManager/utils.mjs +2 -9
- package/dataMap/replaceData.js +6 -3
- package/dataMap/replaceData.mjs +6 -3
- package/dataMap/sourceDataValidator.js +122 -0
- package/dataMap/sourceDataValidator.mjs +117 -0
- package/dist/handsontable.full.js +57523 -54761
- package/dist/handsontable.full.min.js +228 -213
- package/dist/handsontable.js +39604 -37938
- package/dist/handsontable.min.js +51 -51
- package/dist/languages/all.js +1 -1
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/ar-AR.js +1 -1
- package/dist/languages/ar-AR.min.js +1 -1
- package/dist/languages/cs-CZ.js +1 -1
- package/dist/languages/cs-CZ.min.js +1 -1
- package/dist/languages/de-CH.js +1 -1
- package/dist/languages/de-CH.min.js +1 -1
- package/dist/languages/de-DE.js +1 -1
- package/dist/languages/de-DE.min.js +1 -1
- package/dist/languages/en-US.js +1 -1
- package/dist/languages/en-US.min.js +1 -1
- package/dist/languages/es-MX.js +1 -1
- package/dist/languages/es-MX.min.js +1 -1
- package/dist/languages/fa-IR.js +1 -1
- package/dist/languages/fa-IR.min.js +1 -1
- package/dist/languages/fr-FR.js +1 -1
- package/dist/languages/fr-FR.min.js +1 -1
- package/dist/languages/hr-HR.js +1 -1
- package/dist/languages/hr-HR.min.js +1 -1
- package/dist/languages/it-IT.js +1 -1
- package/dist/languages/it-IT.min.js +1 -1
- package/dist/languages/ja-JP.js +1 -1
- package/dist/languages/ja-JP.min.js +1 -1
- package/dist/languages/ko-KR.js +1 -1
- package/dist/languages/ko-KR.min.js +1 -1
- package/dist/languages/lv-LV.js +1 -1
- package/dist/languages/lv-LV.min.js +1 -1
- package/dist/languages/nb-NO.js +1 -1
- package/dist/languages/nb-NO.min.js +1 -1
- package/dist/languages/nl-NL.js +1 -1
- package/dist/languages/nl-NL.min.js +1 -1
- package/dist/languages/pl-PL.js +1 -1
- package/dist/languages/pl-PL.min.js +1 -1
- package/dist/languages/pt-BR.js +1 -1
- package/dist/languages/pt-BR.min.js +1 -1
- package/dist/languages/ru-RU.js +1 -1
- package/dist/languages/ru-RU.min.js +1 -1
- package/dist/languages/sr-SP.js +1 -1
- package/dist/languages/sr-SP.min.js +1 -1
- package/dist/languages/zh-CN.js +1 -1
- package/dist/languages/zh-CN.min.js +1 -1
- package/dist/languages/zh-TW.js +1 -1
- package/dist/languages/zh-TW.min.js +1 -1
- package/dist/themes/classic.js +467 -0
- package/dist/themes/classic.min.js +31 -0
- package/dist/themes/horizon.js +467 -0
- package/dist/themes/horizon.min.js +31 -0
- package/dist/themes/main.js +467 -0
- package/dist/themes/main.min.js +31 -0
- package/dist/themes/static/variables/colors/ant.js +137 -0
- package/dist/themes/static/variables/colors/ant.min.js +31 -0
- package/dist/themes/static/variables/colors/classic.js +137 -0
- package/dist/themes/static/variables/colors/classic.min.js +31 -0
- package/dist/themes/static/variables/colors/horizon.js +137 -0
- package/dist/themes/static/variables/colors/horizon.min.js +31 -0
- package/dist/themes/static/variables/colors/main.js +137 -0
- package/dist/themes/static/variables/colors/main.min.js +31 -0
- package/dist/themes/static/variables/colors/material.js +137 -0
- package/dist/themes/static/variables/colors/material.min.js +31 -0
- package/dist/themes/static/variables/colors/shadcn.js +137 -0
- package/dist/themes/static/variables/colors/shadcn.min.js +31 -0
- package/dist/themes/static/variables/density.js +163 -0
- package/dist/themes/static/variables/density.min.js +31 -0
- package/dist/themes/static/variables/helpers/iconsMap.js +240 -0
- package/dist/themes/static/variables/helpers/iconsMap.min.js +31 -0
- package/dist/themes/static/variables/icons/horizon.js +135 -0
- package/dist/themes/static/variables/icons/horizon.min.js +31 -0
- package/dist/themes/static/variables/icons/main.js +135 -0
- package/dist/themes/static/variables/icons/main.min.js +31 -0
- package/dist/themes/static/variables/sizing.js +126 -0
- package/dist/themes/static/variables/sizing.min.js +31 -0
- package/dist/themes/static/variables/tokens/classic.js +375 -0
- package/dist/themes/static/variables/tokens/classic.min.js +31 -0
- package/dist/themes/static/variables/tokens/horizon.js +375 -0
- package/dist/themes/static/variables/tokens/horizon.min.js +31 -0
- package/dist/themes/static/variables/tokens/main.js +375 -0
- package/dist/themes/static/variables/tokens/main.min.js +31 -0
- package/editorManager.js +0 -1
- package/editorManager.mjs +0 -1
- package/editors/autocompleteEditor/autocompleteEditor.js +5 -23
- package/editors/autocompleteEditor/autocompleteEditor.mjs +6 -24
- package/editors/baseEditor/baseEditor.js +18 -13
- package/editors/baseEditor/baseEditor.mjs +18 -13
- package/editors/dateEditor/dateEditor.js +9 -3
- package/editors/dateEditor/dateEditor.mjs +9 -3
- package/editors/dropdownEditor/dropdownEditor.js +0 -2
- package/editors/dropdownEditor/dropdownEditor.mjs +0 -2
- package/editors/factory.d.ts +48 -0
- package/editors/factory.js +372 -0
- package/editors/factory.mjs +368 -0
- package/editors/handsontableEditor/handsontableEditor.js +0 -1
- package/editors/handsontableEditor/handsontableEditor.mjs +0 -1
- package/editors/index.d.ts +7 -0
- package/editors/index.js +14 -0
- package/editors/index.mjs +9 -2
- package/editors/intlDateEditor/index.d.ts +1 -0
- package/editors/intlDateEditor/index.js +6 -0
- package/editors/intlDateEditor/index.mjs +1 -0
- package/editors/intlDateEditor/intlDateEditor.d.ts +7 -0
- package/editors/intlDateEditor/intlDateEditor.js +76 -0
- package/editors/intlDateEditor/intlDateEditor.mjs +72 -0
- package/editors/intlTimeEditor/index.d.ts +1 -0
- package/editors/intlTimeEditor/index.js +6 -0
- package/editors/intlTimeEditor/index.mjs +1 -0
- package/editors/intlTimeEditor/intlTimeEditor.d.ts +7 -0
- package/editors/intlTimeEditor/intlTimeEditor.js +72 -0
- package/editors/intlTimeEditor/intlTimeEditor.mjs +68 -0
- package/editors/multiSelectEditor/controllers/dropdownController.js +566 -0
- package/editors/multiSelectEditor/controllers/dropdownController.mjs +561 -0
- package/editors/multiSelectEditor/controllers/inputController.js +101 -0
- package/editors/multiSelectEditor/controllers/inputController.mjs +96 -0
- package/editors/multiSelectEditor/controllers/selectedItemsController.js +124 -0
- package/editors/multiSelectEditor/controllers/selectedItemsController.mjs +120 -0
- package/editors/multiSelectEditor/controllers/utils.js +275 -0
- package/editors/multiSelectEditor/controllers/utils.mjs +258 -0
- package/editors/multiSelectEditor/index.js +6 -0
- package/editors/multiSelectEditor/index.mjs +1 -0
- package/editors/multiSelectEditor/multiSelectEditor.js +509 -0
- package/editors/multiSelectEditor/multiSelectEditor.mjs +504 -0
- package/editors/multiSelectEditor/utils/utils.js +57 -0
- package/editors/multiSelectEditor/utils/utils.mjs +50 -0
- package/editors/passwordEditor/passwordEditor.js +0 -1
- package/editors/passwordEditor/passwordEditor.mjs +0 -1
- package/editors/registry.js +4 -4
- package/editors/registry.mjs +4 -4
- package/editors/selectEditor/selectEditor.js +1 -1
- package/editors/selectEditor/selectEditor.mjs +1 -1
- package/editors/textEditor/textEditor.js +4 -2
- package/editors/textEditor/textEditor.mjs +4 -2
- package/eventManager.js +0 -2
- package/eventManager.mjs +0 -2
- package/focusManager/grid.js +0 -1
- package/focusManager/grid.mjs +0 -1
- package/focusManager/index.js +0 -2
- package/focusManager/scopeManager.js +5 -8
- package/focusManager/scopeManager.mjs +5 -8
- package/focusManager/utils/focusDetector.js +5 -11
- package/focusManager/utils/focusDetector.mjs +5 -11
- package/helpers/a11y.js +2 -0
- package/helpers/a11y.mjs +1 -0
- package/helpers/array.js +26 -15
- package/helpers/array.mjs +25 -15
- package/helpers/console.js +33 -0
- package/helpers/console.mjs +32 -0
- package/helpers/constants.js +4 -0
- package/helpers/constants.mjs +1 -0
- package/helpers/data.js +0 -4
- package/helpers/data.mjs +0 -4
- package/helpers/dateTime.d.ts +5 -0
- package/helpers/dateTime.js +110 -0
- package/helpers/dateTime.mjs +102 -0
- package/helpers/dom/element.d.ts +1 -1
- package/helpers/dom/element.js +23 -20
- package/helpers/dom/element.mjs +23 -20
- package/helpers/errors.d.ts +1 -0
- package/helpers/errors.js +21 -0
- package/helpers/errors.mjs +17 -0
- package/helpers/index.d.ts +2 -1
- package/helpers/mixed.js +10 -7
- package/helpers/mixed.mjs +10 -6
- package/helpers/moves.js +0 -4
- package/helpers/moves.mjs +0 -4
- package/helpers/number.js +0 -9
- package/helpers/number.mjs +0 -9
- package/helpers/object.js +47 -6
- package/helpers/object.mjs +45 -6
- package/helpers/string.js +15 -2
- package/helpers/string.mjs +14 -2
- package/helpers/templateLiteralTag.js +0 -3
- package/helpers/templateLiteralTag.mjs +0 -3
- package/helpers/unicode.js +0 -1
- package/helpers/unicode.mjs +0 -1
- package/helpers/wrappers/jquery.js +2 -2
- package/helpers/wrappers/jquery.mjs +2 -2
- package/i18n/index.js +0 -2
- package/i18n/phraseFormatters/substituteVariables.js +0 -2
- package/i18n/phraseFormatters/substituteVariables.mjs +0 -2
- package/i18n/registry.js +0 -2
- package/i18n/registry.mjs +0 -2
- package/index.d.ts +85 -9
- package/index.js +18 -3
- package/index.mjs +18 -3
- package/languages/all.js +1 -1
- package/languages/ar-AR.js +1 -1
- package/languages/cs-CZ.js +1 -1
- package/languages/de-CH.js +1 -1
- package/languages/de-DE.js +1 -1
- package/languages/en-US.js +1 -1
- package/languages/es-MX.js +1 -1
- package/languages/fa-IR.js +1 -1
- package/languages/fr-FR.js +1 -1
- package/languages/hr-HR.js +1 -1
- package/languages/index.js +1 -1
- package/languages/it-IT.js +1 -1
- package/languages/ja-JP.js +1 -1
- package/languages/ko-KR.js +1 -1
- package/languages/lv-LV.js +1 -1
- package/languages/nb-NO.js +1 -1
- package/languages/nl-NL.js +1 -1
- package/languages/pl-PL.js +1 -1
- package/languages/pt-BR.js +1 -1
- package/languages/ru-RU.js +1 -1
- package/languages/sr-SP.js +1 -1
- package/languages/zh-CN.js +1 -1
- package/languages/zh-TW.js +1 -1
- package/mixins/hooksRefRegisterer.js +0 -1
- package/mixins/hooksRefRegisterer.mjs +0 -1
- package/mixins/localHooks.js +0 -1
- package/mixins/localHooks.mjs +0 -1
- package/package.json +184 -78
- package/plugins/autoColumnSize/autoColumnSize.js +4 -7
- package/plugins/autoColumnSize/autoColumnSize.mjs +4 -7
- package/plugins/autoRowSize/autoRowSize.js +8 -9
- package/plugins/autoRowSize/autoRowSize.mjs +8 -9
- package/plugins/autofill/autofill.js +7 -8
- package/plugins/autofill/autofill.mjs +7 -8
- package/plugins/base/base.js +3 -7
- package/plugins/base/base.mjs +3 -7
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +0 -1
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +0 -1
- package/plugins/collapsibleColumns/collapsibleColumns.js +2 -3
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +2 -3
- package/plugins/columnSorting/columnSorting.js +2 -64
- package/plugins/columnSorting/columnSorting.mjs +2 -64
- package/plugins/columnSorting/columnStatesManager.js +0 -3
- package/plugins/columnSorting/columnStatesManager.mjs +0 -3
- package/plugins/columnSorting/domHelpers.js +0 -1
- package/plugins/columnSorting/domHelpers.mjs +0 -1
- package/plugins/columnSorting/sortFunction/intlDate.js +17 -0
- package/plugins/columnSorting/sortFunction/intlDate.mjs +13 -0
- package/plugins/columnSorting/sortFunction/intlTime.js +17 -0
- package/plugins/columnSorting/sortFunction/intlTime.mjs +13 -0
- package/plugins/columnSorting/sortService/registry.js +5 -1
- package/plugins/columnSorting/sortService/registry.mjs +4 -0
- package/plugins/columnSorting/utils.js +107 -10
- package/plugins/columnSorting/utils.mjs +105 -10
- package/plugins/columnSummary/columnSummary.js +2 -2
- package/plugins/columnSummary/columnSummary.mjs +2 -2
- package/plugins/columnSummary/endpoints.js +0 -5
- package/plugins/columnSummary/endpoints.mjs +0 -5
- package/plugins/comments/commentEditor.js +0 -1
- package/plugins/comments/commentEditor.mjs +0 -1
- package/plugins/comments/comments.js +5 -6
- package/plugins/comments/comments.mjs +5 -6
- package/plugins/comments/displaySwitch.js +0 -1
- package/plugins/comments/displaySwitch.mjs +0 -1
- package/plugins/comments/editorResizeObserver.js +0 -3
- package/plugins/comments/editorResizeObserver.mjs +0 -3
- package/plugins/contextMenu/commandExecutor.js +2 -4
- package/plugins/contextMenu/commandExecutor.mjs +2 -4
- package/plugins/contextMenu/contextMenu.js +0 -1
- package/plugins/contextMenu/contextMenu.mjs +0 -1
- package/plugins/contextMenu/itemsFactory.js +0 -2
- package/plugins/contextMenu/itemsFactory.mjs +0 -2
- package/plugins/contextMenu/menu/cursor.js +0 -1
- package/plugins/contextMenu/menu/cursor.mjs +0 -1
- package/plugins/contextMenu/menu/index.js +0 -2
- package/plugins/contextMenu/menu/menu.js +3 -15
- package/plugins/contextMenu/menu/menu.mjs +3 -15
- package/plugins/contextMenu/menu/menuItemRenderer.js +4 -2
- package/plugins/contextMenu/menu/menuItemRenderer.mjs +4 -2
- package/plugins/contextMenu/menu/positioner.js +0 -1
- package/plugins/contextMenu/menu/positioner.mjs +0 -1
- package/plugins/contextMenu/menu/shortcuts.js +0 -3
- package/plugins/contextMenu/menu/shortcuts.mjs +0 -3
- package/plugins/contextMenu/menu/utils.js +0 -1
- package/plugins/contextMenu/menu/utils.mjs +0 -1
- package/plugins/copyPaste/copyPaste.js +53 -31
- package/plugins/copyPaste/copyPaste.mjs +54 -32
- package/plugins/copyPaste/copyableRanges.js +0 -2
- package/plugins/copyPaste/copyableRanges.mjs +0 -2
- package/plugins/customBorders/customBorders.js +3 -6
- package/plugins/customBorders/customBorders.mjs +3 -6
- package/plugins/customBorders/utils.js +0 -2
- package/plugins/customBorders/utils.mjs +0 -2
- package/plugins/dialog/dialog.js +3 -6
- package/plugins/dialog/dialog.mjs +3 -6
- package/plugins/dialog/templates/base.js +2 -2
- package/plugins/dialog/templates/base.mjs +2 -2
- package/plugins/dialog/templates/confirm.js +2 -5
- package/plugins/dialog/templates/confirm.mjs +2 -5
- package/plugins/dialog/ui.js +13 -8
- package/plugins/dialog/ui.mjs +13 -8
- package/plugins/dragToScroll/dragToScroll.js +0 -1
- package/plugins/dragToScroll/dragToScroll.mjs +0 -1
- package/plugins/dropdownMenu/dropdownMenu.js +0 -1
- package/plugins/dropdownMenu/dropdownMenu.mjs +0 -1
- package/plugins/emptyDataState/emptyDataState.js +0 -6
- package/plugins/emptyDataState/emptyDataState.mjs +0 -6
- package/plugins/emptyDataState/ui.js +0 -4
- package/plugins/emptyDataState/ui.mjs +0 -4
- package/plugins/exportFile/dataProvider.js +0 -2
- package/plugins/exportFile/dataProvider.mjs +0 -2
- package/plugins/exportFile/exportFile.js +3 -3
- package/plugins/exportFile/exportFile.mjs +3 -3
- package/plugins/exportFile/types/_base.js +0 -1
- package/plugins/exportFile/types/_base.mjs +0 -1
- package/plugins/exportFile/types/csv.js +0 -3
- package/plugins/exportFile/types/csv.mjs +0 -3
- package/plugins/filters/component/_base.js +3 -3
- package/plugins/filters/component/_base.mjs +3 -3
- package/plugins/filters/component/actionBar.js +0 -2
- package/plugins/filters/component/actionBar.mjs +0 -2
- package/plugins/filters/component/condition.js +2 -4
- package/plugins/filters/component/condition.mjs +2 -4
- package/plugins/filters/component/operators.js +2 -5
- package/plugins/filters/component/operators.mjs +2 -5
- package/plugins/filters/component/value.js +4 -12
- package/plugins/filters/component/value.mjs +4 -12
- package/plugins/filters/condition/intlDate/after.js +31 -0
- package/plugins/filters/condition/intlDate/after.mjs +26 -0
- package/plugins/filters/condition/intlDate/before.js +31 -0
- package/plugins/filters/condition/intlDate/before.mjs +26 -0
- package/plugins/filters/condition/intlDate/between.js +30 -0
- package/plugins/filters/condition/intlDate/between.mjs +25 -0
- package/plugins/filters/condition/intlDate/today.js +27 -0
- package/plugins/filters/condition/intlDate/today.mjs +22 -0
- package/plugins/filters/condition/intlDate/tomorrow.js +28 -0
- package/plugins/filters/condition/intlDate/tomorrow.mjs +23 -0
- package/plugins/filters/condition/intlDate/yesterday.js +28 -0
- package/plugins/filters/condition/intlDate/yesterday.mjs +23 -0
- package/plugins/filters/condition/intlTime/after.js +31 -0
- package/plugins/filters/condition/intlTime/after.mjs +26 -0
- package/plugins/filters/condition/intlTime/before.js +31 -0
- package/plugins/filters/condition/intlTime/before.mjs +26 -0
- package/plugins/filters/condition/intlTime/between.js +30 -0
- package/plugins/filters/condition/intlTime/between.mjs +25 -0
- package/plugins/filters/conditionCollection.js +3 -9
- package/plugins/filters/conditionCollection.mjs +3 -9
- package/plugins/filters/conditionRegisterer.js +3 -3
- package/plugins/filters/conditionRegisterer.mjs +3 -3
- package/plugins/filters/conditionUpdateObserver.js +3 -7
- package/plugins/filters/conditionUpdateObserver.mjs +3 -7
- package/plugins/filters/constants.js +14 -2
- package/plugins/filters/constants.mjs +14 -2
- package/plugins/filters/dataFilter.js +1 -3
- package/plugins/filters/dataFilter.mjs +1 -3
- package/plugins/filters/filters.js +36 -44
- package/plugins/filters/filters.mjs +36 -44
- package/plugins/filters/logicalOperationRegisterer.js +2 -2
- package/plugins/filters/logicalOperationRegisterer.mjs +2 -2
- package/plugins/filters/logicalOperations/conjunction.js +0 -2
- package/plugins/filters/logicalOperations/conjunction.mjs +0 -2
- package/plugins/filters/logicalOperations/disjunction.js +0 -2
- package/plugins/filters/logicalOperations/disjunction.mjs +0 -2
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +2 -4
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +2 -4
- package/plugins/filters/menu/focusController.js +0 -2
- package/plugins/filters/menu/focusController.mjs +0 -2
- package/plugins/filters/ui/_base.js +0 -1
- package/plugins/filters/ui/_base.mjs +0 -1
- package/plugins/filters/ui/input.js +1 -1
- package/plugins/filters/ui/input.mjs +1 -1
- package/plugins/filters/ui/link.js +0 -1
- package/plugins/filters/ui/link.mjs +0 -1
- package/plugins/filters/ui/multipleSelect.js +0 -6
- package/plugins/filters/ui/multipleSelect.mjs +0 -6
- package/plugins/filters/ui/radioInput.js +0 -1
- package/plugins/filters/ui/radioInput.mjs +0 -1
- package/plugins/filters/ui/select.js +0 -1
- package/plugins/filters/ui/select.mjs +0 -1
- package/plugins/filters/utils.js +0 -11
- package/plugins/filters/utils.mjs +0 -11
- package/plugins/formulas/engine/register.js +0 -4
- package/plugins/formulas/engine/register.mjs +0 -4
- package/plugins/formulas/engine/settings.js +0 -3
- package/plugins/formulas/engine/settings.mjs +0 -3
- package/plugins/formulas/formulas.js +0 -14
- package/plugins/formulas/formulas.mjs +0 -14
- package/plugins/formulas/indexSyncer/axisSyncer.js +0 -5
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +0 -5
- package/plugins/formulas/indexSyncer/index.js +0 -1
- package/plugins/formulas/indexSyncer/index.mjs +0 -1
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +0 -1
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +0 -1
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +0 -3
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +0 -3
- package/plugins/hiddenColumns/hiddenColumns.js +1 -13
- package/plugins/hiddenColumns/hiddenColumns.mjs +1 -13
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +0 -1
- package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +0 -1
- package/plugins/hiddenRows/contextMenuItem/showRow.js +0 -3
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +0 -3
- package/plugins/hiddenRows/hiddenRows.js +1 -13
- package/plugins/hiddenRows/hiddenRows.mjs +1 -13
- package/plugins/index.d.ts +0 -3
- package/plugins/index.js +0 -3
- package/plugins/index.mjs +1 -3
- package/plugins/loading/loading.js +0 -1
- package/plugins/loading/loading.mjs +0 -1
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +0 -4
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +0 -4
- package/plugins/manualColumnMove/manualColumnMove.js +2 -36
- package/plugins/manualColumnMove/manualColumnMove.mjs +2 -36
- package/plugins/manualColumnMove/ui/_base.js +0 -1
- package/plugins/manualColumnMove/ui/_base.mjs +0 -1
- package/plugins/manualColumnResize/manualColumnResize.js +4 -39
- package/plugins/manualColumnResize/manualColumnResize.mjs +4 -39
- package/plugins/manualRowMove/manualRowMove.js +2 -37
- package/plugins/manualRowMove/manualRowMove.mjs +2 -37
- package/plugins/manualRowMove/ui/_base.js +0 -1
- package/plugins/manualRowMove/ui/_base.mjs +0 -1
- package/plugins/manualRowResize/manualRowResize.js +3 -38
- package/plugins/manualRowResize/manualRowResize.mjs +3 -38
- package/plugins/mergeCells/calculations/autofill.js +0 -3
- package/plugins/mergeCells/calculations/autofill.mjs +0 -3
- package/plugins/mergeCells/calculations/selection.js +0 -2
- package/plugins/mergeCells/calculations/selection.mjs +0 -2
- package/plugins/mergeCells/cellCoords.js +0 -1
- package/plugins/mergeCells/cellCoords.mjs +0 -1
- package/plugins/mergeCells/cellsCollection.js +0 -14
- package/plugins/mergeCells/cellsCollection.mjs +0 -14
- package/plugins/mergeCells/focusOrder.js +0 -4
- package/plugins/mergeCells/focusOrder.mjs +0 -4
- package/plugins/mergeCells/mergeCells.js +0 -14
- package/plugins/mergeCells/mergeCells.mjs +0 -14
- package/plugins/multiColumnSorting/domHelpers.js +0 -3
- package/plugins/multiColumnSorting/domHelpers.mjs +0 -3
- package/plugins/multiColumnSorting/multiColumnSorting.js +0 -1
- package/plugins/multiColumnSorting/multiColumnSorting.mjs +0 -1
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +0 -2
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +0 -2
- package/plugins/nestedHeaders/nestedHeaders.js +0 -4
- package/plugins/nestedHeaders/nestedHeaders.mjs +0 -4
- package/plugins/nestedHeaders/stateManager/headersTree.js +0 -1
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +0 -1
- package/plugins/nestedHeaders/stateManager/index.js +0 -4
- package/plugins/nestedHeaders/stateManager/index.mjs +0 -4
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +0 -1
- package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +0 -1
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +0 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +0 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +0 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +0 -7
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.js +3 -4
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.mjs +3 -4
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.js +2 -2
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.mjs +2 -2
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.js +3 -3
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.mjs +3 -3
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +0 -1
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +0 -1
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +3 -4
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +3 -4
- package/plugins/nestedHeaders/utils/ghostTable.js +1 -2
- package/plugins/nestedHeaders/utils/ghostTable.mjs +1 -2
- package/plugins/nestedRows/data/dataManager.js +0 -2
- package/plugins/nestedRows/data/dataManager.mjs +0 -2
- package/plugins/nestedRows/nestedRows.js +0 -12
- package/plugins/nestedRows/nestedRows.mjs +0 -12
- package/plugins/nestedRows/ui/_base.js +0 -1
- package/plugins/nestedRows/ui/_base.mjs +0 -1
- package/plugins/nestedRows/ui/collapsing.js +0 -1
- package/plugins/nestedRows/ui/collapsing.mjs +0 -1
- package/plugins/nestedRows/ui/contextMenu.js +0 -1
- package/plugins/nestedRows/ui/contextMenu.mjs +0 -1
- package/plugins/nestedRows/ui/headers.js +2 -4
- package/plugins/nestedRows/ui/headers.mjs +2 -4
- package/plugins/nestedRows/utils/rowMoveController.js +0 -6
- package/plugins/nestedRows/utils/rowMoveController.mjs +0 -6
- package/plugins/pagination/pagination.js +1 -7
- package/plugins/pagination/pagination.mjs +1 -7
- package/plugins/pagination/strategies/autoPageSize.js +0 -2
- package/plugins/pagination/strategies/autoPageSize.mjs +0 -2
- package/plugins/pagination/strategies/fixedPageSize.js +0 -1
- package/plugins/pagination/strategies/fixedPageSize.mjs +0 -1
- package/plugins/pagination/strategies/index.js +2 -2
- package/plugins/pagination/strategies/index.mjs +2 -2
- package/plugins/pagination/ui.js +0 -3
- package/plugins/pagination/ui.mjs +0 -3
- package/plugins/registry.js +2 -2
- package/plugins/registry.mjs +2 -2
- package/plugins/search/search.js +0 -2
- package/plugins/search/search.mjs +0 -2
- package/plugins/stretchColumns/calculator.js +1 -6
- package/plugins/stretchColumns/calculator.mjs +1 -6
- package/plugins/stretchColumns/strategies/_base.js +0 -1
- package/plugins/stretchColumns/strategies/_base.mjs +0 -1
- package/plugins/stretchColumns/strategies/all.js +0 -4
- package/plugins/stretchColumns/strategies/all.mjs +0 -4
- package/plugins/stretchColumns/strategies/last.js +0 -3
- package/plugins/stretchColumns/strategies/last.mjs +0 -3
- package/plugins/stretchColumns/stretchColumns.js +0 -3
- package/plugins/stretchColumns/stretchColumns.mjs +0 -3
- package/plugins/touchScroll/touchScroll.js +0 -2
- package/plugins/touchScroll/touchScroll.mjs +0 -2
- package/plugins/trimRows/trimRows.js +1 -12
- package/plugins/trimRows/trimRows.mjs +1 -12
- package/plugins/undoRedo/actions/_base.js +3 -3
- package/plugins/undoRedo/actions/_base.mjs +3 -3
- package/plugins/undoRedo/actions/cellAlignment.js +0 -1
- package/plugins/undoRedo/actions/cellAlignment.mjs +0 -1
- package/plugins/undoRedo/actions/columnMove.js +0 -3
- package/plugins/undoRedo/actions/columnMove.mjs +0 -3
- package/plugins/undoRedo/actions/columnSort.js +0 -1
- package/plugins/undoRedo/actions/columnSort.mjs +0 -1
- package/plugins/undoRedo/actions/createColumn.js +0 -1
- package/plugins/undoRedo/actions/createColumn.mjs +0 -1
- package/plugins/undoRedo/actions/createRow.js +0 -1
- package/plugins/undoRedo/actions/createRow.mjs +0 -1
- package/plugins/undoRedo/actions/dataChange.js +0 -6
- package/plugins/undoRedo/actions/dataChange.mjs +0 -6
- package/plugins/undoRedo/actions/filters.js +0 -3
- package/plugins/undoRedo/actions/filters.mjs +0 -3
- package/plugins/undoRedo/actions/mergeCells.js +0 -1
- package/plugins/undoRedo/actions/mergeCells.mjs +0 -1
- package/plugins/undoRedo/actions/removeColumn.js +0 -4
- package/plugins/undoRedo/actions/removeColumn.mjs +0 -4
- package/plugins/undoRedo/actions/removeRow.js +0 -4
- package/plugins/undoRedo/actions/removeRow.mjs +0 -4
- package/plugins/undoRedo/actions/rowMove.js +0 -3
- package/plugins/undoRedo/actions/rowMove.mjs +0 -3
- package/plugins/undoRedo/actions/unmergeCells.js +0 -1
- package/plugins/undoRedo/actions/unmergeCells.mjs +0 -1
- package/plugins/undoRedo/undoRedo.js +0 -87
- package/plugins/undoRedo/undoRedo.mjs +0 -87
- package/plugins/undoRedo/utils.js +1 -13
- package/plugins/undoRedo/utils.mjs +1 -13
- package/renderers/baseRenderer/baseRenderer.js +3 -1
- package/renderers/baseRenderer/baseRenderer.mjs +3 -1
- package/renderers/checkboxRenderer/checkboxRenderer.js +2 -7
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +2 -7
- package/renderers/dateRenderer/dateRenderer.js +6 -0
- package/renderers/dateRenderer/dateRenderer.mjs +6 -0
- package/renderers/factory.d.ts +20 -0
- package/renderers/factory.js +51 -0
- package/renderers/factory.mjs +47 -0
- package/renderers/htmlRenderer/htmlRenderer.js +1 -4
- package/renderers/htmlRenderer/htmlRenderer.mjs +1 -4
- package/renderers/index.d.ts +7 -0
- package/renderers/index.js +10 -0
- package/renderers/index.mjs +7 -2
- package/renderers/intlDateRenderer/index.d.ts +1 -0
- package/renderers/intlDateRenderer/index.js +7 -0
- package/renderers/intlDateRenderer/index.mjs +1 -0
- package/renderers/intlDateRenderer/intlDateRenderer.d.ts +6 -0
- package/renderers/intlDateRenderer/intlDateRenderer.js +58 -0
- package/renderers/intlDateRenderer/intlDateRenderer.mjs +53 -0
- package/renderers/intlTimeRenderer/index.d.ts +1 -0
- package/renderers/intlTimeRenderer/index.js +7 -0
- package/renderers/intlTimeRenderer/index.mjs +1 -0
- package/renderers/intlTimeRenderer/intlTimeRenderer.d.ts +6 -0
- package/renderers/intlTimeRenderer/intlTimeRenderer.js +57 -0
- package/renderers/intlTimeRenderer/intlTimeRenderer.mjs +52 -0
- package/renderers/multiSelectRenderer/index.js +7 -0
- package/renderers/multiSelectRenderer/index.mjs +1 -0
- package/renderers/multiSelectRenderer/multiSelectRenderer.js +60 -0
- package/renderers/multiSelectRenderer/multiSelectRenderer.mjs +56 -0
- package/renderers/multiSelectRenderer/utils/utils.js +270 -0
- package/renderers/multiSelectRenderer/utils/utils.mjs +258 -0
- package/renderers/numericRenderer/index.d.ts +1 -1
- package/renderers/numericRenderer/index.js +1 -1
- package/renderers/numericRenderer/index.mjs +1 -1
- package/renderers/numericRenderer/numericRenderer.d.ts +1 -0
- package/renderers/numericRenderer/numericRenderer.js +19 -22
- package/renderers/numericRenderer/numericRenderer.mjs +18 -20
- package/renderers/numericRenderer/utils.js +64 -0
- package/renderers/numericRenderer/utils.mjs +57 -0
- package/renderers/passwordRenderer/passwordRenderer.js +22 -12
- package/renderers/passwordRenderer/passwordRenderer.mjs +21 -12
- package/renderers/registry.d.ts +1 -1
- package/renderers/registry.js +51 -3
- package/renderers/registry.mjs +51 -3
- package/renderers/textRenderer/textRenderer.js +0 -2
- package/renderers/textRenderer/textRenderer.mjs +0 -2
- package/renderers/timeRenderer/timeRenderer.js +6 -0
- package/renderers/timeRenderer/timeRenderer.mjs +6 -0
- package/selection/highlight/highlight.js +0 -2
- package/selection/highlight/highlight.mjs +0 -2
- package/selection/highlight/visualSelection.js +0 -1
- package/selection/highlight/visualSelection.mjs +0 -1
- package/selection/index.js +0 -2
- package/selection/mouseEventHandler.js +0 -2
- package/selection/mouseEventHandler.mjs +0 -2
- package/selection/range.js +0 -7
- package/selection/range.mjs +0 -7
- package/selection/selection.js +6 -15
- package/selection/selection.mjs +6 -15
- package/selection/transformation/_base.js +6 -6
- package/selection/transformation/_base.mjs +6 -6
- package/selection/transformation/focus.js +2 -2
- package/selection/transformation/focus.mjs +2 -2
- package/selection/utils.js +3 -13
- package/selection/utils.mjs +3 -13
- package/settings.d.ts +9 -3
- package/shortcutContexts/commands/editor/open.js +0 -2
- package/shortcutContexts/commands/editor/open.mjs +0 -2
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +0 -2
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.mjs +0 -2
- package/shortcutContexts/commands/moveCellSelection/inlineStart.js +0 -2
- package/shortcutContexts/commands/moveCellSelection/inlineStart.mjs +0 -2
- package/shortcutContexts/grid.js +11 -12
- package/shortcutContexts/grid.mjs +11 -12
- package/shortcutContexts/index.js +0 -2
- package/shortcuts/context.js +4 -8
- package/shortcuts/context.mjs +4 -8
- package/shortcuts/keyObserver.js +0 -7
- package/shortcuts/keyObserver.mjs +0 -7
- package/shortcuts/manager.js +2 -2
- package/shortcuts/manager.mjs +2 -2
- package/shortcuts/recorder.js +0 -1
- package/shortcuts/recorder.mjs +0 -1
- package/shortcuts/utils.js +0 -2
- package/shortcuts/utils.mjs +0 -2
- package/styles/handsontable.css +302 -83
- package/styles/handsontable.min.css +3 -3
- package/styles/handsontableStyles.js +6 -0
- package/styles/handsontableStyles.mjs +4 -0
- package/styles/ht-icons-horizon.css +55 -61
- package/styles/ht-icons-horizon.min.css +3 -3
- package/styles/ht-icons-main.css +55 -61
- package/styles/ht-icons-main.min.css +3 -3
- package/styles/ht-theme-classic-no-icons.css +302 -374
- package/styles/ht-theme-classic-no-icons.min.css +3 -3
- package/styles/ht-theme-classic.css +383 -408
- package/styles/ht-theme-classic.min.css +3 -3
- package/styles/ht-theme-horizon-no-icons.css +300 -378
- package/styles/ht-theme-horizon-no-icons.min.css +3 -3
- package/styles/ht-theme-horizon.css +381 -412
- package/styles/ht-theme-horizon.min.css +3 -3
- package/styles/ht-theme-main-no-icons.css +302 -371
- package/styles/ht-theme-main-no-icons.min.css +3 -3
- package/styles/ht-theme-main.css +383 -405
- package/styles/ht-theme-main.min.css +3 -3
- package/tableView.js +16 -4
- package/tableView.mjs +16 -4
- package/themes/engine/builder.js +251 -0
- package/themes/engine/builder.mjs +246 -0
- package/themes/engine/index.js +7 -0
- package/themes/engine/index.mjs +2 -0
- package/themes/engine/manager.js +188 -0
- package/themes/engine/manager.mjs +183 -0
- package/themes/engine/utils/cssVariables.js +132 -0
- package/themes/engine/utils/cssVariables.mjs +128 -0
- package/themes/engine/utils/validation.js +348 -0
- package/themes/engine/utils/validation.mjs +342 -0
- package/themes/index.js +15 -0
- package/themes/index.mjs +2 -0
- package/themes/registry.js +131 -0
- package/themes/registry.mjs +122 -0
- package/themes/static/variables/colors/ant.d.ts +4 -0
- package/themes/static/variables/colors/ant.js +32 -0
- package/themes/static/variables/colors/ant.mjs +30 -0
- package/themes/static/variables/colors/classic.d.ts +4 -0
- package/themes/static/variables/colors/classic.js +32 -0
- package/themes/static/variables/colors/classic.mjs +30 -0
- package/themes/static/variables/colors/horizon.d.ts +4 -0
- package/themes/static/variables/colors/horizon.js +32 -0
- package/themes/static/variables/colors/horizon.mjs +30 -0
- package/themes/static/variables/colors/main.d.ts +4 -0
- package/themes/static/variables/colors/main.js +32 -0
- package/themes/static/variables/colors/main.mjs +30 -0
- package/themes/static/variables/colors/material.d.ts +4 -0
- package/themes/static/variables/colors/material.js +32 -0
- package/themes/static/variables/colors/material.mjs +30 -0
- package/themes/static/variables/colors/shadcn.d.ts +4 -0
- package/themes/static/variables/colors/shadcn.js +32 -0
- package/themes/static/variables/colors/shadcn.mjs +30 -0
- package/themes/static/variables/density.d.ts +4 -0
- package/themes/static/variables/density.js +59 -0
- package/themes/static/variables/density.mjs +57 -0
- package/themes/static/variables/helpers/iconsMap.d.ts +3 -0
- package/themes/static/variables/helpers/iconsMap.js +139 -0
- package/themes/static/variables/helpers/iconsMap.mjs +135 -0
- package/themes/static/variables/icons/horizon.d.ts +4 -0
- package/themes/static/variables/icons/horizon.js +29 -0
- package/themes/static/variables/icons/horizon.mjs +28 -0
- package/themes/static/variables/icons/main.d.ts +4 -0
- package/themes/static/variables/icons/main.js +29 -0
- package/themes/static/variables/icons/main.mjs +28 -0
- package/themes/static/variables/sizing.d.ts +4 -0
- package/themes/static/variables/sizing.js +22 -0
- package/themes/static/variables/sizing.mjs +20 -0
- package/themes/static/variables/tokens/classic.d.ts +4 -0
- package/themes/static/variables/tokens/classic.js +270 -0
- package/themes/static/variables/tokens/classic.mjs +268 -0
- package/themes/static/variables/tokens/horizon.d.ts +4 -0
- package/themes/static/variables/tokens/horizon.js +270 -0
- package/themes/static/variables/tokens/horizon.mjs +268 -0
- package/themes/static/variables/tokens/main.d.ts +4 -0
- package/themes/static/variables/tokens/main.js +270 -0
- package/themes/static/variables/tokens/main.mjs +268 -0
- package/themes/theme/classic.d.ts +3 -0
- package/themes/theme/classic.js +14 -0
- package/themes/theme/classic.mjs +11 -0
- package/themes/theme/horizon.d.ts +3 -0
- package/themes/theme/horizon.js +14 -0
- package/themes/theme/horizon.mjs +11 -0
- package/themes/theme/index.d.ts +5 -0
- package/themes/theme/index.js +9 -0
- package/themes/theme/index.mjs +3 -0
- package/themes/theme/main.d.ts +3 -0
- package/themes/theme/main.js +14 -0
- package/themes/theme/main.mjs +11 -0
- package/themes.d.ts +491 -0
- package/translations/changesObservable/observable.js +0 -10
- package/translations/changesObservable/observable.mjs +0 -10
- package/translations/changesObservable/observer.js +0 -1
- package/translations/changesObservable/observer.mjs +0 -1
- package/translations/changesObservable/utils.js +0 -1
- package/translations/changesObservable/utils.mjs +0 -1
- package/translations/index.js +0 -2
- package/translations/indexMapper.js +3 -14
- package/translations/indexMapper.mjs +3 -14
- package/translations/mapCollections/aggregatedCollection.js +0 -2
- package/translations/mapCollections/aggregatedCollection.mjs +0 -2
- package/translations/mapCollections/index.js +0 -2
- package/translations/mapCollections/mapCollection.js +0 -3
- package/translations/mapCollections/mapCollection.mjs +0 -3
- package/translations/maps/hidingMap.js +0 -1
- package/translations/maps/hidingMap.mjs +0 -1
- package/translations/maps/index.js +2 -4
- package/translations/maps/index.mjs +2 -2
- package/translations/maps/indexMap.js +0 -2
- package/translations/maps/indexMap.mjs +0 -2
- package/translations/maps/linkedPhysicalIndexToValueMap.js +0 -3
- package/translations/maps/linkedPhysicalIndexToValueMap.mjs +0 -3
- package/translations/maps/trimmingMap.js +0 -1
- package/translations/maps/trimmingMap.mjs +0 -1
- package/translations/maps/utils/actionsOnIndexes.js +0 -2
- package/translations/maps/utils/actionsOnIndexes.mjs +0 -2
- package/translations/maps/utils/index.js +2 -2
- package/translations/maps/utils/index.mjs +2 -2
- package/translations/maps/utils/physicallyIndexed.js +0 -2
- package/translations/maps/utils/physicallyIndexed.mjs +0 -2
- package/utils/dataStructures/linkedList.js +0 -1
- package/utils/dataStructures/linkedList.mjs +0 -1
- package/utils/dataStructures/priorityMap.js +3 -5
- package/utils/dataStructures/priorityMap.mjs +3 -5
- package/utils/dataStructures/queue.js +0 -1
- package/utils/dataStructures/queue.mjs +0 -1
- package/utils/dataStructures/stack.js +0 -1
- package/utils/dataStructures/stack.mjs +0 -1
- package/utils/dataStructures/tree.js +2 -3
- package/utils/dataStructures/tree.mjs +2 -3
- package/utils/dataStructures/uniqueMap.js +2 -4
- package/utils/dataStructures/uniqueMap.mjs +2 -4
- package/utils/dataStructures/uniqueSet.js +2 -9
- package/utils/dataStructures/uniqueSet.mjs +2 -9
- package/utils/ghostTable.js +3 -6
- package/utils/ghostTable.mjs +3 -6
- package/utils/interval.js +0 -1
- package/utils/interval.mjs +0 -1
- package/utils/paginator.js +0 -7
- package/utils/paginator.mjs +0 -7
- package/utils/parseTable.js +0 -6
- package/utils/parseTable.mjs +0 -6
- package/utils/samplesGenerator.js +2 -3
- package/utils/samplesGenerator.mjs +2 -3
- package/utils/stylesHandler.js +49 -60
- package/utils/stylesHandler.mjs +48 -60
- package/validators/autocompleteValidator/autocompleteValidator.js +9 -1
- package/validators/autocompleteValidator/autocompleteValidator.mjs +10 -2
- package/validators/dateValidator/dateValidator.js +2 -2
- package/validators/dateValidator/dateValidator.mjs +1 -1
- package/validators/index.d.ts +6 -0
- package/validators/index.js +12 -0
- package/validators/index.mjs +7 -1
- package/validators/intlDateValidator/index.d.ts +1 -0
- package/validators/intlDateValidator/index.js +8 -0
- package/validators/intlDateValidator/index.mjs +1 -0
- package/validators/intlDateValidator/intlDateValidator.d.ts +6 -0
- package/validators/intlDateValidator/intlDateValidator.js +39 -0
- package/validators/intlDateValidator/intlDateValidator.mjs +34 -0
- package/validators/intlTimeValidator/index.d.ts +1 -0
- package/validators/intlTimeValidator/index.js +8 -0
- package/validators/intlTimeValidator/index.mjs +1 -0
- package/validators/intlTimeValidator/intlTimeValidator.d.ts +6 -0
- package/validators/intlTimeValidator/intlTimeValidator.js +39 -0
- package/validators/intlTimeValidator/intlTimeValidator.mjs +34 -0
- package/validators/multiSelectValidator/index.js +6 -0
- package/validators/multiSelectValidator/index.mjs +1 -0
- package/validators/multiSelectValidator/multiSelectValidator.js +84 -0
- package/validators/multiSelectValidator/multiSelectValidator.mjs +80 -0
- package/validators/registry.js +2 -2
- package/validators/registry.mjs +2 -2
- package/dist/README.md +0 -54
- package/dist/handsontable.css +0 -2551
- package/dist/handsontable.full.css +0 -2781
- package/dist/handsontable.full.min.css +0 -51
- package/dist/handsontable.min.css +0 -46
- package/helpers/date.d.ts +0 -1
- package/helpers/date.js +0 -22
- package/helpers/date.mjs +0 -18
- package/plugins/persistentState/index.d.ts +0 -1
- package/plugins/persistentState/index.js +0 -7
- package/plugins/persistentState/index.mjs +0 -1
- package/plugins/persistentState/persistentState.d.ts +0 -16
- package/plugins/persistentState/persistentState.js +0 -159
- package/plugins/persistentState/persistentState.mjs +0 -154
- package/plugins/persistentState/storage.js +0 -120
- package/plugins/persistentState/storage.mjs +0 -117
|
@@ -25,6 +25,6 @@
|
|
|
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:
|
|
29
|
-
* Release date:
|
|
30
|
-
*/.ht-theme-main,.ht-theme-main-dark,.ht-theme-main-dark-auto{--ht-color-transparent-0:hsla(0,0%,100%,0);--ht-color-transparent-80:hsla(0,0%,100%,.8);--ht-color-gray-100:#fff;--ht-color-gray-200:#f7f7f9;--ht-color-gray-250:#ebebed;--ht-color-gray-300:#e7e7e9;--ht-color-gray-350:#d1d1d5;--ht-color-gray-400:#a3a3a3;--ht-color-gray-500:#68696c;--ht-color-gray-800:#222;--ht-color-gray-900:#0f0f10;--ht-color-gray-800-40:rgba(34,34,34,.4);--ht-color-gray-800-8:rgba(34,34,34,.08);--ht-color-gray-800-4:rgba(34,34,34,.04);--ht-color-accent-300:#5371ee;--ht-color-accent-350:#2e56fc;--ht-color-accent-400:#1a42e8;--ht-color-accent-500:#1535bc;--ht-color-accent-400-40:rgba(26,66,232,.4);--ht-color-notification-search:rgba(251,233,82,.8);--ht-color-notification-error:rgba(250,77,50,.2);--ht-color-notification-success:rgba(55,188,108,.2);--ht-color-notification-warning:rgba(251,233,82,.2);--ht-color-notification-informational:rgba(39,194,255,.2);--ht-common-accent:var(--ht-color-accent-400);--ht-common-background:var(--ht-color-gray-100);--ht-common-foreground:var(--ht-color-gray-800);--ht-common-border:var(--ht-color-gray-300);--ht-common-disabled:var(--ht-color-gray-400);--ht-common-read-only:var(--ht-color-gray-500);--ht-common-placeholder:var(--ht-color-gray-400);--ht-common-shadow:var(--ht-color-gray-800-8);--ht-common-background-secondary:var(--ht-color-gray-200);--ht-common-overlay:var(--ht-color-transparent-80);--ht-common-foreground-secondary:var(--ht-color-gray-500);--ht-font-size:14px;--ht-font-size-small:12px;--ht-line-height:20px;--ht-line-height-small:18px;--ht-font-weight:400;--ht-letter-spacing:0;--ht-gap-size:4px;--ht-icon-size:16px;--ht-table-transition:0.15s;--ht-border-color:var(--ht-common-border);--ht-accent-color:var(--ht-common-accent);--ht-foreground-color:var(--ht-common-foreground);--ht-foreground-secondary-color:var(--ht-common-foreground-secondary);--ht-background-color:var(--ht-common-background);--ht-placeholder-color:var(--ht-common-placeholder);--ht-read-only-color:var(--ht-common-read-only);--ht-disabled-color:var(--ht-common-disabled);--ht-shadow-color:var(--ht-common-shadow);--ht-shadow-x:0;--ht-shadow-y:8px;--ht-shadow-blur:16px;--ht-bar-foreground-color:var(--ht-common-foreground);--ht-bar-background-color:var(--ht-common-background-secondary);--ht-bar-horizontal-padding:16px;--ht-bar-vertical-padding:8px;--ht-cell-horizontal-border-color:var(--ht-common-border);--ht-cell-vertical-border-color:var(--ht-common-border);--ht-wrapper-border-width:0;--ht-wrapper-border-radius:4px;--ht-wrapper-border-color:var(--ht-common-border);--ht-row-header-odd-background-color:var(--ht-common-background-secondary);--ht-row-header-even-background-color:var(--ht-common-background-secondary);--ht-row-cell-odd-background-color:var(--ht-color-transparent-0);--ht-row-cell-even-background-color:var(--ht-color-transparent-0);--ht-cell-horizontal-padding:8px;--ht-cell-vertical-padding:4px;--ht-cell-editor-border-width:2px;--ht-cell-editor-border-color:var(--ht-common-accent);--ht-cell-editor-foreground-color:var(--ht-color-gray-900);--ht-cell-editor-background-color:var(--ht-common-background);--ht-cell-editor-shadow-blur-radius:0;--ht-cell-editor-shadow-color:var(--ht-common-accent);--ht-cell-success-background-color:var(--ht-color-notification-success);--ht-cell-error-background-color:var(--ht-color-notification-error);--ht-cell-read-only-background-color:var(--ht-color-gray-800-4);--ht-cell-selection-border-color:var(--ht-common-accent);--ht-cell-selection-background-color:var(--ht-color-accent-350);--ht-cell-autofill-size:6px;--ht-cell-autofill-border-width:1px;--ht-cell-autofill-border-radius:4px;--ht-cell-autofill-border-color:var(--ht-common-background);--ht-cell-autofill-background-color:var(--ht-common-accent);--ht-cell-autofill-fill-border-color:var(--ht-common-foreground);--ht-cell-mobile-handle-size:12px;--ht-cell-mobile-handle-border-width:1px;--ht-cell-mobile-handle-border-radius:6px;--ht-cell-mobile-handle-border-color:var(--ht-common-accent);--ht-cell-mobile-handle-background-color:var(--ht-color-accent-400-40);--ht-resize-indicator-color:var(--ht-color-gray-800-40);--ht-move-backlight-color:var(--ht-color-gray-800-8);--ht-move-indicator-color:var(--ht-common-accent);--ht-hidden-indicator-color:var(--ht-color-gray-800-40);--ht-scrollbar-border-radius:8px;--ht-scrollbar-track-color:var(--ht-common-background-secondary);--ht-scrollbar-thumb-color:var(--ht-color-gray-400);--ht-header-font-weight:var(--ht-font-weight);--ht-header-foreground-color:var(--ht-common-foreground);--ht-header-background-color:var(--ht-common-background-secondary);--ht-header-highlighted-shadow-size:0;--ht-header-highlighted-foreground-color:var(--ht-color-gray-900);--ht-header-highlighted-background-color:var(--ht-color-gray-250);--ht-header-active-border-color:var(--ht-color-accent-350);--ht-header-active-foreground-color:var(--ht-common-background);--ht-header-active-background-color:var(--ht-common-accent);--ht-header-filter-background-color:var(--ht-color-notification-success);--ht-header-row-foreground-color:var(--ht-common-foreground);--ht-header-row-background-color:var(--ht-common-background-secondary);--ht-header-row-highlighted-foreground-color:var(--ht-color-gray-900);--ht-header-row-highlighted-background-color:var(--ht-color-gray-250);--ht-header-row-active-foreground-color:var(--ht-common-background);--ht-header-row-active-background-color:var(--ht-common-accent);--ht-checkbox-size:var(--ht-icon-size);--ht-checkbox-border-radius:4px;--ht-checkbox-border-color:var(--ht-color-gray-350);--ht-checkbox-background-color:var(--ht-common-background);--ht-checkbox-icon-color:var(--ht-color-transparent-0);--ht-checkbox-focus-border-color:var(--ht-color-gray-350);--ht-checkbox-focus-background-color:var(--ht-common-background);--ht-checkbox-focus-icon-color:var(--ht-color-transparent-0);--ht-checkbox-focus-ring-color:var(--ht-common-accent);--ht-checkbox-disabled-border-color:var(--ht-common-border);--ht-checkbox-disabled-background-color:var(--ht-color-gray-350);--ht-checkbox-disabled-icon-color:var(--ht-color-transparent-0);--ht-checkbox-checked-border-color:var(--ht-color-accent-350);--ht-checkbox-checked-background-color:var(--ht-common-accent);--ht-checkbox-checked-icon-color:var(--ht-common-background);--ht-checkbox-checked-focus-border-color:var(--ht-common-background);--ht-checkbox-checked-focus-background-color:var(--ht-common-accent);--ht-checkbox-checked-focus-icon-color:var(--ht-common-background);--ht-checkbox-checked-disabled-border-color:var(--ht-common-border);--ht-checkbox-checked-disabled-background-color:var(--ht-color-gray-350);--ht-checkbox-checked-disabled-icon-color:var(--ht-common-disabled);--ht-checkbox-indeterminate-border-color:var(--ht-color-accent-350);--ht-checkbox-indeterminate-background-color:var(--ht-common-accent);--ht-checkbox-indeterminate-icon-color:var(--ht-common-background);--ht-checkbox-indeterminate-focus-border-color:var(--ht-color-gray-100);--ht-checkbox-indeterminate-focus-background-color:var(--ht-common-accent);--ht-checkbox-indeterminate-focus-icon-color:var(--ht-common-background);--ht-checkbox-indeterminate-disabled-border-color:var(--ht-common-border);--ht-checkbox-indeterminate-disabled-background-color:var(--ht-color-gray-350);--ht-checkbox-indeterminate-disabled-icon-color:var(--ht-common-disabled);--ht-radio-size:var(--ht-icon-size);--ht-radio-border-color:var(--ht-color-gray-350);--ht-radio-background-color:var(--ht-common-background);--ht-radio-icon-color:var(--ht-color-transparent-0);--ht-radio-focus-border-color:var(--ht-common-border);--ht-radio-focus-background-color:var(--ht-common-background);--ht-radio-focus-icon-color:var(--ht-color-transparent-0);--ht-radio-focus-ring-color:var(--ht-common-accent);--ht-radio-disabled-border-color:var(--ht-common-border);--ht-radio-disabled-background-color:var(--ht-color-gray-350);--ht-radio-disabled-icon-color:var(--ht-color-transparent-0);--ht-radio-checked-border-color:var(--ht-common-accent);--ht-radio-checked-background-color:var(--ht-common-background);--ht-radio-checked-icon-color:var(--ht-common-accent);--ht-radio-checked-focus-border-color:var(--ht-color-accent-350);--ht-radio-checked-focus-background-color:var(--ht-common-background);--ht-radio-checked-focus-icon-color:var(--ht-color-accent-350);--ht-radio-checked-disabled-border-color:var(--ht-common-border);--ht-radio-checked-disabled-background-color:var(--ht-color-gray-350);--ht-radio-checked-disabled-icon-color:var(--ht-common-disabled);--ht-icon-button-border-radius:2px;--ht-icon-button-large-border-radius:4px;--ht-icon-button-large-padding:4px;--ht-icon-button-border-color:var(--ht-common-background-secondary);--ht-icon-button-background-color:var(--ht-common-background-secondary);--ht-icon-button-icon-color:var(--ht-color-gray-800-40);--ht-icon-button-hover-border-color:var(--ht-color-gray-300);--ht-icon-button-hover-background-color:var(--ht-color-gray-300);--ht-icon-button-hover-icon-color:var(--ht-color-gray-800-40);--ht-icon-button-active-border-color:var(--ht-color-accent-350);--ht-icon-button-active-background-color:var(--ht-common-accent);--ht-icon-button-active-icon-color:var(--ht-common-background);--ht-icon-button-active-hover-border-color:var(--ht-color-accent-350);--ht-icon-button-active-hover-background-color:var(--ht-color-accent-350);--ht-icon-button-active-hover-icon-color:var(--ht-common-background);--ht-collapse-button-border-radius:4px;--ht-collapse-button-open-border-color:var(--ht-color-gray-350);--ht-collapse-button-open-background-color:var(--ht-common-background);--ht-collapse-button-open-icon-color:var(--ht-color-gray-500);--ht-collapse-button-open-icon-active-color:var(--ht-color-gray-500);--ht-collapse-button-open-hover-border-color:var(--ht-color-gray-350);--ht-collapse-button-open-hover-background-color:var(--ht-common-background-secondary);--ht-collapse-button-open-hover-icon-color:var(--ht-color-gray-500);--ht-collapse-button-open-hover-icon-active-color:var(--ht-color-gray-500);--ht-collapse-button-close-border-color:var(--ht-color-gray-350);--ht-collapse-button-close-background-color:var(--ht-color-gray-250);--ht-collapse-button-close-icon-color:var(--ht-color-gray-500);--ht-collapse-button-close-icon-active-color:var(--ht-color-gray-500);--ht-collapse-button-close-hover-border-color:var(--ht-color-gray-350);--ht-collapse-button-close-hover-background-color:var(--ht-color-gray-250);--ht-collapse-button-close-hover-icon-color:var(--ht-color-gray-500);--ht-collapse-button-close-hover-icon-active-color:var(--ht-color-gray-500);--ht-button-border-radius:4px;--ht-button-horizontal-padding:12px;--ht-button-vertical-padding:6px;--ht-primary-button-border-color:var(--ht-color-transparent-0);--ht-primary-button-foreground-color:var(--ht-common-background);--ht-primary-button-background-color:var(--ht-common-accent);--ht-primary-button-disabled-border-color:var(--ht-color-transparent-0);--ht-primary-button-disabled-foreground-color:var(--ht-common-disabled);--ht-primary-button-disabled-background-color:var(--ht-color-gray-250);--ht-primary-button-hover-border-color:var(--ht-color-transparent-0);--ht-primary-button-hover-foreground-color:var(--ht-common-background);--ht-primary-button-hover-background-color:var(--ht-color-accent-500);--ht-primary-button-focus-border-color:var(--ht-common-background);--ht-primary-button-focus-foreground-color:var(--ht-common-background);--ht-primary-button-focus-background-color:var(--ht-common-accent);--ht-secondary-button-border-color:var(--ht-common-border);--ht-secondary-button-foreground-color:var(--ht-common-foreground);--ht-secondary-button-background-color:var(--ht-common-background);--ht-secondary-button-disabled-border-color:var(--ht-common-border);--ht-secondary-button-disabled-foreground-color:var(--ht-common-disabled);--ht-secondary-button-disabled-background-color:var(--ht-color-gray-250);--ht-secondary-button-hover-border-color:var(--ht-common-border);--ht-secondary-button-hover-foreground-color:var(--ht-common-foreground);--ht-secondary-button-hover-background-color:var(--ht-common-border);--ht-secondary-button-focus-border-color:var(--ht-common-border);--ht-secondary-button-focus-foreground-color:var(--ht-common-foreground);--ht-secondary-button-focus-background-color:var(--ht-common-background);--ht-comments-textarea-horizontal-padding:8px;--ht-comments-textarea-vertical-padding:4px;--ht-comments-textarea-border-width:1px;--ht-comments-textarea-border-color:var(--ht-color-transparent-0);--ht-comments-textarea-foreground-color:var(--ht-common-foreground);--ht-comments-textarea-background-color:var(--ht-common-background-secondary);--ht-comments-textarea-focus-border-width:1px;--ht-comments-textarea-focus-border-color:var(--ht-common-accent);--ht-comments-textarea-focus-foreground-color:var(--ht-common-foreground);--ht-comments-textarea-focus-background-color:var(--ht-common-background);--ht-comments-indicator-size:6px;--ht-comments-indicator-color:var(--ht-common-accent);--ht-license-horizontal-padding:var(--ht-bar-horizontal-padding);--ht-license-vertical-padding:var(--ht-bar-vertical-padding);--ht-license-foreground-color:var(--ht-common-foreground);--ht-license-background-color:var(--ht-common-background-secondary);--ht-link-color:var(--ht-color-accent-350);--ht-link-hover-color:var(--ht-color-accent-400);--ht-input-border-width:1px;--ht-input-border-radius:var(--ht-checkbox-border-radius);--ht-input-horizontal-padding:12px;--ht-input-vertical-padding:6px;--ht-input-border-color:var(--ht-common-border);--ht-input-foreground-color:var(--ht-common-foreground);--ht-input-background-color:var(--ht-common-background-secondary);--ht-input-hover-border-color:var(--ht-common-border);--ht-input-hover-foreground-color:var(--ht-common-foreground);--ht-input-hover-background-color:var(--ht-common-background);--ht-input-disabled-border-color:var(--ht-common-border);--ht-input-disabled-foreground-color:var(--ht-common-disabled);--ht-input-disabled-background-color:var(--ht-color-gray-350);--ht-input-focus-border-color:var(--ht-common-accent);--ht-input-focus-foreground-color:var(--ht-common-foreground);--ht-input-focus-background-color:var(--ht-common-background);--ht-menu-border-width:1px;--ht-menu-border-radius:4px;--ht-menu-horizontal-padding:0;--ht-menu-vertical-padding:8px;--ht-menu-item-horizontal-padding:12px;--ht-menu-item-vertical-padding:4px;--ht-menu-border-color:var(--ht-common-border);--ht-menu-shadow-x:var(--ht-shadow-x);--ht-menu-shadow-y:var(--ht-shadow-y);--ht-menu-shadow-blur:var(--ht-shadow-blur);--ht-menu-shadow-color:var(--ht-common-shadow);--ht-menu-item-hover-color:var(--ht-color-gray-800-4);--ht-menu-item-active-color:var(--ht-color-gray-800-8);--ht-dialog-semi-transparent-background-color:var(--ht-common-overlay);--ht-dialog-solid-background-color:var(--ht-common-background);--ht-dialog-content-padding-horizontal:8px;--ht-dialog-content-padding-vertical:8px;--ht-dialog-content-border-radius:8px;--ht-dialog-content-background-color:var(--ht-common-background-secondary);--ht-pagination-bar-foreground-color:var(--ht-common-foreground);--ht-pagination-bar-background-color:var(--ht-common-background-secondary);--ht-pagination-bar-horizontal-padding:var(--ht-bar-horizontal-padding);--ht-pagination-bar-vertical-padding:var(--ht-bar-vertical-padding)}.ht-theme-main-dark{--ht-color-transparent-0:transparent;--ht-color-transparent-80:rgba(0,0,0,.8);--ht-color-gray-100:#050506;--ht-color-gray-200:#1e1e1f;--ht-color-gray-250:#282829;--ht-color-gray-300:#313132;--ht-color-gray-350:#404144;--ht-color-gray-400:#68696c;--ht-color-gray-500:#a3a3a3;--ht-color-gray-800:#c7c7c7;--ht-color-gray-900:#fff;--ht-color-gray-800-40:hsla(0,0%,78%,.4);--ht-color-gray-800-8:hsla(0,0%,78%,.16);--ht-color-gray-800-4:hsla(0,0%,78%,.12);--ht-color-accent-300:#2e56fc;--ht-color-accent-350:#5573f0;--ht-color-accent-400:#476af7;--ht-color-accent-500:#6180ff;--ht-color-accent-400-40:rgba(71,106,247,.4);--ht-color-notification-search:rgba(255,231,34,.3);--ht-color-notification-error:rgba(255,42,52,.3);--ht-color-notification-success:rgba(66,190,101,.3);--ht-color-notification-warning:rgba(241,194,28,.3);--ht-color-notification-informational:rgba(39,194,255,.3);--ht-common-accent:var(--ht-color-accent-400);--ht-common-background:var(--ht-color-gray-100);--ht-common-foreground:var(--ht-color-gray-800);--ht-common-border:var(--ht-color-gray-300);--ht-common-disabled:var(--ht-color-gray-400);--ht-common-read-only:var(--ht-color-gray-500);--ht-common-placeholder:var(--ht-color-gray-400);--ht-common-shadow:var(--ht-color-transparent-80);--ht-common-background-secondary:var(--ht-color-gray-200);--ht-common-overlay:var(--ht-color-transparent-80);--ht-common-foreground-secondary:var(--ht-color-gray-500)}@media(prefers-color-scheme:dark){.ht-theme-main-dark-auto{--ht-color-transparent-0:transparent;--ht-color-transparent-80:rgba(0,0,0,.8);--ht-color-gray-100:#050506;--ht-color-gray-200:#1e1e1f;--ht-color-gray-250:#282829;--ht-color-gray-300:#313132;--ht-color-gray-350:#404144;--ht-color-gray-400:#68696c;--ht-color-gray-500:#a3a3a3;--ht-color-gray-800:#c7c7c7;--ht-color-gray-900:#fff;--ht-color-gray-800-40:hsla(0,0%,78%,.4);--ht-color-gray-800-8:hsla(0,0%,78%,.16);--ht-color-gray-800-4:hsla(0,0%,78%,.12);--ht-color-accent-300:#2e56fc;--ht-color-accent-350:#5573f0;--ht-color-accent-400:#476af7;--ht-color-accent-500:#6180ff;--ht-color-accent-400-40:rgba(71,106,247,.4);--ht-color-notification-search:rgba(255,231,34,.3);--ht-color-notification-error:rgba(255,42,52,.3);--ht-color-notification-success:rgba(66,190,101,.3);--ht-color-notification-warning:rgba(241,194,28,.3);--ht-color-notification-informational:rgba(39,194,255,.3);--ht-common-accent:var(--ht-color-accent-400);--ht-common-background:var(--ht-color-gray-100);--ht-common-foreground:var(--ht-color-gray-800);--ht-common-border:var(--ht-color-gray-300);--ht-common-disabled:var(--ht-color-gray-400);--ht-common-read-only:var(--ht-color-gray-500);--ht-common-placeholder:var(--ht-color-gray-400);--ht-common-shadow:var(--ht-color-transparent-80);--ht-common-background-secondary:var(--ht-color-gray-200);--ht-common-overlay:var(--ht-color-transparent-80);--ht-common-foreground-secondary:var(--ht-color-gray-500)}}[class*=ht-theme-main] .htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,[class*=ht-theme-main] .htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,[class*=ht-theme-main] .htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after,[class*=ht-theme-main] .pika-single .pika-next{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .pika-single .pika-prev{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-size-section__select-wrapper:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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='M11.586 6 8.293 9.293 5 6' opacity='.6'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .changeType:before,[class*=ht-theme-main] .htAutocompleteArrow:after,[class*=ht-theme-main] .htUISelectCaption:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .columnSorting.sortAction.ascending:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .columnSorting.sortAction.descending:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-navigation-section .ht-page-first:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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='m11.071 4.642-3.35 3.35 3.35 3.35M4.93 4.084v7.258'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] [dir=rtl] .ht-page-navigation-section .ht-page-first:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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.93 4.642 3.35 3.35-3.35 3.35m6.141-7.258v7.258'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-navigation-section .ht-page-prev:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-navigation-section .ht-page-next:before,[class*=ht-theme-main] [dir=rtl] .ht-page-navigation-section .ht-page-prev:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] [dir=rtl] .ht-page-navigation-section .ht-page-next:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-navigation-section .ht-page-last:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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.93 4.642 3.35 3.35-3.35 3.35m6.141-7.258v7.258'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] [dir=rtl] .ht-page-navigation-section .ht-page-last:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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='m11.071 4.642-3.35 3.35 3.35 3.35M4.93 4.084v7.258'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .htContextMenu table tbody tr td .htItemWrapper span.selected:after,[class*=ht-theme-main] .htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,[class*=ht-theme-main] .htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .htCheckboxRendererInput{appearance:none}[class*=ht-theme-main] .htCheckboxRendererInput:after{-webkit-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")}[class*=ht-theme-main] .htCheckboxRendererInput:after,[class*=ht-theme-main] th.beforeHiddenColumn:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] th.beforeHiddenColumn:after{-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath fill='currentColor' d='m6.085 1.358.03-.003h.061l.03.003.032.004.027.006.056.016.035.014.069.037.047.034.042.038.043.049.028.04.028.05.01.018.013.035.017.057.005.027.005.031.003.03v6.28a.521.521 0 0 1-.845.409l-.043-.04-3.125-3.125a.52.52 0 0 1-.044-.687l.044-.05 3.125-3.124.048-.044.04-.028.05-.028.02-.009.034-.014.056-.016.028-.006z'/%3E%3C/svg%3E")}[class*=ht-theme-main] th.afterHiddenColumn:before{-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath fill='currentColor' d='M3.333 1.875c0-.444.514-.676.846-.408l.043.04 3.125 3.125a.52.52 0 0 1 .044.687l-.044.05-3.125 3.124-.049.043-.04.029-.05.028-.018.009-.035.014-.057.016-.027.005-.031.006-.03.002h-.062l-.03-.003-.031-.005-.027-.005-.056-.016-.035-.014-.069-.037-.047-.034-.042-.038-.043-.049-.028-.04-.029-.05-.008-.019-.014-.034-.017-.057-.005-.027-.006-.032-.002-.03z'/%3E%3C/svg%3E")}[class*=ht-theme-main] th.afterHiddenColumn:before,[class*=ht-theme-main] th.beforeHiddenRow:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] th.beforeHiddenRow:after{-webkit-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")}[class*=ht-theme-main] th.afterHiddenRow:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .collapsibleIndicator:before,[class*=ht-theme-main] .ht_nestingButton:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .collapsibleIndicator.collapsed:before,[class*=ht-theme-main] .collapsibleIndicator.ht_nestingExpand:before,[class*=ht-theme-main] .ht_nestingButton.collapsed:before,[class*=ht-theme-main] .ht_nestingButton.ht_nestingExpand:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .htUIRadio>input[type=radio]:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}
|
|
28
|
+
* Version: 17.0.0-rc1
|
|
29
|
+
* Release date: 20/02/2026 (built at 20/02/2026 12:47:48)
|
|
30
|
+
*/.ht-theme-main,.ht-theme-main-dark,.ht-theme-main-dark-auto{--ht-sizing-size-0:0px;--ht-sizing-size-0-5:2px;--ht-sizing-size-1:4px;--ht-sizing-size-2:8px;--ht-sizing-size-1-5:6px;--ht-sizing-size-3:12px;--ht-sizing-size-4:16px;--ht-sizing-size-5:20px;--ht-sizing-size-6:24px;--ht-sizing-size-7:28px;--ht-sizing-size-8:32px;--ht-sizing-size-9:36px;--ht-sizing-size-10:40px;--ht-sizing-size-0-25:1px;--ht-density-cell-vertical:var(--ht-sizing-size-1);--ht-density-cell-horizontal:var(--ht-sizing-size-2);--ht-density-bars-horizontal:var(--ht-sizing-size-4);--ht-density-bars-vertical:var(--ht-sizing-size-2);--ht-density-gap:var(--ht-sizing-size-1);--ht-density-button-horizontal:var(--ht-sizing-size-3);--ht-density-button-vertical:var(--ht-sizing-size-1-5);--ht-density-dialog-horizontal:var(--ht-sizing-size-2);--ht-density-dialog-vertical:var(--ht-sizing-size-2);--ht-density-input-horizontal:var(--ht-sizing-size-3);--ht-density-input-vertical:var(--ht-sizing-size-1-5);--ht-density-menu-vertical:var(--ht-sizing-size-2);--ht-density-menu-horizontal:var(--ht-sizing-size-0);--ht-density-menu-item-vertical:var(--ht-sizing-size-1);--ht-density-menu-item-horizontal:var(--ht-sizing-size-3);--ht-colors-white:#fff;--ht-colors-black:#000;--ht-colors-primary-100:#6180ff;--ht-colors-primary-200:#5573f0;--ht-colors-primary-300:#4669f6;--ht-colors-primary-400:#2e56fc;--ht-colors-primary-500:#1a42e8;--ht-colors-primary-600:#1535bc;--ht-colors-palette-50:#f7f7f9;--ht-colors-palette-100:#e7e7e9;--ht-colors-palette-200:#b9b9bb;--ht-colors-palette-300:#a3a3a3;--ht-colors-palette-400:#68696c;--ht-colors-palette-500:#404144;--ht-colors-palette-600:#313132;--ht-colors-palette-700:#282829;--ht-colors-palette-800:#222;--ht-colors-palette-900:#1e1e1f;--ht-colors-palette-950:#050506;--ht-colors-transparent:#ffffff00;--ht-font-family:Inter;--ht-font-size:14px;--ht-font-size-small:12px;--ht-line-height:20px;--ht-line-height-small:18px;--ht-font-weight:400;--ht-letter-spacing:0px;--ht-border-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-accent-color:light-dark(var(--ht-colors-primary-500),var(--ht-colors-primary-300));--ht-foreground-color:light-dark(var(--ht-colors-palette-800),var(--ht-colors-palette-200));--ht-foreground-secondary-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-background-color:light-dark(var(--ht-colors-white),var(--ht-colors-palette-950));--ht-background-secondary-color:light-dark(var(--ht-colors-palette-50),var(--ht-colors-palette-900));--ht-placeholder-color:light-dark(var(--ht-colors-palette-300),var(--ht-colors-palette-400));--ht-read-only-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-disabled-color:light-dark(var(--ht-colors-palette-300),var(--ht-colors-palette-400));--ht-gap-size:var(--ht-density-gap);--ht-icon-size:var(--ht-sizing-size-4);--ht-table-transition:0.15s;--ht-wrapper-border-width:0px;--ht-wrapper-border-radius:var(--ht-sizing-size-1);--ht-wrapper-border-color:var(--ht-border-color);--ht-bar-foreground-color:var(--ht-foreground-color);--ht-bar-background-color:var(--ht-background-secondary-color);--ht-bar-horizontal-padding:var(--ht-density-bars-horizontal);--ht-bar-vertical-padding:var(--ht-density-bars-vertical);--ht-shadow-color:light-dark(var(--ht-colors-palette-800),var(--ht-colors-palette-200));--ht-shadow-x:var(--ht-sizing-size-0);--ht-shadow-y:var(--ht-sizing-size-2);--ht-shadow-blur:var(--ht-sizing-size-4);--ht-shadow-opacity:8%;--ht-cell-horizontal-padding:var(--ht-density-cell-horizontal);--ht-cell-vertical-padding:var(--ht-density-cell-vertical);--ht-cell-horizontal-border-color:var(--ht-border-color);--ht-cell-vertical-border-color:var(--ht-border-color);--ht-cell-selection-border-color:var(--ht-accent-color);--ht-cell-selection-background-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-cell-success-background-color:#37bc6c33;--ht-cell-error-background-color:#fa4d3233;--ht-cell-read-only-background-color:var(--ht-background-secondary-color);--ht-cell-autofill-size:var(--ht-sizing-size-1-5);--ht-cell-autofill-hit-area-size:var(--ht-sizing-size-3);--ht-cell-autofill-border-width:var(--ht-sizing-size-0-25);--ht-cell-autofill-border-radius:var(--ht-sizing-size-1);--ht-cell-autofill-border-color:var(--ht-background-color);--ht-cell-autofill-background-color:var(--ht-accent-color);--ht-cell-autofill-fill-border-color:var(--ht-foreground-color);--ht-cell-editor-border-width:2px;--ht-cell-editor-border-color:var(--ht-accent-color);--ht-cell-editor-foreground-color:light-dark(var(--ht-colors-palette-950),var(--ht-colors-white));--ht-cell-editor-background-color:var(--ht-background-color);--ht-cell-editor-shadow-blur-radius:0px;--ht-cell-editor-shadow-color:var(--ht-accent-color);--ht-cell-mobile-handle-size:var(--ht-sizing-size-3);--ht-cell-mobile-handle-border-width:var(--ht-sizing-size-0-25);--ht-cell-mobile-handle-border-radius:var(--ht-sizing-size-3);--ht-cell-mobile-handle-border-color:var(--ht-accent-color);--ht-cell-mobile-handle-background-color:var(--ht-accent-color);--ht-cell-mobile-handle-background-opacity:40%;--ht-header-font-weight:var(--ht-font-weight);--ht-header-foreground-color:var(--ht-foreground-color);--ht-header-background-color:var(--ht-background-secondary-color);--ht-header-highlighted-shadow-size:0px;--ht-header-highlighted-foreground-color:light-dark(var(--ht-colors-palette-950),var(--ht-colors-white));--ht-header-highlighted-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-header-active-border-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-header-active-foreground-color:var(--ht-colors-white);--ht-header-active-background-color:var(--ht-accent-color);--ht-header-filter-background-color:var(--ht-cell-success-background-color);--ht-header-row-foreground-color:var(--ht-foreground-color);--ht-header-row-background-color:var(--ht-background-secondary-color);--ht-header-row-highlighted-foreground-color:light-dark(var(--ht-colors-palette-950),var(--ht-colors-white));--ht-header-row-highlighted-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-header-row-active-foreground-color:var(--ht-colors-white);--ht-header-row-active-background-color:var(--ht-accent-color);--ht-row-header-odd-background-color:var(--ht-background-secondary-color);--ht-row-header-even-background-color:var(--ht-background-secondary-color);--ht-row-cell-odd-background-color:var(--ht-background-color);--ht-row-cell-even-background-color:var(--ht-background-color);--ht-button-border-radius:var(--ht-sizing-size-1);--ht-button-horizontal-padding:var(--ht-density-button-horizontal);--ht-button-vertical-padding:var(--ht-density-button-vertical);--ht-primary-button-border-color:var(--ht-colors-transparent);--ht-primary-button-foreground-color:var(--ht-colors-white);--ht-primary-button-background-color:var(--ht-accent-color);--ht-primary-button-disabled-border-color:var(--ht-colors-transparent);--ht-primary-button-disabled-foreground-color:var(--ht-disabled-color);--ht-primary-button-disabled-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-primary-button-hover-border-color:var(--ht-colors-transparent);--ht-primary-button-hover-foreground-color:var(--ht-background-color);--ht-primary-button-hover-background-color:light-dark(var(--ht-colors-primary-600),var(--ht-colors-primary-100));--ht-primary-button-focus-border-color:var(--ht-background-color);--ht-primary-button-focus-foreground-color:var(--ht-background-color);--ht-primary-button-focus-background-color:var(--ht-accent-color);--ht-secondary-button-border-color:var(--ht-border-color);--ht-secondary-button-foreground-color:var(--ht-foreground-color);--ht-secondary-button-background-color:var(--ht-background-color);--ht-secondary-button-disabled-border-color:var(--ht-border-color);--ht-secondary-button-disabled-foreground-color:var(--ht-disabled-color);--ht-secondary-button-disabled-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-secondary-button-hover-border-color:var(--ht-border-color);--ht-secondary-button-hover-foreground-color:var(--ht-foreground-color);--ht-secondary-button-hover-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-secondary-button-focus-border-color:var(--ht-border-color);--ht-secondary-button-focus-foreground-color:var(--ht-foreground-color);--ht-secondary-button-focus-background-color:var(--ht-background-color);--ht-icon-button-border-radius:var(--ht-sizing-size-0-5);--ht-icon-button-large-border-radius:var(--ht-sizing-size-1);--ht-icon-button-large-padding:var(--ht-sizing-size-1);--ht-icon-button-border-color:light-dark(var(--ht-colors-palette-50),var(--ht-colors-palette-900));--ht-icon-button-background-color:var(--ht-background-secondary-color);--ht-icon-button-icon-color:light-dark(var(--ht-colors-palette-300),var(--ht-colors-palette-400));--ht-icon-button-hover-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-600));--ht-icon-button-hover-background-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-600));--ht-icon-button-hover-icon-color:light-dark(var(--ht-colors-palette-300),var(--ht-colors-palette-400));--ht-icon-button-active-border-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-icon-button-active-background-color:var(--ht-accent-color);--ht-icon-button-active-icon-color:var(--ht-colors-white);--ht-icon-button-active-hover-border-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-icon-button-active-hover-background-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-icon-button-active-hover-icon-color:var(--ht-colors-white);--ht-collapse-button-border-radius:var(--ht-sizing-size-1);--ht-collapse-button-open-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-collapse-button-open-background-color:light-dark(var(--ht-colors-white),var(--ht-colors-palette-950));--ht-collapse-button-open-icon-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-collapse-button-open-icon-active-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-collapse-button-open-hover-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-collapse-button-open-hover-background-color:light-dark(var(--ht-colors-palette-50),var(--ht-colors-palette-900));--ht-collapse-button-open-hover-icon-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-collapse-button-open-hover-icon-active-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-collapse-button-close-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-collapse-button-close-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-collapse-button-close-icon-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-collapse-button-close-icon-active-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-collapse-button-close-hover-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-collapse-button-close-hover-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-collapse-button-close-hover-icon-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-collapse-button-close-hover-icon-active-color:light-dark(var(--ht-colors-palette-400),var(--ht-colors-palette-300));--ht-link-color:light-dark(var(--ht-colors-primary-600),var(--ht-colors-primary-100));--ht-link-hover-color:var(--ht-accent-color);--ht-input-border-width:1px;--ht-input-border-radius:var(--ht-sizing-size-1);--ht-input-horizontal-padding:var(--ht-density-input-horizontal);--ht-input-vertical-padding:var(--ht-density-input-vertical);--ht-input-border-color:var(--ht-border-color);--ht-input-foreground-color:var(--ht-foreground-color);--ht-input-background-color:var(--ht-background-secondary-color);--ht-input-hover-border-color:var(--ht-border-color);--ht-input-hover-foreground-color:var(--ht-foreground-color);--ht-input-hover-background-color:var(--ht-background-color);--ht-input-disabled-border-color:var(--ht-border-color);--ht-input-disabled-foreground-color:var(--ht-disabled-color);--ht-input-disabled-background-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-input-focus-border-color:var(--ht-accent-color);--ht-input-focus-foreground-color:var(--ht-foreground-color);--ht-input-focus-background-color:var(--ht-background-color);--ht-checkbox-size:var(--ht-icon-size);--ht-checkbox-border-radius:var(--ht-sizing-size-1);--ht-checkbox-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-checkbox-background-color:var(--ht-background-color);--ht-checkbox-icon-color:var(--ht-colors-transparent);--ht-checkbox-focus-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-checkbox-focus-background-color:var(--ht-background-color);--ht-checkbox-focus-icon-color:var(--ht-colors-transparent);--ht-checkbox-focus-ring-color:var(--ht-accent-color);--ht-checkbox-disabled-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-checkbox-disabled-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-checkbox-disabled-icon-color:var(--ht-colors-transparent);--ht-checkbox-checked-border-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-checkbox-checked-background-color:var(--ht-accent-color);--ht-checkbox-checked-icon-color:var(--ht-colors-white);--ht-checkbox-checked-focus-border-color:var(--ht-background-color);--ht-checkbox-checked-focus-background-color:var(--ht-accent-color);--ht-checkbox-checked-focus-icon-color:var(--ht-colors-white);--ht-checkbox-checked-disabled-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-checkbox-checked-disabled-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-checkbox-checked-disabled-icon-color:var(--ht-disabled-color);--ht-checkbox-indeterminate-border-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-checkbox-indeterminate-background-color:var(--ht-accent-color);--ht-checkbox-indeterminate-icon-color:var(--ht-colors-white);--ht-checkbox-indeterminate-focus-border-color:var(--ht-background-color);--ht-checkbox-indeterminate-focus-background-color:var(--ht-accent-color);--ht-checkbox-indeterminate-focus-icon-color:var(--ht-colors-white);--ht-checkbox-indeterminate-disabled-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-600));--ht-checkbox-indeterminate-disabled-background-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-checkbox-indeterminate-disabled-icon-color:var(--ht-disabled-color);--ht-radio-size:var(--ht-icon-size);--ht-radio-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-radio-background-color:var(--ht-background-color);--ht-radio-icon-color:var(--ht-colors-transparent);--ht-radio-focus-border-color:var(--ht-border-color);--ht-radio-focus-background-color:var(--ht-background-color);--ht-radio-focus-icon-color:var(--ht-colors-transparent);--ht-radio-focus-ring-color:var(--ht-accent-color);--ht-radio-disabled-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-radio-disabled-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-radio-disabled-icon-color:var(--ht-colors-transparent);--ht-radio-checked-border-color:var(--ht-accent-color);--ht-radio-checked-background-color:var(--ht-background-color);--ht-radio-checked-icon-color:var(--ht-accent-color);--ht-radio-checked-focus-border-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-radio-checked-focus-background-color:var(--ht-background-color);--ht-radio-checked-focus-icon-color:light-dark(var(--ht-colors-primary-400),var(--ht-colors-primary-200));--ht-radio-checked-disabled-border-color:light-dark(var(--ht-colors-palette-200),var(--ht-colors-palette-500));--ht-radio-checked-disabled-background-color:light-dark(var(--ht-colors-palette-100),var(--ht-colors-palette-700));--ht-radio-checked-disabled-icon-color:var(--ht-disabled-color);--ht-move-backlight-color:light-dark(var(--ht-colors-palette-800),var(--ht-colors-palette-200));--ht-move-backlight-opacity:8%;--ht-move-indicator-color:var(--ht-accent-color);--ht-resize-indicator-color:light-dark(var(--ht-colors-palette-300),var(--ht-colors-palette-400));--ht-hidden-indicator-color:light-dark(var(--ht-colors-palette-300),var(--ht-colors-palette-400));--ht-menu-border-width:1px;--ht-menu-border-radius:var(--ht-sizing-size-1);--ht-menu-horizontal-padding:var(--ht-density-menu-horizontal);--ht-menu-vertical-padding:var(--ht-density-menu-vertical);--ht-menu-item-horizontal-padding:var(--ht-density-menu-item-horizontal);--ht-menu-item-vertical-padding:var(--ht-density-menu-item-vertical);--ht-menu-border-color:var(--ht-border-color);--ht-menu-shadow-x:var(--ht-shadow-x);--ht-menu-shadow-y:var(--ht-shadow-y);--ht-menu-shadow-blur:var(--ht-shadow-blur);--ht-menu-shadow-color:light-dark(var(--ht-colors-palette-950),var(--ht-colors-white));--ht-menu-shadow-opacity:8%;--ht-menu-item-hover-color:light-dark(var(--ht-colors-palette-800),var(--ht-colors-palette-200));--ht-menu-item-hover-color-opacity:4%;--ht-menu-item-active-color:var(--ht-accent-color);--ht-menu-item-active-color-opacity:8%;--ht-comments-textarea-horizontal-padding:var(--ht-density-cell-horizontal);--ht-comments-textarea-vertical-padding:var(--ht-density-cell-vertical);--ht-comments-textarea-border-width:1px;--ht-comments-textarea-border-color:var(--ht-colors-transparent);--ht-comments-textarea-foreground-color:var(--ht-foreground-color);--ht-comments-textarea-background-color:var(--ht-background-secondary-color);--ht-comments-textarea-focus-border-width:1px;--ht-comments-textarea-focus-border-color:var(--ht-accent-color);--ht-comments-textarea-focus-foreground-color:var(--ht-foreground-color);--ht-comments-textarea-focus-background-color:var(--ht-background-color);--ht-comments-indicator-size:var(--ht-sizing-size-1-5);--ht-comments-indicator-color:var(--ht-accent-color);--ht-license-horizontal-padding:var(--ht-bar-horizontal-padding);--ht-license-vertical-padding:var(--ht-bar-vertical-padding);--ht-license-foreground-color:var(--ht-bar-foreground-color);--ht-license-background-color:var(--ht-bar-background-color);--ht-pagination-bar-foreground-color:var(--ht-bar-foreground-color);--ht-pagination-bar-background-color:var(--ht-bar-background-color);--ht-pagination-bar-horizontal-padding:var(--ht-bar-horizontal-padding);--ht-pagination-bar-vertical-padding:var(--ht-bar-vertical-padding);--ht-dialog-semi-transparent-background-color:light-dark(var(--ht-colors-white),var(--ht-colors-palette-950));--ht-dialog-semi-transparent-background-opacity:80%;--ht-dialog-solid-background-color:light-dark(var(--ht-colors-white),var(--ht-colors-palette-950));--ht-dialog-content-padding-horizontal:var(--ht-density-dialog-horizontal);--ht-dialog-content-padding-vertical:var(--ht-density-dialog-vertical);--ht-dialog-content-border-radius:var(--ht-sizing-size-2);--ht-dialog-content-background-color:var(--ht-background-secondary-color);--ht-chip-background:var(--ht-background-secondary-color);--ht-chip-border-radius:var(--ht-sizing-size-0-5);--ht-chip-vertical-padding:var(--ht-sizing-size-0);--ht-chip-horizontal-padding:var(--ht-sizing-size-0-5);--ht-chip-gap:var(--ht-sizing-size-1);--ht-scrollbar-border-radius:var(--ht-sizing-size-2);--ht-scrollbar-track-color:var(--ht-background-secondary-color);--ht-scrollbar-thumb-color:light-dark(var(--ht-colors-palette-300),var(--ht-colors-palette-400))}.ht-theme-main{color-scheme:light}.ht-theme-main-dark{color-scheme:dark}.ht-theme-main-dark-auto{color-scheme:light dark}[class*=ht-theme-main] .htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,[class*=ht-theme-main] .htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,[class*=ht-theme-main] .htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after,[class*=ht-theme-main] .pika-single .pika-next{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .pika-single .pika-prev{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-size-section__select-wrapper:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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='M11.586 6 8.293 9.293 5 6' opacity='.6'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}.htAutocompleteArrow:after,[class*=ht-theme-main] .changeType:before,[class*=ht-theme-main] .htUISelectCaption:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .columnSorting.sortAction.ascending:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .columnSorting.sortAction.descending:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-navigation-section .ht-page-first:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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='m11.071 4.642-3.35 3.35 3.35 3.35M4.93 4.084v7.258'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] [dir=rtl] .ht-page-navigation-section .ht-page-first:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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.93 4.642 3.35 3.35-3.35 3.35m6.141-7.258v7.258'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-navigation-section .ht-page-prev:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-navigation-section .ht-page-next:before,[class*=ht-theme-main] [dir=rtl] .ht-page-navigation-section .ht-page-prev:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] [dir=rtl] .ht-page-navigation-section .ht-page-next:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-page-navigation-section .ht-page-last:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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.93 4.642 3.35 3.35-3.35 3.35m6.141-7.258v7.258'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] [dir=rtl] .ht-page-navigation-section .ht-page-last:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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='m11.071 4.642-3.35 3.35 3.35 3.35M4.93 4.084v7.258'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .htContextMenu table tbody tr td .htItemWrapper span.selected:after,[class*=ht-theme-main] .htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,[class*=ht-theme-main] .htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .htCheckboxRendererInput{appearance:none}[class*=ht-theme-main] .htCheckboxRendererInput:after{-webkit-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")}[class*=ht-theme-main] .htCheckboxRendererInput:after,[class*=ht-theme-main] th.beforeHiddenColumn:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] th.beforeHiddenColumn:after{-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath fill='currentColor' d='m6.085 1.358.03-.003h.061l.03.003.032.004.027.006.056.016.035.014.069.037.047.034.042.038.043.049.028.04.028.05.01.018.013.035.017.057.005.027.005.031.003.03v6.28a.521.521 0 0 1-.845.409l-.043-.04-3.125-3.125a.52.52 0 0 1-.044-.687l.044-.05 3.125-3.124.048-.044.04-.028.05-.028.02-.009.034-.014.056-.016.028-.006z'/%3E%3C/svg%3E")}[class*=ht-theme-main] th.afterHiddenColumn:before{-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath fill='currentColor' d='M3.333 1.875c0-.444.514-.676.846-.408l.043.04 3.125 3.125a.52.52 0 0 1 .044.687l-.044.05-3.125 3.124-.049.043-.04.029-.05.028-.018.009-.035.014-.057.016-.027.005-.031.006-.03.002h-.062l-.03-.003-.031-.005-.027-.005-.056-.016-.035-.014-.069-.037-.047-.034-.042-.038-.043-.049-.028-.04-.029-.05-.008-.019-.014-.034-.017-.057-.005-.027-.006-.032-.002-.03z'/%3E%3C/svg%3E")}[class*=ht-theme-main] th.afterHiddenColumn:before,[class*=ht-theme-main] th.beforeHiddenRow:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] th.beforeHiddenRow:after{-webkit-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")}[class*=ht-theme-main] th.afterHiddenRow:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .collapsibleIndicator:before,[class*=ht-theme-main] .ht_nestingButton:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .collapsibleIndicator.collapsed:before,[class*=ht-theme-main] .ht_nestingButton.ht_nestingExpand:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .htUIRadio>input[type=radio]:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-multi-select-chip-remove:before{background-color:currentColor;height:var(--ht-icon-size);-webkit-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='m12 4-8 8m0-8 8 8'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-multi-select-editor-search-icon{background-color:currentColor;height:var(--ht-icon-size);-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m28 28-8-8M4 13.333a9.333 9.333 0 1 0 18.666 0 9.333 9.333 0 0 0-18.666 0' opacity='.5'/%3E%3C/svg%3E");-webkit-mask-size:contain;width:var(--ht-icon-size)}[class*=ht-theme-main] .ht-multi-select-editor-item-selected input:after{background-color:currentColor;height:var(--ht-icon-size);-webkit-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");-webkit-mask-size:contain;width:var(--ht-icon-size)}
|
package/tableView.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
require("core-js/modules/es.error.cause.js");
|
|
5
|
-
require("core-js/modules/es.array.push.js");
|
|
6
4
|
var _element = require("./helpers/dom/element");
|
|
7
5
|
var _eventManager = _interopRequireDefault(require("./eventManager"));
|
|
8
6
|
var _event = require("./helpers/dom/event");
|
|
@@ -758,9 +756,23 @@ class TableView {
|
|
|
758
756
|
if (this.hot.hasHook('beforeValueRender')) {
|
|
759
757
|
value = this.hot.runHooks('beforeValueRender', value, cellProperties);
|
|
760
758
|
}
|
|
759
|
+
const renderer = this.hot.getCellRenderer(cellProperties);
|
|
760
|
+
let formattedValue = value;
|
|
761
|
+
if (typeof cellProperties.valueFormatter === 'function') {
|
|
762
|
+
formattedValue = cellProperties.valueFormatter(formattedValue, cellProperties);
|
|
763
|
+
} else if (typeof renderer.valueFormatter === 'function') {
|
|
764
|
+
formattedValue = renderer.valueFormatter.call(cellProperties, formattedValue, cellProperties);
|
|
765
|
+
}
|
|
761
766
|
this.hot.runHooks('beforeRenderer', TD, visualRowIndex, visualColumnIndex, prop, value, cellProperties);
|
|
762
|
-
this.hot
|
|
767
|
+
const rendererArgs = [this.hot, TD, visualRowIndex, visualColumnIndex, prop, formattedValue, cellProperties];
|
|
768
|
+
renderer(...rendererArgs);
|
|
769
|
+
if (!cellProperties._isBaseRendererCalled) {
|
|
770
|
+
this.hot.getCellRenderer({
|
|
771
|
+
renderer: 'base'
|
|
772
|
+
})(...rendererArgs);
|
|
773
|
+
}
|
|
763
774
|
this.hot.runHooks('afterRenderer', TD, visualRowIndex, visualColumnIndex, prop, value, cellProperties);
|
|
775
|
+
cellProperties._isBaseRendererCalled = false;
|
|
764
776
|
},
|
|
765
777
|
selections: this.hot.selection.highlight,
|
|
766
778
|
hideBorderOnMouseDownOver: () => this.settings.fragmentSelection,
|
|
@@ -1260,7 +1272,7 @@ class TableView {
|
|
|
1260
1272
|
}
|
|
1261
1273
|
}
|
|
1262
1274
|
if (renderedIndex > -1) {
|
|
1263
|
-
(0, _element.fastInnerHTML)(element, content(index, headerLevel));
|
|
1275
|
+
(0, _element.fastInnerHTML)(element, content(index, headerLevel), this.hot.getSettings().sanitizer);
|
|
1264
1276
|
} else {
|
|
1265
1277
|
// workaround for https://github.com/handsontable/handsontable/issues/1946
|
|
1266
1278
|
(0, _element.fastInnerText)(element, String.fromCharCode(160));
|
package/tableView.mjs
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.error.cause.js";
|
|
2
|
-
import "core-js/modules/es.array.push.js";
|
|
3
1
|
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
4
2
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
5
3
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
@@ -754,9 +752,23 @@ class TableView {
|
|
|
754
752
|
if (this.hot.hasHook('beforeValueRender')) {
|
|
755
753
|
value = this.hot.runHooks('beforeValueRender', value, cellProperties);
|
|
756
754
|
}
|
|
755
|
+
const renderer = this.hot.getCellRenderer(cellProperties);
|
|
756
|
+
let formattedValue = value;
|
|
757
|
+
if (typeof cellProperties.valueFormatter === 'function') {
|
|
758
|
+
formattedValue = cellProperties.valueFormatter(formattedValue, cellProperties);
|
|
759
|
+
} else if (typeof renderer.valueFormatter === 'function') {
|
|
760
|
+
formattedValue = renderer.valueFormatter.call(cellProperties, formattedValue, cellProperties);
|
|
761
|
+
}
|
|
757
762
|
this.hot.runHooks('beforeRenderer', TD, visualRowIndex, visualColumnIndex, prop, value, cellProperties);
|
|
758
|
-
this.hot
|
|
763
|
+
const rendererArgs = [this.hot, TD, visualRowIndex, visualColumnIndex, prop, formattedValue, cellProperties];
|
|
764
|
+
renderer(...rendererArgs);
|
|
765
|
+
if (!cellProperties._isBaseRendererCalled) {
|
|
766
|
+
this.hot.getCellRenderer({
|
|
767
|
+
renderer: 'base'
|
|
768
|
+
})(...rendererArgs);
|
|
769
|
+
}
|
|
759
770
|
this.hot.runHooks('afterRenderer', TD, visualRowIndex, visualColumnIndex, prop, value, cellProperties);
|
|
771
|
+
cellProperties._isBaseRendererCalled = false;
|
|
760
772
|
},
|
|
761
773
|
selections: this.hot.selection.highlight,
|
|
762
774
|
hideBorderOnMouseDownOver: () => this.settings.fragmentSelection,
|
|
@@ -1256,7 +1268,7 @@ class TableView {
|
|
|
1256
1268
|
}
|
|
1257
1269
|
}
|
|
1258
1270
|
if (renderedIndex > -1) {
|
|
1259
|
-
fastInnerHTML(element, content(index, headerLevel));
|
|
1271
|
+
fastInnerHTML(element, content(index, headerLevel), this.hot.getSettings().sanitizer);
|
|
1260
1272
|
} else {
|
|
1261
1273
|
// workaround for https://github.com/handsontable/handsontable/issues/1946
|
|
1262
1274
|
fastInnerText(element, String.fromCharCode(160));
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.createTheme = createTheme;
|
|
5
|
+
var _object = require("../../helpers/object");
|
|
6
|
+
var _sizing = _interopRequireDefault(require("../static/variables/sizing"));
|
|
7
|
+
var _density = _interopRequireDefault(require("../static/variables/density"));
|
|
8
|
+
var _validation = require("./utils/validation");
|
|
9
|
+
var _console = require("../../helpers/console");
|
|
10
|
+
var _errors = require("../../helpers/errors");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
13
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
14
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
15
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
16
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
17
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
18
|
+
/**
|
|
19
|
+
* Config keys that support deep merging when updating theme params.
|
|
20
|
+
*
|
|
21
|
+
* @type {string[]}
|
|
22
|
+
*/
|
|
23
|
+
const MERGEABLE_CONFIG_KEYS = ['sizing', 'icons', 'colors', 'tokens'];
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Required config keys.
|
|
27
|
+
*
|
|
28
|
+
* @type {string[]}
|
|
29
|
+
*/
|
|
30
|
+
const REQUIRED_CONFIG_KEYS = ['name', 'icons', 'colors', 'tokens'];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* ThemeBuilder class provides methods to build and configure themes.
|
|
34
|
+
*
|
|
35
|
+
* @class ThemeBuilder
|
|
36
|
+
*/
|
|
37
|
+
var _initThemeConfig = /*#__PURE__*/new WeakMap();
|
|
38
|
+
var _themeConfig = /*#__PURE__*/new WeakMap();
|
|
39
|
+
var _listeners = /*#__PURE__*/new WeakMap();
|
|
40
|
+
var _colorScheme = /*#__PURE__*/new WeakMap();
|
|
41
|
+
var _densityType = /*#__PURE__*/new WeakMap();
|
|
42
|
+
var _ThemeBuilder_brand = /*#__PURE__*/new WeakSet();
|
|
43
|
+
class ThemeBuilder {
|
|
44
|
+
/**
|
|
45
|
+
* The theme builder constructor.
|
|
46
|
+
*
|
|
47
|
+
* @param {object} themeConfig - The theme config object with `name`, `sizing`, `density`, `icons`, `colors`, `tokens`, and `colorScheme` properties.
|
|
48
|
+
*/
|
|
49
|
+
constructor(themeConfig) {
|
|
50
|
+
/**
|
|
51
|
+
* Notifies all listeners about a theme configuration change.
|
|
52
|
+
*
|
|
53
|
+
* @private
|
|
54
|
+
*/
|
|
55
|
+
_classPrivateMethodInitSpec(this, _ThemeBuilder_brand);
|
|
56
|
+
/**
|
|
57
|
+
* The initial theme configuration object.
|
|
58
|
+
*
|
|
59
|
+
* @private
|
|
60
|
+
* @type {object}
|
|
61
|
+
*/
|
|
62
|
+
_classPrivateFieldInitSpec(this, _initThemeConfig, void 0);
|
|
63
|
+
/**
|
|
64
|
+
* Theme configuration object.
|
|
65
|
+
*
|
|
66
|
+
* @private
|
|
67
|
+
* @type {object}
|
|
68
|
+
*/
|
|
69
|
+
_classPrivateFieldInitSpec(this, _themeConfig, void 0);
|
|
70
|
+
/**
|
|
71
|
+
* Registered listeners notified when the theme configuration changes.
|
|
72
|
+
*
|
|
73
|
+
* @private
|
|
74
|
+
* @type {Set<Function>}
|
|
75
|
+
*/
|
|
76
|
+
_classPrivateFieldInitSpec(this, _listeners, new Set());
|
|
77
|
+
/**
|
|
78
|
+
* Current color mode ('light', 'dark', or 'auto').
|
|
79
|
+
*
|
|
80
|
+
* @private
|
|
81
|
+
* @default 'auto'
|
|
82
|
+
* @type {string}
|
|
83
|
+
*/
|
|
84
|
+
_classPrivateFieldInitSpec(this, _colorScheme, 'auto');
|
|
85
|
+
/**
|
|
86
|
+
* Current density type ('compact', 'default', or 'comfortable').
|
|
87
|
+
*
|
|
88
|
+
* @private
|
|
89
|
+
* @default 'default'
|
|
90
|
+
* @type {string}
|
|
91
|
+
*/
|
|
92
|
+
_classPrivateFieldInitSpec(this, _densityType, 'default');
|
|
93
|
+
(0, _validation.validateParams)(themeConfig, 'themeConfig', {
|
|
94
|
+
requiredFields: REQUIRED_CONFIG_KEYS
|
|
95
|
+
});
|
|
96
|
+
_classPrivateFieldSet(_initThemeConfig, this, {
|
|
97
|
+
name: undefined,
|
|
98
|
+
sizing: _sizing.default,
|
|
99
|
+
density: {
|
|
100
|
+
type: _classPrivateFieldGet(_densityType, this),
|
|
101
|
+
sizes: _density.default
|
|
102
|
+
},
|
|
103
|
+
icons: {},
|
|
104
|
+
colors: {},
|
|
105
|
+
tokens: {},
|
|
106
|
+
colorScheme: _classPrivateFieldGet(_colorScheme, this)
|
|
107
|
+
});
|
|
108
|
+
_assertClassBrand(_ThemeBuilder_brand, this, _setParams).call(this, themeConfig);
|
|
109
|
+
_classPrivateFieldSet(_initThemeConfig, this, _classPrivateFieldGet(_themeConfig, this));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Subscribes to theme configuration changes.
|
|
113
|
+
*
|
|
114
|
+
* @param {Function} listener The callback invoked with the updated theme configuration.
|
|
115
|
+
* @returns {Function} An unsubscribe function.
|
|
116
|
+
*/
|
|
117
|
+
subscribe(listener) {
|
|
118
|
+
if (typeof listener !== 'function') {
|
|
119
|
+
(0, _errors.throwWithCause)('[ThemeBuilder] listener must be a function.');
|
|
120
|
+
}
|
|
121
|
+
_classPrivateFieldGet(_listeners, this).add(listener);
|
|
122
|
+
return () => _classPrivateFieldGet(_listeners, this).delete(listener);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Sets theme configuration parameters.
|
|
127
|
+
*
|
|
128
|
+
* @param {object} paramsObject An object with theme configuration parameters.
|
|
129
|
+
* @returns {ThemeBuilder} The ThemeBuilder instance for chaining.
|
|
130
|
+
*/
|
|
131
|
+
params(paramsObject) {
|
|
132
|
+
(0, _validation.validateParams)(paramsObject, 'params');
|
|
133
|
+
_assertClassBrand(_ThemeBuilder_brand, this, _setParams).call(this, paramsObject);
|
|
134
|
+
_assertClassBrand(_ThemeBuilder_brand, this, _notifyChange).call(this);
|
|
135
|
+
return this;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Sets the color mode (light, dark, or auto).
|
|
140
|
+
*
|
|
141
|
+
* @param {string} mode The color mode ('light', 'dark', or 'auto').
|
|
142
|
+
* @returns {ThemeBuilder} The ThemeBuilder instance for chaining.
|
|
143
|
+
*/
|
|
144
|
+
setColorScheme(mode) {
|
|
145
|
+
_classPrivateFieldSet(_colorScheme, this, (0, _validation.validateColorScheme)(mode));
|
|
146
|
+
_classPrivateFieldGet(_themeConfig, this).colorScheme = _classPrivateFieldGet(_colorScheme, this);
|
|
147
|
+
_classPrivateFieldGet(_initThemeConfig, this).colorScheme = _classPrivateFieldGet(_colorScheme, this);
|
|
148
|
+
_assertClassBrand(_ThemeBuilder_brand, this, _notifyChange).call(this);
|
|
149
|
+
return this;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Sets the density type (compact, default, or comfortable).
|
|
154
|
+
*
|
|
155
|
+
* @param {string} type The density type ('compact', 'default', or 'comfortable').
|
|
156
|
+
* @returns {ThemeBuilder} The ThemeBuilder instance for chaining.
|
|
157
|
+
*/
|
|
158
|
+
setDensityType(type) {
|
|
159
|
+
_classPrivateFieldSet(_densityType, this, (0, _validation.validateDensityType)(type));
|
|
160
|
+
_classPrivateFieldGet(_themeConfig, this).density.type = _classPrivateFieldGet(_densityType, this);
|
|
161
|
+
_classPrivateFieldGet(_initThemeConfig, this).density.type = _classPrivateFieldGet(_densityType, this);
|
|
162
|
+
_assertClassBrand(_ThemeBuilder_brand, this, _notifyChange).call(this);
|
|
163
|
+
return this;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Gets the current theme configuration.
|
|
168
|
+
*
|
|
169
|
+
* @returns {ThemeConfig} The theme configuration object.
|
|
170
|
+
*/
|
|
171
|
+
getThemeConfig() {
|
|
172
|
+
return _classPrivateFieldGet(_themeConfig, this);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Creates a new ThemeBuilder instance.
|
|
178
|
+
*
|
|
179
|
+
* @param {object} baseTheme The base theme object with theme configuration parameters.
|
|
180
|
+
* @returns {ThemeBuilder} The ThemeBuilder instance.
|
|
181
|
+
*/
|
|
182
|
+
function _notifyChange() {
|
|
183
|
+
const config = this.getThemeConfig();
|
|
184
|
+
_classPrivateFieldGet(_listeners, this).forEach(listener => listener(config));
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Applies density configuration from the params object.
|
|
188
|
+
*
|
|
189
|
+
* @private
|
|
190
|
+
* @param {object} config The config object to modify.
|
|
191
|
+
* @param {string|object} density The density value from params.
|
|
192
|
+
*/
|
|
193
|
+
function _applyDensityConfig(config, density) {
|
|
194
|
+
if ((0, _object.isObject)(density)) {
|
|
195
|
+
var _classPrivateFieldGet2;
|
|
196
|
+
config.density = (0, _object.deepMerge)(config.density, density);
|
|
197
|
+
_classPrivateFieldSet(_densityType, this, density.type);
|
|
198
|
+
if ((_classPrivateFieldGet2 = _classPrivateFieldGet(_initThemeConfig, this)) !== null && _classPrivateFieldGet2 !== void 0 && _classPrivateFieldGet2.density) {
|
|
199
|
+
_classPrivateFieldGet(_initThemeConfig, this).density.type = density.type;
|
|
200
|
+
}
|
|
201
|
+
} else if (typeof density === 'string') {
|
|
202
|
+
var _classPrivateFieldGet3;
|
|
203
|
+
config.density.type = density;
|
|
204
|
+
_classPrivateFieldSet(_densityType, this, density);
|
|
205
|
+
if ((_classPrivateFieldGet3 = _classPrivateFieldGet(_initThemeConfig, this)) !== null && _classPrivateFieldGet3 !== void 0 && _classPrivateFieldGet3.density) {
|
|
206
|
+
_classPrivateFieldGet(_initThemeConfig, this).density.type = density;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Sets the parameters to the theme configuration.
|
|
212
|
+
*
|
|
213
|
+
* @private
|
|
214
|
+
* @param {object} paramsObject The parameters object to set.
|
|
215
|
+
*/
|
|
216
|
+
function _setParams(paramsObject) {
|
|
217
|
+
const config = (0, _object.deepClone)(_classPrivateFieldGet(_initThemeConfig, this));
|
|
218
|
+
if (paramsObject.name !== undefined) {
|
|
219
|
+
if (_classPrivateFieldGet(_initThemeConfig, this).name !== undefined) {
|
|
220
|
+
(0, _console.warn)('[ThemeBuilder] The "name" property can only be set during ' + '`registerTheme()` and cannot be updated via `params()`.');
|
|
221
|
+
} else {
|
|
222
|
+
config.name = paramsObject.name;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// Apply mergeable config keys
|
|
227
|
+
MERGEABLE_CONFIG_KEYS.forEach(key => {
|
|
228
|
+
if (paramsObject[key] !== undefined && (0, _object.isObject)(paramsObject[key])) {
|
|
229
|
+
config[key] = (0, _object.deepMerge)(config[key], paramsObject[key]);
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
// Apply density (special handling for string or object)
|
|
234
|
+
if (paramsObject.density !== undefined) {
|
|
235
|
+
_assertClassBrand(_ThemeBuilder_brand, this, _applyDensityConfig).call(this, config, paramsObject.density);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// Apply color scheme
|
|
239
|
+
if (paramsObject.colorScheme !== undefined) {
|
|
240
|
+
var _classPrivateFieldGet4;
|
|
241
|
+
config.colorScheme = paramsObject.colorScheme;
|
|
242
|
+
_classPrivateFieldSet(_colorScheme, this, paramsObject.colorScheme);
|
|
243
|
+
if ((_classPrivateFieldGet4 = _classPrivateFieldGet(_initThemeConfig, this)) !== null && _classPrivateFieldGet4 !== void 0 && _classPrivateFieldGet4.colorScheme) {
|
|
244
|
+
_classPrivateFieldGet(_initThemeConfig, this).colorScheme = paramsObject.colorScheme;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
_classPrivateFieldSet(_themeConfig, this, config);
|
|
248
|
+
}
|
|
249
|
+
function createTheme(baseTheme) {
|
|
250
|
+
return new ThemeBuilder(baseTheme);
|
|
251
|
+
}
|