@popmenu/table 0.125.0 → 0.126.1

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 (192) hide show
  1. package/build/esm/_virtual/_commonjsHelpers.js +4 -0
  2. package/build/esm/_virtual/_commonjsHelpers.js.map +1 -0
  3. package/build/{components → esm/components}/ColumnFilterChip/ColumnFilterChip.d.ts +9 -9
  4. package/build/esm/components/ColumnFilterChip/ColumnFilterChip.js +17 -0
  5. package/build/esm/components/ColumnFilterChip/ColumnFilterChip.js.map +1 -0
  6. package/build/esm/components/ColumnFilterChip/ColumnFilterChipStyles.d.ts +1 -0
  7. package/build/esm/components/ColumnFilterChip/ColumnFilterChipStyles.js +14 -0
  8. package/build/esm/components/ColumnFilterChip/ColumnFilterChipStyles.js.map +1 -0
  9. package/build/{components → esm/components}/ColumnFilterChip/index.d.ts +1 -1
  10. package/build/{components → esm/components}/ColumnFilterResetButton/ColumnFilterResetButton.d.ts +3 -3
  11. package/build/esm/components/ColumnFilterResetButton/ColumnFilterResetButton.js +11 -0
  12. package/build/esm/components/ColumnFilterResetButton/ColumnFilterResetButton.js.map +1 -0
  13. package/build/{components → esm/components}/ColumnFilterResetButton/index.d.ts +1 -1
  14. package/build/{components → esm/components}/FilterPanel/FilterControl/FilterControl.d.ts +3 -3
  15. package/build/esm/components/FilterPanel/FilterControl/FilterControl.js +24 -0
  16. package/build/esm/components/FilterPanel/FilterControl/FilterControl.js.map +1 -0
  17. package/build/{components → esm/components}/FilterPanel/FilterControl/SelectFilter/SelectFilter.d.ts +5 -5
  18. package/build/esm/components/FilterPanel/FilterControl/SelectFilter/SelectFilter.js +97 -0
  19. package/build/esm/components/FilterPanel/FilterControl/SelectFilter/SelectFilter.js.map +1 -0
  20. package/build/{components → esm/components}/FilterPanel/FilterControl/SelectFilter/SelectFilterStyles.d.ts +1 -1
  21. package/build/esm/components/FilterPanel/FilterControl/SelectFilter/SelectFilterStyles.js +23 -0
  22. package/build/esm/components/FilterPanel/FilterControl/SelectFilter/SelectFilterStyles.js.map +1 -0
  23. package/build/{components → esm/components}/FilterPanel/FilterControl/SelectFilter/index.d.ts +1 -1
  24. package/build/{components → esm/components}/FilterPanel/FilterControl/ToggleFilter/ToggleFilter.d.ts +4 -4
  25. package/build/esm/components/FilterPanel/FilterControl/ToggleFilter/ToggleFilter.js +20 -0
  26. package/build/esm/components/FilterPanel/FilterControl/ToggleFilter/ToggleFilter.js.map +1 -0
  27. package/build/{components → esm/components}/FilterPanel/FilterControl/ToggleFilter/index.d.ts +1 -1
  28. package/build/{components → esm/components}/FilterPanel/FilterControl/index.d.ts +1 -1
  29. package/build/{components → esm/components}/FilterPanel/FilterPanel.d.ts +2 -2
  30. package/build/esm/components/FilterPanel/FilterPanel.js +24 -0
  31. package/build/esm/components/FilterPanel/FilterPanel.js.map +1 -0
  32. package/build/{components → esm/components}/FilterPanel/FilterPanelContext/FilterPanelContext.d.ts +7 -7
  33. package/build/esm/components/FilterPanel/FilterPanelContext/FilterPanelContext.js +13 -0
  34. package/build/esm/components/FilterPanel/FilterPanelContext/FilterPanelContext.js.map +1 -0
  35. package/build/{components → esm/components}/FilterPanel/FilterPanelContext/index.d.ts +1 -1
  36. package/build/{components → esm/components}/FilterPanel/FilterPanelProps.d.ts +11 -11
  37. package/build/{components → esm/components}/FilterPanel/Panel/Panel.d.ts +7 -7
  38. package/build/esm/components/FilterPanel/Panel/Panel.js +72 -0
  39. package/build/esm/components/FilterPanel/Panel/Panel.js.map +1 -0
  40. package/build/{components → esm/components}/FilterPanel/Panel/PanelStyles.d.ts +1 -1
  41. package/build/esm/components/FilterPanel/Panel/PanelStyles.js +58 -0
  42. package/build/esm/components/FilterPanel/Panel/PanelStyles.js.map +1 -0
  43. package/build/{components → esm/components}/FilterPanel/Panel/index.d.ts +1 -1
  44. package/build/{components → esm/components}/FilterPanel/Trigger/Trigger.d.ts +7 -7
  45. package/build/esm/components/FilterPanel/Trigger/Trigger.js +14 -0
  46. package/build/esm/components/FilterPanel/Trigger/Trigger.js.map +1 -0
  47. package/build/{components → esm/components}/FilterPanel/Trigger/TriggerStyles.d.ts +1 -1
  48. package/build/esm/components/FilterPanel/Trigger/TriggerStyles.js +11 -0
  49. package/build/esm/components/FilterPanel/Trigger/TriggerStyles.js.map +1 -0
  50. package/build/{components → esm/components}/FilterPanel/Trigger/index.d.ts +1 -1
  51. package/build/{components → esm/components}/FilterPanel/index.d.ts +1 -1
  52. package/build/{components → esm/components}/GlobalFilter/GlobalFilter.d.ts +3 -3
  53. package/build/esm/components/GlobalFilter/GlobalFilter.js +21 -0
  54. package/build/esm/components/GlobalFilter/GlobalFilter.js.map +1 -0
  55. package/build/{components → esm/components}/GlobalFilter/GlobalFilterProps.d.ts +7 -7
  56. package/build/{components → esm/components}/GlobalFilter/GlobalFilterStyles.d.ts +1 -1
  57. package/build/esm/components/GlobalFilter/GlobalFilterStyles.js +14 -0
  58. package/build/esm/components/GlobalFilter/GlobalFilterStyles.js.map +1 -0
  59. package/build/{components → esm/components}/GlobalFilter/index.d.ts +2 -2
  60. package/build/{components → esm/components}/RowActions/RowActions.d.ts +3 -3
  61. package/build/esm/components/RowActions/RowActions.js +42 -0
  62. package/build/esm/components/RowActions/RowActions.js.map +1 -0
  63. package/build/{components → esm/components}/RowActions/RowActionsProps.d.ts +13 -13
  64. package/build/{components → esm/components}/RowActions/index.d.ts +2 -2
  65. package/build/{components → esm/components}/Table/Table.d.ts +21 -21
  66. package/build/esm/components/Table/Table.js +107 -0
  67. package/build/esm/components/Table/Table.js.map +1 -0
  68. package/build/{components → esm/components}/Table/TableProps.d.ts +47 -47
  69. package/build/{components → esm/components}/Table/TableStyles.d.ts +2 -2
  70. package/build/esm/components/Table/TableStyles.js +28 -0
  71. package/build/esm/components/Table/TableStyles.js.map +1 -0
  72. package/build/{components → esm/components}/Table/index.d.ts +2 -2
  73. package/build/{components → esm/components}/TableBody/TableBody.d.ts +4 -4
  74. package/build/esm/components/TableBody/TableBody.js +10 -0
  75. package/build/esm/components/TableBody/TableBody.js.map +1 -0
  76. package/build/{components → esm/components}/TableBody/index.d.ts +1 -1
  77. package/build/{components → esm/components}/TableCell/TableCell.d.ts +4 -4
  78. package/build/esm/components/TableCell/TableCell.js +12 -0
  79. package/build/esm/components/TableCell/TableCell.js.map +1 -0
  80. package/build/{components → esm/components}/TableCell/TableCellStyles.d.ts +1 -1
  81. package/build/esm/components/TableCell/TableCellStyles.js +11 -0
  82. package/build/esm/components/TableCell/TableCellStyles.js.map +1 -0
  83. package/build/{components → esm/components}/TableCell/index.d.ts +1 -1
  84. package/build/{components → esm/components}/TableContext/index.d.ts +16 -16
  85. package/build/esm/components/TableContext/index.js +6 -0
  86. package/build/esm/components/TableContext/index.js.map +1 -0
  87. package/build/{components → esm/components}/TableControlsContainer/TableControlsContainer.d.ts +3 -3
  88. package/build/esm/components/TableControlsContainer/TableControlsContainer.js +34 -0
  89. package/build/esm/components/TableControlsContainer/TableControlsContainer.js.map +1 -0
  90. package/build/{components → esm/components}/TableControlsContainer/TableControlsContainerProps.d.ts +6 -6
  91. package/build/{components → esm/components}/TableControlsContainer/index.d.ts +1 -1
  92. package/build/{components → esm/components}/TableFooter/TableFooter.d.ts +4 -4
  93. package/build/esm/components/TableFooter/TableFooter.js +9 -0
  94. package/build/esm/components/TableFooter/TableFooter.js.map +1 -0
  95. package/build/{components → esm/components}/TableFooter/index.d.ts +1 -1
  96. package/build/{components → esm/components}/TableHeader/TableHeader.d.ts +4 -4
  97. package/build/esm/components/TableHeader/TableHeader.js +10 -0
  98. package/build/esm/components/TableHeader/TableHeader.js.map +1 -0
  99. package/build/{components → esm/components}/TableHeader/index.d.ts +1 -1
  100. package/build/{components → esm/components}/TableHeaderCell/TableHeaderCell.d.ts +3 -3
  101. package/build/esm/components/TableHeaderCell/TableHeaderCell.js +31 -0
  102. package/build/esm/components/TableHeaderCell/TableHeaderCell.js.map +1 -0
  103. package/build/{components → esm/components}/TableHeaderCell/TableHeaderCellProps.d.ts +6 -6
  104. package/build/{components → esm/components}/TableHeaderCell/TableHeaderCellStyles.d.ts +4 -4
  105. package/build/esm/components/TableHeaderCell/TableHeaderCellStyles.js +41 -0
  106. package/build/esm/components/TableHeaderCell/TableHeaderCellStyles.js.map +1 -0
  107. package/build/{components → esm/components}/TableHeaderCell/index.d.ts +2 -2
  108. package/build/{components → esm/components}/TableHeaderRow/TableHeaderRow.d.ts +4 -4
  109. package/build/esm/components/TableHeaderRow/TableHeaderRow.js +10 -0
  110. package/build/esm/components/TableHeaderRow/TableHeaderRow.js.map +1 -0
  111. package/build/{components → esm/components}/TableHeaderRow/index.d.ts +1 -1
  112. package/build/{components → esm/components}/TableRow/TableRow.d.ts +4 -4
  113. package/build/esm/components/TableRow/TableRow.js +12 -0
  114. package/build/esm/components/TableRow/TableRow.js.map +1 -0
  115. package/build/{components → esm/components}/TableRow/TableRowStyles.d.ts +1 -1
  116. package/build/esm/components/TableRow/TableRowStyles.js +12 -0
  117. package/build/esm/components/TableRow/TableRowStyles.js.map +1 -0
  118. package/build/{components → esm/components}/TableRow/index.d.ts +1 -1
  119. package/build/{components → esm/components}/index.d.ts +10 -10
  120. package/build/{hooks → esm/hooks}/index.d.ts +2 -2
  121. package/build/{hooks → esm/hooks}/useColumnFilters.d.ts +9 -9
  122. package/build/esm/hooks/useColumnFilters.js +74 -0
  123. package/build/esm/hooks/useColumnFilters.js.map +1 -0
  124. package/build/{hooks → esm/hooks}/useStagedColumnFilters.d.ts +8 -8
  125. package/build/esm/hooks/useStagedColumnFilters.js +55 -0
  126. package/build/esm/hooks/useStagedColumnFilters.js.map +1 -0
  127. package/build/{index.d.ts → esm/index.d.ts} +1 -1
  128. package/build/esm/index.js +11 -0
  129. package/build/esm/index.js.map +1 -0
  130. package/build/esm/node_modules/lodash/_Symbol.js +11 -0
  131. package/build/esm/node_modules/lodash/_Symbol.js.map +1 -0
  132. package/build/esm/node_modules/lodash/_arrayMap.js +25 -0
  133. package/build/esm/node_modules/lodash/_arrayMap.js.map +1 -0
  134. package/build/esm/node_modules/lodash/_arrayReduce.js +30 -0
  135. package/build/esm/node_modules/lodash/_arrayReduce.js.map +1 -0
  136. package/build/esm/node_modules/lodash/_asciiWords.js +19 -0
  137. package/build/esm/node_modules/lodash/_asciiWords.js.map +1 -0
  138. package/build/esm/node_modules/lodash/_baseGetTag.js +35 -0
  139. package/build/esm/node_modules/lodash/_baseGetTag.js.map +1 -0
  140. package/build/esm/node_modules/lodash/_basePropertyOf.js +18 -0
  141. package/build/esm/node_modules/lodash/_basePropertyOf.js.map +1 -0
  142. package/build/esm/node_modules/lodash/_baseToString.js +42 -0
  143. package/build/esm/node_modules/lodash/_baseToString.js.map +1 -0
  144. package/build/esm/node_modules/lodash/_createCompounder.js +31 -0
  145. package/build/esm/node_modules/lodash/_createCompounder.js.map +1 -0
  146. package/build/esm/node_modules/lodash/_deburrLetter.js +76 -0
  147. package/build/esm/node_modules/lodash/_deburrLetter.js.map +1 -0
  148. package/build/esm/node_modules/lodash/_freeGlobal.js +10 -0
  149. package/build/esm/node_modules/lodash/_freeGlobal.js.map +1 -0
  150. package/build/esm/node_modules/lodash/_getRawTag.js +51 -0
  151. package/build/esm/node_modules/lodash/_getRawTag.js.map +1 -0
  152. package/build/esm/node_modules/lodash/_hasUnicodeWord.js +19 -0
  153. package/build/esm/node_modules/lodash/_hasUnicodeWord.js.map +1 -0
  154. package/build/esm/node_modules/lodash/_objectToString.js +26 -0
  155. package/build/esm/node_modules/lodash/_objectToString.js.map +1 -0
  156. package/build/esm/node_modules/lodash/_root.js +14 -0
  157. package/build/esm/node_modules/lodash/_root.js.map +1 -0
  158. package/build/esm/node_modules/lodash/_unicodeWords.js +73 -0
  159. package/build/esm/node_modules/lodash/_unicodeWords.js.map +1 -0
  160. package/build/esm/node_modules/lodash/deburr.js +51 -0
  161. package/build/esm/node_modules/lodash/deburr.js.map +1 -0
  162. package/build/esm/node_modules/lodash/isArray.js +30 -0
  163. package/build/esm/node_modules/lodash/isArray.js.map +1 -0
  164. package/build/esm/node_modules/lodash/isObjectLike.js +33 -0
  165. package/build/esm/node_modules/lodash/isObjectLike.js.map +1 -0
  166. package/build/esm/node_modules/lodash/isSymbol.js +35 -0
  167. package/build/esm/node_modules/lodash/isSymbol.js.map +1 -0
  168. package/build/esm/node_modules/lodash/kebabCase.js +33 -0
  169. package/build/esm/node_modules/lodash/kebabCase.js.map +1 -0
  170. package/build/esm/node_modules/lodash/toString.js +33 -0
  171. package/build/esm/node_modules/lodash/toString.js.map +1 -0
  172. package/build/esm/node_modules/lodash/words.js +43 -0
  173. package/build/esm/node_modules/lodash/words.js.map +1 -0
  174. package/build/{util → esm/util}/coercedValueIncludesString.d.ts +2 -2
  175. package/build/esm/util/coercedValueIncludesString.js +9 -0
  176. package/build/esm/util/coercedValueIncludesString.js.map +1 -0
  177. package/build/{util → esm/util}/getTableMinHeight.d.ts +2 -2
  178. package/build/esm/util/getTableMinHeight.js +20 -0
  179. package/build/esm/util/getTableMinHeight.js.map +1 -0
  180. package/build/{util → esm/util}/index.d.ts +3 -3
  181. package/build/{util → esm/util}/tableConstants.d.ts +5 -5
  182. package/build/esm/util/tableConstants.js +6 -0
  183. package/build/esm/util/tableConstants.js.map +1 -0
  184. package/build/{util → esm/util}/validateRowAction.d.ts +2 -2
  185. package/build/esm/util/validateRowAction.js +12 -0
  186. package/build/esm/util/validateRowAction.js.map +1 -0
  187. package/build/index.js +694 -3716
  188. package/build/index.js.map +1 -1
  189. package/package.json +8 -4
  190. package/build/components/ColumnFilterChip/ColumnFilterChipStyles.d.ts +0 -1
  191. package/build/index.es.js +0 -4407
  192. package/build/index.es.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_getRawTag.js","sources":["../../../../../../node_modules/lodash/_getRawTag.js"],"sourcesContent":["var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n"],"names":["require$$0"],"mappings":";;AAAA,IAAI,MAAM,GAAGA,OAAoB;;AAEjC;AACA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS;;AAElC;AACA,IAAI,cAAc,GAAG,WAAW,CAAC,cAAc;;AAE/C;AACA;AACA;AACA;AACA;AACA,IAAI,oBAAoB,GAAG,WAAW,CAAC,QAAQ;;AAE/C;AACA,IAAI,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC,WAAW,GAAG,SAAS;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,SAAS,CAAC,KAAK,EAAE;AAC1B,EAAE,IAAI,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC;AACxD,MAAM,GAAG,GAAG,KAAK,CAAC,cAAc,CAAC;;AAEjC,EAAE,IAAI;AACN,IAAI,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS;AACrC,IAAI,IAAI,QAAQ,GAAG,IAAI;AACvB,GAAG,CAAC,OAAO,CAAC,EAAE;;AAEd,EAAE,IAAI,MAAM,GAAG,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC;AAC/C,EAAE,IAAI,QAAQ,EAAE;AAChB,IAAI,IAAI,KAAK,EAAE;AACf,MAAM,KAAK,CAAC,cAAc,CAAC,GAAG,GAAG;AACjC,KAAK,MAAM;AACX,MAAM,OAAO,KAAK,CAAC,cAAc,CAAC;AAClC;AACA;AACA,EAAE,OAAO,MAAM;AACf;;AAEA,IAAA,UAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,19 @@
