@revolist/revogrid 3.2.0 → 3.2.6

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.
Files changed (179) hide show
  1. package/custom-element/index.js +5 -2
  2. package/custom-element/resize-observer.js +25 -11
  3. package/dist/cjs/css-shim-9f5bc84d.js +9 -0
  4. package/dist/cjs/{debounce-e9b040d9.js → debounce-6cea2774.js} +4 -1
  5. package/dist/cjs/{dom-c8b6d1a7.js → dom-fcb646f0.js} +4 -1
  6. package/dist/cjs/{index-d3f67f2e.js → index-cb904e00.js} +214 -91
  7. package/dist/cjs/index.cjs.js +3 -0
  8. package/dist/cjs/loader.cjs.js +6 -3
  9. package/dist/cjs/{resize-observer-8dc80084.js → resize-observer-bf327d6a.js} +25 -10
  10. package/dist/cjs/revo-grid.cjs.js +12 -6
  11. package/dist/cjs/revo-grid_11.cjs.entry.js +7 -4
  12. package/dist/cjs/revogr-clipboard.cjs.entry.js +4 -1
  13. package/dist/cjs/revogr-filter-panel.cjs.entry.js +5 -2
  14. package/dist/collection/collection-manifest.json +2 -2
  15. package/dist/collection/components/button/button.js +3 -0
  16. package/dist/collection/components/clipboard/revogr-clipboard.js +3 -0
  17. package/dist/collection/components/data/cellRenderer.js +3 -0
  18. package/dist/collection/components/data/columnService.js +3 -0
  19. package/dist/collection/components/data/revogr-data.js +3 -0
  20. package/dist/collection/components/data/rowRenderer.js +3 -0
  21. package/dist/collection/components/header/headerCellRenderer.js +3 -0
  22. package/dist/collection/components/header/headerRenderer.js +3 -0
  23. package/dist/collection/components/header/revogr-header.js +3 -0
  24. package/dist/collection/components/order/orderRenderer.js +3 -0
  25. package/dist/collection/components/order/revogr-order-editor.js +3 -0
  26. package/dist/collection/components/order/rowOrderService.js +3 -0
  27. package/dist/collection/components/overlay/autofill.service.js +3 -0
  28. package/dist/collection/components/overlay/clipboard.service.js +3 -0
  29. package/dist/collection/components/overlay/editors/edit.utils.js +3 -0
  30. package/dist/collection/components/overlay/editors/text.js +3 -0
  31. package/dist/collection/components/overlay/keyboard.service.js +3 -0
  32. package/dist/collection/components/overlay/revogr-edit.js +3 -0
  33. package/dist/collection/components/overlay/revogr-overlay-selection.js +3 -0
  34. package/dist/collection/components/overlay/selection.utils.js +3 -0
  35. package/dist/collection/components/revo-grid/revo-grid.js +17 -14
  36. package/dist/collection/components/revo-grid/viewport.helpers.js +3 -0
  37. package/dist/collection/components/revo-grid/viewport.interfaces.js +3 -0
  38. package/dist/collection/components/revo-grid/viewport.js +3 -0
  39. package/dist/collection/components/revo-grid/viewport.resize.service.js +3 -0
  40. package/dist/collection/components/revo-grid/viewport.scrolling.service.js +3 -0
  41. package/dist/collection/components/revo-grid/viewport.section.js +3 -0
  42. package/dist/collection/components/revo-grid/viewport.service.js +3 -0
  43. package/dist/collection/components/rowHeaders/revogr-row-headers.js +3 -0
  44. package/dist/collection/components/rowHeaders/row-header-render.js +3 -0
  45. package/dist/collection/components/scroll/revogr-viewport-scroll.js +5 -2
  46. package/dist/collection/components/scrollable/revogr-scroll-virtual.js +3 -0
  47. package/dist/collection/components/selection-focus/revogr-focus.js +3 -0
  48. package/dist/collection/components/selection-temp-range/revogr-temp-range.js +3 -0
  49. package/dist/collection/global/global.js +3 -0
  50. package/dist/collection/index.js +3 -0
  51. package/dist/collection/plugins/autoSizeColumn.js +4 -1
  52. package/dist/collection/plugins/basePlugin.js +3 -0
  53. package/dist/collection/plugins/dispatcher.js +3 -0
  54. package/dist/collection/plugins/export/csv.js +3 -0
  55. package/dist/collection/plugins/export/export.plugin.js +3 -0
  56. package/dist/collection/plugins/export/types.js +3 -0
  57. package/dist/collection/plugins/filter/conditions/equal.js +3 -0
  58. package/dist/collection/plugins/filter/conditions/number/greaterThan.js +3 -0
  59. package/dist/collection/plugins/filter/conditions/number/greaterThanOrEqual.js +3 -0
  60. package/dist/collection/plugins/filter/conditions/number/lessThan.js +3 -0
  61. package/dist/collection/plugins/filter/conditions/number/lessThanOrEqual.js +3 -0
  62. package/dist/collection/plugins/filter/conditions/set.js +3 -0
  63. package/dist/collection/plugins/filter/conditions/string/beginswith.js +3 -0
  64. package/dist/collection/plugins/filter/conditions/string/contains.js +3 -0
  65. package/dist/collection/plugins/filter/filter.button.js +3 -0
  66. package/dist/collection/plugins/filter/filter.plugin.js +3 -0
  67. package/dist/collection/plugins/filter/filter.pop.js +3 -0
  68. package/dist/collection/plugins/filter/filter.service.js +3 -0
  69. package/dist/collection/plugins/filter/filter.types.js +3 -0
  70. package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js +3 -0
  71. package/dist/collection/plugins/groupingColumn/grouping.col.plugin.js +3 -0
  72. package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js +3 -0
  73. package/dist/collection/plugins/groupingRow/grouping.const.js +3 -0
  74. package/dist/collection/plugins/groupingRow/grouping.row.expand.service.js +3 -0
  75. package/dist/collection/plugins/groupingRow/grouping.row.plugin.js +3 -0
  76. package/dist/collection/plugins/groupingRow/grouping.row.renderer.js +3 -0
  77. package/dist/collection/plugins/groupingRow/grouping.row.types.js +3 -0
  78. package/dist/collection/plugins/groupingRow/grouping.service.js +3 -0
  79. package/dist/collection/plugins/groupingRow/grouping.trimmed.service.js +3 -0
  80. package/dist/collection/plugins/moveColumn/columnDragPlugin.js +3 -0
  81. package/dist/collection/plugins/moveColumn/columnOrderHandler.js +3 -0
  82. package/dist/collection/plugins/sorting/sorting.plugin.js +3 -0
  83. package/dist/collection/plugins/sorting/sorting.sign.js +3 -0
  84. package/dist/collection/plugins/stretchPlugin.js +3 -0
  85. package/dist/collection/plugins/trimmed/trimmed.plugin.js +3 -0
  86. package/dist/collection/services/cell.helpers.js +3 -0
  87. package/dist/collection/services/column.data.provider.js +3 -0
  88. package/dist/collection/services/data.provider.js +3 -0
  89. package/dist/collection/services/dimension.provider.js +3 -0
  90. package/dist/collection/services/localScrollService.js +3 -0
  91. package/dist/collection/services/resizable.directive.js +3 -0
  92. package/dist/collection/services/selection.store.connector.js +3 -0
  93. package/dist/collection/services/viewport.provider.js +3 -0
  94. package/dist/collection/store/dataSource/data.proxy.js +3 -0
  95. package/dist/collection/store/dataSource/data.store.js +3 -0
  96. package/dist/collection/store/dimension/dimension.helpers.js +3 -0
  97. package/dist/collection/store/dimension/dimension.store.js +3 -0
  98. package/dist/collection/store/selection/selection.helpers.js +3 -0
  99. package/dist/collection/store/selection/selection.store.js +3 -0
  100. package/dist/collection/store/selection/selection.store.service.js +3 -0
  101. package/dist/collection/store/storeTypes.js +3 -0
  102. package/dist/collection/store/viewPort/viewport.helpers.js +3 -0
  103. package/dist/collection/store/viewPort/viewport.store.js +3 -0
  104. package/dist/collection/themeManager/theme.compact.js +3 -0
  105. package/dist/collection/themeManager/theme.default.js +3 -0
  106. package/dist/collection/themeManager/theme.material.js +3 -0
  107. package/dist/collection/themeManager/themeService.js +3 -0
  108. package/dist/collection/utils/closestPolifill.js +3 -0
  109. package/dist/collection/utils/consts.js +3 -0
  110. package/dist/collection/utils/generateAlphabetHeader.js +3 -0
  111. package/dist/collection/utils/keyCodes.js +3 -0
  112. package/dist/collection/utils/keyCodes.utils.js +3 -0
  113. package/dist/collection/utils/platform.js +3 -0
  114. package/dist/collection/utils/resizeObserver.js +3 -0
  115. package/dist/collection/utils/store.utils.js +3 -0
  116. package/dist/collection/utils/utils.js +3 -0
  117. package/dist/esm/css-shim-e1e1ea5e.js +7 -0
  118. package/dist/esm/{debounce-45985ae0.js → debounce-e4e6dd45.js} +4 -1
  119. package/dist/esm/{dom-1b195079.js → dom-21bd1807.js} +4 -1
  120. package/dist/esm/{index-42c84e7c.js → index-6f753b3c.js} +214 -91
  121. package/dist/esm/index.js +3 -1
  122. package/dist/esm/loader.js +6 -3
  123. package/dist/esm/polyfills/css-shim.js +1 -1
  124. package/dist/esm/{resize-observer-56b7b34f.js → resize-observer-00c48d78.js} +25 -11
  125. package/dist/esm/revo-grid.js +12 -6
  126. package/dist/esm/revo-grid_11.entry.js +7 -4
  127. package/dist/esm/revogr-clipboard.entry.js +4 -1
  128. package/dist/esm/revogr-filter-panel.entry.js +5 -2
  129. package/dist/esm-es5/css-shim-e1e1ea5e.js +4 -0
  130. package/dist/esm-es5/{debounce-45985ae0.js → debounce-e4e6dd45.js} +4 -1
  131. package/dist/esm-es5/{dom-1b195079.js → dom-21bd1807.js} +3 -0
  132. package/dist/esm-es5/index-6f753b3c.js +4 -0
  133. package/dist/esm-es5/index.js +3 -0
  134. package/dist/esm-es5/loader.js +4 -1
  135. package/dist/esm-es5/resize-observer-00c48d78.js +4 -0
  136. package/dist/esm-es5/revo-grid.js +4 -1
  137. package/dist/esm-es5/revo-grid_11.entry.js +4 -1
  138. package/dist/esm-es5/revogr-clipboard.entry.js +4 -1
  139. package/dist/esm-es5/revogr-filter-panel.entry.js +4 -1
  140. package/dist/revo-grid/css-shim-bcf89cc0.system.js +4 -0
  141. package/dist/revo-grid/css-shim-e1e1ea5e.js +4 -0
  142. package/dist/revo-grid/{debounce-a345f98e.system.js → debounce-5a33c710.system.js} +4 -1
  143. package/dist/revo-grid/{debounce-6c911037.js → debounce-726bdadb.js} +4 -1
  144. package/dist/revo-grid/{dom-1b195079.js → dom-21bd1807.js} +3 -0
  145. package/dist/revo-grid/{dom-ee2dd1b3.system.js → dom-726246e2.system.js} +3 -0
  146. package/dist/revo-grid/index-f14b41a0.system.js +5 -0
  147. package/dist/revo-grid/index-f30d1de1.js +5 -0
  148. package/dist/revo-grid/index.esm.js +3 -0
  149. package/dist/revo-grid/index.system.js +3 -0
  150. package/dist/revo-grid/resize-observer-00c48d78.js +4 -0
  151. package/dist/revo-grid/resize-observer-8af0bc0e.system.js +4 -0
  152. package/dist/revo-grid/revo-grid.esm.js +4 -1
  153. package/dist/revo-grid/revo-grid.js +3 -2
  154. package/dist/revo-grid/revo-grid.system.js +4 -1
  155. package/dist/revo-grid/revo-grid_11.entry.js +4 -1
  156. package/dist/revo-grid/revo-grid_11.system.entry.js +4 -1
  157. package/dist/revo-grid/revogr-clipboard.entry.js +4 -1
  158. package/dist/revo-grid/revogr-clipboard.system.entry.js +4 -1
  159. package/dist/revo-grid/revogr-filter-panel.entry.js +4 -1
  160. package/dist/revo-grid/revogr-filter-panel.system.entry.js +4 -1
  161. package/dist/types/components.d.ts +100 -56
  162. package/dist/types/stencil-public-runtime.d.ts +189 -186
  163. package/loader/cdn.js +3 -1
  164. package/loader/index.cjs.js +3 -1
  165. package/loader/index.d.ts +0 -1
  166. package/loader/index.es2017.js +3 -1
  167. package/loader/index.js +3 -1
  168. package/package.json +22 -20
  169. package/dist/cjs/css-shim-e33df79c.js +0 -6
  170. package/dist/esm/css-shim-8d75038b.js +0 -4
  171. package/dist/esm-es5/css-shim-8d75038b.js +0 -1
  172. package/dist/esm-es5/index-42c84e7c.js +0 -1
  173. package/dist/esm-es5/resize-observer-56b7b34f.js +0 -1
  174. package/dist/revo-grid/css-shim-88bfb262.system.js +0 -1
  175. package/dist/revo-grid/css-shim-8d75038b.js +0 -1
  176. package/dist/revo-grid/index-a15e7527.system.js +0 -1
  177. package/dist/revo-grid/index-a7f99799.js +0 -1
  178. package/dist/revo-grid/resize-observer-56b7b34f.js +0 -1
  179. package/dist/revo-grid/resize-observer-7a7b9757.system.js +0 -1
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  const gtThan = function (value, extra) {
2
5
  let conditionValue;
3
6
  if (typeof value === 'number') {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import eq from '../equal';
2
5
  import gt from './greaterThan';
3
6
  const gtThanEq = function (value, extra) {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  const lt = function (value, extra) {
2
5
  let conditionValue;
3
6
  if (typeof value === 'number') {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import eq from '../equal';
2
5
  import lt from './lessThan';
3
6
  const lsEq = function (value, extra) {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  const set = (value) => !(value === '' || value === null || value === void 0);
2
5
  export const notSet = (value) => !set(value);
3
6
  export default set;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  const beginsWith = (value, extra) => {
2
5
  if (!value) {
3
6
  return false;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  const contains = (value, extra) => {
2
5
  if (!value) {
3
6
  return false;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { h } from '@stencil/core';
2
5
  export const FILTER_BUTTON_CLASS = 'rv-filter';
3
6
  export const FILTER_BUTTON_ACTIVE = 'active';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { h } from '@stencil/core';
2
5
  import BasePlugin from '../basePlugin';
3
6
  import { FILTER_PROP, isFilterBtn } from './filter.button';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { Component, h, Host, Listen, Prop, State, Event, Method } from '@stencil/core';
2
5
  import { AndOrButton, isFilterBtn, TrashButton } from './filter.button';
3
6
  import { RevoButton } from '../../components/button/button';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import eq, { notEq } from './conditions/equal';
2
5
  import gtThan from './conditions/number/greaterThan';
3
6
  import gtThanEq from './conditions/number/greaterThanOrEqual';
@@ -1 +1,4 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export {};
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { h } from '@stencil/core';
2
5
  import findIndex from 'lodash/findIndex';
3
6
  import { getItemByIndex } from '../../store/dimension/dimension.helpers';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import isArray from 'lodash/isArray';
2
5
  import map from 'lodash/map';
3
6
  import BasePlugin from '../basePlugin';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { h } from '@stencil/core';
2
5
  import { HEADER_CLASS, MIN_COL_SIZE } from '../../utils/consts';
3
6
  import { HeaderCellRenderer } from '../../components/header/headerCellRenderer';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { GRID_INTERNALS } from '../../utils/consts';
2
5
  export const GROUP_DEPTH = `${GRID_INTERNALS}-depth`;
3
6
  export const PSEUDO_GROUP_ITEM = `${GRID_INTERNALS}-name`;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { PSEUDO_GROUP_ITEM_ID, GROUP_EXPANDED, GROUP_DEPTH } from './grouping.const';
2
5
  import { isGrouping, getParsedGroup, isSameGroup } from './grouping.service';
3
6
  // provide collapse data
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { getPhysical, setItems } from '../../store/dataSource/data.store';
2
5
  import { columnTypes } from '../../store/storeTypes';
3
6
  import BasePlugin from '../basePlugin';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { h } from '@stencil/core';
2
5
  import RowRenderer from '../../components/data/rowRenderer';
3
6
  import { GROUP_DEPTH, GROUP_EXPANDED, GROUP_EXPAND_BTN, GROUP_EXPAND_EVENT, PSEUDO_GROUP_ITEM } from './grouping.const';
@@ -1 +1,4 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export {};
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { GROUP_DEPTH, GROUP_EXPANDED, PSEUDO_GROUP_COLUMN, PSEUDO_GROUP_ITEM, PSEUDO_GROUP_ITEM_ID, PSEUDO_GROUP_ITEM_VALUE } from './grouping.const';
2
5
  /**
3
6
  * Do actual grouping
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { gatherTrimmedItems } from '../trimmed/trimmed.plugin';
2
5
  export const TRIMMED_GROUPING = 'grouping';
3
6
  /**
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  /**
2
5
  * Plugin for column manual move
3
6
  */
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { h } from '@stencil/core';
2
5
  export class ColumnOrderHandler {
3
6
  constructor() {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import size from 'lodash/size';
2
5
  import { setStore } from '../../utils/store.utils';
3
6
  import ColumnDataProvider from '../../services/column.data.provider';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { h } from '@stencil/core';
2
5
  export const FILTER_BUTTON_CLASS = 'rv-filter';
3
6
  export const FILTER_BUTTON_ACTIVE = 'active';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { each } from 'lodash';
2
5
  import { getScrollbarWidth } from '../utils/utils';
3
6
  import BasePlugin from './basePlugin';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  /**
2
5
  * Hide items from main collection
3
6
  * But keep them in store
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { DATA_COL, DATA_ROW } from '../utils/consts';
2
5
  export function getCell(cell) {
3
6
  return {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import reduce from 'lodash/reduce';
2
5
  import each from 'lodash/each';
3
6
  import find from 'lodash/find';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import reduce from 'lodash/reduce';
2
5
  import DataStore, { getSourceItem, getVisibleSourceItem, setSourceByVirtualIndex } from '../store/dataSource/data.store';
3
6
  import { isRowType, rowTypes } from '../store/storeTypes';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import reduce from 'lodash/reduce';
2
5
  import { columnTypes, rowTypes } from '../store/storeTypes';
3
6
  import DimensionStore from '../store/dimension/dimension.store';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { scaleValue } from '../utils/utils';
2
5
  const initialParams = {
3
6
  contentSize: 0,
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { h } from '@stencil/core';
2
5
  var ResizeEvents;
3
6
  (function (ResizeEvents) {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { cropCellToMax, isHiddenStore, nextCell } from '../store/selection/selection.helpers';
2
5
  import { SelectionStore } from '../store/selection/selection.store';
3
6
  export const EMPTY_INDEX = -1;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import reduce from 'lodash/reduce';
2
5
  import { columnTypes, rowTypes } from '../store/storeTypes';
3
6
  import ViewportStore from '../store/viewPort/viewport.store';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  /**
2
5
  * All items
3
6
  * Used as proxy for sorting
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { createStore } from '@stencil/store';
2
5
  import findIndex from 'lodash/findIndex';
3
6
  import range from 'lodash/range';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import each from 'lodash/each';
2
5
  import sortedIndex from 'lodash/sortedIndex';
3
6
  import reduce from 'lodash/reduce';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  /**
2
5
  * Storing pre-calculated
3
6
  * Dimension information and sizes
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { EMPTY_INDEX } from '../../services/selection.store.connector';
2
5
  export function isHiddenStore(pos) {
3
6
  return pos === EMPTY_INDEX;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { createStore } from '@stencil/store';
2
5
  import { setStore } from '../../utils/store.utils';
3
6
  import { getRange } from './selection.helpers';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { getRange } from './selection.helpers';
2
5
  export default class SelectionStoreService {
3
6
  constructor(store, config) {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export const rowTypes = ['rowPinStart', 'rgRow', 'rowPinEnd'];
2
5
  export const columnTypes = ['colPinStart', 'rgCol', 'colPinEnd'];
3
6
  export function isRowType(type) {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import { getItemByPosition } from '../dimension/dimension.helpers';
2
5
  /**
3
6
  * Update items based on new scroll position
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  /**
2
5
  * Store is responsible for visible
3
6
  * Viewport information for each dimension
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export default class ThemeCompact {
2
5
  constructor() {
3
6
  this.defaultRowSize = 32;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export default class ThemeDefault {
2
5
  constructor() {
3
6
  this.defaultRowSize = 27;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export default class ThemeMaterial {
2
5
  constructor() {
3
6
  this.defaultRowSize = 42;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import ThemeCompact from './theme.compact';
2
5
  import ThemeDefault from './theme.default';
3
6
  import ThemeMaterial from './theme.material';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  (function closest() {
2
5
  if (!Element.prototype.matches) {
3
6
  Element.prototype.matches =
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export const MIN_COL_SIZE = 30;
2
5
  export const DATA_COL = 'data-rgCol';
3
6
  export const DATA_ROW = 'data-rgRow';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export function generateHeader(index) {
2
5
  const asciiFirstLetter = 65;
3
6
  const lettersCount = 26;
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  var codes;
2
5
  (function (codes) {
3
6
  codes[codes["MOUSE_LEFT"] = 1] = "MOUSE_LEFT";
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  import KeyCodesEnum, { codesLetter } from './keyCodes';
2
5
  import OsPlatform from './platform';
3
6
  import includes from 'lodash/includes';
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  var osPlatform;
2
5
  (function (osPlatform) {
3
6
  osPlatform["mac"] = "Mac";
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  export async function resizeObserver() {
2
5
  if (!('ResizeObserver' in window)) {
3
6
  const module = await import('@juggle/resize-observer');
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  /** Set stores data */
2
5
  function setStore(store, data) {
3
6
  for (let key in data) {
@@ -1,3 +1,6 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  /* Generate range on size
2
5
  */
3
6
  export function range(size, startAt = 0) {
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
4
+ /*
5
+ Stencil Client Patch Esm v2.17.3 | MIT Licensed | https://stenciljs.com
6
+ */
7
+ var __assign=function(){return (__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector="";};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r);}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE;}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return "\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return {start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return {start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t);}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else {if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s);}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value;}));}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0);})),!t)return "break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return [];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t});})),t++;})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o});}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement;}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors);})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return ":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return {original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return !1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t));}));}function reScope(e,t){var r=e.template.map((function(r){return "string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t);}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t);})).observe(document.head,{childList:!0});}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove();}})).catch((function(e){console.error(e);}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1;}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}));}));})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal();}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal();},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e);},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n);}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes);},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document));}("undefined"!=typeof window&&window);
@@ -1,4 +1,7 @@
1
- import { h } from './index-42c84e7c.js';
1
+ /*!
2
+ * Built by Revolist
3
+ */
4
+ import { h } from './index-6f753b3c.js';
2
5
 
3
6
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
7
 
@@ -1,5 +1,8 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
1
4
  /*
2
- Stencil Client Patch Browser v2.6.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v2.17.3 | MIT Licensed | https://stenciljs.com
3
6
  */
4
7
  (function(){
5
8
  var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function g(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return !b&&a}function l(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return !(!a||!(a.__CE_isImportDocument||a instanceof Document))}