@splunk/react-ui 5.2.0 → 5.4.0

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