@revolist/revogrid 3.1.6 → 3.2.4

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 (213) hide show
  1. package/dist/revo-grid/_baseIteratee-af30b221.js +2070 -0
  2. package/dist/{collection/global/global.js → revo-grid/app-globals-7e6866ba.js} +11 -2
  3. package/dist/{collection/components/data/columnService.js → revo-grid/columnService-91e552ba.js} +11 -6
  4. package/dist/revo-grid/consts-ef824e6f.js +46 -0
  5. package/dist/revo-grid/css-shim-5387c708.js +7 -0
  6. package/dist/revo-grid/data.store-3263fff9.js +557 -0
  7. package/dist/revo-grid/debounce-aaa4b4da.js +217 -0
  8. package/dist/revo-grid/dimension.helpers-a7944fc4.js +340 -0
  9. package/dist/revo-grid/dispatcher-891af82e.js +24 -0
  10. package/dist/{cjs/dom-c8b6d1a7.js → revo-grid/dom-21bd1807.js} +4 -3
  11. package/dist/revo-grid/each-0378e5a3.js +180 -0
  12. package/dist/{collection/plugins/filter/filter.button.js → revo-grid/filter.button-74c1cd9c.js} +16 -10
  13. package/dist/revo-grid/identity-c8c7d3d8.js +26 -0
  14. package/dist/revo-grid/index-8a604c17.js +3067 -0
  15. package/dist/revo-grid/index.esm.js +3 -0
  16. package/dist/revo-grid/isString-a51066b5.js +34 -0
  17. package/dist/revo-grid/isSymbol-e4b5dafe.js +247 -0
  18. package/dist/revo-grid/keyCodes.utils-bd06e3ba.js +299 -0
  19. package/dist/revo-grid/keys-70b7c240.js +561 -0
  20. package/dist/{collection/services/localScrollService.js → revo-grid/localScrollService-e9b73323.js} +8 -2
  21. package/dist/{esm/revo-grid_11.entry.js → revo-grid/lodash-a0ab4cdd.js} +13773 -24597
  22. package/dist/{cjs/resize-observer-8dc80084.js → revo-grid/resize-observer-00c48d78.js} +25 -14
  23. package/dist/revo-grid/revo-grid.entry.js +3484 -0
  24. package/dist/revo-grid/revo-grid.esm.js +133 -1
  25. package/dist/revo-grid/revogr-clipboard.entry.js +52 -1
  26. package/dist/revo-grid/revogr-data.entry.js +152 -0
  27. package/dist/revo-grid/revogr-edit.entry.js +105 -0
  28. package/dist/revo-grid/revogr-filter-panel.entry.js +277 -1
  29. package/dist/revo-grid/revogr-focus.entry.js +41 -0
  30. package/dist/revo-grid/revogr-header.entry.js +560 -0
  31. package/dist/revo-grid/revogr-order-editor.entry.js +175 -0
  32. package/dist/revo-grid/revogr-overlay-selection.entry.js +711 -0
  33. package/dist/revo-grid/revogr-row-headers.entry.js +73 -0
  34. package/dist/revo-grid/revogr-scroll-virtual.entry.js +114 -0
  35. package/dist/revo-grid/revogr-temp-range.entry.js +73 -0
  36. package/dist/revo-grid/revogr-viewport-scroll.entry.js +340 -0
  37. package/dist/revo-grid/selection.store.connector-2b613fd0.js +503 -0
  38. package/dist/{collection/components/overlay/selection.utils.js → revo-grid/selection.utils-a9932db6.js} +15 -9
  39. package/dist/revo-grid/shadow-css-602a09db.js +390 -0
  40. package/dist/{collection/themeManager/themeService.js → revo-grid/themeService-ddaaa364.js} +26 -6
  41. package/dist/revo-grid/toInteger-9e6cbfd2.js +107 -0
  42. package/dist/revo-grid/toNumber-913b0b72.js +105 -0
  43. package/dist/{collection/utils/utils.js → revo-grid/utils-2c3b3857.js} +13 -8
  44. package/dist/revo-grid/viewport.helpers-49d3f031.js +16 -0
  45. package/dist/{collection/store/viewPort/viewport.helpers.js → revo-grid/viewport.store-ffaaab6d.js} +135 -9
  46. package/dist/types/components/revo-grid/revo-grid.d.ts +6 -0
  47. package/dist/types/components.d.ts +110 -58
  48. package/dist/types/plugins/dispatcher.d.ts +10 -0
  49. package/dist/types/plugins/moveColumn/columnDragPlugin.d.ts +66 -0
  50. package/dist/types/plugins/moveColumn/columnOrderHandler.d.ts +12 -0
  51. package/dist/types/services/resizable.directive.d.ts +1 -1
  52. package/dist/types/stencil-public-runtime.d.ts +189 -186
  53. package/package.json +22 -20
  54. package/custom-element/index.js +0 -28972
  55. package/custom-element/resize-observer.js +0 -489
  56. package/dist/cjs/css-shim-e33df79c.js +0 -6
  57. package/dist/cjs/debounce-e9b040d9.js +0 -575
  58. package/dist/cjs/index-d3f67f2e.js +0 -1729
  59. package/dist/cjs/index.cjs.js +0 -2
  60. package/dist/cjs/loader.cjs.js +0 -35
  61. package/dist/cjs/revo-grid.cjs.js +0 -73
  62. package/dist/cjs/revo-grid_11.cjs.entry.js +0 -28056
  63. package/dist/cjs/revogr-clipboard.cjs.entry.js +0 -53
  64. package/dist/cjs/revogr-filter-panel.cjs.entry.js +0 -275
  65. package/dist/collection/collection-manifest.json +0 -25
  66. package/dist/collection/components/button/button.js +0 -4
  67. package/dist/collection/components/clipboard/revogr-clipboard.js +0 -121
  68. package/dist/collection/components/data/cellRenderer.js +0 -24
  69. package/dist/collection/components/data/revogr-data-style.css +0 -135
  70. package/dist/collection/components/data/revogr-data.js +0 -322
  71. package/dist/collection/components/data/rowRenderer.js +0 -6
  72. package/dist/collection/components/header/headerCellRenderer.js +0 -19
  73. package/dist/collection/components/header/headerRenderer.js +0 -45
  74. package/dist/collection/components/header/revogr-header-style.css +0 -198
  75. package/dist/collection/components/header/revogr-header.js +0 -297
  76. package/dist/collection/components/order/orderRenderer.js +0 -50
  77. package/dist/collection/components/order/revogr-order-editor.js +0 -358
  78. package/dist/collection/components/order/rowOrderService.js +0 -68
  79. package/dist/collection/components/overlay/autofill.service.js +0 -182
  80. package/dist/collection/components/overlay/clipboard.service.js +0 -39
  81. package/dist/collection/components/overlay/editors/edit.utils.js +0 -5
  82. package/dist/collection/components/overlay/editors/text.js +0 -35
  83. package/dist/collection/components/overlay/keyboard.service.js +0 -128
  84. package/dist/collection/components/overlay/revogr-edit-style.css +0 -86
  85. package/dist/collection/components/overlay/revogr-edit.js +0 -159
  86. package/dist/collection/components/overlay/revogr-overlay-selection.js +0 -726
  87. package/dist/collection/components/overlay/revogr-overlay-style.css +0 -98
  88. package/dist/collection/components/revo-grid/revo-grid-style.css +0 -527
  89. package/dist/collection/components/revo-grid/revo-grid.js +0 -2186
  90. package/dist/collection/components/revo-grid/viewport.helpers.js +0 -11
  91. package/dist/collection/components/revo-grid/viewport.interfaces.js +0 -1
  92. package/dist/collection/components/revo-grid/viewport.js +0 -18
  93. package/dist/collection/components/revo-grid/viewport.resize.service.js +0 -21
  94. package/dist/collection/components/revo-grid/viewport.scrolling.service.js +0 -60
  95. package/dist/collection/components/revo-grid/viewport.section.js +0 -28
  96. package/dist/collection/components/revo-grid/viewport.service.js +0 -209
  97. package/dist/collection/components/rowHeaders/revogr-row-headers.js +0 -210
  98. package/dist/collection/components/rowHeaders/row-header-render.js +0 -1
  99. package/dist/collection/components/scroll/revogr-viewport-scroll-style.css +0 -137
  100. package/dist/collection/components/scroll/revogr-viewport-scroll.js +0 -399
  101. package/dist/collection/components/scrollable/revogr-scroll-style.css +0 -104
  102. package/dist/collection/components/scrollable/revogr-scroll-virtual.js +0 -253
  103. package/dist/collection/components/selection-focus/revogr-focus-style.css +0 -77
  104. package/dist/collection/components/selection-focus/revogr-focus.js +0 -103
  105. package/dist/collection/components/selection-temp-range/revogr-temp-range-style.css +0 -98
  106. package/dist/collection/components/selection-temp-range/revogr-temp-range.js +0 -138
  107. package/dist/collection/index.js +0 -1
  108. package/dist/collection/plugins/autoSizeColumn.js +0 -230
  109. package/dist/collection/plugins/basePlugin.js +0 -27
  110. package/dist/collection/plugins/export/csv.js +0 -68
  111. package/dist/collection/plugins/export/export.plugin.js +0 -165
  112. package/dist/collection/plugins/export/types.js +0 -1
  113. package/dist/collection/plugins/filter/conditions/equal.js +0 -17
  114. package/dist/collection/plugins/filter/conditions/number/greaterThan.js +0 -10
  115. package/dist/collection/plugins/filter/conditions/number/greaterThanOrEqual.js +0 -7
  116. package/dist/collection/plugins/filter/conditions/number/lessThan.js +0 -12
  117. package/dist/collection/plugins/filter/conditions/number/lessThanOrEqual.js +0 -7
  118. package/dist/collection/plugins/filter/conditions/set.js +0 -3
  119. package/dist/collection/plugins/filter/conditions/string/beginswith.js +0 -17
  120. package/dist/collection/plugins/filter/conditions/string/contains.js +0 -18
  121. package/dist/collection/plugins/filter/filter.plugin.js +0 -256
  122. package/dist/collection/plugins/filter/filter.pop.js +0 -485
  123. package/dist/collection/plugins/filter/filter.service.js +0 -44
  124. package/dist/collection/plugins/filter/filter.style.css +0 -239
  125. package/dist/collection/plugins/filter/filter.types.js +0 -1
  126. package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js +0 -30
  127. package/dist/collection/plugins/groupingColumn/grouping.col.plugin.js +0 -36
  128. package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js +0 -21
  129. package/dist/collection/plugins/groupingRow/grouping.const.js +0 -10
  130. package/dist/collection/plugins/groupingRow/grouping.row.expand.service.js +0 -76
  131. package/dist/collection/plugins/groupingRow/grouping.row.plugin.js +0 -258
  132. package/dist/collection/plugins/groupingRow/grouping.row.renderer.js +0 -29
  133. package/dist/collection/plugins/groupingRow/grouping.row.types.js +0 -1
  134. package/dist/collection/plugins/groupingRow/grouping.service.js +0 -155
  135. package/dist/collection/plugins/groupingRow/grouping.trimmed.service.js +0 -57
  136. package/dist/collection/plugins/sorting/sorting.plugin.js +0 -181
  137. package/dist/collection/plugins/sorting/sorting.sign.js +0 -6
  138. package/dist/collection/plugins/stretchPlugin.js +0 -68
  139. package/dist/collection/plugins/trimmed/trimmed.plugin.js +0 -32
  140. package/dist/collection/services/cell.helpers.js +0 -7
  141. package/dist/collection/services/column.data.provider.js +0 -188
  142. package/dist/collection/services/data.provider.js +0 -47
  143. package/dist/collection/services/dimension.provider.js +0 -78
  144. package/dist/collection/services/resizable.directive.js +0 -250
  145. package/dist/collection/services/selection.store.connector.js +0 -213
  146. package/dist/collection/services/viewport.provider.js +0 -14
  147. package/dist/collection/store/dataSource/data.proxy.js +0 -34
  148. package/dist/collection/store/dataSource/data.store.js +0 -127
  149. package/dist/collection/store/dimension/dimension.helpers.js +0 -107
  150. package/dist/collection/store/dimension/dimension.store.js +0 -59
  151. package/dist/collection/store/selection/selection.helpers.js +0 -53
  152. package/dist/collection/store/selection/selection.store.js +0 -68
  153. package/dist/collection/store/selection/selection.store.service.js +0 -35
  154. package/dist/collection/store/storeTypes.js +0 -5
  155. package/dist/collection/store/viewPort/viewport.store.js +0 -121
  156. package/dist/collection/themeManager/theme.compact.js +0 -5
  157. package/dist/collection/themeManager/theme.default.js +0 -5
  158. package/dist/collection/themeManager/theme.material.js +0 -5
  159. package/dist/collection/utils/closestPolifill.js +0 -18
  160. package/dist/collection/utils/consts.js +0 -19
  161. package/dist/collection/utils/generateAlphabetHeader.js +0 -20
  162. package/dist/collection/utils/keyCodes.js +0 -70
  163. package/dist/collection/utils/keyCodes.utils.js +0 -64
  164. package/dist/collection/utils/platform.js +0 -5
  165. package/dist/collection/utils/resizeObserver.js +0 -6
  166. package/dist/collection/utils/store.utils.js +0 -7
  167. package/dist/collection/utilsExternal/generate-data.js +0 -132
  168. package/dist/esm/css-shim-8d75038b.js +0 -4
  169. package/dist/esm/debounce-8dadcda7.js +0 -558
  170. package/dist/esm/dom-1b195079.js +0 -73
  171. package/dist/esm/index-42c84e7c.js +0 -1694
  172. package/dist/esm/index.js +0 -1
  173. package/dist/esm/loader.js +0 -31
  174. package/dist/esm/polyfills/core-js.js +0 -11
  175. package/dist/esm/polyfills/css-shim.js +0 -1
  176. package/dist/esm/polyfills/dom.js +0 -79
  177. package/dist/esm/polyfills/es5-html-element.js +0 -1
  178. package/dist/esm/polyfills/index.js +0 -34
  179. package/dist/esm/polyfills/system.js +0 -6
  180. package/dist/esm/resize-observer-56b7b34f.js +0 -489
  181. package/dist/esm/revo-grid.js +0 -71
  182. package/dist/esm/revogr-clipboard.entry.js +0 -49
  183. package/dist/esm/revogr-filter-panel.entry.js +0 -271
  184. package/dist/esm-es5/css-shim-8d75038b.js +0 -1
  185. package/dist/esm-es5/debounce-8dadcda7.js +0 -1
  186. package/dist/esm-es5/dom-1b195079.js +0 -21
  187. package/dist/esm-es5/index-42c84e7c.js +0 -1
  188. package/dist/esm-es5/index.js +0 -0
  189. package/dist/esm-es5/loader.js +0 -1
  190. package/dist/esm-es5/resize-observer-56b7b34f.js +0 -1
  191. package/dist/esm-es5/revo-grid.js +0 -1
  192. package/dist/esm-es5/revo-grid_11.entry.js +0 -1
  193. package/dist/esm-es5/revogr-clipboard.entry.js +0 -1
  194. package/dist/esm-es5/revogr-filter-panel.entry.js +0 -1
  195. package/dist/index.cjs.js +0 -1
  196. package/dist/index.js +0 -1
  197. package/dist/revo-grid/css-shim-88bfb262.system.js +0 -1
  198. package/dist/revo-grid/css-shim-8d75038b.js +0 -1
  199. package/dist/revo-grid/debounce-d097578d.js +0 -1
  200. package/dist/revo-grid/debounce-f40a88f6.system.js +0 -1
  201. package/dist/revo-grid/dom-1b195079.js +0 -19
  202. package/dist/revo-grid/dom-ee2dd1b3.system.js +0 -21
  203. package/dist/revo-grid/index-a15e7527.system.js +0 -1
  204. package/dist/revo-grid/index-a7f99799.js +0 -1
  205. package/dist/revo-grid/index.system.js +0 -1
  206. package/dist/revo-grid/resize-observer-56b7b34f.js +0 -1
  207. package/dist/revo-grid/resize-observer-7a7b9757.system.js +0 -1
  208. package/dist/revo-grid/revo-grid.js +0 -132
  209. package/dist/revo-grid/revo-grid.system.js +0 -1
  210. package/dist/revo-grid/revo-grid_11.entry.js +0 -1
  211. package/dist/revo-grid/revo-grid_11.system.entry.js +0 -1
  212. package/dist/revo-grid/revogr-clipboard.system.entry.js +0 -1
  213. package/dist/revo-grid/revogr-filter-panel.system.entry.js +0 -1
