@popmenu/table 0.126.1 → 0.126.3

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 (119) hide show
  1. package/build/cjs/components/ColumnFilterChip/ColumnFilterChip.d.ts +9 -0
  2. package/build/cjs/components/ColumnFilterChip/ColumnFilterChipStyles.d.ts +1 -0
  3. package/build/cjs/components/ColumnFilterChip/index.d.ts +1 -0
  4. package/build/cjs/components/ColumnFilterResetButton/ColumnFilterResetButton.d.ts +3 -0
  5. package/build/cjs/components/ColumnFilterResetButton/index.d.ts +1 -0
  6. package/build/cjs/components/FilterPanel/FilterControl/FilterControl.d.ts +3 -0
  7. package/build/cjs/components/FilterPanel/FilterControl/SelectFilter/SelectFilter.d.ts +5 -0
  8. package/build/cjs/components/FilterPanel/FilterControl/SelectFilter/SelectFilterStyles.d.ts +1 -0
  9. package/build/cjs/components/FilterPanel/FilterControl/SelectFilter/index.d.ts +1 -0
  10. package/build/cjs/components/FilterPanel/FilterControl/ToggleFilter/ToggleFilter.d.ts +4 -0
  11. package/build/cjs/components/FilterPanel/FilterControl/ToggleFilter/index.d.ts +1 -0
  12. package/build/cjs/components/FilterPanel/FilterControl/index.d.ts +1 -0
  13. package/build/cjs/components/FilterPanel/FilterPanel.d.ts +2 -0
  14. package/build/cjs/components/FilterPanel/FilterPanelContext/FilterPanelContext.d.ts +7 -0
  15. package/build/cjs/components/FilterPanel/FilterPanelContext/index.d.ts +1 -0
  16. package/build/cjs/components/FilterPanel/FilterPanelProps.d.ts +11 -0
  17. package/build/cjs/components/FilterPanel/Panel/Panel.d.ts +7 -0
  18. package/build/cjs/components/FilterPanel/Panel/PanelStyles.d.ts +1 -0
  19. package/build/cjs/components/FilterPanel/Panel/index.d.ts +1 -0
  20. package/build/cjs/components/FilterPanel/Trigger/Trigger.d.ts +7 -0
  21. package/build/cjs/components/FilterPanel/Trigger/TriggerStyles.d.ts +1 -0
  22. package/build/cjs/components/FilterPanel/Trigger/index.d.ts +1 -0
  23. package/build/cjs/components/FilterPanel/index.d.ts +1 -0
  24. package/build/cjs/components/GlobalFilter/GlobalFilter.d.ts +3 -0
  25. package/build/cjs/components/GlobalFilter/GlobalFilterProps.d.ts +7 -0
  26. package/build/cjs/components/GlobalFilter/GlobalFilterStyles.d.ts +1 -0
  27. package/build/cjs/components/GlobalFilter/index.d.ts +2 -0
  28. package/build/cjs/components/RowActions/RowActions.d.ts +3 -0
  29. package/build/cjs/components/RowActions/RowActionsProps.d.ts +13 -0
  30. package/build/cjs/components/RowActions/index.d.ts +2 -0
  31. package/build/cjs/components/Table/Table.d.ts +21 -0
  32. package/build/cjs/components/Table/TableProps.d.ts +47 -0
  33. package/build/cjs/components/Table/TableStyles.d.ts +2 -0
  34. package/build/cjs/components/Table/index.d.ts +2 -0
  35. package/build/cjs/components/TableBody/TableBody.d.ts +4 -0
  36. package/build/cjs/components/TableBody/index.d.ts +1 -0
  37. package/build/cjs/components/TableCell/TableCell.d.ts +4 -0
  38. package/build/cjs/components/TableCell/TableCellStyles.d.ts +1 -0
  39. package/build/cjs/components/TableCell/index.d.ts +1 -0
  40. package/build/cjs/components/TableContext/index.d.ts +16 -0
  41. package/build/cjs/components/TableControlsContainer/TableControlsContainer.d.ts +3 -0
  42. package/build/cjs/components/TableControlsContainer/TableControlsContainerProps.d.ts +6 -0
  43. package/build/cjs/components/TableControlsContainer/index.d.ts +1 -0
  44. package/build/cjs/components/TableFooter/TableFooter.d.ts +4 -0
  45. package/build/cjs/components/TableFooter/index.d.ts +1 -0
  46. package/build/cjs/components/TableHeader/TableHeader.d.ts +4 -0
  47. package/build/cjs/components/TableHeader/index.d.ts +1 -0
  48. package/build/cjs/components/TableHeaderCell/TableHeaderCell.d.ts +3 -0
  49. package/build/cjs/components/TableHeaderCell/TableHeaderCellProps.d.ts +6 -0
  50. package/build/cjs/components/TableHeaderCell/TableHeaderCellStyles.d.ts +4 -0
  51. package/build/cjs/components/TableHeaderCell/index.d.ts +2 -0
  52. package/build/cjs/components/TableHeaderRow/TableHeaderRow.d.ts +4 -0
  53. package/build/cjs/components/TableHeaderRow/index.d.ts +1 -0
  54. package/build/cjs/components/TableRow/TableRow.d.ts +4 -0
  55. package/build/cjs/components/TableRow/TableRowStyles.d.ts +1 -0
  56. package/build/cjs/components/TableRow/index.d.ts +1 -0
  57. package/build/cjs/components/index.d.ts +10 -0
  58. package/build/cjs/hooks/index.d.ts +2 -0
  59. package/build/cjs/hooks/useColumnFilters.d.ts +9 -0
  60. package/build/cjs/hooks/useStagedColumnFilters.d.ts +8 -0
  61. package/build/cjs/index.d.ts +1 -0
  62. package/build/{index.js → cjs/index.js} +3 -659
  63. package/build/cjs/index.js.map +1 -0
  64. package/build/cjs/util/coercedValueIncludesString.d.ts +2 -0
  65. package/build/cjs/util/getTableMinHeight.d.ts +2 -0
  66. package/build/cjs/util/index.d.ts +3 -0
  67. package/build/cjs/util/tableConstants.d.ts +5 -0
  68. package/build/cjs/util/validateRowAction.d.ts +2 -0
  69. package/build/esm/components/GlobalFilter/GlobalFilterProps.d.ts +1 -1
  70. package/build/esm/components/TableHeaderCell/TableHeaderCell.js +5 -4
  71. package/build/esm/components/TableHeaderCell/TableHeaderCell.js.map +1 -1
  72. package/package.json +3 -3
  73. package/build/esm/_virtual/_commonjsHelpers.js +0 -4
  74. package/build/esm/_virtual/_commonjsHelpers.js.map +0 -1
  75. package/build/esm/node_modules/lodash/_Symbol.js +0 -11
  76. package/build/esm/node_modules/lodash/_Symbol.js.map +0 -1
  77. package/build/esm/node_modules/lodash/_arrayMap.js +0 -25
  78. package/build/esm/node_modules/lodash/_arrayMap.js.map +0 -1
  79. package/build/esm/node_modules/lodash/_arrayReduce.js +0 -30
  80. package/build/esm/node_modules/lodash/_arrayReduce.js.map +0 -1
  81. package/build/esm/node_modules/lodash/_asciiWords.js +0 -19
  82. package/build/esm/node_modules/lodash/_asciiWords.js.map +0 -1
  83. package/build/esm/node_modules/lodash/_baseGetTag.js +0 -35
  84. package/build/esm/node_modules/lodash/_baseGetTag.js.map +0 -1
  85. package/build/esm/node_modules/lodash/_basePropertyOf.js +0 -18
  86. package/build/esm/node_modules/lodash/_basePropertyOf.js.map +0 -1
  87. package/build/esm/node_modules/lodash/_baseToString.js +0 -42
  88. package/build/esm/node_modules/lodash/_baseToString.js.map +0 -1
  89. package/build/esm/node_modules/lodash/_createCompounder.js +0 -31
  90. package/build/esm/node_modules/lodash/_createCompounder.js.map +0 -1
  91. package/build/esm/node_modules/lodash/_deburrLetter.js +0 -76
  92. package/build/esm/node_modules/lodash/_deburrLetter.js.map +0 -1
  93. package/build/esm/node_modules/lodash/_freeGlobal.js +0 -10
  94. package/build/esm/node_modules/lodash/_freeGlobal.js.map +0 -1
  95. package/build/esm/node_modules/lodash/_getRawTag.js +0 -51
  96. package/build/esm/node_modules/lodash/_getRawTag.js.map +0 -1
  97. package/build/esm/node_modules/lodash/_hasUnicodeWord.js +0 -19
  98. package/build/esm/node_modules/lodash/_hasUnicodeWord.js.map +0 -1
  99. package/build/esm/node_modules/lodash/_objectToString.js +0 -26
  100. package/build/esm/node_modules/lodash/_objectToString.js.map +0 -1
  101. package/build/esm/node_modules/lodash/_root.js +0 -14
  102. package/build/esm/node_modules/lodash/_root.js.map +0 -1
  103. package/build/esm/node_modules/lodash/_unicodeWords.js +0 -73
  104. package/build/esm/node_modules/lodash/_unicodeWords.js.map +0 -1
  105. package/build/esm/node_modules/lodash/deburr.js +0 -51
  106. package/build/esm/node_modules/lodash/deburr.js.map +0 -1
  107. package/build/esm/node_modules/lodash/isArray.js +0 -30
  108. package/build/esm/node_modules/lodash/isArray.js.map +0 -1
  109. package/build/esm/node_modules/lodash/isObjectLike.js +0 -33
  110. package/build/esm/node_modules/lodash/isObjectLike.js.map +0 -1
  111. package/build/esm/node_modules/lodash/isSymbol.js +0 -35
  112. package/build/esm/node_modules/lodash/isSymbol.js.map +0 -1
  113. package/build/esm/node_modules/lodash/kebabCase.js +0 -33
  114. package/build/esm/node_modules/lodash/kebabCase.js.map +0 -1
  115. package/build/esm/node_modules/lodash/toString.js +0 -33
  116. package/build/esm/node_modules/lodash/toString.js.map +0 -1
  117. package/build/esm/node_modules/lodash/words.js +0 -43
  118. package/build/esm/node_modules/lodash/words.js.map +0 -1
  119. package/build/index.js.map +0 -1
