@splunk/react-ui 5.8.0 → 5.9.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 (69) hide show
  1. package/Anchor.js +2 -1
  2. package/ButtonSimple.js +1 -1
  3. package/CHANGELOG.md +38 -0
  4. package/Calendar.js +134 -134
  5. package/Clickable.js +131 -94
  6. package/Code.js +177 -170
  7. package/CollapsiblePanel.js +173 -135
  8. package/ColumnLayout.js +69 -45
  9. package/ComboBox.js +1 -0
  10. package/Dropdown.js +87 -72
  11. package/File.js +35 -35
  12. package/LICENSE +1 -1
  13. package/MIGRATION.md +40 -0
  14. package/Markdown.js +331 -306
  15. package/Menu.js +259 -215
  16. package/Modal.js +174 -181
  17. package/Monogram.js +2 -2
  18. package/Multiselect.js +414 -334
  19. package/Number.js +237 -242
  20. package/Search.js +15 -14
  21. package/SelectBase.js +777 -719
  22. package/SimpleTable.d.ts +2 -0
  23. package/SimpleTable.js +433 -0
  24. package/SlidingPanels.js +224 -153
  25. package/SpotLight.d.ts +2 -0
  26. package/SpotLight.js +687 -0
  27. package/Table.js +1232 -1238
  28. package/Text.js +26 -26
  29. package/docker-compose.yml +12 -18
  30. package/docs-llm/Avatar.md +2 -8
  31. package/docs-llm/Collapsible Panel.md +11 -57
  32. package/docs-llm/Column Layout.md +2 -2
  33. package/docs-llm/Divider.md +33 -0
  34. package/docs-llm/Message Bar.md +4 -1
  35. package/docs-llm/Multiselect.md +185 -162
  36. package/docs-llm/Notifications.md +46 -0
  37. package/docs-llm/Table.md +7 -7
  38. package/docs-llm/Tree.md +7 -2
  39. package/docs-llm/Typography.md +1 -1
  40. package/docs-llm/llms.txt +7 -3
  41. package/package.json +9 -11
  42. package/test-runner-jest.config.js +4 -53
  43. package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +1 -1
  44. package/types/src/ColumnLayout/ColumnLayout.d.ts +2 -2
  45. package/types/src/Divider/docs/examples/VerticalWithAlignItems.d.ts +8 -0
  46. package/types/src/Markdown/Markdown.d.ts +14 -2
  47. package/types/src/Markdown/renderers/MarkdownTable.d.ts +2 -22
  48. package/types/src/Markdown/renderers/MarkdownWrapper.d.ts +11 -0
  49. package/types/src/Markdown/renderers/index.d.ts +3 -1
  50. package/types/src/Multiselect/Compact.d.ts +12 -3
  51. package/types/src/Multiselect/Multiselect.d.ts +12 -3
  52. package/types/src/Multiselect/Normal.d.ts +8 -3
  53. package/types/src/Multiselect/Option.d.ts +6 -3
  54. package/types/src/Multiselect/docs/examples/Disabled.d.ts +1 -0
  55. package/types/src/Multiselect/docs/examples/LoadMoreWithSelectAll.d.ts +9 -0
  56. package/types/src/SelectBase/SelectBase.d.ts +5 -1
  57. package/types/src/SimpleTable/Body.d.ts +25 -0
  58. package/types/src/SimpleTable/Cell.d.ts +20 -0
  59. package/types/src/SimpleTable/Head.d.ts +20 -0
  60. package/types/src/SimpleTable/HeadCell.d.ts +20 -0
  61. package/types/src/SimpleTable/Row.d.ts +20 -0
  62. package/types/src/SimpleTable/SimpleTable.d.ts +37 -0
  63. package/types/src/SimpleTable/index.d.ts +3 -0
  64. package/types/src/SpotLight/SpotLight.d.ts +88 -0
  65. package/types/src/SpotLight/index.d.ts +2 -0
  66. package/types/src/Table/Row.d.ts +1 -1
  67. package/types/src/Table/Table.d.ts +1 -1
  68. package/types/src/Typography/Typography.d.ts +1 -1
  69. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +0 -7
package/Table.js CHANGED
@@ -62,13 +62,13 @@
62
62
  // EXPORTS
63
63
  e.d(n, {
64
64
  Body: () => /* reexport */ J,
65
- Caption: () => /* reexport */ de,
66
- Cell: () => /* reexport */ Oe,
67
- Head: () => /* reexport */ er,
68
- HeadCell: () => /* reexport */ Mn,
69
- HeadDropdownCell: () => /* reexport */ xr,
70
- Row: () => /* reexport */ Ht,
71
- default: () => /* reexport */ Qo
65
+ Caption: () => /* reexport */ fe,
66
+ Cell: () => /* reexport */ ke,
67
+ Head: () => /* reexport */ nr,
68
+ HeadCell: () => /* reexport */ Nn,
69
+ HeadDropdownCell: () => /* reexport */ Sr,
70
+ Row: () => /* reexport */ Kt,
71
+ default: () => /* reexport */ Zo
72
72
  });
73
73
  // CONCATENATED MODULE: external "react"
74
74
  const t = require("react");
@@ -82,42 +82,42 @@
82
82
  // CONCATENATED MODULE: external "lodash/forEach"
83
83
  const l = require("lodash/forEach");
84
84
  var u = e.n(l);
85
- // CONCATENATED MODULE: external "lodash/has"
86
- const s = require("lodash/has");
87
85
  // CONCATENATED MODULE: external "lodash/indexOf"
88
- const c = require("lodash/indexOf");
89
- var d = e.n(c);
86
+ const s = require("lodash/indexOf");
87
+ var c = e.n(s);
90
88
  // CONCATENATED MODULE: external "lodash/isEqual"
91
- const f = require("lodash/isEqual");
92
- var v = e.n(f);
89
+ const d = require("lodash/isEqual");
90
+ var f = e.n(d);
93
91
  // CONCATENATED MODULE: external "lodash/isNumber"
94
- const p = require("lodash/isNumber");
92
+ const v = require("lodash/isNumber");
95
93
  // CONCATENATED MODULE: external "lodash/omit"
96
- const m = require("lodash/omit");
97
- var b = e.n(m);
94
+ const p = require("lodash/omit");
95
+ var m = e.n(p);
98
96
  // CONCATENATED MODULE: external "lodash/throttle"
99
- const h = require("lodash/throttle");
100
- var y = e.n(h);
97
+ const b = require("lodash/throttle");
98
+ var h = e.n(b);
101
99
  // CONCATENATED MODULE: external "prop-types"
102
- const g = require("prop-types");
103
- var w = e.n(g);
100
+ const y = require("prop-types");
101
+ var g = e.n(y);
104
102
  // CONCATENATED MODULE: external "@splunk/react-ui/EventListener"
105
- const C = require("@splunk/react-ui/EventListener");
106
- var x = e.n(C);
103
+ const w = require("@splunk/react-ui/EventListener");
104
+ var C = e.n(w);
107
105
  // CONCATENATED MODULE: external "@splunk/react-ui/ScrollContainerContext"
108
- const S = require("@splunk/react-ui/ScrollContainerContext");
106
+ const x = require("@splunk/react-ui/ScrollContainerContext");
109
107
  // CONCATENATED MODULE: external "@splunk/react-ui/usePrevious"
110
- const O = require("@splunk/react-ui/usePrevious");
111
- var k = e.n(O);
108
+ const S = require("@splunk/react-ui/usePrevious");
109
+ var O = e.n(S);
112
110
  // CONCATENATED MODULE: external "@splunk/react-ui/useResizeObserver"
113
- const R = require("@splunk/react-ui/useResizeObserver");
114
- var E = e.n(R);
111
+ const k = require("@splunk/react-ui/useResizeObserver");
112
+ var R = e.n(k);
115
113
  // CONCATENATED MODULE: external "@splunk/ui-utils/format"
116
- const I = require("@splunk/ui-utils/format");
114
+ const E = require("@splunk/ui-utils/format");
117
115
  // CONCATENATED MODULE: external "@splunk/ui-utils/i18n"
118
- const T = require("@splunk/ui-utils/i18n");
116
+ const I = require("@splunk/ui-utils/i18n");
119
117
  // CONCATENATED MODULE: external "@splunk/ui-utils/id"
120
- const j = require("@splunk/ui-utils/id");
118
+ const T = require("@splunk/ui-utils/id");
119
+ // CONCATENATED MODULE: external "lodash/has"
120
+ const j = require("lodash/has");
121
121
  // CONCATENATED MODULE: external "lodash/includes"
122
122
  const D = require("lodash/includes");
123
123
  var P = e.n(D);
@@ -127,13 +127,13 @@
127
127
  // CONCATENATED MODULE: external "styled-components"
128
128
  const _ = require("styled-components");
129
129
  var z = e.n(_);
130
- // CONCATENATED MODULE: external "@splunk/themes"
131
- const $ = require("@splunk/themes");
130
+ // CONCATENATED MODULE: external "@splunk/react-ui/SimpleTable"
131
+ const M = require("@splunk/react-ui/SimpleTable");
132
132
  // CONCATENATED MODULE: ./src/Table/BodyStyles.ts
133
- var M = z().tbody.withConfig({
133
+ var $ = z()(M.StyledSimpleTableBody).withConfig({
134
134
  displayName: "BodyStyles__Styled",
135
135
  componentId: "sc-1k5p6pq-0"
136
- })([ "", " z-index:0;" ], $.mixins.reset("table-row-group"));
136
+ })([ "z-index:0;" ]);
137
137
  // CONCATENATED MODULE: ./src/utils/updateReactRef.ts
138
138
  /**
139
139
  * Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
@@ -166,26 +166,26 @@
166
166
  }, L.apply(null, arguments);
167
167
  }
168
168
  function W(e, n) {
169
- return F(e) || B(e, n) || K(e, n) || H();
169
+ return F(e) || V(e, n) || K(e, n) || H();
170
170
  }
171
171
  function H() {
172
172
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
173
173
  }
174
174
  function K(e, n) {
175
175
  if (e) {
176
- if ("string" == typeof e) return V(e, n);
176
+ if ("string" == typeof e) return B(e, n);
177
177
  var t = {}.toString.call(e).slice(8, -1);
178
- return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? V(e, n) : void 0;
178
+ return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? B(e, n) : void 0;
179
179
  }
180
180
  }
181
- function V(e, n) {
181
+ function B(e, n) {
182
182
  (null == n || n > e.length) && (n = e.length);
183
183
  for (var t = 0, r = Array(n); t < n; t++) {
184
184
  r[t] = e[t];
185
185
  }
186
186
  return r;
187
187
  }
188
- function B(e, n) {
188
+ function V(e, n) {
189
189
  var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
190
190
  if (null != t) {
191
191
  var r, o, i, a, l = [], u = !0, s = !1;
@@ -234,21 +234,21 @@
234
234
  }
235
235
  var Y = {
236
236
  /** @private. Generally passed by Table rather than added directly. */
237
- actions: w().bool,
238
- children: w().node,
239
- elementRef: w().oneOfType([ w().func, w().object ]),
237
+ actions: g().bool,
238
+ children: g().node,
239
+ elementRef: g().oneOfType([ g().func, g().object ]),
240
240
  /** @private. Generally passed by Table rather than added directly. */
241
- movableColumns: w().bool,
241
+ movableColumns: g().bool,
242
242
  /** @private. Generally passed by Table rather than added directly. */
243
- rowExpansion: w().oneOf([ "single", "multi", "none", "controlled" ]),
243
+ rowExpansion: g().oneOf([ "single", "multi", "none", "controlled" ]),
244
244
  /** @private. Generally passed by Table rather than added directly. */
245
- onRequestMoveRow: w().func,
245
+ onRequestMoveRow: g().func,
246
246
  /** @private. */
247
- pinnedColumns: w().object,
247
+ pinnedColumns: g().object,
248
248
  /** @private. Generally passed by Table rather than added directly. */
249
- primaryColumnIndex: w().number,
249
+ primaryColumnIndex: g().number,
250
250
  /** @private. Generally passed by Table rather than added directly. */
251
- stripeRows: w().bool
251
+ stripeRows: g().bool
252
252
  };
253
253
  function G(e) {
254
254
  var n = e.actions, o = e.children, i = e.elementRef, a = e.pinnedColumns, l = e.movableColumns, u = e.onRequestMoveRow, s = e.rowExpansion, c = s === void 0 ? "none" : s, d = e.primaryColumnIndex, f = e.stripeRows, v = U(e, [ "actions", "children", "elementRef", "pinnedColumns", "movableColumns", "onRequestMoveRow", "rowExpansion", "primaryColumnIndex", "stripeRows" ]);
@@ -293,7 +293,7 @@
293
293
  n.set(a, Array.from({
294
294
  length: l
295
295
  }, (function() {
296
- return (0, j.createDOMID)();
296
+ return (0, T.createDOMID)();
297
297
  })));
298
298
  r = true;
299
299
  }
@@ -345,7 +345,7 @@
345
345
  return null;
346
346
  }
347
347
 
