@revolist/revogrid 4.9.13 → 4.9.16

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 (175) hide show
  1. package/dist/cjs/{column.drag.plugin-e636b5af.js → column.drag.plugin-a5cc161a.js} +106 -186
  2. package/dist/cjs/column.drag.plugin-a5cc161a.js.map +1 -0
  3. package/dist/cjs/{column.service-15c8352d.js → column.service-d45dbb3f.js} +141 -14
  4. package/dist/cjs/column.service-d45dbb3f.js.map +1 -0
  5. package/dist/cjs/{header-cell-renderer-375a879f.js → header-cell-renderer-28f7f21d.js} +14 -14
  6. package/dist/cjs/header-cell-renderer-28f7f21d.js.map +1 -0
  7. package/dist/cjs/index.cjs.js +15 -13
  8. package/dist/cjs/index.cjs.js.map +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/revo-grid.cjs.entry.js +23 -17
  11. package/dist/cjs/revo-grid.cjs.entry.js.map +1 -1
  12. package/dist/cjs/revo-grid.cjs.js +1 -1
  13. package/dist/cjs/revogr-attribution_6.cjs.entry.js +1 -1
  14. package/dist/cjs/revogr-data_4.cjs.entry.js +7 -7
  15. package/dist/cjs/revogr-data_4.cjs.entry.js.map +1 -1
  16. package/dist/cjs/revogr-filter-panel.cjs.entry.js +17 -10
  17. package/dist/cjs/revogr-filter-panel.cjs.entry.js.map +1 -1
  18. package/dist/collection/collection-manifest.json +2 -2
  19. package/dist/collection/components/data/cell-renderer.js +2 -2
  20. package/dist/collection/components/data/cell-renderer.js.map +1 -1
  21. package/dist/collection/components/data/column.service.js +5 -14
  22. package/dist/collection/components/data/column.service.js.map +1 -1
  23. package/dist/collection/components/header/header-cell-renderer.js +5 -4
  24. package/dist/collection/components/header/header-cell-renderer.js.map +1 -1
  25. package/dist/collection/components/header/header-renderer.js +2 -2
  26. package/dist/collection/components/header/header-renderer.js.map +1 -1
  27. package/dist/collection/components/header/resizable.directive.js.map +1 -1
  28. package/dist/collection/components/header/resizable.element.js +9 -10
  29. package/dist/collection/components/header/resizable.element.js.map +1 -1
  30. package/dist/collection/components/header/revogr-header.js +3 -3
  31. package/dist/collection/components/header/revogr-header.js.map +1 -1
  32. package/dist/collection/components/revoGrid/revo-grid.js +6 -6
  33. package/dist/collection/components/revoGrid/revo-grid.js.map +1 -1
  34. package/dist/collection/global/global.js +2 -2
  35. package/dist/collection/global/global.js.map +1 -1
  36. package/dist/collection/plugins/filter/{filter.service.js → filter.indexed.js} +18 -18
  37. package/dist/collection/plugins/filter/filter.indexed.js.map +1 -0
  38. package/dist/collection/plugins/filter/filter.panel.js +32 -46
  39. package/dist/collection/plugins/filter/filter.panel.js.map +1 -1
  40. package/dist/collection/plugins/filter/filter.plugin.js +86 -40
  41. package/dist/collection/plugins/filter/filter.plugin.js.map +1 -1
  42. package/dist/collection/plugins/filter/filter.types.js.map +1 -1
  43. package/dist/collection/plugins/wcag/index.js +7 -1
  44. package/dist/collection/plugins/wcag/index.js.map +1 -1
  45. package/dist/collection/serve/controller.js +1 -1
  46. package/dist/collection/themeManager/theme.compact.js +1 -1
  47. package/dist/collection/themeManager/theme.compact.js.map +1 -1
  48. package/dist/collection/themeManager/theme.default.js +1 -1
  49. package/dist/collection/themeManager/theme.default.js.map +1 -1
  50. package/dist/collection/themeManager/theme.material.js +1 -1
  51. package/dist/collection/themeManager/theme.material.js.map +1 -1
  52. package/dist/collection/themeManager/theme.service.js +9 -9
  53. package/dist/collection/themeManager/theme.service.js.map +1 -1
  54. package/dist/collection/types/interfaces.js.map +1 -1
  55. package/dist/collection/utils/column.utils.js +10 -0
  56. package/dist/collection/utils/column.utils.js.map +1 -1
  57. package/dist/esm/{column.drag.plugin-30dc4e24.js → column.drag.plugin-18125693.js} +107 -181
  58. package/dist/esm/column.drag.plugin-18125693.js.map +1 -0
  59. package/dist/esm/{column.service-414e9cba.js → column.service-00a51837.js} +136 -16
  60. package/dist/esm/column.service-00a51837.js.map +1 -0
  61. package/dist/esm/{edit.utils-0666e5bd.js → edit.utils-b50f9378.js} +2 -2
  62. package/dist/esm/{edit.utils-0666e5bd.js.map → edit.utils-b50f9378.js.map} +1 -1
  63. package/dist/esm/{header-cell-renderer-ca570fcf.js → header-cell-renderer-6d89f141.js} +14 -14
  64. package/dist/esm/header-cell-renderer-6d89f141.js.map +1 -0
  65. package/dist/esm/{index-74b9801b.js → index-00cb6ac1.js} +2 -2
  66. package/dist/esm/{index-74b9801b.js.map → index-00cb6ac1.js.map} +1 -1
  67. package/dist/esm/index.js +7 -7
  68. package/dist/esm/{key.utils-d3df5db8.js → key.utils-b8a11f7d.js} +2 -2
  69. package/dist/esm/{key.utils-d3df5db8.js.map → key.utils-b8a11f7d.js.map} +1 -1
  70. package/dist/esm/loader.js +1 -1
  71. package/dist/esm/revo-grid.entry.js +18 -12
  72. package/dist/esm/revo-grid.entry.js.map +1 -1
  73. package/dist/esm/revo-grid.js +1 -1
  74. package/dist/esm/revogr-attribution_6.entry.js +6 -6
  75. package/dist/esm/revogr-clipboard_3.entry.js +4 -4
  76. package/dist/esm/revogr-data_4.entry.js +9 -9
  77. package/dist/esm/revogr-data_4.entry.js.map +1 -1
  78. package/dist/esm/revogr-filter-panel.entry.js +17 -10
  79. package/dist/esm/revogr-filter-panel.entry.js.map +1 -1
  80. package/dist/esm/{row-header-utils-c7e3e2d5.js → row-header-utils-30750b8e.js} +2 -2
  81. package/dist/esm/{row-header-utils-c7e3e2d5.js.map → row-header-utils-30750b8e.js.map} +1 -1
  82. package/dist/esm/{text-editor-96d69516.js → text-editor-f8a9ff85.js} +3 -3
  83. package/dist/esm/{text-editor-96d69516.js.map → text-editor-f8a9ff85.js.map} +1 -1
  84. package/dist/esm/{throttle-262c3ed2.js → throttle-9b08685d.js} +2 -2
  85. package/dist/esm/{throttle-262c3ed2.js.map → throttle-9b08685d.js.map} +1 -1
  86. package/dist/revo-grid/column.drag.plugin-18125693.js +5 -0
  87. package/dist/revo-grid/column.drag.plugin-18125693.js.map +1 -0
  88. package/dist/revo-grid/column.service-00a51837.js +5 -0
  89. package/dist/revo-grid/column.service-00a51837.js.map +1 -0
  90. package/dist/revo-grid/{edit.utils-0666e5bd.js → edit.utils-b50f9378.js} +2 -2
  91. package/dist/revo-grid/{header-cell-renderer-ca570fcf.js → header-cell-renderer-6d89f141.js} +2 -2
  92. package/dist/revo-grid/header-cell-renderer-6d89f141.js.map +1 -0
  93. package/dist/revo-grid/{index-74b9801b.js → index-00cb6ac1.js} +2 -2
  94. package/dist/revo-grid/index.esm.js +1 -1
  95. package/dist/revo-grid/{key.utils-d3df5db8.js → key.utils-b8a11f7d.js} +2 -2
  96. package/dist/revo-grid/revo-grid.entry.js +1 -1
  97. package/dist/revo-grid/revo-grid.entry.js.map +1 -1
  98. package/dist/revo-grid/revo-grid.esm.js +1 -1
  99. package/dist/revo-grid/revo-grid.esm.js.map +1 -1
  100. package/dist/revo-grid/revogr-attribution_6.entry.js +1 -1
  101. package/dist/revo-grid/revogr-clipboard_3.entry.js +1 -1
  102. package/dist/revo-grid/revogr-data_4.entry.js +1 -1
  103. package/dist/revo-grid/revogr-data_4.entry.js.map +1 -1
  104. package/dist/revo-grid/revogr-filter-panel.entry.js +1 -1
  105. package/dist/revo-grid/revogr-filter-panel.entry.js.map +1 -1
  106. package/dist/revo-grid/{row-header-utils-c7e3e2d5.js → row-header-utils-30750b8e.js} +2 -2
  107. package/dist/revo-grid/{text-editor-96d69516.js → text-editor-f8a9ff85.js} +2 -2
  108. package/dist/revo-grid/{throttle-262c3ed2.js → throttle-9b08685d.js} +2 -2
  109. package/dist/types/components/data/column.service.d.ts +1 -2
  110. package/dist/types/components/header/header-cell-renderer.d.ts +7 -9
  111. package/dist/types/components/header/header-renderer.d.ts +2 -3
  112. package/dist/types/components/header/resizable.directive.d.ts +0 -1
  113. package/dist/types/components/header/resizable.element.d.ts +3 -2
  114. package/dist/types/components/revoGrid/revo-grid.d.ts +1 -1
  115. package/dist/types/components.d.ts +2 -8
  116. package/dist/types/plugins/filter/{filter.service.d.ts → filter.indexed.d.ts} +2 -2
  117. package/dist/types/plugins/filter/filter.panel.d.ts +3 -27
  118. package/dist/types/plugins/filter/filter.plugin.d.ts +14 -47
  119. package/dist/types/plugins/filter/filter.types.d.ts +86 -1
  120. package/dist/types/themeManager/theme.compact.d.ts +1 -1
  121. package/dist/types/themeManager/theme.default.d.ts +1 -1
  122. package/dist/types/themeManager/theme.material.d.ts +1 -1
  123. package/dist/types/themeManager/theme.service.d.ts +2 -2
  124. package/dist/types/types/interfaces.d.ts +9 -12
  125. package/dist/types/utils/column.utils.d.ts +3 -1
  126. package/hydrate/index.js +1007 -949
  127. package/hydrate/index.mjs +1007 -949
  128. package/package.json +1 -1
  129. package/standalone/column.service.js +136 -15
  130. package/standalone/column.service.js.map +1 -1
  131. package/standalone/dimension.helpers.js +2 -216
  132. package/standalone/dimension.helpers.js.map +1 -1
  133. package/standalone/index.js +7 -6
  134. package/standalone/index.js.map +1 -1
  135. package/standalone/index2.js +2 -84
  136. package/standalone/index2.js.map +1 -1
  137. package/standalone/platform.js +89 -0
  138. package/standalone/platform.js.map +1 -0
  139. package/standalone/{data.store.js → reduce.js} +252 -38
  140. package/standalone/reduce.js.map +1 -0
  141. package/standalone/revo-grid.js +119 -186
  142. package/standalone/revo-grid.js.map +1 -1
  143. package/standalone/revogr-data2.js +3 -2
  144. package/standalone/revogr-data2.js.map +1 -1
  145. package/standalone/revogr-edit2.js +2 -1
  146. package/standalone/revogr-edit2.js.map +1 -1
  147. package/standalone/revogr-filter-panel.js +17 -11
  148. package/standalone/revogr-filter-panel.js.map +1 -1
  149. package/standalone/revogr-focus2.js +1 -1
  150. package/standalone/revogr-header2.js +20 -20
  151. package/standalone/revogr-header2.js.map +1 -1
  152. package/standalone/revogr-order-editor2.js +1 -1
  153. package/standalone/revogr-overlay-selection2.js +3 -2
  154. package/standalone/revogr-overlay-selection2.js.map +1 -1
  155. package/standalone/revogr-row-headers2.js +1 -1
  156. package/standalone/selection.utils.js +1 -1
  157. package/dist/cjs/column.drag.plugin-e636b5af.js.map +0 -1
  158. package/dist/cjs/column.service-15c8352d.js.map +0 -1
  159. package/dist/cjs/header-cell-renderer-375a879f.js.map +0 -1
  160. package/dist/collection/plugins/filter/filter.service.js.map +0 -1
  161. package/dist/esm/column.drag.plugin-30dc4e24.js.map +0 -1
  162. package/dist/esm/column.service-414e9cba.js.map +0 -1
  163. package/dist/esm/header-cell-renderer-ca570fcf.js.map +0 -1
  164. package/dist/revo-grid/column.drag.plugin-30dc4e24.js +0 -5
  165. package/dist/revo-grid/column.drag.plugin-30dc4e24.js.map +0 -1
  166. package/dist/revo-grid/column.service-414e9cba.js +0 -5
  167. package/dist/revo-grid/column.service-414e9cba.js.map +0 -1
  168. package/dist/revo-grid/header-cell-renderer-ca570fcf.js.map +0 -1
  169. package/standalone/data.store.js.map +0 -1
  170. /package/dist/revo-grid/{edit.utils-0666e5bd.js.map → edit.utils-b50f9378.js.map} +0 -0
  171. /package/dist/revo-grid/{index-74b9801b.js.map → index-00cb6ac1.js.map} +0 -0
  172. /package/dist/revo-grid/{key.utils-d3df5db8.js.map → key.utils-b8a11f7d.js.map} +0 -0
  173. /package/dist/revo-grid/{row-header-utils-c7e3e2d5.js.map → row-header-utils-30750b8e.js.map} +0 -0
  174. /package/dist/revo-grid/{text-editor-96d69516.js.map → text-editor-f8a9ff85.js.map} +0 -0
  175. /package/dist/revo-grid/{throttle-262c3ed2.js.map → throttle-9b08685d.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built by Revolist OU ❤️
3
3
  */
4
+ import { i as isSymbol_1, t as toNumber_1 } from './toNumber.js';
4
5
  import { b as _SetCache, e as eq_1, c as _baseIsTypedArray, d as _nodeUtil, i as isArguments_1, f as isBuffer$2, g as isFunction_1, h as isLength_1, j as _Stack, _ as _getTag, k as _stringToPath } from './_stringToPath.js';
5
6
  import { b as _root, d as _Symbol, i as isObjectLike_1, a as isObject_1 } from './isObjectLike.js';
6
- import { i as isSymbol_1, t as toNumber_1 } from './toNumber.js';
7
7
  import { getRenderingRef, forceUpdate } from '@stencil/core/internal/client';
8
8
 
9
9
  /**
@@ -398,12 +398,12 @@ var _arrayPush = arrayPush$1;
398
398
  * // => false
399
399
  */
400
400
 
401
- var isArray$8 = Array.isArray;
401
+ var isArray$9 = Array.isArray;
402
402
 
403
- var isArray_1 = isArray$8;
403
+ var isArray_1 = isArray$9;
404
404
 
405
405
  var arrayPush = _arrayPush,
406
- isArray$7 = isArray_1;
406
+ isArray$8 = isArray_1;
407
407
 
408
408
  /**
409
409
  * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
@@ -418,7 +418,7 @@ var arrayPush = _arrayPush,
418
418
  */
419
419
  function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
420
420
  var result = keysFunc(object);
421
- return isArray$7(object) ? result : arrayPush(result, symbolsFunc(object));
421
+ return isArray$8(object) ? result : arrayPush(result, symbolsFunc(object));
422
422
  }