@@ -575,664 +575,6 @@ var useStyles$1 = core.makeStyles(function (theme) { return ({
575
575
  },
576
576
  }); });
577
577
 
578
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
579
-
580
- /**
581
- * A specialized version of `_.reduce` for arrays without support for
582
- * iteratee shorthands.
583
- *
584
- * @private
585
- * @param {Array} [array] The array to iterate over.
586
- * @param {Function} iteratee The function invoked per iteration.
587
- * @param {*} [accumulator] The initial value.
588
- * @param {boolean} [initAccum] Specify using the first element of `array` as
589
- * the initial value.
590
- * @returns {*} Returns the accumulated value.
591
- */
592
-
593
- function arrayReduce$1(array, iteratee, accumulator, initAccum) {
594
- var index = -1,
595
- length = array == null ? 0 : array.length;
596
-
597
- if (initAccum && length) {
598
- accumulator = array[++index];
599
- }
600
- while (++index < length) {
601
- accumulator = iteratee(accumulator, array[index], index, array);
602
- }
603
- return accumulator;
604
- }
605
-
606
- var _arrayReduce = arrayReduce$1;
607
-
608
- /**
609
- * The base implementation of `_.propertyOf` without support for deep paths.
610
- *
611
- * @private
612
- * @param {Object} object The object to query.
613
- * @returns {Function} Returns the new accessor function.
614
- */
615
-
616
- function basePropertyOf$1(object) {
617
- return function(key) {
618
- return object == null ? undefined : object[key];
619
- };
620
- }
621
-
622
- var _basePropertyOf = basePropertyOf$1;
623
-
624
- var basePropertyOf = _basePropertyOf;
625
-
626
- /** Used to map Latin Unicode letters to basic Latin letters. */
627
- var deburredLetters = {
628
- // Latin-1 Supplement block.
629
- '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
630
- '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
631
- '\xc7': 'C', '\xe7': 'c',
632
- '\xd0': 'D', '\xf0': 'd',
633
- '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
634
- '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
635
- '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
636
- '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
637
- '\xd1': 'N', '\xf1': 'n',
638
- '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
639
- '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
640
- '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
641
- '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
642
- '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
643
- '\xc6': 'Ae', '\xe6': 'ae',
644
- '\xde': 'Th', '\xfe': 'th',
645
- '\xdf': 'ss',
646
- // Latin Extended-A block.
647
- '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
648
- '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
649
- '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
650
- '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
651
- '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
652
- '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
653
- '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
654
- '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
655
- '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
656
- '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
657
- '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
658
- '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
659
- '\u0134': 'J', '\u0135': 'j',
660
- '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
661
- '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
662
- '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
663
- '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
664
- '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
665
- '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
666
- '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
667
- '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
668
- '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
669
- '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
670
- '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
671
- '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
672
- '\u0163': 't', '\u0165': 't', '\u0167': 't',
673
- '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
674
- '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
675
- '\u0174': 'W', '\u0175': 'w',
676
- '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
677
- '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
678
- '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
679
- '\u0132': 'IJ', '\u0133': 'ij',
680
- '\u0152': 'Oe', '\u0153': 'oe',
681
- '\u0149': "'n", '\u017f': 's'
682
- };
683
-
684
- /**
685
- * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
686
- * letters to basic Latin letters.
687
- *
688
- * @private
689
- * @param {string} letter The matched letter to deburr.
690
- * @returns {string} Returns the deburred letter.
691
- */
692
- var deburrLetter$1 = basePropertyOf(deburredLetters);
693
-
694
- var _deburrLetter = deburrLetter$1;
695
-
696
- /** Detect free variable `global` from Node.js. */
697
-
698
- var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
699
-
700
- var _freeGlobal = freeGlobal$1;
701
-
702
- var freeGlobal = _freeGlobal;
703
-
704
- /** Detect free variable `self`. */
705
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
706
-
707
- /** Used as a reference to the global object. */
708
- var root$1 = freeGlobal || freeSelf || Function('return this')();
709
-
710
- var _root = root$1;
711
-
712
- var root = _root;
713
-
714
- /** Built-in value references. */
715
- var Symbol$3 = root.Symbol;
716
-
717
- var _Symbol = Symbol$3;
718
-
719
- /**
720
- * A specialized version of `_.map` for arrays without support for iteratee
721
- * shorthands.
722
- *
723
- * @private
724
- * @param {Array} [array] The array to iterate over.
725
- * @param {Function} iteratee The function invoked per iteration.
726
- * @returns {Array} Returns the new mapped array.
727
- */
728
-
729
- function arrayMap$1(array, iteratee) {
730
- var index = -1,
731
- length = array == null ? 0 : array.length,
732
- result = Array(length);
733
-
734
- while (++index < length) {
735
- result[index] = iteratee(array[index], index, array);
736
- }
737
- return result;
738
- }
739
-
740
- var _arrayMap = arrayMap$1;
741
-
742
- /**
743
- * Checks if `value` is classified as an `Array` object.
744
- *
745
- * @static
746
- * @memberOf _
747
- * @since 0.1.0
748
- * @category Lang
749
- * @param {*} value The value to check.
750
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
751
- * @example
752
- *
753
- * _.isArray([1, 2, 3]);
754
- * // => true
755
- *
756
- * _.isArray(document.body.children);
757
- * // => false
758
- *
759
- * _.isArray('abc');
760
- * // => false
761
- *
762
- * _.isArray(_.noop);
763
- * // => false
764
- */
765
-
766
- var isArray$1 = Array.isArray;
767
-
768
- var isArray_1 = isArray$1;
769
-
770
- var Symbol$2 = _Symbol;
771
-
772
- /** Used for built-in method references. */
773
- var objectProto$1 = Object.prototype;
774
-
775
- /** Used to check objects for own properties. */
776
- var hasOwnProperty = objectProto$1.hasOwnProperty;
777
-
778
- /**
779
- * Used to resolve the
780
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
781
- * of values.
782
- */
783
- var nativeObjectToString$1 = objectProto$1.toString;
784
-
785
- /** Built-in value references. */
786
- var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : undefined;
787
-
788
- /**
789
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
790
- *
791
- * @private
792
- * @param {*} value The value to query.
793
- * @returns {string} Returns the raw `toStringTag`.
794
- */
795
- function getRawTag$1(value) {
796
- var isOwn = hasOwnProperty.call(value, symToStringTag$1),
797
- tag = value[symToStringTag$1];
798
-
799
- try {
800
- value[symToStringTag$1] = undefined;
801
- var unmasked = true;
802
- } catch (e) {}
803
-
804
- var result = nativeObjectToString$1.call(value);
805
- if (unmasked) {
806
- if (isOwn) {
807
- value[symToStringTag$1] = tag;
808
- } else {
809
- delete value[symToStringTag$1];
810
- }
811
- }
812
- return result;
813
- }
814
-
815
- var _getRawTag = getRawTag$1;
816
-
817
- /** Used for built-in method references. */
818
-
819
- var objectProto = Object.prototype;
820
-
821
- /**
822
- * Used to resolve the
823
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
824
- * of values.
825
- */
826
- var nativeObjectToString = objectProto.toString;
827
-
828
- /**
829
- * Converts `value` to a string using `Object.prototype.toString`.
830
- *
831
- * @private
832
- * @param {*} value The value to convert.
833
- * @returns {string} Returns the converted string.
834
- */
835
- function objectToString$1(value) {
836
- return nativeObjectToString.call(value);
837
- }
838
-
839
- var _objectToString = objectToString$1;
840
-
841
- var Symbol$1 = _Symbol,
842
- getRawTag = _getRawTag,
843
- objectToString = _objectToString;
844
-
845
- /** `Object#toString` result references. */
846
- var nullTag = '[object Null]',
847
- undefinedTag = '[object Undefined]';
848
-
849
- /** Built-in value references. */
850
- var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
851
-
852
- /**
853
- * The base implementation of `getTag` without fallbacks for buggy environments.
854
- *
855
- * @private
856
- * @param {*} value The value to query.
857
- * @returns {string} Returns the `toStringTag`.
858
- */
859
- function baseGetTag$1(value) {
860
- if (value == null) {
861
- return value === undefined ? undefinedTag : nullTag;
862
- }
863
- return (symToStringTag && symToStringTag in Object(value))
864
- ? getRawTag(value)
865
- : objectToString(value);
866
- }
867
-
868
- var _baseGetTag = baseGetTag$1;
869
-
870
- /**
871
- * Checks if `value` is object-like. A value is object-like if it's not `null`
872
- * and has a `typeof` result of "object".
873
- *
874
- * @static
875
- * @memberOf _
876
- * @since 4.0.0
877
- * @category Lang
878
- * @param {*} value The value to check.
879
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
880
- * @example
881
- *
882
- * _.isObjectLike({});
883
- * // => true
884
- *
885
- * _.isObjectLike([1, 2, 3]);
886
- * // => true
887
- *
888
- * _.isObjectLike(_.noop);
889
- * // => false
890
- *
891
- * _.isObjectLike(null);
892
- * // => false
893
- */
894
-
895
- function isObjectLike$1(value) {
896
- return value != null && typeof value == 'object';
897
- }
898
-
899
- var isObjectLike_1 = isObjectLike$1;
900
-
901
- var baseGetTag = _baseGetTag,
902
- isObjectLike = isObjectLike_1;
903
-
904
- /** `Object#toString` result references. */
905
- var symbolTag = '[object Symbol]';
906
-
907
- /**
908
- * Checks if `value` is classified as a `Symbol` primitive or object.
909
- *
910
- * @static
911
- * @memberOf _
912
- * @since 4.0.0
913
- * @category Lang
914
- * @param {*} value The value to check.
915
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
916
- * @example
917
- *
918
- * _.isSymbol(Symbol.iterator);
919
- * // => true
920
- *
921
- * _.isSymbol('abc');
922
- * // => false
923
- */
924
- function isSymbol$1(value) {
925
- return typeof value == 'symbol' ||
926
- (isObjectLike(value) && baseGetTag(value) == symbolTag);
927
- }
928
-
929
- var isSymbol_1 = isSymbol$1;
930
-
931
- var Symbol = _Symbol,
932
- arrayMap = _arrayMap,
933
- isArray = isArray_1,
934
- isSymbol = isSymbol_1;
935
-
936
- /** Used to convert symbols to primitives and strings. */
937
- var symbolProto = Symbol ? Symbol.prototype : undefined,
938
- symbolToString = symbolProto ? symbolProto.toString : undefined;
939
-
940
- /**
941
- * The base implementation of `_.toString` which doesn't convert nullish
942
- * values to empty strings.
943
- *
944
- * @private
945
- * @param {*} value The value to process.
946
- * @returns {string} Returns the string.
947
- */
948
- function baseToString$1(value) {
949
- // Exit early for strings to avoid a performance hit in some environments.
950
- if (typeof value == 'string') {
951
- return value;
952
- }
953
- if (isArray(value)) {
954
- // Recursively convert values (susceptible to call stack limits).
955
- return arrayMap(value, baseToString$1) + '';
956
- }
957
- if (isSymbol(value)) {
958
- return symbolToString ? symbolToString.call(value) : '';
959
- }
960
- var result = (value + '');
961
- return (result == '0' && (1 / value) == -Infinity) ? '-0' : result;
962
- }
963
-
964
- var _baseToString = baseToString$1;
965
-
966
- var baseToString = _baseToString;
967
-
968
- /**
969
- * Converts `value` to a string. An empty string is returned for `null`
970
- * and `undefined` values. The sign of `-0` is preserved.
971
- *
972
- * @static
973
- * @memberOf _
974
- * @since 4.0.0
975
- * @category Lang
976
- * @param {*} value The value to convert.
977
- * @returns {string} Returns the converted string.
978
- * @example
979
- *
980
- * _.toString(null);
981
- * // => ''
982
- *
983
- * _.toString(-0);
984
- * // => '-0'
985
- *
986
- * _.toString([1, 2, 3]);
987
- * // => '1,2,3'
988
- */
989
- function toString$2(value) {
990
- return value == null ? '' : baseToString(value);
991
- }
992
-
993
- var toString_1 = toString$2;
994
-
995
- var deburrLetter = _deburrLetter,
996
- toString$1 = toString_1;
997
-
998
- /** Used to match Latin Unicode letters (excluding mathematical operators). */
999
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
1000
-
1001
- /** Used to compose unicode character classes. */
1002
- var rsComboMarksRange$1 = '\\u0300-\\u036f',
1003
- reComboHalfMarksRange$1 = '\\ufe20-\\ufe2f',
1004
- rsComboSymbolsRange$1 = '\\u20d0-\\u20ff',
1005
- rsComboRange$1 = rsComboMarksRange$1 + reComboHalfMarksRange$1 + rsComboSymbolsRange$1;
1006
-
1007
- /** Used to compose unicode capture groups. */
1008
- var rsCombo$1 = '[' + rsComboRange$1 + ']';
1009
-
1010
- /**
1011
- * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
1012
- * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
1013
- */
1014
- var reComboMark = RegExp(rsCombo$1, 'g');
1015
-
1016
- /**
1017
- * Deburrs `string` by converting
1018
- * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
1019
- * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
1020
- * letters to basic Latin letters and removing
1021
- * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
1022
- *
1023
- * @static
1024
- * @memberOf _
1025
- * @since 3.0.0
1026
- * @category String
1027
- * @param {string} [string=''] The string to deburr.
1028
- * @returns {string} Returns the deburred string.
1029
- * @example
1030
- *
1031
- * _.deburr('déjà vu');
1032
- * // => 'deja vu'
1033
- */
1034
- function deburr$1(string) {
1035
- string = toString$1(string);
1036
- return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
1037
- }
1038
-
1039
- var deburr_1 = deburr$1;
1040
-
1041
- /** Used to match words composed of alphanumeric characters. */
1042
-
1043
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
1044
-
1045
- /**
1046
- * Splits an ASCII `string` into an array of its words.
1047
- *
1048
- * @private
1049
- * @param {string} The string to inspect.
1050
- * @returns {Array} Returns the words of `string`.
1051
- */
1052
- function asciiWords$1(string) {
1053
- return string.match(reAsciiWord) || [];
1054
- }
1055
-
1056
- var _asciiWords = asciiWords$1;
1057
-
1058
- /** Used to detect strings that need a more robust regexp to match words. */
1059
-
1060
- 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 ]/;
1061
-
1062
- /**
1063
- * Checks if `string` contains a word composed of Unicode symbols.
1064
- *
1065
- * @private
1066
- * @param {string} string The string to inspect.
1067
- * @returns {boolean} Returns `true` if a word is found, else `false`.
1068
- */
1069
- function hasUnicodeWord$1(string) {
1070
- return reHasUnicodeWord.test(string);
1071
- }
1072
-
1073
- var _hasUnicodeWord = hasUnicodeWord$1;
1074
-
1075
- /** Used to compose unicode character classes. */
1076
-
1077
- var rsAstralRange = '\\ud800-\\udfff',
1078
- rsComboMarksRange = '\\u0300-\\u036f',
1079
- reComboHalfMarksRange = '\\ufe20-\\ufe2f',
1080
- rsComboSymbolsRange = '\\u20d0-\\u20ff',
1081
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
1082
- rsDingbatRange = '\\u2700-\\u27bf',
1083
- rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
1084
- rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
1085
- rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
1086
- rsPunctuationRange = '\\u2000-\\u206f',
1087
- 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',
1088
- rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
1089
- rsVarRange = '\\ufe0e\\ufe0f',
1090
- rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
1091
-
1092
- /** Used to compose unicode capture groups. */
1093
- var rsApos$1 = "['\u2019]",
1094
- rsBreak = '[' + rsBreakRange + ']',
1095
- rsCombo = '[' + rsComboRange + ']',
1096
- rsDigits = '\\d+',
1097
- rsDingbat = '[' + rsDingbatRange + ']',
1098
- rsLower = '[' + rsLowerRange + ']',
1099
- rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
1100
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
1101
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
1102
- rsNonAstral = '[^' + rsAstralRange + ']',
1103
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
1104
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
1105
- rsUpper = '[' + rsUpperRange + ']',
1106
- rsZWJ = '\\u200d';
1107
-
1108
- /** Used to compose unicode regexes. */
1109
- var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
1110
- rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
1111
- rsOptContrLower = '(?:' + rsApos$1 + '(?:d|ll|m|re|s|t|ve))?',
1112
- rsOptContrUpper = '(?:' + rsApos$1 + '(?:D|LL|M|RE|S|T|VE))?',
1113
- reOptMod = rsModifier + '?',
1114
- rsOptVar = '[' + rsVarRange + ']?',
1115
- rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
1116
- rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
1117
- rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
1118
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
1119
- rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;
1120
-
1121
- /** Used to match complex or compound words. */
1122
- var reUnicodeWord = RegExp([
1123
- rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
1124
- rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
1125
- rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
1126
- rsUpper + '+' + rsOptContrUpper,
1127
- rsOrdUpper,
1128
- rsOrdLower,
1129
- rsDigits,
1130
- rsEmoji
1131
- ].join('|'), 'g');
1132
-
1133
- /**
1134
- * Splits a Unicode `string` into an array of its words.
1135
- *
1136
- * @private
1137
- * @param {string} The string to inspect.
1138
- * @returns {Array} Returns the words of `string`.
1139
- */
1140
- function unicodeWords$1(string) {
1141
- return string.match(reUnicodeWord) || [];
1142
- }
1143
-
1144
- var _unicodeWords = unicodeWords$1;
1145
-
1146
- var asciiWords = _asciiWords,
1147
- hasUnicodeWord = _hasUnicodeWord,
1148
- toString = toString_1,
1149
- unicodeWords = _unicodeWords;
1150
-
1151
- /**
1152
- * Splits `string` into an array of its words.
1153
- *
1154
- * @static
1155
- * @memberOf _
1156
- * @since 3.0.0
1157
- * @category String
1158
- * @param {string} [string=''] The string to inspect.
1159
- * @param {RegExp|string} [pattern] The pattern to match words.
1160
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
1161
- * @returns {Array} Returns the words of `string`.
1162
- * @example
1163
- *
1164
- * _.words('fred, barney, & pebbles');
1165
- * // => ['fred', 'barney', 'pebbles']
1166
- *
1167
- * _.words('fred, barney, & pebbles', /[^, ]+/g);
1168
- * // => ['fred', 'barney', '&', 'pebbles']
1169
- */
1170
- function words$1(string, pattern, guard) {
1171
- string = toString(string);
1172
- pattern = guard ? undefined : pattern;
1173
-
1174
- if (pattern === undefined) {
1175
- return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
1176
- }
1177
- return string.match(pattern) || [];
1178
- }
1179
-
1180
- var words_1 = words$1;
1181
-
1182
- var arrayReduce = _arrayReduce,
1183
- deburr = deburr_1,
1184
- words = words_1;
1185
-
1186
- /** Used to compose unicode capture groups. */
1187
- var rsApos = "['\u2019]";
1188
-
1189
- /** Used to match apostrophes. */
1190
- var reApos = RegExp(rsApos, 'g');
1191
-
1192
- /**
1193
- * Creates a function like `_.camelCase`.
1194
- *
1195
- * @private
1196
- * @param {Function} callback The function to combine each word.
1197
- * @returns {Function} Returns the new compounder function.
1198
- */
1199
- function createCompounder$1(callback) {
1200
- return function(string) {
1201
- return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
1202
- };
1203
- }
1204
-
1205
- var _createCompounder = createCompounder$1;
1206
-
1207
- var createCompounder = _createCompounder;
1208
-
1209
- /**
1210
- * Converts `string` to
1211
- * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
1212
- *
1213
- * @static
1214
- * @memberOf _
1215
- * @since 3.0.0
1216
- * @category String
1217
- * @param {string} [string=''] The string to convert.
1218
- * @returns {string} Returns the kebab cased string.
1219
- * @example
1220
- *
1221
- * _.kebabCase('Foo Bar');
1222
- * // => 'foo-bar'
1223
- *
1224
- * _.kebabCase('fooBar');
1225
- * // => 'foo-bar'
1226
- *
1227
- * _.kebabCase('__FOO_BAR__');
1228
- * // => 'foo-bar'
1229
- */
1230
- var kebabCase = createCompounder(function(result, word, index) {
1231
- return result + (index ? '-' : '') + word.toLowerCase();
1232
- });
1233
-
1234
- var kebabCase_1 = kebabCase;
1235
-
1236
578
  var TableHeaderCell = function (props) {
1237
579
  var _a;
1238
580
  var children = props.children, context = props.context, restProps = tslib.__rest(props, ["children", "context"]);
@@ -1246,7 +588,9 @@ var TableHeaderCell = function (props) {
1246
588
  desc: webIcons.ChevronDown,
1247
589
  };
1248
590
  var idBase = (_a = context.table.options.meta) === null || _a === void 0 ? void 0 : _a.idBase;
1249
- var dataTourIdProps = idBase && sortable ? { 'data-tour-id': kebabCase_1("sort " + idBase + " on " + context.header.column.id) } : {};
591
+ var dataTourIdProps = idBase && sortable
592
+ ? { 'data-tour-id': ("sort-" + idBase + "-on-" + context.header.column.id).toLowerCase().replace(/\s+/g, '-') }
593
+ : {};
1250
594
  return (React.createElement("th", tslib.__assign({ className: classes.root }, restProps),
1251
595
  React.createElement(commonUi.Box, tslib.__assign({ className: classes.box, display: "flex", alignItems: "center", gridGap: spacing(1), onClick: handleSort }, dataTourIdProps),
1252
596
  children,