handsontable 0.0.0-next-fc6b71a-20231129 → 0.0.0-next-f76fee2-20231130
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of handsontable might be problematic. Click here for more details.
- package/3rdparty/walkontable/src/calculator/constants.js +3 -6
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +1 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -2
- package/3rdparty/walkontable/src/cell/coords.js +1 -2
- package/3rdparty/walkontable/src/cell/range.js +1 -2
- package/3rdparty/walkontable/src/event.js +1 -2
- package/3rdparty/walkontable/src/filter/column.js +1 -2
- package/3rdparty/walkontable/src/filter/row.js +1 -2
- package/3rdparty/walkontable/src/index.js +2 -2
- package/3rdparty/walkontable/src/overlay/constants.js +7 -14
- package/3rdparty/walkontable/src/overlays.js +1 -2
- package/3rdparty/walkontable/src/scroll.js +1 -2
- package/3rdparty/walkontable/src/selection/border/border.js +1 -2
- package/3rdparty/walkontable/src/selection/border/constants.js +2 -3
- package/3rdparty/walkontable/src/selection/constants.js +8 -16
- package/3rdparty/walkontable/src/selection/selection.js +1 -2
- package/3rdparty/walkontable/src/table/bottom.js +1 -2
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +1 -2
- package/3rdparty/walkontable/src/table/inlineStart.js +1 -2
- package/3rdparty/walkontable/src/table/master.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +1 -2
- package/3rdparty/walkontable/src/table/top.js +1 -2
- package/3rdparty/walkontable/src/table/topInlineStartCorner.js +1 -2
- package/3rdparty/walkontable/src/table.js +1 -2
- package/3rdparty/walkontable/src/utils/orderView/constants.js +3 -6
- package/3rdparty/walkontable/src/viewport.js +1 -2
- package/CHANGELOG.md +84 -15
- package/base.js +3 -4
- package/base.mjs +2 -2
- package/cellTypes/autocompleteType/autocompleteType.js +3 -5
- package/cellTypes/checkboxType/checkboxType.js +3 -5
- package/cellTypes/dateType/dateType.js +3 -5
- package/cellTypes/dropdownType/dropdownType.js +3 -5
- package/cellTypes/handsontableType/handsontableType.js +3 -5
- package/cellTypes/numericType/numericType.js +3 -5
- package/cellTypes/passwordType/passwordType.js +3 -5
- package/cellTypes/selectType/selectType.js +3 -5
- package/cellTypes/textType/textType.js +3 -5
- package/cellTypes/timeType/timeType.js +3 -5
- package/core.js +19 -9
- package/core.mjs +19 -9
- package/dataMap/dataMap.js +1 -2
- package/dataMap/dataSource.js +1 -2
- package/dataMap/metaManager/metaSchema.js +11 -11
- package/dataMap/metaManager/metaSchema.mjs +11 -11
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +5147 -5188
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +160 -150
- package/dist/handsontable.js +627 -1038
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +31 -31
- package/dist/languages/all.js +19 -38
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/ar-AR.js +1 -2
- package/dist/languages/cs-CZ.js +1 -2
- package/dist/languages/de-CH.js +1 -2
- package/dist/languages/de-DE.js +1 -2
- package/dist/languages/en-US.js +1 -2
- package/dist/languages/es-MX.js +1 -2
- package/dist/languages/fr-FR.js +1 -2
- package/dist/languages/it-IT.js +1 -2
- package/dist/languages/ja-JP.js +1 -2
- package/dist/languages/ko-KR.js +1 -2
- package/dist/languages/lv-LV.js +1 -2
- package/dist/languages/nb-NO.js +1 -2
- package/dist/languages/nl-NL.js +1 -2
- package/dist/languages/pl-PL.js +1 -2
- package/dist/languages/pt-BR.js +1 -2
- package/dist/languages/ru-RU.js +1 -2
- package/dist/languages/sr-SP.js +1 -2
- package/dist/languages/zh-CN.js +1 -2
- package/dist/languages/zh-TW.js +1 -2
- package/editorManager.js +2 -4
- package/editors/autocompleteEditor/autocompleteEditor.js +1 -2
- package/editors/baseEditor/baseEditor.js +3 -6
- package/editors/checkboxEditor/checkboxEditor.js +1 -2
- package/editors/dateEditor/dateEditor.js +1 -2
- package/editors/dropdownEditor/dropdownEditor.js +1 -2
- package/editors/handsontableEditor/handsontableEditor.js +1 -2
- package/editors/numericEditor/numericEditor.js +1 -2
- package/editors/passwordEditor/passwordEditor.js +1 -2
- package/editors/selectEditor/selectEditor.js +1 -2
- package/editors/textEditor/textEditor.js +1 -2
- package/editors/timeEditor/timeEditor.js +1 -2
- package/eventManager.js +1 -2
- package/helpers/dom/element.js +1 -2
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +2 -2
- package/helpers/unicode.js +1 -2
- package/i18n/constants.js +84 -166
- package/i18n/languages/ar-AR.js +3 -4
- package/i18n/languages/cs-CZ.js +3 -4
- package/i18n/languages/de-CH.js +3 -4
- package/i18n/languages/de-DE.js +3 -4
- package/i18n/languages/en-US.js +3 -4
- package/i18n/languages/es-MX.js +3 -4
- package/i18n/languages/fr-FR.js +3 -4
- package/i18n/languages/it-IT.js +3 -4
- package/i18n/languages/ja-JP.js +3 -4
- package/i18n/languages/ko-KR.js +3 -4
- package/i18n/languages/lv-LV.js +3 -4
- package/i18n/languages/nb-NO.js +3 -4
- package/i18n/languages/nl-NL.js +3 -4
- package/i18n/languages/pl-PL.js +3 -4
- package/i18n/languages/pt-BR.js +3 -4
- package/i18n/languages/ru-RU.js +3 -4
- package/i18n/languages/sr-SP.js +3 -4
- package/i18n/languages/zh-CN.js +3 -4
- package/i18n/languages/zh-TW.js +3 -4
- package/i18n/registry.js +4 -6
- package/index.js +3 -4
- package/languages/all.js +19 -38
- package/languages/ar-AR.js +1 -2
- package/languages/cs-CZ.js +1 -2
- package/languages/de-CH.js +1 -2
- package/languages/de-DE.js +1 -2
- package/languages/en-US.js +1 -2
- package/languages/es-MX.js +1 -2
- package/languages/fr-FR.js +1 -2
- package/languages/index.js +19 -38
- package/languages/it-IT.js +1 -2
- package/languages/ja-JP.js +1 -2
- package/languages/ko-KR.js +1 -2
- package/languages/lv-LV.js +1 -2
- package/languages/nb-NO.js +1 -2
- package/languages/nl-NL.js +1 -2
- package/languages/pl-PL.js +1 -2
- package/languages/pt-BR.js +1 -2
- package/languages/ru-RU.js +1 -2
- package/languages/sr-SP.js +1 -2
- package/languages/zh-CN.js +1 -2
- package/languages/zh-TW.js +1 -2
- package/mixins/hooksRefRegisterer.js +1 -2
- package/mixins/localHooks.js +1 -2
- package/package.json +1 -1
- package/pluginHooks.js +6 -5
- package/pluginHooks.mjs +5 -3
- package/plugins/autoColumnSize/autoColumnSize.js +2 -4
- package/plugins/autoRowSize/autoRowSize.js +2 -4
- package/plugins/autofill/autofill.js +2 -4
- package/plugins/autofill/utils.js +1 -2
- package/plugins/base/base.js +1 -2
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +2 -4
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +1 -2
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +1 -2
- package/plugins/collapsibleColumns/collapsibleColumns.js +2 -4
- package/plugins/columnSorting/columnSorting.js +4 -8
- package/plugins/columnSorting/sortFunction/checkbox.js +1 -2
- package/plugins/columnSorting/sortFunction/date.js +1 -2
- package/plugins/columnSorting/sortFunction/default.js +1 -2
- package/plugins/columnSorting/sortFunction/numeric.js +1 -2
- package/plugins/columnSorting/sortService/engine.js +3 -6
- package/plugins/columnSorting/utils.js +3 -6
- package/plugins/columnSummary/columnSummary.js +2 -4
- package/plugins/columnSummary/endpoints.js +1 -2
- package/plugins/comments/commentEditor.js +1 -2
- package/plugins/comments/comments.js +6 -12
- package/plugins/comments/contextMenuItem/addEditComment.js +2 -2
- package/plugins/comments/contextMenuItem/readOnlyComment.js +2 -2
- package/plugins/comments/contextMenuItem/removeComment.js +2 -2
- package/plugins/comments/displaySwitch.js +1 -2
- package/plugins/contextMenu/contextMenu.js +2 -4
- package/plugins/contextMenu/predefinedItems/alignment.js +3 -4
- package/plugins/contextMenu/predefinedItems/clearColumn.js +3 -4
- package/plugins/contextMenu/predefinedItems/columnLeft.js +3 -4
- package/plugins/contextMenu/predefinedItems/columnRight.js +3 -4
- package/plugins/contextMenu/predefinedItems/index.js +3 -4
- package/plugins/contextMenu/predefinedItems/noItems.js +1 -2
- package/plugins/contextMenu/predefinedItems/readOnly.js +3 -4
- package/plugins/contextMenu/predefinedItems/redo.js +3 -4
- package/plugins/contextMenu/predefinedItems/removeColumn.js +3 -4
- package/plugins/contextMenu/predefinedItems/removeRow.js +3 -4
- package/plugins/contextMenu/predefinedItems/rowAbove.js +3 -4
- package/plugins/contextMenu/predefinedItems/rowBelow.js +3 -4
- package/plugins/contextMenu/predefinedItems/separator.js +1 -2
- package/plugins/contextMenu/predefinedItems/undo.js +3 -4
- package/plugins/copyPaste/contextMenuItem/cut.js +2 -2
- package/plugins/copyPaste/copyPaste.js +2 -4
- package/plugins/customBorders/contextMenuItem/bottom.js +2 -2
- package/plugins/customBorders/contextMenuItem/left.js +2 -2
- package/plugins/customBorders/contextMenuItem/noBorders.js +2 -2
- package/plugins/customBorders/contextMenuItem/right.js +2 -2
- package/plugins/customBorders/contextMenuItem/top.js +2 -2
- package/plugins/customBorders/customBorders.js +4 -6
- package/plugins/dragToScroll/dragToScroll.js +2 -4
- package/plugins/dropdownMenu/dropdownMenu.js +2 -4
- package/plugins/exportFile/dataProvider.js +1 -2
- package/plugins/exportFile/exportFile.js +4 -6
- package/plugins/exportFile/typeFactory.js +5 -8
- package/plugins/exportFile/types/_base.js +1 -2
- package/plugins/exportFile/types/csv.js +1 -2
- package/plugins/filters/component/actionBar.js +2 -2
- package/plugins/filters/component/condition.js +2 -2
- package/plugins/filters/component/value.js +2 -2
- package/plugins/filters/condition/beginsWith.js +3 -4
- package/plugins/filters/condition/between.js +3 -4
- package/plugins/filters/condition/byValue.js +1 -2
- package/plugins/filters/condition/contains.js +3 -4
- package/plugins/filters/condition/date/after.js +3 -4
- package/plugins/filters/condition/date/before.js +3 -4
- package/plugins/filters/condition/date/today.js +3 -4
- package/plugins/filters/condition/date/tomorrow.js +3 -4
- package/plugins/filters/condition/date/yesterday.js +3 -4
- package/plugins/filters/condition/empty.js +3 -4
- package/plugins/filters/condition/endsWith.js +3 -4
- package/plugins/filters/condition/equal.js +3 -4
- package/plugins/filters/condition/false.js +1 -2
- package/plugins/filters/condition/greaterThan.js +3 -4
- package/plugins/filters/condition/greaterThanOrEqual.js +3 -4
- package/plugins/filters/condition/lessThan.js +3 -4
- package/plugins/filters/condition/lessThanOrEqual.js +3 -4
- package/plugins/filters/condition/none.js +3 -4
- package/plugins/filters/condition/notBetween.js +3 -4
- package/plugins/filters/condition/notContains.js +3 -4
- package/plugins/filters/condition/notEmpty.js +3 -4
- package/plugins/filters/condition/notEqual.js +3 -4
- package/plugins/filters/condition/true.js +1 -2
- package/plugins/filters/conditionCollection.js +1 -2
- package/plugins/filters/conditionRegisterer.js +1 -2
- package/plugins/filters/conditionUpdateObserver.js +1 -2
- package/plugins/filters/constants.js +4 -8
- package/plugins/filters/dataFilter.js +1 -2
- package/plugins/filters/filters.js +4 -6
- package/plugins/filters/logicalOperationRegisterer.js +1 -2
- package/plugins/filters/logicalOperations/conjunction.js +4 -6
- package/plugins/filters/logicalOperations/disjunction.js +4 -6
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +4 -6
- package/plugins/filters/ui/_base.js +2 -2
- package/plugins/filters/ui/multipleSelect.js +3 -4
- package/plugins/filters/ui/select.js +2 -2
- package/plugins/formulas/engine/settings.js +2 -4
- package/plugins/formulas/formulas.js +3 -6
- package/plugins/formulas/indexSyncer/axisSyncer.js +1 -2
- package/plugins/formulas/indexSyncer/index.js +1 -2
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +2 -2
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +2 -2
- package/plugins/hiddenColumns/hiddenColumns.js +2 -4
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +2 -2
- package/plugins/hiddenRows/contextMenuItem/showRow.js +2 -2
- package/plugins/hiddenRows/hiddenRows.js +2 -4
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +2 -2
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +2 -2
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +2 -4
- package/plugins/manualColumnMove/manualColumnMove.js +2 -4
- package/plugins/manualColumnMove/ui/_base.js +1 -2
- package/plugins/manualColumnMove/ui/backlight.js +1 -2
- package/plugins/manualColumnMove/ui/guideline.js +1 -2
- package/plugins/manualColumnResize/manualColumnResize.js +2 -4
- package/plugins/manualRowMove/manualRowMove.js +2 -4
- package/plugins/manualRowMove/ui/_base.js +1 -2
- package/plugins/manualRowMove/ui/backlight.js +1 -2
- package/plugins/manualRowMove/ui/guideline.js +1 -2
- package/plugins/manualRowResize/manualRowResize.js +2 -4
- package/plugins/mergeCells/calculations/autofill.js +1 -2
- package/plugins/mergeCells/calculations/selection.js +1 -2
- package/plugins/mergeCells/cellCoords.js +1 -2
- package/plugins/mergeCells/cellsCollection.js +1 -2
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +2 -2
- package/plugins/mergeCells/mergeCells.js +3 -5
- package/plugins/mergeCells/mergeCells.mjs +1 -1
- package/plugins/multiColumnSorting/multiColumnSorting.js +2 -4
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +2 -4
- package/plugins/nestedHeaders/nestedHeaders.js +2 -4
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +1 -2
- package/plugins/nestedHeaders/utils/ghostTable.js +1 -2
- package/plugins/nestedRows/data/dataManager.js +1 -2
- package/plugins/nestedRows/nestedRows.js +2 -4
- package/plugins/nestedRows/ui/_base.js +1 -2
- package/plugins/nestedRows/ui/collapsing.js +1 -2
- package/plugins/nestedRows/ui/contextMenu.js +3 -4
- package/plugins/nestedRows/ui/headers.js +1 -2
- package/plugins/persistentState/persistentState.js +2 -4
- package/plugins/persistentState/storage.js +1 -2
- package/plugins/search/search.js +2 -4
- package/plugins/touchScroll/touchScroll.js +2 -4
- package/plugins/trimRows/trimRows.js +2 -4
- package/plugins/undoRedo/index.js +2 -2
- package/plugins/undoRedo/undoRedo.js +2 -4
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -2
- package/renderers/baseRenderer/baseRenderer.js +1 -2
- package/renderers/checkboxRenderer/checkboxRenderer.js +1 -2
- package/renderers/dateRenderer/dateRenderer.js +1 -2
- package/renderers/handsontableRenderer/handsontableRenderer.js +1 -2
- package/renderers/htmlRenderer/htmlRenderer.js +1 -2
- package/renderers/numericRenderer/numericRenderer.js +1 -2
- package/renderers/passwordRenderer/passwordRenderer.js +1 -2
- package/renderers/selectRenderer/selectRenderer.js +1 -2
- package/renderers/textRenderer/textRenderer.js +1 -2
- package/renderers/timeRenderer/timeRenderer.js +1 -2
- package/selection/highlight/highlight.js +1 -2
- package/selection/highlight/visualSelection.js +1 -2
- package/selection/range.js +1 -2
- package/selection/selection.js +3 -4
- package/selection/transformation.js +1 -2
- package/selection/utils.js +5 -10
- package/shortcutContexts/commands/editor/closeAndSave.js +2 -3
- package/shortcutContexts/commands/editor/closeWithoutSaving.js +2 -3
- package/shortcutContexts/commands/editor/fastOpen.js +2 -3
- package/shortcutContexts/commands/editor/open.js +2 -3
- package/shortcutContexts/commands/emptySelectedCells.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/down.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/left.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/right.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toColumns.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostBottom.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostLeft.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostRight.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostTop.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toRows.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/up.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/down.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/downByViewportHeight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/inlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/left.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/right.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostBottom.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostBottomInlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostInlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostInlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostLeft.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostRight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostTop.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostTopInlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/up.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/upByViewportHeight.js +2 -3
- package/shortcutContexts/commands/populateSelectedCellsData.js +2 -3
- package/shortcutContexts/commands/scrollToFocusedCell.js +2 -3
- package/shortcutContexts/commands/selectAllCells.js +2 -3
- package/shortcutContexts/commands/selectAllCellsAndHeaders.js +2 -3
- package/shortcutContexts/constants.js +2 -4
- package/shortcuts/context.js +1 -1
- package/shortcuts/context.mjs +1 -1
- package/shortcuts/manager.js +2 -2
- package/shortcuts/manager.mjs +2 -2
- package/tableView.js +1 -2
- package/utils/dataStructures/linkedList.js +1 -2
- package/utils/dataStructures/priorityMap.js +2 -4
- package/utils/dataStructures/queue.js +1 -2
- package/utils/dataStructures/stack.js +1 -2
- package/utils/dataStructures/tree.js +3 -6
- package/utils/ghostTable.js +1 -2
- package/utils/interval.js +1 -2
- package/utils/rootInstance.js +2 -4
- package/utils/samplesGenerator.js +1 -2
- package/utils/staticRegister.js +1 -2
- package/validators/autocompleteValidator/autocompleteValidator.js +1 -2
- package/validators/dateValidator/dateValidator.js +1 -2
- package/validators/numericValidator/numericValidator.js +1 -2
- package/validators/timeValidator/timeValidator.js +1 -2
@@ -5,16 +5,15 @@ exports.condition = condition;
|
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
6
|
var _conditionRegisterer = require("../conditionRegisterer");
|
7
7
|
var _empty = require("./empty");
|
8
|
-
function _getRequireWildcardCache(
|
9
|
-
function _interopRequireWildcard(
|
10
|
-
const CONDITION_NAME = 'not_empty';
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
10
|
+
const CONDITION_NAME = exports.CONDITION_NAME = 'not_empty';
|
11
11
|
|
12
12
|
/**
|
13
13
|
* @param {object} dataRow The object which holds and describes the single cell value.
|
14
14
|
* @param {Array} inputValues An array of values to compare with.
|
15
15
|
* @returns {boolean}
|
16
16
|
*/
|
17
|
-
exports.CONDITION_NAME = CONDITION_NAME;
|
18
17
|
function condition(dataRow, inputValues) {
|
19
18
|
return !(0, _conditionRegisterer.getCondition)(_empty.CONDITION_NAME, inputValues)(dataRow);
|
20
19
|
}
|
@@ -5,16 +5,15 @@ exports.condition = condition;
|
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
6
|
var _conditionRegisterer = require("../conditionRegisterer");
|
7
7
|
var _equal = require("./equal");
|
8
|
-
function _getRequireWildcardCache(
|
9
|
-
function _interopRequireWildcard(
|
10
|
-
const CONDITION_NAME = 'neq';
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
10
|
+
const CONDITION_NAME = exports.CONDITION_NAME = 'neq';
|
11
11
|
|
12
12
|
/**
|
13
13
|
* @param {object} dataRow The object which holds and describes the single cell value.
|
14
14
|
* @param {Array} inputValues An array of values to compare with.
|
15
15
|
* @returns {boolean}
|
16
16
|
*/
|
17
|
-
exports.CONDITION_NAME = CONDITION_NAME;
|
18
17
|
function condition(dataRow, inputValues) {
|
19
18
|
return !(0, _conditionRegisterer.getCondition)(_equal.CONDITION_NAME, inputValues)(dataRow);
|
20
19
|
}
|
@@ -3,12 +3,11 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.condition = condition;
|
5
5
|
var _conditionRegisterer = require("../conditionRegisterer");
|
6
|
-
const CONDITION_NAME = 'true';
|
6
|
+
const CONDITION_NAME = exports.CONDITION_NAME = 'true';
|
7
7
|
|
8
8
|
/**
|
9
9
|
* @returns {boolean}
|
10
10
|
*/
|
11
|
-
exports.CONDITION_NAME = CONDITION_NAME;
|
12
11
|
function condition() {
|
13
12
|
return true;
|
14
13
|
}
|
@@ -5,7 +5,7 @@ exports.getCondition = getCondition;
|
|
5
5
|
exports.getConditionDescriptor = getConditionDescriptor;
|
6
6
|
exports.registerCondition = registerCondition;
|
7
7
|
require("core-js/modules/es.error.cause.js");
|
8
|
-
const conditions = {};
|
8
|
+
const conditions = exports.conditions = {};
|
9
9
|
|
10
10
|
/**
|
11
11
|
* Get condition closure with pre-bound arguments.
|
@@ -14,7 +14,6 @@ const conditions = {};
|
|
14
14
|
* @param {Array} args Condition arguments.
|
15
15
|
* @returns {Function}
|
16
16
|
*/
|
17
|
-
exports.conditions = conditions;
|
18
17
|
function getCondition(name, args) {
|
19
18
|
if (!conditions[name]) {
|
20
19
|
throw Error(`Filter condition "${name}" does not exist.`);
|
@@ -59,18 +59,15 @@ var _disjunction = require("./logicalOperations/disjunction");
|
|
59
59
|
exports.OPERATION_OR = _disjunction.OPERATION_ID;
|
60
60
|
var _disjunctionWithExtraCondition = require("./logicalOperations/disjunctionWithExtraCondition");
|
61
61
|
exports.OPERATION_OR_THEN_VARIABLE = _disjunctionWithExtraCondition.OPERATION_ID;
|
62
|
-
const TYPE_NUMERIC = 'numeric';
|
63
|
-
exports.
|
64
|
-
const
|
65
|
-
exports.TYPE_TEXT = TYPE_TEXT;
|
66
|
-
const TYPE_DATE = 'date';
|
62
|
+
const TYPE_NUMERIC = exports.TYPE_NUMERIC = 'numeric';
|
63
|
+
const TYPE_TEXT = exports.TYPE_TEXT = 'text';
|
64
|
+
const TYPE_DATE = exports.TYPE_DATE = 'date';
|
67
65
|
/**
|
68
66
|
* Default types and order for filter conditions.
|
69
67
|
*
|
70
68
|
* @type {object}
|
71
69
|
*/
|
72
|
-
exports.
|
73
|
-
const TYPES = {
|
70
|
+
const TYPES = exports.TYPES = {
|
74
71
|
[TYPE_NUMERIC]: [_none.CONDITION_NAME, _predefinedItems.SEPARATOR, _empty.CONDITION_NAME, _notEmpty.CONDITION_NAME, _predefinedItems.SEPARATOR, _equal.CONDITION_NAME, _notEqual.CONDITION_NAME, _predefinedItems.SEPARATOR, _greaterThan.CONDITION_NAME, _greaterThanOrEqual.CONDITION_NAME, _lessThan.CONDITION_NAME, _lessThanOrEqual.CONDITION_NAME, _between.CONDITION_NAME, _notBetween.CONDITION_NAME],
|
75
72
|
[TYPE_TEXT]: [_none.CONDITION_NAME, _predefinedItems.SEPARATOR, _empty.CONDITION_NAME, _notEmpty.CONDITION_NAME, _predefinedItems.SEPARATOR, _equal.CONDITION_NAME, _notEqual.CONDITION_NAME, _predefinedItems.SEPARATOR, _beginsWith.CONDITION_NAME, _endsWith.CONDITION_NAME, _predefinedItems.SEPARATOR, _contains.CONDITION_NAME, _notContains.CONDITION_NAME],
|
76
73
|
[TYPE_DATE]: [_none.CONDITION_NAME, _predefinedItems.SEPARATOR, _empty.CONDITION_NAME, _notEmpty.CONDITION_NAME, _predefinedItems.SEPARATOR, _equal.CONDITION_NAME, _notEqual.CONDITION_NAME, _predefinedItems.SEPARATOR, _before.CONDITION_NAME, _after.CONDITION_NAME, _between.CONDITION_NAME, _predefinedItems.SEPARATOR, _tomorrow.CONDITION_NAME, _today.CONDITION_NAME, _yesterday.CONDITION_NAME]
|
@@ -83,7 +80,6 @@ const TYPES = {
|
|
83
80
|
* @param {string} type The data type.
|
84
81
|
* @returns {object}
|
85
82
|
*/
|
86
|
-
exports.TYPES = TYPES;
|
87
83
|
function getOptionsList(type) {
|
88
84
|
const items = [];
|
89
85
|
let typeName = type;
|
@@ -25,8 +25,8 @@ var _focusController = require("./menu/focusController");
|
|
25
25
|
var _constants2 = require("./constants");
|
26
26
|
var _translations = require("../../translations");
|
27
27
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
28
|
-
function _getRequireWildcardCache(
|
29
|
-
function _interopRequireWildcard(
|
28
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
29
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
30
30
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
31
31
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
32
32
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
@@ -39,10 +39,8 @@ function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classEx
|
|
39
39
|
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
40
40
|
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
41
41
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
42
|
-
const PLUGIN_KEY = 'filters';
|
43
|
-
exports.
|
44
|
-
const PLUGIN_PRIORITY = 250;
|
45
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
42
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'filters';
|
43
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 250;
|
46
44
|
const SHORTCUTS_GROUP = PLUGIN_KEY;
|
47
45
|
|
48
46
|
/**
|
@@ -5,7 +5,7 @@ exports.getOperationFunc = getOperationFunc;
|
|
5
5
|
exports.getOperationName = getOperationName;
|
6
6
|
exports.registerOperation = registerOperation;
|
7
7
|
require("core-js/modules/es.error.cause.js");
|
8
|
-
const operations = {};
|
8
|
+
const operations = exports.operations = {};
|
9
9
|
|
10
10
|
/**
|
11
11
|
* Get operation closure with pre-bound arguments.
|
@@ -13,7 +13,6 @@ const operations = {};
|
|
13
13
|
* @param {string} id Operator `id`.
|
14
14
|
* @returns {Function}
|
15
15
|
*/
|
16
|
-
exports.operations = operations;
|
17
16
|
function getOperationFunc(id) {
|
18
17
|
if (!operations[id]) {
|
19
18
|
throw Error(`Operation with id "${id}" does not exist.`);
|
@@ -4,11 +4,10 @@ exports.__esModule = true;
|
|
4
4
|
exports.operationResult = operationResult;
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
6
|
var _logicalOperationRegisterer = require("../logicalOperationRegisterer");
|
7
|
-
function _getRequireWildcardCache(
|
8
|
-
function _interopRequireWildcard(
|
9
|
-
const OPERATION_ID = 'conjunction';
|
10
|
-
exports.
|
11
|
-
const SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_CONJUNCTION;
|
7
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
8
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
9
|
+
const OPERATION_ID = exports.OPERATION_ID = 'conjunction';
|
10
|
+
const SHORT_NAME_FOR_COMPONENT = exports.SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_CONJUNCTION;
|
12
11
|
// p AND q AND w AND x AND... === TRUE?
|
13
12
|
|
14
13
|
/**
|
@@ -16,7 +15,6 @@ const SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_CONJUNCTION;
|
|
16
15
|
* @param {*} value The comparable value.
|
17
16
|
* @returns {boolean}
|
18
17
|
*/
|
19
|
-
exports.SHORT_NAME_FOR_COMPONENT = SHORT_NAME_FOR_COMPONENT;
|
20
18
|
function operationResult(conditions, value) {
|
21
19
|
return conditions.every(condition => condition.func(value));
|
22
20
|
}
|
@@ -4,11 +4,10 @@ exports.__esModule = true;
|
|
4
4
|
exports.operationResult = operationResult;
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
6
|
var _logicalOperationRegisterer = require("../logicalOperationRegisterer");
|
7
|
-
function _getRequireWildcardCache(
|
8
|
-
function _interopRequireWildcard(
|
9
|
-
const OPERATION_ID = 'disjunction';
|
10
|
-
exports.
|
11
|
-
const SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_DISJUNCTION;
|
7
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
8
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
9
|
+
const OPERATION_ID = exports.OPERATION_ID = 'disjunction';
|
10
|
+
const SHORT_NAME_FOR_COMPONENT = exports.SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_DISJUNCTION;
|
12
11
|
// (p OR q OR w OR x OR...) === TRUE?
|
13
12
|
|
14
13
|
/**
|
@@ -16,7 +15,6 @@ const SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_DISJUNCTION;
|
|
16
15
|
* @param {*} value The comparable value.
|
17
16
|
* @returns {boolean}
|
18
17
|
*/
|
19
|
-
exports.SHORT_NAME_FOR_COMPONENT = SHORT_NAME_FOR_COMPONENT;
|
20
18
|
function operationResult(conditions, value) {
|
21
19
|
return conditions.some(condition => condition.func(value));
|
22
20
|
}
|
@@ -5,11 +5,10 @@ exports.operationResult = operationResult;
|
|
5
5
|
require("core-js/modules/es.error.cause.js");
|
6
6
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
7
7
|
var _logicalOperationRegisterer = require("../logicalOperationRegisterer");
|
8
|
-
function _getRequireWildcardCache(
|
9
|
-
function _interopRequireWildcard(
|
10
|
-
const OPERATION_ID = 'disjunctionWithExtraCondition';
|
11
|
-
exports.
|
12
|
-
const SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_DISJUNCTION;
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
10
|
+
const OPERATION_ID = exports.OPERATION_ID = 'disjunctionWithExtraCondition';
|
11
|
+
const SHORT_NAME_FOR_COMPONENT = exports.SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_DISJUNCTION;
|
13
12
|
// ((p OR q OR w OR x OR...) AND z) === TRUE?
|
14
13
|
|
15
14
|
/**
|
@@ -17,7 +16,6 @@ const SHORT_NAME_FOR_COMPONENT = C.FILTERS_LABELS_DISJUNCTION;
|
|
17
16
|
* @param {*} value The comparable value.
|
18
17
|
* @returns {boolean}
|
19
18
|
*/
|
20
|
-
exports.SHORT_NAME_FOR_COMPONENT = SHORT_NAME_FOR_COMPONENT;
|
21
19
|
function operationResult(conditions, value) {
|
22
20
|
if (conditions.length < 3) {
|
23
21
|
throw Error('Operation doesn\'t work on less then three conditions.');
|
@@ -8,8 +8,8 @@ var _eventManager = _interopRequireDefault(require("../../../eventManager"));
|
|
8
8
|
var _element = require("../../../helpers/dom/element");
|
9
9
|
var _array = require("../../../helpers/array");
|
10
10
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
11
|
-
function _getRequireWildcardCache(
|
12
|
-
function _interopRequireWildcard(
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
14
14
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
15
15
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
@@ -15,8 +15,8 @@ var _base = require("./_base");
|
|
15
15
|
var _input = require("./input");
|
16
16
|
var _link = require("./link");
|
17
17
|
var _utils = require("../utils");
|
18
|
-
function _getRequireWildcardCache(
|
19
|
-
function _interopRequireWildcard(
|
18
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
19
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
20
20
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
21
21
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
22
22
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
@@ -420,7 +420,7 @@ function _onClearAllClick2(event) {
|
|
420
420
|
});
|
421
421
|
_classPrivateFieldGet(this, _itemsBox).setSourceDataAtCell(changes);
|
422
422
|
}
|
423
|
-
var _default = MultipleSelectUI;
|
423
|
+
var _default = exports.default = MultipleSelectUI;
|
424
424
|
/**
|
425
425
|
* Pick up object items based on selected values.
|
426
426
|
*
|
@@ -428,7 +428,6 @@ var _default = MultipleSelectUI;
|
|
428
428
|
* @param {Array} selectedValue Flat array with selected values.
|
429
429
|
* @returns {Array}
|
430
430
|
*/
|
431
|
-
exports.default = _default;
|
432
431
|
function valueToItems(availableItems, selectedValue) {
|
433
432
|
const arrayAssertion = (0, _utils.createArrayAssertion)(selectedValue);
|
434
433
|
return (0, _array.arrayMap)(availableItems, item => {
|
@@ -10,8 +10,8 @@ var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
|
10
10
|
var _predefinedItems = require("../../../plugins/contextMenu/predefinedItems");
|
11
11
|
var _base = require("./_base");
|
12
12
|
var _a11y = require("../../../helpers/a11y");
|
13
|
-
function _getRequireWildcardCache(
|
14
|
-
function _interopRequireWildcard(
|
13
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
14
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
15
15
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
16
16
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
17
17
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
@@ -6,9 +6,8 @@ exports.getEngineSettingsWithDefaultsAndOverrides = getEngineSettingsWithDefault
|
|
6
6
|
exports.getEngineSettingsWithOverrides = getEngineSettingsWithOverrides;
|
7
7
|
exports.haveEngineSettingsChanged = haveEngineSettingsChanged;
|
8
8
|
var _formulas = require("../formulas");
|
9
|
-
const DEFAULT_LICENSE_KEY = 'internal-use-in-handsontable';
|
10
|
-
exports.
|
11
|
-
const DEFAULT_SETTINGS = {
|
9
|
+
const DEFAULT_LICENSE_KEY = exports.DEFAULT_LICENSE_KEY = 'internal-use-in-handsontable';
|
10
|
+
const DEFAULT_SETTINGS = exports.DEFAULT_SETTINGS = {
|
12
11
|
licenseKey: DEFAULT_LICENSE_KEY,
|
13
12
|
useArrayArithmetic: true,
|
14
13
|
useColumnIndex: false,
|
@@ -41,7 +40,6 @@ const DEFAULT_SETTINGS = {
|
|
41
40
|
* @param {object} hotSettings Handsontable settings object.
|
42
41
|
* @returns {object} Object containing the overriding options.
|
43
42
|
*/
|
44
|
-
exports.DEFAULT_SETTINGS = DEFAULT_SETTINGS;
|
45
43
|
function getEngineSettingsOverrides(hotSettings) {
|
46
44
|
var _hotSettings$PLUGIN_K;
|
47
45
|
return {
|
@@ -29,12 +29,9 @@ function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classEx
|
|
29
29
|
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
30
30
|
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
31
31
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
32
|
-
const PLUGIN_KEY = 'formulas';
|
33
|
-
exports.
|
34
|
-
const
|
35
|
-
exports.SETTING_KEYS = SETTING_KEYS;
|
36
|
-
const PLUGIN_PRIORITY = 260;
|
37
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
32
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'formulas';
|
33
|
+
const SETTING_KEYS = exports.SETTING_KEYS = ['maxRows', 'maxColumns', 'language'];
|
34
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 260;
|
38
35
|
_pluginHooks.default.getSingleton().register('afterNamedExpressionAdded');
|
39
36
|
_pluginHooks.default.getSingleton().register('afterNamedExpressionRemoved');
|
40
37
|
_pluginHooks.default.getSingleton().register('afterSheetAdded');
|
@@ -4,8 +4,8 @@ exports.__esModule = true;
|
|
4
4
|
exports.default = hideColumnItem;
|
5
5
|
require("core-js/modules/es.array.push.js");
|
6
6
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
7
|
-
function _getRequireWildcardCache(
|
8
|
-
function _interopRequireWildcard(
|
7
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
8
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
9
9
|
/**
|
10
10
|
* @param {HiddenColumns} hiddenColumnsPlugin The plugin instance.
|
11
11
|
* @returns {object}
|
@@ -5,8 +5,8 @@ exports.default = showColumnItem;
|
|
5
5
|
require("core-js/modules/es.array.push.js");
|
6
6
|
var _array = require("../../../helpers/array");
|
7
7
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
8
|
-
function _getRequireWildcardCache(
|
9
|
-
function _interopRequireWildcard(
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
10
10
|
/**
|
11
11
|
* @param {HiddenColumns} hiddenColumnsPlugin The plugin instance.
|
12
12
|
* @returns {object}
|
@@ -28,9 +28,8 @@ _pluginHooks.default.getSingleton().register('beforeHideColumns');
|
|
28
28
|
_pluginHooks.default.getSingleton().register('afterHideColumns');
|
29
29
|
_pluginHooks.default.getSingleton().register('beforeUnhideColumns');
|
30
30
|
_pluginHooks.default.getSingleton().register('afterUnhideColumns');
|
31
|
-
const PLUGIN_KEY = 'hiddenColumns';
|
32
|
-
exports.
|
33
|
-
const PLUGIN_PRIORITY = 310;
|
31
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'hiddenColumns';
|
32
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 310;
|
34
33
|
|
35
34
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
36
35
|
|
@@ -138,7 +137,6 @@ const PLUGIN_PRIORITY = 310;
|
|
138
137
|
* ```
|
139
138
|
* :::
|
140
139
|
*/
|
141
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
142
140
|
var _settings = /*#__PURE__*/new WeakMap();
|
143
141
|
var _hiddenColumnsMap = /*#__PURE__*/new WeakMap();
|
144
142
|
var _onModifyColWidth = /*#__PURE__*/new WeakSet();
|
@@ -4,8 +4,8 @@ exports.__esModule = true;
|
|
4
4
|
exports.default = hideRowItem;
|
5
5
|
require("core-js/modules/es.array.push.js");
|
6
6
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
7
|
-
function _getRequireWildcardCache(
|
8
|
-
function _interopRequireWildcard(
|
7
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
8
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
9
9
|
/**
|
10
10
|
* @param {HiddenRows} hiddenRowsPlugin The plugin instance.
|
11
11
|
* @returns {object}
|
@@ -5,8 +5,8 @@ exports.default = showRowItem;
|
|
5
5
|
require("core-js/modules/es.array.push.js");
|
6
6
|
var _array = require("../../../helpers/array");
|
7
7
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
8
|
-
function _getRequireWildcardCache(
|
9
|
-
function _interopRequireWildcard(
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
10
10
|
/**
|
11
11
|
* @param {HiddenRows} hiddenRowsPlugin The plugin instance.
|
12
12
|
* @returns {object}
|
@@ -28,9 +28,8 @@ _pluginHooks.default.getSingleton().register('beforeHideRows');
|
|
28
28
|
_pluginHooks.default.getSingleton().register('afterHideRows');
|
29
29
|
_pluginHooks.default.getSingleton().register('beforeUnhideRows');
|
30
30
|
_pluginHooks.default.getSingleton().register('afterUnhideRows');
|
31
|
-
const PLUGIN_KEY = 'hiddenRows';
|
32
|
-
exports.
|
33
|
-
const PLUGIN_PRIORITY = 320;
|
31
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'hiddenRows';
|
32
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 320;
|
34
33
|
|
35
34
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
36
35
|
|
@@ -138,7 +137,6 @@ const PLUGIN_PRIORITY = 320;
|
|
138
137
|
* ```
|
139
138
|
* :::
|
140
139
|
*/
|
141
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
142
140
|
var _settings = /*#__PURE__*/new WeakMap();
|
143
141
|
var _hiddenRowsMap = /*#__PURE__*/new WeakMap();
|
144
142
|
var _onModifyRowHeight = /*#__PURE__*/new WeakSet();
|
@@ -3,8 +3,8 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = freezeColumnItem;
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
|
-
function _getRequireWildcardCache(
|
7
|
-
function _interopRequireWildcard(
|
6
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
7
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
8
8
|
/**
|
9
9
|
* @param {ManualColumnFreeze} manualColumnFreezePlugin The plugin instance.
|
10
10
|
* @returns {object}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = unfreezeColumnItem;
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
|
-
function _getRequireWildcardCache(
|
7
|
-
function _interopRequireWildcard(
|
6
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
7
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
8
8
|
/**
|
9
9
|
* @param {ManualColumnFreeze} manualColumnFreezePlugin The plugin instance.
|
10
10
|
* @returns {object}
|
@@ -21,9 +21,8 @@ _pluginHooks.default.getSingleton().register('beforeColumnFreeze');
|
|
21
21
|
_pluginHooks.default.getSingleton().register('afterColumnFreeze');
|
22
22
|
_pluginHooks.default.getSingleton().register('beforeColumnUnfreeze');
|
23
23
|
_pluginHooks.default.getSingleton().register('afterColumnUnfreeze');
|
24
|
-
const PLUGIN_KEY = 'manualColumnFreeze';
|
25
|
-
exports.
|
26
|
-
const PLUGIN_PRIORITY = 110;
|
24
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'manualColumnFreeze';
|
25
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 110;
|
27
26
|
|
28
27
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
29
28
|
|
@@ -41,7 +40,6 @@ const PLUGIN_PRIORITY = 110;
|
|
41
40
|
* manualColumnFreeze: true,
|
42
41
|
* ```
|
43
42
|
*/
|
44
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
45
43
|
var _afterFirstUse = /*#__PURE__*/new WeakMap();
|
46
44
|
var _addContextMenuEntry = /*#__PURE__*/new WeakSet();
|
47
45
|
var _onBeforeColumnMove = /*#__PURE__*/new WeakSet();
|
@@ -23,10 +23,8 @@ function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) {
|
|
23
23
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
24
24
|
_pluginHooks.default.getSingleton().register('beforeColumnMove');
|
25
25
|
_pluginHooks.default.getSingleton().register('afterColumnMove');
|
26
|
-
const PLUGIN_KEY = 'manualColumnMove';
|
27
|
-
exports.
|
28
|
-
const PLUGIN_PRIORITY = 120;
|
29
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
26
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'manualColumnMove';
|
27
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 120;
|
30
28
|
const CSS_PLUGIN = 'ht__manualColumnMove';
|
31
29
|
const CSS_SHOW_UI = 'show-ui';
|
32
30
|
const CSS_ON_MOVING = 'on-moving--columns';
|