348
- return r().createElement(M, L({
348
+ return r().createElement($, L({
349
349
  "data-test": "body"
350
350
  }, v, {
351
351
  ref: w
@@ -354,51 +354,53 @@
354
354
  G.propTypes = Y;
355
355
  G.splunkUiType = "Table.Body";
356
356
  /* harmony default export */ const J = G;
357
+ // CONCATENATED MODULE: external "@splunk/themes"
358
+ const Q = require("@splunk/themes");
357
359
  // CONCATENATED MODULE: ./src/Table/TableStyles.ts
358
- var Q = z().div.withConfig({
360
+ var Z = z().div.withConfig({
359
361
  displayName: "TableStyles__Styled",
360
362
  componentId: "sc-1cmfss7-0"
361
- })([ "", ";max-width:100%;position:relative;z-index:1;@media print{max-height:none !important;}" ], $.mixins.reset("block"));
362
- var Z = z().div.withConfig({
363
+ })([ "", ";max-width:100%;position:relative;z-index:1;@media print{max-height:none !important;}" ], Q.mixins.reset("block"));
364
+ var ee = z().div.withConfig({
363
365
  displayName: "TableStyles__StyledTableContainer",
364
366
  componentId: "sc-1cmfss7-1"
365
367
  })([ "overflow:auto;", " &::before{content:'';width:100%;height:0;top:0;position:absolute;}" ], (function(e) {
366
368
  var n = e.$dragging;
367
369
  return n && (0, _.css)([ "overflow:hidden;" ]);
368
370
  }));
369
- var ee = z().table.withConfig({
371
+ var ne = z()(M.StyledSimpleTable).withConfig({
370
372
  displayName: "TableStyles__StyledTable",
371
373
  componentId: "sc-1cmfss7-2"
372
- })([ "", ";position:relative;border-collapse:collapse;border-spacing:0;min-width:100%;z-index:0;height:1px;&[data-fixed-column='true']{table-layout:fixed;min-width:0;width:0;}", " @media print{width:100%;max-width:100%;table-layout:auto;}" ], $.mixins.reset("table"), (function(e) {
374
+ })([ "position:relative;border-spacing:0;z-index:0;height:1px;&[data-fixed-column='true']{table-layout:fixed;min-width:0;width:0;}", " @media print{width:100%;max-width:100%;table-layout:auto;}" ], (function(e) {
373
375
  var n = e.$resizableFillLayout;
374
376
  return n && (0, _.css)([ "width:100%;min-width:100%;table-layout:fixed;" ]);
375
377
  }));
376
- var ne = z().div.withConfig({
378
+ var te = z().div.withConfig({
377
379
  displayName: "TableStyles__StyledDockedScrollbar",
378
380
  componentId: "sc-1cmfss7-3"
379
- })([ "position:fixed;bottom:0;overflow:auto;z-index:calc(", " + 1);" ], $.variables.zindexFixedNavbar);
380
- var te = z().div.withConfig({
381
+ })([ "position:fixed;bottom:0;overflow:auto;z-index:calc(", " + 1);" ], Q.variables.zindexFixedNavbar);
382
+ var re = z().div.withConfig({
381
383
  displayName: "TableStyles__StyledDockedScrollbarContent",
382
384
  componentId: "sc-1cmfss7-4"
383
385
  })([ "height:1px;" ]);
384
- var re = z().caption.withConfig({
386
+ var oe = z().caption.withConfig({
385
387
  displayName: "TableStyles__StyledTableCaption",
386
388
  componentId: "sc-1cmfss7-5"
387
- })([ "padding:", " 0;font-size:", ";caption-side:", ";" ], $.variables.spacingXSmall, $.variables.fontSizeLarge, (function(e) {
389
+ })([ "padding:", " 0;font-size:", ";caption-side:", ";" ], Q.variables.spacingXSmall, Q.variables.fontSizeLarge, (function(e) {
388
390
  var n = e.side;
389
391
  return n;
390
392
  }));
391
- var oe = z().table.withConfig({
393
+ var ie = z().table.withConfig({
392
394
  displayName: "TableStyles__StyledDragShadowTable",
393
395
  componentId: "sc-1cmfss7-6"
394
- })([ "display:block;background:", ";border-collapse:collapse;height:", ";width:", ";" ], $.variables.interactiveColorOverlayDrag, (function(e) {
396
+ })([ "display:block;background:", ";border-collapse:collapse;height:", ";width:", ";" ], Q.variables.interactiveColorOverlayDrag, (function(e) {
395
397
  var n = e.$height;
396
398
  return "".concat(n, "px");
397
399
  }), (function(e) {
398
400
  var n = e.$width;
399
401
  return "".concat(n, "px");
400
402
  }));
401
- var ie = z().div.withConfig({
403
+ var ae = z().div.withConfig({
402
404
  displayName: "TableStyles__StyledGuideLine",
403
405
  componentId: "sc-1cmfss7-7"
404
406
  })([ "position:absolute;width:1px;left:", ";top:0;height:", ";pointer-events:none;background-color:", ";" ], (function(e) {
@@ -407,10 +409,10 @@
407
409
  }), (function(e) {
408
410
  var n = e.$height;
409
411
  return "".concat(n, "px");
410
- }), $.variables.interactiveColorAccent);
412
+ }), Q.variables.interactiveColorAccent);
411
413
  // CONCATENATED MODULE: ./src/Table/Caption.tsx
412
- function ae() {
413
- return ae = Object.assign ? Object.assign.bind() : function(e) {
414
+ function le() {
415
+ return le = Object.assign ? Object.assign.bind() : function(e) {
414
416
  for (var n = 1; n < arguments.length; n++) {
415
417
  var t = arguments[n];
416
418
  for (var r in t) {
@@ -418,11 +420,11 @@
418
420
  }
419
421
  }
420
422
  return e;
421
- }, ae.apply(null, arguments);
423
+ }, le.apply(null, arguments);
422
424
  }
423
- function le(e, n) {
425
+ function ue(e, n) {
424
426
  if (null == e) return {};
425
- var t, r, o = ue(e, n);
427
+ var t, r, o = se(e, n);
426
428
  if (Object.getOwnPropertySymbols) {
427
429
  var i = Object.getOwnPropertySymbols(e);
428
430
  for (r = 0; r < i.length; r++) {
@@ -431,7 +433,7 @@
431
433
  }
432
434
  return o;
433
435
  }
434
- function ue(e, n) {
436
+ function se(e, n) {
435
437
  if (null == e) return {};
436
438
  var t = {};
437
439
  for (var r in e) {
@@ -442,82 +444,79 @@
442
444
  }
443
445
  return t;
444
446
  }
445
- var se = {
446
- children: w().node.isRequired,
447
- side: w().oneOf([ "top", "bottom" ])
447
+ var ce = {
448
+ children: g().node.isRequired,
449
+ side: g().oneOf([ "top", "bottom" ])
448
450
  };
449
451
  /**
450
452
  * Tables that use a docked header must place the caption on the bottom side.
451
453
  * Tables that use a fixed header cannot use captions.
452
- */ function ce(e) {
453
- var n = e.children, t = e.side, o = t === void 0 ? "top" : t, i = le(e, [ "children", "side" ]);
454
+ */ function de(e) {
455
+ var n = e.children, t = e.side, o = t === void 0 ? "top" : t, i = ue(e, [ "children", "side" ]);
454
456
  // @docs-props-type CaptionPropsBase
455
457
 
456
- return r().createElement(re, ae({
458
+ return r().createElement(oe, le({
457
459
  "data-test": "caption",
458
460
  side: o
459
461
  }, i), n);
460
462
  }
461
- ce.propTypes = se;
462
- ce.splunkUiType = "Table.Caption";
463
- /* harmony default export */ const de = ce;
463
+ de.propTypes = ce;
464
+ de.splunkUiType = "Table.Caption";
465
+ /* harmony default export */ const fe = de;
464
466
  // CONCATENATED MODULE: external "@splunk/react-ui/ButtonSimple"
465
- const fe = require("@splunk/react-ui/ButtonSimple");
467
+ const ve = require("@splunk/react-ui/ButtonSimple");
466
468
  // CONCATENATED MODULE: ./src/Table/CellStyles.ts
467
- var ve = "2px";
468
- var pe = (0, _.css)([ "box-shadow:", ";" ], $.variables.focusShadowInset);
469
- var me = z().td.withConfig({
469
+ var pe = "2px";
470
+ var me = (0, _.css)([ "box-shadow:", ";" ], Q.variables.focusShadowInset);
471
+ var be = z()(M.StyledSimpleTableCell).withConfig({
470
472
  displayName: "CellStyles__Styled",
471
473
  componentId: "sc-1955xk2-0"
472
- })([ "", " line-height:", ";padding:", " ", ";border-left:0 solid transparent;border-right:0 solid transparent;color:", ";word-wrap:break-word;vertical-align:top;*:where(button):focus,&& *:is(:has(> input:focus)):not([disabled]){box-shadow:", ";}padding-block:", ";padding-inline:", ";", " ", " ", " [data-expansion-row='true'] > &:first-child{padding-top:8px;}[data-expansion-row='true'] > &:last-child{padding-bottom:14px;}", "" ], $.mixins.reset("table-cell"), $.variables.lineHeightSpacious, ve, $.variables.spacingSmall, $.variables.contentColorDefault, $.variables.focusShadowInset, (0,
473
- $.pick)({
474
- comfortable: "8px",
475
- compact: "6px"
476
- }), $.variables.spacingSmall, (0, $.pickVariant)("$variant", {
474
+ })([ "word-break:normal;border-left:0 solid transparent;border-right:0 solid transparent;*:where(button):focus,&& *:is(:has(> input:focus)):not([disabled]){box-shadow:", ";}", " ", " ", " [data-expansion-row='true'] > &:first-child{padding-top:8px;}[data-expansion-row='true'] > &:last-child{padding-bottom:14px;}", "" ], Q.variables.focusShadowInset, (0,
475
+ Q.pickVariant)("$variant", {
477
476
  expand: (0, _.css)([ "height:100%;padding:0;" ]),
478
477
  toggle: (0, _.css)([ "height:100%;padding:0;" ])
479
478
  }), (function(e) {
480
479
  var n = e.$variant, t = e.$isPrimaryCell;
481
- return (0, $.pickVariant)("$appearance", {
482
- data: (0, _.css)([ "", "" ], n === "actions" && (0, _.css)([ "cursor:default;padding-block:", ";padding-inline:", ";*:where(button){", " &:focus{box-shadow:", ";}}" ], ve, $.variables.spacingSmall, (0,
483
- fe.buttonMixin)("subtle", {
484
- color: $.variables.contentColorDefault
485
- }), $.variables.focusShadowInset)),
486
- rowLink: (0, _.css)([ "color:", ";*:hover > &&{cursor:pointer;", "}" ], $.variables.contentColorActive, t && (0,
480
+ return (0, Q.pickVariant)("$appearance", {
481
+ data: (0, _.css)([ "", "" ], n === "actions" && (0, _.css)([ "cursor:default;padding-block:", ";padding-inline:", ";*:where(button){", " &:focus{box-shadow:", ";}}" ], pe, Q.variables.spacingSmall, (0,
482
+ ve.buttonMixin)("subtle", {
483
+ color: Q.variables.contentColorDefault
484
+ }), Q.variables.focusShadowInset)),
485
+ rowLink: (0, _.css)([ "color:", ";*:hover > &&{cursor:pointer;", "}" ], Q.variables.contentColorActive, t && (0,
487
486
  _.css)([ "text-decoration:underline;" ])),
488
- link: (0, _.css)([ "color:", ";&:hover{cursor:pointer;text-decoration:underline;}&:focus{text-decoration:underline;box-shadow:", ";}" ], $.variables.contentColorLink, $.variables.focusShadowInset)
487
+ link: (0, _.css)([ "color:", ";&:hover{cursor:pointer;text-decoration:underline;}&:focus{text-decoration:underline;box-shadow:", ";}" ], Q.variables.contentColorLink, Q.variables.focusShadowInset)
489
488
  });
490
489
  }), (function(e) {
491
- var n = e.$clickable, t = e.$focusWithin, r = e.$stripe;
492
- return n && (0, _.css)([ "cursor:pointer;&:hover{background-color:", ";}&:focus{", " background-color:", ";}", "" ], r === "even" ? $.variables.neutral300 : $.variables.neutral100, pe, r === "even" ? $.variables.neutral300 : $.variables.neutral100, t && (0,
493
- _.css)([ "&:focus-within{", " background-color:", ";}" ], pe, r === "even" ? $.variables.neutral300 : $.variables.neutral100));
490
+ var n = e.$clickable, t = e.$focusWithin;
491
+ return n && (0, _.css)([ "cursor:pointer;&:hover{background-color:", ";}&:focus{", " background-color:", ";}", "" ], Q.variables.neutral100, me, Q.variables.neutral100, t && (0,
492
+ _.css)([ "&:focus-within{", " background-color:", ";}" ], me, Q.variables.neutral100));
494
493
  }), (function(e) {
495
494
  var n = e.$isPinned;
496
- return n && (0, _.css)([ "background-color:", ";position:sticky;inset-inline-end:-1px;&::before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid ", ";}" ], $.variables.backgroundColorPage, $.variables.borderColor);
495
+ return n && (0, _.css)([ "background-color:", ";position:sticky;inset-inline-end:-1px;&::before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid ", ";}" ], Q.variables.backgroundColorPage, Q.variables.borderColor);
497
496
  }));
498
497
  /*
499
498
  * A wrapper ensures that the Table Cell contents align to the top while staying within the height of inputHeight.
500
499
  * This allows text to align properly with expand and select icons when other cell contents are larger.
501
- */ var be = z().div.withConfig({
500
+ */ var he = z().div.withConfig({
502
501
  displayName: "CellStyles__StyledCellContent",
503
502
  componentId: "sc-1955xk2-1"
504
- })([ "display:flex;align-items:flex-start;", " ", " ", "" ], (0, $.pickVariant)("$variant", {
503
+ })([ "display:flex;align-items:flex-start;", " ", " ", "" ], (0, Q.pickVariant)("$variant", {
505
504
  expand: (0, _.css)([ "height:100%;" ]),
506
505
  toggle: (0, _.css)([ "height:100%;" ])
507
506
  }), (function(e) {
508
507
  var n = e.$variant, t = e.$align;
509
508
  return n ? (0, _.css)([ "display:block;text-align:", ";" ], t) : (0, _.css)([ "justify-content:", ";text-align:", ";" ], t, t);
510
- }), (0, $.pickVariant)("$horizontalOverflow", {
509
+ }), (0, Q.pickVariant)("$horizontalOverflow", {
511
510
  auto: (0, _.css)([ "word-break:break-word;" ]),
512
511
  scroll: (0, _.css)([ "overflow-wrap:wrap;" ])
513
512
  }));
514
513
  // CONCATENATED MODULE: ./src/Table/TableContext.ts
515
- var he = (0, t.createContext)({});
516
- he.displayName = "Table";
517
- /* harmony default export */ const ye = he;
514
+ var ye = (0, t.createContext)({});
515
+ ye.displayName = "Table";
516
+ /* harmony default export */ const ge = ye;
518
517
  // CONCATENATED MODULE: ./src/Table/Cell.tsx
519
- function ge() {
520
- return ge = Object.assign ? Object.assign.bind() : function(e) {
518
+ function we() {
519
+ return we = Object.assign ? Object.assign.bind() : function(e) {
521
520
  for (var n = 1; n < arguments.length; n++) {
522
521
  var t = arguments[n];
523
522
  for (var r in t) {
@@ -525,11 +524,11 @@
525
524
  }
526
525
  }
527
526
  return e;
528
- }, ge.apply(null, arguments);
527
+ }, we.apply(null, arguments);
529
528
  }
530
- function we(e, n) {
529
+ function Ce(e, n) {
531
530
  if (null == e) return {};
532
- var t, r, o = Ce(e, n);
531
+ var t, r, o = xe(e, n);
533
532
  if (Object.getOwnPropertySymbols) {
534
533
  var i = Object.getOwnPropertySymbols(e);
535
534
  for (r = 0; r < i.length; r++) {
@@ -538,7 +537,7 @@
538
537
  }
539
538
  return o;
540
539
  }
541
- function Ce(e, n) {
540
+ function xe(e, n) {
542
541
  if (null == e) return {};
543
542
  var t = {};
544
543
  for (var r in e) {
@@ -549,38 +548,38 @@
549
548
  }
550
549
  return t;
551
550
  }
552
- /** @public */ var xe = {
553
- align: w().oneOf([ "left", "center", "right" ]),
551
+ /** @public */ var Se = {
552
+ align: g().oneOf([ "left", "center", "right" ]),
554
553
  /** @private */
555
- appearance: w().oneOf([ "data", "link", "rowLink" ]),
554
+ appearance: g().oneOf([ "data", "link", "rowLink" ]),
556
555
  /** @private Used to set the $clickable appearance without an onClick */
557
- appearClickable: w().bool,
558
- children: w().node,
559
- data: w().any,
560
- elementRef: w().oneOfType([ w().func, w().object ]),
556
+ appearClickable: g().bool,
557
+ children: g().node,
558
+ data: g().any,
559
+ elementRef: g().oneOfType([ g().func, g().object ]),
561
560
  /** @private */
562
- isPrimaryCell: w().bool,
561
+ isPrimaryCell: g().bool,
563
562
  /** @private */
564
- isPinned: w().bool,
565
- onClick: w().func,
563
+ isPinned: g().bool,
564
+ onClick: g().func,
566
565
  /** @private */
567
- onKeyDown: w().func,
566
+ onKeyDown: g().func,
568
567
  /** @private */
569
- disabled: w().bool,
568
+ disabled: g().bool,
570
569
  /** @private. */
571
- expand: w().bool,
570
+ expand: g().bool,
572
571
  /** @private. */
573
- stripe: w().oneOf([ "odd", "even", "none" ]),
572
+ stripe: g().oneOf([ "odd", "even", "none" ]),
574
573
  /** @private. */
575
- variant: w().oneOf([ "toggle", "expand", "drag", "actions" ])
574
+ variant: g().oneOf([ "toggle", "expand", "drag", "actions" ])
576
575
  };
577
- function Se(e) {
578
- var n = e.align, o = n === void 0 ? "left" : n, i = e.appearance, a = e.appearClickable, l = e.children, u = e.data, s = e.disabled, c = e.elementRef, d = e.isPinned, f = e.isPrimaryCell, v = e.onClick, p = e.onKeyDown, m = e.stripe, b = e.variant, h = we(e, [ "align", "appearance", "appearClickable", "children", "data", "disabled", "elementRef", "isPinned", "isPrimaryCell", "onClick", "onKeyDown", "stripe", "variant" ]);
576
+ function Oe(e) {
577
+ var n = e.align, o = n === void 0 ? "left" : n, i = e.appearance, a = e.appearClickable, l = e.children, u = e.data, s = e.disabled, c = e.elementRef, d = e.isPinned, f = e.isPrimaryCell, v = e.onClick, p = e.onKeyDown, m = e.stripe, b = e.variant, h = Ce(e, [ "align", "appearance", "appearClickable", "children", "data", "disabled", "elementRef", "isPinned", "isPrimaryCell", "onClick", "onKeyDown", "stripe", "variant" ]);
579
578
  // @docs-props-type CellPropsBase
580
579
  var y = v !== undefined;
581
580
  var g = a || y;
582
581
  var w = g ? "link" : "data";
583
- var C = (0, t.useContext)(ye), x = C.horizontalOverflow;
582
+ var C = (0, t.useContext)(ge), x = C.horizontalOverflow;
584
583
  var S = (0, t.useCallback)((function(e) {
585
584
  N(c, e);
586
585
  }), [ c ]);
@@ -598,7 +597,7 @@
598
597
  p === null || p === void 0 ? void 0 : p(e);
599
598
  }), [ u, v, p ]);
600
599
 
601
- return r().createElement(me, ge({
600
+ return r().createElement(be, we({
602
601
  "data-test": "cell",
603
602
  $appearance: i || w,
604
603
  $clickable: g ? true : undefined,
@@ -612,44 +611,44 @@
612
611
  onKeyDown: k,
613
612
  ref: S,
614
613
  tabIndex: y ? 0 : undefined
615
- }, h), r().createElement(be, {
614
+ }, h), r().createElement(he, {
616
615
  $align: o,
617
616
  $horizontalOverflow: x,
618
617
  $variant: b
619
618
  }, l));
620
619
  }
621
- Se.propTypes = xe;
622
- Se.splunkUiType = "Table.Cell";
623
- /* harmony default export */ const Oe = Se;
620
+ Oe.propTypes = Se;
621
+ Oe.splunkUiType = "Table.Cell";
622
+ /* harmony default export */ const ke = Oe;
624
623
  // CONCATENATED MODULE: external "lodash/isString"
625
- const ke = require("lodash/isString");
626
- var Re = e.n(ke);
624
+ const Re = require("lodash/isString");
625
+ var Ee = e.n(Re);
627
626
  // CONCATENATED MODULE: external "lodash/merge"
628
- const Ee = require("lodash/merge");
629
- var Ie = e.n(Ee);
627
+ const Ie = require("lodash/merge");
628
+ var Te = e.n(Ie);
630
629
  // CONCATENATED MODULE: external "@splunk/react-icons/ParallelDots"
631
- const Te = require("@splunk/react-icons/ParallelDots");
632
- var je = e.n(Te);
630
+ const je = require("@splunk/react-icons/ParallelDots");
631
+ var De = e.n(je);
633
632
  // CONCATENATED MODULE: external "@splunk/react-ui/Tooltip"
634
- const De = require("@splunk/react-ui/Tooltip");
635
- var Pe = e.n(De);
633
+ const Pe = require("@splunk/react-ui/Tooltip");
634
+ var Ae = e.n(Pe);
636
635
  // CONCATENATED MODULE: external "@splunk/react-ui/Divider"
637
- const Ae = require("@splunk/react-ui/Divider");
638
- var qe = e.n(Ae);
636
+ const qe = require("@splunk/react-ui/Divider");
637
+ var _e = e.n(qe);
639
638
  // CONCATENATED MODULE: ./src/Table/HeadInnerStyles.ts
640
- var _e = 4;
641
- var ze = _e;
639
+ var ze = 4;
640
+ var Me = ze;
642
641
  // While this could theoretically be different, it helps for cohesivity in look and feel when some columns are truncated and others are not.
643
642
  var $e = (0, _.css)([ "display:inline-flex;align-items:center;grid-row:1;height:1lh;" ]);
644
- var Me = z().span.withConfig({
643
+ var Ne = z().span.withConfig({
645
644
  displayName: "HeadInnerStyles__StyledIcon",
646
645
  componentId: "sc-1sa0wng-0"
647
646
  })([ "", " grid-column:icon;" ], $e);
648
- var Ne = z().span.withConfig({
647
+ var Le = z().span.withConfig({
649
648
  displayName: "HeadInnerStyles__StyledTooltipIcon",
650
649
  componentId: "sc-1sa0wng-1"
651
650
  })([ "", " grid-column:tooltip;" ], $e);
652
- var Le = z().span.withConfig({
651
+ var We = z().span.withConfig({
653
652
  displayName: "HeadInnerStyles__StyledLabel",
654
653
  componentId: "sc-1sa0wng-2"
655
654
  })([ "grid-column:label;grid-row:1 / -1;position:relative;height:100%;", " ", " ", " ", "" ], (function(e) {
@@ -657,105 +656,98 @@
657
656
  return n === "toggleAll" && (0, _.css)([ "grid-column:1 / -1;" ]);
658
657
  }), (function(e) {
659
658
  var n = e.$labelLength;
660
- return n && n > ze && (0, _.css)([ "word-wrap:break-word;word-break:break-word;" ]);
659
+ return n && n > Me && (0, _.css)([ "word-wrap:break-word;word-break:break-word;" ]);
661
660
  }), (function(e) {
662
661
  var n = e.$truncate, t = e.$labelLength;
663
- return (0, $.pickVariant)("$horizontalOverflow", {
664
- auto: n && t && t > _e && (0, _.css)([ "", " min-width:4ch;" ], $.mixins.ellipsis()),
662
+ return (0, Q.pickVariant)("$horizontalOverflow", {
663
+ auto: n && t && t > ze && (0, _.css)([ "", " min-width:4ch;" ], Q.mixins.ellipsis()),
665
664
  scroll: (0, _.css)([ "white-space:nowrap;" ])
666
665
  });
667
- }), (0, $.pickVariant)("$align", {
666
+ }), (0, Q.pickVariant)("$align", {
668
667
  right: (0, _.css)([ "& > &{text-align:right;}" ]),
669
668
  left: (0, _.css)([ "& > &{text-align:left;}" ]),
670
669
  center: (0, _.css)([ "& > &{text-align:center;}" ])
671
670
  }));
672
- var We = (0, _.css)([ "box-shadow:", ";outline:none;color:", ";text-decoration:underline;" ], $.variables.focusShadowInset, $.variables.contentColorActive);
673
- var He = z().div.withConfig({
671
+ var He = (0, _.css)([ "box-shadow:", ";outline:none;color:", ";text-decoration:underline;" ], Q.variables.focusShadowInset, Q.variables.contentColorActive);
672
+ var Ke = z().div.withConfig({
674
673
  displayName: "HeadInnerStyles__Styled",
675
674
  componentId: "sc-1sa0wng-3"
676
- })([ "", ";", ";", ";position:relative;", " grid-template-rows:1lh 1fr;align-items:start;flex-grow:1;height:100%;padding-block:", ";padding-inline:", ";justify-content:", ";", " ", " @media print{background-image:none;}", "" ], $.mixins.reset("grid"), $.mixins.clearfix(), $.mixins.typography("body", {
675
+ })([ "", ";", ";", ";position:relative;", " grid-template-rows:1lh 1fr;align-items:start;flex-grow:1;height:100%;", ";padding-inline:", ";justify-content:", ";", " ", " @media print{background-image:none;}", "" ], Q.mixins.reset("grid"), Q.mixins.clearfix(), Q.mixins.typography("body", {
677
676
  weight: "bold"
678
677
  }), (function(e) {
679
678
  var n = e.$hasTooltip, t = e.$hasIcon;
680
- return (0, _.css)([ "grid-template-columns:[label] auto ", " ", ";column-gap:", ";" ], n ? "[tooltip] min-content" : "", t ? "[icon] min-content" : "", n || t ? $.variables.spacingXSmall : 0);
681
- }), (0, $.pick)({
682
- comfortable: "8px",
683
- compact: "6px"
684
- }), $.variables.spacingSmall, (0, $.pickVariant)("$align", {
679
+ return (0, _.css)([ "grid-template-columns:[label] auto ", " ", ";column-gap:", ";" ], n ? "[tooltip] min-content" : "", t ? "[icon] min-content" : "", n || t ? Q.variables.spacingXSmall : 0);
680
+ }), M.sharedCellPaddingBlock, Q.variables.spacingSmall, (0, Q.pickVariant)("$align", {
685
681
  center: "center",
686
682
  left: "flex-start",
687
683
  right: "flex-end"
688
684
  }), (function(e) {
689
685
  var n = e.$variant;
690
686
  return n && (0, _.css)([ "grid-template-columns:1fr;grid-template-rows:1fr;" ]);
691
- }), (0, $.pickVariant)("$variant", {
687
+ }), (0, Q.pickVariant)("$variant", {
692
688
  toggleAll: (0, _.css)([ "padding:0;" ]),
693
689
  actions: (0, _.css)([ "padding-block:2px;" ])
694
690
  }), (function(e) {
695
691
  var n = e.$clickable, t = e.$focusWithin;
696
- return n && (0, _.css)([ "cursor:pointer;&:focus{", "}", " &:hover{outline:none;text-decoration:underline;color:", ";}" ], We, t && (0,
697
- _.css)([ "&:focus-within{", "}" ], We), $.variables.contentColorActive);
692
+ return n && (0, _.css)([ "cursor:pointer;&:focus{", "}", " &:hover{outline:none;text-decoration:underline;color:", ";}" ], He, t && (0,
693
+ _.css)([ "&:focus-within{", "}" ], He), Q.variables.contentColorActive);
698
694
  }));
699
- var Ke = z()(qe()).withConfig({
695
+ var Be = z()(_e()).withConfig({
700
696
  displayName: "HeadInnerStyles__StyledResize",
701
697
  componentId: "sc-1sa0wng-4"
702
- })([ "", ";position:absolute;right:-5px;width:9px;top:0;bottom:0;z-index:1;cursor:col-resize;th:last-child > div > ", " > &{right:1px;width:4px;}&:hover{outline:none;&::before{content:'';background:", ";position:absolute;left:4px;width:1px;top:0;bottom:0;}}&:focus{outline:none;&::before{content:'';position:absolute;background:", ";box-shadow:", ";left:4px;width:1px;top:0;bottom:0;}}" ], $.mixins.reset("block"), /* sc-sel */ He, $.variables.borderColorStrong, $.variables.focusColor, $.variables.focusShadow);
698
+ })([ "", ";position:absolute;right:-5px;width:9px;top:0;bottom:0;z-index:1;cursor:col-resize;th:last-child > div > ", " > &{right:1px;width:4px;}&:hover{outline:none;&::before{content:'';background:", ";position:absolute;left:4px;width:1px;top:0;bottom:0;}}&:focus{outline:none;&::before{content:'';position:absolute;background:", ";box-shadow:", ";left:4px;width:1px;top:0;bottom:0;}}" ], Q.mixins.reset("block"), /* sc-sel */ Ke, Q.variables.borderColorStrong, Q.variables.focusColor, Q.variables.focusShadow);
703
699
  // CONCATENATED MODULE: ./src/Table/HeadCellStyles.ts
704
700
  var Ve = z().div.withConfig({
705
701
  displayName: "HeadCellStyles__StyledInnerWrapper",
706
702
  componentId: "sc-1hj81sa-0"
707
703
  })([ "display:flex;height:100%;align-items:flex-start;" ]);
708
- var Be = z().th.withConfig({
704
+ var Fe = z()(M.StyledSimpleTableHeadCell).withConfig({
709
705
  displayName: "HeadCellStyles__Styled",
710
706
  componentId: "sc-1hj81sa-1"
711
- })([ "", " line-height:", ";background-color:", ";box-sizing:content-box;text-align:left;vertical-align:", ";position:relative;height:100%;&:not(:first-child,:has(", ")){", "{border-left:1px solid ", ";}}&:has(", "){", "{border-right:1px solid ", ";}}&:nth-last-child(2):has(", ") + &:last-child{", "{border-left:none;}}*:where(button):focus{box-shadow:", ";}", " ", " ", " ", "" ], $.mixins.reset("table-cell"), $.variables.lineHeightSpacious, $.variables.neutral100, (function(e) {
707
+ })([ "&:not(:first-child){border-left:none;}padding:0;text-align:left;vertical-align:", ";position:relative;height:100%;&:not(:first-child,:has(", ")){", "{border-left:1px solid ", ";}}&:has(", "){", "{border-right:1px solid ", ";}}&:nth-last-child(2):has(", ") + &:last-child{", "{border-left:none;}}*:where(button):focus{box-shadow:", ";}", " ", " ", " ", "" ], (function(e) {
712
708
  var n = e.$variant;
713
709
  return n ? "middle" : "top";
714
- }), Ke, /* sc-sel */ Ve, $.variables.borderColorWeak, Ke, /* sc-sel */ Ve, $.variables.borderColor, Ke, /* sc-sel */ Ve, $.variables.focusShadowInset, (function(e) {
710
+ }), Be, /* sc-sel */ Ve, Q.variables.borderColorWeak, Be, /* sc-sel */ Ve, Q.variables.borderColor, Be, /* sc-sel */ Ve, Q.variables.focusShadowInset, (function(e) {
715
711
  var n = e.$isDragging;
716
- return n && (0, _.css)([ "background-color:", ";&:focus{box-shadow:none;}" ], $.variables.backgroundColorPage);
712
+ return n && (0, _.css)([ "background-color:", ";&:focus{box-shadow:none;}" ], Q.variables.backgroundColorPage);
717
713
  }), (function(e) {
718
714
  var n = e.$variant;
719
- return n && (0, _.css)([ "&:first-child + &{", "{border-left:1px solid ", ";}}" ], Ve, $.variables.borderColorWeak);
720
- }), (0, $.pickVariant)("$variant", {
721
- actions: (0, _.css)([ "*:where(button){", " &:focus{box-shadow:", ";}}" ], (0, fe.buttonMixin)("subtle", {
722
- color: $.variables.contentColorDefault
723
- }), $.variables.focusShadowInset)
715
+ return n && (0, _.css)([ "&:first-child + &{", "{border-left:1px solid ", ";}}" ], Ve, Q.variables.borderColorWeak);
716
+ }), (0, Q.pickVariant)("$variant", {
717
+ actions: (0, _.css)([ "*:where(button){", " &:focus{box-shadow:", ";}}" ], (0, ve.buttonMixin)("subtle", {
718
+ color: Q.variables.contentColorDefault
719
+ }), Q.variables.focusShadowInset)
724
720
  }), (function(e) {
725
721
  var n = e.$isPinned;
726
- return n && (0, _.css)([ "position:sticky;inset-inline-end:-1px;&::before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid ", ";}" ], $.variables.borderColor);
722
+ return n && (0, _.css)([ "position:sticky;inset-inline-end:-1px;&::before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid ", ";}" ], Q.variables.borderColor);
727
723
  }));
728
- var Fe = z().div.withConfig({
724
+ var Ue = z().div.withConfig({
729
725
  displayName: "HeadCellStyles__StyledIcon",
730
726
  componentId: "sc-1hj81sa-2"
731
727
  })([ "display:inline-flex;align-items:center;height:1lh;" ]);
732
728
  // TODO(SUI-7400): Refactor the drag handler of re-order column
733
- var Ue = z().div.withConfig({
729
+ var Xe = z().div.withConfig({
734
730
  displayName: "HeadCellStyles__StyledDragHandler",
735
731
  componentId: "sc-1hj81sa-3"
736
- })([ "display:inline-flex;align-items:start;align-self:stretch;justify-content:center;min-width:20px;cursor:move;padding-block:", ";-webkit-user-select:none;-moz-user-select:none;user-select:none;&:hover{background:", ";color:", ";}&:focus{background:", ";box-shadow:", ";color:", ";}" ], (0,
737
- $.pick)({
738
- comfortable: "8px",
739
- compact: "6px"
740
- }), $.variables.interactiveColorOverlayHover, $.variables.contentColorActive, $.variables.interactiveColorOverlayDrag, $.variables.focusShadowInset, $.variables.contentColorActive);
732
+ })([ "display:inline-flex;align-items:start;align-self:stretch;justify-content:center;min-width:20px;cursor:move;", ";-webkit-user-select:none;-moz-user-select:none;user-select:none;&:hover{background:", ";color:", ";}&:focus{background:", ";box-shadow:", ";color:", ";}" ], M.sharedCellPaddingBlock, Q.variables.interactiveColorOverlayHover, Q.variables.contentColorActive, Q.variables.interactiveColorOverlayDrag, Q.variables.focusShadowInset, Q.variables.contentColorActive);
741
733
  // CONCATENATED MODULE: external "@splunk/react-icons/ArrowDown"
742
- const Xe = require("@splunk/react-icons/ArrowDown");
743
- var Ye = e.n(Xe);
734
+ const Ye = require("@splunk/react-icons/ArrowDown");
735
+ var Ge = e.n(Ye);
744
736
  // CONCATENATED MODULE: external "@splunk/react-icons/ArrowUp"
745
- const Ge = require("@splunk/react-icons/ArrowUp");
746
- var Je = e.n(Ge);
737
+ const Je = require("@splunk/react-icons/ArrowUp");
738
+ var Qe = e.n(Je);
747
739
  // CONCATENATED MODULE: external "@splunk/react-icons/ArrowUpDown"
748
- const Qe = require("@splunk/react-icons/ArrowUpDown");
749
- var Ze = e.n(Qe);
740
+ const Ze = require("@splunk/react-icons/ArrowUpDown");
741
+ var en = e.n(Ze);
750
742
  // CONCATENATED MODULE: external "@splunk/react-icons/CaretSmallDown"
751
- const en = require("@splunk/react-icons/CaretSmallDown");
752
- var nn = e.n(en);
743
+ const nn = require("@splunk/react-icons/CaretSmallDown");
744
+ var tn = e.n(nn);
753
745
  // CONCATENATED MODULE: external "@splunk/react-icons/InformationCircle"
754
- const tn = require("@splunk/react-icons/InformationCircle");
755
- var rn = e.n(tn);
746
+ const rn = require("@splunk/react-icons/InformationCircle");
747
+ var on = e.n(rn);
756
748
  // CONCATENATED MODULE: ./src/utils/ssrDocument.ts
757
749
  /* eslint-disable @typescript-eslint/no-empty-function */
758
- var on = {
750
+ var an = {
759
751
  body: {
760
752
  appendChild: function e() {
761
753
  return [];
@@ -809,16 +801,16 @@
809
801
  search: ""
810
802
  }
811
803
  };
812
- function an() {
813
- var e = typeof document !== "undefined" ? document : on;
804
+ function ln() {
805
+ var e = typeof document !== "undefined" ? document : an;
814
806
  return e;
815
807
  }
816
- var ln = an();
817
- /* harmony default export */ const un = /* unused pure expression or super */ null && ln;
808
+ var un = ln();
809
+ /* harmony default export */ const sn = /* unused pure expression or super */ null && un;
818
810
  // CONCATENATED MODULE: ./src/utils/ssrWindow.ts
819
811
  /* eslint-disable @typescript-eslint/no-empty-function */
820
- var sn = {
821
- document: on,
812
+ var cn = {
813
+ document: an,
822
814
  navigator: {
823
815
  userAgent: ""
824
816
  },
@@ -872,15 +864,15 @@
872
864
  clearTimeout(n);
873
865
  }
874
866
  };
875
- function cn() {
876
- var e = typeof window !== "undefined" ? window : sn;
867
+ function dn() {
868
+ var e = typeof window !== "undefined" ? window : cn;
877
869
  return e;
878
870
  }
879
- var dn = cn();
880
- /* harmony default export */ const fn = /* unused pure expression or super */ null && dn;
871
+ var fn = dn();
872
+ /* harmony default export */ const vn = /* unused pure expression or super */ null && fn;
881
873
  // CONCATENATED MODULE: ./src/Table/HeadInner.tsx
882
- function vn() {
883
- return vn = Object.assign ? Object.assign.bind() : function(e) {
874
+ function pn() {
875
+ return pn = Object.assign ? Object.assign.bind() : function(e) {
884
876
  for (var n = 1; n < arguments.length; n++) {
885
877
  var t = arguments[n];
886
878
  for (var r in t) {
@@ -888,41 +880,41 @@
888
880
  }
889
881
  }
890
882
  return e;
891
- }, vn.apply(null, arguments);
883
+ }, pn.apply(null, arguments);
892
884
  }
893
- function pn(e) {
894
- return hn(e) || bn(e) || wn(e) || mn();
885
+ function mn(e) {
886
+ return yn(e) || hn(e) || Cn(e) || bn();
895
887
  }
896
- function mn() {
888
+ function bn() {
897
889
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
898
890
  }
899
- function bn(e) {
891
+ function hn(e) {
900
892
  if ("undefined" != typeof Symbol && null != e[Symbol.iterator] || null != e["@@iterator"]) return Array.from(e);
901
893
  }
902
- function hn(e) {
903
- if (Array.isArray(e)) return Cn(e);
894
+ function yn(e) {
895
+ if (Array.isArray(e)) return xn(e);
904
896
  }
905
- function yn(e, n) {
906
- return Sn(e) || xn(e, n) || wn(e, n) || gn();
897
+ function gn(e, n) {
898
+ return On(e) || Sn(e, n) || Cn(e, n) || wn();
907
899
  }
908
- function gn() {
900
+ function wn() {
909
901
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
910
902
  }
911
- function wn(e, n) {
903
+ function Cn(e, n) {
912
904
  if (e) {
913
- if ("string" == typeof e) return Cn(e, n);
905
+ if ("string" == typeof e) return xn(e, n);
914
906
  var t = {}.toString.call(e).slice(8, -1);
915
- return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Cn(e, n) : void 0;
907
+ return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? xn(e, n) : void 0;
916
908
  }
917
909
  }
918
- function Cn(e, n) {
910
+ function xn(e, n) {
919
911
  (null == n || n > e.length) && (n = e.length);
920
912
  for (var t = 0, r = Array(n); t < n; t++) {
921
913
  r[t] = e[t];
922
914
  }
923
915
  return r;
924
916
  }
925
- function xn(e, n) {
917
+ function Sn(e, n) {
926
918
  var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
927
919
  if (null != t) {
928
920
  var r, o, i, a, l = [], u = !0, s = !1;
@@ -944,12 +936,12 @@
944
936
  return l;
945
937
  }
946
938
  }
947
- function Sn(e) {
939
+ function On(e) {
948
940
  if (Array.isArray(e)) return e;
949
941
  }
950
- function On(e, n) {
942
+ function kn(e, n) {
951
943
  if (null == e) return {};
952
- var t, r, o = kn(e, n);
944
+ var t, r, o = Rn(e, n);
953
945
  if (Object.getOwnPropertySymbols) {
954
946
  var i = Object.getOwnPropertySymbols(e);
955
947
  for (r = 0; r < i.length; r++) {
@@ -958,7 +950,7 @@
958
950
  }
959
951
  return o;
960
952
  }
961
- function kn(e, n) {
953
+ function Rn(e, n) {
962
954
  if (null == e) return {};
963
955
  var t = {};
964
956
  for (var r in e) {
@@ -969,75 +961,75 @@
969
961
  }
970
962
  return t;
971
963
  }
972
- var Rn = {
973
- align: w().oneOf([ "left", "center", "right" ]),
974
- cellId: w().string,
975
- clickable: w().bool,
976
- columnId: w().string,
977
- elementRef: w().oneOfType([ w().func, w().object ]),
978
- focusWithin: w().bool,
979
- hasTooltip: w().bool,
980
- index: w().number,
981
- isMenu: w().bool,
982
- label: w().node,
983
- onAutosizeColumn: w().func,
984
- onRequestResize: w().func,
985
- resizable: w().bool,
986
- sortDir: w().oneOf([ "none", "asc", "desc" ]),
987
- truncate: w().bool,
988
- width: w().oneOfType([ w().number, w().oneOf([ "auto" ]) ]),
989
- variant: w().oneOf([ "toggleAll", "info", "actions" ])
964
+ var En = {
965
+ align: g().oneOf([ "left", "center", "right" ]),
966
+ cellId: g().string,
967
+ clickable: g().bool,
968
+ columnId: g().string,
969
+ elementRef: g().oneOfType([ g().func, g().object ]),
970
+ focusWithin: g().bool,
971
+ hasTooltip: g().bool,
972
+ index: g().number,
973
+ isMenu: g().bool,
974
+ label: g().node,
975
+ onAutosizeColumn: g().func,
976
+ onRequestResize: g().func,
977
+ resizable: g().bool,
978
+ sortDir: g().oneOf([ "none", "asc", "desc" ]),
979
+ truncate: g().bool,
980
+ width: g().oneOfType([ g().number, g().oneOf([ "auto" ]) ]),
981
+ variant: g().oneOf([ "toggleAll", "info", "actions" ])
990
982
  };
991
- var En = new Set([ "none", "asc", "desc" ]);
992
- var In = Object.freeze({
993
- none: (0, T._)("Click to sort"),
994
- asc: (0, T._)("Press to sort descending"),
995
- desc: (0, T._)("Press to sort ascending")
996
- });
983
+ var In = new Set([ "none", "asc", "desc" ]);
997
984
  var Tn = Object.freeze({
998
- none: Ze(),
999
- asc: Je(),
1000
- desc: Ye()
985
+ none: (0, I._)("Click to sort"),
986
+ asc: (0, I._)("Press to sort descending"),
987
+ desc: (0, I._)("Press to sort ascending")
988
+ });
989
+ var jn = Object.freeze({
990
+ none: en(),
991
+ asc: Qe(),
992
+ desc: Ge()
1001
993
  });
1002
- function jn(e) {
1003
- var n = e.align, o = n === void 0 ? "left" : n, i = e.clickable, a = e.cellId, l = e.columnId, u = e.elementRef, s = e.focusWithin, c = e.hasTooltip, d = e.index, f = e.isMenu, v = e.label, p = e.onAutosizeColumn, m = e.onRequestResize, h = e.resizable, y = h === void 0 ? true : h, g = e.sortDir, w = e.truncate, C = w === void 0 ? true : w, S = e.variant, O = e.width, k = On(e, [ "align", "clickable", "cellId", "columnId", "elementRef", "focusWithin", "hasTooltip", "index", "isMenu", "label", "onAutosizeColumn", "onRequestResize", "resizable", "sortDir", "truncate", "variant", "width" ]);
994
+ function Dn(e) {
995
+ var n = e.align, o = n === void 0 ? "left" : n, i = e.clickable, a = e.cellId, l = e.columnId, u = e.elementRef, s = e.focusWithin, c = e.hasTooltip, d = e.index, f = e.isMenu, v = e.label, p = e.onAutosizeColumn, b = e.onRequestResize, h = e.resizable, y = h === void 0 ? true : h, g = e.sortDir, w = e.truncate, x = w === void 0 ? true : w, S = e.variant, O = e.width, k = kn(e, [ "align", "clickable", "cellId", "columnId", "elementRef", "focusWithin", "hasTooltip", "index", "isMenu", "label", "onAutosizeColumn", "onRequestResize", "resizable", "sortDir", "truncate", "variant", "width" ]);
1004
996
  // @docs-props-type HeadInnerPropsBase
1005
- var R = (0, T._)("Click to open menu");
1006
- var E = (0, t.useMemo)((function() {
997
+ var R = (0, I._)("Click to open menu");
998
+ var T = (0, t.useMemo)((function() {
1007
999
  return typeof v === "string" ? v.length : 0;
1008
1000
  }), [ v ]);
1009
- var j = (0, t.useContext)(ye), D = j.horizontalOverflow;
1010
- var P = (0, t.useState)(false), A = yn(P, 2), q = A[0], _ = A[1];
1011
- var z = (0, t.useState)(0), $ = yn(z, 2), M = $[0], L = $[1];
1012
- var W = (0, t.useState)(0), H = yn(W, 2), K = H[0], V = H[1];
1013
- var B = (0, t.useRef)(null);
1001
+ var j = (0, t.useContext)(ge), D = j.horizontalOverflow;
1002
+ var P = (0, t.useState)(false), A = gn(P, 2), q = A[0], _ = A[1];
1003
+ var z = (0, t.useState)(0), M = gn(z, 2), $ = M[0], L = M[1];
1004
+ var W = (0, t.useState)(0), H = gn(W, 2), K = H[0], B = H[1];
1005
+ var V = (0, t.useRef)(null);
1014
1006
  var F = (0, t.useRef)(O === "auto" ? undefined : O);
1015
1007
  var U;
1016
1008
  var X;
1017
- if (g !== undefined && En.has(g)) {
1018
- U = Tn[g];
1019
- X = In[g];
1009
+ if (g !== undefined && In.has(g)) {
1010
+ U = jn[g];
1011
+ X = Tn[g];
1020
1012
  }
1021
1013
  if (O === "auto") {
1022
1014
  var Y;
1023
- var G = B.current;
1015
+ var G = V.current;
1024
1016
  var J = G === null || G === void 0 ? void 0 : (Y = G.parentElement) === null || Y === void 0 ? void 0 : Y.getBoundingClientRect();
1025
1017
  F.current = J === null || J === void 0 ? void 0 : J.width;
1026
1018
  } else {
1027
1019
  F.current = O;
1028
1020
  }
1029
1021
  var Q = (0, t.useCallback)((function(e) {
1030
- B.current = e;
1022
+ V.current = e;
1031
1023
  N(u, e);
1032
- }), [ u, B ]);
1024
+ }), [ u, V ]);
1033
1025
  var Z = (0, t.useCallback)((function(e) {
1034
1026
  var n = e.key;
1035
- if (m === undefined || d === undefined) {
1027
+ if (b === undefined || d === undefined) {
1036
1028
  return;
1037
1029
  }
1038
1030
  if (O === "auto") {
1039
1031
  var t;
1040
- var r = B.current;
1032
+ var r = V.current;
1041
1033
  var o = r === null || r === void 0 ? void 0 : (t = r.parentElement) === null || t === void 0 ? void 0 : t.getBoundingClientRect();
1042
1034
  F.current = o === null || o === void 0 ? void 0 : o.width;
1043
1035
  } else {
@@ -1050,7 +1042,7 @@
1050
1042
  e.preventDefault();
1051
1043
  // prevent text selection
1052
1044
  var i = Math.max(F.current - 10, 20);
1053
- m(e, {
1045
+ b(e, {
1054
1046
  index: d,
1055
1047
  columnId: l,
1056
1048
  id: a,
@@ -1061,7 +1053,7 @@
1061
1053
  e.preventDefault();
1062
1054
  // prevent text selection
1063
1055
  var u = F.current + 10;
1064
- m(e, {
1056
+ b(e, {
1065
1057
  index: d,
1066
1058
  columnId: l,
1067
1059
  id: a,
@@ -1072,11 +1064,11 @@
1072
1064
  e.preventDefault();
1073
1065
  // SUI-7320: prevent sorting and dropdown opening
1074
1066
  }
1075
- }), [ l, a, d, m, O ]);
1067
+ }), [ l, a, d, b, O ]);
1076
1068
  var ee = (0, t.useCallback)((function(e) {
1077
1069
  if (O === "auto") {
1078
1070
  var n;
1079
- var t = B.current;
1071
+ var t = V.current;
1080
1072
  var r = t === null || t === void 0 ? void 0 : (n = t.parentElement) === null || n === void 0 ? void 0 : n.getBoundingClientRect();
1081
1073
  F.current = r === null || r === void 0 ? void 0 : r.width;
1082
1074
  } else {
@@ -1088,14 +1080,14 @@
1088
1080
  e.preventDefault();
1089
1081
  // prevent text selection
1090
1082
  L(e.clientX);
1091
- V(F.current || 0);
1083
+ B(F.current || 0);
1092
1084
  _(true);
1093
1085
  }), [ O ]);
1094
1086
  var ne = function e(n) {
1095
- var t = M - n.clientX;
1087
+ var t = $ - n.clientX;
1096
1088
  var r = Math.max(K - t, 16);
1097
1089
  if (d !== undefined) {
1098
- m === null || m === void 0 ? void 0 : m(n, {
1090
+ b === null || b === void 0 ? void 0 : b(n, {
1099
1091
  index: d,
1100
1092
  columnId: l,
1101
1093
  id: a,
@@ -1115,12 +1107,12 @@
1115
1107
  });
1116
1108
  }
1117
1109
  }), [ a, l, d, p ]);
1118
- var oe = cn();
1119
- var ie = F.current ? (0, I.sprintf)((0, T._)("%(width)d pixels"), {
1110
+ var oe = dn();
1111
+ var ie = F.current ? (0, E.sprintf)((0, I._)("%(width)d pixels"), {
1120
1112
  width: F.current
1121
1113
  }) : undefined;
1122
1114
 
1123
- return r().createElement(He, vn({
1115
+ return r().createElement(Ke, pn({
1124
1116
  as: i ? "button" : "div",
1125
1117
  ref: Q,
1126
1118
  $align: o,
@@ -1129,17 +1121,17 @@
1129
1121
  $hasIcon: !!f || !!g,
1130
1122
  $hasTooltip: !!c,
1131
1123
  $variant: S,
1132
- $labelLength: E
1133
- }, b()(k, [].concat(pn(Object.keys(jn.propTypes)), [ "id" ]))), q && r().createElement(r().Fragment, null, r().createElement(x(), {
1124
+ $labelLength: T
1125
+ }, m()(k, [].concat(mn(Object.keys(Dn.propTypes)), [ "id" ]))), q && r().createElement(r().Fragment, null, r().createElement(C(), {
1134
1126
  target: oe,
1135
1127
  eventType: "mouseup",
1136
1128
  listener: te
1137
- }), r().createElement(x(), {
1129
+ }), r().createElement(C(), {
1138
1130
  target: oe,
1139
1131
  eventType: "mousemove",
1140
1132
  listener: ne
1141
- })), m && y && r().createElement(Ke, {
1142
- "aria-label": (0, I.sprintf)((0, T._)("Resize %(label)s"), {
1133
+ })), b && y && r().createElement(Be, {
1134
+ "aria-label": (0, E.sprintf)((0, I._)("Resize %(label)s"), {
1143
1135
  label: v
1144
1136
  }),
1145
1137
  "aria-controls": a,
@@ -1150,27 +1142,27 @@
1150
1142
  onKeyDown: Z,
1151
1143
  orientation: "vertical",
1152
1144
  tabIndex: 0
1153
- }), r().createElement(Le, {
1145
+ }), r().createElement(We, {
1154
1146
  $align: o,
1155
1147
  $horizontalOverflow: D,
1156
- $labelLength: E,
1157
- $truncate: C,
1148
+ $labelLength: T,
1149
+ $truncate: x,
1158
1150
  $variant: S
1159
- }, v), c && r().createElement(Ne, null, r().createElement(rn(), {
1151
+ }, v), c && r().createElement(Le, null, r().createElement(on(), {
1160
1152
  "data-test": "tooltip-icon"
1161
- })), f && r().createElement(Me, null, r().createElement(nn(), {
1153
+ })), f && r().createElement(Ne, null, r().createElement(tn(), {
1162
1154
  "data-test": "caret-down",
1163
1155
  "aria-label": R
1164
- })), g && r().createElement(Me, null, U !== undefined && r().createElement(U, {
1156
+ })), g && r().createElement(Ne, null, U !== undefined && r().createElement(U, {
1165
1157
  "aria-hidden": false,
1166
1158
  "aria-label": X
1167
1159
  })));
1168
1160
  }
1169
- jn.propTypes = Rn;
1170
- /* harmony default export */ const Dn = jn;
1161
+ Dn.propTypes = En;
1162
+ /* harmony default export */ const Pn = Dn;
1171
1163
  // CONCATENATED MODULE: ./src/Table/HeadCell.tsx
1172
- function Pn() {
1173
- return Pn = Object.assign ? Object.assign.bind() : function(e) {
1164
+ function An() {
1165
+ return An = Object.assign ? Object.assign.bind() : function(e) {
1174
1166
  for (var n = 1; n < arguments.length; n++) {
1175
1167
  var t = arguments[n];
1176
1168
  for (var r in t) {
@@ -1178,11 +1170,11 @@
1178
1170
  }
1179
1171
  }
1180
1172
  return e;
1181
- }, Pn.apply(null, arguments);
1173
+ }, An.apply(null, arguments);
1182
1174
  }
1183
- function An(e, n) {
1175
+ function qn(e, n) {
1184
1176
  if (null == e) return {};
1185
- var t, r, o = qn(e, n);
1177
+ var t, r, o = _n(e, n);
1186
1178
  if (Object.getOwnPropertySymbols) {
1187
1179
  var i = Object.getOwnPropertySymbols(e);
1188
1180
  for (r = 0; r < i.length; r++) {
@@ -1191,7 +1183,7 @@
1191
1183
  }
1192
1184
  return o;
1193
1185
  }
1194
- function qn(e, n) {
1186
+ function _n(e, n) {
1195
1187
  if (null == e) return {};
1196
1188
  var t = {};
1197
1189
  for (var r in e) {
@@ -1203,69 +1195,69 @@
1203
1195
  return t;
1204
1196
  }
1205
1197
  /** @public */
1206
- /** @public */ var _n = {
1207
- align: w().oneOf([ "left", "center", "right" ]),
1198
+ /** @public */ var zn = {
1199
+ align: g().oneOf([ "left", "center", "right" ]),
1208
1200
  /** @private Used to set the $clickable appearance without an onClick */
1209
- appearClickable: w().bool,
1210
- children: w().node,
1211
- columnId: w().string,
1201
+ appearClickable: g().bool,
1202
+ children: g().node,
1203
+ columnId: g().string,
1212
1204
  /** @private. */
1213
- dragId: w().oneOfType([ w().string, w().number ]),
1214
- elementRef: w().oneOfType([ w().func, w().object ]),
1215
- headCellScreenReaderText: w().string,
1205
+ dragId: g().oneOfType([ g().string, g().number ]),
1206
+ elementRef: g().oneOfType([ g().func, g().object ]),
1207
+ headCellScreenReaderText: g().string,
1216
1208
  /** @private The index of the cell, skipping the info column. */
1217
- index: w().number,
1209
+ index: g().number,
1218
1210
  /** @private. */
1219
- isPinned: w().bool,
1211
+ isPinned: g().bool,
1220
1212
  /** @private. */
1221
- onAutosizeColumn: w().func,
1213
+ onAutosizeColumn: g().func,
1222
1214
  /** @private. */
1223
- onClick: w().func,
1215
+ onClick: g().func,
1224
1216
  /**
1225
1217
  * @private. Passed through and works as expected.
1226
1218
  */
1227
- onKeyDown: w().func,
1219
+ onKeyDown: g().func,
1228
1220
  /** @private. */
1229
- onRequestMoveColumn: w().func,
1221
+ onRequestMoveColumn: g().func,
1230
1222
  /** @private. */
1231
- onRequestResize: w().func,
1232
- onSort: w().func,
1233
- resizable: w().bool,
1234
- sortDir: w().oneOf([ "asc", "desc", "none" ]),
1235
- sortKey: w().string,
1236
- tooltip: w().node,
1237
- truncate: w().bool,
1223
+ onRequestResize: g().func,
1224
+ onSort: g().func,
1225
+ resizable: g().bool,
1226
+ sortDir: g().oneOf([ "asc", "desc", "none" ]),
1227
+ sortKey: g().string,
1228
+ tooltip: g().node,
1229
+ truncate: g().bool,
1238
1230
  /** @private. */
1239
- variant: w().oneOf([ "toggleAll", "info", "actions" ]),
1231
+ variant: g().oneOf([ "toggleAll", "info", "actions" ]),
1240
1232
  /**
1241
1233
  * Used internally to suppress focus and id when this `HeadCell` is superseded by one in an
1242
1234
  * overlaid `HeadTable` for user interactions.
1243
1235
  * @private
1244
1236
  */
1245
- visible: w().bool,
1246
- width: w().oneOfType([ w().number, w().oneOf([ "auto" ]) ])
1237
+ visible: g().bool,
1238
+ width: g().oneOfType([ g().number, g().oneOf([ "auto" ]) ])
1247
1239
  };
1248
- var zn = {
1240
+ var Mn = {
1249
1241
  asc: "ascending",
1250
1242
  desc: "descending",
1251
1243
  none: "none"
1252
1244
  };
1253
1245
  function $n(e) {
1254
1246
  var n;
1255
- var o = e.align, i = o === void 0 ? "left" : o, l = e.appearClickable, u = e.children, s = e.columnId, c = e.elementRef, d = e.dragId, f = e.headCellScreenReaderText, v = e.id, p = e.index, m = e.isPinned, b = e.onAutosizeColumn, h = e.onClick, y = e.onKeyDown, g = e.onRequestMoveColumn, w = e.onRequestResize, C = e.onSort, x = e.resizable, S = x === void 0 ? true : x, O = e.sortDir, k = O === void 0 ? "none" : O, R = e.sortKey, E = e.style, D = e.tooltip, P = e.truncate, A = P === void 0 ? true : P, q = e.variant, _ = e.visible, z = _ === void 0 ? true : _, $ = e.width, M = An(e, [ "align", "appearClickable", "children", "columnId", "elementRef", "dragId", "headCellScreenReaderText", "id", "index", "isPinned", "onAutosizeColumn", "onClick", "onKeyDown", "onRequestMoveColumn", "onRequestResize", "onSort", "resizable", "sortDir", "sortKey", "style", "tooltip", "truncate", "variant", "visible", "width" ]);
1247
+ var o = e.align, i = o === void 0 ? "left" : o, l = e.appearClickable, u = e.children, s = e.columnId, c = e.elementRef, d = e.dragId, f = e.headCellScreenReaderText, v = e.id, p = e.index, m = e.isPinned, b = e.onAutosizeColumn, h = e.onClick, y = e.onKeyDown, g = e.onRequestMoveColumn, w = e.onRequestResize, C = e.onSort, x = e.resizable, S = x === void 0 ? true : x, O = e.sortDir, k = O === void 0 ? "none" : O, R = e.sortKey, j = e.style, D = e.tooltip, P = e.truncate, A = P === void 0 ? true : P, q = e.variant, _ = e.visible, z = _ === void 0 ? true : _, M = e.width, $ = qn(e, [ "align", "appearClickable", "children", "columnId", "elementRef", "dragId", "headCellScreenReaderText", "id", "index", "isPinned", "onAutosizeColumn", "onClick", "onKeyDown", "onRequestMoveColumn", "onRequestResize", "onSort", "resizable", "sortDir", "sortKey", "style", "tooltip", "truncate", "variant", "visible", "width" ]);
1256
1248
  // @docs-props-type HeadCellPropsBase
1257
1249
  var L = !!g;
1258
1250
  var W = (0, a.useSortable)({
1259
1251
  // dragId is optional in HeadCell but required by useSortable
1260
1252
  // since it is always set in Table, use a type assertion here to avoid TypeScript error
1261
1253
  id: d
1262
- }), H = W.attributes, K = W.isDragging, V = W.listeners, B = W.setNodeRef;
1254
+ }), H = W.attributes, K = W.isDragging, B = W.listeners, V = W.setNodeRef;
1263
1255
  var F = (0, t.useCallback)((function(e) {
1264
1256
  N(c, e);
1265
1257
  if (L) {
1266
- B(e);
1258
+ V(e);
1267
1259
  }
1268
- }), [ L, c, B ]);
1260
+ }), [ L, c, V ]);
1269
1261
  var U = (0, t.useCallback)((function(e) {
1270
1262
  // ignore clicks on the resize handle
1271
1263
  if (e.target.getAttribute("data-test") !== "resize" && C && p !== undefined) {
@@ -1291,18 +1283,18 @@
1291
1283
  var G = h !== undefined;
1292
1284
  var J = q === "actions" ? false : A;
1293
1285
  var Q = (0, t.useMemo)((function() {
1294
- return Ie()({}, E, {
1295
- width: $
1286
+ return Te()({}, j, {
1287
+ width: M
1296
1288
  });
1297
- }), [ E, $ ]);
1289
+ }), [ j, M ]);
1298
1290
  var Z;
1299
1291
  if (f) {
1300
1292
  Z = f;
1301
- } else if (Re()(u)) {
1293
+ } else if (Ee()(u)) {
1302
1294
  Z = u;
1303
1295
  }
1304
1296
  var ee = (n = v !== null && v !== void 0 ? v : s) !== null && n !== void 0 ? n : (0,
1305
- j.createDOMID)("headCellId-");
1297
+ T.createDOMID)("headCellId-");
1306
1298
  var ne = (0, t.useMemo)((function() {
1307
1299
  return {
1308
1300
  align: i,
@@ -1320,84 +1312,84 @@
1320
1312
  sortDir: C && k,
1321
1313
  truncate: J,
1322
1314
  variant: q,
1323
- width: $
1315
+ width: M
1324
1316
  };
1325
- }), [ i, l, Y, G, s, u, ee, p, b, C, U, X, w, z, S, k, J, q, $ ]);
1317
+ }), [ i, l, Y, G, s, u, ee, p, b, C, U, X, w, z, S, k, J, q, M ]);
1326
1318
  var te = (0, t.useCallback)((function(e) {
1327
1319
 
1328
- return r().createElement(Dn, Pn({}, e, ne, {
1320
+ return r().createElement(Pn, An({}, e, ne, {
1329
1321
  hasTooltip: true
1330
1322
  }));
1331
1323
  }), [ ne ]);
1332
1324
 
1333
- return r().createElement(Be, Pn({
1325
+ return r().createElement(Fe, An({
1334
1326
  style: Q,
1335
1327
  ref: F,
1336
- "aria-sort": C && (zn[k] || "none"),
1328
+ "aria-sort": C && (Mn[k] || "none"),
1337
1329
  "data-test": "head-cell",
1338
- "data-test-label": Re()(u) ? u : undefined,
1330
+ "data-test-label": Ee()(u) ? u : undefined,
1339
1331
  "data-test-sort-dir": C && k,
1340
1332
  id: z ? ee : undefined,
1341
1333
  $isDragging: L && K,
1342
1334
  $isPinned: m,
1343
1335
  $variant: q
1344
- }, M), r().createElement(Ve, null, L && r().createElement(Ue, Pn({
1345
- "aria-label": (0, I.sprintf)((0, T._)("Reorder %(labelString)s"), {
1336
+ }, $), r().createElement(Ve, null, L && r().createElement(Xe, An({
1337
+ "aria-label": (0, E.sprintf)((0, I._)("Reorder %(labelString)s"), {
1346
1338
  labelString: Z
1347
1339
  }),
1348
1340
  "data-test": "drag",
1349
1341
  draggable: true
1350
- }, H, V), r().createElement(Fe, null, r().createElement(je(), null))), D ? r().createElement(Pe(), {
1342
+ }, H, B), r().createElement(Ue, null, r().createElement(De(), null))), D ? r().createElement(Ae(), {
1351
1343
  content: D,
1352
1344
  renderAnchor: te
1353
- }) : r().createElement(Dn, ne)));
1345
+ }) : r().createElement(Pn, ne)));
1354
1346
  }
1355
- $n.propTypes = _n;
1347
+ $n.propTypes = zn;
1356
1348
  $n.splunkUiType = "Table.HeadCell";
1357
- /* harmony default export */ const Mn = $n;
1349
+ /* harmony default export */ const Nn = $n;
1358
1350
  // CONCATENATED MODULE: ./src/Table/HeadStyles.ts
1359
- var Nn = z().thead.withConfig({
1351
+ var Ln = z()(M.StyledSimpleTableHead).withConfig({
1360
1352
  displayName: "HeadStyles__Styled",
1361
1353
  componentId: "iap21t-0"
1362
- })([ "", ";", "" ], $.mixins.reset("table-header-group"), (function(e) {
1354
+ })([ "", "" ], (function(e) {
1363
1355
  var n = e.$isFixed, t = e.$zIndex;
1364
1356
  return n && (0, _.css)([ "position:sticky;top:0;z-index:", ";" ], t);
1365
1357
  }));
1366
- var Ln = z()(Mn).withConfig({
1358
+ var Wn = z()(Nn).withConfig({
1367
1359
  displayName: "HeadStyles__StyledToggleAll",
1368
1360
  componentId: "iap21t-1"
1369
1361
  })([ "width:32px;min-width:32px;" ]);
1370
- var Wn = z()(Mn).withConfig({
1362
+ var Hn = z()(Nn).withConfig({
1371
1363
  displayName: "HeadStyles__StyledInfo",
1372
1364
  componentId: "iap21t-2"
1373
1365
  })([ "width:32px;min-width:32px;" ]);
1374
- var Hn = z()(Mn).withConfig({
1366
+ var Kn = z()(Nn).withConfig({
1375
1367
  displayName: "HeadStyles__StyledDragRow",
1376
1368
  componentId: "iap21t-3"
1377
1369
  })([ "width:32px;" ]);
1378
1370
  // CONCATENATED MODULE: external "@dnd-kit/utilities"
1379
- const Kn = require("@dnd-kit/utilities");
1371
+ const Bn = require("@dnd-kit/utilities");
1380
1372
  // CONCATENATED MODULE: external "@splunk/react-icons/DotsThreeVertical"
1381
1373
  const Vn = require("@splunk/react-icons/DotsThreeVertical");
1382
- var Bn = e.n(Vn);
1374
+ var Fn = e.n(Vn);
1383
1375
  // CONCATENATED MODULE: external "@splunk/react-ui/Button"
1384
- const Fn = require("@splunk/react-ui/Button");
1385
- var Un = e.n(Fn);
1376
+ const Un = require("@splunk/react-ui/Button");
1377
+ var Xn = e.n(Un);
1386
1378
  // CONCATENATED MODULE: external "@splunk/react-ui/Dropdown"
1387
- const Xn = require("@splunk/react-ui/Dropdown");
1388
- var Yn = e.n(Xn);
1379
+ const Yn = require("@splunk/react-ui/Dropdown");
1380
+ var Gn = e.n(Yn);
1389
1381
  // CONCATENATED MODULE: external "@splunk/react-icons/ChevronRight"
1390
- const Gn = require("@splunk/react-icons/ChevronRight");
1391
- var Jn = e.n(Gn);
1382
+ const Jn = require("@splunk/react-icons/ChevronRight");
1383
+ var Qn = e.n(Jn);
1392
1384
  // CONCATENATED MODULE: ./src/Table/ExpandButtonStyles.ts
1393
- var Qn = z().button.withConfig({
1385
+ var Zn = z().button.withConfig({
1394
1386
  displayName: "ExpandButtonStyles__StyledButton",
1395
1387
  componentId: "sc-7nlw5q-0"
1396
- })([ "", ";height:100%;width:100%;cursor:pointer;justify-content:center;color:", ";&:hover{color:", ";}&:focus{color:", ";box-shadow:", ";}" ], $.mixins.reset("flex"), $.variables.contentColorDefault, $.variables.contentColorActive, $.variables.contentColorActive, $.variables.focusShadowInset);
1397
- var Zn = z()(Jn()).withConfig({
1388
+ })([ "", ";height:100%;width:100%;cursor:pointer;justify-content:center;color:", ";&:hover{color:", ";}&:focus{color:", ";box-shadow:", ";}" ], Q.mixins.reset("flex"), Q.variables.contentColorDefault, Q.variables.contentColorActive, Q.variables.contentColorActive, Q.variables.focusShadowInset);
1389
+ var et = z()(Qn()).withConfig({
1398
1390
  displayName: "ExpandButtonStyles__StyledChevron",
1399
1391
  componentId: "sc-7nlw5q-1"
1400
- })([ "padding-block:", ";transition:transform 200ms;", "" ], (0, $.pick)({
1392
+ })([ "padding-block:", ";transition:transform 200ms;", "" ], (0, Q.pick)({
1401
1393
  comfortable: "10px",
1402
1394
  compact: "8px"
1403
1395
  }), (function(e) {
@@ -1405,8 +1397,8 @@
1405
1397
  return n && (0, _.css)([ "transform:rotate(90deg);" ]);
1406
1398
  }));
1407
1399
  // CONCATENATED MODULE: ./src/Table/ExpandButton.tsx
1408
- function et() {
1409
- return et = Object.assign ? Object.assign.bind() : function(e) {
1400
+ function nt() {
1401
+ return nt = Object.assign ? Object.assign.bind() : function(e) {
1410
1402
  for (var n = 1; n < arguments.length; n++) {
1411
1403
  var t = arguments[n];
1412
1404
  for (var r in t) {
@@ -1414,11 +1406,11 @@
1414
1406
  }
1415
1407
  }
1416
1408
  return e;
1417
- }, et.apply(null, arguments);
1409
+ }, nt.apply(null, arguments);
1418
1410
  }
1419
- function nt(e, n) {
1411
+ function tt(e, n) {
1420
1412
  if (null == e) return {};
1421
- var t, r, o = tt(e, n);
1413
+ var t, r, o = rt(e, n);
1422
1414
  if (Object.getOwnPropertySymbols) {
1423
1415
  var i = Object.getOwnPropertySymbols(e);
1424
1416
  for (r = 0; r < i.length; r++) {
@@ -1427,7 +1419,7 @@
1427
1419
  }
1428
1420
  return o;
1429
1421
  }
1430
- function tt(e, n) {
1422
+ function rt(e, n) {
1431
1423
  if (null == e) return {};
1432
1424
  var t = {};
1433
1425
  for (var r in e) {
@@ -1438,33 +1430,33 @@
1438
1430
  }
1439
1431
  return t;
1440
1432
  }
1441
- var rt = {
1442
- expanded: w().bool
1433
+ var ot = {
1434
+ expanded: g().bool
1443
1435
  };
1444
- var ot = function e(n) {
1445
- var t = n.expanded, o = nt(n, [ "expanded" ]);
1436
+ var it = function e(n) {
1437
+ var t = n.expanded, o = tt(n, [ "expanded" ]);
1446
1438
  // @docs-props-type ExpandButtonPropsBase
1447
1439
 
1448
- return r().createElement(Qn, et({
1449
- title: t ? (0, T._)("Collapse row") : (0, T._)("Expand row")
1450
- }, o), r().createElement(Zn, {
1440
+ return r().createElement(Zn, nt({
1441
+ title: t ? (0, I._)("Collapse row") : (0, I._)("Expand row")
1442
+ }, o), r().createElement(et, {
1451
1443
  $expanded: t
1452
1444
  }));
1453
1445
  };
1454
- ot.propTypes = rt;
1455
- /* harmony default export */ const it = ot;
1446
+ it.propTypes = ot;
1447
+ /* harmony default export */ const at = it;
1456
1448
  // CONCATENATED MODULE: ./src/Table/RowDragCellStyles.ts
1457
- var at = z().td.withConfig({
1449
+ var lt = z().td.withConfig({
1458
1450
  displayName: "RowDragCellStyles__StyledCell",
1459
1451
  componentId: "sc-9kbaj2-0"
1460
- })([ "", " cursor:move;touch-action:none;position:relative;vertical-align:middle;" ], $.mixins.reset("table-cell"));
1461
- var lt = z().div.withConfig({
1452
+ })([ "", " cursor:move;touch-action:none;position:relative;vertical-align:middle;" ], Q.mixins.reset("table-cell"));
1453
+ var ut = z().div.withConfig({
1462
1454
  displayName: "RowDragCellStyles__StyledDrag",
1463
1455
  componentId: "sc-9kbaj2-1"
1464
- })([ "", " ", ";justify-content:center;cursor:move;-webkit-user-drag:element;user-select:none;align-items:center;position:absolute;width:100%;top:0;bottom:0;&:focus{outline:0;box-shadow:", ";}&:hover{background-color:", ";outline:none;}&:active{background-color:", ";box-shadow:", ";}& > div{margin:0;}@media print{background-image:none;}" ], $.mixins.reset("flex"), $.mixins.clearfix(), $.variables.focusShadowInset, $.variables.interactiveColorOverlayDrag, $.variables.interactiveColorOverlayActive, $.variables.focusShadowInset);
1456
+ })([ "", " ", ";justify-content:center;cursor:move;-webkit-user-drag:element;user-select:none;align-items:center;position:absolute;width:100%;top:0;bottom:0;&:focus{outline:0;box-shadow:", ";}&:hover{background-color:", ";outline:none;}&:active{background-color:", ";box-shadow:", ";}& > div{margin:0;}@media print{background-image:none;}" ], Q.mixins.reset("flex"), Q.mixins.clearfix(), Q.variables.focusShadowInset, Q.variables.interactiveColorOverlayDrag, Q.variables.interactiveColorOverlayActive, Q.variables.focusShadowInset);
1465
1457
  // CONCATENATED MODULE: ./src/Table/RowDragCell.tsx
1466
- function ut() {
1467
- return ut = Object.assign ? Object.assign.bind() : function(e) {
1458
+ function st() {
1459
+ return st = Object.assign ? Object.assign.bind() : function(e) {
1468
1460
  for (var n = 1; n < arguments.length; n++) {
1469
1461
  var t = arguments[n];
1470
1462
  for (var r in t) {
@@ -1472,11 +1464,11 @@
1472
1464
  }
1473
1465
  }
1474
1466
  return e;
1475
- }, ut.apply(null, arguments);
1467
+ }, st.apply(null, arguments);
1476
1468
  }
1477
- function st(e, n) {
1469
+ function ct(e, n) {
1478
1470
  if (null == e) return {};
1479
- var t, r, o = ct(e, n);
1471
+ var t, r, o = dt(e, n);
1480
1472
  if (Object.getOwnPropertySymbols) {
1481
1473
  var i = Object.getOwnPropertySymbols(e);
1482
1474
  for (r = 0; r < i.length; r++) {
@@ -1485,7 +1477,7 @@
1485
1477
  }
1486
1478
  return o;
1487
1479
  }
1488
- function ct(e, n) {
1480
+ function dt(e, n) {
1489
1481
  if (null == e) return {};
1490
1482
  var t = {};
1491
1483
  for (var r in e) {
@@ -1496,69 +1488,66 @@
1496
1488
  }
1497
1489
  return t;
1498
1490
  }
1499
- var dt = {
1500
- setActivatorNodeRef: w().func.isRequired,
1501
- listeners: w().objectOf(w().func)
1491
+ var ft = {
1492
+ setActivatorNodeRef: g().func.isRequired,
1493
+ listeners: g().objectOf(g().func)
1502
1494
  };
1503
- function ft(e) {
1504
- var n = e.listeners, t = e.setActivatorNodeRef, o = st(e, [ "listeners", "setActivatorNodeRef" ]);
1495
+ function vt(e) {
1496
+ var n = e.listeners, t = e.setActivatorNodeRef, o = ct(e, [ "listeners", "setActivatorNodeRef" ]);
1505
1497
  // @docs-props-type RowDragCellPropsBase
1506
1498
 
1507
- return r().createElement(at, {
1499
+ return r().createElement(lt, {
1508
1500
  "data-helper": true
1509
- }, r().createElement(lt, ut({
1501
+ }, r().createElement(ut, st({
1510
1502
  "data-test": "drag",
1511
1503
  draggable: true,
1512
1504
  ref: t,
1513
1505
  tabIndex: 0
1514
- }, n, o), r().createElement(je(), null)));
1506
+ }, n, o), r().createElement(De(), null)));
1515
1507
  }
1516
- ft.propTypes = dt;
1517
- /* harmony default export */ const vt = ft;
1508
+ vt.propTypes = ft;
1509
+ /* harmony default export */ const pt = vt;
1518
1510
  // CONCATENATED MODULE: ./src/Table/RowStyles.ts
1519
- var pt = z().tr.withConfig({
1511
+ var mt = z()(M.StyledSimpleTableRow).withConfig({
1520
1512
  displayName: "RowStyles__StyledStripeNone",
1521
1513
  componentId: "f0igqq-0"
1522
- })([ "", ";", ";", " @media print{background-color:none;}" ], $.mixins.reset("table-row"), (function(e) {
1514
+ })([ "", ";", " @media print{background-color:none;}" ], (function(e) {
1523
1515
  var n = e.$clickable, t = e.$isActionColumnPinned;
1524
- return n && (0, _.css)([ "cursor:pointer;&:hover{background-color:", ";", "}&:focus{background-color:", ";position:relative;&::after{content:'';display:block;position:absolute;left:0;right:0;top:0;bottom:0;box-shadow:", ";pointer-events:none;}", "}" ], $.variables.neutral100, t && (0,
1525
- _.css)([ "td[data-test='row-actions']{background-color:inherit;}" ]), $.variables.neutral100, $.variables.focusShadowInset, t && (0,
1516
+ return n && (0, _.css)([ "cursor:pointer;&:hover{background-color:", ";", "}&:focus{background-color:", ";position:relative;&::after{content:'';display:block;position:absolute;left:0;right:0;top:0;bottom:0;box-shadow:", ";pointer-events:none;}", "}" ], Q.variables.neutral100, t && (0,
1517
+ _.css)([ "td[data-test='row-actions']{background-color:inherit;}" ]), Q.variables.neutral100, Q.variables.focusShadowInset, t && (0,
1526
1518
  _.css)([ "td[data-test='row-actions']{background-color:inherit;}" ]));
1527
1519
  }), (function(e) {
1528
1520
  var n = e.disabled, t = e.$expandable, r = e.$isDraggable;
1529
- return !n && !t && r && (0, _.css)([ "&:hover{background-color:", ";}" ], $.variables.interactiveColorOverlayHover);
1521
+ return !n && !t && r && (0, _.css)([ "&:hover{background-color:", ";}" ], Q.variables.interactiveColorOverlayHover);
1530
1522
  }));
1531
- var mt = z()(pt).withConfig({
1523
+ var bt = z()(mt).withConfig({
1532
1524
  displayName: "RowStyles__StyledStripeEven",
1533
1525
  componentId: "f0igqq-1"
1534
- })([ "background-color:", ";", " ", ";" ], $.variables.neutral50, (function(e) {
1526
+ })([ "background-color:", ";", "" ], Q.variables.neutral50, (function(e) {
1535
1527
  var n = e.$isActionColumnPinned;
1536
1528
  return n && (0, _.css)([ "td[data-test='row-actions']{background-color:inherit;}" ]);
1537
- }), (function(e) {
1538
- var n = e.$clickable;
1539
- return n && (0, _.css)([ "cursor:pointer;&:hover,&:focus{background-color:", ";}" ], $.variables.neutral300);
1540
1529
  }));
1541
1530
  // CONCATENATED MODULE: external "@splunk/react-ui/Checkbox"
1542
- const bt = require("@splunk/react-ui/Checkbox");
1543
- var ht = e.n(bt);
1531
+ const ht = require("@splunk/react-ui/Checkbox");
1532
+ var yt = e.n(ht);
1544
1533
  // CONCATENATED MODULE: external "@splunk/react-ui/Clickable"
1545
- const yt = require("@splunk/react-ui/Clickable");
1546
- var gt = e.n(yt);
1534
+ const gt = require("@splunk/react-ui/Clickable");
1535
+ var wt = e.n(gt);
1547
1536
  // CONCATENATED MODULE: ./src/Table/ToggleStyles.ts
1548
- var wt = z()(gt()).withConfig({
1537
+ var Ct = z()(wt()).withConfig({
1549
1538
  displayName: "ToggleStyles__StyledClickable",
1550
1539
  componentId: "sc-1x3ikch-0"
1551
1540
  })([ "height:100%;width:100%;display:flex;justify-content:center;&[disabled]{cursor:not-allowed;}" ]);
1552
- var Ct = z()(ht()).withConfig({
1541
+ var xt = z()(yt()).withConfig({
1553
1542
  displayName: "ToggleStyles__StyledCheckbox",
1554
1543
  componentId: "sc-1x3ikch-1"
1555
- })([ "align-items:flex-start;padding-block:", ";" ], (0, $.pick)({
1544
+ })([ "align-items:flex-start;padding-block:", ";" ], (0, Q.pick)({
1556
1545
  comfortable: "8px",
1557
1546
  compact: "6px"
1558
1547
  }));
1559
1548
  // CONCATENATED MODULE: ./src/Table/Toggle.tsx
1560
- function xt() {
1561
- return xt = Object.assign ? Object.assign.bind() : function(e) {
1549
+ function St() {
1550
+ return St = Object.assign ? Object.assign.bind() : function(e) {
1562
1551
  for (var n = 1; n < arguments.length; n++) {
1563
1552
  var t = arguments[n];
1564
1553
  for (var r in t) {
@@ -1566,11 +1555,11 @@
1566
1555
  }
1567
1556
  }
1568
1557
  return e;
1569
- }, xt.apply(null, arguments);
1558
+ }, St.apply(null, arguments);
1570
1559
  }
1571
- function St(e, n) {
1560
+ function Ot(e, n) {
1572
1561
  if (null == e) return {};
1573
- var t, r, o = Ot(e, n);
1562
+ var t, r, o = kt(e, n);
1574
1563
  if (Object.getOwnPropertySymbols) {
1575
1564
  var i = Object.getOwnPropertySymbols(e);
1576
1565
  for (r = 0; r < i.length; r++) {
@@ -1579,7 +1568,7 @@
1579
1568
  }
1580
1569
  return o;
1581
1570
  }
1582
- function Ot(e, n) {
1571
+ function kt(e, n) {
1583
1572
  if (null == e) return {};
1584
1573
  var t = {};
1585
1574
  for (var r in e) {
@@ -1590,41 +1579,41 @@
1590
1579
  }
1591
1580
  return t;
1592
1581
  }
1593
- var kt = {
1594
- disabled: w().bool,
1595
- onClick: w().func,
1596
- selected: w().oneOf([ true, false, "some" ])
1582
+ var Rt = {
1583
+ disabled: g().bool,
1584
+ onClick: g().func,
1585
+ selected: g().oneOf([ true, false, "some" ])
1597
1586
  };
1598
- function Rt(e) {
1599
- var n = e.disabled, t = e.onClick, o = e.selected, i = St(e, [ "disabled", "onClick", "selected" ]);
1587
+ function Et(e) {
1588
+ var n = e.disabled, t = e.onClick, o = e.selected, i = Ot(e, [ "disabled", "onClick", "selected" ]);
1600
1589
  // @docs-props-type TogglePropsBase
1601
1590
  var a = n === true ? "disabled" : undefined;
1602
1591
 
1603
1592
  // we use a Clickable around the inert Checkbox (which can seem ironic) so that the whole table cell is clickable
1604
1593
  // we cannot use the Cell's onClick itself because of a11y issues we have faced in the past (see SUI-5958).
1605
- return r().createElement(wt, xt({
1594
+ return r().createElement(Ct, St({
1606
1595
  "aria-checked": o === "some" ? "mixed" : o,
1607
1596
  disabled: a,
1608
1597
  onClick: t,
1609
1598
  role: "checkbox"
1610
- }, i), r().createElement(Ct, {
1599
+ }, i), r().createElement(xt, {
1611
1600
  checked: o === "some" ? "indeterminate" : o,
1612
1601
  disabled: !!a,
1613
1602
  inert: true
1614
1603
  }));
1615
1604
  }
1616
- Rt.propTypes = kt;
1617
- /* harmony default export */ const Et = Rt;
1605
+ Et.propTypes = Rt;
1606
+ /* harmony default export */ const It = Et;
1618
1607
  // CONCATENATED MODULE: ./src/Table/Row.tsx
1619
- function It(e) {
1608
+ function Tt(e) {
1620
1609
  "@babel/helpers - typeof";
1621
- return It = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
1610
+ return Tt = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
1622
1611
  return typeof e;
1623
1612
  } : function(e) {
1624
1613
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1625
- }, It(e);
1614
+ }, Tt(e);
1626
1615
  }
1627
- function Tt(e, n) {
1616
+ function jt(e, n) {
1628
1617
  var t = Object.keys(e);
1629
1618
  if (Object.getOwnPropertySymbols) {
1630
1619
  var r = Object.getOwnPropertySymbols(e);
@@ -1634,42 +1623,42 @@
1634
1623
  }
1635
1624
  return t;
1636
1625
  }
1637
- function jt(e) {
1626
+ function Dt(e) {
1638
1627
  for (var n = 1; n < arguments.length; n++) {
1639
1628
  var t = null != arguments[n] ? arguments[n] : {};
1640
- n % 2 ? Tt(Object(t), !0).forEach((function(n) {
1641
- Dt(e, n, t[n]);
1642
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Tt(Object(t)).forEach((function(n) {
1629
+ n % 2 ? jt(Object(t), !0).forEach((function(n) {
1630
+ Pt(e, n, t[n]);
1631
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : jt(Object(t)).forEach((function(n) {
1643
1632
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
1644
1633
  }));
1645
1634
  }
1646
1635
  return e;
1647
1636
  }
1648
- function Dt(e, n, t) {
1649
- return (n = Pt(n)) in e ? Object.defineProperty(e, n, {
1637
+ function Pt(e, n, t) {
1638
+ return (n = At(n)) in e ? Object.defineProperty(e, n, {
1650
1639
  value: t,
1651
1640
  enumerable: !0,
1652
1641
  configurable: !0,
1653
1642
  writable: !0
1654
1643
  }) : e[n] = t, e;
1655
1644
  }
1656
- function Pt(e) {
1657
- var n = At(e, "string");
1658
- return "symbol" == It(n) ? n : n + "";
1645
+ function At(e) {
1646
+ var n = qt(e, "string");
1647
+ return "symbol" == Tt(n) ? n : n + "";
1659
1648
  }
1660
- function At(e, n) {
1661
- if ("object" != It(e) || !e) return e;
1649
+ function qt(e, n) {
1650
+ if ("object" != Tt(e) || !e) return e;
1662
1651
  var t = e[Symbol.toPrimitive];
1663
1652
  if (void 0 !== t) {
1664
1653
  var r = t.call(e, n || "default");
1665
- if ("object" != It(r)) return r;
1654
+ if ("object" != Tt(r)) return r;
1666
1655
  throw new TypeError("@@toPrimitive must return a primitive value.");
1667
1656
  }
1668
1657
  return ("string" === n ? String : Number)(e);
1669
1658
  }
1670
- function qt(e, n) {
1659
+ function _t(e, n) {
1671
1660
  if (null == e) return {};
1672
- var t, r, o = _t(e, n);
1661
+ var t, r, o = zt(e, n);
1673
1662
  if (Object.getOwnPropertySymbols) {
1674
1663
  var i = Object.getOwnPropertySymbols(e);
1675
1664
  for (r = 0; r < i.length; r++) {
@@ -1678,7 +1667,7 @@
1678
1667
  }
1679
1668
  return o;
1680
1669
  }
1681
- function _t(e, n) {
1670
+ function zt(e, n) {
1682
1671
  if (null == e) return {};
1683
1672
  var t = {};
1684
1673
  for (var r in e) {
@@ -1689,8 +1678,8 @@
1689
1678
  }
1690
1679
  return t;
1691
1680
  }
1692
- function zt() {
1693
- return zt = Object.assign ? Object.assign.bind() : function(e) {
1681
+ function Mt() {
1682
+ return Mt = Object.assign ? Object.assign.bind() : function(e) {
1694
1683
  for (var n = 1; n < arguments.length; n++) {
1695
1684
  var t = arguments[n];
1696
1685
  for (var r in t) {
@@ -1698,85 +1687,85 @@
1698
1687
  }
1699
1688
  }
1700
1689
  return e;
1701
- }, zt.apply(null, arguments);
1690
+ }, Mt.apply(null, arguments);
1702
1691
  }
1703
1692
  var $t = {
1704
- odd: pt,
1705
- even: mt,
1706
- none: pt
1693
+ odd: mt,
1694
+ even: bt,
1695
+ none: mt
1707
1696
  };
1708
1697
  /** @public */
1709
1698
  /** @public */
1710
1699
  /** @public */
1711
1700
  /** @public */
1712
- /** @public */ var Mt = {
1701
+ /** @public */ var Nt = {
1713
1702
  /** @private. Generally passed by Table rather than added directly. */
1714
- activeElementId: w().string,
1715
- actionPrimary: w().element,
1716
- actionsSecondary: w().element,
1717
- children: w().node,
1718
- data: w().any,
1719
- disabled: w().bool,
1703
+ activeElementId: g().string,
1704
+ actionPrimary: g().element,
1705
+ actionsSecondary: g().element,
1706
+ children: g().node,
1707
+ data: g().any,
1708
+ disabled: g().bool,
1720
1709
  /** @private. Generally passed by Table rather than added directly. */
1721
- isDraggable: w().bool,
1710
+ isDraggable: g().bool,
1722
1711
  /** @private. Generally passed by Table rather than added directly. */
1723
- dragId: w().oneOfType([ w().string, w().number ]),
1724
- elementRef: w().oneOfType([ w().func, w().object ]),
1712
+ dragId: g().oneOfType([ g().string, g().number ]),
1713
+ elementRef: g().oneOfType([ g().func, g().object ]),
1725
1714
  /** @private. */
1726
- expandable: w().bool,
1727
- expanded: w().bool,
1715
+ expandable: g().bool,
1716
+ expanded: g().bool,
1728
1717
  /** @private. Identifies the unique id (or ids) for an expanded row (or rows). In expandable rows `ExpansionRowIcon` uses `expansionRowId` for accessibility aria attributes. */
1729
- expansionRowIds: w().string,
1730
- expansionRow: w().oneOfType([ w().element, w().arrayOf(w().element) ]),
1718
+ expansionRowIds: g().string,
1719
+ expansionRow: g().oneOfType([ g().element, g().arrayOf(g().element) ]),
1731
1720
  /** @private. Indicates whether the table has an actions column. */
1732
- actions: w().bool,
1721
+ actions: g().bool,
1733
1722
  /** @private. Generally passed by `Table` rather than added directly. */
1734
- index: w().number,
1723
+ index: g().number,
1735
1724
  /** @private. Generally passed by `Table` rather than added directly. */
1736
- movableColumns: w().bool,
1737
- onClick: w().func,
1738
- onExpansion: w().func,
1725
+ movableColumns: g().bool,
1726
+ onClick: g().func,
1727
+ onExpansion: g().func,
1739
1728
  /** @private. This is passed through and works as expected. */
1740
- onKeyDown: w().func,
1729
+ onKeyDown: g().func,
1741
1730
  /** @private. Generally passed by `Table` rather than added directly. */
1742
- onRequestMoveRow: w().func,
1743
- onRequestToggle: w().func,
1731
+ onRequestMoveRow: g().func,
1732
+ onRequestToggle: g().func,
1744
1733
  /** @private. */
1745
- pinnedColumns: w().object,
1734
+ pinnedColumns: g().object,
1746
1735
  /** @private. Generally passed by `Table` rather than added directly. */
1747
- primaryColumnIndex: w().number,
1748
- rowScreenReaderText: w().string,
1749
- selected: w().bool,
1736
+ primaryColumnIndex: g().number,
1737
+ rowScreenReaderText: g().string,
1738
+ selected: g().bool,
1750
1739
  /** @private. */
1751
- stripe: w().oneOf([ "odd", "even", "none" ])
1740
+ stripe: g().oneOf([ "odd", "even", "none" ])
1752
1741
  };
1753
- var Nt = r().createElement(Bn(), null);
1754
- var Lt = r().forwardRef((function(e, n) {
1742
+ var Lt = r().createElement(Fn(), null);
1743
+ var Wt = r().forwardRef((function(e, n) {
1755
1744
 
1756
- return r().createElement(Pe(), zt({
1757
- content: (0, T._)("Actions"),
1745
+ return r().createElement(Ae(), Mt({
1746
+ content: (0, I._)("Actions"),
1758
1747
  contentRelationship: "label"
1759
- }, e), r().createElement(Un(), {
1748
+ }, e), r().createElement(Xn(), {
1760
1749
  appearance: "subtle",
1761
1750
  "data-test": "actions-secondary-toggle",
1762
- icon: Nt,
1751
+ icon: Lt,
1763
1752
  elementRef: n
1764
1753
  }));
1765
1754
  }));
1766
- function Wt(e) {
1755
+ function Ht(e) {
1767
1756
  var n;
1768
- var o = e.actions, i = e.actionPrimary, l = e.actionsSecondary, u = e.children, s = e.data, c = e.dragId, d = e.disabled, f = e.pinnedColumns, v = e.isDraggable, p = e.elementRef, m = e.expandable, h = e.expanded, y = e.expansionRowIds, g = e.expansionRow, w = e.index, C = e.movableColumns, x = e.onClick, S = e.onExpansion, O = e.onKeyDown, k = e.onRequestToggle, R = e.primaryColumnIndex, E = R === void 0 ? 0 : R, D = e.rowScreenReaderText, P = e.selected, A = e.stripe, q = A === void 0 ? "none" : A, _ = e.style, z = qt(e, [ "actions", "actionPrimary", "actionsSecondary", "children", "data", "dragId", "disabled", "pinnedColumns", "isDraggable", "elementRef", "expandable", "expanded", "expansionRowIds", "expansionRow", "index", "movableColumns", "onClick", "onExpansion", "onKeyDown", "onRequestToggle", "primaryColumnIndex", "rowScreenReaderText", "selected", "stripe", "style" ]);
1769
- // @docs-props-type RowPropsBase
1770
- var $ = (0, t.useMemo)((function() {
1757
+ var o = e.actions, i = e.actionPrimary, l = e.actionsSecondary, u = e.children, s = e.data, c = e.dragId, d = e.disabled, f = e.pinnedColumns, v = e.isDraggable, p = e.elementRef, b = e.expandable, h = e.expanded, y = e.expansionRowIds, g = e.expansionRow, w = e.index, C = e.movableColumns, x = e.onClick, S = e.onExpansion, O = e.onKeyDown, k = e.onRequestToggle, R = e.primaryColumnIndex, j = R === void 0 ? 0 : R, D = e.rowScreenReaderText, P = e.selected, A = e.stripe, q = A === void 0 ? "none" : A, _ = e.style, z = _t(e, [ "actions", "actionPrimary", "actionsSecondary", "children", "data", "dragId", "disabled", "pinnedColumns", "isDraggable", "elementRef", "expandable", "expanded", "expansionRowIds", "expansionRow", "index", "movableColumns", "onClick", "onExpansion", "onKeyDown", "onRequestToggle", "primaryColumnIndex", "rowScreenReaderText", "selected", "stripe", "style" ]);
1758
+ // @docs-props-type RowPropsBase
1759
+ var M = (0, t.useMemo)((function() {
1771
1760
  return {
1772
- id: v ? c : (0, j.createGUID)(),
1761
+ id: v ? c : (0, T.createGUID)(),
1773
1762
  disabled: !v
1774
1763
  };
1775
1764
  }), [ v, c ]);
1776
- var M = (0, a.useSortable)($), L = M.attributes, W = M.listeners, H = M.transform, K = M.transition, V = M.setNodeRef, B = M.setActivatorNodeRef;
1765
+ var $ = (0, a.useSortable)(M), L = $.attributes, W = $.listeners, H = $.transform, K = $.transition, B = $.setNodeRef, V = $.setActivatorNodeRef;
1777
1766
  var F = (0, t.useMemo)((function() {
1778
- return v ? jt(jt({}, _), {}, {
1779
- transform: Kn.CSS.Translate.toString(H),
1767
+ return v ? Dt(Dt({}, _), {}, {
1768
+ transform: Bn.CSS.Translate.toString(H),
1780
1769
  transition: K
1781
1770
  }) : _;
1782
1771
  }), [ v, H, K, _ ]);
@@ -1813,38 +1802,38 @@
1813
1802
  e.preventDefault();
1814
1803
  S === null || S === void 0 ? void 0 : S(e, s);
1815
1804
  }), [ s, S ]);
1816
- var Q = function n() {
1805
+ var Q = function e() {
1817
1806
  if (i && i.props.onClick) {
1818
1807
 
1819
1808
  return (0, t.cloneElement)(i, {
1820
- onClick: function n(t) {
1821
- var r, o;
1822
- t.preventDefault();
1823
- return (r = (o = i.props).onClick) === null || r === void 0 ? void 0 : r.call(o, t, e.data);
1809
+ onClick: function e(n) {
1810
+ var t, r;
1811
+ n.preventDefault();
1812
+ return (t = (r = i.props).onClick) === null || t === void 0 ? void 0 : t.call(r, n, s);
1824
1813
  }
1825
1814
  });
1826
1815
  }
1827
1816
  return i;
1828
1817
  };
1829
- var Z = function n() {
1818
+ var Z = function e() {
1830
1819
  if (l && l.props.children) {
1831
- var r = t.Children.toArray(l.props.children).filter(t.isValidElement);
1832
- var o = r.map((function(n) {
1833
- if (n.props.onClick) {
1820
+ var n = t.Children.toArray(l.props.children).filter(t.isValidElement);
1821
+ var r = n.map((function(e) {
1822
+ if (e.props.onClick) {
1834
1823
 
1835
- return (0, t.cloneElement)(n, {
1836
- onClick: function t(r) {
1837
- var o, i;
1838
- r.preventDefault();
1839
- return (o = (i = n.props).onClick) === null || o === void 0 ? void 0 : o.call(i, r, e.data);
1824
+ return (0, t.cloneElement)(e, {
1825
+ onClick: function n(t) {
1826
+ var r, o;
1827
+ t.preventDefault();
1828
+ return (r = (o = e.props).onClick) === null || r === void 0 ? void 0 : r.call(o, t, s);
1840
1829
  }
1841
1830
  });
1842
1831
  }
1843
- return n;
1832
+ return e;
1844
1833
  }));
1845
1834
 
1846
1835
  return (0, t.cloneElement)(l, {
1847
- children: o
1836
+ children: r
1848
1837
  });
1849
1838
  }
1850
1839
  return l;
@@ -1853,7 +1842,7 @@
1853
1842
  U.current = e;
1854
1843
  N(p, e);
1855
1844
  if (v) {
1856
- V(e);
1845
+ B(e);
1857
1846
  }
1858
1847
  }
1859
1848
  var ne = t.Children.toArray(u).map((function(e, n) {
@@ -1861,22 +1850,22 @@
1861
1850
  return (0, t.cloneElement)(e, {
1862
1851
  appearance: x ? "rowLink" : e.props.appearance,
1863
1852
  disabled: d,
1864
- isPrimaryCell: E === n,
1853
+ isPrimaryCell: j === n,
1865
1854
  stripe: q
1866
1855
  });
1867
1856
  }));
1868
1857
  var te;
1869
1858
  if (D) {
1870
1859
  te = D;
1871
- } else if ((n = ne[E]) === null || n === void 0 ? void 0 : n.props.children) {
1860
+ } else if ((n = ne[j]) === null || n === void 0 ? void 0 : n.props.children) {
1872
1861
  var re;
1873
- te = "".concat((re = ne[E]) === null || re === void 0 ? void 0 : re.props.children);
1862
+ te = "".concat((re = ne[j]) === null || re === void 0 ? void 0 : re.props.children);
1874
1863
  } else {
1875
1864
  var oe;
1876
1865
  te = "".concat((oe = ne[0]) === null || oe === void 0 ? void 0 : oe.props.children);
1877
1866
  if (false) {}
1878
1867
  }
1879
- var ie = (0, I.sprintf)((0, T._)("%(selected)s"), {
1868
+ var ie = (0, E.sprintf)((0, I._)("%(selected)s"), {
1880
1869
  selected: P ? "selected" : "unselected"
1881
1870
  });
1882
1871
  var ae = $t[q];
@@ -1884,38 +1873,38 @@
1884
1873
  var ue = C ? "false" : undefined;
1885
1874
  var se = function e() {
1886
1875
 
1887
- return r().createElement(Lt, null);
1876
+ return r().createElement(Wt, null);
1888
1877
  };
1889
- var ce = (0, I.sprintf)((0, T._)("Collapse row - %(rowLabelValue)s"), {
1878
+ var ce = (0, E.sprintf)((0, I._)("Collapse row - %(rowLabelValue)s"), {
1890
1879
  rowLabelValue: te
1891
1880
  });
1892
- var de = (0, I.sprintf)((0, T._)("Expand row - %(rowLabelValue)s"), {
1881
+ var de = (0, E.sprintf)((0, I._)("Expand row - %(rowLabelValue)s"), {
1893
1882
  rowLabelValue: te
1894
1883
  });
1895
1884
 
1896
- return r().createElement(ae, zt({
1885
+ return r().createElement(ae, Mt({
1897
1886
  "data-test": "row",
1898
1887
  "data-test-selected": k ? P : undefined,
1899
1888
  $clickable: !!x,
1900
1889
  "data-has-movable-columns": C ? "true" : undefined,
1901
1890
  disabled: !!d,
1902
- $expandable: !!m,
1891
+ $expandable: !!b,
1903
1892
  $isActionColumnPinned: f === null || f === void 0 ? void 0 : f.actions,
1904
1893
  $isDraggable: !!v,
1905
1894
  ref: ee,
1906
1895
  tabIndex: x ? 0 : undefined
1907
- }, b()(z, "data"), {
1896
+ }, m()(z, "data"), {
1908
1897
  onClick: x ? X : undefined,
1909
1898
  onKeyDown: Y,
1910
1899
  $rowSelected: !!(k && P),
1911
1900
  style: F
1912
- }), v && w != null && r().createElement(vt, zt({
1913
- "aria-label": (0, I.sprintf)((0, T._)("Reorder %(rowLabelValue)s"), {
1901
+ }), v && w != null && r().createElement(pt, Mt({
1902
+ "aria-label": (0, E.sprintf)((0, I._)("Reorder %(rowLabelValue)s"), {
1914
1903
  rowLabelValue: te
1915
1904
  }),
1916
- setActivatorNodeRef: B,
1905
+ setActivatorNodeRef: V,
1917
1906
  listeners: W
1918
- }, L)), k && r().createElement(Oe, {
1907
+ }, L)), k && r().createElement(ke, {
1919
1908
  align: "center",
1920
1909
  appearance: x ? "rowLink" : "data",
1921
1910
  disabled: d,
@@ -1923,15 +1912,15 @@
1923
1912
  "data-movable-column": ue,
1924
1913
  rowSpan: le,
1925
1914
  "data-test": "toggle"
1926
- }, r().createElement(Et, {
1927
- "aria-label": (0, I.sprintf)((0, T._)("%(rowLabelValue)s %(selectedString)s"), {
1915
+ }, r().createElement(It, {
1916
+ "aria-label": (0, E.sprintf)((0, I._)("%(rowLabelValue)s %(selectedString)s"), {
1928
1917
  rowLabelValue: te,
1929
1918
  selectedString: ie
1930
1919
  }),
1931
1920
  disabled: d,
1932
1921
  onClick: G,
1933
1922
  selected: P
1934
- })), m && g && r().createElement(Oe, {
1923
+ })), b && g && r().createElement(ke, {
1935
1924
  align: "center",
1936
1925
  appearance: "data",
1937
1926
  "data-movable-column": ue,
@@ -1939,39 +1928,39 @@
1939
1928
  expand: h,
1940
1929
  rowSpan: le,
1941
1930
  variant: "expand"
1942
- }, r().createElement(it, {
1931
+ }, r().createElement(at, {
1943
1932
  expanded: h,
1944
1933
  onClick: J,
1945
1934
  title: h ? ce : de,
1946
1935
  "aria-controls": h ? y : undefined,
1947
1936
  "aria-expanded": h
1948
- })), m && !g && r().createElement(Oe, {
1937
+ })), b && !g && r().createElement(ke, {
1949
1938
  variant: "expand",
1950
1939
  "data-movable-column": ue
1951
- }), ne, o && !i && !l && r().createElement(Oe, {
1940
+ }), ne, o && !i && !l && r().createElement(ke, {
1952
1941
  align: "right",
1953
1942
  appearance: x ? "rowLink" : "data",
1954
1943
  "data-test": "row-actions",
1955
1944
  variant: "actions",
1956
1945
  "data-movable-column": ue,
1957
1946
  isPinned: f === null || f === void 0 ? void 0 : f.actions
1958
- }), (i || l) && r().createElement(Oe, {
1947
+ }), (i || l) && r().createElement(ke, {
1959
1948
  align: "right",
1960
1949
  appearance: "data",
1961
1950
  "data-test": "row-actions",
1962
1951
  variant: "actions",
1963
1952
  "data-movable-column": ue,
1964
1953
  isPinned: f === null || f === void 0 ? void 0 : f.actions
1965
- }, i && Q(), l && r().createElement(Yn(), {
1954
+ }, i && Q(), l && r().createElement(Gn(), {
1966
1955
  toggle: se()
1967
1956
  }, Z())));
1968
1957
  }
1969
- Wt.propTypes = Mt;
1970
- Wt.splunkUiType = "Table.Row";
1971
- /* harmony default export */ const Ht = Wt;
1958
+ Ht.propTypes = Nt;
1959
+ Ht.splunkUiType = "Table.Row";
1960
+ /* harmony default export */ const Kt = Ht;
1972
1961
  // CONCATENATED MODULE: ./src/Table/Head.tsx
1973
- function Kt() {
1974
- return Kt = Object.assign ? Object.assign.bind() : function(e) {
1962
+ function Bt() {
1963
+ return Bt = Object.assign ? Object.assign.bind() : function(e) {
1975
1964
  for (var n = 1; n < arguments.length; n++) {
1976
1965
  var t = arguments[n];
1977
1966
  for (var r in t) {
@@ -1979,11 +1968,11 @@
1979
1968
  }
1980
1969
  }
1981
1970
  return e;
1982
- }, Kt.apply(null, arguments);
1971
+ }, Bt.apply(null, arguments);
1983
1972
  }
1984
1973
  function Vt(e, n) {
1985
1974
  if (null == e) return {};
1986
- var t, r, o = Bt(e, n);
1975
+ var t, r, o = Ft(e, n);
1987
1976
  if (Object.getOwnPropertySymbols) {
1988
1977
  var i = Object.getOwnPropertySymbols(e);
1989
1978
  for (r = 0; r < i.length; r++) {
@@ -1992,7 +1981,7 @@
1992
1981
  }
1993
1982
  return o;
1994
1983
  }
1995
- function Bt(e, n) {
1984
+ function Ft(e, n) {
1996
1985
  if (null == e) return {};
1997
1986
  var t = {};
1998
1987
  for (var r in e) {
@@ -2003,44 +1992,44 @@
2003
1992
  }
2004
1993
  return t;
2005
1994
  }
2006
- var Ft = {
1995
+ var Ut = {
2007
1996
  /** @private. */
2008
- actions: w().arrayOf(w().node),
1997
+ actions: g().arrayOf(g().node),
2009
1998
  /** @private. */
2010
- actionsColumnWidth: w().number,
1999
+ actionsColumnWidth: g().number,
2011
2000
  /** @private */
2012
- cellMinWidth: w().number,
2013
- children: w().node,
2014
- elementRef: w().oneOfType([ w().func, w().object ]),
2001
+ cellMinWidth: g().number,
2002
+ children: g().node,
2003
+ elementRef: g().oneOfType([ g().func, g().object ]),
2015
2004
  /** @private. */
2016
- hasDragColumn: w().bool,
2005
+ hasDragColumn: g().bool,
2017
2006
  /** @private. */
2018
- hasInfoColumn: w().bool,
2007
+ hasInfoColumn: g().bool,
2019
2008
  /** @private. */
2020
- onAutosizeColumn: w().func,
2009
+ onAutosizeColumn: g().func,
2021
2010
  /** @private. */
2022
- onRequestMoveColumn: w().func,
2011
+ onRequestMoveColumn: g().func,
2023
2012
  /** @private. */
2024
- onRequestResizeColumn: w().func,
2013
+ onRequestResizeColumn: g().func,
2025
2014
  /** @private. */
2026
- onRequestToggleAllRows: w().func,
2015
+ onRequestToggleAllRows: g().func,
2027
2016
  /** @private. */
2028
- pinnedColumns: w().object,
2017
+ pinnedColumns: g().object,
2029
2018
  /** @private. */
2030
- rowSelection: w().oneOf([ "all", "some", "none" ])
2019
+ rowSelection: g().oneOf([ "all", "some", "none" ])
2031
2020
  };
2032
- var Ut = 1;
2033
- var Xt = {
2021
+ var Xt = 1;
2022
+ var Yt = {
2034
2023
  all: true,
2035
2024
  none: false,
2036
2025
  some: "some"
2037
2026
  };
2038
- var Yt = (0, T._)("No rows selected");
2039
- var Gt = (0, T._)("Some rows selected");
2040
- var Jt = (0, T._)("All rows selected");
2041
- var Qt = function e(n) {
2027
+ var Gt = (0, I._)("No rows selected");
2028
+ var Jt = (0, I._)("Some rows selected");
2029
+ var Qt = (0, I._)("All rows selected");
2030
+ var Zt = function e(n) {
2042
2031
  var t, r;
2043
- var o = cn();
2032
+ var o = dn();
2044
2033
  if (!n) {
2045
2034
  return [];
2046
2035
  }
@@ -2049,10 +2038,10 @@
2049
2038
  return e.clientWidth - parseFloat(n.getPropertyValue("padding-right")) - parseFloat(n.getPropertyValue("padding-left"));
2050
2039
  }));
2051
2040
  };
2052
- function Zt(e) {
2041
+ function er(e) {
2053
2042
  var n = e.actions, o = n === void 0 ? [] : n, i = e.actionsColumnWidth, a = e.cellMinWidth, l = a === void 0 ? 60 : a, u = e.children, s = e.elementRef, c = e.hasDragColumn, d = e.hasInfoColumn, f = e.pinnedColumns, v = e.onAutosizeColumn, p = e.onRequestMoveColumn, m = e.onRequestResizeColumn, b = e.onRequestToggleAllRows, h = e.rowSelection, y = Vt(e, [ "actions", "actionsColumnWidth", "cellMinWidth", "children", "elementRef", "hasDragColumn", "hasInfoColumn", "pinnedColumns", "onAutosizeColumn", "onRequestMoveColumn", "onRequestResizeColumn", "onRequestToggleAllRows", "rowSelection" ]);
2054
2043
  // @docs-props-type HeadPropsBase
2055
- var g = (0, t.useContext)(ye), w = g.headType, C = g.tableContainerWidthWithoutBorders, x = g.resizableFillLayout;
2044
+ var g = (0, t.useContext)(ge), w = g.headType, C = g.tableContainerWidthWithoutBorders, x = g.resizableFillLayout;
2056
2045
  var S = (0, t.useRef)(null);
2057
2046
  var O = (0, t.useRef)([]);
2058
2047
  (0, t.useEffect)((function() {
@@ -2073,7 +2062,7 @@
2073
2062
  }), [ u, p ]);
2074
2063
  var R = (0, t.useCallback)((function(e, n) {
2075
2064
  var t = n.columnId, r = n.id, o = n.index, i = n.width;
2076
- var a = Qt(S.current);
2065
+ var a = Zt(S.current);
2077
2066
  if (o >= a.length) {
2078
2067
  m === null || m === void 0 ? void 0 : m(e, n);
2079
2068
  return;
@@ -2196,16 +2185,16 @@
2196
2185
  O.current = e;
2197
2186
  return n;
2198
2187
  }), [ I, x, R, m, p, k, v ]);
2199
- var D = h === undefined ? undefined : Xt[h];
2188
+ var D = h === undefined ? undefined : Yt[h];
2200
2189
  var P = i || 48;
2201
2190
  var A = w === "fixed" ? "fixed-head" : "head";
2202
2191
  var q;
2203
2192
  if (D === "some") {
2204
- q = Gt;
2205
- } else if (D) {
2206
2193
  q = Jt;
2194
+ } else if (D) {
2195
+ q = Qt;
2207
2196
  } else {
2208
- q = Yt;
2197
+ q = Gt;
2209
2198
  }
2210
2199
  var _ = (0, t.useMemo)((function() {
2211
2200
  return {
@@ -2218,33 +2207,33 @@
2218
2207
  };
2219
2208
  }), [ i ]);
2220
2209
 
2221
- return r().createElement(Nn, Kt({
2210
+ return r().createElement(Ln, Bt({
2222
2211
  ref: E,
2223
2212
  "data-test": A,
2224
2213
  $isFixed: w === "fixed",
2225
- $zIndex: T + Ut
2226
- }, y), r().createElement(Ht, null, c && r().createElement(Hn, {
2214
+ $zIndex: T + Xt
2215
+ }, y), r().createElement(Kt, null, c && r().createElement(Kn, {
2227
2216
  key: "drag_rows_head_cell",
2228
2217
  "data-test": "drag-rows-head-cell",
2229
2218
  align: "center",
2230
2219
  resizable: false
2231
- }), b && r().createElement(Ln, {
2220
+ }), b && r().createElement(Wn, {
2232
2221
  key: "toggle_all",
2233
2222
  resizable: false,
2234
2223
  align: "center",
2235
2224
  variant: "toggleAll",
2236
2225
  truncate: false,
2237
2226
  "data-test": "toggle-all"
2238
- }, r().createElement(Et, {
2227
+ }, r().createElement(It, {
2239
2228
  "aria-label": q,
2240
2229
  onClick: b,
2241
2230
  selected: D
2242
- })), d && r().createElement(Wn, {
2231
+ })), d && r().createElement(Hn, {
2243
2232
  key: "more_info_head_cell",
2244
2233
  "data-test": "more-info-head-cell",
2245
2234
  resizable: false,
2246
2235
  variant: "info"
2247
- }), j, o.length > 0 && r().createElement(Mn, {
2236
+ }), j, o.length > 0 && r().createElement(Nn, {
2248
2237
  key: "actions_head_cell",
2249
2238
  "data-test": "actions-head-cell",
2250
2239
  align: "right",
@@ -2253,7 +2242,7 @@
2253
2242
  style: _,
2254
2243
  variant: "actions",
2255
2244
  isPinned: f === null || f === void 0 ? void 0 : f.actions
2256
- }, o), o.length === 0 && i && r().createElement(Mn, {
2245
+ }, o), o.length === 0 && i && r().createElement(Nn, {
2257
2246
  key: "actions_head_cell",
2258
2247
  "data-test": "actions-head-cell",
2259
2248
  align: "right",
@@ -2264,24 +2253,24 @@
2264
2253
  isPinned: f === null || f === void 0 ? void 0 : f.actions
2265
2254
  }, " ")));
2266
2255
  }
2267
- Zt.propTypes = Ft;
2268
- Zt.splunkUiType = "Table.Head";
2269
- /* harmony default export */ const er = Zt;
2256
+ er.propTypes = Ut;
2257
+ er.splunkUiType = "Table.Head";
2258
+ /* harmony default export */ const nr = er;
2270
2259
  // CONCATENATED MODULE: external "lodash/isFinite"
2271
- const nr = require("lodash/isFinite");
2272
- var tr = e.n(nr);
2260
+ const tr = require("lodash/isFinite");
2261
+ var rr = e.n(tr);
2273
2262
  // CONCATENATED MODULE: external "lodash/isFunction"
2274
- const rr = require("lodash/isFunction");
2275
- var or = e.n(rr);
2263
+ const or = require("lodash/isFunction");
2264
+ var ir = e.n(or);
2276
2265
  // CONCATENATED MODULE: external "@splunk/react-ui/Popover"
2277
- const ir = require("@splunk/react-ui/Popover");
2278
- var ar = e.n(ir);
2266
+ const ar = require("@splunk/react-ui/Popover");
2267
+ var lr = e.n(ar);
2279
2268
  // CONCATENATED MODULE: external "@splunk/react-ui/useControlled"
2280
- const lr = require("@splunk/react-ui/useControlled");
2281
- var ur = e.n(lr);
2269
+ const ur = require("@splunk/react-ui/useControlled");
2270
+ var sr = e.n(ur);
2282
2271
  // CONCATENATED MODULE: ./src/Table/HeadDropdownCell.tsx
2283
- function sr() {
2284
- return sr = Object.assign ? Object.assign.bind() : function(e) {
2272
+ function cr() {
2273
+ return cr = Object.assign ? Object.assign.bind() : function(e) {
2285
2274
  for (var n = 1; n < arguments.length; n++) {
2286
2275
  var t = arguments[n];
2287
2276
  for (var r in t) {
@@ -2289,29 +2278,29 @@
2289
2278
  }
2290
2279
  }
2291
2280
  return e;
2292
- }, sr.apply(null, arguments);
2281
+ }, cr.apply(null, arguments);
2293
2282
  }
2294
- function cr(e, n) {
2295
- return mr(e) || pr(e, n) || fr(e, n) || dr();
2283
+ function dr(e, n) {
2284
+ return br(e) || mr(e, n) || vr(e, n) || fr();
2296
2285
  }
2297
- function dr() {
2286
+ function fr() {
2298
2287
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2299
2288
  }
2300
- function fr(e, n) {
2289
+ function vr(e, n) {
2301
2290
  if (e) {
2302
- if ("string" == typeof e) return vr(e, n);
2291
+ if ("string" == typeof e) return pr(e, n);
2303
2292
  var t = {}.toString.call(e).slice(8, -1);
2304
- return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? vr(e, n) : void 0;
2293
+ return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? pr(e, n) : void 0;
2305
2294
  }
2306
2295
  }
2307
- function vr(e, n) {
2296
+ function pr(e, n) {
2308
2297
  (null == n || n > e.length) && (n = e.length);
2309
2298
  for (var t = 0, r = Array(n); t < n; t++) {
2310
2299
  r[t] = e[t];
2311
2300
  }
2312
2301
  return r;
2313
2302
  }
2314
- function pr(e, n) {
2303
+ function mr(e, n) {
2315
2304
  var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
2316
2305
  if (null != t) {
2317
2306
  var r, o, i, a, l = [], u = !0, s = !1;
@@ -2333,12 +2322,12 @@
2333
2322
  return l;
2334
2323
  }
2335
2324
  }
2336
- function mr(e) {
2325
+ function br(e) {
2337
2326
  if (Array.isArray(e)) return e;
2338
2327
  }
2339
- function br(e, n) {
2328
+ function hr(e, n) {
2340
2329
  if (null == e) return {};
2341
- var t, r, o = hr(e, n);
2330
+ var t, r, o = yr(e, n);
2342
2331
  if (Object.getOwnPropertySymbols) {
2343
2332
  var i = Object.getOwnPropertySymbols(e);
2344
2333
  for (r = 0; r < i.length; r++) {
@@ -2347,7 +2336,7 @@
2347
2336
  }
2348
2337
  return o;
2349
2338
  }
2350
- function hr(e, n) {
2339
+ function yr(e, n) {
2351
2340
  if (null == e) return {};
2352
2341
  var t = {};
2353
2342
  for (var r in e) {
@@ -2360,67 +2349,67 @@
2360
2349
  }
2361
2350
  /** @public */
2362
2351
  /** @public */
2363
- /** @public */ var yr = [ "clickAway", "contentClick", "escapeKey", "offScreen", "tabKey", "toggleClick" ];
2364
- var gr = {
2365
- align: w().oneOf([ "left", "center", "right" ]),
2366
- buttonRef: w().oneOfType([ w().func, w().object ]),
2367
- canCoverHead: w().bool,
2368
- children: w().node.isRequired,
2369
- closeReasons: w().arrayOf(w().oneOf(yr)),
2370
- columnId: w().string,
2352
+ /** @public */ var gr = [ "clickAway", "contentClick", "escapeKey", "offScreen", "tabKey", "toggleClick" ];
2353
+ var wr = {
2354
+ align: g().oneOf([ "left", "center", "right" ]),
2355
+ buttonRef: g().oneOfType([ g().func, g().object ]),
2356
+ canCoverHead: g().bool,
2357
+ children: g().node.isRequired,
2358
+ closeReasons: g().arrayOf(g().oneOf(gr)),
2359
+ columnId: g().string,
2371
2360
  /** @private. */
2372
- dragId: w().oneOfType([ w().string, w().number ]),
2373
- elementRef: w().oneOfType([ w().func, w().object ]),
2374
- headCellScreenReaderText: w().string,
2375
- focusToggleReasons: w().arrayOf(w().oneOf(yr)),
2361
+ dragId: g().oneOfType([ g().string, g().number ]),
2362
+ elementRef: g().oneOfType([ g().func, g().object ]),
2363
+ headCellScreenReaderText: g().string,
2364
+ focusToggleReasons: g().arrayOf(g().oneOf(gr)),
2376
2365
  /** @private The index of the cell, skipping the info column. */
2377
- index: w().number,
2378
- label: w().node,
2366
+ index: g().number,
2367
+ label: g().node,
2379
2368
  /** @private. */
2380
- onAutosizeColumn: w().func,
2369
+ onAutosizeColumn: g().func,
2381
2370
  /**
2382
2371
  * @private. This will be passed through, and will work as expected.
2383
2372
  */
2384
- onKeyDown: w().func,
2385
- onRequestClose: w().func,
2373
+ onKeyDown: g().func,
2374
+ onRequestClose: g().func,
2386
2375
  /** @private. */
2387
- onRequestMoveColumn: w().func,
2388
- onRequestOpen: w().func,
2376
+ onRequestMoveColumn: g().func,
2377
+ onRequestOpen: g().func,
2389
2378
  /** @private. */
2390
- onRequestResize: w().func,
2391
- open: w().bool,
2392
- repositionMode: w().oneOf([ "none", "flip", "any" ]),
2393
- resizable: w().bool,
2394
- retainFocus: w().bool,
2395
- takeFocus: w().bool,
2396
- truncate: w().bool,
2379
+ onRequestResize: g().func,
2380
+ open: g().bool,
2381
+ repositionMode: g().oneOf([ "none", "flip", "any" ]),
2382
+ resizable: g().bool,
2383
+ retainFocus: g().bool,
2384
+ takeFocus: g().bool,
2385
+ truncate: g().bool,
2397
2386
  /**
2398
2387
  * @private
2399
2388
  * Used internally to suppress focus when this `HeadDropdownCell` is superseded by one in an
2400
2389
  * overlaid `HeadTable` for user interactions.
2401
2390
  */
2402
- visible: w().bool,
2403
- width: w().number,
2391
+ visible: g().bool,
2392
+ width: g().number,
2404
2393
  /** @private. */
2405
- variant: w().oneOf([ "toggleAll", "info", "actions" ])
2394
+ variant: g().oneOf([ "toggleAll", "info", "actions" ])
2406
2395
  };
2407
- var wr = [ "contentClick", "escapeKey", "toggleClick" ];
2408
- function Cr(e) {
2396
+ var Cr = [ "contentClick", "escapeKey", "toggleClick" ];
2397
+ function xr(e) {
2409
2398
  var n;
2410
- var o = e.align, i = o === void 0 ? "left" : o, l = e.buttonRef, u = e.canCoverHead, s = u === void 0 ? true : u, c = e.children, d = e.closeReasons, f = d === void 0 ? yr : d, v = e.columnId, p = e.dragId, m = e.elementRef, b = e.headCellScreenReaderText, h = e.focusToggleReasons, y = h === void 0 ? wr : h, g = e.id, w = e.index, C = e.label, x = e.onAutosizeColumn, S = e.onKeyDown, O = e.onRequestClose, R = e.onRequestMoveColumn, E = e.onRequestOpen, D = e.onRequestResize, A = e.open, q = e.repositionMode, _ = q === void 0 ? "flip" : q, z = e.resizable, $ = z === void 0 ? true : z, M = e.retainFocus, L = e.style, W = e.takeFocus, H = W === void 0 ? true : W, K = e.truncate, V = K === void 0 ? true : K, B = e.variant, F = e.visible, U = F === void 0 ? true : F, X = e.width, Y = br(e, [ "align", "buttonRef", "canCoverHead", "children", "closeReasons", "columnId", "dragId", "elementRef", "headCellScreenReaderText", "focusToggleReasons", "id", "index", "label", "onAutosizeColumn", "onKeyDown", "onRequestClose", "onRequestMoveColumn", "onRequestOpen", "onRequestResize", "open", "repositionMode", "resizable", "retainFocus", "style", "takeFocus", "truncate", "variant", "visible", "width" ]);
2399
+ var o = e.align, i = o === void 0 ? "left" : o, l = e.buttonRef, u = e.canCoverHead, s = u === void 0 ? true : u, c = e.children, d = e.closeReasons, f = d === void 0 ? gr : d, v = e.columnId, p = e.dragId, m = e.elementRef, b = e.headCellScreenReaderText, h = e.focusToggleReasons, y = h === void 0 ? Cr : h, g = e.id, w = e.index, C = e.label, x = e.onAutosizeColumn, S = e.onKeyDown, k = e.onRequestClose, R = e.onRequestMoveColumn, j = e.onRequestOpen, D = e.onRequestResize, A = e.open, q = e.repositionMode, _ = q === void 0 ? "flip" : q, z = e.resizable, M = z === void 0 ? true : z, $ = e.retainFocus, L = e.style, W = e.takeFocus, H = W === void 0 ? true : W, K = e.truncate, B = K === void 0 ? true : K, V = e.variant, F = e.visible, U = F === void 0 ? true : F, X = e.width, Y = hr(e, [ "align", "buttonRef", "canCoverHead", "children", "closeReasons", "columnId", "dragId", "elementRef", "headCellScreenReaderText", "focusToggleReasons", "id", "index", "label", "onAutosizeColumn", "onKeyDown", "onRequestClose", "onRequestMoveColumn", "onRequestOpen", "onRequestResize", "open", "repositionMode", "resizable", "retainFocus", "style", "takeFocus", "truncate", "variant", "visible", "width" ]);
2411
2400
  // @docs-props-type HeadDropdownCellPropsBase
2412
- var G = ur()({
2401
+ var G = sr()({
2413
2402
  componentName: "HeadDropdownCell",
2414
2403
  /* eslint-disable-next-line prefer-rest-params */
2415
2404
  componentProps: arguments[0],
2416
2405
  // see SUI-7028
2417
2406
  valuePropName: "open"
2418
2407
  });
2419
- var J = (0, t.useState)(), Q = cr(J, 2), Z = Q[0], ee = Q[1];
2420
- var ne = (0, t.useState)(null), te = cr(ne, 2), re = te[0], oe = te[1];
2421
- var ie = (0, t.useState)(null), ae = cr(ie, 2), le = ae[0], ue = ae[1];
2422
- var se = (0, t.useState)(false), ce = cr(se, 2), de = ce[0], fe = ce[1];
2423
- var ve = (0, j.createDOMID)("popover");
2408
+ var J = (0, t.useState)(), Q = dr(J, 2), Z = Q[0], ee = Q[1];
2409
+ var ne = (0, t.useState)(null), te = dr(ne, 2), re = te[0], oe = te[1];
2410
+ var ie = (0, t.useState)(null), ae = dr(ie, 2), le = ae[0], ue = ae[1];
2411
+ var se = (0, t.useState)(false), ce = dr(se, 2), de = ce[0], fe = ce[1];
2412
+ var ve = (0, T.createDOMID)("popover");
2424
2413
  var pe = !!R;
2425
2414
  var me = (0, a.useSortable)({
2426
2415
  // dragId is optional in HeadCell but required by useSortable
@@ -2430,12 +2419,12 @@
2430
2419
  var we = (0, t.useMemo)((function() {
2431
2420
  return G ? A : de;
2432
2421
  }), [ G, de, A ]);
2433
- var Ce = k()(U);
2422
+ var Ce = O()(U);
2434
2423
  var xe = (n = g !== null && g !== void 0 ? g : v) !== null && n !== void 0 ? n : (0,
2435
- j.createDOMID)("headCellId-");
2424
+ T.createDOMID)("headCellId-");
2436
2425
  (0, t.useEffect)((function() {
2437
2426
  if (false) {}
2438
- }), [ D, V ]);
2427
+ }), [ D, B ]);
2439
2428
  var Se = (0, t.useCallback)((function(e) {
2440
2429
  var n = e.reason, t = e.event;
2441
2430
  if (n === "clickAway" && t !== undefined) {
@@ -2455,13 +2444,13 @@
2455
2444
  if (!G) {
2456
2445
  fe(false);
2457
2446
  }
2458
- O === null || O === void 0 ? void 0 : O(t, {
2447
+ k === null || k === void 0 ? void 0 : k(t, {
2459
2448
  index: w,
2460
2449
  reason: n,
2461
2450
  columnId: v
2462
2451
  });
2463
2452
  }
2464
- }), [ f, v, y, w, le, G, we, O ]);
2453
+ }), [ f, v, y, w, le, G, we, k ]);
2465
2454
  (0, t.useEffect)((function() {
2466
2455
  if (Ce && !U) {
2467
2456
  Se({
@@ -2495,7 +2484,7 @@
2495
2484
  event: e
2496
2485
  });
2497
2486
  } else if (w !== undefined) {
2498
- E === null || E === void 0 ? void 0 : E(e, {
2487
+ j === null || j === void 0 ? void 0 : j(e, {
2499
2488
  reason: "toggleClick",
2500
2489
  columnId: v,
2501
2490
  index: w
@@ -2504,7 +2493,7 @@
2504
2493
  fe(true);
2505
2494
  }
2506
2495
  }
2507
- }), [ v, Se, w, G, we, E ]);
2496
+ }), [ v, Se, w, G, we, j ]);
2508
2497
  var Ee = (0, t.useCallback)((function(e) {
2509
2498
  if (w !== undefined) {
2510
2499
  S === null || S === void 0 ? void 0 : S(e, {
@@ -2513,14 +2502,14 @@
2513
2502
  });
2514
2503
  }
2515
2504
  }), [ v, w, S ]);
2516
- var Te = (0, t.useCallback)((function(e) {
2505
+ var Ie = (0, t.useCallback)((function(e) {
2517
2506
  Se({
2518
2507
  reason: "contentClick",
2519
2508
  event: e
2520
2509
  });
2521
2510
  }), [ Se ]);
2522
- var De = (0, t.useMemo)((function() {
2523
- if (Z !== undefined && tr()(Z)) {
2511
+ var je = (0, t.useMemo)((function() {
2512
+ if (Z !== undefined && rr()(Z)) {
2524
2513
  var e;
2525
2514
  return {
2526
2515
  x: Z - ((e = re === null || re === void 0 ? void 0 : re.getBoundingClientRect().left) !== null && e !== void 0 ? e : 0)
@@ -2529,7 +2518,7 @@
2529
2518
  return undefined;
2530
2519
  }), [ Z, re ]);
2531
2520
  var Pe = (0, t.useMemo)((function() {
2532
- return Ie()({}, L, {
2521
+ return Te()({}, L, {
2533
2522
  width: X
2534
2523
  });
2535
2524
  }), [ L, X ]);
@@ -2540,19 +2529,19 @@
2540
2529
  Ae = C;
2541
2530
  }
2542
2531
 
2543
- return r().createElement(Be, sr({
2532
+ return r().createElement(Fe, cr({
2544
2533
  style: Pe,
2545
2534
  "data-test": "head-cell",
2546
2535
  $isDragging: pe && ge,
2547
- $variant: B,
2536
+ $variant: V,
2548
2537
  id: U ? xe : undefined,
2549
2538
  ref: Oe
2550
- }, Y), r().createElement(Ve, null, pe && r().createElement(Ue, sr({
2551
- "aria-label": (0, I.sprintf)((0, T._)("Reorder %(labelString)s"), {
2539
+ }, Y), r().createElement(Ve, null, pe && r().createElement(Xe, cr({
2540
+ "aria-label": (0, E.sprintf)((0, I._)("Reorder %(labelString)s"), {
2552
2541
  labelString: Ae
2553
2542
  }),
2554
2543
  "data-test": "drag"
2555
- }, be, he), r().createElement(Fe, null, r().createElement(je(), null))), r().createElement(Dn, {
2544
+ }, be, he), r().createElement(Ue, null, r().createElement(De(), null))), r().createElement(Pn, {
2556
2545
  align: i,
2557
2546
  "aria-expanded": we,
2558
2547
  "aria-haspopup": true,
@@ -2564,15 +2553,15 @@
2564
2553
  index: w,
2565
2554
  isMenu: true,
2566
2555
  label: C,
2567
- resizable: U && $,
2556
+ resizable: U && M,
2568
2557
  onAutosizeColumn: x,
2569
2558
  onRequestResize: D,
2570
2559
  onClick: Re,
2571
2560
  onKeyDown: Ee,
2572
- truncate: V,
2561
+ truncate: B,
2573
2562
  width: X,
2574
2563
  "data-test": "inner"
2575
- }), r().createElement(ar(), {
2564
+ }), r().createElement(lr(), {
2576
2565
  align: "center",
2577
2566
  anchor: re,
2578
2567
  "aria-labelledby": xe,
@@ -2582,46 +2571,46 @@
2582
2571
  id: ve,
2583
2572
  onRequestClose: Se,
2584
2573
  open: !!re && we,
2585
- pointTo: De,
2574
+ pointTo: je,
2586
2575
  repositionMode: _,
2587
- retainFocus: M,
2576
+ retainFocus: $,
2588
2577
  takeFocus: H
2589
- }, or()(c) ? function() {
2578
+ }, ir()(c) ? function() {
2590
2579
 
2591
2580
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
2592
2581
  return r().createElement("div", {
2593
- onClick: Te
2582
+ onClick: Ie
2594
2583
  }, c.apply(void 0, arguments));
2595
2584
  } :
2596
2585
 
2597
2586
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
2598
2587
  r().createElement("div", {
2599
- onClick: Te
2588
+ onClick: Ie
2600
2589
  }, c))));
2601
2590
  }
2602
- Cr.propTypes = gr;
2603
- Cr.splunkUiType = "Table.HeadDropdownCell";
2604
- Cr.possibleCloseReasons = yr;
2605
- /* harmony default export */ const xr = Cr;
2591
+ xr.propTypes = wr;
2592
+ xr.splunkUiType = "Table.HeadDropdownCell";
2593
+ xr.possibleCloseReasons = gr;
2594
+ /* harmony default export */ const Sr = xr;
2606
2595
  // CONCATENATED MODULE: external "lodash/extend"
2607
- const Sr = require("lodash/extend");
2608
- var Or = e.n(Sr);
2596
+ const Or = require("lodash/extend");
2597
+ var kr = e.n(Or);
2609
2598
  // CONCATENATED MODULE: ./src/Table/HeadTableStyles.ts
2610
- var kr = z()(ee).withConfig({
2599
+ var Rr = z()(ne).withConfig({
2611
2600
  displayName: "HeadTableStyles__Styled",
2612
2601
  componentId: "g85wgf-0"
2613
2602
  })([ "min-width:0;table-layout:fixed;" ]);
2614
- var Rr = z().div.withConfig({
2603
+ var Er = z().div.withConfig({
2615
2604
  displayName: "HeadTableStyles__StyledDockedContainer",
2616
2605
  componentId: "g85wgf-1"
2617
- })([ "overflow:hidden;position:fixed;z-index:", ";@media print{display:none;}" ], $.variables.zindexFixedNavbar);
2618
- var Er = z()(Rr).withConfig({
2606
+ })([ "overflow:hidden;position:fixed;z-index:", ";@media print{display:none;}" ], Q.variables.zindexFixedNavbar);
2607
+ var Ir = z()(Er).withConfig({
2619
2608
  displayName: "HeadTableStyles__StyledFixedContainer",
2620
2609
  componentId: "g85wgf-2"
2621
2610
  })([ "position:absolute;box-shadow:none;z-index:1;" ]);
2622
2611
  // CONCATENATED MODULE: ./src/Table/HeadTable.tsx
2623
- function Ir() {
2624
- return Ir = Object.assign ? Object.assign.bind() : function(e) {
2612
+ function Tr() {
2613
+ return Tr = Object.assign ? Object.assign.bind() : function(e) {
2625
2614
  for (var n = 1; n < arguments.length; n++) {
2626
2615
  var t = arguments[n];
2627
2616
  for (var r in t) {
@@ -2629,11 +2618,11 @@
2629
2618
  }
2630
2619
  }
2631
2620
  return e;
2632
- }, Ir.apply(null, arguments);
2621
+ }, Tr.apply(null, arguments);
2633
2622
  }
2634
- function Tr(e, n) {
2623
+ function jr(e, n) {
2635
2624
  if (null == e) return {};
2636
- var t, r, o = jr(e, n);
2625
+ var t, r, o = Dr(e, n);
2637
2626
  if (Object.getOwnPropertySymbols) {
2638
2627
  var i = Object.getOwnPropertySymbols(e);
2639
2628
  for (r = 0; r < i.length; r++) {
@@ -2642,7 +2631,7 @@
2642
2631
  }
2643
2632
  return o;
2644
2633
  }
2645
- function jr(e, n) {
2634
+ function Dr(e, n) {
2646
2635
  if (null == e) return {};
2647
2636
  var t = {};
2648
2637
  for (var r in e) {
@@ -2653,32 +2642,32 @@
2653
2642
  }
2654
2643
  return t;
2655
2644
  }
2656
- var Dr = {
2657
- cellWidths: w().arrayOf(w().number).isRequired,
2658
- dragIndex: w().number,
2659
- elementRef: w().oneOfType([ w().func, w().object ]),
2660
- hasDragColumn: w().bool,
2661
- hasRowExpansion: w().bool,
2662
- hasRowSelection: w().bool,
2663
- headType: w().oneOf([ "docked", "fixed" ]).isRequired,
2664
- horizontalOffset: w().number,
2665
- isFixedColumn: w().bool,
2666
- rowSelection: w().oneOf([ "all", "some", "none" ]),
2667
- tableStyle: w().object,
2668
- tableWidth: w().number.isRequired,
2669
- tHead: w().element.isRequired,
2670
- top: w().number.isRequired,
2671
- width: w().number.isRequired
2645
+ var Pr = {
2646
+ cellWidths: g().arrayOf(g().number).isRequired,
2647
+ dragIndex: g().number,
2648
+ elementRef: g().oneOfType([ g().func, g().object ]),
2649
+ hasDragColumn: g().bool,
2650
+ hasRowExpansion: g().bool,
2651
+ hasRowSelection: g().bool,
2652
+ headType: g().oneOf([ "docked", "fixed" ]).isRequired,
2653
+ horizontalOffset: g().number,
2654
+ isFixedColumn: g().bool,
2655
+ rowSelection: g().oneOf([ "all", "some", "none" ]),
2656
+ tableStyle: g().object,
2657
+ tableWidth: g().number.isRequired,
2658
+ tHead: g().element.isRequired,
2659
+ top: g().number.isRequired,
2660
+ width: g().number.isRequired
2672
2661
  };
2673
2662
  /**
2674
2663
  * @private
2675
2664
  * HeadTable is an internal component that provides a detached table head that can
2676
2665
  * then be positioned in different ways outside of the main table.
2677
- */ function Pr(e) {
2678
- var n = e.cellWidths, o = e.elementRef, i = e.hasDragColumn, a = e.hasRowExpansion, l = e.hasRowSelection, u = e.headType, s = e.horizontalOffset, c = s === void 0 ? 0 : s, d = e.isFixedColumn, f = e.tableStyle, v = e.tableWidth, p = e.tHead, m = e.top, h = e.width, y = Tr(e, [ "cellWidths", "elementRef", "hasDragColumn", "hasRowExpansion", "hasRowSelection", "headType", "horizontalOffset", "isFixedColumn", "tableStyle", "tableWidth", "tHead", "top", "width" ]);
2666
+ */ function Ar(e) {
2667
+ var n = e.cellWidths, o = e.elementRef, i = e.hasDragColumn, a = e.hasRowExpansion, l = e.hasRowSelection, u = e.headType, s = e.horizontalOffset, c = s === void 0 ? 0 : s, d = e.isFixedColumn, f = e.tableStyle, v = e.tableWidth, p = e.tHead, b = e.top, h = e.width, y = jr(e, [ "cellWidths", "elementRef", "hasDragColumn", "hasRowExpansion", "hasRowSelection", "headType", "horizontalOffset", "isFixedColumn", "tableStyle", "tableWidth", "tHead", "top", "width" ]);
2679
2668
  // @docs-props-type HeadTablePropsBase
2680
2669
  var g = u === "docked";
2681
- var w = g ? Rr : Er;
2670
+ var w = g ? Er : Ir;
2682
2671
  var C = (0, t.useRef)(null);
2683
2672
  var x = (0, t.useCallback)((function(e) {
2684
2673
  N(C, e);
@@ -2705,7 +2694,7 @@
2705
2694
  return O.filter(t.isValidElement).map((function(e, r) {
2706
2695
 
2707
2696
  return (0, t.cloneElement)(e, {
2708
- style: Or()({}, e.props.style, {
2697
+ style: kr()({}, e.props.style, {
2709
2698
  width: n[r + S]
2710
2699
  })
2711
2700
  });
@@ -2717,38 +2706,38 @@
2717
2706
  }, k);
2718
2707
  var E = (0, t.useMemo)((function() {
2719
2708
  return {
2720
- top: m,
2709
+ top: b,
2721
2710
  width: h
2722
2711
  };
2723
- }), [ m, h ]);
2712
+ }), [ b, h ]);
2724
2713
 
2725
2714
  return r().createElement(w, {
2726
2715
  style: E,
2727
2716
  ref: o
2728
- }, r().createElement(kr, Ir({
2717
+ }, r().createElement(Rr, Tr({
2729
2718
  "data-test": "".concat(u, "-head-table"),
2730
2719
  "data-fixed-column": d ? "true" : undefined,
2731
- style: Or()({}, f, {
2720
+ style: kr()({}, f, {
2732
2721
  marginLeft: c,
2733
2722
  width: d ? undefined : v
2734
2723
  })
2735
- }, b()(y, "dragIndex")), R));
2724
+ }, m()(y, "dragIndex")), R));
2736
2725
  }
2737
- Pr.propTypes = Dr;
2738
- /* harmony default export */ const Ar = Pr;
2726
+ Ar.propTypes = Pr;
2727
+ /* harmony default export */ const qr = Ar;
2739
2728
  // CONCATENATED MODULE: ./src/Table/KeyboardSensor.ts
2740
- function qr(e) {
2729
+ function _r(e) {
2741
2730
  "@babel/helpers - typeof";
2742
- return qr = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
2731
+ return _r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
2743
2732
  return typeof e;
2744
2733
  } : function(e) {
2745
2734
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2746
- }, qr(e);
2735
+ }, _r(e);
2747
2736
  }
2748
- function _r(e, n) {
2749
- return Mr(e) || $r(e, n) || Wr(e, n) || zr();
2737
+ function zr(e, n) {
2738
+ return Nr(e) || $r(e, n) || Hr(e, n) || Mr();
2750
2739
  }
2751
- function zr() {
2740
+ function Mr() {
2752
2741
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2753
2742
  }
2754
2743
  function $r(e, n) {
@@ -2773,26 +2762,26 @@
2773
2762
  return l;
2774
2763
  }
2775
2764
  }
2776
- function Mr(e) {
2765
+ function Nr(e) {
2777
2766
  if (Array.isArray(e)) return e;
2778
2767
  }
2779
- function Nr(e) {
2780
- return Kr(e) || Hr(e) || Wr(e) || Lr();
2768
+ function Lr(e) {
2769
+ return Br(e) || Kr(e) || Hr(e) || Wr();
2781
2770
  }
2782
- function Lr() {
2771
+ function Wr() {
2783
2772
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2784
2773
  }
2785
- function Wr(e, n) {
2774
+ function Hr(e, n) {
2786
2775
  if (e) {
2787
2776
  if ("string" == typeof e) return Vr(e, n);
2788
2777
  var t = {}.toString.call(e).slice(8, -1);
2789
2778
  return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Vr(e, n) : void 0;
2790
2779
  }
2791
2780
  }
2792
- function Hr(e) {
2781
+ function Kr(e) {
2793
2782
  if ("undefined" != typeof Symbol && null != e[Symbol.iterator] || null != e["@@iterator"]) return Array.from(e);
2794
2783
  }
2795
- function Kr(e) {
2784
+ function Br(e) {
2796
2785
  if (Array.isArray(e)) return Vr(e);
2797
2786
  }
2798
2787
  function Vr(e, n) {
@@ -2802,39 +2791,39 @@
2802
2791
  }
2803
2792
  return r;
2804
2793
  }
2805
- function Br(e, n) {
2794
+ function Fr(e, n) {
2806
2795
  if (!(e instanceof n)) throw new TypeError("Cannot call a class as a function");
2807
2796
  }
2808
- function Fr(e, n) {
2797
+ function Ur(e, n) {
2809
2798
  for (var t = 0; t < n.length; t++) {
2810
2799
  var r = n[t];
2811
2800
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
2812
- Object.defineProperty(e, Yr(r.key), r);
2801
+ Object.defineProperty(e, Gr(r.key), r);
2813
2802
  }
2814
2803
  }
2815
- function Ur(e, n, t) {
2816
- return n && Fr(e.prototype, n), t && Fr(e, t), Object.defineProperty(e, "prototype", {
2804
+ function Xr(e, n, t) {
2805
+ return n && Ur(e.prototype, n), t && Ur(e, t), Object.defineProperty(e, "prototype", {
2817
2806
  writable: !1
2818
2807
  }), e;
2819
2808
  }
2820
- function Xr(e, n, t) {
2821
- return (n = Yr(n)) in e ? Object.defineProperty(e, n, {
2809
+ function Yr(e, n, t) {
2810
+ return (n = Gr(n)) in e ? Object.defineProperty(e, n, {
2822
2811
  value: t,
2823
2812
  enumerable: !0,
2824
2813
  configurable: !0,
2825
2814
  writable: !0
2826
2815
  }) : e[n] = t, e;
2827
2816
  }
2828
- function Yr(e) {
2829
- var n = Gr(e, "string");
2830
- return "symbol" == qr(n) ? n : n + "";
2817
+ function Gr(e) {
2818
+ var n = Jr(e, "string");
2819
+ return "symbol" == _r(n) ? n : n + "";
2831
2820
  }
2832
- function Gr(e, n) {
2833
- if ("object" != qr(e) || !e) return e;
2821
+ function Jr(e, n) {
2822
+ if ("object" != _r(e) || !e) return e;
2834
2823
  var t = e[Symbol.toPrimitive];
2835
2824
  if (void 0 !== t) {
2836
2825
  var r = t.call(e, n || "default");
2837
- if ("object" != qr(r)) return r;
2826
+ if ("object" != _r(r)) return r;
2838
2827
  throw new TypeError("@@toPrimitive must return a primitive value.");
2839
2828
  }
2840
2829
  return ("string" === n ? String : Number)(e);
@@ -2842,21 +2831,21 @@
2842
2831
  // based on https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/sensors/keyboard/KeyboardSensor.ts
2843
2832
  // eslint-disable-next-line max-classes-per-file
2844
2833
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/sensors/utilities/Listeners.ts
2845
- var Jr = function() {
2834
+ var Qr = function() {
2846
2835
  function e(n) {
2847
2836
  var t = this;
2848
- Br(this, e);
2849
- Xr(this, "listeners", []);
2850
- Xr(this, "removeAll", (function() {
2837
+ Fr(this, e);
2838
+ Yr(this, "listeners", []);
2839
+ Yr(this, "removeAll", (function() {
2851
2840
  t.listeners.forEach((function(e) {
2852
2841
  var n;
2853
- return (n = t.target) === null || n === void 0 ? void 0 : n.removeEventListener.apply(n, Nr(e));
2842
+ return (n = t.target) === null || n === void 0 ? void 0 : n.removeEventListener.apply(n, Lr(e));
2854
2843
  }));
2855
2844
  }));
2856
2845
  this.target = n;
2857
2846
  this.target = n;
2858
2847
  }
2859
- Ur(e, [ {
2848
+ Xr(e, [ {
2860
2849
  key: "add",
2861
2850
  value: function e(n, t, r) {
2862
2851
  var o;
@@ -2867,7 +2856,7 @@
2867
2856
  return e;
2868
2857
  }();
2869
2858
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/transform/parseTransform.ts
2870
- function Qr(e) {
2859
+ function Zr(e) {
2871
2860
  if (e.startsWith("matrix3d(")) {
2872
2861
  var n = e.slice(9, -1).split(/, /);
2873
2862
  return {
@@ -2889,8 +2878,8 @@
2889
2878
  return null;
2890
2879
  }
2891
2880
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/transform/inverseTransform.ts
2892
- function Zr(e, n, t) {
2893
- var r = Qr(n);
2881
+ function eo(e, n, t) {
2882
+ var r = Zr(n);
2894
2883
  if (!r) {
2895
2884
  return e;
2896
2885
  }
@@ -2908,17 +2897,17 @@
2908
2897
  left: u
2909
2898
  };
2910
2899
  }
2911
- var eo = {
2900
+ var no = {
2912
2901
  ignoreTransform: false
2913
2902
  };
2914
2903
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/rect/getRect.ts
2915
- function no(e) {
2916
- var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : eo;
2904
+ function to(e) {
2905
+ var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : no;
2917
2906
  var t = e.getBoundingClientRect();
2918
2907
  if (n.ignoreTransform) {
2919
- var r = (0, Kn.getWindow)(e).getComputedStyle(e), o = r.transform, i = r.transformOrigin;
2908
+ var r = (0, Bn.getWindow)(e).getComputedStyle(e), o = r.transform, i = r.transformOrigin;
2920
2909
  if (o) {
2921
- t = Zr(t, o, i);
2910
+ t = eo(t, o, i);
2922
2911
  }
2923
2912
  }
2924
2913
  var a = t, l = a.top, u = a.left, s = a.width, c = a.height, d = a.bottom, f = a.right;
@@ -2931,7 +2920,7 @@
2931
2920
  right: f
2932
2921
  };
2933
2922
  }
2934
- function to(e) {
2923
+ function ro(e) {
2935
2924
  if (e === document.scrollingElement) {
2936
2925
  var n = window, t = n.innerWidth, r = n.innerHeight;
2937
2926
  return {
@@ -2954,19 +2943,19 @@
2954
2943
  };
2955
2944
  }
2956
2945
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/scroll/documentScrollingElement.ts
2957
- function ro(e) {
2958
- if (!Kn.canUseDOM || !e) {
2946
+ function oo(e) {
2947
+ if (!Bn.canUseDOM || !e) {
2959
2948
  return false;
2960
2949
  }
2961
2950
  return e === document.scrollingElement;
2962
2951
  }
2963
2952
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/scroll/getScrollPosition.ts
2964
- function oo(e) {
2953
+ function io(e) {
2965
2954
  var n = {
2966
2955
  x: 0,
2967
2956
  y: 0
2968
2957
  };
2969
- var t = ro(e) ? {
2958
+ var t = oo(e) ? {
2970
2959
  height: window.innerHeight,
2971
2960
  width: window.innerWidth
2972
2961
  } : {
@@ -2991,20 +2980,20 @@
2991
2980
  };
2992
2981
  }
2993
2982
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/coordinates/constants.ts
2994
- var io = {
2983
+ var ao = {
2995
2984
  x: 0,
2996
2985
  y: 0
2997
2986
  };
2998
2987
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/scroll/isFixed.ts
2999
- function ao(e) {
2988
+ function lo(e) {
3000
2989
  var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (0,
3001
- Kn.getWindow)(e).getComputedStyle(e);
2990
+ Bn.getWindow)(e).getComputedStyle(e);
3002
2991
  return n.position === "fixed";
3003
2992
  }
3004
2993
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/scroll/isScrollable.ts
3005
- function lo(e) {
2994
+ function uo(e) {
3006
2995
  var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (0,
3007
- Kn.getWindow)(e).getComputedStyle(e);
2996
+ Bn.getWindow)(e).getComputedStyle(e);
3008
2997
  var t = /(auto|scroll|overlay)/;
3009
2998
  var r = [ "overflow", "overflowX", "overflowY" ];
3010
2999
  return r.some((function(e) {
@@ -3013,7 +3002,7 @@
3013
3002
  }));
3014
3003
  }
3015
3004
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/scroll/getScrollableAncestors.ts
3016
- function uo(e, n) {
3005
+ function so(e, n) {
3017
3006
  var t = [];
3018
3007
  function r(o) {
3019
3008
  if (n != null && t.length >= n) {
@@ -3022,23 +3011,23 @@
3022
3011
  if (!o) {
3023
3012
  return t;
3024
3013
  }
3025
- if ((0, Kn.isDocument)(o) && o.scrollingElement != null && !t.includes(o.scrollingElement)) {
3014
+ if ((0, Bn.isDocument)(o) && o.scrollingElement != null && !t.includes(o.scrollingElement)) {
3026
3015
  t.push(o.scrollingElement);
3027
3016
  return t;
3028
3017
  }
3029
- if (!(0, Kn.isHTMLElement)(o) || (0, Kn.isSVGElement)(o)) {
3018
+ if (!(0, Bn.isHTMLElement)(o) || (0, Bn.isSVGElement)(o)) {
3030
3019
  return t;
3031
3020
  }
3032
3021
  if (t.includes(o)) {
3033
3022
  return t;
3034
3023
  }
3035
- var i = (0, Kn.getWindow)(e).getComputedStyle(o);
3024
+ var i = (0, Bn.getWindow)(e).getComputedStyle(o);
3036
3025
  if (o !== e) {
3037
- if (lo(o, i)) {
3026
+ if (uo(o, i)) {
3038
3027
  t.push(o);
3039
3028
  }
3040
3029
  }
3041
- if (ao(o, i)) {
3030
+ if (lo(o, i)) {
3042
3031
  return t;
3043
3032
  }
3044
3033
  return r(o.parentNode);
@@ -3049,23 +3038,23 @@
3049
3038
  return r(e);
3050
3039
  }
3051
3040
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/scroll/getScrollableAncestors.ts
3052
- function so(e) {
3053
- var n = uo(e, 1), t = _r(n, 1), r = t[0];
3041
+ function co(e) {
3042
+ var n = so(e, 1), t = zr(n, 1), r = t[0];
3054
3043
  return r !== null && r !== void 0 ? r : null;
3055
3044
  }
3056
- var co = {
3045
+ var fo = {
3057
3046
  start: [ o.KeyboardCode.Space, o.KeyboardCode.Enter ],
3058
3047
  cancel: [ o.KeyboardCode.Esc ],
3059
3048
  end: [ o.KeyboardCode.Space, o.KeyboardCode.Enter ]
3060
3049
  };
3061
3050
  // https://github.com/clauderic/dnd-kit/blob/694dcc2f62e5269541fc941fa6c9af46ccd682ad/packages/core/src/utilities/scroll/scrollIntoViewIfNeeded.ts
3062
- function fo(e) {
3063
- var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : no;
3051
+ function vo(e) {
3052
+ var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : to;
3064
3053
  if (!e) {
3065
3054
  return;
3066
3055
  }
3067
3056
  var t = n(e), r = t.top, o = t.left, i = t.bottom, a = t.right;
3068
- var l = so(e);
3057
+ var l = co(e);
3069
3058
  if (!l) {
3070
3059
  return;
3071
3060
  }
@@ -3076,23 +3065,23 @@
3076
3065
  });
3077
3066
  }
3078
3067
  }
3079
- var vo = function() {
3068
+ var po = function() {
3080
3069
  function e(n) {
3081
- Br(this, e);
3082
- Xr(this, "autoScrollEnabled", false);
3083
- Xr(this, "referenceCoordinates", void 0);
3084
- Xr(this, "listeners", void 0);
3085
- Xr(this, "windowListeners", void 0);
3070
+ Fr(this, e);
3071
+ Yr(this, "autoScrollEnabled", false);
3072
+ Yr(this, "referenceCoordinates", void 0);
3073
+ Yr(this, "listeners", void 0);
3074
+ Yr(this, "windowListeners", void 0);
3086
3075
  this.props = n;
3087
3076
  var t = n.event.target;
3088
3077
  this.props = n;
3089
- this.listeners = new Jr((0, Kn.getOwnerDocument)(t));
3090
- this.windowListeners = new Jr((0, Kn.getWindow)(t));
3078
+ this.listeners = new Qr((0, Bn.getOwnerDocument)(t));
3079
+ this.windowListeners = new Qr((0, Bn.getWindow)(t));
3091
3080
  this.handleKeyDown = this.handleKeyDown.bind(this);
3092
3081
  this.handleCancel = this.handleCancel.bind(this);
3093
3082
  this.attach();
3094
3083
  }
3095
- Ur(e, [ {
3084
+ Xr(e, [ {
3096
3085
  key: "attach",
3097
3086
  value: function e() {
3098
3087
  var n = this;
@@ -3109,16 +3098,16 @@
3109
3098
  var n = this.props, t = n.activeNode, r = n.onStart;
3110
3099
  var o = t.node.current;
3111
3100
  if (o) {
3112
- fo(o);
3101
+ vo(o);
3113
3102
  }
3114
- r(io);
3103
+ r(ao);
3115
3104
  }
3116
3105
  }, {
3117
3106
  key: "handleKeyDown",
3118
3107
  value: function e(n) {
3119
- if ((0, Kn.isKeyboardEvent)(n)) {
3108
+ if ((0, Bn.isKeyboardEvent)(n)) {
3120
3109
  var t = this.props, r = t.active, i = t.context, a = t.options;
3121
- var l = a.keyboardCodes, u = l === void 0 ? co : l, s = a.coordinateGetter, c = a.scrollBehavior, d = c === void 0 ? "smooth" : c;
3110
+ var l = a.keyboardCodes, u = l === void 0 ? fo : l, s = a.coordinateGetter, c = a.scrollBehavior, d = c === void 0 ? "smooth" : c;
3122
3111
  var f = n.code;
3123
3112
  if (u.end.includes(f)) {
3124
3113
  this.handleEnd(n);
@@ -3132,7 +3121,7 @@
3132
3121
  var p = v ? {
3133
3122
  x: v.left,
3134
3123
  y: v.top
3135
- } : io;
3124
+ } : ao;
3136
3125
  if (!this.referenceCoordinates) {
3137
3126
  this.referenceCoordinates = p;
3138
3127
  }
@@ -3142,7 +3131,7 @@
3142
3131
  currentCoordinates: p
3143
3132
  });
3144
3133
  if (m) {
3145
- var b = (0, Kn.subtract)(m, p);
3134
+ var b = (0, Bn.subtract)(m, p);
3146
3135
  var h = {
3147
3136
  x: 0,
3148
3137
  y: 0
@@ -3151,8 +3140,8 @@
3151
3140
  for (var g = 0; g < y.length; g += 1) {
3152
3141
  var w = y[g];
3153
3142
  var C = n.code;
3154
- var x = oo(w), S = x.isTop, O = x.isRight, k = x.isLeft, R = x.isBottom, E = x.maxScroll, I = x.minScroll;
3155
- var T = to(w);
3143
+ var x = io(w), S = x.isTop, O = x.isRight, k = x.isLeft, R = x.isBottom, E = x.maxScroll, I = x.minScroll;
3144
+ var T = ro(w);
3156
3145
  // isDraggableNodeVerticallyInView and isDraggableNodeHorizontallyInView are custom
3157
3146
  // we want to scroll only when a dragging node will be out of view,
3158
3147
  // originally it tries to always place a dragging node in the middle of the container
@@ -3186,8 +3175,8 @@
3186
3175
  break;
3187
3176
  } else if (A) {
3188
3177
  var z = w.scrollTop + b.y;
3189
- var $ = C === o.KeyboardCode.Down && z <= E.y || C === o.KeyboardCode.Up && z >= I.y;
3190
- if ($ && !b.x) {
3178
+ var M = C === o.KeyboardCode.Down && z <= E.y || C === o.KeyboardCode.Up && z >= I.y;
3179
+ if (M && !b.x) {
3191
3180
  // We don't need to update coordinates, the scroll adjustment alone will trigger
3192
3181
  // logic to auto-detect the new container we are over
3193
3182
  w.scrollTo({
@@ -3196,7 +3185,7 @@
3196
3185
  });
3197
3186
  return;
3198
3187
  }
3199
- if ($) {
3188
+ if (M) {
3200
3189
  h.y = w.scrollTop - z;
3201
3190
  } else {
3202
3191
  h.y = C === o.KeyboardCode.Down ? w.scrollTop - E.y : w.scrollTop - I.y;
@@ -3210,7 +3199,7 @@
3210
3199
  break;
3211
3200
  }
3212
3201
  }
3213
- this.handleMove(n, (0, Kn.add)((0, Kn.subtract)(m, this.referenceCoordinates), h));
3202
+ this.handleMove(n, (0, Bn.add)((0, Bn.subtract)(m, this.referenceCoordinates), h));
3214
3203
  }
3215
3204
  }
3216
3205
  }
@@ -3246,10 +3235,10 @@
3246
3235
  } ]);
3247
3236
  return e;
3248
3237
  }();
3249
- Xr(vo, "activators", [ {
3238
+ Yr(po, "activators", [ {
3250
3239
  eventName: "onKeyDown",
3251
3240
  handler: function e(n, t, r) {
3252
- var o = t.keyboardCodes, i = o === void 0 ? co : o, a = t.onActivation;
3241
+ var o = t.keyboardCodes, i = o === void 0 ? fo : o, a = t.onActivation;
3253
3242
  var l = r.active;
3254
3243
  var u = n.nativeEvent.code;
3255
3244
  if (i.start.includes(u)) {
@@ -3267,15 +3256,15 @@
3267
3256
  }
3268
3257
  } ]);
3269
3258
  // CONCATENATED MODULE: ./src/utils/getBoundingClientRect.ts
3270
- function po(e) {
3259
+ function mo(e) {
3271
3260
  "@babel/helpers - typeof";
3272
- return po = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
3261
+ return mo = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
3273
3262
  return typeof e;
3274
3263
  } : function(e) {
3275
3264
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
3276
- }, po(e);
3265
+ }, mo(e);
3277
3266
  }
3278
- function mo(e, n) {
3267
+ function bo(e, n) {
3279
3268
  var t = Object.keys(e);
3280
3269
  if (Object.getOwnPropertySymbols) {
3281
3270
  var r = Object.getOwnPropertySymbols(e);
@@ -3285,46 +3274,46 @@
3285
3274
  }
3286
3275
  return t;
3287
3276
  }
3288
- function bo(e) {
3277
+ function ho(e) {
3289
3278
  for (var n = 1; n < arguments.length; n++) {
3290
3279
  var t = null != arguments[n] ? arguments[n] : {};
3291
- n % 2 ? mo(Object(t), !0).forEach((function(n) {
3292
- ho(e, n, t[n]);
3293
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : mo(Object(t)).forEach((function(n) {
3280
+ n % 2 ? bo(Object(t), !0).forEach((function(n) {
3281
+ yo(e, n, t[n]);
3282
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : bo(Object(t)).forEach((function(n) {
3294
3283
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
3295
3284
  }));
3296
3285
  }
3297
3286
  return e;
3298
3287
  }
3299
- function ho(e, n, t) {
3300
- return (n = yo(n)) in e ? Object.defineProperty(e, n, {
3288
+ function yo(e, n, t) {
3289
+ return (n = go(n)) in e ? Object.defineProperty(e, n, {
3301
3290
  value: t,
3302
3291
  enumerable: !0,
3303
3292
  configurable: !0,
3304
3293
  writable: !0
3305
3294
  }) : e[n] = t, e;
3306
3295
  }
3307
- function yo(e) {
3308
- var n = go(e, "string");
3309
- return "symbol" == po(n) ? n : n + "";
3296
+ function go(e) {
3297
+ var n = wo(e, "string");
3298
+ return "symbol" == mo(n) ? n : n + "";
3310
3299
  }
3311
- function go(e, n) {
3312
- if ("object" != po(e) || !e) return e;
3300
+ function wo(e, n) {
3301
+ if ("object" != mo(e) || !e) return e;
3313
3302
  var t = e[Symbol.toPrimitive];
3314
3303
  if (void 0 !== t) {
3315
3304
  var r = t.call(e, n || "default");
3316
- if ("object" != po(r)) return r;
3305
+ if ("object" != mo(r)) return r;
3317
3306
  throw new TypeError("@@toPrimitive must return a primitive value.");
3318
3307
  }
3319
3308
  return ("string" === n ? String : Number)(e);
3320
3309
  }
3321
3310
  // Checks if browser is Safari
3322
- function wo() {
3311
+ function Co() {
3323
3312
  return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
3324
3313
  }
3325
3314
  // Formats return value to DOMRect
3326
- function Co(e) {
3327
- return bo(bo({}, e), {}, {
3315
+ function xo(e) {
3316
+ return ho(ho({}, e), {}, {
3328
3317
  top: e.y,
3329
3318
  left: e.x,
3330
3319
  right: e.x + e.width,
@@ -3338,18 +3327,18 @@
3338
3327
  * @param {boolean} offsets - Use when position of element relative to the layout viewport offsets are needed for Safari.
3339
3328
  * @returns {Omit<DOMRect, 'toJSON'>}
3340
3329
  * @public
3341
- */ function xo(e, n) {
3330
+ */ function So(e, n) {
3342
3331
  var t, r;
3343
3332
  var o = e.getBoundingClientRect();
3344
- var i = wo();
3333
+ var i = Co();
3345
3334
  if (!n || !i) {
3346
3335
  return o;
3347
3336
  }
3348
- var a = cn();
3337
+ var a = dn();
3349
3338
  var l = o.left + (((t = a.visualViewport) === null || t === void 0 ? void 0 : t.offsetLeft) || 0);
3350
3339
  var u = o.top + (((r = a.visualViewport) === null || r === void 0 ? void 0 : r.offsetTop) || 0);
3351
3340
  var s = o.width, c = o.height;
3352
- return Co({
3341
+ return xo({
3353
3342
  width: s,
3354
3343
  height: c,
3355
3344
  x: l,
@@ -3366,14 +3355,14 @@
3366
3355
  // erroneously included in react-ui's public api.
3367
3356
  // see https://github.com/microsoft/TypeScript/pull/12253
3368
3357
  // see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html
3369
- function So(e, n) {
3358
+ function Oo(e, n) {
3370
3359
  if (e === undefined || e === null) {
3371
3360
  throw new Error(n !== null && n !== void 0 ? n : "Unexpected undefined or null");
3372
3361
  }
3373
3362
  }
3374
3363
  // CONCATENATED MODULE: ./src/Table/Table.tsx
3375
- function Oo() {
3376
- return Oo = Object.assign ? Object.assign.bind() : function(e) {
3364
+ function ko() {
3365
+ return ko = Object.assign ? Object.assign.bind() : function(e) {
3377
3366
  for (var n = 1; n < arguments.length; n++) {
3378
3367
  var t = arguments[n];
3379
3368
  for (var r in t) {
@@ -3381,41 +3370,41 @@
3381
3370
  }
3382
3371
  }
3383
3372
  return e;
3384
- }, Oo.apply(null, arguments);
3373
+ }, ko.apply(null, arguments);
3385
3374
  }
3386
- function ko(e) {
3387
- return Io(e) || Eo(e) || Do(e) || Ro();
3375
+ function Ro(e) {
3376
+ return To(e) || Io(e) || Po(e) || Eo();
3388
3377
  }
3389
- function Ro() {
3378
+ function Eo() {
3390
3379
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3391
3380
  }
3392
- function Eo(e) {
3381
+ function Io(e) {
3393
3382
  if ("undefined" != typeof Symbol && null != e[Symbol.iterator] || null != e["@@iterator"]) return Array.from(e);
3394
3383
  }
3395
- function Io(e) {
3396
- if (Array.isArray(e)) return Po(e);
3384
+ function To(e) {
3385
+ if (Array.isArray(e)) return Ao(e);
3397
3386
  }
3398
- function To(e, n) {
3399
- return qo(e) || Ao(e, n) || Do(e, n) || jo();
3387
+ function jo(e, n) {
3388
+ return _o(e) || qo(e, n) || Po(e, n) || Do();
3400
3389
  }
3401
- function jo() {
3390
+ function Do() {
3402
3391
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3403
3392
  }
3404
- function Do(e, n) {
3393
+ function Po(e, n) {
3405
3394
  if (e) {
3406
- if ("string" == typeof e) return Po(e, n);
3395
+ if ("string" == typeof e) return Ao(e, n);
3407
3396
  var t = {}.toString.call(e).slice(8, -1);
3408
- return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Po(e, n) : void 0;
3397
+ return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Ao(e, n) : void 0;
3409
3398
  }
3410
3399
  }
3411
- function Po(e, n) {
3400
+ function Ao(e, n) {
3412
3401
  (null == n || n > e.length) && (n = e.length);
3413
3402
  for (var t = 0, r = Array(n); t < n; t++) {
3414
3403
  r[t] = e[t];
3415
3404
  }
3416
3405
  return r;
3417
3406
  }
3418
- function Ao(e, n) {
3407
+ function qo(e, n) {
3419
3408
  var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
3420
3409
  if (null != t) {
3421
3410
  var r, o, i, a, l = [], u = !0, s = !1;
@@ -3437,12 +3426,12 @@
3437
3426
  return l;
3438
3427
  }
3439
3428
  }
3440
- function qo(e) {
3429
+ function _o(e) {
3441
3430
  if (Array.isArray(e)) return e;
3442
3431
  }
3443
- function _o(e, n) {
3432
+ function zo(e, n) {
3444
3433
  if (null == e) return {};
3445
- var t, r, o = zo(e, n);
3434
+ var t, r, o = Mo(e, n);
3446
3435
  if (Object.getOwnPropertySymbols) {
3447
3436
  var i = Object.getOwnPropertySymbols(e);
3448
3437
  for (r = 0; r < i.length; r++) {
@@ -3451,7 +3440,7 @@
3451
3440
  }
3452
3441
  return o;
3453
3442
  }
3454
- function zo(e, n) {
3443
+ function Mo(e, n) {
3455
3444
  if (null == e) return {};
3456
3445
  var t = {};
3457
3446
  for (var r in e) {
@@ -3468,53 +3457,53 @@
3468
3457
  /** @public */
3469
3458
  /** @public */
3470
3459
  /** @public */ var $o = {
3471
- actions: w().arrayOf(w().element),
3472
- actionsColumnWidth: w().number,
3473
- children: w().node,
3474
- dockOffset: w().number,
3475
- dockScrollBar: w().bool,
3476
- elementRef: w().oneOfType([ w().func, w().object ]),
3477
- headType: w().oneOf([ "docked", "fixed", "inline" ]),
3478
- horizontalOverflow: w().oneOf([ "auto", "scroll" ]),
3479
- innerStyle: w().object,
3480
- onRequestToggleAllRows: w().func,
3481
- onScroll: w().func,
3482
- outerStyle: w().object,
3483
- pinnedColumns: w().object,
3484
- primaryColumnIndex: w().number,
3485
- rowExpansion: w().oneOf([ "single", "multi", "controlled", "none" ]),
3486
- rowSelection: w().oneOf([ "all", "some", "none" ]),
3487
- stripeRows: w().bool,
3488
- tableStyle: w().object,
3489
- onRequestMoveColumn: w().func,
3490
- onRequestMoveRow: w().func,
3491
- onRequestResizeColumn: w().func,
3492
- resizableFillLayout: w().bool
3460
+ actions: g().arrayOf(g().element),
3461
+ actionsColumnWidth: g().number,
3462
+ children: g().node,
3463
+ dockOffset: g().number,
3464
+ dockScrollBar: g().bool,
3465
+ elementRef: g().oneOfType([ g().func, g().object ]),
3466
+ headType: g().oneOf([ "docked", "fixed", "inline" ]),
3467
+ horizontalOverflow: g().oneOf([ "auto", "scroll" ]),
3468
+ innerStyle: g().object,
3469
+ onRequestToggleAllRows: g().func,
3470
+ onScroll: g().func,
3471
+ outerStyle: g().object,
3472
+ pinnedColumns: g().object,
3473
+ primaryColumnIndex: g().number,
3474
+ rowExpansion: g().oneOf([ "single", "multi", "controlled", "none" ]),
3475
+ rowSelection: g().oneOf([ "all", "some", "none" ]),
3476
+ stripeRows: g().bool,
3477
+ tableStyle: g().object,
3478
+ onRequestMoveColumn: g().func,
3479
+ onRequestMoveRow: g().func,
3480
+ onRequestResizeColumn: g().func,
3481
+ resizableFillLayout: g().bool
3493
3482
  };
3494
- var Mo = function e(n) {
3483
+ var No = function e(n) {
3495
3484
  return n === "inline";
3496
3485
  };
3497
- var No = function e(n) {
3486
+ var Lo = function e(n) {
3498
3487
  return n === "docked";
3499
3488
  };
3500
- var Lo = function e(n) {
3489
+ var Wo = function e(n) {
3501
3490
  return n === "fixed";
3502
3491
  };
3503
- var Wo = function e(n) {
3504
- var t = cn();
3505
- var r = xo(n);
3492
+ var Ho = function e(n) {
3493
+ var t = dn();
3494
+ var r = So(n);
3506
3495
  return {
3507
3496
  top: r.top + t.pageYOffset,
3508
3497
  left: r.left + t.pageXOffset
3509
3498
  };
3510
3499
  };
3511
- var Ho = function e(n) {
3512
- var t = an();
3500
+ var Ko = function e(n) {
3501
+ var t = ln();
3513
3502
  if (n === undefined || n === null) {
3514
3503
  return undefined;
3515
3504
  }
3516
3505
  var r = n.children[0].children;
3517
- var o = d()(r, t.activeElement);
3506
+ var o = c()(r, t.activeElement);
3518
3507
  if (o > -1) {
3519
3508
  return {
3520
3509
  target: "headCell",
@@ -3522,7 +3511,7 @@
3522
3511
  };
3523
3512
  }
3524
3513
  var i = n.querySelectorAll("[data-test=resize]");
3525
- var a = d()(i, t.activeElement);
3514
+ var a = c()(i, t.activeElement);
3526
3515
  if (a > -1) {
3527
3516
  return {
3528
3517
  target: "resizeButton",
@@ -3531,20 +3520,20 @@
3531
3520
  }
3532
3521
  return undefined;
3533
3522
  };
3534
- var Ko = function e(n, t) {
3523
+ var Bo = function e(n, t) {
3535
3524
  return n.indexOf(t) + 1;
3536
3525
  };
3537
3526
  var Vo = function e(n, t) {
3538
3527
  return n.indexOf(t) + 1;
3539
3528
  };
3540
- var Bo = {
3541
- coordinateGetter: a.sortableKeyboardCoordinates
3542
- };
3543
3529
  var Fo = {
3544
- draggable: (0, T._)("To pick up a sortable row, press space or enter.\n Use the up and down arrow keys to update the position of the row.\n Press space or enter again to drop the row in its new position, or press escape to cancel.")
3530
+ coordinateGetter: a.sortableKeyboardCoordinates
3545
3531
  };
3546
3532
  var Uo = {
3547
- draggable: (0, T._)("To pick up a sortable column, press space or enter.\n Use the left and right arrow keys to update the position of the column.\n Press space or enter again to drop the column in its new position, or press escape to cancel.")
3533
+ draggable: (0, I._)("To pick up a sortable row, press space or enter.\n Use the up and down arrow keys to update the position of the row.\n Press space or enter again to drop the row in its new position, or press escape to cancel.")
3534
+ };
3535
+ var Xo = {
3536
+ draggable: (0, I._)("To pick up a sortable column, press space or enter.\n Use the left and right arrow keys to update the position of the column.\n Press space or enter again to drop the column in its new position, or press escape to cancel.")
3548
3537
  };
3549
3538
  /**
3550
3539
  * @private
@@ -3555,7 +3544,7 @@
3555
3544
  * @param {String} headFocusState.target - Focus can be applied to a 'headCell' or a
3556
3545
  * 'resizeButton'.
3557
3546
  * @param {Number} headFocusState.index - The index of the element to set focus on.
3558
- */ function Xo(e, n) {
3547
+ */ function Yo(e, n) {
3559
3548
  var t, r;
3560
3549
  var o = n.target, i = n.index;
3561
3550
  if (false) {}
@@ -3568,160 +3557,165 @@
3568
3557
  if (false) {}
3569
3558
  (t = a) === null || t === void 0 ? void 0 : (r = t.focus) === null || r === void 0 ? void 0 : r.call(t);
3570
3559
  }
3571
- var Yo = {
3560
+ var Go = {
3572
3561
  passive: false,
3573
3562
  capture: true
3574
3563
  };
3575
- var Go = [];
3576
- function Jo(e) {
3577
- var n = e.actions, l = n === void 0 ? Go : n, s = e.actionsColumnWidth, c = e.children, d = e.dockOffset, f = d === void 0 ? 0 : d, p = e.dockScrollBar, m = e.elementRef, h = e.headType, g = h === void 0 ? "inline" : h, w = e.horizontalOverflow, C = w === void 0 ? "auto" : w, O = e.innerStyle, R = e.onRequestMoveColumn, D = e.onRequestMoveRow, P = e.onRequestResizeColumn, A = e.onRequestToggleAllRows, q = e.onScroll, _ = e.outerStyle, z = e.pinnedColumns, $ = e.primaryColumnIndex, M = $ === void 0 ? 0 : $, L = e.resizableFillLayout, W = e.rowExpansion, H = W === void 0 ? "none" : W, K = e.rowSelection, V = K === void 0 ? "none" : K, B = e.stripeRows, F = e.tableStyle, U = _o(e, [ "actions", "actionsColumnWidth", "children", "dockOffset", "dockScrollBar", "elementRef", "headType", "horizontalOverflow", "innerStyle", "onRequestMoveColumn", "onRequestMoveRow", "onRequestResizeColumn", "onRequestToggleAllRows", "onScroll", "outerStyle", "pinnedColumns", "primaryColumnIndex", "resizableFillLayout", "rowExpansion", "rowSelection", "stripeRows", "tableStyle" ]);
3578
- // @docs-props-type TablePropsBase
3579
- var X = (0, t.useState)([]), Y = To(X, 2), G = Y[0], J = Y[1];
3580
- var re = (0, t.useState)(), ae = To(re, 2), le = ae[0], ue = ae[1];
3581
- var se = (0, t.useState)(), ce = To(se, 2), de = ce[0], fe = ce[1];
3582
- var ve = (0, t.useState)(), pe = To(ve, 2), me = pe[0], be = pe[1];
3583
- var he = (0, t.useState)(), ge = To(he, 2), we = ge[0], Ce = ge[1];
3584
- var xe = (0, t.useRef)(true);
3585
- var Se = (0, t.useContext)(S.ScrollContainerContext);
3586
- var Oe = (0, o.useSensors)((0, o.useSensor)(o.MouseSensor, {}), (0, o.useSensor)(o.TouchSensor, {}), (0,
3587
- o.useSensor)(vo, Bo));
3588
- var ke = (0, t.useState)([]), Re = To(ke, 2), Ee = Re[0], Ie = Re[1];
3589
- var Te = (0, t.useState)(-1), je = To(Te, 2), De = je[0], Pe = je[1];
3590
- var Ae = (0, t.useRef)();
3564
+ var Jo = [];
3565
+ function Qo(e) {
3566
+ var n;
3567
+ var l = e.actions, s = l === void 0 ? Jo : l, c = e.actionsColumnWidth, d = e.children, v = e.dockOffset, p = v === void 0 ? 0 : v, b = e.dockScrollBar, y = e.elementRef, g = e.headType, w = g === void 0 ? "inline" : g, S = e.horizontalOverflow, k = S === void 0 ? "auto" : S, j = e.innerStyle, D = e.onRequestMoveColumn, P = e.onRequestMoveRow, A = e.onRequestResizeColumn, q = e.onRequestToggleAllRows, _ = e.onScroll, z = e.outerStyle, M = e.pinnedColumns, $ = e.primaryColumnIndex, L = $ === void 0 ? 0 : $, W = e.resizableFillLayout, H = e.rowExpansion, K = H === void 0 ? "none" : H, B = e.rowSelection, V = B === void 0 ? "none" : B, F = e.stripeRows, U = e.tableStyle, X = zo(e, [ "actions", "actionsColumnWidth", "children", "dockOffset", "dockScrollBar", "elementRef", "headType", "horizontalOverflow", "innerStyle", "onRequestMoveColumn", "onRequestMoveRow", "onRequestResizeColumn", "onRequestToggleAllRows", "onScroll", "outerStyle", "pinnedColumns", "primaryColumnIndex", "resizableFillLayout", "rowExpansion", "rowSelection", "stripeRows", "tableStyle" ]);
3568
+ // @docs-props-type TablePropsBase
3569
+ var Y = (0, t.useState)([]), G = jo(Y, 2), J = G[0], Q = G[1];
3570
+ var oe = (0, t.useState)(), le = jo(oe, 2), ue = le[0], se = le[1];
3571
+ var ce = (0, t.useState)(), de = jo(ce, 2), fe = de[0], ve = de[1];
3572
+ var pe = (0, t.useState)(), me = jo(pe, 2), be = me[0], he = me[1];
3573
+ var ye = (0, t.useState)(), we = jo(ye, 2), Ce = we[0], xe = we[1];
3574
+ var Se = (0, t.useRef)(true);
3575
+ var Oe = (0, t.useContext)(x.ScrollContainerContext);
3576
+ var ke = (0, o.useSensors)((0, o.useSensor)(o.MouseSensor, {}), (0, o.useSensor)(o.TouchSensor, {}), (0,
3577
+ o.useSensor)(po, Fo));
3578
+ var Re = (0, t.useState)([]), Ee = jo(Re, 2), Ie = Ee[0], Te = Ee[1];
3579
+ var je = (0, t.useState)(-1), De = jo(je, 2), Pe = De[0], Ae = De[1];
3591
3580
  var qe = (0, t.useRef)();
3592
- var _e = (0, t.useState)(), ze = To(_e, 2), $e = ze[0], Me = ze[1];
3593
- var Ne = (0, t.useRef)(null);
3581
+ var _e = (0, t.useRef)();
3582
+ var ze = (0, t.useState)(), Me = jo(ze, 2), $e = Me[0], Ne = Me[1];
3594
3583
  var Le = (0, t.useRef)(null);
3595
- var We = (0, t.useRef)();
3596
- var He = (0, t.useRef)(null);
3597
- var Ke = (0, t.useRef)();
3584
+ var We = (0, t.useRef)(null);
3585
+ var He = (0, t.useRef)();
3586
+ var Ke = (0, t.useRef)(null);
3587
+ var Be = (0, t.useRef)();
3598
3588
  var Ve = (0, t.useRef)(null);
3599
- var Be = (0, t.useRef)(null);
3600
- var Fe = k()(g);
3601
- var Ue = (0, t.useRef)([]);
3589
+ var Fe = (0, t.useRef)(null);
3590
+ var Ue = O()(w);
3602
3591
  var Xe = (0, t.useRef)([]);
3603
3592
  var Ye = (0, t.useRef)([]);
3604
3593
  var Ge = (0, t.useRef)([]);
3605
- var Je = Xe.current;
3606
- var Qe = Ue.current;
3607
- var Ze = Ge.current;
3608
- var en = (0, t.useCallback)((function() {
3594
+ var Je = (0, t.useRef)([]);
3595
+ var Qe = Ye.current;
3596
+ var Ze = Xe.current;
3597
+ var en = Je.current;
3598
+ var nn = (0, t.useCallback)((function() {
3609
3599
  var e;
3610
- var n = cn();
3611
- if (Mo(g)) {
3600
+ var n = dn();
3601
+ if (No(w)) {
3612
3602
  return;
3613
3603
  }
3614
- var t = Be.current;
3615
- var r = Le.current;
3604
+ var t = Fe.current;
3605
+ var r = We.current;
3616
3606
  var o = Ve.current;
3617
3607
  if (!o || !r) {
3618
3608
  return;
3619
3609
  }
3620
- var i = Qt(Le.current);
3621
- var a = (e = Le.current) === null || e === void 0 ? void 0 : e.clientHeight;
3622
- var l = Wo(o).top - n.pageYOffset - (a || 0) + o.offsetHeight;
3623
- var u = Math.min(l, Number(f));
3624
- Ce(t === null || t === void 0 ? void 0 : t.clientWidth);
3625
- fe(o === null || o === void 0 ? void 0 : o.clientWidth);
3626
- J(i);
3627
- be(u);
3628
- }), [ f, g ]);
3610
+ var i = Zt(We.current);
3611
+ var a = (e = We.current) === null || e === void 0 ? void 0 : e.clientHeight;
3612
+ var l = Ho(o).top - n.pageYOffset - (a || 0) + o.offsetHeight;
3613
+ var u = Math.min(l, Number(p));
3614
+ xe(t === null || t === void 0 ? void 0 : t.clientWidth);
3615
+ ve(o === null || o === void 0 ? void 0 : o.clientWidth);
3616
+ Q(i);
3617
+ he(u);
3618
+ }), [ p, w ]);
3619
+ // Use arguments[0] (raw props) to check if `style` was explicitly passed by the caller.
3620
+ // This avoids relying on the defaulted/destructured props object.
3621
+ // eslint-disable-next-line prefer-rest-params
3622
+ var tn = (n = arguments[0]) === null || n === void 0 ? void 0 : n.style;
3629
3623
  (0, t.useEffect)((function() {
3630
- var e = Le.current;
3631
- var n = He.current;
3624
+ var e = We.current;
3625
+ var n = Ke.current;
3632
3626
  if (e && n) {
3633
- var t = Qt(Le.current);
3634
- if (!v()(G, t)) {
3635
- en();
3627
+ var t = Zt(We.current);
3628
+ if (!f()(J, t)) {
3629
+ nn();
3636
3630
  }
3637
3631
  }
3638
- if (Fe === "inline" && g === "inline") {
3639
- en();
3632
+ if (Ue === "inline" && w === "inline") {
3633
+ nn();
3640
3634
  }
3641
3635
  if (false) {}
3642
- }), [ G, g, Fe, e, en ]);
3636
+ }), [ J, w, Ue, tn, nn ]);
3643
3637
  (0, t.useEffect)((function() {
3644
3638
  if (false) {}
3645
- }), [ z, C ]);
3646
- var nn = (0, t.useCallback)((function(e) {
3647
- var n = Be.current;
3648
- q === null || q === void 0 ? void 0 : q(e);
3649
- if ((Lo(g) || No(g)) && n) {
3650
- ue(-n.scrollLeft);
3651
- }
3652
- if (Ne.current && Ke.current !== "dockedScrollBar" && n) {
3653
- Ke.current = "container";
3654
- Ne.current.scrollLeft = n.scrollLeft;
3639
+ }), [ M, k ]);
3640
+ var rn = (0, t.useCallback)((function(e) {
3641
+ var n = Fe.current;
3642
+ _ === null || _ === void 0 ? void 0 : _(e);
3643
+ if ((Wo(w) || Lo(w)) && n) {
3644
+ se(-n.scrollLeft);
3645
+ }
3646
+ if (Le.current && Be.current !== "dockedScrollBar" && n) {
3647
+ Be.current = "container";
3648
+ Le.current.scrollLeft = n.scrollLeft;
3655
3649
  } else {
3656
- Ke.current = undefined;
3657
- }
3658
- }), [ g, q ]);
3659
- var tn = function e() {
3660
- var n = Be.current;
3661
- if (Ke.current !== "container" && n && Ne.current) {
3662
- Ke.current = "dockedScrollBar";
3663
- n.scrollLeft = Ne.current.scrollLeft;
3650
+ Be.current = undefined;
3651
+ }
3652
+ }), [ w, _ ]);
3653
+ var on = function e() {
3654
+ var n = Fe.current;
3655
+ if (Be.current !== "container" && n && Le.current) {
3656
+ Be.current = "dockedScrollBar";
3657
+ n.scrollLeft = Le.current.scrollLeft;
3664
3658
  } else {
3665
- Ke.current = undefined;
3659
+ Be.current = undefined;
3666
3660
  }
3667
3661
  };
3668
- var rn = y()(en, 0);
3669
- var on = (0, t.useCallback)((function() {
3670
- en();
3671
- }), [ en ]);
3672
- var ln = (0, t.useMemo)((function() {
3673
- return y()(on, 50);
3674
- }), [ on ]);
3675
- E()(Be, ln);
3662
+ var an = h()(nn, 0);
3663
+ var un = (0, t.useCallback)((function() {
3664
+ nn();
3665
+ }), [ nn ]);
3666
+ var sn = (0, t.useMemo)((function() {
3667
+ return h()(un, 50);
3668
+ }), [ un ]);
3669
+ R()(Fe, sn);
3676
3670
  (0, t.useEffect)((function() {
3677
3671
  // Using the return value of useCallback to recreate componentWillUnmount
3678
3672
  return function() {
3679
- rn.cancel();
3680
- ln.cancel();
3673
+ an.cancel();
3674
+ sn.cancel();
3681
3675
  };
3682
3676
  }));
3683
- var un = function e(n) {
3677
+ var cn = function e(n) {
3684
3678
  return function(e) {
3685
- Le.current = e;
3679
+ We.current = e;
3686
3680
  N(n.props.elementRef, e);
3687
3681
  };
3688
3682
  };
3689
- var sn = function e(n) {
3683
+ var fn = function e(n) {
3690
3684
  if (n) {
3691
3685
  // On mount, focus the applicable docked head cell if a primary head cell was focused.
3692
- if (We.current) {
3693
- Xo(He.current, We.current);
3694
- We.current = undefined;
3686
+ if (He.current) {
3687
+ Yo(Ke.current, He.current);
3688
+ He.current = undefined;
3695
3689
  }
3696
3690
  } else {
3697
3691
  // On unmount, focus the applicable primary head cell if a docked head cell was focused.
3698
- var t = Ho(He.current);
3692
+ var t = Ko(Ke.current);
3699
3693
  if (t) {
3700
- Xo(Le.current, t);
3694
+ Yo(We.current, t);
3701
3695
  }
3702
3696
  }
3703
- He.current = n;
3697
+ Ke.current = n;
3704
3698
  };
3705
- var dn = function e(n) {
3706
- var t = Be.current;
3707
- if (!He.current || !t || n.key !== "Tab") {
3699
+ var vn = function e(n) {
3700
+ var t = Fe.current;
3701
+ if (!Ke.current || !t || n.key !== "Tab") {
3708
3702
  return;
3709
3703
  }
3710
- var r = He.current.scrollLeft;
3704
+ var r = Ke.current.scrollLeft;
3711
3705
  if (r !== 0) {
3712
- He.current.scrollLeft = 0;
3706
+ Ke.current.scrollLeft = 0;
3713
3707
  t.scrollLeft += r;
3714
3708
  }
3715
3709
  };
3716
- var fn = function e(n, t) {
3710
+ var pn = function e(n, t) {
3717
3711
  var r, o;
3718
3712
  var i = t.columnId, a = t.index, l = t.id;
3719
- var s = an();
3713
+ var s = ln();
3720
3714
  if (a === undefined) {
3721
3715
  return;
3722
3716
  }
3723
- var c = H === "none" ? 1 : 2;
3724
- var d = (r = Be.current) === null || r === void 0 ? void 0 : r.querySelectorAll("thead th:nth-child(".concat(a + c, "), tbody td:nth-child(").concat(a + c, ")"));
3717
+ var c = K === "none" ? 1 : 2;
3718
+ var d = (r = Fe.current) === null || r === void 0 ? void 0 : r.querySelectorAll("thead th:nth-child(".concat(a + c, "), tbody td:nth-child(").concat(a + c, ")"));
3725
3719
  var f = s.createElement("div");
3726
3720
  // TODO: find a styled-components compliant way to do this
3727
3721
  f.style["float"] = "left";
@@ -3738,7 +3732,7 @@
3738
3732
  f.appendChild(n);
3739
3733
  }));
3740
3734
  s.body.appendChild(f);
3741
- P === null || P === void 0 ? void 0 : P(n, {
3735
+ A === null || A === void 0 ? void 0 : A(n, {
3742
3736
  columnId: i,
3743
3737
  id: l,
3744
3738
  index: a,
@@ -3746,72 +3740,72 @@
3746
3740
  });
3747
3741
  (o = f.parentNode) === null || o === void 0 ? void 0 : o.removeChild(f);
3748
3742
  };
3749
- var vn = (0, t.useCallback)((function(e) {
3743
+ var mn = (0, t.useCallback)((function(e) {
3750
3744
  var n = e.active;
3751
3745
  var t = n.id;
3752
- Ae.current = Ze.indexOf(t);
3753
- Me(t);
3754
- }), [ Ze ]);
3755
- var pn = (0, t.useCallback)((function(e) {
3746
+ qe.current = en.indexOf(t);
3747
+ Ne(t);
3748
+ }), [ en ]);
3749
+ var bn = (0, t.useCallback)((function(e) {
3756
3750
  if (e.over) {
3757
3751
  var n = e.over.id;
3758
- var t = Ze.indexOf(n);
3752
+ var t = en.indexOf(n);
3759
3753
  var r = t;
3760
- if (Ae.current !== undefined && t > Ae.current) {
3754
+ if (qe.current !== undefined && t > qe.current) {
3761
3755
  r = t + 1;
3762
3756
  }
3763
- Pe(r);
3757
+ Ae(r);
3764
3758
  } else {
3765
- Pe(-1);
3759
+ Ae(-1);
3766
3760
  }
3767
- }), [ Ze ]);
3761
+ }), [ en ]);
3768
3762
  // these are useMemo rather than useCallback so that ESLint can correctly analyze the dependencies
3769
3763
  // see https://github.com/facebook/react/issues/19240#issuecomment-652945246
3770
- var mn = (0, t.useMemo)((function() {
3771
- return y()(pn, 100);
3772
- }), [ pn ]);
3764
+ var hn = (0, t.useMemo)((function() {
3765
+ return h()(bn, 100);
3766
+ }), [ bn ]);
3773
3767
  (0, t.useEffect)((function() {
3774
3768
  return function() {
3775
- mn.cancel();
3769
+ hn.cancel();
3776
3770
  };
3777
- }), [ mn ]);
3778
- var bn = (0, t.useCallback)((function(e) {
3771
+ }), [ hn ]);
3772
+ var yn = (0, t.useCallback)((function(e) {
3779
3773
  var n = e.active, t = e.over;
3780
3774
  if (t && n.id !== t.id) {
3781
- var r = Ze.indexOf(n.id);
3782
- var o = Ze.indexOf(t === null || t === void 0 ? void 0 : t.id);
3783
- R === null || R === void 0 ? void 0 : R({
3775
+ var r = en.indexOf(n.id);
3776
+ var o = en.indexOf(t === null || t === void 0 ? void 0 : t.id);
3777
+ D === null || D === void 0 ? void 0 : D({
3784
3778
  fromIndex: r,
3785
3779
  toIndex: o
3786
3780
  });
3787
3781
  }
3788
- Me(undefined);
3789
- Pe(-1);
3782
+ Ne(undefined);
3783
+ Ae(-1);
3784
+ _e.current = undefined;
3790
3785
  qe.current = undefined;
3791
- Ae.current = undefined;
3792
- }), [ Ze, R ]);
3793
- var hn = (0, t.useCallback)((function(e) {
3786
+ }), [ en, D ]);
3787
+ var gn = (0, t.useCallback)((function(e) {
3794
3788
  var n = e.active, t = e.over;
3795
- xe.current = true;
3789
+ Se.current = true;
3796
3790
  if (t && n.id !== t.id) {
3797
- var r = Je.indexOf(n.id);
3798
- var o = Je.indexOf(t === null || t === void 0 ? void 0 : t.id);
3799
- D === null || D === void 0 ? void 0 : D({
3791
+ var r = Qe.indexOf(n.id);
3792
+ var o = Qe.indexOf(t === null || t === void 0 ? void 0 : t.id);
3793
+ P === null || P === void 0 ? void 0 : P({
3800
3794
  fromIndex: r,
3801
3795
  toIndex: o
3802
3796
  });
3803
3797
  }
3804
- }), [ Je, D ]);
3805
- var yn = (0, t.useCallback)((function() {
3806
- xe.current = true;
3798
+ }), [ Qe, P ]);
3799
+ var wn = (0, t.useCallback)((function() {
3800
+ Se.current = true;
3807
3801
  }), []);
3808
- var gn = (0, t.useRef)({});
3809
- var wn = function e(n) {
3802
+ var Cn = (0, t.useRef)({});
3803
+ var xn = function e(n) {
3810
3804
  var r = [];
3811
3805
  var o = [];
3812
3806
  var i = t.Children.toArray(n.props.children).filter(t.isValidElement).map((function(e, n) {
3813
3807
  var i = e;
3814
- var a = i.key || (0, j.createDOMID)("col-");
3808
+ var a = i.key || (0, T.createDOMID)("col-");
3815
3809
  a = String(a);
3816
3810
  // `col-` prefix is necessary to distinguish row or column reordering.
3817
3811
  // Append the `col-` prefix if is missing from dragId
@@ -3825,55 +3819,55 @@
3825
3819
  index: n,
3826
3820
  dragId: a,
3827
3821
  elementRef: function e(n) {
3828
- gn.current[a] = n;
3822
+ Cn.current[a] = n;
3829
3823
  N(i.props.elementRef, n);
3830
3824
  }
3831
3825
  });
3832
3826
  }));
3833
- Ye.current = r;
3834
- Ze = o;
3835
- var a = l === null || l === void 0 ? void 0 : l.filter(t.isValidElement);
3836
- var u = (0, t.cloneElement)(n, {
3827
+ Ge.current = r;
3828
+ en = o;
3829
+ var a = s === null || s === void 0 ? void 0 : s.filter(t.isValidElement);
3830
+ var l = (0, t.cloneElement)(n, {
3837
3831
  actions: a,
3838
- actionsColumnWidth: s,
3839
- hasInfoColumn: H !== "none",
3840
- hasDragColumn: !!D,
3841
- pinnedColumns: z,
3842
- onAutosizeColumn: fn,
3843
- onRequestMoveColumn: R,
3844
- onRequestResizeColumn: P,
3845
- onRequestToggleAllRows: A,
3846
- elementRef: un(n),
3832
+ actionsColumnWidth: c,
3833
+ hasInfoColumn: K !== "none",
3834
+ hasDragColumn: !!P,
3835
+ pinnedColumns: M,
3836
+ onAutosizeColumn: pn,
3837
+ onRequestMoveColumn: D,
3838
+ onRequestResizeColumn: A,
3839
+ onRequestToggleAllRows: q,
3840
+ elementRef: cn(n),
3847
3841
  rowSelection: V
3848
3842
  }, i);
3849
- return u;
3843
+ return l;
3850
3844
  };
3851
- var Cn = (0, t.useMemo)((function() {
3845
+ var Sn = (0, t.useMemo)((function() {
3852
3846
  var e, n;
3853
- if (De === -1 || !Le.current || !Be.current) return null;
3854
- var t = !!D;
3855
- var o = H !== "none";
3856
- var i = Array.from((e = (n = Le.current.firstElementChild) === null || n === void 0 ? void 0 : n.children) !== null && e !== void 0 ? e : []).slice(o ? 1 : 0).slice(t ? 1 : 0).slice(A ? 1 : 0);
3847
+ if (Pe === -1 || !We.current || !Fe.current) return null;
3848
+ var t = !!P;
3849
+ var o = K !== "none";
3850
+ var i = Array.from((e = (n = We.current.firstElementChild) === null || n === void 0 ? void 0 : n.children) !== null && e !== void 0 ? e : []).slice(o ? 1 : 0).slice(t ? 1 : 0).slice(q ? 1 : 0);
3857
3851
  var a;
3858
- if (De === 0) {
3852
+ if (Pe === 0) {
3859
3853
  var l;
3860
3854
  a = ((l = i[0]) === null || l === void 0 ? void 0 : l.offsetLeft) || 0;
3861
- } else if (De >= i.length) {
3855
+ } else if (Pe >= i.length) {
3862
3856
  var u = i[i.length - 1];
3863
3857
  a = ((u === null || u === void 0 ? void 0 : u.offsetLeft) || 0) + ((u === null || u === void 0 ? void 0 : u.offsetWidth) || 0) - 1;
3864
3858
  // -1 makes the last guideline visible
3865
3859
  } else {
3866
3860
  var s;
3867
- a = ((s = i[De]) === null || s === void 0 ? void 0 : s.offsetLeft) || 0;
3861
+ a = ((s = i[Pe]) === null || s === void 0 ? void 0 : s.offsetLeft) || 0;
3868
3862
  }
3869
3863
 
3870
- return r().createElement(ie, {
3871
- $height: Be.current.clientHeight,
3864
+ return r().createElement(ae, {
3865
+ $height: Fe.current.clientHeight,
3872
3866
  $left: a
3873
3867
  });
3874
- }), [ De, D, H, A ]);
3875
- var xn = function e(n) {
3876
- var r = (l === null || l === void 0 ? void 0 : l.filter(t.isValidElement).length) > 0;
3868
+ }), [ Pe, P, K, q ]);
3869
+ var On = function e(n) {
3870
+ var r = (s === null || s === void 0 ? void 0 : s.filter(t.isValidElement).length) > 0;
3877
3871
  var o = false;
3878
3872
  var i = [];
3879
3873
  var a = [];
@@ -3882,7 +3876,7 @@
3882
3876
  if (((r = e.props) === null || r === void 0 ? void 0 : r.actionPrimary) || ((l = e.props) === null || l === void 0 ? void 0 : l.actionsSecondary)) {
3883
3877
  o = true;
3884
3878
  }
3885
- var u = e.key || (0, j.createDOMID)("row-");
3879
+ var u = e.key || (0, T.createDOMID)("row-");
3886
3880
  u = String(u);
3887
3881
  // `row-` prefix is necessary to distinguish row or column reordering.
3888
3882
  // Append the `row-` prefix if is missing from dragId
@@ -3895,113 +3889,113 @@
3895
3889
  }));
3896
3890
  a.push(u);
3897
3891
  }));
3898
- var u = r || o || !!s;
3899
- Qe = i;
3900
- Je = a;
3892
+ var l = r || o || !!c;
3893
+ Ze = i;
3894
+ Qe = a;
3901
3895
 
3902
3896
  return (0, t.cloneElement)(n, {
3903
- actions: u,
3904
- movableColumns: !!R,
3905
- onRequestMoveRow: D,
3906
- primaryColumnIndex: M,
3907
- rowExpansion: H,
3908
- pinnedColumns: z,
3909
- stripeRows: B
3910
- }, Qe);
3897
+ actions: l,
3898
+ movableColumns: !!D,
3899
+ onRequestMoveRow: P,
3900
+ primaryColumnIndex: L,
3901
+ rowExpansion: K,
3902
+ pinnedColumns: M,
3903
+ stripeRows: F
3904
+ }, Ze);
3911
3905
  };
3912
- var Sn = function e() {
3913
- var n = Be.current;
3914
- var t = cn();
3915
- if (!No(g) || !Ve.current || !Le.current || !n) {
3906
+ var kn = function e() {
3907
+ var n = Fe.current;
3908
+ var t = dn();
3909
+ if (!Lo(w) || !Ve.current || !We.current || !n) {
3916
3910
  return false;
3917
3911
  }
3918
- var r = Wo(n).top;
3919
- return t.pageYOffset >= r - (f || 0);
3912
+ var r = Ho(n).top;
3913
+ return t.pageYOffset >= r - (p || 0);
3920
3914
  };
3921
- var On = function e() {
3922
- var n = cn();
3923
- var t = Be.current;
3924
- if (!p || !Ve.current || !t) {
3915
+ var Rn = function e() {
3916
+ var n = dn();
3917
+ var t = Fe.current;
3918
+ if (!b || !Ve.current || !t) {
3925
3919
  return false;
3926
3920
  }
3927
- var r = xo(t);
3921
+ var r = So(t);
3928
3922
  return r.bottom > n.innerHeight && r.top < n.innerHeight;
3929
3923
  };
3930
- var kn = function e(n, o) {
3931
- if (Sn()) {
3924
+ var En = function e(n, o) {
3925
+ if (kn()) {
3932
3926
  // FIXME: handle inline
3933
3927
  // Save the current head focus state so that it can be applied to the docked version
3934
3928
  // after the `HeadTable` mounts.
3935
- We.current = Ho(Le.current);
3936
- if (G === undefined || de === undefined || me === undefined || we === undefined) {
3929
+ He.current = Ko(We.current);
3930
+ if (J === undefined || fe === undefined || be === undefined || Ce === undefined) {
3937
3931
  return false;
3938
3932
  }
3939
3933
  var i = (0, t.cloneElement)(n);
3940
3934
 
3941
- return r().createElement(Ar, {
3935
+ return r().createElement(qr, {
3942
3936
  headType: "docked",
3943
3937
  tHead: i,
3944
- cellWidths: G,
3945
- horizontalOffset: le,
3946
- tableWidth: de,
3947
- top: me,
3948
- width: we,
3949
- tableStyle: F,
3938
+ cellWidths: J,
3939
+ horizontalOffset: ue,
3940
+ tableWidth: fe,
3941
+ top: be,
3942
+ width: Ce,
3943
+ tableStyle: U,
3950
3944
  isFixedColumn: o,
3951
- onKeyUp: dn,
3952
- elementRef: sn,
3953
- hasDragColumn: !!D,
3954
- hasRowExpansion: H !== "none",
3955
- hasRowSelection: !!A
3945
+ onKeyUp: vn,
3946
+ elementRef: fn,
3947
+ hasDragColumn: !!P,
3948
+ hasRowExpansion: K !== "none",
3949
+ hasRowSelection: !!q
3956
3950
  });
3957
3951
  }
3958
3952
  return false;
3959
3953
  };
3960
- var Rn = (0, t.useMemo)((function() {
3954
+ var In = (0, t.useMemo)((function() {
3961
3955
  var e, n, t;
3962
- if (!Ne.current || !Le.current || !Ve.current) {
3956
+ if (!Le.current || !We.current || !Ve.current) {
3963
3957
  return 0;
3964
3958
  }
3965
- var r = cn();
3966
- var o = (e = xo(Ve.current).top) !== null && e !== void 0 ? e : 0;
3967
- var i = (n = (t = Le.current) === null || t === void 0 ? void 0 : t.offsetHeight) !== null && n !== void 0 ? n : 0;
3959
+ var r = dn();
3960
+ var o = (e = So(Ve.current).top) !== null && e !== void 0 ? e : 0;
3961
+ var i = (n = (t = We.current) === null || t === void 0 ? void 0 : t.offsetHeight) !== null && n !== void 0 ? n : 0;
3968
3962
  var a = r.innerHeight - o - i;
3969
- return Math.min(a - Ne.current.offsetHeight, 0);
3963
+ return Math.min(a - Le.current.offsetHeight, 0);
3970
3964
  }), []);
3971
- var En = (0, t.useMemo)((function() {
3965
+ var Tn = (0, t.useMemo)((function() {
3972
3966
  return {
3973
- width: we,
3974
- marginBottom: Rn
3967
+ width: Ce,
3968
+ marginBottom: In
3975
3969
  };
3976
- }), [ we, Rn ]);
3977
- var In = (0, t.useMemo)((function() {
3970
+ }), [ Ce, In ]);
3971
+ var jn = (0, t.useMemo)((function() {
3978
3972
  return {
3979
- width: de
3973
+ width: fe
3980
3974
  };
3981
- }), [ de ]);
3982
- var Tn = function e() {
3983
- if (!On()) {
3975
+ }), [ fe ]);
3976
+ var Dn = function e() {
3977
+ if (!Rn()) {
3984
3978
  return false;
3985
3979
  }
3986
3980
 
3987
- return r().createElement(ne, {
3988
- style: En,
3989
- onScroll: tn,
3981
+ return r().createElement(te, {
3982
+ style: Tn,
3983
+ onScroll: on,
3990
3984
  "data-test": "docked-scroll-bar",
3991
- ref: Ne
3992
- }, r().createElement(te, {
3993
- style: In,
3985
+ ref: Le
3986
+ }, r().createElement(re, {
3987
+ style: jn,
3994
3988
  "data-test": "docked-scroll-content"
3995
3989
  }));
3996
3990
  };
3997
- var jn = function e() {
3998
- var n = Le.current;
3999
- var t = Be.current;
3991
+ var Pn = function e() {
3992
+ var n = We.current;
3993
+ var t = Fe.current;
4000
3994
  /**
4001
3995
  * there is slightly less space for the table than tableContainer's width,
4002
3996
  * because there is a 1 px border added to every column but the first
4003
3997
  */ if (n) {
4004
- var r = Qt(Le.current);
3998
+ var r = Zt(We.current);
4005
3999
  var o = r === null || r === void 0 ? void 0 : r.length;
4006
4000
  var i = t === null || t === void 0 ? void 0 : t.clientWidth;
4007
4001
  if (i != null) {
@@ -4011,58 +4005,58 @@
4011
4005
  }
4012
4006
  return null;
4013
4007
  };
4014
- var Dn;
4015
- var Pn;
4016
4008
  var An;
4017
- var qn = !!P;
4018
- t.Children.toArray(c).forEach((function(e) {
4009
+ var qn;
4010
+ var _n;
4011
+ var zn = !!A;
4012
+ t.Children.toArray(d).forEach((function(e) {
4019
4013
  var n = e.type.splunkUiType;
4020
4014
  if (n === "Table.Head") {
4021
- Dn = wn(e);
4015
+ An = xn(e);
4022
4016
  // Check if all HeadCells have a defined width (making the table fixed width)
4023
4017
  var r = t.Children.toArray(e.props.children).filter(t.isValidElement);
4024
4018
  var o = r.every((function(e) {
4025
4019
  return e.props.width && e.props.width !== undefined;
4026
4020
  }));
4027
- qn = o;
4021
+ zn = o;
4028
4022
  } else if (n === "Table.Body") {
4029
- Pn = xn(e);
4023
+ qn = On(e);
4030
4024
  } else if (n === "Table.Caption") {
4031
4025
  // the html spec mandates that a caption must be the first table child.
4032
4026
  // catch the caption here so that it can be placed first later. note: a
4033
4027
  // caption can be placed on the bottom side of a table by adjusting the
4034
4028
  // caption's side prop.
4035
- An = e;
4029
+ _n = e;
4036
4030
  }
4037
4031
  }));
4038
- So(Dn, "A Table.Head is required.");
4039
- var _n = kn(Dn, qn);
4032
+ Oo(An, "A Table.Head is required.");
4033
+ var Mn = En(An, zn);
4040
4034
  // When a `headTable` is used, suppress focus interactions in the primary `Head`. Focus
4041
4035
  // interactions will be handled by the overlaid `headTable` instead.
4042
- var zn = t.Children.toArray(Dn.props.children).filter(t.isValidElement).map((function(e) {
4036
+ var $n = t.Children.toArray(An.props.children).filter(t.isValidElement).map((function(e) {
4043
4037
 
4044
4038
  // TS: onClick is different for regular/dropdown head cells, that's ok
4045
4039
  return (0, t.cloneElement)(e, {
4046
- visible: !_n
4040
+ visible: !Mn
4047
4041
  });
4048
4042
  }));
4049
- Dn = (0, t.cloneElement)(Dn, {}, zn);
4050
- var $n = Se || cn();
4051
- var Mn = Lo(g) ? Be.current : $n;
4052
- if (L) {
4053
- qn = false;
4043
+ An = (0, t.cloneElement)(An, {}, $n);
4044
+ var Nn = Oe || dn();
4045
+ var Ln = Wo(w) ? Fe.current : Nn;
4046
+ if (W) {
4047
+ zn = false;
4054
4048
  }
4055
- var Nn = jn();
4056
- var Ln = (0, t.useMemo)((function() {
4049
+ var Wn = Pn();
4050
+ var Hn = (0, t.useMemo)((function() {
4057
4051
  return {
4058
- headType: g,
4059
- horizontalOverflow: C,
4060
- resizableFillLayout: L,
4061
- tableContainerWidthWithoutBorders: Nn
4052
+ headType: w,
4053
+ horizontalOverflow: k,
4054
+ resizableFillLayout: W,
4055
+ tableContainerWidthWithoutBorders: Wn
4062
4056
  };
4063
- }), [ g, C, L, Nn ]);
4064
- var Wn = (0, t.useMemo)((function() {
4065
- if (!D) {
4057
+ }), [ w, k, W, Wn ]);
4058
+ var Kn = (0, t.useMemo)((function() {
4059
+ if (!P) {
4066
4060
  return {
4067
4061
  onDragStart: function e() {
4068
4062
  return undefined;
@@ -4084,27 +4078,27 @@
4084
4078
  if (t === undefined) {
4085
4079
  return undefined;
4086
4080
  }
4087
- var r = Ko(Je, t);
4088
- return typeof r === "number" ? (0, I.sprintf)((0, T._)("Picked up sortable row in position %(pos)d of %(total)d."), {
4081
+ var r = Bo(Qe, t);
4082
+ return typeof r === "number" ? (0, E.sprintf)((0, I._)("Picked up sortable row in position %(pos)d of %(total)d."), {
4089
4083
  pos: r,
4090
- total: Je.length
4084
+ total: Qe.length
4091
4085
  }) : undefined;
4092
4086
  },
4093
4087
  onDragOver: function e(n) {
4094
4088
  var t = n.active, r = n.over;
4095
- if (xe.current) {
4096
- xe.current = false;
4089
+ if (Se.current) {
4090
+ Se.current = false;
4097
4091
  return undefined;
4098
4092
  }
4099
4093
  if (!t.id || !(r === null || r === void 0 ? void 0 : r.id)) {
4100
4094
  return undefined;
4101
4095
  }
4102
- var o = Ko(Je, t.id);
4103
- var i = Ko(Je, r.id);
4104
- return (0, I.sprintf)((0, T._)("Row moved from position %(from)d to position %(to)d of %(total)d."), {
4096
+ var o = Bo(Qe, t.id);
4097
+ var i = Bo(Qe, r.id);
4098
+ return (0, E.sprintf)((0, I._)("Row moved from position %(from)d to position %(to)d of %(total)d."), {
4105
4099
  from: o,
4106
4100
  to: i,
4107
- total: Je.length
4101
+ total: Qe.length
4108
4102
  });
4109
4103
  },
4110
4104
  onDragEnd: function e(n) {
@@ -4112,10 +4106,10 @@
4112
4106
  if (!(t === null || t === void 0 ? void 0 : t.id)) {
4113
4107
  return undefined;
4114
4108
  }
4115
- var r = Ko(Je, t.id);
4116
- return typeof r === "number" ? (0, I.sprintf)((0, T._)("Row dropped at position %(pos)d of %(total)d."), {
4109
+ var r = Bo(Qe, t.id);
4110
+ return typeof r === "number" ? (0, E.sprintf)((0, I._)("Row dropped at position %(pos)d of %(total)d."), {
4117
4111
  pos: r,
4118
- total: Je.length
4112
+ total: Qe.length
4119
4113
  }) : undefined;
4120
4114
  },
4121
4115
  onDragCancel: function e(n) {
@@ -4123,15 +4117,15 @@
4123
4117
  if (t === undefined) {
4124
4118
  return undefined;
4125
4119
  }
4126
- var r = Ko(Je, t);
4127
- return typeof r === "number" ? (0, I.sprintf)((0, T._)("Row returned to its starting position of %(pos)d."), {
4120
+ var r = Bo(Qe, t);
4121
+ return typeof r === "number" ? (0, E.sprintf)((0, I._)("Row returned to its starting position of %(pos)d."), {
4128
4122
  pos: r
4129
4123
  }) : undefined;
4130
4124
  }
4131
4125
  };
4132
- }), [ Je, D ]);
4133
- var Hn = (0, t.useMemo)((function() {
4134
- if (!R) {
4126
+ }), [ Qe, P ]);
4127
+ var Bn = (0, t.useMemo)((function() {
4128
+ if (!D) {
4135
4129
  return {
4136
4130
  onDragStart: function e() {
4137
4131
  return undefined;
@@ -4153,28 +4147,28 @@
4153
4147
  if (t === undefined) {
4154
4148
  return undefined;
4155
4149
  }
4156
- var r = Vo(Ze, t);
4157
- return typeof r === "number" ? (0, I.sprintf)((0, T._)("Picked up sortable column in position %(pos)d of %(total)d."), {
4150
+ var r = Vo(en, t);
4151
+ return typeof r === "number" ? (0, E.sprintf)((0, I._)("Picked up sortable column in position %(pos)d of %(total)d."), {
4158
4152
  pos: r,
4159
- total: Ze.length
4153
+ total: en.length
4160
4154
  }) : undefined;
4161
4155
  },
4162
4156
  onDragOver: function e(n) {
4163
4157
  var t = n.active, r = n.over;
4164
- if (xe.current) {
4165
- xe.current = false;
4158
+ if (Se.current) {
4159
+ Se.current = false;
4166
4160
  return undefined;
4167
4161
  }
4168
4162
  if (!t.id || !(r === null || r === void 0 ? void 0 : r.id)) {
4169
4163
  return undefined;
4170
4164
  }
4171
- var o = Vo(Ze, t.id);
4172
- var i = Vo(Ze, r.id);
4165
+ var o = Vo(en, t.id);
4166
+ var i = Vo(en, r.id);
4173
4167
  if (typeof o !== "number" || typeof i !== "number") return undefined;
4174
- return (0, I.sprintf)((0, T._)("Column moved from position %(from)d to position %(to)d of %(total)d."), {
4168
+ return (0, E.sprintf)((0, I._)("Column moved from position %(from)d to position %(to)d of %(total)d."), {
4175
4169
  from: o,
4176
4170
  to: i,
4177
- total: Ze.length
4171
+ total: en.length
4178
4172
  });
4179
4173
  },
4180
4174
  onDragEnd: function e(n) {
@@ -4182,10 +4176,10 @@
4182
4176
  if (!(t === null || t === void 0 ? void 0 : t.id)) {
4183
4177
  return undefined;
4184
4178
  }
4185
- var r = Vo(Ze, t.id);
4186
- return typeof r === "number" ? (0, I.sprintf)((0, T._)("Column dropped at position %(pos)d of %(total)d."), {
4179
+ var r = Vo(en, t.id);
4180
+ return typeof r === "number" ? (0, E.sprintf)((0, I._)("Column dropped at position %(pos)d of %(total)d."), {
4187
4181
  pos: r,
4188
- total: Ze.length
4182
+ total: en.length
4189
4183
  }) : undefined;
4190
4184
  },
4191
4185
  onDragCancel: function e(n) {
@@ -4193,51 +4187,51 @@
4193
4187
  if (t === undefined) {
4194
4188
  return undefined;
4195
4189
  }
4196
- var r = Vo(Ze, t);
4197
- return typeof r === "number" ? (0, I.sprintf)((0, T._)("Column returned to its starting position of %(pos)d."), {
4190
+ var r = Vo(en, t);
4191
+ return typeof r === "number" ? (0, E.sprintf)((0, I._)("Column returned to its starting position of %(pos)d."), {
4198
4192
  pos: r
4199
4193
  }) : undefined;
4200
4194
  }
4201
4195
  };
4202
- }), [ Ze, R ]);
4203
- var Kn = (0, t.useMemo)((function() {
4196
+ }), [ en, D ]);
4197
+ var Vn = (0, t.useMemo)((function() {
4204
4198
  return {
4205
- screenReaderInstructions: D ? Fo : Uo,
4206
- announcements: D ? Wn : Hn
4199
+ screenReaderInstructions: P ? Uo : Xo,
4200
+ announcements: P ? Kn : Bn
4207
4201
  };
4208
- }), [ Wn, Hn, D ]);
4209
- var Vn = (0, t.useCallback)((function(e) {
4210
- var n = e.active.id;
4211
- if (n.startsWith("col-") && R) {
4212
- Ie([ i.restrictToHorizontalAxis ]);
4213
- vn(e);
4214
- } else if (n.startsWith("row-") && D) {
4215
- Ie([ i.restrictToVerticalAxis ]);
4216
- }
4217
- }), [ R, D, vn ]);
4218
- var Bn = (0, t.useCallback)((function(e) {
4219
- Ie([]);
4220
- var n = e.active.id;
4221
- if (n.startsWith("col-") && R) {
4222
- bn(e);
4223
- } else if (n.startsWith("row-") && D) {
4224
- hn(e);
4225
- }
4226
- }), [ bn, hn, R, D ]);
4202
+ }), [ Kn, Bn, P ]);
4227
4203
  var Fn = (0, t.useCallback)((function(e) {
4228
4204
  var n = e.active.id;
4229
- if (n.startsWith("col-") && R) {
4205
+ if (n.startsWith("col-") && D) {
4206
+ Te([ i.restrictToHorizontalAxis ]);
4230
4207
  mn(e);
4208
+ } else if (n.startsWith("row-") && P) {
4209
+ Te([ i.restrictToVerticalAxis ]);
4231
4210
  }
4232
- }), [ mn, R ]);
4211
+ }), [ D, P, mn ]);
4233
4212
  var Un = (0, t.useCallback)((function(e) {
4234
- Ie([]);
4213
+ Te([]);
4214
+ var n = e.active.id;
4215
+ if (n.startsWith("col-") && D) {
4216
+ yn(e);
4217
+ } else if (n.startsWith("row-") && P) {
4218
+ gn(e);
4219
+ }
4220
+ }), [ yn, gn, D, P ]);
4221
+ var Xn = (0, t.useCallback)((function(e) {
4222
+ var n = e.active.id;
4223
+ if (n.startsWith("col-") && D) {
4224
+ hn(e);
4225
+ }
4226
+ }), [ hn, D ]);
4227
+ var Yn = (0, t.useCallback)((function(e) {
4228
+ Te([]);
4235
4229
  var n = e.active.id;
4236
- if (n.startsWith("row-") && D) {
4237
- yn();
4230
+ if (n.startsWith("row-") && P) {
4231
+ wn();
4238
4232
  }
4239
- }), [ yn, D ]);
4240
- var Xn = (0, t.useMemo)((function() {
4233
+ }), [ wn, P ]);
4234
+ var Gn = (0, t.useMemo)((function() {
4241
4235
  return function(e) {
4242
4236
  var n = (0, o.pointerWithin)(e);
4243
4237
  // Collision detection algorithms return an array of collisions
@@ -4248,65 +4242,65 @@
4248
4242
  return (0, o.rectIntersection)(e);
4249
4243
  };
4250
4244
  }), []);
4251
- var Yn = $e ? gn.current[$e] : null;
4252
- var Gn = Yn ? xo(Yn).width : undefined;
4253
- var Jn = Be.current ? xo(Be.current).height : undefined;
4245
+ var Jn = $e ? Cn.current[$e] : null;
4246
+ var Qn = Jn ? So(Jn).width : undefined;
4247
+ var Zn = Fe.current ? So(Fe.current).height : undefined;
4254
4248
 
4255
- return r().createElement(Q, Oo({
4249
+ return r().createElement(Z, ko({
4256
4250
  "data-test": "table",
4257
- ref: m,
4258
- style: _,
4259
- "data-test-row-selection": A ? V : undefined
4260
- }, b()(U, [].concat(ko(Object.keys($o)), [ "style" ]))), r().createElement(x(), {
4261
- target: cn(),
4251
+ ref: y,
4252
+ style: z,
4253
+ "data-test-row-selection": q ? V : undefined
4254
+ }, m()(X, [].concat(Ro(Object.keys($o)), [ "style" ]))), r().createElement(C(), {
4255
+ target: dn(),
4262
4256
  eventType: "scroll",
4263
- listener: rn,
4264
- options: Yo
4265
- }), r().createElement(ye.Provider, {
4266
- value: Ln
4267
- }, _n, r().createElement(Z, {
4257
+ listener: an,
4258
+ options: Go
4259
+ }), r().createElement(ge.Provider, {
4260
+ value: Hn
4261
+ }, Mn, r().createElement(ee, {
4268
4262
  "data-test": "scroll-container",
4269
- onScroll: nn,
4270
- ref: Be,
4271
- style: O,
4263
+ onScroll: rn,
4264
+ ref: Fe,
4265
+ style: j,
4272
4266
  $dragging: !!$e
4273
- }, r().createElement(S.ScrollContainerProvider, {
4274
- value: Mn
4267
+ }, r().createElement(x.ScrollContainerProvider, {
4268
+ value: Ln
4275
4269
  }, r().createElement(o.DndContext, {
4276
- accessibility: Kn,
4277
- collisionDetection: Xn,
4278
- modifiers: Ee,
4279
- onDragCancel: Un,
4280
- onDragEnd: Bn,
4281
- onDragOver: Fn,
4282
- onDragStart: Vn,
4283
- sensors: Oe
4284
- }, r().createElement(ee, {
4270
+ accessibility: Vn,
4271
+ collisionDetection: Gn,
4272
+ modifiers: Ie,
4273
+ onDragCancel: Yn,
4274
+ onDragEnd: Un,
4275
+ onDragOver: Xn,
4276
+ onDragStart: Fn,
4277
+ sensors: ke
4278
+ }, r().createElement(ne, {
4285
4279
  ref: Ve,
4286
4280
  "data-test": "main-table",
4287
- style: F,
4288
- "data-fixed-column": qn ? "true" : undefined,
4289
- $resizableFillLayout: L
4290
- }, An, R ? r().createElement(a.SortableContext, {
4291
- items: Ze,
4281
+ style: U,
4282
+ "data-fixed-column": zn ? "true" : undefined,
4283
+ $resizableFillLayout: W
4284
+ }, _n, D ? r().createElement(a.SortableContext, {
4285
+ items: en,
4292
4286
  strategy: a.horizontalListSortingStrategy
4293
- }, Dn) : Dn, D ? r().createElement(a.SortableContext, {
4294
- items: Je,
4287
+ }, An) : An, P ? r().createElement(a.SortableContext, {
4288
+ items: Qe,
4295
4289
  strategy: a.verticalListSortingStrategy
4296
- }, Pn) : Pn), $e && r().createElement(o.DragOverlay, null, r().createElement(oe, {
4297
- $width: Gn,
4298
- $height: Jn
4299
- })), $e && Cn))), Tn()));
4300
- }
4301
- Jo.propTypes = $o;
4302
- Jo.Body = J;
4303
- Jo.Caption = de;
4304
- Jo.Cell = Oe;
4305
- Jo.Head = er;
4306
- Jo.HeadCell = Mn;
4307
- Jo.HeadDropdownCell = xr;
4308
- Jo.Row = Ht;
4309
- /* harmony default export */ const Qo = Jo;
4290
+ }, qn) : qn), $e && r().createElement(o.DragOverlay, null, r().createElement(ie, {
4291
+ $width: Qn,
4292
+ $height: Zn
4293
+ })), $e && Sn))), Dn()));
4294
+ }
4295
+ Qo.propTypes = $o;
4296
+ Qo.Body = J;
4297
+ Qo.Caption = fe;
4298
+ Qo.Cell = ke;
4299
+ Qo.Head = nr;
4300
+ Qo.HeadCell = Nn;
4301
+ Qo.HeadDropdownCell = Sr;
4302
+ Qo.Row = Kt;
4303
+ /* harmony default export */ const Zo = Qo;
4310
4304
  // CONCATENATED MODULE: ./src/Table/index.ts
4311
4305
  module.exports = n;
4312
4306
  /******/})();