@@ -0,0 +1,180 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
4
+ import { k as keys_1, i as isArrayLike_1, a as isArray_1 } from './keys-70b7c240.js';
5
+ import { i as identity_1 } from './identity-c8c7d3d8.js';
6
+
7
+ /**
8
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
9
+ *
10
+ * @private
11
+ * @param {boolean} [fromRight] Specify iterating from right to left.
12
+ * @returns {Function} Returns the new base function.
13
+ */
14
+ function createBaseFor(fromRight) {
15
+ return function(object, iteratee, keysFunc) {
16
+ var index = -1,
17
+ iterable = Object(object),
18
+ props = keysFunc(object),
19
+ length = props.length;
20
+
21
+ while (length--) {
22
+ var key = props[fromRight ? length : ++index];
23
+ if (iteratee(iterable[key], key, iterable) === false) {
24
+ break;
25
+ }
26
+ }
27
+ return object;
28
+ };
29
+ }
30
+
31
+ var _createBaseFor = createBaseFor;
32
+
33
+ /**
34
+ * The base implementation of `baseForOwn` which iterates over `object`
35
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
36
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
37
+ *
38
+ * @private
39
+ * @param {Object} object The object to iterate over.
40
+ * @param {Function} iteratee The function invoked per iteration.
41
+ * @param {Function} keysFunc The function to get the keys of `object`.
42
+ * @returns {Object} Returns `object`.
43
+ */
44
+ var baseFor = _createBaseFor();
45
+
46
+ var _baseFor = baseFor;
47
+
48
+ /**
49
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
50
+ *
51
+ * @private
52
+ * @param {Object} object The object to iterate over.
53
+ * @param {Function} iteratee The function invoked per iteration.
54
+ * @returns {Object} Returns `object`.
55
+ */
56
+ function baseForOwn(object, iteratee) {
57
+ return object && _baseFor(object, iteratee, keys_1);
58
+ }
59
+
60
+ var _baseForOwn = baseForOwn;
61
+
62
+ /**
63
+ * Creates a `baseEach` or `baseEachRight` function.
64
+ *
65
+ * @private
66
+ * @param {Function} eachFunc The function to iterate over a collection.
67
+ * @param {boolean} [fromRight] Specify iterating from right to left.
68
+ * @returns {Function} Returns the new base function.
69
+ */
70
+ function createBaseEach(eachFunc, fromRight) {
71
+ return function(collection, iteratee) {
72
+ if (collection == null) {
73
+ return collection;
74
+ }
75
+ if (!isArrayLike_1(collection)) {
76
+ return eachFunc(collection, iteratee);
77
+ }
78
+ var length = collection.length,
79
+ index = fromRight ? length : -1,
80
+ iterable = Object(collection);
81
+
82
+ while ((fromRight ? index-- : ++index < length)) {
83
+ if (iteratee(iterable[index], index, iterable) === false) {
84
+ break;
85
+ }
86
+ }
87
+ return collection;
88
+ };
89
+ }
90
+
91
+ var _createBaseEach = createBaseEach;
92
+
93
+ /**
94
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
95
+ *
96
+ * @private
97
+ * @param {Array|Object} collection The collection to iterate over.
98
+ * @param {Function} iteratee The function invoked per iteration.
99
+ * @returns {Array|Object} Returns `collection`.
100
+ */
101
+ var baseEach = _createBaseEach(_baseForOwn);
102
+
103
+ var _baseEach = baseEach;
104
+
105
+ /**
106
+ * A specialized version of `_.forEach` for arrays without support for
107
+ * iteratee shorthands.
108
+ *
109
+ * @private
110
+ * @param {Array} [array] The array to iterate over.
111
+ * @param {Function} iteratee The function invoked per iteration.
112
+ * @returns {Array} Returns `array`.
113
+ */
114
+ function arrayEach(array, iteratee) {
115
+ var index = -1,
116
+ length = array == null ? 0 : array.length;
117
+
118
+ while (++index < length) {
119
+ if (iteratee(array[index], index, array) === false) {
120
+ break;
121
+ }
122
+ }
123
+ return array;
124
+ }
125
+
126
+ var _arrayEach = arrayEach;
127
+
128
+ /**
129
+ * Casts `value` to `identity` if it's not a function.
130
+ *
131
+ * @private
132
+ * @param {*} value The value to inspect.
133
+ * @returns {Function} Returns cast function.
134
+ */
135
+ function castFunction(value) {
136
+ return typeof value == 'function' ? value : identity_1;
137
+ }
138
+
139
+ var _castFunction = castFunction;
140
+
141
+ /**
142
+ * Iterates over elements of `collection` and invokes `iteratee` for each element.
143
+ * The iteratee is invoked with three arguments: (value, index|key, collection).
144
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
145
+ *
146
+ * **Note:** As with other "Collections" methods, objects with a "length"
147
+ * property are iterated like arrays. To avoid this behavior use `_.forIn`
148
+ * or `_.forOwn` for object iteration.
149
+ *
150
+ * @static
151
+ * @memberOf _
152
+ * @since 0.1.0
153
+ * @alias each
154
+ * @category Collection
155
+ * @param {Array|Object} collection The collection to iterate over.
156
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
157
+ * @returns {Array|Object} Returns `collection`.
158
+ * @see _.forEachRight
159
+ * @example
160
+ *
161
+ * _.forEach([1, 2], function(value) {
162
+ * console.log(value);
163
+ * });
164
+ * // => Logs `1` then `2`.
165
+ *
166
+ * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
167
+ * console.log(key);
168
+ * });
169
+ * // => Logs 'a' then 'b' (iteration order is not guaranteed).
170
+ */
171
+ function forEach(collection, iteratee) {
172
+ var func = isArray_1(collection) ? _arrayEach : _baseEach;
173
+ return func(collection, _castFunction(iteratee));
174
+ }
175
+
176
+ var forEach_1 = forEach;
177
+
178
+ var each = forEach_1;
179
+
180
+ export { _baseEach as _, each as e };
@@ -1,10 +1,14 @@
1
- import { h } from '@stencil/core';
2
- export const FILTER_BUTTON_CLASS = 'rv-filter';
3
- export const FILTER_BUTTON_ACTIVE = 'active';
4
- export const FILTER_PROP = 'hasFilter';
5
- export const AND_OR_BUTTON = 'and-or-button';
6
- export const TRASH_BUTTON = 'trash-button';
7
- export const FilterButton = ({ column }) => {
1
+ /*!
2
+ * Built by Revolist
3
+ */
4
+ import { h } from './index-8a604c17.js';
5
+
6
+ const FILTER_BUTTON_CLASS = 'rv-filter';
7
+ const FILTER_BUTTON_ACTIVE = 'active';
8
+ const FILTER_PROP = 'hasFilter';
9
+ const AND_OR_BUTTON = 'and-or-button';
10
+ const TRASH_BUTTON = 'trash-button';
11
+ const FilterButton = ({ column }) => {
8
12
  return (h("span", null,
9
13
  h("button", { class: {
10
14
  [FILTER_BUTTON_CLASS]: true,
@@ -14,17 +18,19 @@ export const FilterButton = ({ column }) => {
14
18
  h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
15
19
  h("path", { d: "M43,48 L43,56 L21,56 L21,48 L43,48 Z M53,28 L53,36 L12,36 L12,28 L53,28 Z M64,8 L64,16 L0,16 L0,8 L64,8 Z", fill: "currentColor" }))))));
16
20
  };
17
- export const TrashButton = () => {
21
+ const TrashButton = () => {
18
22
  return (h("div", { class: { [TRASH_BUTTON]: true } },
19
23
  h("svg", { class: "trash-img", viewBox: "0 0 24 24" },
20
24
  h("path", { fill: "currentColor", d: "M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" }))));
21
25
  };
22
- export const AndOrButton = ({ isAnd }) => {
26
+ const AndOrButton = ({ isAnd }) => {
23
27
  return h("button", { class: { [AND_OR_BUTTON]: true, 'light revo-button': true } }, isAnd ? 'and' : 'or');
24
28
  };
25
- export function isFilterBtn(e) {
29
+ function isFilterBtn(e) {
26
30
  if (e.classList.contains(FILTER_BUTTON_CLASS)) {
27
31
  return true;
28
32
  }
29
33
  return e === null || e === void 0 ? void 0 : e.closest(`.${FILTER_BUTTON_CLASS}`);
30
34
  }
35
+
36
+ export { AndOrButton as A, FILTER_PROP as F, TrashButton as T, FilterButton as a, isFilterBtn as i };
@@ -0,0 +1,26 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
4
+ /**
5
+ * This method returns the first argument it receives.
6
+ *
7
+ * @static
8
+ * @since 0.1.0
9
+ * @memberOf _
10
+ * @category Util
11
+ * @param {*} value Any value.
12
+ * @returns {*} Returns `value`.
13
+ * @example
14
+ *
15
+ * var object = { 'a': 1 };
16
+ *
17
+ * console.log(_.identity(object) === object);
18
+ * // => true
19
+ */
20
+ function identity(value) {
21
+ return value;
22
+ }
23
+
24
+ var identity_1 = identity;
25
+
26
+ export { identity_1 as i };