423
423
 
424
424
  var _baseGetAllKeys = baseGetAllKeys$1;
@@ -601,7 +601,7 @@ var isTypedArray_1 = isTypedArray$2;
601
601
 
602
602
  var baseTimes = _baseTimes,
603
603
  isArguments$1 = isArguments_1,
604
- isArray$6 = isArray_1,
604
+ isArray$7 = isArray_1,
605
605
  isBuffer$1 = isBuffer$2.exports,
606
606
  isIndex$2 = _isIndex,
607
607
  isTypedArray$1 = isTypedArray_1;
@@ -621,7 +621,7 @@ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
621
621
  * @returns {Array} Returns the array of property names.
622
622
  */
623
623
  function arrayLikeKeys$1(value, inherited) {
624
- var isArr = isArray$6(value),
624
+ var isArr = isArray$7(value),
625
625
  isArg = !isArr && isArguments$1(value),
626
626
  isBuff = !isArr && !isArg && isBuffer$1(value),
627
627
  isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
@@ -752,15 +752,15 @@ var isFunction = isFunction_1,
752
752
  * _.isArrayLike(_.noop);
753
753
  * // => false
754
754
  */
755
- function isArrayLike$2(value) {
755
+ function isArrayLike$3(value) {
756
756
  return value != null && isLength$1(value.length) && !isFunction(value);
757
757
  }
758
758
 
759
- var isArrayLike_1 = isArrayLike$2;
759
+ var isArrayLike_1 = isArrayLike$3;
760
760
 
761
761
  var arrayLikeKeys = _arrayLikeKeys,
762
762
  baseKeys = _baseKeys,
763
- isArrayLike$1 = isArrayLike_1;
763
+ isArrayLike$2 = isArrayLike_1;
764
764
 
765
765
  /**
766
766
  * Creates an array of the own enumerable property names of `object`.
@@ -790,15 +790,15 @@ var arrayLikeKeys = _arrayLikeKeys,
790
790
  * _.keys('hi');
791
791
  * // => ['0', '1']
792
792
  */
793
- function keys$2(object) {
794
- return isArrayLike$1(object) ? arrayLikeKeys(object) : baseKeys(object);
793
+ function keys$3(object) {
794
+ return isArrayLike$2(object) ? arrayLikeKeys(object) : baseKeys(object);
795
795
  }
796
796
 
797
- var keys_1 = keys$2;
797
+ var keys_1 = keys$3;
798
798
 
799
799
  var baseGetAllKeys = _baseGetAllKeys,
800
800
  getSymbols = _getSymbols,
801
- keys$1 = keys_1;
801
+ keys$2 = keys_1;
802
802
 
803
803
  /**
804
804
  * Creates an array of own enumerable property names and symbols of `object`.
@@ -808,7 +808,7 @@ var baseGetAllKeys = _baseGetAllKeys,
808
808
  * @returns {Array} Returns the array of property names and symbols.
809
809
  */
810
810
  function getAllKeys$1(object) {
811
- return baseGetAllKeys(object, keys$1, getSymbols);
811
+ return baseGetAllKeys(object, keys$2, getSymbols);
812
812
  }
813
813
 
814
814
  var _getAllKeys = getAllKeys$1;
@@ -909,7 +909,7 @@ var Stack$1 = _Stack,
909
909
  equalByTag = _equalByTag,
910
910
  equalObjects = _equalObjects,
911
911
  getTag = _getTag,
912
- isArray$5 = isArray_1,
912
+ isArray$6 = isArray_1,
913
913
  isBuffer = isBuffer$2.exports,
914
914
  isTypedArray = isTypedArray_1;
915
915
 
@@ -942,8 +942,8 @@ var hasOwnProperty = objectProto.hasOwnProperty;
942
942
  * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
943
943
  */
944
944
  function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
945
- var objIsArr = isArray$5(object),
946
- othIsArr = isArray$5(other),
945
+ var objIsArr = isArray$6(object),
946
+ othIsArr = isArray$6(other),
947
947
  objTag = objIsArr ? arrayTag : getTag(object),
948
948
  othTag = othIsArr ? arrayTag : getTag(other);
949
949
 
@@ -1097,7 +1097,7 @@ function isStrictComparable$2(value) {
1097
1097
  var _isStrictComparable = isStrictComparable$2;
1098
1098
 
1099
1099
  var isStrictComparable$1 = _isStrictComparable,
1100
- keys = keys_1;
1100
+ keys$1 = keys_1;
1101
1101
 
1102
1102
  /**
1103
1103
  * Gets the property names, values, and compare flags of `object`.
@@ -1107,7 +1107,7 @@ var isStrictComparable$1 = _isStrictComparable,
1107
1107
  * @returns {Array} Returns the match data of `object`.
1108
1108
  */
1109
1109
  function getMatchData$1(object) {
1110
- var result = keys(object),
1110
+ var result = keys$1(object),
1111
1111
  length = result.length;
1112
1112
 
1113
1113
  while (length--) {
@@ -1166,7 +1166,7 @@ function baseMatches$1(source) {
1166
1166
 
1167
1167
  var _baseMatches = baseMatches$1;
1168
1168
 
1169
- var isArray$4 = isArray_1,
1169
+ var isArray$5 = isArray_1,
1170
1170
  isSymbol$2 = isSymbol_1;
1171
1171
 
1172
1172
  /** Used to match property names within property paths. */
@@ -1182,7 +1182,7 @@ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
1182
1182
  * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
1183
1183
  */
1184
1184
  function isKey$3(value, object) {
1185
- if (isArray$4(value)) {
1185
+ if (isArray$5(value)) {
1186
1186
  return false;
1187
1187
  }
1188
1188
  var type = typeof value;
@@ -1221,7 +1221,7 @@ var _arrayMap = arrayMap$1;
1221
1221
 
1222
1222
  var Symbol = _Symbol,
1223
1223
  arrayMap = _arrayMap,
1224
- isArray$3 = isArray_1,
1224
+ isArray$4 = isArray_1,
1225
1225
  isSymbol$1 = isSymbol_1;
1226
1226
 
1227
1227
  /** Used as references for various `Number` constants. */
@@ -1244,7 +1244,7 @@ function baseToString$1(value) {
1244
1244
  if (typeof value == 'string') {
1245
1245
  return value;
1246
1246
  }
1247
- if (isArray$3(value)) {
1247
+ if (isArray$4(value)) {
1248
1248
  // Recursively convert values (susceptible to call stack limits).
1249
1249
  return arrayMap(value, baseToString$1) + '';
1250
1250
  }
@@ -1286,7 +1286,7 @@ function toString$1(value) {
1286
1286
 
1287
1287
  var toString_1 = toString$1;
1288
1288
 
1289
- var isArray$2 = isArray_1,
1289
+ var isArray$3 = isArray_1,
1290
1290
  isKey$2 = _isKey,
1291
1291
  stringToPath = _stringToPath,
1292
1292
  toString = toString_1;
@@ -1300,7 +1300,7 @@ var isArray$2 = isArray_1,
1300
1300
  * @returns {Array} Returns the cast property path array.
1301
1301
  */
1302
1302
  function castPath$2(value, object) {
1303
- if (isArray$2(value)) {
1303
+ if (isArray$3(value)) {
1304
1304
  return value;
1305
1305
  }
1306
1306
  return isKey$2(value, object) ? [value] : stringToPath(toString(value));
@@ -1406,7 +1406,7 @@ var _baseHasIn = baseHasIn$1;
1406
1406
 
1407
1407
  var castPath = _castPath,
1408
1408
  isArguments = isArguments_1,
1409
- isArray$1 = isArray_1,
1409
+ isArray$2 = isArray_1,
1410
1410
  isIndex$1 = _isIndex,
1411
1411
  isLength = isLength_1,
1412
1412
  toKey$2 = _toKey;
@@ -1439,7 +1439,7 @@ function hasPath$1(object, path, hasFunc) {
1439
1439
  }
1440
1440
  length = object == null ? 0 : object.length;
1441
1441
  return !!length && isLength(length) && isIndex$1(key, length) &&
1442
- (isArray$1(object) || isArguments(object));
1442
+ (isArray$2(object) || isArguments(object));
1443
1443
  }
1444
1444
 
1445
1445
  var _hasPath = hasPath$1;
@@ -1605,7 +1605,7 @@ var property_1 = property$1;
1605
1605
  var baseMatches = _baseMatches,
1606
1606
  baseMatchesProperty = _baseMatchesProperty,
1607
1607
  identity = identity_1,
1608
- isArray = isArray_1,
1608
+ isArray$1 = isArray_1,
1609
1609
  property = property_1;
1610
1610
 
1611
1611
  /**
@@ -1615,7 +1615,7 @@ var baseMatches = _baseMatches,
1615
1615
  * @param {*} [value=_.identity] The value to convert to an iteratee.
1616
1616
  * @returns {Function} Returns the iteratee.
1617
1617
  */
1618
- function baseIteratee$1(value) {
1618
+ function baseIteratee$2(value) {
1619
1619
  // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
1620
1620
  // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
1621
1621
  if (typeof value == 'function') {
@@ -1625,14 +1625,14 @@ function baseIteratee$1(value) {
1625
1625
  return identity;
1626
1626
  }
1627
1627
  if (typeof value == 'object') {
1628
- return isArray(value)
1628
+ return isArray$1(value)
1629
1629
  ? baseMatchesProperty(value[0], value[1])
1630
1630
  : baseMatches(value);
1631
1631
  }
1632
1632
  return property(value);
1633
1633
  }
1634
1634
 
1635
- var _baseIteratee = baseIteratee$1;
1635
+ var _baseIteratee = baseIteratee$2;
1636
1636
 
1637
1637
  var toNumber = toNumber_1;
1638
1638
 
@@ -1715,7 +1715,7 @@ function toInteger$1(value) {
1715
1715
  var toInteger_1 = toInteger$1;
1716
1716
 
1717
1717
  var baseFindIndex = _baseFindIndex,
1718
- baseIteratee = _baseIteratee,
1718
+ baseIteratee$1 = _baseIteratee,
1719
1719
  toInteger = toInteger_1;
1720
1720
 
1721
1721
  /* Built-in method references for those with the same name as other `lodash` methods. */
@@ -1765,7 +1765,7 @@ function findIndex(array, predicate, fromIndex) {
1765
1765
  if (index < 0) {
1766
1766
  index = nativeMax$1(length + index, 0);
1767
1767
  }
1768
- return baseFindIndex(array, baseIteratee(predicate), index);
1768
+ return baseFindIndex(array, baseIteratee$1(predicate), index);
1769
1769
  }
1770
1770
 
1771
1771
  var findIndex_1 = findIndex;
@@ -1801,7 +1801,7 @@ function baseRange$1(start, end, step, fromRight) {
1801
1801
  var _baseRange = baseRange$1;
1802
1802
 
1803
1803
  var eq = eq_1,
1804
- isArrayLike = isArrayLike_1,
1804
+ isArrayLike$1 = isArrayLike_1,
1805
1805
  isIndex = _isIndex,
1806
1806
  isObject = isObject_1;
1807
1807
 
@@ -1821,7 +1821,7 @@ function isIterateeCall$1(value, index, object) {
1821
1821
  }
1822
1822
  var type = typeof index;
1823
1823
  if (type == 'number'
1824
- ? (isArrayLike(object) && isIndex(index, object.length))
1824
+ ? (isArrayLike$1(object) && isIndex(index, object.length))
1825
1825
  : (type == 'string' && index in object)
1826
1826
  ) {
1827
1827
  return eq(object[index], value);
@@ -2271,6 +2271,220 @@ function getSourceItemVirtualIndexByProp(store, prop) {
2271
2271
  return items.indexOf(physicalIndex);
2272
2272
  }
2273
2273
 
2274
- export { DataStore as D, _isIterateeCall as _, getVisibleSourceItem as a, getSourceItem as b, setSourceByPhysicalIndex as c, setItems as d, getSourceItemVirtualIndexByProp as e, gatherTrimmedItems as f, getPhysical as g, setStore as h, createStore as i, isArray_1 as j, toInteger_1 as k, _baseProperty as l, _baseKeys as m, isArrayLike_1 as n, _baseIteratee as o, proxyPlugin as p, keys_1 as q, range_1 as r, setSourceByVirtualIndex as s, trimmedPlugin as t, findIndex_1 as u, identity_1 as v };
2274
+ /**
2275
+ * A specialized version of `_.reduce` for arrays without support for
2276
+ * iteratee shorthands.
2277
+ *
2278
+ * @private
2279
+ * @param {Array} [array] The array to iterate over.
2280
+ * @param {Function} iteratee The function invoked per iteration.
2281
+ * @param {*} [accumulator] The initial value.
2282
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
2283
+ * the initial value.
2284
+ * @returns {*} Returns the accumulated value.
2285
+ */
2286
+
2287
+ function arrayReduce$1(array, iteratee, accumulator, initAccum) {
2288
+ var index = -1,
2289
+ length = array == null ? 0 : array.length;
2290
+
2291
+ if (initAccum && length) {
2292
+ accumulator = array[++index];
2293
+ }
2294
+ while (++index < length) {
2295
+ accumulator = iteratee(accumulator, array[index], index, array);
2296
+ }
2297
+ return accumulator;
2298
+ }
2299
+
2300
+ var _arrayReduce = arrayReduce$1;
2301
+
2302
+ /**
2303
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
2304
+ *
2305
+ * @private
2306
+ * @param {boolean} [fromRight] Specify iterating from right to left.
2307
+ * @returns {Function} Returns the new base function.
2308
+ */
2309
+
2310
+ function createBaseFor$1(fromRight) {
2311
+ return function(object, iteratee, keysFunc) {
2312
+ var index = -1,
2313
+ iterable = Object(object),
2314
+ props = keysFunc(object),
2315
+ length = props.length;
2316
+
2317
+ while (length--) {
2318
+ var key = props[fromRight ? length : ++index];
2319
+ if (iteratee(iterable[key], key, iterable) === false) {
2320
+ break;
2321
+ }
2322
+ }
2323
+ return object;
2324
+ };
2325
+ }
2326
+
2327
+ var _createBaseFor = createBaseFor$1;
2328
+
2329
+ var createBaseFor = _createBaseFor;
2330
+
2331
+ /**
2332
+ * The base implementation of `baseForOwn` which iterates over `object`
2333
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
2334
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
2335
+ *
2336
+ * @private
2337
+ * @param {Object} object The object to iterate over.
2338
+ * @param {Function} iteratee The function invoked per iteration.
2339
+ * @param {Function} keysFunc The function to get the keys of `object`.
2340
+ * @returns {Object} Returns `object`.
2341
+ */
2342
+ var baseFor$1 = createBaseFor();
2343
+
2344
+ var _baseFor = baseFor$1;
2345
+
2346
+ var baseFor = _baseFor,
2347
+ keys = keys_1;
2348
+
2349
+ /**
2350
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
2351
+ *
2352
+ * @private
2353
+ * @param {Object} object The object to iterate over.
2354
+ * @param {Function} iteratee The function invoked per iteration.
2355
+ * @returns {Object} Returns `object`.
2356
+ */
2357
+ function baseForOwn$1(object, iteratee) {
2358
+ return object && baseFor(object, iteratee, keys);
2359
+ }
2360
+
2361
+ var _baseForOwn = baseForOwn$1;
2362
+
2363
+ var isArrayLike = isArrayLike_1;
2364
+
2365
+ /**
2366
+ * Creates a `baseEach` or `baseEachRight` function.
2367
+ *
2368
+ * @private
2369
+ * @param {Function} eachFunc The function to iterate over a collection.
2370
+ * @param {boolean} [fromRight] Specify iterating from right to left.
2371
+ * @returns {Function} Returns the new base function.
2372
+ */
2373
+ function createBaseEach$1(eachFunc, fromRight) {
2374
+ return function(collection, iteratee) {
2375
+ if (collection == null) {
2376
+ return collection;
2377
+ }
2378
+ if (!isArrayLike(collection)) {
2379
+ return eachFunc(collection, iteratee);
2380
+ }
2381
+ var length = collection.length,
2382
+ index = fromRight ? length : -1,
2383
+ iterable = Object(collection);
2384
+
2385
+ while ((fromRight ? index-- : ++index < length)) {
2386
+ if (iteratee(iterable[index], index, iterable) === false) {
2387
+ break;
2388
+ }
2389
+ }
2390
+ return collection;
2391
+ };
2392
+ }
2393
+
2394
+ var _createBaseEach = createBaseEach$1;
2395
+
2396
+ var baseForOwn = _baseForOwn,
2397
+ createBaseEach = _createBaseEach;
2398
+
2399
+ /**
2400
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
2401
+ *
2402
+ * @private
2403
+ * @param {Array|Object} collection The collection to iterate over.
2404
+ * @param {Function} iteratee The function invoked per iteration.
2405
+ * @returns {Array|Object} Returns `collection`.
2406
+ */
2407
+ var baseEach$1 = createBaseEach(baseForOwn);
2408
+
2409
+ var _baseEach = baseEach$1;
2410
+
2411
+ /**
2412
+ * The base implementation of `_.reduce` and `_.reduceRight`, without support
2413
+ * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
2414
+ *
2415
+ * @private
2416
+ * @param {Array|Object} collection The collection to iterate over.
2417
+ * @param {Function} iteratee The function invoked per iteration.
2418
+ * @param {*} accumulator The initial value.
2419
+ * @param {boolean} initAccum Specify using the first or last element of
2420
+ * `collection` as the initial value.
2421
+ * @param {Function} eachFunc The function to iterate over `collection`.
2422
+ * @returns {*} Returns the accumulated value.
2423
+ */
2424
+
2425
+ function baseReduce$1(collection, iteratee, accumulator, initAccum, eachFunc) {
2426
+ eachFunc(collection, function(value, index, collection) {
2427
+ accumulator = initAccum
2428
+ ? (initAccum = false, value)
2429
+ : iteratee(accumulator, value, index, collection);
2430
+ });
2431
+ return accumulator;
2432
+ }
2433
+
2434
+ var _baseReduce = baseReduce$1;
2435
+
2436
+ var arrayReduce = _arrayReduce,
2437
+ baseEach = _baseEach,
2438
+ baseIteratee = _baseIteratee,
2439
+ baseReduce = _baseReduce,
2440
+ isArray = isArray_1;
2441
+
2442
+ /**
2443
+ * Reduces `collection` to a value which is the accumulated result of running
2444
+ * each element in `collection` thru `iteratee`, where each successive
2445
+ * invocation is supplied the return value of the previous. If `accumulator`
2446
+ * is not given, the first element of `collection` is used as the initial
2447
+ * value. The iteratee is invoked with four arguments:
2448
+ * (accumulator, value, index|key, collection).
2449
+ *
2450
+ * Many lodash methods are guarded to work as iteratees for methods like
2451
+ * `_.reduce`, `_.reduceRight`, and `_.transform`.
2452
+ *
2453
+ * The guarded methods are:
2454
+ * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
2455
+ * and `sortBy`
2456
+ *
2457
+ * @static
2458
+ * @memberOf _
2459
+ * @since 0.1.0
2460
+ * @category Collection
2461
+ * @param {Array|Object} collection The collection to iterate over.
2462
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
2463
+ * @param {*} [accumulator] The initial value.
2464
+ * @returns {*} Returns the accumulated value.
2465
+ * @see _.reduceRight
2466
+ * @example
2467
+ *
2468
+ * _.reduce([1, 2], function(sum, n) {
2469
+ * return sum + n;
2470
+ * }, 0);
2471
+ * // => 3
2472
+ *
2473
+ * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
2474
+ * (result[value] || (result[value] = [])).push(key);
2475
+ * return result;
2476
+ * }, {});
2477
+ * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
2478
+ */
2479
+ function reduce(collection, iteratee, accumulator) {
2480
+ var func = isArray(collection) ? arrayReduce : baseReduce,
2481
+ initAccum = arguments.length < 3;
2482
+
2483
+ return func(collection, baseIteratee(iteratee), accumulator, initAccum, baseEach);
2484
+ }
2485
+
2486
+ var reduce_1 = reduce;
2487
+
2488
+ export { DataStore as D, _isIterateeCall as _, getVisibleSourceItem as a, getSourceItem as b, setSourceByPhysicalIndex as c, setItems as d, getSourceItemVirtualIndexByProp as e, gatherTrimmedItems as f, getPhysical as g, setStore as h, createStore as i, toInteger_1 as j, isArray_1 as k, _baseProperty as l, _baseKeys as m, isArrayLike_1 as n, range_1 as o, proxyPlugin as p, _baseIteratee as q, reduce_1 as r, setSourceByVirtualIndex as s, trimmedPlugin as t, keys_1 as u, findIndex_1 as v, _baseEach as w, identity_1 as x };
2275
2489
 
2276
- //# sourceMappingURL=data.store.js.map
2490
+ //# sourceMappingURL=reduce.js.map