1
+ /** Used to detect strings that need a more robust regexp to match words. */
2
+
3
+ var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
4
+
5
+ /**
6
+ * Checks if `string` contains a word composed of Unicode symbols.
7
+ *
8
+ * @private
9
+ * @param {string} string The string to inspect.
10
+ * @returns {boolean} Returns `true` if a word is found, else `false`.
11
+ */
12
+ function hasUnicodeWord(string) {
13
+ return reHasUnicodeWord.test(string);
14
+ }
15
+
16
+ var _hasUnicodeWord = hasUnicodeWord;
17
+
18
+ export { _hasUnicodeWord as default };
19
+ //# sourceMappingURL=_hasUnicodeWord.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_hasUnicodeWord.js","sources":["../../../../../../node_modules/lodash/_hasUnicodeWord.js"],"sourcesContent":["/** Used to detect strings that need a more robust regexp to match words. */\nvar reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n/**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\nfunction hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n}\n\nmodule.exports = hasUnicodeWord;\n"],"names":[],"mappings":";;AACA,IAAI,gBAAgB,GAAG,oEAAoE;;AAE3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,cAAc,CAAC,MAAM,EAAE;AAChC,EAAE,OAAO,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC;AACtC;;AAEA,IAAA,eAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,26 @@
1
+ /** Used for built-in method references. */
2
+
3
+ var objectProto = Object.prototype;
4
+
5
+ /**
6
+ * Used to resolve the
7
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
8
+ * of values.
9
+ */
10
+ var nativeObjectToString = objectProto.toString;
11
+
12
+ /**
13
+ * Converts `value` to a string using `Object.prototype.toString`.
14
+ *
15
+ * @private
16
+ * @param {*} value The value to convert.
17
+ * @returns {string} Returns the converted string.
18
+ */
19
+ function objectToString(value) {
20
+ return nativeObjectToString.call(value);
21
+ }
22
+
23
+ var _objectToString = objectToString;
24
+
25
+ export { _objectToString as default };
26
+ //# sourceMappingURL=_objectToString.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_objectToString.js","sources":["../../../../../../node_modules/lodash/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n"],"names":[],"mappings":";;AACA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS;;AAElC;AACA;AACA;AACA;AACA;AACA,IAAI,oBAAoB,GAAG,WAAW,CAAC,QAAQ;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,cAAc,CAAC,KAAK,EAAE;AAC/B,EAAE,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC;AACzC;;AAEA,IAAA,eAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,14 @@
1
+ import _freeGlobal from './_freeGlobal.js';
2
+
3
+ var freeGlobal = _freeGlobal;
4
+
5
+ /** Detect free variable `self`. */
6
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
7
+
8
+ /** Used as a reference to the global object. */
9
+ var root = freeGlobal || freeSelf || Function('return this')();
10
+
11
+ var _root = root;
12
+
13
+ export { _root as default };
14
+ //# sourceMappingURL=_root.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_root.js","sources":["../../../../../../node_modules/lodash/_root.js"],"sourcesContent":["var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n"],"names":["require$$0"],"mappings":";;AAAA,IAAI,UAAU,GAAGA,WAAwB;;AAEzC;AACA,IAAI,QAAQ,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,IAAI;;AAEhF;AACA,IAAI,IAAI,GAAG,UAAU,IAAI,QAAQ,IAAI,QAAQ,CAAC,aAAa,CAAC,EAAE;;AAE9D,IAAA,KAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,73 @@
1
+ /** Used to compose unicode character classes. */
2
+
3
+ var rsAstralRange = '\\ud800-\\udfff',
4
+ rsComboMarksRange = '\\u0300-\\u036f',
5
+ reComboHalfMarksRange = '\\ufe20-\\ufe2f',
6
+ rsComboSymbolsRange = '\\u20d0-\\u20ff',
7
+ rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
8
+ rsDingbatRange = '\\u2700-\\u27bf',
9
+ rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
10
+ rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
11
+ rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
12
+ rsPunctuationRange = '\\u2000-\\u206f',
13
+ rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
14
+ rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
15
+ rsVarRange = '\\ufe0e\\ufe0f',
16
+ rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
17
+
18
+ /** Used to compose unicode capture groups. */
19
+ var rsApos = "['\u2019]",
20
+ rsBreak = '[' + rsBreakRange + ']',
21
+ rsCombo = '[' + rsComboRange + ']',
22
+ rsDigits = '\\d+',
23
+ rsDingbat = '[' + rsDingbatRange + ']',
24
+ rsLower = '[' + rsLowerRange + ']',
25
+ rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
26
+ rsFitz = '\\ud83c[\\udffb-\\udfff]',
27
+ rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
28
+ rsNonAstral = '[^' + rsAstralRange + ']',
29
+ rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
30
+ rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
31
+ rsUpper = '[' + rsUpperRange + ']',
32
+ rsZWJ = '\\u200d';
33
+
34
+ /** Used to compose unicode regexes. */
35
+ var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
36
+ rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
37
+ rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
38
+ rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
39
+ reOptMod = rsModifier + '?',
40
+ rsOptVar = '[' + rsVarRange + ']?',
41
+ rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
42
+ rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
43
+ rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
44
+ rsSeq = rsOptVar + reOptMod + rsOptJoin,
45
+ rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;
46
+
47
+ /** Used to match complex or compound words. */
48
+ var reUnicodeWord = RegExp([
49
+ rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
50
+ rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
51
+ rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
52
+ rsUpper + '+' + rsOptContrUpper,
53
+ rsOrdUpper,
54
+ rsOrdLower,
55
+ rsDigits,
56
+ rsEmoji
57
+ ].join('|'), 'g');
58
+
59
+ /**
60
+ * Splits a Unicode `string` into an array of its words.
61
+ *
62
+ * @private
63
+ * @param {string} The string to inspect.
64
+ * @returns {Array} Returns the words of `string`.
65
+ */
66
+ function unicodeWords(string) {
67
+ return string.match(reUnicodeWord) || [];
68
+ }
69
+
70
+ var _unicodeWords = unicodeWords;
71
+
72
+ export { _unicodeWords as default };
73
+ //# sourceMappingURL=_unicodeWords.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_unicodeWords.js","sources":["../../../../../../node_modules/lodash/_unicodeWords.js"],"sourcesContent":["/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n/** Used to compose unicode capture groups. */\nvar rsApos = \"['\\u2019]\",\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;\n\n/** Used to match complex or compound words. */\nvar reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n].join('|'), 'g');\n\n/**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n}\n\nmodule.exports = unicodeWords;\n"],"names":[],"mappings":"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","x_google_ignoreList":[0]}
@@ -0,0 +1,51 @@
1
+ import _deburrLetter from './_deburrLetter.js';
2
+ import toString_1 from './toString.js';
3
+
4
+ var deburrLetter = _deburrLetter,
5
+ toString = toString_1;
6
+
7
+ /** Used to match Latin Unicode letters (excluding mathematical operators). */
8
+ var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
9
+
10
+ /** Used to compose unicode character classes. */
11
+ var rsComboMarksRange = '\\u0300-\\u036f',
12
+ reComboHalfMarksRange = '\\ufe20-\\ufe2f',
13
+ rsComboSymbolsRange = '\\u20d0-\\u20ff',
14
+ rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
15
+
16
+ /** Used to compose unicode capture groups. */
17
+ var rsCombo = '[' + rsComboRange + ']';
18
+
19
+ /**
20
+ * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
21
+ * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
22
+ */
23
+ var reComboMark = RegExp(rsCombo, 'g');
24
+
25
+ /**
26
+ * Deburrs `string` by converting
27
+ * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
28
+ * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
29
+ * letters to basic Latin letters and removing
30
+ * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
31
+ *
32
+ * @static
33
+ * @memberOf _
34
+ * @since 3.0.0
35
+ * @category String
36
+ * @param {string} [string=''] The string to deburr.
37
+ * @returns {string} Returns the deburred string.
38
+ * @example
39
+ *
40
+ * _.deburr('déjà vu');
41
+ * // => 'deja vu'
42
+ */
43
+ function deburr(string) {
44
+ string = toString(string);
45
+ return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
46
+ }
47
+
48
+ var deburr_1 = deburr;
49
+
50
+ export { deburr_1 as default };
51
+ //# sourceMappingURL=deburr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deburr.js","sources":["../../../../../../node_modules/lodash/deburr.js"],"sourcesContent":["var deburrLetter = require('./_deburrLetter'),\n toString = require('./toString');\n\n/** Used to match Latin Unicode letters (excluding mathematical operators). */\nvar reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n/** Used to compose unicode character classes. */\nvar rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;\n\n/** Used to compose unicode capture groups. */\nvar rsCombo = '[' + rsComboRange + ']';\n\n/**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\nvar reComboMark = RegExp(rsCombo, 'g');\n\n/**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\nfunction deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n}\n\nmodule.exports = deburr;\n"],"names":["require$$0","require$$1"],"mappings":";;;AAAA,IAAI,YAAY,GAAGA,aAA0B;AAC7C,IAAI,QAAQ,GAAGC,UAAqB;;AAEpC;AACA,IAAI,OAAO,GAAG,6CAA6C;;AAE3D;AACA,IAAI,iBAAiB,GAAG,iBAAiB;AACzC,IAAI,qBAAqB,GAAG,iBAAiB;AAC7C,IAAI,mBAAmB,GAAG,iBAAiB;AAC3C,IAAI,YAAY,GAAG,iBAAiB,GAAG,qBAAqB,GAAG,mBAAmB;;AAElF;AACA,IAAI,OAAO,GAAG,GAAG,GAAG,YAAY,GAAG,GAAG;;AAEtC;AACA;AACA;AACA;AACA,IAAI,WAAW,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,MAAM,CAAC,MAAM,EAAE;AACxB,EAAE,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;AAC3B,EAAE,OAAO,MAAM,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC;AACjF;;AAEA,IAAA,QAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Checks if `value` is classified as an `Array` object.
3
+ *
4
+ * @static
5
+ * @memberOf _
6
+ * @since 0.1.0
7
+ * @category Lang
8
+ * @param {*} value The value to check.
9
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
10
+ * @example
11
+ *
12
+ * _.isArray([1, 2, 3]);
13
+ * // => true
14
+ *
15
+ * _.isArray(document.body.children);
16
+ * // => false
17
+ *
18
+ * _.isArray('abc');
19
+ * // => false
20
+ *
21
+ * _.isArray(_.noop);
22
+ * // => false
23
+ */
24
+
25
+ var isArray = Array.isArray;
26
+
27
+ var isArray_1 = isArray;
28
+
29
+ export { isArray_1 as default };
30
+ //# sourceMappingURL=isArray.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isArray.js","sources":["../../../../../../node_modules/lodash/isArray.js"],"sourcesContent":["/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAuBA,IAAI,OAAO,GAAG,KAAK,CAAC,OAAO;;AAE3B,IAAA,SAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
3
+ * and has a `typeof` result of "object".
4
+ *
5
+ * @static
6
+ * @memberOf _
7
+ * @since 4.0.0
8
+ * @category Lang
9
+ * @param {*} value The value to check.
10
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
11
+ * @example
12
+ *
13
+ * _.isObjectLike({});
14
+ * // => true
15
+ *
16
+ * _.isObjectLike([1, 2, 3]);
17
+ * // => true
18
+ *
19
+ * _.isObjectLike(_.noop);
20
+ * // => false
21
+ *
22
+ * _.isObjectLike(null);
23
+ * // => false
24
+ */
25
+
26
+ function isObjectLike(value) {
27
+ return value != null && typeof value == 'object';
28
+ }
29
+
30
+ var isObjectLike_1 = isObjectLike;
31
+
32
+ export { isObjectLike_1 as default };
33
+ //# sourceMappingURL=isObjectLike.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isObjectLike.js","sources":["../../../../../../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,SAAS,YAAY,CAAC,KAAK,EAAE;AAC7B,EAAE,OAAO,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,IAAI,QAAQ;AAClD;;AAEA,IAAA,cAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,35 @@
1
+ import _baseGetTag from './_baseGetTag.js';
2
+ import isObjectLike_1 from './isObjectLike.js';
3
+
4
+ var baseGetTag = _baseGetTag,
5
+ isObjectLike = isObjectLike_1;
6
+
7
+ /** `Object#toString` result references. */
8
+ var symbolTag = '[object Symbol]';
9
+
10
+ /**
11
+ * Checks if `value` is classified as a `Symbol` primitive or object.
12
+ *
13
+ * @static
14
+ * @memberOf _
15
+ * @since 4.0.0
16
+ * @category Lang
17
+ * @param {*} value The value to check.
18
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
19
+ * @example
20
+ *
21
+ * _.isSymbol(Symbol.iterator);
22
+ * // => true
23
+ *
24
+ * _.isSymbol('abc');
25
+ * // => false
26
+ */
27
+ function isSymbol(value) {
28
+ return typeof value == 'symbol' ||
29
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
30
+ }
31
+
32
+ var isSymbol_1 = isSymbol;
33
+
34
+ export { isSymbol_1 as default };
35
+ //# sourceMappingURL=isSymbol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isSymbol.js","sources":["../../../../../../node_modules/lodash/isSymbol.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"names":["require$$0","require$$1"],"mappings":";;;AAAA,IAAI,UAAU,GAAGA,WAAwB;AACzC,IAAI,YAAY,GAAGC,cAAyB;;AAE5C;AACA,IAAI,SAAS,GAAG,iBAAiB;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,OAAO,OAAO,KAAK,IAAI,QAAQ;AACjC,KAAK,YAAY,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC;AAC3D;;AAEA,IAAA,UAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,33 @@
1
+ import _createCompounder from './_createCompounder.js';
2
+
3
+ var createCompounder = _createCompounder;
4
+
5
+ /**
6
+ * Converts `string` to
7
+ * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
8
+ *
9
+ * @static
10
+ * @memberOf _
11
+ * @since 3.0.0
12
+ * @category String
13
+ * @param {string} [string=''] The string to convert.
14
+ * @returns {string} Returns the kebab cased string.
15
+ * @example
16
+ *
17
+ * _.kebabCase('Foo Bar');
18
+ * // => 'foo-bar'
19
+ *
20
+ * _.kebabCase('fooBar');
21
+ * // => 'foo-bar'
22
+ *
23
+ * _.kebabCase('__FOO_BAR__');
24
+ * // => 'foo-bar'
25
+ */
26
+ var kebabCase = createCompounder(function(result, word, index) {
27
+ return result + (index ? '-' : '') + word.toLowerCase();
28
+ });
29
+
30
+ var kebabCase_1 = kebabCase;
31
+
32
+ export { kebabCase_1 as default };
33
+ //# sourceMappingURL=kebabCase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kebabCase.js","sources":["../../../../../../node_modules/lodash/kebabCase.js"],"sourcesContent":["var createCompounder = require('./_createCompounder');\n\n/**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\nvar kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n});\n\nmodule.exports = kebabCase;\n"],"names":["require$$0"],"mappings":";;AAAA,IAAI,gBAAgB,GAAGA,iBAA8B;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,SAAS,GAAG,gBAAgB,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE;AAC/D,EAAE,OAAO,MAAM,IAAI,KAAK,GAAG,GAAG,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE;AACzD,CAAC,CAAC;;AAEF,IAAA,WAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,33 @@
1
+ import _baseToString from './_baseToString.js';
2
+
3
+ var baseToString = _baseToString;
4
+
5
+ /**
6
+ * Converts `value` to a string. An empty string is returned for `null`
7
+ * and `undefined` values. The sign of `-0` is preserved.
8
+ *
9
+ * @static
10
+ * @memberOf _
11
+ * @since 4.0.0
12
+ * @category Lang
13
+ * @param {*} value The value to convert.
14
+ * @returns {string} Returns the converted string.
15
+ * @example
16
+ *
17
+ * _.toString(null);
18
+ * // => ''
19
+ *
20
+ * _.toString(-0);
21
+ * // => '-0'
22
+ *
23
+ * _.toString([1, 2, 3]);
24
+ * // => '1,2,3'
25
+ */
26
+ function toString(value) {
27
+ return value == null ? '' : baseToString(value);
28
+ }
29
+
30
+ var toString_1 = toString;
31
+
32
+ export { toString_1 as default };
33
+ //# sourceMappingURL=toString.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toString.js","sources":["../../../../../../node_modules/lodash/toString.js"],"sourcesContent":["var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n"],"names":["require$$0"],"mappings":";;AAAA,IAAI,YAAY,GAAGA,aAA0B;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,OAAO,KAAK,IAAI,IAAI,GAAG,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC;AACjD;;AAEA,IAAA,UAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,43 @@
1
+ import _asciiWords from './_asciiWords.js';
2
+ import _hasUnicodeWord from './_hasUnicodeWord.js';
3
+ import toString_1 from './toString.js';
4
+ import _unicodeWords from './_unicodeWords.js';
5
+
6
+ var asciiWords = _asciiWords,
7
+ hasUnicodeWord = _hasUnicodeWord,
8
+ toString = toString_1,
9
+ unicodeWords = _unicodeWords;
10
+
11
+ /**
12
+ * Splits `string` into an array of its words.
13
+ *
14
+ * @static
15
+ * @memberOf _
16
+ * @since 3.0.0
17
+ * @category String
18
+ * @param {string} [string=''] The string to inspect.
19
+ * @param {RegExp|string} [pattern] The pattern to match words.
20
+ * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
21
+ * @returns {Array} Returns the words of `string`.
22
+ * @example
23
+ *
24
+ * _.words('fred, barney, & pebbles');
25
+ * // => ['fred', 'barney', 'pebbles']
26
+ *
27
+ * _.words('fred, barney, & pebbles', /[^, ]+/g);
28
+ * // => ['fred', 'barney', '&', 'pebbles']
29
+ */
30
+ function words(string, pattern, guard) {
31
+ string = toString(string);
32
+ pattern = guard ? undefined : pattern;
33
+
34
+ if (pattern === undefined) {
35
+ return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
36
+ }
37
+ return string.match(pattern) || [];
38
+ }
39
+
40
+ var words_1 = words;
41
+
42
+ export { words_1 as default };
43
+ //# sourceMappingURL=words.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"words.js","sources":["../../../../../../node_modules/lodash/words.js"],"sourcesContent":["var asciiWords = require('./_asciiWords'),\n hasUnicodeWord = require('./_hasUnicodeWord'),\n toString = require('./toString'),\n unicodeWords = require('./_unicodeWords');\n\n/**\n * Splits `string` into an array of its words.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {RegExp|string} [pattern] The pattern to match words.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the words of `string`.\n * @example\n *\n * _.words('fred, barney, & pebbles');\n * // => ['fred', 'barney', 'pebbles']\n *\n * _.words('fred, barney, & pebbles', /[^, ]+/g);\n * // => ['fred', 'barney', '&', 'pebbles']\n */\nfunction words(string, pattern, guard) {\n string = toString(string);\n pattern = guard ? undefined : pattern;\n\n if (pattern === undefined) {\n return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n }\n return string.match(pattern) || [];\n}\n\nmodule.exports = words;\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAAA,IAAI,UAAU,GAAGA,WAAwB;AACzC,IAAI,cAAc,GAAGC,eAA4B;AACjD,IAAI,QAAQ,GAAGC,UAAqB;AACpC,IAAI,YAAY,GAAGC,aAA0B;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE;AACvC,EAAE,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;AAC3B,EAAE,OAAO,GAAG,KAAK,GAAG,SAAS,GAAG,OAAO;;AAEvC,EAAE,IAAI,OAAO,KAAK,SAAS,EAAE;AAC7B,IAAI,OAAO,cAAc,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC;AAC7E;AACA,EAAE,OAAO,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE;AACpC;;AAEA,IAAA,OAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import { FilterFn } from '@tanstack/react-table';
2
- export declare const coercedValueIncludesString: FilterFn<any>;
1
+ import { FilterFn } from '@tanstack/react-table';
2
+ export declare const coercedValueIncludesString: FilterFn<any>;
@@ -0,0 +1,9 @@
1
+ var coercedValueIncludesString = function (row, columnId, value) {
2
+ if (value === '')
3
+ return true;
4
+ var cellValue = row.getValue(columnId);
5
+ return String(cellValue).toLowerCase().includes(value.toLowerCase());
6
+ };
7
+
8
+ export { coercedValueIncludesString };
9
+ //# sourceMappingURL=coercedValueIncludesString.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coercedValueIncludesString.js","sources":["../../../src/util/coercedValueIncludesString.ts"],"sourcesContent":["import { FilterFn } from '@tanstack/react-table'\n\nexport const coercedValueIncludesString: FilterFn<any> = (row, columnId, value) => {\n if (value === '') return true\n const cellValue = row.getValue(columnId)\n return String(cellValue).toLowerCase().includes(value.toLowerCase())\n}\n"],"names":[],"mappings":"IAEa,0BAA0B,GAAkB,UAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAA;IAC5E,IAAI,KAAK,KAAK,EAAE;AAAE,QAAA,OAAO,IAAI;IAC7B,IAAM,SAAS,GAAG,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC;AACxC,IAAA,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;AACtE;;;;"}
@@ -1,2 +1,2 @@
1
- import { RefObject } from 'react';
2
- export declare const getTableMinHeight: (rootRef: RefObject<HTMLDivElement>, pageSize: number) => number;
1
+ import { RefObject } from 'react';
2
+ export declare const getTableMinHeight: (rootRef: RefObject<HTMLDivElement>, pageSize: number) => number;
@@ -0,0 +1,20 @@
1
+ var getTableMinHeight = function (rootRef, pageSize) {
2
+ var defaultBodyRowHeight = 56;
3
+ var defaultHeaderRowHeight = 57;
4
+ var defaultFooterHeight = 88;
5
+ var minHeight = defaultBodyRowHeight * pageSize + defaultHeaderRowHeight + defaultFooterHeight;
6
+ if (rootRef === null || rootRef === void 0 ? void 0 : rootRef.current) {
7
+ var rootTableNode = rootRef.current;
8
+ var headerRowNode = rootTableNode.querySelector("[data-table-element=\"header-row\"]");
9
+ var bodyRowNode = rootTableNode.querySelector("[data-table-element=\"body-row\"]");
10
+ if (headerRowNode && bodyRowNode) {
11
+ var headerRowHeight = headerRowNode.getBoundingClientRect().height;
12
+ var bodyRowHeight = bodyRowNode.getBoundingClientRect().height;
13
+ minHeight = headerRowHeight + bodyRowHeight * pageSize + defaultFooterHeight;
14
+ }
15
+ }
16
+ return minHeight;
17
+ };
18
+
19
+ export { getTableMinHeight };
20
+ //# sourceMappingURL=getTableMinHeight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTableMinHeight.js","sources":["../../../src/util/getTableMinHeight.ts"],"sourcesContent":["import { RefObject } from 'react'\n\nexport const getTableMinHeight = (rootRef: RefObject<HTMLDivElement>, pageSize: number) => {\n const defaultBodyRowHeight = 56\n const defaultHeaderRowHeight = 57\n const defaultFooterHeight = 88\n let minHeight = defaultBodyRowHeight * pageSize + defaultHeaderRowHeight + defaultFooterHeight\n if (rootRef?.current) {\n const rootTableNode = rootRef.current\n const headerRowNode = rootTableNode.querySelector(`[data-table-element=\"header-row\"]`)\n const bodyRowNode = rootTableNode.querySelector(`[data-table-element=\"body-row\"]`)\n if (headerRowNode && bodyRowNode) {\n const headerRowHeight = headerRowNode.getBoundingClientRect().height\n const bodyRowHeight = bodyRowNode.getBoundingClientRect().height\n minHeight = headerRowHeight + bodyRowHeight * pageSize + defaultFooterHeight\n }\n }\n return minHeight\n}\n"],"names":[],"mappings":"AAEa,IAAA,iBAAiB,GAAG,UAAC,OAAkC,EAAE,QAAgB,EAAA;IACpF,IAAM,oBAAoB,GAAG,EAAE;IAC/B,IAAM,sBAAsB,GAAG,EAAE;IACjC,IAAM,mBAAmB,GAAG,EAAE;IAC9B,IAAI,SAAS,GAAG,oBAAoB,GAAG,QAAQ,GAAG,sBAAsB,GAAG,mBAAmB;AAC9F,IAAA,IAAI,OAAO,KAAP,IAAA,IAAA,OAAO,uBAAP,OAAO,CAAE,OAAO,EAAE;AACpB,QAAA,IAAM,aAAa,GAAG,OAAO,CAAC,OAAO;QACrC,IAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,qCAAmC,CAAC;QACtF,IAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,mCAAiC,CAAC;QAClF,IAAI,aAAa,IAAI,WAAW,EAAE;YAChC,IAAM,eAAe,GAAG,aAAa,CAAC,qBAAqB,EAAE,CAAC,MAAM;YACpE,IAAM,aAAa,GAAG,WAAW,CAAC,qBAAqB,EAAE,CAAC,MAAM;YAChE,SAAS,GAAG,eAAe,GAAG,aAAa,GAAG,QAAQ,GAAG,mBAAmB;AAC7E;AACF;AACD,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -1,3 +1,3 @@
1
- export { tableConstants } from './tableConstants';
2
- export { coercedValueIncludesString } from './coercedValueIncludesString';
3
- export { getTableMinHeight } from './getTableMinHeight';
1
+ export { tableConstants } from './tableConstants';
2
+ export { coercedValueIncludesString } from './coercedValueIncludesString';
3
+ export { getTableMinHeight } from './getTableMinHeight';
@@ -1,5 +1,5 @@
1
- export declare const tableConstants: {
2
- tableTypography: string;
3
- cellPaddingFactor: number;
4
- headerBorder: number;
5
- };
1
+ export declare const tableConstants: {
2
+ tableTypography: string;
3
+ cellPaddingFactor: number;
4
+ headerBorder: number;
5
+ };
@@ -0,0 +1,6 @@
1
+ var tableConstants = {
2
+ tableTypography: 'body1',
3
+ cellPaddingFactor: 2};
4
+
5
+ export { tableConstants };
6
+ //# sourceMappingURL=tableConstants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableConstants.js","sources":["../../../src/util/tableConstants.ts"],"sourcesContent":["export const tableConstants = {\n tableTypography: 'body1',\n cellPaddingFactor: 2,\n headerBorder: 2,\n}\n"],"names":[],"mappings":"AAAa,IAAA,cAAc,GAAG;AAC5B,IAAA,eAAe,EAAE,OAAO;AACxB,IAAA,iBAAiB,EAAE;;;;"}
@@ -1,2 +1,2 @@
1
- import { RowAction } from '../components/RowActions/RowActionsProps';
2
- export declare const validateAction: (action: Partial<RowAction>) => boolean | undefined;
1
+ import { RowAction } from '../components/RowActions/RowActionsProps';
2
+ export declare const validateAction: (action: Partial<RowAction>) => boolean | undefined;
@@ -0,0 +1,12 @@
1
+ import { isValidElement, createElement } from 'react';
2
+
3
+ var validateAction = function (action) {
4
+ var icon = action.icon, label = action.label, onClick = action.onClick;
5
+ var onClickIsValid = typeof onClick === 'function';
6
+ var labelIsValid = typeof label === 'string';
7
+ var iconIsValid = icon && isValidElement(createElement(icon));
8
+ return onClickIsValid && labelIsValid && iconIsValid;
9
+ };
10
+
11
+ export { validateAction };
12
+ //# sourceMappingURL=validateRowAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateRowAction.js","sources":["../../../src/util/validateRowAction.ts"],"sourcesContent":["import { RowAction } from '../components/RowActions/RowActionsProps'\nimport { createElement, isValidElement } from 'react'\n\nexport const validateAction = (action: Partial<RowAction>) => {\n const { icon, label, onClick } = action\n const onClickIsValid = typeof onClick === 'function'\n const labelIsValid = typeof label === 'string'\n const iconIsValid = icon && isValidElement(createElement(icon))\n return onClickIsValid && labelIsValid && iconIsValid\n}\n"],"names":[],"mappings":";;AAGO,IAAM,cAAc,GAAG,UAAC,MAA0B,EAAA;AAC/C,IAAA,IAAA,IAAI,GAAqB,MAAM,CAAA,IAA3B,EAAE,KAAK,GAAc,MAAM,CAAA,KAApB,EAAE,OAAO,GAAK,MAAM,QAAX;AAC5B,IAAA,IAAM,cAAc,GAAG,OAAO,OAAO,KAAK,UAAU;AACpD,IAAA,IAAM,YAAY,GAAG,OAAO,KAAK,KAAK,QAAQ;IAC9C,IAAM,WAAW,GAAG,IAAI,IAAI,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;AAC/D,IAAA,OAAO,cAAc,IAAI,YAAY,IAAI,WAAW;AACtD;;;;"}